dhcpcd-discuss

Re: no IPv4 address for 3g modem on 6.11.5

Roy Marples

Sat Jun 02 15:06:59 2018

On 02/06/2018 15:52, JED wrote:
I hope this is what you wanted. I've long used "ifconfig" but "ip a" is new to me. If it isn't exactly what you need, just ask for more.

This is fine.
So on Linux RUNNING is basically we have a carrier and are ready to go.
UP means the administrator has said the interface is ready to go.

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

Using the ip tool, if the interface lacks RUNNING then it's tagged as NO-CARRIER, which is the inverse of ifconfig.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast 3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state 4: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group 5: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast

wlan1 is missing from ifconfig output for some reason?
Which interface is claiming no carrier in dhcpcd?

Roy

References:
no IPv4 address for 3g modem on 6.11.5Jeremy K
Re: no IPv4 address for 3g modem on 6.11.5JED
Re: no IPv4 address for 3g modem on 6.11.5Serge Schneider
Re: no IPv4 address for 3g modem on 6.11.5Roy Marples
Re: no IPv4 address for 3g modem on 6.11.5Serge Schneider
Re: no IPv4 address for 3g modem on 6.11.5Roy Marples
Re: no IPv4 address for 3g modem on 6.11.5Serge Schneider
Re: no IPv4 address for 3g modem on 6.11.5JED
Re: no IPv4 address for 3g modem on 6.11.5Roy Marples
Re: no IPv4 address for 3g modem on 6.11.5JED
Archive administrator: postmaster@marples.name