Flint 2 Access Point mode dhcp only?

Hello,

I have a Flint 2 configured in Access Point mode. Is there a way to put a static ip on the Ethernet interface. There is no choice, it’s dhcp and I have to go to my main router to find the ip given to the Flint 2.

Thanks

Fabian

Ok, I’ve found :

in /etc/config, edit “network” file

in section "config interface ‘lan’ "

modify :
option proto ‘dhcp’ => option proto ‘static’

add :
option ipaddr ‘192.168.0.3’
option netmask ‘255.255.255.0’
list dns ‘8.8.8.8’
list dns ‘1.1.1.1’
option gateway ‘192.168.0.1’

Then reload network with command
etc/init.d/network reload