01/26/2010, 04:59 PM
|
#1 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 28
Likes Received: 0
Thanks: 7
Thanked 0 Times in 0 Posts
|
Hey community,
I recently got myself a working dropbear ssh installation via Preware. I'd now like to experiment with ssh over evdo (the cellular network). The problem is that all the documentation I'm finding to enable this refers to the old method of installing dropbear or openssh: novaterm ("root") into your phone, "wget" optware scripts, etc. etc. The magic file in the old method was /etc/event.d/optware-dropbear. You simply un-commented a line in this file to allow the evdo connection. However, when you install dropbear via Preware (which is preferred), this file isn't located at /etc/event.d/. So how then, after installing dropbear via Preware, is it possible to have dropbear listen on evdo as well as wifi? Thanks in advance! |
01/26/2010, 05:04 PM
|
#2 (permalink) |
|
Member
![]() Join Date: May 2003
Posts: 8,357
Likes Received: 316
Thanks: 2,130
Thanked 1,765 Times in 1,131 Posts
|
There are two methods. You can download the old script (they simply renamed it), or you can install a trusted key pair. I haven't tried the latter, and probably won't until after WebOS 1.4
From my understanding, if you use the newer PreWare packages (downloading directly from PreWare), you have to use the key pair. This is the method I used: Get root access to the Pre, then issue the following commands: Code:
cd /tmp wget http://gitorious.org/webos-internals/bootstrap/blobs/raw/master/optware-bootstrap-manual.sh chmod 755 ./optware-bootstrap-manual.sh sh optware-bootstrap-manual.sh source /etc/profile.d/optware |
01/26/2010, 05:51 PM
|
#3 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 28
Likes Received: 0
Thanks: 7
Thanked 0 Times in 0 Posts
|
A trusted keypair only allows password-less login. And I have this part of it working over WiFi. But keys have nothing to do with allowing ssh over EVDO as well as WiFi.
The old command line method installs a bunch of stuff I don't need (OpenSSH), and makes a bunch of changes I don't want (opens port 222, etc.) This isn't the answer I'm looking for. Simply put, I would like to login to my Pre via ssh, over the cell network, as well as WiFi. I've installed Dropbear via Preware. It works over WiFi, but not the cell network. I'll give you this: your solution works, but it makes a lot of changes I don't want. |
01/27/2010, 08:47 AM
|
#4 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
The old manual installation instructions are now deprecated in favour of installing OpenSSH directly from Preware and using the root account and secure ssh keys only.
Look in /etc/event.d/mobi.optware.* for the lines to enable cellular access. -- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
01/27/2010, 09:23 AM
|
#5 (permalink) | |
|
Member
![]() Join Date: May 2003
Posts: 8,357
Likes Received: 316
Thanks: 2,130
Thanked 1,765 Times in 1,131 Posts
|
Quote:
The OP mentioned not wanting to use Open SSH, and also not wanting to open port 222. Is the newer method not using Open SSH, and not opening port 222 for remote access? |
|
01/27/2010, 04:18 PM
|
#6 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
-- Rod
__________________
WebOS Internals and Preware Founder and Developer You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful. All donations go back into development. www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals |
|
![]() |
|
| Tags |
| dropbear, evdo, optware, preware, ssh |
| Thread Tools | |
| Display Modes | |
|
|



