--- Christian Lyra <[EMAIL PROTECTED]> wrote:

> Hi,
> 
>       I thought that running edge on a linksys openwrt would be cool :-). So 
> i grabbed the sdk for whiterussian firmware release of openwrt, and I 
> was able to compile the last svn of n2n with it. 
>       But... then I try to run it I found that:
>       - edge interface is created with mac 00:00:00:00:00:00
>       - while trying to register with supernode, supernode keep saying: 
> [supernode.c: 154] WARNING: Received packet too short [len=79]
> 
>       I tried to create a "edge" interface by hand, but even with what seems 
> to be a "valid" device, the supernode still doesnt accept the 
> registration.
> 
>       I guess that there“s a issue with either uclibc, kernel 2.4.30 or the 
> MIPS arch... any clues?

edge uses the tuntap driver. Under most operating systems, creating a tuntap
interface gives it a random MAC address. It seems that the whiterussian kernel
gives it zero. The MAC can be set with ifconfig after edge has been started.
See the ifconfig man page part about the hwaddr option. The MAC will be used on
the next REGISTER so you'll need to wait for that to occur (5 min I think).

I can add a command line option to specify the MAC. In fact I think it is a
good idea in general to allow edge nodes to exit/crash and come back with the
same MAC addr.

Give me a day and it should be in place.

--
  Rich



      Get the name you always wanted with the new y7mail email address.
www.yahoo7.com.au/y7mail


_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to