Я постійно шукав цю проблему, і не знаходжу нікого зі своїми унікальними обставинами. Я намагаюся налаштувати точку доступу до Wi-Fi за допомогою Ubuntu. Мені вдалося це зробити за допомогою Windows 7, проте мій ноутбук не має Win7, тому я намагаюся створити таку ж установку на своєму ноутбуці.
Адаптер, який я використовую, це ALFA AWUS036NHR V.2. Наскільки я можу сказати, драйвери попередньо встановлені в Ubuntu, оскільки він здатний підключатися до мереж.
Я налаштовував ap-гарячу точку за різними інструкціями в Інтернеті.
Я використовую команду
sudo ap-hotspot config
sudo ap-hotspot start
Усі мої пристрої можуть бачити мережу, однак андроїд отримує помилку аутентифікації, айфон продовжує отримувати "неправильний пароль", і малиновий пі збирається в циклі відключення / повторного з'єднання "4 способи рукостискання (станції)".
Коли я проходив цю вправу на Windows 7, мені довелося вручну змусити адаптер використовувати різні драйвери, поки не знайшов той, який працював як гаряча точка. Мене хвилює, що це може бути і тут, але я навіть не можу заставити свою систему встановлювати драйвери з веб-сайту alfa.com.tw. Я використовую свіжу установку Ubuntu 12.04 на ноутбуці HP Elitebook 8530. Нижче наведено вихід налагодження ap-hotspot
sudo ap-hotspot debug
Starting Wireless Hotspot...
* Stopping DNS forwarder and DHCP server dnsmasq
* (not running)
update-rc.d: warning: hostapd start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: hostapd stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/hostapd ...
Removing any system startup links for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd
/etc/rc1.d/K20hostapd
/etc/rc2.d/K80hostapd
/etc/rc3.d/K80hostapd
/etc/rc4.d/K80hostapd
/etc/rc5.d/K80hostapd
/etc/rc6.d/K20hostapd
Adding system startup for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd -> ../init.d/hostapd
/etc/rc1.d/K20hostapd -> ../init.d/hostapd
/etc/rc6.d/K20hostapd -> ../init.d/hostapd
/etc/rc2.d/K80hostapd -> ../init.d/hostapd
/etc/rc3.d/K80hostapd -> ../init.d/hostapd
/etc/rc4.d/K80hostapd -> ../init.d/hostapd
/etc/rc5.d/K80hostapd -> ../init.d/hostapd
update-rc.d: warning: dnsmasq start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: dnsmasq stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/dnsmasq ...
Removing any system startup links for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq
/etc/rc1.d/K85dnsmasq
/etc/rc2.d/K85dnsmasq
/etc/rc3.d/K85dnsmasq
/etc/rc4.d/K85dnsmasq
/etc/rc5.d/K85dnsmasq
/etc/rc6.d/K85dnsmasq
Adding system startup for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc1.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc6.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc2.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc3.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc4.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc5.d/K85dnsmasq -> ../init.d/dnsmasq
* Restarting DNS forwarder and DHCP server configuration syntax check
...fail!
net.ipv4.ip_forward = 1
Wireless Hotspot active
Я досить новий у цьому, тому не знаю, що не так, але, здається, дуже багато речей. Будь ласка, дайте мені знати, чи потрібна додаткова інформація.
