I have only wireless connection, one computer with a connection and 4gb usb .
My second computer has no network connection, because I have deleted it from the software center. However, now I want to re-install it. How can I do that?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
In case you only removed just Network Manager with the Software Center it is quite easy to reinstall by downloading only 2 packages from another machine connected to the internet:
Note: This was not tested for the case when network-manager was removed in other ways, and if other applications were removed that may have deleted additional dependencies.
The following describes how to establish a wireless network connection via command line utilities.
I think this is a better option because it gives you the useful ability to interface with relevant command line utilities.
ifconfig -ato identify your wireless card. From hence forward, I will assume it's
sudo ifconfig eth1 up
iwlist eth1 scanto find available networks.
iwlist eth1 scan | lessif it's a long list.
sudo iwconfig eth1 essid [network] [key [pass]]Also, read
man iwconfigto figure out how the wifi password is entered. You might also need to configure the channel and stuff.
wpa_supplicantwill be necessary. http://ubuntuforums.org/showthread.php?t=263136
sudo dhclient eth1
I had the same problem. I was on one and only computer - off-line and could not re-install Network manager. However, booting up in the root screen allowed an internet connection. I still could not install the network manager, but I was able to
apt-get install wicd.
After doing that, I booted up again, this time to the GNOME window GUI and wicd was there in the applications. It sets up internet connection as does NetworkManager. But to be extra safe, I then installed network manager again since I was back online and able to do so. I have both now and feel more secure.
The first time a power line crash removed network manger and left me offline, I had to do a complete new installation as I did not know about wicd. I'm glad to have learned of it this time, and glad it is easy to install from the root directory.