Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: halma on September 15, 2018, 03:10:29 PM

Title: wpa_supplicant with static ip
Post by: halma on September 15, 2018, 03:10:29 PM
hi,

i want connect my raspberry to the AccessPoint, i have configured this with wpa_supplicant.
but how can i configure/setup wpa_supplicant with to use an static IP Adress for the raspberry (wlan0) ?
Title: Re: wpa_supplicant with static ip
Post by: hiro on September 17, 2018, 03:38:17 AM
wpa_supplicant is not IP layer. you will want to learn to use ifconfig or iproute2 to add an ip address to your interface.
Title: Re: wpa_supplicant with static ip
Post by: Misalf on September 17, 2018, 04:13:01 AM
A forum search for "wlan0 static" gave this
http://forum.tinycorelinux.net/index.php/topic,16158.msg95805.html#msg95805
Title: Re: wpa_supplicant with static ip
Post by: Greg Erskine on September 17, 2018, 05:07:07 AM
hi,

i want connect my raspberry to the AccessPoint, i have configured this with wpa_supplicant.
but how can i configure/setup wpa_supplicant with to use an static IP Adress for the raspberry (wlan0) ?

IMHO the best way is to map your MAC address to an IP address in your router. This way you can manage all your static IPs in one location and backup your router configuration.
Title: Re: wpa_supplicant with static ip
Post by: halma on September 19, 2018, 03:12:45 PM
thanks to all for the help.

i manage it with "ifconfig" to set an static IP for the WLAN0 device.