LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 09-05-2003, 12:26 AM   #1
salvarad
LQ Newbie
 
Registered: Sep 2003
Distribution: mandrake 9.1
Posts: 5

Rep: Reputation: 0
DLink DWL 122 wifi usb drivers?


hi all... im VERY new to linux... i just up and decided to get an old kick around box and put mandrake 9.1 on it, so be gentle with the answers

my problem is i have a dlink dwl 122 usb wifi adapter that im trying to make work; unfortunately dlink has no available drivers for linux, all i have to go on are win and os x sets. it was a long shot; but the osx drivers didnt work [as expected]; anyone have any ideas on configuring and getting this card to work? like i said im very new to the linux world, and looking to learn while im at it!
 
Old 10-03-2003, 03:14 AM   #2
td_miles
Member
 
Registered: Sep 2003
Location: Australia
Distribution: RedHat
Posts: 51

Rep: Reputation: 15
According to:

http://www.linux-wlan.org/docs/wlan_adapters.html

this card uses a Prism chipset. You could try the prism driver, but other than that, I have NO idea. You could also try looking for any info on other people using USB wif devices.
 
Old 11-27-2003, 02:04 AM   #3
woodyboyd
LQ Newbie
 
Registered: Nov 2003
Posts: 7

Rep: Reputation: 0
Salvarad,

We're in the same boat (novice Linux users, MDK 9.1, DWL-122, etc)... have you had success? If so, please feel free to post.

Meanwhile, there is a link to a private user's group which cites a vendor and program which will load drivers for unsupported chipsets (free to try 30 days, $20 to buy). Unfortunately, I wish to preserve the privacy of the postee since my inquiry was as a non-member. (I received a subsequent nasty-gram for the errant act.)

Should a response appear soon, I will post what I can henceforth.


Regards.
 
Old 12-01-2003, 01:52 AM   #4
salvarad
LQ Newbie
 
Registered: Sep 2003
Distribution: mandrake 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy nope.. none yet

sorry i havent kept up on the forum much yall!

i tried running the prism chipset generic drivers... had some luck. i was catching a signal, and the hardware was being recognized and operatin back and forth.. .llink lights and power lights were up and going... but i just couldnt get the software to work with it. so i pushed it aside for now, plan on doing more testing when i hit semester break after finals week here in two weeks... look for more info then... err... i hope.!
 
Old 12-25-2003, 05:38 PM   #5
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
I've got it working and posted a quick HOWTO in my blog:

http://julian.coccia.com/article-53.html
 
Old 12-27-2003, 05:16 PM   #6
morell
LQ Newbie
 
Registered: Oct 2003
Location: Russellville AR
Distribution: RedHat 9.0
Posts: 3

Rep: Reputation: 0
Julian's howto is excellent. The last two lines, however, may
require some modification, depending on your local situation.
The IP addresses mentioned in these lines should be taken
as examples only. Once the card has been recognized, it is possible
that the wireless broadband router may automatically assign it
an IP address. Use that address in the 'ifconfig' line and the IP
address for your wireless router in the 'route' and everything works
great. You'll have to use whatever interface your router provides
to discover those addresses.
 
Old 12-27-2003, 08:45 PM   #7
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
Thanks for your comments. I added a quick note about the IP addresses.
 
Old 01-12-2004, 03:13 PM   #8
Arthaus
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 3

Rep: Reputation: 0
First, I'd like to apologize first for being a total newb, as I started using linux for the first time as of, oh, 3 days ago.

Anyway, I believe I followed Julian's howto to the letter as far as getting the DWL-122 working is concerned, however, once I compiled my new kernel and restarted, (I'm running Mandrake 9.2) KDE was unable to boot properly. It now stops right at the beginning with the error message: "No write access to $HOME directory".

I did a search on the net to see if I could fix this myself - I dug up the idea that maybe my permissions were off, so I opened up all the permissions on my root and home directory, but still, no success.

Any help would be greatly appreciated - and be gentle, please.
 
Old 01-13-2004, 01:37 AM   #9
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
Hey! You should be proud of yourself for being a "newbie". That means you have decided to give linux a try and I personally give you a lot of credit for that.

As far as your problem... I can't think of a reason why KDE will not boot after recompiling a kernel. Even worst, I find no explanation to that error you are getting.

Let me ask you a few questions so that I can understand your problem better:

Can you log into GNOME or another desktop interface ?
Any details on your .xsession-errors file (in your user folder) ?
Any relevant info on your "dmesg" output ?

Please let me know.
Julian

Last edited by juliancoccia; 01-13-2004 at 01:38 AM.
 
Old 02-11-2004, 02:05 PM   #10
dharley
LQ Newbie
 
Registered: Feb 2004
Distribution: SuSE 9.0
Posts: 6

Rep: Reputation: 0
I have both an internal network card and the wireless DWL-122 and am running Slackware 9.1 (2.4.22). I've followed Julian's instructions, with regard to the driver installation and wlan configuration files. I also made the changes to rc.local that are suggested in the README file on the linux-wlan ftp server so that the driver loads during boot. While booting, the driver (prism_usb.0: 0.2.1-pre-17) is loaded properly and the following message appears just prior to login

message=lnxreq_ifstate
ifstate=enable
resultcode=success
message=lnxreq_autojoin
ssid='linksys'
authtype=opensystem
resultcode=success

The last 2 lines of dmesg read

Prism2 card SN: 000000000000
linkstatus=CONNECTED

Being somewhat of a "newbie", I'm not sure if this suggests that everything should work. Also, do I need to define the network device (eth0 and wlan0) in the network settings? I use both of the network devices, depending on whether I'm at work or at home. In other words, will the system try both devices for a connection and go with the "live" one on its own?
 
Old 02-11-2004, 02:47 PM   #11
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
Well, that pretty much means you are good to go. Just make sure your /etc/wlan/ files are configured correctly for your access point. If that is taken care of, all you need is to configure your wlan0 interface for dhcp or fixed IP depending on your configuration.

You can also run dhclient wlan0 manually from your root console.
 
Old 02-11-2004, 11:26 PM   #12
dharley
LQ Newbie
 
Registered: Feb 2004
Distribution: SuSE 9.0
Posts: 6

Rep: Reputation: 0
Firstly, thank you for the follow-up Julian. When I tried 'dhclient wlan0', I received the response 'wlan0: not found'. I'm puzzled because wlan0 shows up for both ifconfig and iwconfig. Do I have to designate wlan0 in a particular dhcp configuration file?
 
Old 02-11-2004, 11:50 PM   #13
juliancoccia
Member
 
Registered: Dec 2003
Posts: 51

Rep: Reputation: 15
According to man dhclient:

Quote:
It is also possible to specify interfaces by name in the
dhclient.conf(5) file. If interfaces are specified in this way, then
he client will only configure interfaces that are either specified in
the configuration file or on the command line, and will ignore all
other interfaces.
If you have a dhclient.conf file just rename it and try again. You can also use dhcpd:
/sbin/dhcpd wlan0
 
Old 02-12-2004, 12:12 AM   #14
dharley
LQ Newbie
 
Registered: Feb 2004
Distribution: SuSE 9.0
Posts: 6

Rep: Reputation: 0
Adding to my previous post...

Prior to the response of 'wlan0: not found', the response is...

# dhclient wlan0
...header stuff...

Listening on Socket/wlan0
Sending on Socket/wlan0

DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

What is this telling me?
 
Old 02-12-2004, 11:24 AM   #15
dharley
LQ Newbie
 
Registered: Feb 2004
Distribution: SuSE 9.0
Posts: 6

Rep: Reputation: 0
What I probably should be asking is if this response indicates that there's simply an issue with my wlancfg-xxxxx settings. When trying out 'dhcpd wlan0', the response is...

...header...

** You must add a ddns-update-style statement to /etc/dhcpd.conf.
To get the same behaviour as in 3.0b2pl11 and previous
versions, add a line that says "ddns-update-style ad-hoc;"
Please read the dhcpd.conf manual page for more information. **

I've looked over the man page, but the only thing I'm getting out of it is confusion.
Having read through as many mail listings as I could find on the web, it seems as if I'm having to work a little harder at getting my DWL-122 up-and-running than others. I followed recommended installation procedures to the "T" and am still unable to get things work...argh! Anyway, enough with the pity party. Any additional suggestions would be warmly received. Thanks in advance for any assistance.

Harley
 
  


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 02:27 AM
DWL-122, need to get drivers and install.... dustynus Linux - Wireless Networking 3 01-08-2005 08:20 PM
DLink DWL-122 Setup in Mandrake 10.0 TheProducer Linux - Hardware 0 10-22-2004 04:13 AM
Linux Drivers for my network card (DWL-122) testforechozero Linux - Hardware 2 08-02-2004 05:10 PM
DLInk DWL-122 gravybt Linux - Wireless Networking 1 12-25-2003 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration