New to Sabayon, been using #! and Debian for a while but I got a new computer and decided to give it a shot, try to learn something new.
So far I like what I see, I like the package manager, and I like Gnome 3, but I can't get my ethernet to work. In #! I had to do the following commands to get it to work:
- Code: Select all
sudo apt-get install linux-headers-generic build-essential
wget http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.5/compat-wireless-3.5.1-1-snpc.tar.bz2
tar -xf compat-wireless-3.5.1-1-snpc.tar.bz2
cd compat-wireless-3.5.1-1-snpc
./scripts/driver-select alx
make
sudo make install
sudo modprobe alx
So I figured I needed the compat-wireless driver. I found what I believe I needed here. I downloaded and extracted the compat-wireless-3.5.3-2.tar.bz2 file, then tried to follow the installation instructions. I got to the part where you are supposed to do
- Code: Select all
cd /path/to/compat-wireless-2.6.32-rc5
./scripts/driver-select alx
make
sudo make install
and I run into errors. The errors I get have something to do with make trying to use kbuild and not being able to find it (forgive me if I'm describing this poorly, I don't really have much of any experience with this sort of thing yet).
- Code: Select all
Utopia compat-wireless-3.5.3-2 # make
make -C /lib/modules/3.5.0-sabayon/build M=/home/bonez/Downloads/compat-wireless-3.5.3-2 modules
make[1]: Entering directory `/usr/src/linux-3.5.0-sabayon'
Makefile:323: /usr/src/linux-3.5.0-sabayon/scripts/Kbuild.include: No such file or directory
Makefile:564: /usr/src/linux-3.5.0-sabayon/arch/x86/Makefile: No such file or directory
/bin/sh: /usr/src/linux-3.5.0-sabayon/scripts/gcc-goto.sh: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.5.0-sabayon/arch/x86/Makefile'. Stop.
make[1]: Leaving directory `/usr/src/linux-3.5.0-sabayon'
make: *** [modules] Error 2
Here is the ls of /usr/src/linux-3.5.0-sabayon:
- Code: Select all
Utopia linux-3.5.0-sabayon # ls -la
total 4188
drwxr-xr-x 3 root root 4096 Sep 20 04:07 .
drwxr-xr-x 3 root root 4096 Sep 20 04:07 ..
-rw-r--r-- 1 root root 139039 Sep 11 03:47 .config
drwxr-xr-x 3 root root 4096 Sep 20 04:06 include
-rw-r--r-- 1 root root 47161 Sep 11 03:47 Makefile
-rw-r--r-- 1 root root 845976 Sep 11 03:47 Module.symvers
-rw-r--r-- 1 root root 3237365 Sep 11 03:47 System.map
I've tried
- Code: Select all
equo install linux-sabayon:3.5 --ask
equo install linux-headers-3.1
and updating, but I can't get it to work. Could somebody point me in the right direction please?
Oh, also, output from lspci -k | grep Ethernet is:
02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 08)
Thanks in advance.
