Jean-Philippe MENGUAL wrote: > Hi, > > Before starting a new LFS (and help actually the project I hope, beyond > sranslations), I try eliminating all things which made me suspend so > far. Among others I've already mentioned in other threads, I've WiFi I > don't find convinient, but probably because I don't know. > > My purpose is having the same behavior than on Debian. There, > in /etc/network/interfaces, you put: > auto wlan1 > iface wlan1 inet dhcp > wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf > > Then, when you start the network service, it ifups all the interfaces, > including wlan1 and enables wpa_supplicant automatically and connects to > an available network among these in wpa_supplicant.conf. > > On my LFS, I had to start the computer, once connected go as root and > run wpa_supplicant manually, then setting up wlan1 interface. > > Does a mechanism exist in LFS to have the same as Debian? Should I write > some script? So far bootscripts I tried didn't give the same efficient > result.
We do need a capability for wifi. I'd write the script myself if I had a way to test it. There is a capability in the ifup program to run multiple services, e.g. SERVICE="wifi dhcp" should run the program /lib/services/wifi followed by /lib/services/dhclient (or dhcpcd). Alternatively, the script could use SERVICE="wifi ipv4-static" We would need to look at both wpa_supplicant and wireless-tools and add a script (or scripts) to add the service(s). The kernel seems to have support for Cisco/Aironet, Atmel, and Intersil Prism2/2.5/3 wireless chipsets. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
