LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-21-2010, 02:07 PM   #1
bladerunner83
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Rep: Reputation: 0
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 02:10 PM.
 
Old 04-22-2010, 07:32 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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 07:36 AM.
 
Old 04-23-2010, 06:55 AM   #3
bladerunner83
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 04-23-2010, 07:23 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Were you able to mount the share? If not what were the errors.
 
Old 04-23-2010, 11:27 AM   #5
bladerunner83
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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 11:29 AM. Reason: Made a mistake in the thread
 
Old 04-23-2010, 04:12 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Post the output of the command
smbclient -L 10.0.0.3
 
Old 05-02-2010, 07:36 AM   #7
bladerunner83
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
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 08:01 AM. Reason: Some text was wrapping onto next line
 
Old 05-02-2010, 11:24 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
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.
 
Old 05-02-2010, 01:51 PM   #9
bladerunner83
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Lightbulb

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.
 
  


Reply

Tags
linpus, lite, mounting, nas


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
Linpus lite problem maitrey Mandriva 1 06-12-2009 02:01 AM
linpus lite problem andythelandytmail.co.uk Linux - Laptop and Netbook 1 04-17-2009 02:25 PM
Linpus Lite and Linpus 9.6 pane sizes outside viewable screen area Dave Wakefield Linux - Software 0 04-02-2009 09:14 AM
Linpus lite grub/booting linpus to a terminal Only_he_stands_here Linux - Laptop and Netbook 1 11-15-2008 08:51 PM


All times are GMT -5. The time now is 03:12 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration