[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: missing gw in route -n



On 13/07/18 13:45, Gene Heskett wrote:
On Friday 13 July 2018 05:08:57 Mark Morgan Lloyd wrote:

On 13/07/18 02:00, Gene Heskett wrote:
Thats a direct  copy/paste, so whats wrong with that. Other than the
fact that its been rebooted twice since the address was changed from
192.168.71.2 to the 11 you see above, but ifconfig still says its on
71.2 right now.  So where the heck is it getting the .2 address.

Possibly from an initrd file that needs to be rebuilt.

That is not a grub using boot scheme, and I have not the knowledge to
do that. The booting of these things is as yet a mystery to me. An ls -l
of /boot might disclose the boot method to trained eyes:

root@rock64:/etc/network# ls -l /boot
total 27048
-rw-r--r-- 1 root root  4660138 May 27 18:39 System.map-4.4.126-rockchip-ayufan-239
-rw-r--r-- 1 root root   148020 May 27 18:39 config-4.4.126-rockchip-ayufan-239
lrwxrwxrwx 1 root root       59 Jun  7 21:32 dtb -> dtbs/4.4.126-rockchip-ayufan-239/rockchip/rk3328-rock64.dtb
lrwxrwxrwx 1 root root       59 Jun  7 21:32 dtb-4.4.126-rockchip-ayufan-239 ->
dtbs/4.4.126-rockchip-ayufan-239/rockchip/rk3328-rock64.dtb
drwxr-xr-x 3 root root     4096 May 27 19:15 dtbs
drwxr-xr-x 3 root root    16384 Jan  1  1970 efi
-rw-r--r-- 1 root root     7940 Apr 27 11:26 filesystem.packages
-rw-r--r-- 1 root root        1 Apr 27 11:26 filesystem.packages-remove
-rw-r--r-- 1 root root  3119706 Jun  7 21:32 initrd.img-4.4.126-rockchip-ayufan-239
-rwxr-xr-x 1 root root 19726344 May 27 18:39 vmlinuz-4.4.126-rockchip-ayufan-239

And the last automatic updates were done on the 7th June- correct? Much stuff that I do these days is based on RPIs which don't use an initrd, but I had to go through this on a PC a few weeks ago after I'd moved some discs around: the old configuration was still stuck in the fstab file loaded from the initrd file.

I think it was a simple update-initramfs -u that got me going, but (a) check your manpages etc. and (b) if EFI really is involved check whether the boot loader requires any file signing etc... I'm afraid I've only used EFI on Itanium and there only superficially.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


Reply to: