Mount Windows share as guest from command line











up vote
3
down vote

favorite












So I'm at a friend and hooked up my external EXT4 HDD to his router and it recognises it and he can connect his entire family to it and everything works fine.



However, on my Ubuntu machine I can:




  • Go to my File Manager (Nemo)


  • File Connect to Server


Connection dialog



and that works fine!



but I cannot:



sudo mount -t smbfs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount: unknown filesystem type 'smbfs'

sudo mount -t cifs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
Password for root@//192.168.1.1/Fab-EXT4:

sudo mount -t cifs -o guest //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs //192.168.1.1/Fab-EXT4 -o user=,password= /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs -o rw,noperm,sec=none //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


However:



smbclient --list=192.168.1.1 --no-pass


works perfectly and has as output:



WARNING: The "syslog" option is deprecated
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (mymodem Sharing Files)
Fab-EXT4 Disk Share Fab-EXT4 directory
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Server Comment
--------- -------
MYMODEM mymodem Sharing Files

Workgroup Master
--------- -------
HOME


So I'm obviously missing something completely stupid here, but I'm stumped as to why I cannot mount this share fro the command line???










share|improve this question






















  • Possible duplicate of 16.04 CIFS "Host is down" but they are not
    – muru
    6 hours ago















up vote
3
down vote

favorite












So I'm at a friend and hooked up my external EXT4 HDD to his router and it recognises it and he can connect his entire family to it and everything works fine.



However, on my Ubuntu machine I can:




  • Go to my File Manager (Nemo)


  • File Connect to Server


Connection dialog



and that works fine!



but I cannot:



sudo mount -t smbfs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount: unknown filesystem type 'smbfs'

sudo mount -t cifs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
Password for root@//192.168.1.1/Fab-EXT4:

sudo mount -t cifs -o guest //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs //192.168.1.1/Fab-EXT4 -o user=,password= /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs -o rw,noperm,sec=none //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


However:



smbclient --list=192.168.1.1 --no-pass


works perfectly and has as output:



WARNING: The "syslog" option is deprecated
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (mymodem Sharing Files)
Fab-EXT4 Disk Share Fab-EXT4 directory
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Server Comment
--------- -------
MYMODEM mymodem Sharing Files

Workgroup Master
--------- -------
HOME


So I'm obviously missing something completely stupid here, but I'm stumped as to why I cannot mount this share fro the command line???










share|improve this question






















  • Possible duplicate of 16.04 CIFS "Host is down" but they are not
    – muru
    6 hours ago













up vote
3
down vote

favorite









up vote
3
down vote

favorite











So I'm at a friend and hooked up my external EXT4 HDD to his router and it recognises it and he can connect his entire family to it and everything works fine.



However, on my Ubuntu machine I can:




  • Go to my File Manager (Nemo)


  • File Connect to Server


Connection dialog



and that works fine!



but I cannot:



sudo mount -t smbfs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount: unknown filesystem type 'smbfs'

sudo mount -t cifs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
Password for root@//192.168.1.1/Fab-EXT4:

sudo mount -t cifs -o guest //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs //192.168.1.1/Fab-EXT4 -o user=,password= /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs -o rw,noperm,sec=none //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


However:



smbclient --list=192.168.1.1 --no-pass


works perfectly and has as output:



WARNING: The "syslog" option is deprecated
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (mymodem Sharing Files)
Fab-EXT4 Disk Share Fab-EXT4 directory
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Server Comment
--------- -------
MYMODEM mymodem Sharing Files

Workgroup Master
--------- -------
HOME


So I'm obviously missing something completely stupid here, but I'm stumped as to why I cannot mount this share fro the command line???










share|improve this question













So I'm at a friend and hooked up my external EXT4 HDD to his router and it recognises it and he can connect his entire family to it and everything works fine.



However, on my Ubuntu machine I can:




  • Go to my File Manager (Nemo)


  • File Connect to Server


Connection dialog



and that works fine!



but I cannot:



sudo mount -t smbfs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount: unknown filesystem type 'smbfs'

sudo mount -t cifs //192.168.1.1/Fab-EXT4 /media/MichelNAS/
Password for root@//192.168.1.1/Fab-EXT4:

sudo mount -t cifs -o guest //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs //192.168.1.1/Fab-EXT4 -o user=,password= /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

sudo mount -t cifs -o rw,noperm,sec=none //192.168.1.1/Fab-EXT4 /media/MichelNAS/
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


However:



smbclient --list=192.168.1.1 --no-pass


works perfectly and has as output:



WARNING: The "syslog" option is deprecated
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (mymodem Sharing Files)
Fab-EXT4 Disk Share Fab-EXT4 directory
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.24]

Server Comment
--------- -------
MYMODEM mymodem Sharing Files

Workgroup Master
--------- -------
HOME


So I'm obviously missing something completely stupid here, but I'm stumped as to why I cannot mount this share fro the command line???







networking mount cifs






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 12 hours ago









Fabby

24.9k1354157




24.9k1354157












  • Possible duplicate of 16.04 CIFS "Host is down" but they are not
    – muru
    6 hours ago


















  • Possible duplicate of 16.04 CIFS "Host is down" but they are not
    – muru
    6 hours ago
















Possible duplicate of 16.04 CIFS "Host is down" but they are not
– muru
6 hours ago




Possible duplicate of 16.04 CIFS "Host is down" but they are not
– muru
6 hours ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










You need to add the version to the options depending on the cifs version you use. So that would be for v1.0:



sudo mount -t cifs -o guest,vers=1.0 //192.168.1.1/Fab-EXT4 /media/MichelNAS/


There is also vers=2.0 and vers=3.0






share|improve this answer























  • Seemingly very old Modem firmware! vers=1.0 seemed to do the trick!
    – Fabby
    12 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092278%2fmount-windows-share-as-guest-from-command-line%23new-answer', 'question_page');
}
);

Post as a guest
































1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










You need to add the version to the options depending on the cifs version you use. So that would be for v1.0:



sudo mount -t cifs -o guest,vers=1.0 //192.168.1.1/Fab-EXT4 /media/MichelNAS/


There is also vers=2.0 and vers=3.0






share|improve this answer























  • Seemingly very old Modem firmware! vers=1.0 seemed to do the trick!
    – Fabby
    12 hours ago















up vote
3
down vote



accepted










You need to add the version to the options depending on the cifs version you use. So that would be for v1.0:



sudo mount -t cifs -o guest,vers=1.0 //192.168.1.1/Fab-EXT4 /media/MichelNAS/


There is also vers=2.0 and vers=3.0






share|improve this answer























  • Seemingly very old Modem firmware! vers=1.0 seemed to do the trick!
    – Fabby
    12 hours ago













up vote
3
down vote



accepted







up vote
3
down vote



accepted






You need to add the version to the options depending on the cifs version you use. So that would be for v1.0:



sudo mount -t cifs -o guest,vers=1.0 //192.168.1.1/Fab-EXT4 /media/MichelNAS/


There is also vers=2.0 and vers=3.0






share|improve this answer














You need to add the version to the options depending on the cifs version you use. So that would be for v1.0:



sudo mount -t cifs -o guest,vers=1.0 //192.168.1.1/Fab-EXT4 /media/MichelNAS/


There is also vers=2.0 and vers=3.0







share|improve this answer














share|improve this answer



share|improve this answer








edited 11 hours ago









Fabby

24.9k1354157




24.9k1354157










answered 12 hours ago









Rinzwind

201k26384516




201k26384516












  • Seemingly very old Modem firmware! vers=1.0 seemed to do the trick!
    – Fabby
    12 hours ago


















  • Seemingly very old Modem firmware! vers=1.0 seemed to do the trick!
    – Fabby
    12 hours ago
















Seemingly very old Modem firmware! vers=1.0 seemed to do the trick!
– Fabby
12 hours ago




Seemingly very old Modem firmware! vers=1.0 seemed to do the trick!
– Fabby
12 hours ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092278%2fmount-windows-share-as-guest-from-command-line%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents