openSUSE Forums > Network/Internet » SAMBA Issue - Can't View Network

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-Aug-2008, 16:22
amontonarpapeles's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 26
amontonarpapeles hasn't been rated much yet
Question SAMBA Issue - Can't View Network

Hello

I'm running opensuse 11 with GNOME ..

My machine is connected wirelessly to a windows network. I have the samba packages installed on my machine, but when I navigate to smb:///, I can only go down one more level to "Windows Network." None of the XP machines (with windows shared folders) appear. I seem to remember needing to log in (in KDE, a while back), but there doesn't seem to be a way to do so in Nautilus. Is there some configuration (YaST, perhaps) that I have neglected?

Thanks
Reply With Quote
  #2 (permalink)  
Old 24-Aug-2008, 17:51
PV
Guest
 
Posts: n/a
Default Re: SAMBA Issue - Can't View Network

amontonarpapeles wrote:

>
> Hello
>
> I'm running opensuse 11 with GNOME ..
>
> My machine is connected wirelessly to a windows network. I have the
> samba packages installed on my machine, but when I navigate to smb:///,
> I can only go down one more level to "Windows Network." None of the XP
> machines (with windows shared folders) appear. I seem to remember
> needing to log in (in KDE, a while back), but there doesn't seem to be a
> way to do so in Nautilus. Is there some configuration (YaST, perhaps)
> that I have neglected?
>
> Thanks
>
>

amontonarpapeles;

Have you added users to Samba by running "smbpasswd -a <username> as root?
--
P. V.
"The entropy of a closed system can never decrease", 2nd Law of Thermodynamics
Reply With Quote
  #3 (permalink)  
Old 24-Aug-2008, 18:40
amontonarpapeles's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 26
amontonarpapeles hasn't been rated much yet
Default Re: SAMBA Issue - Can't View Network

Still nothing.
Reply With Quote
  #4 (permalink)  
Old 24-Aug-2008, 18:58
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,879
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: SAMBA Issue - Can't View Network

open a console and make a few checks -- first su to get rootly powers

Check the firewall is running: rcSuSEfirewall2 status should return "running"
Check the firewall is open for Samba:
cat /etc/sysconfig/SuSEfirewall2 | grep FW_SERVICES_EXT_UDP="
should return: netbios-ns netbios-dgm
cat /etc/sysconfig/SuSEfirewall2 | grep FW_SERVICES_EXT_TCP="
should return: netbios-ssn microsoft-ds
cat /etc/sysconfig/SuSEfirewall2 | grep FW_SERVICES_ACCEPT_RELATED_EXT="
should return: 0/0,udp,137 or similar

Check the workgroup name is the same as windows:
cat /etc/samba/smb.conf | grep workgroup
should return the workgroup name to check against windows

Check you have entered your network name for SuseBox into the Samba configuration
cat /etc/samba/smb.conf | grep 'netbios name ='
should return the name you chose for the computer on the network
__________________
Drop in and visit some time.
Reply With Quote
  #5 (permalink)  
Old 25-Aug-2008, 09:57
amontonarpapeles's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 26
amontonarpapeles hasn't been rated much yet
Default Re: SAMBA Issue - Can't View Network

Code:
#cat /etc/sysconfig/SuSEfirewall2 | grep FW_SERVICES_ACCEPT_RELATED_EXT=
FW_SERVICES_ACCEPT_RELATED_EXT=""
It doesn't do what you say it should.
Reply With Quote
  #6 (permalink)  
Old 25-Aug-2008, 15:29
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,879
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: SAMBA Issue - Can't View Network

Quote:
Originally Posted by amontonarpapeles View Post
Code:
#cat /etc/sysconfig/SuSEfirewall2 | grep FW_SERVICES_ACCEPT_RELATED_EXT=
FW_SERVICES_ACCEPT_RELATED_EXT=""
It doesn't do what you say it should.
GoTo Yast --> Security and Users --> Firewall --> Broadcast --> Accepting the Broadcast reply --> add:
In the "Add" window, the settings are External Zone, Samba Browsing, and replace 0/0 by your network range. The network range is your IP address with the last integers replaced by "0/24". For example if your IP address is 10.33.200.77 then use this: 10.33.200.0/24. You can discover your IP address with this command entered in a console:
Quote:
sudo /sbin/ifconfig | egrep 'Ethernet|Bcast'
OK so that should fix the Samba Broadcast response feature. What about the other ones I mentioned? Did they return satisfactory replies?
__________________
Drop in and visit some time.

Last edited by swerdna; 25-Aug-2008 at 16:21.
Reply With Quote
  #7 (permalink)  
Old 25-Aug-2008, 16:07
amontonarpapeles's Avatar
Puzzled Penguin
 
Join Date: Jun 2008
Posts: 26
amontonarpapeles hasn't been rated much yet
Default Re: SAMBA Issue - Can't View Network

Yes they did.

Thank you. it is working now.
Reply With Quote
  #8 (permalink)  
Old 25-Aug-2008, 16:25
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,879
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: SAMBA Issue - Can't View Network

Glad for you.

Interesting that this brand new feature is completely unknown, is not set by default and is important for Samba to work OK. This is the first I've written about it IIRC. So do Samba usres just turn the firewall off in 11.0 out of frustration? Probably.
__________________
Drop in and visit some time.
Reply With Quote
  #9 (permalink)  
Old 26-Aug-2008, 19:03
Puzzled Penguin
 
Join Date: Jun 2008
Location: Indianapolis
Posts: 13
sheininger hasn't been rated much yet
Default Re: SAMBA Issue - Can't View Network

Swerdna,

In response to your question, yes they just turn it off and sometimes even then it does not work. In our shop we have a file-server running 10.3 and 4 workstations, also running 10.3 and 5 Windows XP machines. My standard order of business has been to follow your excellent Samba instructions as I set up a new machine but even that has not worked this time. We have built an 11.0 test machine and it does not play well. All of the other machines work perfectly but the 11.0 machine tells me "could not connect to host for smb://smb-network/" when I use either Konqueror or Dolphin to look at the network. This is the same whether the firewall is on or not. All other machines see the 11.0 machine in workgroup computers but connections are refused. Only the 11.0 machine is having issues, all others work perfectly.
Reply With Quote
  #10 (permalink)  
Old 26-Aug-2008, 23:10
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,879
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: SAMBA Issue - Can't View Network

Quote:
Originally Posted by sheininger View Post
Swerdna,

In response to your question, yes they just turn it off and sometimes even then it does not work. In our shop we have a file-server running 10.3 and 4 workstations, also running 10.3 and 5 Windows XP machines. My standard order of business has been to follow your excellent Samba instructions as I set up a new machine but even that has not worked this time. We have built an 11.0 test machine and it does not play well. All of the other machines work perfectly but the 11.0 machine tells me "could not connect to host for smb://smb-network/" when I use either Konqueror or Dolphin to look at the network. This is the same whether the firewall is on or not. All other machines see the 11.0 machine in workgroup computers but connections are refused. Only the 11.0 machine is having issues, all others work perfectly.
There's a theme running through openSUSE 11.0 with KDE4.0: not good with Samba. Ver 11.0 with KDE3.5.9 is good with Samba. And 4.0 fails in many other ways -- it's only experimental.

The upshot is that KDE4.0 should not be used for serious work, strictly only to experiment.
__________________
Drop in and visit some time.
Reply With Quote
Reply
Page 1 of 2 1 2

Bookmarks

Tags
network, samba, windows


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