Hello,

On Tue, May 18, 2010 at 6:51 PM, agogolev <[email protected]> wrote:
> Hello,
> I've cleared one of the fake driver options from kernel configuration (I
> don't know why there are two available options),
> Compiled and flashed.

If you'd like to work with real radios, you can disable all 'fake' options,
as they seem to confuse you.

> Now I get this:
>
> # iz listphy
> wpan-phy0  IEEE 802.15.4 PHY object
>    page: 0  channel: n/a
>    channels on page 0: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
> 20 21 22 23 24 25 26
>    channels on page 1: 0 1 2 3 4 5 6 7 8 9 10
>    channels on page 2: 0 1 2 3 4 5 6 7 8 9 10
>    channels on page 3: 0 1 2 3 4 5 6 7 8 9 10 11 12 13
>    channels on page 4: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
>    channels on page 5: 0 1 2 3 4 5 6 7
>    channels on page 6: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
> 20 21

This is fake.

> wpan-phy1  IEEE 802.15.4 PHY object
>    page: 0  channel: n/a
>    channels on page 0: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

This is your cc2420.

>
> # iz add wpan-phy0

As you want to add an interface on the top of cc2420, this should be wpan-phy1

> Registered new device ('wpan0') on phy wpan-phy0
>
> # ip link set wpan0 address de:ad:be:af:ca:fe:ba:be
> ip: either "dev" is duplicate, or "address" is garbage

strange. What version of iproute are you using?

> # ifconfig wpan0 192.168.1.1 netmask 255.255.255.0 up

Damn. What are you planning to do? LR-WPAN aren't suited for IPv4/IPv6.

> p.s. I've cross-compiled and added iptables to the imote, nothing changed.

Hmmm. Nobody ever mentioned iptables wrt. lowpan interfaces. Care to
add netfilter hooks?

-- 
With best wishes
Dmitry

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

_______________________________________________
Linux-zigbee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to