LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2008, 12:16 PM   #1
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Rep: Reputation: 30
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
 
Old 10-08-2008, 04:56 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Have you configured the workgroup in smb4k?
 
Old 10-09-2008, 04:53 AM   #3
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Original Poster
Rep: Reputation: 30
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
 
Old 10-09-2008, 10:34 AM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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
You should see something like this:

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
This will place a copy of that file in your /home/username folder.

Last edited by {BBI}Nexus{BBI}; 10-09-2008 at 10:37 AM.
 
Old 10-09-2008, 11:46 AM   #5
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Original Poster
Rep: Reputation: 30
Thanks Nexus. My /etc/hosts file does contain a reference to the XP machine as I personally put it in there :

Code:
127.0.0.1		PCLOS2007 localhost
#		generated by drakhosts
192.168.0.7		WindowsXP xp NASA-034A2J8PW3
192.168.0.10		Ubuntu ubuntu
Here is a screenshot of the results of NETWORK --> SCAN NETWORK in SMB4K. Only the MDKGROUP is found.

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

Last edited by uncle-c; 10-09-2008 at 11:56 AM.
 
Old 10-09-2008, 05:15 PM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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.
 
Old 10-10-2008, 03:32 AM   #7
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299

Original Poster
Rep: Reputation: 30
Thanks a lot for the advice Nexus. Will do

UC
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMB4K mounts share then disappears vientorio Linux - Newbie 0 12-19-2006 05:26 AM
SMB4K on new mandriva doesn't see the share that the OLD install's smb4k did. unuser38 Linux - Networking 3 07-10-2006 03:46 AM
Connecting to Windows share. UmneyDurak Linux - Networking 6 10-17-2005 05:31 PM
connecting to windows share UmneyDurak Fedora 2 10-12-2005 02:48 PM
smb4k freezes on opening mounted share ben_build#2.1.0 Linux - Newbie 0 01-28-2005 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration