Wireless connected, but not

Alright so I recently bought a wireless usb adapter (NewEgg link) and I’ve installed the firmware (rtl8192su-kmp-default-2.6.34+git20100510_2.6.31.12_0.2-1.1.x86_64.rpm) and the network manager tells me that I have successfully connected to my wireless network.

The problem comes whenever I wanted to actually use that connection. Although the manager says I’m connected, I can’t actually connect to anything on the internet and my router does not list me as a connected wireless device.

The device seems to be functioning properly and I get the proper results from iwconfig and ifconfig but I can’t actually connect. Any help is appreciated, thanks.

Post the output of the these commands to give us an accurate picture:

/sbin/ifconfig
/uer/sbin/iwconfig
/sbin/route -n
cat /etc/resolv.conf |grep nameserver

ifconfig

eth0      Link encap:Ethernet  HWaddr E0:CB:4E:9F:4F:FB  
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e2cb:4eff:fe9f:4ffb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17342 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14747 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12166909 (11.6 Mb)  TX bytes:3437858 (3.2 Mb)
          Interrupt:28 Base address:0x8000 

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:1021 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1021 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:90568 (88.4 Kb)  TX bytes:90568 (88.4 Kb)

wlan0     Link encap:Ethernet  HWaddr 08:10:74:91:95:5B  
          inet addr:10.42.43.1  Bcast:10.42.43.255  Mask:255.255.255.0
          inet6 addr: fe80::a10:74ff:fe91:955b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38 errors:0 dropped:50 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7198 (7.0 Kb)  TX bytes:16780 (16.3 Kb)

iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     802.11b/g  link  ESSID:<Correct Name>  
          Mode:Managed  Frequency=2.422 GHz  Access Point: 00:17:31:39:7D:F6   
          Bit Rate=54 Mb/s   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:<Correct Key>   Security mode:restricted
          Power Management:off
          Link Quality=88/100  Signal level=-53 dBm  Noise level=-114 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.42.43.0      0.0.0.0         255.255.255.0   U     2      0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

cat /etc/resolv.conf |grep nameserver

nameserver 68.87.73.242
nameserver 68.87.71.226

Just a note, I am successfully connected on my wired eth0

Hi,

That’s the problem why you cannot connect to internet via WLAN. Your WLAN adapter depends on a different net as your router. Your router is on the net 192.168.0.0/24 and your WLAN is on 10.42.43.0/24 which is a bit strangs but ok.

First of all: Why do you connect both adapters at the same time?

How do you get the addresses? Manually or by DHCP?

Is the router the same device as the WLAN access point?

Bye

Erik

The manager chooses to connect to both. There is no preference for me i guess I just kinda left the wireless on while I was using the wired.

I get the address by DHCP and my router is my access point. I don’t know why the wireless is trying to connect to a different address since we only have the one and the ESSID matches up with my router/access point.

Hi,

that’s a bit strange.

First of all you should not connect to the same net at the same time with two different adapters on the same machine as long as there is no need to do so. BTW: What manager are you talking about? Network manager of KDE, Gnome, whatever? Just the same. It does what you are telling it. :wink:

What is strange is that you are connected to the same router with both adapters but you are connected to two different networks. What kind of router is it? Normally the router/access point/DHCP server which is the same box should give you an address within the same network. Are you really sure that you didn’t give the wlan adapter a fixed address? Type


cat /etc/sysconfig/network/ifcfg-wlan0

and paste it here.

Also, are you sure that the ESSID is correct? Did you set an individual one or is it a default one?

Bye

Erik

Thanks for your replies. I am absolutely sure that the ESSID and key are correct. Also the manager I am referring to is the Gnome Network Manager.

BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME='RTL8191S WLAN Adapter'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
USERCONTROL='no'
WIRELESS_AP=''
WIRELESS_AUTH_MODE='sharedkey'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID=<Correct Name>
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_KEY_0=<Correct Key>
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_POWER='yes'
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK=''

Oh, and the Router is a NetGear CG814WG v2