diff options
| -rw-r--r-- | initramfs/initrd-stuff/etc/messages | 4 | ||||
| -rw-r--r-- | initramfs/initrd-stuff/etc/messages.de | 5 | ||||
| -rwxr-xr-x | initramfs/initrd-stuff/init | 3 |
3 files changed, 11 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/etc/messages b/initramfs/initrd-stuff/etc/messages index 9e0f0d22..39421d8a 100644 --- a/initramfs/initrd-stuff/etc/messages +++ b/initramfs/initrd-stuff/etc/messages @@ -38,6 +38,10 @@ appropriate modules (without .ko)." init_nowlan=" No wireless LAN capable interface found. Did you provide the \ proper kernel\n modules?" init_wlanf=" Unable to configure the WLAN interface." +init_2eif=" You seem to have more than one active (=module loaded) ethernet \ +interfaces\n installed. This might induce problems, if your client started \ +PXE via one\n interface, but tries to communicate over the other in linux \ +mode. Try\n to reorder your network module list." init_errdhcp=" Did not get complete IP \ configuration via DHCP. You may want to add\n a vendor code identifier \ via kernel commandline (vci=VCI)." diff --git a/initramfs/initrd-stuff/etc/messages.de b/initramfs/initrd-stuff/etc/messages.de index 53269e00..9ec5b01e 100644 --- a/initramfs/initrd-stuff/etc/messages.de +++ b/initramfs/initrd-stuff/etc/messages.de @@ -35,6 +35,11 @@ Kombination mit IPAPPEND (PXE)\n o.ae. oder DHCP!" init_errnwad=" Konnte die Netzwerk-Adapter, die durch den slx/mkramfs bzw. \ mkdxsinitrd-Aufruf definiert\n wurden, nicht laden. Bitte erneut aufrufen \ und die passenden Module auflisten\n (ohne Endung .ko)." +init_wlanf=" Unable to configure the WLAN interface." +init_2eif=" You seem to have more than one active (=module loaded) ethernet \ +interfaces\n installed. This might induce problems, if your client started \ +PXE via one\n interface, but tries to communicate over the other in linux \ +mode. Try\n to reorder your network module list." init_errdhcp=" Keine komplette IP-Konfiguration ueber DHCP bekommen. \ Eventuell sollten Sie\n ueber die Kernel Start Optionen eine Hersteller Code \ ID (vendor code identifier)\n (VCI=vci) hinzufuegen." diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index 3ba3fa1e..b91326c1 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -314,7 +314,8 @@ if [ -n "${essid}" ] ; then #echo "Starting shell for testing of WLAN setup procedure" #/bin/ash else - : # check here for the active ethernet link + # check here for the active ethernet link + ip link show dev eth1 >/dev/null 2>&1 && error "$init_2eif" nonfatal fi # set up loopback networking |
