Using snmp trap receiver on Fedora (Linux)

2009-11-25 1 min read Fedora

First off install the net-snmp things:

sudo yum install net-snmp net-snmp-utils

After that it will run out of the box with the command:

sudo snmptrapd -A -d -n -Lf trap.log

Some interesting links:

<a class="fixed" href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap" target="_blank">http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap
<a class="fixed" href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs" target="_blank">http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs
<a class="fixed" href="http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html" target="_blank">http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html

internal error from PackageKit — packagekit Error Type: <type 'exceptions.TypeError'>

2009-11-25 1 min read Fedora

If you get the below error then there is a bug files <a href="https://bugzilla.redhat.com/show_bug.cgi?id=476352" target="_blank">here.

Error Type:
Error Value: &#8217;NoneType&#8217; object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in

main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2277, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 600, in
dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 526, in
dispatch_command
self.refresh_cache()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1130, in
refresh_cache
self.yumbase.repos.populateSack(which=[repo.id], mdtype=&#8217;metadata&#8217;,
cacheonly=1)
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 223, in
populateSack
self.doSetup()
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 71, in doSetup
self.ayum.plugins.run(&#8217;postreposetup&#8217;)
File : /usr/lib/python2.5/site-packages/yum/plugins.py, line 178, in run
func(conduitcls(self, self.base, conf, **kwargs))
File : /usr/lib/yum-plugins/rpm-warm-cache.py, line 31, in postreposetup_hook
if commands[0] in (&#8217;upgrade&#8217;, &#8217;install&#8217;, &#8217;remove&#8217;):

Continue reading

RPMFusion release for YUM.

2009-10-17 1 min read Fedora

For people who have used yum on Fedora, you must have seen that couple of packages that you require are on Livna and couple of them on DAG and some others on FreshRPMs and Dribble. And for those of you, who have tried to install the packages from all these repositories, I know it is difficult. The repo&#8217;s never worked too well together.

So finallly there is a nice solution to all these problems, <a href="http://rpmfusion.org/" target="_blank">RPMFusion is the solution. This is a effort to merge the repo in all the four above mentioned repo. just now installed the repo and am updating my system and definately hope to get a lot lesser problems now. 🙂

Continue reading

Play video in Fedora.

2009-10-03 3 min read Linux

Found <a href="http://www.fedoraforum.org/forum/showthread.php?t=28153">here.<div class="smallfont">

How to multimedia xmms, rythmbox, mplayer, video, etc.

<hr style="color: #d1d1e1; background-color: #d1d1e1;" size="1" />

Lack of multimedia in fedora is one of my major complaints. This is intended for our newbies that have problems setup multimedia for mp3 music and dvd playback. Some commands are for fedora core 3, 4 and 5.

UPDATE: I started using <a href="http://www.fedoranews.org/tchung/mplayer/" target="_blank"><span style="color: navy;">mplayer. Make sure you download the 6 packages tchung is listing. This is my personal <a href="http://www.fedoraforum.org/forum/showthread.php?t=53335" target="_blank"><span style="color: blue;">yum installation of mplayer which can be compare to windows media player. Totem will also meet your needs.

Continue reading

Boot Linux Over HTTP With boot.kernel.org (BKO)

2009-10-01 1 min read Linux Uncategorized

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
  

<font SIZE="6"><a HREF="http://www.debianhelp.org/node/15823">Boot Linux Over HTTP With boot.kernel.org (BKO)

This tutorial shows how you can <a HREF="http://www.howtoforge.com/boot-linux-over-http-with-boot.kernel.org-bko">boot Linux over HTTP with boot.kernel.org (BKO). All that users need is Internet connectivity and a small program (gpxe) to boot the machine. This gpxe program provides network booting facility. BKO allows you to boot into the following distributions: Debian, Ubuntu, Damn Small Linux, Knoppix, Fedora. BKO provides gpxe images for USB sticks, CDs, and also for floppies, i.e., you can boot from a USB sticks, a CD, or a floppy.

Continue reading

Managing your remote site locally – sitecopy.

2009-06-12 2 min read Fedora Linux Uncategorized

If you are managing a remote site, web server that you do not have direct access to (terminal or ssh) and you have to do it with cpanel, then I know how much pain it is. I had the same issue until recently when I discovered <a href="http://http://www.manyfish.co.uk/sitecopy/" target="_blank">sitecopy.

Description of sitecopy:

sitecopy allows you to easily maintain remote Web sites.  The program will upload files to the server which have changed locally, and delete files from the server which have been removed locally, to keep the remote site synchronized with the local site, with a single command. sitecopy will also optionally try to spot files you move locally, and move them remotely.  FTP and WebDAV servers are supported.

Continue reading
Older posts Newer posts