Chacha
Posts: 1
Joined: Fri May 11, 2018 12:11 am

How to enable wlan0 in raspberry pi3

Fri May 11, 2018 4:11 am

I am studying OPTEE in RPI3. (ref .: https://github.com/OP-TEE/build/blob/ma ... cs/rpi3.md)
In other words, I'm not using Razbian or NOOBS, using another Linux kernel.

I have successfully connected to the Internet in wired LAN, but have been having difficulty activating the wireless LAN.
First, there is no command such as iwlist or iwconfig used in RazBian, and /etc/wpa_supplicant does not exist either.

I do not know what to do to activate the wireless LAN.
Please let me know if you know anyone.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20267
Joined: Sat Jul 30, 2011 7:41 pm

Re: How to enable wlan0 in raspberry pi3

Fri May 11, 2018 8:26 am

I'm confused. You say you are not using Raspbian (I presume you mean Raspbian, or is there a distro called Razbian?), yet you say that the command you are trying don't exist is Raspbian.

Can you be a bit more specific?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1819
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: How to enable wlan0 in raspberry pi3

Fri May 11, 2018 8:29 am

You started two very similar threads at the same time, but it makes more sense to keep it all discussion in the same thread. The significant text from your other thread (now deleted) is:
I built a Linux Kernel on the OPTEE site (https://github.com/OP-TEE/build/blob/ma ... cs/rpi3.md) and then flashed it on my microSD.
In the case of wired LAN, it works well, but there are difficulties in setting up wireless LAN.
First, when I run ifconfig, eth0 appears, but wlan0 does not exist.
I do not see wlan0 when I do ifconfig after adding wlan related information to / etc / network / interfaces.
And wpa_supplicant also does not exist. Therefore, commands such as iwconfig and iwlist do not exist.
Of course, wifi works well if you run it with Razbian rather than OPTEE Linux Kernel.

I have no idea what the problem is. Please let me know if anyone knows how.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1819
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: How to enable wlan0 in raspberry pi3

Fri May 11, 2018 8:33 am

I'm confused. You say you are not using Raspbian (I presume you mean Raspbian, or is there a distro called Razbian?), yet you say that the command you are trying don't exist is Raspbian.
When the OP writes:
First, there is no command such as iwlist or iwconfig used in RazBian, and /etc/wpa_supplicant does not exist either.
what he probably means is
First, unlike Raspbian, there is no command such as iwlist or iwconfig, and /etc/wpa_supplicant does not exist either.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1819
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: How to enable wlan0 in raspberry pi3

Fri May 11, 2018 8:41 am

You might have more luck asking for advice from the OPTEE community - they will be much more aware of how things are supposed to work - but you could start by adding the utilities from the iw repo. wpa_supplicant doesn't seem to have a canonical git repo, but http://www.linuxfromscratch.org, a useful-looking site, has links to the source and some basic instructions here.

asavah
Posts: 346
Joined: Thu Aug 14, 2014 12:49 am

Re: How to enable wlan0 in raspberry pi3

Fri May 11, 2018 2:27 pm

PhilE wrote:
Fri May 11, 2018 8:41 am
wpa_supplicant doesn't seem to have a canonical git repo
It actually does, hostapd and wpa_supplicant come from the same source tree,
http://w1.fi/cgit/hostap/

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1819
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: How to enable wlan0 in raspberry pi3

Fri May 11, 2018 2:29 pm

Thanks for the correction!

Return to “Linux Kernel”

Who is online

Users browsing this forum: No registered users and 0 guests