I had encountered three problems:
- If the cable doesn't connect to the laptop or the network is not working, the system always wait for a long time with the messages read:
``Waiting for network configuration...''
``Waiting up to 60 more seconds for network configuration...''
- When the network is interrupted, it won't recover automatically.So every time I close the laptop lid to sleep the system and open it to resume it, I have to open the terminal and type ``sudo pon dsl-provider'' to get the network connection back.
- I couldn't connect to my wireless network at home, and found nowhere to get the settings done. My wireless network has been set as hidden, and I have added it in the Network Connections. But when I tried to connect it, the icon always showed the processing state and the connection was never done.
Here are the solutions I found and tested successfully:
- Edit the file: /etc/init/failsafe.conf
Find the lines with ``sleep'' and comment out the two which related to the system messages just mentioned above.
- Reinstall network-manager by
sudo apt-get --reinstall install network-managerand use the following command to start the manager:
sudo /etc/init.d/network-manager restart
- Edit the file: /etc/NetworkManager/NetworkManager.conf
change ``managed=false'' to ``managed=true''
restart the network manager by
sudo /etc/init.d/network-manager restartAfter doing these, the available wireless network will show up. My hidden wireless network still couldn't be connected so I tried to click its icon and a window popped out for me to enter the password. I inputed the password and everything went as expected as shown in the figure: