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 04-11-2003, 07:46 AM   #31
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15

thanks for all the input people. i have read all the info but am at the stage where i cant put it all together. i had windows on the linux machines once so i had to be close.

jamrock, im ready. pete8 (192.168.0.8) and pete9 (192.168.0.9)show up in the windows neighborhood.

sorry about the delay. 13 hr days.

also i have pete8 (win98) on the same machine as pete8 linux.

all passwords crabby

pete
 
Old 04-11-2003, 08:41 PM   #32
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Let me make sure I understand you.


You now have a network with two Linux machines and a few Windows 98 machines.

When you look at network neighborhood on the Windows machines, you can see the Linux machines and the other Windows machines.

Is this correct?

Do you currently have a Windows domain controller?

How many Windows 98 machines do you have?

Do you want one of the Linux boxes to be the domain controller?


Once I get these answers we can finish up. Most of the work has already been done.
 
Old 04-12-2003, 05:58 PM   #33
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
i have 2 linux machines pete8 (192.168.0.8) pete9 (192.168.0.9) and 2 windows machines pete7 (192.168.0.7) and pete1 (192.168.0.1). i dont think i have a windows domain controller. when i set up the linux machines i filled in the dns box with 192.168.0.8. i was thinking this could be the domain controller.

the only thing im having trouble with is when i install samba i can see the machines in the windows neighborhood until i reboot the linux machines. then they disappear. right now i can see pete1, pete7, and pete9(limux) but not pete8. can ping all machines from any one.

i have all on a seperate network (home) and all passwords crabby. win98 machines have "c"shared and a folder "temp" on them.

lets try the next step and see how it goes.

pete

edit. if i shut down both linux machines i can see both win98 machines in network neighborhood. if i start pete9 i loose both windows machines.
if i start up both linux machines i get nothing until i (/etc/rc.d/init.d/smb restart) to restart samba and then all 4 machines show up in network neighborhood.

pete

Last edited by engineer55; 04-12-2003 at 08:28 PM.
 
Old 04-23-2003, 10:21 PM   #34
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Pete,

Sorry to be out of touch for so long. I have been working some killer hours on a project. Got some rest over the weekend so I am back on line.

Okay.

I think that we have set up two domain controllers. We should only have one. Remove the following lines from one of your Linux machines:

;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes
domain logons = yes

This machine should now just be a member server.

Let me know what happens.

Have you set up your users in the /etc/paswd and /etc/samba/smbpasswd files?
 
Old 04-23-2003, 10:57 PM   #35
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
good to see you back. i know about long hrs. prob 75 hrs last week.

i had kind of figured out that i had to change samba because if i only booted one win98 and one linux box i could mount the win(pete1) machine on linux)pete8) with the command smbmount //pete1/c /root -o username= pete1,password=crabby as root. couldnt get it to mount as pete8.

havent set up the /etc/passwd or /etc/samba/smbpassword yet.

as you can probably figure out by now i figure if i can get it up and running i can reverse engineer the configuration.

i wont get at it tonight but hopefully by tomorrow pm ill have time

thanks

pete
 
Old 04-24-2003, 08:24 AM   #36
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
You seem to be making progress. At least you no longer sound frustrated.

Read the section of the IBM tutorial on setting up users. Typically, we add all the users to the Linux system and then let it authenticate when people log on.

When you have done this, we can look at options for configuring the other Linux server. We want to add it to the Samba domain so that Windows users can access resources on it.
 
Old 04-24-2003, 09:52 PM   #37
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
well as usual i didnt read your post carefully before i jumped in. i didnt just read the tutorial and i installed the users as described.

had to use the command /usr/sbin/groupadd -g 200 admins instead of group -g 200 admins as in the tutorial.

also the info im putting in is also working with a mandrake 9.0 install.

couldnt add pete1(win) to smbpasswd file but linux machines are there.

pete

edit: i accessed pete7 win on pete7 linux. (this is the mandrake unit its disposable) also somehow i got some linux files on pete1/c (the win98 unit) . kde, mcop, qt, xauth, desktop. dont have any idea how. i never cease ot amaze myself with my ignorance.

the 2 redhat machines are still ready for further insts. i didnt try anything with them.

edit# 2 i created the directory winshare on both linux machines and can mount the windows box on both redhat machines in that directory. still a ways to go yet.

Last edited by engineer55; 04-27-2003 at 11:45 PM.
 
Old 04-29-2003, 11:09 PM   #38
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
one last gasp for help before summer.

i installed the links from jamrock and it seemed to go ok.

i now can access the windows machines from linux.

i cant access either linux machine from the other. they show up in the root, home diectory and i see a desktop but neither file i put on the units. the windows machine next to them does show its files. (the windows machine has to be manually mounted and the command /etc/rc.d/init.d/smb restart run to initilize the services.)

in windows when i follow instructions to log on to nt file system in the network neighborhood there is a box that asks for the nt domain. nothing refers to this in the instructions and im clueless as what to put in there. if i dont fill it in windows throws fits and doesnt boot properly.

thanks

pete
 
Old 04-30-2003, 11:52 AM   #39
ganeshbic
LQ Newbie
 
Registered: Jan 2003
Posts: 8

Rep: Reputation: 0
Hi,
I would add on to what moses suggested. Follow these steps,

a) Shut down your system
b) Take a good linux book (better than how-to-docs, I feel)
c) Read about what's a network, IP numbers, ethernet cards samba etc.
d) *Decide* what you want to do (not just - I want to setup network)
e) Read the book again to check whether, what you decided is correct. Write down the steps in a paper.
f) Switch on and try again.

Believe me, you will succeed in 30 min.

- -
 
Old 04-30-2003, 08:57 PM   #40
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Quote:
in windows when i follow instructions to log on to nt file system in the network neighborhood there is a box that asks for the nt domain. nothing refers to this in the instructions and im clueless as what to put in there. if i dont fill it in windows throws fits and doesnt boot properly.

Check the section on client configuration. You need to tell the Windows machines that they are part of the Samba domain.

Also make sure that you have the "Workgroup = xxx" command in your smb.conf file. The workgroup name should be the same for all machines on the network.



Quote:
couldnt add pete1(win) to smbpasswd file but linux machines are there.
Windows 95/98 machines were never designed to join a domain in the same way that 2000/XP machines can. They cannot be added to the smbpasswd file.
 
Old 04-30-2003, 11:36 PM   #41
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
ok ive got client for microsoft metworks set up as the primary network logon. workgroup home. same for all machines.

Client configuration: Windows 95/98/ME page 2 of 4

To join a Windows 95/98/ME client to the domain:

First check that Client for Microsoft Networks is installed; if not, install it (Control Panel -> Network -> Client for Microsoft Networks). To install, place your Windows CD in the drive and select Add from the afforementioned dialog, then: Client->Add...->Microsoft->Client for Microsoft Networks.
Make sure Client for Microsoft Networks is the primary network protocol (Control Panel -> Network -> Primary Network Logon).
Next, go to Control Panel -> Network -> Client for Microsoft Networks -> Properties -> Logon to NT Domain.
If you've employed the add user script option, select the checkbox Create a Computer Account in the Domain; otherwise you'll need to ensure a machine account already exists for the client.
Fill in the domain, and click OK

these are the inst for win 98. somewhat lost on the last part. when i check the box "logon to win nt domain" i have to fill in the empty box that says "win nt domain". i left the box unchecked.

im wondering if at this point its my inability to mount things that keeps me from seeing the linux boxes. i have to manually mount the windows machine every time i reboot to see it but never have successfully been able to mount the linux boxes.

pete
 
Old 05-01-2003, 06:06 AM   #42
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Quote:
If you've employed the add user script option, select the checkbox Create a Computer Account in the Domain; otherwise you'll need to ensure a machine account already exists for the client.
This appears to be incorrect. Just tick the section that says Logon to NT Domain and specify the name of the domain. This is the same name used in the "Workgroup = xxx" line in your smb.conf file.

When you restart, you should notice that the domain is added to the Windows logon window.

Windows can operate in a peer to peer network and in a domain. If no domain is specified, the workstation will think that you have a peer to peer network.


Quote:
i have to manually mount the windows machine every time i reboot
Please clarify. I don't understand what you mean by manually mounting the Windows machine.
 
Old 05-01-2003, 07:16 AM   #43
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
to see the windows box on either linux machine i have to mount the win box (pete1) with the command "smbmount //pete1/c /home/pete8(or pete9) -o username=pete1,password=crabby to be able to access pete1 by looking in root,home,pete1 then i can see all the windows files. pete9 is also there but i cant access the files on it.

just set up network on win machine with domain (home) and get the win login error "the domain password you supplied is incorrect or access to your logon server has been denied."

pete

edit; in thinking about this today at work i may be seeing users i added to pete8 instead of the network when all the machines show up in pete8 as root.home. when i followed the ibm tutorial i added all the users instead of just pete8. im going to reinstall everything and start from scratch.

Last edited by engineer55; 05-01-2003 at 07:56 PM.
 
Old 05-01-2003, 09:53 PM   #44
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
There is really no need to re-install. Samba is working. You simply need to trouble shoot and identify the errors that you have made.

This is a normal part of any software installation.

Quote:
to see the windows box on either linux machine i have to mount the win box (pete1) with the command "smbmount //pete1/c /home/pete8(or pete9) -o username=pete1,password=crabby to be able to access pete1 by looking in root,home,pete1 then i can see all the windows files.
Now I understand. I tend to use Windows to access shares on Linux. There should be a way to automount the Windows shares but I have never tried. When this is over you could start a new post and someone will help.



Quote:
pete9 is also there but i cant access the files on it.
Review the smb.conf file on pete9 and make sure that the shares have been set up correctly. You could run testparm on pete9. The command is "testparm /etc/samba/smb.conf"

This will test your smb.conf and identify errors.



Quote:
just set up network on win machine with domain (home) and get the win login error "the domain password you supplied is incorrect or access to your logon server has been denied."
This message suggests that you are typing in the wrong passwords. Make sure that you only one Linux machine set up as the domain controller. See my earlier post on this.

Make sure that all the users are present in the /etc/passwd and /etc/smbpasswd files on the domain controller. Both tutorials contain info. re: setting passwords. Re-set them if necessary.

Quote:
when i followed the ibm tutorial i added all the users instead of just pete8.
You are supposed to add all the users. If you don't add a user, the Samba server will not allow him to log on.
 
Old 05-01-2003, 10:03 PM   #45
engineer55
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
ok thanks for responding again. didnt have time to reinstall anyhow. wife said dog needed bath.

it may be a while untill i get time to work on this. have to help on some home repairs this weekend

pete
 
  


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
text based system monitor - $1,000 reward!! fatrandy13 Linux - Software 6 05-07-2005 08:28 PM
lost .bashrc .bash_profile $100 reward ; ) Sabicas Slackware 4 10-06-2004 12:24 AM
Kernel upgrade to 2.6 Problem - Reward for Helping E Pierce Linux - Software 4 07-28-2004 05:55 PM
Would you turn in the author for the SCO's reward? Pcghost General 40 03-07-2004 03:05 PM
Linux dosnt know how much space ive given it teedd Linux - Hardware 1 11-08-2003 10:26 AM

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

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