View Single Post
Posts: 199 | Thanked: 144 times | Joined on Sep 2009 @ gbg.se
#15
Originally Posted by kwotski View Post
You can run the command ifconfig on the n900 to see what IPs you have configured. So using that you can see what IP is configured on the cell network interface (it is phonet0 if I recall).

Mostly I think cell operators would give you an IP in a private address space, like 10.x.y.z or 192.168.x.y and send your outbound traffic through what's called a NAT gateway, so inbound traffic across the cell network would normally be impossible.

I'm not sure, but it sounds from your post that you're trying to ssh to your public WLAN IP across the cell network?

That wouldn't work because no-one (apart from you!) knows that IP is on the end of your cell network connection, so it can't be routed there. (Sorry if I misunderstood, it's a little hard to make out just what you're trying to do... Mentioning some example interfaces and IPs would help..)
Thanks for replying.

To try to clarify, everything is fine when the N900 is connected to my wlan. I can ssh to the device on the local network, using the IP my router has assigned to the N900.

What I ask about is ssh:ing to the N900 when it is connected to the cellular network, using the IP assigned to it by my cell network operator. I can tell I receive a public IP from e.g. checkip.dyndns.org. It is also verified by the Personal IP widget. Using that IP I try to ssh to the N900 from my PC.