lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Running Linux port of lwip


From: Micael
Subject: Re: [lwip-users] Running Linux port of lwip
Date: Fri, 5 Dec 2008 09:45:00 +0100 (CET)
User-agent: SquirrelMail/1.4.15


I am using the cvs HEAD on a 64 bit box. I haven't tested 1.3 release,
since there where some 64 bit fixes done after it's release.
Distro Gentoo, and no special start/stop of tun/tap. (just made sure they
compiled in to the kernel).

Session output looks like this;

# ./simhost
Host at 192.168.0.2 mask 255.255.255.0 gateway 192.168.0.1
System initialized.
TCP/IP initialized.
Applications started.



.. and all is well!

 -  Micael



On Fri, December 5, 2008 01:46, Alain M. wrote:
> Can you please send me:
>
> - version of lwip (I am using 1.3.0)
>
> - What commands you used to start tap0? and what distro/release? I mignt
> just have some problem there.
>
> Thanks,
> Alain
>
> Micael escreveu:
>> On Thursday 04 December 2008 18.51.41 Alain M. wrote:
>>> Please, is there anyone using (or has used) Linux port of lwIP ???
>>
>> I am 'using' it. I.e. I have tried it a few days ago, but I had no
>> problem
>> what so ever, and being a lwip newbie, I probably can't help much. The
>> only
>> thing I found out, was that I had to run it as root, as the tun/tap
>> interface
>> does not support normal users.
>> Apart from this, the web page example, and ping was running fine.
>>
>> Can you perhaps try to stop dosemu/qemu?
>>
>>   Micael
>>
>>> Alain
>>>
>>>> Alain M. escreveu:
>>>>> I am just getting started in lwip :) (although I have been reading
>>>>> this list for a few months)
>>>>>
>>>>> I downloaded 1.3.0 and could compile simhost but it does not work
>>>>> with tap0.
>>>>>
>>>>> 1) tap0 is running for dosemu and qemu on my machine
>>>>> 2) nothing gets to tap0, monitored by wireshark (etherreal)
>>>>> 3) with debug I get this log:
>>>>>
>>>>> *tapif_init: fd 3
>>>>> tapif_init: system("/sbin/ifconfig tap0 inet 10.0.0.2");
>>>>> netif: added interface tp IP addr 10.0.0.37 netmask 255.255.255.0 gw
>>>>> 10.0.0.2
>>>>> netif: setting default interface tp*
>>>>>
>>>>> But this sets my tap0 to the ip of my gateway and brings my network
>>>>> down :(
>>>>>
>>>>> Searching a lot, I found this
>>>>>
>> thread:http://www.nabble.com/reading-and-writing-to-the-ethernet,-unix-port-td6131222.html
>>>>> the problem is very similar, but it was not solved.
>>>>>
>>>>> Please help...
>>>>> Alain
>>>>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> lwip-users mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/lwip-users
>>
>>
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
>


 - Micke





reply via email to

[Prev in Thread] Current Thread [Next in Thread]