dhcpcd-discuss

Re: Support for "raw-ip" mode

Yegor Yefremov

Wed Aug 21 06:49:31 2019

On Wed, Aug 21, 2019 at 12:08 AM Roy Marples <roy@xxxxxxxxxxxx> wrote:
>
> On 19/08/2019 09:04, Yegor Yefremov wrote:
> > wwan0: unsupported interface family 00
>
> Wow.
> I just discovered I've been working wrong interface family for link less
> interfaces since forever.
> I've committed a patch here to recitfy this:
> https://roy.marples.name/cgit/dhcpcd.git/commit/?id=c47c788594840e177f4409c084336e467ac651f9

It looks much better now:

# dhcpcd --dhcp wwan0
dhcpcd-8.0.2 starting
[  234.400818] 8021q: 802.1Q VLAN Support v1.8
[  234.405472] 8021q: adding VLAN 0 to HW filter on device eth0
[  234.411630] 8021q: adding VLAN 0 to HW filter on device eth1
wwan0: executing `/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
wwan0: executing `/lib/dhcpcd/dhcpcd-run-hooks' NOCARRIER
wwan0: waiting for carrier
wwan0: carrier acquired
wwan0: executing `/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:c7:92:bc:92:74:6a:8f:ff:50:55
wwan0: IAID 00:00:00:06
wwan0: delaying IPv6 router solicitation for 0.7 seconds
wwan0: delaying IPv4 for 0.3 seconds
wwan0: soliciting a DHCP lease
wwan0: sending DISCOVER (xid 0xb073d8d5), next in 4.0 seconds
wwan0: server 10.52.222.138 is not destination
wwan0: offered 10.52.222.137 from 10.52.222.138
wwan0: sending REQUEST (xid 0xb073d8d5), next in 3.4 seconds
wwan0: server 10.52.222.138 is not destination
wwan0: acknowledged 10.52.222.137 from 10.52.222.138
wwan0: leased 10.52.222.137 for 7200 seconds
wwan0: renew in 3600 seconds, rebind in 6300 seconds
wwan0: writing lease `/var/db/dhcpcd/wwan0.lease'
wwan0: adding IP address 10.52.222.137/30 broadcast 10.52.222.139
wwan0: adding default route via 10.52.222.138
if_route (ADD): Network is unreachable
wwan0: executing `/lib/dhcpcd/dhcpcd-run-hooks' BOUND
forking to background
forked to background, child pid 255

Only default route setting fails.

Follow-Ups:
Re: Support for "raw-ip" modeRoy Marples
References:
Support for "raw-ip" modeYegor Yefremov
Re: Support for "raw-ip" modeRoy Marples
Re: Support for "raw-ip" modeYegor Yefremov
Re: Support for "raw-ip" modeRoy Marples
Archive administrator: postmaster@marples.name