Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

USB storage, How on current image (8/6/14)

$
0
0
Hello,

Trying to get usb storage working but I'm a little lost. Had a look over older entries but they look to have been for when the raspberry pi image was based on Raspbian and I'm not familiar with Arch (so don't want to break anything).

From looking at previous threads, here are the requested command outputs:

mount

[root@alarmpi ~]# mount
/dev/mmcblk0p5 on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=85060k,nr_inodes=21265,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=47348k,mode=700)
[root@alarmpi ~]#

mount | grep sd | awk '{print $3;}' | xargs -I [] ls -l []

[root@alarmpi ~]# mount | grep sd | awk '{print $3;}'  | xargs -I []   ls -l []
[root@alarmpi ~]#

ls -l /opt/piratebox


[root@alarmpi ~]# ls -l /opt/piratebox
total 36
drwxr-xr-x 3 root   root    4096 Jun  6 03:08 bin
drwxr-xr-x 3 root   root    4096 Jun  8 05:12 conf
drwxr-xr-x 2 root   root    4096 Jun  5 06:31 init.d
drwxr-xr-x 2 root   root    4096 Jun  8 05:12 python_lib
drwxr-xr-x 5 nobody nogroup 4096 Dec 31  1969 share
drwxr-xr-x 2 root   root    4096 Jun  5 06:31 src
drwxr-xr-x 2 nobody nogroup 4096 Dec 31  1969 tmp
-rw-r--r-- 1 root   root      19 Jun  5 06:31 version
drwxr-xr-x 4 nobody nogroup 4096 Jun  8 05:12 www
[root@alarmpi ~]#

ls -l /opt/piratebox/share

[root@alarmpi ~]# ls -l /opt/piratebox/share
total 16
drwxr-xr-x  2 nobody nogroup 4096 Dec 31  1969 Shared
drwxr-xr-x 11 nobody nogroup 4096 Dec 31  1969 board
-rw-rw-rw-  1 root   root      13 Jun  8 08:05 timesave_file
drwxr-xr-x  2 nobody nogroup 4096 Jun  5 06:34 tmp
[root@alarmpi ~]#

ls -l /opt/piratebox/www

[root@alarmpi ~]# ls -l /opt/piratebox/www
total 168
lrwxrwxrwx 1 nobody nogroup    27 Jun  5 06:34 Shared -> /opt/piratebox/share/Shared
lrwxrwxrwx 1 nobody nogroup    26 Jun  5 06:34 board -> /opt/piratebox/share/board
drwxr-xr-x 2 nobody nogroup  4096 Jun  5 06:31 cgi-bin
-rw-r--r-- 1 nobody nogroup   289 Dec 31  1969 chat_content.html
-rwxr-xr-x 1 nobody nogroup  1406 Jun  5 06:31 favicon.ico
-rw-r--r-- 1 nobody nogroup     0 Jun  8 05:12 forban_link.html
-rwxr-xr-x 1 nobody nogroup   254 Jun  5 06:34 forum.html
-rw-r--r-- 1 nobody nogroup  3773 Jun  5 06:31 index.html
-rwxr-xr-x 1 nobody nogroup 94840 Jun  5 06:31 jquery.min.js
drwxr-xr-x 3 nobody nogroup  4096 Jun  5 06:31 library
-rw-r--r-- 1 nobody nogroup  2992 Jun  5 06:31 menu.png
-rw-r--r-- 1 nobody nogroup    15 Jun  5 06:31 ncsi.txt
-rw-r--r-- 1 nobody nogroup  6607 Jun  5 06:31 piratebox-logo-horizontal-white.png
-rwxr-xr-x 1 nobody nogroup 12637 Jun  5 06:31 piratebox-logo-small.png
-rwxr-xr-x 1 nobody nogroup   201 Jun  5 06:31 redirect.html
-rwxr-xr-x 1 nobody nogroup  3715 Jun  5 06:31 scripts.js
-rw-r--r-- 1 nobody nogroup     0 Jun  5 06:31 station_cnt.txt
-rw-r--r-- 1 nobody nogroup  5056 Jun  5 06:31 style.css
[root@alarmpi ~]#

Also for luck here's my lsusb output:

[root@alarmpi ~]# lsusb
Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 004: ID 0781:5571 SanDisk Corp. Cruzer Fit
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@alarmpi ~]#

The only connected devices are my Tenda W311U+ (which works OOTB but is painfully slow, 818mb in an hour) and the Sandisk Cruzier Fit, which I want to use for the storage.

Thanks in advance.

Viewing all articles
Browse latest Browse all 1863

Trending Articles