Plz add WPS

Hi
Could you add a wps function and toggle it by either

button reset
Switch Button
or the GUI interface
thanks

Thanks for your suggestions. But we got few requests for wps. So may not add it.

did you mean you may add it,
this would be useful because most printers i have had have been either USB or wifi over WPS.
i did manage to add my old router as a repeater, and i could connect to the printer and use the web interface, plus gave it a static ip 192.168.8.10 but im guessing the router must have firewall setup issues, because it was not able to send a print, would there need network problem or is this my printer.
many thanks
sparky66

I mean “may not” because it is seldom used.

But if you have to use, here is something you can try manually.

Document you can refer to [OpenWrt Wiki] Wi-Fi /etc/config/wireless

First, pls use AR150, AR300M, AR750 or AR750s. Other models does not work for this guide

Second, add wps support to the wifi you want to connect:

Add option wps_pushbutton '1' to a config wifi-iface section that is configured for WPA2-PSK in /etc/config/wireless

Third, try activate it using the following command

hostapd_cli wps_pbc

Finally, connect your printer now.

You can easily attach this function to the reset button by editing the script in/etc/rc.button/

1 Like

thanks, i managed to open the AP on the canon printer, open the web page,
access the advance section that’s not in the manual. http://“ipaddress”/netconf.html
there i was able to used the ssid and password i set on the gl router

1 Like

Hi, I was aghast to find that my new HP laserprinter has NO OTHER WAY than wps to configure wlan … really I have tried it all … but now I am stuck with it, and I do not want to throw the printer or my flint away. I have read all comments from above but i am not able to follow the recipe. my flint is on OpenWrt Chaos Calmer 15.05.1 a828782+r49254, and there are no plugins like wpad or wapd-mini or hostapd-util in the ui or with opkg … it looks like flint is either newer or older so that tools are not compatible ??? What am I to do ?
Thanks Paul

use a phone or computer to connect to the printers wifi hotspot.
then web page into the printer http://192.168.223.1/netconf.html
setup the wifi credentials.

https://www.hp.com/uk-en/campaigns/wireless-printing-center/wireless-direct.html

it’s quite poor that Gl.net can’t even give you the option to add WPS.

They did give you the ability to add WPS, but it looks like you didn’t read it.

They showed you how to assign the WPS to the network, the command to start WPS and how to assign it to the reset button. What else are you looking for?

On the other hand, WPS is known as less secure. Even Wikipedia is mentioning ist: Wi-Fi Protected Setup - Wikipedia
(More about (in)security of WPS can be found via Google search. Is not confidential knowledge)

And as GL.iNet ist mit able to rewrite the whole Stack, I am thankful they are not offering insecure options by default, even if you could use it with some effort if needed.

1 Like

as i said no option to add wps

BusyBox v1.29.3 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06, LEDE
 -----------------------------------------------------
root@Pc-Router:~# nano /etc/config/wireless
root@Pc-Router:~# opkg update
Downloading https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_packages
Downloading https://fw.gl-inet.com/releases/v18.06.5/packages-3.6/siflower/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_private
Downloading https://fw.gl-inet.com/releases/v18.06.5/kmod-3.6/siflower/sf19a28_nand/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_kmod
Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (glinet_packages https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ramips/packages). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (glinet_private https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ramips/glinet). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (glinet_kmod https://fw.gl-inet.com/releases/v19.07.8/kmod-3.0-newdriver/ramips/mt7621). Skipping.
root@Pc-Router:~# opkg remove wpad-mini
No packages removed.
Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (glinet_packages https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ramips/packages). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (glinet_private https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ramips/glinet). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (glinet_kmod https://fw.gl-inet.com/releases/v19.07.8/kmod-3.0-newdriver/ramips/mt7621). Skipping.
root@Pc-Router:~# opkg install wpad hostapd-utils
Unknown package 'wpad'.
Unknown package 'hostapd-utils'.
Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (glinet_packages https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ramips/packages). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (glinet_private https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ramips/glinet). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (glinet_kmod https://fw.gl-inet.com/releases/v19.07.8/kmod-3.0-newdriver/ramips/mt7621). Skipping.
 * opkg_install_cmd: Cannot install package wpad.
 * opkg_install_cmd: Cannot install package hostapd-utils.
root@Pc-Router:~# reboot

First, pls upgrade firmware. You are using an older firmware because it is 18.06.

Second, you do not need to remove wpad-mini because in our default firmare we have wpad already.

can’t update any higher

I’m guessing wps thing may be poor in security, but unfortunately printers are a pig to connected to a wifi network,
why printers don’t have a lan port is a joke, as they are pence to install when made.