From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Mon, 19 Feb 2007 21:59:14 -0600 From: "Rohit Chaudhri" To: bluez-users@lists.sourceforge.net MIME-Version: 1.0 Subject: [Bluez-users] PAN problem with BlueZ Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi, I am having some problems with BlueZ while using PAN, would appreciate it if someone could help me out with this. On the PAN GN I am using the latest version of BlueZ libs & utils (version 3.9) on a Ubuntu Linux machine running kernel version 2.6.20 with the 2.6.20-mh1 kernel patch for bluetooth. I use a couple of PANU nodes to connect to the PAN gateway. The problem is that PAN always works with one of the PANU nodes (I'll call this "good-panu" for this email) but never works with the other PANU node ("bad-panu" for this email) . On the gateway I start pand with the following command: pand --listen --role GN On the PANU end I connect to the GN with the command: pand -c 6, base_addr:0xb7e766c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xb7fb9000, 50080) = 0 socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3 getuid32() = 0 setuid32(0) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET, sin_port=htons(1025), sin_addr=inet_addr("192.168.22.2")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(32770), sin_addr=inet_addr("192.168.22.1")}, [16]) = 0 close(4) = 0 setsockopt(3, SOL_RAW, ICMP_FILTER, ~(ICMP_ECHOREPLY|ICMP_DEST_UNREACH|ICMP_SOURCE_QUENCH|ICMP_REDIRECT|ICMP_TIME_EXCEEDED|ICMP_PARAMETERPROB), 4) = 0 setsockopt(3, SOL_IP, IP_RECVERR, [1], 4) = 0 setsockopt(3, SOL_SOCKET, SO_SNDBUF, [324], 4) = 0 setsockopt(3, SOL_SOCKET, SO_RCVBUF, [65536], 4) = 0 getsockopt(3, SOL_SOCKET, SO_RCVBUF, [131072], [4]) = 0 brk(0) = 0x8063000 brk(0x8084000) = 0x8084000 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fc5000 write(1, "PING 192.168.22.2 (192.168.22.2)"..., 55PING 192.168.22.2 (192.168.22.2) 56(84) bytes of data. ) = 55 setsockopt(3, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0 setsockopt(3, SOL_SOCKET, SO_SNDTIMEO, "\1\0\0\0\0\0\0\0", 8) = 0 setsockopt(3, SOL_SOCKET, SO_RCVTIMEO, "\1\0\0\0\0\0\0\0", 8) = 0 getpid() = 21182 rt_sigaction(SIGINT, {0x804b2a0, [], SA_INTERRUPT}, NULL, 8) = 0 rt_sigaction(SIGALRM, {0x804b2a0, [], SA_INTERRUPT}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {0x804b2af, [], SA_INTERRUPT}, NULL, 8) = 0 gettimeofday({1171940215, 22457}, NULL) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=21, ws_col=115, ws_xpixel=0, ws_ypixel=0}) = 0 gettimeofday({1171940215, 41043}, NULL) = 0 gettimeofday({1171940215, 41133}, NULL) = 0 sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("192.168.22.2")}, msg_iov(1)=[{"\10\0O_\276R\0\1wc\332E\255\240\0\0\10\t\n\v\f\r\16\17"..., 64}], msg_controllen=0, msg_flags=0}, 0) = 64 recvmsg(3, 0xbf927fc8, 0) = -1 EAGAIN (Resource temporarily unavailable) gettimeofday({1171940216, 40660}, NULL) = 0 gettimeofday({1171940216, 40749}, NULL) = 0 sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("192.168.22.2")}, msg_iov(1)=[{"\10\0\316_\276R\0\2xc\332E-\237\0\0\10\t\n\v\f\r\16\17"..., 64}], msg_controllen=0, msg_flags=0}, 0) = 64 recvmsg(3, 0xbf927fc8, 0) = -1 EAGAIN (Resource temporarily unavailable) gettimeofday({1171940217, 40663}, NULL) = 0 gettimeofday({1171940217, 40755}, NULL) = 0 sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("192.168.22.2")}, msg_iov(1)=[{"\10\0\307^\276R\0\3yc\332E3\237\0\0\10\t\n\v\f\r\16\17"..., 64}], msg_controllen=0, msg_flags=0}, 0) = 64 recvmsg(3, 0xbf927fc8, 0) = -1 EAGAIN (Resource temporarily unavailable) gettimeofday({1171940218, 40682}, NULL) = 0 gettimeofday({1171940218, 40773}, NULL) = 0 sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("192.168.22.2")}, msg_iov(1)=[{"\10\0\264]\276R\0\4zc\332EE\237\0\0\10\t\n\v\f\r\16\17"..., 64}], msg_controllen=0, msg_flags=0}, 0) = 64 recvmsg(3, 0xbf927fc8, 0) = -1 EAGAIN (Resource temporarily unavailable) [this keeps happening continuously in a loop] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users