View previous topic :: View next topic |
Author |
Message |
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Sat Nov 12, 2005 6:31 am Post subject: How to madwifi on AMD64 system? |
|
|
I have just done a networkless installation on a AMD64 system. Now, this computer has a madwifi wireless network card, and emerge says that all the madwifi drivers are masked, and it doesn't yet have connection to the web anyway.... so how do I go about to install madwifi on it? |
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Sat Nov 12, 2005 11:22 am Post subject: |
|
|
All versions of madwifi has ~amd64 on it, how can I work around this and install madwifi? |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sat Nov 12, 2005 12:42 pm Post subject: |
|
|
Add this to /etc/portage/package.keywords:
Code: | net-wireless/madwifi-driver ~amd64 |
|
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Sat Nov 12, 2005 2:00 pm Post subject: |
|
|
Ok I've installed the drivers... now how do I connect to a essid using a wepkey? |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Sun Nov 13, 2005 1:18 am Post subject: |
|
|
Umm I am not sure if I've done things right:
1, I have installed madwifi adn wireless-tools
2, iwconfig shows l0, eth0 and sit0
3, I did modprobe ath_pci
4, iwconfig shoe l0, eth0, sit0 and wifi0
However, it also says wifi0 has no wireless extension.
What does this mean? What have I done wrong? |
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sun Nov 13, 2005 1:33 am Post subject: |
|
|
Apparently you have a newer version of madwifi (the one I have installed here creates an ath0 interface that has wireless extensions). Now the ath0 interface must be created explicitely. Try to emerge madwifi-tools, run this command and see if the resulting interface ath0 has wireless extensions:
Code: | /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta |
If it works, then look at the link above for how to integrate it to the init scripts. |
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Sun Nov 13, 2005 5:05 am Post subject: |
|
|
Warning: Driver for device ath0 has been compiled with version 18 of Wireless Extension, while this program supports up to version 17. Some things may be broken...
ath0 IEEE........................ blah blah
That message was under iwconfig ath0.
It still doesn't work... |
|
Back to top |
|
|
Sunnz Guru
Joined: 18 Jun 2005 Posts: 370
|
Posted: Tue Nov 15, 2005 2:03 pm Post subject: |
|
|
/etc/init.d/net.ath0 start
always shows that^ message... and
iwconfig ath0 essid $ESSID key $KEY enc on
says:
Error for wireless request "Set Encode" (8B2A)
SET failed on device ath0; Invalid argument.
What do I do now? |
|
Back to top |
|
|
|