[SOLVED] Unbrick Pogoplug February 16, 2020 11:00AM |
Registered: 4 years ago Posts: 28 |
Re: Unbrick Pogoplug February 16, 2020 11:25AM |
Registered: 4 years ago Posts: 28 |
Re: Unbrick Pogoplug February 16, 2020 04:21PM |
Admin Registered: 13 years ago Posts: 19,102 |
Quote
Updated 02 Aug 2017:
Rootfs Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2 was uploaded.
Basic Debian stretch Oxnas rootfs for Popo Pro/Classic V3 plug:
- tarball size: 180M
- install size: 477M
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, dialog, bz2, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, mtd-utils.
- see LED controls in /etc/rc.local, and /etc/rc0.d/K08halt
- see some useful aliases in /root/.profile
- root password: root
Re: Unbrick Pogoplug February 17, 2020 11:27PM |
Registered: 4 years ago Posts: 28 |
root@RJNet:~# blkid /dev/sda1: LABEL="rootfs" UUID="962ccb6d-4595-489d-a74a-2000531debf2" TYPE="ext3" PARTUUID="0310c6a6-01" /dev/sdb1: LABEL="HITCH" UUID="14F6-3A66" TYPE="vfat" PARTUUID="41359ccd-01"
Re: Unbrick Pogoplug February 18, 2020 03:09AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Unbrick Pogoplug February 20, 2020 11:50AM |
Registered: 4 years ago Posts: 28 |
[global] workgroup = RJSNET server string = Samba Server server role = standalone server log file = /var/cache/samba/log.%m max log size = 50 [public] path = /share/sdb1 public = yes only guest = yes (I tried with and without this line... ) writable = yes printable = no
Re: Unbrick Pogoplug February 20, 2020 05:10PM |
Admin Registered: 13 years ago Posts: 19,102 |
Quote
Samba
Samba smb.conf for a simple set up
HowTo setup Samba/CIFS shares
Re: Unbrick Pogoplug February 21, 2020 10:45PM |
Registered: 4 years ago Posts: 28 |
[users] path = /share/sdb1 browseable = yes read only = no force create mode = 0660 force directory mode = 2770 valid users = @admin
root@RJNet:~# chgrp sambashare /etc/samba root@RJNet:~# useradd -M -d /etc/samba/users -s /usr/sbin/nologin -G sambashare admin root@RJNet:~# smbpasswd -a admin New SMB password: Retype new SMB password: Added user admin. root@RJNet:~# smbpasswd -e admin Enabled user admin. root@RJNet:~# service samba restart
Re: Unbrick Pogoplug February 22, 2020 04:08AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Unbrick Pogoplug February 22, 2020 09:06AM |
Registered: 6 years ago Posts: 183 |
Re: Unbrick Pogoplug February 22, 2020 10:38AM |
Registered: 4 years ago Posts: 28 |
# /etc/fstab: static file system information. # <file system> <mount point> <type> <options> <dump> <pass> UUID=”962ccb6d-4595-489d-a74a-2000531debf2” / ext3 noatime,errors=remount-ro 0 1 UUID="52A1-1D04" /share/hitch vfat noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0
Re: Unbrick Pogoplug February 22, 2020 02:19PM |
Registered: 4 years ago Posts: 28 |
# Here is my simple smb.conf file [users] path = /share/hitch browseable = yes read only = no socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=131072 SO_RCVBUF=131072 create mode = 777 directory mode = 777 valid users = @admin
root@debian:/share# chmod -R 777 hitch/
root@debian:/share# chmod -R 0755 hitch/
Note2: To boot with systemd, add this parameter to your u-boot env bootargs. If you are booting with my latest released uboot for OXNAS then use the uEnv.txt capability to do this. See the instruction about uEnvt.txt in that thread. init=/bin/systemd For example, the bootarg for systemd was added to the end of this usb_set_bootargs env to set bootargs (on your box it might be different env): fw_setenv usb_set_bootargs 'setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts init=/bin/systemd' If that's still not possible to run systemd, you might want to install it again: apt-get install systemd
Re: Unbrick Pogoplug February 22, 2020 02:35PM |
Registered: 6 years ago Posts: 258 |
Re: Unbrick Pogoplug February 22, 2020 02:49PM |
Registered: 4 years ago Posts: 28 |
root@debian:/local# chmod -R 777 sshare/
root@debian:~# smbpasswd -a admin New SMB password: Retype new SMB password: root@debian:~#
Re: Unbrick Pogoplug February 22, 2020 04:43PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Unbrick Pogoplug February 22, 2020 07:30PM |
Admin Registered: 13 years ago Posts: 19,102 |
/etc/samba/smb.conf
Re: Unbrick Pogoplug February 22, 2020 07:56PM |
Admin Registered: 13 years ago Posts: 19,102 |
# Here is my simple smb.conf file [users] path = /share/hitch browseable = yes read only = no socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=131072 SO_RCVBUF=131072 create mode = 777 directory mode = 777 valid users = @admin
ls -l /share/hitch ls -l /share/hitch/*
Re: Unbrick Pogoplug February 22, 2020 10:09PM |
Registered: 4 years ago Posts: 28 |
#Here is my Bare Samba file [users] path = /share/hitch # path = /local/sshare # used to test read/write of files on boot usb browseable = yes read only = no socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=$ create mode = 777 directory mode = 777 valid users = @admin
root@debian:~# blkid /dev/sda1: LABEL="rootfs" UUID="8783521b-738e-4ddf-81a7-c262e09af0e4" TYPE="ext3" PARTUUID="92b42391-9e66-b24a-9f91-3c7e68074d1c" /dev/sdb1: UUID="DC43-C745" TYPE="vfat" PARTUUID="6090eb27-01" root@debian:~# mount /dev/sdb1 /share/hitch root@debian:~# ls -l /share/hitch total 1336 drwxr-xr-x 7 root root 4096 Dec 31 1969 . drwxr-xr-x 3 root root 4096 Feb 22 11:17 .. drwxr-xr-x 4 root root 4096 Mar 29 2017 Android drwxr-xr-x 2 root root 4096 Mar 29 2017 LOST.DIR -r-xr-xr-x 1 root root 1336632 Oct 22 2007 LaunchU3.exe drwxr-xr-x 2 root root 4096 Feb 7 2016 Speak in a Week Spanish - Week Three drwxr-xr-x 2 root root 4096 Mar 8 2017 Speak in a Week Spanish - Week Two drwxr-xr-x 2 root root 4096 Sep 28 2016 System Volume Information root@debian:~#
/share/hitch/Speak in a Week Spanish - Week Two: total 53416 drwxr-xr-x 2 root root 4096 Mar 8 2017 . drwxr-xr-x 7 root root 4096 Dec 31 1969 .. -rwxr-xr-x 1 root root 2502846 Feb 7 2016 01 Lesson 9.mp3 -rwxr-xr-x 1 root root 3018670 Feb 7 2016 02 Lesson 10.mp3 -rwxr-xr-x 1 root root 3288476 Feb 7 2016 03 Lesson 11.mp3 -rwxr-xr-x 1 root root 2944176 Feb 7 2016 04 Lesson 12.mp3 -rwxr-xr-x 1 root root 3068750 Feb 7 2016 05 Lesson 13.mp3 -rwxr-xr-x 1 root root 3106310 Feb 7 2016 06 Lesson 14.mp3 -rwxr-xr-x 1 root root 2936664 Feb 7 2016 07 Lesson 15.mp3 -rwxr-xr-x 1 root root 2828366 Feb 7 2016 08 Lesson 16.mp3 -rwxr-xr-x 1 root root 4847216 Feb 7 2016 09 Warm-up.mp3 -rwxr-xr-x 1 root root 6265106 Feb 7 2016 10 Mastery Set 1.mp3 -rwxr-xr-x 1 root root 5153956 Feb 7 2016 11 Mastery Set 2.mp3 -rwxr-xr-x 1 root root 6658860 Feb 7 2016 12 Mastery Set 3.mp3 -rwxr-xr-x 1 root root 8038564 Feb 7 2016 13 Mastery Set 4.mp3 -rwxr-xr-x 1 root root 1972 Mar 8 2017 Week2.m3u -rwxr-xr-x 1 root root 326 Feb 7 2016 desktop.ini /share/hitch/System Volume Information: total 16 drwxr-xr-x 2 root root 4096 Sep 28 2016 . drwxr-xr-x 7 root root 4096 Dec 31 1969 .. -rwxr-xr-x 1 root root 76 Sep 28 2016 IndexerVolumeGuid -rwxr-xr-x 1 root root 12 Mar 29 2017 WPSettings.dat root@debian:~#
root@debian:/share# chmod ugo+rwx hitch/And nothing changed. Then I tried
root@debian:/share# chmod ugo -R 777 hitch/
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0
Re: Unbrick Pogoplug February 22, 2020 10:26PM |
Admin Registered: 13 years ago Posts: 19,102 |
root@debian:~# ls -l /share/hitch total 1336 drwxr-xr-x 7 root root 4096 Dec 31 1969 . drwxr-xr-x 3 root root 4096 Feb 22 11:17 .. drwxr-xr-x 4 root root 4096 Mar 29 2017 Android drwxr-xr-x 2 root root 4096 Mar 29 2017 LOST.DIR -r-xr-xr-x 1 root root 1336632 Oct 22 2007 LaunchU3.exe drwxr-xr-x 2 root root 4096 Feb 7 2016 Speak in a Week Spanish - Week Three drwxr-xr-x 2 root root 4096 Mar 8 2017 Speak in a Week Spanish - Week Two drwxr-xr-x 2 root root 4096 Sep 28 2016 System Volume Information
chown -R admin:admin /share/hitch
drwxr-xr-x 2 admin admin 4096 Feb 7 2016 Speak in a Week Spanish - Week Three
Re: Unbrick Pogoplug February 22, 2020 10:31PM |
Registered: 4 years ago Posts: 28 |
valid users = @admin @root
root@debian:/share# smbpasswd -a root New SMB password: Retype new SMB password: Added user root. root@debian:/share# smbpasswd -e root Enabled user root. root@debian:/share# service samba restart
Re: Unbrick Pogoplug February 22, 2020 10:34PM |
Admin Registered: 13 years ago Posts: 19,102 |
valid users = @admin @root
Re: Unbrick Pogoplug February 23, 2020 07:49AM |
Registered: 4 years ago Posts: 28 |
chown -R admin:admin /share/hitch
Re: Unbrick Pogoplug February 23, 2020 04:46PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Unbrick Pogoplug February 24, 2020 09:08PM |
Registered: 4 years ago Posts: 28 |
Quote
Martin aus Dortmund
LABEL=rootfs / ext4 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0 UUID=04aae5de-6bed-4faa-999c-68ba85b591a4 /mnt/data ext2 rw,suid,dev,exec,nouser,async,auto 0 2 UUID=44d90f04-3a0e-4fac-8993-853b3d60afd3 /mnt/unterhaltung ext4 rw,suid,dev,exec,nouser,async,auto 0 2 UUID=e7f3cfb0-6abf-4591-9d18-2ae7bc92be2e /mnt/backup ext4 rw,suid,dev,exec,nouser,async,auto, 0 2
Re: Unbrick Pogoplug February 24, 2020 09:36PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: Unbrick Pogoplug February 25, 2020 08:30AM |
Registered: 4 years ago Posts: 28 |
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l
Re: Unbrick Pogoplug March 04, 2020 05:53PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: [SOLVED] Unbrick Pogoplug March 08, 2020 12:45PM |
Registered: 4 years ago Posts: 28 |