You are not logged in.
I get no interfaces with the 'ip a' command except for the 'lo' interface when I upgraded to iproute2-3.5.1-1. Anyone know a workaround?
Last edited by mikkie (2012-08-21 20:05:30)
Offline
That only lists interfaces that are currently up. Are you connected through eth0 or wlan0 when you run that command?
I'm not sure if it's the "right" way, but `ip maddress` shows all my interfaces, while `ip address` shows only those that are currently connected.
edit: `ip link` is probably the right command to list all interfaces. or `ip link show` according to the man page, but I believe the show is assumed in the shorter form - or even with just `ip l`.
Last edited by Trilby (2012-08-21 19:50:16)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby, you seem to be right, I wasn't connected when I ran 'ip a'. I did get the interfaces with 'ip a' with the previous version of iproute2 even when I wasn't connected though. I will mark the thread as solved.
Offline
with the previous version of iproute2 even when I wasn't connected though.
There was a bug https://bbs.archlinux.org/viewtopic.php … 6#p1148816 but it was related to not showing IP addresses, not interfaces.
Last edited by karol (2012-08-21 20:12:26)
Offline