Thursday, December 10, 2015

Lenovo thinkcentre mini pc issue :system is restarted when shtdown or power of in BOSS Linux

kindly go to the BIOS and disable the automatic power on option this will prevent the system rebooting when shutdown or power off.

F2 -> power -> Automatic Power On -> Wake on LAN -> Automatic

this should be changed to

F2 -> power -> Automatic Power On -> Wake on LAN ->Disabled

Wednesday, November 18, 2015

Edit a file directly using "sed" command in Linux


sed is stream editor, but can edit files directly

sed -i -e 's/foo/bar/g' hello.txt
 
s is used to replace the found expression "foo" with "bar" and g used to

replace any found matches.

-i option is used to edit in place on hello.txt.

-e option indicates a command to run.


Tuesday, October 27, 2015

Booting the BOSS Linux as in command prompt mode


1.Open the /etc/default/grub file and uncomment the following line

GRUB_TERMINAL=console

2.Set the resolution to 1024x768

GRUB_GFXMODE=1024x768

3.issue the following commands after above modification

sudo update-initramfs -u -k 2.6.32.59
sudo update-grub

4.This was done in BOSS Linux due to not able to boot the windows 7 in the dual mode.


or click and download following script and run it as a sudo user

flicker_removng_console_mode_boot_script

Tuesday, June 16, 2015

Dell Server BCM5709S Ethernet card is not Working in BOSS [SOLVED]

1.issue following commands

apt-get update

apt-get install firmware-bnx2

2.Otherwise download the firmware bnx2/bnx2-mips-09-6.2.1b.fw and copy in to /lib/firmware.

Wednesday, June 3, 2015

Lenovo Laptop issues and Solved in BOSS GNU/Linux

Lenovo Issues For AMD Processor based Laptops:

Wireless Card is realtek then install the firmware-realtek package from repository

Solution:

1.Downlaod the Linux_BT_USB_2.11.20140318_hp.zip patch.
2.Issue “make install” command to apply the patch.


Flickering Issue:
Download the package fglrx­modules­dkms_14.9+ga14.201­2  and install the package.

dpkg -i fglrx­modules­dkms_14.9+ga14.201­2

Web Camera Issue:

Firmware update for BIOS through windows

Bluetooth
Download the rtlwifi_linux_mac80211_0020.1030.2014v676.P1.zip path

Extract zip file and issue the following command in the terminal

make install

Lenovo Laptops Intel Based Processor:

For flickering issue

In /etc/default/grub file uncomment and change the following line

GRUB_GFXMODE = 1024 x 768

after this run in terminal

sudo update­grub2

Also download the Backlight patch installed for the toggling external projector or monitor display.
Web Camera Issue:

Firmware update for BIOS through windows


Wireless Card r8192ee
Follow the below steps
1. Copy rtl8192eefw.bin firmware to the /lib/firmware/rtlwifi/
2. rmmod r8192ee
3. modprobe r8192ee

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.

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...