Hocu LINUX ali se zaglavih

41

Hocu LINUX ali se zaglavih

offline
  • 1vi 
  • Građanin
  • Pridružio: 03 Feb 2008
  • Poruke: 286

deb cdrom:[Ubuntu 10.04.2 LTS _Lucid Lynx_ - Release i386 (20110211.1)]/ lucid main restricted
deb http://archive.ubuntu.com/ubuntu lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu lucid main restricted

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu lucid-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu lucid-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu lucid universe
# deb-src http://archive.ubuntu.com/ubuntu lucid universe
# deb http://archive.ubuntu.com/ubuntu lucid-updates universe
# deb-src http://archive.ubuntu.com/ubuntu lucid-updates universe
# deb http://security.ubuntu.com/ubuntu lucid-security universe
# deb-src http://security.ubuntu.com/ubuntu lucid-security universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://archive.ubuntu.com/ubuntu lucid multiverse
# deb-src http://archive.ubuntu.com/ubuntu lucid multiverse
# deb http://archive.ubuntu.com/ubuntu lucid-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu lucid-updates multiverse
# deb http://security.ubuntu.com/ubuntu lucid-security multiverse
# deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12520
  • Gde živiš: Južni pol

sudo gedit /etc/apt/sources.list

Otvoriće se tekst editor. U njemu promeni linije:
# deb http://archive.ubuntu.com/ubuntu lucid universe
# deb-src http://archive.ubuntu.com/ubuntu lucid universe


u

deb http://archive.ubuntu.com/ubuntu lucid universe
deb-src http://archive.ubuntu.com/ubuntu lucid universe


File -> Save, zatim zatvori editor.

Sada ponovi ovo u terminalu:
sudo apt-get update

I zatim ponovi:
sudo apt-get install testdisk



offline
  • 1vi 
  • Građanin
  • Pridružio: 03 Feb 2008
  • Poruke: 286

odradjeno sve, prolazilo fino, bez problema.

offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12520
  • Gde živiš: Južni pol

Ok. Onda da probamo ponovo:
sudo smbclient -L //192.168.0.101/

offline
  • 1vi 
  • Građanin
  • Pridružio: 03 Feb 2008
  • Poruke: 286

Napisano: 04 Maj 2011 3:16

__________________
ubuntu@ubuntu:~$ sudo smbclient -L //192.168.0.101/
Enter root's password:
Domain=[*****] OS=[********] Server=[*******]

Sharename Type Comment
--------- ---- -------
share Disk

ubuntu@ubuntu:~$

Dopuna: 04 Maj 2011 3:17

trazio je root sifru pa sam isao samo na enter

offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12520
  • Gde živiš: Južni pol

Ok. Sada da ponovimo:
sudo mount -t cifs //192.168.0.101/share /mnt/backup -o guest,iocharset=utf8,file_mode=0777,dir_mode=0777

cat /etc/mtab

Prekopiraj izlaz pa da vidimo je li sve prošlo ok.

offline
  • 1vi 
  • Građanin
  • Pridružio: 03 Feb 2008
  • Poruke: 286

da li ima neke greske u prvom, nece nista, a drugo

ubuntu@ubuntu:~$ cat /etc/mtab
aufs / aufs rw 0 0
none /proc proc rw,noexec,nosuid,nodev 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /dev devtmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
/dev/sdb1 /cdrom vfat ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/loop0 /rofs squashfs ro,noatime 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
gvfs-fuse-daemon /home/ubuntu/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=ubuntu 0 0
//192.168.0.101/share /mnt/backup cifs rw,mand 0 0
//192.168.0.101/share /mnt/backup cifs rw,mand 0 0
ubuntu@ubuntu:~$

offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12520
  • Gde živiš: Južni pol

Napisano: 04 Maj 2011 3:24

Moguće. Koju grešku izbacuje?

Dopuna: 04 Maj 2011 3:24

Ok vidim šta je u pitanju.

Dopuna: 04 Maj 2011 3:27

Far je to objasnio ovde:

FarscapeFan ::vidi on ga je nekoliko puta "montirao"
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
//192.168.0.100/share /mnt/backup cifs rw,mand 0 0
moraju svi ovi da budu de-montirani pre nego što se ubaci onaj dugački red Wink

pomoću

sudo umount /mnt/backup

samo uzastopno ponavljaj "sudo umount /mnt/backup" dok ne javi gresku


Kada završiš, javi.

offline
  • 1vi 
  • Građanin
  • Pridružio: 03 Feb 2008
  • Poruke: 286

Sada u File Browseru/mnt/backup ima praznog foldera NOVO i text fajl hello

offline
  • bocke  Male
  • Moderator foruma
  • Glavni moderator Linux foruma
  • Veliki Pingvin
  • Guru
  • Pridružio: 16 Dec 2005
  • Poruke: 12520
  • Gde živiš: Južni pol

Ok, znači montiran je. Ali dvaput. Da nam se ne bi zbog toga javljale greške, odradi ono što sam postavio malopre.

Ko je trenutno na forumu
 

Ukupno su 835 korisnika na forumu :: 16 registrovanih, 2 sakrivenih i 817 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., babaroga, croato, GandorCC, jackreacher011011, kolle.the.kid, Koridor, ladro, ljuba, minmatar34957, Niko Bitan, procesor, sasovsky, shaja1, UAV operator, 79693