Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old December 19th, 2007   #1
darrell
5 Cups of Ubuntu
 
Join Date: Nov 2004
Beans: 42
HOWTO: Fujitsu Siemens Li1718 with Madwifi

First of all, I should acknowledge the work of damagedspline and others: http://code.google.com/p/fscamiloa16xx/ and on these and other forums. Many thanks, you got me going with my laptop. Also, I hope it is in order to post this in a new thread, but I want it to stand out, especially as it is not distribution specific, and should work with little adaptation for users of other linux distributions.

Owners of the above laptop have two problems to overcome before getting the wireless LAN to work: an Atheros chip as yet unsupported in Madwifi, and a wireless on/off button which must be made to work.

There are now patched sources out there for the two necessary kernel modules which make this approach possible. Again, thanks to the patchers/maintainers. There is no longer any need to install the Windows driver via ndiswrapper.

I have tested the below with a fresh install of gutsy, but the basic procedure should work, give or take the names/locations of the various files, on most distributions (not just Ubuntu). It is however, quite specific to the hardware - the acerhk module and the patched madwifi will only work on 32 bit machines. It works on a Li1718 machine, and maybe on some similar ones, but I have no way of testing. Maybe others can report.

On with the HOWTO:

1. Make sure your system is up to date, and includes the necessary tools to compile the new kernel modules:
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
2. Get the patched source:
Code:
wget http://www.cakey.de/acerhk/archives/acerhk-0.5.35.tgz
wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
3. Build the new Madwifi modules, to enable support for the Atheros AR5007EG card:
Code:
tar xfvz madwifi-ng-r2756+ar5007.tar.gz
cd madwifi-ng-r2756+ar5007
make
sudo make install
4. Build the new acerhk module, needed to enable the wireless button on the machine:
Code:
cd ..
tar xfvz acerhk-0.5.35.tgz
cd acerhk-0.5.35
make
sudo make install
5. Create a file containing instructions which the system will carry out when the acerhk module is loaded - see comments in the file:
Code:
sudo gedit /etc/modprobe.d/amilo_special_keys.modprobe
and paste the following into the file, save and exit
Code:
# set up kernel module acerhk to enable Fujitsu Siemens Amilo Li1718 special keys
# and enable wireless when the module is inserted.
# NOTE: to have the wireless hardware disabled until you press the wireless key on the laptop,
# simply replace "echo 1" with "echo 0" in the command below. 

install acerhk /sbin/modprobe --ignore-install acerhk force_series=6805 autowlan=1; echo 1 > /proc/driver/acerhk/wirelessled
6. Remove the acerhk module which is shipped with Ubuntu:
Code:
sudo rm  /lib/modules/2.6.22-14-generic/ubuntu/misc/acerhk.ko
7. Rebuild the module dependencies database
Code:
sudo depmod -a
8. Tell the system to load the acerhk module at boot time - it won't otherwise, as it's not actually an Acer laptop!
Code:
sudo gedit /etc/modules
add on a new line at the end of this file, then save and exit:
Code:
acerhk
9. restart your machine and you should have a working wifi card.
darrell is offline   Reply With Quote
Old January 11th, 2008   #2
daydream
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 7
Smile Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Many thanks for this guide. It's just perfect! And it works on Amilo li 2727 as well. I finally have my atheros wireless card working. I now have to figure out how to add security to it. My internet connection is only working when I switch off firewall... ((
daydream is offline   Reply With Quote
Old June 8th, 2008   #3
jumbo701
First Cup of Ubuntu
 
Join Date: Jun 2008
Beans: 1
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Quote:
Originally Posted by daydream View Post
Many thanks for this guide. It's just perfect! And it works on Amilo li 2727 as well. I finally have my atheros wireless card working. I now have to figure out how to add security to it. My internet connection is only working when I switch off firewall... ((
I have Amilo 2727 also, but I don't get my wlan working. I follow these instructions, but I don't get it working. I have tried many times. I have 8.04 LTS in my Amilo. Can anyone please help me??? Nothing happens Fn+F1. Network manager doesn't find wlan. Wlan works with USB wlan-stick, but I need it with my another laptop.
jumbo701 is offline   Reply With Quote
Old July 5th, 2008   #4
o_portista17
First Cup of Ubuntu
 
Join Date: Nov 2007
Location: Porto, Portugal
Beans: 7
Ubuntu Jaunty Jackalope (testing)
Send a message via MSN to o_portista17
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

I've tried a lot of diferent ways, but i can't get it to work

Some help please...?

Thanks
__________________
You are what you hack! unix
Problems in windows, reboot, Problems in Linux? BE ROOT !!
o_portista17 is offline   Reply With Quote
Old February 17th, 2008   #5
ltltnm
First Cup of Ubuntu
 
Join Date: Feb 2008
Beans: 1
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Thank you for this guide. It works perfectly on my Amilo Li1718. The only problem is that every time the system is updated with a new kernel version, I need to re-perform the steps. Is there a way to make the changes stable?

L.
ltltnm is offline   Reply With Quote
Old February 22nd, 2008   #6
darrell
5 Cups of Ubuntu
 
Join Date: Nov 2004
Beans: 42
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Quote:
Originally Posted by ltltnm View Post
Thank you for this guide. It works perfectly on my Amilo Li1718. The only problem is that every time the system is updated with a new kernel version, I need to re-perform the steps. Is there a way to make the changes stable?

L.
What we're doing here is taking non-ubuntu source code for two kernel modules and compiling the modules to work with the specific kernel installed on our machines at the time of the compilation. This is the kind of nitty-gritty work which is done by the ubuntu developers for hardware which is officially supported, and every time they release a new kernel, they will release matching kernel modules if necessary.

Because we have non-supported hardware, we have to do this ourselves. So the short answer is "No"

I just make sure that I have my wired network cable handy before I update the kernel - then I can come here and follow my own instructions!

Beware a future version of Ubuntu if it uses kernel 2.6.24, as the patched madwifi we're using has been reported not to work with this kernel (see http://madwifi.org/ticket/1679 ).

From the same source, Official support for this wireless card is expected in madwifi at some point, and hopefully from there it will make it into the Ubuntu madwifi package without too much delay. No-one will put the current solution in an official release, as it won't work with 64 bit machines.

As far as the acerhk fix, I'm not sure this will ever make it into any distribution package release, as this is again 32 bit machine only, and probably affects a pretty small number of people.

Darrell
darrell is offline   Reply With Quote
Old March 12th, 2008   #7
expertoweb
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 1
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Thanks for all the info. I run gOS that is a variation of Ubuntu with kernel 2.6.22-14 on an Amilo li1718. No changes made on these instructions and it works like a charm. However I could not make it work under PCLinuxOS with a kernel 2.6.22-15. One of the modules didn't insert well. Any help?
expertoweb is offline   Reply With Quote
Old March 20th, 2008   #8
moma
Quad Shot of Ubuntu
 
moma's Avatar
 
Join Date: Jan 2006
Location: Grønland,Oslo
Beans: 484
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Many thanks for the guide.

These changes are required for Ubuntu 8.04:

Step 4. Build the new acerhk module, needed to enable the wireless button on the machine:on
On Hardy Heron the acerhk-0.5.35 requires a minor change in the Makefile, otherwise the compilation fails. Open the Makefile and change the first ocurrence of word "CFLAGS" to "EXTRA_CFLAGS" around the line number 17, like this.
Change
Code:
CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
to
Code:
EXTRA_CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
I created a patch for it. You can simply do
$ cd acerhk-0.5.35

# Get and apply the patch
$ wget http://www.edbl.no/tmp/acerhk.Makefile.patch
$ patch -p0 < acerhk.Makefile.patch

$ make
$ sudo make install
-------------

Step 6. Remove the acerhk module which is shipped with Ubuntu. The kernel name has changed since Ubuntu 7.10. Now you should run this command
$ sudo rm /lib/modules/$(uname -r)/ubuntu/misc/acerhk.ko

-------------
Rest of the Instructions are the same for Ubuntu 7.10 and 8.04. AFAIK !
__________________
// moma
http://www.futuredesktop.org

Last edited by moma; March 21st, 2008 at 12:56 PM..
moma is offline   Reply With Quote
Old May 21st, 2008   #9
johndbottomley
First Cup of Ubuntu
 
Join Date: Apr 2008
Location: Crewe UK
Beans: 2
Ubuntu 8.10 Intrepid Ibex
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Perfect - Thanks no problems at all.
johndbottomley is offline   Reply With Quote
Old June 1st, 2008   #10
qscomputing
5 Cups of Ubuntu
 
Join Date: Mar 2007
Beans: 20
Send a message via ICQ to qscomputing
Re: HOWTO: Fujitsu Siemens Li1718 with Madwifi

Doesn't work for me at all. I've got acerhk working before on both Gutsy and Hardy (but not using these instructions) - but now I've just reinstalled Hardy and I can't seem to get acerhk (or my wireless) to work with any method at all!

ED. After reinstalling Hardy yet again, it works with a fresh install. Thanks!

Last edited by qscomputing; June 1st, 2008 at 03:38 PM..
qscomputing is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:33 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry