Problem when rebooting the Ubuntu after upgrading from 11.04 to 11.10.
Error: failed to connect to socket /var/run/dbus/system
Solution:
Just use the script below:
$> sudo mkdir /run
$> sudo mkdir /run/lock
$> sudo mv /var/run/* /run
$> sudo mv /var/lock/* /run/lock
$> sudo rm /var/run -R
$> sudo rm /var/lock -R
$> sudo ln -s /run /var/run
$> sudo ln -s /run/lock /var/lock
$> sudo reboot now
That's it...
After rebooting, you will see your network interface now. [ifconfig -a]