lsusb
report me:
root@DD-WRT:~# lsusb
lsusb: cannot open "/usr/share/usb.ids", No such file or directory
same with pcscd
pcscd -f -f
00000000 hotplug_libusb.c:112:HPReadBundleValues() Cannot open PC/SC drivers directory: /usr/lib/pcsc/drivers
00000183 hotplug_libusb.c:113:HPReadBundleValues() Disabling USB support for pcscd.
I´ve followed this guide just yet, and it seems to be working. I can install packages and everything.
The only thing that doesn´t work is the USB-automount, so I needed to add an extra rule to the start-up script for mounting the harddisk. The harddisk does automount if I plug it in after the router has started.
I beleave this is a known bug in dd-wrt for de WNDR3700 and not really a problem, because it can be simply solved by adding the extra rule to the startup script.
Now it´s time to figure out unfs3 for mounting and sharing nfs-shares.
lsusb
report me:
root@DD-WRT:~# lsusb
lsusb: cannot open "/usr/share/usb.ids", No such file or directory
same with pcscd
pcscd -f -f
00000000 hotplug_libusb.c:112:HPReadBundleValues() Cannot open PC/SC drivers directory: /usr/lib/pcsc/drivers
00000183 hotplug_libusb.c:113:HPReadBundleValues() Disabling USB support for pcscd.
It´s because of this error:
/opt//usr/lib/opkg/info/usbutils.postinst: cd: line 2: can't cd to /usr/share
The package tries to create some directories (and files) in a read-only file-system...
I´ve followed this guide just yet, and it seems to be working. I can install packages and everything.
Great! I only tried this with a USB stick.
I don't know which build you are using, I know some of the builds have an issue with automouting an USB-drive at startup. At the moment I'm using build r15962.
But after an other couple of hours playing around with opkg and ipkg (with a quick and dirty fix, which involved replacing the firmware's /usr with a directory on /opt using mount -o bind, it actually works) if put it in the fridge. For nfs to work, I need kernel-modules or unfs3, which both don't seem to work at this time (the kmod-files in optware are for a different, newer kernel, unfs3 refuses to start...)
So I tried to revert to an original firmware yesterday, only to find myself in the next challenge... tftp refuses to send the original firmware to my router, though I followed the (proved) working manual step by step...
I don't know which build you are using, I know some of the builds have an issue with automouting an USB-drive at startup. At the moment I'm using build r15962.
I don't know which build you are using, I know some of the builds have an issue with automouting an USB-drive at startup. At the moment I'm using build r15962.
I'm using r15962 as well.
I have to check (again I'm at work), because I'm not completely sure. I can also remember seeing something like r13xxx...
Just installed optware on a wndr3700 by following your tutorial and worked perfectly!! I have installed asterisk, and the installation worked fine also.
The question I have is how do I see the services I have installed, & start and stop them? I have installed optware and asterisk on a wrt54g following the optware done right tutorial on the wiki and when optware is installed all I have to type is "service" and that lists all the services that are installed & if they are running or not. I can't seem to figure out how to do that on this router, have i done something wrong or is there another way to do it like "/etc/init.d/packageName start" or what?
The question I have is how do I see the services I have installed, & start and stop them? I have installed optware and asterisk on a wrt54g following the optware done right tutorial on the wiki and when optware is installed all I have to type is "service" and that lists all the services that are installed & if they are running or not. I can't seem to figure out how to do that on this router, have i done something wrong or is there another way to do it like "/etc/init.d/packageName start" or what?
Hum good question. I will have a look at the "optware done right" tutorial to see what is being done.
I start some services on my device and I simply put them in the script mentioned in step 6:
if [ -d /opt/usr ]; then
export LD_LIBRARY_PATH='/opt/lib:/opt/usr/lib:/lib:/usr/lib'
export PATH='/opt/bin:/opt/usr/bin:/opt/sbin:/opt/usr/sbin:/bin:/sbin:/usr/sbin:/usr/bin'
HERE
else
exit
fi
tinkerman wrote:
and I get this error "/bin/sh: can't open /etc/rc.common" What am I doing wrong I think I'm close.
I'll have a look at the tutorial and will get back to you.
Maybe I'll create a script to do all the work automagically.