openSUSE Forums > Archives > Novell Archives » Unable to access shared folders

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 15-Apr-2008, 20:46
marco07
Guest
 
Posts: n/a
Default Unable to access shared folders


Hello All:
I have recently installed open suse 10.3 on my Gateway DX200 series
home computer duel booting with WinXP. All hardwares are detected and
softwares are functioning well. I am really impressed and pleased
except for one problem which I have not been able to resolve thus far.
I have 3 computers in my home networking. All running on Linux OS. The
open suse one (192.168.0.100) has its Ethernet wired to a D-Link router
(192.168.0.1), the other 2 pc's ( 101 & 102) access the internet and the
home network via a wireless set up. All work well.
I can see all computers (netbios) names in "Network Folder/SMB shares"
under the work group "MSHome" name. However, when in open suse one, I
click on a computer name I get "could not connect to host for smb://pc
name/". And from other computer if I click on the name of open suse
one, it opens the tree, but when a folder in tree is clicked on it, I
get the message "The file or folder smb://pc name/folders name does not
exist". I have disabled firewalls and checked file sharing permissions
in samba configuration. Everything seems to be Ok. But the problem
still unresolved.
I would appreciate any guidance/suggestions for a resolution to this
issue.
Many thanks in advance!


--
marco07
------------------------------------------------------------------------
marco07's Profile: http://forums.novell.com/member.php?userid=14402
View this thread: http://forums.novell.com/showthread.php?t=324356

  #2 (permalink)  
Old 16-Apr-2008, 06:56
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,869
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Unable to access shared folders


marco07;1538004 Wrote:
> Hello All:
> I have recently installed open suse 10.3 on my Gateway DX200 series
> home computer duel booting with WinXP. All hardwares are detected and
> softwares are functioning well. I am really impressed and pleased
> except for one problem which I have not been able to resolve thus far.
> I have 3 computers in my home networking. All running on Linux OS. The
> open suse one (192.168.0.100) has its Ethernet wired to a D-Link router
> (192.168.0.1), the other 2 pc's ( 101 & 102) access the internet and the
> home network via a wireless set up. All work well.
> I can see all computers (netbios) names in "Network Folder/SMB shares"
> under the work group "MSHome" name. However, when in open suse one, I
> click on a computer name I get "could not connect to host for smb://pc
> name/". And from other computer if I click on the name of open suse
> one, it opens the tree, but when a folder in tree is clicked on it, I
> get the message "The file or folder smb://pc name/folders name does not
> exist". I have disabled firewalls and checked file sharing permissions
> in samba configuration. Everything seems to be Ok. But the problem
> still unresolved.
> I would appreciate any guidance/suggestions for a resolution to this
> issue.
> Many thanks in advance!


Sounds a bit like name resolution needs tweaking. The openSUSE default
for name resolution can be improved. You should have this lines in the
[global] paragraph of smb.conf, the Samba configuration file:
> name resolve order = bcast host lmhosts wins. This error message:
> The file or folder smb://pc name/folders name does not exist

is often the result of name resolution not quite settled around the
LAN. So if you make the change to each smb.conf, include check that
line defining the netbios name exists in each [global] paragraph. Then
reboot the three machines and wait 5 minutes, firewalls still off, it
should settle down.

If not settle down, attach the files smb.conf (rename to *.txt so it is
a valid attachment) and we see if the problem is deeper.

Swerdna


--
swerdna
------------------------------------------------------------------------
swerdna's Profile: http://forums.novell.com/member.php?userid=10178
View this thread: http://forums.novell.com/showthread.php?t=324356

  #3 (permalink)  
Old 16-Apr-2008, 16:46
marco07
Guest
 
Posts: n/a
Default Re: Unable to access shared folders


Hi, thanks for your reply!
I tried your suggestions to no avail. Here is my smb.conf file. I
appreciate your comments and any further suggestion.
Thank you!


+-------------------------------------------------------------------+
|Filename: smbconf.txt |
|Download: http://forums.novell.com/attachment....tachmentid=893 |
+-------------------------------------------------------------------+

--
marco07
------------------------------------------------------------------------
marco07's Profile: http://forums.novell.com/member.php?userid=14402
View this thread: http://forums.novell.com/showthread.php?t=324356

  #4 (permalink)  
Old 16-Apr-2008, 17:26
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,869
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Unable to access shared folders


Did you mean to set up a domain with this as server and domain master
browser and primary domain controller? The use of MSHOME indicates
perhaps answer is "no". If "no" then you might try the default setup
for a SOHO LAN (a workgroup). A copy of recommended configuration for
that is 'here on this link'
(http://www.swerdna.net.au/lanprimer/...nf.lmb_not_pmb).

Also this:
> [mahmood]
> comment = Home Directory
> path = /home/mahmood
> read only = No
> guest ok = Yes
> case sensitive = No
> strict locking = No
> msdfs proxy = no

would be better as this:
[mahmood]
comment = Home Directory
path = /home/mahmood
read only = No
guest ok = Yes
force user = mahmood

BTW is that share intended to be open to everyone on the LAN?

Swerdna


--
swerdna
------------------------------------------------------------------------
swerdna's Profile: http://forums.novell.com/member.php?userid=10178
View this thread: http://forums.novell.com/showthread.php?t=324356

  #5 (permalink)  
Old 17-Apr-2008, 07:56
marco07
Guest
 
Posts: n/a
Default Re: Unable to access shared folders


Thanks Swerdna! Your default smb.conf worked. It provided me access to
other computers as well as shared folders thru start/network folder/smb
shares as of now. However, when I fire up smb4k, it shows the work group
and opens up the tree, but would not open any folders. I get the message
"The share //DX200/mahmood coul not be mounted. and the "Details"
indicate "mount error1 = operation not permited. refer to mount(8) cifs
mount page. I did check the manual for mount cifs(8) but could not
infere. Please note here that I am on DX200 already.

Of course, this is not a big issue now since I have access thru
start/network folgder/smb shares. But I am curiious as to why?

> Did you mean to set up a domain with this as server and domain master
> browser and primary domain controller?


No. Not really! The smb.conf was the original one from Suse10.3
installation. All I did was to go to YaSt and try to configure my LAN.

> BTW is that share intended to be open to everyone on the LAN?
>

Yes. Because my intention is a simple home networking system enabling
me to access all my computers and files. Its only me and there are no
other users.
Again, thank you for your guidance and patient with me. It is well
appreciated!


--
marco07
------------------------------------------------------------------------
marco07's Profile: http://forums.novell.com/member.php?userid=14402
View this thread: http://forums.novell.com/showthread.php?t=324356

  #6 (permalink)  
Old 17-Apr-2008, 15:06
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,869
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Unable to access shared folders


> I get the message "The share //DX200/mahmood coul not be mounted. and
> the "Details" indicate "mount error1 = operation not permited. refer to
> mount(8) cifs mount page. I did check the manual for mount cifs(8) but
> could not infere. Please note here that I am on DX200 already.
>
> Of course, this is not a big issue now since I have access thru
> start/network folgder/smb shares. But I am curiious as to why?


I've not used smb4k because I've been content with good old Konqueror &
Nautilus with smb:/ -- must try it some time

Glad it's working 4 u now

Swerdna


--
swerdna
------------------------------------------------------------------------
swerdna's Profile: http://forums.novell.com/member.php?userid=10178
View this thread: http://forums.novell.com/showthread.php?t=324356

  #7 (permalink)  
Old 20-Apr-2008, 14:36
marco07
Guest
 
Posts: n/a
Default Re: Unable to access shared folders


@Swerdna:
Hi, I set up the Firewall in accordance with the configuration
instructions on your web site. The only problem I have is that every
time I need to access my other computers on my LAN, I must disable the
Firewall in order to have access, otherwise I get the " could not
connect to ....." message. Access from other computers seem to be OK.
Did i do anything wrong? could you please help?
I know your website mentioned that these instructions are for Suse 10.1
& 10.2. Was I wrong to use them for Suse 10.3?
Thanks!


--
marco07
------------------------------------------------------------------------
marco07's Profile: http://forums.novell.com/member.php?userid=14402
View this thread: http://forums.novell.com/showthread.php?t=324356

  #8 (permalink)  
Old 20-Apr-2008, 16:06
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,869
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Unable to access shared folders


marco07;1541389 Wrote:
> @Swerdna:
> Hi, I set up the Firewall in accordance with the configuration
> instructions on your web site. The only problem I have is that every
> time I need to access my other computers on my LAN, I must disable the
> Firewall in order to have access, otherwise I get the " could not
> connect to ....." message. Access from other computers seem to be OK.
> Did i do anything wrong? could you please help?
> I know your website mentioned that these instructions are for Suse 10.1
> & 10.2. Was I wrong to use them for Suse 10.3?
> Thanks!Hi again. You can check your firewall settings by grepping in your

firewall config file located at /etc/sysconfig/SuSEfirewall2. Here's my
example:
> > > > john@suse103:~> cat /etc/sysconfig/SuSEfirewall2 | grep FW_DEV_EXT=

> > FW_DEV_EXT="ath0 eth0"
> > john@suse103:~> cat /etc/sysconfig/SuSEfirewall2 | grep
> > FW_SERVICES_EXT_TCP=
> > FW_SERVICES_EXT_TCP="135 139 445 515 631"
> > john@suse103:~> cat /etc/sysconfig/SuSEfirewall2 | grep
> > FW_SERVICES_EXT_UDP=
> > FW_SERVICES_EXT_UDP="137 138 515 631"
> > john@suse103:~> cat /etc/sysconfig/SuSEfirewall2 | grep
> > FW_ALLOW_FW_BROADCAST_EXT=
> > FW_ALLOW_FW_BROADCAST_EXT="yes"
> > john@suse103:~> cat /etc/sysconfig/SuSEfirewall2 | grep
> > FW_TRUSTED_NETS=
> > FW_TRUSTED_NETS="xxx.yyy.zzz.0/24"
> > john@suse103:~>> >


You need to see at lease these:
your net card in FW_DEV_EXT
135, 139 in FW_SERVICES_EXT_TCP
137, 138 in FW_SERVICES_EXT_UDP
yes in FW_ALLOW_FW_BROADCAST_EXT
and of course your own IP range in FW_TRUSTED_NETS

So check those. For the full discussion go here:
'HowTo Firewall a Suse/openSUSE Workstation for LAN Network Traffic'
(http://www.swerdna.net.au/linhowtosambasecure.html)

Let me know if I made my Lan primer obscure about the settings, did I
leave something off?

Swerdna


--
swerdna
------------------------------------------------------------------------
swerdna's Profile: http://forums.novell.com/member.php?userid=10178
View this thread: http://forums.novell.com/showthread.php?t=324356

  #9 (permalink)  
Old 20-Apr-2008, 17:06
marco07
Guest
 
Posts: n/a
Default Re: Unable to access shared folders


Here is my results.
Any comments?
Thanks!
mahmood@DX200:~> cat /etc/sysconfig/SuSEfirewall2 | grep FW_DEV_EXT=
FW_DEV_EXT="'eth0' eth0-id-00:13:20:89:05:ef"
mahmood@DX200:~> cat /etc/sysconfig/SuSEfirewall2 | grep
FW_SERVICES_EXT_TCP=
# FW_SERVICES_EXT_TCP="www"
FW_SERVICES_EXT_TCP="135 139 515 631 6881"
mahmood@DX200:~> cat /etc/sysconfig/SuSEfirewall2 | grep
FW_SERVICES_EXT_UDP=
FW_SERVICES_EXT_UDP="137 138 515 631 4444"
# FW_SERVICES_EXT_UDP="isakmp"
mahmood@DX200:~> cat /etc/sysconfig/SuSEfirewall2 | grep
FW_ALLOW_FW_BROADCAST_EXT=
FW_ALLOW_FW_BROADCAST_EXT="yes"
mahmood@DX200:~> cat /etc/sysconfig/SuSEfirewall2 | grep
FW_TRUSTED_NETS=
FW_TRUSTED_NETS="192.168.0.100/199"
mahmood@DX200:~>


--
marco07
------------------------------------------------------------------------
marco07's Profile: http://forums.novell.com/member.php?userid=14402
View this thread: http://forums.novell.com/showthread.php?t=324356

  #10 (permalink)  
Old 20-Apr-2008, 17:36
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,869
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Unable to access shared folders


This looks wrong: FW_TRUSTED_NETS="192.168.0.100/199"
try range 192.168.0.0/24 which means "the whole subnet"

Swerdna


--
swerdna
------------------------------------------------------------------------
swerdna's Profile: http://forums.novell.com/member.php?userid=10178
View this thread: http://forums.novell.com/showthread.php?t=324356

 
Page 1 of 2 1 2

Bookmarks


Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2