[TH-main] pand/NAP

Daniel Dawid Majewski light-i at o2.pl
Sat Jul 7 17:07:38 CEST 2012


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)
                                 ^^^^^^^^^^^^^^^^^^ ?
close(5)                                = 0
writev(2, [{"pand[11988]: Failed to connect t"..., 84}, {"\n", 1}],
2pand[11988]: Failed to connect to the local SDP server. No such file or
directory(2)
) = 85
sendto(4, "<27>Jul  7 17:02:03 pand[11988]:"..., 105, MSG_NOSIGNAL,
NULL, 0) = 105
socket(PF_BLUETOOTH, SOCK_SEQPACKET, 0) = 5
bind(5, {sa_family=AF_BLUETOOTH,
sa_data="\17\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 14) = 0
getsockopt(5, SOL_TCP, TCP_NODELAY, "\0\0\240\2\377\377\0\1\3\0?\0",
[12]) = 0
setsockopt(5, SOL_TCP, TCP_NODELAY, "\233\6\233\6\377\377\0\1\3\0?\0",
12) = 0
listen(5, 10)                           = 0
accept(5,

O czym powinienem jeszcze wiedzieć ?
-- 
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/pld-users.org




More information about the pld-devel-pl mailing list