Thursday, September 26, 2013

Fedora 19 - Tips & Tricks

In /etc/yum.conf add the following line

proxy=http://80.0.0.25:3128
-------------

Install Samba

# yum -y install samba samba-client
-------------

# chmod 777 /home/manoj/Desktop

# vi /etc/samba/smb.conf



[global]
        dos charset = CP932
        workgroup = WORKGROUP
        netbios name = MANOJ
        server string = Samba Server Version %v
        interfaces = lo, wlp2s0
        map to guest = Bad User
        log file = /var/log/samba/log.%m
        max log size = 50
        local master = No
        domain master = No
        wins support = Yes
        idmap config * : backend = tdb
        hosts allow = 127., 80.0.0.

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[Share]
        comment = Manoj
        path = /home/manoj/Desktop
        valid users = manoj
        read only = No
        create mask = 0770
        directory mask = 0770

-------------------

# systemctl start smb.service
# systemctl start nmb.service
# systemctl enable smb.service
# systemctl enable nmb.service

# smbpasswd -a manoj                # add smb user
New SMB password:                  # set password
Retype new SMB password:

In client side go to my computers and Map Network Drive give username and password to obtain the drive in client

VERY IMPORTANT
-----------------------

Canon drivers downloaded, the run

yum localinstall cndrvcups-common-2.20-1.x86_64.rpm

yum localinstall cndrvcups-capt-2.20-1.x86_64.rpm