When I originally got internet service my ethernet port was not turned on. Found this thread How do I install drivers for the Atheros AR8161 Ethernet controller?, followed directions under answer 1 and it enabled my ethernet port. Now, the problem is that every time I disconnect the ethernet cable or restart my computer, I have to go through the process all over again to enable my ethernet port. How do I make this change permanent so that my ethernet port remains on? I'm running Xubuntu 12.04 64-bit.
Asked
Active
Viewed 111 times
1
-
Is it the `modprobe ...` command that you have to run? – Wilf Jan 03 '14 at 14:37
-
I have to run all of the commands in order to get it to function each time. – Jason Smith Jan 03 '14 at 14:38
-
You mean you have to reinstall it every time? :-s – Wilf Jan 03 '14 at 14:39
-
Seems to be the case. Just running 'sudo modprobe alx' alone doesn't seem to work. – Jason Smith Jan 03 '14 at 14:42
-
Are you referring to [this answer](http://askubuntu.com/a/210466/178596) - once it is installed, it should stay installed. Also, please add the output of `sudo apt-get install linux-backports-modules-cw-3.4-precise-generic` command. – Wilf Jan 03 '14 at 14:44
-
I'm referring to the answer where you have to build and install the driver by downloading the compat-wireless-pc driver package. – Jason Smith Jan 03 '14 at 14:49
-
let us [continue this discussion in chat](http://chat.stackexchange.com/rooms/12286/discussion-between-jason-smith-and-wilf) – Jason Smith Jan 03 '14 at 14:54
1 Answers
0
Try:
echo alx | sudo tee /etc/modules
This will add the module to the /etc/modules file, so it loads automatically, and so you don't have to run the sudo modprobe alx command every time.
Wilf
- 29,694
- 16
- 106
- 164
-
I got the following error when running this command and tried running it with sudo and got the same error message: bash: /etc/modules: Permission denied – Jason Smith Jan 03 '14 at 14:51
-