MAIN MENU

Training Media
Click here to visit Spidertools.com.
GP2X Portable
Media Player
GP2X In Stock NOW!! Games, Ebooks, Movies, Photos, Divx, OGG, mp3, Tv out, USB 2.0,
Click and get a GP2X

YaFSUG: Projectz.

Project: SHU - FreeBSD Laptop Installation.

Installing FreeBSD onto a Laptop:
By Vincent Angus Williams - scribe63

Screenshots: VIEW

As the PowerNomics proverb says :
"If you take risks, you may still fail. But if, you do not take risks, you will surely fail."

Intro Install Post Install - Config Config Package Install and X GUI - Sound Config Conclusion

Configuration

The system rebooted real fast, and was presented with the boot menu from which i selected 1.
I eventually got the login prompt, logged in as regular user, and got the MOTD.
I checked the date, and disk usage.

$date
$df -h

Disk usage was good, the date was correct but the time was not due to the new DST, so i proceeded to configure the networking to get necessary packages and how to fix the DST issue.
I gathered some basic information that i may need for configuration.
Checked /etc/defaults/rc.conf for system configuration option = values and heeded the warnig no to edit that file. Can check /etc/defaults/pccard.conf for pcmcia card support.
Can check for loadable modules in /boot/kernel

$less /etc/defaults/rc.conf
rcshutdown_timeout="15"
dhclient_program="/sbin/dhclient"
synchronous_dhclient="YES"
network_interfaces="auto"
ifconfig_wi0=""
sendmail_enable="NO"
pccard_enable=""
pccard_mem="DEFAULT"
pccard_ifconfig="NO/YES
pccard_flags"-z
pccard_beep="2"
pccard_conf="/etc/defaults/pccard.conf"

How to get Wireless config info.


To Load wlan module:

#kldload -v wlan.ko

To find acces points:

#ifconfig wi0 up scan

To display list of known networks:

#ifconfig wi0 list scan

To add static ip address:

ifconfig_wi0="inet 192.168.1.100 netmask 255.255.255.0 ssid your_ssid_here"

To get dynamic ip address:

ifconfig_wi0="DHCP"

To bring up interface:

# /etc/rc.d/netif start

To troubleshoot and debug, found in /usr/src/tools/tools/net80211:

# wlandebug -i wi0 +scan+auth+debug+assoc

If there are multiple access points and you want to select a specific one, you can select it by its SSID:
In /etc/rc.conf

ifconfig_wi0="ssid your_ssid_here DHCP"

I check to see the module name for detected hardware once again for the orinoco gold card with dmesg.

$dmesg | grep pccard

I also checked the man pages for wi, ral, and wicontrol.
I switched user to root to continue.

$su

I added the command that was needed for the wi0 to load at boot. This can also be done manually with kldload.

#vi /boot/loader.conf
if_wi_load="YES"  # For the orinoco card.
if_ral_load="YES" # For rt2500 card.

To Load wlan module:

#kldload -v wlan.ko

Because of adding the above lines to /boot/loader.conf, when the system booted i saw a couple of error regarding the modules being loaded twice. Hence i realized that i did not have to add this lines to /boot/loader.conf. It seems like the modules are built into the kernel, so i removed the lines and i stopped seing the errors.
I then added the pccard and wireles card options to /etc/rc.conf and added a couple other options in conjunction to what was already there.

 
#vi /etc/rc.conf
sendmail="NO"
pccard_enable="YES"
pccard_beep="2"
ifconfig_wi0="DHCP"

I scanned to find access points and list known networks.

#ifconfig wi0 up scan
#ifconfig wi0 list scan

At this point, i was ready to bring up the wireless interface:

# /etc/rc.d/netif start

This worked and i got an ip address and other network information my DCHP server, the nameserver information was added to /etc/resolv.conf.
Since the system got an ip address i knew my LAN had connectivity, i further verified by pinging my website on the internet.

$ping itiopi.com

Results were successful.

Image img_1294 Image img_1296
Image img_1299 Image img_1300

©2006 - 2013 YaFSUG all rights reserved.
All respective © Owners all rights reserved.
------
RESOURCES

Web Site Hosting
Web hosting services
Get $25 off on sign up
Click Button Above
or Enter YAFSUG97PROMO
Get good prices on
Books, ETC,.