BLAG

BLAG Forums
It is currently Tue Dec 23, 2014 12:53 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Connecting 2 PCs
PostPosted: Thu May 13, 2004 3:45 am 
Offline

Joined: Sat May 01, 2004 3:42 pm
Posts: 129
Location: 'Burbs of the Windy City
Hi,

I have 2 PC's - PC1 running BLAG and the other PC2 with Doze'98. Both are
connected to a Linksys router (which connects to a cable modem).

Can I access files on PC2 from PC1?

blaggard

(was BLAG_NEWBIE)


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 14, 2004 1:51 pm 
Offline

Joined: Tue Apr 27, 2004 9:52 am
Posts: 73
if you set up the 1st PC as a samba server (and make sure nmb is installed too). Then use network neighbourhood in the other PC to see the 1st PC.

either use RPM or apt-get to install samba. Take a look at the file /etc/samba/samba.conf

There sill be a sample setting for a publicly accessible folder . here is an example:

# Global parameters
[global]
workgroup = MSHOME
security = USER
null passwords = Yes
ldap ssl = no
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750

[public]
comment = Public Stuff
path = /mnt/2winData
public = yes
writable = yes
printable = no


In this case you would make a directory in /mnt called 2winData

Also if i remember correctly you then make a linux user with same username and password as the windows one:

adduser newuser

passwd newuser

smbaddusr newuser:newuser

Then make sure samba and nmb are started by

/etc/init.d/rc.d/smb start

then see if it works.

also do a search on this forum for samba. there are a few posts describing howtos

ste


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 14, 2004 7:14 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
There are lots of ways to share files between the two PCs. Samba is a pretty good way, but sometimes gets a bit complicated.

Another way to access the linux box via the windows box is via ssh/sftp. To start sshd on your linux box (if it's not running already) run:
Code:
/sbin/service sshd start


Then with windows get an sftp client and log into the linux box with your username/password.

There are ways to mount your windoz shared drives under linux too. I don't use 'doze at all, so I'm not sure what the exact command is, but check out smbclient and smbmount.

You could also set up sharing via the regular ftp server or the web server as well. :)

-Jeff


Last edited by jebba on Sat May 15, 2004 1:49 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat May 15, 2004 12:56 am 
Offline
Site Admin

Joined: Sun Mar 14, 2004 4:45 pm
Posts: 621
Location: London
I personally find SCP and FTP to be the easiest.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group