Wednesday, May 24, 2006

Ubuntu Release Party!

Its Ubuntu Dapper Release Party on June 3, 2006 at 3:00 pm at the Coffee Bean and Tea Leaf at Green Belt, Makati! I may attend for pressed Ubuntu Dapper CDs maybe given away plus of course meeting fellow Ubuntites in the Philippines.

Ealden's email announcement regarding this is here.

Now where in the world is my brown shirt?!

Friday, May 19, 2006

Lazy Unmount

Have you ever had this problem of unmounting your CDROM that comes with the error that the device is busy or whatever?!

Now, what you want is to force it to unmount so you do a "sudo umount -f /media/cdrom0".

It won't work. Try to do a lazy unmount instead:

$sudo umount -l /media/cdrom0

and most of the time, it will work. :) It may also work on other devices.

Cheers!

P.S.: If everything else fails, press the CPU OFF button then pull out your CD during boot-up! Now that's lazy unmount! :)

Wednesday, May 17, 2006

Apt-Get Easter Egg

I was PMed by one of my students (who is now actually better than me) and asked me to do a "sudo apt-get moo" and said that "may lalabas na kalabaw". He must be kidding, right?!

Do it yourself at the terminal. :)

(__)
(oo)
/------\/
/ | ||
* /\---/ ~~ ~~
...."Have you mooed today?"...

Neat.

Monday, May 15, 2006

Dapper CD Please!!!

Dapper CD Please!!!

For the love of Ubuntu, please send me a cd of Ubuntu (or Kubuntu) Dapper (Beta is fine).

I'm still on dial-up that's why I can't download it on my own. My mailing address is at:

David T. Asuncion, Jr.
c/o Office of the Mayor
Gerona Town Hall
Pob. 3, Gerona 2302, Tarlac.

Please! Im dying to have one!

Wednesday, May 10, 2006

Webserver Down, I Repeat...

Aaarrrrgghhhh!!!

Our webserver for www.gerona.gov.ph is under attack by some bot that eats up our bandwidth...

That is why in only ten days, our 2 Gb bandwidth is gone.

I have to do something but I have to wait for 20 days more. Inis. I will really work hard to transfer it to Joomla or any other open source CMS.

Any suggestions?

Tuesday, May 02, 2006

Ubuntu Printer Sharing: a Repost

This is a re-issue of my blog post on my previous pseudo tech blog... and its my personal favorite coz it has been a "bestseller". I hope it helps!

I want to share my HP printer (old) to other computers (Ubuntu and Window$ boxes) in a LAN.

There must be some other ways to do it but this is how it worked for me (learned it with Mr. Google):

Backup your /etc/cups/cupsd.conf:

>> sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.backup

Edit /etc/cups/cupsd.conf:

>> sudo gedit /etc/cups/cupsd.conf

Delete everything in the file and replace it with the values below (replace 192.168.0* appropriately with your LAN configuration):

DefaultCharset notused
LogLevel info
Printcap /var/run/cups/printcap
User cupsys
Group lpadmin
RunAsUser Yes
Port 631
Include cupsd-browsing.conf

BrowseAddress @LOCAL
SystemGroup lpadmin

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.*
</Location>

<Location /jobs>

AuthType Basic
AuthClass User
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1

</Location>

To enable, do a:

>> sudo /etc/init.d/cupsys restart

On the Ubuntu or Linux boxes where you want to share your printer, open to edit /etc/cups/client.conf:

>> sudo gedit /etc/cups/client.conf

And add the following:

ServerName hostname (hostname or IP of the printer server)

Once this is all setup, you should be able to go to: System -> Administration -> Printing and in the top tool bar you'll see: Global Settings You'll want to make sure the following is checked:

Detect Lan Printers

On the Windows boxes, just add the printer server as you normally do.

To make your printer browsesable in a LAN network, edit your /etc/cups/cupsd-browsing.conf:

>> sudo gedit /etc/cups/cupsd-browsing.conf

Simply replace the word "Off" with "On" (without the ""), don't worry...that file has only one line so you won't ever have difficulties finding it. I guess you have to do a "sudo /etc/init.d/cupsys restart" after this. :)

So that's it! Everybody happy printing their stuff on your HP or any other installed printer on your PC!

UPDATE: To share your printer with Windows PCs, in the add printer wizard there is a step there when you'll have to enter the following lines:

>> http://ip_address_of_server:631/printers/share_name_of_printer

Voila! That's it mama!

Bayanihan: From RPM to Deb?!

Bayanihan Linux 3.1 was my first ever Linux distro. I got my first every Linux distro CD from ASTI office wherein I also bought BL 3.1 black tshirts. I was an instant Linux fan.

It was based on Fedora Core then but it has now switched to Debian thus my excitement! Well, I have nothing against Fedora. I just felt that I will be more "at home" using the new Debian-based Bayanihan Linux as I am currently using Ubuntu Linux... where every installation is only an apt-get away. :)

The following is the annoucement post made by Rage Callao at the Philippine Linux User's Group (PLUG) mailing list, to wit:

Hello everyone,

Bayanihan Linux, a project of the Advanced Science and Technology
Institute of the Department of Science and Technology, has released
the first beta version of Bayanihan Linux 4.

This beta/testing release features:

- Debian Sarge/stable 3.1 based core
- graphical installer
- updated kernel to 2.6.16
- KDE 3.5 desktop
- OpenOffice.org 2
- Firefox 1.5
- Imendio Planner, Kile, KMyMoney2 and Scribus
- GIMP 2.2.10 and Inkscape for graphical editing
- XMMS and MPlayer for audio and video playback
- Guarddog Firewall and Synaptic Package Manager
- Smb4k browser

To download, please visit: http://bayanihan.gov.ph

We welcome suggestions that will help improve this release and
encourage everyone in the local linux community to contribute. If you
would like to participate in its ongoing development please feel free
to contact us at the below email address or visit us at:

ASTI Building, C.P. Garcia Avenue
U.P. Technology Park, Diliman
Quezon City

email: bayanihan@asti.dost.gov.ph

or call: 426-3572

Following is a preliminary to-do list for those who are interested to volunteer:
* testing/patches/bugfixes/
* a working text based installer
* government forms and permission to include these forms in BL
* wallpapers, graphics, themes
* wine tweaks for apps and games


I know this is not as big as Ubuntu but hey, this is our very own! ASTI has also released its CENTos based Bayanihan Server edition. I am already prodding my friend to download them for me. I'll keep you all posted :).