On 11/6/06, Alex M <radiussupport at lrcommunications dot net> wrote:
>
> How can I find out which interface is assigned to LAN and which to WAN? What
> file contains this info and how can I get it? I need to know the name of the
> interface so that I can do ifconfig for the interface later on
>
Unless I'm misunderstanding your question, that's all in config.xml.
<lan>
<if>sis2</if>
...
</lan>
<wan>
<if>sis0</if>
...
</wan>
etc...
There may be some way to programatically handle it with built in
functions, but someone with some development knowledge will have to
fill you in on that.
-Chris |