Solved WindowMaker wmwifi can't start

Hi,

I installed WindowMaker(0.95.7) and want to activate wmwifi dockapp. When I start it from Application -> Window Maker -> WiFi nothing happen. So I started it from xterm window. Below message is appear.

Error Message :
wmwifi: No wireless interface found!

I understand that in somewhere need to define wifi interface. Can't find proper information on web.

Does someone had similar issue and able find a solution.

Thanks.

System Information :
FreeBSD FreeBSD 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

Wifi Details :
1 - Currently my wifi is working WindowMaker and other DE properly.
2 - Driver information
/boot/defaults/loader.conf
Code:
if_iwm_load="YES"
iwm7260fw_load="YES"
3 - Interface information
/etc/rc.conf
Code:
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
 
It's broken, but appears to be easy to fix. Can you try building net/wmwifi with the attached patch applied?

hi tobik@ ,

Thanks for support. I am sharing my results below. Maybe I am missing something.

1 - move patch file as patch-wmwifi.c under /usr/ports/net/wmwifi/files folder.
2 - issue sudo make makepatch under /usr/ports/net/wmwifi folder.
3 - issue sudo make install under /usr/ports/net/wmwifi folder.
4 - have below result.
Code:
3 warnings and 1 error generated.
gmake[2]: *** [Makefile:225: wireless.o] Error 1
gmake[2]: Leaving directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd/src'
gmake[1]: *** [Makefile:108: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/wmwifi
5 - issue sudo make clean under /usr/ports/net/wmwifi folder.
6 - issue sudo make MAKE_JOBS_UNSAFE=yes install under /usr/ports/net/wmwifi folder.
7 - have below result.
Code:
3 warnings and 1 error generated.
gmake[2]: *** [Makefile:225: wireless.o] Error 1
gmake[2]: Leaving directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd/src'
gmake[1]: *** [Makefile:108: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/net/wmwifi/work/wmwifi-0.4-bsd'
*** Error code 1

Stop.
make: stopped in /usr/ports/net/wmwifi
 
1 - move patch file as patch-wmwifi.c under /usr/ports/net/wmwifi/files folder.
2 - issue sudo make makepatch under /usr/ports/net/wmwifi folder.
The patch is against the port itself, so step 1 is wrong, but it doesn't matter since step 2 undos step 1.

You can apply the patch with e.g. svnlite patch --strip 2 /path/to/wmwifi.patch.txt or patch -V none -p3 -i /path/to/wmwifi.patch.txt when you are in /usr/ports/net/wmwifi

7 - have below result.
You cut off too much from the output. All useful and interesting bits are gone from it. ;)

script(1) can help with capturing the build output.
 
Thank you forester. That's a lot more useful. It seems there is also a problem with files/patch-configure.in. Can you delete it, run make clean, and try building it again?
 
Back
Top