LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2004, 08:40 AM   #1
mikemrh9
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 136

Rep: Reputation: 21
SAMBA client stopped windows browsing from working - SuSE 9.1


Hi.

I've recently installed SuSE 9.1 and out of the box, it would browse for and connect to shares on a windows workstation quite happily.

I decided to have a look at the SAMBA client configuration in YAST2 and it told me that I needed to install the client. This I duly did (quite surprised, as i could already browse to W2K workstations) and now the browsing is crippled.

If I click on 'Network Browsing' on my desktop, 'Windows Network' shows up as before, but now when I select it, I get the message:

Internal Error
Please send a full bug report at http://bugs.kde.org
Unknown error condition in stat: Network is unreachable

However, if I go to the SAMBA client configuration in Yast2 and click the browse button to determine workgroups, I get a full list of all the workgroups on the network.

I have turned off the firewall altogether.
 
Old 07-05-2004, 03:19 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I would suggest that YAST2 doesn't use the same config file that the KDE client uses..

Probably reinstalling it has knocked the config file out and replaced it with an empty one..

Try from a command line and see if it's a global problem or a KDE problem..

do nmblookup -d 2 '*' to find computers
smbclient -L netbiosname to list shares on netbiosname
smbclient //netbiosname/share -Uusername to connect to a share on netbiosname
or mount -t smbfs -o username=name //netbiosname/share /mnt/share to mount the remote filesystem as a local filesystem

This will test 4 different parts of samba and give you an idea of what fails.
If that's all ok, start on the KDE config files, Preferences etc
(or even uninstall smbclient)
 
Old 07-05-2004, 05:07 PM   #3
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
I had this problem when I installed SuSE 9.1 but it appeared to be a KDE/Samba client error - Samba itself was ok. It fixed itself a couple of weeks ago when I did a YaST online update and noticed a Samba update. If you haven't done an online update recently I recommend doing it as there appear to be a lot of fixes.
 
Old 08-18-2004, 04:45 AM   #4
OQD
LQ Newbie
 
Registered: Aug 2004
Distribution: suse 9.1
Posts: 3

Rep: Reputation: 0
same problem here

nmblookup -D 2 '*'

gave back

querying 2 on 192.168.168.255
name_query failed to find name 2
querying * on 192.168.168.255
192.168.168.254 *<00>

If I run:

smbclient -L netbiosname

I get:

connection to netbiosname failed

running suse 9.1

I'm a complete linux newbie so I appologize in advance for stupid remarks (about linux, that is)
 
Old 08-18-2004, 05:45 AM   #5
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Watch out for small letters vs CAPITALS

They are very different in *nix languages..

So, do nmblookup -d 2 '*'
small d.. to find computers. It will list their netbios names..

and smbclient -L netbiosname means use the netbios name the computer has, eg
smbclient -L bill finds shares on the computer named bill
(Use the names found with the nmblookup command)

ENJOY!
 
Old 08-18-2004, 10:51 AM   #6
OQD
LQ Newbie
 
Registered: Aug 2004
Distribution: suse 9.1
Posts: 3

Rep: Reputation: 0
things are looking up

ok, thanx for explaining that little point about capitals & underscores
I got to see my shares on computer HEWLETT (yes, it's a HP)
(it first asks me for a password)

When I try the next trick:

smbclient //HEWLETT/C$ (I shared the c: drive)

It first asks me for a password, then it says:

tree connect failed: NT_STATUS_CONNECTION_DENIED

I have the feeling though, we're getting quite close
 
Old 08-18-2004, 11:06 AM   #7
OQD
LQ Newbie
 
Registered: Aug 2004
Distribution: suse 9.1
Posts: 3

Rep: Reputation: 0
my mistake

that command did work if I access the share C

what I want to do now is copy files from Windows XP to Suse Linux 9.1,
(and back again)
preferably in something GUI like Konqueror.
(and be able to do so after a reboot as well)

I know have a smb-prompt and can see the directory with 'dir'
 
Old 08-18-2004, 01:38 PM   #8
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
hi I have suse 9.1 home. it can see any computer with live cd. but with normal install does not. anyway
I did smbmount. (i am away from the office I did that thing, and the office is closed until 30/8). It can see
everything. in /etc/samba is smbfstab. in that file you can do the mounting so every disk is mounted at start up.
i had no problem with fat32 disks, but I had to do it manually for ntfs (win2k). so you can have any disk in an office as part of your linux
in the place where smbfstab lies is another file called "lmhosts" there you put the address of every machine and the name
do it in the opposite way ' name - address' not 'address-name' [i cant recall what else i did, the office closed at 6/8]
 
  


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
Hold on, Samba stopped working... WorldBuilder Linux - Networking 5 03-21-2007 08:06 PM
Samba stopped working after FC3 to FC4 upgrade HomeBrewer Linux - Networking 18 08-29-2006 02:13 AM
Linux terminal Server for windows client web browsing? hawkpaul Linux - Enterprise 6 09-24-2005 06:04 PM
SuSE 9.1 won't connect through Windows XP ICS and Samba client doesn't work papa Strumpf Linux - Networking 0 08-21-2004 09:16 AM
Samba working, but SMB browsing not? JohnGalt00 Red Hat 3 10-17-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:01 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