hey gang:
here's some info on getting a cheap wireless card working with ubuntu...
cheap ($14.95) wireless G networking card, $1.99 shipping through the
end of the month (enter SHIP4LESS in the red promotional code field
during checkout)
http://www.geeks.com/details.asp?invtid=MS-6834-BULK&cat=NET
no driver cd provided, card & rubber ducky antenna only
supported in k/ubuntu 5.10 & 6.10:
identified as device ra0, uses the rt2500 module, it was automatically
loaded
disclaimer: i haven't tried using wep or wpa with this card. i don't
know if ms windows would recognize this card without a driver.
commands issued & comments:
lspci
# find what chipset the card uses
lspci -n
# find out what the manufacturer & product ids are for the card
iwconfig
# check to see that the card is recognized. note the ra0 entry
sudo iwconfig ra0 essid bozo channel 2
# set the essid and channel of the wireless connection
iwconfig
#check to see that the essid & channel were set
sudo dhclient -i ra0
# get a dhcp address for the wireless card from my router
ping bbc.com
# test name resolution and internet connectivity. it works!
sudo vi /etc/network/interfaces
# add the following fragment to get it to associate with the access point
# and come up with a static address on boot up
# Wireless... (this section may or may not already exist)
allow-hotplug ra0
iface ra0 inet static
wireless-essid bozo
wireless-mode managed
wireless-channel 2
address 192.168.1.22
netmask 255.255.255.0
gateway 192.168.1.1
auto ra0
command output:
jhauser@odin:~$ lspci
000:00:0e.0 Network controller: RaLink Ralink RT2500 802.11 Cardbus
Reference Card (rev 01)
jhauser@odin:~$ lspci -n
0000:00:0e.0 0280: 1814:0201 (rev 01)
# you can google for the 1814:0201 mfg/product id pair
jhauser@odin:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
ra0 RT2500 Wireless ESSID:""
Mode:Managed Frequency=2.412 GHz Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Link Quality=0/100 Signal level=-120 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.
jhauser@odin:~$ sudo iwconfig ra0 essid bozo channel 2
Password:
jhauser@odin:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
ra0 RT2500 Wireless ESSID:"bozo"
Mode:Managed Frequency=2.417 GHz Access Point: 00:0F:66:0C:8D:A7
Bit Rate:54 Mb/s
RTS thr:off Fragment thr:off
Link Quality=90/100 Signal level=-38 dBm Noise level:-192 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.
jhauser@odin:~$ sudo dhclient ra0
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/ra0/00:13:d3:6c:43:40
Sending on LPF/ra0/00:13:d3:6c:43:40
Sending on Socket/fallback
DHCPREQUEST on ra0 to 255.255.255.255 port 67
DHCPREQUEST on ra0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.2
bound to 192.168.1.242 -- renewal in 36641 seconds.
jhauser@odin:~$ ping bbc.com
PING bbc.com (212.58.240.110) 56(84) bytes of data.
64 bytes from www10.thny.bbc.co.uk (212.58.240.110): icmp_seq=1 ttl=243
time=171 ms
64 bytes from www10.thny.bbc.co.uk (212.58.240.110): icmp_seq=2 ttl=243
time=174 ms
64 bytes from www10.thny.bbc.co.uk (212.58.240.110): icmp_seq=3 ttl=243
time=169 ms
--- bbc.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 169.045/171.448/174.241/2.165 ms
|