Re: [Bluez-users] dund never activates pppd

Marcel Holtmann
2004-02-23T22:03:30Z

Hi Klaus,

> I have just installed bluez with partial success. I am using a belkin usb adaptor
> and linux 2.4.25 with the latest bluez installed. The adaptor is recognized and
> I am able to connect a Pocket PC (WM2003) to the linux-machine using "Network Access Service".
> However pppd is never started and I am not able to transmit any packets from the PPC.
>
> [syslog message when 'hotplugging' the device]:
> Feb 23 18:51:13 mini kernel: usb.c: USB disconnect on device 00:10.0-2 address 3
> Feb 23 18:51:15 mini kernel: hub.c: new USB device 00:10.0-2, assigned address 4
> Feb 23 18:51:15 mini kernel: usb.c: USB device 4 (vend/prod 0xa5c/0x2033) is not claimed by any active driver.
> Feb 23 18:51:19 mini bluefw[5776]: Loading firmware to usb device 0a5c:2033
> Feb 23 18:51:19 mini bluefw[5776]: FW loaded
>
> Then I run
> /usr/bin/pand --listen --role NAP
> /usr/bin/dund --listen --msdun call dun
>
> Starting pand,dund etc:
> Feb 23 18:51:28 mini hcid[5972]: HCI daemon ver 2.4 started
> Feb 23 18:51:28 mini hcid[5972]: Starting security manager 0
> Feb 23 18:51:28 mini bluetooth: hcid startup succeeded
> Feb 23 18:51:28 mini sdpd[5978]: sdpd v1.5 started
> Feb 23 18:51:28 mini bluetooth: sdpd startup succeeded
> Feb 23 18:51:34 mini pand[5986]: PAN daemon ver 1.1
> Feb 23 18:51:34 mini pan: pand startup succeeded
> Feb 23 18:51:34 mini dund[5990]: DUN daemon ver 1.1
> Feb 23 18:51:34 mini pan: dund startup succeeded
> Feb 23 18:52:13 mini hcid[5972]: link_key_request (sba=00:03:C9:2E:6C:F6, dba=00:04:3E:A2:2D:C9)
> Feb 23 18:52:16 mini pand[5997]: New connection from 00:04:3E:A2:2D:C9 bnep0
>
> And pppd is never started as I suppose it should?

your new connection is a PAN connection and so you don't need pppd. Set
up your new bnep0 device with ifconfig etc. and go ahead.