Thursday, November 21, 2013
Wednesday, July 03, 2013
Workaround for Atheros Communications AR8152 Driver Hanging up Problem in Linux
My Ethernet controller AR8152 starts to hang up after few minutes of operation. I am running on Fedora 18. This issue was not there in Fedora 16.
[kasun@localhost ~]$ lspci | grep Atheros
03:00.0 Ethernet controller: Atheros Communications Inc. AR8152 v1.1 Fast Ethernet (rev c1)
[kasun@localhost ~]$
However this is a known issue which from February 2013.
Kernel Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=54021
Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=928220
My kernel is "3.9.6-200.fc18.x86_64". Here is the workaround I used.
Tuesday, April 30, 2013
Friday, January 18, 2013
How to make your USB drive bootable for Fedora 18 DVD ISO
![]() |
Fedora 18 |
After more than year of usage of Fedora 16, I decided to install Fedora 18. Since my DVD ROM started to give me problems few months ago, I decided to install Fedora 18 from USB drive. I had good experience with installing Ubuntu from USB drive. I used UNetbootin to make USB drives bootable. I tried same thing for Fedora 18 DVD. USB drive became bootable. But installer failed with "failed to mount /dev/root". Same problem with Fedora Live USB Creator.
Labels:
dd,
DVD,
fdisk,
fedora,
fedora 18,
Fedora Live USB Creator,
GParted,
GPT,
GUID Partition Table,
ISO,
Pen drive,
Thumb drive,
unetbootin,
USB
Wednesday, October 17, 2012
How to Restart Linux Sound System with out Reboot
Labels:
ALSA,
Automatically,
fedora,
kill,
linux,
Logitech,
Manually,
pulseaudio,
restart,
Sound,
Switching,
Ubuntu,
USB Head Set
Tuesday, October 16, 2012
Tuesday, April 10, 2012
How to Enable Search in OSQA
![]() |
OSQA Logo |
OSQA installation does not come with full text search. To enable it a sql data base should be imported in to existing database. In the folder
osqa-server/forum_modules/mysqlfulltext, the fts_install.sql should be imported in to existing database.
To do it 'mysql osqadb -h 127.0.0.1 -u osqauser -p < fts_install.sql'
Friday, April 06, 2012
How to compile skipfish in fedora?
You may have face this error.
Solution is install libidn-devel with yum.
kasun@kasendra skipfish-2.05b$ make
cc -L/usr/local/lib/ -L/opt/local/lib skipfish.c -o skipfish -O3 -Wno-format -Wall -funsigned-char -g
-ggdb -I/usr/local/include/ -I/opt/local/include/ -DVERSION=\"2.05b\" \
http_client.c database.c crawler.c analysis.c report.c -lcrypto -lssl -lidn -lz
skipfish.c: In function ‘main’:
skipfish.c:245:54: warning: variable ‘has_fake’ set but not used [-Wunused-but-set-variable]
http_client.c:39:18: fatal error: idna.h: No such file or directory
compilation terminated.
make: *** [skipfish] Error 1
kasun@kasendra skipfish-2.05b$
Solution is install libidn-devel with yum.
Sunday, March 04, 2012
Monday, February 06, 2012
Friday, January 20, 2012
Retrive Remote Time Stamp with Ping
The ping command can be used identity remote time of a remote host.
Command in Linux is
ping -T tsonly example.com
Command in Linux is
ping -T tsonly example.com
kasun@katalyst ~$ ping -T tsonly rt.com -c 2 PING rt.com (62.213.111.201) 56(124) bytes of data. 64 bytes from 62.213.111.201: icmp_req=1 ttl=44 time=329 ms TS: 29077018 absolute 4 -4 1637957848 absolute not-standard 101 29 -11 38 2 Unrecorded hops: 3 64 bytes from 62.213.111.201: icmp_req=2 ttl=44 time=487 ms TS: 29078020 absolute 11 3 1637757308 absolute not-standard 101 6 -13 38 1 Unrecorded hops: 4 --- rt.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 329.485/408.507/487.529/79.022 ms
Sunday, October 23, 2011
Sunday, October 02, 2011
Obtain Windows Update (Quick Fix) History in CMD
![]() |
Windows Malicious Software Removal Tool |
Obtaining patch information is critical while performing an audit on windows system. Windows Management Instrumentation allows obtain these information in command line in descriptive way.
command is should be run administrative command line. Out put can be sent to a text file.
Labels:
cmd,
command line,
patch history,
patches,
quick fix,
security,
updates history,
windows 2003,
windows 2008,
windows 7,
windows 8,
windows management instrumentation,
windows vista,
windows xp,
wmic
Sunday, September 25, 2011
Adding Bookmarks and Hyper Links to LaTeX Content Page
![]() |
Kile Logo |
Handling and creation of large documents which have more than 100 pages are not easy task with Microsoft Word and Libre Office Writer like word processing packages. After the limit of 50 pages, time spend for formatting significantly increasing in GUI word processors. Therefore best option is switch to LaTex.
Labels:
adobe reader,
bookmarks,
Content Page,
Hyper Links,
hyperref,
Kile,
LaTex,
pdf,
Tex
Tuesday, July 26, 2011
How to install Vuze / Azureus 4.6 to Kubuntu / Ubuntu
Labels:
10.04,
10.10,
11.04,
Azureus,
BitTorrent,
kubuntu,
linux,
Lucid,
Lucid Linux,
Natty,
Natty Narwhal,
Torrent,
Ubuntu,
Vuze
Tuesday, July 19, 2011
How to install Firefox Latest to Kubuntu / Ubuntu 10.04
![]() |
Mozilla Firefox 5 |
Step 1: Open a new command shell (Teminal or a console) and add the firefox repo as 'sudo apt-add-repository ppa:mozillateam/firefox-stable'
Output will be as follows
kasun@konkord:/home/kasun# sudo apt-add-repository ppa:mozillateam/firefox-stable Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg
--trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg
--keyserver hkp://keyserver.ubuntu.com:80/ --recv 0AB215679C571D1C8325275B9BDB3D89CE49EC21 gpg: requesting key CE49EC21 from hkp server keyserver.ubuntu.com gpg: key CE49EC21: public key "Launchpad PPA for Mozilla Team" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) kasun@konkord:/home/kasun#
Labels:
10.04,
10.10,
11.04,
5,
add,
apt-get,
firefox,
firefox5,
kubuntu,
linux,
Lucid,
Mozilla,
Mozilla Firefox,
Mozilla Firefox 5,
Natty,
Natty Narwhal,
repository,
stable,
Ubuntu,
Ubuntu 10.04
Friday, June 17, 2011
Thursday, May 26, 2011
Install w3af 1.0 in Fedora - Python-svn Dependancy Solving
Famous web application testing tool kit 'w3af' released a stable version on 25th May 2011. How ever when I run w3af-gui, it tells it needs 'python-svn' and suggest to run apt-get install python-svn.
In a fedora based system 'yum install python svn' will not work since package comes with a different package name. Therefore to install python svn, 'yum install pysvn' should be issued.
Labels:
apt-get,
attack,
audting,
fedora,
pysvn,
python-svn,
testing,
w3af,
web application,
yum
Monday, May 16, 2011
How to install Clementine Music Player for Ubuntu 10.04 Lucid
Labels:
apt,
apt-get,
Clementine,
install,
juke,
jukebox,
linux,
Lucid,
Lucid Linux,
music player,
Ubuntu,
Ubuntu 10.04
Subscribe to:
Posts (Atom)