enricorossi.org

Enrico Rossi


Linksys Openwrt

Appunti sul setup dell’OpenWRT nel router Linksys. password: mypassword /etc/firewall.user ### DMZ ## -- Connections to ports not handled above will be forwarded to 192.168.1.2 iptables -t nat -A prerouting_wan -j DNAT --to IP-DMZ-SERVER iptables -A forwarding_wan -d IP-DMZ-SERVER -j ACCEPT nvram set and nvram commit wl0_macmode=allow wl0_maclist="MAC-ADDR-1 MAC-ADDR-2 ..." log_ipaddr=IP-LOG-SERVER /etc/dnsmasq.conf #read-ethers dhcp-host=MAC-ADDR-1,IP-1,infinite dhcp-host=MAC-ADDR-2,IP-2,infinite [...] /etc/hosts 127.0.0.1 localhost OpenWrt a.b.c.d smtp.lan smtp

Gfs Debian etch

Bisogna installare CLVM e modificare l’/etc/lvm/lvm.conf per attivare il locking del cluster. locking_library = "liblvm2clusterlock.so" locking_type = 2 library_dir = "/lib/lvm2" /etc/cluster/cluster.conf <?xml version="1.0"?> <cluster name="cluster1" config_version="4"> <cman two_node="1" expected_votes="1"/> <clusternodes> <clusternode name="nfs2" votes="1"> <fence> <method name="single"> <device name="manual" ipaddr="nfs2.nfsnet"/> </method> </fence> </clusternode> <clusternode name="nfs1" votes="1"> <fence> <method name="single"> <device name="manual" ipaddr="nfs1.nfsnet"/> </method> </fence> </clusternode> </clusternodes> <fencedevices> <fencedevice name="manual" agent="fence_manual"/> </fencedevices> <rm> <failoverdomains/> <resources/> </rm> </cluster> Xen usa w! per forzare l'accesso da + DomU poi

Read more...

Fedora 8 under Debian xen Etch

Since under Xen debian etch the is no rpm-strap for fedora > 4 I proceed in this way. Note:This is only a brief explanation, not an Howto nor a step-by-step guide. I’ve installed fedora 8 somewhere with less stuff as possible, manually editing packages and remove any package you can during installation. This reduce fed8 into (only!) 800M filesystem. For simplicity I’ve used qemu with -no-acpi option as a target system.

Read more...

MLRutil

MLR Utility Mlrutil is a program to interact with MLR GPS units sp24xc free flying written under gpl license. It is in an early (an maybe never grows up) stage, on which is possible to download a track into an ascii file suitable for use in other program such as: spread sheet (openoffice calc) or GPLIGC flying software. One major improvement could be saving tracks in GPX format! See the source in the github repository.

Read more...

Rails 1.2.6 under Debian Lenny in almost userspace

The problem start playing with rails is that most tutorial out there are based on rails 1.2.6 and doesn’t work in rails 2 which is now the standard in debian lenny. First install ruby and rubygem from debian packages. Then install rails 1.2.6 in a local writable directory (ex. /home/mygemstuff) gem install rails --version=1.2.6 --include-dependencies --install-dir /home/mygemstuff Then we have to make some adjustment to the op-system. As root we link /var/lib/gems/1.

Read more...
Previous Page 14 of 16 Next Page