LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-09-2004, 03:52 PM   #1
jbcolmena
Member
 
Registered: Feb 2004
Location: Italy
Distribution: Ubuntu
Posts: 40

Rep: Reputation: 15
newbie trying to set up lan


I have four machines. One running Slack 9.1, the others win 98 or XP. They are conected through a hub. I want to conect the one running slack to the LAN. I've been reading the HOW-TOs, info and man... but still can't figure it out, because it won't work! so far, this is what i understand:

i.- In order to connect to win machines, i need samba. I should read the samba manual, and set up the smb.conf file. So far, made a simple one based on the manual and the smb.conf-sample file.

ii.- I must add a line to fstab for every folder i want to import from the other boxes. It should look something like: <host>:<dir>, e.g., `knuth.aeb.nl:/ (from the fstab info).

then i should mount the thing, and it's all set! but well, is not working. One of the computers i want to import from is called say me, and the file c:\share\. should then the fstab line look like: me:\share\ /home/LAN nfs defaults 0 0

when i try to mount the thing, i get: mount: can't get address for cic3 (cic3 is the box i want to import from).

¿what am i missing? sorry for such a long mail... thanks is advance.

by the way, how do i know that samba is runing? and should i use smbclient or smbd? i don't find on dmesg. And if i type smbclient, i get the help menu.
 
Old 02-09-2004, 04:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You are mixing up samba and nfs. Ignore nfs altogether if you want to connect to a windows share. Try something like:
mount -t smbfs //winpc/share /mnt -o username=joe,password=bloggs
ls /mnt
 
  


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
I want to set my linux for my lan hus Linux - Networking 1 06-27-2005 08:54 AM
How do I set up a server on a lan? Terry M Linux - Newbie 1 02-19-2005 11:23 PM
How to set up LAN with Linux and XP ? TWTony Linux - Networking 4 12-13-2004 08:32 PM
How to set up LAN between two computer vanhelsing Linux - Networking 14 07-16-2004 10:47 AM
Set up LAN Reinder Wieling Linux - Networking 3 07-05-2003 12:46 PM

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

All times are GMT -5. The time now is 10:44 PM.

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