51

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Chyba znalazlem buga: Gdy probuje zdefiniowac udostepnione zasoby po sambie (bez extroota), to wyswietla mi sie dev/sda1 (Ext4, 483MB). Prawie wszystko sie zgadza, tylko to powinna byc partycja sda3. W sambie widze partycje systemowa po starym extroocie, bo to wlasnie jest wyswietlana sda1.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

52

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

wynik mount pokaż.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

53

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Cezary napisał/a:

wynik mount pokaż.

No tak, problem zniknal: Zrobilem aktualizacje z podpietym extrootem. W trakcie przygotowywania nowego extroota zaczal krzyczec, ze nie moze sformatowac sda1. Odmontowalem, sformatowalem, zrestartowalem i jest ok.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

54

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Chyba znowu cos jest nie tak: Postawilem extroota, na nim openvpn i inne. Teraz plugin nie widzi zadnej partycji, chociaz jest:

# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/sda1 on /overlay type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda3 on /tmp/share_home/rkuci/caly type ext3 (rw,noatime,user_xattr,barrier=1,nodelalloc,data=ordered)
/dev/sda3 on /tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f type ext3 (rw,noatime,user_xattr,barrier=1,nodelalloc,data=ordered)
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

55

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Albo fstab i extroot albo plugin. Nie jedno i drugie na raz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

56

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Mam wersję Gargoyle PL 1.5.9.6 i coś usb_storage.sh nie do końca poprawnie działa:
http://s21.postimg.org/jweemg077/ftp.jpg

root@TL-WDR4300:~# /etc/init.d/vsftpd start
WARNING: No shares defined, vsftpd will not be started

57

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Nie masz dysku zamontowanego? Pokaż wynik mount.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

58

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Wygląda jakby był zamontowany:

root@TL-WDR4300:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /ftp type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)

59

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Nie, nie jest tam gdzie trzeba. Powinien być w /tmp/usb_mount/ bez tego m.in. vsftpd będzie się buntował przy starcie (a dokładniej chodzi o pewien plik gdzie gargoyle wpisuje zasoby które sam zamontował).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

60

Odp: Aktualizacja plugin-gargoyle-usb-storage 1.5.6-1

Udało się zmienić montowanie:

root@TL-WDR4300:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /mnt/sda1 type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
root@TL-WDR4300:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                    1.8M    460.0K      1.3M  26% /
/dev/root                 5.3M      5.3M         0 100% /rom
tmpfs                    61.8M    360.0K     61.5M   1% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3            1.8M    460.0K      1.3M  26% /overlay
overlayfs:/overlay        1.8M    460.0K      1.3M  26% /
/dev/sda1                 1.9G     62.0M      1.9G   3% /mnt/sda1

i mam:
Współdzielenie dysków Nie wykryto żadnego zamontowanego nośnika USB (przez GUI)