The proposed way doesn't pretend to be the most convenient but it  at least works :)
So,
1.Enable bluetooth on the phone.
2.Discover it's MAC address:
$hcitool scan
3.Find out which channel is used for «Dial UP networking» on your phone:
$sdptool browse 00:21:AA:8E:E1:00
4.Bind rfcomm device to discovered channel:
rfcomm bind 0 00:21:AA:8E:E1:00 2
5.Now we can use /dev/rfcomm0 in pppd configuration.
6.Use pppconf to create ppp configuration for your operator, I'll show mine at the end of the tip.
7.Use pon xl.kyivstar.net to connect
Actually I ,also, thing that there must be an easier way , let me know if you'll find one!
cat /etc/ppp/peers/xl.kyivstar.net:
# This optionfile was generated by pppconfig 2.3.18.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/xl.kyivstar.net"
debug
/dev/rfcomm0
115200
defaultroute
noipdefault
user "none"
ipparam xl.kyivstar.net
usepeerdns
nopcomp
novj
novjccomp
nobsdcomp
nodeflate
noaccomp
cat /etc/chatscripts/xl.kyivstar.net:
TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
'OK' 'AT+CGDCONT=1,\"IP\",\"xl.kyivstar.net\"'
'OK' ATD*99***1#
CONNECT
So,
1.Enable bluetooth on the phone.
2.Discover it's MAC address:
$hcitool scan
3.Find out which channel is used for «Dial UP networking» on your phone:
$sdptool browse 00:21:AA:8E:E1:00
4.Bind rfcomm device to discovered channel:
rfcomm bind 0 00:21:AA:8E:E1:00 2
5.Now we can use /dev/rfcomm0 in pppd configuration.
6.Use pppconf to create ppp configuration for your operator, I'll show mine at the end of the tip.
7.Use pon xl.kyivstar.net to connect
Actually I ,also, thing that there must be an easier way , let me know if you'll find one!
cat /etc/ppp/peers/xl.kyivstar.net:
# This optionfile was generated by pppconfig 2.3.18.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/xl.kyivstar.net"
debug
/dev/rfcomm0
115200
defaultroute
noipdefault
user "none"
ipparam xl.kyivstar.net
usepeerdns
nopcomp
novj
novjccomp
nobsdcomp
nodeflate
noaccomp
cat /etc/chatscripts/xl.kyivstar.net:
TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
'OK' 'AT+CGDCONT=1,\"IP\",\"xl.kyivstar.net\"'
'OK' ATD*99***1#
CONNECT
Comments