Use my (non-jailbroken) iPhone for internet connection?

Booting, installing, newbie
Message
Author
harrisnyc
Posts: 30
Joined: Thu 16 Jan 2014, 14:35

Use my (non-jailbroken) iPhone for internet connection?

#1 Post by harrisnyc »

Hi all,

On the two puppies I've tried recently that work well on my laptop, I haven't been able to connect to the internet via my iPhone. I've tried both wifi and USB connections, but neither works.

The two puppies I've tried this on are:
Slacko64 6.3.0
FatDog64 702

In both puppies the network connection wizard sees my iPhone wirelessly, prompts me for the passcode and attempts to connect, but neither establishes a working connection.

If anyone knows of a puppy (or puppies) that support this, I'll be willing to try them on my laptop! FYI, my laptop is newly purchased from Dell -- it's an Inspiron 15 3000 with the following specs:
- Intel Core i3-5005U (3M Cache, 2.00 GHz)
- 4GB, 1600MHz, DDR3L
- 500GB 5400 hard drive
- Network controller: Intel Corporation Wireless 3160 (rev 83)
Subsystem: Intel Corporation Dual Band Wireless AC 3160

I'll quickly provide any more info on my situation as needed. Thanks very much in advance!

Harris

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

This is while in tethering mode, correct?

Turn your phone ON, connect via USB and make certain the tethering box is shown connected.

Does, "L" now, "lsusb" list your phone something like this?

Code: Select all

Bus 001 Device 004: ID 04f6:6854 Apple/iPhone blah, blah..
Run "ifconfig" now.. Is it listed as possibly usb0?

Simple yes or no's will suffice..

harrisnyc
Posts: 30
Joined: Thu 16 Jan 2014, 14:35

#3 Post by harrisnyc »

Semme wrote:This is while in tethering mode, correct?

Turn your phone ON, connect via USB and make certain the tethering box is shown connected.

Does, "L" now, "lsusb" list your phone something like this?

Code: Select all

Bus 001 Device 004: ID 04f6:6854 Apple/iPhone blah, blah..
Run "ifconfig" now.. Is it listed as possibly usb0?

Simple yes or no's will suffice..
Here you go:

1) Apple no longer calls this "tethering" -- they call it Personal Hotspot. I turned this feature on for this test, plugged it in via USB, and immediately Tahrpup told me there was a "camera" connection to my phone. It also said: Type: iPhone Connected on port: usb:002,005

2) Here's the subsequent output from lsusb:

Code: Select all

Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 003: ID 8087:07dc Intel Corp. 
Bus 002 Device 002: ID 0bda:5683 Realtek Semiconductor Corp. 
Bus 002 Device 005: ID 05ac:12a8 Apple, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3) Here's the output from ifconfig:

Code: Select all


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2496 (2.4 KiB)  TX bytes:2496 (2.4 KiB)
Thanks.
Harris

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

You're probably missing a few modules.

Run these one @ a time, they'll wind up in /root.

Stick'm in a folder, then rt-clk and select "make archive."

Code: Select all

dmesg > ~/dmesg.txt
lsmod > ~/lsmod.txt
The second here begins with a lowercase L

Attach it to your reply..
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

Ah, the iPhone's gonna need a little something different.. A pkg Slacko repos don't supply.

Not to worry..

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

This wasn't mentioned because I don't think there's a current working pkg.

Apple doesn't want integration. Not an issue for me -- I detest ALL things Apple!
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#7 Post by Semme »

Hey, how about that?! Slacko may already have what you need.

First install "ifuse" from PPM, then try this first section -- plug it!

Run: ifconfig again. We have a new interface?

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#8 Post by rokytnji »

@Semme

Just for info. I have used my Iphone 5S as a wifi hot spot in my tent while camping.
But I was on AntiX Linux and just using Wicd to show my phone access connection.

Ifuse was not needed. Some of my experiments using ifuse

http://antix.freeforums.org/iphone-5s-w ... le=desktop

I did not have a puppy netbook when I went on my motorcycle trip as my AntiX netbook is a bit more robust than my atom netbook and the screen size is a bit larger for watching movies in a tent at night drinking beer. Plus bluetooth connection on my AntiX laptop kept me free of using a usb cable on the phone connection also. Something my Puppy atom netbook lacks also.

I need to check into this later on with Puppy also I guess. I don't run tahrpup though.
Carolina is my breed of puppy.
I guess I could give Xslacko a live run also.

If I was the OP. I'd ignore the camera stuff and just concentrate on tahrpup seeing my phone as a network device in my connection manager. Ifconfig should handle that along with any of puppy linux connection managers,
In both puppies the network connection wizard sees my iPhone wirelessly, prompts me for the passcode and attempts to connect, but neither establishes a working connection.
My bad. I missed that part. You might want to concentrate on using a different connection manager is all I can guess.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

Harry, thanks.

What I'm looking to avoid is non-BusyBox versions of adduser and passwd.

Wicd for Pup sounds like overkill and I can almost bet grabbing an interface doesn't require all the bells'n whistles, though possibly usbmuxd and libimobiledevice too. The driver, ipheth, which would appear to be supplied by Slacko, is in Tahr. If the driver's there and ifuse can mount the device, it should be no more than a simple "dhcpcd" or "dhcpcd dev# up".

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

Busy in the motorcyle shop

#10 Post by rokytnji »

Posting using bluetooth connection to my iphone 5S. No usb cable, but if I used one. It would work there also.

Right click and select view image. Ctrl with + key to blow up image. Next to the Red cross out section you make out connected to Harrys Iphone.

My bad on the previous fuse statement I made. I just checked here and I have fuse installed on this system.


Code: Select all

harry@biker:~
$ apt-cache policy fuse
fuse:
  Installed: 2.9.3-15+deb8u2
  Candidate: 2.9.3-15+deb8u2
  Version table:
 *** 2.9.3-15+deb8u2 0
        500 http://ftp.ca.debian.org/debian/ jessie/main i386 Packages
        500 http://security.debian.org/ jessie/updates/main i386 Packages
        100 /var/lib/dpkg/status
Edit: I am not trying to get away from connecting via tahrpup. Just showing that Linux does connect to IOS10 <yes I have the latest upgrade on my phone now> via bluetooth or usb cable. Just hoping I give some ideas on how to do this on tahrpup.
Attachments
scr-thumb.jpg
(59.56 KiB) Downloaded 302 times

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#11 Post by Semme »

Harris, don't install "ifuse" from PPM.

Do grab the "32bit-libs-slacko6.sfs" from Quickpet and get it loaded..

When you're ready, I've got a pkg for you to try..
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

harrisnyc
Posts: 30
Joined: Thu 16 Jan 2014, 14:35

#12 Post by harrisnyc »

Semme wrote:Harris, don't install "ifuse" from PPM.

Do grab the "32bit-libs-slacko6.sfs" from Quickpet and get it loaded..

When you're ready, I've got a pkg for you to try..
Hey thanks Semme. Sorry I've been away for a day -- I had an emergency to take care of.

I also apologize for mentioning Slacko -- I'm actually running Tahr64-6.0.5 and it's working very well for me... so I really hope I can get my iPhone connection going, as it'll be the final test before I can declare that this pup meets all of my showstopping-type requirements!

So does this change anything with the potential fixes you've mentioned? Tahr64-6.0.5 is the version that I was talking about when I mentioned that it sees my iPhone USB connection... also, as per Harry's suggestion, I tried all of the connection managers (using both wifi and USB) but no luck.

Thanks again. I plan to be on this issue almost 24x7 at this point! Got to get away from the stodgy, boring Debian......

Harris

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#13 Post by Semme »

OK, I'm not sure how much 32/64 compatibility's gonna play under this scenario, but, have we got the 32bit-libs loaded?

Cause really, unless you really need to run a 64b system, Pups 32b performance difference will be hardly noticeable.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

harrisnyc
Posts: 30
Joined: Thu 16 Jan 2014, 14:35

#14 Post by harrisnyc »

Semme wrote:OK, I'm not sure how much 32/64 compatibility's gonna play under this scenario, but, have we got the 32bit-libs loaded?

Cause really, unless you really need to run a 64b system, Pups 32b performance difference will be hardly noticeable.
I don't know what you mean by having the 32-bit libs loaded... although I can easily test the 32-bit version. I'll start downloading/burning the DVD now...

Harris

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#15 Post by Semme »

Peeps can learn a lot by re-reading their own threads. :wink:

http://murga-linux.com/puppy/viewtopic. ... 955#924955
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#16 Post by Semme »

OK, maybe it's not there. Bkmrk Me!

http://ftp.nluug.nl/ftp/pub/os/Linux/di ... tahr64.sfs

And just confirm for me you didn't install'n try Wicd..

harrisnyc
Posts: 30
Joined: Thu 16 Jan 2014, 14:35

#17 Post by harrisnyc »

Semme wrote:Peeps can learn a lot by re-reading their own threads. :wink:

http://murga-linux.com/puppy/viewtopic. ... 955#924955
Oh, but that seemed to be related to Slacko, so I thought you suggested that because I had mistakenly said I was using Slacko. I actually just looked at PPM here in Tahrpup as there's no Quickpet in here... didn't find that file you mentioned. Anyway, I'm about to try Tahr 32-bit PAE and non-PAE.

Harris

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#18 Post by Semme »

Uh, you have something called "updates" and "fixes".. yes?

Running these should fix Tahr's initial *broken* Quickpet.

Then again, the Internet wouldn't be where it is today if everybody were trying to communicate with different systems.

MAJOR #shebang# for Bill!

Pup this, Pup that.. Follow?

Too many BASTARD Pups!

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#19 Post by Semme »

PS -- You have the RAM, you run PAE!
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

harrisnyc
Posts: 30
Joined: Thu 16 Jan 2014, 14:35

#20 Post by harrisnyc »

Semme wrote:OK, maybe it's not there. Bkmrk Me!

http://ftp.nluug.nl/ftp/pub/os/Linux/di ... tahr64.sfs

And just confirm for me you didn't install'n try Wicd..
Okay very nice... I did find a "bugfix" item in the menu and it did fix Quickpet! Nice to have that now.

So I loaded:

Code: Select all

32bit_compatibility_libs_tahr64.sfs 
And no, I didn't do anything with Wicd. I also tried the 32-bit versions of Tahr but they didn't work with the iPhone either.

So what's next, Master? :wink:

Post Reply