h1

XP and Feisty.

May 22, 2007

I am sitting here on my Feisty machine which barely functions. Everything works but I can’t stay online. After struggling with a router, I plugged straight into the DSL modem. I can connect for X number of minutes, but my connection drops. My Feisty machine and my families XP machine are both set to DHCP and get the connection automagically. Yet, the XP machine does not drop the connection, Fesity does. (As do Dapper and Edgy). So, my problem is a sort of identity crisis. What is different in Linux that Windows seems to do right (at least in terms of not dropping my connection). What can I do to fix this? Blah…wired connections…

In other words, KDE 3.5.7 is out not. Read more at the announcement and grab the latest update…

Advertisements

23 comments

  1. Are you using a d-link router?


  2. Try running dmesg from the Terminal after a disconnect happens. You might find something relating to your network adapter which could be helpful in troubleshooting the problem.

    HTH


  3. It’s unclear from your post whether you’re trying Windows on this system, but I suspect it might be either a driver or a hardware problem. Trying out in Windows would be one way to test it out.


  4. Claudio, yes it was a Dlink DI-514. The DSL modem I connect to is a Speedsteam 4100. I can set up the modem and the router but the router would refuse to give me an IP address. When I connect modem to router to computer (either XP or Linux), the router does not assign them an IP address. At one point, it did give an IP address, but no DNS server.


  5. I’m using co.mments.com to subscribe to comments here, so feel free to respond here. 🙂

    What about a static address? Does that work at all? Are you able to try a different router?


  6. A difference between the two (XP and Feisty) is the use of IPv6, I think. My old router struggeld with my Linux system since Breezy and it also did with a vista notebook I tried recently. While XP did not cause any problems (except its proprietariness, of course 🙂 ), Linux always showed some weird behaviour. The difference seemed to be that XP did not and Linux always tried to send some sort of IPv6 request, which the router did not understand. So everytime I logged into Linux, the router lost its DNS-abilities for all the machines connected to it (even the XP one). After disconnecting and reconnecting the router to the internet everything worked fine. But after some time my Linux system just disconnected, this time without affecting the DNS thingie.

    I once succeeded in disabling something IP-related in my network preferences, but I dot not remeber what it was. Now I use a new router which works fine with Linux (Feisty) and Windows (XP and Vista) without any special and magic preference. But maybe the reason for this is that it’s a Linux-based router… 😀


  7. http://pastebin.ca/502901
    the output of dmesg after my connection drops. What does this all mean?
    Perhaps this helps?

    I think Jonathan hit it on the head, should I disable IPv6, I’ve done it before, just wasn’t sure if it was right. Thoughts?


  8. D-link. Mmmm. Had some problems too …
    Similar behavour: fine in windows, probs in linux.

    Solution: In the router I disabled the DNS forwarding feature. This gives you the ip of the router as the dns server (/etc/resolv.conf, e.g. 192.168.1.1) and forwards your dns requests to your ISP dns servers.

    Disable it and put the dns server(s) of your isp there so dhcpd of the router passes a “real” dns server to your workstation /etc/resolv.conf.

    I know, dns seems not te be related, but doing this fixed my problem that was *very* similar to yours (“loosing” the connection, drove me crazy as wel 🙂 ).

    I think a firmware upgrade fixed the problem, but I left my settings as it worked fine. I have now an other router as I broke the antenna of the dlink (long history) so I can not check.

    I hope this helps,

    Claudio


  9. Freddy,

    go and get Linux Mint, IP v6 is disabled there by default for exactly that reason 🙂

    Ubuntu is good, very good, but there are still this little ugly issues that can drive even us crazy 🙂

    (other issues of this sort in Ubuntu: Bluetooth does not detect devices currently, no PDF printer by default, no screen selection menu (like in Mepis or OpenSuse, very well done there, BTW)).

    Guess I will blogg about this tomorrow – good to see that even a fellow from Ubuntu Planet stumbles upon such issues 🙂


  10. I think you might suffering from this bug:

    https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/33968


  11. Or maybe this one, but I think they are related.

    https://bugs.launchpad.net/ubuntu/+bug/108592


  12. It isn’t extremely clear, but perhaps your ISP is doing mac address filtering.


  13. […] XP and Feisty. I am sitting here on my Feisty machine which barely functions. Everything works but I can’t stay online. After […] […]


  14. I had a D-Link router to which my Linux laptop and my brother’s Mac Mini could connect fine, but none of our Windows machines could even see the network, much less connect! I’d highly recommend Linksys, though you might have to shell out a bit more cash.


  15. Try this
    $ sudo gedit /etc/resolv.conf
    name server 202.188.x.x
    name server x.x.x.x
    Save -> Exit

    [Lock it] # sudo chattr +i /etc/resolv.conf

    Hope this helps. Works for me.


  16. Man, try using a USB connection to the router/modem. It fixed my problem.

    I used to have the same problem with the connection – The only way for me to (temporally) fix it, was to go to system settings, network connections, login as root, disable the connection and then re-enable it.

    But then I had an idea – Use the additional USB connection. and it worked. Hope it works for you too.

    J.T.


  17. Just disable IPv6 & DHCP. Use a manually configured IPv4 address. For home use IPv6 and DHCP aren’t needed anyway, and might be the cause of these problems.


  18. I had a similar problem the other day with DNS not being picked up properly. I had to add DNS entries to the router (I think it wasn’t getting them properly from the modem (D-Link))
    If I set them using network managers manual configuration, they would be lost next time the DHCP lease was renewed.


  19. Hey there Chicagoan.

    I had this problem a little while ago, and I have this feeling that I know what the problem is. It is windows XP. No seriously. Are you running dual boot? From what I hear XP changes the internal flash settings of the networking card on bootup. I think it might have something to do with the MAC address, but I am not sure. This causes linux to change these settings back to what they should be on next boot, but it causes instability in the connection.

    One Question: If you reboot from linux to linux without going into XP does the connection work?

    If so I suggest just trashing XP. This is the solution that I came up with for my PC, but couldn’t reproduce it, or explain it, so I didn’t submit a bug. Plus I think the bug would be in XP not linux.

    Hope this helps.
    Mike
    http://www.aussiebikes.com


  20. I could not connect on either machine…I had a straight XP install on one, and a straight Linux install on a different box. The problem is now fixed though…


  21. I have the same config as Michael and my problem (lost network) began after I did an XP Pro driver update to my Realtek ethernet card through Microsoft Updates. After playing around with network settings for a while I put it aside for 4 days. This am booted to Feisty and lo and behold–network back up!


  22. my computer no longer sees my router after installing redhat – should I install still another application?


  23. @ enriquez marcus

    I have no idea why you would be seeing this issue…have you tried the suggestions above?



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: