From: Victor <victor@cas.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] MTS GPRS через bluetooth
Date: Wed, 13 May 2009 16:00:23 +0400
Message-ID: <200905131600.23868.victor@cas.ru> (raw)
In-Reply-To: <d30105e50905130444g4e2f5b8bwdede95ef349780da@mail.gmail.com>
On Среда 13 мая 2009 15:44:46 Шамиль Шейхов wrote:
> Я делю проще
> Написал скрипт который автоматически цепляется к моему телефону по
> синезубу...
> Сперва определяем мак по bluetooth
>
> 1. hcitool scan
> 2. rfcomm bind /dev/rfcomm0 [мак телефона через bluetooth] [цифровое
> значение канала на телефоне, у меня в этом месте 2-ка]
> 3. Дальше как обычно в kppp создаем подключение и указываем модем
> /dev/rfcomm0
>
Не совсем автоматически?
Вместо п.2 :
$ cat /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device ( [мак телефона через bluetooth] )
device xx:xx:xx:xx:xx:xx; #( [мак телефона через bluetooth] )
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "My Bluetooth phone";
}
next prev parent reply other threads:[~2009-05-13 12:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 10:21 Denis Medvedev
2009-05-13 10:35 ` Александр
2009-05-13 10:51 ` Denis Medvedev
2009-05-13 12:00 ` Victor [this message]
2009-05-14 9:39 ` Andrey Rahmatullin
2009-05-13 12:14 ` "Купраш А.А."
2009-05-13 12:40 ` Alexey I. Froloff
2009-05-15 13:52 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200905131600.23868.victor@cas.ru \
--to=victor@cas.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git