Active Topics

 


Reply
Thread Tools
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#41
Originally Posted by mtran66 View Post
here's an article by someone who was able to do what we're trying to do, but on an iPhone

http://www.combinedeffort.com/conten...fault.asp?id=5

I've done everything he did except I didn't try changing my ssh port to 443, right now it's running on port 80. However, I don't see how it would be any different. I'll test it tonight anyway though.
I'm not sure if it'll work. Not being able to use port 443 is part of the reason for my interest in this in the first place. But if you're inclined to try, please post your results. TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
Posts: 73 | Thanked: 9 times | Joined on Dec 2009
#42
OMG I got it working

so I was putting the ProxyCommand in the wrong file. I was supposed to put it into /etc/ssh/ssh_config

but instead, I put it into /home/user/.ssh/config

now to figure out port relay/tunneling...
 

The Following 2 Users Say Thank You to mtran66 For This Useful Post:
Posts: 73 | Thanked: 9 times | Joined on Dec 2009
#43
OK partial success

I installed squid on my ubuntu machine, which is also my ssh server.

I set SSH to 443 and Squid to 8888 on the server.

on my N900

I use in the terminal:
ssh -N -p 443 -L 8888:localhost:8888 username@myserver -vvv

you can omit the -vvv, but it helped with debugging.

I then went into n900 settings > internet connections > selected the WAP connection > advanced > proxy information

I put 127.0.0.1 and port 8888 for each entry

After I did all this, I managed to get onto the internet, however, it is a lot slower. I am also able to connect to MSN (pecan), but it's a bit buggy... usable though. My first 1 or 2 messages sent won't go through, but after that, they do.

I say it's a partial success because I had to change Pecan to HTTP mode in order for it to connect. My skype and gtalk accounts did not connect, but I'm hoping it's just a setting in squid....
 

The Following User Says Thank You to mtran66 For This Useful Post:
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#44
Hey mtran66, any further updates? And qole, you haven't anything to add? Do you think mtran66 is on the right track? Is there any reason we shouldn't be able to ssh to a server listening on port 80 without any fancy bells-n-whistles? TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
Posts: 73 | Thanked: 9 times | Joined on Dec 2009
#45
I think you can ssh into port 80. My problem was that I was putting in the configuration in the wrong file.

I haven't looked into this further yet, been busy.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#46
grog, mtran66: I'm not really interested in trying this out, since I don't have those limitations so I would be doing it purely as a technical exercise, but the whole corkscrew and squid proxy thing to me seems way overkill.

You should just have to:

1. Set up ssh on your host to listen on port 80.
2. Install tsocks on the N900 and edit the config file /etc/tsocks.conf to look like this:
Code:
server = 127.0.0.1
server_port = 3120
3. Then, on the N900:

Code:
ssh username@host.addr.ip -p 80 -D 3120
That should get you logged in to your host.

4. Now open a new terminal, and run:
Code:
tsocks modest -s
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#47
Thanks for the responses. I haven't had any luck at all. As I had posted before, even a simple:

Code:
ssh -p 80 username@my.home.box uname -a
While working fine using wifi just times out over gprs. Really strange, 'cause it's port 80, I would've thought that any data sent over the port would get through?

Or is it maybe just the response isn't allowed back? I don't know enough to hazard a guess but I then realized that I hadn't yet transferred the N900's public key to my server, therefore it was expecting a response. So I gen'd & copied my key over, confirmed that it worked without a password prompt over wifi, but it still failed over gprs. I even tried the IP of the box instead of the hostname, thinking that it may be a DNS issue. It wasn't. I then tried adding the -n & -N switches along with -D to ssh, thinking that perhaps they were required. They don't seem to be, still failed with a time out.

So it looks like I may have to live without email away from wifi . It seems that Maps works, although maybe this is more a reflection of it's offline capability, I don't know. Still strange to me how ssh, or rather non-HTTP protocols, are blocked even over port 80. Maybe someone can venture a guess on that.

Thanks guys
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#48
Originally Posted by qole View Post
I am currently using Fido, they're the cheapest plan I know of.
Nice. I noticed that they're currently waiving the $35 setup. Is that a month-to-month or a contract? Seems the former, not sure. TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#49
The plan is month-to-month with no extra fees (no supposed "911 fee" etc), only taxes (PST/GST). Honestly, Fido is the cheapest plan with real data (you can even make poor-quality Skype calls over it) in Canada right now.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 117 | Thanked: 26 times | Joined on Dec 2009
#50
Is there any data plan that allows good quality VOIP calls ?

Thanks
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:37.