Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to madwifi on AMD64 system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sat Nov 12, 2005 6:31 am    Post subject: How to madwifi on AMD64 system? Reply with quote

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
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sat Nov 12, 2005 11:22 am    Post subject: Reply with quote

All versions of madwifi has ~amd64 on it, how can I work around this and install madwifi?
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sat Nov 12, 2005 12:42 pm    Post subject: Reply with quote

Add this to /etc/portage/package.keywords:
Code:
net-wireless/madwifi-driver ~amd64
Back to top
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sat Nov 12, 2005 2:00 pm    Post subject: Reply with quote

Ok I've installed the drivers... now how do I connect to a essid using a wepkey?
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sat Nov 12, 2005 4:13 pm    Post subject: Reply with quote

From the command line, and for the Gentoo init scripts. You need wireless-tools for all of this.
Back to top
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sun Nov 13, 2005 1:18 am    Post subject: Reply with quote

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
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sun Nov 13, 2005 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Sun Nov 13, 2005 5:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Tue Nov 15, 2005 2:03 pm    Post subject: Reply with quote

/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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum