Accéder au contenu principal

With an iPhone jailbroken ios 4, how to setup tethering with ssh for free

Free tethering on iPhone with jailbroken IOS 4.0.1 and Ubuntu Linux. That is also possible on windows with putty.

I. Preparing the operation, setup of the necessary programs

1. Install openSSH with cydia then reboot the iPhone

2. Install sshfs to browse all the iphone files easily (sudo apt-get install sshfs)

3. Download the fixed terminal (step not necessary)
http://code.google.com/p/mobileterminal/downloads/list which is useful for changing the default password right on the iphone.

4. Get the iphone address in the wifi settings
(let's say it is 192.168.0.101)

5. Using sshfs, mount the iPhone filesystem :

mkdir myiphone && sshfs root@192.168.0.101:/ myiphone

6. Copy the unziped Terminal application in
/var/stash/Applications folder of the iPhone filesystem then reboot the iPhone

7. Change the default password (alpine). See : http://iphoneoverdose.com/2008/how-to-change-the-default-alpine-ssh-password-on-your-iphone/

II. Tether now!

1. Create an AdHoc connection on Ubuntu with the following parameters:
security 40/128 bit key (That is the maximal security setting I was able to set)
ipv4 : link-local only

2. Connect Ubuntu to that connection

3. Connect the iphone to the Ad Hoc connection

4. On the iPhone open a new safari page then return to the settings to note the ip address

5. On Ubuntu, open the terminal then enter : ssh -ND 9999 root@192.168.0.101

6. On Ubuntu open firefox then fill in the iPhone's IP address (which you memorized earlier) into the SOCKS Host field, and put 1080 as the port number. Make sure all other proxy fields are blank.

7. The proxy (the iphone) doesn't forward DNS, you will also have to change an advanced option in Firefox. In the Firefox URL bar, enter "about:config"In Filter, type "socks" and then double-click "network.proxy.socks_remote_dns" to make its value "true".

That's all! Viva Internet everywhere!

Commentaires

Posts les plus consultés de ce blog

Setting up Rust on Windows 10 with MSYS2 without installing Visual Studio

Setting up Rust on Windows 10 with MSYS2 without installing Visual Studio  1. Install MSYS2 2. Update MSYS2 and run : pacman -Sy && pacman -Syu  and install git and gcc: pacman -S git &&  pacman -S mingw-w64-x86_64-toolchain 3. Open the MSYS2 terminal and install the rust compiler with :  pacman -S mingw-w64-x86_64-rust You may stop here but you will miss the rustup package (which is not part of MSYS2) to manage the Rust compiler environment. To install rustup , follow the next steps. 4. Clone the rustup git repository :  git clone git@github.com:rust-lang/rustup.git --depth=1 5. Compile and run rustup: cd rustup cargo run --release 6. Once rustup detects the previously installed rust compiler and asks to uninstall it before you can continue. So, open a new MSYS2 terminal and uninstall rust :  pacman -R mingw-w64-x86_64-rust 7. Now back to the rustup terminal, choose yes to continue the installation. On the next question choose : custom installation and chose as host t

Installing Ubuntu 16.04 on an Alienware Aurora R5

Installing Ubuntu 16.04 LTS on an Alienware Aurora R5 with NVIDIA GPU support (Dual boot Windows) I have compiled these instructions from my succesful installation on Nov 25. Would you be happy to live without Windows? If not use Dual Boot. This procedure is inspired from this DELL support page : http://www.dell.com/support/article/uk/en/ukbsdt1/SLN301754/en You can refer to the link above for additional steps and to see useful screenshots. However, please, make sure to take care about the GPU-related  steps below. Re-installing Windows 10 with BIOS Secure Boot to OFF First, check that have only one disk installed in your machine. I have found that having one disk only makes it easier to re-install Windows. Secondly, an important step is to create two USB Recovery disks. Use two USB memory sticks bigger than 16 GB supporting the USB 3.0 standard (file copy will be much faster). Use the first one to create a recovery disk for Windows 10, as a backup if the installati

Installing Tensorflow with GPU support on Ubuntu 16.04

Installing Docker for running learning resources (eg Udacity MOOC) 1. Head to the Docker installation webpage and install Docker https://docs.docker.com/engine/installation/linux/ubuntulinux/ 2. If you have a large second HDD, you might want to make sure all the docker images you use are stored on the large disk to preserve your precious SSD space. For this, I found that creating a symbolic link to a new location on the second hard-drive disk worked best for me.   a. Make sure that the large hard drive disk is mounted automatically when booting the disk https://help.ubuntu.com/community/Fstab   b. Setup a symbolic link to a directory inside your large hard drive disk. Setting   DOCKER_OPTS  did not work for me, but the symbolic link method worked: https://forums.docker.com/t/how-do-i-change-the-docker-image-installation-directory/1169 Installing Python Anaconda 1. Follow the instructions here https://www.continuum.io/downloads 2. Download this python script (It will