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 05-13-2004, 08:59 PM   #1
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
LinNeighborhood and Samba issues.


I had LinNeighborhood installed and working a while ago, but haven't really messed with it a lot I don't think.

I came here today and was going to copy some stuff from windows over to here and I can't get it to mount anything any more.

When I start LinNeighborhood, I can't browse anything. It sits there at floods[box], and I right click and go to browse as user, and no matter who I put in I get no response! I went and downloaded jags, and it's doing the same thing.

On both LinNeighborhood and Jags, if I search for the computer name it will find it and show the shares, but just won't mount them. Here's what I get using Jags when I open it from command line..
Code:
floods@floods[box]:~$ jags
Opening mounted shares window...
Adding allready mounted shares
No shares to premount
Loading bookmarks...
No bookmarks to load
Fetching LocalMasterBrowser IP for native workgroup WORKGROUP...
Broadcast LocalMasterBrowser search success
Found LocalMasterBrowser....FLOODS[BOX]
Trying to list network workgroups...read_socket_with_timeout: timeout read. read error = Connection reset by peer.
done!
When I use LinNeighborhood I get..
Code:
floods@floods[box]:~$ LinNeighborhood
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
do I have to set some timeout variable in my smb.conf file, or what? I'm really lost on this after searching online for it for a while now. ack!
 
Old 05-14-2004, 03:12 AM   #2
Quis
Member
 
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Rep: Reputation: 15
which samba version are you running? LinNeighborhood don't work very well with samba-3.
if you are using kde you can try:
smb:/
in the URL-bar.
If you have samba properly installed you can browse smb-networks there.
 
Old 05-14-2004, 04:59 AM   #3
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
using samba-3.0.3
when using konqueror it didn't work well when I put smb:/// as the url, it just hung
 
Old 05-14-2004, 05:03 AM   #4
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
i tryed lin hood and it didnt work, try using this mount command as su in console,

smbmount \\\\192.168.0.1\\Data /home/exio/mnt -o username=exio workgroup=sxpb

OVIOSLY this is set up for me to mount my share u have to change the ip and the share and the work group and the user and the mount point.

Good luck !!!

Last edited by Exio; 05-14-2004 at 05:04 AM.
 
Old 05-14-2004, 05:04 AM   #5
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Yeah, that's what I've been doing. I guess I'm going to have to make a script that just mounts all the shares on XP when I login...
 
Old 05-14-2004, 05:19 AM   #6
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
im confused! wheres the share that ur trying to access ( linux or windows)? and from what OS u trying to access them from?
 
Old 05-14-2004, 05:30 AM   #7
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
The shares are on windowsxp, and I'm wanting to access them from my slackware box.
 
Old 05-14-2004, 05:37 AM   #8
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
ic, i have never done this b4.

If u dont want hassel just make a share on ur slack box browse it from windows box and put files in the share.

Sorry i couldn't be of more help.

Good luck.
 
Old 05-14-2004, 05:40 AM   #9
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Well, I only have limited room and a few GB that I'm wanting to share. I'm wanting to mount it because I can use the files and it won't take space.
 
Old 05-14-2004, 05:47 AM   #10
Exio
Member
 
Registered: Dec 2003
Location: Heath and reach
Distribution: Slackware
Posts: 54

Rep: Reputation: 15
ok well i just mafes to mount a windows share on my 192.168.0.2 box (win2k) by typeing
smbmount \\\\192.168.0.2\\C /home/exio/mnt -o username=exio workgroup=sxpb

altho i could see and brows the share i could not write, i seem to have problem with writing to shares atm lol.
 
Old 05-14-2004, 05:49 AM   #11
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
using xp to write to shares right click the directory and go to sharing, then enable "Allow Users to Change Network Files" on that directory.

Like I said, I'll just have to make a script to mount all of my shares when I boot into gnome.
 
Old 05-14-2004, 06:39 AM   #12
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hi FLOODS, let's have a look at your smb.conf, and i know you've heard this before, check your firewall settings, you need to make provisions for the lan w/in the firewall.
 
Old 05-14-2004, 09:43 AM   #13
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
lol.. I made sure to check my firewall first thing, since I've had so many troubles with it..

I'm sitting at school right now, but when I get home I'll make sure to paste my smb.conf on here. One thing, I know I used swat and it re-made my smb.conf file, though I have my other one saved. I had to use swat because manually editing my smb.conf wasn't working, I wasn't able to share files from slack to XP. What I'm going to do is copy my share directories from my swat-made-smb.conf to my first, real smb.conf.

Either way, I'll post back later and see if I can find anything in it that looks strange.
 
Old 05-14-2004, 05:45 PM   #14
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Here's the smb.conf that I'm using right now made by swat..

Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/05/13 22:40:35

# Global parameters
[global]
	server string = slack[box]
	log file = /var/log/samba.%m
	max log size = 50
	dns proxy = No
	valid users = floods
	admin users = root
	hosts allow = 192.168.0.1

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[/home/floods/]
	comment = floods' home
	path = /home/floods/
	username = floods
	valid users = guest, floods
	admin users = floods, guest
	read list = guest, floods
	write list = floods
	guest ok = Yes
	hosts allow = 192.
	max connections = 1

[homes]
	valid users = %S
	read only = No
	browseable = No
Here's the smb.conf that I was using (I took it directly from the smb.conf-example and edited it to my needs.. I don't think it worked then either!) only the parts not edited.. can't fit it all.

Code:
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
   server string = Samba Server

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = yes

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.  NOTE:  To get the behaviour of
# Samba-1.9.18, you'll need to use "security = share".
   security = user

# Where to find the SSL certificates:
   ssl CA certDir = /etc/ssl/certs

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY 

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
   dns proxy = no 

#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes
ack. that's a lot of stuff
 
Old 05-14-2004, 06:07 PM   #15
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
first thing i see is you need to add these lines under global

workgroup = yourworkgroup
netbios name = yournetbiosname

after adding those, restart samba

smbd restart
nmbd restart

after that post results.
 
  


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
Samba, LinNeighborhood -where is everything? GreenerLinux Mandriva 3 06-02-2004 03:35 PM
Samba/LinNeighborhood success! ajslideways LinuxQuestions.org Member Success Stories 1 05-13-2004 10:26 AM
SAMBA/LINNEIGHBORHOOD Question jon_k Linux - Software 6 11-13-2003 05:56 AM
Samba 3.0 and linneighborhood.. sandy Linux - Newbie 0 10-08-2003 04:42 PM
Riddle me this Batman -> Samba/Linneighborhood Timboi Linux - Networking 4 02-12-2003 04:20 PM

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

All times are GMT -5. The time now is 07:37 PM.

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