Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: wezzy on May 27, 2006, 12:38:16 AM
-
I'm a complete beginner at this and just installed a SME server last night. It's running very smoothly. But now I've got to the point where I need some help to configure parts of it.
The biggest problem I got right now is that I want to use the server to update my IP-adress when my ISP gives me a new on. Right now this is done from my computer, which is not a very good idea, because then when my computer is turned off and the ISP change my IP my domain won't work.
I saw in the manual that SME can do this very easily when you run in Server - Router mode. But I just wanna run it in Server mode and still do this, how?
I'm running a router towards Internet, then I have my SME server and my other computers connected to that. And I don't wanna run the SME server instead of the router or before it.
-
I saw in the manual that SME can do this very easily when you run in Server - Router mode. But I just wanna run it in Server mode and still do this, how?
SME server doesn't know your IP address, or the fact that it has changed and something needs to be done about it.
And I don't wanna run the SME server instead of the router or before it.
Why not?
-
SME server doesn't know your IP address, or the fact that it has changed and something needs to be done about it.
That is kinda obvious. But I want to know how to fix it. I have a service that supports DNS, but I need some program (that is supposed to exist in the SME package, I think) that let the DNS service know when I changed IP. That is checking my currently IP-adress and send data to them when it's changed.
I don't wanna run my SME as router because of many reasons:
- I built it on a mini-ITX and I don't have place for another network card
- I'm soon moving out of here and they still wanna be able to surf the net without me and I don't wanna reconfigure again then.
there is more reasons, but you get my point, don't you?
Since I'm still kinda stuck in the world made by Bill Gates I don't know a lot of how solve this with the DNS.
-
You don't say which DNS forwarding servicing service you are using, if you did someone may be able to give you some clues how to get this sorted.
Indeed have you searched for the name of the dns forwarder in the forums? You may find your own answer.
Dave
-
Okay, my service is called Loopia (www.loopia.se) and is a Swedish service DNS.
But I want to reach this the built-in service without putting my server as router, which it won't do, because it doesn't have more than one network card. Basicly I could put one more in it, but not without removing the chassi.
-
SME server doesn't know your IP address, or the fact that it has changed and something needs to be done about it.
You're correct when you said this CharlieBrady and I didn't think very far, sorry. What I have on my windows computer right now is a small program that even though it's behind a router can check my IP. I think it uses a service provided by my Dynamic DNS service to check my IP-adress from outside. Like any website that shows you your IP-adress.
This was what I was hoping I could do with SME too. If not, I don't know what to do, because I can't have my computer on all the time.
Thanks for your help so far
-
You are looking for is something like ddclient (ddclient is for the DyndDns service).
Seems most people are using dyndns.org/com to provide dns forwarding but I'm sure if you do a bit of searching you will find the answer to your problem in the forums.
Someone may see your problem and point you directly at the answer.
Dave
-
I hope so...
I'm looking desperatly right now. I found cURL, but I don't know how to install it (or even if it's possible). Maybe someone can help me with that? As I said, I'm a complete beginner at this.
The adress if someone wanna help me out
http://curl.haxx.se
-
Well I've read up a bit of the program and how it should help me I'm not sure yet. I got this from my domain service:
curl -s --user 'username:password' "http://dns.loopia.se/XDynDNSServer/XDynDNS.php? hostname=yourdomain.se& myip="curl -s dns.loopia.se/checkip/checkip.php | sed 's/^.*: \([^<]*\).*$/\1/'
which they told me could be to great help. Well, I tried it in curl (finally figured out how to do that) and it only gives me "Bad Request"
If anyone has an idea, please...
-
Now you are getting somewhere.
I assume you changed the details in the infomation provided by your ISP for your correct details passwd etc?
What happens if you go to http://dns.loopia.se/XDynDNSServer/XDynDNS.php? and manually put in your username and passwd? Are you able to login?
Dave
-
Yes, I'm able to log in. I get the reply
notfqdn
...nothing more. I'm not sure what that means though, so it hasn't helped me yet.
I'm trying to figure out if there is something wrong with the argument I was given. What it says exactly when I'm using it, is in curl that is:
sed: -e expression #1, char 16: unterminated s' command
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
The request line contained invalid characters following the protocol string.<P>
<P>
<HR>
<ADDRESS>Apache/1.3.34 Server at adminkz.loopia.se Port 80</ADDRESS>
</BODY></HTML>
-
You might find that your existing router supports DynDNS update. That would really make it simple.
Yes, I'm able to log in. I get the reply Quote:
notfqdn
...nothing more. I'm not sure what that means though, so it hasn't helped me yet.
This would suggest that perhaps you have not logged in.
The notfqdn bit suggest it wants a fully qualified domain name and you are not providing that. Maybe you are logging in as "wezzy" when it wants "wezzy@yourdomain.com.se" or something similiar
-
You think so?
Because when I tried to log in with wrong username I got "badauth". Which is quite obvious what it means. I would think it's just that it doesn't get all the information it wants. But that's just my thought.
My router supports DynDNS, but only from www.DynDNS.org and that really sucks, since I have bought a domain at www.loopia.se
I'm very thankful for all the help and I will try and turn to loopia too tomorrow when it's weekday again. I really want to get this to work.
-
If your router supports DynDNS.org it supports Loopia too.
-
Thank you, maybe you're right. I managed to solve it anyway. My script had a space that shouldn't be there and now it's working perfectly.
If someone needs help with this I can write all the steps down...
-
I hope I'm right at least. ;-)
I have a D-Link DI-624+ router. I used these settings:
DDNS: Enabled
Server Adress: http://dns.loopia.se/XDynDNSServer/XDynDNS.php
Host name: mydomain.se,myotherdomain.se
Username: mylogin
Password: mypassword
All according to the info I found in the Loopia manual pages. It's worked so far but I actually don't know if my IP has changed since I set it. It doesn't change very often.