static ip address for alpine linux

run setup-interfaces to generate wpa_supplicant confgs and openrc startup item

sudo vim   /etc/network/interfaces

--------------------------------------------------------------------
   auto wlan0
   iface wlan0 inet static
           address 192.168.1.242
           gateway 192.168.1.254
           hostname kat

--------------------------------------------------------------------

sudo /etc/init.d/networking  restart

----------------------------------------------------------------

ping google.com 

 

      address xxx.xxx.xxx.xxx/24 was in wiki 

src:: 

 

https://wiki.alpinelinux.org/wiki/Configure_Networking



Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

fix idm integration on chrome

Hidden Wiki