Posted: Fri Aug 17, 2007 8:30 Post subject: wrt350n kmod-usb-core not installing properly?
Hey everyone, I'm slightly new here but I've been doing a ton of reading. Anyway, I went out and got a v1 wrt350n router.... I flashed it to the latest dd-wrt v24 beta (0816).
I enabled the JFFS2 option in the web gui, and also typed these commands in to my ssh window:
nvram set jffs_mounted=1
~ # nvram set enable_jffs2=1
~ # nvram set sys_enable_jffs2=1
~ # nvram set clean_jffs2=1
~ # nvram set sys_clean_jffs2=1
~ # nvram commit
~ #
~ # reboot
I also created the usb.startup and all that stuff...
So I want to get the USB port to work as a print server for now. I have seen this guide http://www.dd-wrt.com/wiki/index.php/Printer_Sharing to set that up, however, when i try to do ipkg install kmod-usb-printer, i get this output:
~ # ipkg install kmod-usb-printer
ipkg_depends: Warning: kernel mentioned in dependency but no package found in /jffs/usr/lib/ipkg/lists
ipkg_depends: Warning: kernel mentioned in dependency but no package found in /jffs/usr/lib/ipkg/lists
Downloading http://downloads.openwrt.org/whiterussian/packages/kmod-usb-printer_2.4.30-brcm-5_mipsel.ipk ...
Connecting to downloads.openwrt.org [195.56.146.238:80]
Done.
ipkg_depends: Warning: kernel mentioned in dependency but no package found in /jffs/usr/lib/ipkg/lists
ipkg_depends: Warning: kernel mentioned in dependency but no package found in /jffs/usr/lib/ipkg/lists
ipkg_install_file: ERROR: kmod-usb-printer depends on the following uninstalled programs:
kmod-usb-core
ipkg_install_file: You may want to use `ipkg install' to install these.
ipkg_get_install: ERROR: Failed to install /jffs/tmp/ipkg/kmod-usb-printer_2.4.30-brcm-5_mipsel.ipk
ipkg_get_install: I'll leave it there for you to try a manual installation
~ #
So it tries to install the kmod-usb-core, says it installs it, then goes on to install the printer one, and then breaks because it says it is dependent on kmod-usb-core, which was just installed! I tried installing kmod-usb-core separately, and i still got the same thing when i tried to install kmod-usb-printer. It's like it tries to install it, says it is installed, but is no where to be found?
hey Rekoil, I was actually using your 0810 build....but whenever I tried to install kmod-usb-printer, it gave me the same output. Also, I still have to follow the same steps to enable the jffs is that correct?
try installing options with the "-force-depends" option.
The other method for installing packages is a script to just extract the files from it.
You edit the script and type in the full package names.
Of course you can change the script to work in a different directory - since /tmp is just in memory.
#!/bin/sh
# howto use
# cd /tmp/
# wget http://pastebin.ca/raw/xxxxxx -O - | tr -d '\r' > /tmp/unpack-ipkg.sh
# sh /tmp/unpack-ipkg.sh
# if the packages_url or the packages have changed change them here:
packages_url="http://downloads.openwrt.org/whiterussian/newest/packages/"
packages=" \
kmod-usb-uhci_2.4.30-brcm-5_mipsel.ipk \
kmod-usb-core_2.4.30-brcm-5_mipsel.ipk \
kmod-usb2_2.4.30-brcm-5_mipsel.ipk \
kmod-usb-storage_2.4.30-brcm-5_mipsel.ipk \
kmod-ext2_2.4.30-brcm-5_mipsel.ipk \
kmod-ext3_2.4.30-brcm-5_mipsel.ipk \
"
# #########################################################
#
# don't change things below this point
#
# #########################################################