[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] PPPd on ARM



I think I have good news for you, at least on the client side.
You need to start pppd with "local" option. If you don't put this options, 
pppd thinks there is a modem connected to the serial port, and (I don't know 
why) it opens the line twice, behaviour not supported by the axis stack.

David.

Le Vendredi 29 Juin 2001 23:26, V.Kugan a écrit :
> Hi All
> I have somehow sort out my earlier problrm, Thanx to Andreas Petralia , But
> now I have got into a
> new problem.
> After establishing RFCOMM connnection, when I start pppd , it dosent work
> I am using ARM+uClinux+CSR, on the client side for ppp.
>
> Sys log on the servere side shows
>
>
>           RFCOMM rfcomm_connect_ind
>           RFCOMM get_new_rfcomm_con: rfcomm_con -> ttyBT0
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>           RFCOMM rfcomm_config_ind : remote cid 64
>
> l2cap options:  (0)
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>           RFCOMM rfcomm_config_cfm:
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>           RFCOMM rfcomm_receive_data: SABM-packet received
>           RFCOMM rfcomm_receive_data: server channel == 0
>           RFCOMM rfcomm_receive_data: setting l2cap_con, no ser
> v.channel yet
>           RFCOMM rfcomm_receive_data: sending back UA - control
>  channel
>           RFCOMM send_ua: Creating UA packet to DLCI 0
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>           RFCOMM process_mcc
>           RFCOMM process_mcc: Received DLC parameter negotiatio
> n, PN
>           RFCOMM send_pn_msg: DLCI 0x04, prior:0x07, frame_size
>
> :127, credit_flow:0, credits:0, cr:0
>
>           RFCOMM process_mcc: process_mcc : mtu set to 127
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>           RFCOMM rfcomm_receive_data: SABM-packet received
>           RFCOMM rfcomm_receive_data: sending back UA - other c
> hannel
>           RFCOMM send_ua: Creating UA packet to DLCI 4
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>           RFCOMM process_mcc
>           RFCOMM process_mcc: Received Modem status command
>           RFCOMM process_mcc: Flow ON, dlci 4
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>           RFCOMM process_mcc
>           RFCOMM process_mcc: Received Modem status response
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>     L2CAP get_lcon: lcid 64 con_list.count = 1
>
> and on the client side
> Starting PPP
>
> Spawned pppd[8] in the backgrounBT (driver) bt_open on line 0
> BT (driver) Registering tty on line 0 (pppd)
> BT (driver) bt_open on line 0
> BT (driver) Registering tty on line 0 (pppd)
> BT SYS: warning :bt_register_tty : line busy !
> BT (driver) bt_close on line 0
> BT (driver) Unregistering tty on line 0
> BT SYS: warning :bt_write_top : line 0 is not in active state
>
>
> I would appreciate your comments, thanx in Advance
> Best Regards
> Kugan
>
> -
> To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com