Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 [2] 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Using Samba, Sharing files on a Windows network< Next Oldest | Next Newest >
fivel256 Offline





Group: Members
Posts: 1
Joined: April 2006
Posted: April 28 2006,20:44 QUOTE

so from a console do sudo su
then do a vi "/your/file/name"


"THIS IS NOT A vi TUTORIAL" when in doubt google vi tutorials


that will open your file in the vi text editor. you should be able to use the arrow keys to move in this mode. If not h j k l will move you around


quick key reference

x = delete
i = insert
esc = get out of insert mode
: = command mode

to quit and save type

:w
:q

yah I know its pretty rough but without the man pages what can you do?
Back to top
Profile PM 
rjmusto Offline





Group: Members
Posts: 10
Joined: April 2006
Posted: April 29 2006,18:07 QUOTE

Thanks for that.

VI works fine.

Having modified the conf file I assume it is necessary to restart smb in order to pick up the changes. How do I do that?

I've seen other LINUX posts using the 'service' command to restart smb, but that does not seem to be implemented in DSL.
Back to top
Profile PM 
linux4all Offline





Group: Members
Posts: 13
Joined: April 2006
Posted: April 29 2006,21:05 QUOTE

Quote (rjmusto @ April 29 2006,14:07)
Thanks for that.

VI works fine.

Having modified the conf file I assume it is necessary to restart smb in order to pick up the changes. How do I do that?

I've seen other LINUX posts using the 'service' command to restart smb, but that does not seem to be implemented in DSL.

I'm still wrestling with this. I'm sure I'll be able to somehow edit the smb.conf file, but I'm wondering what exactly to put into it. Can I assume that i can copy entries from a smb.conf file from another system... in my case, a Xandros distribution, which is also a Debian Distro?
If I do this, then to share a Fat32 windows drive F:, I should add the following entries to my smb.conf file

[F]
public=yes
browseable=yes
path=path-to-F
writeable=yes
force user=dsl
max connections=0
available=yes

Will that do the trick, or do I need to add more to smb.conf to get it to work.

Does anyone know how to restart samba in dsl, or is it the same as in the normal samba man pages?

Thanks for helping out a new linux user.
Back to top
Profile PM 
rjmusto Offline





Group: Members
Posts: 10
Joined: April 2006
Posted: April 29 2006,21:19 QUOTE

Wrestling is a good term - me too.  Have got as far as the DSL machine is now shown as a workgroup computer on the Windows machines, but not managed to configure the shares right yet, so can't view anything.

Restarting SAMBA I now know is:

smbd restart &
nmbd restart &

Just make sure your logged on as SUDO SU on Aterminal first.

Hope you sort it out!
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: April 29 2006,21:41 QUOTE

Here is the simplest smb.conf file I have come up with.  However, it is not really secure but my network is behind a router firewall using a private ip address.

[QUOTE]
[global]
Back to top
Profile PM 
18 replies since April 22 2006,18:00 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: Using Samba

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code