Hi Alberto,

On Sun, Feb 19, 2017 at 10:12:04AM +0000, Alberto Bursi wrote:
> On 02/19/2017 09:49 AM, Daniel Golle wrote:
> > This still leaves us without failsafe mode and hard-to-access UART, so
> > it'd make more sense to revive
> > https://github.com/openwrt/packages-abandoned/tree/master/utils/restorefactory
> > for those devices (or is there an easy way to have wifi enabled in
> > failsafe mode?)
> There are some dedicated scripts that get triggered to bring the device 
> in failsafe mode (just search with "failsafe" in LEDE's github), but I 
> don't know how exactly the startup scripts work so I can't really do it 
> myself.
> For example this is a script that should allow failsafe by disabling 
> vlans in the onboard switch for a list of boards/targets that have this 
> issue 
> https://github.com/lede-project/source/blob/master/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips
> 
> Maybe a similar one that does what the "force enable wifi" script did 
> would do the trick?
Well, it's not as simple as that. We need to generate a config for
hostapd which matches the wifi hardware in terms of capabilities and
band and launch it and bring up the interface (configure IP address and
stuff) once hostapd comes up... possible, but quite a lot of work...

Cheers

Daniel

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to