etc conf bluetooth Bluetooth configuraton file Start of hcid allowed v

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
==> /etc/conf.d/bluetooth <==
# Bluetooth configuraton file
# Start of hcid (allowed values are "true" and "false")
HCID_ENABLE=true
# Config file for hcid
HCID_CONFIG="/etc/bluetooth/hcid.conf"
# Start sdpd (allowed values are "true" and "false")
SDPD_ENABLE=true
# Start hidd (allowed values are "true" and "false")
HIDD_ENABLE=false
# Arguments to hidd
HIDD_OPTIONS=""
# Run hid2hci (allowed values are "true" and "false")
HID2HCI_ENABLE=false
# Bind rfcomm devices (allowed values are "true" and "false")
RFCOMM_ENABLE=true
# Config file for rfcomm
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
# Start dund (allowed values are "true" and "false")
# If you want to use dund, you must install: net-dialup/ppp .
DUND_ENABLE=false
# Arguments to dund
DUND_OPTIONS="--listen --persist"
# Start pand (allowed values are "true" and "false")
PAND_ENABLE=false
# Arguments to pand
PAND_OPTIONS="--listen --role NAP"
==> /etc/bluetooth/rfcomm.conf <==
#
# RFCOMM configuration file.
#
# See also /etc/udev/rules.d/71-bluetooth-rfcomm.rules
rfcomm0 {
# Automatically bind the device at startup
bind yes;
device 00:12:D2:30:EC:C2;
channel 2;
comment "Nokia E61 serial";
}
rfcomm1 {
bind yes;
device 00:17:4B:D6:53:D6;
channel 1;
comment "Nokia 6630";
}
==> /etc/udev/rules.d/71-bluetooth-rfcomm.rules <==
# darkk...
ACTION=="add", SUBSYSTEM=="tty", KERNEL=="rfcomm*", \
WAIT_FOR_SYSFS="address", \
ATTR{address}=="00:12:D2:30:EC:C2", \
GROUP="uucp", SYMLINK+="nokia-e61 gprs"
ACTION=="add", SUBSYSTEM=="tty", KERNEL=="rfcomm*", \
WAIT_FOR_SYSFS="address", \
ATTR{address}=="00:17:4B:D6:53:D6", \
GROUP="uucp", SYMLINK+="nokia-6630"
==> /etc/ppp/options.gprs <==
115200
nodetach
updetach
defaultroute
# I have local resolver that is good for me
# usepeerdns
local
noauth
noccp
holdoff 5
disconnect 'chat -V -f /etc/ppp/chat-gprs-down'
# kernel: [5082538.026000] usb 2-2: USB disconnect, address 33
# pppd[25103]: Modem hangup
# pppd[25103]: Connect time 44.8 minutes.
# pppd[25103]: Sent 299458 bytes, received 322930 bytes.
# kernel: [5082538.027000] pl2303 2-2:1.0: device disconnected
# pppd[25103]: Connection terminated.
# kernel: [5082538.073000] pl2303 ttyUSB1: pl2303 converter now disconnected from ttyUSB1
# kernel: [5082538.129000] usb 2-2: new full speed USB device using uhci_hcd and address 34
# kernel: [5082538.258000] pl2303 2-2:1.0: pl2303 converter detected
# kernel: [5082538.258000] usb 2-2: pl2303 converter now attached to ttyUSB1
#
# So we can't use persist as we have to restart pppd if we use pl2303
persist
==> /etc/ppp/peers/beeline <==
/dev/gprs
remotename beeline
user beeline
connect 'chat -V -T internet.beeline.ru -f /etc/ppp/chat-gprs'
==> /etc/ppp/chat-gprs <==
ABORT BUSY
ABORT ERROR
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
TIMEOUT 120
""
ATZ OK
AT+CGDCONT=1,\"IP\",\"\T\" OK
ATD*99***1# CONNECT
\c
==> /etc/ppp/chat-gprs-down <==
ABORT BUSY
ABORT ERROR
ABORT 'NO DIALTONE'
'' '\K\d\d\d+++\d\d\d'
OK ATH