OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: mrbisme33 on July 04, 2006, 12:23:33 am

Title: Mounting Smbfs
Post by: mrbisme33 on July 04, 2006, 12:23:33 am
I'm running cacko 1.23 on a C1000.  I've tried installing a few different smbmount packages but can't get it to actually mount anything.  I'm familiar with how smbmount should work, but I keep getting invalid argument error messages.  Does anybody know where I can find a version of smbmount that works, it's dependencies, and any quircks that might be involved in installing?  

Thanks,
John
Title: Mounting Smbfs
Post by: btanoue on July 04, 2006, 12:35:57 am
John,

don't forget the -o options.  They may help.

smbmount //box/share /mount/point/ -o username=YouUserName password=YourPassword

btanoue
Title: Mounting Smbfs
Post by: mrbisme33 on July 06, 2006, 01:43:49 pm
Quote
John,

don't forget the -o options.  They may help.

smbmount //box/share /mount/point/ -o username=YouUserName password=YourPassword

btanoue
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133838\"][{POST_SNAPBACK}][/a][/div]

Thanks, I didn't try using smbmount... I was attempting mount -t smbfs, which, of course, doesn't work with cacko.
Title: Mounting Smbfs
Post by: agoodm on July 06, 2006, 07:55:51 pm
Quote
John,

don't forget the -o options.  They may help.

smbmount //box/share /mount/point/ -o username=YouUserName password=YourPassword

btanoue
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133838\"][{POST_SNAPBACK}][/a][/div]

Just tried this and got:  Unrecognised characterset 866

Am I missing a dependency?
Title: Mounting Smbfs
Post by: mrbisme33 on July 08, 2006, 04:22:53 pm
Quote
Quote
John,

don't forget the -o options.  They may help.

smbmount //box/share /mount/point/ -o username=YouUserName password=YourPassword

btanoue
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133838\"][{POST_SNAPBACK}][/a][/div]

Just tried this and got:  Unrecognised characterset 866

Am I missing a dependency?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134184\"][{POST_SNAPBACK}][/a][/div]

I get that too, however, it still mounts.  It seems to me that the smbmount included in the distro has that problem.
Title: Mounting Smbfs
Post by: agoodm on July 08, 2006, 08:08:45 pm
Quote
Quote
Quote
John,

don't forget the -o options.  They may help.

smbmount //box/share /mount/point/ -o username=YouUserName password=YourPassword

btanoue
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133838\"][{POST_SNAPBACK}][/a][/div]

Just tried this and got:  Unrecognised characterset 866

Am I missing a dependency?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134184\"][{POST_SNAPBACK}][/a][/div]

I get that too, however, it still mounts.  It seems to me that the smbmount included in the distro has that problem.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134362\"][{POST_SNAPBACK}][/a][/div]

Unfortunately this is not the case.  It just sits there and doesnt work :-(

i did smbmount //192.168.0.5/open /mnt/smbfs

The smbfs dir exists and the open share on my samba server is as it says ie open/public.
Title: Mounting Smbfs
Post by: BarryW on July 08, 2006, 10:29:23 pm
Quote
Quote
Quote
Quote
John,

don't forget the -o options.  They may help.

smbmount //box/share /mount/point/ -o username=YouUserName password=YourPassword

btanoue
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133838\"][{POST_SNAPBACK}][/a][/div]

Just tried this and got:  Unrecognised characterset 866

Am I missing a dependency?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134184\"][{POST_SNAPBACK}][/a][/div]

I get that too, however, it still mounts.  It seems to me that the smbmount included in the distro has that problem.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134362\"][{POST_SNAPBACK}][/a][/div]

Unfortunately this is not the case.  It just sits there and doesnt work :-(

i did smbmount //192.168.0.5/open /mnt/smbfs

The smbfs dir exists and the open share on my samba server is as it says ie open/public.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134377\"][{POST_SNAPBACK}][/a][/div]

User name and password?


Here's what I type,

smbmount //192.168.2.2/Files/ /mnt/net -o username=blah,password=blahblah

and it does do the unrecognized character set 866 but if I do a df -h I get,
Code: [Select]
Filesystem                Size      Used Available Use% Mounted on
rootfs                   32.0M     32.0M         0 100% /
/dev/root                32.0M     32.0M         0 100% /
/dev/ram1               108.0k     28.0k     80.0k  26% /dev
/dev/loop0               25.9M     25.9M         0 100% /usr
/dev/mtdblock3           89.0M     24.3M     64.8M  27% /home
none                     10.0M     52.0k      9.9M   1% /dev/shm
/dev/hda1                 9.5M      1.0M      8.0M  11% /hdd1
/dev/hda2                 9.5M      1.1M      7.9M  12% /hdd2
/dev/hda3                 3.8G      2.1G      1.7G  54% /hdd3
//192.168.2.2/Files     232.8G     66.9G    165.9G  29% /usr/mnt.rom/net

Don't forget there isn't a space between the username and password, just a comma.
Title: Mounting Smbfs
Post by: mrbisme33 on July 09, 2006, 11:39:17 am
Also ensure that you're mounting as root, although if you're not having any sudo errors, you're probably already root
Title: Mounting Smbfs
Post by: btanoue on July 09, 2006, 11:58:36 am
Quote
Also ensure that you're mounting as root, although if you're not having any sudo errors, you're probably already root
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134435\"][{POST_SNAPBACK}][/a][/div]

Right,

I put my smbmount in /mnt so I had to be root to begin with to get write permissions.  I also was root when I did do the mount.  It does work.  I'm not sure if the password option is really needed since after I get the code page errors, I still have to put my password in again.

Good Luck,
btanoue