You are not logged in.

#1 2008-06-23 00:03:03

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Cannot connect to wifi [Solved]

I'm following the Wireless Setup guide on the Wiki but I just can't seem to connect to my wireless router.

My driver is rtl8187 which is part of the kernel.  It shows up in dmesg and ifconfig -a.  I can scan for networks but I just can't seem to connect to them, even with encryption turned off on the router.  Am I doing somthing wrong?

The relevent part of /etc/rc.conf:

eth0="dhcp"
wlan0="dhcp"
wlan_wlan0="wlan0 essid jwifi"
# wlan_wlan0="wlan0 essid jwifi rate 5.5M auto"

INTERFACES=(eth0 wlan0)

This is all I get:

# /etc/rc.d/network restart
:: Stopping Network                                                      [DONE] 
:: Starting Network                                                      [BUSY] 
err, wlan0: timed out
warn, wlan0: using IPV4LL address 169.254.208.46

I can scan for and find my router just fine:

# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:1C:10:9E:89:52
                    ESSID:"jwifi"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=39/64  Signal level=47/65  
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=00000000009ae43d
          Cell 02 ...

I tried adding "rate 5.5M auto" to wlan_wlan0 in /etc/rc.conf as suggested in The Rtl8187 Wiki but I get the same result.

Last edited by emphire (2008-06-24 00:57:49)

Offline

#2 2008-06-23 00:50:04

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Cannot connect to wifi [Solved]

I don't know about the old way, but try setting it up with netcfg2, which is the preferred way now.

I guess that guide should be updated, now that netcfg2 is the in core.

Offline

#3 2008-06-23 01:52:30

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: Cannot connect to wifi [Solved]

Thanks.  I will try netcfg2 and added a note to the wiki article.

Offline

#4 2008-06-23 02:06:00

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: Cannot connect to wifi [Solved]

Hey, this might be a longshot, but I had a similar problem with a different RT card.  Everything seemed setup right but it would just not connect to the AP.

After much frustration it turned out that I had to specify the AP address, and then it worked.  A little later I found a shortcut, in that all I had to do was set AP to auto and it would connect.

In short, set it up like normal with essid, key and everything and then do:

iwconfig wlan0 ap auto

Hope this helps, Wittfella

Offline

#5 2008-06-23 02:22:56

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: Cannot connect to wifi [Solved]

Thanks vogt and Wittfella.  I setup netcfg2 and I wifi is up and running now.

Offline

#6 2008-06-24 00:16:23

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Cannot connect to wifi [Solved]

So add [solved] to the topic!

PS. edit the first post to change the topic

Offline

Board footer

Powered by FluxBB