You are not logged in.

#1 2022-01-03 18:41:53

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Network unreachable (from Netboot image)

Hi !

I have installed a Netboot image in my ESP, I can boot it correctly but I cannot establish any connection. Here are the steps I took, following the wiki article for Networking :

# ip link set eth0 up

# ip link
1: lo: <LOOPBACK> mtu 65536 qdisc noop qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel qlen 1000
    link/ether 9c:eb:e8:1b:4f:7f brd ff:ff:ff:ff:ff:ff

# ip address show
1: lo: <LOOPBACK> mtu 65536 qdisc noop qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel qlen 1000
    link/ether 9c:eb:e8:1b:4f:7f brd ff:ff:ff:ff:ff:ff
    inet6 fe80::9eeb:e8ff:fe1b:4f7f/64 scope link 
       valid_lft forever preferred_lft forever

# ipconfig
ipconfig: no devices to configure

# ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254): 56 data bytes
ping: sendto: Network is unreachable

#ip route

The last command returns an empty field.

It looks like dhcp autoconnection is not happening. Any obvious step that I missed ?

Thanks for your help !

Offline

#2 2022-08-07 21:53:19

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Re: Network unreachable (from Netboot image)

Hi,

Still stuck on this, months later. I tried both the Arch netboot efi image and the one from netboot.xyz.

Both boot fine, the menus work fine, but when I try to download an image I get :

Could not select: Exec format error (https://ipxe.org/2e008081)
Could not boot: Exec format error (https://ipxe.org/2e008081)
Could not boot:  No such file or directory (https://ipxe.org/2d02808e)
Error occured, press any key to return to menu ...

None of the provided ipxe.org links are any help...

with the Netboot.xyz image, this happens whichever the distribution I try to boot (Debian, arch, rescue distros etc...)

pinging from the ipxe shell seems to work fine so internet seems connected

Any ideas ?

Thanks !

Last edited by Cvlc (2022-08-07 21:55:22)

Offline

#3 2022-08-09 15:24:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,494

Re: Network unreachable (from Netboot image)

The interface is up but you've no lease, only the IPv6 link local address.
Is there any dhcp client in the iamge (dhclient, dhcpcd, systemd-networkd, …)?

Offline

#4 2022-08-09 16:11:14

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Re: Network unreachable (from Netboot image)

The arch netboot download page states

Requirements
To use netboot, the following requirements must be met:

Wired (ethernet) internet connection with DHCP autoconfiguration
Sufficient memory to store and run the live system

So I suppose that there is. As for netboot.xyz, I downloaded netboot.xyz.efi, the description is  “DHCP boot image file, uses built-in iPXE NIC drivers”

Other options are
* EFI w/ Simple Network Protocol, attempts to boot all net devices
* EFI w/ Simple Network Protocol, only boots from device chained from (…) ?

See https://netboot.xyz/downloads/

Last edited by Cvlc (2022-08-09 16:12:18)

Offline

#5 2022-08-09 16:20:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,494

Re: Network unreachable (from Netboot image)

Don't suppose. Can you run such binary from the netboot… boot? And does that get you a lease from that? Or an error?

Offline

#6 2022-08-09 21:14:45

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Re: Network unreachable (from Netboot image)

OK, did some testing. This :

Could not select: Exec format error (https://ipxe.org/2e008081)
Could not boot: Exec format error (https://ipxe.org/2e008081)
Could not boot:  No such file or directory (https://ipxe.org/2d02808e)
Error occured, press any key to return to menu ...

has nothing to do with internet access, it only happens when Secure Boot is enabled. The .efi netboot image is signed, so it boots without problems, but after that it fails with the errors above.

With Secure Boot disabled, I can download the arch netboot image from netboot.xyz, so at some point I'm definitely connected. Once the arch netboot image boots though, it's another story, and I just cannot connect.

Apparently there's no dhcp client :
IMG-0764.jpg

Last edited by Cvlc (2022-08-09 21:17:13)

Offline

#7 2022-08-09 21:56:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,494

Re: Network unreachable (from Netboot image)

Apparently there's no dhcp client

Look at the 2nd column from the right

Offline

Board footer

Powered by FluxBB