SMB/Samba Harddrive Share across Network Problem!

NoToneS

Newbie
Hi I'm trying to get the HDD connected to my box to show up across my windows network, and cant figure if its a samba or windows issue.
NOTE: this is not a Question about mapping network shares to the box its the opposite...

so far I have started the samba server/client in my firmware and confirmed its running, have setup a password on the root account via telnet and edited the /etc/samba/smb.conf to set encrypt passwords = no as from what I can remember windows had issues with this last time I did it on other linux devices.
See Steps so far below

Setup Samba network shares
edit file -> /etc/samba/smb.conf : change encrypt passwords = no
save file...


load putty
put in box ip ->select telnet
open
xxxxxxx login : root


passwd


enter new password and repeat


goto windows machine browse networks
select the box it will now ask you for login details


NOTE: Windows is a nusance and you may have to use
\\NetworkDeviceHostName to access it


user : root
password : new password
Doing above still doesn't let me login to see any shares that are setup in the smb.conf file it just keeps asking for password.

what i cant figure out is if its a windows issue or a samba issue. - I'm getting to old for all this thinking :)

Current setup+samba configuration: smb.conf
Window 7 Pro + various other pcs/laptops on 7,8, and W10 that can all see and access other network shares/mapped drives
Zgemmah2S 1TB HDD Firmware: OpenATV Wooshbuild v5

-- current smb.conf file --
[global]
guest account = root
security = user
map to guest = bad user
server string = OpenATV %h network services
workgroup = WORKGROUP
socket options = TCP_NODELAY
username map = /etc/samba/private/users.map
smb passwd file = /etc/samba/private/smbpasswd
encrypt passwords = no
passdb backend = smbpasswd
idmap backend = smbpasswd
obey pam restrictions = yes
unix charset = utf-8
max stat cache size = 64
null passwords = yes
unix password sync = yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .


[Root]
comment = Everything - take care!
path = /
read only = no
public = yes
guest ok = yes
valid users = root
force create mode = 600
force directory mode = 700
force security mode = 600
force directory security mode = 700


[Harddisk]
comment = The harddisk
path = /media/hdd
read only = no
public = yes
guest ok = yes
valid users = root,kids
admin users = root
force create mode = 600
force directory mode = 700
force security mode = 600
force directory security mode = 700
 
Last edited:
I have samba setup but didnt set any paswords so maybe that's the problem unless you have ports forwarded I don't see why you would need to have one I could be wrong.
 
Hi gibbletts,
I have samba setup but didnt set any paswords

I did try without password first with no success , it would be helpful if you could post a copy of your smb.conf file so i can try it - this would help me eliminate samba as the issue.

Just to confirm "I have samba setup" you do mean you are able to browse the HDD fitted to your box from your windows network shares?! if so what version windows are you browsing from plz
 
I'm on Windows 10 and running a duo 2 with Openvix I don't even use ftp anymore just click on the drive and drag works fine. I'll pm you with conf it'll be tomorrow am
 
cheers mate.
not wanting to run FTP powershell batchfiles is the reason i want network shares :)
 
Did a bit more messing last night -> still not sorted but noticed this behavior.[SP]
ZGEMMAH2S.jpg
[/SP] Using the H1 it can not see shares on the H2S[SP]
ZGEMMAS2S.jpg
[/SP] But it can see its own shares.
The same is reversed if I switch Boxs- no pcs in the house can see either box tried using Windows 7 8 +10, and even XP lol
I'm sure it was never this hard back when I had a Dbox2
 
Last edited:
Everything working now, not really sure what fixed it but this is what i did:
[sp]
- logged in using telnet, added new user, restarted samba
useradd guest
passwd guest
/etc/init.d/samba restart

-browsed network and logged in via guest account -
all shares were visible (making me believe this issue was privileges related)

- removed guest account and restarted samba from telnet
userdel -r guest
/etc/init.d/samba restart

-browsed network and logged in via root account -
all shares were visible (? absolutely baffled as adding and removing guest should not have done anything)

but hey it works and I can now do this this
ZGEMMANetWorkgroup.jpg
ZGEMMABox2Box.jpg[/sp]
 
Last edited:
Back
Top