I've successfully installed 9-STABLE on my 15" Powerbook PPC. I successfully got Xorg up and running and after a week of a [cmd=]make install clean[/cmd] in the x11/gnome2 port I now have Gnome up and running. I'm able to connect to the web via ethernet and load a browser. Still need to install firefox.
Now I'm trying to understand the Handbook concerning wireless setup and modules versus a kernel compile of capabilities. I'm a newbie to FreeBSD and just installed the standard configuration, but I did install the source.
The Handbook states:
I added both
and
My Powerbook does have wireless capabilities, but in network preferences or "anywhere" I don't see an option to connect to a "wireless" network. So do I have to start all over and somehow study how to build a custom kernel to include wireless capabilities?
If so where do I get started?
Thank you, Samuel.
Now I'm trying to understand the Handbook concerning wireless setup and modules versus a kernel compile of capabilities. I'm a newbie to FreeBSD and just installed the standard configuration, but I did install the source.
The Handbook states:
32.3.2 Basic Setup
32.3.2.1 Kernel Configuration
To use wireless networking, you need a wireless networking card and to configure the kernel with the appropriate wireless networking support. The latter is separated into multiple modules so that you only need to configure the software you are actually going to use.
The first thing you need is a wireless device. The most commonly used devices are those that use parts made by Atheros. These devices are supported by the ath(4) driver and require the following line to be added to the /boot/loader.conf file:
if_ath_load="YES"
The Atheros driver is split up into three separate pieces: the proper driver (ath(4)), the hardware support layer that handles chip-specific functions (ath_hal(4)), and an algorithm for selecting which of several possible rates for transmitting frames (ath_rate_sample here). When this support is loaded as kernel modules, these dependencies are automatically handled for you. If, instead of an Atheros device, you had another device you would select the module for that device; e.g.:
if_wi_load="YES"
for devices based on the Intersil Prism parts (wi(4) driver).
Note: In the rest of this document, we will use an ath(4) device, the device name in the examples must be changed according to your configuration. A list of available wireless drivers and supported adapters can be found in the FreeBSD Hardware Notes. Copies of these notes for various releases and architectures are available on the Release Information page of the FreeBSD Web site. If a native FreeBSD driver for your wireless device does not exist, it may be possible to directly use the Windows® driver with the help of the NDIS driver wrapper.
Under FreeBSD 7.X, with a device driver you need to also bring in the 802.11 networking support required by the driver. For the ath(4) driver these are at least the wlan(4), wlan_scan_ap and wlan_scan_sta modules; the wlan(4) module is automatically loaded with the wireless device driver, the remaining modules must be loaded at boot time via the /boot/loader.conf file:
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
Since FreeBSD 8.0, these modules are part of the base wlan(4) driver which is dynamically loaded with the adapter driver.
With that, you will need the modules that implement cryptographic support for the security protocols you intend to use. These are intended to be dynamically loaded on demand by the wlan(4) module but for now they must be manually configured. The following modules are available: wlan_wep(4), wlan_ccmp(4) and wlan_tkip(4). Both wlan_ccmp(4) and wlan_tkip(4) drivers are only needed if you intend to use the WPA and/or 802.11i security protocols. If your network does not use encryption, you will not need wlan_wep(4) support. To load these modules at boot time, add the following lines to /boot/loader.conf:
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
With this information in the system bootstrap configuration file (i.e., /boot/loader.conf), you have to reboot your FreeBSD box. If you do not want to reboot your machine for the moment, you can load the modules by hand using kldload(8).
Note: If you do not want to use modules, it is possible to compile these drivers into the kernel by adding the following lines to your kernel configuration file:
device wlan # 802.11 support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device wlan_amrr # AMRR transmit rate control algorithm
device ath # Atheros pci/cardbus NIC's
device ath_hal # pci/cardbus chip support
options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
device ath_rate_sample # SampleRate tx rate control for ath
Both following lines are also required by FreeBSD 7.X, other FreeBSD versions do not need them:
device wlan_scan_ap # 802.11 AP mode scanning
device wlan_scan_sta # 802.11 STA mode scanning
With this information in the kernel configuration file, recompile the kernel and reboot your FreeBSD machine.
When the system is up, we could find some information about the wireless device in the boot messages, like this:
ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 11 at device 0.0 on cardbus1
ath0: [ITHREAD]
ath0: AR2413 mac 7.9 RF2413 phy 4.5
I added both
Code:
if_ath_load="YES"
Code:
if_wi_load="YES"
My Powerbook does have wireless capabilities, but in network preferences or "anywhere" I don't see an option to connect to a "wireless" network. So do I have to start all over and somehow study how to build a custom kernel to include wireless capabilities?
If so where do I get started?
Thank you, Samuel.