FS#7822 - ifup() in /etc/rc.d/network runs iwconfig before wireless interface is up
Attached to Project:
Arch Linux
Opened by Steve Engledow (stilvoid) - Wednesday, 15 August 2007, 18:53 GMT
Last edited by James Rayner (iphitus) - Monday, 10 December 2007, 23:16 GMT
Opened by Steve Engledow (stilvoid) - Wednesday, 15 August 2007, 18:53 GMT
Last edited by James Rayner (iphitus) - Monday, 10 December 2007, 23:16 GMT
|
Details
Description:
"/etc/rc.d/network start" does not bring wireless interfaces up before running iwconfig and so the following error is received: Error for wireless request "Set Mode" (8B06) : SET failed on device <WIRELESS INTERFACE> ; Network is down I've added a line to ifup() that fixes the problem but perhaps there's a better way (or I'm doing something stupid) <snip> if [ "$iwcfg" != "" ]; then # Bring the interface up first! /sbin/ifconfig ${1} up sh -c "/usr/sbin/iwconfig $iwcfg" /bin/sleep 2 fi </snip> Also, "/etc/rc.d/network stop" doesn't always seem to take the interfaces down correctly. I haven't looked in to that yet though. Additional info: package: initscripts 2007.08-1 |
This task depends upon
Closed by James Rayner (iphitus)
Monday, 10 December 2007, 23:16 GMT
Reason for closing: Fixed
Additional comments about closing: netcfg2 will replace conf.d/wireless, netcfg2 handles this correctly
Monday, 10 December 2007, 23:16 GMT
Reason for closing: Fixed
Additional comments about closing: netcfg2 will replace conf.d/wireless, netcfg2 handles this correctly