Thursday, April 3, 2014

I've managed- as usual- to screw things up; but, there is a solution.

In the meantime, I'm patching against FreeBSD-CURRENT using the following:
1. http://www.7he.at/freebsd/vps/ The patch is linked on te main page.
#patch -p1 <vps*diff
2. http://people.freebsd.org/~kevlo/ udplite.diff. 
#patch -p<udplite.diff
3. I'm not sure about vimage.
Wait.....
4. http://people.freebsd.org/~mm/patches/ pf_mtag
#patch -p<pf_mtag.patch && patch -p<pf_matg.2.patch


Saturday, March 22, 2014

The proper kernel options

One should always have "options VPS", "options VIMAGE" , and "options MROUTING" when using jails or FreeBSD-HyperV.

Tuesday, March 11, 2014

Starting the FreeBSD Google developer's environment

Damn. That was a lot of words. Haha!

Anyway, Let's get started.

You need to have the minimum environment similar to mine. That means:
Dual core, amd64, 1.6GHz. 1G RAM, 120GB hard drive on a laptop.
- The laptop was given to me when I was helping a friend. His broke and I replaced it with an older one. That will be another post-

Install the FreeBSD base system to your laptop. You can use a desktop if you want, the minimum requirements are the same.

Install lynx from /usr/ports/www/lynx . It will pull in a lot of base dependencies and gives you a decent text based web browser.

Earlier on, I had mentioned having others help you. If there is a Linux or BSD group near you, ask them to help with a base install along with a few ports.
 http://www.dmoz.org/Computers/Software/Operating_Systems/Linux/User_Groups/North_America/United_States/

Install and setup Xorg.


If you are going for the bells, whistles, and what not, then you will need a lot more processing power.

So, what desktop environments are good for developing?
Blackbox http://blackboxwm.sourceforge.net/
Openbox http://openbox.org/
Xfce http://www.xfce.org/
lxde http://lxde.org/

The basic idea is to have the base system use the least amount of resources.





Doing more with less

Hey. Oi! Como vai voce? Que tal! Qual e! What's up and all?

Things get difficult, confusing and frustrating us to no end. What can be done when this happens?
1. Take a breath and step back from the situation. The molehill only seems like a mountain because you have your face all up in it, yo!
2. Speak your mind but be mindful of others. Be willing to apologize when you are wrong. I have screwed up a lot.
3. There are others who have it worse than you. I am homeless but I live in a country where I can get help. Others live in this world who have it worse than me.
4. Everybody struggles. Give a hand, a moment, some understanding, compassion, and anything else positive to someone when they are down.


Why did I choose to use FreeBSD? I had a desktop which had a Sempron processor at 2.1GHz and 256M RAM. Fedora started requiring more memory and a graphics card- of which I did not have the second at that time. I hadn't dome much with Debian nor with OpenBSD or NetBSD.
FreeBSD worked with the computer as it was and allowed me to run Blender on it.
Later on, I bought a B&W PowerMac G3 with 400MHz processor and 256M RAM. I also bought an iMac G4 800MHZ and a Powermac QuickSilver which had an upgrade to 933MHz processor.

To deal with the lag that comes with different and older architectures, you need to set the kern.hz= value in /boot/loader.conf.

kern.hz=250 is good for servers
kern.hz=500 Slow for desktop and fast for a server.
kern.hz=1000 This is the standard.
kern.hz=1500 For low end audio and video production on systems with a decent- 1GHZ or higher- processor.
kern.hz=2000 For low end systems or systems dedicated to one
purpose.
kern.hz=2499 This is the upper limit before the ticks start causing a lag. You will need to patch the kernel for any increased rates of 2500 or greater.




Installing FreeBSD when you have limited resources.

One does not need a brand new system to start on FreeBSD, just a decent system to learn. If you have a specific idea, machine, or configuration in mind, then you will need to have more patience and search more.
Where to find the equipment:
1. Goodwill. There is also an online Goodwill store at http://www.shopgoodwill.com/listings/listByCat.asp?catID=30&ending=Items
That is the computer section.
2. Craigslist. Look in your wallet/bank account first to see what you can spend. If the machine boots up, you can use it.
a. If you need to know about the performance, burn a live CD/DVD or make a live usbboot.img. Not able to do such? Ask a friend to help you.
3. Ebay.
4. The trash. That's right. The trash. People will throw away perfectly good machines because of wanting something better or a simple software problem.

The minimum requirements:
Minimalist system:
400MHz CPU i386
256M RAM
5G Hard Drive
If there is not an internal wireless card or if the card is not supported, then a PCI wireless or usb dongle.
A working CDROM/CDRW drive.
The ability to boot from the CD drive.


Internet browsing with Firefox:
800MHz CPU i386
512M RAM
8G Hard Drive
If there is not an internal wireless card or if the card is not supported, then a PCI wireless or usb dongle.
A working CDROM/CDRW drive.
The ability to boot from the CD drive.


Internet browsing with Chrome:
amd64 CPU 1GHz
1024G RAM
8G Hard Drive
If there is not an internal wireless card or if the card is not supported, then a PCI wireless or usb dongle.
A working CDROM/CDRW drive.
The ability to boot from the CD drive.


For any office software, add 2G of disk space.
If you are going to build from ports, add 4G disk space.
For FreeBSD source building, add another 6G of disk space.
Audio compression and studio requires at least 1.2GHz on the processor if you are using a basic box GUI. 2.0GHZ and higher and multicore along with +1GHz RAM is a good base for audio production.


Video requires more. If you don't mind carrying around extra equipment, then a usb graphics card and a small lcd screen can be used.


Where to go to start the installation process:

Look for a public wireless spot and ask if there is a web interface or just directly connected. Some libraries and colleges will let you use a wired connection for a few moments. Don't abuse the privilege.

Ask a friend. Again, don't abuse the privilege.Some people are willing to aide and assist you during hard times.

Ask family.

If you don't have those resources:
Be patient and start looking for a solution. Nothing is instant.



When you find personal information on the machine:
Erase it and do multiple base installs. This may sound ridiculous but it creates a few layers that protects the privacy of the owner before you.
"What if it is illegal or other?" Illegal items= you know what to do.
Personal items= contact the previous owner and ask them if they want their stuff back before you erase it.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall.html

That is how you install the system.



Monday, March 10, 2014

It is not what you have, it is what you can do with what you have.

    Words of encouragement. Always have them ready to give to others even when you are feeling down and out.

You will need the following for this:
1. A laptop with a minimum of: two cores, 1GB RAM, 120GB disk space, amd64/x86_64 processor.
2. The desire to learn.

Wait...
1. The desire to learn
And....
2. The laptop as listed above or a desktop with similar specifications.