You are not logged in.

#1 2013-05-28 01:36:39

Teklad
Member
Registered: 2012-12-11
Posts: 3

[Solved] netctl issue regarding Android tethering

My phone is running a custom Android 2.3.4 rom, and I've used tethering just fine with the other network managers(wicd, NetworkManager).  For some reason or another netctl fails to connect to my Android phone while tethering is enabled, the error message is as follows:

-- Logs begin at Sat 2013-05-04 06:18:57 CDT, end at Mon 2013-05-27 20:29:26 CDT. --
May 27 20:29:10 teklab1 systemd[1]: Starting Networking for netctl profile wlp3s0-AndroidTether...
-- Subject: Unit netctl@wlp3s0\x2dAndroidTether.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
--
-- Unit netctl@wlp3s0\x2dAndroidTether.service has begun starting up.
May 27 20:29:10 teklab1 network[8821]: Starting network profile 'wlp3s0-AndroidTether'...
May 27 20:29:10 teklab1 kernel: iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
May 27 20:29:10 teklab1 kernel: iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
May 27 20:29:10 teklab1 kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
May 27 20:29:26 teklab1 network[8821]: WPA association/authentication failed for interface 'wlp3s0'
May 27 20:29:26 teklab1 network[8821]: Failed to bring the network up for profile 'wlp3s0-AndroidTether'
May 27 20:29:26 teklab1 systemd[1]: netctl@wlp3s0\x2dAndroidTether.service: main process exited, code=exit
May 27 20:29:26 teklab1 systemd[1]: Failed to start Networking for netctl profile wlp3s0-AndroidTether.
-- Subject: Unit netctl@wlp3s0\x2dAndroidTether.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … 7e9d022f03
--
-- Unit netctl@wlp3s0\x2dAndroidTether.service has failed.
--
-- The result is failed.
May 27 20:29:26 teklab1 systemd[1]: Unit netctl@wlp3s0\x2dAndroidTether.service entered failed state.

My Android device does not currently have any wireless security enabled, and uses the AdHoc interface.  I am a little lost as to what is causing this issue, any help would be appreciated.  My config file for the device is as follows:

Description='Phone Net'
Interface=wlp3s0
Connection=wireless
Security=none
ESSID=AndroidTether
IP=dhcp
AdHoc=yes

Last edited by Teklad (2013-05-28 06:15:43)

Offline

#2 2013-05-28 02:57:28

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: [Solved] netctl issue regarding Android tethering

One quick thing, are you sure your phone is actually setting up an AdHoc network?  All Android phones I've used make the phone act as an access point.  First thing I'd try is removing the "AdHoc=yes" line from your config.

Offline

#3 2013-05-28 06:15:12

Teklad
Member
Registered: 2012-12-11
Posts: 3

Re: [Solved] netctl issue regarding Android tethering

Well, that was a bit embarassing, lol...  On the other network managers my Android device appeared as an AdHoc network, but apparently this isn't really so.  That seems to have fixed it.  Thank you very much. smile Solved.

Offline

Board footer

Powered by FluxBB