Results 1 to 4 of 4

Thread: Problem establishing network connection

  1. #1
    Join Date
    Jun 2007
    Beans
    238

    Problem establishing network connection

    Hi,

    Have a sudden unexplained problem wherein the computer is not able to establish internet connection...

    Net connectivity is OK (as my other machine is able to connect using the same modem)...

    Wires and cables checked and are OK

    What i guess, that the Ubuntu is not able to get the DHCP settings....

    Am on ubuntu 9.1

    Need help to resolve the issue...
    pkj

  2. #2
    Join Date
    May 2010
    Location
    Georgia , USA
    Beans
    164
    Distro
    Ubuntu

    Re: Problem establishing network connection

    ok , we want to help but please post the entire output of
    Code:
    cat /etc/network/interfaces

  3. #3
    Join Date
    Jun 2010
    Location
    Finland
    Beans
    90
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Problem establishing network connection

    Run the commands in terminal, open console.

    Try
    'sudo ifconfig wlan0 up down'
    then
    'sudo iwconfig wlan0'

    This only if you are using the wireless and 'wlan0' is the name of your wireless interface. You can also replace the 'wlan0' with 'eth0' if it's an ethernet connection.

    If you are using the wireless with an interface called 'wlan0', then continue with
    'sudo iwconfig wlan0 essid (your wireless connection's ESSID here)'
    after this,
    'sudo iwconfig wlan0 key (your protection key, if any) mode managed'

    Check if the connection has an Access-Point with
    'sudo iwconfig wlan0'
    and if you can find an access-point (AP)(looks something like this 005:00:23:00), then do
    'sudo dhclient wlan0'
    joona@Joona-PC:~$man girls
    No manual entry for girls ..

  4. #4
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    8,798

    Re: Problem establishing network connection

    Howdy,

    For a network connection to work, you need a number of things to be configured correctly:
    IP Address
    Netmask
    Default route
    Domain Name Server
    Hostname

    You can see the IP information using 'ifconfig'.
    You can see the route with 'route'.
    You can see the DNS in /etc/resolv.conf.
    You can see the hostname with 'hostname'.

    So, play around with those commands and figure it out.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •