Am Do., 19.Sept..2024 um 09:55:35 schrieb Andrei Borzenkov:
> On Wed, Sep 18, 2024 at 10:29 PM Thomas Schweikle <[email protected]> wrote:
>>
>> Hi!
>>
>> I am trying to get
>>
>> net_get_dhcp_option pxe_srv efinet0 66 string
>>
>> to work. Giving above command grub responds with
>> error: unrecognized network interface 'efinet0'.
>>
>> looking for interfaces with
>>
>> net_ls_cards
>>
>> gives back:
>>
>> efinet0 02:00:00:00:22:44
>>
>> I tried with both: efinet0 and 02:00:00:00:22:44 but without success.
>> Both give back the same error. Any idea what grub expects here might help!
>>
> 
> Is any IP address configured in this interface?

Yes, there is: "set" gives back (shorted):
net_efinet0_dhcp_ip=192.168.17.217
net_efinet0_dhcp_mac=02:00:00:00:22:44
net_default_server=
pxe_default_server=

net_ls_addr exhausts:
efinet0:dhcp 02:00:00:00:22:44 192.168.17.217

net_ls_routes shows:
efinet0:dhcp:default 0.0.0.0/0 gw 192.168.17.222
efinet0:dhcp:local 192.168.17.216/29 efinet0:dhcp

net_ls_dns says:
192.168.90.10 (prefer ipv4)
192.168.91.10 (prefer ipv4)

net_ls_cards gives:
efinet0 02:00:00:00:22:44

Network seems initialized the right way, but asking for additional options:
net_get_dhcp_option pxe_cn efinet0 60 string
error: unrecognized network interface 'efinet0'

net_get_dhcp_option pxe_srv efinet0 66 string
error: unrecognized network interface 'efinet0'

net_get_dhcp_option pxe_boot efinet0 67 string
error: unrecognized network interface 'efinet0'

-- 
Thomas

Reply via email to