HOWTO Share files between windows and ps2linux using samba Remy Irawan - firstname.lastname@example.org 2002-07-05 v0.1
This document will describe step by step information how to setup files
sharing between windows and ps2linux
First thing first you have to have samba package install form the disc 2
of the Linux for Playstation2. The second most important thing is you have
to a smbfs (samba file system) module in your PS2Linux system. There are
2 ways to install smbfs module :
Easy-Way : Grab a copy of smbfs.o from 'Compiled For Your Convinience'
Hard-Way but much more challenging :) : Re-compile kernel and enable
the smbf module from the kernel options. Kernel recompile can take up to
1 hour in PS2Linux. For more information to recompile kernel go to Kernel HOWTO
If you already done all of the above, then we are set to do a file sharing.
For making things easier, I will make name examples to represent the operating
system and user:
'linbox' will be the hostname of the PS2Linux machine
'winbox' will be the hostname of the windows machine
'joe' will be my user example who has an account in PS2Linux machine.
In the PS2Linux there are 2 files to edit: smb.conf and hosts. Both of them
is located in /etc. First edit the /etc/hosts file using vi or pico so it
will look something like this
If you get an output similar like that you're on the right track :) Now what
you can do is to mount the drive in windows to your PS2Linux:
Type 'mkdir /mnt/c'
Type 'mount -t smbfs -o username=root,password=passhere
//winbox/c /mnt/c' Please note in //winbox/c, 'c' is the sharename of
windows harddrive that we set in the previous section. If you set the sharename
to a different one, then don't forget to change it.
Type 'cd /mnt/c' , type 'ls' and whalaa......You can
see your windows harddrive from PS2Linux :)
Accessing PS2Linux Files from Windows Machine
For windows ME/98 don't forget to put in the username 'joe' at the logon
box, leave the password empty and click ok. Please note that user 'joe' must
have a valid account in your PS2Linux machine. For windows NT/2000/XP, login
as your normal login id and create a user in your PS2Linux with the same
exact username as your windows NT/2000/XP.
Now after you login to windows:
Go to My Network Place/Network Neighbourhood
For windows 98 user you should see 2 icons that arelinbox and winbox.
For other windows version, go to 'Entire Network', open 'MSHOME',
and you should see 2 icons that are linbox and winbox.
Double click on 'linbox', put the password that user 'joe' use to login
to PS2Linux, and you should see a folder called 'home'. when you open it,
you can see your home directory(/home/joe) in your PS2Linux.
Now you can transfer file to your PS2Linux from your windows machine
You can mount this home directory at PS2Linux in your windows. Just right-click
on folder 'home' under icon 'linbox', choose 'Map Network Drive',
tick 'Reconnect at Logon' and click OK. The next time you turn on
your windows machine in My Computer or Windows Explorer you can see a drive
called 'Home at Linbox'. You can access it from there without going to Network
Neighborhood/My Network Place again.