LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't accuse file sharring on my windows network in unix (https://www.linuxquestions.org/questions/linux-networking-3/cant-accuse-file-sharring-on-my-windows-network-in-unix-511797/)

nonlin 12-18-2006 11:39 PM

Can't accuse file sharring on my windows network in unix
 
Hi new Freinds, and exuse me bad spelling.

My sistem:
(Fedpra 3) Red Hat Linux.

I have installed this Os on one of my PC for the Opertuity to Learn. so this is my first time with Linux.

Hear my problem.
I have a Window network with win2000, Win Xp, Win 98, and the internette, thoughout the network. So though wouldn't it be nice to add the Lenix machine to this.

What I have learnd and got to work.
1) the Lenix machine can accsses the internette.
2) I discoved Samba and now most of my window machines can acsses files on the Lenix machine. (except win98).

Whats not working.
I can't log onto the window network from Lenix so I can open file that live on the windows machines in to Lenix. So in the gue interface if I click on files then newwork then windows workgroups (which is the right workgroup) I get a folder of nothing (I use to get an error). If I try to mount a network computer it takes a long time before it finaly give me an error (need to get back to you if you need the error messeg).

So close yet not quite there. I just don't know what progame is in chage of this feacher or how to comfiger it when if find it.

can anyone put me on the right path
Stef...

jschiwal 12-19-2006 01:11 AM

There is a book available to download called "Samba 3 by Example" from the Samba 3 website. This is the same book I purchased at Barnes and Nobels bookstore. It contains a number of sample configurations and will take you step by step through how to set up samba and shares. For example, creating Linux users for each Windows user if you use certain security models. There may also be a couple Windows registry changes for Windows98 such as disabling password caching.

You could also see whether the smbd and nmbd services are running. Smbd is probably running. It is the samba server itself. Nmbd is the netbios name server. It can also work as a WINS server in case your windows maching don't use net bios over TCP. You haven't said how the windows network is configured and that is what will determine how to configure samba. Such as whether you are running a domain controller, or are running independent peer to peer machines.

Also check that ports 137-139 are open. From the /etc/services file:
Quote:

netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp # NETBIOS Name Service
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp # NETBIOS Datagram Service
netbios-ssn 139/tcp # NETBIOS Session Service
netbios-ssn 139/udp # NETBIOS Session Service
If you configured your /etc/samba/smb.conf file by hand, be sure to run "testparm" to test the syntax of your configuration.


Good Luck!

nonlin 12-28-2006 01:36 AM

moved up an inch so far!!!
 
Dear jschiwal,

Thank you for your response and sorry it has taken me so long to give you feed back.

Your Suggestion “Samba 3 by Example” Has helped me to make a little bit of progress, But I am still reading it so I’m not there Yet. Before, when I tried to enter the windows workgroup , I was getting a error or just nothing would happen. Now (with the help of “Samba 3 by example”) When I opened the Workgroup I can now see all the other computers on the network, But When I try to enter them I get an error “sorry can’t display all the items on Window network: Window_Computers_name”. I also noticed that the windows computer that I am trying to talk to though Linux , seems to not be receiving any network activity for the Linux computer that I trying to open it with. So I have moved up an inch so far, thanks to your help, and it looks promising. The Modification that gave me that inch seems to be when I entered “192.168.1.101 mark” into the /etc/hosts file (the Linux ip and Name).

As to your other question, I think the anser is Peer to Peer. Since my Osasync calls a small local network that.(ie intro Net)

So far, It seems that the answers to my problems are probably not fixable in the /etc/samba/smb.conf.

Anyway, I’m almost there, and if you have any other suggestions I would love to hear them.

Sincerely

Stefan

nonlin 01-01-2007 12:40 PM

I have Lost the abilty to accses the internet?
 
I have finally been able to make the Peer to Peer net work in both direction. I think it was when I changed the 192.168.1.101 mark to 192.168.1.101 mark.main in the /etc/hosts file. But Im not shore it that was it.

But Now I have lost the ability to accses the Internet.
That is when I open firefox in Linux and goto something like google. it say (and very quick) Can't find.
I had this ability before and the window systems can reach the net. and the only files I have been mucking with are /etc/samba/smb.conf and the /etc/hosts

I must have stepped on something.


All times are GMT -5. The time now is 09:58 PM.