I have setup raspberry pi last night but my wlan0 not start automatically on startup. I need to run below command every time my raspberry restart.
sudo ifup wlan0
Any solution for that so I can add this command to startup.
Simple: add auto wlan0
above your wlan0
configuration in /etc/network/interfaces
dhcp
e.g.iface wlan0 inet dhcp
. This may work on the command line, but breaks the GUI WiFi, as it causesdhcpcd
to crash (as can be seen by the boot log). If you are experienced and had setup your Pi before May it is OK, but won't work for clean installations. It is best to stick to the Foundation methods. See some of my other rants ondhcpcd
. Still Rock hasn't provided any info about what he did, or why he changed the supplied code, which does work (and work better), even if poorly explained. – Milliways Oct 24 '15 at 21:49