If my computer is on without an network connection(e.g. the router is rebooted, the network cable is unplugged, etc), it won't connect at all until I fix the connection then reboot the computer. How can I make the network manager automatically connect to a new network?
3 Answers
I think you can open your network manger, then open your normally chosen network connection. You then can put a click in the connect automatically, it's at the top.
I find that simply unplugging my ethernet cable and and plugging it in again works. It has to do with the device not pick up that the cable is connected.
I also use mii-tool
sudo mii-tool -v eth1: negotiated 1000baseT-FD flow-control, link ok product info: vendor 00:07:32, model 17 rev 2 basic mode: autonegotiation enabled basic status: autonegotiation complete, link ok capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD advertising: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
then
sudo mii-tool -R
reset MII to poweron state
sudo mii-tool -r
restart autonegotiation
For what its worth I noticed some WARN lines output in the syslog but I have exactly the same lines and do not have the same problem.
I always tell my son not to be afraid to ask stupid questions so here goes.. is the Network Applet - Edit Connections - Eth2 - Edit - "Connect Automatically" checked?
-
Yes it is. Remember this is an old question. I have not had to reboot my router since asking this so I don't know if this is still a problem.– JohnJun 22, 2011 at 3:59
NetworkManager
in System ▸ Administration ▸ Log File Viewer ▸ daemon.log, for a start.