Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-10-2001, 10:21 PM
|
#1
|
Member
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39
Rep:
|
Samba and Win2k pro troubles...
Hi!
I'd like to know if I can use Samba 2.0.7-36 to connect my Win2K PC to my Linux server?
I can ping both of them, but my Win2K PC can't find my smb share or tells me that my domain does not exist... Is it due to Ipchains or Iptables?? (when I installed my RH7.1, I set the level of the firewall to "medium"...).
THX for help!
|
|
|
11-11-2001, 12:47 AM
|
#2
|
Member
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53
Rep:
|
I ran into the same problem. Find a portscanner on Tucows or something and find out what ports on your linux box are open. Should have the following open:
137/tcp
137/udp
138/tcp
138/udp
139/tcp
These are netbios ports and they are essential for Samba to work. I just killed my firewall because i don't know how to open up ports. That is my next project and would appreciate any help that I can get to start going in the right direction.
good luck
|
|
|
11-11-2001, 11:15 AM
|
#3
|
Member
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39
Original Poster
Rep:
|
Aïïïe...
Does someone know how to disable the firewall or open the Netbios 139-137 ports for connecting to the smb server from Win2K?
I have an another trouble with Samba: once started with the "/etc/rc.d/init.d/smb start" command (or started as daemons), smbd and nmbd stop after a few seconds... What's that trick???
|
|
|
11-11-2001, 02:05 PM
|
#4
|
Member
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53
Rep:
|
Dont know how to open ports (would like to know though), but to disable you firewall just use setup. In rh it is /usr/sbin/setup. Just select firewall and turn it off.
jason
|
|
|
11-11-2001, 02:19 PM
|
#5
|
Member
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39
Original Poster
Rep:
|
ThX BoBo for ur help!!!
|
|
|
11-12-2001, 07:39 PM
|
#6
|
LQ Newbie
Registered: Nov 2001
Posts: 4
Rep:
|
Netbios 139-137 ports and ipchain rules in Linux
http://www.google.com/search?q=linux...e+Search&hl=en
try this link!
Also You are using ipchains or tables ? so open the ports ( for netbios blah) in the proper rc.d like(rc5.d). by changing K's to S's. Then in your rules deny the access to those ports coming form the outside world.
or something like this:
Utiliser 'ipchains', add these lines to /etc/rc.d/rc.local or your 'masq' script:
ipchains -A input -p tcp -j DENY --destination-port 137:139 -i eth0
ipchains -A input -p udp -j DENY --destination-port 137:139 -i eth0
ipchains -A output -p tcp -j DENY --destination-port 137:139 -i eth0
ipchains -A output -p udp -j DENY --destination-port 137:139 -i eth0
Last edited by Michele Shell; 11-12-2001 at 07:51 PM.
|
|
|
11-15-2001, 11:22 AM
|
#7
|
Member
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39
Original Poster
Rep:
|
Merci!
Merci Michele pour tes renseignements...
Je vais aller tester çà tout de suite...
|
|
|
11-19-2001, 07:39 PM
|
#8
|
LQ Newbie
Registered: Nov 2001
Posts: 4
Rep:
|
What
What ????
|
|
|
11-19-2001, 11:08 PM
|
#9
|
Member
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53
Rep:
|
'thank you michelle for you response...'
i will try what you suggest.'
i am the coolest, i knew that year of french in high school would pay off someday.........
(unless of course i am totally off base with that translation)
jason
|
|
|
11-20-2001, 05:41 AM
|
#10
|
Member
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39
Original Poster
Rep:
|
Yeah!!! BoBo!!!
It's the right translation!!! Ur french's not bad !
Michelle, I thought U spoke french 'coz I've seen "Utiliser Ipchains..." for your response...That's why...Sorry........
Thank U all!
|
|
|
11-20-2001, 01:04 PM
|
#11
|
LQ Newbie
Registered: Nov 2001
Posts: 4
Rep:
|
HA!
HAHAHAH HEHHEHEHEH!
|
|
|
All times are GMT -5. The time now is 03:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|