steps for webcam + send pics setup for my LAN
- idetify webcam
- install kernle driver + v4l stuff
- get webcam capture script into place + create webcam user account
- get cron into place
<div class="item_footer"><p><small><a href="http://blog.torbonium.com/index.php/title-2?blog=10">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>- idetify webcam
- install kernle driver + v4l stuff
- get webcam capture script into place + create webcam user account
- get cron into place
]]>Like most web apps, Mailman pretty much assumes that you want to install in a subdirectory of the main (and only) site. The file it installs into /etc/apache/modules.d/50_mailman.conf has the 'Location' tag specify http://www.example.com/mailman - where I usually prefer http://mailman.example.com - here's how I made this simple switch.
<div class="item_footer"><p><small><a href="http://blog.torbonium.com/index.php/mailman_using_a_apache_vhost_in_gentoo?blog=10">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>In my continuing quest to monitor everything via Zabbix, I wanted the Apache status information available from the mod_status module. I had already added the needed lines into my Zabbix conf file, but the results were not getting returned properly.
Here's what the Apache2 mod_status documentation is: http://httpd.apache.org/docs/2.0/mod/mod_status.html
I wanted this info to come from a sub-domain - and I wanted is to be very restricted, by IP address, so it would not be available to the world.
<a href="http://blog.torbonium.com/index.php/zabbix_and_monitoring_apache_gentoo_mod_?blog=10#more76">Read more »</a><div class="item_footer"><p><small><a href="http://blog.torbonium.com/index.php/zabbix_and_monitoring_apache_gentoo_mod_?blog=10">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>Today was interesting - I fixed a b2evolution blog on another server. It seems that someone in my Shaw Home account IP Address range had been sending out a lot of Spam or some such, and so my Shaw Home Account IP range was on a blacklist - what fun! Even better - since my b2evolution blog software came with the DNSBL Antispam blacklisting service, which I enabled, but didn't enable the captcha access - I was locked out of my own blog.
This took a short while to fix ...
The message was something like:
Your IP address is blocked
Your IP address is listed ... (blacklist)
From these instructions
http://gentoo-wiki.com/HOWTO_Monitor_your_hard_disk(s)_with_smartmontools
smartctl -i /dev/hdd
smartctl -H /dev/hdd
smartctl -l error /dev/hdd
smartctl -c /dev/hdd
smartctl -t offline /dev/hdd
smartctl -l error /dev/hda
smartctl -t long /dev/hda
date
smartctl -l selftest /dev/hda
smartctl -t conveyance /dev/hda
http://gentoo-wiki.com/HOWTO_Monitor_your_hard_disk(s)_with_smartmontools
smartctl -i /dev/hdd
smartctl -H /dev/hdd
smartctl -l error /dev/hdd
smartctl -c /dev/hdd
smartctl -t offline /dev/hdd
smartctl -l error /dev/hda
smartctl -t long /dev/hda
date
smartctl -l selftest /dev/hda
smartctl -t conveyance /dev/hda
Sometimes Gentoo could do better in helping out with simple upgrades:
After upgrading to a new grub (linux hard drive bootloader) I saw this message:
* Messages for package sys-boot/grub-0.97-r5:
* *** IMPORTANT NOTE: you must run grub and install
* the new version's stage1 to your MBR. Until you do,
* stage1 and stage2 will still be the old version, but
* later stages will be the new version, which could
* cause problems such as an unbootable system.
I found this explanation:
http://forums.gentoo.org/viewtopic-t-692724-highlight-grub+upgrade.html
to do this:
# grub-install hd0
I wish there was some way to get an Gentoo package upgrade automatically have a forum entry - with a helpful hint or two by the maintainer even better.
<div class="item_footer"><p><small><a href="http://blog.torbonium.com/index.php/gentoo_grub_update?blog=10">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>After upgrading to a new grub (linux hard drive bootloader) I saw this message:
* Messages for package sys-boot/grub-0.97-r5:
* *** IMPORTANT NOTE: you must run grub and install
* the new version's stage1 to your MBR. Until you do,
* stage1 and stage2 will still be the old version, but
* later stages will be the new version, which could
* cause problems such as an unbootable system.
I found this explanation:
http://forums.gentoo.org/viewtopic-t-692724-highlight-grub+upgrade.html
to do this:
# grub-install hd0
I wish there was some way to get an Gentoo package upgrade automatically have a forum entry - with a helpful hint or two by the maintainer even better.
]]>I keep getting these errors in my dnsmasq.log file:
Jun 22 21:34:48 fire dnsmasq[28990]: DHCPACK(eth1) 192.168.333.100 00:13:8f:c7:b7:31 gamer5
Jun 22 21:34:48 fire dnsmasq[28990]: not giving name gamer1 to the DHCP lease of 192.168.333.126 because the name exists in /etc/hosts with address 192.168.333.67
Jun 22 21:34:48 fire dnsmasq[28990]: not giving name gamer2 to the DHCP lease of 192.168.333.43 because the name exists in /etc/hosts with address 192.168.333.94
Very annoying, because it means that the IPs I've assigned to these machines aren't making it somehow.
After researching it looks like I may have put too much info into the /etc/dnsmasq.conf file:
dhcp-host=00:02:RR:0F:8E:RR,192.168.333.34,gamer8
dhcp-host=00:06:RR:70:00:RR,192.168.333.63,gamer9
I will remove the host name from this and see if that fixes it.
Update - this works great - guess too much info can be an issue.
Solution looks likes this:
dhcp-host=00:02:RR:0F:8E:RR,192.168.333.34
dhcp-host=00:06:RR:70:00:RR,192.168.333.63
----
Also: to delete the current dnsmasq DHCP leases:
# /etc/init.d/dnsmasq stop
# nano /var/lib/misc/dnsmasq.leases - remove offending entries
# /etc/init.d/dnsmasq start
Jun 22 21:34:48 fire dnsmasq[28990]: DHCPACK(eth1) 192.168.333.100 00:13:8f:c7:b7:31 gamer5
Jun 22 21:34:48 fire dnsmasq[28990]: not giving name gamer1 to the DHCP lease of 192.168.333.126 because the name exists in /etc/hosts with address 192.168.333.67
Jun 22 21:34:48 fire dnsmasq[28990]: not giving name gamer2 to the DHCP lease of 192.168.333.43 because the name exists in /etc/hosts with address 192.168.333.94
Very annoying, because it means that the IPs I've assigned to these machines aren't making it somehow.
After researching it looks like I may have put too much info into the /etc/dnsmasq.conf file:
dhcp-host=00:02:RR:0F:8E:RR,192.168.333.34,gamer8
dhcp-host=00:06:RR:70:00:RR,192.168.333.63,gamer9
I will remove the host name from this and see if that fixes it.
Update - this works great - guess too much info can be an issue.
Solution looks likes this:
dhcp-host=00:02:RR:0F:8E:RR,192.168.333.34
dhcp-host=00:06:RR:70:00:RR,192.168.333.63
----
Also: to delete the current dnsmasq DHCP leases:
# /etc/init.d/dnsmasq stop
# nano /var/lib/misc/dnsmasq.leases - remove offending entries
# /etc/init.d/dnsmasq start
Following most of this how-to:
http://gentoo-wiki.com/HOWTO_Monitor_your_hard_disk(s)_with_smartmontools
I've set it up to email the various Gmail account for my servers. So now hopefully I'll get some advance warning if a hard drive is thinking about failing (which thankfully hasn't happened yet, thanks mostly to a once-every-two-years-or-so hard drive upgrade for these machines).
<div class="item_footer"><p><small><a href="http://blog.torbonium.com/index.php/monitoring_gentoo_server_hard_drive_stat?blog=10">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>http://gentoo-wiki.com/HOWTO_Monitor_your_hard_disk(s)_with_smartmontools
I've set it up to email the various Gmail account for my servers. So now hopefully I'll get some advance warning if a hard drive is thinking about failing (which thankfully hasn't happened yet, thanks mostly to a once-every-two-years-or-so hard drive upgrade for these machines).
]]>