motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.79k stars 888 forks source link

access point mode really slow #1666

Open linoreale opened 5 years ago

linoreale commented 5 years ago

Hi, I'm trying to use motioneyeos on my Raspi 3 B+ as a Wifi access point, without lan and wifi connections, so I set the following: hostapd.conf ssid=myssid wpa_passphrase=mykey wpa=2 wpa_key_mgmt=WPA-PSK interface=wlan0 channel=11 driver=nl80211 hw_mode=g ieee80211n=1 ieee80211ac=1

 dnsmasq.conf

interface=wlan0 dhcp-range=192.168.1.2,192.168.1.5,24h dhcp-leasefile=/data/dnsmasq.leases

 os.conf

os_networkless="true"

On boot Raspi starts and "myssid" is visible. The Ipcam led become green so it gets connected to the AP. Using Fing I find out the Raspi ip address, so I put it on a browser, but the page loading is really too slow. I tried to open the main page on a laptop too, but it's the same. Are there more options in these files to improve the AP working? Thanks so much and Regards.

MinePro120 commented 5 years ago

Bad idea to do so. In order to stream, you need the Wi-Fi card to support high bit rates. Modem/routers support high bit rates, but the internal network card of the Raspberry Pi doesn't. It's not made for this. I would try searching an external Wi-Fi adapter that supports broadcasting and high bit rates. I don't know of any.

linoreale commented 5 years ago

Hi, I'll try to use an access point to connect my two ipcams and a wired connection between RPI and AP, it should work fine, I hope. Thanks a lot and regards