On 1/30/06, Gabe Yoder <[EMAIL PROTECTED]> wrote:
> > How can I manage to configure my eth1 at the beginning of the boot process
> > ? I only found advices that seems not to apply anymore to my fresh builded
> > kernel 2.6.15 and wireless tolls 27, like configuring an
> > "/etc/sysconfig/network-scripts/ifcfg-eth0" file that does not exist in my
> > system and is also not working if created.
>
> #!/bin/sh
> iwconfig eth1 key ########
I added to /etc/sysconfig/network-devices/services/ipv4-static in the
'up' section :
if [ ! -z WIFI ] ; then
if [ ! -x /usr/sbin/iwconfig -a ! -f
/usr/sbin/iwconfig ]; then
boot_mesg "You want wireless, but I
couldn't find iwconfig"
exit 1
fi
if [ ! -z ESSID ]; then
wifi_args=" essid ${ESSID} "
fi
if [ ! -z KEY ]; then
wifi_args="${wifi_args} key ${KEY} "
fi
iwconfig ${1} ${wifi_args}
fi
then you can just add 3 variables (WIFI, ESSID, KEY) to your
ifconfig.ethX files.
Jeremy
--
Linux Registered User #317862
Linux From Scratch Registered User #16571
Please do not send me .doc, .xls, .ppt, as I will *NOT* read them.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page