Linux - NetworkingThis 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.
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.