LinuxForum.Fans
Тема

Подключить сетевой диск

Автор: detalik 51 сообщений 34207 просмотров
#103538

подскажите плиз как ALT Linux подключить сетвой диск, шаренный в винде

#103539

detalik, mount.cifs //my_pc/share /mnt/disk2 -o username=<user>,password=<pass>

#103551

А можно немного поконкретнее....плиз что там через // писать....

#103556

пишет "event not found"

#103557

detalik, весь вывод с консоли покажите.

#103559

[user@comp-Celeron-CPU-b1fc05 ~]$ mount.cifs //192.168.110.55/!Обменник
bash: !Обменник: event not found
[user@comp-Celeron-CPU-b1fc05 ~]$

#103560

вывод с консоли

#103561
detalik написал:
[user@comp-Celeron-CPU-b1fc05 ~]$ mount.cifs //192.168.110.55/!Обменник
bash: !Обменник: event not found
[user@comp-Celeron-CPU-b1fc05 ~]$

oO вы внимательно читали то что я вам написал? давайте вы еще раз прочитает, так же имена ресурсов рекомендуется делать на англ языке. От пользователя root, надо дать команду: mount.cifs //192.168.110.55/!Обменник /куда_монтировать

#103564
text
[root@comp-Celeron-CPU-b1fc05 ~]# mount.cifs //192.168.110.185/sertificat/mnt
bash: mount.cifs: команда не найдена
[root@comp-Celeron-CPU-b1fc05 ~]# 

вроде все сделал как написано

#103568

detalik, так, тогда так:
mount -t cifs //192.168.110.185/sertificat /mnt

#103581
text
[root@comp-Celeron-CPU-b1fc05 ~]# mount -t cifs //192.168.110.185/sertificat/mnt
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
[root@comp-Celeron-CPU-b1fc05 ~]# mount -t //192.168.110.185/sertificat/mnt[root@comp-Celeron-CPU-b1fc05 ~]# mount -t //192.168.110.185/sertificat/mnt
[root@comp-Celeron-CPU-b1fc05 ~]# 

сори за простыни, но че то непонятно...

#103585

между "что монтировать" и " куда монтировать" должен быть пробел...

#103592
text
[root@comp-Celeron-CPU-b1fc05 ~]# mount -t cifs //192.168.110.22/test /mntPassword: 

Что за пароль он спрашивает? рутовский не подходит?

#103595

detalik, гостям вход разрешен? попробуйде указать логин и пароль пользователя системы(учетной записи)

#103599

не получается, а можно это как нибудь через gui сделать?

#103600

detalik, может все же попробуете в CLI сделать? тему мы и так уже разжевали, давайте вы будете сюда вывод с консольки выкладывать, а то информации мало, приходится гадать что у вас не так.

#103603

попробуйте вот так вот:
mount -t cifs -o username=guest,passowrd=пароль //192.168.110.22/test /mnt
или
mount -t cifs -o username=ivanov,passowrd=i12SDaaP //192.168.110.22/test /mnt

на счет gui, я не знаю как это сделать в том же gnome или kde, небыло необходимости прибегать к gui smile

#103610
text
[root@comp-Celeron-CPU-b1fc05 ~]# mount -t -o username=user,password='' cifs //192.168.110.55/proba /mnt
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
One can change the type of mount containing the directory dir:
       mount --make-shared dir
       mount --make-slave dir
       mount --make-private dir
       mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
       mount --make-rshared dir
       mount --make-rslave dir
       mount --make-rprivate dir
       mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .
[root@comp-Celeron-CPU-b1fc05 ~]# 

пароль пустой... не конектит

Войдите или зарегистрируйтесь, чтобы ответить.