On Wed, Jun 10, 2015 at 8:42 PM, Steven Barth wrote:
> I just pushed
> http://git.openwrt.org/?p=project/netifd.git;a=commit;h=5cf30b59baa03db2448570c78e7e92873555d2ec
> (not yet bumped in trunk) which allows generic dependencies to
> interfaces by using an empty address, with that you can add a h
On Wed, Jun 10, 2015 at 8:42 PM, Steven Barth wrote:
> I just pushed
> http://git.openwrt.org/?p=project/netifd.git;a=commit;h=5cf30b59baa03db2448570c78e7e92873555d2ec
> (not yet bumped in trunk) which allows generic dependencies to
> interfaces by using an empty address, with that you can add a h
I just pushed
http://git.openwrt.org/?p=project/netifd.git;a=commit;h=5cf30b59baa03db2448570c78e7e92873555d2ec
(not yet bumped in trunk) which allows generic dependencies to
interfaces by using an empty address, with that you can add a host
dependency and once fulfilled
use network_* to get the add
> UCI is read as network_get_subnets only returns info for active
> interfaces; e.g. if the referred interface in the unnumbered parameter
> is down it's not possible to install the host dependency based on the
> IP address for the PPP interface.
> Did not (yet) find a way to circumvent this iss
On Wed, Jun 10, 2015 at 2:03 PM, Steven Barth wrote:
> Thanks, I already applied the other two.
>
>
> On 10.06.2015 10:39, Hans Dedecker wrote:
>> +ppp_select_ipaddr()
>> +{
>> + local interface="$1"
>> + local addrs=$(uci_get "network.${interface}.ipaddr")
>> + local netmask=$(uci_get
Thanks, I already applied the other two.
On 10.06.2015 10:39, Hans Dedecker wrote:
> +ppp_select_ipaddr()
> +{
> + local interface="$1"
> + local addrs=$(uci_get "network.${interface}.ipaddr")
> + local netmask=$(uci_get "network.${interface}.netmask")
Any particular reason you are re
Adds PPP unnumbered support via the parameter unnumbered which points to a
logical OpenWRT interface.
The PPP proto shell handler will "borrow" an IP address from the unnumbered
interface (if multiple
IP addresses are present the longest prefix different from 32 will be
"borrowed") for which a h