LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2014, 02:45 PM   #16
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,844

Rep: Reputation: 161Reputation: 161

lmhosts is the Samba NetBIOS name to IP address mapping file. It is very similar to the /etc/hosts file format, except that the hostname component must correspond to the NetBIOS naming format.
 
Old 06-01-2014, 06:17 AM   #17
paul1945
Member
 
Registered: Aug 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
lmhosts is the Samba NetBIOS name to IP address mapping file. It is very similar to the /etc/hosts file format, except that the hostname component must correspond to the NetBIOS naming format.
Thanks for that.
Does that mean there is an error or omission in some file that needs to be corrected?
Quote:
Trying cifs mount manually can help you isolate the issue. Make sure it is path name issue. Browsers always use name to connect.
Tried to mount the NAS (gwydion) with the following code:
Code:
sudo mount -t cifs -o guest //192.168.1.3/drive_c /home/paul/network
without luck (drive_c is the NAS root share); tried a few different permutations of this; again without luck.
Had a look at the cifs manual but found I did not understand a word of it.
Then tried:
Code:
sudo mount -t cifs -o guest //gwydion/drive_c /home/paul/network
And this worked straight away, but although I could copy files from the NAS to the Ubuntu machine, this was not possible the other way; which is also the case with the FTP connection I am currently using. Maybe some fiddling with the NAS shares may solve this, although for security reasons I do not want other users to be able to go root on the NAS from the Router.
Installed "Putty" the SSH Client, on the Ubuntu machine and found this to work fine as far as getting into the Debian root on the NAS is concerned.
I must say I am getting to learn a whole new range of functions, although I am still in the dark when it comes to understanding what is ailing the Samba connection on the Ubuntu machine. Paul.

Last edited by paul1945; 06-01-2014 at 06:21 AM.
 
  


Reply

Tags
samba mount permission


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to Samba Server over VPN on Windows Network trout256 Linux - Networking 12 11-05-2019 01:01 AM
How do I use Samba to connect to a Windows network with Fedora 8? Iltbreg Linux - Networking 2 12-04-2007 04:03 PM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 05:55 PM
How to connect to a Windows network using Samba ? wlaw Linux - Networking 3 09-05-2004 10:57 PM
connect to a nt network - samba for n00bs Loveless Linux - Networking 2 02-19-2002 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration