Mats Lidell wrote:
> My laptop comes with built in wireless support. I can set it up using
> iwconfig etc. So all I need now is where to place this so that I can
> get the network up during boot with out to much effort.
I am not sure this is the best solution (if someone knows it, please
share). But here is what i did to bring up my ipw2100 NIC (known as eth1
here, eth0 is a wired NIC):
# echo "net-wireless/ipw2100 ~x86" >> /etc/portage/packege.keywords
# emerge --verbose --ask net-wireless/ipw2100
# add this customized preup() to /etc/conf.d/net:
#
# preup() {
# if [[ ${IFACE} == eth1 ]]; then
# iwconfig $IFACE essid "[MY_ESSID]"
# iwconfig $IFACE key restricted [MY_KEY]
# iwconfig $IFACE mode managed
# fi
# }
# cd /etc/init.d/ && ln -s net.eth0 net.eth1
And finally:
# /etc/init.d/net.eth1 start
# rc-update add net.eth1 default
And that should be all, as far as i can remember.
--
Yoann Pannier
--
[email protected] mailing list