On Mon, Jul 30, 2012 at 3:50 AM, Jukka Rissanen <
jukka.rissa...@linux.intel.com> wrote:

> Hi Jerrill,
>
> See 
> http://linuxwireless.org/en/**users/Drivers<http://linuxwireless.org/en/users/Drivers>
>
> I have D-link DWA-160 rev A2
> http://www.wikidevi.com/wiki/**D-Link_DWA-160_rev_A2<http://www.wikidevi.com/wiki/D-Link_DWA-160_rev_A2>
> and it is working just fine and supports also 5GHz band.
> You can buy that D-link from ebay for under $20
>
>
>  As for CONFIG_BRIDGE, I'm assuming that the bridge kernel module is
>> sufficient if I want to avoid rebuilding the kernel?
>>
>
> Yes, the bridge module is sufficient.
>
>
>  Thank you in advance for your help on this.
>> Jerrill
>>
>
> Cheers,
> Jukka
>
>
>
Jukka,

I purchased the wireless USB adapter from adafruit.com here:
http://www.adafruit.com/products/814

Fortunately, it appears to be one of the adapters that supports tethering.

root@beaglebone:/usr/lib/connman/test# lsusb
...
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp.
...

root@beaglebone:~# modprobe bridge
root@beaglebone:~# cd /usr/lib/connman/test
root@beaglebone:/usr/lib/connman/test# ./enable-tethering wifi beaglebone
password
Enabling wifi tethering

Success! wlan0 disappeared and tether shows up.

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:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:700 (700.0 B)  TX bytes:700 (700.0 B)

tether    Link encap:Ethernet  HWaddr FA:B5:63:E3:48:C1
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f8b5:63ff:fee3:48c1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:7397 (7.2 KiB)

root@beaglebone:/usr/lib/connman/test# iwconfig
lo        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.

However, I don't see any access point named beaglebone available from my
phone. This makes sense since the mode on wlan0 is wrong under iwconfig.
So, I figure I'm not doing something correctly. But don't know where to
look for the documentation I need to figure this out.

I still have the connman configuration set to the following:

 root@beaglebone:/var/lib/connman# cat wifi.config
[service_home]
Type = wifi
Name = *******my home AP***********
Security = wpa2
Passphrase = ***********my home AP password*********

FYI, I executed the above statement while I was connected to my home WPA2
access point if that makes a difference.

Thanks for any help,
Jerrill
_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to