freecwmp
[Top] [All Lists]

Re: configuring freecwmp interface doesn't give the IP address of the in

To: akhil garg <akhilgarg7@gmail.com>
Subject: Re: configuring freecwmp interface doesn't give the IP address of the interface in ManagementServer.ConnectionRequestURL
From: Luka Perkov <freecwmp@lukaperkov.net>
Date: Sat, 1 Jun 2013 09:46:35 +0200
Cc: "freecwmp@linux-mips.org" <freecwmp@linux-mips.org>
In-reply-to: <CA+mgNr5m+gYVpiSBOeBu+xC547w-D9+7Q4a=w+XPq5G9Q5-oxA@mail.gmail.com>
Mail-followup-to: akhil garg <akhilgarg7@gmail.com>, "freecwmp@linux-mips.org" <freecwmp@linux-mips.org>
Original-recipient: rfc822;freecwmp@linux-mips.org
References: <CA+mgNr5m+gYVpiSBOeBu+xC547w-D9+7Q4a=w+XPq5G9Q5-oxA@mail.gmail.com>
Sender: freecwmp-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
Hi Akhil,

On Fri, May 31, 2013 at 01:26:34PM +0100, akhil garg wrote:
> in file ext/scripts/functions/wan_device following function return empty.
> get_wan_device_mng_interface_ip() {
> case "$action" in
>         get_value)
>         if [ -z "$default_wan_device_mng_interface_ip" ]; then
>                 network_get_ipaddr val mng
>         else
> --rest code--
> }
> 
> I have configured the freecwmp config file as
> config local
>     option interface 'eth0'
> 
> and commented the line in ext/openwrt/scripts/defaults
> default_wan_device_mng_interface_ip=""
> 
> It should return the action IP address of the interface configured.
> Please help.

You need to be able to dig into the code and figure out basics on your
own. For above section to work you need to have defined "mng" interface
in your network configuration.

Luka

<Prev in Thread] Current Thread [Next in Thread>
  • Re: configuring freecwmp interface doesn't give the IP address of the interface in ManagementServer.ConnectionRequestURL, Luka Perkov <=