I have a topic for a course project on networks "Setting up Ubuntu Server for a local network."

I am trying to set up samba (file server) for sharing a folder so that it can be used by windows user`s.

I work with virtualbox, network NAT on ubuntu server and windows 7.

I bring the smb.conf config:

[global] workgroup = WORKGROUP server string = Samba server %v netbios name = smbserver security = user map to guest = bad user dns proxy = no [MyShare] path = /home/smbshare/all browseable = yes writeable = yes guest ok = yes read only = no 

So, Windows does not see the folder / \\myserver , I specified the netbios name.

  • You have written in the config: netbios name = smbserver Are you trying to go to \\myserver ? - Mikhail Sidorov
  • I just changed the config to hashcode.ru/questions/16098/… and it still does not work - jashka
  • Let's go from the beginning. To the linux virtual machine go pings from windows? - Mikhail Sidorov
  • ubuntu server and windows 7 running on virtual, network NAT, ifconfig | perl -nle '/ dr: (\ S +) / && print $ 1' gives: 10.0.2.15 ping ok 192.168.122.1 ping ((pings - jashka
  • Do you even write what the address of the windows, what is the ubuntu. A sad smiley means that there are no pings? Why in the discussion to use constructions like ifconfig | perl -nle '/ dr: (\ S +) / && print $ 1', when all you need is ifconfig and ping. Or are you waiting for help from a perl programmer? - Mikhail Sidorov

1 answer 1

Make sure that your ball has read and execute permissions for "other". Add the necessary rights by running:

 chmod o+rx /home/smbshare/all