Results 1 to 11 of 11

Thread: Network Manager Disabled - Cannot connect to Interfaces.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2017-Jan
    Posts
    28

    Network Manager Disabled - Cannot connect to Interfaces.

    Hi.

    I seem to have a similar problem as member Nivla regarding Network Manager app.
    Been following Nivla thread. Maybe Nivla issues are somewhat related to mine.

    I cannot enable the network manager app in my Linux environment on my Android 7.1.2 OnePlus One device. Without enabling, I am unable to connect wireless to wlan0 & wlan1.
    Been trying to resolve this problem for 2 weeks, but cannot find a solution. Hopefully someone can help. Thanks. Jef.

    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
    :
    Have 2. Wlan0 and Wlan1.
    Wlan0 owned/operated by the hotel I'm currently staying temporarily.
    Connect using Windows on my XPS13 laptop.

    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 Wlan0 & Wlan1.
    After this, I can ping google.com network.

    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),
    - edit connection open,
    (see attached Screen-Shot).
    Tic edit connections get not response.

    Left click nm-applet, shows the following message:
    “network manager is not running” grayed out (see attached Screen-Shot).
    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 network manager in kali linux 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

    Countenance of Files:
    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 wlan0
    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.218 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 fe80::c2ee:fbff:fe27:c9f prefixlen 64 scopeid 0x20<link>
    ether c0:ee:fb:27:0c:9f txqueuelen 1000 (Ethernet)
    RX packets 18557 bytes 10006056 (9.5 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 4262 bytes 552857 (539.8 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    root@kali:~# ifconfig wlan1
    wlan1: error fetching interface information: Device not found
    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 wlan0
    wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.218 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 fe80::c2ee:fbff:fe27:c9f prefixlen 64 scopeid 0x20<link>
    ether c0:ee:fb:27:0c:9f txqueuelen 1000 (Ethernet)
    RX packets 18557 bytes 10006056 (9.5 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 4262 bytes 552857 (539.8 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    root@kali:~# ifconfig wlan1
    wlan1: error fetching interface information: Device not found
    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

    root@kali:~# ifconfig wlan0 up
    root@kali:~# ifconfig wlan1 up
    wlan1: ERROR while getting interface flags: No such device
    root@kali:~# ifconfig wlan1mon up
    root@kali:~# iwconfig
    rmnet3 no wireless extensions.

    rev_rmnet0 no wireless extensions.

    rev_rmnet5 no wireless extensions.

    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 ESSIDff/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 keyff

    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 thrff Fragment thrff
    Power Managementff
    Attached Images Attached Images

Similar Threads

  1. Replies: 49
    Last Post: 2017-09-19, 16:13
  2. Replies: 0
    Last Post: 2015-09-19, 12:17
  3. error in apt-get install network-manager network-manager-gnome
    By arsham in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2014-10-05, 20:40
  4. disable network manager auto connect feature
    By brazen in forum General Archive
    Replies: 2
    Last Post: 2014-02-17, 14:18
  5. Replies: 1
    Last Post: 2013-06-10, 02:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •