Category Archives: Linux

FreeBSD: virtualized acestream


Linux binary sopcast runs smoothly in FreeBSD but nowadays acestream transmissions are much more common. And there’s no binary acestream for FreeBSD. I have been unsuccessful in trying to run linux binary acestream in FreeBSD. The only way to get … Continue reading

Posted in FreeBSD, Linux | Leave a comment

Linux: share 3g connection with the internal network


It’s very easy to share an internet connection with iptables and NAT+IP Forward+IP Masquerade. But in my case I needed to share the 3G connection via wifi, and my computer’s nic is not able to work in ad-hoc mode. So … Continue reading

Posted in Linux | Leave a comment

Linux: 3G connection with wvdial


Simply configuration file for a Vodafone 3G connection with a Huawei modem: /etc/wvdial.conf [Dialer 3g] Phone = *99***1# Username = vodafone Password = vodafone Stupid Mode = 1 Dial Command = ATDT Modem = /dev/ttyUSB0 Baud = 460800 Init2 = … Continue reading

Posted in Linux | 1 Comment

Linux: DHCP server


An example of a DHCP server in my R61: /etc/dhcp/dhcpd.conf: # Add lines like below# specify domain nameoption domain-name      “sixone.world”; # specify DNS’s hostname or IP addressoption domain-name-servers      208.67.222.222, 208.67.220.220; # default lease timedefault-lease-time 600; # max lease timemax-lease-time 7200; … Continue reading

Posted in Linux | 1 Comment

Linux: a home firewall


A simple home firewall extracted from this web (in spanish) adapted to my needs: /etc/firewall.sh #!/bin/bash #Source: http://www.ubuntu-es.org/node/422#.UTuvqFFVEy4 IPTABLES=`which iptables` #-s to specify a source address #-d to specify a destination address #-p to specifiy a protocol #-i to specify … Continue reading

Posted in Linux | 1 Comment