LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-11-2002, 07:39 AM   #16
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15

Quote:
other than that, my hosts allow = 192.168.1. (and no, that is not a typo, i want any computer on my network with part of that address to be able to log in.
Mine is a little different, just so you have another alternative to try.
hosts allow=192.168.1.0/255.255.255.0

192.168.1. is the name of the network. 0 means any computer on the network. You don't necessarily need the netmask. I think that just allows any computer on a class c network to connect, but don't quote me on that.
 
Old 10-11-2002, 10:33 AM   #17
shaggy
LQ Newbie
 
Registered: Oct 2002
Location: tx
Distribution: RH-7.3
Posts: 5

Rep: Reputation: 0
Samba

Maxdraw,

# really needs to be this unless your doing passwd servers
Security = user

#you can leave guest account off
; guest account =

# if your not worried about where you get to your machine
# from then leave this blank
host allow =

I'm sure you know you have to "/etc/rc.d/init.d/smb restart" when you make a smb.conf change.

Did you add yourself as a samba user?
smbpasswd -a <username>

You can then test your server by typing:
smbclient -U <username> -L ip
It should then ask you for a passwd and give you a list of shares.

Also, your smbpasswd does not have to be the your *nix passwd, but you do have to have a vaild *nix user account.

Hope this works for you.
 
Old 10-12-2002, 07:38 AM   #18
maxdraw
LQ Newbie
 
Registered: Oct 2002
Location: Bari - Italy
Distribution: Red Hat 7.3
Posts: 9

Original Poster
Rep: Reputation: 0


I've just solved my problem one second ago STOPPING IPCHAINS!

#service ipchains stop

Now I can see Linux shared folders and I can enter them except [homes]. I'm working for that now, than I will study IPTABLES (I've read they are better than ipchains).

Thanks to all people who try to help me!

 
Old 10-14-2002, 11:48 AM   #19
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Rep: Reputation: 15
There is a link that specifically addressses the $IPC issue. I think it is on the Mandrake site. But I can't seem to locate it. In the meantime, check out these sites for samba info:

http://www.samba.netfirms.com/sambconf.htm#smb
http://www.oreilly.com/catalog/samba...ook/index.html
http:www.troubleshooters.com/linux/
 
Old 10-16-2002, 02:33 PM   #20
lowoak
LQ Newbie
 
Registered: May 2002
Location: oklahoma
Distribution: Redhat 7.x
Posts: 2

Rep: Reputation: 0
Maxdraw, how did you know to stop the ipchains service? I have had the same SAMBA troubles with one machine (the other 4 linux machines were configured almost identically and had no problems) and followed your suggestion. It worked! I have searched high and low for a solution and have re-written smb.conf at least a dozen times with no success. Thank you.
 
Old 10-16-2002, 05:03 PM   #21
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
well heres where i am now... i successfully had samba up and running.
the setup i had was:
eth1 static ip address 192.168.1.2/255.255.255.0
eth0 dynamic ip address and roaring penguin was set to use that card (eth0)
because of a problem i had getting a sound card to work, i swapped slots with the sound card and eth0.
i thought the problem may have been the slot because i was now able to get the sound card to work and had to set roaring penguin to use eth1 instead.
so now the configuration is:
eth0 static ip 192.168.1.2/255.255.255.0
eth1 dynamic and using roaring peguin successfully
and of course my sound card in the other slot.
from my win 2k box, i can ping 192.1681.2 and under "network places", it sees the samba server, but when i try to access it, "the network path was not found"
i'm stuck. any ideas? maybe?
i know now its not any of the slots and its not the cards. at least i know that its not the cards, i may think it could still be the slot, but not if the 2k can ping it right? and it shows as a samba server?
 
Old 10-16-2002, 05:05 PM   #22
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
and i can still access the internet same as always thru win2k via linux as the router...as a note..
 
Old 10-16-2002, 05:09 PM   #23
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
okay, nobody answer that. i am having some damned strange going-ons with this latest install of rh 7.3, but having pinged my 2k from linux, restarting samba after changing nothing, and then going into my network places, everything is working fine. i hate that. but thanks for the possible help.
 
Old 10-19-2002, 05:58 AM   #24
maxdraw
LQ Newbie
 
Registered: Oct 2002
Location: Bari - Italy
Distribution: Red Hat 7.3
Posts: 9

Original Poster
Rep: Reputation: 0
Hi milesstandish,

do Win2k and Linux ping each other?
 
Old 10-19-2002, 02:27 PM   #25
milesstandish
Member
 
Registered: Sep 2002
Posts: 70

Rep: Reputation: 15
well funny that should be your last reply. i have since installed rh8.0. running roaring penguin.
that is set to use specific dns, masquerading, and eth1.
in the network configuration i have under hosts 127.0.0.1 localhost.localdomain and 192.168.1.10 (my 2k box). under dns i have my isp's dns and my linux box as hostname.
eth1 is set to use dhcp
eth0 is set to assigned ip
i can ping the either box either way. and the linux box can get pages just fine. 2k however cannot. help?
 
Old 10-20-2002, 10:42 AM   #26
maxdraw
LQ Newbie
 
Registered: Oct 2002
Location: Bari - Italy
Distribution: Red Hat 7.3
Posts: 9

Original Poster
Rep: Reputation: 0
I hate make people repeat what they have said, but... could you explain your problem again, please?

I'm a new newbie, too, but I'd like to help you.

Now I've a 2-boxes network with RH7.3 and WinXP and it works fine (but with no ipchains and too many permissions), so I could try to give you some good tips.

You spoke about your sound card. My sound card doesn't work but the network yes.
 
Old 10-21-2002, 12:37 PM   #27
prashu_bvp
LQ Newbie
 
Registered: Oct 2002
Location: Bangalore
Posts: 10

Rep: Reputation: 0
Hi,

try to do these type of setting and verify weather you added NetBUI protocol in your local area network in win98 system.

the settings as fallows including your settings, change these settings and try once.
----------------------
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
preserve case = yes
short preserve case = yes


[HOME]
path=/home/%u
browsable=yes
public=yes
writable=yes
 
Old 10-21-2002, 05:40 PM   #28
hugosoto
Member
 
Registered: May 2002
Location: us
Distribution: redhat
Posts: 48

Rep: Reputation: 15
I got the same

I got the same problem
the issue was the fraking firewall, ( linux has a good fire walls)
I had setiing on fire wall high, so make low and now works
like charming
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba Problems again :) Iztari Linux - Networking 18 06-24-2004 11:00 AM
samba problems... Digital_Err0r Linux - Networking 1 03-20-2004 04:46 PM
Samba problems. Zombie13 Mandriva 4 03-11-2004 02:34 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 06:19 PM

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

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