LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2017, 12:54 PM   #1
diode84
Member
 
Registered: Jul 2017
Posts: 53

Rep: Reputation: Disabled
Do I need to map a network drive in linux


Hello All on Forum
I am running frugal installed puppy tahr 605 on a dell vostro 1320, 2.2ghz,2gb ram. I am trying to play files from my humax foxsat hdr with yassm and vlc. I can see files on humax but I keep getting error message in vlc- permission denied.
Funny thing is xp will play all video files through network places and vlc without problem. I did have problems getting xp to work but it is ages ago and I dont remember how but may remember mapping a drive.
Has anyone any ideas.
Thanks
diode84
 
Old 07-05-2017, 03:14 PM   #2
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 170

Rep: Reputation: 20
Since you mention that it works under XP I can only assume that your Humax is exporting using the CIFS filesystem. Hence you need to mount it on your Linux box. Running something like this as root should do the trick:
Code:
mount -t cifs -o rw,username=<your username>,workgroup=<your windows domain> //<IP of Humax>/<share> /mnt
That'll prompt your for your password of the account on the Humax box. Type it in and your files should be accessible under /mnt.
 
Old 07-05-2017, 03:33 PM   #3
diode84
Member
 
Registered: Jul 2017
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lpwevers View Post
Since you mention that it works under XP I can only assume that your Humax is exporting using the CIFS filesystem. Hence you need to mount it on your Linux box. Running something like this as root should do the trick:
Code:
mount -t cifs -o rw,username=<your username>,workgroup=<your windows domain> //<IP of Humax>/<share> /mnt
That'll prompt your for your password of the account on the Humax box. Type it in and your files should be accessible under /mnt.
Hello
When I enter that in terminal I get;
bash: your: No such file or directory
Am I meant to modify your command. I am pretty poor at terminal commands.
Any ideas.
 
Old 07-05-2017, 03:39 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
http://puppylinux.org/wikka/Pnethood

Think it should work still.
 
Old 07-05-2017, 04:59 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
There are a few different Players for Puppy.

http://puppylinux.org/wikka/SoftwareMultimedia
 
Old 07-05-2017, 05:01 PM   #6
jviray2011
LQ Newbie
 
Registered: Jul 2017
Distribution: Kali, Ubuntu, CentOS
Posts: 8

Rep: Reputation: Disabled
do not forget to unmap once you no longer using while browsing on internet...
 
Old 07-06-2017, 09:35 AM   #7
Shiori-kun
LQ Newbie
 
Registered: Mar 2010
Posts: 16

Rep: Reputation: 3
To mount a cifs mount you need to have a samba client package. You also need to make sure that you set your client to login to your humax with a user that has full owner/group permissions.
Once that is done, simply follow the above mounting instructions and then give the vlc group access to where ever you decide to mount to. This is key, so dont skip it.
 
Old 07-06-2017, 11:23 AM   #8
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,885

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally Posted by diode84 View Post
Hello
When I enter that in terminal I get;
bash: your: No such file or directory
Am I meant to modify your command. I am pretty poor at terminal commands.
Any ideas.
Surely you should replace <your username> etc with your user name...

Last edited by JeremyBoden; 07-06-2017 at 11:24 AM.
 
Old 07-07-2017, 10:10 AM   #9
diode84
Member
 
Registered: Jul 2017
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Surely you should replace <your username> etc with your user name...
Thats the problem I dont know the username for the box. The workgroup is just that, workgroup and I know the ip of the humax

mount -t cifs -o rw,username=<your username>,workgroup=<your windows domain> //<IP of Humax>/<share> /mnt
 
Old 07-07-2017, 12:53 PM   #10
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,885

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
If you don't know your user name and password to sign on to Linux, you won't be able to do anything.
There are various commands which would provide this information - if you were signed on.

You should have been prompted for these during the installation.

BTW It seems unlikely that you need a cut-down Linux like Puppy for a 2GB RAM PC.
Of course, it may be a question of personal preference.
 
Old 07-07-2017, 01:40 PM   #11
diode84
Member
 
Registered: Jul 2017
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
If you don't know your user name and password to sign on to Linux, you won't be able to do anything.
There are various commands which would provide this information - if you were signed on.

You should have been prompted for these during the installation.

BTW It seems unlikely that you need a cut-down Linux like Puppy for a 2GB RAM PC.
Of course, it may be a question of personal preference.
Its not the user name and password to sign in to puppy I need, its to sign in to the recordings on my humax foxsat freesat box.
XP will play all recordings on the box with vlc but I cant get any linux that have tried that will.
I did try linux mint but only from the live cd.
 
Old 07-07-2017, 03:43 PM   #12
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,381
Blog Entries: 8

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Quote:
Originally Posted by diode84 View Post
Hello All on Forum
I am running frugal installed puppy tahr 605 on a dell vostro 1320, 2.2ghz,2gb ram. I am trying to play files from my humax foxsat hdr with yassm and vlc. I can see files on humax but I keep getting error message in vlc- permission denied.
Funny thing is xp will play all video files through network places and vlc without problem. I did have problems getting xp to work but it is ages ago and I dont remember how but may remember mapping a drive.
Has anyone any ideas.
Thanks
diode84
I'm not familiar enough with Puppy to help with that, but your specs are good enough for full blown installs of Debian where it may be easier to get things working and do commonplace tasks such as this (with a GUI interface). 1GB of RAM is pretty comfortable for Debian with XFCE4 desktop environment. I'd recommend installing onto an 8GB partition, but 6GB will work.

That way, you can just open the file manager and browse the network, in a way that's somewhat similar to Windows.

If you have an 8+GB spare USB thumbdrive, you can try doing a Debian install onto that (as per a normal hard drive install - the Debian installer doesn't care), to see how you like it. Bearing in mind that running off a USB drive will be sluggish compared to a normal hard drive install...it's just to try it out.
 
1 members found this post helpful.
Old 07-10-2017, 07:46 AM   #13
irneb
Member
 
Registered: Apr 2010
Location: Jo'burg SA
Distribution: Kubuntu, Lubuntu, Fedora, FreeBSD
Posts: 200

Rep: Reputation: 65
Quote:
Originally Posted by diode84 View Post
Its not the user name and password to sign in to puppy I need, its to sign in to the recordings on my humax foxsat freesat box.
XP will play all recordings on the box with vlc but I cant get any linux that have tried that will.
I did try linux mint but only from the live cd.
You can't "fix" that from Linux. You need your login details else no sharing is going to work for you.

If your WinXP still logs in fine, it means it's saved the username/password to connect to that samba share. This you "can" extract, Windows doesn't encrypt this data (at least not so it's "difficult" to get back). E.g. you could use something like this: http://www.nirsoft.net/utils/network..._recovery.html

That should show you the saved UN/PW of that particular connection. From there you should then be able to use the same as your login credentials in Linux.

Note, most Linuxes only save this sort of data into an encrypted store (not sure about Puppy) but nearly all that I've tried tend to use something similar to a "Wallet" where your master password unlocks the store so it can use those saved passwords. If you don't like this idea, then you could mount the connection as per lpwevers' suggestion - note it's possible to add even the password into that command-line (lookup the mount command's help for this). However, I'd likely suggest you rather then edit your fstab file to include this mount each time the machine boots up - much better and more secure than to add some script calling the mount command.

You might like to see how someone else did this: https://askubuntu.com/questions/1571...-share-on-boot ... though that's on Ubuntu, the commands / settings shouldn't be that much different in Puppy.

Last edited by irneb; 07-10-2017 at 07:54 AM.
 
  


Reply


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
map linux network drive (partition) accessible by windows... The Mishanator Linux - Networking 7 11-27-2009 01:29 PM
Map Network drive newhm Linux - General 5 11-30-2007 09:55 PM
Linux map network drive across internet Linux6574 Linux - Networking 6 04-12-2004 11:01 PM
map network drive indy317 Linux - Networking 2 09-04-2003 04:07 PM
How do I map a network drive? MeatClown Linux - Distributions 2 08-10-2003 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 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