Page 1 of 2 12 LastLast
Results 1 to 10 of 20
Discuss [Sharing] Internet on Ethernet from PC to WiFi for iPhone (XP ad-hoc) at the Tools - Hackint0sh.org; hi! just got an iPhone 3 days ago, mistakenly upgraded to 1.1.3, downgraded to 1.1.1 ...
  1. #1
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Angry [Sharing] Internet on Ethernet from PC to WiFi for iPhone (XP ad-hoc)

    hi!

    just got an iPhone 3 days ago, mistakenly upgraded to 1.1.3, downgraded to 1.1.1 and 4.01.13_G and unlocked with anySIM.
    I live in Europe, carrier provides no EDGE and got no WLAN in my village. So had to do that in a town ~20 miles away. I 've got
    an XP laptop, with a wireless 802.11g built-in and a cable LAN connection. So I'd like to share my LAN's ADSL connection with
    the iPhone using my wireless adaptor as a hotspot. Reading a bit about it convinced me it's possible.

    There's two approaches I found. Easier it seems is to set up a DHCP ad-hoc on your wi-fi adaptor and bridge the two connections
    on your laptop. Done that, failed miserably. None of the connections work (even after a reboot).

    Second is to create an ad-hoc (DHCP or static eg 192.168.0.1) on your wireless adaptor and use Internet Connection Sharing (ICS)
    on your LAN adaptor. Using this method I got closer. In the DHCP version I get an IP, Subnet, Router and DNS automatically on my
    iPhone, can ping the iPhone from cmd but cannot ping the PC from vt100 and Safari times out - so no Internet although I can see
    the ad-hoc and connect to it succesfully. Static version, connects but I'm not sure what to use as router (I guess the DNS servers are
    the same as my LAN connection). Anyways, I try both my wi-fi 192.168.0.1 and my LAN IP but none works - same results as above.

    I make sure that I have the right settings (ICS, win manage connection, ad-hoc only, pc to pc etc) but nothing seems to work.
    Do you guys have any idea how I can get around this? any help much appreciated



  2. #2
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    104
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by wormhole View Post
    hi!

    just got an iPhone 3 days ago, mistakenly upgraded to 1.1.3, downgraded to 1.1.1 and 4.01.13_G and unlocked with anySIM.
    I live in Europe, carrier provides no EDGE and got no WLAN in my village. So had to do that in a town ~20 miles away. I 've got
    an XP laptop, with a wireless 802.11g built-in and a cable LAN connection. So I'd like to share my LAN's ADSL connection with
    the iPhone using my wireless adaptor as a hotspot. Reading a bit about it convinced me it's possible.

    There's two approaches I found. Easier it seems is to set up a DHCP ad-hoc on your wi-fi adaptor and bridge the two connections
    on your laptop. Done that, failed miserably. None of the connections work (even after a reboot).

    Second is to create an ad-hoc (DHCP or static eg 192.168.0.1) on your wireless adaptor and use Internet Connection Sharing (ICS)
    on your LAN adaptor. Using this method I got closer. In the DHCP version I get an IP, Subnet, Router and DNS automatically on my
    iPhone, can ping the iPhone from cmd but cannot ping the PC from vt100 and Safari times out - so no Internet although I can see
    the ad-hoc and connect to it succesfully. Static version, connects but I'm not sure what to use as router (I guess the DNS servers are
    the same as my LAN connection). Anyways, I try both my wi-fi 192.168.0.1 and my LAN IP but none works - same results as above.

    I make sure that I have the right settings (ICS, win manage connection, ad-hoc only, pc to pc etc) but nothing seems to work.
    Do you guys have any idea how I can get around this? any help much appreciated

    try to use OpenDNS on the Iphone

    208.67.222.222
    208.67.220.220

  3. #3
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    104
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    If that fails

    try with MagicDHCP,google for it.

    little bit ostic to configure but works!

  4. #4
    Next American Idol Array razor's Avatar

    Join Date
    Aug 2007
    Location
    New Delhi
    Posts
    401
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    29

    Default

    Quote Originally Posted by wormhole View Post
    hi!

    just got an iPhone 3 days ago, mistakenly upgraded to 1.1.3, downgraded to 1.1.1 and 4.01.13_G and unlocked with anySIM.
    I live in Europe, carrier provides no EDGE and got no WLAN in my village. So had to do that in a town ~20 miles away. I 've got
    an XP laptop, with a wireless 802.11g built-in and a cable LAN connection. So I'd like to share my LAN's ADSL connection with
    the iPhone using my wireless adaptor as a hotspot. Reading a bit about it convinced me it's possible.

    There's two approaches I found. Easier it seems is to set up a DHCP ad-hoc on your wi-fi adaptor and bridge the two connections
    on your laptop. Done that, failed miserably. None of the connections work (even after a reboot).

    Second is to create an ad-hoc (DHCP or static eg 192.168.0.1) on your wireless adaptor and use Internet Connection Sharing (ICS)
    on your LAN adaptor. Using this method I got closer. In the DHCP version I get an IP, Subnet, Router and DNS automatically on my
    iPhone, can ping the iPhone from cmd but cannot ping the PC from vt100 and Safari times out - so no Internet although I can see
    the ad-hoc and connect to it succesfully. Static version, connects but I'm not sure what to use as router (I guess the DNS servers are
    the same as my LAN connection). Anyways, I try both my wi-fi 192.168.0.1 and my LAN IP but none works - same results as above.

    I make sure that I have the right settings (ICS, win manage connection, ad-hoc only, pc to pc etc) but nothing seems to work.
    Do you guys have any idea how I can get around this? any help much appreciated

    The second method you are trying is the key.

    First setup an ad-hoc connection and then share the lan with the wifi one...

    Before I list the steps, make sure your firewall is turned off. That might be causing you not being able to ping your pc from the Term-vt100 on the iPhone.


    Let me list the steps which i followed while doing this sometime back...

    1. Goto Control Panel -> Network Connections
    2. Right Click "Wireless Network Connection" -> Select Properties
    3. Select the "Wireless Networks" Tab
    4. In the prefered networks, select add
    5. Enter a Network Name(SSID) eg adhoc
    6. Set the Network Authentication as Open and check the box with "This is a computer-to-computer (ad-hoc);"
    7. Click Ok. Go back to the general tab.
    8. Select IPv4 and manually set the
    IP address: 192.168.1.10
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1

    Preferred DNS : 208.67.222.222
    Alt DNS: 208.67.220.220

    9. Now save the settings and turn on the wifi on both the laptop and the iPhone.
    10. Set the IP address settings as static on the iPhone and set it as 192.168.1.11
    and rest of the settings as above.

    11. Next Turn the firewall down.
    12. Select the Internet Sharing wizard then share the connection between the LAN and the wifi.

    Hopefully this will work.

  5. #5
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thanks Derter and Razor, it's great to have some backing on this one

    I was pretty much trying along those lines with OpenDNS and ICS.

    Razor the extra step (12) of running the IC wizard got me a bit closer...
    I now get "No route to host - Host is down" when I ping from the
    vt100...still no internet though

    Derter I tried with MagicDHCP as well...boy this program is complicated!
    Anyway, I got it running and got an IP etc on iPhone but still same results
    as b4. I guess it's not the iPhone's fault or the wired connection but
    rather something related to the wireless adaptor.

    Once again many thanks guys...back to the fight now


  6. #6
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    hmm....seems problem has to do with the router between LAN and Wi-Fi after all...
    can ping the iphone even when I'm not connected to the LAN so Wi-Fi and iphone communicate allright. I tried to restore windock in case this was the problem but no luck...I'll let you know if I manage to get it working.

    update:

    I also managed to connect with Winscp...good connection speeds but after a while I get this:

    Host has not answered for more than 15 seconds. Warning: aborting this operation will close connection.

    ai, ai, ai ....
    Last edited by wormhole; 01-31-2008 at 02:26 PM.

  7. #7
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    104
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by wormhole View Post
    hmm....seems problem has to do with the router between LAN and Wi-Fi after all...
    can ping the iphone even when I'm not connected to the LAN so Wi-Fi and iphone communicate allright. I tried to restore windock in case this was the problem but no luck...I'll let you know if I manage to get it working.

    update:

    I also managed to connect with Winscp...good connection speeds but after a while I get this:

    Host has not answered for more than 15 seconds. Warning: aborting this operation will close connection.

    ai, ai, ai ....
    fisrt connection with winscp take about 40 second.
    if the connection crash you have a firewall running on the router(or xp) that stop connection.
    you have to open the port on the router for winscp to work.
    I managed internet to work with ics and a bridge + OpenDns.
    I also made magicdhcp to work + opendns
    try with a static bridge and with a dhcp bridge and always Opendns.
    Once you get connection,you can try your default dns.

    anyway,if you get it to work the connection result unstable,at least in my case.

    I know that you don't wont spend money,but the best solution is to buy an access point,or a dsl wi-fi modem/router.

  8. #8
    Newbie Array

    Join Date
    Jan 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    my bad about the winscp connection...
    it turns out it only hangs when I try to copy files from the iphone that it needs for the wi-fi connection. Otherwise I managed to download the whole iphone disk on my PC and upload ~60Mb to the iphone with no problems.

    I have no firewall running at all...the problem I thing has to do with the way my wi-fi adaptor communicates with the LAN adaptor. The Wi-Fi to iPhone connection works fine. I also figured that's quite a common problem. I'll give it another shot and try with a wireless router this weekend. If I don't get it to work and I see some light with the router then I'll buy one myself.

    For the moment I'll try the bridge solution that you suggested. By the way, on the iPhone do I set the router IP address to the one of my wireless adaptor (192.168.1.10)? Once again grateful 4ur help mate! Cheers

  9. #9
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    104
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by wormhole View Post
    my bad about the winscp connection...
    it turns out it only hangs when I try to copy files from the iphone that it needs for the wi-fi connection. Otherwise I managed to download the whole iphone disk on my PC and upload ~60Mb to the iphone with no problems.

    I have no firewall running at all...the problem I thing has to do with the way my wi-fi adaptor communicates with the LAN adaptor. The Wi-Fi to iPhone connection works fine. I also figured that's quite a common problem. I'll give it another shot and try with a wireless router this weekend. If I don't get it to work and I see some light with the router then I'll buy one myself.

    For the moment I'll try the bridge solution that you suggested. By the way, on the iPhone do I set the router IP address to the one of my wireless adaptor (192.168.1.10)? Once again grateful 4ur help mate! Cheers
    I had the same problem with winscp.

    when you open winscp in file protocol select "SCP".

  10. #10
    Senior Professional Array

    Join Date
    Nov 2007
    Posts
    104
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    For your internet connection:
    Post your lan adapter model.
    i'll check if is possible to install a driver with Soft Ap.
    So that it will work like an access point.
    i did it on Atereos adapter.


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Create Ethernet Bridge / Share Ethernet Connection with Wifi
    By bake7221 in forum AppleTV 2 (iOS based)
    Replies: 0
    Last Post: 06-21-2011, 06:14 AM
  2. Iphone 3gs: wifi internet sharing -possible?
    By bombjack in forum iOS 4.x (iPhone OS 4.x)
    Replies: 1
    Last Post: 05-04-2011, 11:08 AM
  3. Replies: 2
    Last Post: 06-03-2008, 08:49 PM
  4. Replies: 1
    Last Post: 09-01-2007, 11:08 PM
  5. Can't connect Iphone to Airport sharing ethernet - HELP
    By marciomilk in forum Archiv (Leopard)
    Replies: 0
    Last Post: 09-01-2007, 08:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 10:35 AM.
twitter, follow us!