Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
Distribution: Fedora, Gentoo, Debian, Slackware, IRIX, OS X
Posts: 192
Rep:
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
Code:
# /etc/init.d.smb start
If the samba packages are not all installed (which I don't think Fedora does by default), then that command will fail.
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.
Thanks
Jonathan
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"
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
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
chkconfig --list
which showed both smb and nmb are "on" at levels 2345 (whatever that
means)
smbclient -L localhost returns "'client lanman auth' is disabled"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.