Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
etherboot : leger problème
Envoyé par: lolotux

Bonjour,

Ayant configurer mon "dhcp" pour qu'il active la fonction "etherboot", je
rencontre une erreur au boot lors de(s) tentative(s) d'activation de la carte
réseau sur le PC portable sensé booter par réseau.

Les erreur sont (retranscription) :
--------------------------------------------------------------------------------
Bringing up loopback interface
kmod: failed to exec /sbin/modeprobe -s -k wlan0, errno = 2
Optaining IP address via DHCP
Trying to obtain IP address via wired link [eth0]
info, udhcpc (v0.9.9-pre) started
kmod: failed to exec /sbin/modeprobe -s -k eth0, errno = 2
error, m
info, udhcpc (v0.9.9-pre) started
kmod: failed to exec /sbin/modeprobe -s -k eth0, errno = 2
error, m
info, udhcpc (v0.9.9-pre) started
kmod: failed to exec /sbin/modeprobe -s -k eth0, errno = 2
error, m
Failed to obtain IP address via wired link [eth0]
Trying to obtain IP address via wireless link [wlan0]
info, udhcpc (v0.9.9-pre) started
kmod: failed to exec /sbin/modeprobe -s -k wlan0, errno = 2
error, m
FATAL ERROR: fFailed to mount root filesystem
Press Alt-SysRq-B or hit to reset switch to reboot
--------------------------------------------------------------------------------

La carte réseau sur le portable un via-rhine II, l'image sur la quelle boot
le
portable /var/lib/tftpboot/boot-via-rhine.2.2.25-1mdklinus.nbi...
Il est à noter que quelque soit le /var/lib/tftpboot/boot-via-rhine.*
même erreur !

Une partie de mon dhcp.conf
----------------------------------------
server-identifier helios.system-linux.net;
#ddns-update-style ad-hoc;
ddns-update-style interim;
default-lease-time 1800;
max-lease-time 1800;
option domain-name "system-linux.net";
option domain-name-servers 192.168.1.1;
option routers 192.168.1.1;
option netbios-dd-server 192.168.1.1;
option netbios-node-type 1;
DHCPD_INTERFACE = "eth0";
allow booting;
allow bootp;
authoritative;

option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
option PXE.discovery-control code 6 = unsigned integer 8;
option PXE.discovery-mcast-addr code 7 = ip-address;

option space pxelinux;
option pxelinux.magic code 208 = string;
option pxelinux.configfile code 209 = text;
option pxelinux.pathprefix code 210 = text;
option pxelinux.reboottime code 211 = unsigned integer 32;
site-option-space "pxelinux";
option pxelinux.magic f1:00:74:7e;
option pxelinux.reboottime 30;
if exists dhcp-parameter-request-list {
append dhcp-parameter-request-list 208, 209, 210, 211;
append dhcp-parameter-request-list 208,211;
}

class "Etherboot" {
match if substring (option vendor-class-identifier, 0, 9) = "Etherboot";
filename "/etherboot/nbgrub";
#filename "/X86PC/linux/linux.0";
option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff;
option vendor-class-identifier "Etherboot";
vendor-option-space PXE;
option PXE.mtftp-ip 0.0.0.0;
next-server 192.168.1.1;
}

class "PXE" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
filename "/X86PC/linux/linux.0";
option vendor-class-identifier "PXEClient";
vendor-option-space PXE;
option PXE.mtftp-ip 0.0.0.0;
next-server 192.168.1.1;
}

# Univers de SLN
subnet 192.168.1.0 netmask 255.255.255.0 {
DHCPD_INTERFACE = "eth0";
authoritative;
allow client-updates;
# ddns-hostname = concat
("dhcp-hosts-SLN","-",binary-to-ascii(10,8,"-",leased-address));
# send host-name = concat
("dhcp-hosts-SLN","-",binary-to-ascii(10,8,"-",leased-address));
option domain-name "system-linux.net";
option domain-name-servers 192.168.1.1;
option routers 192.168.1.1;
option netbios-dd-server 192.168.1.1;
option netbios-node-type 1;
next-server 192.168.1.1;
range 192.168.1.200 192.168.1.252;
pool {
range dynamic-bootp 192.168.1.71 192.168.1.199;
allow members of "PXE";
allow members of "Etherboot";
}
}

# zone a mettre a jours
zone system-linux.net. {
primary 192.168.1.1;
key key;
}
# zone a mettre a jours
zone 1.168.192.in-addr.arpa. {
primary 192.168.1.1;
key key;
}
# zone a mettre a jours
zone 175.59.67.82.in-addr.arpa. {
primary 192.168.1.1;
key key;
}

include "/etc/dhcpd.conf.terminal-server";
------------------------------------------------------------

Mon /etc/dhcpd.conf.terminal-server :
------------------------------------------------------------
# Include Etherboot definitions and defaults
include "/etc/dhcpd.conf.etherboot.include";
# Include Etherboot default kernel version
include "/etc/dhcpd.conf.etherboot.kernel";
# Include client machine configurations
include "/etc/dhcpd.conf.etherboot.clients";
------------------------------------------------------------

/etc/dhcpd.conf.etherboot.clients :
------------------------------------------------------------
host satellite {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 192.168.1.250;
#type thin;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "via-rhine.zimg.pxe";
}
else if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
{
filename "boot-via-rhine.2.2.25-1mdklinus.nbi";
}
#hdw_config true;
}
-------------------------------------------------------------

Une idée !?


Software is like sex !
It's better when it's Free !

Poste le Saturday 4 March 2006 19:09:35
Répondre     Citer    
Re: etherboot : leger problème
Envoyé par: lolotux

Non ? Personne ?

J'ai cherché du côté de la commande mknbi...
Mais rien pour l'instant...

Si certain ont des infos, je suis tout ouïe !

winking smiley

Software is like sex !
It's better when it's Free !

Poste le Tuesday 7 March 2006 08:56:58
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
etherboot : leger problème
Un problème avec une commande du shell ? Comment utiliser la crontab ? Vous avez des soucis pour la gestion réseau sous Linux ? Pour vous la gestion des utilisateurs/groupes est du chinois ? Etc... Posez donc vos questions ici.

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons