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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Can anyone tell me how to configure xSMBrowser properly to work in RedHat? I am on version 7.2. I downloaded and configured the tcl and tk files/headers, and expect. I confirmed that expectk is configured on my system.
I went into the xSMBrowser file and changed the path so that it would be pointing to the correct place to find expectk as the documentation said to do.
This is where I am stumped. I have no idea what to do next. The documentation says to read SAMBA docs to decide how you want to confiure SAMBA to use xSMBrowser. I can't find anything in SAMBA docs that even relates to xSMBrowser, so I have no idea what to do next.
The documentation also stated that you should try to click on the xSMBrowser icon to see what it will do. Well, mine just opens a list box asking what application I want to open it with.
I have SAMBA running successfully, and smbd and nmbd are active.
Last edited by LinuxJuanaBe; 05-01-2002 at 04:35 PM.
I have "Icepack" Linux, so my situation may be different from yours. Also, maybe I didn't even understand your question correctly, but I'll offer my suggestions since I just went through this on my install.
Does XMSBrowser actually run? I wasn't sure from your explanation.
Mine opens with two network icons -- I think SambaConfig and one other.
When you "right click" you can select your choice, such as "edit network." But skip that for now.
Here's a first test you might try (I'm sorry if I don't describe things quite correctly, I'm not using my linux machine right now so I can't check). There is an icon for "favorite" or "add favorite"?
You can add a "favorite". Set it up by manually entering the IP address of one of your other computers.
This worked for me -- once I entered the IP of my other computer, I could "see" the shared resources. -- Of course, you have to share the resources first.
From that point, I could use the "explore" icon -- and when I "explored" the drive on my other computer, it also "mounted" it.
Back to the network issue -- if you've got a browse server, then you have to "edit" the network and tell it the IP of the server.
I set my network up without a browse server. So, one choice was to use the "favorite" method. Another choice is to set up the network to get its info from a "file". This is one of the options offered by XSMBrowser when you edit the network (or start a new network). You may be able to use the LMHosts file, but I wasn't sure -- being a novice -- so I started a filed called SMBHosts. You just list your computers, one to a line, with the name and the IP. I think the help says the last line has to be "-1" or something like that.
The network then uses this browse list to look for your computers.
I don't know if any of this helps, but it was my approach to finding my other computers.
No, mine will not open at all. It looks like a text document, not a program.
Your information would be extremely helpful if I could get xSMBrowser to run at all. Your info seems clear and concise. So if I can ever figure out how to get the program to run , I'll use the info that you sent along.
"smbclient" will be installed already if you have samba installed and working. I don't recognize "expectk" -- in that I didn't specifically access it for anything, but that is probably also already installed. The only point is that you have to tell XSMBrowser where to look for these files when you "configure" it. This web page suggests they are "probably" under /usr/bin -- but you need to look in /usr/bin to be sure. Maybe your Redhat install put them somewhere else.
I doubt it. The webpage says "usually, but not always" in this location.
If you are building from a source file, then I think you run .config -- but I think the rpm will prompt you for the configuration items you need to enter.
Unfortunately, I can't use the RPM file because it wants expectk to be in usr/bin, and I can't figure out a way to edit the RPM location before it opens the program loader. That is why I went to the source files instead, and used ./configure and ./make.
I know that I have all of the correct files. But, I must be missing a step somewhere.
Thank you for your response. I really do appreciate it.
One possible solution may be to put a link in /usr/bin to the actual location of expectk and then run your RPM. This is probably not the "elegant" solution.
For instance, I had to set up the SMB backend for kups/cups. The way this was done was to create a link file in /opt/cups/backend to the smbspool file that was in /usr/bin. If I recall correctly, I changed directories to /opt/cups/backend and then the command was something like ln -s /usr/bin/smbspool smb. The result is a "link" file so that when "smb" is called, it actually calls /usr/bin/smbspool.
Okay, I have exhausted my entire knowledge of linux, so I will quit "giving advice". I've been struggling with a few difficult problems (printing to my windows computer and the like) that took many, many hours of research so I feel like trying to be helpful, but as you can see, I have limited knowledge.
Thank you! I got it running. Now I'm having a problem with viewing NTFS partitions through either LinNeighborhood or xSMBrowser. I can view Win 98 PCs though. I think it has something to do with the kernel version that is shipping with RedHat 7.2, but I haven't had the time yet to look into it.
Well, after playing around with settings for a bit, I figured out how to link a script to a desktop icon and make it work. If anyone is interested this is what I did.
I right clicked on the desktop (K Desktop Environment. Release 3.0.0-10) and selected configure desktop. I enabled "Desktop Menu" which brought up a menu bar at the top of the desktop screen. I then clicked on "New" on the new menu bar, and then "link to application" I clicked on the "Execute" tab and typed xsmbrowser under the title "Command:" I then clicked on the Application tab, and typed in xSMBrowser in the "Name:" field, which changes the name of the desktop icon.
Then I tested the icon, and up came xSMBrowser. So, now I'm off to my next challenge...
Thanks for the response Sfin, It is a nifty little feature... the more I play around with Linux, the more I like it. Just takes time to find all of the little intricacies.
I realized that I changed my question mid stream, but since I was still working on xSMBrowser, I wasn't sure if I should open up a new thread to ask the question. At any rate, I got it figured out... and then got SSL working... so I'm truckin' along... but I'm sure I'll be back with more questions...