ipaccess-config now able to set static IP address / mask / gateway

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Mon Jun 28 13:55:57 UTC 2010


Hi!

I've committed some changes to enable ipaccess-config to set static IP
address, netmask and gateway.  A full command looks like this:

./ipaccess/ipaccess-config -U dhcp-enabled -S static-ip -S static-gw -i 192.168.100.222/255.255.255.0 -g 192.168.100.1 -r 192.168.100.120

This will
* unset DHCP client functionality
* set static IP address nvram flag
* set static gateway nvram flag
* set the BTS IP to 192.168.100.222 netmask 255.255.255.0
* set the default gateway to 192.168.100.1
* restart the BTS

Regards,
	Harald
-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the OpenBSC mailing list