Andrea Righi wrote:
> Kenneth Jacker wrote:
>>   ar> Simon Ruiz wrote:
>>   >> As always, I'm working with Ubuntu 6.10 Edgy Eft on both the client
>>   >> and server.
>>
>> I'm using Debian/etch.
>>
>>   >> 1) My main issue now seems to be that on reboot the computer
>>   >> that's been newly re-imaged does not recognize the network. I
>>   >> have to go in and manually activate the network adapter (no
>>   >> longer eth0, now it's eth1). Does anyone else have experience
>>   >> with this type of thing and how to fix it?
>>
>> Just recently, I encountered this same, exact problem.  'eth0' was
>> changed to 'eth1' ...
>>
>>   ar> I'm not sure about this... but have you checked the file
>>   ar> /etc/iftab in your image?
>>
>> There is no such file on my systems.
>>
>> Anywhere else to look?  Or, suggestions to fix this?
>>
>> Thanks,
> 
> It seems that the eth naming is bound with the mac address in
> /etc/udev/rules.d/z25_persistent-net.rules.
> 
> You could try to delete this file in your image and reinstall. During
> the first boot this file should be automatically re-generated by
> /lib/udev/write_net_rules.
> 
> I've not tested it, so there's no warranty... ;-) if it works we'll post
> a comment on wiki.systemimager.org..
> 
> Regards,
> -Andrea

Andrea,

  I hav ejust installed etch and  exclude/rm 
'/etc/udev/rules.d/z25_persistent-net.rules' from the image and then 
everything from the image and then everything is oke. But on some hosts 
we have more interfaces and then the recreation of this file gives the 
wrong order. I mean when you boot it is eth0 but when the kernel runs it 
can be eth1 and systemconfigurator creates a entry for eth0. So the hist 
is not reachable any more over the net, see the link below for explanation:
   http://www.debianhelp.co.uk/udev.htm

what i now want to do, and i have do not have a script yet. Is in a 
post-install script:

   - Create the entry in ''/etc/udev/rules.d/z25_persistent-net.rules'
     eg:
{{{
# PCI device 0x8086:0x1076 (e1000)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:13:72:53:2c:2d", 
NAME="boot-net"
}}}

   - Create an entry,depends on IP-method, in /etc/network/interfaces
{{{
auto boot-net
iface boot-net inet dhcp
}}}
        

Regards

-- 
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: [EMAIL PROTECTED]      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to