Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Can anyone tell me how to determine if samba is already installed on my system? And if I find that it is not installed, how I can install it? I am running Red Hat 7.1
You were right about logging in with the su - command. That is not something I knew about.
After performing the service smb restart command I am now finally able to see the linux box when I open Network Neighborhood! However, when I click on the computer ("Localhost"), Windows gives me an error message:
\\Localhost is not accessible
The computer or sharename could not be found, make sure you typed it correctly.
What am I doing wrong?
Thank you so much for the help. I've been blindly fooling around with this for several weeks, and it's great to finally see the linux machine showing up in Network Neighborhood.
Oh- 2 other questions:
1- How can I change the name of the linux box (to something other than localhost)? Or is it necessary for me to keep that name?
2- How will I ultimately access files on the Windows computer from the linux machine? Is there anything analogous to Network Neighborhood in linux?
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
Do you have anything shared? You would have accomplished that by editing the smb.conf file.
And are you logged into Windows with a valid Linux username and password? Not root, but some other user.
Also, change the name using the 'hostname' command:
Originally posted by KevinJ Also, change the name using the 'hostname' command:
hostname someotherhostname
You might want to update /etc/hosts and c:\windows\hosts to reflect the name change too. And you'll need to enable clear text password on the Windows side or things, there is a .reg file to do this incase you haven't found it already.
Also is just using 'hostname' persistant, on Slackware using the hostname command will only work for the current session, if you reboot you'll loose the change. To make it persistant you need to edit /etc/HOSTNAME - dunno what the story will be on Redhat
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
I am not sure if the hostname command permanently sets the hostname or not. Try it and see. I can't try it right now, or I would give you definitive answer.
You will definitely want to update the hosts file on the Windows box, but I think the /etc/hosts on the Linux box is optional. It can't hurt.
As far as passwords go.. you can go either route. You can enable plain text on the Win9x box or you can enable encryption on the Linux box. I usually go the plain text route myself, but that will depend on your security needs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.