Jump to content

Eth0 doesn't detect ethernet cable changed


mrv

Recommended Posts

Hi to everyone,

 

I configured Network Manager to have a local-link connection (eth0-ll) as DHCP fallback (eth0-auto).

 

When I do the following:

 

  1. Connect Orange Pi in a net without DHCP, obtaining a local link address
  2. Unplug ethernet cable
  3. Plug  another ethernet cable connected to a network with DHCP

 

If step 2 and step 3 are executed rapidly, the Orange Pi doesn't detect the network switching and eth0 keeps its local-link address.

When I perform such steps slowly, Orange Pi detect which ethernet cable is not plugged in and then everything works as expected.

 

How can I increase the refresh rate of the ethernet cable state?

 

eth0-auto.nmconnection

[connection]
id=eth0-auto
uuid=f3e05ca1-169d-43e7-9482-a1ed73cf6eb1
type=ethernet
autoconnect-priority=100
autoconnect-retries=2
interface-name=eth0
permissions=

[ethernet]
mac-address-blacklist=

[ipv4]
dhcp-timeout=10
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=disabled

[proxy]

 

eth0-ll.nmconnection

[connection]
id=eth0-ll
uuid=29cd8244-a477-41f8-be44-85c3c5c2bf57
type=ethernet
autoconnect-priority=50
interface-name=eth0
permissions=

[ethernet]
mac-address-blacklist=

[ipv4]
dns-search=
method=link-local

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=disabled

[proxy]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines