What is DNSMASQ?
A caching DNS forwarder. Dnsmasq is lightweight, easy to configure DNS forwarder designed to provide DNS (domain name) services to a small network where using BIND would be overkill. It can be have its upstream DNS servers automatically configured by PPP or DHCP and it can serve the names of local machines which are not in the global DNS. It can integrate with the ISC DHCP daemon to serve the names of local machines which are configured using DHCP. Dnsmasq is ideal for networks behind NAT routers and connected via modem, ISDN, ADSL, or cable-modem. Continue reading
Unfortunately a lot of devices don’t pass on RDNS information from radvd even though it’s included in the RFC. The best it can do is a default gateway and an IPv6 address. You are supposed to be able to pass RDNS information, but I’ve found that the devices that I’ve tried (Windows 7 and Android Gingerbread, still don’t support that part of the Request for Comment) hence the use of DHCPv6.
First thing you’ll need to do is register at the Hurricane Electric website and create your tunnel. I’m not going to go over that since there’s a lot of help on the Hurricane Electric Website about it. These instructions only apply to you after you’ve registered as a user and set up your tunnel on there website.
These instruction’s apply to Debian and Ubuntu derivatives, I’m sure they will work for other distributions with a little tweaking. Thanks to angelou on the Hurricane Electric web forum for doing most of the hard work. These instructions are mostly his work, with ufw firewall instructions are provided by me.
Before starting this howto, I would suggest that you get IPv6 working by following the instructions here. If you’ve followed all the instructions in the previous post, you should now have a linux workstation that allows you to view IPv6 websites.
If you want to extend this ability and enable all the workstations on your network to have the same ability then feel free to follow the instructions provided.
First things first, you need to register with Freenet6 who will be your IPv6 tunnel provider, the registration page is here. Take a note of your password and username, you will need this later. Continue reading
My current home workstation is running Ubuntu 10.04 LTS, but I’m sure you should be able to adapt the following to run on debian or other Ubuntu flavours.
This part only applied to setting up a single workstation, at some point, I’m going to set up my linux home server, to act at an IPv6 gateway for all the IPv6 enabled home devices.
First we have to install the IPv6 gateway client.
sudo apt-get install gw6c radvd
The default installation connects to Freenet automatically and anonymously so that should be it. Continue reading
I recently purchased a new phone, a Samsung S and I’ve been busily taking video clips as you do, only recently have I tried to stream them from my PS3 to my TV, only to find that the 3gp format isn’t supported under DNLA. After a little searching on-line, I’ve found out how to convert the file under linux, so I though I would share (as you do).
I’m having to make the assumption that you have ffmpeg installed, if not, then do so before following the instructions below.
Below show the info of the file that I’m converting.
The command line below seemed to work for me, thanks for linux.com for the more esoteric command line that worked best and produced the smallest file-size.
It’s always a good idea to make sure you get the aspect ratio correct “-aspect 3:2″ in my case, I would recommend reading the following.
ffmpeg -threads 2 -i video-2010-12-26-16-13-16.3gp -f avi -r 29.97 -vcodec libxvid -vtag XVID -s 720x480 -aspect 3:2 -maxrate 1800kb -b 1500kb -qmin 3 -qmax 5 -bufsize 4096 -mbd 2 -bf 2 -flags +4mv -trellis -aic -cmp 2 -subcmp 2 -g 300 -acodec libmp3lame -ar 48000 -ab 128kb -ac 2 video-2010-12-26-16-13-16.avi
Below are the details of the converted file.
Article on parallaxed.net
HowTo install and use the latest ffmgeg (Ubuntu Forum)
Converting Audio and Video file using ffmpeg
I eventually got round to installing SMART tools on my home Linux server, so now if one of the hard disks decides to start playing up or fails, I should get a nice little e-mail telling me there’s a problem. I’ve already set up e-mail on my server so I won’t go into how to set it up here, you can read all about it yourself on the Official Ubuntu Documentation pages.
First thing you need to do is install smarttools
sudo apt-get install smartmontools