[lug] Help request: Not able to activate networking on recovery mode. Ubuntu 11.10
Ryan J Nicholson
rjn256 at gmail.com
Wed Jan 25 21:46:08 MST 2012
I'd skip recovery mode, and boot up an 11.10 live CD. That way, you
can 100% rule out hardware problems (does it work with the live CD?),
and even better, you can restore your packages to a consistent state
from a chroot.
This is what I'd do:
1) Boot 11.10 off of a live CD or USB stick.
2) Make sure networking works from the graphical desktop, make sure
you can get to the Internet.
3) Open a shell/terminal and get a root prompt:
4) Mount your local hard disk, whatever partition you've installed
11.10 to. Let's say /dev/sda1.
mount /dev/sda1 /mnt
5) Chroot into that filesystem, and mount /proc so you will have
mount -t proc /proc proc
Try to ping an Internet host after this step, by IP address and then by name:
If that works..great! (and if not, check route and /etc/resolv.conf...)
6) Now you can apt-get update. Since you were pinning, delete or
mv /etc/apt/preferences /etc/apt/old.preferences
7) At this point, you should have the most recent 11.10 packages, and
everything should be in a consistent state. Back out of your chroot:
Ctrl-D to exit chroot
and reboot the machine.
Does it come up properly? I hope so.
More information about the LUG