[Ubuntu 10.04] wifiproblemen met Atheros ar5001 chip

Pagina: 1
Acties:

Onderwerpen


Acties:
  • 0 Henk 'm!

  • Sharad R
  • Registratie: Augustus 2000
  • Laatst online: 12-08 12:56

Sharad R

lurking is an art

Topicstarter
Net de laatste LTS van Ubuntu gedownload. Echter krijg ik nog steeds problemen met het werkend krijgen van m'n wifi.

Het betreft hier een FS amilio2727 met een Atheros ar5001 chip erin.
Nu ben ik een aantal topics hierover tegen gekomen op het ubuntu forum.

onderstaande link schijnt de juiste oplossing te hebben:
http://ubuntuforums.org/showthread.php?t=644899

Echter deze is nu al erg verouderd. Nu ik dus een grote linux n00b ben, wil ik graag van jullie weten of dit gaat werken of dat er ivm nieuwere versies en nieuwe kernel toch aanpassingen in het verhaal nodig zijn.

1. Make sure your system is up to date, and includes the necessary tools to compile the new kernel modules:
code:
1
2
3
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential

2. Get the patched source:
code:
1
2
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:
1
2
3
4
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:
1
2
3
4
5
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:
1
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:
1
sudo rm  /lib/modules/2.6.22-14-generic/ubuntu/misc/acerhk.ko

7. Rebuild the module dependencies database
code:
1
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:
1
sudo gedit /etc/modules

add on a new line at the end of this file, then save and exit:
code:
1
acerhk

9. restart your machine and you should have a working wifi card.

en

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:
1
CFLAGS+=-c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe

to
code:
1
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 !

Ik heb bovenstaande nog niet geprobeerd omdat ik (nog) bang ben iets "stuk" te maken.

The more I learn, the less I know, I just realised


Acties:
  • 0 Henk 'm!

  • Sharad R
  • Registratie: Augustus 2000
  • Laatst online: 12-08 12:56

Sharad R

lurking is an art

Topicstarter
Goed, Heb het er maar op gewaagd en ben zelf maar gaan proberen.

Tot zover ben ik tot stap 6 gekomen. en daar gaat het fout.
Voor degene die dit oook gaan proberen: bij stap 2
code:
1
wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz


moet worden
code:
1
wget http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/madwifi-hal-0.10.5.6-r4126-20100324.tar.gz
de oude snapshot is ver verouderd en door madwifi dus van hun server verwijderd.

stap 6 echter geeft aan
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

nu krijg ik de volgende error:

sharad@Sharad-notebook-ubuntu:~/acerhk-0.5.35$ sudo rm /lib/modules/$(uname -r)/ubuntu/misc/acerhk.ko
rm: cannot remove `/lib/modules/2.6.32-21-generic/ubuntu/misc/acerhk.ko': No such file or directory

Wat doe ik fout?
ter info, ik weet nog niet exact wat ik doe. Ik klop gewoon de code in, die ik in moet kloppen. Wel probeer ik een beetje te begrijpen wat de commando's doen.

in de map lib/modules heb ik alleen de map "2.6.32-21-generic" waarin weer geen map ubuntu zit. heb met de search gezocht naar het bestand acerhk.ko, echter niet aangetroffen.

[ Voor 7% gewijzigd door Sharad R op 02-05-2010 21:02 ]

The more I learn, the less I know, I just realised


Acties:
  • 0 Henk 'm!

  • DutchNutcase
  • Registratie: Augustus 2005
  • Niet online

DutchNutcase

E = mc^2

De melding die je krijgt, betekent dat het bestand dat je probeert te verwijderen (acerhk.ko) niet bestaat. Ik denk (, maar weet niet zeker) dat je dit bestand moet zoeken in /lib/modules/$(uname -r)/kernel/drivers/misc/.

Even wat algemene tips:
ls
geeft een directorylisting. Handig dus om uit te vinden wat er in een directory te vinden is.
cd
change directory.
rm
remove
man <commando>
geeft je de manual van een bepaald commando. Dit werkt voor bijna ieder commando binnen de linux wereld. Probeer voor de grap maar eens:
man man

Als je bezig gaat met een commando raad ik je aan toch even de manpage te lezen voordat je dingen ook echt stuk maakt.

Succes!

Luctor et Emergo || specs


Acties:
  • 0 Henk 'm!

  • xpc
  • Registratie: Augustus 2009
  • Nu online

xpc

Hmm, ik zie HAL staan in die driver die je probeert te installeren, het probleem is alleen dat Ubuntu 10.04 geen gebruik meer maakt van HAL (maar Devicekit afaik). Ik heb verder geen idee hoe je de wireless aan de praat moet krijgen, maar dit gaat hem niet worden ben ik bang.

Heb je al gekeken waar het precies aan ligt? Misschien kun je eerst deze algemene guide volgen om het probleem te lokaliseren.

Acties:
  • 0 Henk 'm!

  • neeroeter
  • Registratie: Augustus 2005
  • Laatst online: 07:27
http://madwifi-project.org/wiki/Compatibility/Atheros

Gewoonlijk zijn de ath5k en de ath9k drivers degenen die het zouden moeten doen. Zitten al tijden in de kernel...Is het een oudere kaart?

Goed...de madwifi drivers ondersteunen de kaart zowiezo. Een
modprobe ath_pci
al geprobeerd? Vanaf de CLI met sudo uiteraard..

Acties:
  • 0 Henk 'm!

  • Sharad R
  • Registratie: Augustus 2000
  • Laatst online: 12-08 12:56

Sharad R

lurking is an art

Topicstarter
neeroeter schreef op maandag 03 mei 2010 @ 08:02:
http://madwifi-project.org/wiki/Compatibility/Atheros

Gewoonlijk zijn de ath5k en de ath9k drivers degenen die het zouden moeten doen. Zitten al tijden in de kernel...Is het een oudere kaart?

Goed...de madwifi drivers ondersteunen de kaart zowiezo. Een
[...]
al geprobeerd? Vanaf de CLI met sudo uiteraard..
de sudo modprobe ath_pci geeft de volgende error.
code:
1
WARNING: All config files need .conf: /etc/modprobe.d/amilo_special_keys.modprobe, it will be ignored in a future release.


Ben nu bezig de de wifidocs door te nemen. Wellicht dat ik daar nog een oplossing vind.

The more I learn, the less I know, I just realised

Pagina: 1