maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Using SSH/VNC with one IP...? (https://talk.maemo.org/showthread.php?t=10350)

timsamoff 2007-10-09 04:49

Using SSH/VNC with one IP...?
 
Hi,

I'm completely new to trying to SSH to my N800 from my PC (likewise for VNC)... My PC and my N800 are both connected via my DSL/Wifi router and both have the same IP (at least, that's what my N800's Wifi Info is telling me).

Is there anyway to SSH/VNC in this situation? Seems like it would be a fairly common configuration for most people, so maybe I'm just missing something?

Thanks!
Tim

timsamoff 2007-10-09 05:18

Re: Using SSH/VNC with one IP...?
 
Update: I found this:

http://support.coloquest.com/index.p...kbarticleid=12

...but I'm not getting it to work. Would that be the correct route, though>

Thanks,
Tim

barry99705 2007-10-09 06:44

Re: Using SSH/VNC with one IP...?
 
Uhh, they shouldn't have the same ip! If they have the same ip then something is borked on your wifi router.

timsamoff 2007-10-09 11:17

Re: Using SSH/VNC with one IP...?
 
Ok, that could be the case, but... Would Wifi Info not show the correct IP for some reason?

Thanks,
Tim

barry99705 2007-10-09 14:44

Re: Using SSH/VNC with one IP...?
 
Quote:

Originally Posted by timsamoff (Post 80772)
Ok, that could be the case, but... Would Wifi Info not show the correct IP for some reason?

Thanks,
Tim

Not that I know of. If you have xterm go in there and do a sudo ifconfig . That will show you the ip address. It should be the same as what the info screen. You don't happen to have one of the machines set with a static address do you?

timsamoff 2007-10-10 00:40

Re: Using SSH/VNC with one IP...?
 
When I try to run ipconfig, I get:
Code:

/bin/sh: ipconfig: not found
As far as static IPs are concerned... I don't think so, as I'm on DSL. Is there a way to check that? Could my router have a static IP?

Thanks,
Tim

Mara 2007-10-10 01:08

Re: Using SSH/VNC with one IP...?
 
timsamoff: It is ifconfig, not ipconfig.

Mine worked after getting root in xterm and then just typing ifconfig. My N800 show correct IP address for wlan0.

timsamoff 2007-10-11 14:41

Re: Using SSH/VNC with one IP...?
 
Quote:

Originally Posted by Mara (Post 80962)
timsamoff: It is ifconfig, not ipconfig.

Mine worked after getting root in xterm and then just typing ifconfig. My N800 show correct IP address for wlan0.

Ah, thanks! (I was wondering why ipconfig didn't work! Duh!). I will try that out. :)

Tim

barry99705 2007-10-11 15:52

Re: Using SSH/VNC with one IP...?
 
You might need to be root for that to work as well. Uhh, quick question. You have a dsl modem, what's in between the modem and your computer? Or is the modem a router? There should be (better be) a router between the modem and the rest of your network.

timsamoff 2007-10-11 16:19

Re: Using SSH/VNC with one IP...?
 
The modem is the router... I used to bypass the router part of the modem and use an additional router for wifi, but I decided to just use the all-in-one that was provided by the DSL company. Could that be the issue?

-T.

barry99705 2007-10-11 18:47

Re: Using SSH/VNC with one IP...?
 
Quote:

Originally Posted by timsamoff (Post 81413)
The modem is the router... I used to bypass the router part of the modem and use an additional router for wifi, but I decided to just use the all-in-one that was provided by the DSL company. Could that be the issue?

-T.

It shouldn't be. Check the dhcp settings on the router. I'm guessing 2wire?

richrosa 2007-10-11 20:18

Re: Using SSH/VNC with one IP...?
 
You can do a reverse SSH tunnel. You can try the instructions here, or others HOW-TO available on the internet.

http://articles.techrepublic.com.com...ml?tag=nl.e011

barry99705 2007-10-11 20:19

Re: Using SSH/VNC with one IP...?
 
Quote:

Originally Posted by richrosa (Post 81468)
You can do a reverse SSH tunnel. You can try the instructions here, or others HOW-TO available on the internet.

http://articles.techrepublic.com.com...ml?tag=nl.e011

That's still not going to work if both devices have the same ip address.

timsamoff 2007-10-12 19:04

Re: Using SSH/VNC with one IP...?
 
I may have time to continue investigating tonight. (Been busy.)

Thanks,
Tim

timsamoff 2007-10-12 21:34

Re: Using SSH/VNC with one IP...?
 
Ok, I finally had a chance to run ifconfig:
Code:

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1305 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1305 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:215036 (209.9 KiB)  TX bytes:215036 (209.9 KiB)

wlan0    Link encap:Ethernet  HWaddr 00:19:4F:D5:0D:2A
          inet addr:192.168.1.72  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:219517 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78287 errors:17 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:39136777 (37.3 MiB)  TX bytes:11147231 (10.6 MiB)

Which domain/address is my IT's IP? (The wlan inet value is what WifiInfo tells me it is, but that's the same as my laptop's IP.)

-T.

Milhouse 2007-10-13 13:11

Re: Using SSH/VNC with one IP...?
 
Code:

inet addr:192.168.1.72
Your IT is 192.168.1.72. What's the IP on your laptop (ipconfig in a "DOS" window) - maybe WiFi info is wrong. Are you using DHCP, have you tried to lock a DHCP IP to a particular device - usually this is done by entering the MAC, has the MAC been etered correctly? Do you have the latest router firmware?

Maybe a static IP for the tablet would be the easiest solution!

timsamoff 2007-10-13 14:10

Re: Using SSH/VNC with one IP...?
 
As I said, my laptop has the same IP as is stated in my IT's ifconfig output... I will check into everything else.

-T.

Milhouse 2007-10-13 15:13

Re: Using SSH/VNC with one IP...?
 
Quote:

Originally Posted by timsamoff (Post 81893)
As I said, my laptop has the same IP as is stated in my IT's ifconfig output... I will check into everything else.

-T.

It wasn't clear if you were making that statement based on what the router is telling you (which may or may not be accurate), or what you had determined from the laptop itself.

timsamoff 2007-10-13 16:41

Re: Using SSH/VNC with one IP...?
 
Ah, I see... I will verify that.

-T.


All times are GMT. The time now is 01:24.

vBulletin® Version 3.8.8