On Fri, Aug 3, 2012 at 12:16 AM, Jerrill Johnson <jerr...@gmail.com> wrote:
> > > root@beaglebone:~/wpa_supplicant-1.0/wpa_supplicant# wpa_supplicant -h > wpa_supplicant v0.7.3 > Copyright (c) 2003-2010, Jouni Malinen <j...@w1.fi> and contributors > > This program is free software. You can distribute it and/or modify it > under the terms of the GNU General Public License version 2. > > Alternatively, this software may be distributed under the terms of the > BSD license. See README and COPYING for more details. > > usage: > wpa_supplicant [-BddhKLqqstuvW] [-P<pid file>] [-g<global ctrl>] \ > -i<ifname> -c<config file> [-C<ctrl>] [-D<driver>] > [-p<driver_param>] \ > [-b<br_ifname>] [-f<debug file>] \ > [-o<override driver>] [-O<override ctrl>] \ > [-N -i<ifname> -c<conf> [-C<ctrl>] [-D<driver>] \ > [-p<driver_param>] [-b<br_ifname>] ...] > > drivers: > wext = Linux wireless extensions (generic) > nl80211 = Linux nl80211/cfg80211 > hostap = Host AP driver (Intersil Prism2/2.5/3) > wired = Wired Ethernet driver > options: > -b = optional bridge interface name > -B = run daemon in the background > -c = Configuration file > -C = ctrl_interface parameter (only used if -c is not) > -i = interface name > -d = increase debugging verbosity (-dd even more) > -D = driver name (can be multiple drivers: nl80211,wext) > -g = global ctrl_interface > -K = include keys (passwords, etc.) in debug output > -t = include timestamp in debug messages > -h = show this help text > -L = show license (GPL and BSD) > -o = override driver parameter for new interfaces > -O = override ctrl_interface parameter for new interfaces > -p = driver parameters > -P = PID file > -q = decrease debugging verbosity (-qq even less) > -u = enable DBus control interface > -v = show version > -W = wait for a control interface monitor before starting > -N = start describing new interface > example: > wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf > > root@beaglebone:~/wpa_supplicant-1.0/wpa_supplicant# strings > ./wpa_supplicant | grep "AP mode support" > > root@beaglebone:~/wpa_supplicant-1.0/wpa_supplicant# > > Thanks for all your help! > Jerrill > Ok.. This brings me back to my original question. I've updated the wpa_supplicant but still don't see my beaglebone access point on my phone. root@beaglebone:~# ps aux | grep "connmand" root 87 0.2 0.8 3992 2136 ? Ss 04:44 0:00 /usr/sbin/connmand -n root 321 0.0 0.2 1776 584 ttyO0 S+ 04:46 0:00 grep connmand root@beaglebone:~# modprobe bridge root@beaglebone:~# cd /usr/lib/connman/test root@beaglebone:/usr/lib/connman/test# ifconfig eth0 Link encap:Ethernet HWaddr D4:94:A1:32:30:42 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:175 (175.0 B) TX bytes:175 (175.0 B) usb0 Link encap:Ethernet HWaddr 6A:84:CC:63:C8:66 inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 inet6 addr: fe80::6884:ccff:fe63:c866/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:123 errors:0 dropped:0 overruns:0 frame:0 TX packets:87 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:15821 (15.4 KiB) TX bytes:14811 (14.4 KiB) wlan0 Link encap:Ethernet HWaddr 00:9E:95:9B:59:CB inet addr:192.168.254.203 Bcast:192.168.254.255 Mask:255.255.255.0 inet6 addr: fe80::29e:95ff:fe9b:59cb/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:89 errors:0 dropped:0 overruns:0 frame:0 TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:17503 (17.0 KiB) TX bytes:10225 (9.9 KiB) root@beaglebone:/usr/lib/connman/test# ./enable-tethering wifi beaglebone password Enabling wifi tethering root@beaglebone:/usr/lib/connman/test# ifconfig eth0 Link encap:Ethernet HWaddr D4:94:A1:32:30:42 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:175 (175.0 B) TX bytes:175 (175.0 B) tether Link encap:Ethernet HWaddr FE:93:B4:C4:BF:FC inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::fc93:b4ff:fec4:bffc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:5986 (5.8 KiB) usb0 Link encap:Ethernet HWaddr 6A:84:CC:63:C8:66 inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252 inet6 addr: fe80::6884:ccff:fe63:c866/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:243 errors:0 dropped:0 overruns:0 frame:0 TX packets:164 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:24151 (23.5 KiB) TX bytes:25253 (24.6 KiB) root@beaglebone:/usr/lib/connman/test# iwconfig lo no wireless extensions. usb0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry long limit:7 RTS thr=2347 B Fragment thr:off Encryption key:off Power Management:off tether no wireless extensions. eth0 no wireless extensions. root@beaglebone:/usr/lib/connman/test# dmesg ... [ 6.426544] cfg80211: Calling CRDA to update world regulatory domain [ 7.569824] rtl8192cu: MAC address: 00:9e:95:9b:59:cb [ 7.569854] rtl8192cu: Board Type 0 [ 10.394622] rtlwifi: rx_max_size 15360, rx_urb_num 8, in_ep 1 [ 10.446105] ieee80211 phy0: Selected rate control algorithm 'rtl_rc' [ 10.447143] usbcore: registered new interface driver rtl8192cu [ 10.501831] rtl8192cu: MAC auto ON okay! [ 10.545471] rtl8192cu: Tx queue select: 0x05 [ 10.547973] rtl8192c_common: Loading firmware file rtlwifi/rtl8192cufw.bin [ 11.373870] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 13.474578] wlan0: authenticate with 2c:e4:12:40:ea:7f (try 1) [ 13.479949] wlan0: authenticated [ 13.514587] wlan0: associate with 2c:e4:12:40:ea:7f (try 1) [ 13.520660] wlan0: RX AssocResp from 2c:e4:12:40:ea:7f (capab=0x411 status=0 aid=8) [ 13.520690] wlan0: associated [ 13.523284] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 24.363830] wlan0: no IPv6 routers present [ 63.650573] Bridge firewalling registered ... [ 206.421203] wlan0: deauthenticating from 2c:e4:12:40:ea:7f by local choice (reason=3) [ 206.422363] cfg80211: Calling CRDA for country: US [ 206.633300] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 216.953826] tether: no IPv6 routers present root@beaglebone:/usr/lib/connman/test# cat ~/wpa_supplicant_w1.log wlan0: SME: Trying to authenticate with 2c:e4:12:40:ea:7f (SSID='WIN_ea80' freq=2462 MHz) wlan0: Trying to associate with 2c:e4:12:40:ea:7f (SSID='WIN_ea80' freq=2462 MHz) wlan0: Associated with 2c:e4:12:40:ea:7f wlan0: WPA: Key negotiation completed with 2c:e4:12:40:ea:7f [PTK=CCMP GTK=CCMP] wlan0: CTRL-EVENT-CONNECTED - Connection to 2c:e4:12:40:ea:7f completed (auth) [id=0 id_str=] Yes, that's where the wpa_supplicant log ends unfortunately... And when I try to disable tethering... root@beaglebone:/usr/lib/connman/test# ./disable-tethering wifi Traceback (most recent call last): File "./disable-tethering", line 12, in <module> manager = dbus.Interface(bus.get_object('net.connman', "/"), File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 241, in get_object follow_name_owner_changes=follow_name_owner_changes) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 248, in __init__ self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name 'su', (bus_name, flags))) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name net.connman was not provided by any .service files root@beaglebone:/usr/lib/connman/test# ps aux | grep connmand root 376 0.0 0.2 1772 548 pts/0 S+ 04:54 0:00 grep connmand It looks like connmand has crashed. Any ideas? Jerrill _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman