Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: cant compile drivers for atheros ar8151

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

    Re: cant compile drivers for atheros ar8151

    In your logs, we see:

    [ 5.733329] sky2: driver version 1.30
    [ 5.733741] sky2 0000:04:00.0: Yukon-2 Optima chip revision 1
    [ 5.735194] sky2 0000:04:00.0 eth0: addr 54:42:49:07:97:c0
    [ 5.757477] sky2 0000:04:00.0 enp4s0: renamed from eth0

    ....

    [ 42.121606] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    [ 42.124959] sky2 0000:04:00.0 enp4s0: enabling interface
    [ 42.125583] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    In other words, we see nothing at all wrong or alarming. We see no reason that your ethernet shouldn't work perfectly well.

    Please use the airplane mode switch to disable the wireless temporarily and confirm that you have a known working ethernet cable attached to the computer and a known working port on the router or switch.

    Does Network Manager see a wired connection when you click the icon at the top right?



    Does it attempt to connect?

    Let's have a look at:

    Code:
    dmesg | grep enp4s0
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  2. #12
    Join Date
    Feb 2019
    Beans
    14

    Re: cant compile drivers for atheros ar8151

    sorry for the late reply. it logged me out for some reason so no notifications and when i refreshed i didn't notice the 2nd page.

    if i enable aeroplane mode i see my ethernet card with if config now but it doesn't have an ip. and now i don't see it on the top bar.
    Code:
    georgevaio@Georgevaio:~$ ifconfig
    enp4s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether 54:42:49:07:97:c0  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 18  
    
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 651  bytes 56109 (56.1 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 651  bytes 56109 (56.1 KB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    
    georgevaio@Georgevaio:~$ dmesg | grep enp4s0
    [    5.778228] sky2 0000:04:00.0 enp4s0: renamed from eth0
    [   44.568762] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    [   44.572103] sky2 0000:04:00.0 enp4s0: enabling interface
    [   44.572720] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    georgevaio@Georgevaio:~$

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

    Re: cant compile drivers for atheros ar8151

    Are there any interesting entries here?
    Code:
    cat /etc/network/interfaces
    Or here?
    Code:
    cat /etc/netplan/*.yaml
    Or here?
    Code:
    cat /etc/NetworkManager/NetworkManager.conf
    And, finally, here?
    Code:
    cat /var/log/syslog  | grep enp4s0 | tail -n20
    We still see no fault that shows why the ethernet doesn't work as expected.
    "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
    May 2014
    Location
    /home
    Beans
    10,943
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: cant compile drivers for atheros ar8151

    Does it work after sleep/suspend?

  5. #15
    Join Date
    Feb 2019
    Beans
    14

    Re: cant compile drivers for atheros ar8151

    here you go

    Code:
    georgevaio@Georgevaio:~$ cat /etc/network/interfaces
    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback
    georgevaio@Georgevaio:~$ cat /etc/netplan/*.yaml
    # Let NetworkManager manage all devices on this system
    network:
      version: 2
      renderer: NetworkManager
    georgevaio@Georgevaio:~$ cat /etc/NetworkManager/NetworkManager.conf
    [main]
    plugins=ifupdown,keyfile
    
    
    [ifupdown]
    managed=false
    
    
    [device]
    wifi.scan-rand-mac-address=no
    georgevaio@Georgevaio:~$ cat /var/log/syslog  | grep enp4s0 | tail -n20
    Feb 14 11:13:54 Georgevaio NetworkManager[714]: <info>  [1550135634.8434] settings: (enp4s0): created default wired connection 'Wired connection 1'
    Feb 14 11:13:54 Georgevaio NetworkManager[714]: <info>  [1550135634.8441] device (enp4s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
    Feb 14 11:13:54 Georgevaio kernel: [   41.798254] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    Feb 14 11:13:54 Georgevaio kernel: [   41.801545] sky2 0000:04:00.0 enp4s0: enabling interface
    Feb 14 11:13:54 Georgevaio kernel: [   41.802170] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    Feb 14 18:30:00 Georgevaio kernel: [    5.780607] sky2 0000:04:00.0 enp4s0: renamed from eth0
    Feb 14 18:30:05 Georgevaio NetworkManager[659]: <info>  [1550161805.0111] devices added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/enp4s0, iface: enp4s0)
    Feb 14 18:30:05 Georgevaio NetworkManager[659]: <info>  [1550161805.0112] device added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0/net/enp4s0, iface: enp4s0): no ifupdown configuration found.
    Feb 14 18:30:06 Georgevaio NetworkManager[659]: <info>  [1550161806.6905] manager: (enp4s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
    Feb 14 18:30:06 Georgevaio NetworkManager[659]: <info>  [1550161806.6933] settings: (enp4s0): created default wired connection 'Wired connection 1'
    Feb 14 18:30:06 Georgevaio NetworkManager[659]: <info>  [1550161806.6941] device (enp4s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
    Feb 14 18:30:06 Georgevaio kernel: [   41.672882] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    Feb 14 18:30:06 Georgevaio kernel: [   41.676221] sky2 0000:04:00.0 enp4s0: enabling interface
    Feb 14 18:30:06 Georgevaio kernel: [   41.676844] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    Feb 14 18:38:39 Georgevaio NetworkManager[659]: <info>  [1550162319.6431] device (enp4s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
    Feb 14 18:38:39 Georgevaio kernel: [  555.372642] sky2 0000:04:00.0 enp4s0: disabling interface
    Feb 14 18:48:37 Georgevaio kernel: [  564.812967] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    Feb 14 18:48:37 Georgevaio kernel: [  564.816371] sky2 0000:04:00.0 enp4s0: enabling interface
    Feb 14 18:48:37 Georgevaio kernel: [  564.820183] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
    Feb 14 18:48:37 Georgevaio NetworkManager[659]: <info>  [1550162917.7450] device (enp4s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'managed')

  6. #16
    Join Date
    Feb 2019
    Beans
    14

    Re: cant compile drivers for atheros ar8151

    Does it work after sleep/suspend?
    no, it doesn't

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

    Re: cant compile drivers for atheros ar8151

    I am still unable to see a reason that the ethernet doesn't work. On the chance that Network Manager is at fault, let's try disabling it temporarily:
    Code:
    sudo service network-manager stop
    sudo dhclient enp4s0
    Are there any interesting messages, errors, warnings, etc.?

    Restart NM with:
    Code:
    sudo service network-manager start
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  8. #18
    Join Date
    Feb 2019
    Beans
    14

    Re: cant compile drivers for atheros ar8151

    nothing

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

    Re: cant compile drivers for atheros ar8151

    Quote Originally Posted by the-technomancer View Post
    nothing
    After doing so, what does this report?
    Code:
    cat /var/log/syslog | grep dhclient | tail -n10
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  10. #20
    Join Date
    Feb 2019
    Beans
    14

    Re: cant compile drivers for atheros ar8151

    Code:
    georgevaio@Georgevaio:~$ cat /var/log/syslog | grep dhclient | tail -n10
    Feb 21 11:28:10 Georgevaio dhclient[1109]: bound to 172.16.1.79 -- renewal in 9154 seconds.
    Feb 21 20:56:06 Georgevaio kernel: [   20.727894] audit: type=1400 audit(1550775340.775:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=455 comm="apparmor_parser"
    Feb 21 20:56:06 Georgevaio kernel: [   20.727906] audit: type=1400 audit(1550775340.775:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=455 comm="apparmor_parser"
    Feb 21 20:56:09 Georgevaio NetworkManager[952]: <info>  [1550775369.3159] dhcp-init: Using DHCP client 'dhclient'
    Feb 21 20:56:12 Georgevaio NetworkManager[952]: <info>  [1550775372.8700] dhcp4 (wlp2s0): dhclient started with pid 1566
    Feb 21 20:56:13 Georgevaio dhclient[1566]: DHCPDISCOVER on wlp2s0 to 255.255.255.255 port 67 interval 3 (xid=0xa78f6b07)
    Feb 21 20:56:13 Georgevaio dhclient[1566]: DHCPREQUEST of 192.168.0.24 on wlp2s0 to 255.255.255.255 port 67 (xid=0x76b8fa7)
    Feb 21 20:56:13 Georgevaio dhclient[1566]: DHCPOFFER of 192.168.0.24 from 192.168.0.2
    Feb 21 20:56:14 Georgevaio dhclient[1566]: DHCPACK of 192.168.0.24 from 192.168.0.2
    Feb 21 20:56:15 Georgevaio dhclient[1566]: bound to 192.168.0.24 -- renewal in 1550 seconds.

Page 2 of 3 FirstFirst 123 LastLast

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
  •