2 2
Giorgio Climb

hostapd on orange pi light realtek driver

Recommended Posts

Hi

Sorry my english and my ignorance in linux

 

I'm trying to activate hostapd on orange pi light.

I think realtek driver.

 

Nework appairs, but i cannot associate, it says wrong password (12345678)

 

iwconfig has not password item:

Spoiler

iwconfig
lo        no wireless extensions.

br0       no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"ARMBIAN"  Nickname:"<WIFI@REALTEK>"
          Mode:Master  Frequency:2.432 GHz  Access Point: 2E:98:51:56:D5:65   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=1/100  Signal level=6/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enx00e04c3603a7  no wireless extensions.

 

Onnline documentation talks about realtek

https://docs.armbian.com/User-Guide_Advanced-Features/

 

Spoiler

Default binary and configuration location:


/usr/sbin/hostapd
/etc/hostapd.conf

Realtek binary and configuration location:


/usr/sbin/hostapd-rt
/etc/hostapd.conf-rt

 

I do not have these files -rt

How can I do ? And how are they used?

Share this post


Link to post
Share on other sites

Hi 

I have same problem with PC+ with  Armbian5.25 Ubuntu xenial 3.4.113 and even i downgrade hostapd to 2.1 and still it doesn't accept password and I can't connect with PC and mobile    .

Share this post


Link to post
Share on other sites

What OS is the phone? Android? Windows? ios? I know for  fact the image posted above works as it should on the PC Plus, I have it running right here.

 

My Android phone  / tablet works fine, my 10 windows box does not connect (well "connects" but authentication fails) , but it is flaky about wpa some times.

 

Share this post


Link to post
Share on other sites

I received Orange Pi Zero

Loaded its own firmware.  Armbian_5.30_Orangepizero_Ubuntu_xenial_default_3.4.113

When I launch armbian-config, and i enable hotspot WiFi, I receive tis error message:

Warning
Wireless adapter: wlan0

No compatible hostapd driver found.

Share this post


Link to post
Share on other sites

Yes, it looks armbian-config is not completely resilient to other changes ... it used to work but now it doesn't anymore. 

Now you have to proceed manual way. temporally workaround:

 

apt install hostapd
cd /etc/network
ln -sf interfaces.hostapd interfaces
systemctl disable network-manager
sed -i "s/^DAEMON_CONF=.*/DAEMON_CONF=\/etc\/hostapd.conf/" /etc/init.d/hostapd 
reboot

You will see: ARMBIAN / 12345678 ... Configure /etc/hostapd.conf

 

Edit: it looks like this problem is affected only to Orange Pi Zero.

Share this post


Link to post
Share on other sites
Ok, work.
But i Need Two class of ip, one on eth0 and one on wlan0
On eth0 on DCP, on wlan on static ip.
I don't have necessity that the wifi go on internet, it doesn't serve me of it bridge, of it nat.
Me enough that the CPU reaches internet and the objects in the wifi
I have written so, but I have lost the board, it doesn't take ip from the DHCP anymore server.

auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet static
address 192.168.8.1
netmask 255.255.255.0
broadcast 192.168.8.255
gateway 192.168.8.1

 

Share this post


Link to post
Share on other sites

A easy way to set a lan and wlan ip's on 2 different networks can be done with armbian / openwrt. ..OK so I am fat and lazy....

I have not run the last version but the older ver works very well.

http://pulpstone.pw/sunxi/

 

not sure what you are after, but it is easy to setup and test / AP mode / client mode / AD-Hoc mode

I have logs of Iperf3 between a ver 1.1 and ver 1.4 going both ways ...with both as AP and both as client if you want to some numbers.

@30 feet with two walls, on a some what clear channel.

Edited by Bubba
spelling

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
2 2