Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8875 - netcfg does not work with wireless

Attached to Project: Arch Linux
Opened by Kimmo Pietarinen (kipi) - Saturday, 08 December 2007, 21:55 GMT
Last edited by James Rayner (iphitus) - Monday, 10 December 2007, 23:14 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
My wireless adapter does not work with netcfg. It is a netgear wg111 usb adapter and uses the rtl8187 kernel module. There is therefore no reason to use ndiswrapper. The problem is that the netcfg script uses lwconfig without doing 'ifconfig <interface> up' prior to that. I added the following to the script to get it to work:

if [ "$IWOPTS" ]; then
ifconfig $WIFI_INTERFACE up # Added by me!
iwconfig $WIFI_INTERFACE $IWOPTS
[ $? -ne 0 ] && stat_fail && return
[ "$WIFI_WAIT" ] && sleep $WIFI_WAIT
fi


Additional info:
* Package : initscripts
* Version : 2007.11-2

Steps to reproduce:
Just run netcfg with a wireless adapter setup that does not use ndiswrapper.
This task depends upon

Closed by  James Rayner (iphitus)
Monday, 10 December 2007, 23:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  netcfg2 in [testing] which will replace netcfg, handles this particular driver use case.
Comment by Roman Kyrylych (Romashka) - Monday, 10 December 2007, 17:56 GMT
Please try netcfg 2.0.1-1 from [testing] and then report results here and on http://wiki.archlinux.org/index.php/Network_Scripts
(I suggest you to put [testing] repo _after_ all others and do pacman -S testing/netcfg - this way you won't get all other testing packages during -Syu)

Loading...