<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6289684729041688120</id><updated>2011-04-21T14:16:38.950-07:00</updated><title type='text'>FreeBSD Help</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-7106464924454950899</id><published>2008-07-11T06:21:00.000-07:00</published><updated>2008-07-11T06:28:29.277-07:00</updated><title type='text'>Ettercap</title><content type='html'>Ettercap is a penetration tester, it has many functions that are fun to play around with. To install it via ports browse over to the dir and install it.&lt;br /&gt;&lt;br /&gt;# cd /usr/ports/net-mgmt/ettercap&lt;br /&gt;# make install clean&lt;br /&gt;&lt;br /&gt;I built it with the default settings&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://i293.photobucket.com/albums/mm61/wcosug/ettercap.jpg"&gt;&lt;img style="MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" border="0" alt="" src="http://i293.photobucket.com/albums/mm61/wcosug/ettercap.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;An example how to run a dns_spoof can be found &lt;a href="http://wcosughacking.blogspot.com/2008/07/dns-spoof.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-7106464924454950899?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/7106464924454950899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=7106464924454950899' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/7106464924454950899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/7106464924454950899'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/07/ettercap.html' title='Ettercap'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-6927244434956418489</id><published>2008-06-24T07:02:00.000-07:00</published><updated>2008-06-24T07:35:48.709-07:00</updated><title type='text'>Cisco 7940 on Asterisk FreeBSD</title><content type='html'>After a week of trial an error and reading oh so many guides I have finally managed to get these phones to work. First thing is first to enable the built in tftp server that comes along with FreeBSD.&lt;br /&gt;#nano /etc/inetd.conf&lt;br /&gt;scroll down to where it says tftp and uncomment those two lines by deleting the # at the begining of them. Now save the file. Incase your computer dosn't load inetd on startup do the following.&lt;br /&gt;#nano /etc/rc.conf&lt;br /&gt;and add the following line&lt;br /&gt;&lt;em&gt;inetd_enable="YES"&lt;/em&gt;&lt;br /&gt;and save the file, and reboot your computer. Next create the default tftp directory&lt;br /&gt;#mkdir /tftpboot&lt;br /&gt;Next move to the new dir&lt;br /&gt;#cd /tftpboot&lt;br /&gt;I really recommend using this cisco sip firmware, you can get it by using wget&lt;br /&gt;#wget &lt;a href="http://www.xs4all.nl/~graver1/cisco/SIP-7960/P0S3-08-8-00.zip"&gt;http://www.xs4all.nl/~graver1/cisco/SIP-7960/P0S3-08-8-00.zip&lt;/a&gt;&lt;br /&gt;Once its done downloading you need to unzip it.&lt;br /&gt;#unzip P0S3-08-8-00.zip&lt;br /&gt;The zip file contains 5 files&lt;br /&gt;OS79XX.TXT&lt;br /&gt;P003-08-8-00.bin&lt;br /&gt;P003-08-8-00.sbn&lt;br /&gt;P0S3-08-8-00.loads&lt;br /&gt;P0S3-08-8-00.sb2&lt;br /&gt;Next you have to create a SIPDefault.cnf file&lt;br /&gt;#nano SIPDefault.cnf&lt;br /&gt;This is what mine contains.&lt;br /&gt;&lt;em&gt;# Image Versionimage_version: "P0S3-08-8-00"&lt;br /&gt;# Proxy Serverproxy1_address: "TrixboxIpaddress"proxy2_address: ""proxy3_address: ""proxy4_address: ""proxy5_address: ""proxy6_address: ""&lt;br /&gt;# Proxy Server Port (default - 5060)proxy1_port:"5060"proxy2_port:""proxy3_port:""proxy4_port:""proxy5_port:""proxy6_port:""&lt;br /&gt;# Emergency Proxy infoproxy_emergency: "TrixboxIP"proxy_emergency_port: "5060"&lt;br /&gt;# Backup Proxy infoproxy_backup: ""proxy_backup_port: "5060"&lt;br /&gt;# Outbound Proxy infooutbound_proxy: "TrixboxIpaddress"outbound_proxy_port: "5060"&lt;br /&gt;# NAT/Firewall Traversalnat_enable: ""nat_address: ""voip_control_port: "5061"start_media_port: "16384"end_media_port: "32766"nat_received_processing: "0"&lt;br /&gt;# Proxy Registration (0-disable (default), 1-enable)proxy_register: "1"&lt;br /&gt;# Phone Registration Expiration [1-3932100 sec] (Default - 3600)timer_register_expires: "3600"&lt;br /&gt;# Codec for media stream (g711ulaw (default), g711alaw, g729)preferred_codec: "none"&lt;br /&gt;# TOS bits in media stream [0-5] (Default - 5)tos_media: "5"&lt;br /&gt;# Enable VAD (0-disable (default), 1-enable)enable_vad: "1"&lt;br /&gt;# Allow for the bridge on a 3way call to join remaining parties upon hangupcnf_join_enable: "1" ; 0-Disabled, 1-Enabled (default)&lt;br /&gt;# Allow Transfer to be completed while target phone is still ringingsemi_attended_transfer: "0" ; 0-Disabled, 1-Enabled (default)&lt;br /&gt;# Telnet Level (enable or disable the ability to telnet into this phonetelnet_level: "2" ; 0-Disabled (default), 1-Enabled, 2-Privileged&lt;br /&gt;# Inband DTMF Settings (0-disable, 1-enable (default))dtmf_inband: "1"&lt;br /&gt;# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always - always avt )dtmf_outofband: "1"&lt;br /&gt;# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)dtmf_db_level: "3"&lt;br /&gt;# SIP Timerstimer_t1: "500" ; Default 500 msectimer_t2: "4000" ; Default 4 secsip_retx: "10" ; Default 11sip_invite_retx: "6" ; Default 7timer_invite_expires: "180" ; Default 180 sec&lt;br /&gt;# Setting for Message speeddial to UOne boxmessages_uri: "*97"&lt;br /&gt;#********* Release 2 new config parameters **********&lt;br /&gt;# TFTP Phone Specific Configuration File Directorytftp_cfg_dir: "./"&lt;br /&gt;# Time Serversntp_mode: "unicast"sntp_server: "time.nist.gov"time_zone: "EST"dst_offset: "1"dst_start_month: "April"dst_start_day: ""dst_start_day_of_week: "Sun"dst_start_week_of_month: "1"dst_start_time: "02"dst_stop_month: "Oct"dst_stop_day: ""dst_stop_day_of_week: "Sunday"dst_stop_week_of_month: "8"dst_stop_time: "2"dst_auto_adjust: "1"&lt;br /&gt;# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no user control)dnd_control: "1" ; Default 0 (Do Not Disturb feature is off)&lt;br /&gt;# Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)callerid_blocking: "0" ; Default 0 (Disable sending all calls as anonymous)&lt;br /&gt;# Anonymous Call Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3-enabled no user control)anonymous_call_block: "0" ; Default 0 (Disable blocking of anonymous calls)&lt;br /&gt;# Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabled with no user control)call_waiting: "1" ; Default 1 (Call Waiting enabled)&lt;br /&gt;# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)dtmf_avt_payload: "101" ; Default 100&lt;br /&gt;# XML file that specifies the dialplan desireddial_template: "dialplan"&lt;br /&gt;# Network Media Type (auto, full100, full10, half100, half10)network_media_type: "auto"&lt;br /&gt;#Autocompletion During Dial (0-off, 1-on [default])autocomplete: "1"&lt;br /&gt;#Time Format (0-12hr, 1-24hr [default])time_format_24hr: "0"&lt;br /&gt;# URL for external Phone Servicesservices_url: "http://TrixboxIpaddress/cisco/services/index_cisco.php"&lt;br /&gt;# URL for external Directory locationdirectory_url: "http://TrixboxIpaddress/cisco/services/PhoneDirectory.php"&lt;br /&gt;# URL for branding logologo_url: &lt;a href="http://trixboxipaddress/cisco/bmp/trixbox.bmp"&gt;http://TrixboxIpaddress/cisco/bmp/trixbox.bmp&lt;/a&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;You are also going to need another file called SIPMAC.cnf all letters in the mac address have to be CAPITAL. Here is mine&lt;br /&gt;#nano SIP000C85F059F8.cnf&lt;br /&gt;&lt;em&gt;# Cisco SIP Configuration&lt;br /&gt;phone_label: "Your Name Here"line1_name: "435"line1_shortname: "435"line1_displayname: "435"line1_password: "Pass Removed"line2_name: "335"line2_shortname: "335"line2_displayname: "335"line2_password: "Pass Removed"line3_name: "UNPROVISIONED"line3_shortname: "UNPROVISIONED"line3_displayname: "UNPROVISIONED"line3_password: "UNPROVISIONED"line4_name: "UNPROVISIONED"line4_shortname: "UNPROVISIONED"line4_displayname: "UNPROVISIONED"line4_password: "UNPROVISIONED"line5_name: "UNPROVISIONED"line5_shortname: "UNPROVISIONED"line5_displayname: "UNPROVISIONED"line5_password: "UNPROVISIONED"line6_name: "UNPROVISIONED"line6_shortname: "UNPROVISIONED"line6_displayname: "UNPROVISIONED"line6_password: "UNPROVISIONED"line1_authname: "435"line2_authname: "335"line3_authname: "UNPROVISIONED"line4_authname: "UNPROVISIONED"line5_authname: "UNPROVISIONED"line6_authname: "UNPROVISIONED"&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;Now it is time to boot the phone I would really recommend reseting it to factory defaults to do this when it powers on the headset light comes on hold down # then when the speaker light goes off put in this key combination 123456789*0# the phone will ask you if you want to reset it press 2 to continue. The phone will boot up three times at most. I had an old version of the firmware for you can see what is going on it will boot mine said&lt;br /&gt;Cisco System Inc 2000-2005&lt;br /&gt;Then its said&lt;br /&gt;Verifying load&lt;br /&gt;Upgrading app&lt;br /&gt;Reboot&lt;br /&gt;Cisco System Inc 2000-2007&lt;br /&gt;Verifying load&lt;br /&gt;Upgrading app&lt;br /&gt;Reboot&lt;br /&gt;Cisco System Inc 2000-2006&lt;br /&gt;Sip&lt;br /&gt;Now your configuration will be loaded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-6927244434956418489?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/6927244434956418489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=6927244434956418489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/6927244434956418489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/6927244434956418489'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/06/cisco-7940-on-asterisk-freebsd.html' title='Cisco 7940 on Asterisk FreeBSD'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-2393205676512994528</id><published>2008-06-17T12:47:00.000-07:00</published><updated>2008-06-20T07:30:58.342-07:00</updated><title type='text'>Asterisk</title><content type='html'>Asterisk is an open source PBX software, it works wonders If you want to use at home or at a small business. I'm trying to convince my place of employment to switch over to Asterisk since they are looking for a new phone setup. I will be using Cisco 7940 phones using the sip protocol. To install Asterisk you need to have &lt;a href="http://wcosugbsd.blogspot.com/2008/05/kernel-source-tree.html"&gt;source tree &lt;/a&gt;installed.  The install is straight foward. You change to the asterisk port directory.&lt;br /&gt;#cd /usr/ports/net/asterisk12&lt;br /&gt;#make install clean&lt;br /&gt;I used all the default compile settings.&lt;br /&gt;I launched asterisk to make sure everything was working just fine. I used this following command which will also log you into the asterisk terminal.&lt;br /&gt;#asterisk -vvvvvvvvvvvvvvc&lt;br /&gt;That is 14 v's&lt;br /&gt;Once asterisk was running I installed asterisk-gui.&lt;br /&gt;#cd /usr/ports/www/asterisk-gui&lt;br /&gt;#make install clean&lt;br /&gt;In the compile settings I checked sip and load default config files everything else is default.&lt;br /&gt;No after is done compiling there are some tweaks you have to make to enable it on the conf files.&lt;br /&gt;#cd /usr/local/etc/asterisk&lt;br /&gt;First we are going to edit the manager.conf file&lt;br /&gt;#nano manager.conf&lt;br /&gt;It should read as follows&lt;br /&gt;'displayssystemname = yes&lt;br /&gt;enabled = yes&lt;br /&gt;webenabled = yes&lt;br /&gt;port = 5038&lt;br /&gt;httptimeout = 60&lt;br /&gt;bindaddr = 0.0.0.0'&lt;br /&gt;Save&lt;br /&gt;Next we edit the http.conf file&lt;br /&gt;#nano http.conf&lt;br /&gt;The top portion should be as follows&lt;br /&gt;'enabled=yes&lt;br /&gt;enablestatic=yes&lt;br /&gt;bindaddr=0.0.0.0&lt;br /&gt;bindport=8088'&lt;br /&gt;Save an exit&lt;br /&gt;I have the following at the end of manager.conf for a user names cmclaine it is completley optional but it makes my life easier so I would assume it would do the same for you.&lt;br /&gt;'[cmclaine]&lt;br /&gt;secret=password&lt;br /&gt;permit=10.10.10.197/255.255.255.0&lt;br /&gt;read = system,call,log,verbose,command,agent,config&lt;br /&gt;write = system,call,log,verbose,command,agent,config'&lt;br /&gt;The permit line allows another IP address to connect to the asterisk-gui because by default on localhost can connect to asterisk-gui. You are done configuring asterisk-gui.&lt;br /&gt;I've noticed if you do a reload in asterisk it wont always reload everything so go ahead and reboot your box then you can run asterisk.&lt;br /&gt;#asterisk -vvvvvvvvvvvvvc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-2393205676512994528?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/2393205676512994528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=2393205676512994528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/2393205676512994528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/2393205676512994528'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/06/asterisk.html' title='Asterisk'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-4211926466393069510</id><published>2008-06-17T12:04:00.000-07:00</published><updated>2008-06-17T12:43:50.044-07:00</updated><title type='text'>Mouse</title><content type='html'>Several of you emailed me about your mouse not working in X windows there is relatively an easy fix for this. I'm going to assume you are logged in as root on ttyv since your mouse isn't working in X org.&lt;br /&gt;Run the command to detect your mouse, X config has come a long way&lt;br /&gt;#X -configure&lt;br /&gt;Now you should get some output telling you to try it.&lt;br /&gt;#X -config /root/xorg.conf.new&lt;br /&gt;About 90% of the time it will of worked now you just make it the default config file for Xorg.&lt;br /&gt;#cp /root/xorg.conf.new /etc/X11/xorg.conf&lt;br /&gt;Now your mouse will work when you startup Xorg.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-4211926466393069510?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/4211926466393069510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=4211926466393069510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/4211926466393069510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/4211926466393069510'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/06/mouse.html' title='Mouse'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-5728927647468137053</id><published>2008-05-12T12:08:00.000-07:00</published><updated>2008-05-12T12:11:19.956-07:00</updated><title type='text'>Gimp</title><content type='html'>Gimp is a great &lt;span id="SPELLING_ERROR_0" class="blsp-spelling-corrected"&gt;open source&lt;/span&gt; replacement for &lt;span id="SPELLING_ERROR_1" class="blsp-spelling-error"&gt;photoshop&lt;/span&gt;. It has allot of features but not as many as &lt;span id="SPELLING_ERROR_2" class="blsp-spelling-error"&gt;photoshop&lt;/span&gt;. You can fix red eye do layer &lt;span id="SPELLING_ERROR_3" class="blsp-spelling-corrected"&gt;transparency&lt;/span&gt;, it is a great product for being free and it is very light weight also. Another simple program to install you browse to the port folder.&lt;br /&gt;#&lt;span id="SPELLING_ERROR_4" class="blsp-spelling-error"&gt;cd&lt;/span&gt; /&lt;span id="SPELLING_ERROR_5" class="blsp-spelling-error"&gt;usr&lt;/span&gt;/ports/graphics/gimp&lt;br /&gt;#make install clean&lt;br /&gt;You can't tell me you, you aren't liking how simple FreeBSD is.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-5728927647468137053?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/5728927647468137053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=5728927647468137053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5728927647468137053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5728927647468137053'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/gimp.html' title='Gimp'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-1016448009142828521</id><published>2008-05-12T11:54:00.000-07:00</published><updated>2008-05-12T12:02:26.804-07:00</updated><title type='text'>Libraries</title><content type='html'>Well I've read about people having this problem in forums. They can't get stuff like &lt;span id="SPELLING_ERROR_0" class="blsp-spelling-error"&gt;firefox&lt;/span&gt; &lt;span id="SPELLING_ERROR_1" class="blsp-spelling-error"&gt;mplayer&lt;/span&gt; &lt;span id="SPELLING_ERROR_2" class="blsp-spelling-error"&gt;gio&lt;/span&gt;-&lt;span id="SPELLING_ERROR_3" class="blsp-spelling-error"&gt;fam&lt;/span&gt;-&lt;span id="SPELLING_ERROR_4" class="blsp-spelling-error"&gt;backend&lt;/span&gt; to compile through ports. This is pretty easy to fix, it's because FreeBSD 7.0 installs an old version of glib. It's &lt;span id="SPELLING_ERROR_5" class="blsp-spelling-corrected"&gt;relatively simple&lt;/span&gt; to correct just browse over to the glib20 folder&lt;br /&gt;#&lt;span id="SPELLING_ERROR_6" class="blsp-spelling-error"&gt;cd&lt;/span&gt; /&lt;span id="SPELLING_ERROR_7" class="blsp-spelling-error"&gt;usr&lt;/span&gt;/ports/&lt;span id="SPELLING_ERROR_8" class="blsp-spelling-error"&gt;devel&lt;/span&gt;/glib20&lt;br /&gt;#make &lt;span id="SPELLING_ERROR_9" class="blsp-spelling-error"&gt;deinstall&lt;/span&gt;&lt;br /&gt;Now the old version is &lt;span id="SPELLING_ERROR_10" class="blsp-spelling-error"&gt;uninstalled&lt;/span&gt; and now all you have to do is install the new version.&lt;br /&gt;#make install clean&lt;br /&gt;Now you can compile till your little heart is content, now wasn't that easy?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-1016448009142828521?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/1016448009142828521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=1016448009142828521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/1016448009142828521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/1016448009142828521'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/libraries.html' title='Libraries'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-7166999935475180085</id><published>2008-05-12T08:41:00.001-07:00</published><updated>2008-11-12T23:34:33.205-08:00</updated><title type='text'>Installing FreeBSD</title><content type='html'>Realistically this should have been my first post, but I started with a preconfigured box. The first time I installed FreeBSD a couple years ago it took me two days to learn how to configure everything the way I wanted. Since the FreeBSD has becoming allot easier to me anyways. My roommate tried installing FBSD and failed miserably and I had it up and running in 10min. For this example I will be using FreeBSD 7.0 release version. When you boot of the disc it will ask you what country you are in. If you don't know the answer to this then you probably shouldn't be installing FreeBSD. Once you choose you country you will be prompted with the main menu.&lt;br /&gt;&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518287639703634" border="0" alt="" src="http://1.bp.blogspot.com/_PpjgqeZynSs/SChmVZnpcFI/AAAAAAAAAA8/F8aPZAVbXfM/s320/menu.bmp" /&gt;&lt;br /&gt;I start off by choosing standard, once you choose it you will be prompted by an fdisk message. Press enter to continue. Now at the fdisk partition editor (I'm going to assume you have a blank drive.) Press A to use Entire disk for the editor looks something like this.&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518283344736306" border="0" alt="" src="http://4.bp.blogspot.com/_PpjgqeZynSs/SChmVJnpcDI/AAAAAAAAAAs/gV9_qbdwGgA/s320/fdisk.bmp" /&gt;Press Q to exit the fdisk manager. For the Boot manager I select "Install the FreeBSD Boot Manager" and press ok. Now you will need to create BSD partitions inside of the fdisk partition. Press OK. Press A to auto partition it and it will look something like this&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518279049768978" border="0" alt="" src="http://3.bp.blogspot.com/_PpjgqeZynSs/SChmU5npcBI/AAAAAAAAAAc/s6k5o6n03s4/s320/disklabel.bmp" /&gt;Press Q to exit the partioner and move on to Distributions.&lt;br /&gt;I choose X-User to make life simple it the easiest time now to install Xorg. So once you choose what you want scroll up and hit exit. You will now be prompted for Instillation media, I always use FTP I find it quicker. Once you choose your instillation media click yes on the User Confirmation Request to start the install.&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518279049768994" border="0" alt="" src="http://3.bp.blogspot.com/_PpjgqeZynSs/SChmU5npcCI/AAAAAAAAAAk/8K70q68TqVk/s320/Distribution.bmp" /&gt;When its done installing you will be prompted with a Congratulations Box, click OK.&lt;br /&gt;Now you will get a couple boxes asking questions, I say no to all of them except SSH login, time zone and linux binary.&lt;br /&gt;“Do you want this machine to function as a network gateway?”&lt;br /&gt;“Do you want to configure inetd and the network services that it provides?”&lt;br /&gt;“Would you like to enable ssh login?”&lt;br /&gt;“Do you want to have anonymous FTP access to this machine?”&lt;br /&gt;“Do you want to configure this machine as an NFS server?”&lt;br /&gt;“Do you want to configure this machine as an NFS client?”&lt;br /&gt;“Would you like to customize your system console settings?”&lt;br /&gt;“Would u like to set this machines time zone now?”&lt;br /&gt;“Would you like enable linux binary compatability?”&lt;br /&gt;“Does this system, have a PS/2, serial, or bus mouse?”&lt;br /&gt;Now you will be prompted if you want to install any ports select yes.&lt;br /&gt;&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518626942120050" border="0" alt="" src="http://4.bp.blogspot.com/_PpjgqeZynSs/SChmpJnpcHI/AAAAAAAAABM/f2OsUsxU7sU/s320/ports+request.bmp" /&gt;Feel free to install any ports you want, I only install KDE for I have a good gui to go on. So you would scroll down to kde and press enter.&lt;a href="http://3.bp.blogspot.com/_PpjgqeZynSs/SChmo5npcGI/AAAAAAAAABE/XPtKWAJo88A/s1600-h/package+selection.bmp"&gt;&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518622647152738" border="0" alt="" src="http://3.bp.blogspot.com/_PpjgqeZynSs/SChmo5npcGI/AAAAAAAAABE/XPtKWAJo88A/s320/package+selection.bmp" /&gt;&lt;/a&gt; I just install bare kde-3 I scroll down and select kde-3.5.8 and it will automatically check all the dependencies that are required as well. So you just check OK and you will go back to the previous menu and select Install.&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518283344736322" border="0" alt="" src="http://4.bp.blogspot.com/_PpjgqeZynSs/SChmVJnpcEI/AAAAAAAAAA0/aBzFOt-HAuI/s320/kde.bmp" /&gt;When FreeBSD is done installing it will ask you if you want to seyup a user account select yes and name it what you want. Be sure to put the user account in the wheel group this is what will allow your user account to perform su requests which are veryhelpful especially if you are installing somehting through ssh, by default root account can not log on to an ssh session.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_PpjgqeZynSs/SChmpZnpcII/AAAAAAAAABU/mJaCqcPCQ_o/s1600-h/user.bmp"&gt;&lt;img style="MARGIN: 0px auto 10px; CURSOR: hand; DISPLAY: block; TEXT-ALIGN: center" id="BLOGGER_PHOTO_ID_5199518631237087362" border="0" alt="" src="http://1.bp.blogspot.com/_PpjgqeZynSs/SChmpZnpcII/AAAAAAAAABU/mJaCqcPCQ_o/s320/user.bmp" /&gt;&lt;/a&gt; After your user account is settup press OK and you will be prompted to make a root password, after that is done you will get a prompt asking if you want to Visit the general configuration menu for a chance to set any last options. I click no then Exit and reboot. Now you have a FreeBSD box that runs KDE and ssh. Good luck!&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-7166999935475180085?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/7166999935475180085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=7166999935475180085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/7166999935475180085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/7166999935475180085'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/installing-freebsd.html' title='Installing FreeBSD'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PpjgqeZynSs/SChmVZnpcFI/AAAAAAAAAA8/F8aPZAVbXfM/s72-c/menu.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-4257065091818187733</id><published>2008-05-08T09:01:00.000-07:00</published><updated>2008-05-08T09:22:09.655-07:00</updated><title type='text'>Mounting</title><content type='html'>Well It seems I've over looked the simple things I don't think twice about such as mounting usb device and hard drives. A good thing about FreeBSD 7 is it has built in support for FAT and NTFS right out of the box you don't need to compile your own kernel. Lets start with something simple an USB flash drive. If you use them for school or work they are probably going to be formated with FAT file system. So when you plug it into your computer and do a dmesg you will get some out put like this.&lt;br /&gt;da0 at umass-sim0 bus 0 target 0 lun 0da0: &lt;imation&gt; Removable Direct Access SCSI-0 deviceda0: 40.000MB/s transfersda0: 3935MB (8058880 512 byte sectors: 255H 63S/T 501C)&lt;br /&gt;You can mount it anywhere you wan't I choose to do it neatley and make a usb directory in mnt folder&lt;br /&gt;#mkdir /mnt/usb&lt;br /&gt;Now to mount it&lt;br /&gt;#mount -t msdos /dev/da0s1 /mnt/usb&lt;br /&gt;Now the device is mounted in /mnt/use and you can browse to that folder and see the contents.&lt;br /&gt;&lt;br /&gt;It's pretty similar for ntfs drive. Here is the output for my ntfs drive.&lt;br /&gt;da1 at umass-sim1 bus 1 target 0 lun 0da1: &lt;wd&gt; Fixed Direct Access SCSI-4 deviceda1: 40.000MB/s transfersda1: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)&lt;br /&gt;Make the directory where you want to mount it.&lt;br /&gt;#mkdir /mnt/500&lt;br /&gt;Now we mount it&lt;br /&gt;#mount -t ntfs /dev/da1s1 /mnt/500&lt;br /&gt;Relativley simple&lt;br /&gt;&lt;br /&gt;Mounting an IDE or SATA is a little harder but still easy. Ok so lets say you installed a hard drive Im going to use NTFS for example here. dmesg is going to show it but good luck finding it on the list, since it's detected at boot. So the easier way is to view the dev directory.&lt;br /&gt;#cd /dev&lt;br /&gt;#ls&lt;br /&gt;(Im going to trunkate the output to sata drives)&lt;br /&gt;ad14&lt;br /&gt;ad14s1&lt;br /&gt;ad14s1a&lt;br /&gt;ad14s1b&lt;br /&gt;ad14s1c&lt;br /&gt;ad14s1d&lt;br /&gt;ad14s1e&lt;br /&gt;ad14s1f&lt;br /&gt;ad15&lt;br /&gt;ad15s1&lt;br /&gt;From this list we see the ad14 drive had 7 partitions, we can assume this is a unix partition (unless you are partition happy on all your drives) A diffrent partition is made for /, /sys, /home etc...&lt;br /&gt;ad15 has one partition so its safe to assume this is the NTFS drive (unless you make funky partitions which in that case I would assume you would know which drive is yours lol)&lt;br /&gt;Once again make the dir where you want to mount it.&lt;br /&gt;#mkdir /mnt/drive&lt;br /&gt;And mount it&lt;br /&gt;#mount -t ntfs /dev/ad15s1 /mnt/drive&lt;br /&gt;Now you are free to browse you drives.&lt;br /&gt;If you want to know how to mount cd and iso please look at the source tree post they are both covered in there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-4257065091818187733?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/4257065091818187733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=4257065091818187733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/4257065091818187733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/4257065091818187733'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/mounting.html' title='Mounting'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-1731048554978055891</id><published>2008-05-07T06:11:00.000-07:00</published><updated>2008-11-12T23:34:33.544-08:00</updated><title type='text'>Apache</title><content type='html'>I will be showing you how to setup an apache web server. It is alot easier to setup an Apache server on a Fedora box then it is on FreeBSD. They both work fine once they are setup but I have to say I noticed FreeBSD is faster when using the same bandwidth. Apache on FreeBSD is very picky about the FQDN (fully qualified domain name) Which can be a pain in the ass. So first we change to the apache port directory&lt;br /&gt;#cd /usr/ports/www/apache22&lt;br /&gt;#make install clean&lt;br /&gt;I enable MYSQL support encase later on I ever want to throw on a forum it will make life a lot easier.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PpjgqeZynSs/SCGsnr1JifI/AAAAAAAAAAM/peApG6Iv5Vc/s1600-h/apache.bmp"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_PpjgqeZynSs/SCGsnr1JifI/AAAAAAAAAAM/peApG6Iv5Vc/s320/apache.bmp" alt="" id="BLOGGER_PHOTO_ID_5197625242742786546" border="0" /&gt;&lt;/a&gt;When it's done compiling you can try to start to see the FQDN error&lt;br /&gt;#httpd&lt;br /&gt;httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.2.107 for ServerName&lt;br /&gt;[Wed May 07 09:34:15 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter&lt;br /&gt;To get apache to work we have to edit the httpd.conf file&lt;br /&gt;#nano /usr/local/etc/apache22/httpd.conf&lt;br /&gt;Then you 'Where Is' Servername you change the example host.domain.com:80 to your domain or If you don't own a host name you will put in the computer IP address not the internet IP address to make it read like&lt;br /&gt;ServerName 192.168.2.107:80&lt;br /&gt;80 represents what port you want it to listen on http is normally 80 but you can make it whatever you want as long as it dosn't conflict with another program. For all of you who aren't programers take out the # at the begining of the line. # tells the script to skip over that line. So now you save the config file and run it.&lt;br /&gt;#httpd&lt;br /&gt;If you browse to your IP address you should get a webpage that says&lt;br /&gt;"It works!"  &lt;br /&gt;Now you have an Apache server. The home directory for your html files is /usr/local/www/apache22/data Now you can start building your website, Goodluck!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-1731048554978055891?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/1731048554978055891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=1731048554978055891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/1731048554978055891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/1731048554978055891'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/apache.html' title='Apache'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_PpjgqeZynSs/SCGsnr1JifI/AAAAAAAAAAM/peApG6Iv5Vc/s72-c/apache.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-6977143914207484931</id><published>2008-05-05T09:29:00.000-07:00</published><updated>2008-05-06T05:44:55.274-07:00</updated><title type='text'>VNC</title><content type='html'>Today Ill be showing you how to install VNC, its pretty simple VNC allows you to connect to your computer through a Java applet which is pretty handy, you don't need any third party client software. i use tightvnc so to install tightvnc we do the following.&lt;br /&gt;#cd /usr/ports/net/tightvnc&lt;br /&gt;#make install clean&lt;br /&gt;When its done compiling you start tightvnc&lt;br /&gt;#vncserver&lt;br /&gt;You'll get out put like this&lt;br /&gt;You will require a password to access your desktops.&lt;br /&gt;&lt;br /&gt;Password:&lt;br /&gt;Verify:&lt;br /&gt;Would you like to enter a view-only password (y/n)? n&lt;br /&gt;So enter the password and if you would like a view only password.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-6977143914207484931?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/6977143914207484931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=6977143914207484931' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/6977143914207484931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/6977143914207484931'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/vnc.html' title='VNC'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-5926456357517902397</id><published>2008-05-02T06:49:00.000-07:00</published><updated>2008-05-02T07:15:40.204-07:00</updated><title type='text'>Kernel Source Tree</title><content type='html'>In the process of Installing ports you might come across an error missing kernel source tree. I'm going to show you how to install the source tree via CD and ISO.&lt;br /&gt;To install source via cd you are going to be in the / directory&lt;br /&gt;1st mounts the cd-rom&lt;br /&gt;#mount /cdrom&lt;br /&gt;Next make this sys directory which some programs look for&lt;br /&gt;#mkdir -p /usr/src/sys&lt;br /&gt;link it with the actual sys directory some programs will look in /sys and other in /usr/src/sys&lt;br /&gt;#ln -s /usr/src/sys /sys&lt;br /&gt;Next copy ssys files from cd-rom&lt;br /&gt;#cat /cdrom/src/ssys.[a-d]* | tar -xzvf -&lt;br /&gt;Copy sbase files from cd&lt;br /&gt;#cat /cdrom/src/sbase.[a-d]* | tar -xzvf -&lt;br /&gt;Now you have all your kernel source on your hard drive.&lt;br /&gt;If your like me and don't have a cdrom you can do it from and iso image as well&lt;br /&gt;Make sure you are in the / directory&lt;br /&gt;make the location where you are going to mount the iso&lt;br /&gt;#mkdir /iso&lt;br /&gt;mount the iso mine is in /root direcotry  &lt;br /&gt;#mdconfig -a -t vnode -f /root/7.0-RELEASE-i386-disc1.iso -u 0&lt;br /&gt;#mount -t cd9660 /dev/md0 /iso&lt;br /&gt;Next make this sys directory which some programs look for&lt;br /&gt;#mkdir -p /usr/src/sys&lt;br /&gt;link it with the actual sys directory some programs will look in /sys and other in /usr/src/sys&lt;br /&gt;#ln -s /usr/src/sys /sys&lt;br /&gt;Next copy ssys files from iso&lt;br /&gt;#cat /iso/src/ssys.[a-d]* | tar -xzvf -&lt;br /&gt;Copy sbase files from iso&lt;br /&gt;#cat /iso/src/sbase.[a-d]* | tar -xzvf -&lt;br /&gt;Now you have all your kernel source on your hard drive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-5926456357517902397?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/5926456357517902397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=5926456357517902397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5926456357517902397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5926456357517902397'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/kernel-source-tree.html' title='Kernel Source Tree'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-5059210264008626166</id><published>2008-05-02T06:17:00.001-07:00</published><updated>2008-05-02T06:31:16.912-07:00</updated><title type='text'>Audio</title><content type='html'>One of the main problems I hear about from New FreeBSD users is the lack of audio. This isn't linux it's unix so of course it can't be ease lol :) but there is a relativley easy way to get audio to work.&lt;br /&gt;We will let the kernel try to detect.&lt;br /&gt;#kldload snd_driver&lt;br /&gt;You will see the device pop up as the kernel goes through all supported audio, Next you have to find out what audio driver you will need.&lt;br /&gt;#cat /dev/sndstat&lt;br /&gt;You will get output like this&lt;br /&gt;FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)&lt;br /&gt;Installed devices:&lt;br /&gt;pcm0: &lt;nvidia&gt; at memory 0xb0000000 irq 22 kld &lt;span style="font-weight: bold;"&gt;snd_hda&lt;/span&gt; {20071129_0050} (1p:1v/1r:1v channels duples default)&lt;br /&gt;So now we unload all the sound drivers&lt;br /&gt;#kldunload snd_driver&lt;br /&gt;We just load the one we need now&lt;br /&gt;#kldload snd_hda&lt;br /&gt;Now we have sound but I'm pretty sure you'll want the sound loaded at startup so we will have to edit the loader.conf (I use nano by default vi is installed)&lt;br /&gt;#nano /boot/loader.conf&lt;br /&gt;now we have to add two lines&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;sound_load="YES"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;snd_hda_load="YES"&lt;/span&gt;&lt;br /&gt;Save and exit and when you start your computer you will have audio&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-5059210264008626166?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/5059210264008626166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=5059210264008626166' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5059210264008626166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5059210264008626166'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/audio.html' title='Audio'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-5527082802739519937</id><published>2008-05-02T06:02:00.000-07:00</published><updated>2008-05-12T10:23:06.431-07:00</updated><title type='text'>CVSUP</title><content type='html'>When I install FreeBSD I only install my bare minimums such as X-User and KDE. I install my system off of FTP which is quicker in my mind. Downloading only what you need compared to downloading 3 cd's, which can suck if you have a slow connection. Once my system is up I do several things to get it where I like it. The 1st is CVSUP which is a great application to build your port list.&lt;br /&gt;To install cvsup we will do it from a package&lt;br /&gt;#pkg_add -r cvsup&lt;br /&gt;Next we will build our supfile from the example, the supfile tells our system where on the internet to get the ports and which ones to get, and to download them&lt;br /&gt;#csup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile&lt;br /&gt;&lt;br /&gt;Ports are great you can install pretty much and application you want using ports, all you do to install one if browse to the port folder.&lt;br /&gt;#cd /usr/ports/security/example&lt;br /&gt;Then you install the port&lt;br /&gt;#make install clean&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-5527082802739519937?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/5527082802739519937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=5527082802739519937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5527082802739519937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/5527082802739519937'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/cvsup.html' title='CVSUP'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6289684729041688120.post-8328132915882011815</id><published>2008-05-02T05:50:00.000-07:00</published><updated>2008-05-12T12:08:16.043-07:00</updated><title type='text'>Favorite Apps</title><content type='html'>Theres some applications I can't live with out and I'll show you how to install them.&lt;br /&gt;1st Firefox for web browser&lt;br /&gt;#pkg_add -r firefox&lt;br /&gt;2nd mplayer which supports mpeg, divx, mp3 and all the good formats&lt;br /&gt;#pkg_add -r mplayer&lt;br /&gt;3rd I get bored so I need good old nmap.&lt;br /&gt;#cd /usr/ports/security/nmap&lt;br /&gt;#make install clean&lt;br /&gt;&lt;br /&gt;I do the 1st two from packages because they are constantly updated with new builds and I do nmap from ports because Its not updated as often. If you install firefox through ports you can enable smb support which is a good feature, but I use konquer for smb.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6289684729041688120-8328132915882011815?l=wcosugbsd.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosugbsd.blogspot.com/feeds/8328132915882011815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6289684729041688120&amp;postID=8328132915882011815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/8328132915882011815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6289684729041688120/posts/default/8328132915882011815'/><link rel='alternate' type='text/html' href='http://wcosugbsd.blogspot.com/2008/05/needed-apps.html' title='Favorite Apps'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
