Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-21-2010, 01:07 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2010
Posts: 5
Rep:
|
Problem connecting to NAS using Linpus Lite Distribution
Hi there,
I'm currently using the Linux Linus Lite distribution on my Acer Aspire One netbook.
Unfortunately, I'm suffering a problem connecting to a network attached storage drive that is wired to my LAN. I have no problem connecting to this particular device through Windows terminals and the device itself works perfectly. The particular drive in question is a Freecom FSG-3.
However, as the file manager in Linpus Lite does not appear to support local networking as a native function, I have tried (unsuccessfully) various methods to overcome this issue.
In particular, I have created a folder in the root directory called 'NetFolder.' Following this I right-clicked on this folder and picked the 'Open Terminal Here' option. I then typed the command line:
I. First attempt I tried: sudo mount -t cifs -o username=[MY USERNAME],password=[MY PASSWORD] //10.0.0.3/fsg NetFolder
II. Second attempt I tried: sudo mount -t cifs -o username=[MY USERNAME],password=[MY PASSWORD] //10.0.0.3 NetFolder
III. Third attempt I tried: sudo mount -t cifs -o //10.0.0.3/fsg NetFolder
IV. Fourth attempt I tried: sudo mount -t cifs -o //10.0.0.3 NetFolder
NB. The username and password I have listed are the credentials I use to access this NAS through my Windows explorer (it allows me to view all the files on the drive and does not give access to specific FTP user accounts). In addition, the 'fsg' following the '10.0.0.3' is the network name for this device (the way it appears is you look for the device on a network management utility).
After trying them all of the above combinations, the Terminal application has displayed a number of error messages and I cannot see the contents of the NAS (which I should do if the attempt to add this drive is successful).
For example, the error message I received after trying statement I. above was "mount error: can not change directory into mount target NetFolder."
Has anybody got any idea of what might be the problem?
Cheers
Last edited by bladerunner83; 04-21-2010 at 01:10 PM.
|
|
|
|
04-22-2010, 06:32 AM
|
#2
|
|
Moderator
Registered: Aug 2002
Posts: 10,684
|
Welcome to LinuxQuestions.
Try using the complete path and the current working directory (i.e. /netfolder) of the terminal window should not be the same one your trying to mount the NAS to.
sudo mount -t cifs -o username=[MY USERNAME],password=[MY PASSWORD] //10.0.0.3 /NetFolder (be sure to use the actual path)
Last edited by michaelk; 04-22-2010 at 06:36 AM.
|
|
|
|
04-23-2010, 05:55 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2010
Posts: 5
Original Poster
Rep:
|
Cheers for your help michaelk.
I've tried the suggestion you made concerning using the complete path. However, the Lipus Lite file manager still doesn't allow the NAS files to be viewed in the folder 'NerFolder.'
I wonder what is causing the problem?
|
|
|
|
04-23-2010, 06:23 AM
|
#4
|
|
Moderator
Registered: Aug 2002
Posts: 10,684
|
Were you able to mount the share? If not what were the errors.
|
|
|
|
04-23-2010, 10:27 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2010
Posts: 5
Original Poster
Rep:
|
No luck mounting the drive as of yet.
I have tried the following command lines with no success (note: I've added an 'a ' before the //10.0.0.3):
sudo mount -t cifs -o username=[MY USERNAME],password=[MY PASSWORD] a //10.0.0.3/fsg
In both cases, I received the following error messages:
"Mounting the DFS root for domain not implemented yet
No ip address specified and hostname not found"
Last edited by bladerunner83; 04-23-2010 at 10:29 AM.
Reason: Made a mistake in the thread
|
|
|
|
04-23-2010, 03:12 PM
|
#6
|
|
Moderator
Registered: Aug 2002
Posts: 10,684
|
Post the output of the command
smbclient -L 10.0.0.3
|
|
|
|
05-02-2010, 06:36 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2010
Posts: 5
Original Poster
Rep:
|
Apologies about the tardy reply - I've had a very busy week and haven't had chance to review this as of yet.
After typing in the command you suggested (smbclient -L 10.0.0.3), I received the following message:
1. Password: [I can't type anything in here for some reason]
2. [after pressing return - with no password typed in, I get the following message]:
session setup failed: NT_STATUS_LOGON_FAILURE
3. I also tried the following command:
smbclient -L 10.0.0.3,username=[MY USERNAME],password=[MY PASSWORD]
This caused the following message:
"Connection to 10.0.0.3,username=[MY USERNAME],password=[MY PASSWORD] failed (Error NT_STATUS_BAD_NETWORK_NAME)"
Last edited by bladerunner83; 05-02-2010 at 07:01 AM.
Reason: Some text was wrapping onto next line
|
|
|
|
05-02-2010, 10:24 AM
|
#8
|
|
Moderator
Registered: Aug 2002
Posts: 10,684
|
Here are some other things you can try.
Just press the enter key when prompted for a password
findsmb
smbclient -L <netbios name>
The output of the findsmb will display the netbios name for the device.
|
|
|
|
05-02-2010, 12:51 PM
|
#9
|
|
LQ Newbie
Registered: Apr 2010
Posts: 5
Original Poster
Rep:
|
Cheers for the support.
The command findsmb displayed all the netbios names of the servers found on the LAN.
I then tried “smbclient -L <netbios name>” and received the following message:
Anonymous login successful
Domain=[MSHOME] OS=[Unix] Server=[Samba 2.2.12]
I also tried entering the netbios name into the commands I listed in my first post but the file browser would still not make a successful connection to the NAS.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:52 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|