Links

Next steps

Whenever someone wants to contribute in developing and/or debugging one of them mail me please.

Last update Mar, 13th '11

All the available files has been moved from ~/valleri/fon/* to ~/valleri/public/fon/* update all the related ref!

Transmission 2.22

Below I outlined a quick howto to install the updated package of transmission. YES off course, it is a binary file that you are going to install. I changed the necessary and then I compiled the fon source. For all those interested the patches are available, I published them on the fon trac here

In my binary image I put a file /transmission-version that contains, as the name suggests, the version of the transmission installed. Check it to know if the installation is finished correctly

Fonera 2.0n

The transmission fon plugin is available for the following fon firmwares:

The steps to perform are very simple:

on the fonera (ssh ...) modify the file:    /bin/fon_image.sh
1. (line 13)
from:
DL_URL="http://download.fonosfera.org/plugins/";

to:
DL_URL="http://disi.unitn.it/~valleri/public/fon/plugins/";

otherwise
replace /bin/fon_image.sh with http://disi.unitn.it/~valleri/public/fon/plugins/fon_image.sh
and then chmod a+x /bin/fon_image.sh

2.a: Stop transmission in the dashboard
2.b: Delete the file image torrent.2.3.6.0.fmg which is store in Disc-A1/FoneraApps/

3. Reinstall the torrent appl. from the dashboard




Fonera 2.0g

It isn't yet available simply because I don't have this router and so I can't test if my image works !!
Let me know if you want to test it for me

Firmware fonera 2.0n with ipv6 support

Key points:

The result is very nice with an up-record of 19 days

The firmware image files available:

The firmware is simply composed into package maintained from fon and openwrt. The fon ones are in trunk/fon All the openwrt package are updated with openwrt svn while the fon package are update by hand when occur.

root@Fonera:~# uname -a
Linux Fonera 2.6.21.7 #2 Mon Mar 8 19:06:52 CET 2010 mips unknown


MY CHANGELOG:

incoming:
- Prepare also the archive for a gui installation
- Move screen and libncurses to fon-image 
- Add gui settings for radvd
- Set openvpn in bridge mode (also the vpn client takes ipv6 address ;-) )
- Add some option to the sambad socket (They improve the transfers!)
- Add su and some related option
- Add -mtime and -mmin to find 



rc2-34 - 21 March '10 - build #fon 1655 #openwrt 20168 
- Fix aiccu update, setting the tic server in /etc/config/aiccu (thank to nanomad)
- Fix backup script ( now include openvpn keys and setting )
- Add preliminary version of ipv6 firewall 
- Add kmod-usb-printer 




rc2-b31 - 13 March '10 - build #fon 1655 #openwrt 20168
- Fix backup script ( now include  radvd, aiccu )
- Remove luci-app-wizard-fonera2
- Upgrade kernel to 2.6.21.7 
- Update openvpn to 2.1.1




rc2-b24 (28 February '10):
- Add ip6tables
- Add ip6tables-utils
- Add kmod-ip6tables
- Add screen ;-) 
- Add adduser / deluser
- Add IPv6 setting gui
- Update dnsmasq to 2.52
- Fix transmission umask 
- Set registered.fonreg.registered=0 by default
- Remove kmod-usb-serial-hso
- Remove kmod-usb-serial-option
- Remove kmod-usb-serial-sierrawireless
- Remove kmod-usb-serial
- Remove kmod-video-core
- Remove kmod-video-uvc 
- Remove kmod-usb-printer 
- Remove ntfs-3g
- Remove fuse-utils
- Remove kmod-fuse
- Remove umtsd


rc2-b10:
- Remove ppp package and kmod-pppoe 
- Replace torrent image link with mine (my torrent image contains transmission 1.90)
- update openvpn to 2.1.0
- update miniupnpd to 1.4.2
- Fix samba os level to 99
- Add anonymous access to samba share
- Fix ipv6 routing for a bug in 2.6.21 (http://bugzilla.kernel.org/show_bug.cgi?id=8382)
- Add StartV6 script 
- Add aiccu
- Add radvd
- Add kmod-ipv6
- Set net.ipv6.conf.all.forwarding=1 in sysctl.conf
- Remove facebook and other plugins code


BEFORE INSTALL:
- With md5sum checks the download integrity
Download in the firmware directory the md5 file and check it:
wget http://disi.unitn.it/~valleri/public/fon/fw/fon-2.3.5-vpn+v6-rc2-light10-final.md5
md5sum -c fon-2.3.5-vpn+v6-rc2-light10-final.md5

INSTALL:
Send the fw to the fonera (/tmp) with scp.
ssh fonera,  cd /tmp and then
mtd -r write fon-2.3.5-vpn+v6-rc2-light10-final image


FIRST STEP (change root password):
ssh root@fonera
the default password is: admin
# passwd root

NOTE:
- With ipv6 all service are available without port forwarding.
- With the rc2-b10 version you must remove by hand the dead links in the dashboard changing /etc/config/plugfons correctly

Please share with me your experience about this firmware here

Configure ipv6

Command line mode

- Configure aiccu (sixxs.net):
uci set aiccu.@aiccu[0].username=YOUR-ACCOUNT-NAME
uci set aiccu.@aiccu[0].password=YOUR-ACCOUNT-PASSWD
uci set aiccu.@aiccu[0].tunnel_id=Leave blank if you don't know what it's

- Configure radvd:
uci set radvd.@prefix[0].prefix=YOUR_IPV6_SUBNET_IP::/64

- Configure network:
uci set network.lan.ip6addr=YOUR_IPV6_SUBNET_IP::1/64

Finally:
uci commit

GUI mode - Graphical user interface (Available in the next release)

I made a simple gui to let more easy the configuration of the plugin

Firewall

I wrote an ipv6 firewall script to handle the ipv6 connections. The file firewall.ipv6 is here

Fonera:~# ip6tables -nL -v

Chain INPUT (policy DROP 3 packets, 1734 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all      br-lan *       ::/0                 ::/0               
    0     0 ACCEPT     all      lo     *       ::/0                 ::/0               
    1    40 DROP       all      *      *       ::/0                 ::/0               state INVALID 
   66 49741 ACCEPT     all      *      *       ::/0                 ::/0               state RELATED,ESTABLISHED 
    5   260 ACCEPT     icmpv6    *      *       ::/0                 ::/0               ipv6-icmp type 128 limit: avg 30/min burst 5 
    0     0 LOG        icmpv6    *      *       ::/0                 ::/0               ipv6-icmp type 128 limit: avg 10/min burst 5 LOG flags 0 level 4 prefix `Accept:' 
    0     0 ACCEPT     tcp      *      *       ::/0                 ::/0               limit: avg 1/sec burst 5 state NEW tcp dpt:22 
    0     0 ACCEPT     tcp      *      *       ::/0                 ::/0               state NEW tcp dpt:51413 

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 74 packets, 17860 bytes)
pkts bytes target     prot opt in     out     source               destination         
0     0 ACCEPT     all      *      br-lan  ::/0                 ::/0               
0     0 ACCEPT     all      *      lo      ::/0                 ::/0       

Tips