Reply
Thread Tools
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#11
Up we go... I dont want the thread to die... It could be usefull for many.
 
Hedgecore's Avatar
Posts: 1,361 | Thanked: 115 times | Joined on Oct 2005 @ Toronto, Ontario, Canada
#12
Could this be stickied? Or perhaps put into a tutorial forum that disallows new posts (even more work for ya Reggie)
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#13
Yea that would be a good idea.. I am working on more... I seen that most of the available wikis for the 770 are outdated so hopefully this makes it to sticky or tut section
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#14
How to use apt-get:

Note and WARNING:
You should only do this if you are very comfortable hacking on your 770… Messing this up will disable the application installer at the very least. Or even brick your N770.

To use apt-get you will need the following installed in your N770:

xterm


you must also have root acces. ( https://maemo.org/maemowiki/HowDoiBecomeRoot2 )

once xterm is installed you can call on xterm once xterm is up gain root acces.

Code:
login as: user
user@10.30.2.115's password:


BusyBox v1.01 (Debian 3:1.01-4.osso10-ipv6.etc1) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo su -
Password:


BusyBox v1.01 (Debian 3:1.01-4.osso10-ipv6.etc1) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia770-26:~#
Once you gain root you can call on apt-get.
Code:
Nokia770-26:~# apt-get update
By default apt-get is installed on OS2006 there is no further step required.
Here are a few commands that you will use in apt-get often.

apt-get -u update (Will look for all updates available to maemo in verbose mode)
apt-get --reinstall install packege.deb (Will reinstall the packegealready installed from the sources)
apt-get remove packege (Will remove the packege)
dpkg --install /path/to/package_name.deb (Will install a local packege)

Not that removing pkgs from the command line can be very dangerous and can cause your N770 to be very unstable.
TIP: When removing a pkg watch for the dependencies that are going out with it. Is very dangerous that you do as some dependencies are use by other packeges or system files and if remove you can brick your device.
TIP: I do not recommend to use apt-get (From CLI) to install a file from the souces.list but you can if you want too. If you are going too you are going to be required to transfer the GPG keys to the trusted keyrings for apt-get. Not all repos are required to have the GPG but maemo-hackers requires the GPG key if you want to use CLI. For more info please read http://wiki.debian.org/SecureApt#hea...a4bbe3ff6bb9dc

Note: if you are going to install regular packeges you dont have to worry about a GPG key you can just call on apt-get like so:

Code:
apt-get install kismet
The only repo that reuires a key is maemo-hackers.

Last edited by SeRi@lDiE; 2007-01-08 at 06:27.
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#15
I thought I share this with you guys... Today making the apt-get how to I manage to reneder the application manager unusable by doing a update from apt-get and the N770 rebooting in the middle of it. I know I was in deep trouble but I manage to re install the corrupted files wich was
Code:
lessertunjo0
now the aplication manager is working again. let this be a fine example on how things can go wrong to even those who are more experience.
Lesson learn today... Never trust the moment anything can go wrong at any time to anybody
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#16
For those interested GPG is available thru console.
 
sebastian.linux's Avatar
Posts: 91 | Thanked: 2 times | Joined on Jan 2007 @ Spain
#17
Hi, I'm interested in installing gpg, or openssl, but don't know how. Is it at any repository?

Is it as easy as apt-get gpg? Nevertheless I prefer to install things with the Application Manager. Am I correct by doing that? Is it more safe to install things with the AM? Or is it better from the x-term by apt-get?

Thank you.
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#18
gpg is natively install in OS2006 with DSA and RSA only no Elgama.

Here is a post on How To:
Note and WARNING:
You should only do this if you are very comfortable hacking on your 770… I am not responsible if you brick your 770.

I first ssh to the 770 since it gives me the room.

[FFuentes@Fedora ~]$ ssh -l user 10.30.2.115
user@10.30.2.115's password:

BusyBox v1.01 (Debian 3:1.01-4.osso10-ipv6.etc1) Built-in shell (ash)

Enter 'help' for a list of built-in commands.

~ $
Code:
 gpg --gen-key
gpg (stripped down GnuPG for OSSO) 1.4.2; Copyright (C) 2005 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.


Please select what kind of key you want:

(1) DSA and Elgamal (default)

(2) DSA (sign only)

(5) RSA (sign only)

Your selection?
Code:
2
DSA keypair will have 1024 bits.

(null) keys may be between 1024 and 4096 bits long.

What keysize do you want? (2048)
Code:
1024
Requested keysize is 1024 bits

Please specify how long the key should be valid.

0 = key does not expire

<n> = key expires in n days

<n>w = key expires in n weeks

<n>m = key expires in n months

<n>y = key expires in n years

Key is valid for?
Code:
 (0)
Key does not expire at all

Is this correct? (y/N)
Code:
 y

You need a user ID to identify your key; the software constructs the user ID

from the Real Name, Comment and Email Address in this form:

"Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

Real name:
Code:
Test
Email address: Comment:
Code:
GPG Key Test from Internet Tablet Talk
You selected this USER-ID:

"Test (GPG Key Test from Internet Tablet Talk) <test@here.com>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit?
Code:
 O
You need a Passphrase to protect your secret key.

Code:
password here
We need to generate a lot of random bytes. It is a good idea to perform

some other action (type on the keyboard, move the mouse, utilize the

disks) during the prime generation; this gives the random number

generator a better chance to gain enough entropy.

++++++++++++++++++++..++++++++++.++++++++++.++++++ ++++++++++++++.+++++.+++++.+++++.+++++++++++++++.+ ++++++++++++++++++++++++.+++++.+++++..++++++++++.. >+++++....+++++

Not enough random bytes available. Please do some other work to give

the OS a chance to collect more entropy! (Need 278 more bytes)
Code:
At this point open a text and just type a lot is going to take some bytes
gpg: /home/user/.gnupg/trustdb.gpg: trustdb created

gpg: key 46668EBA marked as ultimately trusted

public and secret key created and signed.

gpg: checking the trustdb

gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model

gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u

pub 1024D/46668EBA 2007-01-08

Key fingerprint = C0C8 B810 E8F8 3AAB 295F 5606 80B4 F37D 4666 8EBA

uid test (gpg key test for Internet tablet Talk) <test@here.com>

Note that this key cannot be used for encryption. You may want to use

the command "--edit-key" to generate a subkey for this purpose.

Note:
This is just a test i have not fully used gpg in maemo.

Last edited by SeRi@lDiE; 2007-01-09 at 07:18.
 
sebastian.linux's Avatar
Posts: 91 | Thanked: 2 times | Joined on Jan 2007 @ Spain
#19
This is great, I've just used gpg to encrypt and decrypt (with symmetric cipher only) some files.

Is there a way to securely delete files available (like shred, or wipe)?

Salut.
Sebas.
 
SeRi@lDiE's Avatar
Posts: 919 | Thanked: 37 times | Joined on Aug 2006 @ /dev/null
#20
No. no shread and no wipe this is a strip down version of GnuPG.
At least I have not try it.
Report your out put if you do.

Last edited by SeRi@lDiE; 2007-01-09 at 07:16.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:37.