[<<][openwrt][>>][..]
Sun Aug 17 12:13:31 EDT 2014

Last manojpi patch

What I have here is: /opt/xc/openwrt/belkin.20130903 with
belkin.7301.r35445.patch


# See also[1]: how to build a single package

cd /opt/xc/openwrt/belkin.20130903/trunk
make menuconfig
Base System -> Network -> wpa_supplicant <M>  (or -mini)
make tools/install
make toolchain/install

Then the wpa supplicant directory is not found..  So I'm just trying:

make world

This takes a while but should give the correct sub-make.

tom@zoo:/opt/xc/openwrt/belkin.20130903/trunk$ make world
 make[1] world
 make[2] target/compile
 make[3] -C target/linux compile
 make[2] package/cleanup
 make[2] package/compile
 make[3] -C package/toolchain compile
 make[3] -C package/libs/libnl-tiny compile
 make[3] -C package/libs/libjson-c compile
 make[3] -C package/lua compile
 make[3] -C package/libs/libubox compile
 make[3] -C package/ubus compile
 make[3] -C package/uci compile
 make[3] -C package/network/config/netifd compile
 make[3] -C package/opkg host-compile
 make[3] -C package/procd compile
 make[3] -C package/base-files compile
 make[3] -C package/broadcom-diag compile
 make[3] -C package/network/utils/wireless-tools compile
 make[3] -C package/broadcom-wl compile
 make[3] -C package/busybox compile
 make[3] -C package/hotplug2 compile
 make[3] -C package/kernel compile
 make[3] -C package/mtd compile
 make[3] -C package/network/utils/iptables compile
 make[3] -C package/network/config/firewall compile
 make[3] -C package/network/services/dnsmasq compile
 make[3] -C package/network/services/dropbear compile
 make[3] -C package/network/services/hostapd compile
 make[3] -C package/network/services/hostapd compile
 make[3] -C package/libs/libpcap compile
 make[3] -C package/linux-atm compile
 make[3] -C package/network/utils/resolveip compile
 make[3] -C package/network/services/ppp compile
 make[3] -C package/opkg compile
 make[3] -C package/switch compile
 make[3] -C package/system/utils/nvram compile
 make[2] package/install
 make[3] package/preconfig
 make[2] target/install
 make[3] -C target/linux install
 make[6] -C target/linux/brcm47xx/image/lzma-loader clean install
 make[2] package/index

It did compile it:

./build_dir/target-mipsel_uClibc-0.9.33.2/hostapd-supplicant-mini/hostapd-20120910/wpa_supplicant
./bin/brcm47xx/packages/wpa-supplicant-mini_20120910-1_brcm47xx.ipk

Probably is part of a meta-package or something:

make package/network/services/hostapd compile

After setting up apache I get:
Package wpa-supplicant version 20120910-1 has no valid architecture, ignoring

I think I've got the wrong box...
(OpenWRT) root@zuk:/etc# cat /proc/version 
Linux version 3.0.18 (tom@zoo) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #14 PREEMPT Fri Jul 6 13:47:25 EDT 2012

Other box:
root@(none):/# cat /proc/version 
Linux version 3.6.11 (tom@zoo) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #1 Tue Sep 3 02:23:06 EDT 2013

Looks like I already had some trouble with this before:
# src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.09/brcm47xx/generic/packages
# src/gz belkin http://zwizwa.be/openwrt/belkin.20130903/packages

Adding:
src/gz local http://openwrt.i/brcm47xx/packages

So this box was already setup

config wifi-iface
        option device 'wl0'
        option network 'lan'
        option mode 'sta'
        option ssid 'pine'
        option key 'XXX'
        option encryption 'psk'


Now also change config/network

Yeah I don't like the abstraction in openwrt..  How to start wpa_supplicant manually?

So after editing a bit - changed to 'psk2', will dump configs when
done - at least something is running:

wl0       IEEE 802.11bgn  ESSID:"pine"

But no supplicant running. 
How does this supplicant thing actually work?

So adding iw package as it's mentioned here[2].  ( Update with make
menuconfig, then make world )



[1] http://wiki.openwrt.org/doc/howtobuild/single.package
[2] http://wiki.openwrt.org/doc/recipes/bridgedclient



[Reply][About]
[<<][openwrt][>>][..]