Results 1 to 3 of 3

Thread: Network Manager interface deleted by mistake

  1. #1
    Join Date
    2015-Jul
    Posts
    2

    Network Manager interface deleted by mistake

    Hey I am pretty new to kali linux yesterday i was trying to fix the vpn grayed out problem which i successfully did i was able to add the vpn gateway n stuff but vpn wasn't connection after i clicked on vpn profile nothing happens no error nothing , So i turned off the pc for a while & after i get back to pc i was surprised
    because my network manager was no more there which mean i am not able to access internet now



    What i did was i made some changes in repositories then i revert it back to officials one which are as below

    ## Regular repositories
    deb http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    ## Source repositories
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    Then i did

    apt-get clean

    apt-get update

    apt-get upgrade

    after that

    aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome
    At this point everything was fine i was able to add vpn (But it wasn't connecting tho)

    So after reading for the solution of that i saw that someone actually posted a solution to this & that was

    Have you tried to edit the /etc/network/interfaces file and the /etc/NetworkManager/NetworkManager.conf file? Edit /etc/network/interfaces and put a '#' in front of everything except these lines

    So i edited that too but even that didn't fixed the problem so i turned off the pc & after i boot it again network manager was gone :/

    Now so far what i did to resolve this problem

    i edited the network manager n network interface back to default tried to remove network-manager from apt-get remove network-manager then installing the .deb package for network-manager. But still no success :3

    Any help would be really appreciated

    Thanks!
    Last edited by Narender24; 2015-07-25 at 15:08.

  2. #2
    Ill guess you did from terminal. service network-manager start ? Have you any ethernet available you could plug into for the apt-get remove network-manager and apt-get install network-manager ?

  3. #3
    Join Date
    2015-Jul
    Posts
    2
    Quote Originally Posted by skycrazy View Post
    Ill guess you did from terminal. service network-manager start ? Have you any ethernet available you could plug into for the apt-get remove network-manager and apt-get install network-manager ?
    Nope i didn't started network-manager from terminal all i did was run the command

    aptitude -r install network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager-strongswan network-manager-vpnc network-manager-vpnc-gnome
    I am using the kali os in vmware station as a virtual os & i have a wifi but i can directly insert my ethernet on to my laptop as well but i don't think that will make any difference tho, Correct me if i am wrong :/

Similar Threads

  1. deleted /bin/touch by mistake and now can't install anything
    By anonghost in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2016-07-27, 16:34
  2. network manager - interface not managed
    By wurmt0ngue in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2013-10-13, 01:29

Posting Permissions

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