You are not logged in.

#1 2008-09-30 19:11:41

jaux
Member
Registered: 2008-09-25
Posts: 4

netcfg2 can't take wireless profile down

I have to two profiles set up, one is for ethernet connection and one for wireless. netcfg(v 2.1.1) can start both profiles without any problem. It can take down the ethernet profile, but when I try to take the wireless profile down, netcfg always gives me:

[ye@arch ~]$ sudo netcfg -d PureAbstraction
:: PureAbstraction down                                                  [FAIL]

Here is the profile:

#
# Network Profile
#
CONNECTION="wireless"
DESCRIPTION="Profile generated by arch assistant instant connection wizard"
# Network Settings
INTERFACE=eth1
HOSTNAME="arch"
# Interface Settings
IP="dhcp"
IFOPTS="dhcp"
# Wireless Settings
SECURITY="wpa"
ESSID="Pure Abstraction"
KEY="mypassword"
SCAN="no"
# WPA Specific Settings
WPA_OPTS=""
WPA_CONF=""

My wireless card is bcm4328 and the driver is broadcom-wl. Does anyone have idea how to solve the problem?

Offline

#2 2008-10-23 18:25:48

edacval
Member
From: .LT
Registered: 2008-10-23
Posts: 89

Re: netcfg2 can't take wireless profile down

workaround:
edit /usr/lib/network/wireless.subr
in function wireless_down() below  "iwconfig $INTERFACE essid off key off &> /dev/null" add line:

return 0

Offline

#3 2009-01-20 05:01:36

odius
Member
Registered: 2007-11-08
Posts: 4

Re: netcfg2 can't take wireless profile down

I had this same problem and uncommenting the line below fixed it.

iwconfig $INTERFACE essid off key off &> /dev/null
#ifconfig $INTERFACE down

to

iwconfig $INTERFACE essid off key off &> /dev/null
ifconfig $INTERFACE down

So far this doesn't seem to affect anything else, but I can't say how it might affect other cards.  I'm using the broadcom-wl driver.

Offline

#4 2009-01-20 09:07:37

archlinuxsagi
Member
Registered: 2008-09-12
Posts: 259

Re: netcfg2 can't take wireless profile down

mmm. I think you should report this to Archlinux project bugtracker. Let netcfg2 developers knows about it.
Seems like this happens only using the broadcom driver, it doesn't happen to me using Intel driver.

Offline

#5 2009-04-06 09:38:22

borrell
Member
Registered: 2008-12-02
Posts: 31
Website

Re: netcfg2 can't take wireless profile down

I have the same problem with an Ralink RT2860STA card. I'll try the fix in a second.

EDIT: awesome, fixed by uncommenting out that line. BTW it was line 210 in my default config.

Last edited by borrell (2009-04-06 09:40:29)

Offline

Board footer

Powered by FluxBB