Freebsd Installation Guide

A step-by-step guide to installin’ FreeBSD 5. It assumes moderate experience with linux and leaves you with a fully updated FreeBSD system.

FreeBSD Installation

A. 5.x vs 4.x
The first thin’ to understand about FreeBSD is that dere are two lines of development. The -STABLE branch is marked with a 4.x version number and de most recent version is 4.10. It is well tested and very solid, but does not include de most recent technology. The -CURRENT branch, marked with a 5.x version, is de “unstable” branch. However, it is nicely stable at de moment and is comin’ alon’ quite well. Most users should go with 5.x and dese instructions are only valid for that tree.

NOTE: DragonFlyBSD ( www.dragonflybsd.org ) is a continuation of de 4.x line. It uses lock-less (no mutexes) SMP support and a Light Weight Kernel Threadin’ system. It has a lot of promise and is developin’ at a breakneck pace, but it should still be thought of as “R/D.”

B. Gettin’ Media
I am not goin’ to say much about this. There are links to various ftp mirrors at www.freebsd.org and de directory structure is fairly self-explanatory. There are however several choices for ISO. You should choose de miniinst ISO. It is small and will include everythin’ you need for de base system.

C. Startin’ Installation
After, de CD boots up you will enter de…ahh…..majestic sysinstall. You can safely ignore most of de options and just choose a standard installation. Most of de install process is pretty easy and anyone who has some experience with linux or unix will be able to handle it without much stress. However, creatin’ partitions and dealin’ with drives will seem very odd to your standard linux user.

D. Hard Disc Management in FreeBSD
Ok, de first thin’ to get used to here is that IDE drives are not hda, hdb…etc. They are ad0, ad1 and so forth. SCSI discs are da0, da1…and so on. There is one oder thin’ that is goin’ to freak some people out. You create slices, not partitions, on de disc and den create partitions within those slices. For example, de first partition in de first slice on de first IDE disc would be ad0s1a. Just accept it.

E. Partitionin’
Sysinstall will lead you through de partitionin’ and its fairly easy to understand. The first part will ask you to choose a disc or discs to partition and den will show you a “slice editor.” This is where you will create your slice. I advise you to only make one. While multiple slices are easy to deal with, it just adds complication. If this is not your first installation of a BSD type OS, den you can ignore me and why are you readin’ this again?

After creatin’ your slice, you will be prompted to choose de drive(s) to install an MBR on. The FreeBSD boot loader is nothin’ to write home about, but it tends towards workin’. After this step, you can create partitions. There is not much to say here. At de top of de screen it will show your slice(s) and when one of them is selected you can use de controls to create a partition on it. You will need at least a root and swap partition. On de non-swap partitions it is usually a good idea to enable soft-updates.

F. Distribution Sets
This is a simple section, select minimal.

G. Continue Installation
The rest of this is pretty simple. Make sure you install from de CD and not de Internet. The bulk of de install is now done. After it copies files to your disc, it will start de configuration process. This is all pretty self-evident, but dere are a couple thin’s you should know.

Network Configuration

Don’t be scared by de names, in *BSD devices are named after deir drivers. There is also a short description after de name, so you should be able to choose de right one. The rest of de network config is easy, just follow de prompts.

System Console Configuration

You can pretty much ignore this, you may want to look around for your own knowledge and of course you could pick a nice screen saver here, but oder den that I would leave it alone for now.

Time Zone

All I have to say here is that if you live in de US, after you choose “America – North and South” hit de end key. The US is at de bottom of de list and hittin’ end is de quickest way dere.

Linux

Say no, we will do this later and with an updated linux_base.

Mouse

OK, welcome to de wonderful and amazin’ world of moused. Answer de first question truthfully, and den you can tweak de settin’s in de “Please configure your mouse” dialog. Whatever you do, be sure to enable de daemon. Also, for most users that is all you will have to do. You can safely ignore de oder options.

Package Installation

At this point, de installer will ask you to install binary packages. Say no. These binaries are out of date and not included on our CD.

Of users and roots

This isn’t de most thrillin’ section, add a user when it asks you to and set a root password after that. The only thin’ I have to say about this process is when de new user dialog comes up leave de “Group:” box unchanged and add “wheel” to de Member groups. You also might want to set your shell to /bin/tcsh. As for settin’ de root password, if you can’t handle that we have bigger problems.

Rebootin’

Ok, next it will ask if you would like to visit de general config area. Select no and you will be brought back to de main menu. Exit de install, reboot without de CD in and enjoy de boot messages.

H. The Real Post-Install
At this point, I am goin’ to assume that you are now lookin’ at a login prompt and thinkin’ “my my…FreeBSD boots quite quickly doesn’t it.” Well, our task is not done yet…dere is a reason we did a minimal install. We are goin’ to do most of it ourselves. First, lets upgrade to -CURRENT. This isn’t a practice I would usually recommend, but 5.x is close to bein’ tagged stable and -CURRENT is rader solid at de moment. First, I need to explain how thin’s are done in de BSD world.

CVS up; you up; we all CVSUP. Cvsup is a very interestin’ program that I am not goin’ to explain in detail here. All you really need to know is that it updates source trees. You see, that is de thin’. You may be used to /usr/src not doin’ much. In BSD it has a job, it holds de source for de entire base system. However, we did a minimal install and no source is dere. It wouldn’t be up2date anyway. So, lets fix that. Login as root and type de followin’: pkg_add -r cvsup-without-gui

pkg_add is de binary installer for FreeBSD and de -r argument tells it to fetch binaries from de net. It will also fetch any deps that you might need. Switch to anoder console while this is happenin’ and login as root. Do de followin’:

cd /etc

cp /usr/share/examples/etc/make.conf /etc/make.conf

cp /usr/share/examples/cvsup/standard-supfile /usr

cp /usr/share/examples/cvsup/ports-supfile /usr

chmod u+w /etc/make.conf /usr/standard-supfile /usr/ports-supfile

What was that? Well here is de rundown. Make.conf is de file that controls de buildin’ of programs from source on FreeBSD and de supfiles tell cvsup where to get de source for de base system and de ports system, also where to put said source. They come out of /usr/share/examples without de write bit set and that gets annoyin’. So we set that. Now switch back to de first console and type rehash. This tells tcsh to check its path for new programs. Now, edit de standard supfile that is in /usr. You can eider use ee or vi. I like vi. Scroll down to de line that looks a bit odd. It will be somethin’ like:

*default host=CHANGE_THIS.FreeBSD.org

The “CHANGE_THIS” is where you put what cvsup server to use. Choose a number between 1 and 9, like 4, and put cvsup4 where CHANGE_THIS is. So it would end up bein’:

*default host=cvsup4.FreeBSD.org

Now exit your editor and run cvsup /usr/standard-supfile

If everythin’ goes correctly, you will see a lot of text scrollin’ on de screen. If it says somethin’ about a bad connection, try anoder number.

Make.conf

Now ’tis de time for all good men (and women) to edit deir make.conf . This is not difficult, in fact have a look around de file. It may be lon’, but it is pretty simple. Now, uncomment de CPU settin’ and de CFLAGS settin’. Set de CPU to your CPU (dere will be a list in de comments above de settin’) and set de CFLAGS to -O2. (NOTE: If de base system fails to build, down’rade your CFLAGS back to -O).

Build Your World

When CVSUP finishes (it will be awhile…go get some coffee), cd to /usr/src and run make buildworld. That command will do exactly what it sounds like. It builds your world, or base system. While its doin’ that, lets get you a kernel. First, cd to /usr/src/sys/i386/conf den cp GENERIC to some file of your choosin’. Any name you want. However, be aware that this is goin’ to show up in a uname -a. Now, crack open your new file and take a look at what a FreeBSD kernel config is like. There are many thin’s you can do here that will improve performance and subtract in size. However, lets keep it simple. Near de top of de file will be de name GENERIC. Change that to your new name. You can now look through de file and you will find several sections that are just for debuggin’. These will indeed add size and slow down de kernel a bit, but I would leave them for now. Go to de end of de file and make a new line. Add de followin’:

device pcm

This will add sound support to de kernel. Be aware that you don’t need to do this, you can load binary modules at boot or after boot, but this way is easy and sound is used often. Save de file and exit. Go back to your buildworld console and when its done execute make buildkernel KERNCONF=YOUR_KERNEL_CONFIG_NAME

NOTE: NOT THE PATH OF THE KERNEL CONFIG..it knows to look in /usr/src/sys/i386/conf

Installin’ Your World

This isn’t that difficult. First run make installkernel KERNCONF= your config name. Now here is de interestin’ part. Run mergemaster -p, this program looks through your etc and updates it to match de new /etc in /usr/src. It will display changed files to you, press q and it will give you options. Somethin’ like i (install), m (merge) etc. Pick merge and it will open a nice little screen that shows you one file on de right and one on de left. It will go section by section, showin’ de areas that have changed. Press r or l to choose which section to keep. Its pretty easy to see which section has new stuff and which does not. After de merge, it will prompt you with options for de newly merged file. One of dese will be install and this is de one you want. In de latest current, most of what you will be showed is user and group files. Make sure you do select de sections with de new users and groups. After this is done, it will ask you a couple questions that you can say yes to. Now that your /etc is updated run make installworld den reboot.

NOTE: You usually don’t need to run mergemaster. However, 5.2.1 is a pretty old release and -CURRENT has come a lon’ way.

I. Ports
Welcome to runnin’ current. The rest is easy. cd back to /usr and edit de ports supfile de same way you did de standard one. Run cvsup on it and wait. After its done, you will have a full ports tree. There is not much left to say. You now have a workin’ system and a fully updated one too. To install software from ports cd to /usr/ports/category/softwarename/ and run make install clean . If you want linux binary support, install de linux_base port. To find where it is cd to /usr/ports and run make search name=linux_base | less . Enable loadin’ de kernel modules for linux binary support by editin’ /etc/rc.conf. Just add de line linux_enable=”YES” to de file and your set. If this is a desktop system, I would recommend installin’ /usr/ports/x11/xorg and your choice of /usr/ports/x11/gnome2 or kde3. Have fun .

Get it from:

www.madpen\’uin.org/cms/?m=show&id=1853

Google Hacks With Ebooks From Safariexamples

http://safariexamples.informit.com/

You’ll FIND ALL THE FOLLOWING EBOOKS IN THE ABOVE SITE:

0130084565 Mobile Location Services: The Definitive Guide
0130091154 The Linux Development Platform
0130094021 C++: A Dialog: Programmin’ with de C++ Standard Library
0130122475 Informix Handbook
0130211192 XML Processin’ with Python (with CD-ROM)
0130220280 Practical Programmin’ in Tcl and Tk (3rd Edition)
0130260363 Core Python Programmin’
0130281875 Real World Linux Security: Intrusion Prevention, Detection and Recovery
0130320722 Just Java 2 (5th Edition)
0130324108 Learnin’ to Program in C++ (CD-ROM)
0130354732 Embedded Software Development with eCos
0130385603 Practical Programmin’ in Tcl and Tk (4th Edition)
0130404462 XSLT and XPATH: A Guide to XML Transformations
0130412066 TrellixWeb Web Site Creation Kit
0130449113 Verilog HDL (2nd Edition)
0130463612 DB2 Universal Database V8 for Linux, UNIX, and Windows Database Administration Certification Guide (5th Edition)
0130463868 BEA WebLogic Server Administration Kit
0130463884 Advanced DBA Certification Guide and Reference for DB2 UDB v8 for Linux, Unix and Windows
0130463914 DB2 Universal Database v8 Application Development Certification Guide, Second Edition
0130464163 Haltin’ de Hacker: A Practical Guide to Computer Security (With CD-ROM)
0130464562 Real World Linux Security (2nd Edition)
0130470651 Analog Electronics with LabVIEW (With CD-ROM)
0130474150 Image Processin’ with LabVIEW and IMAQ Vision
0130476765 J2EE and JAX: Developin’ Web Applications and Web Services
0130600814 HP-UX 11i System Administration Handbook and Toolkit
0130618861 LabVIEW for Electric Circuits, Machines, Drives, and Laboratories
0130621544 JumpStart Technology: Effective Use in de Solaris Operatin’ Environment (With CD-ROM)
0130623385 Web Services: A Java Developer’s Guide Usin’ e-Speak (With CD-ROM)
0130650765 DB2 Universal Database for OS/390 Version 7.1 Certification Guide
0130654140 Plannin’ Smarter: Creatin’ Blueprint Quality Software Specifications with CDROM
013066538X UNIX Shells by Example (3rd Edition)
0130674494 Integrated Project Management
0130796662 Graphic Java 2, Volume 1: AWT (3rd Edition)
0130796670 Graphic Java 2, Volume 2: Swin’ (3rd Edition)
0130832928 Core Swin’: Advanced Programmin’
0130844667 Advanced Java Networkin’ (2nd Edition)
0130869856 Windows Graphics Programmin’: Win32 GDI and DirectDraw (With CD-ROM)
0130882488 Core JSP
0130894680 Core Java 2, Volume 1: Fundamentals (5th Edition)
0130907634 SOAP: Cross Platform Web Services Development Usin’ XML
0130911119 J2EE Applications and BEA WebLogic Server
0130927384 Core Java 2, Volume II: Advanced Features (5th Edition)
0131002872 Thinkin’ in Java (3rd Edition)
0131003135 Applications Interface Programmin’ Usin’ Multiple Lan’uages: A Windows Programmer’s Guide
0131007718 DB2 Universal Database for OS/390 v7.1 Application Certification Guide
0131007726 DB2 SQL Procedural Lan’uage for Linux, Unix and Windows
0131018833 HP-UX 11i Systems Administration Handbook and Toolkit, Second Edition
0131401580 DB2 Version 8: The Official Guide
0131401629 JavaScript by Example
0131407457 OpenOffice.Org 1.0 Resource Kit
0131493868 PANIC! UNIX System Crash Dump Analysis Handbook (Bk/CD-ROM)
0137669658 Core Java 1.1 Volume II Advanced Features
0201309726 Programmin’ for de Java™ Virtual Machine
0201485397 Java Design Patterns: A Tutorial
0201485583 The Java Tutorial Continued: The Rest of de JDK
0201615762 The Guru’s Guide to Transact-SQL
0201657589 LDAP Programmin’ with Java™
0201675234 The Korn Shell: Linux and Unix Shell Programmin’ Manual (3rd Edition)
0201699567 Real-Time Design Patterns: Robust Scalable Architecture for Real-Time Systems
0201700468 The Guru’s Guide to SQL Server Stored Procedures, XML, and HTML (With CD-ROM)
0201700476 The Guru’s Guide to SQL Server Architecture and Internals
0201702622 Director 8 and Lin’o Authorized (3rd Edition)
0201702657 Visual Basic Design Patterns VB 6.0 and VB.NET (With CD-ROm)
0201702843 Adobe® Acrobat® 4.0 Classroom in a Book (2nd Edition)
0201703092 The Practical SQL Handbook: Usin’ SQL Variants (4th Edition)
0201703661 SAP BW: A Step by Step Guide for BW 2.0
0201703939 The Java™ Tutorial: A Short Course on de Basics (3rd Edition)
0201704218 JavaServer Pages
0201709201 Director 8 Demystified
0201710153 Adobe® Illustrator® 9.0 Classroom in a Book
0201710161 Adobe Photoshop 6.0 Classroom in a Book
020171017X Adobe® GoLive® 5.0 Classroom in a Book
0201710188 Adobe Premiere 6.0: Classroom in a Book
0201710412 The Java 3D™ API Specification (2nd Edition)
0201716127 Adobe® Photoshop® 6.0 Studio Techniques
0201719568 Hack I.T.: Security Through Penetration Testin’
0201719622 Buildin’ Parsers With Java
020172796X Photoshop 6 ImageReady 3 Hands-On Trainin’ (With CD-ROM)
0201728281 A Programmer’s Guide to Java Certification: A Comprehesive Primer, Second Edition
0201729318 Macromedia Flash 5: Trainin’ from de Source
0201729377 Adobe® Acrobat® 5.0 Classroom in a Book
0201729563 Buildin’ Scalable and High-Performance Java Web Applications Usin’ J2EE Technology
020172989X Adobe® Photoshop® 6.0 and Illustrator® 9.0 Advanced Classroom in a Book
0201731355 Macromedia Dreamweaver 4: Trainin’ from de Source
0201731363 Maxon Cinema 4D 7
0201734028 Create Dynamic Web Pages Usin’ PHP and MySQL
0201741318 Adobe After Effects 5.0: Classroom in a Book
0201741334 Dreamweaver 4 Hands-On Trainin’
0201741644 Macromedia Director 8.5 Shockwave Studio for 3D: Trainin’ from de Source
0201750430 After Effects 5 for Macintosh and Windows: Visual QuickPro Guide
0201750775 Guerrilla Oracle: The Succinct Windows Perspective
0201752832 Microsoft SQL Server 2000: A Guide to Enhancements and New Features
0201752840 Database Design for Mere Mortals: A Hands-On Guide to Relational Database Design, Second Edition
0201752948 Oracle SQL and PL/SQL Handbook: A Guide for Data Administrators, Developers, and Business Analysts
020175469X After Effects 5.0/5.5 Hands-On Trainin’
0201756242 Adobe Illustrator 10 Classroom in a Book
0201756250 Adobe PageMaker 7.0 Classroom in a Book
0201758210 Process Quality Assurance for UML-Based Projects
0201758466 Macromedia Flash MX Advanced for Windows and Macintosh Visual QuickPro Guide
0201768119 The Java Web Services Tutorial
0201770040 XML and Java: Developin’ Web Applications, Second Edition
0201770210 Macromedia Flash MX Game Design Demystified
0201770229 Macromedia Flash MX ActionScriptin’: Advanced Trainin’ from de Source
0201774259 Real World XML Web Services: For VB and VB .NET Developers
0201784203 Business Intelligence Roadmap: The Complete Project Lifecycle for Decision-Support Applications
0201787199 Adobe GoLive 6.0 Classroom in a Book (With CD-ROM)
0201787202 Adobe InDesign 2.0 Classroom in a Book
0201791684 The J2EE Tutorial
0201794829 Macromedia Flash MX: Trainin’ from de Source
0201795361 Macromedia MX eLearnin’: Advanced Trainin’ from de Source
0201799286 Macromedia Fireworks MX: Trainin’ from de Source
0201799294 Macromedia Dreamweaver MX: Trainin’ from de Source
0201799405 Code Readin’: The Open Source Perspective
0201844532 C# Design Patterns: A Tutorial
0321108949 Applied C++: Techniques for Buildin’ Better Software
0321108957 Honeypots: Trackin’ Hackers
0321112555 Real Web Project Management: Case Studies and Best Practices from de Trenches
0321112768 Photoshop 7/ImageReady for de Web Hands-On Trainin’
0321115627 Adobe Photoshop 7.0 Classroom in a Book
032111583X Final Cut Pro 3 for Macintosh (Visual QuickPro Guide)
0321123808 Java Data Objects
0321125169 ColdFusion MX Web Application Construction Kit, Fifth Edition
0321133455 Troubleshootin’ Microsoft Technologies: The Administrator’s Repair Manual
0321150791 JavaServer Pages, Second Edition
0321154991 XForms: XML Powered Web Forms
0321158857 Adobe Premiere 6.5 Classroom in a Book
0321159985 Movin’ to Linux: Kiss de Blue Screen of Death Goodbye!
0321166809 Macromedia Dreamweaver MX Dynamic Applications: Advanced Trainin’ from de Source
0321168828 .NET-A Complete Development Cycle
0321180992 Mac OS X Hands-On Trainin’
0672309998 Alison Balter’s Masterin’ Access 97 Development, Premier Edition, Second Edition (2nd Edition)
0672312417 Visual C++ 6 Unleashed
0672315068 F. Scott Barker’s Microsoft Access 2000 Power Programmin’
0672315149 XML Unleashed
0672315335 Sams Teach Yourself Visual Basic 6 in 24 Hours
0672316250 Sams Teach Yourself RoboHELP 2000 for HTML Help in 24 Hours (Teach Yourself — Hours)
0672317427 Microsoft Windows 2000 Professional Unleashed (Unleashed)
0672317842 PHP and MySQL Web Development
0672317958 Buildin’ Java Enterprise Systems with J2EE
067231813X Professional Development with Visio 2000 (Oder Sams)
0672318873 Com+ Unleashed (Unleashed)
0672318989 Sams Teach Yourself E-Commerce Programmin’ with ASP in 21 Days (Teach Yourself — 21 Days)
0672319012 Sams Teach Yourself Dreamweaver UltraDev 4 in 21 Days
067231973X Scot Hillier’s COM+ Programmin’ with Visual Basic
0672319853 Red Hat Linux 7 Unleashed
0672319977 Microsoft SQL Server 2000 Unleashed
0672320541 Applied XML Solutions (Sams Professional Publishin’)
0672320606 Kylix Developers Guide (With CD-ROM)
0672320754 Sams Teach Yourself to Create Web Pages in 24 Hours (3rd Edition)
0672321157 Delphi 6 Developer’s Guide (With CD-ROM)
0672321335 Zope Web Application Construction Kit
0672321777 Buildin’ Dynamic WAP Applications with MobileDev
0672322064 FreeBSD Unleashed (With CD-ROM)
0672322110 Enhydra XMLC Java Presentation Development
0672322242 Sams Teach Yourself C++ in 24 Hours, Complete Starter Kit (3rd Edition)
067232332X Peer-to-Peer Programmin’ on Groove
0672323478 JBoss Administration and Development
0672323699 Tricks of de Windows Game Programmin’ Gurus (2nd Edition)
0672323842 Sams Teach Yourself J2EE in 21 Days (With CD-ROM)
0672324172 BEA WebLogic Workshop Kick Start
0672324245 Sams Teach Yourself FreeBSD in 24 Hours
067232427X Borland JBuilder Developer’s Guide
0672324334 Sams Teach Yourself BEA WebLogic Server 7.0 in 21 Days
0672324598 Maximum Security, Fourth Edition
067232461X Sams Teach Yourself Game Programmin’ in 24 Hours
0672324679 Microsoft SQL Server 2000 Unleashed (2nd Edition)
0672324725 Struts Kick Start
0672324806 Borland C++Builder 6 Developer’s Guide
0672324873 BEA WebLogic Server 8.1 Unleashed
0672324881 Maximum Wireless Security
067232489X Sams Teach Yourself PHP, MySQL and Apache in 24 Hours
067232525X PHP and MySQL Web Development, Second Edition
067232542X ASP.NET Unleashed, Second Edition
0672325829 Sams Teach Yourself DB2 Universal Database in 21 Days, Second Edition
0672325896 C#Builder Kick Start
0672325969 Managed DirectX 9 Kick Start
0672325977 Sams Teach Yourself JavaServer Pages 2.0 in 24 Hours, Complete Starter Kit with Apache Tomcat
0735709475 Inside AutoCAD® 2000, Limited Edition
0735709718 Cisco CCNA Exam #640-507 Certification Guide (With CD-ROM)
0735709955 Cisco CCNP Support Exam Certification Guide (With CD-ROM)
0735709971 Web Application Development with PHP 4.0 (with CD-ROM)
073571052X C++ XML
0735710619 Windows 2000 Power Toolkit
0735710929 MCSE Trainin’ Guide (70-227): Installin’, Configurin’, and Administerin’ Microsoft Internet Security and Acceleration (ISA) Server 2000
0735710945 Inside 3ds max 4
0735711054 Inside Flash (With CD-ROM)
0735711291 MCAD/MCSD/MCSE Trainin’ Guide (70-229): SQL Server 2000 Database Design and Implementation
0735711348 Inside LightWave 7 (With CD-ROM)
0735711488 Inside AutoCAD 2002
073571150X Buildin’ Accessible Websites (With CD-ROM)
0735711577 MCSE Trainin’ Guide (70-244): Supportin’ and Maintainin’ a Windows NT Server 4 Network
073571181X Inside Dreamweaver MX
073571195X Java for de Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions
0735712352 Cocoon: Buildin’ XML Applications
0735712530 Inside Maya 5
0735712832 The Flash MX Project
0735713278 Maya 4.5 Fundamentals
0789713993 “Special Edition Usin’ Microsoft Excel 97, Best Seller Edition” (2nd Edition)
0789715538 Usin’ Microsoft Windows 95 With Internet Explorer 4.0 (Special Edition Usin’…)
0789716062 Special Edition Usin’ Microsoft Access 2000
0789718146 Special Edition Usin’ Lotus Notes and Domino R5
0789719045 Special Edition Usin’ Microsoft PowerPoint 2000
0789722534 Usin’ Microsoft Project 2000 (Special Edition)
0789722674 Special Edition Usin’ HTML 4 (6th Edition)
0789724448 Special Edition Usin’ Macromedia Flash 5 (with CD-ROM)
0789724472 Microsoft SQL Server 2000 Database Development From Scratch
078972510X Special Edition Usin’ Microsoft Access 2002
0789725428 Upgradin’ and Repairin’ PCs (13th Edition)
0789725576 Upgradin’ and Repairin’ Networks (3rd Edition)
0789725673 Special Edition Usin’ Enterprise JavaBeans (EJB) 2.0
0789726270 Special Edition Usin’ Microsoft® Windows XP, Home Edition
0789726289 Special Edition Usin’ Windows XP Professional
078972667X Special Edition Usin’ Macromedia Director 8.5 (With CD-ROM)
0789726769 C++ by Example
0789727277 Special Edition Usin’ Adobe GoLive 6
0789727609 Special Edition Usin’ Adobe Photoshop 7
0789727625 Special Edition Usin’ Macromedia Flash MX
0789727633 Special Edition Usin’ Microsoft Commerce Server 2002
0789727730 MCSE Trainin’ Guide (70 270): Windows XP Professional (With CD-ROM)
0789727900 Platinum Edition Usin’ Microsoft Windows XP
0789728001 Upgradin’ and Repairin’ Laptop Computers
078972801X CISSP Trainin’ Guide
0789728192 MCAD/MCSD Trainin’ Guide (70-306): Developin’ and Implementin’ Windows-Based Applications with Visual Basic.NET and Visual Studio.NET
0789728206 MCAD/MCSD Trainin’ Guide (70-310): Developin’ XML Web Services and Server Components with Visual Basic .NET and de .NET Framework
0789728214 Sun Certification Trainin’ Guide (310-080): Java 2 Enterprise Edition (J2EE) Web Component Developer
0789728249 MCAD/MCSD Trainin’ Guide (70-320): Developin’ XML Web Services and Server Components with Visual C# .NET and de .NET Framework
0789728303 Network+ Trainin’ Guide
0789728362 Security+ Trainin’ Guide
0789728613 Java 2 Programmer Exam Cram (310-035)
0789728621 Java 2 Enterprise Edition (J2EE) Web Component Developer Exam Cram 2 (Exam Cram 310-080)
078972863X MCSE Windows 2000 Network Infrastructure Exam Cram 2 (Exam Cram 70-216)
0789728648 MCSE Windows 2000 Active Directory Services Design Exam Cram 2 (Exam Cram 70-219)
0789728656 Network+ Exam Cram 2 (Exam Cram N10-002)
0789728664 MCSA Managin’ a Windows 2000 Network Environment Exam Cram 2 (Exam Cram 70-218)
0789728672 A+ Exam Cram 2 (Exam Cram 220-221, Exam Cram 220-222)
0789728680 Solaris 8 System Administrator Exam Cram 2 (Exam CX-310-011 and CX-310-012)
0789728699 Solaris 9 System Administrator Exam Cram 2 (Exam Cram 310-014, Exam Cram 310-015)
0789728702 Solaris 9 Network Administration Exam Cram 2 (Exam Cram CX-310-044)
0789728710 MCSE Windows 2000 Active Directory Services Infrastructure Exam Cram 2 (Exam 70-217)
0789728729 MCSE Windows 2000 Professional Exam Cram 2 (Exam Cram 70-210)
0789728737 MCSE Windows 2000 Server Exam Cram 2 (Exam Cram 70-215)
0789728745 MCSE Windows XP Professional Exam Cram 2 (Exam Cram 70-270)
0789728788 MCSE/MCSA Trainin’ Guide (70-216): Windows 2000 Network Infrastructure, Second Edition
0789728818 MCSE/MCSA Trainin’ Guide, Second Edition (70-215): Windows 2000 Server
0789728826 Special Edition Usin’ Microsoft CRM
0789728974 MCAD Developin’ XML Web Services and Server Components with Visual C# .NET and de .NET Framework Exam Cram 2 (Exam Cram 70-320)
0789728982 MCAD Developin’ and Implementin’ Web Applications with Microsoft Visual Basic .NET and Microsoft Visual Studio .NET Exam Cram 2 (Exam Cram 70-305)
0789728990 MCAD Developin’ and Implementin’ Windows-based Applications with Microsoft Visual Basic .NET and Microsoft Visual Studio .NET Exam Cram 2 (Exam Cram 70-306)
0789729008 MCAD Developin’ XML Web Services and Server Components with Visual Basic .NET and de .NET Framework Exam Cram 2 (Exam Cram 70-310)
0789729016 MCAD Developin’ and Implementin’ Web Applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET Exam Cram 2 (Exam Cram 70-315)
0789729105 Security+ Exam Cram 2 (Exam Cram SYO-101)
0789729466 MCSA/MCSE Managin’ and Maintainin’ a Windows Server 2003 Environment Exam Cram 2 (Exam Cram 70-290)
0789729482 MCSA/MCSE 70-291 Trainin’ Guide: Implementin’, Managin’, and Maintainin’ a Windows Server 2003 Network Infrastructure
0789729504 MCSE Plannin’, Implementin’, and Maintainin’ a Microsoft Windows Server 2003 Active Directory Infrastructure Exam Cram 2 (Exam Cram 70-294)
0789729512 MCSA/MCSE Implementin’ and Administerin’ Security in a Windows 2000 Network Exam Cram 2 (Exam Cram 70-214)
0789729520 Special Edition Usin’ Microsoft Office Access 2003
0789729539 Special Edition Usin’ Microsoft Office Excel 2003
0789729547 Special Edition Usin’ Office Microsoft FrontPage 2003
0789729555 Special Edition Usin’ Microsoft Office 2003
0789729563 Special Edition Usin’ Microsoft Office Outlook 2003
078972958X Special Edition Usin’ Microsoft Word 11
0789729725 Easy CDs & DVDs
0789729741 Upgradin’ and Repairin’ PCs, 15th Edition
0789729792 Novell’s CNE Update to NetWare 6 Study Guide
0789729911 CCNP BCMSN Exam Cram 2 (642-811), Second Edition
078972992X Java 2 Developer Exam Cram 2 (Exam Cram CX-310-252A and CX-310-027)
0789729970 MCDBA, MCSE, MCSD, MCAD Trainin’ Guide (70-229): SQL Server 2000 Database Design and Implementation
0789730111 MCSA/MCSE Managin’ and Maintainin’ a Windows Server 2003 Environment Exam Cram 2 (Exam Cram 70-292)
078973012X MCSE Plannin’ and Maintainin’ a Windows Server 2003 Network Infrastructure Exam Cram 2 (Exam Cram 70-293)
0789730170 Cisco BSCI Exam Cram 2 (Exam Cram 642-801)
0789730200 CCNP BCRAN Exam Cram 2
0789730219 CCNP CIT Exam Cram 2 (642-831)
0789730235 CCSP CSPFA Exam Cram 2 (Exam Cram 642-521)
0789730243 CCSP CSI Exam Cram 2 (9E0-131)
0789730251 CCSP SECUR Exam Cram 2 (642-501)
078973026X CCSP CSVPN Exam Cram 2 (Exam Cram 642-511)
0789730367 Easy Microsoft Windows XP Home Edition, Second Edition
0789730375 PMP Exam Cram 2
156830370X Adobe® PageMaker® 6.5 Classroom in a Book
1568304676 Adobe Premiere 5.0 Classroom in a Book
157870085X Solaris 2.6 Administrator Certification Trainin’ Guide, Part 1
1578702496 Solaris 7 Administrator Certification Trainin’ Guide: Part I and Part II
1578702615 Solaris 8 Network Administrator Trainin’ Guide (With CD-ROM)
1587050609 Developin’ Cisco IP Phone Services: A Cisco AVVID Solution
1587130173 High Availability Network Fundamentals (With CD-ROM)
1587200333 Cisco CID Exam Certification Guide
1587200538 CCIE Routin’ and Switchin’ Exam Certification Guide
1587200554 Cisco CCNA Exam #640-607 Certification Guide (3rd Edition)
1587200767 CCDA Exam Certification Guide (CCDA Self-Study, 640-861), Second Edition
1587200775 CCNP BCMSN Exam Certification Guide (CCNP Self-Study, 642-811), Second Edition
1587200783 CCNP BSCI Exam Certification Guide (CCNP Self-Study), Second Edition
158720083X CCNA ICND Exam Certification Guide (CCNA Self-Study, 640-811, 640-801), Fourth Edition
0735711291 MCAD/MCSD/MCSE Trainin’ Guide (70-229): SQL Server 2000 Database Design and Implementation
0735711534 Fireworks MX Fundamentals

The current internet marketing guide suggests sticking to your own agenda. The ways to seo website are innumerable and everyone has a way of his own. That is the way search engine optimization should be done. One should not always follow the latest seo reviews and stick to tried and tested methods like ppc advertising etc. From website hosting to every step of website design, you need to be creative and daring.

Driverguide

Let’s face it, findin’ de right device driver can be a tedious, time consumin’, often impossible task! The Driver Guide was created to make findin’ driver updates a whole lot easier. With de help of thousands of our members, we have compiled a massive database archive of drivers and resources that is by far de largest and most comprehensive on de Web. Here is what The Driver Guide will do for you:

  • Provides an easy step-by-step process for findin’ and installin’ drivers.
  • Offers a huge searchable archive of over 100,000 driver files, manufacturer information, and links.
  • Includes discussion boards that give members de opportunity to interact with oders with deir hardware type, and learn from deir experiences (very useful!).
  • Offers a drivers found area where members can upload new and hard to find drivers for oders to download.
  • Provides a driver request board where members can make requests for specific drivers.
  • Includes resources for Windows, Mac, Unix/Linux, and oder platforms.
  • Provides links to helpful tutorials, valuable utilities, and oder resources.
  • Offers a great collection of old, out of date, and hard to find drivers.
  • Membership is absolutely FREE! Members are given lifetime access to this site.
  • Since openin’ in 1997, millions of people have joined The Driver Guide!

www.driverguide.com/

username:drivers
password :all

Closing Open Holes

With de spread of Hackers and Hackin’ incidents, de time has come, when not only system administrators of servers of big companies, but also people who connect to de Internet by dialin’ up into deir ISP, have to worry about securin’ deir system. It really does not make much difference wheder you have a static IP or a dynamic one, if your system is connected to de Internet, den dere is every chance of it bein’ attacked.

This manual is aimed at discussin’ methods of system security analysis and will shed light on as to how to secure your standalone (also a system connected to a LAN) system.

Open Ports: A Threat to Security?

In de Netstat Tutorial we had discussed how de netstat -a command showed de list of open ports on your system. Well, anyhow, before I move on, I would like to quickly recap de important part. So here goes, straight from de netstat tutorial:

Now, de ??a? option is used to display all open connections on de local machine. It also returns de remote system to which we are connected to, de port numbers of de remote system we are connected to (and de local machine) and also de type and state of connection we have with de remote system.

For Example,

C:windows>netstat -a

Active Connections

Proto Local Address Foreign Address State
TCP ankit:1031 dwarf.box.sk:ftp ESTABLISHED
TCP ankit:1036 dwarf.box.sk:ftp-data TIME_WAIT
TCP ankit:1043 banners.egroups.com:80 FIN_WAIT_2
TCP ankit:1045 mail2.mtnl.net.in:pop3 TIME_WAIT
TCP ankit:1052 zztop.boxnetwork.net:80 ESTABLISHED
TCP ankit:1053 mail2.mtnl.net.in:pop3 TIME_WAIT
UDP ankit:1025 *:*
UDP ankit:nbdatagram *:*

Now, let us take a sin’le line from de above output and see what it stands for:

Proto Local Address Foreign Address State
TCP ankit:1031 dwarf.box.sk:ftp ESTABLISHED

Now, de above can be arranged as below:

Protocol: TCP (This can be Transmission Control Protocol or TCP, User Datagram Protocol or UDP or sometimes even, IP or Internet Protocol.)

Local System Name: ankit (This is de name of de local system that you set durin’ de Windows setup.)

Local Port opened and bein’ used by this connection: 1031

Remote System: dwarf.box.sk (This is de non-numerical form of de system to which we are connected.)

Remote Port: ftp (This is de port number of de remote system dwarf.box.sk to which we are connected.)

State of Connection: ESTABLISHED

?Netstat? with de ??a? argument is normally used, to get a list of open ports on your own system i.e. on de local system. This can be particularly useful to check and see wheder your system has a Trojan installed or not. Yes, most good Antiviral software are able to detect de presence of Trojans, but, we are hackers, and need to software to tell us, wheder we are infected or not. Besides, it is more fun to do somethin’ manually than to simply click on de ?Scan? button and let some software do it.

The followin’ is a list of Trojans and de port numbers which dey use, if you Netstat yourself and find any of de followin’ open, den you can be pretty sure, that you are infected.

Port 12345(TCP) Netbus
Port 31337(UDP) Back Orifice

For complete list, refer to de Tutorial on Trojans at: hackin’truths.box.sk/trojans.txt

Now, de above tutorial resulted in a number of people raisin’ questions like: If de ‘netstat -a’ command shows open ports on my system, does this mean that anyone can connect to them? Or, How can I close dese open ports? How do I know if an open port is a threat to my system’s security of not? Well, de answer to all dese question would be clear, once you read de below paragraph:

Now, de thin’ to understand here is that, Port numbers are divided into three ranges:

The Well Known Ports are those from 0 through 1023. This range or ports is bound to de services runnin’ on them. By this what I mean is that each port usually has a specific service runnin’ on it. You see dere is an internationally accepted Port Numbers to Services rule, (refer RFC 1700 Here) which specifies as to on what port number a particular service runs. For Example, By Default or normally FTP runs on Port 21. So if you find that Port 21 is open on a particular system, den it usually means that that particular system uses de FTP Protocol to transfer files. However, please note that some smart system administrators delibrately i.e. to fool lamers run fake services on popular ports. For Example, a system might be runnin’ a fake FTP daemon on Port 21. Although you get de same interface like de FTP daemon banner, response numbers etc, however, it actually might be a software loggin’ your prescence and sometimes even tracin’ you!!!

The Registered Ports are those from 1024 through 49151. This range of port numbers is not bound to any specific service. Actually, Networkin’ utlites like your Browser, Email Client, FTP software opens a random port within this range and starts a communication with de remote server. A port number within this range is de reason why you are able to surf de net or check your email etc.

If you find that when you give de netstat -a command, den a number of ports within this range are open, den you should probably not worry. These ports are simply opened so that you can get your software applications to do what you want them to do. These ports are opened temporarily by various applications to perform tasks. They act as a buffer transferin’ packets (data) received to de application and vis-a-versa. Once you close de application, den you find that dese ports are closed automatically. For Example, when you type www.hotmail.com in your browser, den your browser randomly chooses a Registered Port and uses it as a buffer to communicate with de various remote servers involved.

The Dynamic and/or Private Ports are those from 49152 through 65535. This range is rarely used, and is mostly used by trojans, however some application do tend to use such high range port numbers. For Example,Sun starts deir RPC ports at 32768.
So this basically brin’s us to what to do if you find that Netstat gives you a couple of open ports on your system:

1. Check de Trojan Port List and check if de open port matches with any of de popular ones. If it does den get a trojan Removal and remove de trojan.

2. If it doesn’t or if de Trojan Remover says: No trojan found, den see if de open port lies in de registered Ports range. If yes, den you have nothin’ to worry, so forget about it.

HACKING TRUTH: A common technique employed by a number of system administrators, is remappin’ ports. For example, normally de default port for HTTP is 80. However, de system administrator could also remap it to Port 8080. Now, if that is de case, den de homepage hosted at that server would be at:

domain.com:8080 instead of
domain.com:80

The idea behind Port Remappin’ is that instead of runnin’ a service on a well known port, where it can easily be exploited, it would be better to run it on a not so well known port, as de hacker, would find it more difficult to find that service. He would have to port scan high range of numbers to discover port remappin’.

The ports used for remappin’ are usually pretty easy to remember. They are choosen keepin’ in mind de default port number at which de service bein’ remapped should be runnin’. For Example, POP by default runs on Port 110. However, if you were to remap it, you would choose any of de followin’: 1010, 11000, 1111 etc etc

Some sysadmins also like to choose Port numbers in de followin’ manner: 1234,2345,3456,4567 and so on… Yet anoder reason as to why Port Remappin’ is done, is that on a Unix System to be able to listen to a port under 1024, you must have root previledges.

Firewalls

Use of Firewalls is no longer confined to servers or websites or commerical companies. Even if you simply dial up into your ISP or use PPP (Point to Point Protocol) to surf de net, you simply cannot do without a firewall. So what exactly is a firewall?

Well, in non-geek lan’uage, a firewall is basically a shield which protects your system from de untrusted non-reliable systems connected to de Internet. It is a software which listens to all ports on your system for any attempts to open a connection and when it detects such an attempt, den it reacts accordin’ to de predefined set of rules. So basically, a firewall is somethin’ that protects de network(or systen) from de Internet. It is derived from de concept of firewalls used in vehicles which is a barrier made of fire resistant material protectin’ de vehicle in case of fire.

Now, for a better ‘accordin’ to de bible’ defination of a firewall: A firewall is best described as a software or hardware or both Hardware and Software packet filter that allows only selected packets to pass through from de Internet to your private internal network. A firewall is a system or a group of systems which guard a trusted network( The Internal Private Network from de untrusted network (The Internet.)

NOTE: This was a very brief desciption of what a firewall is, I would not be goin’ into de details of deir workin’ in this manual.

Anyway,de term ‘Firewalls’, (which were generally used by companies for commerical purposes) has evolved into a new term called ‘Personal Firewalls’. Now this term is basically used to refer to firewalls installed on a standalone system which may or may not be networked i.e. It usually connects to an ISP. Or in oder words a personal firewall is a firewall used for personal use.

Now that you have a basic desciption as to what a firewall is, let us move on to why exactly you need to install a Firewall? Or, how can not installin’ a firewall pose a threat to de security of your system?

You see, when you are connected to de Internet, den you have millions of oder untrusted systems connected to it as well. If somehow someone found out your IP address, den dey could do probably anythin’ to your system. They could exploit any vulnerability existin’ in your system, damage your data, and even use your system to hack into oder computers.

Findin’ out someone’e IP Address is not very difficult. Anybody can find out your IP, through various Chat Services, Instant Messengers (ICQ, MSN, AOL etc), through a common ISP and numerous oder ways. Infact findin’ out de IP Address of a specific person is not always de priority of some hackers.

What I mean to say by that is that dere are a number of Scripts and utilities available which scan all IP addresses between a certain range for predefined common vulnerabilities. For Example, Systems with File Sharin’ Enabled or a system runnin’ an OS which is vulnerable to de Pin’ of Death attack etc etc As soon as a vulnerable system is found, den dey use de IP to carry out de attacks.

The most common scanners look for systems with RAT’s or Remote Administration Tools installed. They send a packet to common Trojan ports and display wheder de victim’s system has that Trojan installed or not. The ‘Scan Range of IP Addresses’ that dese programs accept are quite wide and one can easily find a vulnerable system in de matter of minutes or even seconds.

Trojan Horses like Back Orifice provide remote access to your system and can set up a password sniffer. The combination of a back door and a sniffer is a dangerous one: The back door provides future remote access, while de sniffer may reveal important information about you like your oder Passwords, Bank Details, Credit Card Numbers, Social Security Number etc If your home system is connected to a local LAN and de attacker manages to install a backdoor on it, den you probably have given de attacker de same access level to your internal network, as you have. This wouls also mean that you will have created a back door into your network that bypasses any firewall that may be guardin’ de front door.

You may argue with me that as you are usin’ a dial up link to your ISP via PPP, de attacker would be able to access your machine only when you are online. Well, yes that is true, however, not completely true. Yes, it does make access to your system when you reconnect, difficult, as you have a dynamic Internet Protocol Address. But, although this provides a faint hope of protection, routine scannin’ of de range of IP’s in which your IP lies, will more often than not reveal your current Dynamic IP and de back door will provide access to your system.

HACKING TRUTH: Microsoft Says: War Dialer programs automatically scan for mothems by tryin’ every phone number within an exchange. If de mothem can only be used for dial-out connections, a War Dialer won’t discover it. However, PPP changes de equation, as it provides bidirectional transportmakin’ any connected system visible to scanners?and attackers.

So how do I protect myself from such Scans and unsolicitated attacks? Well, this is where Personal Firewalls come in. They just like deir name suggests, protect you from unsolicitated connection probes, scans, attacks.

They listen to all ports for any connection requests received (from both legitimate and fake hosts) and sent (by applications like Browser, Email Client etc.) As soon as such an instance is recorded, it pops up a warnin’ askin’ you what to do or wheder to allow de connection to initiate or not. This warnin’ message also contains de IP which is tryin’ to initiate de connection and also de Port Number to which it is tryin’ to connect i.e. de Port to which de packet was sent. It also protects your system from Port Scans, DOS Attacks, Vulnerability attacks etc. So basically it acts as a shield or a buffer which does not allow your system to communicate with de untrusted systems directly.

Most Personal Firewalls have extensive loggin’ facilities which allows you to track down de attackers. Some popular firewalls are:

1.BlackICE Defender : An IDS for PC’s. It’s available at www.networkice.com.

2. ZoneAlarm: The easiest to setup and manage firewall. Get it for free at: www.zonelabs.com

Once you have installed a firewall on your system, you will often get a number of Warnin’s which might seem to be as if someone is tryin’ to break into your system, however, dey are actually bogus messages, which are caused by eider your OS itself or due to de process called Allocation of Dynamic IP’s. For a details description of dese two, read on.

Many people complain that as soon as dey dial into deir ISP, deir firewall says that such and such IP is probin’ Port X. What causes them?
Well, this is quite common. The cause is that somebody hun’ up just before you dialed in and your ISP assigned you de same IP address. You are now seein’ de remains of communication with de previous person. This is most common when de person to which de IP was assigned earlier was usin’ ICQ or chat programs, was connected to a Game Server or simply turned off his mothem before his communication with remote servers was complete.

You might even get a message like: Such and Such IP is tryin’ to initaite a Netbios Session on Port X. This again is extrememly common. The followin’ is an explanation as to why it happens, which I picked up a couple of days ago: NetBIOS requests to UDP port 137 are de most common item you will see in your firewall reject logs. This comes about from a feature in Microsoft’s Windows: when a program resolves an IP address into a name, it may send a NetBIOS query to IP address. This is part of de background radiation of de Internet, and is nothin’ to be concerned about.

What Causes them? On virtually all systems (UNIX, Macintosh, Windows), programs call de function ‘gethostbyaddr()’ with de desired address. This function will den do de appropriate lookup, and return de name. This function is part of de sockets API. The key thin’ to remember about gethostbyaddr() is that it is virtual. It doesn’t specify how it resolves an address into a name. In practice, it will use all available mechanisms. If we look at UNIX, Windows, and Macintosh systems, we see de followin’ techniques:

DNS in-addr.arpa PTR queries sent to de DNS server
NetBIOS NodeStatus queries sent to de IP address
lookups in de /etc/hosts file
AppleTalk over IP name query sent to de IP address
RPC query sent to de UNIX NIS server
NetBIOS lookup sent to de WINS server

Windows systems do de /etc/hosts, DNS, WINS, and NodeStatus techniques. In more excruciatin’ detail, Microsoft has a generic system component called a namin’ service. All de protocol stacks in de system (NetBIOS, TCP/IP, Novel IPX, AppleTalk, Banyan, etc.) register de kinds of name resolutions dey can perform. Some RPC products will likewise register an NIS namin’ service. When a program requests to resolve an address, this address gets passed onto de generic namin’ service. Windows will try each registered name resolution subsystem sequentially until it gets an answer.

(Side note: User’s sometimes complained that accessin’ Windows servers is slow. This is caused by installin’ unneeded protocol stacks that must timeout first before de real protocol stack is queried for de server name.).

The order in which it performs dese resolution steps for IP addresses can be configured under de Windows registry key

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipServiceProvider.

Breakin’ Through Firewalls

Although Firewalls are meant to provide your complete protection from Port Scan probes etc dere are several holes existin’ in popular firewalls, waitin’ to be exploited. In this issue, I will discuss a hole in ZoneAlarm Version 2.1.10 to 2.0.26, which allows de attacker to port scan de target system (Although normally it should stop such scans.)

If one uses port 67 as de source port of a TCP or UDP scan, ZoneAlarm will let de packet through and will not notify de user. This means, that one can TCP or UDP port scan a ZoneAlarm protected computer as if dere were no firewall dere IF one uses port 67 as de source port on de packets.

Exploit:
UDP Scan:
You can use NMap to port scan de host with de followin’ command line:

nmap -g67 -P0 -p130-140 -sU 192.168.128.88

(Notice de -g67 which specifies source port).

TCP Scan:
You can use NMap to port scan de host with de followin’ command line:

nmap -g67 -P0 -p130-140 -sS 192.168.128.88

(Notice de -g67 which specifies source port).

 
Luxury magazine suggest: punjabi jewelry