[Q] USB SmartCard support needed!!! - Galaxy Note GT-N7000 General

I'm connecting to my servers with SSH using usb-token.
It's a big pity, but I can't do it with my SGN.
How much source changes should I make to be able to connect with ssh+smartcard to my servers? As far as I know there is a project:
https://code.google.com/p/seek-for-android/
, but it's developers don't want to have a deal with USB.
Any suggestions?

hishnik said:
I'm connecting to my servers with SSH using usb-token.
It's a big pity, but I can't do it with my SGN.
How much source changes should I make to be able to connect with ssh+smartcard to my servers? As far as I know there is a project:
https://code.google.com/p/seek-for-android/
, but it's developers don't want to have a deal with USB.
Any suggestions?
Click to expand...
Click to collapse
No suggestions but I've not seen anything to suggest this will be implemented, or even easy to do.
Better off trying to get a local certificate loaded onto your phone instead.
Here below is a project that supports smartcard readers on linux. If you can do command line and compile source, then you may have a chance getting it to work with android.
http://times.usefulinc.com/2007/12/03-smartcards-osx
http://www.opensc-project.org/opensc
Good luck

Related

Tethering in linux [SOLVED]

I spent a lot of time getting the 6800 to sync under linux. Finally, using synce, I have done it, all access to the phone.
Now I want to tether. I have noticed under wm6, the wmodem app is in \windows folder, but it will not start. I know you used to have to enable it via a ## code, but it wont work on the 6800.
So I either need to figure out how to get the wmodem app to work under wm6, so i can have the phone emulate a modem. Or, the second option being to possible use ndiswrapper to use it, since it does show up as a generic rndis device, and under my system as soon as i plug it in (with adv net. function tab checked under connections>usb to pc) it shows up as an ethernet device.
Please linux users jump in and lets figure this out!!
I'm not a big linux user, but this would be very good to know!
I know they tethered the iphone by setting up some sort of proxy on the phone then tethering via wifi,surely this could also be possible using windows mobile given the right app. Please dont tell me im the only linux user out there that cares!!
BTW.. the iphone runs a modified *NIX/BSD im jealous
EDIT: I have also been successful in use the program 'synce' to initiate an activesync connection with the pda. Doesnt pdanet tunnel through a connection like this?? surely there are some fancy iptables or route commands to accomplish this in linux.
USBModem
USBModem is supposed to be able to work with Linux.... There is a free trial to check out.. I'm planning on using it once the Asus Eee comes out..
http://www.mobile-stream.com/usbmodem_wm.html
usbmodem will only give you some dialup scripts which wm6 DOES NOT supoport over usb. I did however solve my problem. The svn version of synce's usb-rndis-lite is the holy grail.
watson540 said:
I spent a lot of time getting the 6800 to sync under linux. Finally, using synce, I have done it, all access to the phone.
Click to expand...
Click to collapse
Can you post the resources you used, or the steps you took, to accomplish this? I'd like to tackle that problem before getting into tethering.
I see the device in dmesg as an RNDIS device (not handled by the ipaq module), but then I can't get multisync or synce to do anything with it after that. All I need to do is save my contacts, and be able to transfer files. I'm going to be replacing my Mogul soon, and I'd like to be able to restore everything once I get the new one. But in my apartment, windows machines are a rare commodity.
Can you post a wlkthrough as I joined the site for practically this very reason. Thanks in advance
J
watson540 said:
I spent a lot of time getting the 6800 to sync under linux. Finally, using synce, I have done it, all access to the phone.
Now I want to tether. I have noticed under wm6, the wmodem app is in \windows folder, but it will not start. I know you used to have to enable it via a ## code, but it wont work on the 6800.
So I either need to figure out how to get the wmodem app to work under wm6, so i can have the phone emulate a modem. Or, the second option being to possible use ndiswrapper to use it, since it does show up as a generic rndis device, and under my system as soon as i plug it in (with adv net. function tab checked under connections>usb to pc) it shows up as an ethernet device.
Please linux users jump in and lets figure this out!!
Click to expand...
Click to collapse
i'm going to guess you can follow this guide but use the svn steps for the driver
http://www.synce.org/index.php/Connecting_your_Windows_Mobile_2005_device_via_USB_(usb-rndis-lite)
Anyone know how to BROWSE the contents of the HTC 6800/MOGUL on Ubuntu? I dont even want to sync, i just want to browse the contents of my Device & Storage card on my phone...
Cant seem to figure this out, SYncE doesnt seem to work for me...
please help
watson540 said:
I spent a lot of time getting the 6800 to sync under linux. Finally, using synce, I have done it, all access to the phone.
I have been searching for a way to get my 6800 to sync if you could help point in the right direction that would be great thanks. all i can find is how to get wm5 phones to sync
Click to expand...
Click to collapse

WAMP-like (AAMP?)

Has anybody seen, or considered developing a program similar to WAMP (Windows Apache MySQL PHP) for the Android?
I've always been interested in hosting my own sites, and usually purchased the hosting simply because I never leave a computer on all day.
But given I leave my phone on all day, who's to say there can't be an application developed to host and constantly stream a website from the phone itself?
Would anybody be interested in developing something like this? I'd honestly throw down 10 bucks in android market for such a thing.
LookAlive said:
Has anybody seen, or considered developing a program similar to WAMP (Windows Apache MySQL PHP) for the Android?
I've always been interested in hosting my own sites, and usually purchased the hosting simply because I never leave a computer on all day.
But given I leave my phone on all day, who's to say there can't be an application developed to host and constantly stream a website from the phone itself?
Would anybody be interested in developing something like this? I'd honestly throw down 10 bucks in android market for such a thing.
Click to expand...
Click to collapse
First, why? what's your use case? You're going to host websites to the internet off your 1Ghz mobile device? interesting thought but it'd be cheaper and less stress to just pay that web host.
Second, that'd be one hell of a way to chew through your battery?
Ruxton said:
First, why? what's your use case? You're going to host websites to the internet off your 1Ghz mobile device? interesting thought but it'd be cheaper and less stress to just pay that web host.
Second, that'd be one hell of a way to chew through your battery?
Click to expand...
Click to collapse
Thirdly, you will have high bills for your transfer and users will have to wait ages for page to load.
Ahh and if you really want to do this, then you shouldn't think about neither Apache, MySQL nor PHP. You should use, what you have onboard: sqlite + Java (or maybe C) + some simple HTTP server (Java or C).
It wouldn't necessarily be for a professional site so to speak, more or less to fool around with.
For example (even though having use of facebook renders this completely useless) a blog hosted directly from the phone. Or with password protection, an over-the-web ftp to add apps to your phone from anywhere should you not have your cord on you.
Just little things to play with.
Nice addition Brut. But to clear the confusion, by saying WAMP, I was simply using it as a reference tool to get the point I was trying to make across. I didn't mean actually waste time making a work-around apache server on the droid, but simply a program that uses what's available on the phone to achieve the same ends.
Thanks for the input gents.
@Ruxton as far as chomping away at the battery, I wouldn't suspect it would use a high amount for what the uses are. Now to host some high-traffic sort of thing like google.com for example, ha, there really wouldn't be a chance to use the phone before it died. But as stated in my last post, little things for small uses. Of course, I didn't specify that in the topic start.
http://code.google.com/p/i-jetty/
5 seconds (really!) searching on Google ;-) It's everything you need and I doubt you will find something better
What kills me, is I searched google for such apps using keywords (no lie, straight from my cookies) "Turning android into webserver" "host webserver from android" and "webserver app for android".
And then you come back with this. How peachy.
LookAlive said:
What kills me, is I searched google for such apps using keywords (no lie, straight from my cookies) "Turning android into webserver" "host webserver from android" and "webserver app for android".
And then you come back with this. How peachy.
Click to expand...
Click to collapse
I'm quite sure that I requested "android http server", but now I don't see that site in search results I think it was a miracle! ;-D
EDIT:
Ahh, I have mistaken, it is right on top of results ;-)
http://www.google.com/search?q=android+http+server
The magic behind that miracle was that one acronym, http. Had I only used that.. lol
Another problem is connecting to your phone from rest of the world. Does your telecom give you external IP? Is it static (but this could be fixed using dynamic DNS)?
MediaWiki on Android?
Hi...
I'm interested in an "AAMP" too as I have lots of information stashed away on my laptop via MediaWiki running on WAMP. I'd love to be able to carry it around with me on my mobile phone by uploading it from my laptop's MySQL DB onto the phone (in my case, HTC Desire) if it can run "AAMP".
I just downloaded i-Jetty and what I can do with it isn't entirely apparent. Is it something that would run an AAMP and therefore allow me to do the above?
Cheers..
DesireOwner10 said:
Hi...
I'm interested in an "AAMP" too as I have lots of information stashed away on my laptop via MediaWiki running on WAMP. I'd love to be able to carry it around with me on my mobile phone by uploading it from my laptop's MySQL DB onto the phone (in my case, HTC Desire) if it can run "AAMP".
I just downloaded i-Jetty and what I can do with it isn't entirely apparent. Is it something that would run an AAMP and therefore allow me to do the above?
Cheers..
Click to expand...
Click to collapse
Not sure why the thank button is so close to the quote button... but oh well, I digress.
Have you considered dumping static pages from your mediawiki setup and then pushing those to the phone? If you don't need to edit the content, then having the full db backend on the phone is pointless. Just set up a script to dump the all the pages in an elegant way (wget comes to mind but there is probably a better way) and then bundle them for transfer to the phone.
Thanks for reply! Sorry for delay (floods tend to take you off the grid).
Not a bad idea about dumping static pages..but I would like to be able to navigate around & search through the mediawiki. Anyone have thoughts on AAMPing a mediawiki?
AAMPing a MediaWiki?
Anyone have any further thoughts or smart ideas on pulling this off?
Have you tried PAW Server?
Sent from my PC36100 using XDA App
Thanks for the reply. PAW server is an interesting bit of kit and certainly is a demonstration of what the device can serve up.
However..it isn't exactly what I'm trying to achieve. Basically...I need something which will run the php files and the MySQL database which are what MediaWiki is comprised of.
Whilst I could simply generate static pages from my Wiki's & read them directly on the phone, this means I lose all the advantages of links & searching which is one of the reasons why I put my notes in a MediaWiki to start off with.
So..anyone know of something like an AAMP?
LookAlive said:
Has anybody seen, or considered developing a program similar to WAMP (Windows Apache MySQL PHP) for the Android?
I've always been interested in hosting my own sites, and usually purchased the hosting simply because I never leave a computer on all day.
But given I leave my phone on all day, who's to say there can't be an application developed to host and constantly stream a website from the phone itself?
Would anybody be interested in developing something like this? I'd honestly throw down 10 bucks in android market for such a thing.
Click to expand...
Click to collapse
Botbrew-Basil is on play store !
Android web server
yashade2001 said:
Botbrew-Basil is on play store !
Click to expand...
Click to collapse
WHAT YOU NEED IS 'KSWEB SERVER' --> (play.google.com/store/apps/details?id=ru.kslabs.ksweb&hl=en)
FIND IT ON ANDROID MARKET
PHP + MYSQL

[Q] Remote Android Development

Hi guys,
isn't there someway to develop my Android apps on a webserver so I can work on them via FTP on any machine ?
I have a problem of not being able to continue work on a project once I leave work or leave home.
Please help me.
http://www.google.com/search?hl=&q=remote+desktop
http://www.google.com/search?hl=&q=VNC
http://www.google.com/search?hl=&q=VPN
Maybe even use a SVN.
It's a bit of a hassle, but I just use dropbox. When I finish working at home I copy the project to dropbox. When I get to work it's ready to go. Copy it back again before I leave work.
________________________________
http://ron-droid.blogspot.com
Actually I seccond SVN (or GIT if that's your fancy). It can sometimes be tricky to setup on a remote server but the versioning is well worth it.
I got the impression it wasnt just going from home to work and back that he was having trouble with though. All good suggestions though
OK ?
alostpacket said:
http://www.google.com/search?hl=&q=remote+desktop
http://www.google.com/search?hl=&q=VNC
http://www.google.com/search?hl=&q=VPN
Click to expand...
Click to collapse
Hmm!
just wondering what any of those have to do with Android development ?!?
Thanks
rigman said:
It's a bit of a hassle, but I just use dropbox. When I finish working at home I copy the project to dropbox. When I get to work it's ready to go. Copy it back again before I leave work.
________________________________
http://ron-droid.blogspot.com
Click to expand...
Click to collapse
I appreciate the dropbox suggestion.
As an aside, I put a document into my dropbox on my Linux computer at home and immediately checked for it on my dropbox app on my Android phone - it was not there.
Neighter was it avaiable at work hours later at work - don't know how I might force it to refresh.
How about Eclipse RSE ?
As an Android developer using Eclipse comes with the territory.
I came across some thing called RSE( remote system explorer ).
From what I've read, it should give me FTP access to remote files.
But it fails when I try to configure a "Remote system Type".
Does anyone have sucessful experience with this ?
captsisko said:
Hmm!
just wondering what any of those have to do with Android development ?!?
Click to expand...
Click to collapse
They do stuff like this:
I came across some thing called RSE( remote system explorer ).
From what I've read, it should give me FTP access to remote files.
But it fails when I try to configure a "Remote system Type".
Does anyone have sucessful experience with this ?
Click to expand...
Click to collapse
It sounds like you need to better explain what you're actually trying to do. Are you trying to just take some files with you, or are you trying to be able to access your home computer remotely?
They have different solutions. It sounds like maybe you are confusing the two.
VPN/RemoteDesktop/VNC all have to do with accessing a computer remotely which is what you said you were trying to do originally. However it sounds like that's not what you need. Maybe I misintepreted your post. My appologies.
If you're just trying to take your project from home to work and back, then you should set up a server with SVN (or Git or Mercurial) somewhere, possiblly over SSH.
This can be on your home computer, or work (depending what ports your network admin allows), or on a hosted third party server (such as a shared hosting server like BlueHost, DreamHost, or iPowerWeb or something). I'd recommend the hosted 3rd party solution.
Though, if you use linux at home SSH is built into your system.
Dropbox and FTP are OKish, but you might as well just use a USB stick or something...
But SVN and Git have real version control and intgrate with eclipse. If you have it setup properly you can just hit a command in eclipse's project explorer and all the changes are commited to the remote repository.
So anyways, SVN is my advice too
Thank you very much alostpacket !
You were right about needing to explain better. I was not trying to achieve a remote desktop access solution. I was looking for a way to work on my Android projects without have to copy then on a USB or email them to myself.
I use a VPS to host my websites and I assumed I might be able to work on my Andoird projects via FTP from my server so regardless where I am, I have access to the same project - I don't know if you guys think that is possible ?!?
However, I will start to investigate SVN and Git.
Thanks again.
No problem, I'd say check with you VPS provider too, often times they have tutorials on how to set up SVN, or sometimes even automated one click installs.
There will be some learning curve with using SVN, but it will give you a lot of control over versioning your work. It's WELL worth the effort.
If you ever make a mistake you can easily roll back to an earlier version, or you can "branch" off from the main codebase to try out a beta feature and merge it back later with side by side views showing you where all the changes are.
Most every experienced developer uses some type of versioning control software (SVN, Git, Mecurial, CVS, or SourceSafe).
Git does many of the same things but is a bit more advanced and more designed around larger projects with teams of developers working remotely. (Git was developed by Linus Torvalds for Linux kernel teams to use). Mecurial I think costs $$ and is like git. CVS is a bit old, and SourceSafe is a Microsoft produc that I think also costs $$.
SVN is based on CVS and is intended to be the successor and more user friendly than CVS, but it's still takes some time to learn and some patience.
Many Android developers use Git though, so the choice is up to you, however I think SVN is a bit easier to learn.
FYI a SVN inside a dropbox works too.
Sent from my GT-I9000 using XDA App

Creating a cisco VPN app

I know they may be some work around and other aspects of getting cisco to work, but I am thinking about attempting to develop an app for cisco VPN connections, it looks like thats what most companies use and would catch on like wildfire, can anyone tell me if this is even possible, or where I might start, or want to help with the build. PM me or message me back on here...thanks Guys..
Not a coder so I cant help you in any real sense, but I'm just posting to show my interest in you developing such an app.
I think it's a great idea, but if I was going to do it, I would focus on the tablet market.
When I was an employed programmer (LOL), we would use VPN ALL the time to log into work and fix things or even Remote Desktop into a Terminal Server or our own desktops.
I just can't see running a PC from the screen size of a phone vs. that of a tablet.

Share internet only for Portable Chrome browser using android phone and usb cable?

Hi 2 all,
I know that is possible but I can't make it, becouse I'm newbie.
At work, I have Wi-Fi. Somehow I want to get this WI-FI trafic, only for my Google Chrome portable version in my PC and I need it to make secured.
I have meizu mx4 phone. I tried to emulate linux on it, using "Linux deploy" and using adb reverse tcp, to conect with putty to it. But, I failed with squid proxy, it will not work, and I think it's becouse of my phone, couse it's Android based on Flyme.
So if anyone have ideea, how to do that, please help.
So that's what I have: Phone, usb calbe, Wi-fi at work, PC and if it's helpful for me to secure trafic (vpn at home, from my router).
I need step by step to made it. Or if you don't have time to say it, just give me a link were I can read some info, or in general what should I do.
Thank you very much!!
On emulated Debian, I can't laucnh squid(on phone, with app Linux Deploy), but I succesefuly instaled "Varnish" , i'm confused, I can't configure it to make google chrome work on it. Don't know how to show it port 8084 that I'm using on Chrome (127.0.0.1:8084)
Well.... I buy Raspebery pi 2 to do that.
Gonna try it, thanks

Resources