Shahriar Al Rabbi
Posts: 3
Joined: Mon May 14, 2018 9:53 am

"sudo ifup wlan0" shows "unknown interface wlan0"

Mon May 14, 2018 10:00 am

"sudo ifup wlan0" shows "unknown interface wlan0"
In the desktop, the internet connectivity logo, ethernet works fine but shows "no wireless device detected.
I installed the April 2018 raspbian stretch properly and still doesn't work.

If there is a solution, please let me know.
Or the product might have been damaged before it came to me.

"ifconfig" shows "eth0", "lo" as well as "wlan0" .
So, there might be a solution.

copperly
Posts: 2
Joined: Wed Aug 09, 2017 11:40 pm

RE: "sudo ifup wlan0" shows "unknown interface wlan0"

Mon May 14, 2018 12:45 pm

I second that motion

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 10932
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: "sudo ifup wlan0" shows "unknown interface wlan0"

Mon May 14, 2018 12:52 pm

Split off from topic marked [SOLVED]

MrEngman
Posts: 3720
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: "sudo ifup wlan0" shows "unknown interface wlan0"

Mon May 14, 2018 1:39 pm

Try these

Code: Select all

sudo ip link set wlan0 down
sudo ip link set wlan0 up
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
PeterO
Posts: 4243
Joined: Sun Jul 22, 2012 4:14 pm

Re: "sudo ifup wlan0" shows "unknown interface wlan0"

Mon May 14, 2018 1:54 pm

Try running "ifconfig" to see
a) if the interfaces exist
b) What they are called.

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Cowpoke
Posts: 3
Joined: Sun Nov 20, 2016 9:25 pm

Re: "sudo ifup wlan0" shows "unknown interface wlan0"

Sun Jul 08, 2018 2:20 pm

Finally, are the ifup and ifdown commands obsolete?

SurferTim
Posts: 1750
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: "sudo ifup wlan0" shows "unknown interface wlan0"

Sun Jul 08, 2018 2:21 pm

Cowpoke wrote:
Sun Jul 08, 2018 2:20 pm
Finally, are the ifup and ifdown commands obsolete?
Yes.

rohtua
Posts: 39
Joined: Sat Jul 16, 2016 9:01 am

Re: "sudo ifup wlan0" shows "unknown interface wlan0"

Mon Jul 09, 2018 10:02 am

Hi, I had some similar problems a while ago on a fresh raspbian install I think what sorted it for me in the end was the Wi-Fi localisation options in raspi-config, when I looked I'd set the timezone options but now you get separate options for setting your Wi-Fi country. Might not do a lot but if I remember rightly it did help with the issues I was having at the time.

HermannSW
Posts: 764
Joined: Fri Jul 22, 2016 9:09 pm

Re: "sudo ifup wlan0" shows "unknown interface wlan0"

Fri Sep 07, 2018 2:56 pm

MrEngman wrote:
Mon May 14, 2018 1:39 pm
Try these

Code: Select all

sudo ip link set wlan0 down
sudo ip link set wlan0 up
Thank you, that worked for me while ifup did not.

Pi ZeroW was connected to ESP-01s module access point. For some reason the connection dropped and "ip link show" showed wlan0 in DORMANT state. First I tried only your 2nd command, that did not help. But running both did work!
bookmark list: https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/fork-raspiraw      https://github.com/Hermann-SW/userland
https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone      https://twitter.com/HermannSW

Return to “Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests