Re: [Lite] Out of the box samba networking

If I'm not mistaking Linux Mint XFCE 7 is using pyneighborhood and does it very well, maybe there are something to pickup from there.

My artwork at deviantART   |    My Tweet   | My upcoming web page
Nulla dies sine GIMP!
ASUS Eee PC 1000 HE | 2GB | 120GB OCZ Vertex 2 SSD | #! Statler

Re: [Lite] Out of the box samba networking

Zwopper wrote:

If I'm not mistaking Linux Mint XFCE 7 is using pyneighborhood and does it very well, maybe there are something to pickup from there.

Thank you for the tip! I will look into. smile

Re: [Lite] Out of the box samba networking

Anyone try xsmbrowser? wattOS (an LXDE distro) uses it.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [Lite] Out of the box samba networking

$sudo mount.cifs //windows/share /local/dir

Worked on the first try for me.  I was pleasantly surprised.

I tried PyNeighborhood and it couldn't browse the windows network, then I googled 'cifs jaunty' and came up with this command.

This was not on #! Lite, but the heavy, bloated, full on version. wink

Statler-Openbox on an Acer Extensa 4420.  Its good to be back.

Re: [Lite] Out of the box samba networking

lewispm wrote:
$sudo mount.cifs //windows/share /local/dir

Worked on the first try for me.  I was pleasantly surprised.

I tried PyNeighborhood and it couldn't browse the windows network, then I googled 'cifs jaunty' and came up with this command.

This was not on #! Lite, but the heavy, bloated, full on version. wink


And on the second try on a separate computer, it failed.  I guess the smbfs package is not installed by default.   It worked after installing smbfs, but the unmount on reboot/shutdown is not happening cleanly.  I'm not sure if this is a problem at my server, or in cifs/smb.

Statler-Openbox on an Acer Extensa 4420.  Its good to be back.

Re: [Lite] Out of the box samba networking

What worked for me was one solution mentioned in this thread: http://crunchbanglinux.org/forums/topic/242/view-lan/.

It's the fusermount / smbnetfs -thingy. Followed the instructions and can now browse the (Windows-)network from within PCManFM.
Used to use gnome-commander before, which detects smb-shares also by default, but when trying to open a  file from another PC, i got a message like
"Cannot open files from distant drives - should i put it in a temp-folder and open from there ??" (Sorry, poor german to english translation by me...).
Now from PCManFM, the files on other PCs are handled like they would be on my own machine - so no more questions..

Made a bash-script, which i put in my home/user/bin - folder and edited "autostart.sh" to run it at boot. This doesn't work consistently on each boot, but then a doubleclick on the bash-script will start the Network-Share reliably..

Script here:

#!/bin/sh
fusermount -u ~/Netzwerk
smbnetfs ~/Netzwerk &

Looks very elegant to me:

http://www.osnanet.de/u.huelbrock/PcMAnSmb.jpg

Last edited by Kuno (2009-09-04 06:52:05)

32

Re: [Lite] Out of the box samba networking

That never seemed to work for me, I ended up installing Nautilus and the Smaba versions from the repos.

How's the pyneighborhood research coming along Corenominal?

Re: [Lite] Out of the box samba networking

Any Thunar users care to test the thunar-shares-plugin:

https://launchpad.net/~danielmorales/+archive/ppa

BTW I do use Thunar, but I don't have a network to test on.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [Lite] Out of the box samba networking

Today I connected to samba for the first time today, over-detailed this post in case it can help someone who is having non-technical problems connecting to their network.  Tried: command line, pyNeighborhood, gigolo; all worked.  Used PCManFM with all of them and as long as I set the mount path within my /home/user directory I was able to do all of them without root.  Was already connected to my webVPN for my school so all three only required the folder path (//nameshare/home) --each method required me to type it differently-- and my network username and password.

Nitpicks:
cli - Was simplest, but no good way to save password(?) and have to manually load file manager after mounting.

gigolo - Server was "nameshare" and share was "home".  Thorough and I like the GUI, but having to guess what to put in all the blank options at the same time was not newbie friendly.  Had to select windows share, then I only need to use three pieces of info and it makes me fill in five blanks (when I left Domain blank the password pop-up suggested using WORKGROUP so went with that). Clicking X only minimizes to system tray, hard to notice the actual quit button.  Running as super user launches different start-up screen and doesn't work (can only select custom location).  Have to remember to click the icon and then disconnect.  I like the GUI, but for "out-the-box" need a shortcut to the config file(?) and a wiki page so I can change the mount point et cetera.

pyNeighborhood - Network name was "nameshare", then had to scan it, then had to click the auto-detected "home" and mount that.  Needs a shortcut for Add Machine button since that's the first thing you do.  Asked me for an unnecessary ip address.  Too many steps to mount (add, scan, mount, file manager).  Have to right-click to open in file manager.  The default preferences are annoying: changed mount folder to /home/user/whatever, smb enabled by default is clutter, changed file manager from "xterm -e mc" to "pcmanfm".  I didn't like their method for renaming the network display name.  The network tab contents and display are uglier to read than gigolo.

None gave me useful clues when I was typing things in wrong.

Last edit: Forgot to mention using standard 32-bit #!, not lite.

Last edited by jobester (2009-09-20 15:09:03)

Re: [Lite] Out of the box samba networking

Another way:

pcmanfm-fuse

works fine (on arch) but you have to uninstall pcmanfm to install pcmanfm-fuse

Last edited by klanger (2009-09-22 14:26:24)

Re: [Lite] Out of the box samba networking

klanger wrote:

Another way:

pcmanfm-fuse

works fine (on arch) but you have to uninstall pcmanfm to install pcmanfm-fuse

LINK

My artwork at deviantART   |    My Tweet   | My upcoming web page
Nulla dies sine GIMP!
ASUS Eee PC 1000 HE | 2GB | 120GB OCZ Vertex 2 SSD | #! Statler

Re: [Lite] Out of the box samba networking

Zwopper wrote:
klanger wrote:

Another way:

pcmanfm-fuse

works fine (on arch) but you have to uninstall pcmanfm to install pcmanfm-fuse

LINK

Tried this on #! (uninstall pcmanfm via synaptic, then installing the experimental "PCManFM 0.4.4.0 - FUSE branch" , but no luck: Pcmanfm "seees" the remote pc's, but trying to open results in an instant crash. Furtheron the install seems to have kicked xarchiver off of the disk. After reinstalling xarchiver via Synaptic, when doubleclicking an archive, nothing happens. Choosing "open with",  the dialogue pops up, but with the "set default application"-option missing.

Tried the "KahelOS" -Arch flavour today and was impressed by nautilus' network-integration (otherwise that gnome-arch is just lame...).  Had not tried nautilus before, so the idea of "pcmanfm-fuse" made me curious...

Nautils let me even browse the subfolders of our office-backup-network-drive (Storage-B438 in that screenie above), while my "fusermount / smbnetfs -thingy" just recognizes that "root"-folder, but don't let me browse those subfolders - which works fine on all other "workgroup"-pc's.

Re: [Lite] Out of the box samba networking

-> Kuno

sorry, but it really works on arch (with my network).

Re: [Lite] Out of the box samba networking

klanger wrote:

-> Kuno

sorry, but it really works on arch (with my network).

Hi klanger!

I'll try again later this day on my office pc. Maybe i'm a bit more lucky there... wink

EDIT: No Luck. Installed from source (had to install some 10 missing depencies while running "./configure"...). When installed, clicking the Network Neighbourhood led to a crash again.
Found that "Fusesmb" was missing, so installed that too. Now when clicking the Network Neighbourhood, i can browse our office (windows-) network exactly one time. Trying to go back one folder results in the message: "Folder does not exist!". Afterwards it's no go with browsing smb-shares. Even restarting pcmanfm doesn't help.

Negative side effects: After install, again xarchiver was gone. Connection to the mime-types seems lost: in the main window there's only 2 different icons left ( the exec-diamond and something which look likea text-file-icon). On doublecklicking files, nothing happens.  Setting default-options for applications via right-click-menu is not possible, because the dialougue simply does not exist anymore.

Might be, i could resolve some of those things, but i think i'll better go back to my"fusermount/snbnetfs"-thingy...

EDIT 2: Concerning the missing xarchiver...  Only after reverting back to my default setup, i realized the default archiver is file-roller and xarchiver was not installed at all before installing pcmanfm-fuse.  So missing xarchiver was not a buggy install-problem, but my own dumbness. roll Rest of the bugs i can confirm...

EDIT 3

anonymous wrote:

Any Thunar users care to test the thunar-shares-plugin:

https://launchpad.net/~danielmorales/+archive/ppa

BTW I do use Thunar, but I don't have a network to test on.

Also tried that and installed that plugin, but thunar doesn´ t even show up with some kind of network-mountpoint. roll

Last edited by Kuno (2009-09-23 20:56:35)

Re: [Lite] Out of the box samba networking

Kuno wrote:
klanger wrote:

-> Kuno

sorry, but it really works on arch (with my network).

Hi klanger!

I'll try again later this day on my office pc. Maybe i'm a bit more lucky there... wink

EDIT: No Luck. Installed from source (had to install some 10 missing depencies while running "./configure"...). When installed, clicking the Network Neighbourhood led to a crash again.
Found that "Fusesmb" was missing, so installed that too. Now when clicking the Network Neighbourhood, i can browse our office (windows-) network exactly one time. Trying to go back one folder results in the message: "Folder does not exist!". Afterwards it's no go with browsing smb-shares. Even restarting pcmanfm doesn't help.

Negative side effects: After install, again xarchiver was gone. Connection to the mime-types seems lost: in the main window there's only 2 different icons left ( the exec-diamond and something which look likea text-file-icon). On doublecklicking files, nothing happens.  Setting default-options for applications via right-click-menu is not possible, because the dialougue simply does not exist anymore.

Might be, i could resolve some of those things, but i think i'll better go back to my"fusermount/snbnetfs"-thingy...

EDIT 2: Concerning the missing xarchiver...  Only after reverting back to my default setup, i realized the default archiver is file-roller and xarchiver was not installed at all before installing pcmanfm-fuse.  So missing xarchiver was not a buggy install-problem, but my own dumbness. roll Rest of the bugs i can confirm...

EDIT 3

anonymous wrote:

Any Thunar users care to test the thunar-shares-plugin:

https://launchpad.net/~danielmorales/+archive/ppa

BTW I do use Thunar, but I don't have a network to test on.

Also tried that and installed that plugin, but thunar doesn´ t even show up with some kind of network-mountpoint. roll


After installing gvfs-fuse and fuse-utils, you need to add your user to the fuse group in order to access the directories:

sudo gpasswd -a USERNAME fuse

Follow these links (for chrunchbang I guess you need to set the correct file manager instead of Thunar as explained in the second link):

http://www.uvena.de/gigolo/help.html

http://www.uvena.de/gigolo/help.html#op … -4-and-4-6