You are not logged in.

#1 2008-12-10 02:36:07

leeight
Member
Registered: 2008-12-10
Posts: 9

can't config wireless using netcfg2

I need a key to connect the wireless network.
the key is 'hello!2008&'
while using command

netcfg2 -c wireless

i got the following error message

unknown command 'hello!2008&'

what's the problem?

Offline

#2 2008-12-10 02:53:20

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: can't config wireless using netcfg2

Post your profile and maybe we can help...


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#3 2008-12-10 02:59:58

leeight
Member
Registered: 2008-12-10
Posts: 9

Re: can't config wireless using netcfg2

my profiles

CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="TP-LINK"
KEY="hello!2008&"
IP="dhcp"

Offline

#4 2008-12-10 04:10:46

steve_v
Member
Registered: 2006-02-11
Posts: 80

Re: can't config wireless using netcfg2

That's a rather interesting key you have there, can you try it with an alphanumeric one? the special characters may be confusing the script.

Offline

#5 2008-12-10 06:31:16

leeight
Member
Registered: 2008-12-10
Posts: 9

Re: can't config wireless using netcfg2

i know it, but i am not authorized to change the KEY.

Offline

#6 2008-12-11 13:44:41

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: can't config wireless using netcfg2

Try it with each of these, see if any work better (note the single quotes):
KEY='hello!2008&'
KEY='hello!2008\&'
KEY='hello\!2008\&'

Offline

#7 2008-12-15 07:01:23

leeight
Member
Registered: 2008-12-10
Posts: 9

Re: can't config wireless using netcfg2

Profjim wrote:

Try it with each of these, see if any work better (note the single quotes):
KEY='hello!2008&'
KEY='hello!2008\&'
KEY='hello\!2008\&'

doesn't work any more

Offline

#8 2008-12-15 23:47:12

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: can't config wireless using netcfg2

Try just 'netcfg profilename'

Offline

#9 2008-12-15 23:59:19

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: can't config wireless using netcfg2

Try:

KEY="s:hello!2008&"

M*cr*s*ft: Who needs quality when you have marketing?

Offline

#10 2008-12-16 03:35:47

leeight
Member
Registered: 2008-12-10
Posts: 9

Re: can't config wireless using netcfg2

i changed my profile to

CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="TP-LINK"
KEY="s:hello!2008&"
IP="dhcp"

but i got the following error message
$ sudo netcfg2 wep-work
:: wep-work up                                                                                                  [BUSY]
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Invalid argument.

Offline

Board footer

Powered by FluxBB