How to change default 192.168.7.1 permanently

Hi, i’m wondering how to change the default usb0 192.168.7.2 of BBB.

I’ve found udhcpd config file in /etc and i’ve changed it to release one address: 192.168.8.1, but BBB still having on usb0 192.168.7.2 address.

Which script sets 192.168.7.2 on usb0?
Thanks

Which "rootfs" different images set it different ways..

Regards,

I’m using angstrom Angstrom v2012.12
the kernel version is 3.8.13

bottom of:
/usr/bin/g-ether-load.sh

Regards,

Ok thanks, is systemd that launch this script right?

Which service?

Thanks, i’ve solved, this is because i’m trying to connect each other two BBB using IP over USB, any suggestion?

Thanks a lot.

No idea, i don't use Angstrom, just uncomment the line.

Regards,

This is what my buddy wrote me. It worked on my BB xM which has an ever changing MAC address.

i was able to set the static IP

look at the file /etc/network/interfaces

and update the section like what i have below…

auto usb0

iface usb0 inet static

address 192.168.1.200

netmask 255.255.255.0

gateway 192.168.1.1

yours might be 10.0.0.200, 255.255.255.0, 10.0.0.1