-
Wierd wlan Issue!
I have a Dlink card with the ralink RT61 chipset. I have compiled drivers and they seem to work fine.
I can ping my wlan router and even ping my gateway server. I cannot however reach beyond to the internet. I have been at this for hours now and I am simply clueless as to what causes this! I have two other computers that uses the wlan router and gateway already so I these two has to be correctly configured.
In other words there has to be something with the laptap / RT61 card wlan(?).
This is my current setup:
latptop < - WLAN - > wlan router < - cable -> gateway < - cable - > internet
192.168.1.142 192.168.1.2 192.168.1.1 f00
Code:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11166 (10.9 KiB) TX bytes:11166 (10.9 KiB)
ra0 Link encap:Ethernet HWaddr 00:19:5B:6D:2F:FA
inet addr:192.168.1.142 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6d:2ffa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15086 errors:0 dropped:0 overruns:0 frame:0
TX packets:2867 errors:0 dropped:0 overruns:0 carrier:0
collisions:104 txqueuelen:1000
RX bytes:1949038 (1.8 MiB) TX bytes:257564 (251.5 KiB)
Interrupt:11
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 ra0
cat /etc/resolv.conf
domain mir.fallman.org
nameserver 172.16.3.3
rt61sta.dat
[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=nethernet
NetworkType=Infra
Channel=0
AuthMode=WPAPSK
EncrypType=TKIP
DefaultKeyID=1
Key1Type=0
Key1Str=0123456789
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
WPAPSK=secretpassword
TxBurst=0
PktAggregate=0
WmmCapable=0
APSDCapable=0
APSDAC=0;0;0;0
BGProtection=0
IEEE80211H=0
TxRate=0
RTSThreshold=2347
FragThreshold=2346
RoamThreshold=75
PSMode=CAM
TxPreamble=0
FastRoaming=0
Any ideas what can be causing this? I can, as I wrote, ping the gateway and all local IPs. But somehow I cant get out! And I have had numerous different computers hooked up to the local network - both wired an wireless, neither has ever before had any issues getting out on the internet. So this has to do with my Ubuntu laptop I am truing to configure now somehow.
Thanks! Id be extremely grateful for any replies!
----------------------------------------------------------------
The day after I posted this I booted up and suddenly nothing works at all anymore!
Yesterday I managed to get LAN access by deleting some stuff from routing but I am not sure. Route is what I suspect is what is causing mischief.
My route looks like this:
Code:
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 ra0
default 192.168.1.1 0.0.0.0 UG 0 0 0 ra0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
The "default" is something I added because it was supposed to help. But now it comes back everytime I restart ra0 even thou I have done a "sudo route del default"x2
Detailed Rotuing with "route -nNvee -FC"
Code:
KKernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0 0 0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ra0 0 0 0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 ra0 0 0 0
Kernel IP routing cache
Source Destination Gateway Flags Metric Ref Use Iface MSS Window irtt TOS HHRef HHUptod SpecDst
192.168.1.142 192.168.1.1 192.168.1.1 0 0 2 eth0 1500 0 0 0 -1 0 192.168.1.142
192.168.1.142 192.168.1.1 192.168.1.1 0 0 0 eth0 1500 0 0 0 -1 0 192.168.1.142
192.168.1.142 192.168.1.3 192.168.1.3 0 0 0 eth0 1500 0 0 0 -1 0 192.168.1.142
192.168.1.142 192.168.1.3 192.168.1.3 0 0 7 eth0 1500 0 0 0 -1 0 192.168.1.142
192.168.1.142 172.16.3.3 192.168.1.1 0 0 3 ra0 1500 0 0 0 2 0 192.168.1.142
192.168.1.142 192.168.1.142 192.168.1.142 l 0 0 14 lo 16436 0 0 0 2 1 192.168.1.142
192.168.1.142 172.16.3.3 192.168.1.1 0 0 2 ra0 1500 0 0 0 -1 0 192.168.1.142
Do they look right?
Some more wlan info:
iwconfig
Code:
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
ra0 RT61 Wireless ESSID:""
Mode:Auto Frequency:2.437 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=87/100 Signal level:-52 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
iwgetid
iwlist ra0 scan (nethernet is my wlan)
Code:
ra0 Scan completed :
Cell 01 - Address: 00:17:9A:9F:88:E4
*cut*
Cell 02 - Address: 00:0F:CB:9F:47:86
*cut*
Cell 03 - Address: 00:17:9A:67:DD:83
*cut*
Cell 04 - Address: 00:60:B3:99:D6:36
*cut*
Cell 05 - Address: 00:17:9A:F1:F8:95
ESSID:"nethernet"
Mode:Managed
Channel:6
Encryption key:on
Bit Rates:1 Mb/s
Cell 06 - Address: 00:0F:B5:25:8F:F2
*cut*
Cell 07 - Address: 00:17:9A:F3:67:D3
*cut*
iwlist ra0 freq
Code:
ra0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency=2.437 GHz (Channel 6)
iwlist ra0 bitrate
Code:
ra0 unknown bit-rate information.
Current Bit Rate=54 Mb/s
sudo ifup | ifdown ra0 (only with sudo gives these errors)
Code:
Error for wireless request "Set Encode" (8B2A) :
SET failed on device ra0 ; Network is down.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ra0 ; Network is down.
Yesterday LAN worked and I was connected through the wlan router. Today nothing works. I havent changed the settings beside messed with around with the route command. So the rest of the settings should be right ... or?
I would so much appreciate some light on this because I am completely and utterly clueless.
Regards, Stormfrog
-
welcome to the forum
Cell 05 - Address: 00:17:9A:F1:F8:95
ESSID:"nethernet"
Mode:Managed
Channel:6
Encryption key:on
Bit Rates:1 Mb/s
here's some ideas
1. turn off encryption until you get a connection
2. "iwconfig ra0 essid nethernet"
3. "iwconfig ra0 channel 6"
3. "iwconfig ra0 mode managed"
5. "dhclient ra0"