Showing posts with label Troubleshooting to make life worth living. Show all posts
Showing posts with label Troubleshooting to make life worth living. Show all posts

Tuesday, May 8, 2018

WI-FI getting disconnected/Networks not showing up on Ubuntu 16.04 solved ,Linux Teacher Sourav,Kolkata 09748184075


Install rfkill

sudo apt-get install rfkill
then run this command

rfkill unblock all
check if the wifi is working. If not do this

sudo nano /var/lib/NetworkManager/NetworkManager.state
then you will see some settings. Set everything to "true" reboot your system

give this command in terminal

rfkill list
you'll see that some are softblocked and hardblocked. All of them should be "no".

If it's not "no" then you need to somehow turn them to "no". I did this and it worked for me

sudo modprobe -r acer-wmi
cd /etc/modprobe.d
sudo nano blacklist.conf
Then add blacklist acer-wmi as a new line at the end of the file.

then save the file by pressing Ctrl+O ,close it and reboot the system. It should work

Source:https://askubuntu.com/questions/769521/wifi-networks-are-not-showing-in-ubuntu-16-04?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

Friday, May 4, 2018

Install PHPMyAdmin after installing Mysql on Ubuntu 16.04

 sudo apt-get update
    sudo apt-get install phpmyadmin php-mbstring php-gettext

After opening PHPMyAdmin if you create a database and open it you may see

CONNECTION FOR CONTROLUSER AS DEFINED IN YOUR CONFIGURATION FAILED

You have to open this file

/etc/phpmyadmin/config-db.php

and see if the configuration is like this

$dbuser='root';
$dbpass='password'; // set current password between quotes ' '
$basepath='';
$dbname='phpmyadmin';
$dbserver='';
$dbport='';
$dbtype='mysql';

save and close the file

restart mysql server by

sudo service mysql stop

sudo service mysql start


Saturday, November 18, 2017

Download certain indexed videos from a playlist in youtube using youtube-dl,Computer Teacher Sourav,Kolkata 09748184075



Suppose there is a playlist in youtube and you want to download videos indexed at 7 to 9(the indexing starts at 1),the command should be

pip -install youtube-dl

traverse to the directory in command line where you want to save the files  



youtube-dl --playlist-start=7 --playlist-end=9 -ci 

https://www.youtube.com/playlist?list=PLQVvvaa0QuDc2QjQOkZ4rtLYZVll_sZFZ


Sunday, November 5, 2017

Windows Resource Protection found corrupt files but was unable to fix some of them fixed,Computer Teacher Sourav,Kolkata 09748184075

when running sfc /scannow i am presented with an error called

" Windows Resource Protection found corrupt files but was unable to fix some of them"

The solution is

from an elevated command prompt run


Dism /Online /Cleanup-Image /RestoreHealth

if successful then run

sfc /scannow 


again

Tuesday, August 29, 2017

transaction-check-error-in-installing-vim solved,linux faculty Sourav,Kolkata 09748184075

yum update vim-minimal

yum install vim


source:https://unix.stackexchange.com/questions/119310/transaction-check-error-in-installing-vim

Enable and disable hyper v on windows 8.1 so that hyper v,visual studio 2013 phone sdk and vmware can be used properly ,IT Faculty Sourav Bhattacharya,Kolkata 09748184075

From an elevated command prompt:

bcdedit /set hypervisorlaunchtype off
to disable hypervisor, and:

bcdedit /set hypervisorlaunchtype auto
to reenable it (default value).

Of course it still requires restart.

Source:https://superuser.com/questions/540055/convenient-way-to-enable-disable-hyper-v-in-windows-8

DVD Drive not detected in windows 8.1 solved,IT Faculty Sourav Bhattacharya,Kolkata 09748184075

For the these steps solved the issue

To remove and reinstall IDE/ATAPI driver, follow these steps:

From Start, search for Device Manager. Open Device Manager from the search results, and select the View menu. Choose Show Hidden Devices.
Expand IDE/ATAPI Controllers, and then:
Select and right-click ATA Channel 0, and then click Uninstall
Select and right-click ATA Channel 1, and then click Uninstall
Select and right-click Standard Dual Channel PCI IDE Controller, and then click Uninstall
If there are additional entries, right-click them and then choose Uninstall
Reboot the device.
After the computer restarts, the drivers will be automatically installed.

If your problem is not solved, try the next method.

source:https://support.microsoft.com/en-in/help/314060/your-cd-or-dvd-drive-is-not-recognized-by-windows-or-other-programs




Wednesday, May 10, 2017

using dd command on ubuntu 16 to create iso from dvd,Sourav Bhattacharya,RHCE Faculty,Kolkata 09748184075

First check the block size and volume size using this command

isoinfo -d -i /dev/cdrom | grep -i -E 'block size|volume size'

then

dd if=/dev/cdrom of=/home/sourav/centos.iso bs=block size found from previous command 

 count=volume size found from previous command

source://https://www.thomas-krenn.com/en/wiki/Create_an_ISO_Image_from_a_source_CD_or_DVD_under_Linux

Saturday, March 25, 2017

Saturday, January 21, 2017

debugging not working for asp.net and asp.net mvc in monodevelop in ubuntu16 solved

install mono-xsp

copt xsp4.exe from /usr/lib/mono/4.5 and paste it to your applications bin directory

and run it specifying the browser

source:http://stackoverflow.com/questions/22622106/debugging-asp-net-mvc-apps-in-monodevelop-with-xsp4

Monday, January 9, 2017

VB.Net Monodevelop Project does not supprt dot net framework 4.5 solved

Using a text editor, change your *.vbproj file to add the following line:



    v4.0

source:http://stackoverflow.com/questions/9623964/new-default-vb-net-project-immediately-gives-an-error

asp.net template not found,fix monodevelop on Ubuntu 16



sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

echo "deb http://download.mono-project.com/repo/debian alpha main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get update

sudo apt-get install mono-devel mono-complete ca-certificates-mono mono-xsp4

sudo apt-get install monodevelop=5.10.0.871-0xamarin2




Source:https://brendaningram.com/article/how-to-fix-monodevelop-on-ubuntu-16-04/


Source:https://stackoverflow.com/questions/36101232/asp-net-template-not-found-after-installed-monodevelop-ide-on-ubuntu-16-04

Wednesday, January 4, 2017

Annoying Flickering Problem in Chrome in Ubuntu 16 solved


Edit-Preference-Show Advanced Settings-System and then uncheck use hardware acceleration when available

Source:http://askubuntu.com/questions/766725/annoying-flickering-in-16-04-lts-chrome 

Monday, December 12, 2016

Unable to lock the administration directory /var/log/dpkg/,is another process using it,solved

sudo lsof /var/lib/dpkg/lock

Find the process PID which is using the lock

kill -9 (PID that you found using lsof)





source:http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process

Thursday, October 27, 2016

Microsoft.Reporting.WinForms.ReportViewer is not defined or The referenced component 'Microsoft.ReportViewer.Common' could not be found issue solved


I downloaded Microsoft Report Viewer 2010 Redistributable Package for dot net 4.0 or visual studio 2010 and installed it, but the problem persists

So from references I removed Microsoft.ReportViewer.Common and Microsoft.ReportViewer.WinForms.

and then I added the two references by going to add reference and then going to in the .net reference section.


and the issue solved.

 

Saturday, August 13, 2016

JAVA_HOME\bin not working solved windows 8

windows+R and type sysdm.cpl

go to advanced


create a new variable(click new)

variable name JAVA_HOME

variable value C:\Program Files\Java\jdk1.8.0_102

then

 
on below section scroll down and find path

select path

click edit

put a semicolon at the end

then write

 
 %JAVA_HOME%\bin

click ok and exit


then open command prompt with administrative rights

setx JAVA_HOME "C:\Program Files\Java\jdk1.8.0_102"



if the command succeed,the issue solved
  

source:http://superuser.com/questions/79612/setting-and-getting-windows-environment-variables-from-the-command-prompt 
 






Sunday, July 17, 2016

How to watch a side-by-side 3D video in 2D in media player classic and vlc


Open the MPC player and configure the Pan and Scan Settings .

In the MPC player menu. Select View->Pan&Scan->Edit then a Pan&Scan Preset window setting will appear. Select "New" button then rename "new" entry to "3D[SBS] to 2D" and configure the Pos and Zoom . Then click "set" button and then click "Save" button.


source:http://play3d-2d.blogspot.in/2014/02/3d-sdb-to-2d-movie-in-media-player.html

for vlc player

http://www.techswatch.com/2015/03/how-to-watch-3d-sbs-side-by-side-videos-on-vlc-player.html

Over ride add on signing in firefox,integrate IDM with firefox

You can temporarily override the setting to enforce the add-on signing requirement by changing the preference xpinstall.signatures.required to false in the Firefox Configuration Editor (about:config page).

source:https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox?as=u&utm_source=inproduct