Does anybody use connectbot on the nexus 4? - Nexus 4 Q&A, Help & Troubleshooting

As the subject says. Got some problems with it, and I was wondering if anyone else was using it without any problems?
Sent from my Nexus 4 using XDA Premium HD app

i am using it on my Nexus 4, befor on my Samsung S2 and Sony Arc - i´ve got no problem.
Connect Bot ersion 1.7.1 with the latest VNC Release

I am using irssiconnectbot.
But I guess it would be helpful if you specify your problems.

I'm using irssiconnectbot without any problems whatsoever.
Sent from my Nexus 4 using xda premium

hey_malik said:
I am using irssiconnectbot.
But I guess it would be helpful if you specify your problems.
Click to expand...
Click to collapse
Sorry, just got home now. Basically the problem is with private keys. I generate a private key, copy the public key to my router, and the private key always fails! I can't understand it because I've done this process hundreds of times with other devices and it works fine. It's not just Connectbot, I also tried Juice-SSH to see if that would help, but it's the same problem, the key fails.
I'm honestly doing my nut over this, I can't figure out what the problem could be!
Any input would be massively appreciated!
Cheers
Ian

iang123 said:
Sorry, just got home now. Basically the problem is with private keys. I generate a private key, copy the public key to my router, and the private key always fails! I can't understand it because I've done this process hundreds of times with other devices and it works fine. It's not just Connectbot, I also tried Juice-SSH to see if that would help, but it's the same problem, the key fails.
I'm honestly doing my nut over this, I can't figure out what the problem could be!
Any input would be massively appreciated!
Cheers
Ian
Click to expand...
Click to collapse
I use ConnectBot v1.7.1.2010.10.08 with a 4096 bit RSA key to connect to ubuntu linux without issue.
I copied my public key (openssh format) and pasted it into a new Gmail draft message. I then added it to the file ~/.ssh/authorized_keys
Make sure the entire key is one line and some text editor did not add <CR>'s or <LF>'s to the pub key...
It's why I use vim and Notepad++ as editors.

SpookyTunes said:
I use ConnectBot v1.7.1.2010.10.08 with a 4096 bit RSA key to connect to ubuntu linux without issue.
I copied my public key (openssh format) and pasted it into a new Gmail draft message. I then added it to the file ~/.ssh/authorized_keys
Make sure the entire key is one line and some text editor did not add <CR>'s or <LF>'s to the pub key...
It's why I use vim and Notepad++ as editors.
Click to expand...
Click to collapse
That's the thing. I do the same thing, copy it into a gmail draft them paste it into DD-WRT authorised keys. I think the most frustrating thing, is that it works fine with my N7, HTC Desire S but not with the N4, and I am not doing anything different.
I have triple checked the public key, and nothing appears to be added.
Cheers
Ian

Or you could set it up on a terminal emulator if you can find the binaries, and the libraries. That's how I'm doing it.

Hi,
I'm Paul one of the two developers of JuiceSSH.
One thing to check that often catches people out is that SSH can be very fussy on permissions on the home directory, the .ssh directory and the authorized_keys file.
Try:
chmod 700 ~;
chmod 700 ~/.ssh;
chmod 600 ~/.ssh/authorized_keys
It doesn't matter about the permissions on the device/JuiceSSH side.
Does the key work if you try and SSH in from your PC - ie is it just from your phone you're having problems?
Edit to add: My girlfriend uses an N4 and i've tested SSH keys numerous times on it during our development/testing so I doubt it's a problem with the Nexus 4 itself.

JuiceSSH said:
Hi,
I'm Paul one of the two developers of JuiceSSH.
One thing to check that often catches people out is that SSH can be very fussy on permissions on the home directory, the .ssh directory and the authorized_keys file.
Try:
chmod 700 ~;
chmod 700 ~/.ssh;
chmod 600 ~/.ssh/authorized_keys
It doesn't matter about the permissions on the device/JuiceSSH side.
Does the key work if you try and SSH in from your PC - ie is it just from your phone you're having problems?
Edit to add: My girlfriend uses an N4 and i've tested SSH keys numerous times on it during our development/testing so I doubt it's a problem with the Nexus 4 itself.
Click to expand...
Click to collapse
Hi Paul,
Thanks for replying. I don't think it's the permission because all of my other devices work fine. I've tried the same key from my N7, and my PC and it works fine. But, as you say, it may not be the N4 as others have used it and it works fine.
It's very frustrating in the fact that it seems to be isolated to just my N4, making support pretty difficult!
Cheers
Ian

iang123 said:
Hi Paul,
Thanks for replying. I don't think it's the permission because all of my other devices work fine. I've tried the same key from my N7, and my PC and it works fine. But, as you say, it may not be the N4 as others have used it and it works fine.
It's very frustrating in the fact that it seems to be isolated to just my N4, making support pretty difficult!
Cheers
Ian
Click to expand...
Click to collapse
Another good option is to run sshd on the server in debug mode and take a look at the more verbose logs of what is going on behind the scenes.
The safest way to do it is not to mess with the currently running sshd process or configuration (especially if it's a remote machine) but to spawn a new sshd server in foreground+debug mode on a different port number by running:
sudo /usr/sbin/sshd -p 2222 -D -d -e
Then setting up JuiceSSH to connect to port 2222 instead.
This will need port 2222 opening on any firewalls you have though.
If that still doesn't give any better clues feel free to paste the log here and i'll take a look.
Also I could give you a JuiceSSH APK file that has very verbose ssh logging turned on however you would need to have adb setup and installed on your PC in order to view the logs.
Thanks.
Paul

Cheers again Paul. I'm not too sure about being able to open another ssh service on my router. If you could help me out with that apk that would be great. Would it still get the logs even if I am making the connection to my router?
Cheers
Ian
Sent from my Nexus 4 using XDA Premium HD app

iang123 said:
Cheers again Paul. I'm not too sure about being able to open another ssh service on my router. If you could help me out with that apk that would be great. Would it still get the logs even if I am making the connection to my router?
Cheers
Ian
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
Hi Ian,
I have PM'd you a link to the debug version and some instructions.
Let me know how you get on.
Paul

Related

[Q] I/O Tab Mounting With Mac

Hey everyone,
I love my tab from I/O but as a Mac user I am stuck with no way to connect it to my mac to put videos on or anything. Every time I attach it to my Mac (or even PC) it wants to load Kies. It doesn't give me the option to mount as disk or anything.
On my Windows 7 PC it does allow me to browse it as a folder but I don't use my PC for any video downloading or anything. Is there a solution for Mac? I tried downloading the DMG for Honeycomb tablets from Android.com but it still didn't work for the Samsung tab. Not sure what to do here.
Second thing... someone needs to break a version of the new Netflix app to work on Honeycomb. I can get the app to load as is but it won't let me play video, says that this device is not supported.
Thanks in advance for the help.
thejdubb02 said:
Hey everyone,
I love my tab from I/O but as a Mac user I am stuck with no way to connect it to my mac to put videos on or anything. Every time I attach it to my Mac (or even PC) it wants to load Kies. It doesn't give me the option to mount as disk or anything.
On my Windows 7 PC it does allow me to browse it as a folder but I don't use my PC for any video downloading or anything. Is there a solution for Mac? I tried downloading the DMG for Honeycomb tablets from Android.com but it still didn't work for the Samsung tab. Not sure what to do here.
Second thing... someone needs to break a version of the new Netflix app to work on Honeycomb. I can get the app to load as is but it won't let me play video, says that this device is not supported.
Thanks in advance for the help.
Click to expand...
Click to collapse
Did you try this: http://www.android.com/filetransfer/ Should work. I used it with the Xoom and it worked like a charm.
Also if you have the SDK installed you can use ddms to open a file explorer. (In the same menu where you can launch the screen capture app)
appelflap said:
Did you try this:
... I used it with the Xoom and it worked like a charm.
Also if you have the SDK installed you can use ddms to open a file explorer. (In the same menu where you can launch the screen capture app)
Click to expand...
Click to collapse
I did try that and it did not work, because I think Kies is persistent and messes with it. Any other ideas would be great.
And to be clear: neither Kies on the mac nor Windows recognizes it either -- they say it's an unsupported device.
I managed to get a movie on it for the flight home by connecting in windows (VMware), installing Kies (for the drivers) and mounting it as an external drive.
thejdubb02 said:
I did try that and it did not work, because I think Kies is persistent and messes with it. Any other ideas would be great.
Click to expand...
Click to collapse
Really that would be a disaster for the 10.1v because of a lack of a SD card...... It would mean that one only can transfer files over a network.
But I assume that uninstalling Kies would solve this?
Deleted.......
Anyone else know anything that might help? I don't have Kies installed and cannot get it to work on my Mac.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
thejdubb02 said:
Anyone else know anything that might help? I don't have Kies installed and cannot get it to work on my Mac.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
Only option is adb push if you want to get your files on there. Or wireless transfer but hat takes too long
Sent from my GT-P7510 using XDA Premium App
work fine thanks, in tablet set debug mode ...and work well.
thejdubb02 said:
... as a Mac user I am stuck with no way to connect it to my mac to put videos on or anything. Every time I attach it to my Mac (or even PC) it wants to load Kies. It doesn't give me the option to mount as disk or anything ...
Click to expand...
Click to collapse
I tried both the Windows and Mac versions of Kies, and ended up having some luck with XJNB. I have a post on my blog (at surfsoftconsulting.com) explaining this, have a look at the Galaxy Tab First Impressions entry. The problem seems to be that Samsung's implementation of MTP is rubbish. Worst case scenario is that the update to 3.1 will include Google's own (and hopefully less buggy) implementation. I guess a more worse case is that Samsung have donated their code to 3.1... sigh.
I should add that since doing a factory reset I've not been able to get XJNB to work with the tablet :-( so I shall probably move to using a Wifi based solution
Google's filetransfer doesn't work
appelflap said:
Did you try this: android.com/filetransfer Should work. I used it with the Xoom and it worked like a charm.
Click to expand...
Click to collapse
filetransfer doesn't work - at least not for me - with the I/O Galaxy Tab 10.1 (MacBook Pro early '08, OS X 10.6.7). I've written more elsewhere on this thread, I won't repeat it here.

Change device name

Is there anyone out there who can please tell me how do I change my Galaxy S II's name so my wifi will register the customized name rather than just simply "unknown"? Everyone else's device has been renamed.
Well the one way you can do it is with Terminal Emulator on rooted phone.
su
busybox hostname "the name you want"
but this will probably reset on phone restart
alternatively you can write script to be run by Autostart (Root) on every bootup.
Hope it helps.
Is there no easier way?
darkmax1974 said:
Is there no easier way?
Click to expand...
Click to collapse
Not that I'm aware off
I connected the phone to my wi-fi, then went to the router's settings page, displayed the network map and changed the name of the phone on there. Not a perfect solution but better than nothing.
Sent from my GT-I9100 using XDA Premium App
Well... I just found that if one connects it to Kies, we can change the device name like we do on Windows Explorer. Not sure if it will come up properly in the routers wifi summary.
answer is here if you are still interested
My device is 'not compatable' with a number of apps id like to use in the market.
How do you change that 'identifier'?
thanks

CM9 based Bluetooth address conflict

Hey everyone just trying to see how many cm9 devices have the generic mac address for bt, which is 43:29:b0:00:00:00. this also wont let you pair BT on like devices it will show up as a DUN profile, anyone have this issue?
EDIT: IF anyone can please help us get the issue noticed a little bit faster by commenting on it.
www.code.google.com/p/epiccm/issues...Milestone Owner Summary&groupby=&sort=&id=225
Mac addresses are hardware related. Software doesn't determine it. Not sure where you're going with this, its either useless or malicious
XtaC318 said:
Mac addresses are hardware related. Software doesn't determine it. Not sure where you're going with this, its either useless or malicious
Click to expand...
Click to collapse
lmao no not malicious. considering the huge database of mac addresses for manufautures out on the web. I was asking because I have 2 epics that wont pair because the mac address are the same on both devices. BT works fine whenpairing other devices but not two of the same. esbecially with same build names, etc. they are hardware related though youre right, BUT when there isnt a certain path that directs to the driver to read the bluetooth chip the system software will use a default value, which Is the issue im running into with cm9. and cm7. havent flashed a cleean gb yet but probably willl try later today
Yep. I have the same one... weird.
Sent from my SPH-D700 using Tapatalk
marcusant said:
Yep. I have the same one... weird.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
I've been looking and noticed it's across multiple devices, even tablets. Very odd and the only solution so far that I know of is using the bdaddr and hciconfig(?) in terminal emulator. The changes dont stick past a reboot though. If there is anyone who wants to try it on a stock gb rom and report back thatd be great.
Open Terminal Emulator then type the following list below
su
bdaddr [new bluetooth address] && hciconfig hci0 reset
Click to expand...
Click to collapse
I believe this only works with cm7 and earlier gb roms. Correct me if I am wrong.
This is crappy, I don't Bluetooth to my wife's phone very often but I guess I won't be at all.
Sent from my SPH-D700 using Tapatalk
a454nova said:
This is crappy, I don't Bluetooth to my wife's phone very often but I guess I won't be at all.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Lol and then she wonders why you have her phone for 3 hours and you tell her youre trying to fix bluetooth!(same here )
i posted a bug ticket in the OP if anyone should have the same bt address it definantly should be addressed.
I think this is a Cyanogenmod thing, because my phone always has one mac on either CM rom, and a different one on stock roms. I think my CM mac is the same as the one listed in the OP.
The commands mentioned above could be made to reapply on boot with a startup script, perhaps in init.d (the best option that I'm aware of, but I'm not as familiar with linux-style startup scrips)
Sent from my SPH-D700 using XDA
styles420 said:
I think this is a Cyanogenmod thing, because my phone always has one mac on either CM rom, and a different one on stock roms. I think my CM mac is the same as the one listed in the OP.
The commands mentioned above could be made to reapply on boot with a startup script, perhaps in init.d (the best option that I'm aware of, but I'm not as familiar with linux-style startup scrips)
Sent from my SPH-D700 using XDA
Click to expand...
Click to collapse
Ill try this in the morning and get back to everyone. Ill see if someone can get a flashable or something up. Thanks for the idea.
EDIT: no luck the only workaround I see is use a stock ROM. And the cwm temp boot won't work as well. Lol
I wonder why cm wont look at the hardware drivers, besides the mac address is built into the card. hmm
This is an issue with our Epic CM Port.
1. It is not responsible for any issues you might be having with bluetooth.
2. Fixing it just requires mounting our EFS and reading the bdaddr entry for the MAC address like the other Galaxy S ports do.
The generic MAC address you see is an Android default one.
I posted a fix to this here: http://forum.xda-developers.com/showthread.php?t=1598529

Anyone got Droid VNC Server working and able to view from PC?

I've got Droid VNC Server up and running on my Nexus 7 but when I open a RealVNC viewer from a Windows 7 PC I get a scrambled display. I've tried all of the display settings on the VNC Server on the Nexus but none seem to work.
Has anyone managed to get this working on the Nexus?
I think this indicates a bug getting the screenshot, it's most likely the pixel buffer length is different from the display width.
I will send you a private message for another app that works.
itm said:
I've got Droid VNC Server up and running on my Nexus 7 but when I open a RealVNC viewer from a Windows 7 PC I get a scrambled display. I've tried all of the display settings on the VNC Server on the Nexus but none seem to work.
Has anyone managed to get this working on the Nexus?
Click to expand...
Click to collapse
Hi guys -
Firstly Happy New Year to you all
My uncle has a Nexus 7 and I would like to remote control it from my pc incase he gets into difficulties etc ... any ideas on the best app for this?
thanks in advance :0)
Ian
As far as I know, only our app, VMLite VNC Server, supports Android 4.2 at this point, you can try it, but it's not free, available from google store.
ianfitzgibbon said:
Hi guys -
Firstly Happy New Year to you all
My uncle has a Nexus 7 and I would like to remote control it from my pc incase he gets into difficulties etc ... any ideas on the best app for this?
thanks in advance :0)
Ian
Click to expand...
Click to collapse
huisinro said:
As far as I know, only our app, VMLite VNC Server, supports Android 4.2 at this point, you can try it, but it's not free, available from google store.
Click to expand...
Click to collapse
Not working on the Nexus 7 - both server and VNC viewer client hang.
can you email? We have many users using Nexus 7 and works well, so I will work with you to make sure it works, might be some configuration issue.
itm said:
Not working on the Nexus 7 - both server and VNC viewer client hang.
Click to expand...
Click to collapse
+1 to this, I've tried just about every VNC server app out there and none have worked so far on the N7 running 4.2. Really would like the ability to have control from the PC. I always have my phone up on the desktop when using it. So much easier than having to look at it to answer messages.
Did you try our paid app, vmlite vnc server? People are using it on N7 with Android 4.2, works very well and we tested it on daily basis.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
IIIIkoolaidIIII said:
+1 to this, I've tried just about every VNC server app out there and none have worked so far on the N7 running 4.2. Really would like the ability to have control from the PC. I always have my phone up on the desktop when using it. So much easier than having to look at it to answer messages.
Click to expand...
Click to collapse
huisinro said:
Did you try our paid app, vmlite vnc server? People are using it on N7 with Android 4.2, works very well and we tested it on daily basis.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
Click to expand...
Click to collapse
The need to hook up the tablet to a PC with a USB cable after every reboot to restart the server means this isn't a great solution even if it can be made to work on the Nexus 7.
huisinro said:
Did you try our paid app, vmlite vnc server? People are using it on N7 with Android 4.2, works very well and we tested it on daily basis.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
Click to expand...
Click to collapse
itm said:
The need to hook up the tablet to a PC with a USB cable after every reboot to restart the server means this isn't a great solution even if it can be made to work on the Nexus 7.
Click to expand...
Click to collapse
I noticed it but as the above user stated. It's too inconvenient having to connect to a pc to start it. Defeats the whole point of having it. Can easily mirror the device when it's tethered to the PC. If just like standard VNC server to work with 4.2 as it used to.
You have to root the device if you don't want to hook USB cable to pc to start it, then you can just press start/stop button. For non rooted device, you hook the phone to the pc, press a button to start the server, then disconnect the phone from the pc. You can remote to the phone afterwards as long as you don't power it off. In other words, once server started, no need at all to connect the phone to the pc.
My phone is not rooted, and seldom powers off, so I do this perhaps once a month, then you disconnect the phone from pc, which is not bad at all, just like a user would use USB cable to do data transfer. I don't know why it defeats the purpose, a few thousands of users are happy with it.
IIIIkoolaidIIII said:
I noticed it but as the above user stated. It's too inconvenient having to connect to a pc to start it. Defeats the whole point of having it. Can easily mirror the device when it's tethered to the PC. If just like standard VNC server to work with 4.2 as it used to.
Click to expand...
Click to collapse
huisinro said:
You have to root the device if you don't want to hook USB cable to pc to start it, then you can just press start/stop button. For non rooted device, you hook the phone to the pc, press a button to start the server, then disconnect the phone from the pc. You can remote to the phone afterwards as long as you don't power it off. In other words, once server started, no need at all to connect the phone to the pc.
My phone is not rooted, and seldom powers off, so I do this perhaps once a month, then you disconnect the phone from pc, which is not bad at all, just like a user would use USB cable to do data transfer. I don't know why it defeats the purpose, a few thousands of users are happy with it.
Click to expand...
Click to collapse
I can confirm that my machine is rooted but this didn't work as you described when I tried it. Neither the PC nor the button on the Nexus screen would start the server. Only had 15 mins to try it before getting a refund but it certainly wasn't plug-and-play
Thanks, that must be a bug, no wonder you mentioned a hang on device, if we found su binary, it will wait for 30secs to try the root way of starting the server, but somehow didn't work out on your device. What method did you use to root your device?
If you email to me, will try to send you debug version to test.
Which version of our app did you try? anything before v1.1.6 may have more issues on this.
itm said:
I can confirm that my machine is rooted but this didn't work as you described when I tried it. Neither the PC nor the button on the Nexus screen would start the server. Only had 15 mins to try it before getting a refund but it certainly wasn't plug-and-play
Click to expand...
Click to collapse
I also tried and is the same as all other vnc servers, just won't work. I am also rooted, the devices i use and ROMs are in my signature.
That's interesting and weird, seems Nexus 7/10 (Android 4.2) differs from person to person? We do have other customers successfully run our app on 4.2. I can debug with you if you like to.
IIIIkoolaidIIII said:
I also tried and is the same as all other vnc servers, just won't work. I am also rooted, the devices i use and ROMs are in my signature.
Click to expand...
Click to collapse
Trying to run on a galaxy s3 clone, seems quite good compared to the other free VNC server, all but 1 just didn't work.
Have problems with keyboard, nothing sent from buffer until leftmouse clicked
any suggestions?
occasionally get message saying server stopped, but it's still running
seems to disable softkeyboard on android device, any option to prevent this
F4 can cause rotation - stop server OR crunch
VNC on Nexus 7
Hi,
I have been trying to use Fast Droid and Droid VNC on Nexus 7 but it always results in a scrambled image on a VNC viewer. I have tried various viewers, both on a Windows and Linux PC. Did anyone got the VNC working on Nexus 7?
Interestingly when I use "adb screenshot" command on my Nexus 7, I get the same scrambled image as what I see on the VNC viewer.
I got scramble image too ..
anyone have the solution ?
thx :good:
No VNC servers work
droid VNC Server
Pixel Beta
VNC_server
VNC Server Ultimate
None of these work with my rooted VZW SGS3.
Tough to believe that there is no working VNC server.

How to make tmobile NOT see your tethering

im on android 5.1, but this worked pre 5.1 as well. all i did was add this one line to my build.prop and tmobile does not see my wireless tethering.. add the line, save it, reboot for it to take affect. im also using the wifi tether router app for my tethering. but should work on the default option as well. i use tmobile, so cant say if it works with other providers.
net.tethering.noprovisioning=true
I use the tether_dun_required hack.
this way seems much easier to me
simms22 said:
this way seems much easier to me
Click to expand...
Click to collapse
please post step by step instructions on how to do so? what program do i use to edit the build.prop
emd2009 said:
please post step by step instructions on how to do so? what program do i use to edit the build.prop
Click to expand...
Click to collapse
any ROOT file explorer should work, i use the Root Explorer app. i locate the build.prop in /system/build.prop/, long press on it, press open in text editor, it tells me that the current file system is read only, then asks if i want to remount as read-write, i press yes, i add that line to the bottom, press save, then i reboot for it to take affect.
simms22 said:
any ROOT file explorer should work, i use the Root Explorer app. i locate the build.prop in /system/build.prop/, long press on it, press open in text editor, it tells me that the current file system is read only, then asks if i want to remount as read-write, i press yes, i add that line to the bottom, press save, then i reboot for it to take affect.
Click to expand...
Click to collapse
Certain things don't work still. Mainly PSN and for some reason yahoo. Both redirect to the upsell page when at the tether limit
Sent from my Nexus 6 using XDA Free mobile app
Nice
Topsnake said:
Certain things don't work still. Mainly PSN and for some reason yahoo. Both redirect to the upsell page when at the tether limit
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
Like PS3 and PS4?
inick73376 said:
Like PS3 and PS4?
Click to expand...
Click to collapse
Yeah, That's what usually happens with both PlayStation consoles. When you connect and do a "test connection" on Playstation3/4 both would connect but when "connecting" PSN you would get an error. Most like would be 30696-4 because I got that ALL the time. But then my brother just caved and added a 7-day data pass 1/GB data mobile hotspot and immediately it worked. I was trying with VPN's and various DNS's and nothing was working for me, unless I chose some bad VPN's. But anyways, my data should be resetting for the month and going back to 5GB in a few days. Hopefully by then something would come up, but if not... it's alright I guess. Someone will eventually figure it out.
You have the same problem I HAVE! If you ever find a answer please PM me on here.

Categories

Resources