"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.
-
- Posts: 3
- Joined: Mon May 14, 2018 9:53 am
RE: "sudo ifup wlan0" shows "unknown interface wlan0"
I second that motion
- mahjongg
- Forum Moderator
- Posts: 15100
- Joined: Sun Mar 11, 2012 12:19 am
- Location: South Holland, The Netherlands
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
Split off from topic marked [SOLVED]
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
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.
Please post ALL technical questions on the forum. Please Do Not send private messages.
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
Try running "ifconfig" to see
a) if the interfaces exist
b) What they are called.
PeterO
a) if the interfaces exist
b) What they are called.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PICO,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PICO,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
Finally, are the ifup and ifdown commands obsolete?
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
My advice applies to RaspiOS only. Please mention if you use another OS.
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
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.
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
Thank you, that worked for me while ifup did not.MrEngman wrote: ↑Mon May 14, 2018 1:39 pmTry these
Code: Select all
sudo ip link set wlan0 down sudo ip link set wlan0 up
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!
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/
- OutsourcedGuru
- Posts: 73
- Joined: Mon Jun 19, 2017 11:15 pm
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
If both ifup and ifdown are now obsolete, you might consider removing their respective man pages and executables so that you don't fool someone like myself. As it is, the command is present and indicates:
...rather than the expected:
Code: Select all
ifup: unknown interface wlan0
Code: Select all
sudo: ifup: command not found
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
The proper way to do that would be to remove the ifupdown package. I'm not sure why it is still installed. Perhaps something in it is still required?OutsourcedGuru wrote: ↑Wed Dec 18, 2019 9:26 pmIf both ifup and ifdown are now obsolete, you might consider removing their respective man pages and executables so that you don't fool someone like myself.
Unreadable squiggle
-
- Posts: 20
- Joined: Wed Jan 09, 2013 2:19 pm
Re: "sudo ifup wlan0" shows "unknown interface wlan0"
I am trying to build a cluster of 5 Pis, 3 x 3B+ and 2 x Pi4, using a SKY SR102 wireless router to connect them. Not going smoothly: the 3Bs are happy and connect, but the 2 x 4s will not connect, even though their setups appear to be identical. I cannot persuade them to connect, using ifup (?) or "set wlan0 up". They will occasionally connect, for no known reason. Any ideas please?