I have a home network based on Win XP Pro, with one Linux machine running Red Hat 9. All updates have been applied. There's no domain controller. I can connect from the Linux machine to the XP machines via Konqueror using smb://mymachine/myshare However, I can't use the mount command. I'm trying to use syntax like mount -t smbfs -o username=myname,password=mypwd //192.168.0.1 /win/myshare But I always just get a print-out showing command usage, and then demonstrating the exact syntax that I am using. I got this from The Unofficial Samba HOWTO http://hr.uoregon.edu/davidrl/samba/index.html A few other sites have demonstrated the same syntax. Samba seems to have been correctly compiled for mounting. I'm assuming Samba is basically working, or else I couldn't connect via Konqueror. -- Rohan Parkes Melbourne Australia
> I have a home network based on Win XP Pro, with one Linux > machine running Red Hat 9. All updates have been applied. > There's no domain controller. > > I can connect from the Linux machine to the XP machines via > Konqueror using smb://mymachine/myshare > > However, I can't use the mount command. > > I'm trying to use syntax like > > mount -t smbfs -o username=myname,password=mypwd > //192.168.0.1 /win/mysharesmbmount '\\mymachine\myshare' /mnt/xpshare -o username=myname,password=mypwd
You aren't specifying the share, only the machine. You should use //192.168.0.1/myshare ---------- Original Message ---------------------------------- From: Rohan Parkes <rparkes@email.com> Date: 11 Jun 2003 07:59:10 +1000>I have a home network based on Win XP Pro, with one Linux machine >running Red Hat 9. All updates have been applied. There's no domain >controller. > >I can connect from the Linux machine to the XP machines via Konqueror >using >smb://mymachine/myshare > >However, I can't use the mount command. > >I'm trying to use syntax like > >mount -t smbfs -o username=myname,password=mypwd //192.168.0.1 >/win/myshare > >But I always just get a print-out showing command usage, and then >demonstrating the exact syntax that I am using. > >I got this from The Unofficial Samba HOWTO > >http://hr.uoregon.edu/davidrl/samba/index.html > >A few other sites have demonstrated the same syntax. Samba seems to have >been correctly compiled for mounting. > >I'm assuming Samba is basically working, or else I couldn't connect via >Konqueror. > >-- >Rohan Parkes >Melbourne >Australia > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba >
On Wed, 2003-06-11 at 17:02, Vizitiu, Ciprian wrote:> > > smbmount '\\mymachine\myshare' /mnt/xpshare -o > > > username=myname,password=mypwd > > > > Thanks - I'm just wondering why the articles (and the smb > > usability print out) seemed to be giving the wrong syntax. > > It's like wondering why the old printing-how-to doesn't allow you to print. > Or why ipchains -whatever doesn't work the way it is supposed to do. It's > the linux way of doing things. > > > Another article stated that I could mount samba shares using > > fstab. But when I tried this, I encountered the problem that > > the network interface wasn't up in time. > > Try automount.At the moment, I'm just running a script at boot up that executes the mount commands. I got the idea from a page on JustLinux. Crude, perhaps, but it's more in line with what I wanted. I could try automount. The mistake I made in fstab, however, was not to specify noauto, so that the shares wouldn't get mounted immediately. However, I couldn't find parameters that would cause them to get mounted on request. -- Rohan Parkes Melbourne Australia
Maybe Matching Threads
- Permissions and long filenames
- samba4 installation Error and mount: unknown filesystem type 'smbfs'
- smbclient/mount question
- Unable to unmount filesystem (bug in kernel reported in kern.log)
- [Bug 31920] New: Brightness control is erratic (/sys/class/backlight/nv_backlight/max_brightness is wrong)