Results 1 to 2 of 2

Thread: How to restore network drivers after acidently deleted

  1. #1
    Join Date
    Nov 2013
    Beans
    1

    Post How to restore network drivers after acidently deleted

    I accidently deleted the network manager in Ubuntu 13.04. I do not want to reinstall it, can i recover it?? are there any solutions??
    Last edited by bitesh_sharma7; November 19th, 2013 at 11:03 PM.

  2. #2
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to restore network drivers after acidently deleted

    Hello Bitesh, Welcome to the forums !

    There is no way to actually 'Recover' deleted/removed applications except reinstalling them. Installer files of applications that are manually downloaded via apt/synaptic/software-center etc. are cached in /var/cache/apt/archives directory, so you don't need to download them again if needed to reinstall. But the default applications once removed can only be restored by downloading from net.

    If using a wired connection, it is as easy to configure manually as running two commands -
    Code:
    sudo ifconfig eth0 <IP address>
    sudo route add default gw <gateway's IP address>
    ..assuming your ethernet interface's logical name is eth0.

    If it is a wireless connection, it is a bit more work to make it work. This one seems to be a perfect comprehensive guide for that : http://askubuntu.com/a/16588

    You may also try this to do an offline installation of the required packages (for NM's re-installation) -
    Code:
    apt-get install --print-uris network-manager-gnome
    It will give the download URIs of all the required packages at the bottom of the output. Use these to download the packages on a different computer with internet access > copy them back to your Ubuntu computer > install with "dpkg -i *" (while being in the same directory where the downloaded .deb files are copied).
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags
    Am I not replying you? Perhaps this is why.

Bookmarks

Posting Permissions

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