Quote
commands
[alarm@alarmpi ~]$ mount
/dev/mmcblk0p2 on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=468104k,nr_inodes=117026,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (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,ptmxmode=000)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/bfqio type cgroup (rw,nosuid,nodev,noexec,relatime,bfqio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
tmpfs on /tmp type tmpfs (rw)
mqueue on /dev/mqueue type mqueue (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (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/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94484k,mode=700,uid=1000,gid=1000)
/dev/sda1 on /mnt/usbdrive type ext4 (rw,relatime,data=ordered)
[alarm@alarmpi ~]$ ls -la /mnt/
total 12
drwxr-xr-x 3 root root 4096 Jun 13 21:47 .
drwxr-xr-x 19 root root 4096 Jun 13 21:46 ..
drwxr-xr-x 5 root root 4096 Jun 12 12:47 usbdrive
[alarm@alarmpi ~]$ ls -la /mnt/usb
ls: cannot access '/mnt/usb': No such file or directory
[alarm@alarmpi ~]$ ls -la /mnt/usbdrive
total 32
drwxr-xr-x 5 root root 4096 Jun 12 12:47 .
drwxr-xr-x 3 root root 4096 Jun 13 21:47 ..
drwxrwxr-x 3 nobody nogroup 4096 Jun 13 11:17 Shared
drwxrwxr-x 2 nobody nogroup 4096 Feb 26 2005 kareha_uploads
drwx------ 2 root root 16384 Jun 12 09:36 lost+found
[alarm@alarmpi ~]$ ls -la /mnt/usbdrive/piratebox
ls: cannot access '/mnt/usbdrive/piratebox': No such file or directory
[alarm@alarmpi ~]$ ls -la /mnt/usbdrive/install
ls: cannot access '/mnt/usbdrive/install': No such file or directory
[alarm@alarmpi ~]$ ls -la /mnt/usb/install
ls: cannot access '/mnt/usb/install': No such file or directory
[alarm@alarmpi ~]$ ls -la /opt/piratebox
total 48
drwxr-xr-x 11 alarm alarm 4096 Mar 6 14:08 .
drwxr-xr-x 4 root root 4096 Mar 6 14:42 ..
drwxr-xr-x 3 alarm alarm 4096 Mar 6 14:08 bin
drwxr-xr-x 3 alarm alarm 4096 Mar 6 14:43 conf
drwxr-xr-x 2 alarm alarm 4096 Mar 6 14:08 init.d
drwxr-xr-x 2 alarm alarm 4096 Mar 6 14:43 python_lib
drwxr-xr-x 5 alarm alarm 4096 Mar 6 14:08 rpi
drwxrwxr-x 4 nobody nogroup 4096 Jun 13 21:58 share
drwxr-xr-x 2 alarm alarm 4096 Mar 6 14:08 src
drwxrwxr-x 2 nobody nogroup 4096 Jun 13 21:59 tmp
-rw-r--r-- 1 alarm alarm 19 Mar 6 14:38 version
drwxr-xr-x 4 nobody nogroup 4096 Mar 6 14:43 www
[alarm@alarmpi ~]$ ls -la /opt/piratebox/www
total 232
drwxr-xr-x 4 nobody nogroup 4096 Mar 6 14:43 .
drwxr-xr-x 11 alarm alarm 4096 Mar 6 14:08 ..
-rwxr-xr-x 1 nobody nogroup 1458 Mar 6 14:08 .READ.ME.htm
lrwxrwxrwx 1 nobody nogroup 27 Mar 6 14:42 Shared -> /opt/piratebox/share/Shared
lrwxrwxrwx 1 nobody nogroup 26 Mar 6 14:42 board -> /opt/piratebox/share/board
drwxr-xr-x 2 nobody nogroup 4096 Mar 6 14:08 cgi-bin
-rw-rw-r-- 1 nobody nogroup 289 Jun 13 21:59 chat_content.html
-rw-rw-r-- 1 nobody nogroup 346 Jun 13 21:59 diskusage.html
-rwxr-xr-x 1 nobody nogroup 1406 Mar 6 14:08 favicon.ico
-rw-r--r-- 1 nobody nogroup 97 Mar 6 14:08 generate_204
-rw-r--r-- 1 nobody nogroup 4407 Mar 6 14:08 index.html
-rw-r--r-- 1 nobody nogroup 16268 Mar 6 14:08 jquery-ui.min.css
-rw-r--r-- 1 nobody nogroup 22082 Mar 6 14:08 jquery-ui.min.js
-rwxr-xr-x 1 nobody nogroup 94840 Mar 6 14:08 jquery.min.js
drwxr-xr-x 3 nobody nogroup 4096 Mar 6 14:08 library
-rw-r--r-- 1 nobody nogroup 2992 Mar 6 14:08 menu.png
-rw-r--r-- 1 nobody nogroup 15 Mar 6 14:08 ncsi.txt
-rw-r--r-- 1 nobody nogroup 6607 Mar 6 14:08 piratebox-logo-horizontal-white.png
-rwxr-xr-x 1 nobody nogroup 12637 Mar 6 14:08 piratebox-logo-small.png
-rwxr-xr-x 1 nobody nogroup 320 Mar 6 14:08 redirect.html
-rwxr-xr-x 1 nobody nogroup 4770 Mar 6 14:08 scripts.js
-rw-r--r-- 1 nobody nogroup 0 Mar 6 14:08 station_cnt.txt
-rw-r--r-- 1 nobody nogroup 5609 Mar 6 14:08 style.css
[alarm@alarmpi ~]$ ls -la /opt/piratebox/version
-rw-r--r-- 1 alarm alarm 19 Mar 6 14:38 /opt/piratebox/version
[alarm@alarmpi ~]$ ls -la /opt/piratebox/tmp/error.log
-rw-r--r-- 1 nobody nogroup 142 Jun 13 21:59 /opt/piratebox/tmp/error.log
[alarm@alarmpi ~]$ ls -la /opt/piratebox/tmp/break.log
-rw-r--r-- 1 nobody nogroup 0 Jun 13 21:59 /opt/piratebox/tmp/break.log
[alarm@alarmpi ~]$ dmesg | tail -n 20
[ 16.745809] sda: sda1
[ 16.753849] sd 0:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[ 16.771009] sd 0:0:0:0: [sda] Attached SCSI disk
[ 16.896803] random: nonblocking pool is initialized
[ 18.962921] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 18.970784] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 23.986427] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 23.993155] brcmfmac: brcmf_add_if: ignore IF event
[ 24.045799] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 24.052502] brcmfmac: brcmf_add_if: ignore IF event
[ 75.031767] cfg80211: Verifying active interfaces after reg change
[ 403.243742] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 403.254475] brcmfmac: brcmf_add_if: ignore IF event
[ 404.041929] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 404.052673] brcmfmac: brcmf_add_if: ignore IF event
[ 876.230052] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 1055.993994] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 1056.025819] brcmfmac: brcmf_add_if: ignore IF event
[ 1056.806757] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 1056.838594] brcmfmac: brcmf_add_if: ignore IF event
[alarm@alarmpi ~]$ dmesg | grep sda
[ 16.646758] sd 0:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[ 16.663494] sd 0:0:0:0: [sda] Write Protect is off
[ 16.673126] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 16.673553] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 16.694064] sd 0:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[ 16.745809] sda: sda1
[ 16.753849] sd 0:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[ 16.771009] sd 0:0:0:0: [sda] Attached SCSI disk
[ 876.230052] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[alarm@alarmpi ~]$ ls /dev/sd*
/dev/sda /dev/sda1
[alarm@alarmpi ~]$ ps
PID TTY TIME CMD
764 pts/1 00:00:00 bash
785 pts/1 00:00:00 ps
[alarm@alarmpi ~]$ cat /mnt/usbdrive/install.log
cat: /mnt/usbdrive/install.log: No such file or directory
[alarm@alarmpi ~]$ pacman -Qi hostapd
Name : hostapd
Version : 2.5-1
Description : IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Architecture : armv7h
URL : [w1.fi]
Licenses : custom
Groups : None
Provides : None
Depends On : openssl libnl
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 857.00 KiB
Packager : Arch Linux ARM Build System <builder+xu2@archlinuxarm.org>
Build Date : Thu Oct 1 15:06:45 2015
Install Date : Sun Mar 6 14:41:39 2016
Install Reason : Explicitly installed
Install Script : Yes
Validated By : SHA-256 Sum
↧
Re: Piratebox not starting
↧