[Q] Busybox telnet [Solved] - Thinkpad Tablet General

I notice that telnet isn't able to resolve IP addresses from host names while ping can, is this normal? I've even set up these hosts in the /etc/hosts file and also added a /etc/resolv.conf file to no avail.
Version of BB is 1.19.4 but version of BB telnet is 1.17.1, don't know if that matters or not.
Edit: Solved by uninstalling then reinstalling BB

Related

HTC Hero - Install Security Certificate for Exchange Server

I have two security certificates that I need to install on an HTC Hero in order to sync with an exchange server. I transfered them to the device using a different email account with no trouble. I had to download the "astro" file manager in order to then access the certificates, but when viewing them, the file manager does not know what to do with the files.
I cannot find any sort of "certificate manager" or anything like that on the device. Does anyone know how to actually install the certificates?
thanks
cpenticuff said:
I have two security certificates that I need to install on an HTC Hero in order to sync with an exchange server. I transfered them to the device using a different email account with no trouble. I had to download the "astro" file manager in order to then access the certificates, but when viewing them, the file manager does not know what to do with the files.
I cannot find any sort of "certificate manager" or anything like that on the device. Does anyone know how to actually install the certificates?
thanks
Click to expand...
Click to collapse
As far as i'm aware, certificates only works on mobile windows... no other mobile OS.
n.steenbergen said:
As far as i'm aware, certificates only works on mobile windows... no other mobile OS.
Click to expand...
Click to collapse
I have had to install these on Blackberries and they installed fine.
So with Android, certificates are not required?
*edit
I just realized there was a HTC Hero forum... I didn't see it when I posted initially, so I posted here since the Click runs Android.
My apologies
The security certificates also work on the Palm Pre for Exchange syncing.
My Sprint Hero has recently stopped syncing with Exchange and it's giving me security certificate errors now:
"There are problems with the security certificate for this site.
This certificate is not from a trusted authority."
Oddly it used to work, and nothing has changed on the Exchange 2003 SP2 server.
Does anyone know the answer to this??
chnzshyguy said:
Does anyone know the answer to this??
Click to expand...
Click to collapse
Android root certificates are stored in /system/etc/security/cacerts.bks
I found a programm which ca update the keystore : portecle
http://portecle.sourceforge.net/
i've to pull the cacerts on your PC (u need java 6) adb pull ../..
then update wtih protecle : run portecle.jar
an push the fil again adb push ../...
A+
Jpq
(Mind the bump)
Is there an adb daemon installed on the HTC Hero, or will I have to push one on there somehow, to allow me to copy files to and from the phone?
And when I hooked one of these things up to my PC, XP reported it as a USB mass storage device and not a composite device. It didn't have a memory card, so it showed up as a removable drive with no disk in it. Or can I use the Android USB driver for Windows in place of usbstor to get access to the phone's own file system?
My carrier says I can hack the cacerts.bks file without violating their terms of service. Now I just need a way to get to it. Hopefully I can copy over it without having to root the phone.
gordonf4xda said:
(Mind the bump)
Is there an adb daemon installed on the HTC Hero, or will I have to push one on there somehow, to allow me to copy files to and from the phone?
My carrier says I can hack the cacerts.bks file without violating their terms of service. Now I just need a way to get to it. Hopefully I can copy over it without having to root the phone.
Click to expand...
Click to collapse
adbd should be there, to connect you need to enable checkbox in Settings->Applications->Development->USB Debugging
Nforce25, Thanks: I found the setting and can run adb on the phone. No root access, but if I have read/write access to the certificate store I won't need it.
Just typing 'su' gives me 'permission denied,' but I'll try to avoid rooting the phone.
Importing certificates manually
Android root certificates are stored in /system/etc/security/cacerts.bks
I found a programm which ca update the keystore : portecle
[ .. .. his link here .. ..]
i've to pull the cacerts on your PC (u need java 6) adb pull ../..
then update wtih protecle : run portecle.jar
an push the fil again adb push ../...
A+
Jpq
Click to expand...
Click to collapse
Hey there, nice work finding that out!
Now that i have my cacert imported inside the cacerts.bks i may try tomorrow if the wpa_supplicant will detect it, thus making it selectable for the wifi connection of my university. Keep ya posted.
Thanks.
Need your help with HTC sync and Certs..
Hello All,
I have looked for the certs on my phone using asto but I do not have them, which might explain why I am unable to setup my work email again. It was working before. Can someone help me find a way to fix this? I am able to use yahoo, gmail and hotmail but not my work email. using active sync gives me an error: Failed to create account. Please try again later. I was able to use it before but i messed something up. Any help appreciated. Thanks
EM
Hey Guys.
i managed to put my personal certificate in the cacerts.bks.
im now having trouble putting the file back into the andriod phone.
im getting "read only" error when trying to "adb push" the file back and "read only" error when trying to chmod the cacerts.bks file on the device (so i will be able to replace it with the new one) - im with the root account.
maybe i need to change the directory security? (system/etc/security)
im a noob at linux/unix (just rooted the phone yesterday)
any help will be great!
thanks ahead and sorry for my English,
Lior.
Try adb remount before any other command.
You can use a file manager as QTADB or android commander to do operations like copy, delete, rename etc from a graphical interface.
i tried from connectbot on the device
i tried using adb shell with superuser access
buth gave me "read only file system"
i even tried creating a folder in "system\etc\security" with astro file manager and got "no permission"
i am not familiar with that file system - do i need to change "security" directory permission before file permission?
EDIT: i checked mounting on the device and one of the mounts is:
/dev/block/mtdblock7 /system yaffs2 ro 0 0
as i understand, "ro" is read only?
so i cant write to this mount?
im afraid of unmounting it so my device won't stop working.
EDIT2: i tried adb remount
got: remount failed: Operation not permitted
EDIT3: managed to make the mount RW by using the command:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock7 /system
EDIT4: (more as progress status)
"chmod 777" on the cacerts.bks file
and
"adb push cacerts.bks /system/etc/security/"
WORKED!!!

[q] cisco vpn for galaxy tab

HI,
Somebody now of a VPN client compatible with cisco Altiga concetrator ?
I need to connect the tab to our corporate network, and we use the standard cisco vpn client on PC, any similar software for the Galaxy tab ?
It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.
Perion said:
It appears that int VPN client that comes with the Tab is missing a level of authentication needed for a Concentrator. I'm currently looking through everything I would need to get openVPN up and running on the Tab, but it's not going to be a straightforward process. If I have any success, I'll update here.
Click to expand...
Click to collapse
any luck on this? I am having the same issues connectiong to Cisco IPSec VPN
It works with some tweaking. Look here
http://forum.xda-developers.com/showthread.php?t=820909
Sent from my GT-P1000 using XDA App
I have successfully connected by Tab to Cisco VPN appliances using the VPN Connections app and the tun.ko module from the thread linked to in post #4. The only real issue I've seen with this setup is that when you disconnect the VPN tunnel it leaves the IP stack (possibly just the DNS config) in a confused state and you need to bounce your networking to get it back straight.
I am having the same issues connectiong to Cisco IPSec VPN
I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App
jkhouw1 said:
I connect to our cisco vpn using tun.ko file and vpn connections as well.
Have not had any issues with ip stack our dns being left in a confused state...
I will post a write up of what I did if I get time later... But basically it was:
Root
Install busybox
Copy tun.ko to system/lib/modules/tun.ko
Install vpn connections
Enter ipsec gateway,ipsec id,ipsec pwd,uname,usrrpwd
Done.
Same procedure worked on my droid one (with a different tun.ko)
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
I rooted my phone (z4root)
installed busybox
Got tun.ko but there's no "modules" folder in system/lib + the system folder is sort of write protected (I can't create new directories and all)
(I used Astro file manager)
I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App
Still no clue
First off, I'd like to appreciate your help.
The issue still exists! Using root explorer I created the directory and placed the file (tun.ko) in it but I still get the same error message after setting my VPN connection up (Server hung up. Unable to connect to the server due to firewall. Try again?)
Any idea?
BTW, how and where can I use/download the terminal?
Thanks in advance
jkhouw1 said:
I created the modules subfolder
You need to mount /system as rw.. I use root explorer instead of astro and it has a nice feature built in to mount rw ro I didnt see in astro
You can do it from terminal as well
#su
#mount -o remount,rw -t rfs /dev/block/st19 /system
Then when done remount as ro
#mount -o remount,ro -t rfs /dev/block/st19 /system
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
This really helps. I am able to copy the tun.ko to that folder. Hopefully it will be loaded automatically next time when I reboot. Before I have to manually run the command every time I reboot.
insmod tun.ko
Hi,
I've got Galaxy Tab and I have done the tun.ko and the busybox, and the insmod, and link for ifconfig and route.. lsmod shows tun.
my vpnc connects, says connected and stays connected.. But I cannot reach anything int he vpn network.. if I do "ip link show"... kind of like doing ifconfig -a on linux, I can see the tun interface, but it's down.
openvpn by the woy, works ok... I can connect and routing works.. Any help would be great.
Thanks,

Ftp client permissions error

I have recently been uploading files with my phone using an ftp client app. Yesterday I was able to upload about a gig without any problems. Now today whenever I try to upload something it says transfer failed check your permissions. I have tried a total of four ftp client apps, fixed permissions with rom manager, and even used a terminal emulator to chmod 777 all the files. No matter what I try I still get this error. Is this a server problem? Or is there something else I can try?

[Q] How do i Install Openvpn on Lenged?

Hi,
I tried for hours but cannot get OpenVPN to run or install.
I have the Blayo 0.8.4 Rom installed and know that
ifconfig is in
/system/xbin/ifconfig
and tun.ko is located in
/system/lib/modules/tun.ko
When i run the OpenVPN installer from the market it asks me where to put the files and asks for Superuser permission - but when the app wants to do the copying the phone hangs and does a reboot.
The OpenVPN Library File i used is from here (Sorry its German):
http://www.android-hilfe.de/anleitungen-fuer-motorola-milestone/28392-how-openvpn-auf-dem-milestone.html#post321528
So can anybody help me to get OpenVPN running?
I sadly cannot use the preinstalled VPN methods, because my University Wlan only supports Cisco-VPN or OpenVPN Method.
I thought it might be the problem that OpenVPN installer cannot write to the system Partition -- so i opend a local Terminal in ConnectBot and typed
aufs --enable
But there i get the Message:
Enabling Read-Write /system overlay
/data/local/dosysoverlay: Permission denied
Please reboot your phone for changes to take effect
But after a reboot the OpenVPN installer still doesn't work...
I hope someone has a idea or solution to my problem!
Thanks a lot!
Try enabling system overlay via Terminal Emulator or ADB.
Sent from my HTC Legend using XDA Premium App
You need to su to gain root privileges before executing aufs. Or use adb shell which already has root privileges.
Sent from my HTC Legend
Thanks a lot BlaYo!
I opened a local Session in ConnectBot
then i typed
su (I had to allow SuperUser Access!)
aufs --enable
And it worked!
Its me again -- the installation of OpenVPN works, but i cannot open a connection.
When i try to open the the Connection it asks for username and password,
But then it says:
cannot load ca cert /sdcard/openvpn/RRZE-ca.crt path (null)
I searched with google and found that maybe it is a permission problem, but
su
chmod 555 RRZE-ca.crt
still didn't help
chmod 777 RRZE-ca.crt
also didn't help...
i also edited the config File to
...
ca //sdcard/openvpn/RRZE-ca.crt
...
or:
ca /sdcard/openvpn/RRZE-ca.crt
or ca RRZE-ca.crt
it's alsways the same :-(
The Config files for my university's OpenVPN is here:
RRZE-ca.crt
RRZE-full-tunnel.ovpn
I appreciate every help or idea you might help!
Rename it to ca.crt and edit config file accordingly.

My dhcpcd file is missing

I was using usb_wwan and would run the following code.
dhcpcd usb1
setprop net.dns1 8.8.8.8
I used to be able to run this with no erorrs but now I get permission denied.
So the file is supposed to be located in the following /data/misc/dhcp/dhcpcd.pid but the data folder is empty.
I did delete the lease file at one point cause of the wifi issue, I am not sure if that would have any effect on it.
So how can I fix this or is there a why to get the files back?
Thanks in advance for the help.
I just whack a su before it, and it works fine.
As I've noted in this walkthrough for USB tether.

Categories

Resources