[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

weird networking issue on lenny!



Greetings!

I just did fresh install of lenny, I have a DSL modem and run a static
IP setup so I manually set up my route (DHCP was enabled by default)
by killing the dhclient process and then setting up /etc/resolv.conf
and /etc/network/interfaces and doing "/etc/init.d/networking restart"
and  it went fine, but suddenly after 30 minutes I suddenly lost
internet connectivity and here is what I saw then:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

As you can see there is no longer a routing table!

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:2c:a0:78
          inet6 addr: fe80::224:1dff:fe2c:a078/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:114835 errors:0 dropped:15769089116 overruns:0 frame:0
          TX packets:66868 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:169505917 (161.6 MiB)  TX bytes:4876501 (4.6 MiB)
          Interrupt:253

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

As you can see my "inet addr" is now gone!

Here are the processes running:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  10312   748 ?        Ss   12:12   0:00 init [2]
root         2  0.0  0.0      0     0 ?        S<   12:12   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   12:12   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S<   12:12   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   12:12   0:00 [watchdog/0]
root         6  0.0  0.0      0     0 ?        S<   12:12   0:00 [migration/1]
root         7  0.0  0.0      0     0 ?        S<   12:12   0:01 [ksoftirqd/1]
root         8  0.0  0.0      0     0 ?        S<   12:12   0:00 [watchdog/1]
root         9  0.0  0.0      0     0 ?        S<   12:12   0:00 [events/0]
root        10  0.0  0.0      0     0 ?        S<   12:12   0:00 [events/1]
root        11  0.0  0.0      0     0 ?        S<   12:12   0:00 [khelper]
root        46  0.0  0.0      0     0 ?        S<   12:12   0:00 [kblockd/0]
root        47  0.0  0.0      0     0 ?        S<   12:12   0:00 [kblockd/1]
root        49  0.0  0.0      0     0 ?        S<   12:12   0:00 [kacpid]
root        50  0.0  0.0      0     0 ?        S<   12:12   0:00 [kacpi_notify]
root       132  0.0  0.0      0     0 ?        S<   12:12   0:00 [ksuspend_usbd]
root       138  0.0  0.0      0     0 ?        S<   12:12   0:00 [khubd]
root       141  0.0  0.0      0     0 ?        S<   12:12   0:00 [kseriod]
root       194  0.0  0.0      0     0 ?        S    12:12   0:00 [pdflush]
root       195  0.0  0.0      0     0 ?        S    12:12   0:00 [pdflush]
root       196  0.0  0.0      0     0 ?        S<   12:12   0:01 [kswapd0]
root       197  0.0  0.0      0     0 ?        S<   12:12   0:00 [aio/0]
root       198  0.0  0.0      0     0 ?        S<   12:12   0:00 [aio/1]
root       731  0.0  0.0      0     0 ?        S<   12:12   0:00 [ata/0]
root       734  0.0  0.0      0     0 ?        S<   12:12   0:00 [ata/1]
root       735  0.0  0.0      0     0 ?        S<   12:12   0:00 [ata_aux]
root       827  0.0  0.0      0     0 ?        S<   12:13   0:00 [scsi_eh_0]
root       828  0.0  0.0      0     0 ?        S<   12:13   0:00 [scsi_eh_1]
root       829  0.0  0.0      0     0 ?        S<   12:13   0:00 [scsi_eh_2]
root       830  0.0  0.0      0     0 ?        S<   12:13   0:00 [scsi_eh_3]
root      1018  0.0  0.0      0     0 ?        S<   12:13   0:00 [scsi_eh_4]
root      1019  0.1  0.0      0     0 ?        S<   12:13   0:02 [usb-storage]
root      1171  0.1  0.0      0     0 ?        S<   12:13   0:02 [kjournald]
daemon    2354  0.0  0.0   8020   532 ?        Ss   12:13   0:00 /sbin/portmap
statd     2365  0.0  0.0  10136   764 ?        Ss   12:13   0:00 /sbin/rpc.statd
root      2765  0.0  0.0      0     0 ?        S<   12:13   0:00 [kondemand/0]
root      2767  0.0  0.0      0     0 ?        S<   12:13   0:00 [kondemand/1]
root      2807  0.0  0.0 121708  1848 ?        Sl   12:13   0:00
/usr/sbin/rsyslogd -c3
101       3178  0.0  0.0  42720  1020 ?        Ss   12:13   0:00
/usr/sbin/exim4 -bd -q30m
root      3317  0.0  0.0 120956  1880 ?        Ss   12:13   0:00 /usr/sbin/gdm
root      3324  0.0  0.0 133676  3356 ?        S    12:13   0:00 /usr/sbin/gdm
root      3327  1.6  0.8 103296 34092 tty7     Ss+  12:13   0:35
/usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
root      3340  0.0  0.0  12208   848 ?        Ss   12:13   0:00
/usr/sbin/anacron -s
daemon    3348  0.0  0.0  16356   444 ?        Ss   12:13   0:00 /usr/sbin/atd
root      3368  0.0  0.0  19832  1052 ?        Ss   12:13   0:00 /usr/sbin/cron
root      3436  0.0  0.0   3796   576 tty1     Ss+  12:13   0:00
/sbin/getty 38400 tty1
root      3437  0.0  0.0   3796   576 tty2     Ss+  12:13   0:00
/sbin/getty 38400 tty2
root      3438  0.0  0.0   3796   576 tty3     Ss+  12:13   0:00
/sbin/getty 38400 tty3
root      3439  0.0  0.0   3796   572 tty4     Ss+  12:13   0:00
/sbin/getty 38400 tty4
root      3440  0.0  0.0   3796   572 tty5     Ss+  12:13   0:00
/sbin/getty 38400 tty5
root      3441  0.0  0.0   3796   572 tty6     Ss+  12:13   0:00
/sbin/getty 38400 tty6
zu22      3498  0.0  0.1  40784  4952 ?        S    12:13   0:00
/usr/lib/libgconf2-4/gconfd-2 11
zu22      3500  0.0  0.0  58996  2492 ?        S    12:13   0:00
/usr/bin/gnome-keyring-daemon -d --login
zu22      3501  0.0  0.1 188908  7960 ?        Ssl  12:13   0:00
x-session-manager
zu22      3549  0.0  0.0  25732   708 ?        S    12:13   0:00
/usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --exe
cute x-session-manager
zu22      3550  0.0  0.0  21220  1036 ?        Ss   12:13   0:00
/usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session
zu22      3556  0.0  0.2 219348  8668 ?        Ss   12:13   0:00
/usr/bin/seahorse-agent --execute x-session-manager
zu22      3559  0.0  0.2 260424 11484 ?        Sl   12:13   0:00
gnome-settings-daemon
zu22      3595  0.2  0.3 133384 13280 ?        S    12:14   0:05
/usr/bin/metacity --sm-client-id=default0
zu22      3596  0.1  0.0 138840  3344 ?        Ss   12:14   0:02
gnome-screensaver
zu22      3598  0.4  0.6 381920 26000 ?        S    12:14   0:09
gnome-panel --sm-client-id default1
zu22      3606  0.0  0.0 147940  3888 ?        Ssl  12:14   0:00
/usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --io
r-output-fd=16
zu22      3610  0.2  0.4 222764 16736 ?        S    12:14   0:05 update-notifier
zu22      3623  0.0  0.3 193952 13388 ?        S    12:14   0:01
nm-applet --sm-disable
zu22      3624  0.0  0.1 181728  5568 ?        Ss   12:14   0:00
/usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable
root      3653  0.0  0.0      0     0 ?        S<   12:14   0:00 [kjournald]
zu22      3696  0.0  0.4 233808 16660 ?        Sl   12:14   0:00
/usr/lib/gnome-applets/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_M
ixerApplet_Factory --oaf-ior-fd=19
zu22      3709  0.0  0.0  17240  1004 ?        S    12:14   0:00
/usr/lib/nautilus-cd-burner/mapping-daemon
zu22      3711  0.0  0.3 163672 15088 ?        S    12:14   0:01 gksu
-D Terminal -- env -u ORBIT_SOCKETDIR /usr/bin/x-terminal-emulato
r
root      3716  0.0  0.0  32448  1212 pts/0    Ss+  12:14   0:00
/bin/su root -c /usr/lib/libgksu/gksu-run-helper "env '-u' 'ORBIT_SOCK
ETDIR' '/usr/bin/x-terminal-emulator'"
root      3730  0.0  0.0   8812   632 pts/0    S+   12:14   0:00
/usr/lib/libgksu/gksu-run-helper env '-u' 'ORBIT_SOCKETDIR' '/usr/bin/
x-terminal-emulator'
root      3751  0.1  0.3 142336 14832 pts/0    S+   12:15   0:03
/usr/bin/x-terminal-emulator
root      3753  0.0  0.0  19288   824 pts/0    S+   12:15   0:00
gnome-pty-helper
root      3754  0.0  0.0  18764  1908 pts/1    Ss   12:15   0:00 /bin/bash
root      3850  0.0  0.0   3780   640 ?        SN   12:18   0:00
run-parts --report /etc/cron.daily
root      3855  0.0  0.0   8896  1248 ?        SN   12:18   0:00
/bin/sh /etc/cron.daily/apt
zu22      4236  0.3  0.7 350832 29516 ?        Sl   12:29   0:04 gnome-terminal
zu22      4246  0.0  0.0  19288   832 ?        S    12:29   0:00
gnome-pty-helper
zu22      4247  0.0  0.0  20548  3476 pts/2    Ss   12:29   0:00 bash
zu22      4447  0.2  0.2  76336  8416 pts/2    S+   12:32   0:02 weechat-curses
zu22      4452  4.6  5.3 668908 216452 ?       Sl   12:35   0:36
/usr/lib/iceweasel/firefox-bin -a iceweasel
root      4486  0.0  0.0  18748  1880 pts/3    Ss+  12:40   0:00 /bin/bash
root     10166  0.0  0.0  18180  2328 ?        S<s  12:43   0:00 udevd --daemon
root     10268  0.0  0.0   3796   644 ?        Ss   12:43   0:00 /usr/sbin/acpid
root     10398  0.0  0.0 119980  2916 ?        Ss   12:43   0:00
/usr/sbin/apache2 -k start
www-data 10400  0.0  0.0 119980  2328 ?        S    12:43   0:00
/usr/sbin/apache2 -k start
www-data 10402  0.0  0.0 119980  2328 ?        S    12:43   0:00
/usr/sbin/apache2 -k start
www-data 10403  0.0  0.0 119980  2328 ?        S    12:43   0:00
/usr/sbin/apache2 -k start
www-data 10405  0.0  0.0 119980  2328 ?        S    12:43   0:00
/usr/sbin/apache2 -k start
www-data 10406  0.0  0.0 119980  2328 ?        S    12:43   0:00
/usr/sbin/apache2 -k start
root     10482  0.0  0.0  72868  2456 ?        Ss   12:43   0:00 /usr/sbin/cupsd
zu22     10686  0.0  0.1  90144  4368 ?        S    12:43   0:00
/usr/lib/gnome-vfs-2.0/gnome-vfs-daemon
zu22     10722  1.5  0.8 506156 34124 ?        S    12:43   0:04
nautilus --sm-client-id 117f000101000125795964100000035010002 --screen
 0
103      10723  0.0  0.0  21220  1096 ?        Ss   12:43   0:00
/usr/bin/dbus-daemon --system
avahi    10756  0.0  0.0  31600  1476 ?        Ss   12:43   0:00
avahi-daemon: running [hyperyoda.local]
avahi    10757  0.0  0.0  31600   516 ?        Ss   12:43   0:00
avahi-daemon: chroot helper
root     10784  0.0  0.0   6176   784 ?        Ss   12:43   0:00
/usr/sbin/dhcdbd --system
106      10812  0.1  0.1  29624  4380 ?        Ss   12:43   0:00 /usr/sbin/hald
root     10813  0.0  0.0  17768  1164 ?        S    12:43   0:00 hald-runner
root     10831  0.0  0.0  19880  1156 ?        S    12:43   0:00
hald-addon-input: Listening on /dev/input/event6 /dev/input/event5 /de
v/input/event4 /dev/input/event3 /dev/input/event1
root     10836  0.0  0.0  19892  1108 ?        S    12:43   0:00
/usr/lib/hal/hald-addon-cpufreq
106      10837  0.0  0.0  16604   956 ?        S    12:43   0:00
hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root     10842  0.0  0.0  13228   848 ?        S    12:43   0:00
hald-addon-hid-ups: listening on /dev/usb/hiddev1
root     10844  0.0  0.0  19880  1232 ?        S    12:43   0:00
hald-addon-storage: polling /dev/hda (every 2 sec)
root     10849  0.0  0.0  26556  1136 ?        Ss   12:43   0:00
/usr/bin/system-tools-backends
root     10894  0.0  0.0  39140  2080 ?        Ss   12:43   0:00
/usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkMan
ager.pid
root     10919  0.0  0.0  24076  1276 ?        Ss   12:43   0:00
/usr/sbin/NetworkManagerDispatcher --pid-file /var/run/NetworkManager/
NetworkManagerDispatcher.pid
root     14558  0.0  0.0   8040   584 ?        SN   12:43   0:00 sleep 574
root     14881  0.0  0.0  16012  1108 pts/1    R+   12:48   0:00 ps auxw

I got connectivity back by running "/etc/init.d/networking restart"
again, but I'm afraid I will shortly lose connectivity again! How can
I fix this for good?

Here is the current output (with internet connectivity working) for
route and ifconfig:

hyperyoda:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
66.93.172.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         66.93.172.1     0.0.0.0         UG    0      0        0 eth0

hyperyoda:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:1d:2c:a0:78
          inet addr:66.93.172.48  Bcast:66.93.172.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1dff:fe2c:a078/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:165091 errors:0 dropped:23264932980 overruns:0 frame:0
          TX packets:94910 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:243688968 (232.3 MiB)  TX bytes:7122451 (6.7 MiB)
          Interrupt:253

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

Here is my /etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 66.93.172.48
gateway 66.93.172.1
netmask 255.255.255.0
network 66.93.172.0
broadcast 66.93.172.255

Here is my /etc/resolv.conf:

nameserver 66.92.159.2
nameserver 216.231.41.2

Regards,
Zach


Reply to: