Это просто капец какой-то !!!!!!!!!!!
вроде как запускается, а интернетом ваще и не пахнет. можт я какую мелоч упустил ? телефон Siemens S75, ASP Linux 11.2, Bluetooth
=======================================
файл /etc/bluetooth/hcid.conf
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
#pin_helper /usr/bin/bluepin;
# D-Bus PIN helper
#dbus_pin_helper;
passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "Siemens_mobile";
# Local device class
class 0x120104;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
# Authentication and Encryption (Security Mode 3)
#auth enable;
#encrypt enable;
}
===========================================
файл /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:01:E3:66:E9:8B;
# RFCOMM channel for the connection
channel 2;
# Description of the connection
comment "Mobile_net";
}
========================================
файл /etc/wvdial.conf
[Dialer Defaults]
Modem Type = USB Modem
Modem = /dev/rfcomm4
Baud = 115200
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","internet"
Phone = *99***1#
ISDN = 0
Username = 1
Password = 1
NewPPD = yes
=============================================
# sdptool browse 00:01:E3:66:E9:8B
Browsing 00:01:E3:66:E9:8B ...
Service Name: SerialPort
Service RecHandle: 0x11101
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Serial Port" (0x1101)
Version: 0x0100
Service Name: Dial-up networking
Service RecHandle: 0x11103
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 2
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100
............................................
телефон подключал на разные номера портов (остановился на rfcomm4), всё одинаково.
wvdial при этом пишет, что усё зашибись и никаких ошибок не выдаёт.
# wvdial
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}#} }9}"}&} }*} } }'}"}(}"}%}&}9Nk}(}#}%B#}%c0~
--> PPP negotiation detected.
--> Starting pppd at Sat Oct 27 16:07:36 2007
--> pid of pppd: 2744
--> Using interface ppp0
--> local IP address 91.145.213.82
--> remote IP address 91.145.213.82
--> primary DNS address 212.58.160.33
--> secondary DNS address 212.58.160.34
подскажите плз - где копать надо
Добавлено (30.10.2007, 21:53)
---------------------------------------------
УРРРРРААААААААА !!!!!!!!
получилось запустить GPRS
вобщем проблема была в том, что я не знал на каком порту мой телефон прописался. наткнулся в нэте на статейку одну - там всё и написано в двух словах.
подключаем кабель с телефоном к компу, потом в консоли вводим:
#/sbin/lsusb ( покажет, что найдено на USB)
потом :
#dmesg ( будет куча информации)
надо найти строчку примерно такого плана:
pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
(тут и указан порт)
ну а потом всё просто - kppp - настройки модэма и тд
всё работает как часики ( правда на лайфе скорость оставляет желать лучшего, но это ужо другой вопрос)