Quantcast

file sharing on network

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

file sharing on network

William Frick
I now have 3 12.04 pcs' on my network and each will list the other network names when 'Browsing the Network' . When the macbook was OSX it could access shared shared folders and files with all the rights I enabled.

When in Linux however the browser reports 'Failed to retrieve share list from server'. This is consistent weather I try the named pc directly or through the 'Windows network' .  Samba installs as usual I think but if going linux to linux do I need Samba ?  Is there a server app I still need to install ?

Bill


--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: file sharing on network

gord campbell
Last week I got the "failed to retrieve share list" message for the
first time in years. I was too busy to try to figure it out.

The next day, file sharing worked perfectly. I made no changes. Both
computers had been powered down and back up in the interim.

And yes, you need Samba or NFS, and Samba is the default. I think I have
read that NFS is more difficult to set up, and generally provides higher
performance.

(I test a new version or distro about once a month, and always test
setting up a shared folder, and sharing a folder from another computer.
I never edit a configuration file or use the Terminal, and it always
just works. Except for one time last week....)



> Date: Sat, 11 Aug 2012 18:26:55 -0700 (PDT)
> From: William Frick <[hidden email]>
> To: The List <[hidden email]>
> Subject: file sharing on network
> Message-ID:
> <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I now have 3 12.04 pcs' on my network and each will list the other network names when 'Browsing the Network' . When the macbook was OSX it could access shared shared folders and files with all the rights I enabled.
>
>
> When in Linux however the browser reports 'Failed to retrieve share list from server'. This is consistent weather I try the named pc directly or through the 'Windows network' .? Samba installs as usual I think but if going linux to linux do I need Samba ?? Is there a server app I still need to install ?
>
> Bill
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20120811/13f08c45/attachment-0001.html>
>
> ------------------------------
>



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: file sharing on network

Che Guebeara
Here is my tried and true method for connecting an Ubuntu box to the
Windows network - just used it again last night on a new 12.04
installation:

1. On Ubuntu box install samba (sudo apt-get install samba)

2. From the terminal edit nsswitch.conf as root (sudo
gedit /etc/nsswitch.conf) as follows:
a. hosts: file wins dns

3. Now edit smb.conf (sudo gedit /etc/samba/smb.conf) as follows:
a. workgroup = [YOUR WORKGROUP]
b. netbios name = [THE NAME OF YOUR UBUNTU PC / LAPTOP]
c. name resolve order = lmhosts winds bcast host
d. wins support = yes

4. Reboot. You can use a samba restart but I find things work a lot
better with a full reboot.

5. Open Nautilus or the Samba configuration utility and set up your
shares. I find most of the explanations on the net too wordy and
detailed and usually one step out of place will fubar the whole thing
and you have to start all over.

Hope this helps out.
Mark





       
On Sun, 2012-08-12 at 09:51 -0400, gord campbell wrote:

> Last week I got the "failed to retrieve share list" message for the
> first time in years. I was too busy to try to figure it out.
>
> The next day, file sharing worked perfectly. I made no changes. Both
> computers had been powered down and back up in the interim.
>
> And yes, you need Samba or NFS, and Samba is the default. I think I have
> read that NFS is more difficult to set up, and generally provides higher
> performance.
>
> (I test a new version or distro about once a month, and always test
> setting up a shared folder, and sharing a folder from another computer.
> I never edit a configuration file or use the Terminal, and it always
> just works. Except for one time last week....)
>
>
>
> > Date: Sat, 11 Aug 2012 18:26:55 -0700 (PDT)
> > From: William Frick <[hidden email]>
> > To: The List <[hidden email]>
> > Subject: file sharing on network
> > Message-ID:
> > <[hidden email]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > I now have 3 12.04 pcs' on my network and each will list the other network names when 'Browsing the Network' . When the macbook was OSX it could access shared shared folders and files with all the rights I enabled.
> >
> >
> > When in Linux however the browser reports 'Failed to retrieve share list from server'. This is consistent weather I try the named pc directly or through the 'Windows network' .? Samba installs as usual I think but if going linux to linux do I need Samba ?? Is there a server app I still need to install ?
> >
> > Bill
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20120811/13f08c45/attachment-0001.html>
> >
> > ------------------------------
> >
>
>
>



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: file sharing on network

William Frick
Thanks Mark, I will try that. In checking the software centre I've seen 2 apps for administering samba but your direction seems simpler. I was puzzled that OSX would see shared files and folders without trouble yet 12.04 wouldn't !

It seems that some windows features are default standards, where I had hoped there was a simple, native linux/unix way to do this !

Bill



From: Che <[hidden email]>
To: The Canadian Ubuntu Users Community <[hidden email]>
Sent: Sunday, August 12, 2012 11:05:31 AM
Subject: Re: file sharing on network

Here is my tried and true method for connecting an Ubuntu box to the
Windows network - just used it again last night on a new 12.04
installation:

1. On Ubuntu box install samba (sudo apt-get install samba)

2. From the terminal edit nsswitch.conf as root (sudo
gedit /etc/nsswitch.conf) as follows:
a. hosts: file wins dns

3. Now edit smb.conf (sudo gedit /etc/samba/smb.conf) as follows:
a. workgroup = [YOUR WORKGROUP]
b. netbios name = [THE NAME OF YOUR UBUNTU PC / LAPTOP]
c. name resolve order = lmhosts winds bcast host
d. wins support = yes

4. Reboot. You can use a samba restart but I find things work a lot
better with a full reboot.

5. Open Nautilus or the Samba configuration utility and set up your
shares. I find most of the explanations on the net too wordy and
detailed and usually one step out of place will fubar the whole thing
and you have to start all over.

Hope this helps out.
Mark





   
On Sun, 2012-08-12 at 09:51 -0400, gord campbell wrote:

> Last week I got the "failed to retrieve share list" message for the
> first time in years. I was too busy to try to figure it out.
>
> The next day, file sharing worked perfectly. I made no changes. Both
> computers had been powered down and back up in the interim.
>
> And yes, you need Samba or NFS, and Samba is the default. I think I have
> read that NFS is more difficult to set up, and generally provides higher
> performance.
>
> (I test a new version or distro about once a month, and always test
> setting up a shared folder, and sharing a folder from another computer.
> I never edit a configuration file or use the Terminal, and it always
> just works. Except for one time last week....)
>
>
>
> > Date: Sat, 11 Aug 2012 18:26:55 -0700 (PDT)
> > From: William Frick <[hidden email]>
> > To: The List <[hidden email]>
> > Subject: file sharing on network
> > Message-ID:
> >     <[hidden email]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > I now have 3 12.04 pcs' on my network and each will list the other network names when 'Browsing the Network' . When the macbook was OSX it could access shared shared folders and files with all the rights I enabled.
> >
> >
> > When in Linux however the browser reports 'Failed to retrieve share list from server'. This is consistent weather I try the named pc directly or through the 'Windows network' .? Samba installs as usual I think but if going linux to linux do I need Samba ?? Is there a server app I still need to install ?
> >
> > Bill
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20120811/13f08c45/attachment-0001.html>
> >
> > ------------------------------
> >
>
>
>



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: file sharing on network

Che Guebeara
Hi Bill,

The difference between Linux and Windoze is the security inherent in
Linux and not in Windows.

One app I would recommend installing is TigerVNC (available from
Sourceforge I believe). I use it for remote desktop viewing on my local
network, such that I can control the different PC's spread out in the
office from a single installation (usually my laptop so I can move
about). Getting TigerVNC up and running is a snap after you are able to
resolve the hostnames on Windows and Linux.

Mark


On Sun, 2012-08-12 at 08:38 -0700, William Frick wrote:

> Thanks Mark, I will try that. In checking the software centre I've
> seen 2 apps for administering samba but your direction seems simpler.
> I was puzzled that OSX would see shared files and folders without
> trouble yet 12.04 wouldn't !
>
>
>
> It seems that some windows features are default standards, where I had
> hoped there was a simple, native linux/unix way to do this !
>
>
>
> Bill
>
>
>
>
>
> ______________________________________________________________________
> From: Che <[hidden email]>
> To: The Canadian Ubuntu Users Community <[hidden email]>
> Sent: Sunday, August 12, 2012 11:05:31 AM
> Subject: Re: file sharing on network
>
>
> Here is my tried and true method for connecting an Ubuntu box to the
> Windows network - just used it again last night on a new 12.04
> installation:
>
> 1. On Ubuntu box install samba (sudo apt-get install samba)
>
> 2. From the terminal edit nsswitch.conf as root (sudo
> gedit /etc/nsswitch.conf) as follows:
> a. hosts: file wins dns
>
> 3. Now edit smb.conf (sudo gedit /etc/samba/smb.conf) as follows:
> a. workgroup = [YOUR WORKGROUP]
> b. netbios name = [THE NAME OF YOUR UBUNTU PC / LAPTOP]
> c. name resolve order = lmhosts winds bcast host
> d. wins support = yes
>
> 4. Reboot. You can use a samba restart but I find things work a lot
> better with a full reboot.
>
> 5. Open Nautilus or the Samba configuration utility and set up your
> shares. I find most of the explanations on the net too wordy and
> detailed and usually one step out of place will fubar the whole thing
> and you have to start all over.
>
> Hope this helps out.
> Mark
>
>
>
>
>
>    
> On Sun, 2012-08-12 at 09:51 -0400, gord campbell wrote:
> > Last week I got the "failed to retrieve share list" message for the
> > first time in years. I was too busy to try to figure it out.
> >
> > The next day, file sharing worked perfectly. I made no changes. Both
> > computers had been powered down and back up in the interim.
> >
> > And yes, you need Samba or NFS, and Samba is the default. I think I
> have
> > read that NFS is more difficult to set up, and generally provides
> higher
> > performance.
> >
> > (I test a new version or distro about once a month, and always test
> > setting up a shared folder, and sharing a folder from another
> computer.
> > I never edit a configuration file or use the Terminal, and it always
> > just works. Except for one time last week....)
> >
> >
> >
> > > Date: Sat, 11 Aug 2012 18:26:55 -0700 (PDT)
> > > From: William Frick <[hidden email]>
> > > To: The List <[hidden email]>
> > > Subject: file sharing on network
> > > Message-ID:
> > >     <[hidden email]>
> > > Content-Type: text/plain; charset="iso-8859-1"
> > >
> > > I now have 3 12.04 pcs' on my network and each will list the other
> network names when 'Browsing the Network' . When the macbook was OSX
> it could access shared shared folders and files with all the rights I
> enabled.
> > >
> > >
> > > When in Linux however the browser reports 'Failed to retrieve
> share list from server'. This is consistent weather I try the named pc
> directly or through the 'Windows network' .? Samba installs as usual I
> think but if going linux to linux do I need Samba ?? Is there a server
> app I still need to install ?
> > >
> > > Bill
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > > URL:
> <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20120811/13f08c45/attachment-0001.html>
> > >
> > > ------------------------------
> > >
> >
> >
> >
>
>
>
> --
> ubuntu-ca mailing list
> [hidden email]
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>
>
>



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: file sharing on network

William Frick
In reply to this post by Che Guebeara
Hi Mark,

Attempting your suggestion and I get the following:

bill@MacBook:~$ sudo gedit/etc/nsswitch.conf
sudo: gedit/etc/nsswitch.conf: command not found
bill@MacBook:~$

gedit is installed, runs from within Nautilus but Read Only on the file.  Navigating within the terminal window is not the old DOS commands I remember,

help !

Bill


From: Che <[hidden email]>
To: The Canadian Ubuntu Users Community <[hidden email]>
Sent: Sunday, August 12, 2012 11:05:31 AM
Subject: Re: file sharing on network

Here is my tried and true method for connecting an Ubuntu box to the
Windows network - just used it again last night on a new 12.04
installation:

1. On Ubuntu box install samba (sudo apt-get install samba)

2. From the terminal edit nsswitch.conf as root (sudo
gedit /etc/nsswitch.conf) as follows:
a. hosts: file wins dns

3. Now edit smb.conf (sudo gedit /etc/samba/smb.conf) as follows:
a. workgroup = [YOUR WORKGROUP]
b. netbios name = [THE NAME OF YOUR UBUNTU PC / LAPTOP]
c. name resolve order = lmhosts winds bcast host
d. wins support = yes

4. Reboot. You can use a samba restart but I find things work a lot
better with a full reboot.

5. Open Nautilus or the Samba configuration utility and set up your
shares. I find most of the explanations on the net too wordy and
detailed and usually one step out of place will fubar the whole thing
and you have to start all over.

Hope this helps out.
Mark





   
On Sun, 2012-08-12 at 09:51 -0400, gord campbell wrote:

> Last week I got the "failed to retrieve share list" message for the
> first time in years. I was too busy to try to figure it out.
>
> The next day, file sharing worked perfectly. I made no changes. Both
> computers had been powered down and back up in the interim.
>
> And yes, you need Samba or NFS, and Samba is the default. I think I have
> read that NFS is more difficult to set up, and generally provides higher
> performance.
>
> (I test a new version or distro about once a month, and always test
> setting up a shared folder, and sharing a folder from another computer.
> I never edit a configuration file or use the Terminal, and it always
> just works. Except for one time last week....)
>
>
>
> > Date: Sat, 11 Aug 2012 18:26:55 -0700 (PDT)
> > From: William Frick <[hidden email]>
> > To: The List <[hidden email]>
> > Subject: file sharing on network
> > Message-ID:
> >     <[hidden email]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > I now have 3 12.04 pcs' on my network and each will list the other network names when 'Browsing the Network' . When the macbook was OSX it could access shared shared folders and files with all the rights I enabled.
> >
> >
> > When in Linux however the browser reports 'Failed to retrieve share list from server'. This is consistent weather I try the named pc directly or through the 'Windows network' .? Samba installs as usual I think but if going linux to linux do I need Samba ?? Is there a server app I still need to install ?
> >
> > Bill
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20120811/13f08c45/attachment-0001.html>
> >
> > ------------------------------
> >
>
>
>



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: file sharing on network

Che Guebeara
Hi Bill,

There is a space after gedit...

sudo gedit /etc/nsswitch.conf


Mark


On Sun, 2012-08-12 at 18:29 -0700, William Frick wrote:

> Hi Mark,
>
>
> Attempting your suggestion and I get the following:
>
>
> bill@MacBook:~$ sudo gedit/etc/nsswitch.conf
> sudo: gedit/etc/nsswitch.conf: command not found
> bill@MacBook:~$
>
>
>
> gedit is installed, runs from within Nautilus but Read Only on the
> file.  Navigating within the terminal window is not the old DOS
> commands I remember,
>
>
> help !
>
>
> Bill
>
>
>
>
> ______________________________________________________________________
> From: Che <[hidden email]>
> To: The Canadian Ubuntu Users Community <[hidden email]>
> Sent: Sunday, August 12, 2012 11:05:31 AM
> Subject: Re: file sharing on network
>
>
> Here is my tried and true method for connecting an Ubuntu box to the
> Windows network - just used it again last night on a new 12.04
> installation:
>
> 1. On Ubuntu box install samba (sudo apt-get install samba)
>
> 2. From the terminal edit nsswitch.conf as root (sudo
> gedit /etc/nsswitch.conf) as follows:
> a. hosts: file wins dns
>
> 3. Now edit smb.conf (sudo gedit /etc/samba/smb.conf) as follows:
> a. workgroup = [YOUR WORKGROUP]
> b. netbios name = [THE NAME OF YOUR UBUNTU PC / LAPTOP]
> c. name resolve order = lmhosts winds bcast host
> d. wins support = yes
>
> 4. Reboot. You can use a samba restart but I find things work a lot
> better with a full reboot.
>
> 5. Open Nautilus or the Samba configuration utility and set up your
> shares. I find most of the explanations on the net too wordy and
> detailed and usually one step out of place will fubar the whole thing
> and you have to start all over.
>
> Hope this helps out.
> Mark
>
>
>
>
>
>    
> On Sun, 2012-08-12 at 09:51 -0400, gord campbell wrote:
> > Last week I got the "failed to retrieve share list" message for the
> > first time in years. I was too busy to try to figure it out.
> >
> > The next day, file sharing worked perfectly. I made no changes. Both
> > computers had been powered down and back up in the interim.
> >
> > And yes, you need Samba or NFS, and Samba is the default. I think I
> have
> > read that NFS is more difficult to set up, and generally provides
> higher
> > performance.
> >
> > (I test a new version or distro about once a month, and always test
> > setting up a shared folder, and sharing a folder from another
> computer.
> > I never edit a configuration file or use the Terminal, and it always
> > just works. Except for one time last week....)
> >
> >
> >
> > > Date: Sat, 11 Aug 2012 18:26:55 -0700 (PDT)
> > > From: William Frick <[hidden email]>
> > > To: The List <[hidden email]>
> > > Subject: file sharing on network
> > > Message-ID:
> > >     <[hidden email]>
> > > Content-Type: text/plain; charset="iso-8859-1"
> > >
> > > I now have 3 12.04 pcs' on my network and each will list the other
> network names when 'Browsing the Network' . When the macbook was OSX
> it could access shared shared folders and files with all the rights I
> enabled.
> > >
> > >
> > > When in Linux however the browser reports 'Failed to retrieve
> share list from server'. This is consistent weather I try the named pc
> directly or through the 'Windows network' .? Samba installs as usual I
> think but if going linux to linux do I need Samba ?? Is there a server
> app I still need to install ?
> > >
> > > Bill
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > > URL:
> <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20120811/13f08c45/attachment-0001.html>
> > >
> > > ------------------------------
> > >
> >
> >
> >
>
>
>
> --
> ubuntu-ca mailing list
> [hidden email]
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>
>
>



--
ubuntu-ca mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
Loading...