Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add wifi driver RT2870 on Goke GK7205V200 board #1456

Open
henkiejan1 opened this issue May 23, 2024 · 1 comment
Open

How to add wifi driver RT2870 on Goke GK7205V200 board #1456

henkiejan1 opened this issue May 23, 2024 · 1 comment

Comments

@henkiejan1
Copy link

Hi everyone,

Yesterday arrived my ipcam with a Goke GK7205V200 chip. I flashed without any troubles OpenIPC. But i don't get the wifi working. I read that i maybe need to copy the wifi driver from the original firmware to OpenIPC but i don't have any idea how. Does someone have steo by step instructions to get the correct driver and integrate in OpenIPC?

Thank you very much!

@henkiejan1
Copy link
Author

I have made a lot of progress! Can connect to wifi manually if i run the following commands:

setnetwork -i wlan0 -s SSID -p PASSWORD -m dhcp echo 9 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio9/direction echo 0 > /sys/class/gpio/gpio9/value modprobe mt7601u ifup wlan0

So i think gpio9 enables the wifi module. I found the configuration in the network settings so i added the commands what i found here: https://github.com/OpenIPC/wiki/blob/master/en/network-settings.md#wlan0--hi3516ev200gk7205v200gk7205v210--camhixin

And whas hoping wifi would automatic connect, but sadly it doesn't. I see if i run lsusb after a reboot the wlan module is not detected. But with the manual running comands aboven it does. What goes wrong?????

auto wlan0 iface wlan0 inet dhcp pre-up echo 9 > /sys/class/gpio/export pre-up echo out > /sys/class/gpio/gpio9/direction pre-up echo 0 > /sys/class/gpio/gpio9/value pre-up modprobe mt7601u pre-up wpa_passphrase "SSID" "password" >/tmp/wpa_supplicant.conf pre-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf pre-up sleep 3 pre-up wpa_supplicant -B -D nl80211 -i wlan0 -c/tmp/wpa_supplicant.conf post-down killall -q wpa_supplicant post-down echo 1 > /sys/class/gpio/gpio9/value post-down echo 9 > /sys/class/gpio/unexport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant