Recent

Author Topic: Android SSH (putty) Tunel (problem)  (Read 8921 times)

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Android SSH (putty) Tunel (problem)
« on: September 18, 2012, 09:42:19 pm »
I have remote firebird server.

In nonadrodi aplication i connected   with   
putty

193.77. 154 etc.
port 22

Tunnels 
L3050   192.168.1.22:3050

Work OK.


In my samsung note III
i install SSHTunnel.
http://www.appbrain.com/app/ssh-tunnel/org.sshtunnel

When you start SSHTunnel i get message

PLEASE ROOT YOUR DEVICE FIRST!!!

What does it mean?



and SSHTunnel say is  Connected,

but my program not connect to database in firebird.


What does it mean?
PLEASE ROOT YOUR DEVICE FIRST!!!



taazz

  • Hero Member
  • *****
  • Posts: 5363
Re: Android SSH (putty) Tunel (problem)
« Reply #1 on: September 19, 2012, 01:56:04 am »
it means that the current device setup does not allow root access. It asks you to set it up differently.
You should look at putty's page for a faq or something with links to how to root android phones of google it.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

ludob

  • Hero Member
  • *****
  • Posts: 1173

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: Android SSH (putty) Tunel (problem)
« Reply #3 on: September 22, 2012, 01:57:26 pm »
Now i have  ROOT  DEVICE;

Root checker say that all ok.

and

SSHTunnel  say connected.


I have remote firebird server.

In nonadrodi aplication i connected   with   
putty

193.77. 154.199.
port 22
Tunnels
L3050   192.168.1.23:3050
Work OK.
*****************************
I set
SSHTunnel


host
193.77. 154.199

port
22

user
root

local port
3050

remote port
3050

remote adres
192.168.1.23

SSHTunnel  say connected.

But my android aplication is not connected firebrd database.

Any help is welcome.
Thanks.












Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: Android SSH (putty) Tunel (problem)
« Reply #4 on: October 03, 2012, 02:36:02 pm »
when try connect to Firebird Database

Now get this message:



cannot initialize interface interbase from library "libgds.so"
« Last Edit: October 03, 2012, 02:40:46 pm by Fortuna1 »

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: Android SSH (putty) Tunel (problem)
« Reply #5 on: October 03, 2012, 03:06:38 pm »
Where do you copy libbclient.so.2.1.3.
where  put   libgds.so on ANDROID.
What do you suggest?

     

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Android SSH (putty) Tunel (problem)
« Reply #6 on: October 03, 2012, 03:42:58 pm »
Are you sure Firebird client libraries work on Android devices?
Where did you get it from?

I vaguely remember some guys on the Firebird development list trying to get it to compile, let alone run...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: Android SSH (putty) Tunel (problem)
« Reply #7 on: October 03, 2012, 07:01:49 pm »
Excellent suggestion.

I think linux is linux.
if there is no visual component should work.




Or am I wrong?
« Last Edit: October 03, 2012, 07:17:49 pm by Fortuna1 »

Fortuna1

  • Full Member
  • ***
  • Posts: 164
Re: Android SSH (putty) Tunel (problem)
« Reply #8 on: October 04, 2012, 05:07:02 am »
Firebird Client 3.0 suport android.

Cross-build support + android port: work in progress, currently can build fbclient for android


http://web.firebirdsql.org/download/snapshot_builds/win/3.0/Firebird-3.0.0.30085-ChangeLog.txt

http://web.firebirdsql.org/download/snapshot_builds/win/3.0/

« Last Edit: October 04, 2012, 05:10:52 am by Fortuna1 »