Hi,

I'm using OpenWRT CHAOS CALMER (Bleeding Edge, r46141) with a Ralink
MT7628 Board and Linux 4.1.0.

I have set up a new interface:
iwpan dev wpan0 set pan_id 0xbeef
ip link set wpan0 up
ip link add link wpan0 name lowpan0 type lowpan
ip link set lowpan0 up

Here is the settings:
root@OpenWrt:/# ifconfig
lowpan0   Link encap:UNSPEC  HWaddr
05-38-09-06-90-E0-5E-3E-00-00-00-00-00-00-00-00
          inet6 addr: fe80::738:906:90e0:5e3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1280  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wpan0     Link encap:UNSPEC  HWaddr
05-38-09-06-90-E0-5E-3E-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING NOARP  MTU:127  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:300
          RX bytes:0 (0.0 B)  TX bytes:75 (75.0 B)



root@OpenWrt:/# ip link
6: wpan0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 127 qdisc fq_codel state
UNKNOWN mode DEFAULT group default qlen 300
    link/ieee802.15.4 ef:57:b2:a9:2f:4e:90:76 brd ff:ff:ff:ff:ff:ff:ff:ff
7: lowpan0@NONE: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc
noqueue state UNKNOWN mode DEFAULT group default
    link/[825] ef:57:b2:a9:2f:4e:90:76 brd ff:ff:ff:ff:ff:ff:ff:ff

root@OpenWrt:/# iwpan phy
wpan_phy phy0
supported channels:
        page 0: 0,1,2,3,4,5,6,7,8,9,10
        page 2: 0,1,2,3,4,5,6,7,8,9,10
current_page: 0
current_channel: 5
cca_mode: 1
tx_power: 0

root@OpenWrt:/# iwpan dev
phy#0
        Interface wpan0
                ifindex 6
                wpan_dev 0x1
                extended_addr 0xef57b2a92f4e9076
                short_addr 0xffff
                pan_id 0xbeef
                type node
                max_frame_retries -1
                min_be 3
                max_be 5
                max_csma_backoffs 4
                lbt 0

Then I try to ping6 another board using the lowpan0 interface:
ping6 -I lowpan0 fe80::a8af:ac69:e53e:c7f1
All packets fail but more than that ifconfig tells me that no packet
have been sent:

root@OpenWrt:/# ifconfig
lowpan0   Link encap:UNSPEC
....
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wpan0     Link encap:UNSPEC
...
          RX bytes:0 (0.0 B)  TX bytes:75 (75.0 B) (--> this is when I
set up lowpan0)

In the ip link command, I'm wondering why I've got [825] for the
lowpan0 interface?
Why those packets are not transmitted over all the layers?
Let me know if you need more info.

-- 
Baptiste
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to