RedHat 11 - Configuring SAMBA / shares
I am (trying to) install RedHat v11, and am having no luck getting NETBIOS names set up, let alone file sharing with Windows/Linux computers on my network. (I do not think I was entirely insane to try this - a couple of years ago, I got this all working on Fedora 6)
So, what have I done
1) Installed it
2) edited \etc\samba\smb.conf for workgroup name, netbious name
WINS server on, no DNS resolution
3) I can get to the Internet, so I know the router it is connected to is giving it a good IPv4 address (but the router log does not show the NETBIOS name for the unit, which cannot be a good thing)
I can ping to or from the unit to other computers on the network, but the name resolution stuff does not work in either direction.
Looking at Administration ... Services, I do not see an entry for SAMBA, smbd or anything else relevant .... it was there in Fedora 6.
Looking at the smb.conf comments, there is a mention that the SELINUX characteristics for the folder I wish to share needs some "samba-user" notation set, but I do not see any way to set it via the context menu for the folder.
Any help appreciated.
I am going to assume you mean Fedora 11, as there was no Red Hat 11....
Check to make sure that all of the samba packages are installed. Also, the file to start the service should be /etc/init.d/smb - you could try starting it from the command line as root
better, but not done
Thanks for the advice. yum install samba got me samba installed, which I was able to start but name resolution still fails.
Specifically, the router is not seeing the NETBIOS name when its DHCP server assigns an address.
From the LINUX box, I can
a) access the Internet
b) get name resolution for machines not on the LAN (ping www.yahoo.com works)
c) ping LAN address by IPv4
but I cannot ping names on the LAN
From other computers on the LAN, I can ping the LINUX box by IPv4, but not by NETBIOS name.
PS. You are correct, I installed Fedora 11, not RedHat 11
if smbd is up and running try to connect to it
forget the name and try the ip
on client"s side do: START,RUN,type: \\ip_of_smb_server
if it doesn't work you have to check connectivity with the linux machine
try to ping it's ip
if you can ping double check if smbd is running
if you are sure you see the process running
check if it's listening on the correct port
try "netstat -ln | grep 445"
What is the procedure for "connecting to smbd"
the UI for Administration ... Services shows (for each of smd and nbd) "Enabled" and "Running" - but,
1) the Administration ... Services ... does not show "Samba' as an option (as it does in Fedora 6)
ii) the System Monitor ... Processes tab does not show either smbd or nmbd as running processes (should it?)
the NSTAT command exits after a single line which reads
tcp 0 0 :::445 :::% LISTEN
open an explorer windows within windows and type at address bar \\ip_of_smb_server
Okay, I tried //192.168.0.109 in Firefox and got "file not found"
On a Windows box on the LAN I tried (on both Windows Explorer and Internet Explorer) //192.168.0.109 //192.168.0.109:445 \\192.168.0.109
and \\192.168.0.109:445 - all of these produced errors sounding like "can't connect".
Looking at other posts, I tried
which showed both smb and nmb are "on" at levels 2345 (whatever that
smbclient -L localhost returns "'client lanman auth' is disabled"
|All times are GMT -5. The time now is 09:27 PM.|