You are not logged in.

#1 2008-03-29 11:11:43

Jules
Member
Registered: 2005-12-20
Posts: 27

[Solved] Problem connecting to wireless network

Hi all,

I'm trying to get netcfg2 running but I have the following problem. I have to run netcfg2 several times before I can connect.

[root@Armada jules]# netcfg2 WiFi
:: WiFi up  - Network unavailable                                        [FAIL]
[root@Armada jules]# netcfg2 WiFi
:: WiFi up  - Wireless association failed.                               [FAIL]
[root@Armada jules]# netcfg2 WiFi
:: WiFi up  - Wireless association failed.                               [FAIL]
[root@Armada jules]# netcfg2 WiFi
:: WiFi up  - Wireless association failed.                               [FAIL]
[root@Armada jules]# netcfg2 WiFi
:: WiFi up  - Wireless association failed.                               [FAIL]
[root@Armada jules]# netcfg2 WiFi
:: WiFi up                                                               [DONE]
[root@Armada jules]#

iwconfig before I try to connect:

[root@Armada jules]# iwconfig
lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""  Nickname:""
          Mode:Managed  Channel:0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=1/1 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

[root@Armada jules]#

My network profile:

[root@Armada network.d]# pg WiFi
CONNECTION="wireless"
DESCRIPTION="WiFi"
INTERFACE=ath0
HOSTNAME=Armada
IP="dhcp"
ESSID=wifi_ap                                                                 
SECURITY=wep # One of wep, wpa, wpa-config, none
KEY="<censored>"
SCAN="YES"
TIMEOUT=15
IWOPTS="essid $ESSID key $KEY"

Anyone who can help me?:|

Last edited by Jules (2008-03-30 13:12:03)

Offline

#2 2008-03-29 16:22:12

ph0tios
Member
Registered: 2008-02-23
Posts: 126

Re: [Solved] Problem connecting to wireless network

What driver are you using?

Offline

#3 2008-03-29 22:37:19

Jules
Member
Registered: 2005-12-20
Posts: 27

Re: [Solved] Problem connecting to wireless network

I'm using ath_pci

168c:0013 Ethernet controller: Atheros Communications, Inc. module: ath_pci
          AR5212/AR5213 Multiprotocol MAC/baseband processor

Offline

#4 2008-03-30 07:55:28

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [Solved] Problem connecting to wireless network

Offline

#5 2008-03-30 13:08:25

Jules
Member
Registered: 2005-12-20
Posts: 27

Re: [Solved] Problem connecting to wireless network

I did read the wiki. Anyway, I think I got it running now. I had to run "netcfg2 WiFi" from rc.local (for some reason adding the profile to rc.conf does not work) and I had to set the timeout value to 60.

Last edited by Jules (2008-03-30 13:10:22)

Offline

Board footer

Powered by FluxBB