Reply
Thread Tools
Posts: 7 | Thanked: 7 times | Joined on Aug 2013 @ ALBANIA
#991
Is it possible to reflash only harmatan on udiboot ?????

Last edited by mirjan79; 2013-12-17 at 11:13.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#992
Originally Posted by mirjan79 View Post
Is it possible to reflash only harmatan on udiboot ?????
Yes, of course.

In fact the first version of ubiboot I had only contained way to chainload different kernels, not to load any different OS'es.

You can use it just like that as is, you can just configure the G_OS<n>_NUM keys to be "0" for the OS'es you do not want to be shown any kernel listing.

If you'd like to have the menu just with Harmattan icon, that is also possible, but it requires a recompile of the CPIO (which itself is just a few minutes job...)
 

The Following User Says Thank You to juiceme For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#993
@taixzo
Here you go ...

Please have in mind I have working harmattan on p5, so you need to set ot to where ever your harmattan rootfs is. And I have my nit and firefox also on p5, so hopefully this will help and not confuse more.
Please omit all those echo changes
Attached Files
File Type: txt diff.txt (3.5 KB, 109 views)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#994
Help can't remember password here isn't it 'rootme'?:

root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
Warning: Identity file my_n9_identity not accessible: No such file or directory.
************************************************** ******
* Welcome to RM-696 ubiboot-02 maintanance console *
************************************************** ******

root@192.168.2.15's password:
__________________
OK
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#995
@Garp you should login as nemo, not root. password set in developer mode settings. to gain root you should use devel-su later.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#996
Just deleting earlier long story just telling:
To get root access in Ubuntu 12.04 (and maybe even 13.10?) in Ubiboot maintenance mode N9, just in Ubuntu Alt-F2 and key-in gksu nautilus then you have root access to all of it!
__________________
OK

Last edited by Garp; 2013-12-23 at 17:39.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#997
Originally Posted by coderus View Post
@Garp you should login as nemo, not root. password set in developer mode settings. to gain root you should use devel-su later.
@coderus, AFAIK @garp was trying to ssh into ubiboot console, not to Nemo/Sailfish (where the password is "nemo" in some versions...)

There's no password set for root in ubiboot, instead to use ssh/sftp to access ubiboot maintanance console, you need to use keypairs. (this is a security feature really)

To use ssh/sftp to access ubiboot maintanance console, you first have to make private&public keypair with ssh-keygen, then insert your public key into the G_SSH_AUTHORIZED_KEYS key in your ubiboot.conf.
Then, when logging into the device you need to use the private key, just like documented in your ubiboot.conf:
"ssh -i my_n9_identity root@192.168.2.15"



Originally Posted by Garp View Post
Just deleting earlier long story just telling:
To get root access in Ubuntu 12.04 (and maybe even 13.10?) in Ubiboot maintenance mode N9, just in Ubuntu Alt-F2 and key-in gksu nautilus then you have root access to all of it!
@garp, I do not quite follow up your logic here
Sure you need to create the keypair first, before engaging nautilus login...?
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#998
Originally Posted by juiceme View Post
@coderus, AFAIK @garp was trying to ssh into ubiboot console, not to Nemo/Sailfish (where the password is "nemo" in some versions...)

There's no password set for root in ubiboot, instead to use ssh/sftp to access ubiboot maintanance console, you need to use keypairs. (this is a security feature really)

To use ssh/sftp to access ubiboot maintanance console, you first have to make private&public keypair with ssh-keygen, then insert your public key into the G_SSH_AUTHORIZED_KEYS key in your ubiboot.conf.
Then, when logging into the device you need to use the private key, just like documented in your ubiboot.conf:
"ssh -i my_n9_identity root@192.168.2.15"


@garp, I do not quite follow up your logic here
Sure you need to create the keypair first, before engaging nautilus login...?
Problems started when updated Ubuntu 12.04 to 13.10 before no problem with Ubiboot, have changed "host key and identity keypair" in Ubiboot.conf and no problems!
Tried to change "host key and identity keypair" in 13.10 but no success back to 12.04 and now again 13.10 result right now:

root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
Warning: Identity file my_n9_identity not accessible: No such file or directory.
The authenticity of host '192.168.2.15 (192.168.2.15)' can't be established.
RSA key fingerprint is 81:12:12:b2:cd:a2:e1:b0:b1:ee:64:ea:b5:64:46:9d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.2.15' (RSA) to the list of known hosts.
************************************************** ******
* Welcome to RM-696 ubiboot-02 maintanance console *
************************************************** ******

root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Connection closed by 192.168.2.15
root@garp-Lenovo-B590:/home/garp#

Edit: After changing Ubiboot.conf "host key and identity keypair" again in 13.10, result:
root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
************************************************** ******
* Welcome to RM-696 ubiboot-02 maintanance console *
************************************************** ******

root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Permission denied, please try again.
root@192.168.2.15's password:
Permission denied (publickey,password,keyboard-interactive).
root@garp-Lenovo-B590:/home/garp#


Further by Alt-F2, command gksu nautilus you get root access in folder/files to all partitions: rootfs, home, Sailfish, Nemo
__________________
OK

Last edited by Garp; 2013-12-24 at 11:16.
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#999
Originally Posted by Garp View Post
......
root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
Warning: Identity file my_n9_identity not accessible: No such file or directory.
The authenticity of host '192.168.2.15 (192.168.2.15)' can't be established.
......
Could be this reason above ^^

Where do you have the private key "my_n9_identity" ?
when linux says "No such file or directory" it usually means you have not specified where to look for the file in question...

Now I am going to take a really wild guess and say it is in your .ssh/ directory, as that is the customary place to put keys into

So, the reason it works with Nautilus is that it goes and looks for the keys in the default ssh directory, and finds it there.

On command line, you should maybe try something like:
"ssh -i ~/.ssh/my_n9_identity root@192.168.2.15"
 

The Following User Says Thank You to juiceme For This Useful Post:
Posts: 697 | Thanked: 137 times | Joined on Jul 2012 @ Hillerød, DK
#1000
Originally Posted by juiceme View Post
Could be this reason above ^^

Where do you have the private key "my_n9_identity" ?
when linux says "No such file or directory" it usually means you have not specified where to look for the file in question...

Now I am going to take a really wild guess and say it is in your .ssh/ directory, as that is the customary place to put keys into

So, the reason it works with Nautilus is that it goes and looks for the keys in the default ssh directory, and finds it there.

On command line, you should maybe try something like:
"ssh -i ~/.ssh/my_n9_identity root@192.168.2.15"
See hole story in attachment!
Attached Files
File Type: txt Ubiboot_Ubuntu_13.10.txt (4.4 KB, 106 views)
__________________
OK

Last edited by Garp; 2013-12-25 at 16:18.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:41.