You are not logged in.

#1 2008-02-17 11:53:06

Thompz
Member
Registered: 2008-02-10
Posts: 31

Wireless touble

Im using netcfg to try and connect to a wpa network but it doesnt seem to be working.  I know that it work since Ive done it before - however, got a new HD/motherboard yesterday so trying to put arch on it.

rc.conf

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)

NET_PROFILES=(BeBox)

DEAMONS=(... network-profiles)

iwlist wlan0 scan finds ESSID: "BeBox" etc

iwconfig

lo, eth0, wmaster0 no wireless extensions

wlan0
IEEE 802.11g ESSID:""
Mode: Managed Frequency:2.4.1 GHZ Access Point: NOt-Assiciated
TX-Power=27dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key: off
Link Quality:0 SIgnal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retires:0 Invalid misc:0 Missed beacon

ifconfig

wlan0 Link: Ethernet HWaddr 00:19:5B:36:B6:4D
UP BORADCAST MULTICAST MTU:1500 Metric:1
Rx packets:0 errors:0 dropped:0 overruns:0 fram:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0b) TX bytes:0 (0.0b)

/etc/network-profiles/BeBox
CONNECTION="BeBox"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="BeBox"
KEY="<censored>"
IP="dhcp"
TIMEOUT=20

Offline

#2 2008-02-17 12:08:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Wireless touble

It seems you have a mix of netcfg and netcfg2 settings there, along with some that don't apply to either. Read the Network Profiles wiki page again, and amend your config as required.

Offline

#3 2008-02-17 13:07:07

Thompz
Member
Registered: 2008-02-10
Posts: 31

Re: Wireless touble

Ok - had another look through the wiki and made the floowing changes:

Moved BeBox to /etc/network.d/

Delected NETWORK-PROFILES=(BeBox) from rc.conf and added NETWORKS=(BeBox)

Also deleted eth0 from rc.conf since I dont use that.

It still isnt connecting.  Also - my main concern is that iwconfig lists ESSID as "" and Im sure this should read "BeBox"

Offline

#4 2008-02-17 14:02:00

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Wireless touble

Thompz wrote:

It still isnt connecting.  Also - my main concern is that iwconfig lists ESSID as "" and Im sure this should read "BeBox"

ESSID is empty because you're not connected.  What happens when you run:

netcfg2 BeBox

Last edited by tigrmesh (2008-02-17 14:07:16)

Offline

#5 2008-02-17 14:02:56

Thompz
Member
Registered: 2008-02-10
Posts: 31

Re: Wireless touble

Why would I run wlan0 and not BeBox?

Offline

#6 2008-02-17 14:05:46

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Wireless touble

You're right.  I copied the wrong thing.

Offline

#7 2008-02-17 14:09:19

Thompz
Member
Registered: 2008-02-10
Posts: 31

Re: Wireless touble

Ok - just tried netcfg2 BeBox and I get - BeBox is not a vlid connection, check spelling/examples.  Done that and everything looks ok but still cant get connected.

I dont get that message when I type any old rubbish after netcfg2 so I think it must recognize the file at least or something

Offline

#8 2008-02-17 14:20:10

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Wireless touble

In /etc/network.d there are some examples.  Copy one for your profile.

Offline

#9 2008-02-17 15:57:25

Thompz
Member
Registered: 2008-02-10
Posts: 31

Re: Wireless touble

Yea, Im using the wpa one atm with no luck

Offline

#10 2008-02-17 16:13:20

Thompz
Member
Registered: 2008-02-10
Posts: 31

Re: Wireless touble

SOLVED: changed to the complete example and it works

Offline

Board footer

Powered by FluxBB