You are not logged in.

#1 2007-07-26 18:51:52

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Setting up wireless connection for use with DWL-122(usb) [SOLVED]

Can anyone help me with this?

I followed this thread to make the script that would activate the device.

The device is on, but I'm confused on how to actually access the internet with it.

I have my rc.conf configured as follows

lo="lo 127.0.0.1"
##pci device for accessing wired connection
eth0="dhcp"
##the DWL-122
wlan0="dhcp"
##i is the order of the transmit key accepted by the router
wlan_wlan0="wlan0 essid "ssid of router" key restricted [i] 64-bit WEP key"
WLAN_INTERFACES=(wlan0)
INTERFACES=(lo wlan0 eth0)

However, I get the following message when I restart the "network" daemon

Error for wireless request "Set ESSID" (8B1a) :
     SET failed on device wlan0; Operation no supported
Error, wlan0: ioctl SI0CSIFFLAGS: No such device

What am I doing wrong?

wlan0 is detected at /sys/class/net/

Last edited by NoOneImportant (2007-11-07 17:54:15)

Offline

#2 2007-07-26 20:55:43

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

ok, I think I found the problem and I have a question

should the wlan daemon be loaded before or after the network daemon?

Offline

#3 2007-07-26 21:11:43

XazZ
Member
From: Munich, Germany
Registered: 2006-12-30
Posts: 72

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

Hi

I don't know if this helps you, but:
I had to use an older version of ndiswrapper to get the WLAN-dongle (D-Link DWL-122)working
I think it was version 1.37 or something... others caused a kernel panic
But some time ago I bought a new card with atheros-chip big_smile

XazZ

Offline

#4 2007-07-26 21:38:40

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

when I start the wlan daemon I get this output

:: Starting WLAN Devices     [Busy]
FATAL: Module wlan0 not found.
FATAL: Module wlan0 not found.
message=lnxreq_ifstate
  ifstate=fwload
  resultcode=success
load_cardpda failed, exiting.
Unknown prism2 hardware type  (), assuming SSF
Processing PDR file: /tmp/prism2_ssf.pda
Warning: RAM load only, PDA changes will NOT be written to flash.
Reading S-record file /etc/wlan//prism2_pm.hex...
NIC ID: 0 v0.0.0
MFI ID: 0 v0 0->0
CFI ID: 0 v0 0->0
PRI ID: 0x3 v1 1->4
Version:  ID 0x15 1.1.2
Compat: Role 0 Id 0x3 v2 4->4
Compat: Role 0x1 Id 0x2 v2 1->1
Seq: 0
Platform:  ID 0x800e 1.0.0
Platform:  ID 0x8015 1.0.0
Platform:  ID 0x8019 1.0.0
Platform:  ID 0x801d 1.0.0
Platform:  ID 0x8024 1.0.0
prism2dl: warning: Failed to find PDR for plugrec 0x0003.
prism2dl: warning: Failed to find PDR for plugrec 0x0005.
prism2dl: warning: Failed to find PDR for plugrec 0x0006.
prism2dl: warning: Failed to find PDR for plugrec 0x0007.
prism2dl: warning: Failed to find PDR for plugrec 0x0008.
prism2dl: warning: Failed to find PDR for plugrec 0x0402.
prism2dl: warning: Failed to find PDR for plugrec 0x0403.
prism2dl: warning: Failed to find PDR for plugrec 0x0404.
prism2dl: warning: Failed to find PDR for plugrec 0x0408.
prism2dl: warning: Failed to find PDR for plugrec 0x0001.
prism2dl: finished.
load_cardpda failed, exiting.
Firmware failed to load for device wlan0
                                                                         [DONE]

does this mean that I will need the ndiswrapper for the firmware?

If so, how do I obtain the ndiswrapper packages w/out using pacman?

Last edited by NoOneImportant (2007-07-26 21:43:43)

Offline

#5 2007-07-26 23:29:11

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

nm

I got it working now with ndiswrapper

Offline

#6 2007-09-14 17:29:45

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

NoOneImportant wrote:

nm

I got it working now with ndiswrapper

Could you please tell us how you did it?

I got the same card and issues hmm

Offline

#7 2007-09-14 19:12:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

I used the wlan-ng drivers for a good while, and never bothered with the official scripts. I wrote my own, which you will find in this thread.

Of course, ndiswrapper is also a worthwhile approach.

Offline

#8 2007-11-07 00:59:15

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

Sorry to have bumped by own old thread, but I have recently took it upon myself to attempt to get the wlan-ng drivers working with my dongle again since ndiswrapper was causing kernel panics (don't know why, but I troubleshooted for an hour and narrowed it down).

So I took a look at tomk's script and it was able to set the parameters for my device, but I am curious as to what the next step is. I tried running dhcpcd wlan0 by itself and wlan0 still times out; the network daemon times out with wlan0 as well.

Offline

#9 2007-11-07 06:18:14

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

Nevermind, I got tomk's script working, but I have one final question on this matter.

How can I get the file system to recognize tomk's script as a daemon? I currently cannot start it with /etc/rc.d/wlan start; I have to do it manually with #sh /etc/rc.d/wlan start

Last edited by NoOneImportant (2007-11-07 06:20:56)

Offline

#10 2007-11-07 11:22:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

Put my script in /etc/rc.d, making sure it's executable, and add it to rc.conf DAEMONS before network. The wlan-ng-utils package already provides /etc/rc.d/wlan, so I'd suggest you call mine something else.

Offline

#11 2007-11-07 17:54:00

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: Setting up wireless connection for use with DWL-122(usb) [SOLVED]

DOH!

Thank you sir.

Offline

Board footer

Powered by FluxBB