Re-installing network-manager should have restored the files and directories you had previously removed. If that did not restore the NetworkManager.conf file you could ask dpkg to reconfigure the package (using its --configure option).
I have one machine with a wired connection and one with WiFi. Both have the following contents in the NetworkManager.conf file as shown below.
Code: Select all
Once you have the configuration file set up you should be able to configure your network connections. You may see two different menu entries for this. Based on my experience trying to get my laptop working I have learned that you should not
use the "Network" menu under the System-Administration menu. Instead, you should use "Network Connections" menu located under System->Preferences.
If you use "Network" you will find that you see "Waiting for network connection" at boot time. Once you log in a network connection may exist but you can't manage it properly. If you do see the "Waiting" message at boot time check the file /etc/network/interfaces and remove any lines other than 'auth lo' and 'iface lo inet loopback'.
I would also suggest you edit your menus to hide the "Network" entry under System->Preferences so you don't use it by mistake later on and inadvertently break your network setup.