Re: ipv6_newaddr: Invalid argument
Mike Goodman
Wed Jan 15 08:14:09 2020
Hi Roy,
Thanks for the patch. Apologies for the slow response. Had to take notes
and laptop to last night's Linux User Group meeting to get some assistance!
Applied the patch, seemingly successfully. I didn't have sequence you
suggested with me so missed the line/command src/dhcpcd -dB
Running ip with various parameters didn't produce a specific IP6
address. e.g.:
~]# ip -6 a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 2001:bc8:6005:127:81d3:52dc:d872:f854/64 scope global dynamic
mngtmpaddr noprefixroute
valid_lft 2591985sec preferred_lft 604785sec
inet6 2001:bc8:6005:127:99ea:ac0f:7162:10b5/64 scope global dynamic
noprefixroute
valid_lft 2591997sec preferred_lft 604797sec
inet6 fe80::e80a:3f64:c681:bcf/64 scope link noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::cfdc:cf53:3945:166f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
so ran the following sequence this morning, not sure where to go from here:
~]# systemctl status dhcpcd@enp0s20.service
* dhcpcd@enp0s20.service - dhcpcd on enp0s20
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; disabled;
vendor >
Active: inactive (dead)
~]# systemctl enable dhcpcd@enp0s20.service
~]# systemctl reboot
~]# systemctl status dhcpcd@enp0s20.service
* dhcpcd@enp0s20.service - dhcpcd on enp0s20
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled;
vendor preset: disabled)
Active: inactive (dead)
Jan 15 08:57:55 sd-136208 systemd[1]: Dependency failed for dhcpcd on
enp0s20.
Jan 15 08:57:55 sd-136208 systemd[1]: dhcpcd@enp0s20.service: Job
dhcpcd@enp0s20.service/start failed with result 'dependency'.
Thanks,
Mike
On 12/01/2020 10:58, Roy Marples wrote:
Hi Mike
On 10/01/2020 23:00, Mike Goodman wrote:
After a lot of web searches and reading, I still don't know how to
apply that patch. I've searched the file system on the server to find
a file which looks something like what the patch may be designed to
alter. Nothing similar in the kernel directories no in any of
/usr/bin/dhcpcd /usr/lib/dhcpcd /etc/dhcpcd.conf /usr/share/dhcpcd. I
thought possibly a hook file in /etc/dhcpcd.conf but none there. Am I
even in the right area?
Also, a question - in line 5 which begins @@, is this correct - const
struct as two words? I can see there is struct earlier in the line so
probably correct.
So, I've got as far as a command which may work is I save what you've
sent as something.patch then run patch patchtargetfile something.patch
it may work, assuming I can find the patchtarget file and cd into the
same directory?
Mea culpa!
To make life easy I've attached the patch this time.
tar -xaf dhcpcd-8.1.5.tar.xz
cd dhcpcd-8.1.5
patch -p1 </path/to/dhcpcd-128addr.patch
./configure
make
Test in console:
Let me know!
Should work.
Roy
Archive administrator: postmaster@marples.name