[X4U] Mac external HD access from windows XP
Hector Luna
polonius19 at gmail.com
Wed Jan 19 12:20:36 PST 2005
let me try this again, my first attempt was blocked by the list mom
for being to big.
--
my bad, the thread was on the Ti PowerBook list, not X4U. this guy
recommends using SWAT to do this, i edited the file by hand, and it
seemed to be alot easier, i basically just copied the info re: the
user share and modified it to reflect the additional shares. my
powerbook is in the shop, so i don't have it with me to reference, but
this is the stuff from the afore mentioned thread...
this is the first part:
--
For advanced configuration of Samba, use SWAT (Samba Web Administration
Tool). First you have to enable it. To do so open a Terminal window,
highlight and drag n drop the following commands (or type them in), one
at a time, on your open Terminal window:
cp /etc/services ~/Desktop
cp /etc/inetd.conf ~/Desktop
Click on your desktop to refresh it. You'll see two files appear on
your desktop named 'services' and 'inetd.conf'. Drag n drop 'services'
on TextEdit to open it. Scroll down to the 900 section and paste the
following line in:
swat 901/tcp #samba configuration server
Save the file on your desktop.
Do the same with 'inetd.conf' and add the following line at the bottom
of the file:
swat stream tcp nowait.400 root /usr/sbin/swat swat
Save that file on your desktop too.
Now drag n drop the following two commands into an open Terminal window
again:
sudo cp ~/Desktop/services /etc/
cudo cp ~/Desktop/inetd.conf /etc/
Reboot the machine.
Open Safari and access SWAT at http://127.0.0.1:901 as root.
--
this part references some the issues re: using SWAT in Panther:
--
Apple broke SWAT in the latest incarnations of Panther as I've come to
find out. I did a little poking around to see what Apple broke this
time, and here's how to fix it (in addition to my initial
instructions):
Open a Terminal window and either type or drag n drop this command in it:
cp /etc/xinetd.conf ~/Desktop
Open the file with TextEdit and append the following to it:
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
server_args = -a
log_on_failure += USERID
groups = yes
disable = no
}
Save the file and drag n drop this command into the Terminal window:
sudo cp ~/Desktop/xinetd.conf /etc/
Drag n drop this command into Terminal:
ps -ax | grep xinetd
You'll see the xinetd process running there, it'll have a PID (Process
ID) number, and you have to kill it. To kill it type in:
kill -9 whatever the pid number is
Then drag n drop this command into Terminal, which will restart xinetd.
Alternatively, you can reboot the box:
xinetd with /usr/sbin/xinetd -inetd_compat -pidfile /var/run/xinetd.pid
Now you'll be able to log in to Samba at http://127.0.0.1:901 from
localhost only without need to authenticate.
As shown in my nifty little screenshot here:
http://astcomm.net/~chris.olson/temp/Samba.jpg
you click on the Shares button to create a new network share.
--
i still think editing smb.conf is easier. to each his own. hope this helps...
On Wed, 19 Jan 2005 12:35:22 -0600, Doug LaBore <dlabore at mn.rr.com> wrote:
> I have Windows sharing turned on on my G5 and can see and mount the Mac's boot
> disk just fine, but the second external HD on my Mac is not accessible.
> Doug LaBore
> Bloomington Minnesota
--
Polonius19
Chief Malcontent & Misanthrope
Urban Pacification League
More information about the X4U
mailing list