LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba / LAN Networking. Help? (https://www.linuxquestions.org/questions/linux-software-2/samba-lan-networking-help-54221/)

Zorlak 04-09-2003 12:24 PM

Samba / LAN Networking. Help?
 
All right, minus my question on Oracle 9i and the whole .csio thing, is there any reasonable way of explaining the install of samba? I downloaded what I think to be samba, extracted it, and then I was lost beyond all beliefe. All I found was a bunch of folders and files, not a single .exe or setup file? If anyone can maybe help me get on track on how to run the install of samba, you'd be my god! Not only that, if anyone knows how to setup LAN networking through Linux, I could also use some help with that. Last time I tried to browse the network I got this error:
"Configure Lisa Daemon". Or something to that regard. Thank you all so very much!

Wolven 04-09-2003 01:16 PM

Okay, let's start nice and slow.
First off, I have no idea what you are talking about with the "Oracle thing" as I haven't seen any other posts by you about it.
Quick Answer:
Linux doesn't use .exe

Longer answer:
Linux uses file attributes (perhaps you have seen references to chmodding a file? "chmod the file to 755" for example) in order to set the permissions on a file. It's a bit too complicated for me to type out right here, but there are plenty of wonderful tutorials on it already, so I shan't bother muddling it up for you. I will get you some links to tutorials on it if you wish.

Next, you will probably find a file named

README

or

INSTALL


in the top level of the directory you extracted


Open this file up with a text editor. It should have the basic steps.



Next, you need to get familiar with the command line. Linux is not overly "point and click."


Also, you are using Mandrake 9.1 according to your profile there, and if you are, then you can probably deal with RPMs much easier.


Try doing this:

Bring up a command line, and type in


urpmi samba



and see what it says.

Theoretically, it should tell you to throw in one of your CDs.


Mandrake can use RPMs, which are a LOT easier to deal with for the average joe, when compared to compiling from source.


There are a lot of ways to get what you want. But the way you have gone so far is a teensy bit more complex than some of your other options.

Thetargos 04-09-2003 01:31 PM

What is your specific question about LAN setup under Linux? as a server/router or as to be able to be "insterted" into an existing LAN?

Zorlak 04-10-2003 01:50 AM

Oracle Question:
http://www.linuxquestions.org/questi...threadid=54216
Samba Question:
Thank you for your reply, I will get right on that and let you know what happens.
Lan Question:
I want to be able to browse my lan and access remote Windows 2000 and Windows 98 systems if possible. So far, I don't even know how to view my network to see where I can and can not go?

Thetargos 04-10-2003 02:54 AM

Ok, first things first.

Regarding SAMBA:

Depending on your distribution, you can grab the rpms or debs for it or if you do not want/have these kind install procedure, you can simply grab the .tgz's.
Install it.

To see if your LAN is working on your computer:
try to ping the computers in your LAN you want to communicate with
$ping <the IP address of a system here>
If you get anything regarding packets and time to recieve them, you are set. Now just add the computers you want to communicate with to your /etc/hosts file. Follow the same pattern as your localhost is set up, you can change the aliases (the second argument after the IP address), this will help you with the SAMBA mounting process.

To share files:

You have to do some configuration on the Windows machines (both of them), you must enable file sharing on both computers. Asuming you do not know how to do this in windows, just go to control panel-->network-->and if you do not have the service installed (file sharing) install it (this procedure should be the same for win98 as win2k), if in the other hand you already have this enebled and are able to share files between your windows boxes, you do not have to worry about this. BUT (yes there is a big but here) if you have a HOLE drive selected as your shared resource, you will not be able to access it via SAMBA.

Now if you would want to share files as you would in Windows (via the file manager, in win case IE), you will have to mount the shared resource(s). To that end you will need to make the propper mount points (as a suggestion they could be /win98 and /win2k for your windows rigs), secondly as root you will have to issue the command:
#mount -t smbfs username=<idem>;password=<type it here> -o //<your windows system>/<shared resource>
Now you can simply open a Konkeror or Nautilus window to access your shared resources from the windows computers. There are a few notes here:

1 you will be unable to write to the windows shares unless you are root.
2 Remember you MUST specify a directory within the windows file system to share and not the entire disk (in my experience SAMBA will not access entire disks [filesystems], if there is a way I do not know).
3 In both cases (98/2k) you MUST specify the login arguments to the mount command, otherwise SAMBA will tell you the shares, but you will be unable to mount them.

This should get you started. Anyway I'll have to check the scripts I made to mount the shares, because I do not remember the *extact* syntax of the command, I'll let you know if I am mistaken.

Finally, if you have further questions, or if you did not quite understand what I just said, just ask or send me e-mail.


All times are GMT -5. The time now is 12:10 AM.