FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-13-2011, 08:04 PM
tadziu
 
Default autodiscover of a samba share

hi,

recently friend of mine visited me with his macbook in my
home. i never used macos before to often, but i was amazed
that its default file manager discovered automatically my public
samba shares without mounting. they are just visible and

accessible with single click, just after connecting to my wireless

network.

honestly i'm jealous, BUT i'm pretty shure that it can be done
in debian aswell.

was looking for some solutions on internet, but i haven't found
anything satisfying.

any suggestions?


thanks in advance
/t
 
Old 09-14-2011, 11:08 AM
Camaleón
 
Default autodiscover of a samba share

On Tue, 13 Sep 2011 22:04:21 +0200, tadziu wrote:

> recently friend of mine visited me with his macbook in my home. i never
> used macos before to often, but i was amazed that its default file
> manager discovered automatically my public samba shares without
> mounting. they are just visible and accessible with single click, just
> after connecting to my wireless network.
>
> honestly i'm jealous, BUT i'm pretty shure that it can be done in debian
> aswell.
>
> was looking for some solutions on internet, but i haven't found anything
> satisfying.
>
> any suggestions?

:-)

That's what actually GNOME nautilus (and I think Konqueror/Dolphin also)
does when you connect to a windows network, it auto-discovers available
resources and you can then click on them without mounting the share in
the usual way but by means of "smb://" protocol.

Greetimgs,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.09.14.11.08.25@gmail.com">http://lists.debian.org/pan.2011.09.14.11.08.25@gmail.com
 
Old 09-14-2011, 01:39 PM
tadziu
 
Default autodiscover of a samba share

close, but not really.

gnome nautilus discovers networks but not shares
by which i mean particular public folders shared
through a certain network - accessible with a single
click from something that in gnome nautilus is

called shortcuts.

if you don't know what i mean here is a little article:
http://www.askbjoernhansen.com/2007/10/27/setup_samba_for_bonjour_networking_with_os_x_105_l .html


so far i've managed to configure avahi so it finds samba shares
through avahi-discovery. but i still do research how to gain
functionality of automounting them in nautilus shortcuts the way its
done after you double click particular samba share what i believe

is mounting a samba share.

cheers
/t


:-)



That's what actually GNOME nautilus (and I think Konqueror/Dolphin also)

does when you connect to a windows network, it auto-discovers available

resources and you can then click on them without mounting the share in

the usual way but by means of "smb://" protocol.



Greetimgs,
 
Old 09-14-2011, 01:52 PM
Camaleón
 
Default autodiscover of a samba share

On Wed, 14 Sep 2011 15:39:42 +0200, tadziu wrote:

> close, but not really.
>
> gnome nautilus discovers networks but not shares by which i mean
> particular public folders shared through a certain network - accessible
> with a single click from something that in gnome nautilus is called
> shortcuts.

That's the behaviour I get.

I first get a list of the available computers and when double-clicking
over each of them I reach the shared folders... and this has been so
since I recall :-?

> if you don't know what i mean here is a little article:
> http://www.askbjoernhansen.com/2007/10/27/
setup_samba_for_bonjour_networking_with_os_x_105_l .html

I don't get the point of the article. You can also get the samba shares
listed and ready to click on Nautilus, on the Desktop...

> so far i've managed to configure avahi so it finds samba shares through
> avahi-discovery. but i still do research how to gain functionality of
> automounting them in nautilus shortcuts the way its done after you
> double click particular samba share what i believe is mounting a samba
> share.

When using "smb://" you don't "mount" the shares, you "access" the
shares. And you can bookmark your network shares for an easy access, they
will appear listed in the left side panel.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.09.14.13.52.12@gmail.com">http://lists.debian.org/pan.2011.09.14.13.52.12@gmail.com
 
Old 09-14-2011, 07:56 PM
tadziu
 
Default autodiscover of a samba share

When using "smb://" you don't "mount" the shares, you "access" the


shares. And you can bookmark your network shares for an easy access, they

will appear listed in the left side panel.


yes i know, i've also experimented with adding shares to fstab through cifs,
and static ip number. and it was kinda successful but not exactly what
i want.

but that is not the point. probably misuderstanding

comes from by bad english.

i'll put it this way:

by default, process of browsing samba shares requires:

1. opening networks
2. choosing workgroup if more than one
3. choosing computer if more than one

4. opening desired folder

ofc you can make shortcuts to make thing easy.

problem with such method:

1. refreshing shares after reboot of 'server' machine
2. repetition of mentioned process every time new computer connects to network


and now my caprice:

1. every time i connect to a network (at friend's house or in my house with
occasional other's people computers) i can see listed all shared folders
in the left panel of nautilus without former creating shortcuts.

2. the list refreshes every time new machine connects or disconnects
3. ability to work with dynamic ip's not just static as with cifs (i can be wrong just
individual experience)

just as it works in macos leopard, and does not on any linux distro i've used.


it's just important for me because as a hobbyst musician i work with large files
which i transfer between different people and machines on diverse networks,
and copying those files with portable hdd is just onerous.


i hope i made things clear

all the best

/t

ps, sorry for the mixup with notion of mounting, but any time i open
public shared folder cairo dock notifies me that a particular folder was mounted.

on the other hand those folders can be unmounted in nautilus left panel with
a single click just as it's done with memory sticks. i don't get it...
 
Old 09-15-2011, 11:49 AM
Camaleón
 
Default autodiscover of a samba share

On Wed, 14 Sep 2011 21:56:19 +0200, tadziu wrote:

>> When using "smb://" you don't "mount" the shares, you "access" the
>> shares. And you can bookmark your network shares for an easy access,
>> they will appear listed in the left side panel.
>>
>> yes i know, i've also experimented with adding shares to fstab through
> cifs,
> and static ip number. and it was kinda successful but not exactly what i
> want.
>
> but that is not the point. probably misuderstanding comes from by bad
> english.
>
> i'll put it this way:
>
> by default, process of browsing samba shares requires:
>
> 1. opening networks

Well, that would depend. I have a shorcut in the desktop to the most used
shares ;-)

> 2. choosing workgroup if more than one
> 3. choosing computer if more than one
> 4. opening desired folder
>
> ofc you can make shortcuts to make thing easy.

Yup.

> problem with such method:
>
> 1. refreshing shares after reboot of 'server' machine

Why? :-?

> 2. repetition of mentioned process every time new computer connects to
network

Hum... I don't know why that should be needed at all. I don't "refresh"
any share, btw. If the server is "online" and available, the client can
connect and that's all. The shorcut is just a static pointer to the
share, it knows nothing about if it accessible or not.

> and now my caprice:
>
> 1. every time i connect to a network (at friend's house or in my house
> with occasional other's people computers) i can see listed all shared
> folders in the left panel of nautilus without former creating shortcuts.

That would be a very intensive task and should be at least disable by
deafult, which is the way it is now :-)

> 2. the list refreshes every time new machine connects or disconnects

Press "F5"? :-P

> 3. ability to work with dynamic ip's not just static as with cifs (i
> can be wrong just individual experience)

That's irrelevant for the client side point of view, you only need to
reach the share by its name if you already know the computer's name or
your system is able to run the query by means of a DNS server or Avahi.

> just as it works in macos leopard, and does not on any linux distro i've
> used.

I find it a quite similar approach.

Anyway, I would not like to open Nautilus and having all of the shares
available and visible on the lateral bar, that would be very annoying,
just imagine a network of a big company with thounsand of networked
devices... wow!

> it's just important for me because as a hobbyst musician i work with
> large files
> which i transfer between different people and machines on diverse
> networks, and copying those files with portable hdd is just onerous.
>
> i hope i made things clear

Yes, but I don't see many key differences between the two processes, just
one or two additional clicks :-?

> ps, sorry for the mixup with notion of mounting, but any time i open
> public shared folder cairo dock notifies me that a particular folder was
> mounted.

Don't trust what GUI based apps say, open a terminal and run "mount", if
the share is not listed there then it is not "mounted" :-)

> on the other hand those folders can be unmounted in nautilus left panel
> with
>
> a single click just as it's done with memory sticks. i don't get it...

Yes, but they are not the usual "mount points", just a kind of shorcuts.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.09.15.11.49.31@gmail.com">http://lists.debian.org/pan.2011.09.15.11.49.31@gmail.com
 
Old 09-15-2011, 01:35 PM
Camaleón
 
Default autodiscover of a samba share

El 2011-09-15 a las 14:28 +0200, tadziu escribió:

(resending to the list)

> > Yes, but I don't see many key differences between the two processes, just
> > one or two additional clicks :-?
> >
>
> i'll put it another way, i guess linux philosophy and open source
> is about giving the user possibility to customize and change the
> system to the way he want's it to be look, behave etc.

Yes, that is true but nowadays that premise has been almost forgotten
(just look around what the main DE -KDE and GNOME are doing).

> i know that some people don't agree with that (cannonical) but
> nontheles we can have a choice.

Sure, what still remains true is that you can always make your choice:
if you don't like how something is done you can jump to another one :-)

> i don't want to sound rude, but what you just did was telling me
> that i don't need functionality i'm looking for because it's
> inconvinient when working in large networks, and practically
> useless because i already have it with few more clicks.

No, don't take it in that way, that's not fair.

I was telling you just what's another linux user (me) point of view,
that is, what are my preferences and what I do to access to my windows
shares. Of course every one of us have a different thinking and like
doing things in different ways, that's normal. You like your system
behaves like a MacOS (in this regard), I don't, that's all.

> i'm sorry but that was not the answer for my question,
> but anyway thanks for your obviously good intensions.

Don't be upset, you can always ask for such functionality in GNOME's
bugzilla, who knows, maybe it's already done within the new gnome-shell :-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110915133512.GA7115@stt008.linux.site">http://lists.debian.org/20110915133512.GA7115@stt008.linux.site
 

Thread Tools




All times are GMT. The time now is 05:05 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org