SMB4K query when connecting to a share.
Hello there.
I'm running a PCLOS2007 box linked directly to an XP machine. I have a directory of files on XP which I have set to share on my linux box. I am using SMB4K software for the sharing of files. Now, when I start up SMB4K and do --> NETWORK --> SCAN NETWORK for any shares, nothing shows up. However, when I click on the "SEARCH DIALOGUE" tab and enter the IP address of my XP machine the WORKGROUP and the shared directory show up. How can I get SMB4K to find the share automatically by using the "SCAN NETWORK" method. The XP machine is firewalled but I have allowed TCP ports 139 and 445 to remain open. Do I need to do some configuring on the SMB4K / Linux end ? Thanks, UC |
Have you configured the workgroup in smb4k?
|
Thanks Nexus,
Configuring the workgroup in smb4k ? By this do you mean going into the smb4k --> settings --> configure smb4k --> network tab and altering the options from there ? I've done that to no avail. If that is not correct could you kindly explain how one configures workgroups in smb4k. Do I have to edit the smb.conf file ? Thanks, UC |
Do you have the xp box listed in your /etc/hosts file? To check start a konsole (terminal) session and type:
Code:
cat /etc/hosts cat /etc/hosts 127.0.0.1 <hostname> 192.168.1.151 <hostname> 192.168.1.121 <hostname> If you don't have an entry, add one, keeping the same format: <ip address> <hostname>. Save and close the file, then try smb4k again. --> Before you add the entry, take a copy of your hosts file. From commandline do: Code:
cp /etc/hosts ~/hosts |
Thanks Nexus. My /etc/hosts file does contain a reference to the XP machine as I personally put it in there :
Code:
http://i36.tinypic.com/350s19v.png This is a screen after I click on the "Search Dialog" tab and enter the IP 192.168.0.7 ( XP machine IP address). As you can see it has found the WORKGROUP http://i33.tinypic.com/2m3jinp.png And finally when I now revert to the "NETWORK BROWSER" tab I can see both the Groups. http://i34.tinypic.com/2gwx4p3.png The long and short of the situation is that smb4k is not automatically picking up "WORKGROUP" from the XP machine when I do "scan network." Do I need to have some other ports open on linux or maybe need to configure something on XP ? Hope this helps. UC |
Try as I might I cannot get smb4k not to pick up my other workgroups as soon as it starts up or by scanning the network. What I have noticed from your screenshots is you are using version 0.8.3. Upgrade to the latest version 0.9.5 and see if that helps. You can upgrade via the Package Manager. Don't forget to hit Reload first before searching for the newer smb4k. I recommend you use the Mark All Upgrades option to update your whole system.
|
Thanks a lot for the advice Nexus. Will do
UC |
All times are GMT -5. The time now is 07:43 PM. |