Izpolzvam FC3 2.6.9 i iskam da polzvam GPRS prez BT(telefona
mi S700i). Vruzkata m/u telefona i BT adaptera si
funktsionira normalno.
Purvo redaktiram /etc/wvdial.conf s tova
[BluetoothMobile]
Modem = /dev/rfcomm0
Baud = 57600
SetVolume = 0
Dial Command = ATDT
Init1 = ATE1
Init2 = AT+CGDCONT=1,"IP","inet-gprs.mtel.bg","",0,0
FlowControl = CRTSCTS
[Dialer GPRS]
Phone = *99#
Stupid Mode = 1
Inherits = BluetoothMobile
Pravia tozi fail /etc/ppp/peers/GPRS s tova
connect "/usr/bin/wvdial --remotename GPRS --chat 'GPRS'"
Sled tova eto tozi fail
/etc/sysconfig/network-scripts/ifcfg-GPRS s tova
ONBOOT=no
USERCTL=yes
PEERDNS=yes
TYPE=Modem
DEVICE=ppp1
BOOTPROTO=dialup
AC=off
BSDCOMP=off
VJCCOMP=off
CCP=off
PC=off
VJ=off
LINESPEED=57600
MODEMPORT=/dev/rfcomm0
PROVIDER=Mtel
DEFROUTE=yes
PERSIST=no
PAPNAME='mtel'
WVDIALSECT=GPRS
MODEMNAME=BluetoothMobile
DEMAND=no
IPV6INIT=no
IDLETIMEOUT=600
I nakraia tozi fail /sbin/ifup-pre-local s tozi shell
#!/bin/bash
case "$1" in
ifcfg-GPRS)
/etc/init.d/bluetooth start
/usr/bin/rfcomm bind 0 XX:XX:XX:XX:XX:XX 1
;;
esac
Kudeto XX:XX.... e makcheto na telefona
I sled kato startiram /sbin/ifup GPRS vruzkata stava obache
mi izpisva, che nemozhelo da napravi GPRS connection i dava
error 8
ta, ako niakoi mozhe li da me svetna po vuprosa kak stava
tova
|