Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-22-2005, 09:40 AM   #1
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian
Posts: 133

Rep: Reputation: 18
Debian netinst with Ralink rt2500 (not on CD)

I have a Ralink wireless network card, which we use at our school for our shared internet. I wish to reinstall Debian, but i can't think of any ways to install it with my ralink wlan card. Can i change CD trough the install and install a prebuilded rt2500 driver module?

Anyone who have tried the same or have any ideas how?

In Debian stable I seem to remember that you could choose your network card from a list or load it externally trough some media, CD-ROM, floppy, etc. but I can't find this menu on the official Debian "Sarge" netinstall ?

Thanks in advance!
Old 05-22-2005, 12:54 PM   #2
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
ndiswrapper is your solution

I'd recommend to use the ndiswrapper with this chipset.

I have tried in about 5 different distributions. The vendor's driver does not work correctly. ndiswrapper has worked every time. The only difference between the distros is the way you specify to start the card at start-up time. Unfortulatelly debian install did not identify my HDD correctly and I haven't been able to try it. but I have tried in other debian based distros (e.g. knoppix)

The compilation has always been clean and easy. The instructions on the ndiswrapper project installation page are clear. Just follow them step by stem regardless of your distribution:

Here is my entry in the Hardware compatibility list

RT2500 chipset

sometimes the link to the project page is slow, so here is it in a nutshell

Download the lates version of the ndiswrapper source .
Get the windows drivers for your card (you need the .inf and .sys files). You can find them in the cd provided by the vendor or on your vendor's web site. Make sure that both files use the same case (e.g. both RT2500 or both rt2500)

(If you need the source and the drivers let me know and I can upload them to a shared location. I am using the same card)

then do the following as root

tar -xvzf ndiswrapper-xxx.tar.gz   <--- xxx is whatever version you downloaded

cd ndiswrapper-xxx            <- xxx is whatever version you downloaded

make && make install

cp ~/rt2500.* ./              <-- assuming that you copied the drivers to your home folder

ndiswrapper -i rt2500.inf 

ndiswrapper -l              <--- it is a lower case L. this command will show you if the driver has installed correctly

modprobe ndiswrapper

iwconfig wlan0 mode Managed   <--- or whatever mode your network is using
iwconfig wlan0 key restricted XXXXXXXX  <-- the hexadecimal of your network key in case your network is restricted
iwconfig wlan0 essid aaaaaa  <--- the essid of your network
ifconfig wlan0 up
dhclient  wlan0        <-- different distros have different utilities for the dhcp discovery, use the one appropriate for your distro
ndiswrapper -m    <---- writes the configuration for modprobe
You should be able to use your network now.

The next step is to configure it to start-up at boot time. As I said before different distros do it differently. I' ve used system-config-network in some in some others I've had to edit some /etc files.

Last edited by rarsa; 05-23-2005 at 12:49 AM.
Old 05-22-2005, 12:58 PM   #3
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian
Posts: 133

Original Poster
Rep: Reputation: 18
What I mean is how to install Debian with a netinstall CD with a wireless rt2500 based card.

But thanks for the information, i've had some problems with the rt2500 driver and I will try ndiswrapper after i've reinstalled Debian.
Old 05-22-2005, 01:07 PM   #4
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
Oh, sorry I missundesrtood

I have had that same question for all other distros.

My conclussion up to now has been that if the driver is not included in the installtion CD you cannot do it. Of course you could hack the installation CD to include the ndiswrapper, but I wonder if it's worth the time.

My impression is that distros do not include the ndiswrapper because

a) It is not the 'linux' way of doing things
b) You would need your windows drivers available at install time
c) They dispise vendors that don't provide linux drivers
c) all of the above

So, my alternative has been up to now.

a) Put the computer and the Router nearby so I can use a wired connection using the seccond Lan card
b) Do a full CD install

But you already know that. I am just adding it for other people that may come across this post


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
wireless; ralink; rt2500; SuSE 9.2; Help jimbrook Linux - Wireless Networking 5 02-15-2006 02:01 PM
Help with Ralink RT2500 2cubed Linux - Wireless Networking 7 10-25-2005 03:54 PM
RaLink RT2500 fails to get IP address sw67 Linux - Hardware 1 07-22-2005 10:33 AM
Ralink rt2500 wirelesscard Jaster Linux - Wireless Networking 8 03-03-2005 08:30 PM
ralink rt2500 Jaster Debian 1 12-16-2004 07:05 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:17 PM.

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