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#17540 - netcfg 2.5rc1 fails when rfkill switch setup

Attached to Project: Arch Linux
Opened by Tomas M. (eldragon) - Friday, 18 December 2009, 12:40 GMT
Last edited by Ionut Biru (wonder) - Friday, 18 December 2009, 21:42 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
setting up the interface to use the RFKILL switch fails when the switch is enabled.

ive tracked it down to the file /usr/lib/connections/wireless at line 13

it reads
if [[ "$state" != "up" ]]; then
when it should be
if [[ "$state" != "enabled" ]]; then

replacing that line fixed it for me.


Additional info:
* package version(s)

2.5rc1

* config and/or log files etc.
my /etc/network/interfaces/wlan0 file looks like this:

RFKILL=hard
RFKILL_NAME='phy0'

where the phy0 name was taken from /sys/class/rfkill/rfkill0/name
This task depends upon

Closed by  Ionut Biru (wonder)
Friday, 18 December 2009, 21:42 GMT
Reason for closing:  Not a bug
Comment by Tomas M. (eldragon) - Friday, 18 December 2009, 13:08 GMT
i screwed up. sorry, will open a new bug if i find my real issue. this is not a valid bug report

Loading...