Bekijk de volledige versie : No ipkg binary in Oleg's firmware
nerodark
16-08-2005, 23:51
This is just simply strange!
I have flashed my Asus WL-500gx with the Oleg's latest firmware (1.9.2.7-6b) and there is nothing included to add packages. Everybody in this forum is talking about adding thttpd, vsftpd, etc but how can you add them if ipkg isn't present in the router.
I heard some people talking about "ipkg.sh", if anyone could point out a link for me in a reply, it would be nice!
I think this firmware is currently too limited for the moment, but for sure I'll be glad to wait for the next release :)
Thanks in advance for your replies.
brimstone
17-08-2005, 01:44
i ran into this same problem setting up my router/wewtbox
setup something to handle your /opt partition, usb key, harddrive, what have you.
then run
ipkg.sh update, then
ipkg.sh install ipkg
then run
ipkg update and you're good to go
anarchist
17-08-2005, 02:23
http://www.macsat.com/ipkg.php?PHPSESSID=cbb1d6b2ce39d8659fbf74fa1aa527e b
nerodark
17-08-2005, 03:00
I agree with all this stuff but where do I finally get that ipkg.sh script. I have been looking in all the bin folders, didn't find it.
nerodark
17-08-2005, 03:03
Nevermind guys I found it I didn't know I was that dumb lol
To this Comant i get a failure "ipkg.sh install ipkg" :
mkdir: Cannot create directory `//opt/tmp/': Read-only file system
What to do ?
And how to create the esmtprc file and how to edit though telnet ?
Thx in front
Now i use this command to install:
mount -t ramfs ramfs /opt/
ipkg.sh update
ipkg.sh install ipkg
ipkg update
ipkg install esmtp
But how can i configure the esmtp ?
I want to do this but how ?
http://wl500g.info/showthread.php?t=2494&highlight=email
Lol Sky, you've just installed the optware in your ramfs (which will be destroyed on reboot or poweroff). You need to add some sort of storage device to your router (HDD or USB stick) for this to work properly.
- Add the usb storage device
- Reboot
- Goto /tmp/harddisk and create a directory called 'opt'
- Add mount /opt to your post-mount script
- Save the settings using flashfs save and flashfs commit
- Reboot
- Install ipkg and move on from there
Hmm, you probably don't have an post-mount script yet, so I'll tell you how:
- Goto /usr/local/sbin/ (Create any missing directory if nessesary)
- Create the post-mount script using vi (use google to find a manual for vi, it is rather tricky)
- Type the following code in the post-mount script:
#!/bin/sh
mount -obind /tmp/harddisk/opt /opt
Who said that tinkering with a linux router was easy ? ;)
Oh and another thing: I've written a HowTo once for this: http://webtools.wl500g.info/wiki/doku.php?id=docs:howtoipkgonasus
OK thanks for your detailed answer.
My tinkering´with Linux is not so good.
So are there an easyer way to send Web Cam Alert Pictures to an Email Server - possible with User and Password ?
I test this settings and the System Log tell me, that an Alert Email has been send. But nothing there. Also i have installed an Email Server on my PC with anonymous rights, but the Router dont send anythink ?
http://insel.heim.at/madeira/341346/bilder/alert.jpg