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#13438 - netcfg: various issues

Attached to Project: Arch Linux
Opened by Paride Legovini (torn) - Tuesday, 24 February 2009, 02:25 GMT
Last edited by James Rayner (iphitus) - Thursday, 26 February 2009, 09:51 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Netcfg (2.1.2-1) suffers of various issues that make it almost unusable to me:

1. ethernet.subr uses mii-tool, that is deprecated and doesn't work with "new" cards, like the common e1000e. ethtool should be used.

2. wireless.subr uses the deprecated /sys/class/net/$INTERFACE/wireless interface. The same data is available via ioctl. I think that using the 'iw' command to check if a device is wireless would be ok, but maybe there are better solutions.

3. wireless.subr calls 'iwconfig mode managed ...' while the interface is up. This isn't permitted by many drivers, including ath5k (error: "SET failed on device wlan0 ; Device or resource busy."). The interface should be down while setting the mode. An alternative is to check if the interface is already in managed mode, and if it isn't exit with an error. This wouldn't be bad, as many new cards does not allow to set the mode with iwconfig.

4. (wishlist) There should be a way to just call wpa_supplicant using /etc/wpa_supplicant.conf.

Thank you,
pl
This task depends upon

Closed by  James Rayner (iphitus)
Thursday, 26 February 2009, 09:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  All fixed in the git repository.

New examples created for wpa-config
Comment by James Rayner (iphitus) - Wednesday, 25 February 2009, 09:18 GMT
1) Already fixed in git.

2) Already fixed in git

3) Thanks will fix.

4)
SECURITY="wpa-config"
WPA_CONF="/etc/wpa_supplicant.conf"
See the appropriate example in /etc/network.d/examples

Loading...