Jump to content

Mk4 Android Tethering - Not Working Help Please


lester
 Share

Recommended Posts

I read the post here: http://forums.hak5.o...__hl__tethering

and followed how all those changes would be worked into the current version of Mark IV I'm using, 2.6.1.

A dmesg | grep usb0 shows the device as present.

Ifconfig shows an ip address in the range of 192.168.42.114 (is this correct? I'm ssh'd into the pineapple using the 172.16.42.1 address) and when I attempt to ping the outside world nothing comes back, but of course I'm attempting to ping from the 172.* range and that might account for it. No?)

I've also activated tethering on the Droidx but cannot get an internet connection.

lsusb shows the id of the device.

routing map shows packets being sent from 172.* to the 192.* network.

What's wrong with this picture?

Any help much appreciated.

Edited by lester
Link to comment
Share on other sites

I just checked with my device. As far as the directions on that post you read, it seems like they have already been integrated into the newest release.

I'm going to assume that you can get a connection if you tether to another device with your droid. Right???

Yes the pineapple should be having 2 ip addresses. One is for it as an AP(172.16.42.1) as well as a managed client, which is recieved by the droid. (Seems like droid provides an IP of 192.168.114 to the pineapple)

please post results of:

ifconfig -a

from the pineapple. it might just be a routing issue, so please also post

route -n

Edited by Jonathan Frias
Link to comment
Share on other sites

Okay, thanks for your help.

And yes, tethering works when I use PDANet on my rooted Droidx.

I also ran tcpdump on the droid device whilst pinging to the outside world after ssh'ing into the pinapple and did see the following without a reply (many repeating lines):

source destination protocol

10.232.xxx.xxx 166.84.1.3 ICMP

Here is the output of ifconfig -a

br-lan Link encap:Ethernet HWaddr 00:C0:CA:44:DD:7F

inet addr:172.16.42.1 Bcast:172.16.42.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:336 errors:0 dropped:6 overruns:0 frame:0

TX packets:319 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:34822 (34.0 KiB) TX bytes:80212 (78.3 KiB)

eth0 Link encap:Ethernet HWaddr 00:C0:CA:44:DD:7F

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 TX bytes:0 (0.0

Interrupt:5

eth1 Link encap:Ethernet HWaddr 00:C0:CA:44:DD:7F

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 TX bytes:0 (0.0

Interrupt:4

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:18 errors:0 dropped:0 overruns:0 frame:0

TX packets:18 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1344 (1.3 KiB) TX bytes:1344 (1.3 KiB)

usb0 Link encap:Ethernet HWaddr 1A:FE:2A:D2:6d:8F

inet addr:192.168.42.114 Bcast:192.168.42.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:14 errors:0 dropped:6 overruns:0 frame:0

TX packets:8 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:1528 (1.4 KiB) TX bytes:2812 (2.7 KiB)

wlan0 Link encap:Ethernet HWaddr 00:C0:CA:44:DD:7F

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:335 errors:0 dropped:0 overruns:0 frame:0

TX packets:331 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:32

RX bytes:39506 (38.5 KiB) TX bytes:87716 (85.6 KiB)

Here is the output of route -n

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

0.0.0.0 192.168.42.129 0.0.0.0 UG 0 0 0 usb0

172.16.42.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan

192.168.42.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0

Edited by lester
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...