[Soekris] 5501 - ethernet not working
Marco A. Calamari
marcoc1 at dada.it
Thu Aug 16 22:24:24 UTC 2007
On Thu, 2007-08-16 at 09:22 -0600, Derrik Pates wrote:
> Marco A. Calamari wrote:
....
> > Setting up networking....
> > * /etc/network/options is deprecated (see README.Debian of netbase).
> > Setting up IP spoofing protection...done (rp_filter).
> > Configuring network interfaces...SIOCSIFADDR: No such device
> > eth0: ERROR while getting interface flags: No such device
> > SIOCSIFNETMASK: No such device
> > eth0: ERROR while getting interface flags: No such device
> > Failed to bring up eth0.
>
> Was the install performed on another host system? Does it get to a
> login: prompt on serial console? If so, run 'cat /proc/net/dev' and see
> what the interface names are. If they've all been shifted up one (e.g.,
> eth[1234]), then you may need to remove
> /etc/udev/rules.d/z25_persistent-net.rules; you might also remove
> /etc/udev/rules.d/z45_persistent-net-generator.rules, to prevent the
> ifname locking from being done. If you're running Debian etch, this is
> almost certainly your culprit.
You catch the next error; there were no devices at all in /proc/net/dev.
I crossbuild a new kernel 2.6.22.3 from kernel.org source
and the devices in /proc/net/dev appeared. Bingo, in fact
the first eth was eth3. All worked simply using eth3 in
interfaces file.
I want to try your solution, but the file you suggest to remove
is a procedure. is this really OK?
Many thanks. Marco
sullust:~# ls -al /etc/udev/rules.d/
lrwxrwxrwx 1 root root 20 2006-04-12 18:35 020_permissions.rules
-> ../permissions.rules
lrwxrwxrwx 1 root root 13 2006-04-12 18:35 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 25 2006-04-12 18:35 z20_persistent-input.rules
-> ../persistent-input.rules
lrwxrwxrwx 1 root root 19 2006-04-12 18:35 z20_persistent.rules
-> ../persistent.rules
-rw-r--r-- 1 root root 1054 2007-08-16 16:22 z25_persistent-net.rules
lrwxrwxrwx 1 root root 33 2006-06-29 09:53
z45_persistent-net-generator.rules -> ../persistent-net-generator.rules
lrwxrwxrwx 1 root root 12 2006-04-12 18:35 z50_run.rules
-> ../run.rules
lrwxrwxrwx 1 root root 16 2006-04-12 18:35 z55_hotplug.rules
-> ../hotplug.rules
lrwxrwxrwx 1 root root 29 2006-04-12 18:35
z75_cd-aliases-generator.rules -> ../cd-aliases-generator.rules
>
--
Marco A. Calamari <marcoc1 at dada.it>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.soekris.com/pipermail/soekris-tech/attachments/20070816/f8a00bcb/attachment.bin
More information about the Soekris-tech
mailing list