tg3 network cards [SOLVED]

Ralf Utermann ralf.utermann at physik.uni-augsburg.de
Thu Dec 11 15:34:48 CET 2008


Ryan Steele wrote:
[...]
> 
> 638:    # make /scripts/live use configure_networking just like
> /scripts/nfs does
> 639:    #ipconfig ${DEVICE} | tee /netboot.config
> 640:    configure_networking
> 
> 
> 
> And this change to /scripts/functions, at the bottom of the
> configure_networking function:
> 
> 
> 
> 356:     # If we don't know the device ahead of time, we need to check
> net-*.conf
> 357:     # source ipconfig output
> 358:     #if [ -n "${DEVICE}" ]; then
> 359:     #       # source specific bootdevice
> 360:     #       . /tmp/net-${DEVICE}.conf
> 361:     #else
> 362:        # source any interface as not exactly specified
> 363:        . /tmp/net-*.conf
> 364:     #fi
> 
> 
these changes did not work for me on a lenny system :( Still
hangs trying eth0 and I don't see it trying any other
interface. So I go back to my udev rule for renaming ...
> 
> Basically, when we PXE boot with the pxelinux.cfg file set up by
> fai-chboot using ip=dhcp, we end up using the /scripts/live shell
> script, which uses the 'ipconfig' binary.  But, we need to tell ipconfig
> to time out for an interface for which it can't find a DHCP server,
> which is what configure_networking does using 'ipconfig -t'.  I'm not
the configure_networking, which my lenny/fai3.2.14 puts into the
generated initrd has no -t in any ipconfig call.

> sure why /scripts/live doesn't use the configure_networking script by
> default, or if this is even the right thing to do, but it works for me,
> no matter which interface I have cables in or which interfaces can
> contact a DHCP server via ipconfig.  If anybody has any comments, please
> feel free to voice them.

Ryan, can you send me your scripts/functions file? 

Bye, Ralf
-- 
        Ralf Utermann
_____________________________________________________________________
        Universität Augsburg, Institut für Physik   --   EDV-Betreuer
        Universitätsstr.1             
        D-86135 Augsburg                     Phone:  +49-821-598-3231
        SMTP: Ralf.Utermann at Physik.Uni-Augsburg.DE         Fax: -3411


More information about the linux-fai mailing list