Jump to content

Recommended Posts

Posted

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?

Posted

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    .

Posted

In bridge mode you need a dhcp running on network. That's all. I also solve problems in NAT mode so both are (will be) working.

Wrote on mobile

Posted

I have a orange pi light, with usb ethernet adapter, connecter on my network with dhcp.
ping google work, but my smartphone cannot associate to wifi networc created, it show password error.

Posted

If the error I get from the phone is "wrong password", there is nothing to do with DHCP.

I also tried to assign the static ip at the phone but it does not change anything.

Posted

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.

 

Posted

I apologize, that link works.
I used the same build of orangepi light, and it did not work.
I used a bridge, but there is an internal DHCP that should not be there.

Posted

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.

Posted

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.

Posted
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

 

Posted (edited)

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
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines