View Single Post
  #4 (permalink)  
Old 08-19-2008, 05:17 PM
hippocrates hippocrates is offline
Junior Member
 
Join Date: Jul 2008
Posts: 26
Default

Wireless / Wired Network Access

Now, since a computer with no network access is about as useful as a wheelbarrow without a wheel, the first thing to do is get your network drivers installed. Wireless first:

The 901 uses a quite new Ralink b/g/n card which is rather unhelpfully identified by lspci as “Ralink Unknown Device 0781.” It is in fact a Ralink RT2860 chipset, and the necessary drivers may be found here:

Grab these and get them on your eee with a usb stick or via Xandros, and boot up to BT3. Copy the drivers to your /root folder for now.

Quote:
cd /root
tar xvjf 2008_0708_RT2860_Linux_STA_v1.7.0.0.tar.bz2
cd 2008_0708_RT2860_Linux_STA_v1.7.0.0
Now at this point you should really read README_STA, and definitely read iwpriv_usage.txt. These drivers are a bit unusual, in that many of the normal iwconfig commands don’t work, and you need to give iwpriv commands in specific orders in order to get the network to come up properly. You can also use a configuration file if your wireless configuration does not change much. I did not need to change anything in the makefile.

Run the following:

Quote:
make
make install
cd os/linux
insmod rt2860sta.ko
#Check it worked
Ifconfig –a
You should see a shiny new ra0 wireless interface listed along with your loopback. Some useful commands:

Quote:
# Bring up the interface
ifconfig ra0 up
# Look for wireless networks
iwpriv ra0 get_site_survey
# Connect to the strongest network that is not encrypted
iwpriv ra0 set SSID=””
Example WEP configuration script

Quote:
rmmod rt2860sta
modprobe rt2860sta

ifconfig ra0 down
ifconfig ra0 up

iwpriv ra0 get_site_survey
#iwpriv ra0 set SSID="" # Connect to stongest open AP

iwpriv ra0 set Channel=0
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=SHARED
iwpriv ra0 set EncrypType=WEP
iwpriv ra0 set DefaultKeyID=1
iwpriv ra0 set Key1="whatever"
iwpriv ra0 set SSID="some_ssid"

rm /etc/dhcpc/*

dhcpcd -h bt3 ra0

Example WPA configuration script

Quote:
rmmod rt2860sta
modprobe rt2860sta

ifconfig ra0 down
ifconfig ra0 up

iwpriv ra0 get_site_survey
#iwpriv ra0 set SSID="" # Connect to stongest open AP

#iwpriv ra0 set Channel=0
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode="WPAPSK"
iwpriv ra0 set EncrypType="AES"
iwpriv ra0 set SSID="some_ssed"
iwpriv ra0 set WPAPSK="wpa_key"

rm /etc/dhcpc/*

dhcpcd -h bt3 ra0
Clean up your root folder by deleting the 2008_0708_RT2860_Linux_STA_v1.7.0.0.tar.bz2 file and the 2008_0708_RT2860_Linux_STA_v1.7.0.0 folder.

Congratulations – you should now have wireless access. These drivers don’t support injection, but I imagine it’s only a matter of time… Once you get used to the finicky iwpriv setup, this is actually a great wireless card.

************************************************** *****************

Now for wired network access.

You want a the following drivers: http://dlsvr04.asus.com/pub/ASUS/mb/...nuxDrivers.zip

Using ark, extract the contents of L1e_Lan/l1e-l2e-linux-v1.0.0.4.rar to /root/ L1e_Lan/l1e-l2e-linux-v1.0.0.4

Quote:
cd /root/ l1e-l2e-linux-v1.0.0.4/src
make install
insmod /lib/modules/2.6.21.5/kernel/drivers/net/atl1e/atl1e.ko
You should now have an eth0 interface, ready for use.

This might be a good time to backup – the graphics drivers are a little more tricky.

Last edited by hippocrates; 08-20-2008 at 04:14 AM.
Reply With Quote