WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: network on an eeepc 701 4g  (Read 9178 times)

Offline dummzeuch

  • Newbie
  • *
  • Posts: 5
network on an eeepc 701 4g
« on: February 01, 2009, 02:12:39 AM »
Hi,

I managed to install tcl as a boot option on my eeepc 701 4g into the grub menu. Normally I run Easy Peasy (used to be ubunutu eee) on it.

tcl boots up fine (and damn fast) but I don't get net access, neither through wired nor through wireless lan. Neither of the interfaces is displayed in the ifconfig command. In easy peasy it looks like this:

~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:8c:b8:b8:49 
          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:1
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Memory:fbfc0000-fc000000

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:15:af:75:a1:1e 
          inet addr:192.168.10.172  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::215:afff:fe75:a11e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10319 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9902 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9073297 (9.0 MB)  TX bytes:2287515 (2.2 MB)

wmaster0  Link encap:UNSPEC  HWaddr 00-15-AF-75-A1-1E-31-31-00-00-00-00-00-00-00-00 
          UP BROADCAST RUNNING 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)

tcl only shows the lo interface.

I guess I need to install additional packages, but could not find any. As far as I know, the chipsets of the 701 are different from the ones of the 901, so anything for the 901 won't work. Has anybody managed to the lan to work?

twm

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: network on an eeepc 701 4g
« Reply #1 on: February 01, 2009, 02:25:31 AM »
I guess the first thing to check is what wired and wireless chipsets you have, what modules are required for them and then check if those modules are loaded or not.

From previous threads on this forum, it looks like ndiswrapper might be required for wireless on your machine?

Offline dummzeuch

  • Newbie
  • *
  • Posts: 5
Re: network on an eeepc 701 4g
« Reply #2 on: February 01, 2009, 02:39:13 AM »
I guess the first thing to check is what wired and wireless chipsets you have, what modules are required for them and then check if those modules are loaded or not.

From previous threads on this forum, it looks like ndiswrapper might be required for wireless on your machine?

I read those as well, but I was hoping that somebody else might already have done all that and there might be ready made a package I can just install. I don't really want to start compiling my own modules and similar stuff.

The wireless is an Atheros 5k chipset:

lsmod
...
ath5k                 100096  0
mac80211              209396  1 ath5k
...

This is from easy peasy, wehre ndiswrapper is not being used.

twm

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: network on an eeepc 701 4g
« Reply #3 on: February 01, 2009, 02:49:50 AM »
I'm not at a tinycore machine to check, but you could try the wireless-2.6.26.tcem extension (contains drivers/net/wireless/ath5k/ath5k.ko.gz), which would seem to be what you're looking for?

What about your wired netcard chipset?

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: network on an eeepc 701 4g
« Reply #4 on: February 01, 2009, 07:01:22 AM »
We have users with 701 running TC wireless.
Use appbrowser to get:

madwifi-hal.tcem
wireless_tools.tcel

this should get your atheros wireless card working with a simple script like this:

#!/bin/sh
modprobe ath_pci
/usr/local/sbin/iwconfig ath0 essid "DialHome"
udhcpc -i ath0



10+ Years Contributing to Linux Open Source Projects.

Offline florian

  • Full Member
  • ***
  • Posts: 116
    • Home Page
Re: network on an eeepc 701 4g
« Reply #5 on: February 01, 2009, 12:23:34 PM »
I have a 701 4G and confirm I got wireless working as Robert has described above. No(t anymore) need for ndiswrapper.

I haven't yet tried the wired interface, but it would be great to have it working too.

For the screen resolution setup with the 701, you can use tiny 915resolution tce to get optimal screen resolution (800x480) without loading XOrg (althoug XOrg works well with the xorg.conf from the shipped Xandros distro). Also by default the cpu runs around 600Mhz. With some tce extension in the repo, I was able to set up variable ondemand cpu frequency (from ~100Mhz up to ~900Mhz). I would need to get onto my Eee to give your more details about my setup.

Offline dummzeuch

  • Newbie
  • *
  • Posts: 5
Re: network on an eeepc 701 4g
« Reply #6 on: February 01, 2009, 12:44:00 PM »
What about your wired netcard chipset?

According to hwtest-gtk:
Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)

twm

Offline dummzeuch

  • Newbie
  • *
  • Posts: 5
Re: network on an eeepc 701 4g
« Reply #7 on: February 01, 2009, 01:14:46 PM »
Use appbrowser to get:

madwifi-hal.tcem
wireless_tools.tcel

this should get your atheros wireless card working with a simple script like this:

#!/bin/sh
modprobe ath_pci
/usr/local/sbin/iwconfig ath0 essid "DialHome"
udhcpc -i ath0

Thanks. Replacing DialHome with my unprotected FON-wifi got me an internet connection. Unfortunately it does not work with my WPA protected internal wifi. I guess I need an additional package, wpa_supplicant would be my guess, but currently the download does not work. I'll try that tomorrow.

twm

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: network on an eeepc 701 4g
« Reply #8 on: February 01, 2009, 07:36:38 PM »
This site http://cateee.net/lkddb/web-lkddb/ATL1.html seems to suggest that these two netcards:

# vendor: 1969 ("Attansic Technology Corp."), device: 1048 ("L1 Gigabit Ethernet Adapter")
# vendor: 1969 ("Attansic Technology Corp."), device: 2048 ("L2 100 Mbit Ethernet Adapter")

..use the "atl1" module. I'm not at a tc machine to check if this module is included or not - there's also a mention elsewhere of needing to download atl2-2.0.4.tar.bz2

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: network on an eeepc 701 4g
« Reply #9 on: February 01, 2009, 08:02:29 PM »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: network on an eeepc 701 4g
« Reply #10 on: February 01, 2009, 08:25:47 PM »
From here http://people.redhat.com/csnook/atl2/:
Quote
Welcome to my atl2 driver page.  If you're looking for a driver for the Atheros
L2 (also known as Attansic L2, before Atheros acquired Attansic), you're in the
right place.  The patches here are intended for use with kernel versions
2.6.21 through 2.6.25, and may work with some earlier versions.  For 2.6.26 and
later kernels, see the atlx directory.

...

ASUS EeePC users:
Most of the testing for this version of atl2 has been on EeePCs, and it is
working very well.  This version includes fixes for some bugs in the driver
that originally shipped with the EeePC.  Some newer atom-based EeePCs may need
the atl1e driver instead.

..so it looks like this is what is needed http://people.redhat.com/csnook/atl2/atlx/atl2-2.6.26-4.patch.bz2

Offline dummzeuch

  • Newbie
  • *
  • Posts: 5
Re: network on an eeepc 701 4g
« Reply #11 on: February 06, 2009, 11:53:38 AM »

Unfortunately it does not work with my WPA protected internal wifi. I guess I need an additional package, wpa_supplicant would be my guess, but currently the download does not work. I'll try that tomorrow.

OK, I have now managed to download the wpa_supplicant package and "installed" it, but I have no idea how to use it. Assuming, that my essid is "twmsplace" (running in infrastructure mode) and using WPA with a password of "1234567" and dhcp enabled. What would I need to call?

thanks in advance
twm

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: network on an eeepc 701 4g
« Reply #12 on: February 13, 2009, 01:42:44 AM »
We have users with 701 running TC wireless.
Use appbrowser to get:

madwifi-hal.tcem
wireless_tools.tcel

this should get your atheros wireless card working with a simple script like this:

#!/bin/sh
modprobe ath_pci
/usr/local/sbin/iwconfig ath0 essid "DialHome"
udhcpc -i ath0


This script runs all my ath0 cards....don't need the path, just iwconfig channel essid key.
 
« Last Edit: February 13, 2009, 02:08:38 AM by jpeters »