You are not logged in.

#1 2012-08-21 17:32:47

mikkie
Member
Registered: 2009-11-10
Posts: 52

[SOLVED] no interfaces with the new iproute2

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

#2 2012-08-21 19:45:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: [SOLVED] no interfaces with the new iproute2

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

#3 2012-08-21 20:05:04

mikkie
Member
Registered: 2009-11-10
Posts: 52

Re: [SOLVED] no interfaces with the new iproute2

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

#4 2012-08-21 20:11:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] no interfaces with the new iproute2

mikkie wrote:

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

Board footer

Powered by FluxBB