Networking Forums

Networking Forums > Computer Networking > Linux Networking > Cheap And Easy Wireless Option For Linux

Reply
Thread Tools Display Modes

Cheap And Easy Wireless Option For Linux

 
 
NewsGroup Browser
Guest
Posts: n/a

 
      11-16-2004, 04:29 AM
Just thought I'd post due to I worked for weeks trying to get differnent
wireless cards to work and trying linux-wlan, different drivers, kernel
rebuilds, and all to no avail. I finally found a quick, cheap and easy
way to get a D-Link 650 to work and so for it works fine with Fedora
3/2/1, Mandrake 10.1, Ubuntu and Damn Small Linux. Here is the low
down:

Here ya go:

1. Wireless Card: ($14 rebuilt card, mine was $22 with shipping)
http://www.tigerdirect.com/applicati...4000&CatId=367

2. NDISWrapper:
http://sourceforge.net/project/showf...ckage_id=99148

3. Realtek 8180 XP Windows Drivers:
http://www.realtek.com.tw/downloads/...x?Keyword=8180

4. Steps to install and get working.

- Insert Card
- Extract RealTek Drivers
- Install NDISWrapper (follow below instructions versus README because
of problems listed further below)
-- Extract NDISWrapper
-- make install
-- ndiswrapper -i /path to realtek driver's .inf
-- modprobe ndiswrapper (card should be lit up now)
-- ndiswrapper -m (to set ndiswrapper to boot as module at startup)
- Copy /etc/sysconfig/network-scripts/ifcfg-eth0 to
/etc/sysconfig/network-scripts/ifcfg-wlan0
- Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and set ONBOOT to "No"
versus "Yes" (if you leave it yes it causes default gw problems with
wlan0 and will cause wlan0 to loose connectivity upon ifup for wlan0
also)
- Edit /etc/sysconfig/network-scripts/ifcfg-wlan0 and change all the IP
settings to what you want wlan0 to be, leave ONBOOT "Yes", make sure
all other IP settings are correct. Change type to wireless versus
ethernet , and ADD to the end of file the following:

mode managed
essid whateveryours is
key "if you have WEP Key"

- ifdown eth0
- ifconfig wlan0 IPaddress, netmask 255.255.255.0 broadcast
192.168.1.255 (or 10 if thats what you have)
- route add default gw 192.168.?.? wlan0 (or 10. or whatever your gw is)
- if config wlan0 up
- iwconfig wlan0 mode managed
- iwconfig wlan0 essid (whatever yours is)
- iwconfig wlan0 key (whatever yours is if you have WEP)

All should work now (or at least will when you reboot). I did find a
problem initially when I would set iwconf first and then ifconfig second
and then bring card up. It would null out the original iwconfig and I
would have to redo it and reset the default gw. You can piddle with it
initally, but the ifcfg-wlan0 and ndiswrapper module will cause card to
work correctly upon reboot as long as you have eth0 disabled at boot.

I also found the KWifiManager (Comes installed Core 3, but can be
downloaded) works pretty good for checking connections or scanning for
networks.

If ya decide to get one, Enjoy!

After actually getting this to work, it was pretty easy and a relatively
cheap way of getting it to work.

Again, Hope it works for ya as easy as it did for me.

Judge Stone

"We know your in there, so come out with your hands up and surrender the
Orangatang!"
Judd Nelson, "Jay And Silent Bob Strikes Back"!

 
Reply With Quote
 
 
 
 
johnny bobby bee
Guest
Posts: n/a

 
      11-16-2004, 06:42 AM
NewsGroup Browser wrote:

> 3. Realtek 8180 XP Windows Drivers:
> http://www.realtek.com.tw/downloads/...x?Keyword=8180


I see Linux/Unix drivers for the Realtek on that same page. why did you
use the XP drivers and NDISWrapper?


--
I'm Johnny Bobby Bee, and I approved this message.

remove '.eh' to email
 
Reply With Quote
 
Timothy Murphy
Guest
Posts: n/a

 
      11-16-2004, 11:52 AM
NewsGroup Browser wrote:

> 4. Steps to install and get working.
>
> - Insert Card
> - Extract RealTek Drivers
> - Install NDISWrapper (follow below instructions versus README because
> of problems listed further below)
> -- Extract NDISWrapper
> -- make install
> -- ndiswrapper -i /path to realtek driver's .inf
> -- modprobe ndiswrapper (card should be lit up now)
> -- ndiswrapper -m (to set ndiswrapper to boot as module at startup)
> - Copy /etc/sysconfig/network-scripts/ifcfg-eth0 to
> /etc/sysconfig/network-scripts/ifcfg-wlan0
> - Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and set ONBOOT to "No"
> versus "Yes" (if you leave it yes it causes default gw problems with
> wlan0 and will cause wlan0 to loose connectivity upon ifup for wlan0
> also)
> - Edit /etc/sysconfig/network-scripts/ifcfg-wlan0 and change all the IP
> settings to what you want wlan0 to be, leave ONBOOT "Yes", make sure
> all other IP settings are correct. Change type to wireless versus
> ethernet , and ADD to the end of file the following:
>
> mode managed
> essid whateveryours is
> key "if you have WEP Key"
>
> - ifdown eth0
> - ifconfig wlan0 IPaddress, netmask 255.255.255.0 broadcast
> 192.168.1.255 (or 10 if thats what you have)
> - route add default gw 192.168.?.? wlan0 (or 10. or whatever your gw is)
> - if config wlan0 up
> - iwconfig wlan0 mode managed
> - iwconfig wlan0 essid (whatever yours is)
> - iwconfig wlan0 key (whatever yours is if you have WEP)


Surely it is much easier to use a card supported by the Linux kernel
and the standard WiFi driver, orinoco_cs.
There are dozens of such cards.
Why make life difficult for yourself.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
Hank Barta
Guest
Posts: n/a

 
      11-20-2004, 11:37 PM
johnny bobby bee <(E-Mail Removed)> wrote:
> NewsGroup Browser wrote:
>
>> 3. Realtek 8180 XP Windows Drivers:
>> http://www.realtek.com.tw/downloads/...x?Keyword=8180

>
> I see Linux/Unix drivers for the Realtek on that same page. why did you
> use the XP drivers and NDISWrapper?


Maybe so he can use a kernel more modern than 2.4.18. I tried using
those drivers with later 2.4 kernels and wound up going back to
2.4.18 to get it to work.

I like the other person's suggestion of choosing a card with Linux
support. Unfortunately that is not always easy. The same model number
can use a variety of chips and you may wind up with something like
the 8180 without intending to, like me.

--
Hank Barta
beautiful sunny Winfield, Illinois
 
Reply With Quote
 
Bob Tennent
Guest
Posts: n/a

 
      11-21-2004, 02:33 AM
On Sun, 21 Nov 2004 00:37:46 GMT, Hank Barta wrote:

> I like the other person's suggestion of choosing a card with Linux
> support. Unfortunately that is not always easy. The same model number
> can use a variety of chips and you may wind up with something like
> the 8180 without intending to, like me.


My suggestion is to use a wireless *ethernet* adapter; then you don't
need to worry about drivers.

Bob T.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find easy what you need for Linux waske98@gmail.com Linux Networking 0 03-24-2009 04:33 PM
Find easy what you need for Linux waske98@gmail.com Linux Networking 0 01-27-2008 05:57 PM
I'm looking for cheap, bulletproof, simple, and easy danny burstein Wireless Internet 5 09-19-2007 01:23 PM
Belkin f5d62314 wifi route weak singal what is a cheap easy to increase range DJboutit Wireless Internet 0 12-29-2005 05:56 AM
Easy/cheap short range 802.11a point-to-point bridging? MonkeyOmen Wireless Internet 0 07-28-2004 06:38 PM



1 2 3 4 5 6 7 8 9 10 11