Found a couple of useful command for trouble shooting networking problems on Ubuntu I thought I would share.
show all network adaptors
show all network configurations
Turn ON or OFF the network adaptor
ifconfig eth1 up
ifconfig eth1 down |
I was having some problems setting up the network settings on a CentOS 4 system. I found a handy little command for editing the network configuration
Don’t forget to restart the network after changing
/etc/init.d/network restart |
So when I was running 64-bit Unbuntu 8.10 I noticed that the network dropped from the machine for no reason what so ever. The machine was fine just that the network gave out. I found this little explanation and the solution which I am going to try out and see if it works.
Originally found here: http://www.nnbfn.net/tag/ubuntu/
Here is the Exerpt: CRITICAL: cannot initialize libpolkit
Here is the posting:
The error is triggered by the update-modt cron job which runs ever 10 minutes.
This is a bug in Intrepid. console-kit-daemon requires PolicyKit as a dependancy, but Intrepid (Server AMD64) does not install it when it installs console-daemon-kit.
The simple fix is to install policykit.
sudo apt-get install policykit |
Next run of the update-motd job and the error is gone.