RASPBERRY PIã§ç¡ç·ã«ã¼ã¿ã¼ã®å¾©å¸°
|ãã¤ã®éã«ããRASPBERRY PIã§ç¡ç·ã«ã¼ã¿ã¼ãä½ãï¼ã§ä½ã£ãç¡ç·ã«ã¼ã¿ãä¿¡å·ããªããªã£ãã試è¡é¯èª¤ã§è¾ããã¦å¾©å¸°ããè¨é²ã
ã¤ã³ã¹ãã¼ã«æé ããè¦ç´ãã¨ãhostapd ãããããã
root@juno:/etc/network# hostapd -d /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
Line 2: invalid/unknown driver ‘rtl871xdrv’
1 errors found in configuration file ‘/etc/hostapd/hostapd.conf’
ã¾ãUSBã§WLAN Adapterèªèããããã確èªãã
chen@juno ~ $ sudo lsusb
[sudo] password for chen:
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
WLAN Adapterãæ®éã«èªèãããæ¨¡æ§ãããã¨ãããã¤ã¹ã»ãã©ã¤ãã¼ãæ£ããã¤ã³ã¹ãã¼ã«ãããªãï¼
ãã¤ããaptitude upgradeã§ãæ£ããã¤ã³ã¹ãã¼ã«ããããã¤ã¹ã»ãã©ã¤ãã¼å£ãããããã¾ãRaspberry Pi firmware updateããã
chen@juno /home/www/html $ sudo rpi-update
*** If no errors appeared, your firmware was successfully updated to a32baf52832725b3fe2ebda0f4acf398b04ef105
*** A reboot is needed to activate the new firmware
chen@juno /home/www/html $ sudo reboot
ããã§ãç´ããªãããããã調ã¹ã¦åãã£ããã¨ã¯ãUpdate hostapdãã©ã¤ãã8192cuã®å ´åãapt-getã§ã¤ã³ã¹ãã¼ã«ãããhostapdã¯ãã®ããã¤ã¹ã«å¯¾å¿ãã¦ãªãã確ãã«ãadafruitãããã¦ã³ãã¼ããã¦ããªãªã¸ãã«ã®ãã¤ããªãç½®ãæããçè·¡ããã£ãã
ãããããaptitude upgradeããéãç½®ãæããhostapdã¾ãææ°çã®ãªãªã¸ãã«ã®ãã¤ããªã«æ»ãããã
å度http://www.adafruit.com/downloads/adafruit_hostapd.zip ãããã¤ããªããã¦ã³ãã¼ãããããã§ãªãªã¸ãã«ã®ãã¤ããªãç½®ãæããã¨ãhostapd åãããã«ãªã£ãã
ç¡ç·ã«ã¼ã¿ã¼ãç¡äºå¾©å¸°ã§ããã