From: "宁 宁" <gadfly_no@yahoo.com.cn>
To: bluez users <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] How can I access Internet over PAN?
Date: Thu, 8 Sep 2005 10:12:39 +0800 (CST) [thread overview]
Message-ID: <20050908021239.16175.qmail@web15710.mail.cnb.yahoo.com> (raw)
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
next reply other threads:[~2005-09-08 2:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-08 2:12 宁 宁 [this message]
2005-09-08 23:17 ` [Bluez-users] How can I access Internet over PAN? Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050908021239.16175.qmail@web15710.mail.cnb.yahoo.com \
--to=gadfly_no@yahoo.com.cn \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox