PDA

Bekijk de volledige versie : Ipkg installation help needed



nszb
21-06-2006, 21:13
Hi!

I am absolutely newbie for Linux..
I bought a WL-500GP one week ago, and I installed oleg's firmware (WL500gp-1.9.2.7-7f-pre3.trx).

I want to follow this guide (http://www.macsat.com/macsat/content/view/22/36/) to install ipkg.

Everything was going ok until then I try to "Installing Basic Software"...

mkdir /opt/tmp < enter >
mkdir /opt/tmp/ipkg < enter >

This is ok, but...

ipkg.sh update < enter >

And then I have this error message:

[admin@(none) root]$ ipkg.sh update
head: illegal option -- 1
BusyBox v1.1.3 (2006.06.17-13:20+0000) multi-call binary

Usage: head [OPTION]... [FILE]...


What's wrong? Can you help me?

Thanks in advance!

nszb

britnet
26-06-2006, 20:02
Same for me, anybody who get it work?

REO
26-06-2006, 20:46
See : http://wl500g.info/showthread.php?t=5614
and in that thread follow the link to the mascat forum.

Greetings,
REO

britnet
27-06-2006, 09:15
The answer from the macsat forum (user ttsherpa):





cp /usr/bin/ipkg.sh /opt/myipk.sh

Edit myipk.sh

vi /opt/myipk.sh
and remove "-1" from 4 lines that end with "head -1"
save the file

wq


Now run

/opt/myipk.sh update
/opt/myipk.sh install ipkg

Continue with the rest

Oleg
27-06-2006, 12:20
Guys, -pre4 firmware should fix this problem. Have you tried using it?

nszb
27-06-2006, 18:06
First, thank you all of your support...

It works with pre4, so, now I have ctorrent installation problems (http://www.macsat.com/macsat/content/view/34/30/).


[admin@(none) root]$ ipkg install http://www.stud.uni-karlsruhe.de/~uz95/openwrt/ctorrent_1.3.4-dnh2-1_mipsel.ipk
Downloading http://www.stud.uni-karlsruhe.de/~uz95/openwrt/ctorrent_1.3.4-dnh2-1_mipsel.ipk
Installing ctorrent (1.3.4-dnh2-1) to root...
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: Cannot satisfy the following dependencies for ctorrent:
uclibc++ libopenssl


But how can I install uclibc++ and libopenssl? These packages aren't in the ipkg list..

I will post this reply to the another forum on macsat.com also.

britnet
27-06-2006, 22:38
First, thank you all of your support...


But how can I install uclibc++ and libopenssl? These packages aren't in the ipkg list..

I will post this reply to the another forum on macsat.com also.

Try to do following:

1.
ipkg install update
2.
ipkg install ctorrent

So all dependencies should be install automatically.

nszb
28-06-2006, 17:22
Oh, that works, thank you!
Next step.. I must learn to how to use ctorrent :p