Hello,
I just bought a WNR3500L and put dd-wrt on it. I would now like to install programs such as screen and nano. jffs is enabled and I am able to update ipkg package list. However, everytime I try to install a program it fails.
root@DD-WRT:~# ipkg install screen
Downloading http://downloads.openwrt.org/whiterussian/packages/libncurses_5.2-7_mips... ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Done.
Unpacking libncurses...Done.
Configuring libncurses...Done.
Downloading http://downloads.openwrt.org/whiterussian/packages/screen_4.0.2-1_mipsel... ...
Connecting to downloads.openwrt.org (78.24.191.177:80)
Done.
ipkg_install_file: ERROR: screen depends on the following uninstalled programs:
libncurses
ipkg_install_file: You may want to use `ipkg install' to install these.
ipkg_get_install: ERROR: Failed to install /jffs/tmp/ipkg/screen_4.0.2-1_mipsel.ipk
ipkg_get_install: I'll leave it there for you to try a manual installation
No package is left at "/jffs/tmp/ipkg/". I have tried manuallly downloading with wget and installing it with the same result.
Is this a general problem with dd-wrt on WNR3500L, or am I doing something wrong
Any help will be appreciated, thank you in advance :)
I have the same problem.
Which version of dd-wrt are you running? Is here enough free space?
I initially flashed my WNR3500L with dd-wrt.v24-13575_NEWD-2_K2.6_mini-WNR3500L.chk and later upgraded.
I have set up optware as described here:
http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way
and external storage as described here:
http://www.dd-wrt.com/wiki/index.php/How_to_-_Format_and_Partition_Exter...
Installing screen as a test gave no errors.
sorry, double post, please delete this one.
Well, spoke too soon it seems. I recieved the same error later on. However, if you setup dd-wrt to use optware as described here and use ipkg-opt rather than ipkg things should work.
Regards.
Hello,
I have the same problems ...
Collected information:
mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
/dev/discs/disc0/disc on /jffs type msdos (rw,fmask=0022,dmask=0022,codepage=cp437)
uname -a
Linux r01mat001 2.6.24.111 #69 Wed Nov 25 16:07:36 CET 2009 mips unknown
lsmod
Module Size Used by
jffs2 86016 1
msdos 8192 1
vfat 12288 0
fat 45056 2 msdos,vfat
nls_cp437 8192 1
nls_base 8192 3 vfat,fat,nls_cp437
ext3 106496 0
jbd 57344 1 ext3
ext2 40960 0
mbcache 8192 1 ext3
usb_storage 32768 1
sd_mod 20480 1
scsi_wait_scan 416 0
scsi_mod 73728 3 usb_storage,sd_mod,scsi_wait_scan
ehci_hcd 32768 0
ohci_hcd 16384 0
usbcore 106496 4 usb_storage,ehci_hcd,ohci_hcd
nvram show | grep jffs
size: usb_mntpoint=jffs
jffs_mounted=1
enable_jffs2=1
sys_enable_jffs2=1
clean_jffs2=0
26057 bytes (6711 left)
sys_clean_jffs2=0
dhcpd_usejffs=0
Hello Akos_beginner
I have tried to do some of the things you suggested. First, jffs was enabled only through web interface, but after your post I enabled it with the commands
# nvram set sys_enable_jffs2=1
# nvram commit
It still didn't work, then I disabled jffs in the web interface like you told Matt.
I am not sure wether or not the applications get installed now. When I try to run the programs that I install I get this message:
root@DD-WRT:~# nano
Error opening terminal: xterm.
root@DD-WRT:~# screen
/var/run/utmp: No such file or directory
Cannot find termcap entry for 'xterm'.
ipkg still give a warning that libncurses is not installed even though it should be.
Here is the information you asked for:
http://pastebin.ca/1755214
root@DD-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
root@DD-WRT:~# uname -a
Linux DD-WRT 2.6.24.111 #141 Mon Dec 7 17:18:19 CET 2009 mips unknown
root@DD-WRT:~# lsmod
Module Size Used by
jffs2 86016 1
usblp 12288 0
msdos 8192 0
vfat 12288 0
fat 45056 2 msdos,vfat
nls_cp437 8192 0
nls_base 8192 3 vfat,fat,nls_cp437
ext3 106496 0
jbd 57344 1 ext3
ext2 40960 0
mbcache 8192 1 ext3
usb_storage 32768 0
sd_mod 20480 0
scsi_wait_scan 416 0
scsi_mod 73728 3 usb_storage,sd_mod,scsi_wait_scan
ehci_hcd 32768 0
ohci_hcd 16384 0
usbcore 106496 5 usblp,usb_storage,ehci_hcd,ohci_hcd
bcm57xx 114688 0
root@DD-WRT:~# nvram show|grep jffs
jffs_mounted=1
enable_jffs2=0
sys_enable_jffs2=1
clean_jffs2=0
size: 32753 bytes (15 left)
sys_clean_jffs2=0
dhcpd_usejffs=0
Thank you for your help.
Hi Akos_beginner,
many thanks - I folowed your instructions and it´s working now.
Best wishes
Matt
Before installing screen, install ncurses via 'ipkg install ncurses'. Then install screen. All should be fine then.