Mounting WinXP shares

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
FunkyELF
Linux User
Posts: 14
Joined: Tue Aug 12, 2003 7:13 am
Location: Student
Contact:

Mounting WinXP shares

Post by FunkyELF »

I would like ot know how to mount a WinXP share?
I disabled 'simple file sharring' in windows, so for the other PC's on my network to connect to my PC, they have to have a user account on my PC that matches the same user/pass that they log into their box with.
rocketeer
Pro
Posts: 75
Joined: Sun Aug 17, 2003 12:05 am

Post by rocketeer »

First,

Code: Select all

emerge samba
Then,

Code: Select all

mount -t smbfs -o username=your-login-name/DOMAINNAME-OR-WORKGROUP,password=the-password //windows-machine-name/share-name /your-dir-to-mount
Example:

Code: Select all

mount -t smbfs -o username=funkyelf/WORKGROUP,password=gentooxrox //pokemon/mp3 /tmp
Post Reply