Skip to content

raspbmc - getting rid of iptables

I don't need a firewall on my Raspberry PI which runs XMBC (raspbmc distribution) - it's in a dedicated subnet behind a firewall. Furthermore, there are several reports of iptables having an impact on the performance of network playback, causing buffering issues (although I didn't do any benchmark myself).

I modified /etc/network/if-up.d/secure-rmc by adding "exit 0" right at the beginning like this:
#!/bin/bash

exit 0

dec_to_bin() {
...

And then I ran:
apt-get remove iptables

This was followed by a reboot.

nb: the secure-rmc file appears to be a raspbmc addition, and it could probably just be deleted instead.

  • Twitter
  • Bookmark raspbmc - getting rid of iptables at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg raspbmc - getting rid of iptables
  • Mixx raspbmc - getting rid of iptables
  • Bloglines raspbmc - getting rid of iptables
  • Technorati raspbmc - getting rid of iptables
  • Fark this: raspbmc - getting rid of iptables
  • Bookmark raspbmc - getting rid of iptables at YahooMyWeb
  • Bookmark raspbmc - getting rid of iptables at Furl.net
  • Bookmark raspbmc - getting rid of iptables at reddit.com
  • Bookmark raspbmc - getting rid of iptables at blinklist.com
  • Bookmark raspbmc - getting rid of iptables at Spurl.net
  • Bookmark raspbmc - getting rid of iptables at NewsVine
  • Bookmark raspbmc - getting rid of iptables at Simpy.com
  • Bookmark raspbmc - getting rid of iptables at blogmarks
  • Bookmark raspbmc - getting rid of iptables with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

now with IPv6

In anticipation of World IPv6 Launch Day (6 June 2012), this website is now fully reachable over IPv6.
  • Twitter
  • Bookmark now with IPv6 at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg now with IPv6
  • Mixx now with IPv6
  • Bloglines now with IPv6
  • Technorati now with IPv6
  • Fark this: now with IPv6
  • Bookmark now with IPv6 at YahooMyWeb
  • Bookmark now with IPv6 at Furl.net
  • Bookmark now with IPv6 at reddit.com
  • Bookmark now with IPv6 at blinklist.com
  • Bookmark now with IPv6 at Spurl.net
  • Bookmark now with IPv6 at NewsVine
  • Bookmark now with IPv6 at Simpy.com
  • Bookmark now with IPv6 at blogmarks
  • Bookmark now with IPv6 with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

IPv6 test websites

  • Twitter
  • Bookmark IPv6 test websites at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg IPv6 test websites
  • Mixx IPv6 test websites
  • Bloglines IPv6 test websites
  • Technorati IPv6 test websites
  • Fark this: IPv6 test websites
  • Bookmark IPv6 test websites at YahooMyWeb
  • Bookmark IPv6 test websites at Furl.net
  • Bookmark IPv6 test websites at reddit.com
  • Bookmark IPv6 test websites at blinklist.com
  • Bookmark IPv6 test websites at Spurl.net
  • Bookmark IPv6 test websites at NewsVine
  • Bookmark IPv6 test websites at Simpy.com
  • Bookmark IPv6 test websites at blogmarks
  • Bookmark IPv6 test websites with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too)

According to the Wikipedia IPv6 article, Privacy extensions are, except for the Windows platform and Mac OS X since 10.7 as well as iOS since version 4.3, not enabled by default.

In theory, one can enable the IPv6 Privacy Extensions on all interfaces at once using sysctl like this:
sudo sysctl net.ipv6.conf.all.use_tempaddr=2

However, this currently doesn't work as expected, so I'm using this one-liner in /etc/rc.local:
for IF in `/bin/ls /proc/sys/net/ipv6/conf/*/use_tempaddr` ; do echo 2 > $IF ; done

This also sets "use_tempaddr" for "default", which means it should also apply to interfaces added to the system afterwards.

A simple check to verify that the new configuration is working: ipv6-test.com will print your MAC address when available...

See also: Linux Kernel Bug 11655

  • Twitter
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too)
  • Mixx Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too)
  • Bloglines Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too)
  • Technorati Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too)
  • Fark this: Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too)
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at YahooMyWeb
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at Furl.net
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at reddit.com
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at blinklist.com
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at Spurl.net
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at NewsVine
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at Simpy.com
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) at blogmarks
  • Bookmark Enabling IPv6 Privacy Extensions on all interfaces (Ubuntu Linux, may work for other distros too) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

VaudTax 2010 avec Ubuntu linux 64-bit

Les instructions pour Linux fournies sur le site officiel ne fonctionnent pas pour moi (Maverick / Ubuntu 10.10 desktop amd64).

Il semble qu'il ne soit toujours pas possible d'importer des fichiers sauvegardés dans une version 32 bit de VaudTax avec la version 64 bits, et vice-versa (crash de VaudTax avec une erreur cryptique [1]). Deux options, soit recommencer sa déclaration sans importer les données de l'année précédente, soit faire tourner VaudTax avec une JVM 32-bits ([2]). Pour l'instant j'ai toujours opté pour la deuxième variante. Jusqu'à l'année passée (VaudTax2009), on pouvait télécharger une version incluant une JVM (32-bits), cette option n'est plus disponible mais il est toujours possible d'arriver au même résultat :

1ère étape, avant de commencer le processus d'installation :
$ sudo update-alternatives --config java
There are 3 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/ia32-java-6-sun/jre/bin/java 63 manual mode
2 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
3 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode

Press enter to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/lib/jvm/ia32-java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode.

(si l'option JVM 32-bits n'apparaît pas, il faut d'abord installer le paquet ia32-sun-java6-bin)

Une fois VaudTax installé, il faut télécharger et décompacter xulrunner :
$ cd $HOME/VaudTax2010
$ wget http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2.16/runtimes/xulrunner-1.9.2.16.en-US.linux-i686.tar.bz2
$ tar -xpf xulrunner-*

Finalement, il faut encore modifier le fichier VaudTax2010 en ajoutant ces deux lignes juste après `VM_SEARCH_PATH="$PATH"' :
export MOZILLA_FIVE_HOME=$HOME/VaudTax2010/xulrunner
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MOZILLA_FIVE_HOME}


Note : une fois VaudTax2010 installé, on peut exécuter à nouveau "sudo update-alternatives --config java" pour rétablir la configuration initiale - les paramètres sont en effet enregistrés dans le fichier VaudTax2010.lax


[1]
The program 'SWT' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
(Details: serial 5455 error_code 161 request_code 149 minor_code 7)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

[2] la troisième variante serait d'étudier le format de fichier produit par chacune des versions pour créer un outil de conversion
  • Twitter
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg VaudTax 2010 avec Ubuntu linux 64-bit
  • Mixx VaudTax 2010 avec Ubuntu linux 64-bit
  • Bloglines VaudTax 2010 avec Ubuntu linux 64-bit
  • Technorati VaudTax 2010 avec Ubuntu linux 64-bit
  • Fark this: VaudTax 2010 avec Ubuntu linux 64-bit
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at YahooMyWeb
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at Furl.net
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at reddit.com
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at blinklist.com
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at Spurl.net
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at NewsVine
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at Simpy.com
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit at blogmarks
  • Bookmark VaudTax 2010 avec Ubuntu linux 64-bit with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca