Hi.  Is it possible to use ubt(4) to connect to my cellphone and then
create a ppp interface so I can gain Internet access?  My MSI Wind has
a built-in USB bluetooth adapter that connects to ubt(4):

  $ dmesg | grep ubt0
  ubt0 at uhub4 port 1 "Micro Star International Bluetooth" rev 2.00/31.64 addr 
2

I've installed the following packages:

  $ pkg_info | grep blue
  bluetooth-libs-20081122 bluetooth network libraries
  bluetooth-tools-20081122 bluetooth network tools
  bluez-hcidump-1.42  Bluetooth packet analyzer

I can activate the interface and locate my cellphone:

  $ sudo btconfig ubt0 up
  $ btconfig
  ubt0: bdaddr 00:21:85:b2:51:41 flags=3<UP,RUNNING>
  $ btconfig ubt0 inquiry
  Device Discovery from device: ubt0 .... 1 response
    1: bdaddr 00:1d:e9:e5:ad:01
     : name "Nokia 6233"
     : class: [0x5a0204] Cellular Phone <Networking> <Capturing> <Object 
Transfer>
          <Telephony>
     : page scan rep mode 0x01
     : clock offset 14038

I'm not sure where to go from here.  I've searched the archives
and asked Google, but I've been unable to find anything.  Can I
use this device to connect to the Internet through my cellphone?
If so, do you have any pointers to what I should be looking at?

OpenBSD 4.5-current (GENERIC) #81: Sun Apr 19 18:25:46 MDT 2009
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class) 1.61 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,xTPR
real mem  = 2136244224 (2037MB)
avail mem = 2057326592 (1962MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/14/08, SMBIOS rev. 2.4 @ 0x7f607010 
(45 entries)
bios0: vendor American Megatrends Inc. version "4.6.3" date 10/06/2008
bios0: MICRO-STAR INTERNATIONAL CO., LTD U-100
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG SLIC SSDT SSDT SSDT
acpi0: wakeup devices P0P2(S4) PEGP(S4) USB0(S1) USB1(S1) USB2(S1) USB3(S1) 
EHCI(S1) MC97(S4) P0P1(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (P0P2)
acpiprt2 at acpi0: bus 1 (P0P4)
acpiprt3 at acpi0: bus 2 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpiprt6 at acpi0: bus -1 (P0P8)
acpiprt7 at acpi0: bus -1 (P0P9)
acpiec0 at acpi0
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 100 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model "
" serial 
 type LION
 oem "
"
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo at acpi0 not configured
bios0: ROM list: 0xc0000/0xea00! 0xcf000/0x1000
cpu0: unknown Enhanced SpeedStep CPU, msr 0x060f0c2706000c27
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1600 MHz (1324 mV): speeds: 1600, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
extent `pciio' (0x0 - 0xffff), flags=0
     0xd000 - 0xe0b3
     0xe0c0 - 0xe0c7
     0xe0d0 - 0xe0d3
     0xe0e0 - 0xe0e7
     0xe0f0 - 0xe0f7
extent `pcimem' (0x0 - 0xffffffff), flags=0
     0x0 - 0x9ffff
     0xe0000 - 0x7f6fffff
     0xc0000000 - 0xcfffffff
     0xdfc00000 - 0xdff403ff
     0xffb00000 - 0xffbfffff
     0xffd00000 - 0xffe03fff
     0xfff00000 - 0xffffffff
pchb0 at pci0 dev 0 function 0 "Intel 82945GME Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GME Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 2 int 
16 (irq 11)
azalia0: codecs: Realtek ALC888
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 2 int 16 
(irq 11)
pci1 at ppb0 bus 1
mem address conflict 0xffd10000/0x1000
mem address conflict 0xffd00000/0x10000
extent `ppb0 pciio' (0x0 - 0xffff), flags=0
     0x0 - 0xd0ff
     0xe000 - 0xffff
extent `ppb0 pcimem' (0x0 - 0xffffffff), flags=0
     0x0 - 0xdfcfffff
     0xdfe00000 - 0xffffffff
re0 at pci1 dev 0 function 0 "Realtek 8101E" rev 0x02: RTL8102E (0x3480), apic 
2 int 16 (irq 11), address 00:21:85:e1:d0:9f
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 2 int 17 
(irq 10)
pci2 at ppb1 bus 2
extent `ppb1 pcimem' (0x0 - 0xffffffff), flags=0
     0x0 - 0xdfc0ffff
     0xdfd00000 - 0xffffffff
ral0 at pci2 dev 0 function 0 "Ralink RT2790" rev 0x00: apic 2 int 17 (irq 10), 
address 00:21:85:ec:ba:e1
ral0: MAC/BBP RT2872 (rev 0x0200), RF RT2720 (MIMO 1T2R)
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2 int 23 
(irq 5)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2 int 19 
(irq 3)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2 int 18 
(irq 7)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2 int 16 
(irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2 int 23 
(irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci3 at ppb2 bus 3
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channel 
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD1600BEVT-22ZCT0>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 2 int 19 
(irq 3)
iic0 at ichiic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 5 configuration 1 interface 0 "Bison Electronics Inc. 
BisonCam, NB Pro" rev 2.00/0.03 addr 2
video0 at uvideo0
umass0 at uhub0 port 6 configuration 1 interface 0 "Generic USB2.0-CRW" rev 
2.00/58.87 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Generic-, Multi-Card, 1.00> SCSI0 0/direct 
removable
sd0: drive offline
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
ubt0 at uhub4 port 1 "Micro Star International Bluetooth" rev 2.00/31.64 addr 2

Reply via email to