A COMPLETE GUIDE TO WIRELESS CONFIGURATIONLINUXUNWIREDROGER WEEKS, EDD DUMBILL & BRIAN JEPSON
Bluetooth Basics|181Hardcopy Cable Replacement (HCRP)Emulates a parallel port connection for the purposes of printingDial-up Networking Profile (DUN)A
182|Chapter 7: BluetoothDiscoverabilityA Bluetooth device is discoverable if it can be found by another device’sinquiry. During discovery, the inquiri
Bluetooth Basics|183Piconets and scatternets, and masters and slavesA piconet is a network of Bluetooth devices created by a master connectingto one o
184|Chapter 7: BluetoothVarious applications such as LAN access points require the master/slaverelationship to be the same as the server/client relati
Linux Bluetooth Support|185If you dual-boot your computer between Linux and the man-ufacturer’s operating system, such as Windows XP or MacOS X, you m
186|Chapter 7: BluetoothConfiguring the KernelBluetooth support under Linux requires a recent kernel. If your kernel is Ver-sion 2.4.22 or better, or a
Linux Bluetooth Support|187Figure 7-3. Configuring Bluetooth support in the Linux kernelFigure 7-4. Configuring Bluetooth hardware support in the Linu
188|Chapter 7: BluetoothYou should not enable the Bluetooth device support in theUSB drivers section of your kernel configuration (CONFIG_USB_BLUETOOT
Linux Bluetooth Support|189To verify this, ensure that the contents of Example 7-1 are present in /etc/modules.conf. If you need to change this file,
190|Chapter 7: BluetoothWhen hotplug detects a new device, it loads the necessary driver modulesinto the kernel, and it runs any scripts the user has
173Chapter 7CHAPTER 7BluetoothBluetooth is a wireless cable-replacement technology that uses low-powersignals in the 2.4 GHz band. Using Bluetooth, de
Basic Configuration and Operation|191Basic Configuration and OperationThe bluez-utils package contains the tools you need to configure and testyour Blu
192|Chapter 7: Bluetooth• Other Bluetooth devices will see this computer as saag-0. This name isconfigurable, as explained in Table 7-6.• The chipset
Basic Configuration and Operation|193 BD Address: 00:0A:D9:15:CB:B4 Device Name: ED P800 LMP Version: 1.1 (0x1) LMP Subversion:
194|Chapter 7: BluetoothConfiguring hcidThe hcid daemon handles various low-level aspects of a system’s Bluetoothdevices, including activating and conf
Basic Configuration and Operation|195Device optionsThis section is introduced by the devices keyword, which controls the con-figuration that hcid give
196|Chapter 7: BluetoothService DiscoveryBluetooth devices implement the service discovery profile (SDP) in order todescribe to other devices how thei
Basic Configuration and Operation|197The output from the browse command shows a list of service descriptionsobtained from the SDP server. In this case
198|Chapter 7: Bluetoothdevice with the current version of sdptool; it must perform an inquiry andsearch for the service on every device. Table 7-8 sh
Basic Configuration and Operation|199Removing a service is slightly more complex, requiring the identifying“handle” of the record. In the output from
200|Chapter 7: BluetoothConnecting to a cell phoneTo see an example of RFCOMM usage, you could set up a serial connectionto a cell phone’s modem and t
174|Chapter 7: BluetoothThis chapter first introduces the core Bluetooth concepts that will aid aLinux system administrator in his deployment, discuss
Basic Configuration and Operation|201Internet access via a cell phoneBy creating PPP connections with RFCOMM serial ports, you can use yourcell phone
202|Chapter 7: BluetoothOBEX FTP over Bluetooth is not very well supported on Linux. The mostpopular package, obexftp, still has Bluetooth support in
Basic Configuration and Operation|203To receive a file from a remote device, use the test program in server mode.(This is shown in the following listi
204|Chapter 7: BluetoothYou can use LAN access to provide Bluetooth devices with access to yourlocal network. Many PDA devices support this connection
Basic Configuration and Operation|205You may want to adjust the last two entries in the configuration to suit yoursetup: thems-dns line specifies the
206|Chapter 7: BluetoothOur setup so far has no security considerations. There are several steps onecan take to improve the security situation:• Requi
Basic Configuration and Operation|207Both of these types of network are supported under Linux. To set them up,you must have some familiarity with Linu
208|Chapter 7: Bluetoothand on the client:# ifconfig bnep0 192.168.7.2If you use the 192.168.7.x network locally, substitute other suitable IPaddresse
Basic Configuration and Operation|209configurations on the master side for each interface, but it leaves the clientdevices unable to communicate with
210|Chapter 7: Bluetooth collisions:0 txqueuelen:1000 RX bytes:789 (789.0 b) TX bytes:880 (880.0 b)bnep1 Link encap:Ethernet H
Quick Start|1753. The bluez-utils and bluez-sdp packages configured themselves to start inrunlevel 3 and 5. After installing these packages, we starte
Basic Configuration and Operation|211Experimental FeaturesThe uses of Bluetooth covered so far in this chapter are the widespreadapplications of the B
212|Chapter 7: BluetoothInput device support entails enabling the user-level driver support in theInput device drivers section of your Linux kernel. A
Graphical Applications|213Adding Bluetooth input devices to your system is now a matter of invokingthe /opt/bluez2/bthid program. This runs once as a
214|Chapter 7: BluetoothFigure 7-8. Browsing a device’s services in KDEFigure 7-9. Receiving a file via OBEX in KDE
Graphical Applications|215GNOMEThe GNOME Bluetooth subsystem’s home page is available at http://usefulinc.com/software/gnome-bluetooth. Download it fr
216|Chapter 7: BluetoothCool Bluetooth TricksAside from the everyday file management and connectivity, Bluetooth onLinux provides scope for some fun a
Cool Bluetooth Tricks|217You can find the code at http://www.hackdiary.com/projects/bluetoothremote.Controlling Music PlayersUsing a similar trick as
176|Chapter 7: Bluetooth3. To make sure that the Bluetooth scripts were started on boot, we ranchkconfig --add bluetooth.4. We ran/etc/init.d/bluetoot
Bluetooth Basics|177Double-check your kernel configurationIf you’re compiling the kernel from source, be sure everything is config-ured the way it sho
178|Chapter 7: BluetoothWhat You Can Do with BluetoothAs Bluetooth is intended to replace cable, it can be used for more or less thesame purposes as a
Bluetooth Basics|179Input devicesBluetooth supports an array of input devices similar to USB. Majormanufacturers such as Apple and Microsoft are shipp
180|Chapter 7: BluetoothProtocolsThe Bluetooth specification defines some protocols of its own and alsoreuses some existing standards. A protocol is a
Comments to this Manuals