fstab partially working
fstab is partially working. The first line is working, but the second line isn't, it won't mount. It is a usb drive connected to my my router, the file system is ext2.
//192.168.
//192.168.
I'm running 18.04.
Any help would be greatly appreciated.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
For diagnostic purposes, what output do you receive if you try mounting manually, i.e. issue the command
sudo mount -t cifs -o credentials=
Revision history for this message
|
#2 |
What file system are the USB partitions using please, on the server side?
Revision history for this message
|
#3 |
I get this output.
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Thanks for your help.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, March 12, 2019 3:57 AM, Manfred Hampl <email address hidden> wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes, what output do you receive if you try mounting
> manually, i.e. issue the command
>
> sudo mount -t cifs -o
> credentials=
> //192.168.
>
> -------
>
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#4 |
The usb drive partition is ext2.
Thanks for your help.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, March 12, 2019 9:02 AM, actionparsnip <email address hidden> wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> actionparsnip requested more information:
> What file system are the USB partitions using please, on the server
> side?
>
> -------
>
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#5 |
Is the Ext2 partition mounted with the same options on the server side?
If you have OpenSSH server running on the server side, you can mount SSHFS and bypass all the CIFS stuff.
Revision history for this message
|
#6 |
I'm not sure. I'm still new to linux. Please explain with more detail.
I'm running the desktop 18.04 and my usb drive is connected through my
Asus RT-AC86U router.
On 3/12/19 11:22 AM, actionparsnip wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Is the Ext2 partition mounted with the same options on the server side?
>
> If you have OpenSSH server running on the server side, you can mount
> SSHFS and bypass all the CIFS stuff.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#7 |
If you run:
ssh 192.168.50.1
Do you get asked for a username and password?
Revision history for this message
|
#8 |
When I use ssh username@
log in. If I just use ssh 192.168.50.1, it ask me for a password, but it
doesn't give me permission to enter.
On 3/12/19 11:47 AM, actionparsnip wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> If you run:
>
> ssh 192.168.50.1
>
> Do you get asked for a username and password?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#9 |
Also I would like to point out that my usb drive is connected to my
primary router in a different room. My ubuntu desktop is on a computer
that is on a wireless bridge. The wireless bridge is where the other nas
drive is connected to and it boots up fine.
On 3/12/19 11:47 AM, actionparsnip wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> If you run:
>
> ssh 192.168.50.1
>
> Do you get asked for a username and password?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#10 |
What output do you receive for
sudo mount -t cifs //192.168.
Revision history for this message
|
#11 |
Here's the output.
domain=
Credential formatted incorrectly: (null)
domain=192.168.50.1
mount.cifs kernel mount options:
ip=192.
On 3/12/19 1:47 PM, Manfred Hampl wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What output do you receive for
>
> sudo mount -t cifs //192.168.
> credentials=
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#12 |
I made a change to my credentials file and got the following output:
Credential formatted incorrectly: (null)
mount.cifs kernel mount options:
ip=192.
The credentials file has the following lines:
username=bc64
password=xxxxxxxx
On 3/12/19 1:47 PM, Manfred Hampl wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What output do you receive for
>
> sudo mount -t cifs //192.168.
> credentials=
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#13 |
Do you have a carriage return on the end of the line with the password on or is the password line the last line? If it is, go to the end of the line and hit ENTER then save. It may help
Revision history for this message
|
#14 |
Did what you suggested and still got the following error when running
sudo mount -a:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I appreciate you reply
On 3/12/19 2:22 PM, actionparsnip wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Do you have a carriage return on the end of the line with the password
> on or is the password line the last line? If it is, go to the end of the
> line and hit ENTER then save. It may help
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#15 |
Is there an empty line between username and password in your credentials file?
Are there special characters in the password (like backslash, comma, …)?
Revision history for this message
|
#16 |
No, there’s no line between username and password.
I do have a @#$ in my password, which is not an issue with 192.168.50.100
Sent from ProtonMail Mobile
On Tue, Mar 12, 2019 at 3:32 PM, Manfred Hampl <email address hidden> wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Is there an empty line between username and password in your credentials file?
> Are there special characters in the password (like backslash, comma, …)?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#17 |
"I do have a @#$ in my password, which is not an issue with 192.168.50.100"
I understand that one of your "servers" is a NAS, and the other one is a router. Is this correct?
It seems that these two have different operating systems, or different capabilities with respect to mounting.
Do you have manuals for these two where you could check?
Revision history for this message
|
#18 |
Yes one is a NAS, and the other is a usb drive connected to a router. I have no manuals with either. The NAS drive is connected to a wireless bridge along with my desktop and ubuntu. The primary router is in another room and has the usb drive connected to it. I don't know if this should matter since I can smb into the usb drive.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, March 12, 2019 4:32 PM, Manfred Hampl <email address hidden> wrote:
> Your question #679125 on Ubuntu changed:
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> "I do have a @#$ in my password, which is not an issue with
> 192.168.50.100"
>
> I understand that one of your "servers" is a NAS, and the other one is a router. Is this correct?
> It seems that these two have different operating systems, or different capabilities with respect to mounting.
> Do you have manuals for these two where you could check?
>
> -------
>
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#19 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.