On Debian 13 (or any Linux distribution), the "Ethernet network name" you're referring to (like Livebox-ABCD) is typically the SSID (Service Set Identifier) of a wireless network, not the Ethernet interface name (e.g., eth0, enp3s0, etc.).
If you want to get the SSID of the currently connected wireless network, you can use one of the following commands:
Method 1: Using iwgetid
- This will return the SSID of the currently connected wireless network.
Method 2: Using iw dev
iw dev wlan0 link | grep "SSID" | awk '{print $2}'
- Replace
wlan0 with your actual wireless interface name (e.g., wlp2s0).
Method 3: Using nmcli (if using NetworkManager)
nmcli -t -f active,ssid dev wifi | grep '^yes:' | cut -d':' -f2
- This will list the SSID of the currently active wireless connection.
Note: