Guest twoten Posted January 11, 2006 Report Share Posted January 11, 2006 So I go to the net_applet icon in my KDE task tray, and select monitor the network. In my process table I see 3 new net_monitor processes appear, all owned by /usr/bin/perl. I highlight all 3 and kill them. Two of the processes die and one remains. At this point my internet connection works for about 30 seconds and then stops. The net-monitor process that remained I cannot kill as any user with any signal. and it shows as no longer owned by /usr/bin/perl. If I do this a few times in a row, the zombie net_monitor processes keep adding up one every time. It's taken me a long time to even get this far and this is what I have done: My cabled router's ip is 192.168.2.1 and I know all the hardware works because my Gentoo live cd connects in no time, allowing me to enjoy "links" from the command line. I had to set my DHCP to static to get anything at all, and my Mandriva box is set to 192.168.2.135. I know this because I can talk to my router from this ubuntu box that I'm typing this on. Without static ip I won't get assigned an ip through dhcp. So here is the output of ifconfig: eth1 Link encap:Ethernet HWaddr 00:50:BA:0B:CF:5A inet addr:192.168.2.135 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::250:baff:fe0b:cf5a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:86 errors:0 dropped:0 overruns:0 frame:0 TX packets:834 errors:208 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:60103 (58.6 KiB) TX bytes:37212 (36.3 KiB) Interrupt:11 Base address:0xac00 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:1051 errors:0 dropped:0 overruns:0 frame:0 TX packets:1051 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:59526 (58.1 KiB) TX bytes:59526 (58.1 KiB) You can see eth1 has my static ip. There is also a sit0 interface which I can kill with the mcc but it keeps coming back. I did add the line to etc/host.conf to disable the ipv6 but it's no longer there? Here is my host.conf file: order hosts,bind multi on I haven't seen that before, host.conf used to be blank. and here is my /etc/hosts file: 192.168.2.1 gateway 127.0.0.1 ozmotis # generated by drakhosts and here is the output of the route command: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 * 255.255.255.0 U 0 0 0 eth1 default gateway 0.0.0.0 UG 0 0 0 eth1 I used to have to do a route add default gw 192.168.2.1 from the command line but it seems to have taken now. For contrast here is the output of route on my ubuntu box which has a working connection: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0 I can see a difference there ... I am not a network guy and I've been plugging away at this for a week with only limited success. Now I am stumped, I would sure like my Mandriva box back, if anyone can help I would really appreciate it. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 11, 2006 Report Share Posted January 11, 2006 To disable ipv6 you have to add this to /etc/modprobe.conf alias net-pf-10 off then, you can go into /etc/sysconfig/network-scripts and delete the ifcfg-sit0 device, or whatever the file is called, and then ipv6 will be completely disabled. Chances are this is what is most likely causing your problems. Quote Link to comment Share on other sites More sharing options...
Guest twoten Posted February 13, 2006 Report Share Posted February 13, 2006 Right, I added the line to /etc/modules.conf which was my mistake, so I removed it and it is now blank again. In /etc/modprobe.conf the last 4 lines were all alias net-pf-10 ipv6 so I removed 3 and changed the last one to "off". Then I deleted /etc/sysconfig/network-scripts/ifcfg-sit0, set eth1 to start on boot with a ip supplied through dhclient and rebooted. The machine came up with the internet connected! But only for about 30 seconds and then went off. The router showed that it had handed out the old 192.168.2.135 address to ozmotis, which is my machine name. But the ifcfg-sit0 file was back and so was an alias net-pf-10 ipv6 entry at the end of modprobe.conf. So some lousy process is recreating the sit0 interface and I suspect that's why I get disconnected. So I looked at the ifcfg-sit0 file and it looked like this: device=sit0 BOOTPROTO=dhcp ONBOOT=yes So I used mcc to disable the thing and now it looks like this: DEVICE=sit0 BOOTPROTO=none IPADDR="No IP" NETMASK="No Mask" BROADCAST=255 ONBOOT=no MII_NOT_SUPPORTED=yes PEERDNS=yes I rebooted and the same disconnect thing. So then I looked at /etc/sysconfig/network-scripts/ifcfg-eth1 and saw a couple of interesting lines: IPV6INIT=yes IPV6TO4INIT=yes so I set them both to no and rebooted again. Well that didn't work, now I'm not even cooected for 30 seconds at startup. *sigh* Any help you have will be greatly appreciated! Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 14, 2006 Report Share Posted February 14, 2006 try to edit /etc/sysconfig/network and add the line NETWORKING_IPV6=no then reboot Quote Link to comment Share on other sites More sharing options...
Guest twoten Posted February 14, 2006 Report Share Posted February 14, 2006 try to edit /etc/sysconfig/network and add the lineNETWORKING_IPV6=no then reboot I did that and rebooted. I get about 30 seconds of connection after KDE starts up and then I lose it. The mcc shows that the sit0 device has been recreated. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 14, 2006 Report Share Posted February 14, 2006 Can you post the output of this command: chkconfig --list just want to see what services are enabled. Quote Link to comment Share on other sites More sharing options...
Guest twoten Posted February 14, 2006 Report Share Posted February 14, 2006 Can you post the output of this command: chkconfig --list just want to see what services are enabled. and here it is: acpi 0:off 1:off 2:on 3:on 4:on 5:on 6:off acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off alsa 0:off 1:off 2:on 3:on 4:on 5:on 6:off atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off dm 0:off 1:off 2:off 3:off 4:off 5:on 6:off freshclam 0:off 1:off 2:on 3:on 4:on 5:on 6:off haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off harddrake 0:off 1:off 2:off 3:on 4:on 5:on 6:off httpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off keytable 0:off 1:off 2:on 3:on 4:on 5:on 6:off kheader 0:off 1:off 2:on 3:on 4:off 5:on 6:off lisa 0:off 1:off 2:off 3:on 4:on 5:on 6:off mDNSResponder 0:off 1:off 2:off 3:on 4:on 5:on 6:off messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off nifd 0:off 1:off 2:off 3:on 4:on 5:on 6:off ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off numlock 0:off 1:off 2:off 3:on 4:on 5:on 6:off oki4daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off partmon 0:off 1:off 2:off 3:on 4:on 5:on 6:off rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off sound 0:off 1:off 2:on 3:on 4:on 5:on 6:off syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off there seems to be no change to the list after my 30 seconds are up and I lose the network. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 14, 2006 Report Share Posted February 14, 2006 Some things I've noticed which might not be relevant anyway, but since they are services you might not be using, then perhaps these could be disabled/removed. First thoughts. Do you use lisa to browse Windows shares from your Linux box? If not, you can remove with: urpme lisa Next on the list is the service called netfs. This is normally used with things like nfs, samba. You don't have any of these installed, so we can disable this using: chkconfig netfs off I normally also do the same for rawdevices too and turn this off. Maybe that will make a difference, maybe not. But at least you're disabling services your not using anyhow. Also, can you run the following command and output here for me: urpmq ipv6 want to see if you have any ipv6 packages installed that might be causing problems. Another thing worth checking, is go into System/Configuration/Configure Your Computer/Boot/Boot Loader. There is an option to disable apic, make sure this is selected, then OK everything and reboot. Does that help? Quote Link to comment Share on other sites More sharing options...
Guest twoten Posted February 14, 2006 Report Share Posted February 14, 2006 I did all 4 of things and something worked! I hope it's not the apic since I really like having having my machine power itself off. Thank you so much! I will name my first child ianw1974! Quote Link to comment Share on other sites More sharing options...
Qchem Posted February 14, 2006 Report Share Posted February 14, 2006 I would probably blame lisa first, try turning the individual things on and off to see what triggers it. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 15, 2006 Report Share Posted February 15, 2006 OK, re-enable the apic, and see if the problem re-appears. If not, I would suggest it was something related to one of the services we removed/disabled. Glad it's working now though :P Quote Link to comment Share on other sites More sharing options...
Guest twoten Posted February 16, 2006 Report Share Posted February 16, 2006 Drat! It was the apic. I enabled it in the grub bootloader and it came up without the connection. I switched it back off again and all was fine. Is this a known bug? Some peculularity with my motherboard? (ECS D6VAA dual PIII-1ghz) I guess I'm doomed to reaching across the desk and flicking the power switch at the back of the box! By hand! Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 16, 2006 Report Share Posted February 16, 2006 What make/model is the network card? Is it a realtek 8139? I've seen this being a common problem with these cards. Quote Link to comment Share on other sites More sharing options...
Guest twoten Posted February 16, 2006 Report Share Posted February 16, 2006 What make/model is the network card? Is it a realtek 8139? I've seen this being a common problem with these cards. No, it's a VIA VT6102 [Rhine II 10/100]. But that's a good point, I have a bucket of NICs around here, I'll try swapping it with some other makes and see if that works. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 16, 2006 Report Share Posted February 16, 2006 Good idea :P My desktop has a Linksys card, and I don't experience problems with this, nor my wife's desktop with a d-link card. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.