You are not logged in.

#1 2010-03-06 17:57:13

olovram
Member
Registered: 2008-10-10
Posts: 110

SSH/no-ip

Im pretty lost, actually.

I have got my laptop and a desktop pc on my local network, and I have installed sshd on the laptop. Already check it is working from my desktop pc. But Im lost, I dont know what to do.
I connect to the internet through a thomson tg585v7

please help :c

Offline

#2 2010-03-06 18:15:08

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: SSH/no-ip

olovram wrote:

Im pretty lost, actually.

I have got my laptop and a desktop pc on my local network, and I have installed sshd on the laptop. Already check it is working from my desktop pc. But Im lost, I dont know what to do.
I connect to the internet through a thomson tg585v7

please help :c

http://maps.google.com/maps?hl=en&tab=wl

this should get you where you need to go smile


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#3 2010-03-06 20:12:58

olovram
Member
Registered: 2008-10-10
Posts: 110

Re: SSH/no-ip

Not funny.

Offline

#4 2010-03-06 20:16:25

olovram
Member
Registered: 2008-10-10
Posts: 110

Re: SSH/no-ip

Well, maybe a little.

Offline

#5 2010-03-06 21:28:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: SSH/no-ip

You haven't actually said what you want to do... yikes

but I'm going to assume that you want to ssh in to your laptop from somewhere outside your lan i.e. over the internet. You've already mentioned no-ip, so I'm going to also assume that you have that set up. Next bit depends on your router, and I know nothing about that particular model btw, but the general idea is that you forward a port from the internet side to the lan side - specifically, to the laptop's ip address and the port that sshd is running on.

If my assumptions are wrong, then you need to provide the kind of details about your issue that you should have posted in the first place.

Offline

#6 2010-03-07 07:15:33

olovram
Member
Registered: 2008-10-10
Posts: 110

Re: SSH/no-ip

Sorry, kinda bad for explaining.
Indeed, that is what I want to do. But my router doesnt allow for static ip adresses to wireless devices,
so I dont know how to do it.

Offline

#7 2010-03-07 08:28:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: SSH/no-ip

Every time your laptop gets a new dhcp-assigned address, you will need to change the port forward configuration.


Or maybe you could get a better router. smile

Offline

#8 2010-03-07 16:56:43

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: SSH/no-ip

http://www.boutell.com/newfaq/creating/hostmyown.html

It's for webhosting, but the same rules apply for ssh.

As for your router, I've never heard of a router that can't do static ips, what's your router brand and model?


Personally, I'd rather be back in Hobbiton.

Offline

#9 2010-03-07 17:06:04

olovram
Member
Registered: 2008-10-10
Posts: 110

Re: SSH/no-ip

I mean, it CAN, but it will only allow it for ethernet devices.

I currently checking its manpage,the model is thomson tg585v7

Offline

#10 2010-03-07 21:18:52

olovram
Member
Registered: 2008-10-10
Posts: 110

Re: SSH/no-ip

bump

Offline

#11 2010-03-07 21:33:55

JHeaton
Member
From: United Kingdom
Registered: 2009-05-16
Posts: 158

Re: SSH/no-ip

Does your router support dynamic DNS? Mine does, so I signed up here and put all the relevant details in to the router. It updates regularly, meaning I can connect via SSH using a domain name instead (it will be along the lines of yourchoice.dynalias.org) and that works a treat. It could be something to look in to and would be handy if your router supported it. The service I use is found at www.dyndns.com and it's not actually necessary that your router supports it (although it is better, I've found) as they have a number of update clients you can use, which can be found here: http://www.dyndns.com/support/clients/.

Offline

#12 2010-03-07 23:49:39

Kaeso
Member
From: l'empire acadien
Registered: 2007-06-24
Posts: 28

Re: SSH/no-ip

My router doesn't do internal static IP either, but it won't change the IP it assigns to a machine without a restart.  For instance, if I restart the router and then start my SSH server, the server will be assigned an IP which won't change so long as the router keeps running.  This assumes that the server isn't offline long enough for its IP lease to expire, but I do have control over the length of IP leases.  Is your router similar?  The router treats wireless devices in the same way, although that doesn't matter since the only ports which the router has to forward are for the server.

EDIT: Actually, the router does do static IP.  What I meant was that it doesn't do static DHCP.

Last edited by Kaeso (2010-03-08 02:30:31)


"Je suis venu au monde très jeune dans un temps très vieux."  --Erik Satie

Offline

#13 2010-03-08 00:56:16

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: SSH/no-ip

I have never, ever, never heard of a router that doesn't support static ips. Maybe it can't lease static dhcp, but it can most defiantly do static ips.


Website - Blog - arch-home
Arch User since March 2005

Offline

#14 2010-03-08 01:37:27

olovram
Member
Registered: 2008-10-10
Posts: 110

Re: SSH/no-ip

pyther wrote:

I have never, ever, never heard of a router that doesn't support static ips. Maybe it can't lease static dhcp, but it can most defiantly do static ips.

I already said, it does support them, it just doesnt allow them for wireless devices, explicitly.

Offline

#15 2010-03-08 09:42:14

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: SSH/no-ip

Just set and configure a static IP. Simple - the router doesn't need to know nor have any fancy config. If you want to know _what_ to set, have a look at the gateway (route), netmask, and IP it issues via DHCP, then just change the IP to what you'd prefer.

The one catch is if the router tries to assign that ip via DHCP, but there's a few ways to avoid that.
- If it issues IPs sequentially, pick a higher ip.
- Configure where it starts assigning IPs, mine issues them from 192.168.1.100-254, leaving the sub 100 range for me.
- You can reserve IPs for wired devices, how about reserving that IP for a device that doesn't exist or that will never connect.

edit: I presume this is your network, probably bad manners to go around using static IP on others networks.
edit2: works on my WRT54GL

Last edited by iphitus (2010-03-08 09:42:48)

Offline

#16 2010-03-09 06:55:09

olovram
Member
Registered: 2008-10-10
Posts: 110

Re: SSH/no-ip

thank you
indeed, it is my own network c:

Offline

Board footer

Powered by FluxBB