LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2005, 09:46 AM   #1
cjnodell
Member
 
Registered: Jun 2005
Location: Remchingen, Deutschland
Distribution: Undecided
Posts: 50

Rep: Reputation: 15
Dwl 122


Hello people. Basicly, i love debian, and have installed it so that most everything works, but cant use it. My problem is my wireless networking card. I have a D-Link DWL 122, and am working on Debian 3.1 Sarge. I have tried ndiswrapper, but it hasnt worked so well yet. D-Link says that i should use linux-wlan-ng, so i tried, and failed.

Dose any other Debian user have the DWL 122 adapter?
Have you gotten it to work?
Can you teach me?

Thanks in advance for any possible help!
 
Old 08-02-2005, 04:10 PM   #2
towjamb
Member
 
Registered: Aug 2004
Location: Canada
Distribution: Debian
Posts: 87

Rep: Reputation: 15
So, basically, you're saying you went to the proper site:
http://www.linux-wlan.org/
downloaded the linux-wlan-ng source package, read the instructions in the readme file, and built and installed the module? Where exactly in this process did you fail?
 
Old 08-02-2005, 11:43 PM   #3
cjnodell
Member
 
Registered: Jun 2005
Location: Remchingen, Deutschland
Distribution: Undecided
Posts: 50

Original Poster
Rep: Reputation: 15
for one, it tells me to modify my rc.local file, which, as far as i can tell, dosent exist in debian. Two the instructions say i need a custom kernal, and i have no idea how do do that. it also says i need a moduale, and that i will need to do that myself, once again i am clueless...
 
Old 08-03-2005, 04:41 PM   #4
towjamb
Member
 
Registered: Aug 2004
Location: Canada
Distribution: Debian
Posts: 87

Rep: Reputation: 15
Looking a bit deeper ...

You can easily get the source code:
apt-get install hostap-source

Source file should appear in /usr/src directory.
Unpack it, as root of course:
tar zxvf hostap-driver_0.4.1.orig.tar.gz
In the new folder is the driver source code for cards with Prism chipsets. You will have to build a module from this code against your current kernel, for which you will also need the source code:
apt-get install kernel-source-$(uname -r)

Isn't it great being able to download all this source code?

Again, a new kernel-source folder will appear in /usr/src.

Make a sym link to it with this command:
ln -s /usr/src/kernel-source-WHATEVER /usr/src/linux

You will also need various tools for compiling:
binutils, e2fsprogs, gcc, make, module-init-tools, procps, util-linux, all available via APT.

I don't know if your card is PCI , USB or PCMCIA, but a stock Debian kernel has support for all these interfaces. They suggest you run a "configured" kernel but I haven't had any problems building drivers against stock kernel source. YMMV.

But, you will need to build the drivers. Now, goto driver source folder, open a root terminal and
make config, make all and make install.

Hopefully, your build was successful. You can load the drivers with
modprobe prism2_pci, prism2_usb or prism2_plx/prism2_cs, depending on the interface. Failing at that, reboot and let Discover try to detect and load it. Lastly, you can always add prism2_pci, prism2_usb, prism2_plx or prism2_cs to your /etc/modules file and they will be automatically loaded at boot time. This will sub for editing the rc.local file, which Debian doesn't have anyway.

Use something easy like KWiFiManager to setup your connection.

Good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dlink DWL-122 cjnodell Linux - Hardware 3 07-26-2005 01:27 AM
dwl-122 nin881 Slackware 10 05-30-2005 05:05 PM
dwl-122 Patbuzz86 Linux - Wireless Networking 2 08-02-2004 04:59 PM
DWL-122 + Mandrake9.2 cirosoto Mandriva 2 08-02-2004 04:28 PM
DWL-122 Help otciii Linux - Wireless Networking 1 08-02-2004 04:26 PM


All times are GMT -5. The time now is 02:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration