LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-18-2006, 11:39 PM   #1
nonlin
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
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...
 
Old 12-19-2006, 01:11 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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!
 
Old 12-28-2006, 01:36 AM   #3
nonlin
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 01-01-2007, 12:40 PM   #4
nonlin
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Network capabilities Versus Linux/unix carl0ski Linux - Networking 2 03-22-2005 02:58 PM
unix file attributes - windows exploder k1mgy Linux - Networking 1 01-13-2005 02:29 PM
Where do network card config file locate in UNIX? woranl Linux - Networking 2 02-20-2004 08:35 AM
newbie: unix network programming: UDP and send file geo_h Programming 3 09-17-2003 11:41 AM
Linux/windows internet sharring dark_light Linux - Networking 5 09-27-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration