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?
 

Attachments

  • wmwifi.patch.txt
    2.6 KB · Views: 349
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.
 
Hi tobik@ ,

I hope at this time collect much useful information for investigation :). For each step I have upload separate txt file. Thanks.

Steps :
1 - apply patch
2 - first attempt
3 - second attempt
 

Attachments

  • apply_patch.txt
    700 bytes · Views: 412
  • first_attempt.txt
    41.9 KB · Views: 319
  • second_attempt.txt
    4.2 KB · Views: 419
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?
 
Hi tobik@ ,

On my Virtualbox image compiling was successful by your help. I will do same on my physical system when go back to home and will share result.
 

Attachments

  • third_attempt.txt
    7.5 KB · Views: 373
Back
Top