Thanks György!
However I would like it to be a custom image. I've got about 5 python modules, a couple of python and sh scripts as well as a modification to the .etc file which I would like to include.
Thanks György!
However I would like it to be a custom image. I've got about 5 python modules, a couple of python and sh scripts as well as a modification to the .etc file which I would like to include.
Just found out you can get hostapd to show more debug messages, this is what I'm currently getting:
root@Omega-92CA:/etc/config# hostapd -d /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
And this is my hostapd.conf file:
interface=wlan0
bridge=br0
country_code=AUS
ctrl_interface=wlan0
ctrl_interface_group=0
ssid=KITT
hw_mode=g
channel=1
wpa=3
wpa_passphrase=georgeisyourfriend
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
beacon_int=100
auth_algs=3
macaddr_acl=0
wmm_enabled=1
eap_reauth_period=360000000
Hi guys,
I’m trying to enable WPS on an Omega 2 for a project I’m working on (it won’t be triggered by a button, so apparently a little more secure). There’s quite a bit of information online on how to do this for OpenWrt, basically you:
I’ve worked out that before running the above, the lede-project repos need to be re-enabled for OPKG, by modifying the /etc/opkg/distfeeds.conf file, which is fine.
However, when I run: hostapd_cli wps_pbc , I get “Failed to connect to hostapd - wpa_ctrl_open: No such file or directory”.
I’ve read that problems can be caused by the /etc/hostapd/hostapd.conf file. However, I’m missing the whole /etc/hostapd directory…
Would someone be able to shine some light on this for me? Or point me in the right direction.
Thanks,
Oli
Links:
https://openwrt.org/docs/guide-user/network/wifi/basic
https://volatilesystems.org/wps-setup-on-openwrt.html
Thanks mate! You just saved me a lot of debugging time
@György-Farkas said in Cloning an Omega's image:
If I were you I'd put those all custom stuff also to the USB drive and install / copy them to Omega2(+) with a little shell script.
Got it, I think this is what I will do.
From yours and Chris's replies I think a custom image would be best avoided!
Thanks György!
However I would like it to be a custom image. I've got about 5 python modules, a couple of python and sh scripts as well as a modification to the .etc file which I would like to include.
Hey,
Long time lurker, first time poster.
I’ve been working on a specific project for quite a while now and have got to the point where I would like to make a couple of units.
My question is, whats the recommended approach to clone an Omega's image onto either a SD card or USB so I can then flash it onto other Omegas. Probably over USB with the expansion dock or with the ethernet dock.
( https://onion.io/2bt-firmware-flashing-from-usb-storage/)
I’ve been reading about the dd command which sounds promising:
https://superuser.com/questions/365256/how-to-make-an-image-of-a-bootable-flash-drive-without-wasting-space-as-with-dd
Am I ok to just go ahead and try doing this over usb with dd? or are there complications with unique MAC addresses etc?
Any help would be much appreciated.
Cheers!
Oli