how to determine network device names
Little Girl
littlergirl at gmail.com
Mon Nov 8 14:01:53 UTC 2021
Hey there,
Bo Berglund wrote:
>Little Girl wrote:
>>ip address | grep "BROADCAST" | cut -d' ' -f2 | cut -d':' -f1
>>ip route | grep kernel | cut -f2 -d'/' | cut -f3 -d' '
>>
>Thanks for the commands!
I'm glad you like them. I hope you also saw the others suggested in
this thread.
>Results:
>--------
>On two Ubuntu 20.04.3 desktop machines:
>1st command:
>enp0s25
>wlo1
>
>2nd command
>enp0s25
>wlo1
>
>On one Ubuntu 20.04.3 *server*, which has been release-upgraded from
>16 to 18 before finally to 20:
>1st command
>eth0
>wlan0
>
>2nd command
>tun0
>tun1
>eth0
>
>So on the server the results vary between the commands but not on
>the desktops.
That's interesting, but somehow not surprising. My explorations of
20,04 so far have shown it to be buggy in several ways, so I'm going
to go with an interim release this time around.
>I still wonder about the real reason for changing the names...
>Bitcoin mining with thousands of units all interconnected?
This page goes into some interesting detail on the history of network
naming schemes:
https://wiki.debian.org/NetworkInterfaceNames
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list