Posts Tagged ‘WLAN’

Acer Aspire One (ZG5), Xubuntu Hardy 8.04.1 and Atheros WLAN

17.08.2008

Short info how to get the Wireless card working in Xubuntu.

EDIT:Make sure you have build-essential installed! (Pointed out by friendly reader, thank you very much! My mistake that this was forgotten from the original post! Sorry for the possible trouble!)
$ sudo apt-get install build-essential

Get the latest madwifi pack http://snapshots.madwifi.org/madwifi-hal-0.10.5.6-current.tar.gz and save it to your home folder for example.

Disable current Atheros Hardware Access Layer (HAL) and Support for Atheros 802.11 wireless lan cards from Applications – System – Hardware Drivers and then reboot as requested

Make sure that ath_hal module is not loaded in the future:

$ sudo mcedit /etc/default/linux-restricted-modules-common

Add ath_hal between the quotation marks, for example DISABLED_MODULES=”ath_hal”

Unpack the downloaded tar.gz

$ tar xzvf madwifi-hal-yaddayadda.tar.gz

Cd into the new folder scripts under the new unpacked madwifi folder

Execute madwifi-unload and find-madwifi-modules.sh scripts
$ sudo ./madwifi-unload
$ sudo ./find-madwifi-modules.sh $(uname -r)

Drop one level back,
$ cd ..

and just to be sure, execute make clean to get rid of old crap
$ make clean

Then we check just to be sure that the Hardware Drivers does not show any drivers for Atheros wlan or HAL. If the window is clean, proceed to building the modules.

$ make
$ sudo make install
$ sudo modprobe ath_pci

Then, check that you have ath0 and wifi0 network adapters created, ath0 should be the first, wifi0 last. You might need to scroll back a bit
$ ifconfig

Now you should be able to see AP’s via panel’s network applet. You can also scan for wlan’s with command
$ sudo wlanconfig ath0 list scan

That’s it, happy networking! ;)

When you get updates/upgrades that change kernel in any way, your wireless card drivers won’t work anymore. Just do the whole thing all over again and you’re wireless again.

EDIT: If the driver is not loaded automatically, you can add ath_pci to /etc/modules
Here’s the commands:

$ sudo mcedit /etc/modules
add ath_pci into a new LAST line of the document, save the document and reboot.
If you don’t want to reboot right away, you can type

$ sudo modprobe ath_pci

This loads the module(driver) and you should have wlan up and running then. Just remember when you reboot the next time that you added the module to “loaded at startup” configuration.

Acer Aspire One (ZG5) hands on experience

14.08.2008

Hi everyone!

Got one of these little subnotebooks to my hands for a short period and here’s a small summary about it.

So far I’ve tried out the Linpus Linux preinstalled to the laptop very briefly, as it had to make way for Windows XP SP3. Yep, got that right and no, it was not pleasure. Pain would describe the experience more.

Biggest reason is the very slow SSD hard drive. It just isn’t even feasible with Windows. Not even if you try to use fast SD card on the storage expansion slot for swap. It’s quite easy to get devices work in XP, as Acer kindly provides drivers for the laptop.

So, that was covered fast. Then to the part that was more interesting for me personally. Xubuntu 8.04.1 in a very, very small laptop. I was a bit afraid how the keyboard would fit for me, as i’m almost two meters tall. So far, I’ve had at least decent experience with it.

Biggest problem with the laptop and Xubuntu is the wireless card. It won’t work “off the shelf” and little tweaking was needed. Installation instructions will be posted on a separate quide and I will also post a separate post about device technical spesifications and how I installed Xubuntu to it.

Everything else seems to work out of the box.

As the out of the box configuration has only 512Mb of memory, I did an memory upgrade also. Didn’t take any pictures though, so we’ll have to see if I come across dismantling the laptop again. Will take pictures then, I promise! Verbal instructions coming up in a separate post also.

After the upgrade, things seemed a bit faster, but that was when the XP was installed. Xubuntu was installed onto the laptop with the additional memory already in place.

Next things to try out include bluetooth connectivity to phone to gain mobile internet over GPRS/EDGE/3G and how well the battery lasts in usual work/everyday usage. Also thought to try out playing videos, I have some movies in MPEG4 H264 which should stress the video playback enough. More about those when I have some experience..

EDIT: Tried to get Bluetooth connectivity to phone and internet-access via that way, and was not too hard. Biggest part is to find out correct settings for your service provider and phone model. Rest is just finding out correct channel etc. (I think I need to dump a post about using BT and mobile phone as internet connectivity)

Also, video playback seems to work out fine, just remember to ditch Totem Movie Player and get VLC. Tried with MPEG4 H.264 clip. Still need to try out DVD-playback with DVD-drive connected to USB and .iso file from internal storage and external USB drive..

Battery life with 3cell version is weak. There’s few tweaks that should help out, just remember to keep backlight as low as your eyes can take..