oxUnd / ichm

Automatically exported from code.google.com/p/ichm
0 stars 0 forks source link

Bogus ip address for iChm File Manger on iPhone #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Platform:
Mac or iPhone/Touch

What steps will reproduce the problem?
1. Running the file manager on my 3G jaibroken iPhone produces a bogus ip
address of http://16.2.0.0-8080

The ip address assigned to the wifi connection is actually 10.0.11.208

My laptop and iPhone are on the same subnet.

2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Using version iChm 1.3, on 3G iPhone 2.2(5G77)  (jailbroken)

Please provide any additional information below.

Original issue reported on code.google.com by robtow10...@gmail.com on 14 Apr 2009 at 12:42

GoogleCodeExporter commented 9 years ago
Typo: bogus address is <http://16.2.0.0:8080>,  NOT <http://16.2.0.0-8080>  
(colon
instead of dash).

Original comment by robtow10...@gmail.com on 14 Apr 2009 at 12:50

GoogleCodeExporter commented 9 years ago
Did you try to disable 3G connection?

Original comment by iamawal...@gmail.com on 14 Apr 2009 at 8:50

GoogleCodeExporter commented 9 years ago
Yes, I disabled 3G. No change - still have the same incorrect IP address.

Rebooted phone, and tried iChm again, with 3G still disabled; same incorrect IP
address shown by iChm file manager.

The same incorrect IP address was displayed using both my work wifi network and 
my
home wifi network.

Original comment by robtow10...@gmail.com on 14 Apr 2009 at 4:38

GoogleCodeExporter commented 9 years ago
Can I simply use ssh/sftp to transfer files? What directory do they reside in? 
I have
xfered many ebooks and other files using ssh/sftp. I don't need to use the iChm 
file
manager if iChm will recongnize files placed in the proper location by other 
means.

Original comment by robtow10...@gmail.com on 14 Apr 2009 at 4:41

GoogleCodeExporter commented 9 years ago
If you know how to upload files via ssh/sftp, you can try to upload files to 
the Documents directory of iChm.

But I am still curious where this strange ip comes from.

Original comment by iamawal...@gmail.com on 15 Apr 2009 at 3:58

GoogleCodeExporter commented 9 years ago
If you look at the reviews in the app store it appears that at least one other 
person
is having a similar problem.

Original comment by robtow10...@gmail.com on 15 Apr 2009 at 5:52

GoogleCodeExporter commented 9 years ago
I knew that. But I can't reproduce it. Even on some jailbreak iPhone and iPod 
touch. It's quite abnormal. I am not 
sure if it related with any of the applications users may have installed.

Original comment by iamawal...@gmail.com on 16 Apr 2009 at 1:58

GoogleCodeExporter commented 9 years ago
Hi, I am still investigating on this. I have one question, do you have anything 
like VPN enabled when you get this 
bogus ip address?

Original comment by iamawal...@gmail.com on 1 May 2009 at 2:53

GoogleCodeExporter commented 9 years ago
Just letting you know I have seen this behaviour also and been trying to get to 
the
bottom of it for months now.  In my case it is causing problems on my network 
where
I'm running a number of computers with DHCP clients.  About once a month a 
client
picks up DHCP from the iPhone, which then proxies the internet connection.  The
client computer then has access to the Internet but not to the LAN since the 
address
is out of the LAN range. 

I have a jailbroken iPhone which gives me access to network services like SSH.  
I'd
like to know if this problem is confined to jailbroken iPhones.  At first I 
thought
it was due to PDAnet, but I've now eliminated that.

The only anomaly I found on the iPhone was that ifconfig reported two IP 
addresses
including "inet 16.2.0.0 netmask 0xffffffc0 broadcast 169.254.111.127".  I 
could not
see any evidence that the iPhone had an address of 169.254.111.111, yet I could 
ssh
there from the client computer and find I am attached to the iPhone.  I cannot 
see an
obvious dhcp service running.  The 169.254.x.x is often used when the computer 
cannot
find a network and allows peer-to-peer networking.  My guess is that this is
something to do with the OS (Darwin) trying to set up networking when it cannot 
find
a DHCP server.

The fix for the problem is to type the following commands into the iPhone 
console (of
a jailbroken iPhone of course):
ifconfig en0 16.2.0.0
ifconfig en0 16.2.0.0 remove

This fixes the problem until the iPhone picks up the rogue address again.  Now 
if
anyone knows how to stop this happening in the first place...

Original comment by this.goe...@gmail.com on 26 May 2009 at 6:38

GoogleCodeExporter commented 9 years ago
Thanks for the information. At least it proves that this is not the problem of 
iChm.

So far, all the people who report this problem to me have their iphone 
jailbroken.

Original comment by iamawal...@gmail.com on 27 May 2009 at 1:55

GoogleCodeExporter commented 9 years ago
well actually my iphone is a 3gs and i get an ip address, but when i try
safari/firefox(wifi) it on my macbook pro nothing happens, does not establish a
connection(via browser ). i have turned off 3g as well. my phone is not jail 
broken,
i pinged the ip that my macbook pro gave me and i get " host is unreachable", i 
also
made sure that my phone is not in locked mode and was in the file manager  tab 
..
still  no luck any progress or update would be greatly appreciated
cheers 

Original comment by cheekyla...@gmail.com on 5 Dec 2009 at 5:55

GoogleCodeExporter commented 9 years ago
Are your iphone and mac in the same network? please provide ip shown on the 
iphone and the ip of your mac. 
Thanks

Original comment by iamawal...@gmail.com on 6 Dec 2009 at 3:13