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

Thread: Trouble with ethernet connection, 18.04

  1. #11
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    25,106
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Trouble with ethernet connection, 18.04

    Your welcome and looks good!

  2. #12
    Join Date
    Nov 2008
    Location
    Magdalena,New Mexico,USA
    Beans
    Hidden!
    Distro
    Ubuntu Mate Development Release

    Re: Trouble with ethernet connection, 18.04

    what is the output of

    Code:
    inxi -N
    almost sounds like a hardware failure starting to happen...

    tommy
    Registered Linux User # 529389
    Arch Linux, Linux Mint 18.3 Sylvia, openSUSE Tumbleweed Linux
    my improved web page http://users.gilanet.com/~tfrost

  3. #13
    Join Date
    Dec 2014
    Beans
    17

    Re: Trouble with ethernet connection, 18.04

    Code:
    $ inxi -N
    Network:   Card: Marvell 88W8897 [AVASTAR] 802.11ac Wireless driver: mwifiex_pcie
    I've discovered that sometimes I can get the ethernet interface to show up on 'ip link' by disconnecting the dock connector from the laptop and reconnecting it. Not consistent though. I've repro'd this on two different dock connectors, one at home and one at the office.

  4. #14
    Join Date
    Apr 2009
    Beans
    9

    Re: Trouble with ethernet connection, 18.04

    If you're running on a SSD, you run the risk of things booting faster than the network is coming online and then you'll need to modify the following file: `/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service`

    Code:
    [Unit]
    Description=Network Manager Wait Online
    Documentation=man:nm-online(1)
    Requires=NetworkManager.service
    After=NetworkManager.service
    Before=network-online.target
    
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/nm-online -s -q --timeout=60
    RemainAfterExit=yes
    
    [Install]
    WantedBy=network-online.target
    and change the timeout from `30` to `60`.

  5. #15
    Join Date
    Dec 2014
    Beans
    17

    Re: Trouble with ethernet connection, 18.04

    I changed the timeout to 60 as suggested, the ethernet interface is still not visible:

    Code:
    $ inxi -N
    Network:   Card: Marvell 88W8897 [AVASTAR] 802.11ac Wireless
               driver: mwifiex_pcie
    I then disconnected and reconnected the dock connector on the laptop, now 'ip link' shows the ethernet interface:

    Code:
    $ ip link1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
        link/ether c4:9d:ed:a8:15:51 brd ff:ff:ff:ff:ff:ff
    3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
        link/ether 02:42:41:4e:0f:80 brd ff:ff:ff:ff:ff:ff
    4: enxbc8385f72540: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
        link/ether bc:83:85:f7:25:40 brd ff:ff:ff:ff:ff:ff
    I added this new id to the /etc/network/interfaces file and ran 'ifup':

    Code:
    $ sudo ifup enxbc8385f72540
    Internet Systems Consortium DHCP Client 4.3.5
    Copyright 2004-2016 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/
    
    
    Listening on LPF/enxbc8385f72540/bc:83:85:f7:25:40
    Sending on   LPF/enxbc8385f72540/bc:83:85:f7:25:40
    Sending on   Socket/fallback
    DHCPDISCOVER on enxbc8385f72540 to 255.255.255.255 port 67 interval 3 (xid=0x2b48a007)
    DHCPDISCOVER on enxbc8385f72540 to 255.255.255.255 port 67 interval 4 (xid=0x2b48a007)
    <snipped more DHCPDISCOVER...>
    
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    Not yet working.
    Last edited by James_Creasy; 1 Day Ago at 05:58 PM.

Page 2 of 2 FirstFirst 12

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
  •