LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-06-2005, 12:33 PM   #1
cwynn
LQ Newbie
 
Registered: Sep 2002
Posts: 21

Rep: Reputation: 15
Flaky samba connetions


I just want to share folders betweem systems, nothing fancy using my Network GUI which is Nautilus 2.8.1

Both systems have user accounts with the same name of "craig" and the same user account passwords.
I created a user on the XP box called Linux with a password "linux" with a shared account called "linuxshare" I can use smbclient to mount this with the firewall turned off.

Firestarter: is set with to accept 137, 138, 139, 443, 445

ptables: there was a secession where I stopped iptables and connection came through. It's been many changes since and this doesn't work now. Actually I'm not sure if iptables is running at boot or not. #ps aux doesn't list it. I do get a notice from #/etc/init.d/iptables stop that it's shutting down the firewall.

Both computers are set up with the workgroup SUNRISE
The XP has a computer name titled: familypc
When Nautilus doesn't work the symptom is: It display the Windows Network icon. Clicking on this icon it almost instantly gives up the search and displays a blank window. When it is working it displays a "familypc" a "FC3"....I can not remember exactly but maybe a Sunrise icon too. From the FC3 box I can then access the /familypc/linux/linuxshare files. Usually the case is I get denied permission on the XP -> FC3 (but not always, just most of the time)


The connections between my FC3 machine and XP are working one minute and not working the next. The FC3 -> XP is the connection that I can get working but I'm not sure what I do that gets it working....I think it take a reboot. One would expect that just restarting the network &/ smb would do the trick, but it seems "at times" it takes a complete reboot. On the XP box side most of the time I'm being told that I don't have permission.

On the FC3 box I have a designated share stated in the smb.conf as /home/craig/craigshare

Here's my #testparm output:
# Global parameters
[global]
workgroup = SUNRISE
netbios name = FC3
server string = FC3
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

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

[craigshare]
comment = workgroup is -> SUNRISE
path = /home/craig/craigshare
read only = No

Last edited by cwynn; 08-06-2005 at 02:33 PM.
 
Old 08-06-2005, 04:27 PM   #2
cwynn
LQ Newbie
 
Registered: Sep 2002
Posts: 21

Original Poster
Rep: Reputation: 15
at this very moment in time "both" ends are working.. I can access linux -> xp and xp -> linux

[quote]
[root@localhost craig]# testparm
Press enter to see a dump of your service definitions
y
# Global parameters
[global]
workgroup = SUNRISE
netbios name = FC3
server string = FC3
security = SHARE
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

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

[craigshare]
comment = workgroup is -> SUNRISE
path = /home/craig/craigshare
valid users = craig, linux
read only = No
guest ok = Yes
case sensitive = No
/[quote]

I also made some changes to my firewall controlled by "firestarter"
Under Preferences -> Network Settings -> Local network connecting device:
I disabled/unchecked all settings
These following settings previously existed
On the Policy tab -> Inbound traffice policy:
198.168.0.1 which is my router
192.1.168.0.100 which is my xp box
Allowed devices: lists
SMB 137-139 everyone
HTTP 80 everyone
 
Old 08-06-2005, 04:34 PM   #3
cwynn
LQ Newbie
 
Registered: Sep 2002
Posts: 21

Original Poster
Rep: Reputation: 15
I spoke too soon

after posting this message the GUI "Network Services" couldn't connect. It was just working....
this total BS... what kind of merda is this
 
Old 08-06-2005, 09:39 PM   #4
cwynn
LQ Newbie
 
Registered: Sep 2002
Posts: 21

Original Poster
Rep: Reputation: 15
then I found on http://gnomesupport.org/forums searching with "samba"

a message suggesting not to use Network Servers from the applications menu. Instead it was suggested to use File-manager and to type in the URL to the share. That worked and this was with no changes to any of the supportins smb, firestorm, network, selinux scripts.

I'm led to believe that GNOME's Nautilus is not 100% when it comes to LAN samba connections.

Does anyone 2nd that?

Last edited by cwynn; 08-07-2005 at 10:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Bridging 2 Network Connetions XaViaR SUSE / openSUSE 4 08-09-2005 08:30 PM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

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

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