Re: [TH-main] pand/NAP

Bartlomiej Zimon uzi18 at o2.pl
Sat Jul 7 19:23:08 CEST 2012


Dnia 7 lipca 2012 17:07 Daniel Dawid Majewski <light-i w o2.pl> napisał(a):
> Ostatnio się uparłem na odpalenie dostępu dla internetu dla mojego telefonu.
> Korzystam z:
> http://bluez.sourceforge.net/contrib/HOWTO-PAN
> http://www.nfire.eu/?m=articles&article_id=27
> http://forums.fedoraforum.org/archive/index.php/t-241300.html
> No i teraz mam zagwózdkę:
> 1. brak u nas pliku  /etc/bluetooth/hcid.conf - jest jakaś nowsza metoda
> konfiguracji ?
> 2. pand ma problemy, plików dev{up,down} nawet nie dotyka:
> # strace -f pand --listen --role NAP --devup /etc/bluetooth/pan/dev-up
> --devdown /etc/bluetooth/pan/dev-down --nodetach
> execve("/usr/bin/pand", ["pand", "--listen", "--role", "NAP", "--devup",
> "/etc/bluetooth/pan/dev-up", "--devdown", "/etc/bluetooth/pan/dev-down",
> "--nodetach"], [/* 37 vars */]) = 0
> [...]
> getpid()                                = 11988
> writev(2, [{"pand[11988]: Bluetooth PAN daemo"..., 47}, {"\n", 1}],
> 2pand[11988]: Bluetooth PAN daemon version 4.101
> ) = 48
> sendto(4, "<30>Jul  7 17:02:03 pand[11988]:"..., 68, MSG_NOSIGNAL, NULL,
> 0) = 68
> socket(PF_FILE, SOCK_STREAM, 0)         = 5
> connect(5, {sa_family=AF_FILE, path="/var/run/sdp"}, 110) = -1 ENOENT
> (No such file or directory)
>                                  ^^^^^^^^^^^^^^^^^^ ?

Wczesniej hcid -s go tworzyl, teraz bluetoothd powinien, moze na nim strace powies.

Pozdrawiam
Bartlomiej Zimon


More information about the pld-devel-pl mailing list