Earlier today my Ubuntu 12.04 connected to the internet for the first time (after days of trying0 and was halfway through updating itself when the power got turned off!
The restarted computer did not connect to the internet, and the r8169 was back in the kernel. I had found the instructions here - http://unixblogger.wordpress.com/201...ethernet-card/
- helpful, although that was written for the 11.10 version. Also even though the system was working, I hadn't been able to get every step to work. But I tried it again.
The result of putting lspci -v in the terminal included:
"kernal driver in use is r8168"
, which is what I want, but also
"kernel modules: r8168, r8169"
(and I don't want the r8169 in there).
when I did
mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`
the read out was:
"grep: /boot/config-uname: No such file or directory
WARNING: missing /lib/modules/uname -r
Device driver support needs thus be built-in linux image!
FATAL: modules must be specified using absolute paths.
"uname" is a relative path.
FATAL: Could not load /lib/modules/uname -r/modules.dep: No such file or directory x~20
WARNING: Couldn't open directory /tmp/mkinitramfs_nrj2In/lib/modules/3.2.0-38-generic-pae: No such file or directory
FATAL: Could not open directory /tmp/mkinitramfs_nrj2In/lib/modules/3.2.0-38-generic-pae/modules.dep.temp for writing: No such file or directory
The guide I'm using had a post from someone else saying to replace the ' with $( but this made no difference to me.
There are quite a few reference on the net to this problem, including for my OS. eg. http://ubuntuforums.org/showthread.php?t=1958899
Should I try this one? If so do I download the Gist? Is it the right gist? What does one do with gists?
There's another problem or two on my system including the system unable to mount the physical volume. The error message that comes up during loading is "the disk drive for /dev/mapper/Computer--i7-swap-1 is not ready yet or not present "