Re: Ethernet device still disconnected after a 'link connected' log.



Le 27. 07. 15 16:36, Dan Williams a écrit :
On Mon, 2015-07-27 at 13:30 +0200, Jean-Christian de Rivaz wrote:
In this observation NetworkManager still think that eth0 is disconnected
while he correctly logged the message 'link connected':
Just to make sure, the ethernet connection being used is
autoconnect=true, right?

nmcli con show "<the connection name>" | grep autoconnect

will tell you.

Hi Dan,

# nmcli con show eth0
Error: eth0 - no such connection profile.

Not sure of what you are talking about. I am pretty certain that eth0 is the real device interface.

# nmcli d
DEVICE   TYPE      STATE      CONNECTION
eth0     ethernet  connected  Wired connection 1
ttyACM0  gsm       connected  gsm1
ppp0     unknown   connected  ppp0
lo       loopback  unmanaged  --
sit0     sit       unmanaged  --
wlan0    wifi      unmanaged  --

The configuration is mostly the default one, just unmanage the WiFi and configure the GSM APN.

# cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

[keyfile]
unmanaged-devices=mac:00:0b:6c:41:eb:24

# cat /etc/NetworkManager/system-connections/gsm1
[connection]
id=gsm1
uuid=f5e7b733-beea-4fcb-b213-b2dfcbd61073
type=gsm
timestamp=1432623762

[gsm]
number=*99#
apn=public4.m2minternet.com

[ipv6]
method=auto

[ipv4]
method=auto


Jean-Christian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]