my isp is providing what they call a box, a modem/router in fact , there’s a hdd with it thus i can store there some files, videos …
i’m trying to watch a video that’s on the box’s hdd. 1st of all kaffeine (no result) and smplayer (took something like 4 minutes to make a local copy, then no picture, sound only) where ko (i lacked some codecs which i fixed), only vlc was able to play the files, with a little delay for the sound.
I’d like to mount the share to see if playing is quicker or not, could you please help me ? (i do have cifs-utils installed already)
This means that you use a host name and that this name can not be resolved to an IP address.
Either use the box’ IP address or see that thye name can ve resolved (using /etc/hosts or DNS).
hi,
it looks like the error is similar as the one described in the part mentioning a fail when using the netbios name , i added wins in /etc/nsswitch.conf but still have an error, slightly dirrerent though
how do i find the ip instead of the network name ? is the ip always the same ?
# mount -t smbfs -o username=user,password=pwd //stb01/DISQUE_INTERNE/Videos /mnt/sfrbox
mount: unknown filesystem type 'smbfs'
opensuse122:~ # mount -t cifs //stb01 -o username=user,password=pwd /mnt/sfrbox
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
opensuse122:~ # mount -t cifs -o username=user,password=pwd //stb01 /mnt/sfrbox
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
opensuse122:~ # mount -t cifs -o guest //stb01 /mnt/sfrbox
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
opensuse122:~ # exit
logout
fabrice@opensuse122:~> smbclient -L stb01 -U fabrice
Enter fabrice's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.34]
Sharename Type Comment
--------- ---- -------
DISQUE_INTERNE Disk
PERIPHERIQUES Disk
PLAYLIST Disk
IPC$ IPC IPC Service (Neufbox)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.34]
Server Comment
--------- -------
STB01 Neufbox
Workgroup Master
--------- -------
WORKGROUP STB01
I do not understand what you are trying to do. All permutations of the parameter field of* mount*?
Please look at
man 8 mount
to see in what sequence the parameters must be.
And I doubt that //stb01 is a correct way of pointing to a share on a system. But I repeat, I do not know much about Samba nor Windows. Read Swrdna’s docs.
On 2012-10-04 10:36, manchette fr wrote:
>
> hi,
> it looks like the error is similar as the one described in the part
> mentioning a fail when using the netbios name , i added wins in
> /etc/nsswitch.conf but still have an error, slightly dirrerent though
>
> how do i find the ip instead of the network name ? is the ip always the
> same ?
As it is in your router/modem box, it better be the same >:-)
To the rest, please read Swrdna’s docs first.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
my router has a harddisk attached to it and all my machines in my local network are setup to mount it.
Is it the same for you? How did you get access to it to write files onto it?
The IP address is needed in order to mount it (or name to be resolved via hosts file) and the directory where you try to mount the share to be owned by the user which needs to mount it.
Here is the command(as per Swerdna’s instructions)
mount -t cifs -o username=server_user,password=secret //192.168.44.100/share /path_to/mount
and here is yours:
mount -t cifs -o username=user,password=pwd //stb01 /mnt/sfrbox
assumptions are:
-that /mnt/sfrbox directory belongs to the user on the client side(your computer).
-The user/pass in the mount command is in fact the user/pass on the server(share)
the only puzzling thing is //stb01 ? is that the name of the share which is not resolved in your network? any device has an IP address(in my home network) is 192.168.1.1 as it is attached to my router. not sure where is on yours. is it internal to your home network or on the provide server?
Give me more details.
in fact i don’t know the server_user and how to know it, neither it’s ip.
Yes stb01 was the network name of the share, it’s stb01 but sometimes stb0xx , none are working . Looks like the ip is changing and the network name too …
as i understand this space is available on the modem/share provided by your provider. Is this in your home? if yes this router could be accessed as i assume the ip address is 192.168.1.1(most of the time). There is a default user/password based on the type of the router/modem which if you google it by type you should find it. This needs to be setup with your user password as any router. Try to find this info and we’ll go from there. If this modem/router is not in your house than the ISP should provide you info about it.
you’re right, it’s accessible with the ip 192.168.1.1
i have a web console , i went there and found the user and pwd. i then tried to enter from the web console, but it was ko, it used to work (a long time ago).
then from command line :
mount -t cifs -o username=admin,password=secret //192.168.1.1 /mnt/sfrbox
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
opensuse122:~ # man mount.cifs
opensuse122:~ # man mount.cifs
opensuse122:~ # mount -t cifs -o username=admin,password=secret //192.168.1.1/DISQUE_INTERNE /mnt/sfrbox/DISQUE_INTERNE
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
i do not understand the error as mount is calling mount.cifs when type cifs is used, as explains the man.
so we know now that the share is at 192.168.1.1 and we have the user/password. you should be able to see the share by going into your browser and type smb://192.168.1.1. This would show you the share name as it is(DISK_INTERNE?). Probably from this point if you want to access it you’ll need your credentials. Anyway now you could try to mount it again.
mount -t cifs -o username=admin,password=secret //192.168.1.1/DISQUE_INTERNE /mnt/sfrbox/DISQUE_INTERNE
make sure that directory /mnt/sfrbox/DISQUE_INTERNE exist before you attempt to mount it.
do a ll -rt /mnt/sfrbox/DISQUE_INTERNE
and is own preferably by your own id and not the root
chown -R youruser:users /mnt/sfrbox/DISQUE_INTERNE
otherwise after mount it will not be owned by you.
as i told you the web console entrance was ko, i thus rebooted the box,
yes DISQUE_INTERNE is among the shares
using ll and chown did not help, i still have error 115 as above
smb://192.168.1.1 is loading endlessly
i usually use dolphin then network , samba shares, workgroup, stb0xx
which gives this in the adress bar smb://stb0xx/DISQUE_INTERNE and is not asking for any credentials
**edit :
now it works , but with the network name only
# mount -t cifs -o username=admin,password=secret //192.168.1.1/DISQUE_INTERNE /mnt/sfrbox/DISQUE_INTERNE
mount error(115): Operation now in progress
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
opensuse122:~ # mount -t cifs -o username=admin,password=secret //stb0xx/DISQUE_INTERNE /mnt/sfrbox/DISQUE_INTERNE
no error, aka -> it worked !! :=)