Log in

Bekijk de volledige versie : ipkg update: error



ganx
21-07-2009, 20:48
Me again,

i'm trying to update ipkg, and get this error.

Anyone's got an idea how I can fix that..?

http://666kb.com/i/bauef53z2xgajstmy.gif

I just saw that an error "permission denied" is coming up, even if I try to install a pkg with sudo added.

http://666kb.com/i/bauffpcnxtx3wgg10.gif

Boah.. any ideas, anyone?

EdP
22-07-2009, 20:44
Had that sort of problem too on WL500gx, so I decided to rename admin to root and the problem went away.

ganx
23-07-2009, 09:48
Nice, thanks for that information, though I already found the right way to do it:

Steps for adding Optware packages

1. Log into the router via telnet or ssh using the same login credentials as the web interface
2. Become root
* sudo bash -l
* Supply your web password when prompted to become root
3. Copy the existing /opt directory to /shares/MYVOLUME1
* (cd /; tar cf - opt) | (cd /shares/MYVOLUME1; tar xf -)
4. Cycle power on the router with the front power button, log in and become root again by repeating steps 1 and 2 or execute:
* mount -o bind /shares/MYVOLUME1/opt /opt
5. Update the optware packages and descriptions to the latest
* ipkg update
* ipkg upgrade
6. Install additional packages as required using the ipkg command. A full list of all packages can be found here.
7. Modify /opt/etc/rc.local startup script as necessary to start them.

-------------------------------------------------------------------------

Here, the gold-worth link, that solved my problems:

http://wl700g.homelinux.net/index.php?q=node/21

Fullback
27-07-2009, 18:57
DUDE, I SKIPED THIS PART OF INSTRUCTIONS, AND I JUST WANNA THANK YOU!! I SPENT WEEKS AND TIRED 3-4 HARDDRIVES AND ALMOST ENDED UP GIVING UP. BUT THIS WORKED LIKE BEAUTY!

ganx
03-08-2009, 11:12
Hey man, how charming this helped someone other than me too! :D