blastboy;105883]i would love to have this on my usb 2.0 hdd..
but i never see a cmd line output.. and when i use "ls" or "pwd" im stuck in /www dir..
how to fix this ?
is my first time using this kind of router
I need a little bit more information.
Mount output from the Asus shell
Do you mean you are stuck at installing owncloud or still at the debian environment installation?
Sent from my GT-I9505 using Tapatalk
i changed the http port in administration saved it, and rebooted the router. but when i go to the asus ddns the http:// part stil goes too the router and the https:// owncloud ?
this is from the administration page where it looks to me i should change it
I can't install it because I have a problem. To make things easier I named my usbstick also sda1 and formatted it into ext4 (like in this tut).
Unpacking and making the script with vi works fine but on the step
"/mnt/sda1/debian/utils/chroot /mnt/sda1/debian /bin/bash"
i get the error log
"-sh /mnt/sda1/debian/utils/chroot : permission denied"
How can I solve this?
I didn't label the disk I just formatted it ext4 then the system takes the device name. Not sure what it does when you label it.
Can you post your mount output from the shell?
Sent from my GT-I9505 using Tapatalk
It only shows this (with ls -la /mnt)
[...]
admin@RT-AC68U:/tmp/home/root# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=127720k,nr_inodes=31930,mode=755)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock5 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
/dev/sdc1 on /tmp/mnt/500GBNTFS(1) type ufsd (rw,nodev,noatime,nls=utf8,fmask=0,dmask=0,force)
/dev/sda1 on /tmp/mnt/SDHC1 type ext4 (rw,nodev,relatime,user_xattr,barrier=1,data=ordered)
devtmpfs on /tmp/mnt/SDHC1/debian/dev type devtmpfs (rw,relatime,size=127720k,nr_inodes=31930,mode=755)
proc on /tmp/mnt/SDHC1/debian/proc type proc (rw,relatime)
sysfs on /tmp/mnt/SDHC1/debian/sys type sysfs (rw,relatime)
admin@RT-AC68U:/tmp/home/root#
...just give the output of the "mount" command after you entered it in a shell on your ASUS,
like mine:
...as you can see, I have labled my first "disk" SDHC1.
[...]
I think the problem is the script:
I have inserted into the script following lines:
#!/bin/sh
mount -o bind /dev/ /mnt/sda1/debian/dev/
mount -o bind /proc/ /mnt/sda1/debian/proc/
mount -o bind /sys/ /mnt/sda1/debian/sys/
After Reboot the script seems not to start. Could it be?
Debian Weezy for AC68/AC56 (ARM)
[...]
Create the startup script so the mounts are set at every boot
Code:cd /jffs/scripts vi services-start
Add the following lines
Code:#!/bin/sh mount -o bind /dev/ /mnt/sda1/debian/dev/ mount -o bind /proc/ /mnt/sda1/debian/proc/ mount -o bind /sys/ /mnt/sda1/debian/sys/
Save the file
Make the script executable
Code:chmod +x services-start
...based on your mount output, these mounts have not taken place-
Did yoiu follow the steps from the first post?
...the script is in the right place?
...the script is made excecutable?
...you did produce this with using vi on the ASUS or on windoze (notepad, ough and transfered it?
make sure it is *nix style end-of-line/end-of-file encoding characters if produced on windows.
...you can run/try the script manually...no need to reboot
Thanks Xerxist,
with the sleep command it now uses the script. But when I try to use
/mnt/sda1/debian/utils/chroot /mnt/sda1/de
bian /bin/bash
it still says permission denied
ls -la /mnt/sda1/debian/utils/
ls -la /mnt/sda1/debian/
ls -la /mnt/sda1/debian/bin/bash
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!