I'm trying to make my Raspberry Pi into Wifi access point, where the internet connection is provided by Android device attached to it. I'm trying to achieve this by mildly configuring this guide, and I expect to make it work by configuring /etc/network/interfaces, and now it looks like this:
auto lo allow-hotplug wlan0 allow-hotplug eth0 allow-hotplug usb0 iface lo inet loopback iface eth0 inet static address 192.168.250.1 netmask 255.255.255.0 iface wlan0 inet static address 192.168.250.1 netmask 255.255.255.0 iface usb0 inet dhcp
Target is to make it work as sort of router creating local network on addresses 192.168.250.x, making my raspberry the .1 device, pc the .2 and allocate other devices connected to access point to next ip's. How should I edit this file to properly make it work?