LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-07-2004, 10:29 PM   #1
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Rep: Reputation: 15
You people can't even type...


...Samba. :]

I know this girl who's afraid of the Internet. She has two identical i386 laptops with no Internet connection. One has RH9, the other Windows 2000. (I can plug them into my ethernet to do 'research,' but that invariably causes her to run screaming from the room). Sorry, I know it's late. Hope I'm not making anyone anxious before bedtime.

But it is literally impossible for me to get Samba working! What is the procedure, step-by-step, by which one connects these two machines with one ethernet card apiece with a crossover cable. That's right, no router. Someone has to tell me, because I could be getting some ass if she can transfer her Britney Spears from win2k to redhat, and vice versa.

Peace.

-O
 
Old 06-08-2004, 12:51 AM   #2
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Original Poster
Rep: Reputation: 15
please help!

To any man who is reading this, it's your duty and obligation to help out your fellow haxkr
 
Old 06-08-2004, 01:07 AM   #3
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
install samba on the linux machine. edit /etc/samba/smb.conf to the configuration of the network. Mine looks like this..
Code:
# Global parameters
[global]
	server string = floods[box]
	security = SHARE
	log file = /var/log/samba.%m
	max log size = 50
	dns proxy = No
	ldap ssl = no
	hosts allow = 192.168.0.

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[public]
	path = /home/floods/
	read only = No
	guest only = Yes
	guest ok = Yes
	printable = Yes

[floods' home]
	comment = floods' home directory
	path = /home/floods
	valid users = floods
	admin users = floods
	read list = floods
	write list = floods
	read only = No
	guest ok = Yes
That shows that linux has two shares, and they're both the same share. I did that because I couldn't get it to work for some reason, but //floodsbox/public is the share that works I think.

Some of it looks redundant becuase.. well.. it didn't want to work for some reason. Samba makes a great server, and an ok client.

Anyways..

To copy files from windows to linux.
share the directory, then open a terminal in linux. type up mount -t smbfs -o username=username,password=password //servername/sharename /mnt/servername/sharename.

the /mnt/servername/sharename will need to be created before hand. If you want the shared directories to mount on boot (which I've done,) you'll need to edit your fstab some...
my samba mounts from fstab that auto-mount..
Code:
//JOEY/Music	  /mnt/JOEY/Music 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/Downloads  /mnt/JOEY/Downloads 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/Drivers	  /mnt/JOEY/Drivers 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/Kazaa	  /mnt/JOEY/Kazaa 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/Movies	  /mnt/JOEY/Movies 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/Soulseek	  /mnt/JOEY/Soulseek 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/Warez	  /mnt/JOEY/Warez 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/floodspics /mnt/JOEY/floodspics 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/slack	  /mnt/JOEY/slack 	smbfs		rw,credentials=/home/floods/Samba 0   0
//JOEY/xvids	  /mnt/JOEY/xvids 	smbfs		rw,credentials=/home/floods/Samba 0   0
the rw shows the directories are read-write, though it doesn't do a lot of good if the directories aren't allowed to be written in by the other computer. the credentials=/home/floods/Samba is directing to a file named Samba, that has two lines in it, that looks like this.

Code:
username=USERNAME
password=PASSWORD
This username and password needs to be the same as the windows computers username and password.

That's about all I can remember. I may be missing something or another, but its late. You can probably take it from there..

good luck
 
Old 06-08-2004, 06:35 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: please help!

Quote:
Originally posted by opioid
To any man who is reading this, it's your duty and obligation to help out your fellow haxkr
And to any haxkr, whatever that may be, it is your obligation when using a site to obey its rules that you agreed to when registering. Please do not bump your own posts until after at minimum 24 hours has surpassed. And also try to use better and more helpful thread titles that even describe your question. Thanks.

http://www.linuxquestions.org/rules.php

Last edited by trickykid; 06-08-2004 at 06:37 AM.
 
  


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
How can I get people to use Linux? I'm bad at converting people over. Mr. Hill Linux - Newbie 50 07-11-2020 10:41 AM
installing redhat 8.0 when text login in I cannot type password?? I type root scrist Linux - General 4 04-22-2006 02:20 AM
Distro + WM for Kiosk-type box for old people Jimmy The Clown Linux - Distributions 1 11-02-2005 08:56 PM
arrays of elements with [gcc4]array type has incomplete element type lmmix Linux - Software 0 02-26-2005 08:07 AM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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