Monday, December 12, 2005

FreeBSD's own LOGO! Cool!

I guess you already know the differences between FreeBSD logo and the BSD mascot. Yeah FreeBSD has been usin Beastie on their website fer a very long time while OpenBSD have their own logo (envyish.. was.. I'm not too sure bout NetBSD though.). Even the new DragonflyBSD have their own logo! (actually Fred the DragonFly is their mascot too and I feel weird bout it. BSD but with another mascot? Huh? Ah well they're dragonfly anyway. Bah!). But now our prayers has been answered. We FreeBSD-ers now have our own logo to brag about. And the logo is very nice. Here's the link of the new logo FreeBSD logo design competition : result. I'm already droolin at the T-shirt design. Me want one!

Yeah I know it seems like I've abandoned this FreeBSD blog of mine but actually I'm not. As my D270S is the only source fer my computin need and the NIC is kaput, well, what's else is there to say? Thanks to a bad windows error I had to reinstall my XP and everybody knows that XP is a boot sector hog. *sigh*. I'm eyein fer an AMD64 laptop fer my FreeBSD and a desktop fer my windows. Then there'll be a minor changes fer this blog as I'll no longer focus on FreeBSD on D270S but FreeBSD on any machine I own instead. Wish me luck on that. Later then. Can't wait to grab FreeBSD 6!

Monday, November 28, 2005

FreeBSD has a new layout! Woot!

I don't know how long it has been but have you guys notice that FreeBSD is now on a new layout? Wow it's cool to see the new layout. Yeah I guess I'm the last person who noticed the changes.

Heck it's been a long time since I last log in to my 5.4-STABLE. 6.xx is out already and I don't think I'll be installin it in my laptop anytime soon. The burnt NIC kept me in dilemma. I'll savin fer a new laptop. Maybe an IBM after this. And it'll be fully fer FreeBSD only. That is when I bought a desktop fer my windows use. Later.

Tuesday, May 24, 2005

PcBSD - FreeBSD for desktop.

Yet another project derrived from FreeBSD OS. It's a FreeBSD based, uhm, project with an aim to make BSD more desktop-friendly. As written on the project's overview:

PC-BSD has as its goals to be an easy to install and use desktop OS, which is built on the FreeBSD operating system. To accomplish this, it currently has a graphical installation, which will enable even UNIX novices to easily install and get it running. It will also come with KDE pre-built, so that the desktop can be used immediately. Currently in development is a graphical software installation program, which will make installing pre-built software as easy as other popular operating systems.

I have a mixed feelin bout this. I'm happy because the potential of this project to make more desktop users migrate to the stable OS of BSD. On the other hand, I think it's somewhat a bit of a waste of resources. It's like seein the another fork of FreeBSD (eg: DragonflyBSD, not the same situation as this PcBSD project, I know.) where instead of concentratin on in tailorin FreeBSD fer whatever purpose they have in mind (desktop friendly etc.), they just break from it, make a new stuff out of it with a new style (independant package management etc.) and then what? We're goin to go the way linux is? Choices are good but too many of it (eg: the, *ehem*, gazillion of linux distros out there...) will surely (strictly in my personal opinion) make a mess. Anyway, this is just opinion. Fer me, my preference of an OS (desktop / server / whatever) is still the great FreeBSD. I don't need an "easier" BSD usin FreeBSD's technologies/stability to have fun with my desktop/laptop, FreeBSD is not that hard fer newbies nowadays (I am still a damn proud FreeBSD newbie) and if I wanted a tailored version of it, I'll tailor it to suit my need meself. Like I said, this is strictly my opinion and I know not many are with me on this.

I got nothin against DragonflyBSD, mind you. As far as I know, DragonflyBSD is doin great and that is good. But somehow it's sad to realise that most of the developers was FreeBSD developers and they breaks from it.

But hey, whatever the OS you're into, it's great as long as you're happy with it. That's what OS are fer anyway, makin sure you're havin fun with your computer(s). Later.

5-STABLE + Fluxbox screenshot uploaded!

Yeah you heard me right. Go to my homepage to see it! Now! (^_^)y. It's located in [FreeBSD & Me] > [Screenshot] section if you got lost.

Monday, May 23, 2005

X screensaver?

Okay, on the the screensaver. Now Fluxbox is a minimalist window manager. No GUI configuration stuff, no screensaver module built-in. So how? Get xlockmore which basically a screen lockin program but has tons of screensavers coded with it. Now this baby lock your current X session and display your choice of prebuilt screensaver module (matrix, GL stuff etc.). So to make this xlockmore program to act like a real screensaver (automatic lockin on specific time), I got meself xautolock. This xautolock do just what the name implies, it'll automatically lock your X session after the period of time you specified. After a brief visit to xlockmore homepage and readin the man xlock (xlockmore is a continuation of xlock, so although the port is called xlockmore, the program is xlock.) and man xautolock, I found out that I need to edit ~/.xinitrc.

===== ~/.xinitrc starts =====

--- Fluxbox specific stuff snipped ---

# Loadin xautolock to use xlockmore
xautolock -time 5 -corners 000- -cornersize 20 -locker "xlock -enablesaver -lock delay 60 -mode matrix" &


--- more Fluxbox specific stuff snipped ---

===== ~/.xinitrc end =====


Now I have to put the & sign at the back of the xautolock .. line because it'll keep xautolock waitin until X loads all the variables/commands in ~/.xinitrc (includin Fluxbox window manager and all the slit I have.). Yours maybe different so better google fer it. Now let me explain what the commands mean.

Ehem. The line above is the same as sayin that:

xautolock will function in 5 minutes if my mouse pointer is not around the 20pixels square on the bottom-right of my screen usin xlock that enables normal screen blankin and will only lock the screen 60 seconds after the matrix screensaver are displayed.

I know the words above is quite ridiculous so you better check out man xlock and man xautolock. I also added a menu in Fluxbox fer me to lock my X session on the fly. I just edit ~/.fluxbox/menu and add:

[exec] (Lock Screen) {xlock -enablesaver -mode matrix}

I guess my laptop's monitor support DPMS feature (EnergyStar saving) and I open /etc/X11/xorg.conf and added:

# *******************************
# Monitor section
# *******************************

Section "Monitor"

--- other variables snipped ---

Option "DPMS"

EndSection


It might work or I might be wrong. Anyway nothin bad has happened after I test out the xautolock and xlock though, so I might be on the right side (^_^).

I'm thinkin bout uploadin my latest configuration files (/etc/rc.conf, ~/.xinitrc etc.) to my homepage soon. Later then.

Enlightenment deinstalled.

Enlightenment had to go. I'm stickin to Fluxbox. Not that there's anythin bad with Enlightenment though. It's just that I don't want too many window manager here. To have the console and Fluxbox is enough. 10Gb of space ain't that big nowadays. If my FreeBSD can use this laptop's winmodem, my XP too will be gone. Anyway FreeBSD is as good as I ever experienced it years before. If you never tried it, you better. It's not that hostile fer desktop usage nowadays. In fact, FreeBSD maybe your choice of desktop OS once you tried it.

I'm cleanin up unused ports (which is the dependencies of Enlightenment that I have just deinstalled, I think there's quite a lot of it.) which scatters my Clevo M22ES's hard disk. I heard of a program that can show dependencies like a tree view. Ah, the program is pkg_tree.

I know, I know, I still haven't done anythin with sendmail. Sheesh. Later.

Sunday, May 22, 2005

Enlightenment went garbled because of unresolved dependencies.

I've installed Enlightenment window manager and there's somethin weird happenin. Everytime I issue startx, Enlightenment seems like it has lost the themes (screen went garbish and got no theme). So after a lookin at enlightenment's dependencies list, I found out that this file is not yet installed:

libltdl-1.5.10

This file is located in /usr/ports/devel/libltdl15 and i install it. The next Enlightenment session later was lovely. Now the (default) theme is there and it look just gorgeous. If you stumbled into somethin similar like this with Enlightenment, you probably need to look at the dependencies file. I don't know if it's the port bug that make that specific file unresolved while installin, or I mess up the upgradin process before and made this happen.

Enlightenment is a lovely window manager and yet, Fluxbox got more votes from me because the sheer simplicity. Now I can change the darn Fluxbox background! I guess the missin dependency file above made the whole problem with changin wallpaper. The fluxbg port I installed couldn't work though. I had to issue the fbsetbg command manually. *sigh*.

vampire# fbsetbg -u ~/path_to/wallpaper.jpg

Oh yeah fbsetbg can now use Esetroot (wallpaper setter program, came bundled when installin Eterm), like I've said earlier, the missin dependency file is the culprit. No more dull background! Hurrah!

Saturday, May 21, 2005

Upgradin to 5-STABLE completed. *phew....*

Fer almost 24hours, I've been upgradin my 5.3-R to 5-STABLE. The major problems are solved. Silly me I accidently left ports-devel line in my ports-supfile commented so I was stuck fer a few hours wonderin why the heck I keep gettin older version of some dependency files. FYI, I don't use ports-all because I'm excludin all the language-specific ports such as ports-arabian, ports-chinese etc. Anyway now it's ok and thank goodness the major part of the upgrade is completed.

I have to reconfigure Xorg because Fluxbox can't start. The usual xorgconfig script does the job well and I'm runnin fluxbox-devel (development version). Rounded window are just sexy. Got my Firefox crashes a few time when I'm changin the Fluxbox theme though.

Whoa! The CPU is really tolled! I'm currently installin fluxbg, program to change fluxbox's wallpaper and I don't know if this is makin my CPU processin like mad. I better check out on this later.

Use gnome_upgrade.sh to upgrade broken Gnome ports.

It's 12:30 in the afternoon and the portupgrade is yet to be completed. It seems that the new Gnome version cannot be simply upgraded usin portupgrade. /usr/ports/UPDATING file mentioned about this (and I was left confused fer quite a while figurin what happened to Gnome upgrade..). Here's the info on how to upgrade the new Gnome 2 correctly.

http://www.freebsd.org/gnome/docs/faq210.html

I have to use an upgrade script provided in that site, named gnome_upgrade.sh and currently, I'm usin it. Got a problem with not enough temporary space in /var/tmp so I added:

MC_TMPDIR="/usr/tmp"

in the script file and mkdir tmp (make directory name [tmp]) in /usr before the script can continue successfully. All my gnome related program are currently broken so this step is essential. I'm currently figurin out on how to answer the questionaires printed by that gnome_upgrade.sh script. Later on this.

It's FreeBSD 5-STABLE now!

Yup. That's right. I've just finished upgradin my (previously) 5.3-RELEASE to 5-STABLE.

Alsemo@vampire> uname -a
FreeBSD vampire.homeunix.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat May 21 02:13:49 MYT 2005 root@vampire.homeunix.org:/usr/obj/usr/src/sys/VAMKERNEL i386


Now it's portupgrade time (man portupgrade fer more info) so that all the ports I've installed in my FreeBSD will be updated to the latest version. There's an error with fluxbox when I'm tryin to do a portversion -v but after I issue pkgdb -F and type yes to the questionaire, portversion -v doesn't complain anymore. Fluxbox seems to be up-to-date though. Well I'm in console now so it'll be another few minutes or hours till all the ports and required dependencies are updated before I can test Fluxbox. Thank goodness I just installed a few important ports or else it might take far longer. Later.

Friday, May 20, 2005

Upgradin to 5.4-STABLE started.

Yup. Right now I'm upgradin my 5.3-R to 5-STABLE. Usin TaoSecurity: Keeping FreeBSD Up-To-Date and Freebsd Handbook: CVSUP as my references, I'm crossin my fingers now. My stable-supfile are pretty much the same as /usr/share/examples/cvsup/stable-supfile with the only difference is I'm usin cvsup.sg.FreeBSD.org as my CVSUP host. CVSUP is currently runnin so I better prepare on how to buildworld etc. Wish me luck then. Can't wait to ride on 5-STABLE! Later.

Graphic-enabled Links!

Hurrah! I finally found the solution to enable Links displayin graphic! Anyway currently I'm havin problem runnin graphic-enabled links from console. It seems like my generic VGA driver are capable of a few small resolution display, and usin my VESA driver keeps makin my FreeBSD displayin blank screen and freezes when I tried 800x600x256 mode (the only 800x600 mode fer my VESA driver). So everytime it freezes (I'm doin an intensive testin, so it freezes fer a gazillion times), the only way to escape is to hit [Ctrl] + [Alt] + [Delete] (quick reboot). I'm guessin that ***x***x256 (256 bit color) is the culprit here. I got no problem with graphic-mode links runnin in X though because it uses Xorg instead of svgalib.

I already have links and I don't know if it's graphic-enabled. So, to be sure, I deinstalled it. Then I sued, and go to /usr/ports/www/links where the file hides. This time, instead of just make (or make install clean, whatever you prefer), I type this:

vampire# make -DWITH_SVGALIB

so that the links port I'm about to install will have graphic capabilities compiled in. Then I install it.

vampire# make install clean

Dependencies resolved, no error, so the installation went fine. Now, accordin to The FreeBSD Console - Living without X (one of my fav FreeBSD related website.), I have to edit /usr/local/etc/vga/libvga.config and test out different configuration to get my graphic-enabled links run smoothly in console. No sample given so I was left out to figure it by meself. I tried a few configuration like uncommentin VESA driver, altering the monitor refresh rate to:

HorizSync 31.5 37.9
VertRefresh 50 90


with no result I can consider truly successfull. Don't get me wrong, I can get links to display graphics in console but the resolution is small. The biggest resolution I can get is 640x480x16 which leaves a surroundin blank space on the display when run. There's another mode fer 640x480 resolution which is usin 256 bit color but like I've mentioned above, I think that color mode is the culprit which made my console freeze. If only there's a 800x600x16 mode. More on this later hopefully. Do a man svgalib fer more info on svgalib.

On to links in X. Now usin xorg, this baby flies! man links tells me that issuin links web.site.url will open a text-mode links and links -g web.site.url will open up a graphic-enabled links. So I edit ~/.fluxbox/menu and put:

[exec] (Links-X) {links -g}

so that everytime I click on Links-X in my Fluxbox menu, a blank graphic-enabled links will run. links runnin in graphic mode still retain the same operation method like the text-mode links (usin keyboard fer navigation etc) and the only difference is pictures! I must say the images displayed in graphic-mode links is cool.

Another thing to remember, I have to su before I could use links -g in console because program that want to access svgalib must have root permission. There's a few way instead of suing just to use graphic-mode links, but because I still have to make the 800x600 resolution fer links work first, so I'm not goin to bother with it yet.

I'm still havin problem with my background. *sigh*. Later then.

p/s: Did anybody say screenshot?

Thursday, May 19, 2005

Why can't I change Fluxbox background? answered.

I think I know why I can't change my Fluxbox background. It seems that I don't have any program what can be use by fbsetbg module such as:

display
Esetroot
chbg


which is required because fbsetbg uses the mentioned program above to set the background wallpaper. Esetroot can be installed by installin eterm (another terminal fer X) but unfortunately, I can't install eterm because I got "File not found" error when usin port. Drats. I installed fluxbg, a program that can change Fluxbox background wallpaper usin GUI. But because of the problems I mentioned earlier in this post, I'm stuck with the dull blue background. *sigh*. Wan't to know more bout fbsetbg? Then go to this link.

The Gimp, Dockapps & GTKSee.

I'm currently waitin fer the Gimp port to install. It's takin quite a while. In the mean time, I'm searchin fer some usefull dockapps (program that can be put as an icon, slit thingy fer Fluxbox) and I found quite a few worthwhile items listed in FreeBSD Ports Collection. Here's a few I'm gettin:

wmmon (system load/performance monitor)
wmnd (application to monitor network stuff)
wmbsdbatt (battery status meter, dockable fer fluxbox)
wmmultipop (pop3 email checker supportin a multiple pop3 account)
genmenu (generating menu fer Fluxbox, Blackbox etc.)

I've successfully put XMMS to the slit (iconize it) and if I want the XMMS slit to start everytime I'm startin Fluxbox, I need to edit ~/.xinitrc. Here's my ~/.xinitrc (shamelessly taken from Fluxbox website:

############## ~/.xinitrc start #############
# Startin Fluxbox
fluxbox & wmpid=$!

# Dockapps fer Fluxbox slit
wmxmms &

# HANG POINT - Wait for windowmanager to exit
wait $wmpid
############## ~/.xinitrc stop #############


Ahh The Gimp is finally installed. And it's workin like a charm. Such a nice work. Now to see if my docked XMMS is functionin.

I installed GTKSee, an ACDSee clone to view images. Nice.

Next installation - Mozilla Thunderbird. Later.

Wednesday, May 18, 2005

Scroller works, Gimp & image viewer.

The touchpad now works like it should and the usb mouse scroller is workin too. If you would like to see how it's done then go ahead to my homepage and look at Run FreeBSD, Run link under the FreeBSD & Me section. My xorg.conf is located under /etc/X11/xorg.conf. I'm thinkin bout uploadin my current *.conf files of this 5.3-R.

Next, I'm thinkin of puttin Gimp. It's a graphic editor just like Adobe Photoshop. In the Open Source world, this program is the best. It also have plugin support and this program is really a professional tool without burnin a nickel.

I'm searchin fer a good image viewer program fer my FreeBSD. Somethin that works just like Brennig's Image Viewer (used to be SlowView before, a freeware then went to Brennig's which is also a freeware and now Image Commander which is commercial.). Current candidates:

GImage View

Gaim installed, preparin fer make world & mouse scroller.

Yup, now I've installed GAIM, the multiprotocol messenger fer *nix/linux. It's currently workin like a charm. Because I've installed Firefox web browser, the dependencies required fer Gaim installation are minimum. Got no glitches whatsoever while make-ing the port so it's good.

I'll probably start my upgrade process to 5.4 this Saturday/Sunday. I don't quite sure yet. But my FreeBSD will definitely be upgraded soon.

I'm currently findin the file needed fer Xorg so that I can use the scroller of my usb mouse. Somehow Xorg is different from XFree86. Later.

Monday, May 16, 2005

TaoSecurity: Keeping FreeBSD Up-To-Date

At last! A beneficial read that shed a beautiful light on how to keep my FreeBSD up-to-date without requirin me to be an uber or a rocket scientist. TaoSecurity: Keeping FreeBSD Up-To-Date is a great read indeed. It has many tips on how to keep your FreeBSD uptodate usin CVSup and plus many others!

TaoSecurity: Keeping FreeBSD Applications Up-To-Date is about keepin the applications in FreeBSD up-to-date. Ho boy what more can you ask? Rest assured that my FreeBSD will be 5.4-STABLE soon! Later.

MPlayer vs Software Patent

The MPlayer main website's front page has changed. Click this link => Free Software Multimedia Threatened by Software Patents. Yeah I mentioned somewhere in my website bout the software patent before (probably in my [Links & Disclaimer] section) and the final vote fer it is near. Wow. If the EU voted fer software patent, then we're much to be afraid of. Start makin your own fonts, your own OS (code it from scratch definitely) oh but write the codes with your own programmin language using your own compiler. Damn.

So I was lookin fer a program to play movies / VCD / Divx / mpg etc etc. I still go fer MPlayer.

XMMS runnin, How to add program in Fluxbox menu & Firefox outdated.

XMMS is workin like a charm. I can listen to my mp3s contained in /backup partition (the Fat32 e:\ drive in Windows).

I also found out on how to create your own menu fer Fluxbox in case your newly installed program is nowhere to be found in the menu list. Edit the ~/.fluxbox/menu file (~/ means that it's your home directory.) then look at it. It's basically simple. Fer example, I add XMMS in it.

[exec] (XMMS) {xmms}

then wallah! the menu is there when I do the left click. On the fly. man fluxbox fer more information. My Fluxbox background is still dull and I know I have to write some file somewhere to make it.

Firefox is runnin fine but I can't get any extension because mine is still 0.9.3 and the main firefox site don't allow me to get in the extension page. Gotta upgrade it somehow. Later on this.

I thought I missed somethin before and now I knew it. I fergot to configure my mouse scroller fer X. I better read my old blog to find it LOL!.

Firefox + XMMS installed, IPFilter rules changed & Fluxbox menu.

After a few tries, I gave up on installin Mozilla Firefox via ports. I used sysinstall to install it. There's quite a few of dependencies issue like unzip551 which printed "File Not Found, No Access" error when I type make. Usin sysinstall on the other hand got no problem whatsoever. Now I'm install XMMS, the multimedia player fer X which resemble WinAmp.

The IPFilter blockin ftp issue has been solved. I edit the /etc/ipf.rules file and edit/add:

pass out quick on tun0 proto tcp/udp from any to any port = 20 flags S keep state

fer outbound connection and edit/add:

pass in quick on tun0 proto tcp/udp from any to any port = 21 flags S keep state

fer inbound connection. Like before, my IPFilter ruleset might not be the safest/the best so it's best fer you to google fer the better ruleset. When I'm done editin the /etc/ipf.rules file, I issued:

vampire# ipf -F a

to flush the cached rules and reload the edited rules.

The XMMS is installed now. I use ports and it's AOK. I'm gonna try runnin it in X to see if it's really ok. Got no menu fer Firefox in my FluxBox though so I better check out fer it. Next stop: Gaim multiprotocol messenger fer X. Later then.

Sunday, May 15, 2005

IPFilter blockin port install.

I found out somethin annoyin today. I'm tryin to install Mozilla Firefox when I noticed that I got No Route To Host error printed on the screen when my port are tryin to fetch the file(s) needed usin ftp. Got no problem whatsoever if the file is on http tho. So I'm gonna have to revise my IPFilter rules again and google fer some answers/tips/hints.

Like I've stated above, I'm tryin to install Mozilla Firefox (WWW Browser) and Thunderbird (Email suite). The Xorg is runnin nicely and my FluxBox don't have any problem yet. The resolution is 1024x768 in 24 bit colors so it's pretty although it's still plain. Wait till I got it themed. Later then. Got to solve this IPFilter problem.

Saturday, May 14, 2005

Fluxbox runnin successfully!

Yeah I got fluxbox runnin now. Very minimalistic window manager. I was starin at it without blinkin fer a while because all I saw was a chrome blank screen and a bar below. I've also installed the sid pack (themes pack fer Fluxbox) and I'll test it later. Here's how installed FluxBox.

su to root. Go to /usr/ports directory. Search fer fluxbox.

vampire# cd /usr/ports
vampire# make search name=fluxbox


The search result will be printed on the screen so go fer fluxbox-0.1.14_2 port which is located in /usr/ports/x11-wm/fluxbox.

vampire# cd /usr/ports/x11-wm/fluxbox

Then it's the time to install it.

vampire# make
vampire# make install


If there's no error printed on the screen, congratulation! You now have FluxBox somewhere in your system. But wait, startx will not load your Fluxbox yet. Create/edit .xinitrc file located in your home directory.

vampire# cd ~/
vampire# edit .xinitrc


And write ' fluxbox ' in the .xinitrc file. Save and close it. Now you're good to go.
Enjoy your Fluxbox! Later.

Xorg + Fluxbox 0.1.14_2 installed.

I've installed Xorg from my 5.3-R CD and FluxBox got in usin port. It've been a long time since I brushed my finger with this FreeBSD so I've forgotten many tips. I better check out FluxBox site to get some important informations.

This is my 1st time configurin Xorg without any complication with the xorg.conf file. startx went smoothly without fatal error. This is nice. Later then.

Updatin to 5.4-R & Fluxbox window manager

BSDnews � Issue #3 � Painless FreeBSD System Updating is what I'm currently readin right now. Yeah I said that I want to update my 5.3-R to 5.4-R so this is why I'm readin it. CVSup is the way fer me and by the info written by the above mentioned site, it's pretty easy. So I'm off to update my FreeBSD box now.

After a major consideration, I've chosen FluxBox window manager fer my 5.4-R. A minimalistic approach to a *nix window manager, I think it's better suitin my need. I'll post the info on my project on buildin and runnin Fluxbox on my FreeBSD. Later.

FreeBSD 5.4 is out! & X Window Managers

Yup. The new stable release of FreeBSD is out. Version 5.4-REL. Mine is still 5.3-REL so I'm a version lagged. Still haven't done anythin with Sendmail etc because I was pretty busy with my real life things. Anyway I might be doin some CVSup to get my FreeBSD uptodate. Here's the 5.4 Release Note or you can visit FreeBSD main site fer more information.

The Sendmail task is still on but I dunno when I'll start it. I'm plannin to update my FreeBSD to 5.4 1st before anythin else. A simple desktop manager will follow. If you are doin a (free) shoppin fer X Window Manager, do visit XWinMan.org and browse the extensive list of window manager fer you X need.

Friday, February 18, 2005

ipmon log in /var/log/messages & /var/log/security ?!

Yes IPFilter is really loggin. But it's loggin in /var/log/messages and /var/log/security. I googled fer some answer and FreeBSD mailin list archive seems to have the same topic answered. Anyway accordin to the archive, I can change the line contained in /etc/rc.conf:

ipmon_flags="-Ds"

to

ipmon_flags="-D /var/log/ipfilter.log"

which change ipmon from usin syslogd fer loggin to directly writin /var/log/ipfilter.log. Hmm. There must be another way to use syslog and ipmon.

I took a glimpse of Sendmail configuration and yeow I'm gettin a headache already. Ah well, it's sooner or later. So, later then :P.

Thursday, February 17, 2005

IPFilter rules for centericq user

I've solved the problem of my centericq can't log in to ICQ, YM! and MSN servers.

# Allow outbound access to ICQ, YM! & MSN
pass out quick on tun0 proto tcp from any to any port = 5190 flags S keep state
pass out quick on tun0 proto tcp from any to any port = 5050 flags S keep state
pass out quick on tun0 proto tcp from any to any port = 1863 flags S keep state


Make sure that tun0 is replace accordin to your outbound device. Keep in mind that I'm not an expert on IPFilter and my rules might be a loose security. As far as I've test it, centericq is workin fine now.

The /var/log/ipfilter.log file is still empty and I dunno if IPFilter is really loggin or not. Btw, I recompile my kernel with this option:

options       IPFILTER_LOG     # Option to make IPMon (IPFilter loggin) works correctly

Because it's stated that ipmon uses the option to work correctly. I'll search fer some answer bout IPFilter loggin later.

IPFilter is working.

Yup. I have to set IPFilter rules for tun0. And now, centericq is not workin. Haha! A good and bad news altogether. Good because I know that my IPFilter is workin and bad because I can't IM *sigh*. Strangely, IPFilter didn't log anythin. There must be somethin that skipped my sight somewhere. I'll google somethin fer help on this matter.

Next project: Mutt + vim + Sendmail + Fetchmail. Later.

IPFilter project started.

I've just finished (can't say this is the correct word as I'm still testin the firewall) settin up IPFilter with my 5.3-R. Usin my newbiest approach, I shamelessly took example from the FreeBSD Handbook which is the way to go fer me :). Why IPFilter? Because it's already in the base system. Not to mention that it's covered quite extensively in the Handbook. Oh yeah, my ipf.rules is the Handbook's near-exact copycat :D.

Got some interestin issue tho. The rule I set fer rl0 (my NIC) seems like not workin. I'm takin a wild guess that Streamyx & tun0 got somethin to do with this. What's the problem? Although I copy most of the Handbook's ipf.rules informations (I changed the dc0 in the handbook to rl0 to reflect my NIC), IPFilter log nothin. So like I've said, I guess I have to set the tun0 device usin the same rules just fer testin purpose. More on this later. I wanna reboot to test my IPFilter out. Later.

Understanding E-Mail @ ONLamp.com

Understanding Email is a live saver! If you're lost in tryin to get your console mail up (like me) then this is a great read. It'll shed some beautiful light on the mysterious issue of FreeBSD email.

Cone mail client

COnsole Newsreader and Emailer is a simple console based mail agent that can handle multiple mail accounts simultaneously. Support fer local maildirs, remote POP and IMAP plus experimental support of SMAP account. It has PGP and GnuPG support and built-in mail filter (mostly called milter). It has dedicated text editor to compose emails and all this is very tempting.

I'm still searchin fer somethin similar to Elmo mail agent. Right now I have a few candidates:

1. Elmo (Sadly discontinued)
2. Mutt (Very popular but requires settin of additional MTA and/or milter)
3. Cone (As tempting as Elmo. I need further reading on this.)

My 1st project will still be setting up firewall (either IP Filter, standard in FreeBSD or Packet Filter, also standard fer FreeBSD taken from OpenBSD) so it'll be soon. Later.

Wednesday, February 16, 2005

Elmo - The Electronic Mail Operator

Elmo - The Electronic Mail Operator is a ncurse based email program. I've been confused with the default FreeBSD way of handlin emails (Sendmail, Fetchmail, Mutt to send, receive and read/compose email which is a lot of work) and Elmo does look promisin. It's a swiss-knife of email program. It'll send, get, filter and compose email all by itself. I haven't download it yet but it's in my 1st list. Sadly, the program is discontinued just a few month ago (stated as closed on 6th January 2005) with the last stable release at version 1.2.0 and development version at 1.3.2. There's a possibility that someone somewhere will continue where it left off hopefully. Later.

Things I want to do.

Here's the list of things I wanna do fer my 5.3-R.

1. Set up firewall
2. Set up mail (send and receive email, periodic email checker)

That's it fer now, I'm kinda blurry right now. I think there's somethin else I want to add but I dunno what. Later.

Tuesday, February 15, 2005

Copyin files from 5.3 to ad0s5 (Fat32)

I've changed the mount value fer ad0s5 in my /etc/fstab from ro (Read-Only) to rw (Read-Write). When I try to copy my screenshot files from 5.3 to the /backup (ad0s5) slice, there's no problem whatsoever. Great. It's now safe to automount it with Read-Write value on every boot. Here's the line:

/dev/ad0s5       /backup     rw   0   0

I'm still searchin fer zgv's info. Later.

Screenshots uploaded

2 screenshots has been uploaded. It seems that my url redirection is havin some problem. Here's my direct link to my homepage.

http://home.graffiti.net/alsemo/

So please bookmark that in case my short url don't work. Here's my short url.

http://www.alsemo.isdangerous.com

Later. Enjoy the shots!

Sound works!

Shame. The Winamp's playlist can be loaded with mp3blaster but because the mp3(s) is listed from E:/mp3_dir (from XP's perspective) instead of /backup/mp3_dir, so the mp3s is basically not found. Ah. I tried playin a few songs and it sounds great. I'll take a screenshot (Yeah a new hobby) later and post it on my homepage. Still searchin fer infos on tweakin zgv. More on that hopefully.

Mount Fat32 & Sound not workin?

Yup. My bad. The correct slice was ad0s5. That's the place where all my backup files reside. I'll find out what ad0s2 holds later. This is the line fer /etc/fstab now:

/dev/ad0s5 /backup msdosfs ro 0 0

I better mount it as Read-Only (ro) first till I can be sure I won't cause any mess. Can't let meself ruin the files contained.

On the other hand, I try openin my mp3 playlist from the backup slice and mp3blaster seems to do a great job on that. But I can't play the mp3s yet. No output somethin. Hmm. I'll figure out somehow. I'm too sleepy now. Later then.

p/s: I notice my boot image looks sharper than image loaded with zgv. Hmm. There's must be some configuration that skipped my sight. More on this too, later. Nite!

Console screenshot taken

Ho boy. This is great. I've just taken some console screenshot usin vidcontrol. This is the packages that you'll need to take console screenshot.

scr2png
scr2txt


scr2png is essential and scr2txt is optional but I just want it to be installed too. After googlin fer some answers, I found out that man scr2png have the clearest information on usin vidcontrol to take console's screenshot. Here's what I do:

#1. Log into another tty (virtual console). Make sure you have the current tty displayin the information that you want to capture.
#2. issue this:

vampire# vidcontrol -p < /dev/ttyv0 | scr2png > screenshot_name.png

Make sure /dev/ttyv0 is replaced with the virtual console you're tryin to capture. Change screenshot_name.png to somethin that make more sense.
#3. The screenshot file will reside on your current workin directory so now try openin it with zgv.

vampire# zgv screenshot_name.png

If the image appears then it's ok. I got 2 console screenshot and I'll upload it to my homepage later. Fer more info:

man vidcontrol
man scr2png
man zgv


p/s: I assumed that your FreeBSD has been set up like mine. Eg. with VESA console and stuff. This is not a howto. It's just a reminder. Later

Thursday, February 03, 2005

centericq test, can't mount ad0s2, accidently detached screen session & links www browser.

I've tried messagin via centericq and so far, my YM account is cool. A bit of guessin needed to play with it but so far, it's pretty user-friendly.

Still can't mount the darn Fat32 partition (ad0s2) and it seems that there's a few others who's havin the same difficulty. It's sometin bout bein an Extended DOS partition that's messin this up. More on that later.

I've accidently detached my screen while I'm havin a chat in centericq. And thank God the manual is pretty much complete (man screen) and this is what I do to attach the screen session back.

# screen -list

This is to list the screen session which is currently runnin.

# screen -r [ttyid].[name].[host]

This command is to attach the desired screen which was detached earlier. Fer more info just type man screen.

After a brief search through http://www.freebsd.org/ports, I found out that links 2 is the one residin at /usr/ports/www/links and the old links is in /usr/ports/www/links1. Phew, I got the file right afterall so no need fer me to deinstall it. I've tried out the image viewin capability of links (although you will need some other console-based image viewin program like zgv) and it turn out ok (although the pic is quite pixelated/not sharp). I'll write bout it later (I'm not comfortable bloggin at the office).

Later.

Links@Sourceforge.net

Links@Sourceforge.net is a site to watch fer links user (lynx-like text based web browser). I've installed links from the ports collection but I found out that there's another version of links (links 2 to be exact) which has the ability to view images in console. Ouch. I guess I have to deinstall the old links and install the other version. Later hopefully.

Tuesday, February 01, 2005

Ports are added.

I'm currently writin this in console, with screen console manager, using links and installin centericq usin port. Installin software usin port is easier than I perviously thought. Well, with my 5.3 is online then port installations is not a mess at all.

centericq is a console based multi messaging program which allows you to connect to Yahoo!, ICQ, Jabber, Gadu Gadu, AOL, MSN even LiveJournal and a few others I fergot. I've installed it and now is the time to test it out. I've done testing it and it works! Wow! Nice multi-protocol messaging program.

My console mp3 player is now mp3blaster which is also available in FreeBSD Ports Collection. Can't play any mp3s yet because my mp3s is in the E: partition (ad0s2) and I currently can't mount the partition. No problem with ad0s1 (XP partition) though so I'm sure somethin is wrong with my /etc/fstab.

1024x768 console resolution?

Yes I've blogged bout this site: The FreeBSD Console - Living without X. And now after I revisit the site again, it've been updated and whoa, he (the author) is usin 1024x768 resolution console! Ouch, I can't stop droolin. I want it too! There's somethin bout SVGAlib before playin with that resolution so I'll keep that in mind. If I can make this D270S console displayin 1024x768 resolution, I'll post the walkthrough. Later.

New 5.3-RELEASE installation

After a long while, I've just finish doin a fresh installation of 5.3-R on my D270S. If I recall correctly, this is my 4th installation exercise after I wrote bout FreeBSD here and in my homepage. My newest installation is very minimal with just a few package chosen and even without X. This is what I remember:

Base
CompatX-X
Doc
Man
/usr/src/sys


Why no X? I guess I just wanna learn and have fun playin with just a minimum FreeBSD installation. I guess I wanna let meself be more comfortable with console (command-line) environment.

Custom kernel has been compiled and by the looks of it, it's charmin. I used the last VAMKERNEL config file taken from my 5.2.1 installation (still have it in my homepage.) with some new 5.3-R specific addition like:

# Sound device fer my D270S
device sound
device "snd_ich"


I still havent test out the sound yet but it'll be soon.

VESA has been compiled into the custom kernel and it's workin like a charm.

PPPoE has been configured and it's workin. Still havent test out the auto dial (usin /etc/rc.conf) yet because I just boot to XP from 5.3-R just now (to write this blog :). I used my 5.2.1 ppp.conf as a reference.

Things that I want which is still incomplete:
1. Personalise the normal user (zsh shell, add into other groups etc.)
2. Edit /etc/fstab so that I can mount the NTFS and Fat32 partition from 5.3.
3. Make acd0 (CDRW Drive) and fd0 (Floppy Drive) user-rewritable.
4. Add some usefull package like screen, Midnight Commander, a console mp3 player + sound mixer and other I can think of.
5. Rewrite the Run FreeBSD, Run section in my homepage which I've been delayin fer quite a long time now. The new format is up in my head now.
6. Upload all the important 5.3-R configuration files to my homepage.

I just found out that links can be set to display color. While in links, press [Esc] and top bar with some options will be displayed. The settin is there somewhere but I can't recall the exact option(s). I'll write bout it later.

Amazingly, after I've done reinstallin 5.3 and when I log in XP, my XP starts to display BSoD with an error message sayin somethin bout wspdrvnt.sys (or somethin) havin a page fault bla bla bla. After I log in usin Safe Mode, I found out that Sygate Personal Firewall has gone wacko and after I reinstalled it, XP was ok. Hmm, weird.

How to view pictures or movie in console huh? I'll try to find out the answer later. I need to sleep..

6.5 amd64: Modify existing certbot certificates.

Hi, It's been quite some time eh. As you can see, I still upgrade my OpenBSD system regularly but currently I do not have the time to ...