Kamikaze OpenWrt

 

ClientModeHowto

Page history last edited by flyashi 3 yrs ago

ClientModeHowto

 

I'm running a WGT634U. Here's the changes I made, with thanks to Eagle_Fire and others.

 

  • http://madwifi.org/wiki/UserDocs/FirstTimeHowTo is a pretty good resource. Skip "getting madwifi".
  • If you have "autocreate=ap" after "ath_pci" in /etc/modules.d/20-madwifi, change it to "autocreate=none"
  • /etc/config/network, "wan_ifnames=ath0" (I also have wan_device=ath0, don't know if that's necessary.)
  • Client mode script: /etc/init.d/S70wificlient

 

#!/bin/sh

 

wlanconfig ath0 create wlandev wifi0 wlanmode sta

ifconfig ath0 up

 

iwconfig ath0 essid "OpenWrt"

 

  • chmod a+x /etc/init.d/S70wificlient, and reboot. That ... should be it.
  • "wlanconfig ath0 list scan" lists, pretty neatly, all AP's it can see. "iwlist ath0 scan" lists it ... not so neatly. If you can figure out what the letters at the end of wlanconfig scan are, please let us know.

Comments (0)

You don't have permission to comment on this page.