LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 09-27-2019, 04:16 PM   #1
kozack
LQ Newbie
 
Registered: Sep 2019
Posts: 2

Rep: Reputation: Disabled
In Pi.3b with Raspbian (Jessie) I want to mount a USB that is attached to a HomeHub 3000 Router


When i enter the following.
mount -t cifs //192.168.2.1/mynetwork/PNY32GBA

This is the error Msg.
mount: can't find //192.168.2.1/mynetwork/PNY32GBA in /etc/fstab

I tried to create /etc/fstab But with no success.

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 raspberrypi-WW

I added the following and saved the file.
192.168.2.1 //mynetwork/PNY32GBA

No error Msg. but cannot see the file in the Directory Listing.

Do not know what it is, that I am missing / doing wrong.

Thanks for your time.
 
Old 09-27-2019, 04:54 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,025
Blog Entries: 6

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
Quote:
When i enter the following.
mount -t cifs //192.168.2.1/mynetwork/PNY32GBA
You did not mount it to somewhere.
Code:
mount <dir> <mounting point>
Code:
mount -t cifs -o username=frank //192.168.2.1/mynetwork/PNY32GBA /mnt/somewhere
https://askubuntu.com/questions/1010...t-a-cifs-share
https://wiki.archlinux.org/index.php/samba
 
1 members found this post helpful.
Old 09-27-2019, 06:05 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by kozack View Post
I tried to create /etc/fstab But with no success.

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 raspberrypi-WW

I added the following and saved the file.
192.168.2.1 //mynetwork/PNY32GBA
This looks like /etc/hosts, not /etc/fstab. I suggest you invest some time in studying how to mount a filesystem automatically or manually. Suggestions: https://www.raspberrypi.org/document...nal-storage.md or https://thepihut.com/blogs/raspberry...e-raspberry-pi.
Quote:
No error Msg. but cannot see the file in the Directory Listing.
Which file? How do you attempt to list it?

Last edited by berndbausch; 09-27-2019 at 06:10 PM.
 
1 members found this post helpful.
Old 09-28-2019, 02:09 PM   #4
kozack
LQ Newbie
 
Registered: Sep 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank You for your Help

Oops, me bad. I messed up and mixed the etc/hosts and etc/fstab .
I will study the info in your links.
Thank You.
 
  


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
LXer: Raspbian GNU/Linux upgrade from Stretch to Raspbian Buster 10 LXer Syndicated Linux News 0 07-26-2019 07:12 PM
LXer: Raspbian GNU/Linux upgrade from Jessie to Raspbian Stretch 9 LXer Syndicated Linux News 0 03-01-2018 08:50 PM
LXer: Raspbian GNU/Linux upgrade from Wheezy to Raspbian Jessie 8 LXer Syndicated Linux News 1 06-09-2016 01:12 PM
[SOLVED] No connection with Wireless BT Homehub tethysgods Linux - Newbie 20 10-21-2011 02:04 PM
Networking problems can find wireless router (BT HomeHub) but fails to connect-Fedora dan.bar Linux - Wireless Networking 1 06-29-2009 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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