Skip to content

Network location set interface #18

@adambarnett52

Description

@adambarnett52

Hi

Is it possible to set which interface the network location looks at,
I have set the IP ranges in config_default.php

$conf['ipv4routers']['GPS Ground Floor'] = array('10.21.40.%', '10.21.42.%');
$conf['ipv4routers']['GPS First Floor'] = array('10.21.43.%', '10.21.45.%');
$conf['ipv4routers']['GPS Second Floor'] = array('10.21.46.%', '10.21.45.48%');
$conf['ipv4routers']['GPS Third Floor'] = array('10.21.49.%', '10.21.51.%');
$conf['ipv4routers']['GPS Forth Floor'] = array('10.21.52.%', '10.21.54.%');
$conf['ipv4routers']['GPS Firth Floor'] = array('10.21.55.%', '10.21.57.%');

which works but there is the anything that is not defined is under the other section. But i don't really care about which WiFi adapter. Is there a way to either exclude this IP range or set which adapter its looked at?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions