Wireless Internet help needed badly!!!

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....


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-10-2004
Donald N
 
Posts: n/a
Default Wireless Internet help needed badly!!!

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

------------------------------------------------------------------------------
Reply With Quote
  #2 (permalink)  
Old 06-10-2004
Zugwrack
 
Posts: n/a
Default Re: Wireless Internet help needed badly!!!


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
>
>

------------------------------------------------------------------------------

Reply With Quote
  #3 (permalink)  
Old 07-02-2004
Carlos Martin
 
Posts: n/a
Default Re: Wireless Internet help needed badly!!!


"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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0