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 04-08-2004, 05:35 PM   #31
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15

No luck. Restarted both computers and on the W2k, I see the workgroup and the W2k machine??!?!!
Glenn
 
Old 04-08-2004, 05:39 PM   #32
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
if you don't mind, post your current smb.conf. make sure the firewall is off. try disabling netbui protocol on the windows machine.
 
Old 04-08-2004, 06:44 PM   #33
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hey glennc, i know this is frustrating, but, stay w/me. i'll stay here and post as long as it takes to get you fixed up. one thought, are the daemons starting on boot? you can check this after a reboot with

ps -aux

look for these 2 lines

root 648 0.0 0.4 5232 944 ? S Apr05 0:00 /usr/sbin/smbd -D
root 650 0.0 0.4 3952 792 ? S Apr05 0:00 /usr/sbin/nmbd -D

if those lines are there, then the daemons are running. if you get too frustrated here is a link to a working smb.conf.

http://www.linuxquestions.org/questi...536#post825536

you could always copy and paste the global section, save and exit, restart the daemons on the linux box, restart the windows box, ensure all firewalls are off, give them a few minutes to broadcast, then check the network neighborhood. if all is well you should be able to connect to the share you created earlier. once we get that going we'll look at that shared printer.
 
Old 04-09-2004, 08:36 AM   #34
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Howdy,
I removed the netbeui interface and no apparent change. No entries about smbd or nmbd were shown with ps -aux. I re-edited the smb.conf previously posted to note the changes that were made. I hope this helps. Thanks greatly for your perseverance. Do I need to be logged in as the same user on both machines for windows to see the linux box? If I'm logged in as the user on linux I can see the W2k shared directory, even though I'm not logged in as that user. How can I access the shared directory from the linux machine? Also I manually changed HOSTNAME from the default 'linux.local' to 'Duquesne.WORKGROUP'. Anyway thanx.
Glenn

Last edited by glennc; 04-09-2004 at 08:38 AM.
 
Old 04-09-2004, 10:24 AM   #35
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
start the daemons

service smbd start
service nmbd start

you do not need to be logged in as the same user, infact, you may get dual username errors. don't worry about the hostname, as long as you have

netbios name = yournetbiosname

the hostname shouldn't matter. about starting the daemons, suse probably has a gui tool for services that start at boot, explore that option, and you should be able to start samba on boot.
 
Old 04-09-2004, 10:47 AM   #36
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
The service command is not found by bash. smbd and nmbd are not found and are not documented in man pages or info. I found an samba client and it asked the workgroup and finished. Still nothing.. My netbiosname should be the name of the linux box, right?
Glenn
 
Old 04-09-2004, 11:00 AM   #37
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
post the output of

testparm
 
Old 04-09-2004, 06:17 PM   #38
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Rep: Reputation: 15
to Peacedog,

Hate to just bust in here but I am following this thread in the hopes it will also solve my problem. I can not get my linux and win98 boxes to play together.

I do have one question,
In your post you gave a reference to a working smb.conf. Well I installed it into my linux box and it kind of worked but only for less then 5 minutes.
Sure enough after a few minute my other linux box showed up in the MS Neighgorhood Network however when I went back to it less the 5 minutes it was gone. I tryed REFRESH still nothing.

Is there a time limit that the linux broadcasts for?
I was using NBTSTAT or NETSTAT and I saw a reference to my linux box connection having an "END OF LIFE CYCLE". It was it was 360 what ever that meanings.

Every setting I have tryed only last for under 5 minutes the linux box is there then it disappear and I can not find it again other then pinging it.

Any ideas as to what the problem is?
 
Old 04-10-2004, 01:47 PM   #39
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
@ Tiyogi, not sure about broadcasting time frame. i've seen this type of problem alot in windows, but, never from linux. i assume it's something to do w/the windows side being depricated, as a restart usually solves the problem, however, just because it is not showing up in the network neighborhood does not mean the the connection isn't there. try this, if it works when you first boot, go ahead and create a new network place from the windows side to the linux shares, that should solve the problem. the network place to the linux share, is about the same thing as mapping a drive in windows.also ensure that your firewalls are configured to allow file sharing. hope that helps.
good luck.
 
Old 04-11-2004, 09:49 AM   #40
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Hello PEACEDOG,
THANK YOU for your help in the past. But I did a crazy thing and installed Fedora Core 2. I made minor modifications to smb.conf as you mentioned before and the linux box sees the W2k. Don't know how to shut off the linux firewall. And as before W2k can't see the linux box. Can you help. Please.
Glenn
 
Old 04-11-2004, 05:46 PM   #41
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
not sure about what firewall is running on fedora, if it's the same as redhat 9, go to system settings > security level and that will bring up a gui tool for the firewall. if it's not the same as redhat 9(which i just loaded up yesterday on a spare machine to learn it) you could try from a terminal as root

iptables -F

if the gui firewall is just a frontend for iptables, this should do it. hope that helps. do some research on iptables configuration, this will get you started

http://www.telematik.informatik.uni-...les-HOWTO.html

http://www.ibiblio.org/pub/Linux/doc...all-HOWTO.html

good luck.
 
Old 04-12-2004, 10:24 AM   #42
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Hello PEACEDOG,
Well with the linux firewall on I can ping both ways. With it off I can see the linux from W2k machine and set up a share. I restarted the firewall and I get unable to access the linux machine. I most certainly don't understand the iptables, even with the HOWTO's you suggested. Any ideas. Also I can not access the W2k printer with or without the firewall on. The wizard seems to work like the RH9 wizard but locks up after I go to setup, after it finds my W2k machine. Help?????
Glenn
 
Old 04-12-2004, 11:41 AM   #43
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
looks like we've got your samba working and your just having a firewall issue. have a look here

http://www.linuxquestions.org/questi...light=firewall

for the printer, once you've got the firewall worked out. have a look here

http://www.faqs.org/docs/Linux-mini/...ing_to_windows

good luck.
 
  


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
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
sendmail setup newbie complus Linux - Software 4 11-12-2003 10:07 PM
interesting newbie setup macewan Linux - Newbie 5 05-02-2003 02:23 PM
NEWBIE wants to setup LAN lhoff Linux - Networking 12 03-22-2002 04:21 PM
newbie ipchains setup HELP skittles Linux - Security 5 09-13-2001 03:23 PM

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

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