Author Topic: pclos to XP pro over internet using rdesktop [solved]  (Read 975 times)

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
pclos to XP pro over internet using rdesktop [solved]
« on: July 27, 2010, 04:12:31 PM »
 
I am kerfuddled, and google is no longer a friend, as I wore him out.

Project:

Running remote astronomy imaging camera with pclinuxos over internet.

Because of issues running the imaging software in Linux, it is running on XP pro for now. (Later I'll get the observatory imaging running on PCLOS using wine or virtualbox).

Over my local LAN, there is no problem running the remote xp computer either with either another XP machine, or PCLinuxOS with rdesktop.

I can pick a random laptop with PCLinuxOS, even WIFI, open a terminal, usually Yakuake, type rdesktop 192.168.1.107 -f and get a perfect full screen of the XP machine on the Linux laptop or box within seconds.
Operating the camera, telescope controls, all perfect as though I was at the XP machine.

Same perfection using a XP home machine to call the remote.
--
The above works on the local LAN side of my wifi router connected to cable modem.
--
Now I try to connect to the XP computer on its own DSL line.

Everyone says simply: rdesktop to the isp address of the remote machine.

If I try whatismyisp.com or several other methods, I get for example, 12.13.123.124, or the longer version: pool-12-13-123-124.ptldme.east.myfairpoint.net.

I try rdesktop -f 12.13.123.124, and combinations of all the above, and it does not compute.

Same if I try xp to xp machines.

The PCLinuxOS machine is still on the same router and cable modem as described in the beginning.

The XP machine is now on the Fairpoint DSL, with no router for now.

In some past checks, I saw that port 3389 was being used by xp.

What am I doing wrong? Please no alternatives like use ssh etc, I want this question answered.



Thanks












« Last Edit: August 01, 2010, 05:47:49 AM by nerdful1 »
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3996
Re: pclos to XP pro over internet using rdesktop
« Reply #1 on: July 28, 2010, 04:12:53 AM »
The Wi-Fi router or the cable modem probably contains a firewall which is not forwarding the port, or the ISP might be blocking it, but that's less likely.

You need to consult the instructions for these devices to find out how to configure them to forward the data.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #2 on: July 28, 2010, 04:58:26 AM »
Then why does it work in the other cases?

As far as I know it was using port 3389 in the local instances.

Thanks.
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #3 on: July 28, 2010, 05:21:35 AM »
FYI

It is a Linksys/cisco WRT54GL unmodified router.

Under 'applications and gaming' I have port 3389 enabled.

Not worried about security at this time, just want proof of performance.

I bought this particular router for future hacking, wnat to try thr Tomato stuff some day but at this point it just has the latest factory firmware.

Thanks
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3996
Re: pclos to XP pro over internet using rdesktop
« Reply #4 on: July 28, 2010, 08:47:20 AM »
Perhaps you need to explain the network better. You have a LAN which connects to the Internet through a cable modem, and the XP computer has a separate direct connection to the net? (check the Windows Firewall settings)

or you are trying to connect the XP computer to the net through the LAN and the cable modem? (check the router and modem settings)
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #5 on: July 28, 2010, 11:10:55 AM »
"The PCLinuxOS machine is still on the same router and cable modem as described in the beginning.

The XP machine is now on the Fairpoint DSL, with no router for now."

What I meant by the above is the PCLinuxOS computer is on the Linksys/cisco WRT54GL unmodified router connected to a cable modem.

The XP machine is on a Fairpoint/verizon DSL modem with no router.

I am trying to use rdesktop which is on the PCLinuxOS machine and connected to the cable modem through the above router to operate  the XP machine by remote desktop, the XP machine being on the Fairpoint/Verizon modem on a phone line with DSL without a router:


PCLinuxOS computer running rdesktop===>Router===>Cable Modem===>Cable broadband service_______Internet_______DSL broadband service===>DSL Modem===>computer running XP pro.

Thanks

Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3996
Re: pclos to XP pro over internet using rdesktop
« Reply #6 on: July 28, 2010, 11:35:29 AM »
And the network that works? The problem must be in the difference between them and will either be port blocking, a firewall, or misconfigured packet forwarding.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline TheGhost

  • Sr. Member
  • ****
  • Posts: 435
  • Boo!
Re: pclos to XP pro over internet using rdesktop
« Reply #7 on: July 28, 2010, 06:20:18 PM »
You seem proficient enough to know how to do the networking, so this is probably a dumb question, but: Is port forwarding configured in the router to direct your rdesktop request to the relevant computer?

If you try to access the computer using the router's WAN IP, you'll only get an answer from the router. You need to configure the router to direct the connection incoming over WAN to your computer.

Sorry if this is too obvious, but - I've been there - sometimes we overlook the simple stuff looking for the complex stuff.
I was once a sinner, but I have seen the light. Linux saved me!

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #8 on: July 28, 2010, 06:42:04 PM »
Any answer is welcome, and I expect something really stupid on my part.

This router I bought to someday hack and play with firmware from Tomato and the like, but not right now.

It really has a sparse menu, can't reboot unless I crawl under to unplug, etc.

The only port stuff is under games and apps, udp/tp enable, and address of computers, which I checked again under your advice.

Nothing about transmit receive port settings.

Next step is to remove the router and run bareback to the cable modem. XP winders firewall is on, and the 2010 computer should be safe.

If that works, I may dig up an old wep only router I retired. I leave it open anyway.

And if that one works, maybe I'll try the firmware hacks in the wrt54gl.

Any further stupid answers welcome, making a checklist to be sure to not miss anything.

Thanks!
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #9 on: July 29, 2010, 09:19:00 PM »
Tried with no routers this time, no help.

2010 computer connected directly to cable modem, firewall off.

XP connected directly to DSL modem, configured to accept remote connections.

Still get 'unable to connect' error with rdesktop.
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline davexnet

  • Full Member
  • ***
  • Posts: 128
Re: pclos to XP pro over internet using rdesktop
« Reply #10 on: July 29, 2010, 10:10:37 PM »
From within XP, you can open a CMD box and type ipconfig to get/confirm the IP address.
Can you ping that address from the PCLOS box ?
AMD64 x2 4200; 2 GB Ram; EVGA 8600GT; Biostar Geforce6100 M9 MB

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #11 on: July 30, 2010, 06:08:12 AM »
I was using whatismyisp.com, dslreports, or grc.com shields up to find the current address.

In each case that is what I confirmed first, as the dsl changes. the cable isp remains static.

I will use ipconfig too, just to be sure.

Thanks
« Last Edit: July 30, 2010, 06:15:01 AM by nerdful1 »
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #12 on: July 30, 2010, 08:42:08 AM »
So I'm still not getting anywhere.

Can I set up yet another computer and do packet sniffing or some traffic watching thing to see what these machines are sending to each other?

I'm not familiar with what we have in the repo to do this the best way.

Thanks
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: pclos to XP pro over internet using rdesktop
« Reply #13 on: July 30, 2010, 12:50:32 PM »
Did you try davexnet's suggestion?
From within XP, you can open a CMD box and type ipconfig to get/confirm the IP address.
Can you ping that address from the PCLOS box ?

There could be a firewall in the modem itself...
"The PCLinuxOS machine is still on the same router and cable modem as described in the beginning.

The XP machine is now on the Fairpoint DSL, with no router for now."

What I meant by the above is the PCLinuxOS computer is on the Linksys/cisco WRT54GL unmodified router connected to a cable modem.

The XP machine is on a Fairpoint/verizon DSL modem with no router.

I am trying to use rdesktop which is on the PCLinuxOS machine and connected to the cable modem through the above router to operate  the XP machine by remote desktop, the XP machine being on the Fairpoint/Verizon modem on a phone line with DSL without a router:


PCLinuxOS computer running rdesktop===>Router===>Cable Modem===>Cable broadband service_______Internet_______DSL broadband service===>DSL Modem===>computer running XP pro.

Thanks



Do you have any documentation, or googled the make/model of this modem (particularly with regards to your ISP...they may configure something other than the defaults)...
Speaking of ISP, have you checked of they might be blocking ports?  You could try re-directing a non-standard port, to test that...

Offline nerdful1

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1575
  • Registered Linux User #444541
    • Nerdful Things
Re: pclos to XP pro over internet using rdesktop
« Reply #14 on: August 01, 2010, 05:47:18 AM »
Turns out the Verizon DSL was not just a dumb modem like the cable modem.

westell/Verizon E90-610015-06 model 6100 with black and red menu.

Even though it only has one output, it has a full featured router menu in it.
I turned on port fowarding to 3389, and it works.

Really slow screen update, but it is on a minimal dsl.

Now to learn how to keep an XP box secure over rdesktop until I get the windows apps running in PCLinuxOS.

Thanks all!
« Last Edit: August 01, 2010, 05:50:55 AM by nerdful1 »
Promote open source.
Stars up!  Lights Down! Use sky and neighbor friendly outdoor lighting, and save energy.  Darksky dot org.
 ISF Professional that wants to keep black level in the sky.
Mythic Dragon V1.0 Desktop HTPC running PCLOS & Mythtv simultaneously.