Differences between revisions 24 and 25
Revision 24 as of 2010-02-06 23:00:06
Size: 11156
Editor: ?EmilioGraff
Comment:
Revision 25 as of 2010-02-06 23:03:22
Size: 11273
Editor: ?EmilioGraff
Comment:
Deletions are marked like this. Additions are marked like this.
Line 83: Line 83:
   5. Configuring wireless manually:    5. Configuring wireless manually (to configure the ethernet instead, follow the same steps as bellow, replacing wlan0 with eth0, and skipping step c):

Similar to the ../1002HA in that this model uses Atheros AR928X wireless supported by ath9k (present only in the testing/unstable kernel 2.6.30 or later). The ethernet chipset in this model is atl1c which works with the 2.6.31 kernel from Sid.

This puts users in an awkward spot for installing, as the usual custom installer described in ../../HowTo/Install will not work for either ethernet or wifi installs. The Sept 18th testing build netinstall includes wifi support and installs with no errors. If you have problems installing lenny stable, try the below instructions for installing squeeze/testing.

Installation

A: Lenny Stable

Follow the ../../HowTo/InstallUsingStandardInstaller instructions, except instead of using the netinst image as that page describes, use the first CD or DVD from the standard set so that you don't need network connection during the install.

Afterwards, you will need to download the kernel .deb file from either of the following repositories and copy it to the system via a USB key or some other means.

B. Squeeze/Testing or sid/unstable (working ethernet and wifi install)

Preparation (from a Unix/Linux system)

  1. Download the latest daily built netinst ISO image from http://www.debian.org/devel/debian-installer/

  2. Get boot.img.gz from the /hd-media from http://www.debian.org/devel/debian-installer/

  3. Using an empty USB device (where sdX is the device your USB media is using) copy the boot.img over:

# zcat boot.img.gz > /dev/sdX

  • This will delete everything and leave a 256MB partition.
  1. Mount the USB device (i.e. /dev/sdX, not /dev/sdX1) and copy the netinstall ISO image from #1 to the newly created
    • partition. The ~170MB netinstall will fit. Confirm it copied to that partition or the install will fail.

Preparation (from a Windows system, 2010-02-06)

Note that it is not possible to use UNetbootin (http://unetbootin.sourceforge.net/) directly with one of the CD ISO images, you will most likely get to a point where you get some error akin to "No CD-ROM drive found". The following instructions were tested with Unetbootin V3.93 running on a Windows 7 system.

  1. Download the two images as listed in the Linux/Unix instructions above:
  2. It is highly recommended that you check the MD5 sum of at least the larger download. The command-line utility at http://www.etree.org/cgi-bin/counter.cgi/software/md5sum.exe does the job.

  3. Using something with the capabilities of 7-Zip (http://www.7-zip.org/), decompress boot.img.gz. You will get a file called boot.img which is around 240 MB.

  4. Reformat the USB stick. Unetbootin will just copy files into it, and other junk can cause problems.
  5. Launch UNetbootin. Selected the "Diskimage" radio button and choose "Floppy" instead of "ISO". Select the boot.img file in the appropriate text box.
  6. Once UNetbootin is done, copy the NetInst ISO to the same USB stick.

Booting

2.6.32-trunk requires acpi_osi="Linux" else eeepc-laptop won't be loaded.

Installation

Note: change your router temporarily to WEP from WPA/WPA2

  1. Boot usb stick. (hit escape while booting to bring up boot menu) You may have to disable "boot booster" in the
    • BIOS. F2 during boot gets you in to the BIOS.
  2. Choose graphical or text install and follow through menus (graphical may fail). The netinstall ISO should read fine and continue.
    1. It is ok to ignore the "No kernel modules were found" message. Also on the step about setting up mirrors, <Go Back> to avoid that step/continue on.

  3. Debian detects both ethernet and wifi, but both *will fail* during this time to properly configure. Wifi is working
    • because it successfully scans nearby AP and asks for WEP key. Skip setting up the network because you will manually set it up later. The easiest way to skip it is to choose to configure ethernet and then immediately cancel.
  4. Finish installation and reboot into debian command prompt.
  5. Configuring wireless manually (to configure the ethernet instead, follow the same steps as bellow, replacing wlan0 with eth0, and skipping step c):
  1. Login as root:

# su
  • b. Add below for wlan0 to interfaces:

# nano /etc/network/interfaces
  • Add this at the bottom:

       auto wlan0
       iface wlan0 inet dhcp
  • c. Set configuration substituting your AP information:

# iwconfig wlan0 essid 'YOURSSIDHERE' key 'YOURKEYHERE' mode managed
  • d. Bring up wlan0:

# ifconfig wlan0 up
  • e. Get IP via DHCP:

# dhclient wlan0
  • f. Test via ping:

# ping google.com
  • e. Wireless should be working
    1. Edit your repo's to pull extra software:

# nano leafpad /etc/apt/sources.list

Sample:

# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 NETINST Binary-1 20090918-17:12]/ squeeze main

#deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 NETINST Binary-1 20090918-17:12]/ squeeze main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ testing/updates main
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ testing/updates main

deb http://http.us.debian.org/debian testing main contrib non-free

Add your preferred mirror of testing at the end. You may add main, contrib, and non-free depending on what you want.

  1. Update:

# aptitude update
  1. Install lxde desktop:

# aptitude install lxde
  • lxde will install the LXDE desktop environment, firefox, and a few lightweight applications. There is no gnome or KDE libraries/dependencies installed with it. LXDE is faster than any of the current eeepc distros.
  1. You now have the LXDE desktop installed.

atl1c status

Although atl1c is present in 2.6.30, it needs patches present in Linus's git branch to work.

The upstream kernel maintainers have been contacted to add these atl1c patches to the stable (2.6.30) branch so we expect a sid kernel release to include these shortly, and a backport for Lenny should follow sometime after that.

notes

  • The 2.6.30-5 kernel will cause the Ethernet device to disappear (hardware crashing) you have to take out the battery to get the Ethernet device working again. The Ethernet device works fine with the 2.6.31-rc5 kernel.
  • If installing to an SD card, install GRUB to the MBR of the SD card, not to the master boot record of the hard drive.

lspci

# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
01:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

cat /proc/cpuinfo

#  cat /proc/cpuinfo    
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Intel(R) Atom(TM) CPU N280   @ 1.66GHz
stepping        : 2
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm
bogomips        : 3333.51
clflush size    : 64
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Intel(R) Atom(TM) CPU N280   @ 1.66GHz
stepping        : 2
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm
bogomips        : 3332.90
clflush size    : 64
power management:

battery

EeePC 1005HA-H - 11.25V 4500mAh 63 Wh - 340g
EeePC 901      - 7.4V   6600mAh       - 325g

Notes

acpitool in Debian Lenny (that is, 0.5-2), doesn't work very well when it comes to report the status of the battery, instead it shows:

$ acpitool -b
 Battery is not present, bailing out. 

So if you have scripts based on its reports to monitor the status of you battery, perhaps you might want to use the following snippet provided by twb:

$ sh -c 'cd /sys/class/power_supply/BAT0 && echo \ $((100 * `cat charge_now` / `cat charge_full`))%'

[BenArmstrong] Why not just 'acpi -b'? This should work for all models of Eee.