You are not logged in.
Hi,
I have been using arch for a while on my old pc and just recently got a new eeePC 1005HA, I have installed arch on it using the core image and my trusty pen drive. However once booted i have no ethernet which i need to install the rest of the packages etc.
/sbin/ifconfig just brings up the 'lo' interface and nothing else.
Can anyone please help me get ethernet?
Many thanks in advance
Offline
Run the command lsmod and show us the output.
Try to run lspci as well, if that's installed.
Are you sure you did a ifconfig -a to show all interfaces, and not just the enabled ones as ifconfig will do?
Offline
I got a 1005HA the other day. I haven't used the ethernet yet, but it shows up in ifconfig.
If it shows up with "ifconfig -a", just run "ifconfig eth0 up" to enable to.
Hope that helps.
Offline
Hi
Here is output of lsmod:
Module Size Used by
usb_storage 51456 0
atl1e 33240 0
ext2 69036 1
snd_seq_dummy 2696 0
snd_seq_oss 31168 0
snd_seq_midi_event 7012 1 snd_seq_oss
joydev 10400 0
snd_seq 53744 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6768 3 snd_seq_dummy,snd_seq_oss,snd_seq
arc4 1732 2
snd_hda_codec_realtek 206504 1
ecb 2788 2
snd_pcm_oss 40352 0
snd_mixer_oss 17540 1 snd_pcm_oss
snd_hda_intel 26664 0
ath9k 319380 0
snd_hda_codec 71716 2 snd_hda_codec_realtek,snd_hda_intel
uvcvideo 61040 0
fan 4392 0
snd_hwdep 7656 1 snd_hda_codec
mac80211 182848 1 ath9k
videodev 36544 1 uvcvideo
v4l1_compat 15688 2 uvcvideo,videodev
snd_pcm 73672 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
video 19832 0
psmouse 59644 0
snd_timer 21100 2 snd_seq,snd_pcm
iTCO_wdt 10952 0
iTCO_vendor_support 3080 1 iTCO_wdt
eeepc_laptop 13240 0
cfg80211 67364 2 ath9k,mac80211
uhci_hcd 23540 0
snd 58436 11 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
intel_agp 27484 1
output 2884 1 video
sg 27928 0
evdev 10176 0
serio_raw 5704 0
thermal 13888 0
processor 35800 2
battery 10984 0
button 5556 0
ac 4360 0
rfkill 10640 4 ath9k,eeepc_laptop
pcspkr 2372 0
led_class 3976 1 ath9k
soundcore 6848 1 snd
snd_page_alloc 8876 2 snd_hda_intel,snd_pcm
agpgart 32756 1 intel_agp
ehci_hcd 35664 0
usbcore 150192 5 usb_storage,uvcvideo,uhci_hcd,ehci_hcd
rtc_cmos 11212 0
rtc_core 18048 1 rtc_cmos
rtc_lib 2500 1 rtc_core
ext4 237988 2
mbcache 7080 2 ext2,ext4
jbd2 57756 1 ext4
crc16 1636 1 ext4
sd_mod 27328 5
ata_piix 23080 0
ata_generic 4680 0
pata_acpi 4228 0
ahci 34004 4
libata 168012 4 ata_piix,ata_generic,pata_acpi,ahci
scsi_mod 110708 4 usb_storage,sg,sd_mod,libata
Here is lspci:
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:8340]
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:8340]
Kernel modules: intelfb
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:8340]
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:83ce]
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 02)
Kernel driver in use: pcieport-driver
Kernel modules: shpchp
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel modules: iTCO_wdt, intel-rng
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel driver in use: ata_piix
Kernel modules: ata_piix, piix
00:1f.2 SATA controller [0106]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller [8086:27c5] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:830f]
Kernel driver in use: ahci
Kernel modules: ahci
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Device [1a3b:1089]
Kernel driver in use: ath9k
Kernel modules: ath9k
/sbin/ifconfig -a
Shows lo interface, wlan0 interface and a wmaster0 interface
Many thanks.
Offline
I got a 1005HA the other day. I haven't used the ethernet yet, but it shows up in ifconfig.
If it shows up with "ifconfig -a", just run "ifconfig eth0 up" to enable to.Hope that helps.
Hi,
Using the stock default 2.6.30 kernel running ifconfig eth0 up no device exists, which is confusing me.
Thanks
Offline
Confusing, no ethernet card appears in lspci either. lsmod says the module "atl1e" is loaded which is a network driver. My card uses the "atl1c" module, so maybe you could try loading that module.
Hope that works, else i'm out of ideas.
Offline
Funny how it figured out your wireless and not your ethernet! It might be a long shot but can you go into the BIOS and check if ethernet is disabled? As of right now, I have no clue what to do if it's not showing up in lspci.
Offline
It looks like your ethernet controller might be a Atheros AR8132. Apparently the driver is atl1c. Try running "modprobe atl1c", then show us the output from the command "dmesg | tail -n 20". There looks to be some trouble with the current kernel version and this chipset.
Last edited by darknebula (2009-08-27 14:55:17)
Offline
It looks like your ethernet controller might be a Atheros AR8132. Apparently the driver is atl1c. Try running "modprobe atl1c", then show us the output from the command "dmesg | tail -n 20". There looks to be some trouble with the current kernel version and this chipset.
Hi,
After soem research i had to turn of my eeepc and remove the battery and after booting back into linux my ethernet card then showed up in lspci, which is really strange!
The controller is in fact an Atheros AR8132 and it does use the atl1c module, i am at work at the moment but when i get home later i will post the output of dmesg.
Many thanks so far guys hopefully we can sort it
Offline
Hi,
i'm also trying to get Arch (archlinux-2009.08-core-i686) on my 1005HA running.
I can verify that the Atheros AR8132 sometimes dissapear from lspci. Removing Battery and Power Source for a while and rebooting bring it back.
I tried the following.
1. Booting the fresh installation without networkcable applied.
Results:
lspci shows the Atheros adapter
lsmod says atl1c is loaded
last dmesg: atl1c 0000:01:00.0: irq 28 for MSI/MSI-X
ifconfig
eth0 Link encap:Ethernet HWaddr 00:26:18:80:C5:AB
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:28
2. Apply Network cable
Results:
dmesg: atl1c 0000:01:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
ifconfig
eth0 Link encap:Ethernet HWaddr 00:26:18:80:C5:AB
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4294967293 errors:4294967278 dropped:4294967290 overruns:4294967293 frame:4294967281
TX packets:4294967293 errors:4294967284 dropped:0 overruns:4294967293 carrier:4294967291
collisions:4294967281 txqueuelen:1000
RX bytes:4294967293 (4095.9 Mb) TX bytes:4294967293 (4095.9 Mb)
Interrupt:28
Strange number of packet errors directly after applying cable
3. Try to restart networking (/etc/rc.d/network restart)
Fail to reload network dhcpcd: timed out
dmesg says:
irq 19: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Not tainted 2.6.30-ARCH #1
Call Trace:
[<c0185b01>] ? __report_bad_irq+0x31/0xb0
[<c0184645>] ? handle_IRQ_event+0x55/0x1b0
[<c0185cfa>] ? note_interrupt+0x17a/0x1c0
[<c01590b1>] ? ktime_get_ts+0x31/0x80
[<c0186583>] ? handle_fasteoi_irq+0xc3/0xf0
[<c0106915>] ? handle_irq+0x25/0x50
[<c0106054>] ? do_IRQ+0x54/0xd0
[<c015f796>] ? getnstimeofday+0x56/0x110
[<c0104370>] ? common_interrupt+0x30/0x38
[<c015007b>] ? cancel_delayed_work_sync+0xb/0x30
[<f81a37ad>] ? acpi_idle_enter_simple+0x15d/0x1a2 [processor]
[<c031cc86>] ? cpuidle_idle_call+0x96/0x100
[<c0102adc>] ? cpu_idle+0x9c/0xf0
[<c04e1a1d>] ? start_kernel+0x332/0x349
[<c04e14dc>] ? unknown_bootoption+0x0/0x1bd
handlers:
[<f81e5200>] (usb_hcd_irq+0x0/0x90 [usbcore])
Disabling IRQ #19
atl1c 0000:01:00.0: irq 28 for MSI/MSI-X
I actually have no idea which further steps could help to get the LAN working.
Maybe a (Kernel)Update via USB-Stick? Anyone know how to do this?
Offline
Ok here is what i found out so far
1. Wireless seems to work more or less out of the box after clean installation from the 2009.08 img
2. I also find a way to get the wired Network running.
I'm assuming that you choosed 'wireless-tools' from the Core package while the "Select Packages" step in the installation
(I choosed the devel packages as well, so i dont have to download them via wlan to get the wired connection running)
To start Wireless network after login.
backup your /etc/wpa_supplicant.conf
Then modify your /etc/wpa_supplicant.conf in my case i deleted all example configurations exept the first one and changed the ssid ans psk to that of my WLAN.
Start the Wlan interface
ifconfig wlan0 up
You should now be able to scan for available Wireless Networks
iwlist wlan0 scan
Thats nearly it. Log in to another tty (Alt + F2) and start the wpa_supplicant.
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -d
Go back to tty1 and dhcpd the wlan interface
dhcpcd wlan0
after dhcpcd is finished you shoud be able to ping any network adress
At this point I did a
pacman -Syu
to get the latest packages/kernels.
I guess that installing the Wired Ethernet driver works even without newest updates
Get the Wired Network running
I used the zip from http://www.jfwhome.com/2009/08/06/perfe … 5ha-linux/
because there where no error massages unpacking it but the driver from http://partner.atheros.com/Drivers.aspx should work too.
Unpack the downloaded file
tar -xzvf AR813X-linux-x.x.x.x.tar.gz
Then change the kcompact.h file in the src directory
#define IRQ_HANDLED
#define IRQ_NONE
to
#define IRQ_HANDLED 1
#define IRQ_NONE 0
in the src directory now do a
make
make install
insmod atl1e.ko
It's the first time I'm using Arch so i dont know if this kind of installation is "the Arch way" but it seems to work.
After a reboot i could use the wired connection (eth0)
Maybe someone could help this
Offline
For eee 1005H with Atheros AR8132 removing the battery worked. Though I've seen the card in lspci when installing but the network didn't work and it displayed those strange numbers of errored packages.
EDIT:
worked only once. So at the end I had to compile atl1e from source appended here: https://bugzilla.redhat.com/show_bug.cgi?id=514069, ban the atl1c module, shut down, remove the battery and boot to find out lan was working again. I hope this is the last time I have to do this magic-like stuff. :-/
Last edited by Nicky726 (2009-09-18 09:27:45)
"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."
Offline
same problem with Acer Aspire 4736ZG .
AR8132 now works under ubuntu 9.04 with the kernel update to 2.6.28.15-generic, and ubuntu 9.10 alapha 6, but not any Arch.
I boot a Arch live cd, under lsmod it shows `atl1c` was loaded, but in the ifconfig, all the number in a mess(just like #10 follor), and never be able to get an IP from dhcp. the worst is, after this, when you reboot, the AR8132 will no more reconized, no matter in Arch or ubuntu, just like no eth adaper.
I have to shutdown compeletely for quite a while, everything go back what was like before.
But as was said compiling driver module, AR813X-linux-x.x.x.x.tar.gz, I downloaded AR81Family-linux-v1.0.0.10.tar.gz, only encountering a mess of errors, i'm using the 31 kernel:
$ make
make -C /lib/modules/2.6.31-bfs230-bfs/build SUBDIRS=/home/pentie/Desktop/eth/src modules
make[1]: Entering directory `/usr/src/linux-2.6.31-bfs230-bfs'
CC [M] /home/pentie/Desktop/eth/src/atl1e_main.o
/home/pentie/Desktop/eth/src/atl1e_main.c: In function 'atl1e_request_irq':
/home/pentie/Desktop/eth/src/atl1e_main.c:156: warning: passing argument 2 of 'request_irq' from incompatible pointer type
include/linux/interrupt.h:116: note: expected 'irq_handler_t' but argument is of type 'void (*)(int, void *)'
/home/pentie/Desktop/eth/src/atl1e_main.c: In function 'atl1e_probe':
/home/pentie/Desktop/eth/src/atl1e_main.c:236: warning: 'DMA_nnBIT_MASK' is deprecated
/home/pentie/Desktop/eth/src/atl1e_main.c:237: warning: 'DMA_nnBIT_MASK' is deprecated
/home/pentie/Desktop/eth/src/atl1e_main.c:240: warning: 'DMA_nnBIT_MASK' is deprecated
/home/pentie/Desktop/eth/src/atl1e_main.c:241: warning: 'DMA_nnBIT_MASK' is deprecated
/home/pentie/Desktop/eth/src/atl1e_main.c:287: error: 'struct net_device' has no member named 'open'
/home/pentie/Desktop/eth/src/atl1e_main.c:288: error: 'struct net_device' has no member named 'stop'
/home/pentie/Desktop/eth/src/atl1e_main.c:289: error: 'struct net_device' has no member named 'hard_start_xmit'
/home/pentie/Desktop/eth/src/atl1e_main.c:290: error: 'struct net_device' has no member named 'get_stats'
/home/pentie/Desktop/eth/src/atl1e_main.c:291: error: 'struct net_device' has no member named 'set_multicast_list'
.............................
blablabla~~~
Last edited by boypt (2009-09-25 05:18:38)
Offline
I'm having the same problem as boypt with my 1005HA. I have no wireless or ethernet with neither Arch nor any of the Ubuntu derivatives (except JoliCloud, but it's not especially usable in its current state). When I try to make the AR81Family-linux-v1.0.0.tar.gz or atheros-wired-1005-ha.tar.gz (obtained from AUR). I get a string of errors before it aborts. Same thing when I try to make the compat-wireless package. Anybody know what's going on here?
Offline
I'm having the same problem as boypt with my 1005HA. I have no wireless or ethernet with neither Arch nor any of the Ubuntu derivatives (except JoliCloud, but it's not especially usable in its current state). When I try to make the AR81Family-linux-v1.0.0.tar.gz or atheros-wired-1005-ha.tar.gz (obtained from AUR). I get a string of errors before it aborts. Same thing when I try to make the compat-wireless package. Anybody know what's going on here?
It seems that the Atheros drivers have troubles compiling under kernel of 30 or 31, I find the compile easily done under a ubuntu 904 Live CD, which is a 28 kernel, but encountering same compile error under ubuntu 9.10 live CD [thought I don't need to, there seems a patch for the ubuntu kernel: https://bugs.launchpad.net/ubuntu/+sour … bug/415358 ].
I didn't try installing an older Arch like 09.02, it's a 28 kernel too, i don't know if the atheros driver compiles.
Offline
How bizarre. It's just problem upon problem
So if Ubuntu can compile it, is it possible to just use Ubuntu to make the package and just copy it to my Arch system, or would it not like that? I'm still pretty nub at linux, so I'm not sure exactly what methods are kosher yet.
Hey so I got my wireless working. Apparently my problem was that my router has WPA encryption, so I had to configure my network profile. This requires netcfg and wireless-tools to do, so make sure you have both. They're included on the core image. The beginner's guide doesn't do a very good job of pointing out that it requires some configuration to be able to connect to a WPA router, so maybe it should be amended to include a link to the Network Profiles wiki page.
Here's a link: http://wiki.archlinux.org/index.php/Net … 3:_Connect
Hopefully this can help somebody!
Last edited by Franz Kafka (2009-09-29 01:34:54)
Offline
Check out this Ubuntu tutorial, don't know if it's relevant or not but I'll let you guys have a shot at it anyways
Offline
Zensonymous' HowTo above (same as the ubuntu tutorial) worked perfectly on my extensa 5635z / 30 kernel with this atheros card:
09:00.0 Ethernet controller: Attansic Technology Corp. Device 1063 (rev c0)
Make sure to unload/ban atl1c first, or the card will screw up and go into hiding as soon as you plug in a cable, once more.
Edit: threw up some errors in the process, beginning with untar... just ignored them.
Last edited by hokasch (2009-10-01 15:24:47)
Offline
It gets more weird. At first (I mean two days ago), lspci showed my ethernet interface. It was not working, but anyway, it was detected.
And today, it disapeared (without any kernel / driver update). lspci doesn't show my card anymore. Any idea about what's happening ?
Offline
the interface seems to disappear for some time when plugging in an ethernet cable while the failing driver module (atl1c) is active. It comes back after couple of reboots, or some other "magic" (remove battery etc) mentioned in previous posts.
Offline
OK thanks. I banned atl1c at boot, and autoload atl1e.
MODULES=(... !atl1c atl1e ...)
And lspci shows the ehternet card again. I guess I now have to tackle the second problem : why eth0 interface disapeared ? ifconfig -a only shows lo, wlan0 and wmaster.
Offline
It is possible to compile a working kernel module for 2.6.30, I've done it. If someone really wants to know how, I can try to find out how I did it. But it is much easier to update the kernel to 2.6.31 from the testing repo - just download the kernel26 package and the kernel26-firmware package and install them with pacman -U.
The 2.6.31 kernel has a working driver for this chip.
larch: http://larch.berlios.de
Offline
Thread Recap (for all you lazy people not reading throuhg the whole thing)
Problem
* vanilla Arch loads the module atl1c, which is not working properly. when ethernet is plugged in, loads of errors appear in ifconfig
* the interface "disappears" after plugging in ethernet while atl1c is active - does not show up in lspci until some more reboots/shutdowns/time/magic
Solution
* You need to Compile a working Kernel module. One source file has to be slightly modified. Several people described here how to do this already, or follow this guide for ubuntu.
* the new, working kernel module is called atl1e. you should blacklist atl1c.
or
* use 2.6.31 from testing
Offline
For me kernel 2.6.31 now in [core] solves nothing. I'm told that eth0 doesn't exist and lsmod -a doesn't show it. If I add to it that trying to switch on wifi gives me unknown error 132, I end up downgrading to .30 with manually compiled atl1e module.
"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."
Offline
I've same error too.
using .30 kernel, I can compile driver and use eth0, but with .31 i couldn't anything.
Offline