You are not logged in.

#1 2006-08-29 06:21:36

<bennym>
Member
From: South-West Germany near Stuttg
Registered: 2006-08-29
Posts: 26

Archlinux slows down when internet cable (LAN) unplugged

Hi !

Sorry for my bad English wink

Always when I unplug my RJ45 internet connection cable of my Lan card, the whole system slows down. I got a P3 700MHz and 256MB Ram.
My Desktop Environment is Gnome. I don't know where the problem is, but I think it's probably gnome.

Does anybody know this problem?

How can I solve it?

Thank you
benny

Offline

#2 2006-08-29 06:33:31

panzer
Member
Registered: 2006-08-28
Posts: 15

Re: Archlinux slows down when internet cable (LAN) unplugged

You could try and just stop the network deamons as soon as you unplug the cable:

/etc/rc.d/network stop

Offline

#3 2006-08-29 06:39:59

<bennym>
Member
From: South-West Germany near Stuttg
Registered: 2006-08-29
Posts: 26

Re: Archlinux slows down when internet cable (LAN) unplugged

Thank you very much. This works.
Does your code the same like ifdown on other distros?
Do you know how i can get ifup/ ifdown (in which package)?

best Regards and Thank you

Offline

#4 2006-08-29 07:30:08

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Archlinux slows down when internet cable (LAN) unplugged

ifconfig eth0 down

does the same as ifdown. Replace eth0 with your network interface. Just type 'ifconfig' to display all available interfaces...


Haven't been here in a while. Still rocking Arch. smile

Offline

#5 2006-08-29 07:59:09

<bennym>
Member
From: South-West Germany near Stuttg
Registered: 2006-08-29
Posts: 26

Re: Archlinux slows down when internet cable (LAN) unplugged

Thank you big_smile

Offline

#6 2006-08-29 08:01:11

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Archlinux slows down when internet cable (LAN) unplugged

You're welcome!


Haven't been here in a while. Still rocking Arch. smile

Offline

#7 2006-08-29 08:21:38

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: Archlinux slows down when internet cable (LAN) unplugged

i would guess that something on the system is trying to use the ethernet, over and over and over, leading to slowdowns...

Offline

#8 2006-08-29 08:24:06

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: Archlinux slows down when internet cable (LAN) unplugged

i've never used it, but couldn't he use ifplugd to take care of that.


what goes up must come down

Offline

#9 2006-08-29 08:29:22

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Archlinux slows down when internet cable (LAN) unplugged

benplaut wrote:

i would guess that something on the system is trying to use the ethernet, over and over and over, leading to slowdowns...

I had the same thought. It would be interesting to see bennym's output of "ps aux"...


Haven't been here in a while. Still rocking Arch. smile

Offline

#10 2006-08-29 09:31:13

<bennym>
Member
From: South-West Germany near Stuttg
Registered: 2006-08-29
Posts: 26

Re: Archlinux slows down when internet cable (LAN) unplugged

voila: ps aux

benny@lanta ~]$ ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.2   1516   544 ?        Ss   11:09   0:01 init [3]
root         2  0.0  0.0      0     0 ?        S    11:10   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   11:10   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    11:10   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S<   11:10   0:00 [events/0]
root         6  0.0  0.0      0     0 ?        S<   11:10   0:00 [khelper]
root         7  0.0  0.0      0     0 ?        S<   11:10   0:00 [kthread]
root         9  0.0  0.0      0     0 ?        S<   11:10   0:00 [kblockd/0]
root        10  0.0  0.0      0     0 ?        S<   11:10   0:00 [kacpid]
root        85  0.0  0.0      0     0 ?        S<   11:10   0:00 [kseriod]
root       127  0.0  0.0      0     0 ?        S    11:10   0:00 [pdflush]
root       128  0.0  0.0      0     0 ?        S    11:10   0:00 [pdflush]
root       129  0.0  0.0      0     0 ?        S    11:10   0:00 [kswapd0]
root       130  0.0  0.0      0     0 ?        S<   11:10   0:00 [aio/0]
root       250  0.0  0.0      0     0 ?        S<   11:10   0:00 [kpsmoused]
root       911  0.0  0.0      0     0 ?        S<   11:10   0:00 [ata/0]
root      1085  0.0  0.0      0     0 ?        S<   11:10   0:00 [jfsIO]
root      1086  0.0  0.0      0     0 ?        S<   11:10   0:00 [jfsCommit]
root      1087  0.0  0.0      0     0 ?        S<   11:10   0:00 [jfsSync]
root      1094  0.0  0.0      0     0 ?        S<   11:10   0:00 [xfslogd/0]
root      1095  0.0  0.0      0     0 ?        S<   11:10   0:00 [xfsdatad/0]
root      1103  0.0  0.0      0     0 ?        S<   11:10   0:00 [kjournald]
root      1148  0.0  0.0      0     0 ?        S<   11:10   0:00 [khubd]
root      1164  0.0  0.2   1584   540 ?        S<s  11:10   0:00 /sbin/udevd --d
root      1897  0.0  0.0      0     0 ?        S<   11:10   0:00 [shpchpd]
root      2519  0.0  0.2   2032   696 ?        Ss   11:10   0:00 /usr/sbin/syslo
root      2548  0.0  0.2   1544   552 ?        S    11:10   0:00 /usr/sbin/crond
root      2561  0.0  0.6   9944  1592 ?        Ss   11:10   0:00 /opt/gnome/sbin
root      2564  0.0  0.1   1508   488 tty1     Ss+  11:10   0:00 /sbin/agetty 38
root      2565  0.0  0.1   1508   488 tty2     Ss+  11:10   0:00 /sbin/agetty 38
root      2566  0.0  0.1   1508   488 tty3     Ss+  11:10   0:00 /sbin/agetty 38
root      2567  0.0  0.1   1508   488 tty4     Ss+  11:10   0:00 /sbin/agetty 38
root      2568  0.0  0.1   1508   488 tty5     Ss+  11:10   0:00 /sbin/agetty 38
root      2569  0.0  0.1   1512   488 tty6     Ss+  11:10   0:00 /sbin/agetty 38
root      2580  0.0  0.9  10404  2352 ?        S    11:10   0:00 /opt/gnome/sbin
root      2583  2.2  6.6  24332 16956 tty7     Ss+  11:10   0:24 /usr/bin/X :0 -
benny     2599  0.0  3.8  19108  9728 ?        Ss   11:12   0:00 /opt/gnome/bin/
benny     2621  0.0  0.1   1932   440 ?        Ss   11:12   0:00 dbus-daemon --f
benny     2623  0.0  1.3   4612  3348 ?        S    11:12   0:00 /opt/gnome/libe
benny     2626  0.0  0.3   2188   780 ?        S    11:12   0:00 /opt/gnome/bin/
benny     2628  0.0  1.1   4964  2832 ?        Ss   11:12   0:00 /opt/gnome/libe
benny     2630  0.0  3.6  27852  9236 ?        Sl   11:12   0:00 /opt/gnome/libe
benny     2635  0.2  2.7  12268  7052 ?        Ss   11:12   0:01 /opt/gnome/bin/
benny     2642  0.2  5.1  22216 13124 ?        Ssl  11:12   0:02 gnome-panel --s
benny     2644  0.1  5.6  41900 14292 ?        Ssl  11:13   0:01 nautilus --no-d
benny     2647  0.0  1.5   8312  4068 ?        Sl   11:13   0:00 /opt/gnome/libe
benny     2649  0.2  4.3  19848 11124 ?        S    11:13   0:02 /opt/gnome/libe
benny     2654  0.0  4.4  20796 11428 ?        S    11:13   0:00 /opt/gnome/libe
benny     2657  0.0  2.9  16952  7520 ?        S    11:13   0:00 /opt/gnome/libe
benny     2659  0.0  3.8  23504  9800 ?        S    11:13   0:00 /opt/gnome/libe
benny     2666  0.0  0.2   2132   760 ?        S    11:13   0:00 /opt/gnome/libe
benny     2668  0.0  0.4   2520  1228 ?        S    11:13   0:00 /bin/sh /home/b
benny     2673  0.0  0.4   2780  1256 ?        S    11:13   0:00 /bin/sh /home/b
benny     2678  2.8 13.5  98764 34656 ?        Sl   11:13   0:25 /home/benny/Pro
benny     2691  0.0  0.0      0     0 ?        Z    11:13   0:00 [net] <defunct>
benny     2754  0.0  0.4   2780  1236 ?        S    11:27   0:00 /bin/sh /opt/mo
benny     2758  0.0  0.4   2780  1260 ?        S    11:27   0:00 /bin/sh /opt/mo
benny     2763 14.7 13.0 104160 33264 ?        Sl   11:27   0:11 /opt/mozilla/li
benny     2772  1.5  2.7  44152  7132 ?        Sl   11:27   0:01 xmms
benny     2796 11.2  4.3  28496 11044 ?        Rl   11:28   0:00 gnome-terminal
benny     2797  0.0  0.2   2136   628 ?        S    11:28   0:00 gnome-pty-helpe
benny     2798  0.0  0.6   2824  1536 pts/0    Ss   11:28   0:00 bash
benny     2800  0.0  0.3   1988   836 pts/0    R+   11:28   0:00 ps aux

[/code]

Offline

#11 2006-08-29 09:32:36

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Archlinux slows down when internet cable (LAN) unplugged

ensure loopback (lo, 127.0.0.1) is enabled.

Offline

#12 2006-08-29 17:01:20

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Archlinux slows down when internet cable (LAN) unplugged

iphitus wrote:

ensure loopback (lo, 127.0.0.1) is enabled.

After disabling with /etc/rc.d/network stop I doubt it - stopping only eth0 would be better.

Offline

Board footer

Powered by FluxBB