Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: ir on June 23, 2009, 05:21:28 PM

Title: tc and Atheros AR5007EG
Post by: ir on June 23, 2009, 05:21:28 PM
It is the wireless cad used in Ausu eeepc 704, any one knows
how to make it work? lsmod shows that modules ath5k is loaded,
ipwconfig shows the wlan0 but how to make it work form there..

-ir
Title: Re: tc and Atheros AR5007EG
Post by: ^thehatsrule^ on June 23, 2009, 11:22:58 PM
Try the wireless_tools extension
Title: Re: tc and Atheros AR5007EG
Post by: ir on June 25, 2009, 10:12:09 AM
Try the wireless_tools extension

I tried that and does not work. I also tried wicd.tce but it won't start? Any ideas?

-ir
Title: Re: tc and Atheros AR5007EG
Post by: ^thehatsrule^ on June 25, 2009, 04:48:09 PM
What did you try for each extension and what were the results?
Title: Re: tc and Atheros AR5007EG
Post by: daemonjax on June 25, 2009, 05:01:21 PM
I've always used ndiswrapper to use the windows xp drivers that come on the cd to get nic cards working in linux.
Title: Re: tc and Atheros AR5007EG
Post by: blazej on July 04, 2009, 09:34:35 AM
Hi, i've got it working using ndiswrapper with the windows driver from asus

(http://dlsvr01.asus.com/pub/ASUS/EeePC/EeePC4G(701)/Wireless_XP_071011.zip)

I had to install these extensions:

ndiswrapper.tczm
perl5.tczl
wireless_tools.tczl
wireless-2.6.29.1-tinycore.tczm

then extract ndis5x directory from Wireless_XP_071011.zip and put it somewhere
(mine is in /home/tc/ndis5x)

then:

sudo modprobe ndiswrapper
sudo ndiswrapper -i /home/tc/ndis5x/net5211.inf


sudo iwconfig wlan0 essid YOURESSID
sudo iwconfig wlan0 mode managed key WEPKEY (assuming you are using WEP authentication)

sudo ifconfig wlan0 up

udhcpc -i wlan0


Cheers
Blazej



UPDATE:
======

It seems that installing the ndiswrapper and windows drivers is not needed at all.

The Atheros card works fine with the ath5k driver from
wireless_2.6.29.1-tinycore (wireless_tools extension is also needed).
I installed ndiswrapper when trying to get the wifi working,
but it seems that the solution is simpler -  in the process of configuring the
network interface I say:

   sudo ifconfig wlan0 up

which is the key command that actually does the trick of bringing up the wifi interface ;D
The whole ndiswrapper part can be skipped.
Title: Re: tc and Atheros AR5007EG
Post by: Juanito on July 04, 2009, 09:50:01 AM
In case you missed it in the info file, you can add /etc/ndiswrapper to your backup and avoid having to load perl5 every time.
Title: Re: tc and Atheros AR5007EG
Post by: blazej on July 04, 2009, 10:25:00 AM
Hi Juanito,

I did not add the '/etc/ndiswrapper' to the backup. Now there is no such file there. I have PPI/TCE installation with persistent home directory.

Somehow the wireless modules are loaded automatically on startup now. I only need to repeat
the 'iwconfig/ifconfig/udhcpc' mantra.

I don't grasp the whole startup process yet..
Title: Re: tc and Atheros AR5007EG
Post by: roberts on July 04, 2009, 10:28:47 AM
/opt/bootlocal.sh is for system start up commands. It runs as root, no need for sudo.
It persists in your backup, or persistent opt.