dhcpcd-discuss

Re: Support for "raw-ip" mode

Roy Marples

Tue Aug 20 12:35:57 2019

On 20/08/2019 11:29, Roy Marples wrote:
On 20/08/2019 10:57, Yegor Yefremov wrote:
Thanks for the patch. Acquiring a DHCP lease is working now:

# dhcpcd -d wwan0
dhcpcd-8.0.2 starting
wwan0: executing `/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
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.8 seconds
wwan0: using static address 10.42.112.218/30
wwan0: adding IP address 10.42.112.218/30 broadcast 10.42.112.218
arp_open: wwan0: Invalid argument
arp_announce: Invalid argument
wwan0: executing `/lib/dhcpcd/dhcpcd-run-hooks' STATIC
forking to background
forked to background, child pid 433

I've added these lines to the default /etc/dhcpcd.conf file:

interface wwan0 dhcp
debug

Though "debug" was ignored i.e. I had to specify it on the command line.

debug should appear at the top of dhcpcd.conf - it's not really interface specific

Can I also specify "interface wwan0 dhcp" on the command line?

Should be able to

Is it OK that both arp_open and arp_announce fail?

No.
New patch (supercedes prior, or just apply the ipv4.c part) should silence those errors.
Let me know!

Applied as a set of patches:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=ddbbe8d8c15953ed4fd7e460d30f7a295abfea0d
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=93c5fe76a35343c26232b0c71aaea24bf50a41db
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=07a34ce62c5dd937d32ac003240ecafd963e6ad7

Roy

Follow-Ups:
Re: Support for "raw-ip" modeYegor Yefremov
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
Re: Support for "raw-ip" modeYegor Yefremov
Re: Support for "raw-ip" modeRoy Marples
Archive administrator: postmaster@marples.name