I always seem to forget this command. The following mounts the UFS2 FreeBSD filesystem to /mnt/fbsd directory on a Linux box. Notice the read-only permission. Unfortunately, (as of this writing) Linux does not have write support for UFS2. Please let me know if I am in error.
Change /dev/sda3 to your disk device!
- # mkdir /mnt/fbsd
- # mount -t ufs -o ro,ufstype=ufs2 /dev/sda3 /mnt/fbsd
This uses the new VAP interface setup that comes with FreeBSD 8.0 and newer.
- # vi /etc/rc.conf
- --- snip --- snip ---
- wlans_ath0="wlan0"
- ifconfig_wlan0="WPA DHCP"
- # vi /etc/wpa_supplicant.conf
- network={
- ssid="ssid_goes_here"
- key_mgmt=WPA-PSK
- psk="password_here"
- }
- # /etc/rc.d/netif restart
Wait a few seconds for your wireless card to associate with the wireless device and see (1) if you are associated and (2) that you have an IP address.
- # ifconfig wlan0
If you have multiple access points around and want a certain one over the other, add priority=1 (you change number), to the host's block in /etc/wpa_supplicant.conf. The lower the number, the higher the priority.
Test IP connectivity to the public Internet.
- # ping 4.2.2.1
Test DNS resolution against a public hostname.
- # cat /etc/resolv.conf
- -- list of nameservers from DHCP lease --
- # ping www.google.com
If you happen to not have anything there, you can try using the 4.2.2.1 and 4.2.2.2 nameservers.
- # vi /etc/resolv.conf
- nameserver 4.2.2.1
- nameserver 4.2.2.2
- Tags
- ALIX (1)
- digitalfoo.net (2)
- embedded (6)
- FreeBSD (25)
- Java (1)
- Linux (20)
- misc (4)
- my projects (1)
- NanoBSD (3)
- opensource (5)
- perl (1)
- PHP (3)
- programming (7)
- security (4)
- Archives
- 2010
- June (5)
- July (2)
- April (6)
- March (2)
- May (1)
- August (2)
- 2009
- August (7)
- July (8)
- April (4)
- May (4)
- December (2)
- June (1)
- September (1)
- November (4)
- October (1)
- Web Tools
- Index
- dig-shovel Live
- SQL Injection Encoder
- Links
-

