[LIVE] - Can you install samba to share directoies to a windows network?
#16
So if my username for my XBMC machine is just xbmc, I can just keep the it same? And then when I go into system settings I see the IP address as 192.168.1.101. Is that the IP I should use? or is there another type I need?

Thanks
Reply
#17
can so:
Quote:[global]
workgroup = WORKGROUP
netbios name = XBMCLIVE
interfaces = 192.168.1.101/24, lo
security = SHARE
encrypt passwords = No
log file = /opt/log.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 read raw=yes
dns proxy = No
wins support = Yes
remote announce = 192.168.x.255
hosts allow = 192.168.1.0/24 127.0.0.1 172.16.0.0/24
guest ok = Yes
domain logons = No
dns proxy = No
use sendfile = yes
write raw = yes
guest account = root
client NTLMv2 auth = yes
plus optional access to the root:
[Root]
path = /
valid users = xbmc,www-data, nobody, root,
force user = root
read only = No
create mask = 0765
guest ok = Yes
browseable = Yes
writable = yes
..............................
Access to USB ..... path : / media / X
For me, when you insert the USB in the folder / media ... there is always another number...but still probably be repeated (4606-54FE) or you can probably do so
Quote:[XBMC-USB-DRIVE]
path = /media/4606-54FE
valid users = xbmc, www-data, nobody, root,
force user = root
read only = No
create mask = 0765
guest ok = Yes
browseable = Yes
writable = yes
I do not know if this works ?
Reply
#18
So even though I have my USB drive named MediaStore, I should still put in 4606-54FE instead?
Reply
#19
No. 4606-54FE is just an example. That's my number, USB. Your number or name search in the folder path: / media/ ..... you can find (name or number) it when you insert your USB Drive to your PC with XBMC
Reply
#20
Ok. When I formatted the USB drive I named it MediaStore, so I'll use this path in my config file: /media/MediaStore


And then, how do I access that with windows XP? Do I just type in \\192.168.1.101\xbmc in the my computer window?
Reply
#21
I have Windows7 and my computer window, click on the network / context menu map the network drive and enter:
\\172.16.0.122\Root
\\172.16.0.122\Downloads
\\172.16.0.122\Pictures
or I click on the right side of space and choosing refresh options.
You should see an icon called: XBMCLIVE (as in the configuration of samba)
or run command / insert : \\172.16.0.122\Root ...... and ENTER :-)
For you, by this entry:
....................................
[XBMC-USB-DRIVE]
path = /media/MediaStore
valid users = xbmc, www-data, nobody, root,
force user = root
read only = No
create mask = 0765
guest ok = Yes
browseable = Yes
writable = Yes
......................................
You can: \\192.168.1.101\media\MediaStore
or better
\\192.168.1.101\XBMC-USB-DRIVE
but still you have to check.......because I will not say one hundred percent :-)
Reply
#22
Awesome! Thanks! I'll give it a try when I get home from work tonight.
Reply
#23
It works! Thank you so much! Just curious, what do those two chmod commands do?
Reply
#24
So everything has been working fine for awhile now. Recently, however, the IP address on the host linux machine was reassigned to 192.168.1.104, which screws up all of my network shared mapped drives. Is there a way to set it back to 192.168.1.101 and keep it from changing? Something like setting it to static IP instead of dynamic? I looked in network settings but couldn't find it.
Reply
#25
You need to edit /etc/network/interfaces. There are plenty of tutorials online for that, and there are plenty of posts on this board about it. The rest is left as an exercise for the reader.
Reply
#26
look here : Nod

http://www.jonathanmoeller.com/screed/?p=1669
http://www.ubuntugeek.com/change-ubuntu-...dress.html
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] - Can you install samba to share directoies to a windows network?0