Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Cannot connect to internet after 12.04 install

  1. #11
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,807
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Cannot connect to internet after 12.04 install

    Hi, I think I know what is causing this issue please post the output of:
    Code:
    cat /etc/network/interfaces
    if anything else is in the file except
    Code:
    auto lo
    iface lo inet loopback
    open the file with gedit and remove the extra content then save the file and reboot.
    Thanks

  2. #12
    Join Date
    Nov 2010
    Beans
    31

    Re: Cannot connect to internet after 12.04 install

    Thank WIld Man, yes I did have other details in that file. So I've commented them out now and rebooted.

    I can now see the network connections but I still don't have a connection to the internet.

  3. #13
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Cannot connect to internet after 12.04 install

    Wild Man will be away for a few days and I've been asked to help. Please post:
    Code:
    nm-tool
    dmesg | grep -e eth -e b44
    sudo ifconfig eth0 up
    sudo dhclient eth0
    Any warnings, errors, messages,etc. will be helpful, so please post them.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  4. #14
    Join Date
    Nov 2010
    Beans
    31

    Re: Cannot connect to internet after 12.04 install

    Thanks Chili555, details below:


    Code:
    stephen@ubuntu:~$ nm-tool
    
    NetworkManager Tool
    
    State: connected (global)
    
    - Device: eth0  [Auto Ethernet] ------------------------------------------------
      Type:              Wired
      Driver:            b44
      State:             connected
      Default:           yes
      HW Address:        00:0F:1F:59:B1:5E
    
      Capabilities:
        Carrier Detect:  yes
        Speed:           100 Mb/s
    
      Wired Properties
        Carrier:         on
    
      IPv4 Settings:
        Address:         192.168.1.21
        Prefix:          24 (255.255.255.0)
        Gateway:         192.168.1.1
    
        DNS:             192.168.1.1
    
    
    stephen@ubuntu:~$

    Code:
    stephen@ubuntu:~$ dmesg | grep -e eth -e b44
    [    0.296195] i2c-core: driver [aat2870] using legacy suspend method
    [    0.296198] i2c-core: driver [aat2870] using legacy resume method
    [    1.802979] b44 0000:01:09.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    [    1.880223] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
    [    1.900999] b44 ssb0:0: eth0: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:0f:1f:59:b1:5e
    [   24.022616] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   28.819874] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   28.820878] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   31.816208] b44 ssb0:0: eth0: Link is up at 100 Mbps, full duplex
    [   31.816214] b44 ssb0:0: eth0: Flow control is off for TX and off for RX
    [   31.816433] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   42.864023] eth0: no IPv6 routers present
    stephen@ubuntu:~$

    Code:
    stephen@ubuntu:~$ sudo dhclient eth0
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service smbd reload
    
    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the reload(8) utility, e.g. reload smbd
    RTNETLINK answers: File exists
    stephen@ubuntu:~$

  5. #15
    Join Date
    Nov 2010
    Beans
    31

    Re: Cannot connect to internet after 12.04 install

    Ok, I have a connection to the internet now. Those commands seemed to work.

    I would love an explanation as to what I was doing wrong.

  6. #16
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Cannot connect to internet after 12.04 install

    I'm a bit mystified as to whether Network Manager is actually running. I suspect we started the ethernet connection the old-fashioned way, with dhclient. Let's do some checking:
    Code:
    ps aux | grep -i network
    cat /var/log/syslog | grep etwork | tail -n20
    cat /etc/NetworkManager/NetworkManager.conf
    cat /etc/network/interfaces
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •