Re: ipv6_newaddr: Invalid argument
Mike Goodman
Wed Jan 15 20:35:30 2020
Hi Roy,
This could be related to the IPv6 configuration problems for which you
went to all the trouble of supplying a patch. As you mooted very early
on (Arch forum) it may be network rather than dhcpcd related after all.
It is now a matter of great urgency that I get a mail server configured
and running, so leaving the IPv6 for a while. In doing so, Apache
wouldn't work on IP4 and the server wouldn't resolve to its fqdn.
Digging for reasons and finding some, with outcomes shown below,
hopefully enough for you to see what's going on.
~]# lspci -v
(leaving out all the unnecessary)
01:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network
{lots more blah blah}
Kernel driver in use: igb <<** no kernel module present **>>
~]# dmesg | grep igb <<** no response, straight back to command prompt
**>>
There's a driver, igb-dkms, in the AUR repo so I'm going to try and
compile it then see which problems it may solve.
Apologies for sending you on what now looks like a red herring chase and
with sincere thanks for your help and patience to date. I'll let you
know how I get on.
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:
src/dhcpcd -dB
Let me know!
Should work.
Roy
Archive administrator: postmaster@marples.name