Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-09-2003, 12:24 PM   #1
LQ Newbie
Registered: Apr 2003
Location: Utah, a desert that gets snow?
Distribution: Mandrake Linux 9.1
Posts: 5

Rep: Reputation: 0
Exclamation 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!
Old 04-09-2003, 01:16 PM   #2
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
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




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.
Old 04-09-2003, 01:31 PM   #3
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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?
Old 04-10-2003, 01:50 AM   #4
LQ Newbie
Registered: Apr 2003
Location: Utah, a desert that gets snow?
Distribution: Mandrake Linux 9.1
Posts: 5

Original Poster
Rep: Reputation: 0
Oracle Question:
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?
Old 04-10-2003, 02:54 AM   #5
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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.

Last edited by Thetargos; 04-10-2003 at 02:55 AM.


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
Lan Party Networking Xel'naga666 Linux - Networking 2 09-03-2005 05:25 AM
Completely new to Linux! Need help with Networking on a windows LAN Ky. Linux - Newbie 7 07-04-2005 02:53 PM
LAN Networking with 2 ISP intune Linux - Networking 1 07-18-2004 11:15 AM
redhat 9.2 networking with windows xp lan server ezeuba Linux - Networking 2 04-19-2004 09:25 AM
need help on Lan networking/configs..... jay820 Linux - Networking 13 03-04-2004 01:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration