Wifi; how to?
#11
(05-29-2018, 12:20 PM)scalextrix Wrote: OK after re-installing the CLI OS, its working now, if anyone has issues:

connect the wifi dongle

> sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

network={
        ssid="your_ssid_here"
        psk="your_psk_here"
}

Glad you got it working in the end. btw, if network manager is installed on the jessie images, you have have used nmtui (or nmcli) instead, and basically just enable the wifi SSID you want to connect to and enter the password via the menu. It's probably the prefered way going forward... wpa_supplicant and /etc/network/interfaces seems to be going away bit by bit...

Whilst the instructions are appreciated to make the lives of others getting started easy, In addition to what bunny pointed out below, I'd also generate the wpa_supplicant file using the wpa_passphrase tool, so that an encrypted password is stored, not the plaintext one. Although one does have to wonder how much point there is to doing so, given that both WPA and WPA2 have been compromised.

Code:
sudo wpa_passphrase MYSSID passphrase > /etc/wpa_supplicant/wpa_supplicant.conf

(05-29-2018, 04:39 PM)evilbunny Wrote: if you want to protect the wifi password you put it in wpa_supplicant, and then call that file from interfaces by doing this:
Code:
auto wlan0
iface wlan0 inet dhcp
        wpa-ssid your_ssid_here
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Thanks for the evilbunny, evil minds obviously think alike Tongue Big Grin
  Reply
#12
(05-29-2018, 12:20 PM)scalextrix Wrote:
(05-29-2018, 10:41 AM)scalextrix Wrote:
(05-29-2018, 04:58 AM)evilbunny Wrote:
(05-29-2018, 04:47 AM)scalextrix Wrote: Thanks, there were some other things in ifconfig beyond eth0 and lo, I didnt look at what they were yet, perhaps one was this device, but it wasnt listed as wlan0.  Where are the SSID and PSK maintianed in this distro please?

If you plan to use mate you should use the network manager applet in mate, also the name of interfaces has been changed from wlan0 to something like wlx*.

OK I have wlx0013ef800c2c I wondered if it may be the device but didnt recognise it.  Unfortunately the HDMI isnt working with my screen so im in CLI only at the moment.

(05-29-2018, 06:19 AM)Rocklobster Wrote: With your Rock64 booted and your wifi dongle attached, unplug the wifi dongle and type dmesg and lsusb at the terminal. Now plug in the wifi dongle and type dmesg and lsusb again and post the output of both efforts here.

If you can boot to a GUI it should be easier to configure your wireless from there.

You will need to edit your wpa_supplicant with your router/modem settings to make a connection from the terminal.

I'm running armbian64 image and can do all that by running sudo armbian-config from an ssh session.

OK wpa_supplicant Im familiar with, thanks.

Ok looks like something is going wrong with the USB dongle, if I read it right there is an issue and its going to sleep, from dmesg:

[  619.747020] usb 1-1: new high-speed USB device number 3 using dwc2
[  620.202623] usb 1-1: New USB device found, idVendor=0bda, idProduct=8179
[  620.203273] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  620.203918] usb 1-1: Product: 802.11n WLAN NIC
[  620.204389] usb 1-1: Manufacturer: Realtek
[  620.209638] RTL871X:
              usb_endpoint_descriptor(0):
[  620.210240] RTL871X: bLength=7
[  620.210528] RTL871X: bDescriptorType=5
[  620.210869] RTL871X: bEndpointAddress=81
[  620.211295] RTL871X: wMaxPacketSize=512
[  620.211653] RTL871X: bInterval=0
[  620.211982] RTL871X: RT_usb_endpoint_is_bulk_in = 1
[  620.212429] RTL871X:
              usb_endpoint_descriptor(1):
[  620.213033] RTL871X: bLength=7
[  620.213322] RTL871X: bDescriptorType=5
[  620.213663] RTL871X: bEndpointAddress=2
[  620.214075] RTL871X: wMaxPacketSize=512
[  620.214432] RTL871X: bInterval=0
[  620.214729] RTL871X: RT_usb_endpoint_is_bulk_out = 2
[  620.215221] RTL871X:
              usb_endpoint_descriptor(2):
[  620.215774] RTL871X: bLength=7
[  620.216126] RTL871X: bDescriptorType=5
[  620.216483] RTL871X: bEndpointAddress=3
[  620.216835] RTL871X: wMaxPacketSize=512
[  620.217240] RTL871X: bInterval=0
[  620.217552] RTL871X: RT_usb_endpoint_is_bulk_out = 3
[  620.218054] RTL871X: nr_endpoint=3, in_num=1, out_num=2

[  620.218665] RTL871X: USB_SPEED_HIGH
[  620.220249] RTL871X: CHIP TYPE: RTL8188E
[  620.220912] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[  620.221606] RTL871X: Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_K_CUT_1T1R_RomVer(0)
[  620.222390] RTL871X: _ConfigNormalChipOutEP_8188E OutEpQueueSel(0x05), OutEpNumber(2)
[  620.223851] RTL871X: EEPROM type is E-FUSE
[  620.224759] RTL871X: Boot from EFUSE, Autoload OK !
[  620.229007] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[  620.229720] bFWReady == _FALSE call reset 8051...
[  620.232080] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  620.248412] RTL871X: efuse_read_phymap_from_txpktbuf bcnhead:0
[  620.250067] RTL871X: efuse_read_phymap_from_txpktbuf len:125, lenbak:125, aaa:125, aaabak:125
[  620.257573] RTL871X: efuse_read_phymap_from_txpktbuf read count:123
[  620.258360] RTL871X: EEPROM ID=0x8129
[  620.258692] RTL871X: VID = 0x0BDA, PID = 0x8179
[  620.259124] RTL871X: Customer ID: 0x00, SubCustomer ID: 0xCD
[  620.259634] RTL871X: Hal_ReadPowerSavingMode88E...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1)
[  620.260526] RTL871X: ### PS params=>  power_mgnt(2),usbss_enable(0) ###
[  620.261131] RTL871X: ======= Path 0, Channel 1 =======
[  620.261582] RTL871X: Index24G_CCK_Base[0][1] = 0x2c
[  620.262037] RTL871X: Index24G_BW40_Base[0][1] = 0x2f
[  620.262477] RTL871X: ======= Path 0, Channel 2 =======
[  620.262950] RTL871X: Index24G_CCK_Base[0][2] = 0x2c
[  620.263379] RTL871X: Index24G_BW40_Base[0][2] = 0x2f
[  620.263818] RTL871X: ======= Path 0, Channel 3 =======
[  620.264297] RTL871X: Index24G_CCK_Base[0][3] = 0x2c
[  620.264730] RTL871X: Index24G_BW40_Base[0][3] = 0x2f
[  620.265195] RTL871X: ======= Path 0, Channel 4 =======
[  620.265645] RTL871X: Index24G_CCK_Base[0][4] = 0x2c
[  620.266092] RTL871X: Index24G_BW40_Base[0][4] = 0x2f
[  620.266531] RTL871X: ======= Path 0, Channel 5 =======
[  620.267002] RTL871X: Index24G_CCK_Base[0][5] = 0x2c
[  620.267432] RTL871X: Index24G_BW40_Base[0][5] = 0x2f
[  620.267870] RTL871X: ======= Path 0, Channel 6 =======
[  620.268348] RTL871X: Index24G_CCK_Base[0][6] = 0x2c
[  620.268776] RTL871X: Index24G_BW40_Base[0][6] = 0x2f
[  620.269239] RTL871X: ======= Path 0, Channel 7 =======
[  620.269689] RTL871X: Index24G_CCK_Base[0][7] = 0x2c
[  620.270136] RTL871X: Index24G_BW40_Base[0][7] = 0x2f
[  620.270576] RTL871X: ======= Path 0, Channel 8 =======
[  620.271050] RTL871X: Index24G_CCK_Base[0][8] = 0x2c
[  620.271478] RTL871X: Index24G_BW40_Base[0][8] = 0x2f
[  620.271916] RTL871X: ======= Path 0, Channel 9 =======
[  620.272391] RTL871X: Index24G_CCK_Base[0][9] = 0x2a
[  620.272820] RTL871X: Index24G_BW40_Base[0][9] = 0x2e
[  620.273279] RTL871X: ======= Path 0, Channel 10 =======
[  620.273739] RTL871X: Index24G_CCK_Base[0][10] = 0x2a
[  620.274203] RTL871X: Index24G_BW40_Base[0][10] = 0x2e
[  620.274653] RTL871X: ======= Path 0, Channel 11 =======
[  620.275136] RTL871X: Index24G_CCK_Base[0][11] = 0x2a
[  620.275577] RTL871X: Index24G_BW40_Base[0][11] = 0x2e
[  620.276062] RTL871X: ======= Path 0, Channel 12 =======
[  620.276526] RTL871X: Index24G_CCK_Base[0][12] = 0x2a
[  620.276996] RTL871X: Index24G_BW40_Base[0][12] = 0x2e
[  620.277449] RTL871X: ======= Path 0, Channel 13 =======
[  620.277909] RTL871X: Index24G_CCK_Base[0][13] = 0x2a
[  620.278378] RTL871X: Index24G_BW40_Base[0][13] = 0x2e
[  620.278832] RTL871X: ======= Path 0, Channel 14 =======
[  620.279322] RTL871X: Index24G_CCK_Base[0][14] = 0x2a
[  620.279763] RTL871X: Index24G_BW40_Base[0][14] = 0x2e
[  620.280243] RTL871X: ======= TxCount 0 =======
[  620.280641] RTL871X: CCK_24G_Diff[0][0]= 0
[  620.281027] RTL871X: OFDM_24G_Diff[0][0]= 1
[  620.281403] RTL871X: BW20_24G_Diff[0][0]= -1
[  620.281777] RTL871X: BW40_24G_Diff[0][0]= 0
[  620.282177] RTL871X: EEPROMRegulatory = 0x1
[  620.282556] RTL871X: hal_com_config_channel_plan chplan:0x20
[  620.283088] RTL871X: CrystalCap: 0x 9
[  620.283420] RTL871X: EEPROM Customer ID: 0x 0
[  620.283804] RTL871X: EEPROM : AntDivCfg = 0, TRxAntDivType = 3
[  620.284346] RTL871X: Board Type: 0x 0
[  620.284677] RTL871X: ThermalMeter = 0x1a
[  620.285049] RTL871X: rtw_hal_read_chip_info in 62 ms
[  620.285585] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[  620.286594] RTL871X: NR_RECVBUFF: 8
[  620.286909] RTL871X: MAX_RECVBUF_SZ: 15360
[  620.287321] RTL871X: NR_PREALLOC_RECV_SKB: 8
[  620.287696] RTL871X: Enable CONFIG_FIX_NR_BULKIN_BUFFER
[  620.288367] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[  620.289146] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~~~~
[  620.289643] RTL871X: pwrctrlpriv.bSupportRemoteWakeup~~~[1]~~~
[  620.290197] RTL871X: can't get autopm:
[  620.290546] RTL871X: rtw_macaddr_cfg mac addr:00:13:ef:80:0c:2c
[  620.291101] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[  620.292004] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[  620.292902] RTL871X: NR_RECVBUFF: 8
[  620.293266] RTL871X: MAX_RECVBUF_SZ: 15360
[  620.293636] RTL871X: NR_PREALLOC_RECV_SKB: 8
[  620.294038] RTL871X: Enable CONFIG_FIX_NR_BULKIN_BUFFER
[  620.294659] RTL871X: rtw_alloc_macid((null)) if2, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[  620.295424] RTL871X: rtw_wiphy_alloc(phy2)
[  620.295795] RTL871X: rtw_wdev_alloc(padapter=ffffff800aeae000)
[  620.296379] RTL871X: rtw_wiphy_alloc(phy3)
[  620.296747] RTL871X: rtw_wdev_alloc(padapter=ffffff800af36000)
[  620.297319] RTL871X: rtw_wiphy_register(phy2)
[  620.297706] RTL871X: Register RTW cfg80211 vendor cmd(0x67) interface
[  620.298735] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:13:ef:80:0c:2c
[  620.300761] RTL871X: rtw_wiphy_register(phy3)
[  620.301255] RTL871X: Register RTW cfg80211 vendor cmd(0x67) interface
[  620.302416] RTL871X: cfg80211_rtw_get_txpower
[  620.302899] RTL871X: rtw_ndev_init(p2p0) if2 mac_addr=02:13:ef:80:0c:2c
[  620.305578] RTL871X: cfg80211_rtw_get_txpower
[  620.326288] RTL871X: cfg80211_rtw_get_txpower
[  620.349250] rtl8188eu 1-1:1.0 wlx0013ef800c2c: renamed from wlan0
[  620.376259] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[  620.377379] RTL871X: +871x_drv - if2_open, bup=0
[  620.377798] RTL871X: +871x_drv - drv_open, bup=0
[  620.378281] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
[  620.379637] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414
[  620.380296] RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c
[  620.399987] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 1ms), REG_MCUFWDL:0x00030005
[  620.402057] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  620.407049] RTL871X: _FWFreeToGo: Polling FW ready OK! (1, 6ms), REG_MCUFWDL:0x000300c6
[  620.407807] RTL871X: FWDL success. write_fw:1, 25ms
[  620.653306] ==> rtl8188e_iol_efuse_patch
[  620.721351] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  620.721862] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  621.007778] RTL871X: rtl8188eu_hal_init in 629ms
[  621.011633] RTL871X: wlx0013ef800c2cPort-0  set opmode = 2
[  621.012628] RTL871X: MAC Address = 00:13:ef:80:0c:2c
[  621.013572] RTL871X: rtw_cfg80211_init_wiphy:rf_type=3
[  621.014066] RTL871X: [HT] HAL Support STBC = 0x01
[  621.014501] RTL871X: +871x_drv - if2_open, bup=0
[  621.014913] RTL871X: rtw_cfg80211_init_wiphy:rf_type=3
[  621.015401] RTL871X: [HT] HAL Support STBC = 0x01
[  621.015830] RTL871X: -871x_drv - if2_open, bup=1
[  621.016275] RTL871X: -871x_drv - drv_open, bup=1
[  621.016684] RTL871X: -871x_drv - if2_open, bup=1
[  621.017356] RTL871X: cfg80211_rtw_set_power_mgmt(p2p0) enabled:1, timeout:-1
[  621.018073] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[  621.019251] RTL871X: cfg80211_rtw_get_txpower
[  621.019663] RTL871X: cfg80211_rtw_get_txpower
[  621.021351] RTL871X: LeaveAllPowerSaveModeDirect.....
[  621.022605] RTL871X: rtw_net_set_mac_address(p2p0): Set Mac Addr to da:b0:fa:c2:f3:65 Successfully
[  621.024340] RTL871X: +871x_drv - if2_open, bup=1
[  621.024781] RTL871X: -871x_drv - if2_open, bup=1
[  621.025500] RTL871X: cfg80211_rtw_set_power_mgmt(p2p0) enabled:1, timeout:-1
[  621.026208] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[  621.034895] IPv6: ADDRCONF(NETDEV_UP): wlx0013ef800c2c: link is not ready
[  621.035831] RTL871X: +871x_drv - drv_open, bup=1
[  621.036332] RTL871X: -871x_drv - drv_open, bup=1
[  621.037067] RTL871X: cfg80211_rtw_set_power_mgmt(wlx0013ef800c2c) enabled:1, timeout:-1
[  621.037800] IPv6: ADDRCONF(NETDEV_UP): wlx0013ef800c2c: link is not ready
[  621.039849] RTL871X: cfg80211_rtw_get_txpower
[  621.040712] RTL871X: (2)871x_drv - drv_close, bup=1, hw_init_completed=_TRUE
[  621.041433] RTL871X: -871x_drv - drv_close, bup=1
[  621.042804] RTL871X: LeaveAllPowerSaveModeDirect.....
[  621.044168] RTL871X: rtw_net_set_mac_address(wlx0013ef800c2c): Set Mac Addr to 7a:dc:1f:ba:29:7b Successfully
[  621.046043] RTL871X: +871x_drv - drv_open, bup=1
[  621.046492] RTL871X: -871x_drv - drv_open, bup=1
[  621.047230] RTL871X: cfg80211_rtw_set_power_mgmt(wlx0013ef800c2c) enabled:1, timeout:-1
[  621.047988] IPv6: ADDRCONF(NETDEV_UP): wlx0013ef800c2c: link is not ready
[  621.052104] RTL871X: cfg80211_rtw_get_txpower
[  621.052624] RTL871X: cfg80211_rtw_get_txpower
[  621.053490] RTL871X: cfg80211_rtw_get_txpower
[  621.054636] RTL871X: cfg80211_rtw_get_txpower
[  621.060433] RTL871X: cfg80211_rtw_flush_pmksa(p2p0)
[  621.075243] RTL871X: cfg80211_rtw_get_txpower
[  621.075745] RTL871X: cfg80211_rtw_get_txpower
[  621.078034] RTL871X: cfg80211_rtw_get_txpower
[  621.079116] RTL871X: cfg80211_rtw_get_txpower
[  621.087880] RTL871X: cfg80211_rtw_get_txpower
[  621.088595] RTL871X: cfg80211_rtw_flush_pmksa(wlx0013ef800c2c)
[  621.109205] IPv6: ADDRCONF(NETDEV_UP): p2p0: link is not ready
[  621.115563] RTL871X: cfg80211_rtw_scan(p2p0)
[  621.116487] RTL871X: SetHwReg8188ESadHW_VAR_CHECK_TXBUF)TXBUF Empty(1) in 0 ms
[  621.121724] IPv6: ADDRCONF(NETDEV_UP): wlx0013ef800c2c: link is not ready
[  621.126202] RTL871X: cfg80211_rtw_scan(wlx0013ef800c2c)
[  621.126689] RTL871X: scan via buddy
[  622.504808] RTL871X: survey done event(25) band:0 for p2p0
[  622.505444] RTL871X: rtw_indicate_scan_done(p2p0)
[  622.506029] RTL871X: rtw_indicate_scan_done(wlx0013ef800c2c)
[  622.508681] RTL871X: ==>rtw_ps_processor .fw_state(8)
[  622.509195] RTL871X: ==>ips_enter cnts:1
[  622.509550] RTL871X: nolinked power save enter
[  622.510006] RTL871X: ===> rtw_ips_pwr_down...................
[  622.510525] RTL871X: ====> rtw_ips_dev_unload...
[  622.541166] RTL871X: usb_read_port_cancel
[  622.545527] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.547378] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.549228] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.551068] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.552841] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.554686] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.556585] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.558489] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  622.560301] RTL871X: usb_write_port_cancel
[  622.560782] RTL871X: ==> rtl8188eu_hal_deinit
[  622.562915] RTL871X: bkeepfwalive(0)
[  622.568199] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
[  622.568642] RTL871X: <=== rtw_ips_pwr_down..................... in 58ms
[  622.569065] RTL871X: cfg80211_rtw_scan(p2p0)
[  622.569704] RTL871X: _rtw_pwr_wakeup call ips_leave....
[  622.570202] RTL871X: ==>ips_leave cnts:1
[  622.570555] RTL871X: ===>  rtw_ips_pwr_up..............
[  622.571060] RTL871X: ===> ips_netdrv_open.........
[  622.573823] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[  622.574285] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
[  622.575436] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414
[  622.576013] RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c
[  622.593798] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
[  622.595722] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  622.598620] RTL871X: _FWFreeToGo: Polling FW ready OK! (31, 4ms), REG_MCUFWDL:0x000300c6
[  622.599372] RTL871X: FWDL success. write_fw:1, 22ms
[  622.840721] ==> rtl8188e_iol_efuse_patch
[  622.929608] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  622.930133] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  623.170669] RTL871X: rtl8188eu_hal_init in 599ms
[  623.174499] RTL871X: wlx0013ef800c2cPort-0  set opmode = 2
[  623.175561] RTL871X: <===  rtw_ips_pwr_up.............. in 605ms
[  623.176118] RTL871X: nolinked power save leave
[  623.176677] RTL871X: ==> ips_leave.....LED(0x00028282)...
[  623.177605] RTL871X: SetHwReg8188ESadHW_VAR_CHECK_TXBUF)TXBUF Empty(1) in 0 ms
[  623.188536] RTL871X: cfg80211_rtw_scan(wlx0013ef800c2c)
[  623.189042] RTL871X: scan via buddy
[  624.563660] RTL871X: survey done event(18) band:0 for p2p0
[  624.564298] RTL871X: rtw_indicate_scan_done(p2p0)
[  624.564816] RTL871X: rtw_indicate_scan_done(wlx0013ef800c2c)
[  624.571205] RTL871X: ==>rtw_ps_processor .fw_state(8)
[  624.571678] RTL871X: ==>ips_enter cnts:2
[  624.572152] RTL871X: nolinked power save enter
[  624.572557] RTL871X: ===> rtw_ips_pwr_down...................
[  624.573139] RTL871X: ====> rtw_ips_dev_unload...
[  624.613150] RTL871X: usb_read_port_cancel
[  624.622357] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.623307] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.624228] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.625111] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.626020] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.626883] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.627764] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.628683] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  624.629560] RTL871X: usb_write_port_cancel
[  624.629999] RTL871X: ==> rtl8188eu_hal_deinit
[  624.630563] RTL871X: bkeepfwalive(0)
[  624.634235] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
[  624.634671] RTL871X: <=== rtw_ips_pwr_down..................... in 62ms
[  646.119445] RTL871X: cfg80211_rtw_scan(p2p0)
[  646.119861] RTL871X: _rtw_pwr_wakeup call ips_leave....
[  646.120417] RTL871X: ==>ips_leave cnts:2
[  646.120773] RTL871X: ===>  rtw_ips_pwr_up..............
[  646.121292] RTL871X: ===> ips_netdrv_open.........
[  646.128017] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[  646.128478] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
[  646.130126] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414
[  646.130704] RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c
[  646.156107] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
[  646.158983] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  646.161781] RTL871X: _FWFreeToGo: Polling FW ready OK! (16, 4ms), REG_MCUFWDL:0x000300c6
[  646.162517] RTL871X: FWDL success. write_fw:1, 30ms
[  646.399264] ==> rtl8188e_iol_efuse_patch
[  646.466492] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  646.467012] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  646.697763] RTL871X: rtl8188eu_hal_init in 576ms
[  646.701382] RTL871X: wlx0013ef800c2cPort-0  set opmode = 2
[  646.702513] RTL871X: <===  rtw_ips_pwr_up.............. in 582ms
[  646.703072] RTL871X: nolinked power save leave
[  646.703572] RTL871X: ==> ips_leave.....LED(0x00028282)...
[  646.705301] RTL871X: cfg80211_rtw_scan(wlx0013ef800c2c)
[  646.705735] RTL871X: SetHwReg8188ESadHW_VAR_CHECK_TXBUF)TXBUF Empty(1) in 1 ms
[  646.706450] RTL871X: scan via buddy
[  648.083056] RTL871X: survey done event(1d) band:0 for p2p0
[  648.083588] RTL871X: rtw_indicate_scan_done(p2p0)
[  648.084085] RTL871X: rtw_indicate_scan_done(wlx0013ef800c2c)
[  648.085010] RTL871X: ==>rtw_ps_processor .fw_state(8)
[  648.085473] RTL871X: ==>ips_enter cnts:3
[  648.085825] RTL871X: nolinked power save enter
[  648.086276] RTL871X: ===> rtw_ips_pwr_down...................
[  648.086786] RTL871X: ====> rtw_ips_dev_unload...
[  648.128765] RTL871X: usb_read_port_cancel
[  648.129157] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.130054] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.130965] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.131839] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.132723] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.133634] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.134532] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.135451] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  648.136356] RTL871X: usb_write_port_cancel
[  648.136802] RTL871X: ==> rtl8188eu_hal_deinit
[  648.137413] RTL871X: bkeepfwalive(0)
[  648.140973] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
[  648.141408] RTL871X: <=== rtw_ips_pwr_down..................... in 55ms
[  679.127702] RTL871X: cfg80211_rtw_scan(p2p0)
[  679.128134] RTL871X: _rtw_pwr_wakeup call ips_leave....
[  679.128601] RTL871X: ==>ips_leave cnts:3
[  679.129023] RTL871X: ===>  rtw_ips_pwr_up..............
[  679.129499] RTL871X: ===> ips_netdrv_open.........
[  679.132081] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[  679.132520] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
[  679.133879] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414
[  679.134480] RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c
[  679.151137] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
[  679.153326] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  679.156257] RTL871X: _FWFreeToGo: Polling FW ready OK! (28, 4ms), REG_MCUFWDL:0x000300c6
[  679.157030] RTL871X: FWDL success. write_fw:1, 22ms
[  679.396388] ==> rtl8188e_iol_efuse_patch
[  679.469878] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  679.470415] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  679.740713] RTL871X: rtl8188eu_hal_init in 610ms
[  679.744895] RTL871X: wlx0013ef800c2cPort-0  set opmode = 2
[  679.746052] RTL871X: <===  rtw_ips_pwr_up.............. in 617ms
[  679.746617] RTL871X: nolinked power save leave
[  679.747381] RTL871X: ==> ips_leave.....LED(0x00028282)...
[  679.748828] RTL871X: SetHwReg8188ESadHW_VAR_CHECK_TXBUF)TXBUF Empty(1) in 0 ms
[  679.749361] RTL871X: cfg80211_rtw_scan(wlx0013ef800c2c)
[  679.749377] RTL871X: scan via buddy
[  681.136022] RTL871X: survey done event(11) band:0 for p2p0
[  681.136559] RTL871X: rtw_indicate_scan_done(p2p0)
[  681.137086] RTL871X: rtw_indicate_scan_done(wlx0013ef800c2c)
[  681.138011] RTL871X: ==>rtw_ps_processor .fw_state(8)
[  681.138471] RTL871X: ==>ips_enter cnts:4
[  681.138824] RTL871X: nolinked power save enter
[  681.139293] RTL871X: ===> rtw_ips_pwr_down...................
[  681.139809] RTL871X: ====> rtw_ips_dev_unload...
[  681.163582] RTL871X: usb_read_port_cancel
[  681.164064] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.165081] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.166037] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.166905] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.167910] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.169008] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.170000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.170912] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  681.171813] RTL871X: usb_write_port_cancel
[  681.172311] RTL871X: ==> rtl8188eu_hal_deinit
[  681.172919] RTL871X: bkeepfwalive(0)
[  681.176940] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
[  681.177381] RTL871X: <=== rtw_ips_pwr_down..................... in 38ms
[  704.046009] rk_gmac-dwmac ff540000.eth eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  717.425904] usb 3-1: USB disconnect, device number 5
[  717.426425] usb 3-1.1: USB disconnect, device number 6
[  717.480159] usb 3-1.3: USB disconnect, device number 7
[  722.110683] RTL871X: cfg80211_rtw_scan(p2p0)
[  722.111141] RTL871X: _rtw_pwr_wakeup call ips_leave....
[  722.111611] RTL871X: ==>ips_leave cnts:4
[  722.112041] RTL871X: ===>  rtw_ips_pwr_up..............
[  722.112523] RTL871X: ===> ips_netdrv_open.........
[  722.118807] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=1
[  722.119299] RTL871X: Set RF Chip ID to RF_6052 and RF type to 3.
[  722.120857] RTL871X: rtl8188e_FirmwareDownload fw:NIC, size: 15414
[  722.121482] RTL871X: rtl8188e_FirmwareDownload: fw_ver=16 fw_subver=0000 sig=0x88e1, Month=11, Date=58, Hour=16, Minute=3c
[  722.137566] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00030005
[  722.139421] RTL871X: =====> _8051Reset88E(): 8051 reset success .
[  722.142315] RTL871X: _FWFreeToGo: Polling FW ready OK! (35, 4ms), REG_MCUFWDL:0x000300c6
[  722.143053] RTL871X: FWDL success. write_fw:1, 20ms
[  722.379265] ==> rtl8188e_iol_efuse_patch
[  722.448182] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  722.448689] RTL871X: pDM_Odm TxPowerTrackControl = 1
[  722.699602] RTL871X: rtl8188eu_hal_init in 586ms
[  722.703596] RTL871X: wlx0013ef800c2cPort-0  set opmode = 2
[  722.704661] RTL871X: <===  rtw_ips_pwr_up.............. in 592ms
[  722.705217] RTL871X: nolinked power save leave
[  722.705760] RTL871X: ==> ips_leave.....LED(0x00028282)...
[  722.706701] RTL871X: SetHwReg8188ESadHW_VAR_CHECK_TXBUF)TXBUF Empty(1) in 0 ms
[  722.707678] RTL871X: cfg80211_rtw_scan(wlx0013ef800c2c)
[  722.708265] RTL871X: scan via buddy
[  724.099352] RTL871X: survey done event(b) band:0 for p2p0
[  724.099922] RTL871X: rtw_indicate_scan_done(p2p0)
[  724.100574] RTL871X: rtw_indicate_scan_done(wlx0013ef800c2c)
[  724.102056] RTL871X: ==>rtw_ps_processor .fw_state(8)
[  724.102523] RTL871X: ==>ips_enter cnts:5
[  724.102875] RTL871X: nolinked power save enter
[  724.103348] RTL871X: ===> rtw_ips_pwr_down...................
[  724.103873] RTL871X: ====> rtw_ips_dev_unload...
[  724.132631] RTL871X: usb_read_port_cancel
[  724.133095] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.134063] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.135035] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.135987] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.136988] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.137920] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.138880] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.139874] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(False)
[  724.140795] RTL871X: usb_write_port_cancel
[  724.141291] RTL871X: ==> rtl8188eu_hal_deinit
[  724.142024] RTL871X: bkeepfwalive(0)
[  724.149184] RTL871X: SetHwReg8188E: bMacPwrCtrlOn=0
[  724.149642] RTL871X: <=== rtw_ips_pwr_down..................... in 46ms


Im falling back to Debian Jessie Minimal now, I want to keep it simple anyway, lets see if that helps.

OK after re-installing the CLI OS, its working now, if anyone has issues:

connect the wifi dongle

> sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

network={
        ssid="your_ssid_here"
        psk="your_psk_here"
}

CTRL X, Y and Enter to save

> sudo nano /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto wlan0
iface wlan0 inet dhcp
        wpa-ssid your_ssid_here
        wpa-psk your_psk_here

CTRL X, Y and Enter to save

> sudo reboot

Its difficult to know what level of experience each individual user has when providing a solution. I always suggest trying to load a GUI when trying to resolve wireless issues first. Using a terminal or an ssh session is always the defacto solution but there's so many irrelevant solutions on the internet at the moment they end up breaking your distribution rather than fix it.
  Reply
#13
Thanks everyone
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  get wifi mt7601u mediatek usb dongle to work Johannes 0 2,396 11-17-2020, 09:48 AM
Last Post: Johannes
Information Rock64 RTL8188EU Wifi Adapter from Pine Store Tested Well MarkHaysHarris777 7 11,036 05-13-2020, 06:00 PM
Last Post: Leon Rembowski
  RTL8192EU WIFI elik745i 12 24,443 05-13-2020, 05:03 PM
Last Post: Leon Rembowski
  low speed wifi pas059 4 5,109 05-13-2019, 12:09 PM
Last Post: pas059
  Using ESP32 as WiFi and Bluetooth Module shripal17 2 3,809 03-08-2019, 02:44 AM
Last Post: shripal17
  50 kb with RTL8188eu WIFI adapter Juice4 2 3,468 11-09-2018, 12:56 PM
Last Post: Juice4
  WIFI driver compilation wsk 1 2,799 11-01-2018, 12:21 AM
Last Post: wsk
  Very disappointed with ROCK64 USB WIFI 802.11B/G/N Danielsan 0 2,280 04-23-2018, 09:51 AM
Last Post: Danielsan
  None of my Wifi modules work NicoD 7 8,747 04-05-2018, 02:53 PM
Last Post: tllim
  Yet another thread on ROCK64 Wifi Adapter Woes zendrummer74 1 3,753 02-01-2018, 11:10 PM
Last Post: a1w.ca

Forum Jump:


Users browsing this thread: 1 Guest(s)