You are not logged in.

#1 2007-09-29 23:22:17

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

[SOLVED] Wireless trouble with DWL-G122 USB, can't set ESSID

I'm trying to setup wireless for my laptop, an old HP Omnibook. I followed the Wiki to setup the Network and Wireless. I use ndiswrapper with the XP-Driver from the Dlink CD for my USB Dongle (DWL-G122 Rev. D), and according to dmesg it loads correctly. My Desktop is wired to the router (Dlink DI 524), the internet connection works.

My rc.conf (I can't do copy/paste - I'm writing this on my Desktop PC):

lo="lo 127.0.0.1"
wlan0="dhcp"
wlan_wlan0="wlan0 essid <myEssid> channel 6 key <myKey>"
WLAN_INTERFACES=(wlan0)
INTERFACES=(lo wlan0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

ifconfig tells this:

lo      Link encap:Local Loopback
        inet addr:127.0.0.1  Mask:255.0.0.0
        UP LOOPBACK RUNNING  ...
        blablabla...

wlan0   Link encap:Ethernet  HWaddr xxx..
        inet addr:169.254.25.6  Bcast:169.254.255.255  Mask:255.255.0.0
        UP BROADCAST MULTICAST  ...
        blablabla...

iwconfig tells this:

lo      no wireless extension

wlan0   IEEE 802.11g  ESSID:off/any
        Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
        Bit Rate: 1 Mb/s  Sensitivity=-200 dBm
        ...
        Encryption key:<myKey>  Security mode:restricted
        Power Management:off
        Link Quality:0  Signal level:0  Noise level:0
        ...

iwlist wlan0 scan finds my AP.

I have several problems:

a) I can't set the ESSID with the command

iwconfig wlan0 essid <myEssid>

b) it doesn't work!

Any help appreciated!

Edit 1: It works without WEP! But I don't want to run an open network - any clues?

Edit 2: Finally I got it working, playing around with the router settings.

Last edited by chilebiker (2007-09-30 23:38:28)


Don't panic!

Offline

#2 2007-10-01 06:40:31

Tigertailz
Member
From: Sweden
Registered: 2007-09-11
Posts: 89

Re: [SOLVED] Wireless trouble with DWL-G122 USB, can't set ESSID

What in your router did you change, Im having kinda same problem

Offline

#3 2007-10-01 20:37:19

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: [SOLVED] Wireless trouble with DWL-G122 USB, can't set ESSID

i recently obtained a dwl-g122 rev b
i havent tried ndiswrapper i used
http://rt2x00.serialmonkey.com/wiki/ind … =Main_Page
click on download then grab appropriate driver/module
that is if rev d still has the ralink chip
i found the pkgbuilds in aur nor whats in the repositories would work for me
i was able to set essid easily
i was unable to get it to work with arch64 but i didnt spend a whole lot of time with it yet

i havent used it much as i dont spend a lot of time on laptop plus i have  cisco pcmcia wifi i use primarily
i got the dwl-g122 as to test out my skills on building a cantenna which is a project thats on the shelf currently .... dont know why i went into all of that but there it is
checkout serialmonkeys drivers

Offline

#4 2007-10-01 22:14:21

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

Re: [SOLVED] Wireless trouble with DWL-G122 USB, can't set ESSID

@Tigertailz
I changed authentication from "Open system" to "Shared key" in the wireless settings of my DI-524 router.

@rayjgu3
The DWL-G122 Rev D uses a Marvell chipset. Ndiswrapper works fine with the supplied XP-drivers on the CD.

The DWL-G122 seems to be a very weak wireless receiver. When the signal quality falls below 20% my laptop has difficulties connecting to the AP. It will then get a strange IP, and only after two (!!) "/etc/rc.d/network restart" will it pick up an IP from the router. Strange but true - but it works! It took me a couple of hours and headaches to make it work though!


Don't panic!

Offline

Board footer

Powered by FluxBB