http://openbsd.org/faq/upgrade42.html
They just had to muck around with a major’ly used lib…
An orange in an apple orchard
http://openbsd.org/faq/upgrade42.html
They just had to muck around with a major’ly used lib…
Well to make a long story short, I’ve got my older brothers old PC (whats left of it). It’s missing it’s Graphics card, Optical Drives, and DDR1 SDRAM and only has a WinModem for it’s Cards but other wise it’s functional. It’s a originally a Dell Dimension 4500, Ma has a 4550 so i used her user manual to check what kind of RAM I would need.
If I bought 256~512mb of RAM and a Networking card I could get a 4th PC running, maybe try and get a Wifi adopter for it so I could move one of the Towers into my room (where my Laptop usually is stored)… 5 PC’s hehe that would be nice!! And if I get enough money for Christmas I could do it.. I could also buy Ma some RAM to upgrade her PC, or just buy her a new 1GB’s worth and take her old 512’s set.
The Box has a Pentium 4, probably ~2Ghz… Compare to my File Servers Katmai (Pentium 3, 500Mhz).
Having 512MB RAM would be an upgrade from 384MB-8MB for Matrox Gfx that the server has. Even if I had to make do with only 256MB, the processor upgrade would be worth it imho.
I have an old ATI Ultra Rage 128 AGP4X card on my shelf, a 32MB card should be overkill for any thing but gaming.
The IMPORTANT thing is, the hulk came with a 40GB Western Digital PATA drive and a 80GB Hitachi PATA drive.
My OpenBSD server is running off an old Office Desktop PC (cica 1998/1999) and only has an old 8GB Maxtor PATA drive. The BIOS also has a known problem that it can only address up to about 33GB of disk, any more would be wasted.
Guess what… OpenBSD can use the entire drive !!!!!
I installed the 80GB HDD and hooked it up to the (E)IDE cable and power thingy and checked the BIOS to see the setup, I could see that the 8GB root disk was Primary Master, 80GB drive as Primary Slave, and the CD-ROM drive as Secondary Master.
I didn’t really learn much about the innards of Computers by looking it up. I learned most of what I know by pulling a PC apart and putting it back together again.
I tried to mount the disk but could not, even with the mount_ntfs program. Probably because of no disklabel. I booted off my Knoppix Live CD to see if it was working. Sure enough, Linux found a ~75GB /dev/hdb1 and was able to mount it as NTFS. I reformatted it FAT32 and booted back to OpenBSD.
To set up the hard drive for usage, I fdisk’d it
fdisk -i wd1
I gave it a yes to updating and moved on to labeling the disk.
disklabel -E wd1
I used the g d command in disklabel to tell it to use the disks geometry and not the BIOS. I setup a 4.2BSD Partition (wd1a) for the full size of the disk and wrote the label out.
Next I formated it with the UFS file system used in OpenBSD.
newfs wd1a
and mounted it to a temporary mount point
mount /dev/wd1a /mnt
And volia it worked !!! I moved every thing from /usr/local/* to /mnt/ and edited /etc/fstab with instructions to auto-mount the new 80GB drive in it’s place.
Terry@vectra-$ cat /etc/fstab
/dev/wd0a / ffs rw 1 1
/dev/wd0h /home ffs rw,nodev,nosuid 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0g /usr ffs rw,nodev 1 2
/dev/wd0e /var ffs rw,nodev,nosuid 1 2
# 80GB Primary Slave, PATA drive.
/dev/wd1a /usr/local ffs rw,nodev 1 2
Terry@vectra-$
Now I have good solid storage… No more trying to cram network shares and LAN backups onto a small ~7GB /usr partition.
Terry@vectra-$ df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 147M 31.3M 109M 22% /
/dev/wd0h 393M 378K 373M 0% /home
/dev/wd0d 98.3M 2.0K 93.4M 0% /tmp
/dev/wd0g 6.7G 398M 6.0G 6% /usr
/dev/wd0e 148M 8.3M 132M 6% /var
/dev/wd1a 73.3G 2.5G 67.2G 4% /usr/local
Terry@vectra-$
I love BSD !!!
I was pleased to see the brain new website this afternoon and 1.4 released. I’m also very happy to see that the new website is LYNX COMPATIBLE !!!! It works and looks nice in modern browsers like Firefox. Yet it still presents a nice clean page to Lynx users.
I downloaded both CD-ROM’s, checked the MD5 Checksums, burned them and got a Quick & Dirty backup of my home directory and config files while I waited.
I think I did some thing like:
tar -czf backups.tgz /boot /etc /root
cd /home
tar -cf - Terry | gzip -9 > /usr/Terry_Home_Backup.tgz
Basically, I made a gzip’d tarball of my old kernel, drivers, and boot-config (/boot), system configuration (/etc) and roots home directory (/root). Then I tar’d and compressed my home directory with gzip. I also made a tarball afterwards of my vim installation in case there was any custom files in it.
Normally when I want to archive a file in a hurry, I use tar’s -z option to archive it (tar, tape archive) and compress it gzip (-z). But since I don’t know how if there is even a way to change the gzip/bzip2 compression level with bsd’s tar implementation. When I want to store some thing big in a hurry however. I usually make use of a pipe and redirection, namely tar -cf – archives the list of files to the standard output rather then a normal file. Which is in turn piped | into gzip who is instructed to use maximum compression on it’s input. And the final data, is redirected > to a file of my choice. Some times I will use bzip2 (higher compression) but I generally favor gzip. As normal, I keep a copy of the backup on this machine and my file server just in case.
My laptop was running PC-BSD v1.4BETA so I was not sure if the upgrade would work correct but it seems to have. The update went smoothly and I was allowed to reselect optional packages from disk 2. I elected for kdeedu, kdesdk, koffice, kdegames, and the FreeBSD source code. All installed fine except for the Source Code !!! My /usr/src is empty, as it was each time I installed 1.4BETA. Oh well, csup will get me newer sources…
Before logging in as my normal user, I had to drop to the console and log in as root in order to change my user accounts log in shell from zsh to one installed (sh, csh, tcsh, bash – I chose sh). Other wise it is impossible to log in from KDM. Of course once I made sure my laptop booted into KDE. I went and installed zsh and changed it back. — I never change roots shell but I do change mine unless I’m sticky. My OpenBSD server still only uses the default (hacked pd)korn shell it came with.
I found 1.4 Release to be much like the Beta but with a new loading screen. I noted that most of the (many) screen savers were removed and one could now specify the rates of the monitor when asked to set up the Xorg config file. It was also nice to see my rc.conf.local file preserved well enough. Although the onboard Winmodem and Winfi don’t work, the ethernet card is now detected by the msk driver as mskc0; I don’t know if it works since I use a Atheros based Wifi card now. It was very nice to see MPlayer back in the install. It was removed from 1.4BETA along with the GTK GUI, in 1.4 Release we have MPlayer and the KMPlayer front end. Although Flash7 seems to have been lost now. Oh well, I’d rather skip compling MPlayer then use Flash ^_^
Since the upgrade process basically nukes all installed software. I had to reinstall most every thing I’ve added. Since I’ve stopped using PBI, that has made this take a little lower. I tend to use ports and a few packages.
My hit list
codecs # Hand installed from MPlayerHQ
cscope # code browser, I've been meaning to learn how to use it.
elinks # Web Browser, text/gui
exuberant ctags # What I use to generate my system tags file in ~/.vim/tags
gmake # Needed for GTK/QT development and building Vim with GTK support
konversation # The worlds greatest IRC Client
kscope # GUI front end for cscope, might be worth toying with.
lynx-current # Web brower, text; If it supported decent html layout it'd be my default.
mg # Micro GNU Emacs based editor maintained by OpenBSD people.
portaudit # Was in 1.3 but removed in PC-BSD v1.4
portupgrade # Was in 1.3 but removed in PC-BSD
prboom and files # Doom I/II updated to *RUN* on modern hardware.
psearch # port searching, I wonder why no one wrote a GUI for this dandy script.
rtags # CTags like program for Ruby written in Ruby file, works with vi/emacs
ruby-doc-stdlib # Docs of Rubies standard library
ruby-gems # Ruby package manager for extra Ruby code
ruby-usersguide # Duh
rubygem-rake # make done Ruby style
scheme48 # Scheme, a Lisp like language.
supertux # Hey Super Mario, ehhh Super Tux !
vim # Compiled from source as per my norm
xemacs # Last time I used GNU Emacs, now I'll return to my old emacsen (I prefer Vim)
xpdf # Useful tool
I also need to install a decent web browser (gui) and JRE/JDK. I might bite it and use PBI’s for the JRE/JDK but not for any thing else. I’ve found Firefox 3.0 Alpha and Netscape 9 to slow for my tastes (my laptop is only a sempron-m 3300+ and 512mb ddr). Konqueror I’ve found tends to lock up on some websites, maybe it’s the Javascript engine I can’t really tell.
Ether way, I need to find a decent browser I can *live* with that works on most OSes I’m likely to use. Or one that uses the same bookmark format as Konqueror any way xD. Lynx is still the best browser I’ve ever used though, even if it lays out web pages in Text Only and crappy.
My laptop is basically my workstation. So it has a lot of stuff in it, paramount in it is my current home directory. Most important being ~/{Documents,Pictures,Music,.vim,vimrc} and
Terry@Dixie$ /bin/ls -1 ~/Programming 6:53
Ada
Assembly
C
C++
GTK
HTML
Java
NCURSES
PHP
Perl
Python
QT
Ruby
Scheme
Shell
Style
templets
I should probably restructure that directory, make it neater.
Future todos, clean my home directory up again.
reorganise files.
clean up my bookmarks file in prep for a new browser.
Make new XMMS and Blackbox PBI’s.
Pass out… Work in 6 hours…
Beware of attractive Blondes in tight cloths…. lol
On a lighter note, I’ve had emacs on the brain lately. Which is some one strange as I’m Vi man with a strong liking for VIM.
Generally GNU Emacs is the emacsen by which I compare emacsen. I first learned the basics of using emacs day to day using XEmacs on a Windows machine. Nice editor although i’ve never cared much for the Meta key. Generally I found emacs key bindings to be the kind, that if you could remember what type of key sequence it was you could figure it out. Generally things are some what consistent, Control + D, deletes the next character (right of the point). While Meta + D deletes the next word. Basically as I remember it for regular commands. A Control+Key combo does a smaller action while a Meta+Same Key combo does a larger action. Like if Control+Key works on words, Meta+Key works on lines e.t.c. And classes of commands I think generally had a consistent prefix. Control+X+Control+F Open/Find files, Control+X+Control+S Save current file, Control+X+Control+C exit editor, e.t.c Most of the mutli-file Editor related commands I recall focused on a Control+X prefix arrangement, like Contorl+X+2 to open a second buffer, Control+X+O to switch to the other e.t.c
I’ve tried a number of emacsen but never found one I really like enough to use a lot. GNU Emacs I don’t’ care much for but respect it among emacsen. I find it to fat and slow to be effective. On my desktop it’s no problem to run it, theres a lot of RAM and a fast CPU. On my laptop theres a budget CPU and moderate RAM so it’s slow as nails to get it’s motor warmed up. Not being much of a GNU Emacs man, I usually keep a fairly out of the box installation.
I haven’t tried XEmacs on my laptop but I don’t expect it to be faster then GNU Emacs. I think I would prefer XEmacs though.
MicroEMACS 4.0 and variants I’ve used and enjoyed, you could say MicroEMACS is my favorite. I like MicroEMACS in that it is small yet extensible. With just enough features to be useful Some what like Vi but with perks. Most of my issues with the editor would be solved by learning more about emacs ways of doing things and the marco language. I remember poking around a Traditional C style code base as well.
The only emacsen I find my self using often when I do actually use one. Is mg, a Micro GNU Emacs like editor maintained by OpenBSD. It’s a pretty bare bone emacs but it gets the job done nicely. Since I’m to stuborn to install Vim on my file server (OpenBSD) and would _NEVER_ dream of installing GNU Emacs on it. I’ll usually use mg when I need to edit multiple files. Although I could probably use Window and multiple instances of nVi for the same purpose.
I’ve tried Jove but never cared for it. An intermediate between the GNU Emacs/XEmacs variants and MicroEMACS variants I’d say.
I generally have preferences but I do believe in knowing a lot of things when possible. While I don’t remember most of the commands I learned in XEmacs, and prefer the Vi style of doing things more to my taste. Especially to my wrists and fingers liking !! (Escape Meta Alt Control Shiftritis). I can use Emacs fine but generally prefer not to. I generally prefer a light and fast emacsen to most other editors if I can’t have a Vi based one.
A nice trip to the library…
C in a Nutshell -> Nice book, finished it in about 2-3 hours.
A Book on C -> I’m interested in some of the algorithms.
Learning Perl -> I have mixed feelings about working in Perl, but hey it’s a nice book.
PHP and MySQL for Dynamic Websites -> I really can use this… lol
Maximum Security: A Hacker’s Guide to Protecting Your Internet Site and Network -> So fat I’ll have to be restrictive in what I read of it. But a very interesting find indeed.
I know C, like I know English: I’m not terribly skilled at some of it but I know it well enough to use it. So I don’t really need to read most of the C books but theres some common algorithms discussed. That I’m interested in reading their implementations of; not to mention a brush up on Function Pointers, Variable-length arrays, and Unions -> I don’t think I’ve ever actually used a Union :/
Perl, I was learning at some point but gave up on it as boring. I like Perl for it’s syntactical style, it’s closer to what I’m used to. But I’ve rarely seen Perl at any great length. Feel beautify to me, it’s effective yes. Pretty, not often… but heck if it works use it!
If it’s some thing I’m not likely to use again or it’s a quickly on the CLI. I’ll usually not care if it’s understandable or well written. But when I do write a script; I kind of like to make it hard to foul up, easy to understand, and function well.
www.ippimail.com offers a free webmail service, the catch?
You get a few advertisements in the webmail interface, to be honest I barely notice them unless I’m looking for them. Many peoples sig-blocks on internet forums are more obtrusive. A single line appended to out going E-Mails as well. Just a sig-block consisting of a one or two lines of message I think.
--
Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ippimail.com
Compared to some mail I’ve received with a yahoo html ad a page long at the end of the E-Mail!! This is no problem for me.
The money they get from it, goes to them and a good portion of it to several charities which is a very good thing IMHO. Plus like 10% to supporting Open Source Projects, a very nice thing considering that they use a lot of FOSS.
The Webmail is essentially a Squirrel Mail setup with a number of plug ins and customizations. Including a theme thats much nicer then any of the ones I’ve seen come with Ippimail, which are not provided ^_^. The usual set of style sheets and features of course.
I’ve come to enjoy using Squirrel Mail and when I learned about Ippimail it was from reading about Squirrel Mail on Wikipedia, so I knew I’d probably get a good Web mail interface. What I was worried about was the ads and possibility of spam. I remember when I had registered for a free Hotmail account some years back, it was like being placed in the worlds biggest Please_Spam_Me_List loool.
With ippimail I registered for the account and filled out even the extra questionnaire, which is for targeting the ads better and what not. So far I have gotten _0_ spam E-Mails !!! Heck, I get more then that from my ISP’s account. The data involved not really a major security risk ether. The Terms of Use and Privacy Policy is compatible with my views, and I can be quite pissy about agreeing to such things too.
I’ve only had two issues with Ippimail and I’ve found excellent service if thats what you want to call it. The average response time has been within 24 hours. And very friendly support for issues, unlike a call to an ISP. No need to call 3 freaking times to get some one competent, an issue on ippimail gets some ones attention, that actually can tell the difference between a file and a folder. I’ve been very satisfied with Ippimail in every thing I’ve seen and I’m a rather picky bastard :/
Maybe that’s the difference between the people at Ippimail and those at an ISP, they ain’t doing it just for $$$$.
One thing that I really love about the Squirrel Mail software they chose for the actual webmail interface. Is because it’s output is all HTML (with Javascript optional) and the people creating it had a nice brain. You can customize a lot of the User Interface, a very nice feature for people like me (Yes I am a KDE user not a Gnome user :-P).
We have the ability to have mail forwarded to another account, e.g. Ippimail to your Primary E-Mail. To have Ippimail fetch messages from another account (via POP3) and to set up Mail and Spam filters. It can filter messages into different folders based on the filter rules. And even provides a Spam/Anti-virus filter option. I’ve never needed them but my Ippimail account is basically my personal E-Mail address, so I’m not prone to signing up for accounts with it (I use my ISP’s SpamMeAlot address for that).
The address book used while composing mail is crappy IMHO but if one enables the Javascript version you get a quite nice one. It’s also never tripped my popup blocker or slowed down my browser ether. If Konquerors (annoying) Javascript engine can handle it fine I’d be even happier with it. Unfortunately while Ippimail seems to use the import/export address book plugin (hooah!). It can only handle CVS files, one thing I like about this; especially since you can customise the output. Is it means it’s not to hard to use other tools (sed, awk, perl, e.t.c) to process the file into a format more suitable for other things of Unix nature. But it means no real support for Outlook Express or Thunderbird address books 🙁
E-Mail storage is roughly 250MB right now, not as big as some (like gmail) but it’s more then enough for most people I think. Unless you’re prone to storing a lot of junk mail with attachments :/ Even with a real mother load of messages piling up, I’ve never surpassed 30-50mb before. If I really wanted to keep a few 100MB of mail in storage, I’d download it and archive+compress it %_%
The UI is fairly intruitive as any you’ll find and easy to change in options. It’s also very easy on the eyes, in addition to a simple E-Mail system. It comes with fairly simple Calendar, To-do list, and notes system. They even will provide a Blog with the account if wanted. Since I use Live Journal, I’ve never investigated it. I rarly use it for more then E-Mail but I’m interested in the To-Do and Notes plugins they have installed.
As a Web based Mail User Agent of sorts, I’ve found Squirrel Mail top notch and Ippimail to be a great provider. I’ve used many programs but never really been happy with any for E-Mail. Especially for dealing with mail in _volume_ and from multiple PC’s. So far, ippimails usage of squirrel mail has proven to be one arrangement I really like.
The website is quite compact and down to business, I like it even if it’s not very flashy. Theres links for site news, blogs, shopping, and google-searching. The thing Ippimail does best is E-Mail and thats what I use it most for 🙂
I almost went with a gmail account but didn’t quite like Googles policy, when I found out about ippimail I probed for awhile and thought about it. Then I dove in head first and I’m glad I did. I don’t like software that gets in my way, I like software that helps me get my work done, efficiently!
Being an extraordinarily stingy bastard, I’m generally only willing to pay for what I need or want a lot. An example would be The Regiment, I want the game… So I’d be willing to buy it. I don’t need an IDE so why would I buy Microsoft Visual Studio??? And to be honest I’d rather make a charitable donation because of how much I love and use Vim then pay for MS Visual Studio $_$
I’m used to not having a lot of money, so needless to say while I don’t have problems spending a lot of money. When I do spend my money it is often as carefully Analyzed and as wisely as I can.
Products and services I would pay for if I could afford to:
I don’t know why…. but some how every time I start looking at web browsers. Lynx just keeps coming up as #1.
Lynx seems to be able to give me every thing I could possibly want out of my browser. Except for Tabbed Browsing, the options of Images, and most importantly… being able to lay out a page decently !
Links does a much better job on laying pages but I’m more comfortable with Lynx, dang I wish I had time to see what trying to create a new browser based on the Links and Lynx code bases would result in :/
Netscape navigator 9 I like a lot but it’s just too bloody slow.
Firefox 2 I can’t stand, it’s crap as far as I’m concerned… Hopefully 3.x will rock.
I like Seamonkey but since I use only webmail now, theres no need for it when theres Firefox and Navigator.
Opera I like a lot, it’s got a few rough edges but it’s one of the best browsers I’ve ever used. I’ve got to reinstall it on my desktop, keeps crashing…. never had that problem before. It’s nice enough to ask to restore my session on the next run tho.
Konqueror and Safari I like a lot but nether are portable enough for my needs, *yet*
I need to find a decent web browser, some thing I can use consistantly on Windows NT, Linux i386/AMD64, *BSD i386/AMD64, and Mac OS X. While I don’t have a Mac and rarly use Linux Distros. I like to have the SAME program as much as possible between OSes. Like Vim, works on every OS I’m likely to use and nearly any OS I’ll probably bump into. The major difference is I tend to preffer GVim (Vim’s GUI) only when I don’t have a decent terminal emulator, like on Windows XP. CMD.EXE is a poor one compared to Konsole.
*drool* I wish I could get one of these babies.
Looking at the custom options, 1.66Ghz Core 2 Duo. 15.4″ Display, 1024MB DDR2, 80GB HDD….. $895.00 man I wish I could get that baby.
This laptop costed $650 for a 2.0 Ghz Mobile Sempron, comparable widescreen displace, 512MB DDR, and 60GB HDD. Plus I had to put up with a $100 restocking fee, because I exchanged a $750 laptop for it -> Because it wouldn’t run any thing but Windows (slowly). Which I had picked because they we’re out of any other laptop in my price range… Best Buy Bastards !! lol.
But I’m lucky, my laptop works great on FreeBSD aside from shitty 3D performance