I had an issue with Tenda W311M, it didn’t work properly until I changed Channel on WiFI Router: from 20/40Mhz to 20Mhz
Having some issues reconnecting to wifi network upon restart (shutdown -r now). Anyone having the same issue?
I have a strange problem. My wi-fi adapter TL-WN727N is working fine. iwconfig shows what interface is up, but it doesn’t connect to my network. wifi.txt is in place and ready. I don’t know what to do. I’ve tried to start wpa_supplicant instead of running wifi command and it works fine. But after reboot everything is lost.
I’ve got the solution! First of all i,ve connect to wi-fi using wifi command. Then i got internet working i’ve just download network-manager tool amd rebooted. After rebooting rig doesn’t connet to the internet automatically as i write before, BUT network manager worked already. I open tray icon, connect to my network and boom! Everything works fine! Try several reboots - no problems.
I fixed the issue by manually adding an entry for my device (wlan0) into
/etc/network/interfaces.d/wlan0
with something like:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid MY_NETWORK
wpa-psk hashed-value-of-passphrase
You can get the hashed-value-of-passphrase via the output of:
wpa_passphrase MY_NETWORK passphrase
Спасибо за подсказку
Только немного в другом месте изменил настройки.
Свисток TP-Link TL-WN823N.
Не подхватывался при старте.
По команде WIFI запускался.
В директории etc/network/ файл interfaces немного подкорректировал.
Прописал своего wlan0 и добавил значения wpa - ssid и wpa - PSK
Все завелось !
Глядишь кому и понадобится
Спасибо, помог!
Hi, hiveos is amazing! But i can’t made work my TL-WN821N V6 http://www.tp-link.com.au/download/TL-WN821N.html.
root@rig:~# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 2357:0107
Bus 001 Device 003: ID 046d:c22d Logitech, Inc. G510 Gaming Keyboard
Bus 001 Device 002: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
This Bus 001 Device 004: ID 2357:0107 is tl-wn821n.
I handle it in lubuntu 16.04 with:
sudo apt-get install build-essential linux-headers-generic dkms git
git clone https://github.com/Mange/rtl8192eu-linux-driver.git
sudo dkms add ./rtl8192eu-linux-driver
sudo dkms install rtl8192eu/1.0
But in hiveos apt-get install fail:
Setting up linux-headers-4.4.0-109 (4.4.0-109.132) …
Setting up linux-headers-4.4.0-109-generic (4.4.0-109.132) …
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-109-generic /boot/vmlinuz-4.4.0-109-generic
: Unable to find an initial ram disk that I know how to handle.
Will not try to make an initrd.
Setting up linux-headers-generic (4.4.0.109.114) …
root@rig:~#
I can install driver anyway and then adapter wlan appear in iwconfig, but can’t assosiate with my router.
root@rig:~# iwconfig
wlan0 unassociated Nickname:“WIFI@REALTEK”
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
lo no wireless extensions.
I try hiveos wifi setup but not work for TL-WN821N V6.
kernel log:
Jan 14 14:02:05 rig kernel: [ 611.642398] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=7c:8b:ca:05:c8:2f
Jan 14 14:02:05 rig kernel: [ 611.643915] usbcore: registered new interface driver rtl8192eu
Jan 14 14:02:05 rig kernel: [ 611.643917] RTL871X: module init ret=0
Jan 14 14:02:06 rig kernel: [ 613.135724] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 14 14:02:08 rig kernel: [ 615.137167] RTL871X: nolinked power save enter
Jan 14 14:05:30 rig kernel: [ 816.863657] RTL871X: nolinked power save leave
Jan 14 14:05:32 rig kernel: [ 818.285198] RTL871X: nolinked power save enter
Jan 14 14:05:38 rig kernel: [ 824.772178] RTL871X: nolinked power save leave
Jan 14 14:05:39 rig kernel: [ 826.189118] RTL871X: nolinked power save enter
Thanks!
Detected bug:
1 - Flashed fresh image to USB (16GB usb3.0)
2 - On first boot everything is ok, connected to wifi via “wifi” + credentials
3 - did a “sudo reboot”
4 - “wifi” + credentials will not connect anymore
Anybody knows why? I will try to replicate this again if it continues will post down.
Currently:
1 - flashing HiveOS to USB again.
Sorry for the double post, I can confirm wifi setup runs the first time only. If the system reboots, or shuts down or crashes “wifi” command with credentials will not work again.
Would be happy to switch all of my rigs to Linux using HiveOS if this could be solved. Thank you, Devs for all the work you already did, will donate if this gets solved.
I can made work wifi without wifi setup, but i have same issue than mungiu, when system reboot wifi not connect.
root@rig:/hive-config/network# wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0
Successfully initialized wpa_supplicant
wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
[quote=“DimaFern;53”]These devices fully work:
148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter Realtek RTL8188CUS
DOES NOT WORK: TP-LINK TL-WN725N works with options described in comment below.
[/quote]
TP-LINK TL-WN822N tested and working - better than small usb adapters (two anttenas and long USB cable)
wifi command runned and to be sure just added following lines in /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
try a different network adapter.
Not working for me.
Отлично работал вайфай пока не полез настраивать чтобы он сам поднимался после перезагрузки.
Настраивал в директории etc/network/ файл interfaces и случайно сохранил пустой файл. Возможно после этого вайфай перестал работать. Поделитесь кто-нить кодом который в файле прописан по умолчанию.
В арче все подхватывается без проблем. В hive кернел сыплет device descriptor read error. Т.е. не вопрос линукса, а проблема в сборке hive. В какую сторону покопать?
Realtek Semiconductor Corp. RTL8192EU 802.11b/g/n WLAN Adapter