Hi.
I cannot
enable the nm-applet in my Linux environment on my Android 7.1.2 OnePlus One device. Without enabling, I am unable to add/edit connection or connect wireless to wlan1.
Been trying to resolve this problem for 2 weeks, but cannot find a solution. Hopefully someone can help. Thanks: TC.
Info:
- ROM: Lineageos 14.1 bacon Android 7.1.2 Marshmallow. Device: OnePlus One.
- Uname: Linux Nethunter 3.15. Kernel 3.4.112-lineageos-g23c699a armv71.
- Distro: Kali Linux Rolling V2017.1
- Architecture: Armhf
- CurrentDesktop: XFce V4.1,2
- Client: VNC Viewer V3.3.1 connect via localhost 127.0.0.1 to linux
- Network-Manager and Gnome v1-8-2-1 armhf
Wireless WIFI Use:
Wlan1 is my external wifi dongle TP-Link-TL-WN722N, use specifically for Linux.
Use otg cable to connect Phone Device to wifi dongle.
I can successfully run all aircrack-ng commands putting wlan1 in monitor mode.
BTW: TL-WN722N dongle works fine when I access Linux with my Xps13 Laptop.
Prior to starting network manager, I initiate Ifconfig & airmon-ng cmds to start Wlan1.
Network Manager Applet responses:
Installed network-manager successfully. NM-applet appears on the top-right panel. Two monitors joined displaying “x” in window.
Right click the nm-applet shows the following:
- enable networking option (greyed out),
- enable notification open,
- connection info option(greyed out),
Tic edit connections get not response.
Left click nm-applet, shows the following message:
“network manager is not running” grayed out.
Go to application, settings, network connection and double click network connections, get no response.
Click on the front nm-applet, display message “network manager is disable”.
My Question is: How can I
enable nm-applet in kali linux nethunter to configure my network connections? I cannot see any available wireless networks.
Once enabled, I should be able to “Ticked On” networking option in the applet, then connect wireless to the internet. From what I've read, most Networking problems are related to missing or faulty drivers. Is this true?
Tried:
- stop, restarting network manager service
- uninstalling/reinstalling network-manager & Gnome.
- Setting Managed=true In r.conf
- Killed all using rfkill command.
- Nm-connection-editor - 7214 Warning couldn't construct the client instance.
Could not connect, no such file or directory. Failed to initialize the UI.
- /etc/init.d/network-manager restart
- /usr/share/polkit-1/actions/org.freedesktop.network-manager-r..policy <allow_inactive> element. Change "no" to "yes"
Files:
/etc/dbus-1/system.d/nm-applet.conf
nm-applet.conf Does not exist in system folder. Is this normal?
etc/network/Interfaces:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
etc/network manager:
system connection – has only Network Manager USRP document.
Network manager r.conf - (main) plugins=ifupdown,keyfile (ifupdown) managed=false
Var /Network Manager - NetworkEnable=true, WirelessEnabled=true, WWANenabled=true
Some commands:
lspci
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method
I have Pcutils installed. I may not have any bus/pci installed.
Is there substitute command or file you can recommend to display?
AIRMON-NG
root@kali:~# airmon-ng start wlan1
Found 1 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'
PID Name
2627 wpa_supplicant
PHY Interface Driver Chipset
phy0 p2p0 ?????? Not pci, usb, or sdio
phy0 wlan0 ?????? Not pci, usb, or sdio
phy1 wlan1 ?????? Atheros Communications, Inc. AR9271 802.11n
(mac80211 monitor mode vif enabled for [phy1]wlan1 on [phy1]wlan1mon)
(mac80211 station mode vif disabled for [phy1]wlan1)
rfkill list all
root@kali:~# rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
lsusb
root@kali:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsmod (file empty)
root@kali:~# lsmod
Module Size Used by
modrobe.d/blacklist
root@kali:~# cat /etc/modrobe.d/blacklist.libnfc.conf
blacklist nfc blacklist pn533
dmesg | grep usb
root@kali:~# dmesg | grep usb
[ 461.249782] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 461.250106] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 461.250596] usb usb1: Product: xHCI Host Controller
[ 461.250848] usb usb1: Manufacturer: Linux 3.4.113-lightning-kernel-v38-ga6181dd88ba-dirty xhci-hcd
[ 461.251161] usb usb1: SerialNumber: xhci-hcd
[ 461.261324] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 461.268275] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 461.269008] usb usb2: Product: xHCI Host Controller
[ 461.269281] usb usb2: Manufacturer: Linux 3.4.113-lightning-kernel-v38-ga6181dd88ba-dirty xhci-hcd
[ 461.269369] usb usb2: SerialNumber: xhci-hcd
[ 462.011147] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 462.035979] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
[ 462.036415] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 462.036639] usb 1-1: Product: USB2.0 WLAN
[ 462.037038] usb 1-1: Manufacturer: ATHEROS
[ 462.037261] usb 1-1: SerialNumber: 12345
[ 462.067316] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[ 462.388608] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
root@kali:~# ifconfig wlan1mon
wlan1mon: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
unspec 84-16-F9-07-CA-88-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 11926 bytes 5538795 (5.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
IWCONFIG
root@kali:~# ifconfig wlan1mon
wlan1mon: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
unspec 84-16-F9-07-CA-88-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 11926 bytes 5538795 (5.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0 Qcom:802.11n ESSID:"BayBreeze Hotel" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: 26:A4:3C:4F:49:4A
Bit Rate=9 Mb/s Tx-Power=16 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:B776-423D-5C59-D0D9-C5C1-1CA0-DD8B-F04A-C03E-B990-525C-9620-5BA4-6A58-3254-3048 [2] Security mode:restricted
rmnet4 no wireless extensions.
rev_rmnet1 no wireless extensions.
p2p0 Qcom:802.11n ESSID

ff/any Nickname:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=0 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key

ff
sit0 no wireless extensions.
dummy0 no wireless extensions.
lo no wireless extensions.
wlan1mon IEEE 802.11bgn Mode:Monitor Frequency:2.457 GHz Tx-Power=30 dBm
Retry long limit:7 RTS thr

ff Fragment thr

ff
Power Management

ff