LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 08-07-2004, 06:46 PM   #1
geninblaze
LQ Newbie
 
Registered: Jul 2004
Location: Konoha
Distribution: Fedora Core 2
Posts: 6

Rep: Reputation: 0
Wireless D-link DWL-G120 USB Adapter Prism54 Driver installation?? howto please!!


Ok. I run fedora core 2. I'm trying to install a D-link DWL-G120 wireless g USB hub. I run a dual boot and it works for windows. Now I dont know how to install in linux.


I did the following:

a.)
Code:
mkdir -p /usr/lib/hotplug/firmware


b.)Download this file
prism54.org/~mcgrof/firmware/1.0.4.3.arm
and rename it to isl3890 and put it in the newly created firmware directory.

c.)
Code:
cd /etc/hotplug
wget prism54.org/~hvr/firmware.agent
chmod 700 firmware.agent
chown 0:0 firmware.agent


d.)
edit /etc/modprobe.conf
add line:
alias eth1 islpci_cb



My problem starts here. The howto I got tells me to

e.)Go to your Network Device Control, add a new wireless network, and set it to "Managed Mode" and to "Automatically Set DNS". Also, make sure that you enter the WEP key, if you have one with a 0x before it. Then activate, reboot, log in as a regular user and voila...Wi-Fi by Prism.

I dont have any idea how to add the wireless network. On FC2 it in the Network Device Control I add a new wireless device, and it gives a list of ethernet adapters. Im trying to install wireless. I dont get it. Then it asks for either eth01, eth02, etc. Someone tell me which to choose or give me instructions from the point I'm at. Im a total


Thanks


PS *sorry, I cant post links*
 
Old 08-07-2004, 08:03 PM   #2
littlemidget
Member
 
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171

Rep: Reputation: 30
I think you would have to add that info to /etc/network/interfaces.

I have a wlan here, configured as eth1. This is what my interfaces-file tells the comp about eth1:

---

# eth1 = wlan interface
auto eth1
iface eth1 inet dhcp
address <internal ip>
netmask <netmask>
gateway <gateway>
up iwconfig eth1 essid <essid-name>
up iwconfig eth1 key <my key>

---

I am not sure if this will solve your problem, but If you need more help, let me know and I'll see what I can do :-)
 
Old 08-08-2004, 08:37 AM   #3
geninblaze
LQ Newbie
 
Registered: Jul 2004
Location: Konoha
Distribution: Fedora Core 2
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks

thanks but I still need more help. Is that the stuff I should add and to what file? After that, I jus restart my computer and it should work?
 
Old 08-08-2004, 08:39 AM   #4
littlemidget
Member
 
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171

Rep: Reputation: 30
Re: Thanks

Quote:
Originally posted by geninblaze
thanks but I still need more help. Is that the stuff I should add and to what file? After that, I jus restart my computer and it should work?
Try to add that to /etc/network/interfaces, save - reboot and see what happens. It should work, as long as you enter the essid, key and the ip's correctly :-)
 
Old 08-08-2004, 08:16 PM   #5
geninblaze
LQ Newbie
 
Registered: Jul 2004
Location: Konoha
Distribution: Fedora Core 2
Posts: 6

Original Poster
Rep: Reputation: 0
Problem, problem.

alias eth1 islpci_cb

I added that to modprobe. islPCI....that sounds like pci. Doesnt that mean it looks for a pci card? Mine is usb...

There isnt any etc/network/interfaces file or anything

Last edited by geninblaze; 08-08-2004 at 08:47 PM.
 
Old 09-12-2004, 11:05 AM   #6
Roberto De Leo
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Just in case it may be useful, I found a way to make the DWL-G120 USB Adapter work under Linux.
Since the prism54-usb package, that should provide a native linux driver, is still not working, you have to use the ndiswrapper module (http://ndiswrapper.sourceforge.net/), that uses somehow the winblows drivers to communicate with the device :-)
Since ndiswrapper does not seem still able to set up everything correctly for this card you have to follow these steps (just a rough sketch, add details to taste :-)
0) install the DWL-G120 in your win partition
1) install ndiswrapper in your Linux installation
2) find the prisma02.inf file under your win installation and install the DWL-G120 win drivers in Linux with
ndiswrapper -i prisma02.inf
This will create a /etc/ndiswrapper/prisma02/ directory containing the two files
2001:3701.conf & prisma02.inf
3) since ndiswrapper is not able to find them, add by hand the files prisma02.sys and prismapi.dll to the /etc/ndiswrapper/prisma02/ dir (you'll find the files somewhere in the win partition if you installed the win drivers). Just to be sure, I also created a symbolic link to these two files after capitalizing their names, so that at the end the /etc/ndiswrapper/prisma02/ contains the following files:

2001:3701.conf
PRISMA02.sys -> prisma02.sys
PRISMAPI.dll -> prismapi.dll
prisma02.inf
prisma02.sys
prismapi.dll

4) load the ndiswrapper module
5) plug your DWL-G120 card in yr PC.
Most likely the device will be called wlan0 (verify this with 'iwconfig').
Now you can configure the card with ifconfig and iwconfig or whatever else you use, works perfectly in my slackware 9.1 box :-)
 
Old 12-18-2004, 10:37 AM   #7
xzqt1234
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Hi,

i am a newbie to linux and testing out knoppix. I would like to use ndiswraper to connect to my dwl-g120 usb adapter. I could not find the prism driver files in my win xp installation nor the dlink cd. I have searched in vain on the web. appreciate if someone can post the driver files here or sent to me at xzqt1234@hotmail.com. Alternatively, pls direct me to a website that I can download the file. Much appreciated !

The files needed are:
PRISMA02.sys
PRISMAPI.dll prisma02.inf
prisma02.sys
prismapi.dll
 
Old 12-20-2004, 06:39 AM   #8
Roberto De Leo
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
If you have a dwl-g120 working on your winxp partition, then you must have those drivers installed somewhere.
Assuming your windows partition is mounted under Linux on /winXP , you can find the drivers e.g. by using the following command:
find /winXP -iname prisma02.sys
 
Old 12-20-2004, 08:57 AM   #9
xzqt1234
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
A search of my C: drive only find the following
Prismapi.dll
prisme5.dll
prismsvr
prisma02

There is no prisma02.inf. my driver version is 3.0.18.
 
Old 12-22-2004, 01:01 PM   #10
megalex
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
download the drivers from the dlink website and use unshield
to extract the .cab files

I did everything and im getting an error:

ndiswrapper (NdisWriteErrorLogEntry:263): log: C000138A, length: 3 (c0000001)
Dec 22 02:52:27 linux kernel: ndiswrapper (ndis_init_one_usb:1702): Windows driver couldn't initialize the device (C0010006)
Dec 22 02:52:27 linux kernel: prisma02: probe of 5-8:1.0 failed with error -22

the device does not turn on at all.. is there an option in the config file to turn on the DWL-G120 ?
can someone post their config file here?


The faq said to diable acpi.. but when i do.. usb does not work at all..!!

Last edited by megalex; 12-22-2004 at 01:02 PM.
 
Old 12-22-2004, 01:34 PM   #11
Roberto De Leo
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
> There is no prisma02.inf. my driver version is 3.0.18.

Ok, then try to download this tarball:
http://nehwon.homeip.net/~peggish/prisma02.tgz
It contains all files of my /etc/ndiswrapper/prisma02/ dir, just untar it inside your /etc/ndiswrapper/ dir and let me know if now you can see your DWL-G120 card!

> I did everything and im getting an error:

hmm... maybe we don't have the same hw: these d-link cards vary a lot from release to release even though their name is the same. The card I own is the hw release B1.
 
Old 12-30-2004, 11:18 PM   #12
xzqt1234
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Thanks for the prisma02 driver!

I tried installing ndiswrapper on Lindows and it hit some unresolved symbolic links.

Next I tried knoppix live CD which has ndiswrapper by default but knoppix complian that the driver cannot see my usb adapter.

my dwl-g120 is Rev B not sure if uses the same driver.
 
Old 01-02-2005, 03:13 PM   #13
wITTus
LQ Newbie
 
Registered: Jan 2005
Location: Mahajanga, Madagascar
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
Talking

Quote:
Just in case it may be useful, I found a way to make the DWL-G120 USB Adapter work under Linux.
Boy, you've made my day!
I'm @ Gentoo right now and tried a lot before - without success.
With your instructions it took me just a few minutes to get my "DWLG120EU.B2" running.

Code:
emerge ndiswrapper
ndiswrapper -i $inf-file
cp $rest-of-files /etc/ndiswrapper/prisma02/
modules-update
modprobe ndiswrapper
Online! Too easy..

Thanks a lot!

- wITTus

Last edited by wITTus; 01-02-2005 at 03:17 PM.
 
Old 05-01-2006, 12:11 AM   #14
rewtedesco
Member
 
Registered: Oct 2005
Location: Massachusetts
Distribution: Suse 10.0 /XP/ FC5 & 6
Posts: 93

Rep: Reputation: 16
So I also need a .dll ? Oh darn.

That's a bit of a problem: I have a D-link DWL-G122 Vers A2, and it came
with an install disk for windows and XP. There are files prisma02.inf .sys and .cat
in there, in fact there is an additional prisma02.sys file in the XP subdirectory, which
is by 2080 bytes bigger than the other one. (I got these things into ndiswrapper and
ndiswrapper into the modules, but nothing works as of yet.)

However, there is no .dll file on the disk, I suppose it's contained
in the install script (.exe file). And the problem is that
I can't grab it from the windows partition because that exact windows
partition I have utterly, relentlessly, and with an evil smirk on my face - destroyed,
so I have more space for Fedora 5.

Now what?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing the D-Link AirPlus G DWL-G122 Wireless USB Adapter on SuSE 9.2 SuSE starter Linux - Wireless Networking 28 02-05-2006 02:27 PM
D-Link DWL-G120 beyondreality Linux - Wireless Networking 10 06-27-2005 07:49 PM
Is it possible to install the D-Link DWL-G122 wireless USB adapter on SuSE 8.2 ? SuSE starter Linux - Hardware 2 03-05-2005 11:20 AM
D-Link DWL-G120 help! coasterfreak212 Linux - Wireless Networking 1 09-07-2004 02:48 AM
Red hat 9 and D-link dwl-g120: driver install problem geninblaze Linux - Wireless Networking 1 07-17-2004 12:10 PM


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

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