Vorige week waren we een aantal dagen op bezoek bij mijn ouders, die dit seizoen een plaats hebben op de relatief onbekende Camping Faulenbruch in Roetgen, vlakbij de Duits/Belgische grens. We hebben in de omgeving gewandeld, onder andere langs de kabbelende riviertjes Belgenbach (nabij Imgenbroich) en Steinbach (Hoge Venen). Verder hebben we gezellig gezamelijk gegeten, onder andere in het Landgasthaus Am Gericht.
Sinds kort heb ik een Sony Ericsson Xperia X10 mini, mijn eerste smartphone. Tot nog toe vond ik de meeste smartphones te groot en moest naar mijn mening de batterij te vaak opgeladen worden. De X10 mini is klein (83 x 50 x 16 mm), erg handig op reis en de batterij gaat een dag of drie mee (ik zet wel steeds Wifi, Bluetooth, de GPS en de achtergrond services uit). Handsfree telefoneren en muziek luisteren doe ik met een Sony Ericsson MW600 Wireless Headset.
Ik heb op dit moment de volgende applicaties geïnstalleerd:
Ik ben bezig met de ontwikkeling van AstroDroid, een astrologie-applicatie. Ik gebruik daarvoor de gebruikelijke combinatie Eclipse en de Android SDK.
Nuttige links:
- Androidworld
- Het Sony Ericsson Xperia X10 Mini & Mini Pro topic – deel 1
- X10 mini / X10 mini pro Official Thread
Huidige software versie: 1.1.A.0.8 (zie hier voor updates)
Als het goed is, komt er dit jaar ook een update naar Android 2.1.
Ik gebruik overigens Simyo mobiel internet (niet beschikbaar in het buitenland).
We maken ons druk over voetbal en politiek, maar nauwelijks over echte problemen, zoals ‘onze’ stervende oceanen.
Ook het lezen waard: Risicovolle vissen in zure oceaan en De grote ontgroening.
Based on the installation instructions of the previous version here is a how-to guide to install the desktop version of Ubuntu Lucid Lynx (version 10.04) on an Eee PC. This guide has been tested using an Eee PC 701 and will take one or two hours to execute (depending on your download speed and the hardware used).
Starting points
- The (smaller) SSD will be erased (backup important data!)
- Ubuntu will be installed without customizations (‘Vanilla’) and without swap space
- You have some experience using the CLI (Terminal)
- An USB flash memory stick of at least 1 GB is available
Instructions
The first four steps can be executed on a desktop PC running Microsoft Windows too. Instead of UNetbootin it is possible to use the new Ubuntu USB Startup Disk Creator too (System | Administration | USB Startup Disk Creator).
- Download the desktop version of Ubuntu here
- Download UNetbootin here
- Insert the USB flash memory stick into your desktop PC
- Start UNetbootin
- Select ‘Diskimage’ and select the downloaded .iso file
- Select the inserted USB flash memory stick and press ‘Ok’
- Be careful to select the correct drive!
- Check in the terminal with the command ‘mount’
- Remove all removable media from the Eee PC and insert the prepared USB flash memory stick
- Turn the Eee PC on
- Press Esc soon after startup
- Select USB Flash Memory or Disk and press enter
- Select ‘Default’ (or wait a moment)
- Ubuntu Live should startup
- Check if everything works (wireless, sound, etc)
- Wireless should work on most models with kernel 2.6.32-23 or higher, see this bug report
- Running an update with a wired connection maybe necessary
- Select System | Preferences | Appearance, Visual Effects -> None
- Close the window
- By pressing Alt + left mouse you can drag larger windows using the mouse pad now
- Start the installation wizard by double clicking the install icon and follow its steps
- I choose my own keyboard layout: ‘USA – International (AltGr dead keys)’
- ‘The installer has detected that the following disks have mounted partitions’ -> No
- At the step ‘Prepare disk space’:
- Select ‘Specify partitions manually (advanced)’ and press ‘Forward’
- Take a good look at what drive you want to install Ubuntu (all data will be erased!)
- You probably want to install on the smaller SSD, because it is the fastest
- Delete all partitions from the chosen drive (click on each partition and press ‘Delete’)
- Select ‘free space’ and press ‘Add…’
- Choose ‘Ext3 journaling file system’ as ‘Use as:’ (I don’t recommend using Ext4)
- Choose ‘/’ as ‘Mount Point’
- Press ‘Forward’
- Confirm the message that no swap has been selected by pressing ‘Continue’
- Continue the wizard, the installation will take about 30 minutes
- Press ‘Reboot Now’ and remove the USB flash memory stick when asked (not earlier!)
Ubuntu Lucid Lynx is installed and should work now.
Tweaks
The following steps are to improve some things and to setup others. Skip what you don’t need/want.
- Setup wireless internet:
- Click the radar symbol in the upper task bar
- Select your network of preference
- Enter the network password if required
- Disable login sound:
- Open the terminal and run this command:
- gconftool-2 –set /desktop/gnome/sound/event_sounds –type bool false
- Select System | Administration | Synaptic Package Manager, then Settings | Preferences | Files
- Select ‘Delete downloaded packages after installation’
- Set ‘Delete History files older than 0 days’
- Press ‘Ok’
- Select System | Administration | Time and Date
- ‘Click to make changes’ and enter your password if asked
- Set ‘Configuration’ to ‘Keep Synchronized’
- Press ‘Install NTP support’
- Select one or more servers near your location
- Right click on the date/time in the upper task bar and select ‘Preferences’
- General | 24 hour format
- Location | Add, enter a location name near to you
- Weather | C & km/h
- I installed the following applications:
- Using Applications | Ubuntu Software Center:
- Setup:
- Edit | Software Sources | Other Software, check ‘… partner’
- Software:
- Setup:
- Truecrypt
- Open a TrueCrypt volume by right clicking and selecting ‘Open with Other Application’
- Select ‘Use a custom command’, type ‘truecrypt’
- RAR (sudo apt-get install rar)
- Nautilus Image Converter (sudo apt-get install nautilus-image-converter)
- Right click on images for regular image operations
- NFS Client (sudo apt-get install portmap nfs-common)
- Using Applications | Ubuntu Software Center:
- Localized spell-checker: sudo apt-get install aspell-<language> (thanks Satyamo)
- Localize OpenOffice (thanks Satyamo):
- Go here
- Search for your language
- Press ‘Get it!’ and save the file
- Right click on the saved file
- Select ‘Open with Other Application…’
- Select ‘OpenOffice.org Word Processor’
- Follow the dialog
- I changed the following Firefox settings:
- View | Toolbars | Bookmarks Toolbar -> Uncheck
- View | Status Bar -> Uncheck
- Edit | Preferences | Advanced | Network | Offline Storage ->Use up to 0 MB
- Type ‘about:config’ in the addres bar
- Press ‘I’ll will be carefull, I promise!’
- Set ‘browser.urlbar.clickSelectsAll’ to ‘true’ by double clicking
- Tool | Add-ons, search ‘Firebug’, click ‘Add to Firefox…’, etc
- Maybe to want to install a nice persona
- Start Pidgin/Empathy automatic:
- System | Preferences | Startup Applications | Add
- Name/Description: whatever you like
- Command: pidgin or empathy
- System | Preferences | Startup Applications | Add
- Default detailed file lists:
- Open a file browser
- Select Edit | Preferences
- View new folders using -> List View
- Open a file browser
- Default subtitles:
- Open Move Player
- Edit | Preferences
- Text Subtitles, Automatically Load … -> Check
- Open Move Player
- Take a look here for some more fixes
Performance
| Startup until login (+BIOS): | about 35 seconds (Karmic: 35 sec; Intrepid: 65 sec; Jaunty: 45 sec) |
| Login until desktop: | about 25 seconds (Karmic: 25 sec; Intrepid: 30 sec; Jaunty: 25 sec) |
| Shutdown: | about 5 seconds (Karmic: 7 sec; Intrepid: 15 sec; Jaunty: 15 sec) |
| Used space after all updates: | about 2.3 GiB (df -h) (Karmic: 2.2 GiB; Intrepid: 2.6 GiB; Jaunty: 2.2 GiB) |
Desktop
After some shuffling around, my desktop looks like this:

Basically the bottom panel has been removed and most of its items have been moved to the top panel.
Function keys
|
Other functions
|
For some models, like the 1201N, you might have to fix the function keys like this.
Comments, corrections and additions are as always very welcome!
Recently I installed the simple, but beautiful Suffusion theme by Sayontan Sinha. This theme is using the funtions.php file extensively, the same place where my shortcode definitions were stored. Sayontan will probably fix this in the near future by including a custom functions.php file from another location. I also used some PHP code in two sidebar widgets that was executed by the Exec-PHP plugin.
I thought, why not use a plugin to define shortcodes and execute PHP code snippets? I couldn't find one, so I wrote one myself. You can find it in the WordPress repository as Shortcode Exec PHP.
Example shortcode to print your age:
extract(shortcode_atts(array('birthdate' => 'Jan 1, 1980'), $atts)); return floor((time() - strtotime($birthdate)) / (60 * 60 * 24 * 365.2425)); |
If you named the shortcode age, you can execute it in pages, posts, comments, widgets and/or RSS feeds like this:
[age birthdate="Mar 20, 2010"]
Please, use the comment form below for questions, bug reports and feature requests.
If you know a nice shortcode, you can leave it in the comments too.
If you know how to do it, most things are simple. Figuring out how to make my Asrock ION 330HT-BD (running Ubuntu Karmic) a wireless access point took me a couple of hours. For my own reference and maybe to save you some time I wrote down all steps.
How-to
- Check wireless adapter type
- lspci -v | grep Network
- Should be AR9285
- lspci -v | grep Network
- Enable IP forwarding
- sudo gedit /etc/sysctl.conf
- Uncomment
- net.ipv4.ip_forward = 1
- Uncomment
- Live change
- sudo echo 1 > /proc/sys/net/ipv4/ip_forward
- Check
- cat /proc/sys/net/ipv4/ip_forward
- sudo gedit /etc/sysctl.conf
- Give wireless adapter a static address
- sudo gedit /etc/network/interfaces
- Add code below
- Live change
- sudo /etc/init.d/networking restart
- Check
- ifconfig wlan0
- ifconfig wlan0
- sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255
- Download latest Linux wireless drivers (currently version 2.6)
- Extract archive
- Build/install
- cd compat-wireless-*
- ./scripts/driver-select ath9k
- make
- sudo make unload
- sudo make install
- Redo when new kernel
- Live change
- sudo modprobe ath9k
- sudo modprobe ath9k
- Check
- grep ath9k /var/log/syslog
- grep ath9k /var/log/syslog
- Install hostapd
- sudo apt-get install hostapd
- sudo gedit /etc/default/hostapd
- Uncomment
- RUN_DAEMON="yes"
- DAEMON_CONF="/etc/hostapd/hostapd.conf"
- Uncomment
- sudo gedit /etc/hostapd/hostapd.conf
- Add
- driver=nl80211
- Change
- ssid=<name>
- hw_mode=g
- auth_algs=1
- wpa=2
- wpa_passphrase=<password>
- wpa_pairwise=TKIP
- Add
- Live change
- sudo /etc/init.d/hostapd restart
- Check
- grep hostapd /var/log/syslog
- grep hostapd /var/log/syslog
- Install dnsmasq
- sudo apt-get install dnsmasq
- sudo gedit /etc/default/dnsmasq
- Uncomment
- DNSMASQ_OPTS="--conf-file=/etc/dnsmasq.conf"
- Comment
- #CONFIG_DIR=/etc/dnsmasq.d
- Uncomment
- sudo gedit /etc/dnsmasq.conf
- Add
- interface=wlan0
- dhcp-range=192.168.0.2,192.168.0.127,12h
- Add
- Live change
- sudo /etc/init.d/dnsmasq restart
- sudo /etc/init.d/dnsmasq restart
- Check
- grep dnsmasq /var/log/syslog
- grep dnsmasq /var/log/syslog
- Routing
- Give the Asrock a static IP 192.168.1.x
- Preferable by your local DHCP server (based on MAC address)
- Add a static route 192.168.0.0/255.255.255.0 > 192.168.1.x
- In your modem/router
- Give the Asrock a static IP 192.168.1.x
- Now you should be able to connect
Links
This how-to describes which hardware and software components I used to build my Home Theater PC, with the ability to watch satellite television too. It includes a step-by-step guide for installing and configuring the required software, which appeared to be quite an adventure if you want to use a softcam, because the information was scattered around the internet.
Some people consider the use of a softcam illegal. My opinion is that a softcam can be used illegally, but if you use it in combination with a valid subscription on one PC only it is perfectly legal. In fact I see no difference with a real CAM, which contains the same kind of software (firmware).
For installing the software at least some experience using the Linux CLI is required.
Comments, corrections and additions are as always very welcome!
Hardware
Goal
- Small size
- Low power
- Low noise
- HD ready
- Satellite reception
- Softcam
- Linux compatible
- Affordable
Guide
- Asrock ION 330HT (shops nl ±€300), -BD with Blu-ray (shops nl ±€380)
- Manuals
- Downloads
- Power consumption
- Silencing (nl)
- Temperature sensors
- nvidia-settings -c :0 -tq GPUCoreTemp
- Wake-on-LAN using a Zyxel P-2602H(W)-D1A (nl)
- Optional: (cordless) keyboard/mouse
- TeVii S660 DVB-S2 USB (shop nl 1, shop nl 2 ±€80)
- IR problem, using the Asrock IR
- There seems to be a revision A and B
- Satellite dish, LNB, cable, connectors, etc
- Smargo Smartreader+ (shop nl ±€35)
- Netherlands:
Power usage
Asrock ION 330HT-BD + TeVii S660
| watt | kWh/year | Per year | |
| Powered down | ~3 | 26 | €5,55 |
| Ubuntu running | ~29 | 254 | €53,60 |
| VDR running, no client | ~31 | 271 | €57,29 |
| Watching SD channel | ~36 | 315 | €66,53 |
Assuming an average of 21,1 cent per kWh
Software
Goal
- Open source
- Repositories, only compilation when really necessary
- User friendly
- Recent, stable, supported, actively developed software
- Kaffeine: not actively developed currently
- XBMC/PVR-testing: not stable yet
- Tvheadend: nice, but no smartcard updates
- VDR+streamdev+XBMC: hang when no data (no signal or encrypted)
- VDR+streamdev+My Media System: not tried yet, but will hang when no data
- VDR standalone, using the built-in media player
- Stable
- Actively developped
- Active community
- Lots of plugins available
Guide
- Install Ubuntu Karmic Koala 32 bit (use CD or unetbootin)
- Preferably ext3
Pin kernel 2.6.31-14 (see issues)sudo gedit /etc/apt/preferencesPackage: linux-generic linux-headers-generic linux-image-genericPin: version 2.6.31-14Pin-Priority: 1001
- Setup network (wireless or wired)
- Update Ubuntu
- System | Administration | Update Manager
- Install NVIDIA driver
- System | Administration | Hardware Drivers: Activate
- To prevent tearing
- System | Preferences | Appearance: Visual Effects: None
- Install TeVii S660 driver
- sudo apt-get install unrar
- Download and extract to home folder
- The lastest version fails with the following messages over and over again:
- [ 3133.480053] dw2102: query RC start
- [ 3133.500190] dw2102: query RC end
- In this case try this version
- The lastest version fails with the following messages over and over again:
- cd linux_tevii_ds3000
- sudo -s
- cp *.fw /lib/firmware
- tar xjvf linux-tevii-ds3000.tar.bz2
- cd linux-tevii-ds3000
- make -j2
- make install
- Cycle power
- dmesg | grep dvb
- Check TEVII S660 DVBS2 USB2.0 successfully initialized and connected
- The V4L-DVB device drivers contain almost the same code
- Redo when new kernel
Install newcs card serverDownload version 1.67rc1 (alternate)sudo -scp newcs.i686 /usr/binmkdir /etc/sccp newcs.xml /etc/sc
- Install oscam card server
- Install libusb
- cd ~
- wget http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.7/libusb-1.0.7.tar.bz2
- tar xjvf libusb-1.0.7.tar.bz2
- cd libusb-1.0.7
- ./configure --enable-shared=no
- make
- sudo make install
- sudo apt-get install subversion g++ cmake libpcsclite1 libpcsclite-dev gcc automake make libssl-dev
- cd ~
- svn co http://oscam.ump2002.net/svn/oscam/trunk oscam-svn (bleeding edge!)
- cd oscam-svn
- make i386-pc-linux-libusb
- sudo cp Distribution/oscam-* /usr/bin/oscam
- Download config files
- sudo mkdir -p /etc/sc
- sudo tar xzvf oscam_conf.tar.gz -C /etc/sc
- lsusb
- Find 'Bus xxx Device yyy: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC'
- sudo gedit /etc/sc/oscam.server
- set 'Device = xxx:yyy'
- Install libusb
- Install softcam sasc-ng
- sudo apt-get install linux-headers-`uname -r` build-essential mercurial openssl libssl-dev gettext
- cd ~
- hg clone http://85.17.209.13:6100/sc (bleeding edge!)
- cd sc
- gedit Makefile
- Find and remove -O3 from CSAFLAGS
- cd ~/sc/contrib/sasc-ng
- chmod +x configure
- chmod +x ./dvbloopback/module/config_dvb.pl
- ./configure --dvb-dir=~/linux_tevii_ds3000/linux-tevii-ds3000
- make
- make module
- sudo -s
- cp sasc-ng /usr/bin
- mkdir /lib/modules/`uname -r`/misc
- /usr/bin/install dvbloopback.ko /lib/modules/`uname -r`/misc/
- depmod
- modprobe dvbloopback
- ls /dev/dvb
- Check adapter1 (assuming one tuner)
- mkdir /etc/sc
- cp cardclient.conf /etc/sc
- When FTDI bug is fixed: cp cardslot.conf /etc/sc
- Redo when new kernel
- Create card server / softcam startup script
- Download script
- sudo -s
- cp sc /etc/init.d
- update-rc.d sc defaults 19
- /etc/init.d/sc start
Check /var/log/newcs.log- Check /var/log/oscam.log
- Check /var/log/sasc-ng.log
Check http://localhost:8080/
- Install CIR receiver driver
- Download and install
- Remote control configuration
- 1st config: None, None
- 2nd config: Nuvotron Transceivers/Remotes, None
- Redo when new kernel (because it is a patch actually)
- Install VDR
- deb http://ppa.launchpad.net/the-vdr-team/vdr-ubuntu-karmic/ubuntu karmic main
- System | Administration | Software Sources, Other
- sudo -s
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6CF20474
- apt-get install vdr vdr-plugin-xineliboutput xineliboutput-sxfe
- gedit /etc/default/vdr
- OPTIONS="-w 60 -D 1 --lirc=/dev/null"
- More than one LNB
- gedit /etc/vdr/diseqc.conf (Astra 19E2/23E5)
- gedit /var/lib/vdr/setup.conf (create file)
- DiSEqC = 1
- gedit /var/lib/vdr/setup.conf (create file)
- UpdateChannels = 0
- Download channels.conf (syntax)
- grep -v ':-' channels.conf | grep 'CANALDIGITAAL' >/var/lib/vdr/channels.conf
- grep -v ':-' channels.conf | grep -v 'CANALDIGITAAL' >>/var/lib/vdr/channels.conf
- Or scan channels
- sudo apt-get install w-scan
- sudo /etc/init.d/sc stop
- w_scan -fs -sS19E2 -o7 -D0c >channels.conf
- w_scan -fs -sS23E5 -o7 -D1c >>channels.conf
- sudo /etc/init.d/sc start
- Make channels FTA:
- awk -F: '{if ($1 == "" ) print $0 ; else \
- print $1":"$2":"$3":"$4":"$5":"$6":"$7":"$8":0:"$10":"$11":"$12":"$13}' \
- channels.conf >>/var/lib/vdr/channels.conf
- cp remote.conf /var/lib/vdr (info)
- sudo /etc/init.d/vdr start
- Check /var/log/user.log
- Optional: apt-get install vdr-plugin-femon vdr-plugin-eepg
- deb http://ppa.launchpad.net/the-vdr-team/vdr-ubuntu-karmic/ubuntu karmic main
- Watch
- Disable screen saver
- System | Preferences | Screensaver: Active ...: Never
- System | Preferences | Power Management -> Display: Never
- Dowload vdr-sxfe.sh to home folder
- System | Preferences | Startup Applications: Add
- Command: browse to vdr-sxfe.sh
- Alternative
- Put .lircrc in the home folder
- Add irexec -d to startup applications
- Start/stop vdr-sxfe using Enter/Clear on the remote control
- Easy when vdr-sxfe crashes
- Disable screen saver
Issues
FTDI bugLinux kernel must be pinnednewcs is needed to read smartcard, which it sometimes fails to do at startup
Communication sasc-ng/newcs sometimes fails- Zap time encrypted channels >= 5 sec
- The German FTA HD channels work, but NederlandHD has only sound sofar
- No official repositories, some compilation necessary
I have to set the listed frequencies about 25 MHz lower to get signal. This is annoying, because scanning channels does not work properly. The cause is most probably the TeVii S660 device, since using Windows doesn't make any difference (assuming the drivers are different) and because my LNB has been replaced in the meantime. My local supplier will replace the device when it is restocked (probably within a week).- The fans of the Asrock are a little noisy, however the high pitch can be canceled:
To remove the heatsinks the motherboard has to be removed (four screws and some cables).
Questions
- Does anybody know how to compile vdr-plugin-sc without compiling vdr too?
- Without getting the message below when starting vdr
- WARNING: The following plugins have been left out due to really binary incompatibility: sc.
- See comments for pointers to solutions
- Without getting the message below when starting vdr
- Does anbody know the difference between the oscam version here and here?
Links
Als je alleen FTA zenders (Nederland 1, 2 en 3 en regionale zenders) via de ether (Digitenne) wilt ontvangen, is televisie kijken en opnemen met Ubuntu heel eenvoudig. Hiervoor heb je nodig:
- Een Linux compatible DVB-T tuner, bijvoorbeeld de Asus My Cinema-U3100 DVB-T Plus (ca. 35 euro)
- Geschikte software, bijvoorbeeld Me TV (installatie via het Ubuntu Software center)
- Informatie om de kanalen te kunnen vinden, zie hier
Bijna overal in Nederland is er dekking. Afhankelijk van je woonplaats en -situatie kan het nodig zijn om een buitenantenne te gebruiken. Ik heb bijvoorbeeld op zolder net voldoende signaal, maar op andere plaatsen in mijn huis niet. Ik heb een USB-verlengkabel gebruikt om de antenne op een gunstige plaats te zetten.
Zelfs op mijn Asus Eee PC 701 werkt het goed. De beeldkwaliteit is aardig, maar niet zo goed als via de satelliet.
Vanaf volgende week woensdag (25 november) ga ik Fujicolor Benelux een paar maanden helpen met de voorbereidingen om eventueel foto's uit Duitsland af te drukken.
I tried the Ubuntu Netbook Remix (Karmic Koala 9.10 version) on my desktop by installing the meta package ubuntu-netbook-remix and by adding the Go Home and Window Picker applets to the upper panel. Because the Desktop Switcher application has been dropped from the Karmic Koala release, I was searching for a documented way to remove the netbook remix. I couldn't find one, so I determined on another desktop which packages are being installed and came up with the following:
- Remove the Go Home and Window Picker applets
- Using System | Preferences | Startup Applications disable and remove:
- Maximus Windows Management
- Netbook Launcher
- Issue the following commands in the terminal:
- sudo apt-get remove go-home-applet libclutk-0.2-0 libfakekey0 liblauncher-0.1-0 libnetbook-launcher-0 maximus netbook-launcher ubuntu-netbook-remix-default-settings webfav window-picker-applet ubuntu-netbook-remix
- sudo apt-get remove cheese (if you hadn't Cheese installed before)
- sudo apt-get autoremove
- Reboot
If you know a simpler way, please let me know.










