FS#24599 - [netcfg] net-auto-wireless :no dhcp is done for a profile file with square brackets
Attached to Project:
Arch Linux
Opened by Emmanuel GAUDE (mAn) - Monday, 06 June 2011, 12:32 GMT
Last edited by Thomas Bächler (brain0) - Monday, 19 March 2012, 19:34 GMT
Opened by Emmanuel GAUDE (mAn) - Monday, 06 June 2011, 12:32 GMT
Last edited by Thomas Bächler (brain0) - Monday, 19 March 2012, 19:34 GMT
|
Details
Description:
After the boot, with net-auto-wireless dameon started and a network profile with square brackets in its filename, the connection to the access point is done but dhcpcd is not running. If the network profile does not have any [] in its name, an IP is get automatically after the boot. The same network profile (with []) is working with a manual netcfg and net-profiles daemon. Additional info: * core/netcfg 2.5.5-1 * core/wpa_actiond 1.1-2 * core/wireless_tools 29-4 * core/wpa_supplicant 0.7.3-3 * core/dhcpcd 5.2.12-1 Config files : * /etc/rc.conf * /etc/network.d/Sarrazine[wifi] (with key masked) Steps to reproduce: * Get a wireless machine with the wireless driver set. * Create a wep network profile with square brackets in its name (like Sarrazine[wifi]) * Get core/wireless_tools, core/netcfg and core/wpa_actiond packages * Designate the wlan interface in the /etc/rc.conf (WIRELESS_INTERFACE="wlan0") * Put net-auto-wireless in the daemon array of /etc/rc.conf and disable other net daemons. * Restart the computer * Try $ ping archlinux.org : network is unreachable * Try $ iwconfig wlan0 : the ESSID is ok * Try # dhcpcd wlan0 : Dhcp client was not running and start yet. |
This task depends upon
Sarrazine[wifi]
Maybe Thomas Bächler knows the rationale behind that line.