ข่าว: ข่าวประกาศ

  • 20 เมษายน 2024, 07:45:26

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ผู้เขียน หัวข้อ: สร้าง ubuntu accesspoint ด้วย hostapd  (อ่าน 8389 ครั้ง)

admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
สร้าง ubuntu accesspoint ด้วย hostapd
« เมื่อ: 25 กรกฎาคม 2015, 18:26:45 »
ตัวอย่าง config    hostapd.conf  บน  bpi-r1

http://bogeskov.dk/UsbAccessPoint.html

sudo apt-get install linux-headers-...
git clone https://github.com/dz0ny/rt8192cu.git
cd rt8192cu
make
sudo make install

Avoid the supplied driver by blacklisting it in (new file) /etc/modprobe.d/8192cu.conf:

blacklist rtl8192cu

unzip RTL8192xC_USB_linux_*.zip
tar zxvf RTL8188C_8192C_USB_linux_*/wpa_supplicant_hostapd/wpa_supplicant_hostapd-0.8_rtw_*.tar.gz
cd wpa_supplicant_hostapd-0.8_*/hostapd/
make
sudo cp hostapd hostapd_cli /usr/sbin/



config:

ssid=MyAccessPoint
wpa_passphrase=MySecretPassword

ctrl_interface=/var/run/hostapd
interface=@INTERFACE@
bridge=br0
driver=rtl871xdrv
hw_mode=g
channel=6
wpa=2

beacon_int=100
hw_mode=g
ieee80211n=1
wme_enabled=1
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+]
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
max_num_sta=8
wpa_group_rekey=86400
« แก้ไขครั้งสุดท้าย: 09 สิงหาคม 2015, 04:14:07 โดย admin »
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>


There are no comments for this topic. Do you want to be the first?