NIC Supported:<br><br>NIC with chipset broadcom, receives the packages sends but don't sends.<br><br><div><span class="gmail_quote">On 4/30/07, <b class="gmail_sendername"><a href="mailto:olsr-users-request@olsr.org">olsr-users-request@olsr.org
</a></b> <<a href="mailto:olsr-users-request@olsr.org">olsr-users-request@olsr.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send olsr-users mailing list submissions to<br> <a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="https://www.olsr.org/mailman/listinfo/olsr-users">
https://www.olsr.org/mailman/listinfo/olsr-users</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:olsr-users-request@olsr.org">olsr-users-request@olsr.org</a><br><br>You can reach the person managing the list at
<br> <a href="mailto:olsr-users-owner@olsr.org">olsr-users-owner@olsr.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of olsr-users digest..."<br><br>
<br>Today's Topics:<br><br> 1. Re: olsr-0.5.0 with OpenBSD 4.0 compile problems<br> (Bernd Petrovitsch)<br> 2. Re: NIC SUPPORTED (Bernd Petrovitsch)<br> 3. Re: NIC SUPPORTED (Aaron Kaplan)<br> 4. Re: NIC SUPPORTED (Benjamin Henrion)
<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 28 Apr 2007 17:57:53 +0200<br>From: Bernd Petrovitsch <<a href="mailto:bernd@firmix.at">bernd@firmix.at
</a>><br>Subject: Re: [OLSR-users] olsr-0.5.0 with OpenBSD 4.0 compile problems<br>To: OLSR discussion and development <<a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org</a>><br>Message-ID: <<a href="mailto:1177775873.3602.31.camel@gimli.at.home">
1177775873.3602.31.camel@gimli.at.home</a>><br>Content-Type: text/plain<br><br>On Fri, 2007-04-27 at 09:30 -0700, Patrick McCarty wrote:<br>> Hi all,<br>><br>> I'm experiencing some minor problems during compilation under a stock
<br>> OpenBSD 4.0 install. I've managed in the end to get a compiled version<br>> which executes and seems to work, but I thought I'd report my findings<br>> for others experiencing similar.<br>><br>> First error: Bison refuses to generate
parse.c<br>><br>> gmake -C src/cfgparser<br>> gmake[1]: Entering directory `/root/olsrtest/olsrd-0.5.0/src/cfgparser'<br>> cc -Wall -Wmissing-prototypes -Wstrict-prototypes<br>> -Wmissing-declarations -Wsign-compare -O2 -g -MD -Isrc -I../../src
<br>> -D__OpenBSD__ -DMAKELIB -c -o olsrd_conf.o olsrd_conf.c<br>> bison -d -ooparse.c oparse.y<br>> gmake[1]: *** [oparse.c] Broken pipe<br>> gmake[1]: Leaving directory `/root/olsrtest/olsrd-0.5.0/src/cfgparser'
<br>> gmake: *** [cfgparser] Error 2<br>><br>> In case anyone cares, Its bison (GNU Bison) 2.1<br><br>Funny, bison-1.35 and bison-1.875d have no problem with it.<br><br>> My action:<br>><br>> Copied cfgparser directory contents from an already compiled copy from
<br>> a Linux machine.<br><br>copying the generated oparse.c should be enough and work.<br><br>> (This is probably a very bad idea, and it doesnt identify the cause of<br>> the problem)<br>><br>> --------------------
<br>><br>> Second error:<br>> cc -DVERSION=\"0.5.0\" -MD -Isrc -I./src -D__OpenBSD__ -c -o<br>> src/bsd/net.o src/bsd/net.c<br>> src/bsd/net.c: In function `set_sysctl_int':<br>> src/bsd/net.c:141: warning: passing arg 4 of `sysctl' from
<br>> incompatible pointer type<br>> src/bsd/net.c: In function `get_ipv6_address':<br>> src/bsd/net.c:538: error: storage size of `ifr6' isn't known<br>> src/bsd/net.c:549: error: dereferencing pointer to incomplete type
<br>> src/bsd/net.c:551: error: dereferencing pointer to incomplete type<br>> src/bsd/net.c:552: error: dereferencing pointer to incomplete type<br>> src/bsd/net.c:554: error: dereferencing pointer to incomplete type
<br>> src/bsd/net.c:564: error: `SIOCGIFAFLAG_IN6' undeclared (first use in<br>> this function)<br>> src/bsd/net.c:564: error: (Each undeclared identifier is reported only once<br>> src/bsd/net.c:564: error: for each function it appears in.)
<br>> src/bsd/net.c:572: error: `IN6_IFF_ANYCAST' undeclared (first use in<br>> this function)<br>> src/bsd/net.c: In function `olsr_recvfrom':<br>> src/bsd/net.c:728: error: storage size of `iov' isn't known
<br>> gmake: *** [src/bsd/net.o] Error 1<br><br>That needs a patch from the "BSD world". I have no access to *BSD ...<br><br>> Next, I was left with the iov size error... after a quick grep of<br>> /usr/include, I found it referenced in sys/uio.h.
<br>><br>> I added in the OpenBSD include section:<br>> #include <sys/uio.h><br><br>In bsd/src/net.c (if I understand it correctly)?<br>I can add that without patch;-)<br><br>> This left me with only several warnings:
<br>><br>> src/bsd/net.c: In function `set_sysctl_int':<br>> src/bsd/net.c:142: warning: passing arg 4 of `sysctl' from<br>> incompatible pointer type<br>><br>> src/link_set.o(.text+0x6dc): In function `add_new_entry':
<br>> : warning: strcpy() is almost always misused, please use strlcpy()<br><br>Yes, that's (and similar things) on my cleanup list. I'm more thinking<br>on using snprintf() since that seems to be more widespread available.
<br>But I have no strong feelings for this.<br>FWIW I ran olsrd compiled with a bounds-checking-patched gcc<br>(<a href="http://sourceforge.net/projects/boundschecking/">http://sourceforge.net/projects/boundschecking/</a>
- alas, only 4.0.2 is<br>the most recent) for months (0.4.9 + patched versions) and it never hit<br>a buffer overrun AFAICT. However, there are statically sized buffers in<br>there which are filled and - judging from the function in question only
<br>- may overrun.<br><br>[...]<br>> I am however experiencing regular messages as above, stating that its<br>> trying to send packets to an unreachable network. I suspect this is<br>> not serious, however intend to investigate soon.
<br><br>Yes, suchh error messages also an open/uninvestigated issue on Linux.<br>But AFAICS everything works .....<br><br> Bernd<br>--<br>Firmix Software GmbH <a href="http://www.firmix.at/">http://www.firmix.at/
</a><br>mobil: +43 664 4416156 fax: +43 1 7890849-55<br> Embedded Linux Development and Services<br><br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Sat, 28 Apr 2007 16:50:17 +0200
<br>From: Bernd Petrovitsch <<a href="mailto:bernd@firmix.at">bernd@firmix.at</a>><br>Subject: Re: [OLSR-users] NIC SUPPORTED<br>To: OLSR discussion and development <<a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org
</a>><br>Message-ID: <<a href="mailto:1177771817.3602.9.camel@gimli.at.home">1177771817.3602.9.camel@gimli.at.home</a>><br>Content-Type: text/plain<br><br>On Fri, 2007-04-27 at 14:50 -0300, Diego Thetinski Rodrigues wrote:
<br>> Today's Topics:<br>><br>> 1 - Why some NIC don't function with the OLSR???<br><br>If a NIC is supported or not is a question of the operating system<br>below, i.e.: are there (working) drivers available?
<br><br>OLSRD as such is a normal user-space process and can use whatever<br>interface (as in "eth0", "wlan0", "vlan101", "tap0" or whatever it is<br>called) is present. The only requirement ATM is, that you can you can
<br>broadcast over it.<br><br>> 2 - Exists a list of supported NIC?????<br><br>All are as long there is support through the OS.<br><br> Bernd<br>--<br>Firmix Software GmbH <a href="http://www.firmix.at/">
http://www.firmix.at/</a><br>mobil: +43 664 4416156 fax: +43 1 7890849-55<br> Embedded Linux Development and Services<br><br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Sat, 28 Apr 2007 04:42:04 +0200
<br>From: Aaron Kaplan <<a href="mailto:aaron@lo-res.org">aaron@lo-res.org</a>><br>Subject: Re: [OLSR-users] NIC SUPPORTED<br>To: OLSR discussion and development <<a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org
</a>><br>Message-ID: <<a href="mailto:7C955147-DB8E-4B25-B27A-7C682F2041A9@lo-res.org">7C955147-DB8E-4B25-B27A-7C682F2041A9@lo-res.org</a>><br>Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
<br><br><br>Which NIC does not work?<br>AFAIK any device capable of TCP/IP should be able to work with olsrd<br>from <a href="http://olsr.org">olsr.org</a>.<br><br>best,<br>a.<br><br><br>On Apr 27, 2007, at 7:50 PM, Diego Thetinski Rodrigues wrote:
<br><br>> Today's Topics:<br>><br>> 1 - Why some NIC don't function with the OLSR???<br>><br>> 2 - Exists a list of supported NIC?????<br>><br>> --<br>> Att,<br>> Diego Thetinski Rodrigues
<br>> <a href="mailto:dthetinski@gmail.com">dthetinski@gmail.com</a><br>> (51)3463-0457<br>> (51)8168-6909<br>> =========================================<br>> "A Persistência é o caminho mais certo de que iremos alcançar um
<br>> objetivo"<br>> =========================================<br>> _______________________________________________<br>> olsr-users mailing list<br>> <a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org
</a><br>> <a href="https://www.olsr.org/mailman/listinfo/olsr-users">https://www.olsr.org/mailman/listinfo/olsr-users</a><br><br>---<br>there's no place like <a href="http://127.0.0.1">127.0.0.1</a><br><br><br><br>
<br><br>------------------------------<br><br>Message: 4<br>Date: Sat, 28 Apr 2007 08:59:50 +0200<br>From: Benjamin Henrion <<a href="mailto:bh@udev.org">bh@udev.org</a>><br>Subject: Re: [OLSR-users] NIC SUPPORTED<br>
To: OLSR discussion and development <<a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org</a>><br>Message-ID: <20070428065950.GB14960@localhost><br>Content-Type: text/plain; charset=us-ascii<br><br>Diego Thetinski Rodrigues <
<a href="mailto:dthetinski@gmail.com">dthetinski@gmail.com</a>> [070427]:<br>> Today's Topics:<br>><br>> 1 - Why some NIC don't function with the OLSR???<br>><br>> 2 - Exists a list of supported NIC?????
<br><br>(2 remarks about email usage: don't use upper cases in the subject, it<br>makes you an agressor; and for questions, one ? is enough.)<br><br>OLSR runs on OSI layer3, the NIC is on layer 1 and 2 (managed by the
<br>Operating System), so it runs virtually on all NICs supported by your<br>OS.<br><br>--<br>Benjamin Henrion <<a href="mailto:bhenrion@ffii.org">bhenrion@ffii.org</a>><br>FFII Brussels - +32-484-566109 - +32-2-4148403
<br><br><br><br>------------------------------<br><br>_______________________________________________<br>olsr-users mailing list<br><a href="mailto:olsr-users@olsr.org">olsr-users@olsr.org</a><br><a href="https://www.olsr.org/mailman/listinfo/olsr-users">
https://www.olsr.org/mailman/listinfo/olsr-users</a><br><br><br>End of olsr-users Digest, Vol 38, Issue 19<br>******************************************<br></blockquote></div><br><br clear="all"><br>-- <br>Att,<br>Diego Thetinski Rodrigues
<br><a href="mailto:dthetinski@gmail.com">dthetinski@gmail.com</a><br>(51)3463-0457<br>(51)8168-6909<br>=========================================<br>"A Persistência é o caminho mais certo de que iremos alcançar um objetivo"
<br>=========================================