PDA

View Full Version : Unable to get wireless card (WMP54g) to connect to internet using FC5


snakeyes30
2006-06-12, 05:43 PM CDT
Hi, I have installed the drivers for my Linksys wmp54g card using ndiswrapper on FC5, I assigned my computer a static ip address (192.168.1.102) and set the subnet mask and the gateway ip add (192.168.1.1). I have set the wireless info as well, i.e the SSID and channel number using the network config screen. However I am unable to connect to the internet. I have tried a number of things to try and fix it and have come to no avail. The router is a Linksys WRT54g. I tried to use the KwifiManager to pick up the wireless network but this too fails.
I am in desperate need of help in order to get the wifi working so that i can get rid of the cable running across half of my house.


ifconfig wlan0:

[root@localhost ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:06:25:4A:AD:C4
inet6 addr: fe80::206:25ff:fe4a:adc4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:290 (290.0 b) TX bytes:6437 (6.2 KiB)
Interrupt:22 Memory:fe8fa000-fe8fc000



iwconfig wlan0


[root@localhost ~]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost"
Mode:Managed Frequency:2.447 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


ifcfg-wlan0


ONBOOT=no
USERCTL=no
IPV6INIT=no
PEERDNS=yes
GATEWAY=192.168.1.1
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:06:25:4a:ad:c4
BOOTPROTO=none
NETMASK=255.255.255.0
DHCP_HOSTNAME=
IPADDR=192.168.1.100
DOMAIN=
ESSID=Shastri
CHANNEL=8
MODE=Managed
RATE='54 Mb/s'




Do i need to post any other information?
Thanks in advance for any help!

secretofnimh
2006-06-22, 11:26 AM CDT
i'm getting the exact same issue, it's like my ESSID won't 'stick' when trying to get it to activate!

Any help on this would be greatly appreciated!

stoat
2006-06-22, 07:17 PM CDT
@snakeyes30: Your post is 10 days old and you are surely long gone. But since this got bumped by somebody today, I will reply. BTW, I have the same wireless card, same router, no problems. Ever.

@secretofnimh: This reply is meant for snakeyes30, but maybe it will mean something to you. You did not post any specifics about your problem or your ifconfig and iwconfig information. And, I am not really sure what you mean by "it's like my ESSID won't 'stick' when trying to get it to activate!". Nevertheless, I am answering snakeyes30 but probably just talking to you.

I think the situation posted by snakeyes30 may be related to the static IP address. The ifconfig shows no inet addr entry. Compare snakeyes30's ifconfig to this one:[user@localhost ~]$ ifconfig
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:1626 errors:0 dropped:0 overruns:0 frame:0
TX packets:1626 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2577369 (2.4 MiB) TX bytes:2577369 (2.4 MiB)

wlan0 Link encap:Ethernet HWaddr 00:0C:41:60:74:CE
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:41ff:fe60:74ce/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:166 errors:0 dropped:0 overruns:0 frame:0
TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24326 (23.7 KiB) TX bytes:17751 (17.3 KiB)
Interrupt:11 Memory:dc040000-dc042000Double-check the IP address settings in both the router and the Network Configuration GUI for the card. But, I suggest that you allow the router to manage the IP addresses in your network instead of assigning static IPs.

Now, if that didn't help, here is a shotgun blast of everything else I could think of for you to double-check. If you are already certain about something in the list, skip it.

1) Driver confirmed with /usr/sbin/ndiswrapper -l (The WMP54G driver is bcmwl5)
2) Module loads with /sbin/modprobe ndiswrapper and can be confirmed with dmesg | grep ndiswrapper (some output about wlan0, MAC address, etc)
3) Alias for wlan0 was created with /usr/sbin/ndiswrapper -m and can be confirmed with /sbin/modprobe -c | grep ndiswrapper
4) This line appears in /etc/modprobe.conf or else add it: alias wlan0 ndiswrapper
5) GUI should now list ndiswrapper (wlan0) as a device which can be selected for setup in the GUI after clicking New -> Wireless connection -> Forward.

If all is okay to here and the Network Configuration GUI is working as expected, some settings and issues to consider when configuring the wireless connection in the GUI:

1) Check "Activate device when computer starts"
2) Try letting the router handle IPs: check "Automatically obtain IP address settings with dhcp"
3) Check "Automatically obtain DNS information from provider"
4) Try Mode: Auto
5) Double check the SSID for accuracy (including letter case)
6) Confirm the channel matches the channel your router is broadcasting on
7) If using a hex encryption key, you must add 0x (zero x) at the beginning of the key
8) Your device MAC address should have been auto detected
9) Remember to activate the device and save the configuration
10) May need to reboot after making changes

Open the Linksys router web-based configuration utility and double-check everything for compatibility with the wireless card settings in the FC5 Network Configuration GUI.

1) Enable DHCP Server to allow router to manage IPs in the network
2) Wireless mode should be G-mode or Mixed for the WMP54G
3) Confirm the SSID (including letter case)
4) Confirm the broadcast channel
5) Confirm the encryption key if used (use key #1 for the wireless card setup)

@secretofnimh: If you have more questions about any of this, or if your situation is different than snakeyes30, come back and reply with your questions and specific information.