I have setup my WiFi dongle as an AP using connmand and connmanctrl. I am
however unable to connect to the SSID from my phone. It gets stuck in the
"authenticating" stage.

connmand -v
1.20
Linux i102 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 12.04


I used the following commands

sudo connmand -i wlan1 -n -d
./connmanctl enable wifi
./connmanctl tether wifi on xxxxx "12345678"

I get
"Wifi SSID set
Wifi passphrase set
Enabled tethering for wifi"

ifconfig output is

eth0      Link encap:Ethernet  HWaddr d4:be:d9:65:86:bd
          inet addr:10.42.243.102  Bcast:10.42.243.255  Mask:255.255.254.0
          inet6 addr: fe80::d6be:d9ff:fe65:86bd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
          RX packets:391686 errors:0 dropped:0 overruns:0 frame:0
          TX packets:257252 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:141444719 (141.4 MB)  TX bytes:128483920 (128.4 MB)
          Interrupt:20 Memory:f7700000-f7720000

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:27361 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27361 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1717609 (1.7 MB)  TX bytes:1717609 (1.7 MB)

mon.wlan1 Link encap:UNSPEC  HWaddr
00-1F-1F-7F-C1-42-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3055 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:496486 (496.4 KB)  TX bytes:0 (0.0 B)

tether    Link encap:Ethernet  HWaddr 00:1f:1f:7f:c1:42
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::50fe:ebff:fe5a:632a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST DYNAMIC  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:13566 (13.5 KB)

wlan0     Link encap:Ethernet  HWaddr 24:77:03:b0:bd:e4
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:7107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7095 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4799945 (4.7 MB)  TX bytes:1572772 (1.5 MB)

wlan1     Link encap:Ethernet  HWaddr 00:1f:1f:7f:c1:42
          inet6 addr: fe80::21f:1fff:fe7f:c142/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:156 errors:0 dropped:0 overruns:0 frame:0
          TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:21060 (21.0 KB)  TX bytes:39152 (39.1 KB)



Any help appreciated

-- 
Homam Dabis | Software Consultant
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to