151

Odp: USB, extroot, printserver

Po prostu nie montuje Ci nośnika po starcie, być może z tego powodu, że wymaga więcej czasu na uruchomienie. "Zapisz" robi po prostu m.in. ponowne zamontowanie nośników i uruchomienie usług; więc już po pewnym czasie od uruchomienia.

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

152

Odp: USB, extroot, printserver

Jest tak, że router widzi pamięć, zaraz po włączeniu,  po pewnym czasie od uruchomienia nadal jest dysk odłączony.

153

Odp: USB, extroot, printserver

Pepe2k jak mogę sprawdzić, czy dysk się zamontował?

154

Odp: USB, extroot, printserver

Poleceniem mount.

155

Odp: USB, extroot, printserver

Zaraz po restarcie
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,size=14616k)
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 ext2 (rw,noatime,user_xattr,barrier=1)
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/sdb1 on /tmp/usb_mount/2d829345-93f3-4236-badc-bfb9ce9a9cab type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)

156

Odp: USB, extroot, printserver

Dysk to sdb1 ext4

157

Odp: USB, extroot, printserver

Czyli wychodzi na to, że nic nie poradzimy i musi tak być??

158

Odp: USB, extroot, printserver

Masz zamontowany. Zrób restart routera i pokaż wyniki poleceń (nie ruszaj nic w gui):

mount
ps

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

159

Odp: USB, extroot, printserver

|
----------------------------------------------------------------
root@Nieznany:~# 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,size=14616k)
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 ext2 (rw,noatime,user_xattr,barrier=1)
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/sdb1 on /tmp/usb_mount/2d829345-93f3-4236-badc-bfb9ce9a9cab type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
root@Nieznany:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1508 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW<  [khelper]
    7 root         0 SW   [kworker/u:1]
   62 root         0 SW   [sync_supers]
   64 root         0 SW   [bdi-default]
   66 root         0 SW<  [kblockd]
   97 root         0 SW   [kswapd0]
  145 root         0 SW   [fsnotify_mark]
  174 root         0 SW<  [ath79-spi]
  185 root         0 SW   [mtdblock0]
  190 root         0 SW   [mtdblock1]
  195 root         0 SW   [mtdblock2]
  200 root         0 SW   [mtdblock3]
  205 root         0 SW   [mtdblock4]
  210 root         0 SW   [mtdblock5]
  249 root         0 SW   [kworker/0:1]
  397 root         0 SW   [kworker/0:2]
  452 root         0 SW   [flush-mtd-unmap]
  475 root         0 SW   [khubd]
  484 root         0 SW   [scsi_eh_0]
  485 root         0 SW   [usb-storage]
  486 root         0 SW   [scsi_eh_1]
  487 root         0 SW   [usb-storage]
  488 root         0 SW   [kworker/u:2]
  489 root         0 SW   [kworker/0:3]
  490 root         0 SW   [kworker/u:3]
  516 root         0 SW<  [ext4-dio-unwrit]
  538 root      1508 S    init
  568 root         0 SW<  [cfg80211]
  605 root         0 SW<  [rpciod]
  615 root         0 SW<  [nfsiod]
  687 root         0 SW   [flush-8:0]
  786 root      1512 S    /sbin/syslogd -C16
  788 root      1496 S    /sbin/klogd
  790 root       884 S    /sbin/hotplug2 --override --persistent --set-rules-f
  798 root       876 S    /sbin/ubusd
  927 root      1476 S    /sbin/netifd
1206 root      1600 S    hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostap
1310 root      1600 S    wpa_supplicant -b br-wan -B -P /var/run/wifi-wlan0-1
1321 root      1516 S    udhcpc -p /var/run/udhcpc-br-wan.pid -s /lib/netifd/
1575 root      1152 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1624 root       780 S    {p910nd} /usr/sbin/p9100d -b -f /dev/usb/lp0 0
1684 root      1344 S    httpd_gargoyle -c cgi-bin/**|**.sh|**.cgi|**.csv -d
2183 nobody     948 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
2226 root      1504 S    /sbin/watchdog -t 5 /dev/watchdog
2402 root         0 SW   [flush-8:16]
2982 root      1504 S    /usr/sbin/ntpd -n -p 0.pool.ntp.org -p 1.pool.ntp.or
3675 root         0 SW   [jbd2/sdb1-8]
3676 root         0 SW<  [ext4-dio-unwrit]
4036 root      1512 S    /usr/sbin/crond -c /etc/crontabs -l 9
4402 root      1216 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
4403 root      1508 S    -ash
4462 root      1500 R    ps

160

Odp: USB, extroot, printserver

/etc/init.d/samba enable zrób i restart

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

161

Odp: USB, extroot, printserver

Jest :DD
Wszytko już działa big_smile

162

Odp: USB, extroot, printserver

Jeszce takie pytanie, czy do LCD4LINUX taki ekranik będzie dobry?
http://allegro.pl/ramka-cyfrowa-na-zdje … 44337.html
Czy lepiej szukać czegoś większego?

163

Odp: USB, extroot, printserver

Nie wiadomo co siedzi w środku.

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

164 (edytowany przez dawcior-al 2013-11-10 15:40:29)

Odp: USB, extroot, printserver

A jakieś ramki cyfrowe będą działać?
Gdzieś widziałem właśnie takiego breloczka z  i wyglądał tak samo.
A no wiem już gdzie http://eko.one.pl/?p=openwrt-lcd4linux

165

Odp: USB, extroot, printserver

Obudową się nie sugeruj. Co chińczyk to coś innego jest w środku. Trzeba po prostu kupić i sprawdzić czy da się go zastosować.

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

166

Odp: USB, extroot, printserver

Witam, mam problem z poleceniem blkid, ponieważ chyba je usunąłem i nie wiem jak to naprawić:

opkg update
Downloading http://downloads.openwrt.org/attitude_a … ackages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://ecco.selfip.net/attitude_adjustm … ackages.gz.
Updated list of available packages in /var/opkg-lists/eko1.
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ackages.gz.
Updated list of available packages in /var/opkg-lists/gargoylepl_packages.
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ackages.gz.
Updated list of available packages in /var/opkg-lists/gargoylepl_plugins.
root@Nieznany:~# opkg install blkid
Package blkid (2.21.2-1) installed in root is up to date.
root@Nieznany:~# blkid
-ash: blkid: not found

167

Odp: USB, extroot, printserver

opkg remove blkid
opkg install blkid

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

168 (edytowany przez dawcior-al 2014-01-26 11:21:13)

Odp: USB, extroot, printserver

Po wykonaniu:
opkg remove blkid
No packages removed.
Collected errors:
* print_dependents_warning: Package blkid is depended upon by packages:
* print_dependents_warning:    plugin-gargoyle-usb-storage
* print_dependents_warning: These might cease to work if package blkid is removed.

* print_dependents_warning: Force removal of this package with --force-depends.
* print_dependents_warning: Force removal of this package and its dependents
* print_dependents_warning: with --force-removal-of-dependent-packages.
root@Nieznany:~# opkg install blkid
Package blkid (2.21.2-1) installed in root is up to date.
root@Nieznany:~# blkid
-ash: blkid: not found

169

Odp: USB, extroot, printserver

No packages removed. <- więc nie został usunięty jednak.

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

170

Odp: USB, extroot, printserver

To dlaczego jest blkid: not found?

Odkąd to zrobiłem, to nie działa:(http://eko.one.pl/forum/viewtopic.php?pid=91152#p91152)
Zostało teraz dostosowanie systemu do instalowanych zależności pakietów i instalacja żądanego pluginu:

# rm -f /sbin/blkid
# rm -f /lib/modules/3.3.8/sierra.ko
# rm -f /sbin/swapoff
# rm -f /sbin/swapon
# opkg install plugin-gargoyle-usb-storage
# /etc/init.d/usb_storage start

171

Odp: USB, extroot, printserver

Odinstaluj i zainstaluj jeszcze raz. Na razie tego nie zrobiłeś.

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

172

Odp: USB, extroot, printserver

Po wpisaniu opkg remove blkid mam:
Collected errors:
* print_dependents_warning: Package blkid is depended upon by packages:
* print_dependents_warning:    plugin-gargoyle-usb-storage
* print_dependents_warning: These might cease to work if package blkid is removed.

* print_dependents_warning: Force removal of this package with --force-depends.
* print_dependents_warning: Force removal of this package and its dependents
* print_dependents_warning: with --force-removal-of-dependent-packages.

Co mam zrobić?

173

Odp: USB, extroot, printserver

Wyraźnie to napisał - usunąć  plugin-gargoyle-usb-storage wcześniej.

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

174

Odp: USB, extroot, printserver

OK. Juz blkid mam. Po instalacji plugin-gargoyle-usb-storage pojawiła się zakładka nośniki usb, ale nie mam tam, żadnego pendrive'a, a chciałbym aby pendrive z ext4 był dyskiem sieciowym
blkid
/dev/mtdblock2: TYPE="squashfs"
/dev/sdb1: UUID="20a87c98-eee8-4b29-ab71-c39f184b1db2" TYPE="ext3"
/dev/sda1: UUID="2d829345-93f3-4236-badc-bfb9ce9a9cab" TYPE="ext4"
/dev/sdc1: UUID="deebf9c8-c419-cf01-908b-f8c8c419cf01" TYPE="ext2"
/dev/sdc2: UUID="cf077b94-61f2-44c9-a9e8-e5aa054c8466" TYPE="swap"

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,size=14616k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/sdc1 on /overlay type ext2 (rw,noatime,user_xattr,barrier=1)
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/sdb1 on /mnt/sdb1 type ext3 (rw,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
/dev/sda1 on /mnt/sda1 type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)

175

Odp: USB, extroot, printserver

Pisałem już to. To plugin ma montować dyski, nie fstab. Nie zrobiłeś dokładnie tak jak w poradnikach jest napisane: http://eko.one.pl/?p=gargoyle-fstab#int … racjarczna (anon_mount)

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