LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-17-2006, 09:29 AM   #1
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Rep: Reputation: 31
NO-IP in my LAN


i got a small network. the LAN consists of some computers that have static internal IP. all connect to a dsl modem/router that sees the internet through a dynamic dsl line. i would like to offer some services, from pc 192.168.1.66, like:
-ftp
-vnc
i heard for NO-IP but i do not see anywhere clients for linux. does anyone got any ideas on how to make that? it is not a matter of speed and performance due to the dsl line. as long as it works it will be ok.
 
Old 07-17-2006, 09:45 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I have never used the service, there is a linux client on their site. Here is the link:

http://www.no-ip.com/downloads.php?page=linux

At one point I set up port forwarding on my router. I had access to one internal ip address, ( my linux box ) and ran ssh over that link.

If you try this code, post back the results.
 
Old 07-17-2006, 09:48 AM   #3
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Original Poster
Rep: Reputation: 31
ok i agree to what u said above, but how do i find my IP? as i said it is dynamic
 
Old 07-17-2006, 09:56 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Several methods to find your IP, here are a couple.
From whatsmyip.com
The configuration page of your router
 
Old 07-17-2006, 09:58 AM   #5
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Original Poster
Rep: Reputation: 31
ok i agree. but that means that i have to check everytime my IP. it is not convenient and the bottom line is what's the point? i want to set it up once for all.
 
Old 07-17-2006, 10:01 AM   #6
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Another method, with the benefit of checking your online security
http://www.grc.com by Steve Gibson, internet security guru. Click to the Shields Up page and let it check your firewall. You'll be notified with the IP you have
 
Old 07-17-2006, 10:08 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
The whole point of running the Dynamic DNS Client on your machine is so your machine can update your Internet IP address automatically to the NO-IP DNS servers. You really don't need to know what your internet IP is because the Dynamic DNS client takes care of that for you....
 
Old 07-19-2006, 06:45 PM   #8
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
ddclient is an excellent alternative to that dynamic dns client.

Edit: unless it's the same one. Didn't really check.

Last edited by ErrorBound; 07-19-2006 at 06:46 PM.
 
Old 07-20-2006, 01:37 AM   #9
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Original Poster
Rep: Reputation: 31
could you be so kind and say a few things more for ddclient?
 
Old 07-20-2006, 08:16 AM   #10
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
ddclient serves the same purpose as the other client that is mentioned somewhere. It runs as a daemon, and connects to your account at NO-IP or whatever (I use DynDNS) every once in a while to update your account as your IP changes. It seems to work really well. A good feature is it's ability to get your IP from an external server (web-update option, I think), which is needed if you are behind a router. Otherwise the client will report your LAN IP (192.168.1.66) instead of your WAN IP.

http://ddclient.sourceforge.net/
 
Old 07-20-2006, 10:25 AM   #11
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Code:
# apt-get install ddclient
and answer the configuration questions.
 
Old 07-21-2006, 06:07 AM   #12
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Original Poster
Rep: Reputation: 31
ok i got my system setup and i can serve some web pages from my machine. now comes another issue. is there any way to take control of the machine through ssh for example? if yes, how?
 
Old 07-21-2006, 06:44 AM   #13
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Off course you can use SSH to control the Apache config, but a far better way is using Webmin. It uses SSH, but still you have a web-based config tool. Debian has Webmin packages, but installing from source gives you the latest: http://www.webmin.com
 
Old 07-21-2006, 06:46 AM   #14
binary_dreamer
Member
 
Registered: Feb 2006
Distribution: debian squeeze
Posts: 199

Original Poster
Rep: Reputation: 31
actually i am talking to control the system and not the apache itself. could you tell me how to set it up to use shh with ddclient?
 
Old 07-21-2006, 06:52 AM   #15
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Webmin gives you the option to execute cli commands via it's webinterface. Using ddclient it doesn't matter what IP the machine has, Webmin is basicly a webpage, served by the same Apache-server you use for serving your pages to the world. So you enter the 'fixed' IP adress given to you by ddclient, add the portnumber (default: 10000) and log in
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 01:14 PM
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 10:19 PM
Routing LAN -> WAN -> LAN with unhelpful router synx13 Linux - Networking 2 06-14-2004 02:35 PM
LAN interface on Gateway stops being able to send info to LAN intermittantly. BurnFEST Debian 2 11-01-2003 03:16 AM
Crystal LAN CS8920 LAN Driver for Red Hat 8.0 potlamurali Linux - Networking 3 02-07-2003 12:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration