0

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.

6
  • This seems to be a general Linux question (not specific to the Raspberry Pi). Perhaps put the appropriate commands in /etc/network/interfaces. The command man interfaces should give help.
    – joan
    Oct 23, 2015 at 21:15
  • @Ghanima Those are OLD posts and probably don't apply to any new (post May 2015) image.
    – Milliways
    Oct 24, 2015 at 0:03
  • You don't tell us how you "setup raspberry pi". You need to specify what you did, and list any files you changed.
    – Milliways
    Oct 24, 2015 at 0:04
  • @milliways, might be old. Still the first answer to the first linked question reads prominently "The first missing piece was the line auto wlan0"... which is kinda the same the answer to this question suggests ;)
    – Ghanima
    Oct 24, 2015 at 20:05

1 Answer 1

0

Simple: add auto wlan0 above your wlan0 configuration in /etc/network/interfaces

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.