Fedora Linux Support Community & Resources Center
  #1  
Old 25th June 2004, 06:18 AM
lightismagic Offline
Registered User
 
Join Date: Jun 2004
Location: Graz, Austria
Posts: 71
smb browsing once again

Hallo there,
like many other guys in this forum I have a problem with Samba. The situation is: My Workstation running Fedora Core2 x86_64 is the Samba server and the client is my Windows 2000 laptop. From the Laptop everything is fine, I can see and browse my shares, even the printer is working ok. From the linux box I can see the laptop only when I start smbclient from the command line. So I think my smb.conf is ok, I have used the same config with the two computers on other linux distros and also on a freebsd always sucssesfully.
After I read about problems with both nautilus and konquerer to browse smb shares in this forum, I installed linneighborhood today. Installed fine, finds and lists my windows shares also, but when I'm trying to mount a share I get an error message: "can't resolv name".
So I tried following: The dhcp-server is running on the linux box, the dhcp-address is given dynamically. On my Windos box I started IPCONFIG and found 192.168.0.167 is used at the moment. So I started nautilus typed "smb://192.168.0.167/Data" (where "Data" is my windows share), entered username and passwordand... whoppie! there ist is!
My question now: Do I have to place something into /etc/resolv.conf for nautilus or linneighborhood to browse the windos-shares, and, if yes, what to enter hor a dynamic dhcp?
I hope my explanation was clear enough...

regards
lightismagic
Reply With Quote
  #2  
Old 25th June 2004, 07:46 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
Yes fine. You can either add an entry to /etc/hosts something like

laptop 192.168.0.167

Or add a host name to your dhcpd.conf - man dhcpd.conf for the method.
__________________
http://blog.suretecsystems.com
Reply With Quote
  #3  
Old 25th June 2004, 07:46 AM
Cr0n_J0b Offline
Registered User
 
Join Date: Jun 2004
Posts: 75
I would start by checking your smb.conf file to make sure that you have all the master brower settings turned on. You want your Samba server to be the master browser with the highest voting priority...I usually just go through and set everything to full...there are like 4 or 5 places that you need to fix... all spelled out in samba howto. You might also see if there are any firewall issues on the client side...my corp put some hidden firewall stuff on my laptop that took me forever to figure out...As for the DHCP...that's a harder one for me...I have everything set with static IPs or fixed DHCP addresses so that I can set the hosts, lmhosts and resolve properly...sorry...
Reply With Quote
  #4  
Old 25th June 2004, 01:22 PM
lightismagic Offline
Registered User
 
Join Date: Jun 2004
Location: Graz, Austria
Posts: 71
So both of you basically suggest that the easiest way is to change the dhcp configuration from dynamic to static... I will give this a try...
But what I don't understand is that smbclient from the command line hasn't any problem to resolve the laptop name (=Notebook) correctly...
to you cr0n_j0b: no, firewall is not an isssue, I'm able to ping the laptop without any problems, it's like I said before in fact a problem with the graphical interfaces (nautilus, konquerer, linneighborhood). And if I remember correctly also with other linux distros (debian, mandrake) and freebsd 4.8 it was never a problem. Seems to me something special to fedora or the Samba version > 3.0. I switched to fedora just lately, mainly because of the already pretty good 64-bit version. (let alone some still existing bugs...)

regards
lightismagic
Reply With Quote
  #5  
Old 25th June 2004, 09:26 PM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
I think you are right. If smbclient is resolving the names through netbios, then it is a gui problem.

I am at a loss with this.
__________________
http://blog.suretecsystems.com
Reply With Quote
  #6  
Old 26th June 2004, 05:20 AM
JonR's Avatar
JonR Offline
Registered User
 
Join Date: Apr 2004
Location: Wiltshire - UK
Posts: 199
Don't forget to visit the poll!
http://www.fedoraforum.org/forum/showthread.php?t=17975
__________________
One man's geek is another man's guru...
Registered Linux User #363869.
i686 F8, Quad Core F10 64-bit, Core2Duo F16 64-bit.
Reply With Quote
  #7  
Old 28th June 2004, 04:34 AM
lightismagic Offline
Registered User
 
Join Date: Jun 2004
Location: Graz, Austria
Posts: 71
Just to keep you guys updated here is what I did in the meantime:
#1. changed the dhcp-server from dynamic to static address
#2. entered 192.168.0.167 Notebook in /etc/hosts
#3. in smb.conf <Browser control options>
local master = yes
os level = 65
domain master = no
preferred master = yes

Results: from within nautilus clicking <computer - windows-network> : the windows shares are still not listed, but when I'm entering smb://Notebook/Data in the adress-line nautilus shows 'Data' . Ok, I have to enter username, workgroup and password, but that's fine. I can bookmark it and so I don't have to retype smb://..... within one session.
Still not perfect but a little bit of an improvement...
When i'm trying to mount 'Data' wihtin linneighborhood (there the whole network is listed) I still got the 'can't resolv address' error...

regards
lightismagic
Reply With Quote
Reply

Tags
browsing, smb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6, Samba, ADS & Browsing PeteDude Servers & Networking 0 2nd May 2007 09:58 PM
cant do anything other than browsing the net netsecure Servers & Networking 4 31st October 2006 06:25 PM
ftp browsing massimomm Using Fedora 0 16th February 2006 04:27 PM
FC 3 booting, browsing newFC3user Installation and Live Media 3 21st December 2004 04:29 PM
smb browsing halmsx Servers & Networking 6 11th June 2004 06:21 AM


Current GMT-time: 04:53 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat