ASUS EeeBox PC B202 setup

From LinuxMCE
(Redirected from ASUS eee box b202 setup)
Jump to: navigation, search

Media_Directors

It has been suggested that this article or section be merged with ASUS EeeBox PC B202


Step 1: Modify driver module r8168.ko to work with our asus eee nic

(This step must be completed on the core either in a terminal or remotely via ssh)

EITHER

  • 1a. Log into core and follow instructions at

http://wiki.linuxmce.org/index.php/R8168 (don't forget to run as root beforehand)

sudo -s

OR...

  • 1b. Log into terminal or ssh to core and save time by downloading already modified module
sudo -s
cd ~
wget http://dataless.jeromenet.org/r8168.ko

Copy this new r8168.ko to the running kernel on the core:

cp r8168.ko /lib/modules/2.6.22-14-generic/kernel/drivers/net/

Run depmod

depmod

Load the module:

modprobe r8168

Step 2: Create initial md image on core to include modified driver

from http://wiki.linuxmce.org/index.php/Unrecognized_NIC

  • On core
sudo <editor-of-choice> /etc/initramfs-tools-interactor/modules

Add a single line for your NICs kernel module

r8168

save and exit then create the initial ramdisk

/usr/pluto/bin/Diskless_BuildDefaultImage.sh

This will allow the eee box to boot ONCE!

Step 3: On Asus eee - Turn on pxe-boot in bios

  • Boot to bios
  • turn on pxe boot : save and exit ... but
  • reboot back into bios so that netboot appears in boot order
  • Set netboot as first boot option
  • save and exit

Step 4: PXE boot to create initial md image

  • Turn on Asus eee to pxe boot

If you have difficulty here you may need to reboot and complete step 6 before you continue.

  • complete avwizard but select 640 x 480 only

If pxe boot succeeds and the initial md image is built but you can't complete avwizard (because screen is black or eee box freezes), complete Step 5 at this point.

  • Complete setup wizard
  • Power off md

Step 5: change graphics driver to intel in xorg.conf on the md directory on the core

On core

sudo -s
vi /usr/pluto/diskless/<moon #>/etc/X11/xorg.conf

change driver to intel (from vesa) in section 'device'.

OR

Download working xorg.conf posted by totallymaxed and copy to your Moon# at above location (highly recommended).

http://forum.linuxmce.org/index.php?topic=6847.msg42485#msg42485

Step 6: create initial ramdisk on md for subsequent boots

following steps from unrecognized_nic: http://wiki.linuxmce.org/index.php/Unrecognized_NIC

but add extra step of renaming r8169.ko to r.8169.ko.not

On core copy our r8168.ko to moon kernel

sudo -s
cd ~
cp r8168.ko /usr/pluto/diskless/<moon #>/lib/modules/2.6.22-14-generic/kernel/drivers/net/r8168.ko

Add module to moons modules

vi /usr/pluto/diskless/<moon #>/etc/initramfs-tools/modules

Add r8168 on its own line and save the file.

cd /usr/pluto/diskless
chroot <moon #>
mv /lib/modules/2.6.22-14-generic/kernel/drivers/net/r8169.ko /lib/modules/2.6.22-14-generic/kernel/drivers/net/r8169.ko.not
depmod -a /lib/modules/2.6.22-14-generic/kernel/drivers/net/r8168.ko
cd /boot
update-initramfs -uv

exit out of the chroot

Step 7: Boot asus eee and re-run avwizard

Boot again and run avwizard from advanced menu. It should now be possible to select higher resolutions from the wizard.

Step 8: Photo Screen Saver (PSS)

You may need to stop photo screen saver animation or disable it altogether to prevent lockups.

Stop PSS Animation

  1. In the web admin select 'show devices tree' at the bottom of the left side menu
  2. Expand the OnScreen Orbiter for the asus md and select 'photo screen saver'
  3. Change the device data type (near the bottom) to static

Disable PSS

  1. In the web admin select 'show devices tree' at the bottom of the left side menu
  2. Expand the OnScreen Orbiter for the asus md and select 'photo screen saver'
  3. Check the 'disabled' check box.

Link

ASUS eee box b202