Odroid als Wi-Fi Hotspot
(nach Dave Conroy,
http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/)
Schritt 1, erforderliche Programme installieren:
Code:
--------------------
apt-get update
apt-get install bridge-utils hostapd
--------------------
Schritt 2, hostapd funktioniert nicht mit dem Treiber für Odroids
WLAN-Stick (rtl871xdrv), deshalb muss ein gepatchtes hostapd her:
Code:
--------------------
cd /tmp
wget http://www.daveconroy.com/wp3/wp-content/uploads/2013/07/hostapd.zip
unzip hostapd.zip
mv /usr/sbin/hostapd /usr/sbin/hostapd.bak
mv hostapd /usr/sbin/hostapd.rtl871xdrv
ln -sf /usr/sbin/hostapd.rtl871xdrv /usr/sbin/hostapd
chown root.root /usr/sbin/hostapd
chmod 755 /usr/sbin/hostapd
--------------------
Schritt 3, Konfiguration anpassen
/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
#wired adapter
iface eth0 inet dhcp
#bridge
auto br0
iface br0 inet dhcp
bridge_ports eth0 wlan0
/etc/hostapd/hostapd.conf
interface=wlan0
driver=rtl871xdrv
beacon_int=100
hw_mode=g
ieee80211n=1
country_code=DE
#ctrl_interface=wlan0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
bridge=br0
eap_server=0
wps_state=0
ssid=Max2Play
channel=8
wme_enabled=1
wmm_enabled=1
wpa=3
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_pairwise=TKIP CCMP
auth_algs=1
macaddr_acl=0
eap_reauth_period=360000000
require_ht=1
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+][DSSS_CCK-40]
Schritt 4, Testen
Code:
--------------------
reboot
hostapd -dd /etc/hostapd/hostapd.conf
--------------------
Schritt 5, automatischen Start einrichten
/etc/default/hostapd
DAEMON_CONF="/etc/hostapd/hostapd.conf"
Da ich alles andere als in Linux bewandert bin, werde ich kaum Fragen
beantworten können, wenn irgendwas klemmt, aber hier gibt es noch ein
paar Links, die weiterhelfen könnten:
'Odroid Forum, Wi-Fi as Access Point'
(http://forum.odroid.com/viewtopic.php?f=17&t=3028&start=20#p41229)
'Realtek Treiberpaket für RTL8188CUS'
(ftp://WebUser:[email protected]/cn/wlan/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911.zip)
'*hostapd*: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS
Authenticator' (http://w1.fi/hostapd/)
Allgemeines und kommentiertes 'hostapd configuration file'
(http://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf)
1x odroid u3 with max2play as lms + 'teac ud-501'
(http://www.teac.com/product/ud-501/) usb-dac + 'akg k701'
(http://eu.akg.com/akg-product-detail_eu/k-701.html) headphones | 2x
squeezebox classic | 1x raspberry pi with 'hifimediy es9023 dac'
(http://hifimediy.com/dacs/diy-dacs/i2s-dac) +picoreplayer | 2x ipod
with ipeng classic + playback | 1x ipad with ipeng 7 + playback | 1x htc
one with orange squeeze + squeeze player
------------------------------------------------------------------------
tfec's Profile: http://forums.slimdevices.com/member.php?userid=2057
View this thread: http://forums.slimdevices.com/showthread.php?t=101321
_______________________________________________
slimserver-de mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/slimserver-de