Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
braindump: Wlan on amd64
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
schrotie
n00b
n00b


Joined: 06 Feb 2005
Posts: 18

PostPosted: Sun Feb 06, 2005 2:13 am    Post subject: braindump: Wlan on amd64 Reply with quote

Hi here's how I got it working, hope it helps somebody. I used the hostap-driver (it's masked for amd64 so force the x86 keyword to emerge it). Contrary to the ng and orinoco drivers the hostap works with my prism2_pci without problems.

I also used wireless-tools (stable version available for amd64).

Edited conf.d/net (exchanged wlan0 for eth0).

Wrote new init script (don't shoot me, I wanted it to work for me, I did not want the most general solution), /etc/init.d/wlan:

Code:
#!/sbin/runscript


start() {
        modprobe hostap_pci
        iwconfig wlan0 essid YourNetName
        iwconfig wlan0 mode managed
        iwconfig wlan0 nick YourNick
        # add more according to your setup
}

stop() {
        rmmod hostap_pci
}


Copied a file:
Code:

cp /etc/init.d/net.eth0 /etc/init.d/net.wlan0


Edited the copy
Code:
depend() {
        need wlan
}


Removed old net init on boot and added the new one:
Code:
rc-update del net.eth0 default
rc-update add net.wlan0 default


Done. Good luck!
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