cm7 /system/xbin & #dropbear -D - Nook Touch General

This thread is informative with a question at the end.
Just to let you know there's plenty of useful binaries in the CM7 distro you can pull from system/xbin
including:
Code:
add-property-tag bash check-lost+found dbus-send hciconfig irssi lmptest opcontrol procmem rsync showmap su
agent bdaddr cpueater dexdump hcidump l2ping nano openvpn procrank scotest showslab tcpdump
attest btool crasher directiotest hcitool l2test nc openvpn-up.sh rawbu scp sqlite3 timeinfo
avinfo bttest daemonize dropbear hstest latencytop netperf oprofiled rctest sdptest ssh vfp-crasher
avtest busybox dbus-monitor dropbearkey htop librank netserver powertop rfcomm sftp-server strace vim
Unfortunately it seems dropbear doesn't include X11 or -D dynamic socks port forwarding(-D option), it's just not in the source ( http://talk.maemo.org/showthread.php?t=2991&page=2 ). And I haven't managed to get any other ssh client to work. Have you had any other luck with any ssh clients? I've tried:
- BTEP ssh (can't connect to update server)
- sshTunnel (gets confused with a password prompt that isn't standard for one time passwords)
The idea is to get OperaMobile to connect to 127.0.0.1:8080 via Opera:config. (OperaMini doesn't support this), then you have a secure connection when on openwifi.

Hi, I'm using SSH Tunnel, but with a local port, when I'm in the university, I only use it to connect to irc (localhost:1234)
Don't know about dynamic ports, hope you can solve it

Related

Finchsync via USB using synce under Linux

I finally managed to use FinchSync via USB on my Linux box (running Fedora 9, but with minor changes, it should work on all other systems as well). I have a HTC Herald, but it should work for all devices supported by synce. All information to do this is in the synce-wiki, and a lot of help was provided by Marc Ellis on the synce mailing-list.
USE THIS AT YOUR OWN RISK! BACKUP YOUR DEVICE! http://www.dotfred.net/default.htm
First, install synce as described in the synce wiki (which has instructions for several distros, including Debian, Ubuntu, Gentoo, Fedora, Mandriva, FreeBSD...) http://www.synce.org/moin/SynceInstallation
For Fedora, this means (must be done as root!):
Code:
yum install odccm
service odccm start
chkconfig --level 35 odccm on
yum install synce-sync-engine synce-gnome synce-kde synce-software-manager synce-trayicon librapi
yum install dkms
rpm -Uhv http://fedora.lowlatency.de/review/synce-dkms/synce-usb-rndis-lite-dkms-0.11-1.fc9.noarch.rpm
yum install synce-sync-engine
echo "blacklist ipaq" >> /etc/modprobe.d/blacklist
iptables -F
iptables -X
iptables -Z
Now, plug in the device, and as the normal user:
Code:
sync-engine &
create_partnership.py "Some Name" "Files"
IT WON'T WORK UNLESS YOU CREATE A PARTNERSHIP, even though we don't use this partnership for syncing. BEWARE: WINDOWS Mobile deletes all items associated with the partnership when you delete the parnership.
Now, DTPT shoulde be working, and you can reach the PC from the PPC as 169.254.2.2
The iptables commands above disable the Firewall completely. You may want do use a more sophisticated approach here.

Webtop Internet Without Custom APN/Wifi

Just recently fixed my webtop, and forgot for a few minutes how I was getting internet on it, sitting in class starting at the terminal It hit me sudo is your friend.
Requirements:
Some type of webtop terminal access
apt-get fix scripts
custom browser of your choice seamonkey, or chromium
now the funz from root terminal command prompt for webtop type:
export DISPLAY:=0
sudo (what ever custom browser name here eg, sudo chromium-browser)
this dose not need a custom apn so you should not get hit with a tethering warning through using this you just need your service provider active and your good to go surf away. I type this oist in class right now on webtop with not a single wifi access nearby. I have the old unlimited data plan. Basicly the internet restrictions pertain to adas user environment and not root I noted this in my webtop via vnc without hdmi guide that I was able to get seamonkey on the internet though Firefox dossn't work in root only adas, so just used the root in adas you get your internet simple as that. also would explain why apt-get and synaptic are able to download packages even while off wifi or a tethering plan.
Update
Oh it dose work with the stock browser too
If you use any custom dock you can also just add:
sudo (dock name eg. xfce4-panel)
to the edits used in the /osh/usr/local/bin/start-oshwt-1.sh file
and youll have constant webtop with internet access w/o tethering.
Not certain w/o testing, but you might just be working around the 'droid 3003 user group restriction on socket access.
Just for fun, try:
Code:
#sudo addgroup --gid 3003 inet
#sudo usermod -G inet -a adas
Then see if you can run your browser of choice (other than the moto firefox) without the sudo.
It is always best to avoid running as root when possible.

How to give access to eth0 to the browser?

After compiling and installing kernel 3.4.39 on SM-P600 (Galaxy note 10.1 2014), I can use my Ethernet over USB dongle, chip AX88772 (Asix).
It works normally, I can download iso files with the wget command on a console.
But, I CAN'T use browser (chrome and internet browser included in Android) to navigate on the internet.
eth0 is configured normally by ifconfig or dhcpcd.
I can see rmn0 and rmn1 also which have 0.0.0.0 address.
How to give access to eth0 to net applications?
I have no firewall installed on my device and the same dongle with the same ifconfig, linked to the same router work normally.
Most probable you will find the reason in http://forum.xda-developers.com/showthread.php?t=2112478
Chopac said:
After compiling and installing kernel 3.4.39 on SM-P600 (Galaxy note 10.1 2014), I can use my Ethernet over USB dongle, chip AX88772 (Asix).
It works normally, I can download iso files with the wget command on a console.
But, I CAN'T use browser (chrome and internet browser included in Android) to navigate on the internet.
eth0 is configured normally by ifconfig or dhcpcd.
I can see rmn0 and rmn1 also which have 0.0.0.0 address.
How to give access to eth0 to net applications?
I have no firewall installed on my device and the same dongle with the same ifconfig, linked to the same router work normally.
Click to expand...
Click to collapse

WebShell - SSH like shell using https connection

Hi,
as there's no ssh client on firefox os yet, I found some python ssl webshell, which can be launched on your server. Unfotunatelly it did not work with python 2.7 anymore, so i forked it and fixed it.
Shots of the firefox device running a terminal session and a link to my github repository can be found here: piie.net/index.php?section=firefoxos

YT3-X90F - SSH port forwarding on port under 1024 - BusyBox DropBear

Hey there,
I recently bought the Yoga Tab 3 Pro. Pretty thing, really good and easely root with your advices.
[YT3-X90F / Android 5.1 / Build S100330_160328]
Now I really want to do something specific, I want to : Connect with SSH on server with Port Forwarding on the port 80.
On Linux I just have to :
Code:
sudo ssh [email protected] -L 127.0.0.1:80:192.168.1.20:80
and it's OK.
On my tablet it's lot of more difficult.
That's what I already try :
1 - Juice SSH with port forwarding
2 - Install BusyBox and DropBear to run ssh command on terminal
1 - KO, it not seems to have fonction to ask root acces and so bind port under 1024 (Idem on Other SSH app from the Android Market)
2 - I'm a little lost with thoses library : I've receive the PIE error when i try to run ssh command "error: only position independent executables (PIE) are supported."
I read some thread (That i can't share with you because i'm newbies on XDA forum) but without succed to resolve myself the problem...
Anyone here as already succed to do something like that ?
Thank you in advance help !

Categories

Resources