public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] How can I access Internet over PAN?
@ 2005-09-08  2:12 宁 宁
  2005-09-08 23:17 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: 宁 宁 @ 2005-09-08  2:12 UTC (permalink / raw)
  To: bluez users

hi,

I want to access Internet through PAN . I have to BT
modules that work propely on two ARM9 platform (linux
2.4.18) .And I can create a BNEP connection between
the PANU and the NAP following the steps in the
HOWTO-PAN. 

1.
on NAP side:
pand --listen --master --role=NAP
on PANU side:
pand -c <bt_addr>

2.
on NAP side:
ifconfig bnep0 10.0.0.1
on PANU side:
ifconfig bnep0 10.0.0.2

Utill now,I can ping each other!
$ pand --show
bnep0 4A:49:4E:00:15:2D NAP

3.
on NAP side:
brctl addbr pan0
ifconfig pan0 10.0.0.1
brctl setfd pan0 0
brctl stp pan0 disable
brctl addif pan0 eth0

$ brctl show
bridge name     bridge id        STP enabled    
interfaces
pan0         8000.0000c0ffee08       no          eth0

on PANU side:
route add default gw 10.0.0.1

Then,on PANU I ping the eth0 IP address of NAP ,but it
says on "NETDEV WATCHDOG: eth0: transmit timed out "! 

What's the problem? How can I access Internet over
PAN??

Do I have to enable ip_forward and iptables? But the
2.4.18 kernel seems don't work with these! I have
build in iptables,but I still can't use "iptables"
command!

Thanks in advance!

gadfly

 


	

	
		
___________________________________________________________ 
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 
http://cn.mail.yahoo.com



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-08 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-08  2:12 [Bluez-users] How can I access Internet over PAN? 宁 宁
2005-09-08 23:17 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox