WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Pi 3 WiFi setup  (Read 10042 times)

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
Re: Pi 3 WiFi setup
« Reply #15 on: March 28, 2016, 01:03:29 PM »
I've spent a lot of time with the network stability and the only stable way seems to me to have fully static IP setup.

1) add "nodhcp" into cmdline.txt

2) add this at the beginning of the bootlocal.sh

Code: (bash) [Select]
# Start LAN and WiFi with fixed IP configuration
ifconfig eth0 down
ifconfig wlan0 down
ifconfig eth0 add up
ifconfig wlan0 add up
route add default gw
echo nameserver >> /etc/resolv.conf

Than everything works well.