Jump to content


Photo

linux tools coming to MCR

- - - - -

  • Please log in to reply
215 replies to this topic

#161
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero

So, having said that; the first action is to have opkg installed on your phone. To achieve this, download this specific opkg bootstrap opkg_bootstrap_v2.tar.bz2.zip ( 262.9K ) Number of downloads: 69


Please, please, please, use opkg as the first post clearly tells you to do.

By the way I have cleaned up the first post to remove all the old download links that are obviously dead links now.

  • 0

#162
TomaszG

TomaszG

    Newbie

  • Members
  • Pip
  • 7 posts
  • Devices:Samsung Galaxy S
Thank you, i didn't read whole post, I will try opkg <_<

  • 0

#163
Smilgs

Smilgs

    Newbie

  • Members
  • Pip
  • 38 posts
  • Location:Riga, Latvia
  • Devices:HTC Desire, HTC Hero
Hi. Have a problem with mc. zip for example installs just fine.
opkg install mc
Installing mc (4.6.2-1) to root...
Downloading http://freeasabeer.b...4.6.2-1_arm.ipk.
Collected errors:
* opkg_install_pkg: Package mc md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package mc.

  • 0

#164
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero
I've checked mc ipk on the server and its md5 hash is correct (e945354d5bcb75f43675c5734f36871d), so I suspect you just got a corrupted downmoad.
Could you try again the following sequence:
opkg update
opkg install mc

  • 0

#165
Smilgs

Smilgs

    Newbie

  • Members
  • Pip
  • 38 posts
  • Location:Riga, Latvia
  • Devices:HTC Desire, HTC Hero
Tried again - still same problem...

Could you try again the following sequence:
opkg update
opkg install mc


  • 0

#166
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero

Tried again - still same problem...

I have checked everything is ok on the server side. So it must be your download that gets corrupted at some point.
Do you have enough free space on the /data partition ?

  • 0

#167
Smilgs

Smilgs

    Newbie

  • Members
  • Pip
  • 38 posts
  • Location:Riga, Latvia
  • Devices:HTC Desire, HTC Hero
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.8M 0 95.8M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 145.4M 24.6M 86% /system
/dev/block/mtdblock5 165.8M 94.8M 71.0M 57% /data
/dev/block/mtdblock4 130.0M 1.3M 128.7M 1% /cache
/dev/block/mmcblk0p2 915.1M 41.3M 825.0M 5% /system/sd
/dev/block//vold/179:1 2.7G 1.1G 1.6G 39% /sdcard

I have checked everything is ok on the server side. So it must be your download that gets corrupted at some point.
Do you have enough free space on the /data partition ?


  • 0

#168
Andcr

Andcr

    Regular

  • Members
  • PipPip
  • 53 posts
  • Devices:HCT Hero (Euro)
I finally installed MCR 3.2 again and installed opkg and rsync this way
it works great

thanks again for all the hard work you put into this freeasabeer!

  • 0

#169
cowai

cowai

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:HTC Hero
My rsync can't seem to find anything on the web. (had to put the rsync ipk on the sdcard to install it)
But connecting to my server doesnt work? Is this the resolve thing?

  • 0

#170
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero

My rsync can't seem to find anything on the web. (had to put the rsync ipk on the sdcard to install it)
But connecting to my server doesnt work? Is this the resolve thing?

Yes most probably.
The resolv things get installed with the busysbox ipk.
Which MCR relase are you running ? My understanding was that Paul did include the right busybox with the resolv things in the official MCR 3.2. I will check then what Paul did really include (I still do run my own customized 3.2b5...)
EDIT: I've checked the official MCR 3.2 (the full update.zip) and it does include the resolv trick.

Edited by freeasabeer, 18 March 2010 - 08:57 AM.

  • 0

#171
cowai

cowai

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:HTC Hero

Yes most probably.
The resolv things get installed with the busysbox ipk.
Which MCR relase are you running ? My understanding was that Paul did include the right busybox with the resolv things in the official MCR 3.2. I will check then what Paul did really include (I still do run my own customized 3.2b5...)
EDIT: I've checked the official MCR 3.2 (the full update.zip) and it does include the resolv trick.


Sorry I was on VillainROM!

When I updated busybox with opkg offline from the sdcard everything worked well. Rsync installed and functions perfectly. I use it together with gscript (as an icon on my home screen) to backup my photos to my home server, very smooth!

I have an suggestion! What about having nano in your repo? That would have been great!

  • 0

#172
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero

I have an suggestion! What about having nano in your repo? That would have been great!

It's not there because it is already included in Paul's MCR !
Nevertheless I can make a ipk for nano so that people that do not have nano already included in their custom rom can easily add it.

  • 0

#173
cowai

cowai

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:HTC Hero

It's not there because it is already included in Paul's MCR !
Nevertheless I can make a ipk for nano so that people that do not have nano already included in their custom rom can easily add it.

Yes that would have been very much appreciated. Many people these days I think have upgraded to 2.1...

  • 0

#174
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero
Done! nano 2.2.3 packaged.

opkg update
opkg install nano

and tell me how things goes (I haven't tested the build....)

  • 0

#175
cowai

cowai

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:HTC Hero
Sorry the bother, but when I run /data/xbin/nano I get "Error opening terminal: unknown.".

  • 0

#176
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero
I don't have this issue...
I suspect it's once again an issue with your 2.1 rom which not well designed :)
Can it be that /init.rc lacks the TERMINFO definition ? If this is the case, then please add the following line:
export TERMINFO /system/etc/terminfo
at the begining of /init.rc along with the other "export foo" lines. You will need to tweak your custom rom to achieve this....
As an alternative you can also write a wrapper script to start nano that will export TERMINFO before launching nano.

Edited by freeasabeer, 26 March 2010 - 12:41 PM.

  • 0

#177
cowai

cowai

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:HTC Hero

I don't have this issue...
I suspect it's once again an issue with your 2.1 rom which not well designed :)
Can it be that /init.rc lacks the TERMINFO definition ? If this is the case, then please add the following line:

export TERMINFO /system/etc/terminfo
at the begining of /init.rc along with the other "export foo" lines. You will need to tweak your custom rom to achieve this....
As an alternative you can also write a wrapper script to start nano that will export TERMINFO before launching nano.


That gives me a "bad variable name".
terminfo is not listed in export. Got any tips?

  • 0

#178
cowai

cowai

    Newbie

  • Members
  • Pip
  • 32 posts
  • Devices:HTC Hero
"export TERMINFO=/system/etc/terminfo" works. But nano is giving me the same error :/

  • 0

#179
freeasabeer

freeasabeer

    Regular

  • Members
  • PipPip
  • 88 posts
  • Location:Paris, France
  • Devices:HTC Hero

"export TERMINFO=/system/etc/terminfo" works. But nano is giving me the same error :/

Villain ROM does not include terminfo stuff.
Please install the terminfo package, I will update the nano package tonight to add this dependency to terminfo.

  • 0

#180
Andcr

Andcr

    Regular

  • Members
  • PipPip
  • 53 posts
  • Devices:HCT Hero (Euro)
Hi again..

I installed VillaROM 5.0 which is a ported version of the CDMA Hero 2.1 ROM
I followed the steps from the first thread but get the following:

# /data/xbin/opkg install /sdcard/opkg_0.1.7+svn519-2_arm.ipk
Collected errors:
 * opkg_conf_init: Couldn't stat /data/local/opkg.conf: No such file or directory.
# /data/xbin/opkg install /sdcard/opkg_0.1.7+svn519-2_arm.ipk
Installing opkg (0.1.7+svn519-2) to root...
Existing conffile /data/local/opkg.conf is different from the conffile in the new package. The new conffile will be placed at /data/local/opkg.conf-opkg.
Configuring opkg.
# opkg update
opkg: not found
# su
# opkg update
opkg: not found

first it doesn't see the .conf file, then I create it and it says it isn't the same
did I do something wrong?

thanks in advance!
btw. if this works, what feed should I use for this rom?

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users