Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

Networking and servers • Re: Sharing the Ethernet port to USB0

$
0
0
nmtui has an option to start interfaces and allow the interface to be used by a given user - possibly checking this may help?

I've not tried this but maybe:

Code:

nmcli con mod usb0 connection.autoconnect yes
could start it?
Thanks. That does change the configuration file:

Code:

# cat /etc/NetworkManager/system-connections/usb0.nmconnection [connection]id=usb0uuid=bb345a8c-fd84-4142-a25f-fe25b1253a54type=ethernetinterface-name=usb0timestamp=1705168254[ethernet][ipv4]method=auto[ipv6]addr-gen-mode=defaultmethod=auto[proxy]
However, the interface remains unavailable upon reboot. Bringing the interface up manually with ifconfig doesn't cause connection but using nmcli manually gets an IPv4 address for it.

Still puzzled.

Statistics: Posted by tpyo kingg — Mon Jan 15, 2024 4:06 am



Viewing all articles
Browse latest Browse all 4906

Trending Articles