No Internet in Ubuntu?

Discussion in 'Parallels Desktop for Mac' started by nickels, Feb 18, 2007.

  1. nickels

    nickels Bit poster

    Messages:
    5
    For some reason I cannot access the Internet using Ubuntu - I have tried all three types of connection but nothing works. Any suggestions?

    NICK
     
  2. dkp

    dkp Forum Maven

    Messages:
    1,367
    In a terminal window run:
    ifconfig -a

    Then run:
    netstat -rn

    Then run:
    cat /etc/resolv.conf

    You should see your active interface, the IP being used, your netmask, broadcast address, and the available routes. One of the routes should be identified as default. The last test prints out your DNS resolver information - it is spelled correctly. You have one in OS X too, and the information in them should be the same.

    Try to ping the address of your default router. If that fails you have a bad local configuration. If it returns a ping, then ping an external IP. Use one you know will return a ping (test it in OS X to be sure). If that works then ping the hostname for that IP. If that fails then you have incorrect DNS nameserver information in your resolv.conf file. If it works then you have Internet connectivity but possible blocking in a firewall.

    If you are using shared networking then only OS X will see Ubuntu. If you wish to connect to it remotely you will need to enable proxy services in OS X or use bridged networking.

    If none of this makes sense then I suggest a bit of light reading in the Douglas Comer and David Stevens "Internetworking with TCI/IP" book series (Prentice Hall). It's good reading for anyone curious about the subject.
     

Share This Page