Friday, September 20, 2019

Hello Reader,


IT Admins who are using Subversion may have come across this pick and choose of the svn files and folders
to dump and share, may feel eary using SVNDUMPSANITIZER.

This program has been installed and worked properly on linux x86_64 arch. Download SVNDUMPSANITIZER.

To compile it, just run:

$ gcc svndumpsanitizer.c -o svndumpsanitizer

For complete help.

$ ./svndumpsanitizer --help

A typical command would look something like this:

$ ./svndumpsanitizer --infile full_svn.dump --outfile repo.dump --include Main_Repo/Trunk Main_Repo/code trunk/arch


 This should solve your exporting problem in a blink. 

 Enjoy.
 



Tuesday, June 18, 2019

Ubuntu - No audio after disconnecting from HDMI

  1. Open PulseAudio Volume Control. Install it if you don't have it.
  2. Install it if you don't have it., To install it apt-get install pavucontrol
  3. When you open it, go to "Configuration" : For one of the "built in audios" one has HDMI (unplugged) in front of "Profile". Choose "Off" for that profile as below image.

./Enjoy Fixing.

Saturday, August 22, 2015

Convert mp4 file/s to mp3 using avconv


Hello All,

Avconv is alternative to ffmpeg. Avconv is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter.

conversion of mp4 file/s to mp3 by using avconv

avconv -i input.mp4 -vn -f mp3 output.mp3

Enjoy conversion to mp3... :-)

Saturday, July 4, 2015

Hi,


Wireless driver installation for Toshiba Tecra z40.

 sudo apt-get install linux-headers-generic build-essential

wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.19-rc1/backports-3.19-rc1-1.tar.gz

tar -zxvf backports-3.19-rc1-1.tar.gz

cd backports-3.19-rc1-1

make defconfig-iwlwifi

make

sudo make install

And you will need firmware

wget https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-7260-ucode-23.15.10.0.tgz

tar zxvf iwlwifi-7260-ucode-23.15.10.0.tgz

sudo cp iwlwifi-*.ucode /lib/firmware

Reboot

If you realize that your wifi doesn't work in the future, it is likely that a kernel update occured and you will need to

cd backports-3.19-rc1-1

make clean

make defconfig-iwlwifi

make

sudo make install

Thursday, January 23, 2014

Ubuntu 10.04 ethernet controller issue - Dell Optiplex

After the installation of Ubuntu 10.04 on Dell optiplex 790, we found that the Ethernet controller is not working on it.


After some research I found that there are no Ethernet driver e1000e was installed as there was a bug in that & resolved very soon.

The driver e1000e installation steps as follows.

  1. Download the driver e1000e.
  2. unzip the package.
  3. Make a cd to the src folder inside the e1000e folder.
  4. execute make command before that ensure gcc installed.
  5. execute make install command.
  6. execute modprobe e1000e to add the module.
  7. Now you should see the network should be working fine.
 We found this issue only in 10.04 as we were using this  distribution version frequently. We have only tested this on Ubuntu 10.04.

Happy Networking...Enjoy... :)

Sunday, March 4, 2012

Backup SVN Repository


#!/usr/bin/perl
my $svn_repo = "/svn/reponame";
my $bkup_dir = "/var/backups/svn_backup/backup_reponame";
my $bkup_file = "reponame_backup-";


$bkup_file = $bkup_file . `date +%Y_%m_%d_%H_%M`;
chomp $bkup_file;
my $youngest = `svnlook youngest $svn_repo`;
chomp $youngest;


my $dump_command = "svnadmin -q dump $svn_repo > $bkup_dir/$bkup_file";
print "\nDumping Subversion repo $svn_repo to $bkup_file...\n";
print `$dump_command`;
print "Backing up through revision $youngest... \n";
print "\nCompressing dump file...\n";
print `bzip2 -9 $bkup_dir/$bkup_file\n`;
chomp $bkup_file;
my $zipped_file = $bkup_dir . "/" . $bkup_file . ".bz2";
print "\nCreated $zipped_file\n";

Sunday, May 1, 2011

Reliance Netconnect and Ubuntu / Debian

Hello Readers,

Oh!! Yeah, Finally reliance netconnect connected & started working on ubuntu 10.04 with easy simple steps followed to configure it.


  • Search the package usb-modeswitch & usb-modeswitch-data
root@cyclotron:~# apt-cache search usb-modeswitch usb-modeswitch-data

  •  Install the package usb-modeswitch & usb-modeswitch-data
root@cyclotron:~# apt-get install usb-modeswitch usb-modeswitch-data


  • Now follow the easy installation steps to get connected.
  • Systems --> Preferences --> Network Connection
  • Select Mobile Broadband --> Add --> Select your provider country --> Select your provider --> Confirm Settings
  • Now Enter the Phone Number in the Username box & Phone Number in the Password and Apply the settings.

Now you should get connected to the Reliance Netconnect. 


Enjoy Netconnect. :-)