I am not sure if really all of these packages are necessary, but it seems so: etc/init.d/lighttpd start If <= 8MB flash: Get extroot To make sure the webserver is up after booting, insert this line into /etc/rc.local before “exit 0”: ( Insert how-to here)Įven if auto-mounting on startup works, it probably ends too late when the webserver tries to start. Get fstab to auto-mount the usb-stick on startup, otherwise your webserver won't come up and you have to start it after mounting manually. Mount -t ext4 /dev/sda1 /mnt/sda1 -o rw,sync It helps to list /dev with the USB-device and without - in this case its /dev/sda1. Opkg install kmod-usb-storage kmod-usb-storage-extras block-mount kmod-fs-ext4 kmod-scsi-genericįigure out which device is your USB-stick/drive and mount it. If you see messages like “unresolved symbol usb_calc_bus_time” try loading usbcore and then try ehci-hcd again: Install USB-support (this is for USB 2.0, see usb.essentials for USB 1.1 support) You have to run an update of the package-lists before you can install any software Have a look in the OpenWrt-Wiki at usb.essentials and usb.storage, and figure out what USB-mode your device is using (ohci or uhci) and know what filesystem is on your storage (here: ext4). So best both is done on some external storage because small routers don't have that much. OwnCloud is around 30 MB and you will like to store your data somewhere.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |