Linux/Ubuntu Networkign....

  • Posted by a hidden member.
    Log in to view his profile

    Feb 25, 2011 2:50 AM GMT
    I have a dual boot windows/ubuntu computer and I often start it up and get no networking...

    Ive tried...
    sudo /etc/init.d/networking restart, start/stop combo
    editing the /etc/network/interfaces to make sure they were listed there and they were.

    networking works just fine on windows. just occasionally the ubuntu boot will give no networking

  • starboard5

    Posts: 969

    Feb 25, 2011 5:31 AM GMT
    Have you posted your question on the ubuntu user forums? I think you'll probably get faster responses there.
  • Posted by a hidden member.
    Log in to view his profile

    Feb 25, 2011 7:23 AM GMT
    Yeah, the ubuntu forums are probably faster. Stuff to check, however, would be:

    `ifconfig -a` should show whatever interface you're using, configured, up, with an IP address.
    `route` should show an appropriate default route entry pointing to your gateway.

    From there, I usually try pinging the gateway by IP (or any other machine on the local segment), then pinging a remote host by IP, (, BTW, is an L3 DNS server). If *that* works name resolution might be broken, which `nslookup` will help address. Ensure you can actually ping the dns server; if you can't, tracepath will help identify the problem.

    The other side of things is to just check and see what nm-applet (the NetworkManager notification area widget) does when you tell it to connect. Watching /var/log/messages may reveal no suitable interface. If this problem occurs on boot, you might check to make sure that lspci shows your ethernet hardware, modprobe -l shows the appropriate module loaded for your card, and so forth. Sometimes suspend just fucks things up, and a modprobe -r ; modprobe can kick it enough to come alive again.

    As you may have gathered, all of this depends on your computer, network hardware, etc, so it's hard to just give you an answer.
  • Posted by a hidden member.
    Log in to view his profile

    Feb 25, 2011 9:54 AM GMT
    are we talking wireless or wired networking?
    perhaps you need to config your wireless settings to always connect to your wireless access point?
    be happy to help you sort it. pm me if you like?