[opensuse] Remote installation, how to find out public dynamic IP
Hi Listmates, I'd like to perform an ssh-based network installation on a remote machine using OpenSUSE net install CD. The remote machine is behind a DSL-router that gets dynamic public IP address from the internet provider. My problem is that I cannot connect to it from my local machine without knowing the public IP address of the router because the remote machine has a private IP address. Is it possible to find out the public IP address of the DSL router on the other side after starting the installation program from the CD? Thanks, Paul -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 06/03/10 10:57, Paul Korossy wrote:
Hi Listmates,
I'd like to perform an ssh-based network installation on a remote machine using OpenSUSE net install CD. The remote machine is behind a DSL-router that gets dynamic public IP address from the internet provider. My problem is that I cannot connect to it from my local machine without knowing the public IP address of the router because the remote machine has a private IP address. Is it possible to find out the public IP address of the DSL router on the other side after starting the installation program from the CD? Thanks,
Paul
Some ideas I had, usefulness not guaranteed ... Does the router in front of the remote machine have a Dynamic DNS service function - where it automatically sends its current public ip (to dyndns.org or similar)? I know many modern Linksys / Netgear ones have this, dunno about other brands. An alternative is to have a working machine behind the router that sends an email to you with the current public IP. There are scripts that can fetch your public IP. But if the only machine behind the router is just having the OS installed, maybe this isn't an option ... but maybe the router has an option to email logs? Regards, Tejas -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 March 2010 12:11:54 Tejas Guruswamy wrote:
Some ideas I had, usefulness not guaranteed ...
Does the router in front of the remote machine have a Dynamic DNS service function - where it automatically sends its current public ip (to dyndns.org or similar)? I know many modern Linksys / Netgear ones have this, dunno about other brands.
Yes, it might have this function but the owner is an average windows user who can help basic things but probably cannot do any router configuration. That machine is over 1000km from here and I haven't access to the router either.
An alternative is to have a working machine behind the router that sends an email to you with the current public IP. There are scripts that can fetch your public IP. But if the only machine behind the router is just having the OS installed, maybe this isn't an option ... but maybe the router has an option to email logs?
It's a good idea, I've found a script using wget and I'll try it, as far as I remember the net install program has some console environment too. Thanks, Paul -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Paul Korossy wrote:
Hi Listmates,
I'd like to perform an ssh-based network installation on a remote machine using OpenSUSE net install CD. The remote machine is behind a DSL-router that gets dynamic public IP address from the internet provider. My problem is that I cannot connect to it from my local machine without knowing the public IP address of the router because the remote machine has a private IP address.
Whether or not you know the public address, you will also need to set up port forwarding on the router (i.e. forward port 22 to your remote machine.)
Is it possible to find out the public IP address of the DSL router on the other side after starting the installation program from the CD?
The router probably supports that - maybe via telnet or a web-browser. /Per -- Per Jessen, Zürich (-0.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 March 2010 12:12:02 Per Jessen wrote:
My problem is that I cannot connect to it from my local machine without knowing the public IP address of the router because the remote machine has a private IP address.
Whether or not you know the public address, you will also need to set up port forwarding on the router (i.e. forward port 22 to your remote machine.)
Yes, it has already been configured for a while.
Is it possible to find out the public IP address of the DSL router on the other side after starting the installation program from the CD?
The router probably supports that - maybe via telnet or a web-browser.
Yes, the router may support it, but the net installer doesn't contain any graphic browser to login to the router. One solution could be to use a LiveCD but in this case the owner who has never used any Linux environment needs to do a lot of configuration (to enable vnc in yast and config krfb) which could be very complicated for him. The net install would be more simple because in this case one needs to create only two grub options to enable remote installation via ssh and then to find out and forward public IP of the router to me. Thanks, Paul -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Paul Korossy wrote:
On Saturday 06 March 2010 12:12:02 Per Jessen wrote:
My problem is that I cannot connect to it from my local machine without knowing the public IP address of the router because the remote machine has a private IP address.
Whether or not you know the public address, you will also need to set up port forwarding on the router (i.e. forward port 22 to your remote machine.)
Yes, it has already been configured for a while.
Is it possible to find out the public IP address of the DSL router on the other side after starting the installation program from the CD?
The router probably supports that - maybe via telnet or a web-browser.
Yes, the router may support it, but the net installer doesn't contain any graphic browser to login to the router.
telnet then? (I don't know if the install system has a telnet though). /Per -- Per Jessen, Zürich (2.3°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 06/03/10 10:48, Paul Korossy wrote:
Yes, the router may support it, but the net installer doesn't contain any graphic browser to login to the router.
No need for it: use wget, w3m or curl to retrive this webpage. http://www.whatismyip.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 06 March 2010 15:35:44 Cristian Rodríguez wrote:
use wget, w3m or curl to retrive this webpage. http://www.whatismyip.org
Works fine, thanks. Paul -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Samstag, 6. März 2010 11:57:22 wrote Paul Korossy:
Hi Listmates,
I'd like to perform an ssh-based network installation on a remote machine using OpenSUSE net install CD. The remote machine is behind a DSL-router that gets dynamic public IP address from the internet provider. My problem is that I cannot connect to it from my local machine without knowing the public IP address of the router because the remote machine has a private IP address. Is it possible to find out the public IP address of the DSL router on the other side after starting the installation program from the CD? Thanks,
Paul You can also use a KDE4 Widget called "Adress Monitor". That i'm using without any trouble...
-- Sincerely yours Sascha Manns openSUSE Community & Support Agent openSUSE Marketing Team Blog: http://saigkill.wordpress.com Web: http://www.open-slx.de (openSUSE Box Support German) Web: http://www.open-slx.com (openSUSE Box Support English) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Paul Korossy wrote:
Hi Listmates,
I'd like to perform an ssh-based network installation on a remote machine using OpenSUSE net install CD. The remote machine is behind a DSL-router that gets dynamic public IP address from the internet provider. My problem is that I cannot connect to it from my local machine without knowing the public IP address of the router because the remote machine has a private IP address. Is it possible to find out the public IP address of the DSL router on the other side after starting the installation program from the CD? Thanks,
Paul
That depends. My home system uses dhcp from my ISP, but the address changes so seldom it's virtually static. Does that computer have a consistent host name? If so, you could use that. You could have the router configured to use something like DynDNS to give it a host name. Or, you could have an email app on that computer configured to send a reply to a specific trigger message. That reply will contain the address assigned by the ISP to that computer. You'll also have to configure the router to pass ssh to that computer. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Cristian Rodríguez
-
James Knott
-
Paul Korossy
-
Per Jessen
-
Sascha 'saigkill' Manns
-
Tejas Guruswamy