RSS RSS feed | Atom Atom feed
Popular Articles: Tom Riddle's Magical Diary | AJAX Lego Robot | AJAX CAPTCHA | SQL Multisets

Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Mini-Wifi HOWTO

Instructions are based and extended on the instruction found on http://acx100.sourceforge.net/wiki/ACX

The ZyXEL PCI card is using the Texas Instruments ACX 111 chipset. There is a great open source project located at http://acx100.sourceforge.net providing drivers for Linux users.
Although it might be possible to use the NdisWrapper project, you might have problems finding a working windows driver if you have a 64bit processor (which I do). (As of the date of this blog entry, ZyXEL has no 64bit driver for this card).

The ACX100 project should work with both 32- and 64-bit systems.

The Installation requires

  • Downloading the Source
  • Downloading Kernel Source
  • Downloading Firmware
  • Compiling Source
  • Configuration

Downloading the Source

Run the following commands as root
mkdir /usr/src/acx-20051202 cd /usr/src/acx-20051202 wget http://acx100.erley.org/acx-20051202.tar.bz2 tar xjvf acx-20051202.tar.bz2

Downloading Kernel Source

Most probably its already on your machine, if not run
yum install kernel-devel

Downloading Firmware

Download and install the firmware with the following commands
cd /lib/firmware wget http://acx100.erley.org/acx_fw/acx111_netgear_wg311v2/fw1/FwRad16.bin_1.2.1.34 ln -s FwRad16.bin_1.2.1.34 tiacx111c16 ln -s FwRad16.bin_1.2.1.34 FwRad16.bin

Compiling Source

I found that I had to modify the sources a tiny bit to only compile the PCI parts by commenting out the USB parts, in order to get things to work.

Edit the following line in /usr/src/acx-20051202/Makefile

acx-obj-y += usb.o #acx-obj-y += usb.o
And in /usr/src/acx-20051202/acx_config.h, edit the following line
#define CONFIG_ACX_USB 1 //#define CONFIG_ACX_USB 1
Now compile with
make -C /lib/modules/`uname -r`/build M=`pwd`
(Note the difference between back ticks ` and single quote ')

Configuration and Installation

The following instructions assumes the new wireless device is called wlan0, if you are installing multiple devices, replace wlan0 with the device name you'd prefer.

Load the driver with
cd /usr/src/acx-20051202 insmod acx.ko
If this looks ok and dmesg looks ok too, then the driver was successfully loaded into the kernel and the driver is ready to be installed under /lib
cd /usr/src/acx-20051202 make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
All modules installed under /lib/modules/... get loaded at startup. However if the module file (in our case acx.ko) is not executable it seems it is not getting loaded. The install script above copies the acx.ko file to /lib/modules/<kernel-version>/extra/acx.ko but without the proper execution bit. Therefore you must do
chmod 744 /lib/modules/`uname -r`/extra/acx.ko
Next, edit /etc/modprobe.conf and add the following line
alias wlan0 acx
This will tell your system that there exists a wireless card with the acx.ko driver.

Next type
system-config-network
Click New in the upper left corner and basically follow the GUI wizard, here are screen shots of the first few steps. After the final step the system is gonna try connect to your wireless network. Don't get discouraged if it doesn't work right away, just continue reading.






If the wizard fails to connect, try the following
iwlist wlan0 scan
and compare the channel id with the one found in /etc/sysconfig/network-scripts/ifcfg-wlan0

Where I live, this is what iwlist wlan0 scan returns
iwlist wlan0 scan wlan0 Scan completed : Cell 01 - Address: 00:11:14:FA:2B:C3 ESSID:"icegreen" Mode:Master Frequency:2.437 GHz (Channel 6) Quality=41/100 Signal level=18/100 Noise level=0/100 Encryption key:on Bit Rate:54 Mb/s
This is the ifcfg-wlan0 file I ended up with
IPV6INIT=no ONBOOT=yes USERCTL=yes GATEWAY= TYPE=Wireless DEVICE=wlan0 HWADDR=00:51:75:12:d1:10 BOOTPROTO=dhcp NETMASK= DHCP_HOSTNAME= IPADDR= DOMAIN= ESSID=icegreen CHANNEL=6 MODE=Managed
After editing your ifcfg-wlan0 file you don't have to restart your computer, just type
service network restart
which gives better visual feedback over
ifconfig wlan0 up
Note the ONBOOT=yes which will enable your wireless each time you boot up your machine.

Other References

http://www.houseofcraig.net/acx100_howto.php

Did it Work?

It would be nice to hear if my efforts in writing up my experiences with this card are helping others. Please feel free to post a comment or email me if it did.
slashdot digg del.icio.us technorati [more]



Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Hi, this is an excellent description of installing any acx111-based PCI cards, though this fact is not stressed enough. Two additional remarks: 1) unfortunately if you add a "RATE=54M" line in ifcfg-wlan0, you never get associated! 2) What about the Fritz!WLAN USB stick? That is the only real existing acx111_usb one and I'd trust the latest acx100.erley.org driver more than the AVM-beta. Which firmware should I choose?

Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Ive made it down to the line: "make -C /lib/modules/`uname -r`/build M=`pwd`" and I get a message "no such directory or file bla bla bla" I've never compiled a kernel before, whet directory should I be in to execute this command? Please provide guideance a newbie to this can follow, Thanks in Advance, bob in houston

Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Hi Bob, the directory should be /usr/src/acx-20051202. What distribution and version are you using? Remember, this is specifically for Fedora 4, I don't know how well it will work on other distributions or versions of Fedora.

Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Hello Wael Chatila, do you know where can i Find this same driver for Suse 9.0 the free version? Tks in advance

Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Hi Miguel. The same driver should work for suse aswell. However certain steps and commands might be different.

Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Hi, the instructions is good, but when I try to follow them on my fedora 5 with the default kernel it won't load at start-up, and I have to load the module manuel after boot-up. more precisely it says acx device wlan0 doesn't seems to be present Can you give any help on this?

Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

hi and thanks for your page;but it doesn't work for me it says does not seem to be present :(

Re: Installing ZyXEL G-360 Wireless 802.11g+ on Fedora Core 4

Hello! When I try to compile the module, I get this output, but I'm not able to find the file 'acx.ko'.

# make -C /lib/modules/`uname -r`/build M=`pwd`
make: Entering directory `/usr/src/kernels/2.6.17-1.2142_FC4-i686'
LD /tmp/acx/built-in.o
Building modules, stage 2.
MODPOST
make: Leaving directory `/usr/src/kernels/2.6.17-1.2142_FC4-i686'

Any idea whats wrong?


Add a comment Send a TrackBack