Dear god, finally its been days since i could find this!!!!!!!!!!!!!!!1
hello, i have a lenovo y580, which has a similar atheros ar8162. i followed the procedure written here. but still no luck. in the network menu i am not getting anything. no wifi and no lan connection. FYI i am connected to a wifi router.
Similar?? Let's have a look:similar atheros ar8162Code:lspci -nn | grep 0200 sudo modprobe alx dmesg | grep alxThis is an ethernet device, not wifi.no wifi
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
well, it worked now. i am from ubuntu now
i got some error msg with the driver file you posted.
then i found this http://askubuntu.com/questions/15722...atheros-ar8162 and downloaded compat-wireless-2012-09-01-pc.tar.bz2 file...then it worked. may be you can tell about my problem, so that it might help others. but this is really frustrating when you cant access internet due to driver issue. i am lucky that i have another machine beside.roni@roni-Lenovo-Y580:~/compat-wireless-2012-09-05$ make
./scripts/gen-compat-autoconf.sh /home/roni/compat-wireless-2012-09-05/.config /home/roni/compat-wireless-2012-09-05/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.2.0-29-generic-pae/build M=/home/roni/compat-wireless-2012-09-05 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-29-generic-pae'
CC [M] /home/roni/compat-wireless-2012-09-05/compat/main.o
CC [M] /home/roni/compat-wireless-2012-09-05/compat/compat-3.3.o
CC [M] /home/roni/compat-wireless-2012-09-05/compat/compat-3.4.o
CC [M] /home/roni/compat-wireless-2012-09-05/compat/compat-3.7.o
/home/roni/compat-wireless-2012-09-05/compat/compat-3.7.c: In function ‘pcie_flags_reg’:
/home/roni/compat-wireless-2012-09-05/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]
include/linux/pci.h:713:5: note: expected ‘struct pci_dev *’ but argument is of type ‘const struct pci_dev *’
/home/roni/compat-wireless-2012-09-05/compat/compat-3.7.c:41:2: warning: passing argument 1 of ‘pci_read_config_word’ discards ‘const’ qualifier from pointer target type [enabled by default]
include/linux/pci.h:756:19: note: expected ‘struct pci_dev *’ but argument is of type ‘const struct pci_dev *’
CC [M] /home/roni/compat-wireless-2012-09-05/compat/compat_atomic.o
CC [M] /home/roni/compat-wireless-2012-09-05/compat/sch_fq_codel_core.o
CC [M] /home/roni/compat-wireless-2012-09-05/compat/flow_dissector.o
LD [M] /home/roni/compat-wireless-2012-09-05/compat/compat.o
CC [M] /home/roni/compat-wireless-2012-09-05/compat/sch_codel.o
LD [M] /home/roni/compat-wireless-2012-09-05/compat/sch_fq_codel.o
scripts/Makefile.build:44: /home/roni/compat-wireless-2012-09-05/drivers/net/ethernet/atheros/alx/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/roni/compat-wireless-2012-09-05/drivers/net/ethernet/atheros/alx/Makefile'. Stop.
make[3]: *** [/home/roni/compat-wireless-2012-09-05/drivers/net/ethernet/atheros/alx] Error 2
make[2]: *** [/home/roni/compat-wireless-2012-09-05/drivers/net/ethernet/atheros] Error 2
make[1]: *** [_module_/home/roni/compat-wireless-2012-09-05] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-29-generic-pae'
make: *** [modules] Error 2
Hmmm. There was a reason that I did:roni@roni-Lenovo-Y580:~/compat-wireless-2012-09-05And therefor there was a reason I did:My long delay in responding was because I was working out how and where to get it working....because it works.compat-wireless-3.5.1-1-snpc
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
hmm...now i have another problem...my wifi is not working i just restarted to windows. but if you are online then i can go back i spent almost an hour for ethernet driver
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Chili555, thank you very much for the steps to enable ethernet on ubuntu.
I had to do the below before "sudo make install" in addition:
"
sudo mv /usr/sbin/update-grub ~/ug.bk; sudo touch /usr/sin/update-grub; sudo chmod a+x /usr/sbin/update-grub;
"
in order to bypass grub update. My live kubuntu 12 uses syslinux boot manager and not grub.
I do not know the long-term consequences of moving update-grub yet.
Hi there,
i followed all the step and eth0 appeared, but i still can't connect to the internet via ethernet...
Results:Code:lspci -nn | grep 0200 sudo modprobe alx dmesg | grep alx
ifconfig:Code:trajektorijus@trajektorijus-Lenovo-IdeaPad-Y580:~$ lspci -nn | grep 0200 02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8161 Gigabit Ethernet [1969:1091] (rev 08) trajektorijus@trajektorijus-Lenovo-IdeaPad-Y580:~$ sudo modprobe alx trajektorijus@trajektorijus-Lenovo-IdeaPad-Y580:~$ dmesg | grep alx [ 26.025103] alx 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 26.025105] alx 0000:02:00.0: DMA to 64-BIT addresses [ 26.025119] alx 0000:02:00.0: setting latency timer to 64 [ 26.025180] alx 0000:02:00.0: (unregistered net_device): HW Flags = 0x415 [ 26.025590] alx 0000:02:00.0: (unregistered net_device): reset PHY, pws = 1, az = 0, ptp = 0 [ 26.026947] alx 0000:02:00.0: (unregistered net_device): speed = 0x2f, autoneg = 1 [ 26.027975] alx 0000:02:00.0: irq 46 for MSI/MSI-X [ 26.028234] alx: Atheros Gigabit Network Connection [ 292.458570] alx 0000:02:00.0: eth0: speed = 0x2f, autoneg = 1 [ 974.582372] alx 0000:02:00.0: eth0: speed = 0x2f, autoneg = 1 [ 1817.587433] alx 0000:02:00.0: eth0: speed = 0x2f, autoneg = 1 trajektorijus@trajektorijus-Lenovo-IdeaPad-Y580:~$
lshw -C network:Code:trajektorijus@trajektorijus-Lenovo-IdeaPad-Y580:~$ ifconfig eth0 Link encap:Ethernet HWaddr dc:0e:a1:f0:60:7f inet addr:10.10.11.85 Bcast:10.10.11.255 Mask:255.255.255.0 inet6 addr: fe80::de0e:a1ff:fef0:607f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:214 errors:0 dropped:7 overruns:0 frame:0 TX packets:1868 errors:0 dropped:0 overruns:0 carrier:7 collisions:0 txqueuelen:1000 RX bytes:28119 (28.1 KB) TX bytes:157867 (157.8 KB) Interrupt:16 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:3107 errors:0 dropped:0 overruns:0 frame:0 TX packets:3107 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:304397 (304.3 KB) TX bytes:304397 (304.3 KB) wlan0 Link encap:Ethernet HWaddr 9c:4e:36:18:5e:4c inet addr:88.118.228.186 Bcast:88.118.229.255 Mask:255.255.254.0 inet6 addr: fe80::9e4e:36ff:fe18:5e4c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:51960 errors:0 dropped:0 overruns:0 frame:0 TX packets:31935 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:52478089 (52.4 MB) TX bytes:4210118 (4.2 MB)
What i did wrong? Wireless works fine.Code:trajektorijus@trajektorijus-Lenovo-IdeaPad-Y580:~$ sudo lshw -C network *-network description: Ethernet interface product: AR8161 Gigabit Ethernet vendor: Atheros Communications Inc. physical id: 0 bus info: pci@0000:02:00.0 logical name: eth0 version: 08 serial: dc:0e:a1:f0:60:7f size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=alx duplex=full firmware=alx ip=10.10.11.85 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s resources: irq:46 memory:d3600000-d363ffff ioport:2000(size=128) *-network description: Wireless interface product: Centrino Wireless-N 2200 vendor: Intel Corporation physical id: 0 bus info: pci@0000:03:00.0 logical name: wlan0 version: c4 serial: 9c:4e:36:18:5e:4c width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=3.2.0-31-generic firmware=18.168.6.1 ip=88.118.228.186 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn resources: irq:44 memory:d3500000-d3501fff
Bookmarks