Quote
install
[alarm@alarmpi ~]$ passwd
Changing password for alarm.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
[alarm@alarmpi ~]$ sudo timedatectl set-ntp false
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for alarm:
[alarm@alarmpi ~]$ cd /opt/piratebox && sudo ./bin/timesave.sh ./conf/piratebox.conf install
initialize timesave file
Remember MAY have to cron active...
on OpenWrt run: /etc/init.d/piratebox enable
[alarm@alarmpi piratebox]$ sudo systemctl enable timesave
Created symlink from /etc/systemd/system/multi-user.target.wants/timesave.service to /etc/systemd/system/timesave.ser
[alarm@alarmpi piratebox]$ sudo /opt/piratebox/bin/board-autoconf.sh
Imageboard admin password:
[alarm@alarmpi piratebox]$ nano/opt/piratebox/rpi/bin/usb_share.sh
-bash: nano/opt/piratebox/rpi/bin/usb_share.sh: No such file or directory
[alarm@alarmpi piratebox]$ nano /opt/piratebox/rpi/bin/usb_share.sh
[alarm@alarmpi piratebox]$ sudo /opt/piratebox/rpi/bin/usb_share.sh
## Adding USB share...
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
Error: Mounting file system failed, will not move files...
/dev/mmcblk0p1 /boot vfat defaults,nofail 0 0
UUID=fcb046e2-33a5-4e94-ba75-94d8d904a9ca /mnt/usbshare ext4 umask=0,noatime,rw,user,uid=nobody,gid=nogroup 0 0
[alarm@alarmpi piratebox]$ nano /opt/piratebox/rpi/bin/usb_share.sh
[alarm@alarmpi piratebox]$ nano /opt/piratebox/rpi/bin/usb_share.sh
[alarm@alarmpi piratebox]$ sudo /opt/piratebox/rpi/bin/usb_share.sh
[sudo] password for alarm:
Error: This disk is already configured as an USB share...
[alarm@alarmpi piratebox]$ sudo cp /etc/minidlna.conf /etc/minidlna.conf.bkp
f /etc/minidlna.confebox]$ sudo cp /opt/piratebox/src/linux.example.minidlna.con
[alarm@alarmpi piratebox]$ sudo systemctl start minidlna
[alarm@alarmpi piratebox]$ sudo systemctl enable minidlna
Created symlink from /etc/systemd/system/multi-user.target.wants/minidlna.service to /usr/lib/systemd/system/minidlna.service.
[alarm@alarmpi piratebox]$ systemctl enable piratebox
Failed to execute operation: The name org.freedesktop.PolicyKit1 was not provided by any .service files
[alarm@alarmpi piratebox]$ sudo systemctl enable piratebox
Created symlink from /etc/systemd/system/multi-user.target.wants/piratebox.service to /etc/systemd/system/piratebox.service.
[alarm@alarmpi piratebox]$ reboot
Failed to set wall message, ignoring: The name org.freedesktop.PolicyKit1 was not provided by any .service files
Failed to reboot system via logind: The name org.freedesktop.PolicyKit1 was not provided by any .service files
Failed to start reboot.target: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status reboot.target' for details.
Failed to talk to init daemon.
[alarm@alarmpi piratebox]$ systemctl status reboot.target
* reboot.target - Reboot
Loaded: loaded (/usr/lib/systemd/system/reboot.target; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd.special(7)
[alarm@alarmpi piratebox]$ cat /opt/piratebox/version
piratebox-ws_1.0.7
[alarm@alarmpi piratebox]$ sudo cat /opt/piratebox/version
\piratebox-ws_1.0.7
[alarm@alarmpi piratebox]$ iwconfig
wlan0 IEEE 802.11bgn Mode:Master Tx-Power=1496 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
lo no wireless extensions.
eth0 no wireless extensions.
[alarm@alarmpi piratebox]$ iw phy
Wiphy phy0
max # scan SSIDs: 10
max scan IEs length: 2048 bytes
max # sched scan SSIDs: 16
max # match sets: 16
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports roaming.
Device supports T-DLS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* P2P-client
* P2P-GO
* P2P-device
Band 1:
Capabilities: 0x1020
HT20
Static SM Power Save
RX HT20 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT TX/RX MCS rate indexes supported: 0-7
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* frame
* set_channel
* tdls_oper
* start_sched_scan
* start_p2p_device
* crit_protocol_start
* crit_protocol_stop
* connect
* disconnect
Supported TX frame types:
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* managed: 0x40 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
software interface modes (can always be added):
valid interface combinations:
* #{ IBSS, managed, AP } <= 2, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
total <= 3, #channels <= 2
Device supports scan flush.
[alarm@alarmpi piratebox]$
Matthias,
I apologize for the delayed response. I am currently (utc +03:00) and don't have internet through most of the day.
I was thinking about maybe issues being in the way I mount the drive so I nano'ed into the usbshare and changed the file type to ext4. I also tried to reboot without the sudo commands and it gave me some errors of missing reboot files. I have copied my full install from start to finish to show you what I am doing. Usually I do the manual mount for the drive but this time I just used usbshare. I also ran the commands you requested before the reboot.