Surfing internet by connecting Ubuntu 7.10 on Eee PC to Microsoft Mobile 6 via Bluetooth dongle

I have several laptops (such as Eee PC, SONY TR-1, IBM Thinkpad T23) and all are running Ubuntu 7.10. When there is no WiFi and LAN coverage, I should use my Dopod D810, which is running Microsoft Mobile 6 and HSDPA, to share the networking with Ubuntu laptop(s) for surfing internet.

Surfing internet with these two device with a Bluetooth dongle is very easy.

Eee PC side :

Step 1a

sudo nano /etc/network/interfaces

Append the following lines to “/etc/network/interfaces” :

auto bnep0
iface bnep0 inet dhcp

Step 1b

sudo nano /etc/modules

Append “bnep” to the end of the file.

Step 1c
Insert the bluetooth dongle to the USB port of Eee PC.

Step 1d
Make sure you enable the “Networking” at the “Bluetooth Preference”. It can be set at the Bluetooth icon on the top of the screen when you inserting the Bluetooh dongle.

Mobile 6 side :

Step 2a
Make sure your phone function is on. Turn on your Pocket PC’s Bluetooth connection and set its visibility to ‘Show to all’ or equivalent.

Step 2b
Search the Eee PC and issue a password (any password you like).

Eee PC side :

Step 3
The Ubuntu will prompt you to enter a password in order to pair with the Mobile 6. Enter the same password that you just entered at the Mobile 6. After that, Ubuntu will show you that two devices are bonded.

Mobile 6 side :

Step 4
On your Pocket PC to Start->Programs->Internet Sharing, choose Bluetooth PAN, and your NetworkConnection and choose Connect.

Eee PC side :

Step 5a
Issue the following command to find the Mobile 6 –

hcitool scan

Step 5b
Then, you will see the following (the address is different from yours) :

Scanning …
00:0E:07:37:7C:BD Samiux

Step 5c
Then, connect your Ubuntu Eee PC to your Pocket PC :

sudo modprobe bnep
sudo pand –connect 00:0E:07:37:7C:BD

Step 6
Now, you will get an IP and you can surf the internet with the connection of Bluetooth.

To confirm if you have an IP, you just issue “ifconfig bnep0” and look for “inet addr : XXX:XXX:XXX:XXX”. It may look like or something like that.

To disconnect, you just disconnect the connection on the Mobile 6. To reconnect, you just repeat the steps on Step 5.

Step 7

You may consider to create a script to run the connection.

sudo pand -K
hcitool scan
sleep 3
sudo pand –connect 00:0E:07:37:7C:BD
sleep 5
ifconfig bnep0

Save it at your home directory as “blue2d810”. Make it executable with “chmod +x blue2d810”. Run it by “./blue2d810” or “sh blue2d810”.


Yet another way to install Ubuntu 7.10 to ASUS Eee PC

The ASUS Eee PC model 701 (Pearl colour) comes with the following configuration :

Intel Celeron 630MHz CPU (someone in the net is reported as 900MHz)
4GB SSD hard drive
1 X SD/SDHC/MMC card reader
3 X USB ports
1 X webcam
1 X VGA out

Step 1 :
I installed Ubuntu 7.10 SE (my remastered Ubuntu SE) on a Transcend 8GB Class 6 SDHC card with a no hard drive desktop computer as usual. My desktop is using mobile rack and it is very easy to remove the hard drive. Make sure to use ext2 ext3 (or JFS or XFS) and without with creating a at least 1024MB swap partition.

Updated on 2007-NOV-23 :
go to /etc/sysctl.conf file

sudo nano /etc/sysctl.conf

and set or add the swappiness to

After the installation, I deleted the xorg.conf at /etc/X11 to make the SDHC capable to run on every computer. You can delete the file after the reboot from the SDHC on the no hard drive desktop.

sudo rm /etc/X11/xorg.conf

Step 2 :
Install ndiswrapper when it is still at the no hard drive desktop. Make sure you have activated all the respositories at the Synaptic.

sudo install ndiswrapper-common ndiswrapper-utils-1.9 ndisgtk

Add “ndiswrapper” to the /etc/modules :

sudo nano /etc/modules

Then download the ASUS Eee PC Windows XP wireless driver from her website or from the accompanied DVD.

Step 3 :
Change “SAVE_VBE_STATE” to false at /etc/default/acpi-support to make Eee PC to suspend to RAM. However, you should disable Compiz Fusion before doing this. However, it could not suspend to RAM or my BIOS version 401 caused the problem.

Step 4 :
Add “noatime” to /etc/fstab. (use this at your risk)
Also add “tmpfs /var/log tmpfs defaults,noatime 0 0” at the bottom of the file.

Updated on 2007-NOV-23 :

Also add /tmp, /var/lock, /var/run and /var/tmp to the tmpfs.

Step 5 :
Add “rmmod snd-hda-intel” at the beginning of /etc/init.d/halt script in order to make the device shutdown completely.

Step 6 :
Add “blacklist ath_pci” and “blacklist ath_hal” at the end of /etc/modprobe.d/blacklist script.

Step 7 :
Insert the SDHC to the Eee PC and set the BIOS to boot from removable device and make the SDHC the first boot option.

After booted up and logged in, change the resolution of the Eee PC :

sudo dpkg-reconfigure xserver-xorg

Follow the instructions on the screen, normally accept the default. When asking for resolution, select all up to and include 800×600 from the top to bottom. Add “800×480” to
/etc/X11/xorg.conf :

sudo nano /etc/X11/xorg.conf

Step 8 :
Install the ASUS Eee PC Windows XP wireless driver to ndiswrapper via the GUI, be sure to select ndis5x folder and net5211.inf to install.

Step 9 :

sudo depmod -a

Reboot your Eee PC, that’s all.

Problems not yet been solved :
The following function keys are not working –
Fn+F1 (standby), Fn+F2 (wireless), Fn+F5 (LCD/Monitor), Fn+F6, Fn+F7 (speaker), Fn+F8 (speaker) and Fn+F9 (speaker)

Reference : Installing Ubuntu 7.10 (Gutsy Gibbon) on an Eee PC 701 4G

Updated on 2007-Nov-14 :
I installed ucview and skype 2.0 beta to the Ubuntu Eee PC successfully today. The webcam including video and sound capture is working.

WebCam :

sudo nano /etc/apt/sources.list

Add “deb feisty contrib” to the end of the file without quote.

sudo apt-get update

sudo apt-get install ucview

Make sure you enable the camera at the BIOS. Then execute “ucview” at the terminal.

Skype 2.0 beta :

Download the beta version at
And then install it according to this method as the package is for Ubuntu 7.04 :

Sound capture :

Step a

sudo alsactl store

sudo nano /var/lib/alsa/asound.state

Find “Capture Switch” and change 2 “false” to “true”.

sudo alsactl restore

Step b
Edit /etc/modprobe.d/alsa-base and add the line “options snd-hda-intel model=3stack-dig” to get microphone working.

Launch speed after login :
When I disabled the Compiz Fusion (Special effect), the launch speed after login is improved.

Updated on 2007-NOV-23 :

Tweaking the bootup and shutdown process :

Step I

sudo mv /etc/rc2.d/S12hal /etc/rc2.d/S13hal
sudo mv /etc/rc3.d/S12hal /etc/rc3.d/S13hal
sudo mv /etc/rc4.d/S12hal /etc/rc4.d/S13hal
sudo mv /etc/rc5.d/S12hal /etc/rc5.d/S13hal

Step II

sudo nano /etc/init.d/rc

Look for CONCURRENCY=none and change it to:

More complete note is at


ASUS Eee PC comes without “Quick 速成” Traditional Chinese Input Method. We can easily to add this input method on it.

Download the Quick.bin and Quick.png to /home/user and copy them to their destination.

Call the terminal out by pressing “Ctrl”+”Alt”+”t”, then issue the following comnand at /home/user directory.

sudo cp Quick.bin /usr/share/scim/tables

sudo cp Quick.png /usr/share/scim/icons

Change the Eee PC from English to Traditional Chinese :

sudo nano /etc/default/locale


Reboot your system and the Traditional Chinese layout and “Quick” are ready!


SCIM bug fix for Ubuntu 7.10

After you have upgrade or install Ubuntu 7.10, you may find that you cannot edit or change the folder name under the Gnome. It is the bug of SCIM. You can fix it by following steps :

sudo nano /etc/X11/xinit/xinput.d/scim

The entries of GTK_IM_MODULE and QT_IM_MODULE should change to “SCIM” instead of xim :


Log out and re-login or press “Ctrl”+”Alt”+”Backspace” to reload the X Window.

That’s all!

Boot up screen (USplash) bug fix for Ubuntu 7.10

For some computer equipped with monitor that resolution is lower than 1280×1024 (or non-standard resolution monitor – widescreen) and installed with Ubuntu 7.10 Desktop Live CD, the boot up screen (USplash) may be blacked or dislocated. The following steps can fix it all :

sudo nano /etc/usplash.conf

Change the xres and yres to 1024 and 768 respectively. Then find out what version of your kernel :

uname -r

The output in my case is 2.6.22-14-generic (yours may be different if you have updated your kernel). You should issue the following command and reboot the computer after the job done.

sudo update-initramfs -u -k 2.6.22-14-generic

That’s all.