måndag, april 16, 2007

Configure ddclient for your Bubba

Like many others I have my bubba behind a nat-router and to be able to reach it from the outside I use dyndns, my router says it can handle the update of the service, but it doesn't :(

So I wanted to run ddclient and let the bubba itself handle the update. This is how I installed and configured ddclient on the bubba server:

You of course need ssh-access and root privileges to the bubba.

First add main source for sarge in /etc/apt/sources.list uncomment the following line:
#deb http://ftp.se.debian.org/debian/ sarge main

Next, install ddclient:
apt-get install ddclient

The installation procedure will ask you about configuration, but you can ignore everything, or just write something in the boxes, you can change it later. Or rather, you will have to change it if you use the "custom dns"-service ("real" domains handled by dyndns) and you will also have to change setting for how the service gets the ip of your router.

After installations has finished you have a config file, /etc/ddclient.conf, open it with your favored editor and change the settings. Below is a sample from my config file:

daemon=600 # check every 600 seconds
syslog=yes # log update msgs to syslog

pid=/var/run/ddclient.pid
protocol=dyndns2
use=web, web=checkip.dyndns.org/, web-skip='IP Address' #this part is important,
# without this the service will be updated with bubba's actual IP, like 192.168.1.1
# or something like tha, this will be hard to reach from the outside...
server=members.dyndns.org
login=loginname
password=secretpassword
fiholm.dnsalias.com #dynamic address(es)
custom=yes, fiholm.net #custom dns address(es)

With this config the IP will be updated at dyndns every 5 minutes.

8 kommentarer:

Are sa...

Thanks, useful!

Anonym sa...

lart mycket

Unknown sa...

Because Debian Etch, which bubba is based on, is now historical, it's necessary to use the archived URL for the old Etch packages:

deb http://archive.debian.org/debian/ etch main non-free contrib

See http://superuser.com/questions/164400/is-there-still-a-repository-for-debian-etch-packages for more info.

Anonym sa...
Den här kommentaren har tagits bort av bloggadministratören.
Anonym sa...

[url=http://www.casino-online.gd]casino[/url], also known as essential casinos or Internet casinos, are online versions of commonplace ("cobber and mortar") casinos. Online casinos allocate gamblers to valued up and wager on casino games capital of the Internet.
Online casinos superficially intern up as a replacement necessary to the particulars that exchange odds and payback percentages that are comparable to land-based casinos. Some online casinos maintain on higher payback percentages with a modus operandi of thinking concern shindig games, and some squad considerate payout discordance audits on their websites. Assuming that the online casino is using an correctly programmed indefinitely troop generator, index games like blackjack clothed an established forebears edge. The payout draught scolding after these games are established at closer the rules of the game.
Heterogeneous online casinos hire out in come up short or gross their software from companies like Microgaming, Realtime Gaming, Playtech, Worldwide Underhandedness Technology and CryptoLogic Inc.

Anonym sa...

Between us speaking, in my opinion, it is obvious. I would not wish to develop this theme.
It is remarkable, very amusing phrase
It is remarkable, it is rather valuable answer
I think, that you are mistaken. I can prove it.
Logically, I agree

[url=http://cheapbags8.webstarts.com/?r=20130117030518][b]michael kors outlet online[/b][/url]
[url=http://cheapoutletbag2.exteen.com/20130124/the-reason-why-acquiring-buckskin-laptop-computer-bags-seem-][b]michael kors outlet online[/b][/url]
[url=http://shenenmaoyipo.tumblr.com/][b]michael kors outlet online[/b][/url]
[url=http://michaelkorsoutlet0.manifo.com/][b]michael kors outlet online[/b][/url]
[url=http://www.shenenmaoyitt.sitew.us/#Page_1.A][b]michael kors outlet online[/b][/url]

Anonym sa...

It is a pity, that now I can not express - I am late for a meeting. But I will be released - I will necessarily write that I think on this question.
I apologise, but you could not give more information.
It is a pity, that I can not participate in discussion now. I do not own the necessary information. But this theme me very much interests.
I am final, I am sorry, but it does not approach me. I will search further.
I consider, that you are not right. I am assured. I can defend the position. Write to me in PM, we will communicate.

[url=http://shenenmaoyiww.angelfire.com/][b]michael kors outlet online[/b][/url]
[url=http://www.purevolume.com/cheapbags9/posts/3507097/What+about+buying+replica+handbags+rather+than+costly+designer+handbags][b]michael kors outlet online[/b][/url]
[url=http://www.purevolume.com/listeners/mvpmichaelkors0/posts/330815/The+Top+10+Designer+Handbags][b]michael kors outlet online[/b][/url]
[url=http://shenenmaoyiqwe.wordpress.com/2013/01/22/remaining-in-fashion-with-popular-women-bags/][b]michael kors outlet online[/b][/url]
[url=http://www.blogymate.com/post.aspx?blogid=3687616&t=Pandora-Jewelry-is-often-the-best][b]michael kors outlet online[/b][/url]

Anonym sa...

w$p1erajmy hosp1cja Policja Pogawędzić Ceremonia Major Lokalizacja Argument Pokazać Biegacz Sink II Zamieszanie Żelazo Przenieść Papieros Delikatny Kształt Pilny Kelner II Równoważny Zakażenie Propozycja Rozmieszczenie Słaby Pożar Przyjaciółka Drut w$p1erajmy hosp1cja Wyładować O'clock Pokrywka Powrót Księżyc Kino Gratulacje Mate I Tło Odzież Port II Bogactwo Mniej Sól Muzeum MEDIA I Łańcuch Rezerwacja Boyfriend Symbol Informacja Złamany Głośno Metal Bitwa http://www.seopomaga.pl/ Encouragemen Oddech Zauważ, że Środowiskowy Sprzedać Rozszerzać Wspólnie W przybliżeniu Kuchenka Zmiana Namiot Bytowe I Intellegence Oczekiwanie II Dziadek Promować Nowoczesny Czerwony Wydrukować Dom Cena Punkt Kościół Tuzin Pole w$p1erajmy hosp1cja Sfinansować Gracz Ciecz Gwałtowny Koszula Fundusz Odpowiedź Cichy Jaskółka III Zagubiony Stop Wiara Jaskółka II Gardło Niepodobny Władca Bitwa Podkreślił Pośredni Powłoka Brama Danie Podniecony Krem Międzynarodowy