How to connect to Ethernet by PAN with bridge?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ryli_4531716
Level 1
Level 1
First like given

Hi,

I am using 20706evk with a yocto linux i.mx main board or anyother yocto linux main board. and try to PAN profile to connect to internet.

it means DUT1(windows , BT, PANU) ---BT PAN(20706evk,NAP)---ethernet( bsa_server) and  can fetch internet

now I tried to have a bridge steps with

1.turn on bsa_server

2.turn on app_managet

3.turn on app_pan with tap0 interface up

4.

Setup bridge:

# brctl addbr pan0

# ifconfig pan0 192.168.0.1

# brctl setfd pan0 0

# brctl stp pan0 disable

# brctl addif pan0 eth0

5.set up tap0

# brctl addif pan0 tap0

#  ifconfig tap0 0.0.0.0

but failed and cause linux eth0 down ,  is any comment?

another question is that may we have some input when using app_pan, or is another way can open "PAN Enable" directly without full PAN main menu?

thanks

0 Likes
3 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

hello:

if you didn't input below commands,  what is the result?

# brctl setfd pan0 0

# brctl stp pan0 disable

Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

and what is the role on your pan setting.

0 Likes

Hi ZhengbaoZ_96​,

pan is setting as NAP in 20706 with set bridge to main chip 

tap0 ip 10.0.0.7 netmask 255.255.255.0

bridge ip 192.168.3.4 netmask 255.255.255.0

second, connect a PC set with PANU to connect to 20706

PC ipv4 10.0.0.12 netmask 255.255.255.0

-----------------

if you didn't input below commands,  what is the result?

# brctl setfd pan0 0

# brctl stp pan0 disable

I saw the same situation

0 Likes