Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

linux/windows file sharing

Refracta Development, Scripts, etc.

linux/windows file sharing

Postby fsmithred » Sat Jan 26, 2013 1:13 pm

I've got the following in the release notes. Can someone test these commands to see if they work? I have no way to do that.


___ MOUNT WINDOWS SHARE ___

# This needs troubleshooting.
mount.cifs //windows-host/user <mountpoint> -o uid=user,gid=user
umount.cifs <mountpoint>



And this does not apply to xfce.
# This works:
Or connect through System Tools ---> Computer ---> Network (Tested with samba server.)


I think it should be like this, but again, I can't test it. No windows here.
Open Thunar and click on Network. Select the network you want. Do something else?




=================================
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: linux/windows file sharing

Postby golinux » Sat Jan 26, 2013 4:22 pm

No windows here either . . . ;)
May the FORK be with you!
User avatar
golinux
 
Posts: 663
Joined: Thu Nov 08, 2012 1:23 am

Re: linux/windows file sharing

Postby nadir » Sun Jan 27, 2013 8:50 am

I am trying to set up a Windows Share to test it, but i seem to fail.
networking in Windows: foam at mouth, fire and brimbstone.
Example? I open network center and click on connect. It then opens a pop-up and says: please open the network center. I open it, i click on connect, it opens a pop-up ... Hurray.

That, btw, is my main problem. Most Gnu/Linux docus explains in detail how to use the clients, but are silent when it comes to Windows. Windows docu itself is the way that it is.

Anyway:
What about pyneighborhood ?
antiX comes with it. I searched at http://wiki.ubuntuusers.de/Samba_Client ... mount.cifs and to me it looks like a gui frontent to smbclient of mount.cifs (or both? I don't know).

I recall that bugsbunny wrote a lot about samba.
Also about connecting easily, perhaps with smbclient, without the hazzle of setting up samba.

Last one: If it was me i wouldn't care about that. It doesn't look like that many would use WindowsShare at all, and the ones who do should be able to figure it out themselves.
For me filezilla from Gnu/Linux and filezilla-server at Windows is a poor man's but easy workaround (only possible if we talk about small data, sure).


PS: Don't get me wrong. I am at it and willing to test as much as possible, but my Windows-foo is close to non-existent.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: linux/windows file sharing

Postby nadir » Sun Jan 27, 2013 9:46 am

K, i could make it work with pyNeighborhood.
(it asks for the root password).

I had to disable the need for a password on Windows
(i did a lot, that is the last i did. I am not sure if it is necessary)

mount.cifs gives a mount error (13).
the German Ubuntu wiki mentions a bug:
https://bugs.launchpad.net/ubuntu/+sour ... bug/563805
which is said to be solved like this:
chmod +s /sbin/mount.cifs
chmod +s /sbin/umount.cifs

In short: It is Windows as it's best. Shooting in the dark with the eyes closed, without any reason.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: linux/windows file sharing

Postby nadir » Sun Jan 27, 2013 9:50 am

Oh, and my thunar doesn't seem to have any "Network".
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: linux/windows file sharing

Postby fsmithred » Sun Jan 27, 2013 2:55 pm

Thanks for testing. I'm wondering why you don't have a network bookmark in thunar. It should be in the side panel. Are you using one of the refracta-wheezy betas?

I'm not sure what caused it to be there. Here's what I've got.
Code: Select all
[email protected]:~$ aptitude search ~ithunar
i A libthunarx-2-0                  - extension library for thunar             
i   thunar                          - File Manager for Xfce                     
i   thunar-archive-plugin           - Archive plugin for Thunar file manager   
i A thunar-data                     - Provides thunar documentation, icons and t
i   thunar-volman                   - Thunar extension for volumes management   
[email protected]:~$ aptitude search ~igvfs 
i A gvfs                            - userspace virtual filesystem - GIO module
i   gvfs-backends                   - userspace virtual filesystem - backends   
i A gvfs-common                     - userspace virtual filesystem - common data
i A gvfs-daemons                    - userspace virtual filesystem - servers   
i A gvfs-libs                       - userspace virtual filesystem - private lib


OK, I wasn't entirely honest when I said there was no windows installation here. I've got XP in vbox, and I just managed to figure out how to share files. Going in through the network bookmark in thunar was easy.

I also managed to do it on command line:
Code: Select all
mount.cifs //<local-IP-number>/SharedDocs /mnt -o uid=user,gid=user
I got the share name, SharedDocs, from Shared Document Properties, which I got to by clicking on Share This Folder. Had to enter the windows admin password, I guess because it was the admin account who shared some files. Also had to use the IP number. Couldn't do it with a name (tried the machine name and the workgroup name. Neither worked.) Also had to disable windows firewall - setting it to allow file and printer sharing wasn't enough. I'm pretty sure I'm not going to include any instructions for what to do on the windows side of this procedure.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: linux/windows file sharing

Postby nadir » Sun Jan 27, 2013 3:24 pm

No idea why i ain't got "Network".
The files you listed are installed.
The arch wiki mentions:
gvfs-smb
but it doesn't seem to be in the Debian repos.

But no, this is Debian (Sid), two installations (yet). Not refracta.

-
I tested with Win7, btw.
I guess with a bit more of Windows knowledge it is easy enough.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: linux/windows file sharing

Postby dzz » Mon Jan 28, 2013 6:15 pm

Sorry, no functional Windows here at the moment, to test that! Nor much appetite for supporting Windows (unless £$€ for the beer fund)

But I suppose it should be seen tested and working, if Refracta will be an even more universal and functional live system than already is.
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England


Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred