Install corkscrew on the N900

If you are trying to setup an SSH connection through an HTTP proxy, then you need corkscrew.

I know, almost every distribution provides it, but you have to build it yourself on the N900. Here the steps:

Add the SDK Maemo repository adding:

deb fremantle/sdk free

to /etc/apt/sources.list.d/hildon-application-manager.list.

Then update the list and install the build-essential meta package:

# apt-get update
# apt-get install build-essential

Download and extract corkscrew:

$ cd /tmp
$ wget
$ tar -xf corkscrew-2.0.tar.gz

Build it:

$ cd corkscrew-2.0
$ sh ./configure --host=armv7l-unknown-linux-gnu
$ make

Install it (default to /usr/local/bin/:

# make install

Make it executable:

# chmod 755 /usr/local/bin/corkscrew

Add /usr/local/bin/ to your $PATH:

$ echo 'PATH=$PATH:/usr/local/bin' >> /home/user/.profile

Easy, isn’t? :)

Tags: howtos, n900

By Andrea Scarpino on 2010-12-02