Join Today
+ Reply to Thread
Page 5 of 10 FirstFirst 123456789 ... LastLast
Results 41 to 50 of 91
Like Tree10Likes

Thread: [APP] ekonsole for A1200

  1. #41

    Default

    Quote Originally Posted by m41d3n

    Can I uninstall this if I don't like it?

    Oh yes,one more question,can i mess something up in my phone with this tool?
    yes just delete the binary and it's uninstalled

    and about messing your system it's just the same as regular bash that comes with the phone, u can mess up with that too.

    a backup in MPT is always a good thing but not enough.

  2. #42
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default

    Quote Originally Posted by Snap
    mischka
    i don't know much about linux but you can try these things if you can telnet to u'r beloved A1200
    Start a telnet session and then
    1. back up all the files in /ezxlocal/home/root
    2. copy the attached files in root.zip to your /ezxlocal/home/root folder
    3. at console run these commands
    chown -R root:root /ezxlocal/home/root
    export HOME=/ezxlocal/home/root
    chmod go-rwX /ezxlocal/home/*

    IMP: if you use SSHD then DON'T replace your .ssh folder and files within the root folder with mine, leave those alone

    4. assuming you have copied the bash2 binary to /mmc/mmca1/bin/, type /mmca/mmca1/bin/bash2

    also bash2 should have permissions like this
    -rwxrwxr-x 1 root root 618468 Apr 16 16:48 bash2

    if you don't get any errors then bash2 works, try out "ls /etc" and you should see dir listing in color!

    and about eKosole, iam not sure but it could be your config file, attached is my config file for some pointers.

    BTW what firmware do u use?
    and hope I've not confused you by now.
    Ok, I have a hybrid fw from 24xp and 46p file system should be from 24xp.

    There is no folder /ezxlocal/home nor ezx_user/home . The only "home" folder I can find, is /home (root of phone mem) and it contains only one emty folder /home/native . That's kind of confusing, yes.


    What works is typing "/mmca/mmca1/bin/bash2" I get answer in blue: root #
    "ls/etc" gives me colered file/folder names


    I can live with that, it's far better than without bash2. Now I created the "/mmca/mmca1/bin/bash2" in commands menu and I can do this everytime after starting eKonsole, that's nice!


    All bash2 features work after that! Now I can move curser without writing (joistick left right), tab completion (tab key, above left corner) and command history (joistick up/down).

    How can I manage that eKonsole does this automaticaly at startup?

  3. #43

    Default

    glad u'r able to use bash2

    well the /ezxlocal/home dir was made when i setup sshd on my phone, now i remember it dosen't come by itself, i had made those folders.

    and about using bash2 by def in ekonsole, this is the only thing that i did and it works wonderful
    2. edit mmc\mmca1\.system\QTDownLoad\ekonsole\ekonsole.sh and replace
    the line
    export SHELL="/bin/bash"
    with
    export SHELL="/mmc/mmca1/bin/bash2"
    (Note: copy the ekonsole.sh to desktop, edit it and copy back to phone, i tried editing the file on phone directly and it turned 0 byte on save)
    worth a try and let us know if it works for u

    cheers

  4. #44
    Join Date
    Apr 2007
    Location
    53rB14
    Posts
    589

    Default

    I really don't get the use of this...

  5. #45
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default

    Ok Snap, already tried it and posted my result but I figured out the problem: It's my econsole.sh file that becomes corrupted!

    I obviously don't have the right editor
    If I edit/save the file with original path, eKonsole doesn't start either. If I look into the file, everything seems correct, looks like the original.

    Where can I download the correct editor for this? Or which one do you use?

    Or for a very quick help for others too: Can you upload your edited ekonsole.sh file?

    edit: I found metapad.exe that works for this
    edited the ekonsole.sh file copied it in eKonsole folder and eKonsole starts now.But still I have to execute /mmc/mmca1/bin/bash2 to let it use bash2

    Obviously my file isn't corrupted but there must be something else I have to change.

  6. #46

    Default

    Quote Originally Posted by mischka
    Ok Snap, already tried it and posted my result but I figured out the problem: It's my econsole.sh file that becomes corrupted!

    I obviously don't have the right editor
    If I edit/save the file with original path, eKonsole doesn't start either. If I look into the file, everything seems correct, looks like the original.

    Where can I download the correct editor for this? Or which one do you use?

    Or for a very quick help for others too: Can you upload your edited ekonsole.sh file?

    I use Metapad to edit files. You need to use the file type in preferences to UNIX.

    I use bash2 in A1200i but I need more libraries that did not come with the firmware (libncurses for exemple). I can submit the missing libs but I need first to isolate the required libs for bash2 because I use dozens of libs got from mkexz and other places.

  7. #47
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default

    Got it!!
    I have now edited the file (used Metapad):

    mmc/mmca1/.system/QTDownLoad/ekonsole/root/Settings/Konsole.conf

    and changed the line

    shell_bin = /bin/bash
    to
    shell_bin = /mmc/mmca1/bin/bash2

    and voila, eKonsole is starting and displays: root #

    Everything works now from the start and history is there even after closing and reopening eKonsole!
    This makes this app much more usable than with bash from firmware! It's a real console now just like the ones in other linux systems.

    Thanks for your help friends!

  8. #48
    Join Date
    Jan 2007
    Location
    Belo Horizonte, MG, Brazil
    Posts
    375

    Default

    Quote Originally Posted by mischka
    Got it!!
    I have now edited the file (used Metapad):

    mmc/mmca1/.system/QTDownLoad/ekonsole/root/Settings/Konsole.conf

    and changed the line

    shell_bin = /bin/bash
    to
    shell_bin = /mmc/mmca1/bin/bash2

    and voila, eKonsole is starting and displays: root #

    Everything works now from the start and history is there even after closing and reopening eKonsole!
    This makes this app much more usable than with bash from firmware! It's a real console now just like the ones in other linux systems.

    Thanks for your help friends!
    Thanks for the tip.
    It's now a real console.

  9. #49

    Default

    well, I seems that the only lib that is missing in A1200i is libncurses.
    here is libncurses.so.5 that is needed.
    I've also attached the Konsole.conf as suggested by mischka.

    If you don't know how to setup the lib here is a little guide (you need ekonsole working as a pre-requisite):

    copy bash2 to /mmc/mmca1/bin (create the directory if it does not exist)
    copy libncurses.so.5 to /mmc/mmca1/lib (create the directory if it does not exist)

    copy the attached Konsole.conf to /mmc/mmca1/.system/QTDownLoad/ekonsole/root/Settings

    copy the attached ekonsole.sh to /mmc/mmca1/.system/QTDownLoad/ekonsole

    Attention: these steps are only needed in A1200i (532L4... firmware).
    Attention: the attached ekonsole.sh needs libncurses.so.5 in the /mmc/mmca1/lib directory.
    Attached Files Attached Files

  10. #50
    Join Date
    Oct 2006
    Location
    Trinidad & Tobago
    Posts
    168

    Default

    Quote Originally Posted by CLOVIS KKK
    well, I seems that the only lib that is missing in A1200i is libncurses.
    here is libncurses.so.5 that is needed.
    I've also attached the Konsole.conf as suggested by mischka.

    If you don't know how to setup the lib here is a little guide (you need ekonsole working as a pre-requisite):

    copy bash2 to /mmc/mmca1/bin (create the directory if it does not exist)
    copy libncurses.so.5 to /mmc/mmca1/lib (create the directory if it does not exist)

    copy the attached Konsole.conf to /mmc/mmca1/.system/QTDownLoad/ekonsole/root/Settings

    copy the attached ekonsole.sh to /mmc/mmca1/.system/QTDownLoad/ekonsole

    Attention: these steps are only needed in A1200i (532L4... firmware).
    Attention: the attached ekonsole.sh needs libncurses.so.5 in the /mmc/mmca1/lib directory.
    This method also works for 53p
    Thanks!
    "If I am somewhere where no one knows me,
    And I also know no one,
    What I thought I'd do there was,
    I'd become one of those deaf mutes...
    "


 
+ Reply to Thread
Page 5 of 10 FirstFirst 123456789 ... LastLast

Similar Threads

  1. [APP] bash2 - ekonsole advanced
    By marcolnx in forum A1200 Applications
    Replies: 129
    Last Post: 04-14-2010, 07:08 AM
  2. Replies: 59
    Last Post: 07-04-2009, 08:56 AM
  3. Replies: 30
    Last Post: 12-21-2008, 06:13 PM
  4. ekonsole
    By sudeeshbabu in forum E6 General Chat
    Replies: 1
    Last Post: 08-22-2007, 04:11 AM
  5. Help with eKonsole!
    By farziilk in forum A1200 General Chat
    Replies: 2
    Last Post: 05-29-2007, 07:04 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1