Setting up Noip on plug computer

Ask questions about Arch Linux ARM. Please search before making a new topic.

Setting up Noip on plug computer

Postby forbajato » Tue Mar 20, 2012 9:14 pm

Greetings!

This is my first foray into ARM based Linux and I have to say Arch makes it very easy! Thanks to the community for enabling this.

I am trying to install the noip client (in repos but the service website is here: www.noip.com) on my (now Arch enabled) Pogoplug v2. I noted there is an Arm v5 package but when I try to install I get a 404 error from the mirror that is supposed to have the package. I am new to Arch so am not sure how best to proceed now. Any ideas are greatly appreciated.

tom
forbajato
 
Posts: 16
Joined: Tue Mar 20, 2012 8:58 pm

Re: Setting up Noip on plug computer

Postby WarheadsSE » Tue Mar 20, 2012 10:34 pm

pacman -Syy (this updates your listing)
pacman -S <package>
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Setting up Noip on plug computer

Postby forbajato » Tue Mar 20, 2012 11:02 pm

I had no idea the updating would have to be done so often! Just ran it yesterday and assumed everything would be OK. Thanks so much for the reminder that updating the repos is a frequent task.

tom
forbajato
 
Posts: 16
Joined: Tue Mar 20, 2012 8:58 pm

Re: Setting up Noip on plug computer

Postby forbajato » Mon Mar 26, 2012 8:17 pm

It is set up and running but it doesn't seem to be updating very promptly. When I moved the plug from my development network to the final network (where it will live) I resorted to updating the IP address manually via the NoIP website. One error I had made was to not have noip2 running at boot, solved that by putting the absolute path to the noip2 script in the /etc/rc.local file. Even after that it wasn't automatically updating the ip so I went to their website to manually update.

Still working on it!

tom
forbajato
 
Posts: 16
Joined: Tue Mar 20, 2012 8:58 pm

Re: Setting up Noip on plug computer

Postby forbajato » Mon Mar 26, 2012 11:52 pm

Interesting - with further work it seem like nothing is connecting correctly to the Internet. I can connect to the ssh and openvpn servers on the plug but it can't update the repositories (I get a "Could not resolve host" error). Also the ntpd server doesn't seem to be updating the time.

It seems like I have a systematic problem here but I am too ignorant to even know what to read about! Any suggestions are welcome.

tom
forbajato
 
Posts: 16
Joined: Tue Mar 20, 2012 8:58 pm

Re: Setting up Noip on plug computer

Postby WarheadsSE » Tue Mar 27, 2012 12:01 am

ping www.google.com

If that doesn't work, check /etc/resolv.conf
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Setting up Noip on plug computer

Postby forbajato » Tue Mar 27, 2012 1:16 am

I can't ping www.google.com but I can ping 8.8.8.8 (the Google DNS servers). The resolv.conf file has no DNS addresses in it. The other computers on the network use Open DNS servers as specified by the router. I figured the plug would do the same - is there something I need to do to the configuration to force it to use the router's DNS servers? Is it better to set up a DNS server on the plug?

tom
forbajato
 
Posts: 16
Joined: Tue Mar 20, 2012 8:58 pm

Re: Setting up Noip on plug computer

Postby forbajato » Tue Mar 27, 2012 10:26 am

After a little experimentation I discovered something - the plug was not using the network's dhcp (running on the router). I had configured it to have a static local ip outside the range of ip addresses that dhcp was managing. When I moved the plug back into the range of ip addresses the dhcp was managing everything worked again.

This presents another small problem. It is possible that at sometime in the future the plug will get a new local network ip address. When that happens the NAT forwarding will no longer be valid. Fear of this happening is why I put the plug on a static local ip address. Any suggestions on avoiding this problem?

tom
forbajato
 
Posts: 16
Joined: Tue Mar 20, 2012 8:58 pm

Re: Setting up Noip on plug computer

Postby WarheadsSE » Tue Mar 27, 2012 12:20 pm

Place a reservation, or assuming this is a non-Pro, set a static IP, but remember to set up DNS resolution correctly this time.

And no you don't need to set up a DNS server on the plug.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 5 guests