Acer 3400LMI manual Static configuration, Short explanation of the command above

Page 30

F8­x86_64 on the Acer Ferrari 3400LMi

"Dialup Networking" (0x1103)

Protocol Descriptor List:

"L2CAP" (0x0100)

"RFCOMM" (0x0003)

Channel: 4

Language Base Attr List:

code_ISO639: 0x656e

encoding: 0x6a

base_offset: 0x100

Profile Descriptor List:

"Dialup Networking" (0x1103)

Version: 0x0100

To use the phone as a modem the service of interest is the Dial­up Networking, so note its channel number.

The next step will be to create a virtual serial device and connect it to your phone:

# rfcomm connect 1 00:0A:D9:E9:D8:4F 4

Connected /dev/rfcomm1 to 00:0A:D9:E9:D8:4F on channel 4 Press CTRL­C for hangup

A short explanation of the command above:

rfcomm connect 1

00:0A:D9:E9:D8:4F

4

/dev/rfcomm1 _

_ Channel for the Dial­up

 

Your phones

Networking service

bluetooth address

That is about it. Now your phone is analogue to an external modem connected to your virtual serial device, /dev/rfcomm1. Configure ppp to make use of it and you are done.

13.2.3 Static configuration

Ok, now what? Do I need to repeat all the steps above each time I want to use my phone as a modem? No, for convenience you may configure your system for all this to take place automatically. However, the method you should use depends a bit on your phone.

The preferred method is to edit the rfcomm.conf file so a /dev/rfcommX port automatically binds to the DUN service on your phone when the bluetooth service starts. This means that the virtual serial device will be created and properly configured, but not connected. The actual connection will happen automagically when the virtual serial device is accessed.

Edit the file /etc/bluetooth/rfcomm.conf to contain a section similar to this:

rfcomm1 {

#Automatically bind the device at startup bind yes;

30

Image 30
Contents Table of Contents F8-x8664 on the Acer Ferrari 3400LMiF8­x8664 on the Acer Ferrari 3400LMi Introduction VersionQuick reference guide Hardware Status Details Potential pitfalls InstallationGraphical installer Disk sizeIeee 1394 Firewire Hard driveUpgrading the drive Potential problems # time cp ­rp /media/ieee1394disk/430MBfolder ~Configuring Firewire CommentsIn-1 Card reader PC-cardSpecial keys & buttons Configuration procedure Key-codesButton Key-code Default X key symbols Scan-codesLinux key-codes Key-codes revisited WWW= XF86WWW Configure actions CPU & Acpi supportCPU frequency scaling GraphicsSuspend BasicsSimple configuration Dual-HeadRadeon driver Virtual screen size # xrandr ­q Screen 0 minimumXrandr tool Fn-F5 button10.3 3D acceleration Simple benchmark OptimizationOther observations Ntsc or PAL TV-outLoad detection InitializationWireless NIC Touch-padInstalling Wlan Wlan toolsWlan firmware Get started with Wlan Manual wayEssid # iwconfig wlan0 essid Perspektiv Bluetooth Verify installationGUI way Using a phone modem UP Running PscanPrepare the phone Prepare the laptopObex File Transfer 0x1106 Protocol Descriptor List Static configuration Short explanation of the command aboveDynamic routine Gprs AT+CGDATA=PPP,1Sending files KBluetoothInstallation Mouse & keyboardMouse & keyboard Scan for devicesLock screen Configuring IrDA InfraredTransfer files IRQ DMATesting IrDA ModemInstalling daemon SLMODEMDCOUNTRY=SWEDEN SLMODEMDDEVICE=Potential issue ConnectingDisconnecting References System hangF8­x8664 on the Acer Ferrari 3400LMi Appendix a /etc/X11/xorg.conf XAA Appendix B dual­head.sh INTERNAL=LVDSNtsc ACTION=$1­$DEFAULTACTION CURNDX=$CURNDX­$INTNDX CURRENT=$ALLOUT$CURNDX Lvds LVDS+VGA­0 NEXT=$CURRENTInternal internal Tvout Usage Esac Appendix C dun­bind.sh F8­x8664 on the Acer Ferrari 3400LMi $CONFIG RETVAL=0SLMODEMDOPTS=$SLMODEMDOPTS $SLMODEMDDEVICE RETVAL=$? F8­x8664 on the Acer Ferrari 3400LMi