Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 19:26
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
mount.cifs missing
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
warpinwolf

Joined: 20 Jul 2006
Posts: 4

PostPosted: Fri 19 Dec 2008, 07:18    Post_subject:  mount.cifs missing
Sub_title: Needed to access Windows Server shares
 

Hi,

hope this is the right place.

After fooling around hours, googling, testing.... I finally did "find / -name mount.cifs" on my 4.1.2 Puppy - and nothing has been found.

I went to packages.slackware.it, got the samba tgz, extracted it, took the mount.cifs from the user/sbin directory and copied it over to the /sbin

And all a sudden the "CIFS VFS: cifs_mount failed w/return code = -22" messages were gone....

Merry Xmas and a Happy New Year everybody
Wolf
Back to top
View user's profile Send_private_message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 19 Dec 2008, 08:00    Post_subject:  

that is interesting
Please could you post the mount lines that you are using. I am also interesting in which OS the server is running.

When I was adding cifs support to pnethood it seemed to work OK without mount.cifs, ie this works for me connecting to an XP machine
Code:
mount -t cifs -o username=will,password=xxxxxxxx //192.168.1.64/c$ /mnt/data


puppy contains three ways of mounting
/bin/mount-FULL (a full binary implementation)
/bin/mount (a shell script that handles ntfs separately and ensures that mtab is maintained)
busybox mount (a stripped down binary implementation)

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send_private_message 
warpinwolf

Joined: 20 Jul 2006
Posts: 4

PostPosted: Fri 19 Dec 2008, 09:12    Post_subject:  

Hi HairyWill,

using

mount-FULL -t cifs -o username=abc,password=xyz //dc1eu/data_files /mnt/data

Server OS: Windows Server 2003.

I have to use CIFS because of the authorization encryption.

Seems like this Puppy version does not have everything required packed into it (or I was stupid enough to fool around and delete stuff).

dmesg constantly gave these messages:
CIFS VFS: cifs_mount failed w/return code = -22

pnethood does work (now) in my environment (still the server isn't discovered, so I have to call it using the ip address, enter user and passwrd and click refresh) - This is NO accusation! Just to let you know. Another thing - I'm used to enter "domain\username" in the username field. In pnethood this doesn't work, I have to escape the backslash "domain\\username". Doing this, it works, but then the single backslash is being displayed in the username field --> another refresh doesn't display any shares (assuming connection denied....). BTW using the username without domain part works as well.....

Regards
Wolf
Back to top
View user's profile Send_private_message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 19 Dec 2008, 10:08    Post_subject:  

wolf
thanks for the feedback, very helpful
I will push for mount.cifs to be included in the next release.
It doesn't surprise me that the slashes cause a problem. It is not easy getting slashes out of and back into gtkdialog textboxes. Considering that pnethood is primarily aimed at at small home environments domain authentication has not been something that I have focussed on.
As to the scan not finding your server, could you try something like
Code:
nbtscan -t 5000 192.168.0.0/16

replacing the subnet with something suitable for your environment.

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send_private_message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Thu 30 Jul 2009, 18:21    Post_subject:  

In Puppy 4.2.1 Seamonkey 4.2.1-k2.6.25.16 mount.cifs
is there under /sbin. Works well and is easy to use in
a bash file.

Simple example:

In this case the "public" directory is a CIFS box at 192.168.1.21

First mkdir /mnt/public (do this once)

then

mount.cifs //192.168.1.21/public /mnt/public -o user=puppy,pass=woof

When done using the mount close all open files and simply do a

umount /mnt/public

To add more security you can remove ",pass=woof" then at mount time you will be queried by the CIFS box what the password is.

I think is a keeper.
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7060
Location: Perth, Western Australia

PostPosted: Thu 30 Jul 2009, 22:42    Post_subject:  

mount.cifs is also in Puppy 4.3pre-beta, that I'm uploading now.
_________________
http://bkhome.org/news/
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0595s ][ Queries: 11 (0.0033s) ][ GZIP on ]