Jump to content

Revisiting: Iphone Tethering USB/BT.


Recommended Posts

I own a mk5 and have been wanting to use my internet connection on my iphone 3gs (I know laugh it up) for a while now. I can tether this phone with my computer via BT or USB just fine. I've gotten this working on several different OS's. My current challenge is getting it to work on our precious PA's. I've downloaded the package and tried to install it. Below I show that, the list of files in the system that are installed, and the list of kernel modules loaded that match the name of the module I'm interested in. As you can see it appears that the installation completed but the package does not work to tether my iphone.

It appears that we're quite a few kernel versions behind the current kernel. Are there tools that the PA relies upon that are not compatible with the current kernel versions? I have searched all around to find information about tethering an iphone with a PA but I cannot find where anyone actually got any grease for the squeaky wheel. I hope that other people are looking for answers to this same issue and will chime in here. Thank you for any help you guys can give on how to solve this.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

root@Pineapple:~# uname -a
Linux Pineapple 3.3.8 #14 Fri Mar 28 01:15:34 CET 2014 mips GNU/Linux

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

root@Pineapple:~# opkg install kmod-usb-net-ipheth_3.10.34-1_ar71xx.ipk
Installing kmod-usb-net-ipheth (3.10.34-1) to root...
Configuring kmod-usb-net-ipheth.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-ipheth:
* kernel (= 3.10.34-1-75f0bbb2f92d4bfd58e04e66cdf1fba6) *
If the above errors were only about a kernel version missmatch, please ignore them. The package was installed successfully.
root@Pineapple:~#
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

root@Pineapple:~# find / -name "*ipheth*"
/etc/modules.d/usb-net-ipheth
/lib/modules/3.10.34/ipheth.ko
/overlay/etc/modules.d/usb-net-ipheth
/overlay/lib/modules/3.10.34/ipheth.ko
/overlay/usr/lib/opkg/info/kmod-usb-net-ipheth.control
/overlay/usr/lib/opkg/info/kmod-usb-net-ipheth.list
/overlay/root/kmod-usb-net-ipheth_3.10.34-1_ar71xx.ipk
/root/kmod-usb-net-ipheth_3.10.34-1_ar71xx.ipk
/usr/lib/opkg/info/kmod-usb-net-ipheth.control
/usr/lib/opkg/info/kmod-usb-net-ipheth.list

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

root@Pineapple:~# lsmod| egrep -i ipheth
root@Pineapple:~#
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Link to comment
Share on other sites

By the way, I wanted to also add that I really like the PA. It's an awesome tool and the ability to update the firmware/os on it is a nice feature that will keep it useful for years to come. Thank you guys and girls that have put your hard work and time into developing this.

Link to comment
Share on other sites

05:32:07 init_module(0x9f9048, 9404, "") = -1 ENOEXEC (Exec format error)
05:32:07 write(2, "insmod: can't insert '/overlay/lib/modules/3.10.34/ipheth.ko': invalid module format\n", 85insmod: can't insert '/overlay/lib/modules/3.10.34/ipheth.ko': invalid module format

The above strace is from running:

root@Pineapple:~# strace -vvtf -s 1024 insmod /overlay/lib/modules/3.10.34/ipheth.ko

Here is the md5sum of the ko module:

root@Pineapple:~# md5sum /overlay/lib/modules/3.10.34/ipheth.ko
245eb484b849eb47194ed4b148761bce /overlay/lib/modules/3.10.34/ipheth.ko

I think it's a kernel version mismatch but I'm not sure. I'm really just trying to get the tethering working to the wifi pineapple so I can share the tethered connection. This ties into the basic function of what you use a pineapple for so I hope that clears up what this is all about for anyone else that may not be following.

Link to comment
Share on other sites

Looks like a kernel version mismatch to me. Try using the stock kernel along with the modules at http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/

There is a kmod-usb-net-ipheth_3.3.8-1_ar71xx.ipk there.

They are for the same version of the kernel, and have a much better chance of working. From where did you get yours? Did you actually upgrade to 3.3.10, or did you just get packages for that kernel? Your uname indicates that the current running version is 3.3.8, so if you installed 3.3.10, you will need to reboot to be able to use the modules that came with 3.3.10.

Link to comment
Share on other sites

Hey there,

First of all, there is no need to manually download the .ipk (for the wrong kernel version too) and try to install that. You could have just done this:

opkg update
opkg install kmod-usb-net-ipheth

Before you do this however, make sure you have done an "opkg remove kmod-usb-net-ipheth" and verified that the module has been removed from your system.

That should be enough to get the module installed.

Currently, we do not officially support iOS tethering. Should you be successful in your endeavor, please let us know what you had to do in this thread. Maybe we'll include it in the next firmware.

Best Regards,

Sebkinne

Link to comment
Share on other sites

  • 3 months later...

I tethered my 3G iPhone 4s on IOS 7.1.1 via wifi using personal hotspot on the phone and the pineapple client mode on wlan1. The Pineapple then had access to the internet through the phone's 3G.

I was then able to joint the phone's personal hot spot with my iPad . I used the iPad to connect to the Pineapple Mk V and managed to use the Pineapple.

No mods. Just worked.

Edited by BlackOp
Link to comment
Share on other sites

I tethered my 3G iPhone 4s on IOS 7.1.1 via wifi using personal hotspot on the phone and the pineapple client mode on wlan1. The Pineapple then had access to the internet through the phone's 3G.

I was then able to joint the phone's personal hot spot with my iPad . I used the iPad to connect to the Pineapple Mk V and managed to use the Pineapple.

No mods. Just worked.

Yeah, using wireless tethering it'll work no problem - of course. USB tethering is the issue.

Best Regards,

Sebkinne

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.

  • Recently Browsing   0 members

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