View previous topic :: View next topic |
Author |
Message |
MJBoa n00b
Joined: 24 Apr 2009 Posts: 6
|
Posted: Sat Apr 25, 2009 5:55 pm Post subject: I'm connected wirelessly to my AP but I've got no internet |
|
|
According to iwconfig and ifconfig, my wlan0 is up, has an IP address and is connected to my access point.
My router is also telling me I'm connected so I definitely have some kind of connection.
My /etc/conf.d/net:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_wlan0=("192.168.1.30 netmask 255.255.255.0")
routes_wlan0=("default via 192.168.1.1")
modules=("wpa_supplicant")
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=15
My /etc/resolv.conf:
nameserver 192.168.1.1
I get no errors from /etc/init.d/net.wlan0
My /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=1
network={
ssid="name"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=TKIP
psk=hexkey
}
I can ping 127.0.0.1 but pinging anything on my network like 192.168.1.1 returns destination host unreachable
I don't have exact output of ifconfig/iwconfig but I know these commands and my interface looks up, has an ip and is connected.
iwconfig is reporting a Bit Rate of only 1 Mb/s where it should be 54... |
|
Back to top |
|
|
gerdesj l33t
Joined: 29 Sep 2005 Posts: 622 Location: Yeovil, Somerset, UK
|
Posted: Sat Apr 25, 2009 6:41 pm Post subject: Re: I'm connected wirelessly to my AP but I've got no intern |
|
|
Start with the basics. Disable WPA on your router and try and connect. ie temporarily disable security completely and see if that works. |
|
Back to top |
|
|
MJBoa n00b
Joined: 24 Apr 2009 Posts: 6
|
Posted: Sat Apr 25, 2009 7:56 pm Post subject: |
|
|
OK after trying a few different things ( I could connect to the unsecured router) I figured out that I can't have CCMP as a PAIRWISE cipher option in wpa_supplicant.conf even though both the card and the network support it. Could it have been something in the kernel I forgot to build? That Cryptographic api section?
EDIT: Nevermind this didn't seem to actually stick, it's really flaky and isn't working now.
If I kill wpa_supplicant then route add default gw 192.168.1.1 then it works.
Something to do with routes? |
|
Back to top |
|
|
gerdesj l33t
Joined: 29 Sep 2005 Posts: 622 Location: Yeovil, Somerset, UK
|
Posted: Mon Apr 27, 2009 11:58 am Post subject: |
|
|
Some more details please:
Router type and firmware version
WiFi interface hardware
Kernel version
wpa_supplicant version
Platform (x86, amd64)
DHCP client and version |
|
Back to top |
|
|
|