Thursday, May 7, 2015

Installing Samba and NFS server in BOSS and Setting NFS HOME in BOSS Linux




Step 1:

Install BOSS 64 bit version
Extract the Samba source kept under /opt
Open terminal and run below commands as admin user
                   cd /opt/samba-4.1.17
                   ./configure
                   make
                   make install
Step 2:

Once the Samba is installed successfully , we can provision the samba domain now.

Configure and Setup a Static IP for the machine. Eg: 192.168.1.10

Provide a Unique Hostname for the server. Eg: bossbigserver

Decide a Domain name that need to be given for the provision . Eg: rmdlab.lan

So the FQDN for the machine will be bossbigserver.rmdlab.lan

Add the Domain name as the default entry in /etc/resolv.conf .
Eg:
                   search rmdlab.lan
                   domain rmdlab.lan
                   nameserver 192.168.1.10

Once all these steps are done , open terminal and run below commands as admin user
                   cd /usr/local/samba
                   bin/samba-tool domain provision

Give rmdlab.lan as the domain name
For other values give the default answers
For Bind configuration provide the local ip I.e 192.168.1.10
Give a strong Admin password with all alphanumeric and punctuation combiantion

Once all the above values are given properly , the samba will be provisioned successfully.
Step 3:
Once done , run
                 sbin/samba
This should start Samba service , check it in
                sudo ps aux | grep samba
Step 4:

Adding users to Samba:

/usr/local/samba/bin/samba-tool user add

Give a strong password for the users with all the combinations.

To list all the users added to the domain , use
                  /usr/local/samba/bin/samba-tool user list

Setting NFS HOME:

Open terminal and run below commands as admin user
               mkdir /var/home
               chmod 777 /var/home

Open /etc/exports and add below entry

/var/home
(rw,sync,no_root_squash,no_subtree_check)

Run

exporfs -a

/etc/init.d/nfs-kernel-server restart

Now the Client machine can be authenticated from Server with Samba

username and passwrod

credntials and have the Home directory under /var/home in server.

Wednesday, April 29, 2015

BROADCOM BCM43142 Not Working in 32 bit BOSS Linux [SOLVED]

Step1:

Download the broadcom driver sta from following location.

http://www.broadcom.com/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_248.tar.gz

Step2:
Setup the directory by untarring the proper tarball:

For 32 bit:  hybrid-v35-nodebug-pcoem-portsrc.tar.gz
For 64 bit:  hybrid-v35_64-nodebug-pcoem-portsrc.tar.gz

Example:
# mkdir hybrid_wl
# cd hybrid_wl
# tar xzf /hybrid-v35-nodebug-pcoem-portsrc.tar.gz or 
 /hybrid-v35_64-nodebug-pcoem-portsrc.tar.gz

Step3:
Build the driver as a Linux loadable kernel module (LKM):

# make clean   (optional)
# make API=WEXT CONFIG_DEBUG_SECTION_MISMATCH=y
 
 
Step4:
 
modprobe wl
 
Then the wifi is enabled successfully 
 

Friday, April 24, 2015

Canon Printer Setup in BOSS


Step 1:
Download and install the drivers
Download the drivers cndrvcups-capt_2.60-1_i386.deb cndrvcups-common_2.60-1_i386.deb
Open terminal and Install the packages
sudo dpkg -i cndrvcups-common_2.60-1_i386.deb cndrvcups-capt_2.60-1_i386.deb

Step 2: Install other postscript fonts & program to reserve ports for the printer
Install portreserve, gsfonts, gsfonts-other, gsfonts-X11
sudo dpkg -i postreserve gsfonts gsfonts-x11 gsfonts-other

Step 3: Restart the printer
sudo /etc/init.d/cups restart

Step 4: Add printer and start the Cannon Printer daemon.
sudo /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59787 -E
sudo /usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0
sudo /etc/init.d/cups restart
sudo /etc/init.d/cups status
Step 5: Check the printer status
captstatusui -P LBP2900
If you are seeing the message “Ready to print”, you are done!. Else you may have to restart the system,
and repeat all the steps from step 4.

Step 6: Start the printer service for every system startup
sudo gedit /etc/rc.local

Add
/etc/init.d/ccpd start
before the word “exit” , save the file and close

Wednesday, March 11, 2015

Tripwire In BOSS Linux Configuring and Policy Updation

Step 1: Install Tripwire and Tripwire depedencies by apt-get command

root@ithelpblog:~# sudo apt-get install tripwire

Step 2: Initializing Tripwire database

root@ithelpblog:~# sudo tripwire –init

Step 3: Configure tripwire policy

root@ithelpblog:~# sudo vi /etc/tripwire/twpol.txt

Step 4:  Update Tripwire policy

root@ithelpblog:~# sudo tripwire –update-policy –secure-mode low /etc/tripwire/twpol.txt

Step 5: Check if have any changes on your Ubuntu/Debian system

root@ithelpblog:~# tripwire –check –interactive
     

Wednesday, December 10, 2014

Configuration of Canon IR2422 In BOSS Linux -


1.    Please find the  linux driver  for Canon Image Runner IR2422

      http://support-in.canon-asia.com/P/search?        model=iR2422L&menu=download&filter=0&tagname=g_os&g_os=Linux



2.   Select the particular ppd

     /usr/share/ppd/CNCUPSIR2422ZK.ppd


3.   change the printer settings to A4 paper size

Wednesday, November 12, 2014

How to disable smart install feature in HP printer(s) from BOSS GNU/Linux

Required Steps: 


HP Smart Install is a service running on firmware which
You can det ect  and disable Smart  Inst all using t he
1. Using Device Front Panel.
2. Using HPLIP tool:
3. Using Linux commands:
a. Run command "lsusb" in terminal to obtain USB ID's.

makes printer to appear as "Mass Storage Devices" when
connected via USB cable. This is to install the minimal
printer software from flash memory of printer. This service
needs to be disabled on linux in order to have the device
function as a printer.

below met hods:

 Settings­ >Services­ >HP Smart install
 NOTE: This option is available only for some HP printers.
If this option is not found in the device front panel then
please try other options mentioned below.

Run hp­ doct or script. It will notify you if there is a Smart
Install device connected and prompt you for disabling the
same.

To detect Smart Install:

ex: $> lsusb
            Bus 001 Device 004: ID 03f0:042a Hewlett­

Packard
where,
Bus ID is 001.
Device ID is 004.

b. Run command "lsusb -s [[bus]:][devnumber] | grep bInterfaceClass"
ex: $> lsusb -s 001:004 | grep bInterfaceClass

c. If the output contains "8 Mass Storage". It means the device has Smart Install service enabled and is detected as mass storage device.

To disable Smart Install:

a. Download SmartInstallDisable-Tool.run (Right-click the link and choose "Save Link As..." to save the file to your computer)

b. Download SmartInstallDisable-Tool.run.asc(Right-click the link and choose "Save Link As..." to save the file to your computer)

c. Validate the digital signature of the file SmartInstallDisable-Tool.run using SmartInstallDisable-Tool.run.asc through gpg command with superuser permissions

su -c "gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9"
su -c "gpg --verify SmartInstallDisable-Tool.run.asc SmartInstallDisable-Tool.run"

d. Run command "sh SmartInstallDisable-Tool.run" in terminal to disable smart install feature in the device



Sunday, November 9, 2014

samsung scx-4521f printer configuration and Scanner -BOSS GNU Linux 5.0



1.open the /etc/apt/sources.list file add following:


deb http://www.bchemnet.com/suldr/ debian extra


2. Install the GPG key, from http://www.bchemnet.com/suldr/suldr.gpg, for the repository. You can do this with Synaptic Package Manager or Software Sources, or paste this line to your terminal:

wget -O - http://www.bchemnet.com/suldr/suldr.gpg | sudo apt-key add -




3.update/reload the repository




sudo apt-get update




4.Install the samsungfp-driver package.


            sudo apt-get install samsungmfp-driver



5. From the start menu, invoke System --> Administration --> Printing.

6.Use the driver for 'Samsung SCX-4500 Series'. Choose either the Splix or the Samsung driver according to your preference.

7. Check the 'Printer Options' in the 'Printer Properties'. Change the options where appropriate (especially the 'Paper Size').

  8.Try to print a test page.


Scanner Configuration:
--------------------------

To configure the scanner install the following package.


sudo apt-get install samsungmfp-scanner


Then goto Graphics --> Simple Scan or XSane Dependant on the Distro.

How to interact with the non-interactable Web Elements in Selenium

How to interact with the non-interact able Web Elements in Selenium    // Find the non-interactable element element WebElement element = dr...