[OnePlus 2 Android Development] cyrus104:
Thanks for the advice, I'm coping over the logcat now. I normally use the USB tethering for a Hak5 Pineapple but I also like to use it to provide internet to my laptop.

---------- Post added at 10:21 PM ---------- Previous post was at 10:03 PM ----------

Here is what I was able to find in the catlog, not sure if there is an exact reason on why it didn't work thought.

01-01 16:21:16.885 979 1029 I UsbDeviceManager: Setting USB config to rndis

01-01 16:21:16.927 498 800 D audio_hw_primary: start_output_stream: exit

01-01 16:21:17.619 509 1082 D CommandListener: Setting iface cfg

01-01 16:21:17.620 509 1082 D CommandListener: Trying to bring up rndis0

01-01 16:21:17.624 509 1082 D TetherController: tetherInterface(rndis0)

01-01 16:21:17.691 509 1082 D TetherController: Setting IP forward enable = 1

01-01 16:21:17.694 979 979 D ZenLog : intercepted: -1|android|17303326|null|1000,!priority

01-01 16:21:17.694 979 979 V NotificationService: pkg=android canInterrupt=false intercept=true

01-01 16:21:17.695 509 1082 D TetherController: Starting tethering services

01-01 16:21:17.696 509 1082 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]

01-01 16:21:17.696 509 1082 D TetherController: Tethering services running

01-01 16:21:17.699 979 1030 D ConnectivityService: requestNetwork for uid/pid:1000/979 NetworkRequest [ TRACK_DEFAULT id=84, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]

01-01 16:21:17.700 979 979 I chatty : uid=1000 system_server expire 3 lines

01-01 16:21:17.700 979 3949 I chatty : uid=1000(system) EthernetService expire 3 lines

01-01 16:21:17.709 979 1030 I chatty : uid=1000(system) android.io expire 15 lines

01-01 16:21:17.713 5905 7952 I chatty : uid=1000(system) TetherService expire 94 lines

01-01 16:21:17.717 5905 6064 I chatty : uid=1000(system) ConnectivityMan expire 9 lines

01-01 16:21:17.722 509 1082 D TetherController: setDnsForwarders(0xf0069 0 = '192.168.1.2')

01-01 16:21:17.723 509 1082 D TetherController: setDnsForwarders(0xf0069 1 = '8.8.8.8')

01-01 16:21:17.723 509 1082 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0069|192.168.1.2|8.8.8.8]

01-01 16:21:17.727 7507 7507 I dnsmasq : started, version 2.51 cachesize 150

01-01 16:21:17.728 7507 7507 I dnsmasq : compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP

01-01 16:21:17.728 7507 7507 W dnsmasq : warning: no upstream servers configured

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.49.2 -- 192.168.49.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h

01-01 16:21:17.728 7507 7507 I dnsmasq : read /etc/hosts - 2 addresses

01-01 16:21:17.728 509 1082 V NatController: enableNat(intIface=<rndis0>, extIface=<wlan0>)

01-01 16:21:17.729 7507 7507 I dnsmasq : Closing wildcard listener family=2

01-01 16:21:17.729 7507 7507 I dnsmasq : Closing wildcard listener family=10

01-01 16:21:17.729 7507 7507 I dnsmasq : using nameserver 8.8.8.8#53

01-01 16:21:17.729 7507 7507 I dnsmasq : using nameserver 192.168.1.2#53

01-01 16:21:17.744 509 1082 V NatController: runCmd(/system/bin/iptables -w -t nat -A natctrl_nat_POSTROUTING -o wlan0 -j MASQUERADE) res=1

01-01 16:21:17.744 509 1082 E NatController: Error setting postroute rule: iface=wlan0

01-01 16:21:17.762 509 1082 V NatController: runCmd(/system/bin/iptables -w -F natctrl_FORWARD) res=1

01-01 16:21:17.765 509 18955 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]

01-01 16:21:17.766 509 1082 D TetherController: untetherInterface(rndis0)

01-01 16:21:17.806 509 1082 D CommandListener: Setting iface cfg

01-01 16:21:17.807 509 1082 D CommandListener: Trying to bring down rndis0

01-01 16:21:17.814 509 1082 D TetherController: setDnsForwarders(0xf0069 0 = '192.168.1.2')

01-01 16:21:17.818 509 1082 D TetherController: setDnsForwarders(0xf0069 1 = '8.8.8.8')

01-01 16:21:17.818 509 1082 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0069|192.168.1.2|8.8.8.8]

01-01 16:21:17.818 7507 7507 I dnsmasq : using nameserver 8.8.8.8#53

01-01 16:21:17.818 7507 7507 I dnsmasq : using nameserver 192.168.1.2#53

01-01 16:21:17.822 509 1082 D TetherController: Stopping tethering services

01-01 16:21:17.822 7507 7507 I dnsmasq : exiting on receipt of SIGTERM

01-01 16:21:17.823 509 1082 D TetherController: Tethering services stopped

01-01 16:21:17.827 509 1082 D TetherController: Setting IP forward enable = 0

01-01 16:21:17.829 979 3805 D ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=84, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]

01-01 16:21:20.063 498 800 D audio_hw_primary: out_standby: enter: stream (0xf5b50000) usecase(1: low-latency-playback)

01-01 16:21:20.152 498 800 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback speaker

01-01 16:21:20.154 498 800 D hardware_info: hw_info_append_hw_type : device_name = speaker

01-01 16:21:20.155 498 800 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)

01-01 16:21:21.022 498 800 D audio_hw_primary: start_output_stream: enter: stream(0xf5b50000)usecase(1: low-latency-playback) devices(0x2)

01-01 16:21:21.025 498 800 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )

01-01 16:21:21.025 498 800 W msm8974_platform: Codec backend bitwidth 16, samplerate 48000

01-01 16:21:21.025 498 800 D hardware_info: hw_info_append_hw_type : device_name = speaker

01-01 16:21:21.025 498 800 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)

01-01 16:21:21.026 498 800 I audio_hw_primary: select_devices Selected apptype: 69937

01-01 16:21:21.026 498 800 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 81, path = 0

01-01 16:21:21.026 498 800 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL

01-01 16:21:21.026 498 800 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 81 path = 0

01-01 16:21:21.027 498 800 I audio_hw_utils: audio_extn_utils_send_app_type_cfg app_type 69937, acdb_dev_id 81, sample_rate 48000

01-01 16:21:21.027 498 800 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback speaker

01-01 16:21:21.031 498 800 D audio_hw_primary: select_devices: done

01-01 16:21:21.034 498 800 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map15

01-01 16:21:21.034 498 800 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2

01-01 16:21:21.061 509 1082 D CommandListener: Setting iface cfg

01-01 16:21:21.062 509 1082 D CommandListener: Trying to bring up rndis0

01-01 16:21:21.066 509 1082 D TetherController: tetherInterface(rndis0)

01-01 16:21:21.085 498 800 D audio_hw_primary: start_output_stream: exit

01-01 16:21:21.137 979 979 D ZenLog : intercepted: -1|android|17303326|null|1000,!priority

01-01 16:21:21.137 509 1082 D TetherController: Setting IP forward enable = 1

01-01 16:21:21.138 979 979 V NotificationService: pkg=android canInterrupt=false intercept=true

01-01 16:21:21.142 509 1082 D TetherController: Starting tethering services

01-01 16:21:21.144 509 1082 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]

01-01 16:21:21.144 509 1082 D TetherController: Tethering services running

01-01 16:21:21.148 979 1030 D ConnectivityService: requestNetwork for uid/pid:1000/979 NetworkRequest [ TRACK_DEFAULT id=87, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]

01-01 16:21:21.164 509 1082 D TetherController: setDnsForwarders(0xf0069 0 = '192.168.1.2')

01-01 16:21:21.164 509 1082 D TetherController: setDnsForwarders(0xf0069 1 = '8.8.8.8')

01-01 16:21:21.164 509 1082 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0069|192.168.1.2|8.8.8.8]

01-01 16:21:21.166 509 1082 V NatController: enableNat(intIface=<rndis0>, extIface=<wlan0>)

01-01 16:21:21.176 7517 7517 I dnsmasq : started, version 2.51 cachesize 150

01-01 16:21:21.176 7517 7517 I dnsmasq : compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP

01-01 16:21:21.176 7517 7517 W dnsmasq : warning: no upstream servers configured

01-01 16:21:21.176 7517 7517 I dnsmasq : DHCP, IP range 192.168.49.2 -- 192.168.49.254, lease time 1h

01-01 16:21:21.176 7517 7517 I dnsmasq : DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h

01-01 16:21:21.176 7517 7517 I dnsmasq : DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h

01-01 16:21:21.176 7517 7517 I dnsmasq : DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h

01-01 16:21:21.176 7517 7517 I dnsmasq : DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h

01-01 16:21:21.176 7517 7517 I dnsmasq : DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h

01-01 16:21:21.177 7517 7517 I dnsmasq : DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h

01-01 16:21:21.177 7517 7517 I dnsmasq : DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h

01-01 16:21:21.177 7517 7517 I dnsmasq : read /etc/hosts - 2 addresses

01-01 16:21:21.177 7517 7517 I dnsmasq : Closing wildcard listener family=2

01-01 16:21:21.177 7517 7517 I dnsmasq : Closing wildcard listener family=10

01-01 16:21:21.178 7517 7517 I dnsmasq : using nameserver 8.8.8.8#53

01-01 16:21:21.178 7517 7517 I dnsmasq : using nameserver 192.168.1.2#53

01-01 16:21:21.189 509 1082 V NatController: runCmd(/system/bin/iptables -w -t nat -A natctrl_nat_POSTROUTING -o wlan0 -j MASQUERADE) res=1

01-01 16:21:21.189 509 1082 E NatController: Error setting postroute rule: iface=wlan0

01-01 16:21:21.204 509 1082 V NatController: runCmd(/system/bin/iptables -w -F natctrl_FORWARD) res=1

01-01 16:21:21.206 509 21245 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]

01-01 16:21:21.207 509 1082 D TetherController: untetherInterface(rndis0)

01-01 16:21:21.247 509 1082 D CommandListener: Setting iface cfg

01-01 16:21:21.249 509 1082 D CommandListener: Trying to bring down rndis0

01-01 16:21:21.255 509 1082 D TetherController: setDnsForwarders(0xf0069 0 = '192.168.1.2')

01-01 16:21:21.255 509 1082 D TetherController: setDnsForwarders(0xf0069 1 = '8.8.8.8')

01-01 16:21:21.255 509 1082 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0069|192.168.1.2|8.8.8.8]

01-01 16:21:21.255 7517 7517 I dnsmasq : using nameserver 8.8.8.8#53

01-01 16:21:21.255 7517 7517 I dnsmasq : using nameserver 192.168.1.2#53

01-01 16:21:21.256 509 1082 D TetherController: Stopping tethering services

01-01 16:21:21.256 7517 7517 I dnsmasq : exiting on receipt of SIGTERM

01-01 16:21:21.257 509 1082 D TetherController: Tethering services stopped

01-01 16:21:21.263 509 1082 D TetherController: Setting IP forward enable = 0

01-01 16:21:21.265 979 3805 D ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=87, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]

01-01 16:21:21.272 979 3741 I chatty : uid=1000(system) NetworkStats expire 8 lines

01-01 16:21:22.853 509 1082 D CommandListener: Setting iface cfg

01-01 16:21:22.854 509 1082 D CommandListener: Trying to bring up rndis0

01-01 16:21:22.865 509 1082 D TetherController: tetherInterface(rndis0)

01-01 16:21:22.941 509 1082 D TetherController: Setting IP forward enable = 1

01-01 16:21:22.942 979 979 D ZenLog : intercepted: -1|android|17303326|null|1000,!priority

01-01 16:21:22.943 979 979 V NotificationService: pkg=android canInterrupt=false intercept=true

01-01 16:21:22.952 509 1082 D TetherController: Starting tethering services

01-01 16:21:22.958 509 1082 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]

01-01 16:21:22.958 509 1082 D TetherController: Tethering services running

01-01 16:21:22.964 979 1030 D ConnectivityService: requestNetwork for uid/pid:1000/979 NetworkRequest [ TRACK_DEFAULT id=90, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]

01-01 16:21:22.981 509 1082 D TetherController: setDnsForwarders(0xf0069 0 = '192.168.1.2')

01-01 16:21:22.981 7527 7527 I dnsmasq : started, version 2.51 cachesize 150

01-01 16:21:22.981 7527 7527 I dnsmasq : compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP

01-01 16:21:22.981 509 1082 D TetherController: setDnsForwarders(0xf0069 1 = '8.8.8.8')

01-01 16:21:22.981 7527 7527 W dnsmasq : warning: no upstream servers configured

01-01 16:21:22.981 509 1082 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0069|192.168.1.2|8.8.8.8]

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.49.2 -- 192.168.49.254, lease time 1h

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h

01-01 16:21:22.981 7527 7527 I dnsmasq : DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h

01-01 16:21:22.982 7527 7527 I dnsmasq : read /etc/hosts - 2 addresses

01-01 16:21:22.982 7527 7527 I dnsmasq : Closing wildcard listener family=2

01-01 16:21:22.982 7527 7527 I dnsmasq : Closing wildcard listener family=10

01-01 16:21:22.983 7527 7527 I dnsmasq : using nameserver 8.8.8.8#53

01-01 16:21:22.983 7527 7527 I dnsmasq : using nameserver 192.168.1.2#53

01-01 16:21:22.986 509 1082 V NatController: enableNat(intIface=<rndis0>, extIface=<wlan0>)

01-01 16:21:23.009 509 1082 V NatController: runCmd(/system/bin/iptables -w -t nat -A natctrl_nat_POSTROUTING -o wlan0 -j MASQUERADE) res=1

01-01 16:21:23.009 509 1082 E NatController: Error setting postroute rule: iface=wlan0

01-01 16:21:23.024 509 1082 V NatController: runCmd(/system/bin/iptables -w -F natctrl_FORWARD) res=1

01-01 16:21:23.027 509 21245 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]

01-01 16:21:23.028 509 1082 D TetherController: untetherInterface(rndis0)

01-01 16:21:23.068 509 1082 D CommandListener: Setting iface cfg

01-01 16:21:23.070 509 1082 D CommandListener: Trying to bring down rndis0

01-01 16:21:23.077 509 1082 D TetherController: setDnsForwarders(0xf0069 0 = '192.168.1.2')

01-01 16:21:23.078 509 1082 D TetherController: setDnsForwarders(0xf0069 1 = '8.8.8.8')

01-01 16:21:23.078 509 1082 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0069|192.168.1.2|8.8.8.8]

01-01 16:21:23.078 7527 7527 I dnsmasq : using nameserver 8.8.8.8#53

01-01 16:21:23.078 7527 7527 I dnsmasq : using nameserver 192.168.1.2#53

01-01 16:21:23.087 509 1082 D TetherController: Stopping tethering services

01-01 16:21:23.088 7527 7527 I dnsmasq : exiting on receipt of SIGTERM

01-01 16:21:23.089 509 1082 D TetherController: Tethering services stopped

01-01 16:21:23.091 509 1082 D TetherController: Setting IP forward enable = 0