Problems with Samba? Confused about a few things. Help!!!!!
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problems with Samba? Confused about a few things. Help!!!!!
Ok, I finally got my Redhat Linux 7.3 workstation/server connected to the internet and and my LAN.
Thanks to all for your help.
My LAN is all static IP addressing. I am not using DHCP. It always has been for security reasons.
I must mention first that all my IP addresses are configured properly. I have been using a windows based network with 7 PCs for a long while. My LAN attaches to a LINKSYS router to access WAN. It is configured properly. I wanted to set up my own server, because I am tired of paying someone else for webspace for my websites and I have been interested in using and learning Linux.
I have configured Samba, but I am unable to connect to the PCs on my Lan.
This is where my confusion begins (my books and web resources aren't anwering my questions):
1)Shall I dedicate one of my XP computers as my WINS server? (I have read conflicting information that XP will only function properly if it is the master- If so, I understand that I have to put the OS level at 0 in Samba).
2)Do all the clients have to be placed and labeled in a domain that I have to establish for my Lan (I never had to do this for my Windows only network before)? In other words, do I need to set up a domain for samba to work and to enable my Linux and PCs (and configure the rest of my PCs, accordingly) to see and access eachothers shared folders?
If so, how do I establish a domain for my LAN? Does this mean I should configure and run the DNS services on my Linux server?
Do I need to set up a local DNS server for my LAN for Samba to work?
You shoulnt have to set up a domain or a dns server or enable the wins server in smb.conf, I usually just use the default smb.conf and the only things i change are the workdroup to match and the shares to point where they need to and have the permissions they need. Its pretty much ready to go out of the box. And you will want to add samba users, I think on 7.2 they still had smbadduser for that and then smbpasswd username after adding.
linux_terror
PS- I run a hosting environment and if you are going to host I would run a DNS server for that. Do your own DNS as oppsed to trusting someone else to set it up right <---valuable lesson learned from dealing with Qwest
My LAN is all static IP addressing. I am not using DHCP. It always has been for security reasons.
That's a good start
Quote:
I must mention first that all my IP addresses are configured properly. I have been using a windows based network with 7 PCs for a long while. My LAN attaches to a LINKSYS router to access WAN. It is configured properly. I wanted to set up my own server, because I am tired of paying someone else for webspace for my websites and I have been interested in using and learning Linux.
So, I assume you want to set up a webserver
Quote:
I have configured Samba, but I am unable to connect to the PCs on my Lan.
Here come the questions.
Why samba? Generally, you would want samba as a file server for your local network. If you can't see the windows machines, that is a samba client issue, which we do not have to solve right now.
Quote:
1)Shall I dedicate one of my XP computers as my WINS server? (I have read conflicting information that XP will only function properly if it is the master- If so, I understand that I have to put the OS level at 0 in Samba).
WINS servers etc are beyond me, as I stopped suporting ms at win98
You can set up a very basic samba server using share level security in about 10 minutes. Follow the examples from the above links. You don't really need local dns or domain, although winxp likes it better if you do. Check the linux-networking messages.
Yes, my ultimate goal is setting up a webserver. I just haven't gotten that far yet.
First things first:
Get Samba working to share files.
Maybe I am not being clear. Right now my pcs can't find my Linux workstation/server and vice versa.
My desired intentions:
I don't need samba to be a server or a WINS server for that matter.
I just want to be able to share files between all the computers. [The windows machines work fine with each other.]
I would like to enalble passwords for security.
When I try to locate/conect to one of my PCs using Konquerer I get:
An error occured while loading http://192/168.1.5
Timeout on server
Timed out while waiting to connect to 192.168.1.5
However, doing the same procedure to connect to my router works!? I get the logon screen and everthing.
When I try connecting from one of my PCs to my Linux workstation/server, I get a similar reply:
Can't find 192.168.1.7
From my PC, my Linux machine is not showing up on the network.
Originally posted by Pedal2Metal
When I try to locate/conect to one of my PCs using Konquerer I get:
An error occured while loading http://192/168.1.5
This may be a typo but the above should be 192.168.1.5
Quote:
Timeout on server
Timed out while waiting to connect to 192.168.1.5
Are you tying this in Konquerer? try "smb://" instead of "http://"
Quote:
When I try connecting from one of my PCs to my Linux workstation/server, I get a similar reply:
Can't find 192.168.1.7
From my PC, my Linux machine is not showing up on the network.
How are you trying to connect here? In IE via http?
In XP, open My Computer. Hit Ctrl+f or "Find", "Computers or People" > "A Computer On The Network" type in the IP of the server and let us know.
And have you made you windows compuers members of the "TRANSCENDENT" workgroup?
Try maybe:
preferred master = yes
domain master = yes
#wins server = 192.168.1.7
#hosts allow = 192.168.1.
try leaving the all and wins stuff out until you get it working.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
I:\Documents and Settings\Michael>ping 192.168.1.7
Pinging 192.168.1.7 with 32 bytes of data:
Reply from 192.168.1.7: bytes=32 time<1ms TTL=255
Reply from 192.168.1.7: bytes=32 time<1ms TTL=255
Reply from 192.168.1.7: bytes=32 time<1ms TTL=255
Reply from 192.168.1.7: bytes=32 time<1ms TTL=255
Ping statistics for 192.168.1.7:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
I:\Documents and Settings\Michael>ping 192.168.1.12
Pinging 192.168.1.12 with 32 bytes of data:
Reply from 192.168.1.12: bytes=32 time<1ms TTL=255
Reply from 192.168.1.12: bytes=32 time<1ms TTL=255
Reply from 192.168.1.12: bytes=32 time<1ms TTL=255
Reply from 192.168.1.12: bytes=32 time<1ms TTL=255
Ping statistics for 192.168.1.12:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
I:\Documents and Settings\Michael>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.