Page 1 of 1

Wifi AP

Posted: Mon Mar 20, 2017 8:09 pm
by and9
Hello,
I need setup Wifi as hotspot. I cant setup this. Anybody can help me?
I use Orange Pi zero
my cart wifi working as AP
i nedd : dhcp on Wifi, dns localy to using dns from (ethernet or LTE)
and some other setup.

Meybe ny tutorial? I change /etc/network/interfaces to interfaces.hostapd but i lost my eth0 connection.

Please help me

Re: Wifi AP

Posted: Mon Mar 20, 2017 8:14 pm
by Fourdee
and9 wrote:Hello,
I need setup Wifi as hotspot. I cant setup this. Anybody can help me?
I use Orange Pi zero
my cart wifi working as AP
i nedd : dhcp on Wifi, dns localy to using dns from (ethernet or LTE)
and some other setup.

Meybe ny tutorial? I change /etc/network/interfaces to interfaces.hostapd but i lost my eth0 connection.

Please help me
Hi,

Did you try installing WiFi hotspot in DietPi-Software? This will setup a WiFi hotspot for you automatically. However, you will need to return /etc/network/interfaces to its previous state before you replaced with interfaces.hostapd

Re: Wifi AP

Posted: Tue Mar 21, 2017 9:01 am
by and9
Fourdee wrote: Did you try installing WiFi hotspot in DietPi-Software? This will setup a WiFi hotspot for you automatically. However, you will need to return /etc/network/interfaces to its previous state before you replaced with interfaces.hostapd
I install this but nothing hapened.
When I go to setup wifi (Navigate to Networking Options: Adapters) i canot setup nothing.
dhcp not working

generaly nothing happened. Only i see iw list working
iwconfig show is enabled and ... nothing more

-------
I reset all my settings. put dietpi on SD card 8GiB. OrangePiZero

What I need:
similar router with normal ssh+bash+backup, and some programs.

my network is from router 192.168.2.1 eth0
I need change dhcp connection to static
eth0 = 192.168.2.10
I need AP Wifi with WPSK-2 wlan0
(with dhcp in wlan0 for more than one users trought wifi and mascarade for using internet trought wifi too)

i update normal process. DietPi-Update
─────────────────────────────────────────────────────
Mode: Completed

[Info] Current Version : 146
[Info] Server Version : 146
[Ok] Update completed

enter to DietPi-config->Network Options -> Wifi
enable WiFi (WiFi must be enabled before settings can be changed)
Image

i add in software Software Optimized -> [*] 60 WiFi Hotspot: turn your device into a wifi hotspot
but show only this Image
and nothing more.

What next? What i must write in Wireless Network Options to starting my AP with dhcp

Re: Wifi AP

Posted: Mon Apr 03, 2017 6:21 pm
by Fourdee
It may be the OPi Zero WiFi needs additional configuration, or, isnt compatible in AP mode. I'll take a look:
https://github.com/Fourdee/DietPi/issues/853

Re: Wifi AP

Posted: Mon Apr 03, 2017 7:32 pm
by Fourdee
Hi,

Workaround/Fix is here, we need to bring up the adapter a second time during boot (known issue on OPi Zero WiFi):
https://github.com/Fourdee/DietPi/issue ... -266006050

Copy and paste all ^^