lukicdarkoo / rpi-wifi

Configures simultaneous AP and Managed Mode Wifi on Raspberry Pi
GNU General Public License v3.0
535 stars 120 forks source link

how to set static Ip? #1

Closed 3bu1ihub closed 6 years ago

3bu1ihub commented 6 years ago

Hi, Your work is excellent, It worked for me. One thing i am struggling is to set static ip to wlan0 with associated clients. still it should be able to act as both station and access point. I have tried below things

in/etc/network/interfaces changed

allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.200
        netmask 255.255.255.0
        gateway 192.168.0.1
    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

yet no success, in this case ifup wlan0 doesn't work well. I am new to networking kindly help me with the feature.