This is a discussion on Wireless Internet help needed badly!!! within the Linux Networking forums, part of the Linux Forums category; I'm trying to get a D-Link DWL-122 Wireless USB Adaptor (802.11b) to work on RedHat 9....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm trying to get a D-Link DWL-122 Wireless USB Adaptor (802.11b) to work on
RedHat 9.0. I've done all the steps given on various web pages including: 1) Compiling and installing the Linux-WLAN USB driver. I know that the D-Link DWL-122 uses a Prism chipset, and the web pages recommend using this driver for it. 2) Setting up all the configuration files including the ones in /etc/sysconfig/network-scripts and /etc/wlan/. 3) Checking that the D-Link Adaptor works on a Windows machine. I think I have done a lot correctly because I do not get any error messages during boot up for wlan0. It says "Bringing up interface wlan0: OK". The one clear problem is that the light for the link LED does not come on(it comes on when I turn on the computer, then goes off after the boot message for wlan0). Thanks for any help you can provide. I think I've almost done as much as I can so even advice such as go with another distribution such as Fedora or Mandrake 10 or buy another wireless card would be fine as well. DN Here is some more information about my system: ------------------------------------------------------------------------------ 1) I am getting a signal provided my friend who has given me a static IP address. He is broadcasting from a Linksys bridge. So the settings in /etc/sysconfig/network-scripts/ifcfg-wlan0 look like: DEVICE=wlan0 ONBOOT=yes BOOTPROTO=static # change this to static to specify an IP addr IPADDR=2.2.2.6 GATEWAY=2.2.2.1 NETMASK=255.255.255.248 NETWORK=0.0.0.0 BROADCAST=0.0.0.0 GATEWAYDEV=wlan0 # this is for setting default route TYPE=Ethernet USERCTL=yes PEERDNS=yes ------------------------------------------------------------------------------ 2)For the file: /etc/wlan/wlan.conf I have: WLAN_DEVICES="wlan0" # Below is the list of channels to scan, when we scan. ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:0 0:00" # Below is the min and max time we linger on a channel during a scan. ChannelMinTime=200 ChannelMaxTime=250 # And here we have the master scan toggle. WLAN_SCAN=y ########## # Note: To bind to a specific network, change the SSID to something different # and create the file /etc/wlan/wlancfg-<SSID> with your network- # specific settings. If this file is not present, the settings in # /etc/wlancfg/wlancfg-DEFAULT are used. # # for example: # SSID_wlan0="linux-wlan" # This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be present. # # Use a SSID of "" to associate with any network in range. ######### SSID_wlan0="linksys" ENABLE_wlan0=y #SSID_wlan1="" #ENABLE_wlan1=n #SSID_wlan2="" #ENABLE_wlan2=n ------------------------------------------------------------------------------ 2)For the file: /etc/rc.d/init.d/dwl22 I have: #!/bin/bash modprobe prism2_usb wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable wlanctl-ng wlan0 lnxreq_autojoin ssid=linksys authtype=opensystem exit 0 ------------------------------------------------------------------------------ 2) As you can guess, I cannot establish a link anywhere which I tried to test by pinging 2.2.2.1. ------------------------------------------------------------------------------ Here is some other information. If I do: ifconfig I get: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1264 (1.2 Kb) TX bytes:1264 (1.2 Kb) wlan0 Link encap:Ethernet HWaddr 00:0D:88:74:7C:BC inet addr:1.1.1.6 Bcast:0.0.0.0 Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:22 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) If I do: iwconfig wlan0 I get: wlan0 IEEE 802.11-b ESSID:"" Mode:Auto Frequency:2.422GHz Access Point: 00:00:00:00:00:00 Bit Rate:2Mb/s Tx-Power:2346 dBm Retry min limit:8 RTS thr:off Fragment thr:off Encryption key:off Link Quality:0/92 Signal level:-69 dBm Noise level:-90 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 If I do: wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable I get: message=lnxreq_ifstate ifstate=enable resultcode=success If I do: wlanctl-ng wlan0 lnxreq_autojoin ssid=linksys authtype=opensystem I get: message=lnxreq_autojoin ssid='linksys' authtype=opensystem resultcode=success ------------------------------------------------------------------------------ |
|
|||
|
www.linuxant.com WLAN driverloader..get the trial version and download it..register for demo license...20 dollars US and it lets you use the windows drivers for you NIC....worth the time and trouble not to hassle with things that usually have steps left out in the HOWTO's and such Zugwrack Donald N wrote: > I'm trying to get a D-Link DWL-122 Wireless USB Adaptor (802.11b) to work > on > RedHat 9.0. I've done all the steps given on various web pages including: > > 1) Compiling and installing the Linux-WLAN USB driver. I know that the > D-Link DWL-122 uses a Prism chipset, and the web pages recommend using > this driver for it. > > 2) Setting up all the configuration files including the ones in > /etc/sysconfig/network-scripts and /etc/wlan/. > > 3) Checking that the D-Link Adaptor works on a Windows machine. > > I think I have done a lot correctly because I do not get any error > messages > during boot up for wlan0. It says "Bringing up interface wlan0: OK". > > The one clear problem is that the light for the link LED does not come > on(it comes on when I turn on the computer, then goes off after the boot > message for wlan0). > > Thanks for any help you can provide. I think I've almost done as much as > I can so even advice such as go with another distribution such as Fedora > or Mandrake 10 or buy another wireless card would be fine as well. > > DN > > > Here is some more information about my system: > ------------------------------------------------------------------------------ > 1) I am getting a signal provided my friend who has given me a static IP > address. He is broadcasting from a Linksys bridge. So the settings in > > /etc/sysconfig/network-scripts/ifcfg-wlan0 > > look like: > > DEVICE=wlan0 > ONBOOT=yes > BOOTPROTO=static # change this to static to specify an > IP addr IPADDR=2.2.2.6 > GATEWAY=2.2.2.1 > NETMASK=255.255.255.248 > NETWORK=0.0.0.0 > BROADCAST=0.0.0.0 > GATEWAYDEV=wlan0 # this is for setting default route > TYPE=Ethernet > USERCTL=yes > PEERDNS=yes > > ------------------------------------------------------------------------------ > > 2)For the file: > > /etc/wlan/wlan.conf > > I have: > > WLAN_DEVICES="wlan0" > > # Below is the list of channels to scan, when we scan. > ChannelList="01:02:03:04:05:06:07:08:09:0a:0b:00:0 0:00" > # Below is the min and max time we linger on a channel during a scan. > ChannelMinTime=200 > ChannelMaxTime=250 > # And here we have the master scan toggle. > WLAN_SCAN=y > > ########## > # Note: To bind to a specific network, change the SSID to something > # different > # and create the file /etc/wlan/wlancfg-<SSID> with your > # network- > # specific settings. If this file is not present, the settings > # in /etc/wlancfg/wlancfg-DEFAULT are used. > # > # for example: > # SSID_wlan0="linux-wlan" > # This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be > # present. > # > # Use a SSID of "" to associate with any network in range. > ######### > > SSID_wlan0="linksys" > ENABLE_wlan0=y > #SSID_wlan1="" > #ENABLE_wlan1=n > #SSID_wlan2="" > #ENABLE_wlan2=n > > > ------------------------------------------------------------------------------ > > 2)For the file: > > /etc/rc.d/init.d/dwl22 > > I have: > > #!/bin/bash > > modprobe prism2_usb > wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable > wlanctl-ng wlan0 lnxreq_autojoin ssid=linksys authtype=opensystem > > exit 0 > > ------------------------------------------------------------------------------ > > > 2) As you can guess, I cannot establish a link anywhere which I tried > to test by pinging 2.2.2.1. > > ------------------------------------------------------------------------------ > Here is some other information. If I do: > > ifconfig > > I get: > > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:16 errors:0 dropped:0 overruns:0 frame:0 > TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1264 (1.2 Kb) TX bytes:1264 (1.2 Kb) > > wlan0 Link encap:Ethernet HWaddr 00:0D:88:74:7C:BC > inet addr:1.1.1.6 Bcast:0.0.0.0 Mask:255.255.255.248 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:22 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > > If I do: > > iwconfig wlan0 > > I get: > > wlan0 IEEE 802.11-b ESSID:"" > Mode:Auto Frequency:2.422GHz Access Point: > 00:00:00:00:00:00 > Bit Rate:2Mb/s Tx-Power:2346 dBm > Retry min limit:8 RTS thr:off Fragment thr:off > Encryption key:off > Link Quality:0/92 Signal level:-69 dBm Noise level:-90 dBm > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 > Tx excessive retries:0 Invalid misc:0 Missed beacon:0 > > > If I do: > > wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable > > I get: > > message=lnxreq_ifstate > ifstate=enable > resultcode=success > > If I do: > > wlanctl-ng wlan0 lnxreq_autojoin ssid=linksys authtype=opensystem > > I get: > message=lnxreq_autojoin > ssid='linksys' > authtype=opensystem > resultcode=success > > ------------------------------------------------------------------------------ |
|
|||
|
"Donald N" <spam_list@yahoo.com> wrote in news:252a3967.0406091650.922aa22@posting.google.co m... > > wlan0 IEEE 802.11-b ESSID:"" > Mode:Auto Frequency:2.422GHz Access Point: 00:00:00:00:00:00 > Bit Rate:2Mb/s Tx-Power:2346 dBm > Retry min limit:8 RTS thr:off Fragment thr:off > Encryption key:off > Link Quality:0/92 Signal level:-69 dBm Noise level:-90 dBm > Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 > Tx excessive retries:0 Invalid misc:0 Missed beacon:0 You should try setting it manually now. Do something like [root@linbox]# iwconfig wlan0 essid "name-of-ssid" mode managed rate 11M encryption off If you have encryption, use whatever key you have instead of "off". If it's an ASCII key, use "s:" before the key. You should get a number other than zero in your Access Point. If it's all zeroes, it means it's not detected any access point. -- Carlos Martin Be paranoid: Encrypt your mail. Get my public key at pgp.mit.edu cmn@sokra.cjb.net |