https://wiki.archlinux.org/api.php?action=feedcontributions&user=24.18.8.195&feedformat=atomArchWiki - User contributions [en]2024-03-29T12:27:20ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Software_access_point&diff=6776Software access point2005-12-12T18:57:46Z<p>24.18.8.195: </p>
<hr />
<div>[[Category:Wireless]]<br />
<br />
need: <ul><li>prism2/2.5/3 pure pci wireless card<br />
<li>hostap-driver<br />
<li>network bridge support compiled in kernel<br />
<li>wireless-tools from pacman</ul><br />
<br><br />
<ol><li>get hostap from pacman, http://hostap.epitest.fi/ or http://shadowzerosoftware.ath.cx/hostap-drivers-0.4.7.tar.gz<br />
<li>untar, make, make install as root<br />
<li><pre>modprobe hostap_pci</pre> as root to make sure the module will insert right.<br />
<li>add <pre>alias wlan0 hostap_pci</pre> to /etc/modprobe.conf<br />
<li>add <pre><br />
wlan_wlan0="wlan0 mode master essid $YOUR_ESSID channel $CHANNEL"<br />
WLAN_INTERFACES=(wlan0)<br />
</pre> to /etc/conf.d/wireless You can also put key $KEY in wlan_wlan0="" to enable WEP. This automates commands to iwconfig.<br />
<li>add <pre><br />
bridge_br0="eth0 wlan0"<br />
BRIDGE_INTERFACES=(br0)<br />
</pre> to /etc/conf.d/bridges, this automated commands to the bridge module and brctl, the equiv would be <pre>brctl addbr br0;brctl addif eth0;brctl addif wlan0</pre>.<br />
<li>change the network settings in /etc/rc.conf to<pre><br />
<br />
lo="lo 127.0.0.1"<br />
eth0="eth0 up"<br />
wlan0="wlan0 up"<br />
br0="br0 $IP_ADDRESS netmask 255.255.255.0 up"<br />
INTERFACES=(lo eth0 wlan0 br0) <br />
</pre><br />
<li>run <pre>/etc/rc.d/network restart</pre> as root, or just reboot.<br />
</ol>should be in business.<br><br />
<br />
This setup works for me to play Mario Kart DS through Nintendo's Wi-Fi Connection. br0 should be given the same settings in /etc/rc.conf eth0 had before. This works for me on kernel 2.6.13-ARCH, hostap-driver-0.4.7, wireless-tools version 28, and a Linksys WMP11 v4 wireless card. Any 802.11b device should be able to connect to this setup, as long as it supports manual ESSID and IP configuration. dhcpd should handle IPs as if it's in charge of a wired LAN, My DS would not automatically detect the ESSID, and I am not aware of a way to activate broadcasting ESSID. It connected just fine when told the ESSID to connect to. WPA seems to be supported by hostap, source files are on the same site as it. I didn't attempt to configure that, as I didn't need it. YMMV, RTFM, have fun.<br />
<br />
*UPDATE* The hostap-driver in pacman works, too. Thanks Xentac!</div>24.18.8.195