I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (for the Hermes). It should currently be "BTPAN1".
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc")
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. I imagine this will drain your battery in a hot minute, so bring your charger.
UPDATE (28-Oct-2007): Attached are some more beta releases of patched intshare.dll. I've created versions for most of the adapter names people have requested. By renaming this dll to intshare.dll and copying it to \Windows, Internet Sharing will use TIACXWLN1 (or whichever dll you use) when Bluetooth PAN is selected. I.e., if you use this, you will not need to make the registry changes above.
This will handle the registry part, but of course you'll still need to set up the ad-hoc network on your own.
UPDATE (03-Nov-2007): I've attached a beta version of the patched Internet Sharing app. It's in its own cab so it won't overwrite your existing IS. This app replaces Bluetooth PAN with 802.11b/g Wireless Ethernet. No registry hacking required. This app is well suited to replace the MS version on cooked ROMs.
If you use an adapter other than TIACXWLN1 then replace intshare.dll just as before.
UPDATE (08-Nov-2007): Attached is v 0.9.1 of the Internet Sharing Mod. This update addresses the 10 minute disconnect bug most people have experienced.
best,
fluxist
This is the first thing I'll try when i'm at home again!
I can't believe this! Waiting for this since i got my Hermes. Thx for this development. This is the greatest effort since Hard-SPL and WM6 upgrade.
Now I can connect my XBOX360 to the Internet without starting my PC and sharing it over PC-LAN. USB-Charger is at the Front of the XBOX360.
I hope it will work.
You said the Max-Connections can be reworked. Does this mean it will support Ad-Hoc AND WLAN-Routing to many recepients too?
This worked for me too on a Kaiser/TYTN II
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?
odessaranger said:
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?
Click to expand...
Click to collapse
not sure what you mean by replacing the connection. With ICS, obviously you cant share your connection over BT while sharing it over WIFI. and you can normally use wifi to connect to another computer by using an ad-hoc connection and manually entering a private ip on the same subnet for each computer.
this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....
boniestlawyer said:
this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....
Click to expand...
Click to collapse
Were you able to use more than one client connected?
I'll admit..when I saw this my first thought was that this was another "How can I do internet sharing via wifi" and the title was just misleading..instead I find myself very impressed with your accomplishment. Very well done! As a "hack" untill you figure out how to mod the dll which I'm sure is only a matter of time now that you have pointed everyone in the right direction, you can export the registry key for both the Bluetooth adapter and the Wifi one and "import" whichever one you want to use at a given time...it's not pretty but it should work.
Some issues of concern would be that the AP is wide open and can be connected to by anyone with no password etc...the bluetooth pairing allowed some security but using the wifi doesn't have the same shared key protection...or am I missing something obvious?
fluxist said:
I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
When I used it I was only able to get one client to connect, however there is a reg value, HKLM\Comm\BTPAN1\Parms\MaxConnections that may help if it is changed from 1 to 2 (or whatever). But I haven't tried.
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. So that's a good thing, although I imagine this will drain your battery in a hot minute, so bring your charger.
I was going to release a patched intshare.dll so that the normal Internet Sharing utility can do this, but I'm having trouble changing the section addresses in the dll to the right values after I add data. If anyone knows how to do this PM me and I'll give you the details.
best,
fluxist
Click to expand...
Click to collapse
thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist
I ran into same issue with XP internet sharing. Another workaround is to have a linux machine do NAT( since you can specify the IP used there) to whatever other clients you want and have it connected via bluetooth dun or bluetooth PAND (which is the solution I use to give internet to my replaytv and a couple of laptops in the house)...my edge connection is my main internet feed..a cacheing proxy such as wwoffle, squid of my personal preference "polipo" helps alot to when using gprs/edge etc since it helps with the latency.
fluxist said:
thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist
Click to expand...
Click to collapse
Impact on BT?
What a brill find. Well done.
Does it break anything with bluetooth?
Tx
can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)
if someone manages to get this working with xbox 360 make a tutorial plx ;D
superflysocal said:
can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)
Click to expand...
Click to collapse
thats what i wanna know , could i use my hsdpa connection via wifi to my psp?
I'll do a tutorial when i'm at home again. Maybe somebody with know-how can make a cab-file v1.0 for this "WLAN-Modem hack".
This surely will be a great app.
yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist
when you say click "IEEE 802.11b/g Compatible Wi-Fi" do you mean the wifi network adapters in my case would be "tiacxwln compatible wireless ethernet"? im trying it on a 6700 WM5
I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
Got it - except on my device it's Programs -> accessories -> IS
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
Check - but is the T1ACXWLN1 device specific? If so, how can I find the interface ID on my device?
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
For me it's settings -> connections -> network cards, but I don't have an IEEE 802.11 listed. I connected to an existing AP, and found that my 'SDIO WLAN Wireless Adapter' does receive a DHCP address, so I tried changing it to 192.168.1.1...
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
Found this and set up my WING-FI network.
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
The client PC connects to WING-FI, but never receives an IP address...
What could I be doing wrong? Is it the hardware ID in the registry? I've created the network with WPA, then after the connection problems, with no security - but still no change.
Thanks!!
Ryan
neonstorm said:
I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues...
Click to expand...
Click to collapse
Very likely the string TIACXWLN1 needs to be something different. Check HKLM\Software\WZCSV\Parameters\Interfaces\
There should be a key there with the name of your wireless adapter. It should end in "1".
And if not there, it should also be visible under HKLM\Comm\
Let us know how it works out.
EDIT: I just noticed you typed T1ACXWLN1. The string must be TIACXWLN1. That's "i" not one.
fluxist
I own a PPC6700 as well and I was able to get it working no problem other than the fact that our wireless adapter is not the same as the one mentioned. The reg edit is the same it's just the first network adapter in the list when you create the network settings.
fluxist said:
yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist
Click to expand...
Click to collapse
If you send me the dll I could look into it.
i have some experience with editing dlls.
good work man
Hi' all.
I use very often 2 Wifi networks. (Home & Work)
The problem is, the home network is configured so that a new ip is assigned each time i connect.
The work network is configured to use a static ip.
How can i configure the phone (Galaxy S II) so that i can access both networks without having to change all settings each time i connect to a different network?
Btw, i know all the parameters to configure each one correctly, i just can't make the phone remember the setting i want for each specific network.
estreito said:
Hi' all.
I use very often 2 Wifi networks. (Home & Work)
The problem is, the home network is configured so that a new ip is assigned each time i connect.
The work network is configured to use a static ip.
How can i configure the phone (Galaxy S II) so that i can access both networks without having to change all settings each time i connect to a different network?
Btw, i know all the parameters to configure each one correctly, i just can't make the phone remember the setting i want for each specific network.
Click to expand...
Click to collapse
buy a cheap router for your work's network
Tadaaaaa !!
http://www.askabouthugo.com/mobile-...ultiple-wifi-networks-with-static-ip-address/
vanvn297 said:
buy a cheap router for your work's network
Click to expand...
Click to collapse
Thanks for your response, but that's not really a solution for my case. I am new to the Android scene, so i thought i was being ignorant, but i realise that's not the case. Really odd android doesn't have the option for profiling wifi's. Nokia have it since they came with wifi conectivity.
estreito said:
Thanks for your response, but that's not really a solution for my case. I am new to the Android scene, so i thought i was being ignorant, but i realise that's not the case. Really odd android doesn't have the option for profiling wifi's. Nokia have it since they came with wifi conectivity.
Click to expand...
Click to collapse
Missed my post? Cause that's exactly what you're looking for and it's free..
maybe i'm stupid and cant find the setting but how is it possible this device does not have a static IP/dns setting? is there a way to set it up after rooting the device? i just got my NT today and this is a HUGE setback for me since my network is restricted to static IPs not DHCP. Network has 9 pcs/laptops, 6 phones, 3 VOiP, and 2 IPTV Devices. I was trying to get it on the network during initial setup and failed. googled and found a way to skip oobe. still didnt help me
TIA
m0000 said:
maybe i'm stupid and cant find the setting but how is it possible this device does not have a static IP/dns setting? is there a way to set it up after rooting the device? i just got my NT today and this is a HUGE setback for me since my network is restricted to static IPs not DHCP.
TIA
Click to expand...
Click to collapse
Not that I know of. Setting a static IP means that the device will only work on that WiFi network and no other (unless it uses the same IP range and mask, AND you guarantee that your static IP will not duplicate another on other networks).
Now, you may be able to guarantee this, but I think you can see that the average consumer (many Nook owners are not computer savvy, let alone network savvy) can get into trouble with a capability like this.
Further, every WiFi router I've seen, has the capability of assigning a specific DHCP IP address to a specific device, based on the MAC address. I would be very surprised if your network can't be easily configured to do the same.
The feature DeanGibson mentioned is called "DHCP reservation" on most current routers, or "static DHCP" for DD-WRT. AFAIK, older routers may not have that feature. I don't recall it for old Netgear and Linksys firmwares, may be others.
If yours don't, suggest upgrading to a new router. Abovesaid feature has most of the benefits of static IP (eg port-forwarding) but without the client-side setup hassle.
so the simple answer is no lol
pretty much sol at this point.. means i will have to reconfig yrs of work
i still think it sad that this device doesn't allow mean to set my own ip.
thanks to the both of you for your input.
Try either of these apps and see if they work for you.
Wifi Static
https://market.android.com/details?id=com.farproc.wifi.statIc
IP Manager
https://market.android.com/details?id=com.monkelabs.ipmanager
THANK YOU!
e.mote said:
Try either of these apps and see if they work for you.
Wifi Static
https://market.android.com/details?id=com.farproc.wifi.statIc
IP Manager
https://market.android.com/details?id=com.monkelabs.ipmanager
Click to expand...
Click to collapse
purrrrrrrfect
Wifi Static was zactly what i was looking for! THANK YOU!
Guys,
What {protocol : port}s need to be open for WiFi calling to work?
I can see on my home router:
TCP:any -> TCP:5061 - to register with WiFi calling server
UDP:any [high port]-> UDP:any [high port] – to place a call
I’m complete newbie on WiFi calling (and many other things).
Does anything else need to be opened?
Anyway to configure WiFi calling to use some shorter UDP range?
Not everybody is comfortable with opening whole UDP high port range, even if it’s for outgoing & single IP only…
If it’s relevant, I’m on 1.43.531.3
To mod: I did search forums, but there is nothing about exact ports for WiFi calling…
Ports can be whatever you set them to be. It shouldn't matter if your phone is already connected to your home network though
Sent from my HTC_Amaze_4G using XDA
Spastic909 said:
Ports can be whatever you set them to be. It shouldn't matter if your phone is already connected to your home network though
Click to expand...
Click to collapse
Where do I set ports exactly on Amaze?
ApokrifX said:
Guys,
What {protocol : port}s need to be open for WiFi calling to work?
I can see on my home router:
TCP:any -> TCP:5061 - to register with WiFi calling server
UDP:any [high port]-> UDP:any [high port] – to place a call
I’m complete newbie on WiFi calling (and many other things).
Does anything else need to be opened?
Anyway to configure WiFi calling to use some shorter UDP range?
Not everybody is comfortable with opening whole UDP high port range, even if it’s for outgoing & single IP only…
If it’s relevant, I’m on 1.43.531.3
To mod: I did search forums, but there is nothing about exact ports for WiFi calling…
Click to expand...
Click to collapse
Another alternative you can do is set up a static IP for your phone. Make sure you set a IP address that is a bit higher, such as 192.168.0.30 (this is only an example). You want it to be a bit high so DHCP won't accidentally assign the same IP to someone else that you already have. After that, just put your entire phone in DMZ in router settings. Meaning, it would make your phone (with the specific IP address) wide open to the internet, not anyone else.
ALSO, from what I've looked, you will have to open up UDP port 500 and UDP 4500. You don't need to create a range, but just set an individual rule to allow these ports.
Sorry to bother you with this, but I could not find anything remotely similar discussed anywhere.
My Sony Xperia S sometimes loses the default route for internet access.
The symptoms are:
- I can access all the local computers on the network just fine
- external web sites do not work
What I see when checking on the command line via "ip route" is
Code:
192.168.0.1 dev wlan0 scope link
Luckily my phone is rooted so I can just "su" and then
Code:
ip route add default via 192.168.0.1 dev wlan0
Afterwards, the internet access is working again for some time.
WiFI settings are set to a static IP address 192.168.0.11 with the default gateway configured to 192.168.0.1.
Why is the device losing the default route?
How can I prevent this?
Is there a file somewhere that needs to be changed for the route to persist?
I did not have this problem with Gingerbread. It started after upgrading to ICS.
Laptops work fine on the same WiFi network and do not lose internet access.
<Princess Leia voice>Please, XDAdevelopers, you are my last hope.</Princess Leia voice>
I'm having the same issue with my S after rooting/updating to ICE WIFI is still connected and LAN works ok, but no internet access turning WIFI on and off is the only way i can get it working
hope the is a fix
Sounds similar to an issue I was having as well. Actually, I was having it prior to the ICS update as well, i.e. with GB.
The only way I found to reliably get internet access on my SXS was to reconfigure my router to use DHCP, which was somewhat annoying. Had to reconfigure all my network nodes as well, of course, which were using static IPs.
Static IP had never been an issue with my old HTC Desire running GB (and earlier versions) or my ASUS Transformer with Honeycomb and ICS. Definitely seems to be SXS-specific.
I do not want to work through the hassle of changing the settings in my more than 20 devices on the network just to get this one working reliably.
Is there no other way than to switch on DHCP?
I tried DHCP and it didn't work for me.
and just because use run DHCP doesn't mean you would have to change all you devices, you can leave then as static.
I've been having the same issue on mine - did it occasionally on Gingerbread but has been noticeably worse on ICS - turning WiFi off then on again cures it 60% of the time, three off/on combos sorts it's 95% of the time
I noticed this week while visiting my parents that it worked first time every time, of course this is a DHCP setup!
I'll be setting my home router to give a fixed IP to my phone tonight - but that doesn't help at work where I need to override the DNS settings (don't care if the IP is dynamic or not - just need to use different DNS servers*!).
* And yup I have permission to do so - Facebook and a few others are crudely blocked using DNS, but authorised people are allowed access (basically so we can delete nasty posts) and this is over-ridden using static IP - gets annoying that Facebook trashes my authorisation when it falls in this blackhole.