Okay so it’s taken a while to get this working, but it finally is! If you need to get an Abit AirPace Wi-Fi card working in 64-bit Ubuntu server (with no gui tools) this is how you do it.
First you need to install ndiswrapper:
sudo aptitude install ndiswrapper-utils sudo aptitude install ndiswrapper-utils-1.9 sudo aptitude install ndisgtk
Now you need to download the actual 64-bit driver. As there is no official one I’ve used this one: ar5007eg-64-0.2.tar.gz
Extract the drivers to a folder that won’t get deleted. I’ve put mine in /etc/wireless_driver
Now install the driver:
sudo ndiswrapper -i net5211.inf sudo ndiswrapper -m
If you do a sudo iwconfig you should see the interface now listed.
Now you need to install the following tools:
sudo aptitude install wireless-tools sudo aptitude install wpasupplicant
The next step will be to associate the card with your AP. I’m using WPA2 on mine so this is how I did mine. The first thing you need to do is get your SSID password converted into hex.
sudo wpa_passphrase "SSID" "Passphrase"
Substitute SSID and Passphrase for your actual SSID and password (Ignore the inverted commas themselves). The output will give you a long hex password like so:
psk=blahblahblahwhatever
save this password as you’ll need it in just a bit. N.B. Try not to have a SSID with spaces or a password with special characters. If you do then enter the password with a break character first. The backslash is the break character. This will need to be placed in front of every special character you have when entering your password
Edit your interfaces startup file like so:
sudo vi /etc/network/interfaces
This is my config, you’ll need to change the SSID and Passphrase to your own
# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp #The wireless interface auto wlan0 iface wlan0 inet dhcp wpa-ssid "SSID" wpa-ap-scan 1 wpa-key-mgmt WPA-PSK wpa-psk "Passphrase we created earlier"
Now we just need to restart the network and everything should be ok:
sudo /etc/init.d/networking restart
You should see the interface in both ifconfig and iwconfig
So now the case and 4GB ram I ordered has arrived. It’s pretty late now and I’m off tomorrow so I’ll be building this box tomorrow. I’ve got to say, these RAM chips are the shortest I’ve seen yet excluding SODIMM’s. I almost thought I had the wrong type.
Tomorrow I’ll put it together and install CentOS 5.3 I then have the fun of trying to get this wireless card working and then dynamips and dynagen installed and working.
I’ll also spend a bit of time configuring dynamips to run over all 4 CPU’s. I wonder how it’ll all run.
I’ll update this post as well with a few pictures tomorrow
*tomorrow*
I didn’t want to create a new post just for this. I’ve put it al together and thought I had a spare video card lying around. Turns out I don’t. I just need it so I can install linux, it’ll come out straight after. I’ve ordered an old ati x300 on ebay, let’s hope it gets here quick!
I ordered from 2 seperate companies so I have to wait for both to deliver. One of them is still waiting on stock :(
I’ve just received my motherboard, the CPU and a Wi-Fi card which I forgot to mention earlier. This motherboard has 3 PCI slots which I want to upgrade later to have 3 Quad NIC’s. Because of this I wanted a Wi-Fi card that fit into my PCI-Express 1X slot. This particular Wi-Fi card fits the bill. It does not however have a Linux driver, so that’ll be fun and games when I get to that part.
Comments