opensolaris on eeepc at osc spring

40
OpenSolaris on ASUS Eee PC for GEEKS:-) (Using OpenSolaris 2009.6 snv 106+ on Eee PC as a "GEEKS") Masafumi Ohta OpenNSUG / OpenSolaris Users Group OpenSolaris Core Contributer 2/21/2008

Upload: masafumi-ohta

Post on 18-Nov-2014

1.110 views

Category:

Technology


4 download

DESCRIPTION

I had a time to give a speech at OpenSource Conference in Tokyo

TRANSCRIPT

Page 1: OpenSolaris On EeePc at Osc Spring

OpenSolaris on ASUS Eee PC for GEEKS:-)(Using OpenSolaris 2009.6 snv 106+ on Eee PC as a "GEEKS")Masafumi OhtaOpenNSUG / OpenSolaris Users GroupOpenSolaris Core Contributer

2/21/2008

Page 2: OpenSolaris On EeePc at Osc Spring

pg 2

Agenda

Introduction

Preparing for using OpenSolaris 2009.6 snv106+ on Eee PC

OpenSolaris Installation with some tips.

Installing additional Interesting applicationsDemonstrating some applications

Appendix:introducing OSUM for student SNS

Page 3: OpenSolaris On EeePc at Osc Spring

pg 3

IntroductionI wrote the article "OpenSolaris on Eee PC" in the Feb. issue of “Software Design",I wrote about OpenSolaris Installation on Eee PCs for OpenSolaris beginners

I omitted some tips some GEEKS would like to know,I guess many of YOU GEEKS would have some complaints to my article

So I would like to introduce some tips(about the Installation and applications) for YOU GEEKS:-)

For beginners I've uploaded some videos about how to install to YOUTUBE

http://www.youtube.com/masafumi0515

Page 4: OpenSolaris On EeePc at Osc Spring

pg 4

About Project “OpenSolaris on EeePC"

Project "OpenSolaris on Eee PC" is the world-wide project in OpenSolaris.org

The founders are Masafumi Ohta,Robert Sohigain of Sun ERI,and Tim Foster of Sun Ireland

The purpose is expanding OpenSolaris through Eee PCs – the most famous netbook all over the world

We have a mailing list([email protected]) in OpenSolaris.org and wiki in genunix.org(http://wiki.genunix.org/wiki/index.php/EeePC)

Please join our project subscribing to our mailing list:-)

Page 5: OpenSolaris On EeePc at Osc Spring

pg 5

Preparing for Using OpenSolaris 2009.6 snv106+ on Eee PC

Prepare those items for the using OpenSolarisExternal USB CD-ROM

It's the easiest choice, almost all CD-ROM units work well with the Eee PC

USB sticks

Used for making an OpenSolaris LiveUSB for OS installation and adding extra application

SDHC CardYou can also use SSDs which is used for Linux

or Windows XP for Eee PC.Choose high-quality and high-speeded SDHC like TOSHIBA and Panasonic for good to install OpenSolaris

Format SDHC as FAT32 using format tool on the Windows OS before the installation

Page 6: OpenSolaris On EeePc at Osc Spring

pg 6

Preparing for Using OpenSolaris 2009.6 snv106+ on Eee PC (*cont'd)

Update the latest BIOSCheck the installation mode as 'Finished' in BIOS menu(in Eee 701 and 900 which are intel-based Eees)

Page 7: OpenSolaris On EeePc at Osc Spring

pg 7

OpenSolaris installation with some tips;*making LiveUSB for Eee PC

You know OpenSolaris.org delivers LiveCD and LiveUSB iso images in their site

But OpenSolaris LiveCD doesn't have any tools making LiveUSB and there are no any other tools making it for OpenSolaris running on Windows and MacOS (The tools should have "installgrub" so that we could boot OpenSolaris from an USB stick.I’ve heard it is not good only to burn the iso images onto USB sticks like LiveCD)

So I tried to make it using the account "jack" in LiveCD

Page 8: OpenSolaris On EeePc at Osc Spring

pg 8

OpenSolaris installation with some tips;*making LiveUSB for Eee PC(*cont'd)

You should upgrade 2GB memory in your Eee for making LiveUSB

Before making,you should download LiveUSB image and "usbcopy" shell script from OpenSolaris.org with Windows XP on your Eee and then you should copy them to your USB stick

USB image:http://www.genunix.orgUsbcopy:http://src.opensolaris.org/source/raw/caiman/slim_source/usr/src/cmd/install-tools/usbcopy

Page 9: OpenSolaris On EeePc at Osc Spring

pg 9

OpenSolaris installation with some tips;*making LiveUSB for Eee PC(*cont'd)

Boot your Live CD,and copy two files above to /jack directory

Plug USB stick for LiveUSB then type "usbcopy"Type the usbcopy command;usbcopy.sh opensolaris-0906-106a-x86.usb

Check my video to see how to make it

http://www.youtube.com/watch?v=RCa7misLBgU

Page 10: OpenSolaris On EeePc at Osc Spring

pg 10

OpenSolaris installation with some tips;*making LiveUSB for Eee PC(*snaps;making LiveUSB)

Page 11: OpenSolaris On EeePc at Osc Spring

pg 11

OpenSolaris installation with some tips;*adding new internal ralink rwn driver for 901

Ralink driver for Atom-based Eee have released on Jan 23rd.but It hasn’t worked well yet.

I now working with Felix Feng,who is making the ralink driver for it.it is getting better day and day.

It can connect to APs but its signal is weaker than the one using Windows

I can’t move it from one AP to another APs using NWAM,that is,when I do it,I can’t get dhcp address.

The workaround is disable nwam and configure it manually.

NWAM doesn't show serving status,

it remains 0 packets checking rwn properties

Page 12: OpenSolaris On EeePc at Osc Spring

pg 12

OpenSolaris installation with some tips;*adding new internal ralink rwn driver for 901(*Cont'd)

It sometimes gets crashed and dumped core

Sometimes I cant get dhcp addresses

You might better wait for fixed one.Felix said it will be relerased soon.(He now having some test for it)

If you try it,you can download from OpenSolaris.org website

rwn driver;

http://www.opensolaris.org/os/community/laptop/wireless/rwn/

How to install;

http://www.youtube.com/watch?v=KEkiEtJY_ZI

Page 13: OpenSolaris On EeePc at Osc Spring

pg 13

OpenSolaris installation with some tips;*adding new internal ralink rwn driver for 901(*Snaps;Setting wifi)

Page 14: OpenSolaris On EeePc at Osc Spring

pg 14

OpenSolaris installation with some tips;*adding new internal ralink rwn driver for 901(*Snaps,rwn Working)

Page 15: OpenSolaris On EeePc at Osc Spring

pg 15

OpenSolaris installation with some tips;*updating atge driver for 901

Murayama-san made atge NIC drivers for Eees.(Thanks a lot,Murayama-san!)

I worked with him to make it.It was a great time...

You can download from his website "Free NIC drivers for Solaris"

http://homepage2.nifty.com/mrym3/taiyodo/eng/

How to install

http://www.youtube.com/watch?v=7eh9KOEQbPQ

Page 16: OpenSolaris On EeePc at Osc Spring

pg 16

OpenSolaris installation with some tips;*updating atge driver for 901(*Cont'd)

Its binaries has debug mode because its release as beta use.You can see the connection logs in /var/adm/messages/

If you don't need debug mode,you can rebuild his driver

First of all,you should add SUNWgcc and related files using packagemanager.

Rebuilding and updating the driver;

http://www.youtube.com/watch?v=v4azuP2cw44

Page 17: OpenSolaris On EeePc at Osc Spring

pg 17

OpenSolaris installation with some tips;*updating atge driver for 901(*Editing Makefile.config)

Page 18: OpenSolaris On EeePc at Osc Spring

pg 18

Installing additional applications (*Introduction)

I’d like to introduce some interesting apprications running on OpenSolaris.

It works good though some of apprications works partly on Eees.

But we OpenSolaris user must be happy to use that:-)

It is supposed to use them on Atom-based Eees like 901,because they take lots of resources in OpenSolaris.

Page 19: OpenSolaris On EeePc at Osc Spring

pg 19

Installing additional applications (*Google Gadgets)

I heard from Italian Friend Google Gadget working well on OpenSolaris.Alfred Peng blogged about it.

http://blogs.sun.com/pengyang/entry/google_gadgets_on_opensolaris

I tried to build it but it needs something libraries and customized Firefox for it and more it took so much time to build (almost two days and I failed to build because of lacking spaces of SSD memories for building:-()

So I asked for him to give the binaries,he kindly to gave them to me:-)

Page 20: OpenSolaris On EeePc at Osc Spring

pg 20

Installing additional applications (*Google Gadgets (*Cont'd))

He gave three files for it:

SUNWlibstdcxx4,SUNWfirefox(Customized Firefox) and SFEgoogle-gadgets

SFEgoogle-gadgets needs related pkg “SUNWcurl"

I had to remove SUNWfirefox-l10n-ja-JP,I guess SUNWfirefox(Customized) can work only in an English environment.

First I had to remove old SUNWFirefox using “pkg uninstall -r” then Installed customized SUNWFirefox using pkgadd.

And then installed SUNWlibstdcxx4 and SFEgoogle gadgets on my Eee 901

Page 21: OpenSolaris On EeePc at Osc Spring

pg 21

Installing additional applications (*Google Gadgets (*Cont'd))

I've uploaded using "Google Gadgets" on Eee 901

http://www.youtube.com/watch?v=4jhQoPK2Dq0

Now they hasn't been delivered by Alfred, because he tried to build it with his friends..

So,should I asked him to deliver you all?

Page 22: OpenSolaris On EeePc at Osc Spring

pg 22

Installing additional applications (*Google Gadgets (*Snaps;working Google Gadgets on my Eee 901))

Page 23: OpenSolaris On EeePc at Osc Spring

pg 23

Installing additional applications (*Songbird)

Alfred told me another intersting applications for Eee 901

He likes the project “Songbird” – Free Media Playerhttp://getsongbird.com/

In OpenSolaris you should get MP3 codec and set /usr/lib/gstreamer-0.10/plugins/ for using songbird.

Fluendo MP3 Codec;

http://www.fluendo.com/shop/product/fluendo-mp3-decoder/

Page 24: OpenSolaris On EeePc at Osc Spring

pg 24

Installing additional applications (*Songbird(*cont’d))

If you want to use Songbird as a Flash player,you should install Adobe Flash Player to $LIBDIR/plugins and $LIBDIR/components/

If you want to use Songbird in the environment running Google Gadgets,you should use the package from the songbird community.

http://wiki.songbirdnest.com/index.php?title=Developer/Articles/Builds/Contributed_Builds&highlight=contributed+build

SUNWsongbird relates SUNWfirefox so installing SUNWsongbird removes Customized SUNWFirefox:-(

Page 25: OpenSolaris On EeePc at Osc Spring

pg 25

Installing additional applications (*Songbird(*snap as music player))

Page 26: OpenSolaris On EeePc at Osc Spring

pg 26

Installing additional applications (*Songbird(*snap as FLV video player))

Page 27: OpenSolaris On EeePc at Osc Spring

pg 27

Installing additional applications (*Firefox ubiquity)

Alfred introduced Firefox ubiquity as an

demonstrations at Developer Summit in Tokyo

You know it is addon for Firefoxhttp://labs.mozilla.com/2008/08/introducing-ubiquity/

Latest beta we can input Japanese.https://ubiquity.mozilla.com/xpi/ubiquity-latest-beta.xpi

I've uploaded the video using ubiquity on my Eeehttp://www.youtube.com/watch?v=ZX0vavduhs8

Page 28: OpenSolaris On EeePc at Osc Spring

pg 28

Installing additional applications (*Firefox Ubiquity(*snap))

Page 29: OpenSolaris On EeePc at Osc Spring

pg 29

Installing additional applications (*Justplayer PPPdialer)

Yasushi Taki,who is the president of Justplayer,contributes some packages for OpenSolaris users:

http://kohju.justplayer.com/aboutme.html

He made PPPdialer for those who would like to use their OpenSolaris on 3G networks:

http://dist.justplayer.com/JPCPKGLABO/i386/5.11/JPCpppdialer-1.0beta,REV=2009.02.17J06.pkg.gz

Page 30: OpenSolaris On EeePc at Osc Spring

pg 30

Installing additional applications (*Justplayer PPPdialer(*cont’d))

Before installing PPPdialer,We should install chototsu-san's usbser and usbsacm patches

Usbser patches,it is for when using usb-serial on multi-cored CPU;http://chototsumoushinp.dip.jp/solaris/usbser.tar.bz2

Usbsacm patches;it is for using modem with hot-plugging;http://blogs.yahoo.co.jp/chototsu_moushinp/42923584.html

You should replace old ones for patched ones.

On Eee 901,I can't use hotplug and have to add usbsacm entry for my modem(emobile D02HW)

Page 31: OpenSolaris On EeePc at Osc Spring

pg 31

Installing additional applications (*Justplayer PPPdialer(*cont’d))

In Eees,I have to unplumb rwn and atge drivers,before using PPP network(I made ip-up and ip-down scripts for it I now asking for taki-san to add them to PPPdialer package.

Something is wrong in using NWAM with rwn driver...it often get panic..I guess rwn would be wrong...hmm..I have to investigate..

I have upload the video how pppdialer works on my Eee 901.

http://www.youtube.com/watch?v=ANkmW58pEWY

Page 32: OpenSolaris On EeePc at Osc Spring

pg 32

Installing additional applications (*Justplayer PPPdialer(*snap))

Page 33: OpenSolaris On EeePc at Osc Spring

pg 33

Installing additional applications (*Secondlife on OpenSolaris )

I tried to use Secondlife viewer on my Eee 901

Dana-san builds the SL viewer binaries for OpenSolaris

http://blogs.sun.com/daner/entry/new_build_of_sl_1

It can't use voice-chat

Streaming sounds doesn't work on my Eee 901Something wrong are there so I now asking Dana-san to fix them.

Environment Sounds like woods burning works good

I haven't tried any Streaming videos on the viewer.

Page 34: OpenSolaris On EeePc at Osc Spring

pg 34

Installing additional Interesting applications (*Secondlife on OpenSolaris (*cont’d))

It crashed sometimes...it is not fixable for Eee 901.

I have to configure customized setting for such a poor-powered PC for Secondlife(I have to edit multi-core CPU setting and view settings using settings.xml)

I can’t type some Japanese in the viewer..it is only for English...

Page 35: OpenSolaris On EeePc at Osc Spring

pg 35

Installing additional applications (*Secondlife for OpenSolaris (*snap))

Page 36: OpenSolaris On EeePc at Osc Spring

pg 36

Installing additional applications (*Secondlife for OpenSolaris(*snap(setting to use multi-core CPU in SL Viewer))

Page 37: OpenSolaris On EeePc at Osc Spring

pg 37

Installing additional applications (*Secondlife for OpenSolaris(*snap(Setting Graphics for SL viewer))

Page 38: OpenSolaris On EeePc at Osc Spring

pg 38

Demonstrating some applications

Page 39: OpenSolaris On EeePc at Osc Spring

pg 39

Conclusion

rwn driver haven't worked well yet,I hope it will be fixed soon...

I asked lots of thing to Alfred...Daner...and many many Sun's employee using the comments in their blog...they kindly reply to me...Thanks again a lot!

I hope many of you GEEKS would use OpenSolaris more and more:-)and if you have any questions,please don't hesitate to ask me and Sun's engineers through mailing lists and so on.

HOPE YOU ENJOY WITH OPENSOLARIS

Page 40: OpenSolaris On EeePc at Osc Spring

Thank you!

Masafumi OhtaOpenNSUG / OpenSolaris User Group

/OpenSolaris Core Contributer

[email protected] http://www.masafumi-ohta.blogspot.com

You can see the latest information about Eee or something "Netbook"

“open” artwork and icons by chandan: http://blogs.sun.com/chandan