Temat: Dysk sieciowy,samba
Witam. Chcę zrobić dysk sieciowy. Podłączyłem dysk do routera i kierowałem się poradnikiem:
https://eko.one.pl/?p=openwrt-samba
https://eko.one.pl/?p=openwrt-hdd
Niby jest widoczny serwer ale nie mogę się dostać do niego. Coś może pominąłem.
root@OpenWrt:~# uci show samba
samba.@samba[0]=samba
samba.@samba[0].name='OpenWrt'
samba.@samba[0].workgroup='WORKGROUP'
samba.@samba[0].description='OpenWrt serwer'
samba.@samba[0].homes='1'
samba.@samba[0].charset='UTF-8'
samba.@sambashare[0]=sambashare
samba.@sambashare[0].name='server'
samba.@sambashare[0].path='/mnt/sda1/server'
samba.@sambashare[0].read_only='no'
samba.@sambashare[0].create_mask='0700'
samba.@sambashare[0].dir_mask='0700'
samba.@sambashare[0].guest_ok='yes'root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
ubi1:syscfg on /tmp/syscfg type ubifs (rw,relatime,ubi=1,vol=0)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sda1 on /home type ext4 (rw,noatime,stripe=8191,data=ordered)
/dev/ubi1_0 on /mnt/ubi1_0 type ubifs (rw,relatime,ubi=1,vol=0)root@OpenWrt:~# uci show fstab
fstab.@global[0]=global
fstab.@global[0].anon_swap='0'
fstab.@global[0].anon_mount='1'
fstab.@global[0].auto_swap='1'
fstab.@global[0].auto_mount='1'
fstab.@global[0].delay_root='5'
fstab.@global[0].check_fs='0'
fstab.automount=global
fstab.automount.from_fstab='1'
fstab.automount.anon_mount='1'
fstab.@mount[0]=mount
fstab.@mount[0].target='/home'
fstab.@mount[0].device='/dev/sda1'
fstab.@mount[0].fstype='ext4'
fstab.@mount[0].options='rw,noatime'
fstab.@mount[0].enabled='1'
fstab.@mount[0].enabled_fsck='1'