I have Ubuntu 12.10, kernel 3.5.0-25 , and did all the updates. The wired connection is not working and for get it working I must install compat wireless drivers.
I have done this once but I reinstalled Ubuntu and now it doesn't work anymore.

I did apt-get install linux-headers-generic build-essential which says everything is up-to-date.
Then ./scripts/driver-select alx which didn't give any error.
Then 'make' which gave some errors:

# make
./scripts/gen-compat-autoconf.sh /root/compat-wireless-3.6.8-1/.config /root/compat-wireless-3.6.8-1/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.5.0-25-generic/build M=/root/compat-wireless-3.6.8-1 modules
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-25-generic'
CC [M] /root/compat-wireless-3.6.8-1/compat/main.o
CC [M] /root/compat-wireless-3.6.8-1/compat/compat-3.7.o
/root/compat-wireless-3.6.8-1/compat/compat-3.7.c: In function ‘pcie_flags_reg’:
/root/compat-wireless-3.6.8-1/compat/compat-3.7.c:37:2: warning: passing argument 1 of ‘pci_find_capability’ discards ‘const’ qualifier from pointer target type [enabled by default]
In file included from /root/compat-wireless-3.6.8-1/include/linux/compat-3.7.h:10:0,
from /root/compat-wireless-3.6.8-1/include/linux/compat-2.6.h:67,
from <command-line>:0:
include/linux/pci.h:714:5: note: expected ‘struct pci_dev *’ but argument is of type ‘const struct pci_dev *’
LD [M] /root/compat-wireless-3.6.8-1/compat/compat.o
scripts/Makefile.build:44: /root/compat-wireless-3.6.8-1/drivers/net/ethernet/atheros/alx/Makefile: No such file or directory
make[4]: *** No rule to make target `/root/compat-wireless-3.6.8-1/drivers/net/ethernet/atheros/alx/Makefile'. Stop.
make[3]: *** [/root/compat-wireless-3.6.8-1/drivers/net/ethernet/atheros/alx] Error 2
make[2]: *** [/root/compat-wireless-3.6.8-1/drivers/net/ethernet/atheros] Error 2
make[1]: *** [_module_/root/compat-wireless-3.6.8-1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-25-generic'
make: *** [modules] Error 2

Please help me. I reinstalled Ubuntu very confident that I can remake my wired connection work, but Ubuntu is full of surprises.
Thanks a lot !