You are not logged in.

#1 2007-11-20 06:59:56

walker.cz
Member
From: Czech republic
Registered: 2007-04-10
Posts: 8
Website

[solved]Mobil phone - bluetooth -ppd-> doesn't work

I have problem with my connection via bluetooth.
I pair my mobil and notebook, it seems to be O.K. then I dial to the net - phone connect a connection is establish, but nothing works, not ping, not web browser. Can you help me where is the problem?
i use
>pppd call gprs
gprs:

debug
connect "/usr/sbin/chat -v -f /etc/ppp/gprs"
noauth
usepeerdns
/dev/rfcomm0 115200
115200
local
nocrtscts
defaultroute
noipdefault
lcp-echo-interval 0
lcp-echo-failure 0

/etc/ppp/gprs

TIMEOUT         60
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'
''              'ATE1'
OK              AT+CGDCONT=1,"IP","internet"
OK              ATD*99***1#
CONNECT         \d\c

ppp.log:

pppd call gprs
ATE1
OK
AT+CGDCONT=1,"IP","internet"
OK
ATD*99***1#
CONNECT
Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0xa0000> <magic 0xc7eaf41c> <pcomp> <accomp>]
rcvd [LCP ConfRej id=0x1 <magic 0xc7eaf41c> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0xa0000>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0xa0000>]
rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>]
sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>]
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
rcvd [LCP ProtRej id=0x0 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <addr 10.176.135.227> <ms-dns1 160.218.10.200> <ms-dns3 160.218.43.200>]
sent [IPCP ConfReq id=0x2 <addr 10.176.135.227> <ms-dns1 160.218.10.200> <ms-dns3 160.218.43.200>]
rcvd [IPCP ConfAck id=0x2 <addr 10.176.135.227> <ms-dns1 160.218.10.200> <ms-dns3 160.218.43.200>]
local  IP address 10.176.135.227
remote IP address 10.6.6.6
primary   DNS address 160.218.10.200
secondary DNS address 160.218.43.200
Script /etc/ppp/ip-up started (pid 8117)
Script /etc/ppp/ip-up finished (pid 8117), status = 0x0

I thing It is the right way but why it doesn't work?

Last edited by walker.cz (2007-11-20 13:24:38)

Offline

#2 2007-11-20 07:28:31

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [solved]Mobil phone - bluetooth -ppd-> doesn't work

What's the output of your ifconfig and route? What's the content of your resolv.conf?


Todays mistakes are tomorrows catastrophes.

Offline

#3 2007-11-20 09:07:21

walker.cz
Member
From: Czech republic
Registered: 2007-04-10
Posts: 8
Website

Re: [solved]Mobil phone - bluetooth -ppd-> doesn't work

mucknert wrote:

What's the output of your ifconfig and route? What's the content of your resolv.conf?

resolve.conf

# Generated by dhcpcd for interface eth0
# search chello.upc.cz
# nameserver 192.168.1.1

ifconfig:

ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:19366 (18.9 Kb)  TX bytes:19366 (18.9 Kb)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.177.143.12  P-t-P:10.6.6.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:54 (54.0 b)  TX bytes:66 (66.0 b)

route:

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.6.6.6        *               255.255.255.255 UH    0      0        0 ppp0
default         *               0.0.0.0         U     0      0        0

Offline

#4 2007-11-20 13:23:55

walker.cz
Member
From: Czech republic
Registered: 2007-04-10
Posts: 8
Website

Re: [solved]Mobil phone - bluetooth -ppd-> doesn't work

mucknert wrote:

What's the output of your ifconfig and route? What's the content of your resolv.conf?

BINGO!
I had bad resolve.conf, repaired it and voila it works. Thank you for advise smile

Offline

#5 2007-11-20 13:28:40

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [solved]Mobil phone - bluetooth -ppd-> doesn't work

Well, I didn't do much but you are welcome. big_smile


Todays mistakes are tomorrows catastrophes.

Offline

Board footer

Powered by FluxBB