Hi,

I'm testing connman on an ARM embedded board and I'm having trouble
getting tethering to work. In my setup, I'm using a Ralink based USB
device which runs fine with hostapd, so I assume it should also be
possible with connman in tethering mode. Correct me if I'm wrong here.

[Following up on earlier discussions on this list, I have to admit that
Ad-Hoc modes are indeed no option here due to the fact that Android
phones can't cope with them at all. So the ability to act as 'real'
access point now became a requirement for the system. Which has it's
good sides too, as there's no need to modify connman in that way.]

When playing with the python-based command line tools, I can connect to
my local Wifi networks just fine by calling 'connect-service ssid
secret'. However, when calling 'enable-tethering wifi testtest
12345678', the tool returns 'Enabling wifi tethering', and connman
(started as 'connmand -nd') shows this output:

  http://pastebin.com/jR79Bz79

After that, the device doesn't seem to have switched its mode ...

# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on

.. and attempts to connect to existing networks as before now fail
constantly, even after the damon was restarted. The full output with
debug information of a freshly started daemon can be found here:

  http://pastebin.com/vumFk7eR

A reboot is needed to recover from that state.

On a more general note: what I'm trying to achieve here on a higher
level is a system that connects to a set of preconfigured services
(wired, wireless) if they are available. As a fallback, the system
should switch back to tethering, serving its own wireless LAN with DHCP
server features and so on. Can anyone elaborate on what would be the
easiest way to implement this?


Thanks,
Daniel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to