Dzięki wielkie. Jak by coś się dalej sypało to pozwolę sobie kontynuować wątek.
Pozdrawiam
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez kiniu
Dzięki wielkie. Jak by coś się dalej sypało to pozwolę sobie kontynuować wątek.
Pozdrawiam
Teraz po odłączeniu i ponownym podłączeniu dysku na innym kablu usb jest taki log:
Jan 13 13:36:18 Gargoyle kern.info kernel: [ 959.030000] usb 1-1: USB disconnect, device number 2
Jan 13 13:36:29 Gargoyle kern.info kernel: [ 969.760000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jan 13 13:36:29 Gargoyle kern.info kernel: [ 969.910000] usb-storage 1-1:1.0: Quirks match for vid 1058 pid 0704: 8000
Jan 13 13:36:29 Gargoyle kern.info kernel: [ 969.930000] scsi1 : usb-storage 1-1:1.0
Jan 13 13:36:29 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Western_Digital Product=External_HDD Serial=575845333038535537353738
Jan 13 13:36:30 Gargoyle kern.notice kernel: [ 970.930000] scsi 1:0:0:0: Direct-Access WD 2500BEV External 1.05 PQ: 0 ANSI: 4
Jan 13 13:36:30 Gargoyle kern.notice kernel: [ 970.940000] sd 1:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
Jan 13 13:36:30 Gargoyle kern.notice kernel: [ 970.950000] sd 1:0:0:0: [sda] Write Protect is off
Jan 13 13:36:30 Gargoyle kern.debug kernel: [ 970.950000] sd 1:0:0:0: [sda] Mode Sense: 21 00 00 00
Jan 13 13:36:30 Gargoyle kern.err kernel: [ 970.950000] sd 1:0:0:0: [sda] No Caching mode page present
Jan 13 13:36:30 Gargoyle kern.err kernel: [ 970.960000] sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan 13 13:36:30 Gargoyle kern.err kernel: [ 970.970000] sd 1:0:0:0: [sda] No Caching mode page present
Jan 13 13:36:30 Gargoyle kern.err kernel: [ 970.970000] sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan 13 13:36:30 Gargoyle kern.info kernel: [ 971.030000] sda: sda1
Jan 13 13:36:30 Gargoyle kern.err kernel: [ 971.050000] sd 1:0:0:0: [sda] No Caching mode page present
Jan 13 13:36:30 Gargoyle kern.err kernel: [ 971.050000] sd 1:0:0:0: [sda] Assuming drive cache: write through
Jan 13 13:36:30 Gargoyle kern.notice kernel: [ 971.060000] sd 1:0:0:0: [sda] Attached SCSI disk
Jan 13 13:36:30 Gargoyle kern.warn kernel: [ 971.360000] head: sending ioctl 540d to a partition!
Jan 13 13:36:30 Gargoyle kern.warn kernel: [ 971.360000] head: sending ioctl 540d to a partition!
Jan 13 13:36:31 Gargoyle kern.warn kernel: [ 971.750000] disktype: sending ioctl 5305 to a partition!
Jan 13 13:36:31 Gargoyle kern.warn kernel: [ 971.750000] disktype: sending ioctl 5305 to a partition!
Jan 13 13:36:31 Gargoyle kern.info kernel: [ 971.850000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
SuccessNa moje oko na razie wygląda ok
teraz poszło
ale system plików wygląda ok.
root@Gargoyle:~# umount /dev/sda1
root@Gargoyle:~# e2fsck /dev/sda1
e2fsck 1.42.4 (12-June-2012)
/dev/sda1: clean, 357/15269888 files, 46449160/61049000 blocks
root@Gargoyle:~#Zmieniłem kabel usb. Może to było przyczyną. Poobserwuję.
Otrzymuje coś takiego
root@Gargoyle:~# e2fsck /dev/sdb1
e2fsck 1.42.4 (12-June-2012)
/dev/sdb1 is mounted.
e2fsck: Cannot continue, aborting.
root@Gargoyle:~# e2fsck /dev/sda1
e2fsck 1.42.4 (12-June-2012)
/dev/sda1 is mounted.
WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.
Do you really want to continue<n>? yes
e2fsck: No such file or directory while trying to open /dev/sda1
Possibly non-existent device?
root@Gargoyle:~#i nici ze sprawdzenia
Może zrobić restart routera
W tym przypadku jak jest powielony dysk na sda i sdb to czy najpierw odmontować sdb i dopiero sprawdzić system plików na sda1 czy nie ma potrzeby ?
jak sprawdzić system plików ?
Nadmienie że dysk formatowany ok 2 tyg temu
Mam podłączony do wndr3700v2 dysk usb. Na routerze skonfigurowana samba i minidlna.
Dziś po włączeniu telewizora nie działa minidlna.
log systemowy:
HCPACK(br-lan) 192.168.1.19 00:18:f8:02:b6:e5 LinksysPAP
Jan 12 23:30:01 Gargoyle kern.info kernel: [115160.860000] device wlan1 left promiscuous mode
Jan 12 23:30:01 Gargoyle kern.info kernel: [115160.860000] br-lan: port 2(wlan1) entered disabled state
Jan 12 23:30:03 Gargoyle kern.info kernel: [115162.240000] device wlan1 entered promiscuous mode
Jan 12 23:30:03 Gargoyle kern.info kernel: [115162.480000] br-lan: port 2(wlan1) entered forwarding state
Jan 12 23:30:03 Gargoyle kern.info kernel: [115162.480000] br-lan: port 2(wlan1) entered forwarding state
Jan 12 23:30:05 Gargoyle kern.info kernel: [115164.480000] br-lan: port 2(wlan1) entered forwarding state
Jan 13 04:59:40 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPREQUEST(br-lan) 192.168.1.19 00:18:f8:02:b6:e5
Jan 13 04:59:40 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPACK(br-lan) 192.168.1.19 00:18:f8:02:b6:e5 LinksysPAP
Jan 13 07:00:01 Gargoyle kern.info kernel: [142161.100000] device wlan1 left promiscuous mode
Jan 13 07:00:01 Gargoyle kern.info kernel: [142161.110000] br-lan: port 2(wlan1) entered disabled state
Jan 13 07:00:02 Gargoyle kern.info kernel: [142161.960000] device wlan1 entered promiscuous mode
Jan 13 07:00:03 Gargoyle kern.info kernel: [142162.200000] br-lan: port 2(wlan1) entered forwarding state
Jan 13 07:00:03 Gargoyle kern.info kernel: [142162.200000] br-lan: port 2(wlan1) entered forwarding state
Jan 13 07:00:05 Gargoyle kern.info kernel: [142164.200000] br-lan: port 2(wlan1) entered forwarding state
Jan 13 10:22:47 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPREQUEST(br-lan) 192.168.1.19 00:18:f8:02:b6:e5
Jan 13 10:22:47 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPACK(br-lan) 192.168.1.19 00:18:f8:02:b6:e5 LinksysPAP
Jan 13 12:34:03 Gargoyle daemon.info hostapd: wlan1: STA 8c:c8:cd:71:82:70 IEEE 802.11: authenticated
Jan 13 12:34:03 Gargoyle daemon.info hostapd: wlan1: STA 8c:c8:cd:71:82:70 IEEE 802.11: associated (aid 1)
Jan 13 12:34:03 Gargoyle daemon.info hostapd: wlan1: STA 8c:c8:cd:71:82:70 WPA: pairwise key handshake completed (RSN)
Jan 13 12:34:07 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPDISCOVER(br-lan) 8c:c8:cd:71:82:70
Jan 13 12:34:07 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPOFFER(br-lan) 192.168.1.13 8c:c8:cd:71:82:70
Jan 13 12:34:07 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPREQUEST(br-lan) 192.168.1.13 8c:c8:cd:71:82:70
Jan 13 12:34:07 Gargoyle daemon.info dnsmasq-dhcp[8892]: DHCPACK(br-lan) 192.168.1.13 8c:c8:cd:71:82:70
Jan 13 12:34:57 Gargoyle kern.info kernel: [162256.190000] usb 1-1: USB disconnect, device number 2
Jan 13 12:34:57 Gargoyle kern.info kernel: [162256.220000] sd 0:0:0:0: [sda] Unhandled error code
Jan 13 12:34:57 Gargoyle kern.info kernel: [162256.220000] sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00
Jan 13 12:34:57 Gargoyle kern.info kernel: [162256.230000] sd 0:0:0:0: [sda] CDB: cdb[0]=0x28: 28 00 00 04 21 3f 00 00 20 00
Jan 13 12:34:57 Gargoyle kern.err kernel: [162256.230000] end_request: I/O error, dev sda, sector 270655
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.240000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.250000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.260000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.270000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.280000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.290000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.380000] EXT4-fs error (device sda1): ext4_find_entry:935: inode #5767169: comm minidlna: reading directory lblock 0
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.390000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.410000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.420000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.430000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.440000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.450000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.460000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.470000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.480000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.490000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.500000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.510000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.740000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.750000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.760000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.770000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.780000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:58 Gargoyle kern.crit kernel: [162257.790000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.390000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.400000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.410000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.420000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.430000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.440000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.450000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.470000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.470000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.490000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.490000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.510000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.520000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.530000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.540000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.550000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.560000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.570000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.580000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.590000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.600000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.620000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.620000] EXT4-fs error (device sda1): __ext4_get_inode_loc:3539: inode #4325378: block 17301536: comm minidlna: unable to read itable block
Jan 13 12:34:59 Gargoyle kern.crit kernel: [162258.640000] EXT4-fs error (device sda1) in ext4_reserve_inode_write:4357: IO failure
Jan 13 12:35:03 Gargoyle kern.info kernel: [162262.480000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jan 13 12:35:03 Gargoyle kern.info kernel: [162262.640000] usb-storage 1-1:1.0: Quirks match for vid 1058 pid 0704: 8000
Jan 13 12:35:03 Gargoyle kern.info kernel: [162262.640000] scsi1 : usb-storage 1-1:1.0
Jan 13 12:35:03 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Western_Digital Product=External_HDD Serial=575845333038535537353738
Jan 13 12:35:03 Gargoyle kern.err kernel: [162263.020000] Buffer I/O error on device sda1, logical block 17334325
Jan 13 12:35:03 Gargoyle kern.warn kernel: [162263.020000] lost page write due to I/O error on sda1
Jan 13 12:35:03 Gargoyle kern.warn kernel: [162263.030000] JBD2: Detected IO errors while flushing file data on sda1-8
Jan 13 12:35:03 Gargoyle kern.err kernel: [162263.030000] Aborting journal on device sda1-8.
Jan 13 12:35:03 Gargoyle kern.err kernel: [162263.040000] Buffer I/O error on device sda1, logical block 30441472
Jan 13 12:35:03 Gargoyle kern.warn kernel: [162263.040000] lost page write due to I/O error on sda1
Jan 13 12:35:03 Gargoyle kern.err kernel: [162263.050000] JBD2: I/O error detected when updating journal superblock for sda1-8.
Jan 13 12:35:04 Gargoyle kern.notice kernel: [162263.650000] scsi 1:0:0:0: Direct-Access WD 2500BEV External 1.05 PQ: 0 ANSI: 4
Jan 13 12:35:04 Gargoyle kern.notice kernel: [162263.660000] sd 1:0:0:0: [sdb] 488397168 512-byte logical blocks: (250 GB/232 GiB)
Jan 13 12:35:04 Gargoyle kern.notice kernel: [162263.660000] sd 1:0:0:0: [sdb] Write Protect is off
Jan 13 12:35:04 Gargoyle kern.debug kernel: [162263.670000] sd 1:0:0:0: [sdb] Mode Sense: 21 00 00 00
Jan 13 12:35:04 Gargoyle kern.err kernel: [162263.670000] sd 1:0:0:0: [sdb] No Caching mode page present
Jan 13 12:35:04 Gargoyle kern.err kernel: [162263.680000] sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jan 13 12:35:04 Gargoyle kern.err kernel: [162263.690000] sd 1:0:0:0: [sdb] No Caching mode page present
Jan 13 12:35:04 Gargoyle kern.err kernel: [162263.690000] sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jan 13 12:35:04 Gargoyle kern.info kernel: [162263.750000] sdb: sdb1
Jan 13 12:35:04 Gargoyle kern.err kernel: [162263.760000] sd 1:0:0:0: [sdb] No Caching mode page present
Jan 13 12:35:04 Gargoyle kern.err kernel: [162263.760000] sd 1:0:0:0: [sdb] Assuming drive cache: write through
Jan 13 12:35:04 Gargoyle kern.notice kernel: [162263.770000] sd 1:0:0:0: [sdb] Attached SCSI disk
Jan 13 12:35:04 Gargoyle kern.warn kernel: [162264.070000] head: sending ioctl 540d to a partition!
Jan 13 12:35:04 Gargoyle kern.warn kernel: [162264.080000] head: sending ioctl 540d to a partition!
Jan 13 12:35:05 Gargoyle kern.warn kernel: [162264.570000] disktype: sending ioctl 5305 to a partition!
Jan 13 12:35:05 Gargoyle kern.warn kernel: [162264.570000] disktype: sending ioctl 5305 to a partition!
Jan 13 12:35:05 Gargoyle kern.crit kernel: [162264.600000] EXT4-fs error (device sda1): ext4_journal_start_sb:327: Detected aborted journal
Jan 13 12:35:05 Gargoyle kern.crit kernel: [162264.610000] EXT4-fs (sda1): Remounting filesystem read-only
Jan 13 12:35:05 Gargoyle kern.debug kernel: [162264.800000] EXT4-fs (sdb1): ext4_orphan_cleanup: deleting unreferenced inode 4325378
Jan 13 12:35:05 Gargoyle kern.info kernel: [162264.800000] EXT4-fs (sdb1): 1 orphan inode deleted
Jan 13 12:35:05 Gargoyle kern.info kernel: [162264.800000] EXT4-fs (sdb1): recovery complete
Jan 13 12:35:05 Gargoyle kern.info kernel: [162264.810000] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
Jan 13 12:40:12 Gargoyle daemon.info hostapd: wlan1: STA 8c:c8:cd:71:82:70 IEEE 802.11: deauthenticated due to local deauth request
SuccessW systemie zdublował się dysk usb i teraz jest widoczny w mount jako sda i sdb
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/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/usb_mount/5bf88465-9af8-461d-a02f-a578b8804c7d type ext4 (ro,noatime,user_xattr,barrier=1,data=ordered)
/dev/sdb1 on /tmp/usb_mount/5bf88465-9af8-461d-a02f-a578b8804c7d type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
SuccessCo może być przyczyną.
Edytowałem do ucięło loga
Dzięki Cezary.
Pozdrawiam
Tak wiem, że jest ale pytam, czy nie będzie mu po konfiguracji i uruchomieniu brakowało Ramu czy miejsca w systemie plików.
Dzięki za informację.
Witam,
Mam pytanie czy za pomocą w/w pluginu można dokonać pełnej konfiguracji openvpn (pełnej tzn. działającej) czy trzeba coś jeszcze rzeźbić w plikach konfiguracyjnych ?
Czy do działania openvpn na netgear wndr3700v2 konieczne jest robienie exroot'a czy pójdzie na wewnętrznej ?
Pozdrawiam
Dzięki.
Wyłączyłem zdalny dostęp SSH
Mam następujący problem.
Przeglądając loga (komendą logread) zobaczyłem nieudane próby logowania na mój router z adresów IP pochodzących z Chin i innych części świata. Próby logowań dotyczą konta root (zazwyczaj w logu jest rozłączenie po jednej nieudanej próbie i ponowne podejście, lub próba na login niezdefiniowany w systemie.
Wyodrębniłem z loga ok. 10 adresów IP z których są połączenia.
Mam pytanie w jaki sposób skonfigurować router aby z automatu połączenia były odrzucane.
Czy dobrze myślę.
GUI > Firewall > Ograniczenia > i dodaję regułę ograniczenia dostępu z tymi adresami IP W opcjach reguły - ograniczenie cały dzień, codziennie, cała sieć.
Czy to będzie działało.
Ew. czy lepiej to zrobić z palca? Jeżeli tak to proszę łopatologicznie.
Dziękuję z góry
No już sobie poradziłem, dałem permamentne blokowanie ip (iptables -A INPUT -s xxx.yyy.zzz.vvv -j DROP) a ruch cały czas przechodził. Okazło się że w konfigu firewalla (/etc/config/fireawll) dla zone wan input miałem ACCEPT wiec to jako pierwsza regóła wszystko puszczała.
po zmianach i dodaniu kilku reguł do iptables działa jak tego oczekuję
dzięki i pozdrawiam
Możesz dać dokładny zrzut konfiguracji. Interesuje mnie coś takiego i mógłbym sobie przeanalizować i dostosować do siebie.
Wydaje mi się że może to być wina tv.
Sam miałem podobny problem. Z gargoyle 1.5.6 (Netgear 3700v2) i tv samsung UE40D6500 z wbudowanym wi-fi. Czasami dlna było niewidoczne w TV , ale internet w TV działał dobrze. Problem występował w różnych odstępach czasu. Zrobiłem upgrade oprogramowania TV i problem ustąpił.
EDYTA: nie doczytałem że na innych urządzeniach jest podobnie
Nie było żadnej komunikacji ze sprzętem dlatego wgrałem od nowa.
Witam,
W dniu wczorajszym zaliczyłem pad routera. Działał w porządku, żadnych zwiech czy oznak niestabilnej pracy. Po południu włączam kompa i brak netu. Sprawdzam brak dostępu do routera. Włączenie i wyłączenie nie pomogło.
Przywróciłem go do pracy w trybie failsafe i wgranie oryginalnego .img
Następnie ponownie wgrałem gargulca.
Teraz pytanie dlaczego mogło dojść do do takiego padu. Na 100% nie było zaniku zasilania.
Czy mogło dojść do przepełnienia flash'a z jakiego powodu np. logi.
Pytam bo chciałbym się jakoś zabezpieczyć przed takimi rzeczami na przyszłość czy ew. tttm /ten typ tak ma/
Fajnie że wszystko działa. U mnie tak jak pisałem wcześniej też pomógł kilkukrotny restart, ale ja mam nowszą wersję.
Co do plików konfiguracyjnych to wszystko jest bardzo proste.
Proszę Cie napisz jeszcze czy w procesach masz nmbd jeden czy dwa razy ?
Edyta:
Przyszło mi do głowy jeszcze że ten brak rozgłaszania w otoczeniu sieciowym może wynikał z braku cierpliwości. Może trzeba było dłużej poczekać aby się serwer rozgłosił ? (tylko dłużej tzn. ile)
ad1. Mam zrobione dwa dostępy. Jeden na hasło i drugi do tmp bez hasła z opcją tylko do odczytu.
ad.2 Nie trzeba tyle tego zmieniać ale gdzieś znalazłem opis poszczególnych parametrów i miałem je testować dlatego je wpisałem.
ad.3 Uruchamiałem następującymi komendami z linii komend:
/etc/init.d/samba-nmbd start
/etc/init.d/samba start
Zatrzymanie procesów odpowiednio z parametrem stop.
Aby włączyć procesy do autostartu dodatkowo te same komendy tylko z parametrem enable.
ad4. listowanie procesów komenda ps
lub top pokazująca zużycie zasobów przez poszczególne procesy > wyjście z tego ctrl+c
nie mam teraz dostępu do swojego kompa, ale jutro opiszę co i jak i dam cały konfig.
Teraz działa świetnie. Samba to 3.0.37 plus pakiet samba3-nmbd w tej samej wersji.
U mnie jest win7 HP 64bit, i win7 starter 32bit. Wszystko działa pięknie.
EDYTA:
1. Odinstalowałem wersję 3.0.24
2. Zainstalowałem pakiet samba3-nmbd_3.0.37-5_ar71xx.ipk z tego repo http://ecco.selfip.net/backfire/ar71xx/packages/
3. Automatycznie zainstalowała się samba 3.0.37 (samba3-mountcifs_3.0.37-5_ar71xx.ipk) z tego samego repo
4. Konfiguracja plików /etc/config/samba oraz /etc/samba/smb.conf.template
5. Dodanie użytkownika wg. poradnika samby http://eko.one.pl/?p=openwrt-samba
6. Uruchomienie procesów. Najpierw odpaliłem samba-nmbd następnie samba.
Uwagi:
Na początku samba nie rozgłaszała się w otoczeniu sieciowym. Kilkukrotny stop i ponowny start procesów aż w końcu zadziałało.
Jeżeli wszystko jest ok to u mnie na WNDR3700v2 odnośnie samby są widoczne następujące procesy:
2774 root 4108 S N /usr/sbin/smbd -D
2779 root 2492 S /usr/sbin/nmbd -D
2781 root 2460 S /usr/sbin/nmbd -D
Podczas gdy samba się nie rozgłaszała widoczny był tylko jeden proces nmbd. (100% - za każdym razem sprawdzałem). Po restarcie routera też są dwa procesy nmbd. Dlaczego tak jest proszę mnie nie pytać bo jestem za cienki to są moje pierwsze kroki z linuksem.
Konfiguracja /etc/config/samba
config samba
option 'workgroup' 'WORKGROUP'
option 'name' 'Web'
option 'description' 'Web Share System'
config 'sambashare'
option 'name' 'sda1'
option 'path' '/tmp/usb_mount/dev_sda1'
option 'read_only' 'no'
option 'guest_ok' 'no'
option 'create_mask' '0777'
option 'dir_mask' '0777'
option 'users' 'krzysiek'
config 'sambashare'
option 'name' 'public'
option 'path' '/tmp/usb_mount/dev_sda1/tmp'
option 'read_only' 'yes'
option 'guest_ok' 'yes'
option 'create_mask' '0777'
option 'dir_mask' '0777'
option 'browseable' 'yes'Konfiguracja /etc/samba/smb.conf.template
[global]
netbios name = |NAME|
workgroup = |WORKGROUP|
server string = |DESCRIPTION|
syslog = 10
encrypt passwords = true
passdb backend = smbpasswd
obey pam restrictions = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
unix charset = |CHARSET|
display charset = |CHARSET|
dos charset = CP852
preferred master = yes
local master = yes
domain master = yes
wins support = yes
os level = 99
security = user
map to guest = Bad User
guest account = nobody
invalid users = root
smb passwd file = /etc/samba/smbpasswd
interfaces = |INTERFACES|No i zadziałało. Nie rozgłaszało się aż nagle...rozgłasza się ładnie.
Może kolejność uruchamiania ma znaczenie.
Najpierw poszło /etc/init.d/samba a następnie /etc/init.d/samba-nmbd
Mam jeszcze pytanie
w wersji 3.0.37 w pliku /etc/samba/smb.conf.template
jak nie ma linii interfaces = |INTERFACES| lub
interfaces = br-lan
to nie chciała wystartować. Dlaczego ?
Wydaje mi się że w wersji 3.0.24 bez tego ruszała.
Dzięki ![]()
Kurcze na starej wersji jest ok. Rozgłasza się z marszu.
Zrobię jeszcze raz konfig po siebie i zobaczę jak z hasłami.
Jak będzie ok to zostawię.
EDIT:
no i po staremu. Rozgłasza się bez problemu. Dostęp bez hasła działa ok.
Dostęp na hasło - nie można się zalogować.
Jak można zostawić tylko to repo ?
EDIT:
chyba znalazłem
w pliku opkg.conf
zahaszowałem inne ścieżki
Co to jest za pakiet w repo:
samba3-mountcifs_3.0.37-5_ar71xx.ipk ?
EDIT:
I jeszcze pytanie jak zainstalować starą wersję (ta co jest w gargulcu na starcie)
jak robię:
opkg update
opkg install samba3
to instaluje się wersja 3.0.37
Plik hosts mam pusty
Edit:
Jak dodałem wpis:
192.168.1.1 OpenWrt
To dostaję się po nazwie, no ale to nie to bo się nie rozgłasza.
ok posprawdzam.
Odinstaluję jeszcze wersję 3.0.37
Wrzucę tą starą i zobaczę czy jest widoczna w otoczeniu sieciowym.
eko.one.pl → Posty przez kiniu
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc