New IT forum
10 August 2022, 10:50:03 pm *
Welcome, %1$s. Please login or register.

: GertDuino now in stock.
 
Pages: [1]

Author Topic: [resolved] eth0 lost in the sky  (Read 5679 times)

maisondouf

  • Jr. Member
  • **
  • Posts: 68
  • Crazy hacker's family since 1982
[resolved] eth0 lost in the sky
« on: 09 May 2010, 02:35:49 pm »

Today, after rebooting the plug (debian on SDHC) with the 'reboot' command, my 'eth0' has disapeared....

'ifconfig' see only 'lo' interface.

I'd booted on the Ubuntu in the nand and here the 'eth0' is present and active, but not when booting with Debian Squeeze in the SDHC.

My '/etc/network/intefaces' set 'eth0' to a static ip, i'd try also 'iface eth0 inet dhcp' but without success.

It is just arrived after setting a new export for 'nfs-kernel-server' in '/etc/exports'

'dmesg' doen't reports some errors about 'eth0', but during boot I always have this kind of messages
Quote
WARNING: Couldn't open directory /lib/modules/2.6.33.3: No such file or directory
FATAL: Could not open /lib/modules/2.6.33.3/modules.dep.temp for writing: No such file or directory

'lsmod' report this :
Quote
[email protected]:~# lsmod
Module                  Size  Used by
ipv6                  229917  20
fuse                   52916  1
nfsd                  236273  13
exportfs                3040  1 nfsd
sata_mv                24819  0
mv_cesa                 4514  0
[email protected]:~#

Perhaps a module wasn't loaded during boot ?



« Last Edit: 09 May 2010, 03:21:12 pm by maisondouf »
Logged
NSLU2 owner since 4 years...
Very new owner of a black eSata Sheevaplug.
(Wiki en fran├žais http://plug.maisondouf.fr)

maisondouf

  • Jr. Member
  • **
  • Posts: 68
  • Crazy hacker's family since 1982
Re: eth0 lost in the sky
« Reply #1 on: 09 May 2010, 03:20:46 pm »

Well repaired !!!!

The problem was due to 'udev' and me also....

After installation of Squeeze, I see that my mac-addr (00:50:43:01:XX:XX) was not the same as under the plug (00:50:43:01:nn:nn), so I reboot and change it under u-boot.
At this time, Debian believe that a second eth port has been plugged and allow 'eth1' for it.
But in '/dev', the node '/dev/eth1' doesn't exists.

So for Debian, the old port with old mac-addr seem to be absent and it can't set up the new !


I have change some lines in '/etc/udev/rules.d/70-persistent-net.rules' and keep only this line
Quote
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:43:01:nn:nn", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

After rebooting, all run fine....


Logged
NSLU2 owner since 4 years...
Very new owner of a black eSata Sheevaplug.
(Wiki en fran├žais http://plug.maisondouf.fr)
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!