DD-WRT

Webcam streaming with ffmpeg

I’m a bit of a stressed person, and when I’m not home, I like to have a webcam streaming what’s going on, mainly to see how my dog is doing. At my main house, I use the fabulous motion project, which has a ton of cool features like recording images and videos when there’s movement, playing a sound, handling many cameras and so on. As I said before, I acquired an apartment destined for rental, and it has really poor Internet access, as it is located on the mountainside, only weak ADSL was possible to get.

date over HTTP

I always manage to get myself into weird issues… I have this (pretty old) wrt54g router that works well with dd-wrt v3.0-r34311 vpn release. This router is installed in an apartment intended for rental where I happen to crash every now and then. It connects to an OpenVPN hub of mine so I can monit it and be sure guests renting the apartment have working Internet access. The apartment is located on a small mountain and electricity is not exactly stable, from times to times power goes down and comes back up.

désillusion

En cherchant de l’info sur l’art et la manière de compiler des applications ou la modification du noyau d’un DD-WRT, je suis tombé là dessus. Deg. Retour à Kamikaze quoi.

hé, dédé, ça va ? hé, ça va ? hé...

Ça faisait un petit moment que j’avais envie de monitorer proprement mes divers routeurs wireless. J’aimerais, par exemple, avoir une vue constante sur son load average, le traffic sortant et entrant. Une application evidente pour ce genre d’informations, c’est evidemment Net-SNMP. Par chance, un package de ce dernier est disponible pour Kamikaze / Atheros, et est parfaitement fonctionnel sous DD-WRT. Un simple ipkg install nous permet d’ajouter cette fonctionnalité au firmware.

DD-WRT, mea culpa

Il y a quelques mois, je bavais comme un vilain sur DD-WRT, pas content de devoir manipuler des variables en nvram pour sauvegarder des status. Dans la réorg de mon LAN (voir y’a 2 posts), DD-WRT est le routeur / client freebox. Car en fait, si effectivement l’organisation du firmware est trop chaotique à mon gout, il bénéficie en contre partie d’un nombre de features non négligeable, mais aussi et surtout, de très nombreuses documentations, dont un très bon wiki muni en bonus d’une excellente section Fonera.

OpenVPN, DD-WRT et Fonera

J’ai refait mon LAN. Dans les grandes lignes, une Fonera flashée en DD-WRT bridge la connexion au net via une freebox. Le wrt est le routeur du LAN, il est connecté à un bete switch sur lequel est branché une Fonera “legacy”, qui me fournit l’acces WiFi de manière classique via son SSID “MyPlace”. Jusque là, rien de particulier. Mais dans ce petit réseau, j’ai également des téléphones SIP dont un white, WiFi donc.