I have a laptop with lubuntu 13.
Usually it's not connected (I don't have wifi atm) but sometimes try to connect it through the wire I use for my main machine.
However, there seems to be a problem with this. Simply connecting the cord does not seem to automatically connect the computer to the internet, and restarting it a few times does nothing either. I have been able to get a connection in the past when I first updated the system and installed all the programs I use, and also subsequently once. The first time it seemed to connect instantly, and the second time only after several reboots. Today I tried to connect it but nothing happened even after some reboots.
I have tried service network-manager restart
and it didn't work.
So I'm looking for some commands I can run to diagnose the problem and fix it.