Wifi AP

Having issues with your DietPi installation, or, found a bug? Post it here.

Wifi AP

Postby and9 » Mon Mar 20, 2017 7:09 pm

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
User avatar
and9
 
Posts: 8
Joined: Mon Mar 20, 2017 6:25 pm

Re: Wifi AP

Postby Fourdee » Mon Mar 20, 2017 7:14 pm

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
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2454
Joined: Tue Feb 06, 2007 12:36 pm

Re: Wifi AP

Postby and9 » Tue Mar 21, 2017 8:01 am

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
User avatar
and9
 
Posts: 8
Joined: Mon Mar 20, 2017 6:25 pm

Re: Wifi AP

Postby Fourdee » Mon Apr 03, 2017 4:21 pm

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
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2454
Joined: Tue Feb 06, 2007 12:36 pm

Re: Wifi AP

Postby Fourdee » Mon Apr 03, 2017 5:32 pm

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/issues/635#issuecomment-266006050

Copy and paste all ^^
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
Fourdee
Site Admin
 
Posts: 2454
Joined: Tue Feb 06, 2007 12:36 pm


Return to Troubleshooting

Who is online

Users browsing this forum: Bing [Bot] and 3 guests