Part of my work in network administration is to locate and deal with "rogue" access points that might comprimise network security. Currently I'm using a Sharp Zaurus with Kismet to do this, but I don't always carry it with me and I DO always have my Cingular/AT&T 8525. I basically need a program that will capture all packets from the air into a file that can later be analyzed with Wireshark (Ethereal).
Yesterday I did a search of the Hermes threads looking for such a program and found several for MW5 and TyTn, (which I assume is another Hermes phone). None of them work, because they can't/don't put my WIFI interface into promiscuous mode.
From what I have read, it seems that the wireless drivers are the key here. I'm currently running ROM version vp3G 3.0.0 with Radio 1.41.00.10, which I downloaded from a link found here. Previously I had used several others of the excellent WM6 ROMs available on this forum, but never tried using the 8525 as a sniffer with any of them.
Question: Does anyone know of a ROM/software configuration for the 8525 that will allow promiscuous sniffing of WI-FI networks?
TIA
Walt
Damn, u want your phone to launch missles or something too?
yea and i want an tool to sniff the password of wpa-psk TKIP
thats where the best moment of my life.
Long as we are making requests, I need a packet sniffer that works for the gprs radio of my phone, not the wifi radio. Is there such a creature?
I am no pro at wifi sniffing, but this program had a promiscuous mode, I think.
http://www.airscanner.com/downloads/sniffer/sniffer.html
Long as we are making requests, I need a packet sniffer that works for the gprs radio of my phone, not the wifi radio. Is there such a creature?
I am no pro at wifi sniffing, but this program had a promiscuous mode, I think.
http://www.airscanner.com/downloads/...r/sniffer.html
Yesterday 12:23 PM
Click to expand...
Click to collapse
Now that WOULD be cool! Maybe illegal? Would sniffing data from a cellular connection be the same thing as a cellular wiretap?
I did try AirScanner, and it's a great sniffer, but it won't put the wireless I/F into promiscuous mode, so I can only look at packets addressed to my device.
What I'm really trying to learn here, missles notwithstanding ;D is whether or not this is a hardware limitation. If not, then I will continue to look for software and/or ROM drivers that will work.
Walt
try aircrack
larsuck said:
Long as we are making requests, I need a packet sniffer that works for the gprs radio of my phone, not the wifi radio. Is there such a creature?
Click to expand...
Click to collapse
Not sure what you'd achieve, as encryption is negotiated between each SIM and its authorising server. Intermediate equipment only gets to see the encrypted stream. Even if your chipset was capable of full-time reception, your battery would go down a lot quicker, and all you'd see is how many channels and timeslots are in use, if that!
I need to sniff the ip info of my data connection. I have tried almost every other means of getting it and am at my wits end. I figured it was probably encoded, but at this point I am grasping at straws.
I have used VXsniffer before (http://www.cambridgevx.com) on one of my Ipaq PDAs and it worked great but that was about 2 years ago. I have not been able to find any intrusive "sniffing" programs that have worked on my Tytn but there are tools out there that work with the current ROMs (VP3G's and Schaps) that are like Ministumbler and will show you AP locations. (Wififofum and SniffThis come to mind) They have their bugs but in general they work.
I searched for days when I first got my Tytn for an intrusive sniffer and never found anything.
Brad
I've used WiFiFoFum and Mini Stumbler (off-shoot of network stumbler). I can't say from memory if they do promiscuous or just passive scanning, but both produce results that can be analyzed in NetStumbler or Ethereal.
-Steve
walts said:
Part of my work in network administration is to locate and deal with "rogue" access points that might comprimise network security. Currently I'm using a Sharp Zaurus with Kismet to do this, but I don't always carry it with me and I DO always have my Cingular/AT&T 8525. I basically need a program that will capture all packets from the air into a file that can later be analyzed with Wireshark (Ethereal).
Yesterday I did a search of the Hermes threads looking for such a program and found several for MW5 and TyTn, (which I assume is another Hermes phone). None of them work, because they can't/don't put my WIFI interface into promiscuous mode.
From what I have read, it seems that the wireless drivers are the key here. I'm currently running ROM version vp3G 3.0.0 with Radio 1.41.00.10, which I downloaded from a link found here. Previously I had used several others of the excellent WM6 ROMs available on this forum, but never tried using the 8525 as a sniffer with any of them.
Question: Does anyone know of a ROM/software configuration for the 8525 that will allow promiscuous sniffing of WI-FI networks?
TIA
Walt
Click to expand...
Click to collapse
I have never heard of promisc mode being possible on any WM device. I believe i've read that it is in fact a hardware limitation. but who knows, with all the hacked drivers that float around maybe someone will get around this.
now that i mention it... it could be sufficient to disassemble the wireless drivers / ip stack (they are NOT on the radio rom) and NOP out the function that checks the mac address. or change the branch instruction at the end of it to "always execute" as if it were matching the device's own mac address. hmm. it wouldn't be true promisc mode, but it could work.
think i might give it a go myself.
in the mean time, if youre concerned about rogue APs on your network, check out my recent post about my discovery of how to enable Internet Sharing over WiFi (turns the phone into an Access Point):
http://forum.xda-developers.com/showthread.php?t=332360
not directly related, but might be of interest.
fluxist
larsuck said:
I need to sniff the ip info of my data connection. I have tried almost every other means of getting it and am at my wits end. I figured it was probably encoded, but at this point I am grasping at straws.
Click to expand...
Click to collapse
Tried vxIPConfig from Cambridge (http://www.cambridgevx.com) ?
gregnash said:
Tried vxIPConfig from Cambridge (http://www.cambridgevx.comhttp://www.cam.com) ?
Click to expand...
Click to collapse
Looks like it could be a winner. Since I do not know enough of the teck behind it all, if someone tries this out and it works out, report back your findings for the rest of us
GB
walts said:
Question: Does anyone know of a ROM/software configuration for the 8525 that will allow promiscuous sniffing of WI-FI networks?
Click to expand...
Click to collapse
For trinity and hermes, I've found nothing. Drivers... you know
But Airscanner is the best, I'm using it on an Ipaq...
Ciao
larsuck said:
I need to sniff the ip info of my data connection. I have tried almost every other means of getting it and am at my wits end. I figured it was probably encoded, but at this point I am grasping at straws.
Click to expand...
Click to collapse
try to tether and run www.speedtest.net unless your network is on a proxy
from your computer it will be easy to dermine the IP. www.speedtest.com is easy because it tels your speed + ip and carrier connection
gemblaster said:
Looks like it could be a winner. Since I do not know enough of the teck behind it all, if someone tries this out and it works out, report back your findings for the rest of us
GB
Click to expand...
Click to collapse
vxIPConfig is not a packet sniffing tool like Wireshark (Ethereal) or the like. It gives you "ipconfig /release" and "ipconfig /renew" functions and can give you TCP, UDP and IP stats but can’t actually capture the packets and view the encapsulation headers.
AirScanner and vxSniffer are the only 2 moderately priced utilities that can do that for WindowsMobile that I am aware of.
Park City said:
vxIPConfig is not a packet sniffing tool like Wireshark (Ethereal) or the like. It gives you "ipconfig /release" and "ipconfig /renew" functions and can give you TCP, UDP and IP stats but can’t actually capture the packets and view the encapsulation headers.
AirScanner and vxSniffer are the only 2 moderately priced utilities that can do that for WindowsMobile that I am aware of.
Click to expand...
Click to collapse
Just checked those two out and our Hermes WiFi adapter doesn't support promiscuous mode
Memnoch30 said:
Just checked those two out and our Hermes WiFi adapter doesn't support promiscuous mode
Click to expand...
Click to collapse
Is there anyone that understands the inner workings of our WiFi adaptors and drivers that may be able to shed some light if there would be a hack that would make our Hermes compatable with these programs? If so then maybe the search could be over . So far this looks like the closest it's come.
Sniffing
I also am in the field of network security.
I use Wififofum for searching and logging all wireless networks. It has filters such as show only non secure etc. It also has GPS log support. You can then convert the log files to upload as a overlay on google earth.
Airscanner works great on the trinity as a packet sniffer of the wireless.
Just my 2cents
It doesn't matter how many programs you try it won't work. Promiscuous mode is being prevented by the driver. The only possible work around would be if someone made a new driver using an open source driver. Since HTC has not released any open source drivers for their device I see no possible solution.
Related
Hey everyone. I'm looking for a way to turn my Hermes into a mobile hotspot. Be rather handy to make my PSP playable online wherever I happen to be sitting, like work for example....
Does anyone know of a way to do this? Internet connect allows me to connect via USB or Bluetooth, but not WiFi, so if there's a workaround or a magical piece of software that will allow this to happen, I'd love to hear about it.
Cheers team
This would be cool.. will also look now for something like this..
from my looking into the same idea it can't be done under windows mobile due to the MS TCP/IP stack.
maybe if linux for the Hermes gets serious then it will work but probably only multi client peer to peer mode rather than ap mode.
please pove me wrong as I think it is a killer app idea for 3G devices like the hermes.
Damn. How does the MS TCP/IP stack prevent it from doing that? I'm not questioning what you say, just wondering what the mechanics are that stop it? I'm realistic about what it could do, in that I'd only be able to connect one device at a time as opposed to it operating as a fully fledged router. I'm surprised this kind of functionality has been overlooked by Microsoft, as I'm sure other people who use WM devices would look for this kind of functionality also, not just people slacking off at work with a PSP or DS
The XDA gurus who figured out the VoIP over 3G or WiFi may have a deeper insight to this.
it is possible to use hermes as a router over bluetooth
kivimart said:
it is possible to use hermes as a router over bluetooth
Click to expand...
Click to collapse
Yes. It's possible to do this:
Internet<->RAN(3G)<->Bluetooth<->Laptop,etc
But I think the original poster is asking whether this is possible:
Internet<->RAN(3G)<->Wi-Fi<->Laptop, etc
..or at least that's what I would like to be able to do...
Of course
It's possible. So think about an ad-hoc network. PC-PC and internet sharing gets you out to the web.
Same kind of scenario could apply, but the device doesn't necessarily need to be able to complete the routes. The bluetooth PAN network already does this, and if you have 3G, WiFi isn't usually going to be connected to a network that's much faster.
Only problem the family will be upset when you leave the house, if that's a factor for your setup.
The Internet Sharing feature could be leveraged to provide this functionality, but USB and BT are the only ways to connect with the stock application. That would be an excellent basis for this new application, though.
silverfox0214 said:
The Internet Sharing feature could be leveraged to provide this functionality, but USB and BT are the only ways to connect with the stock application. That would be an excellent basis for this new application, though.
Click to expand...
Click to collapse
this has been poss for a long time by using a PC to do the DHCP and roting to share a WAN connection from the phone. The question (at least how I read it) is asking about the phone routing and sharing its WAN connection over wifi to one or more clients that may not even be PCs (game devices etc)
can't be done IMHO
Windows Mobile 6 devices offer Internet Sharing feature for Bluetooth and USB. It works in this way that you start Internet Sharing application inside of your Windows Mobile phone and then other devices can share the Internet connection. What if you could fool Windows Mobile phone and instead of Bluetooth use WiFi? Would it be possible? Yes, it is:
how to use Internet Sharing over WiFi, which essentially makes the 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).
I got this from a different website.
detailed information on this topic you can fined at
http://forum.xda-developers.com/showthread.php?t=332360
edward
Edward!! you rock! this has got to be the sweetest thing, since wm6..for me atleast, Im actually posting from my old hacked OSX x86, I really cant believe this worked, but it did.
Thanks a ton for sharing the info.
Edward, Can you plse explain why you set the wifi adaptor to a fixed IP?
The 192.168.1.1 is as far as I know only valid if the router has the 192.168.1 range. For me it should be 192.168.123. ...
Thx for an explanation.
a cab would be perfect!
Yes! A very nice feature; could this be put in as a cab?
Or better, in the comm manager.....
Anyone?
aeroke said:
Edward, Can you plse explain why you set the wifi adaptor to a fixed IP?
The 192.168.1.1 is as far as I know only valid if the router has the 192.168.1 range. For me it should be 192.168.123. ...
Thx for an explanation.
Click to expand...
Click to collapse
Your phone is now the router.
edward-riko
I tried the steps to the letter however, I am unable to connect. I tried on one device running Schaps 3.54c & the other vp3G. I get confused after I complete the step "select wireless tab then add new." The new wireless network shows unavailable on my device" I think I'm unsure how to configure the connection on the PC side. I'm unable to get the wireless configurator to allow me to input a specific IP address. I'm using Windows XP Pro. Any help would be greatly appreciated.
OK, I have been resisting, but why would you do this.
If you are using wifi to access the Internet, and the phone and PC both have wifi (in order to use wifi sharing), why not just access the wifi directly from the PC? Sorry to be thick, but I don't see why you would want this?
todd_jg said:
OK, I have been resisting, but why would you do this.
If you are using wifi to access the Internet, and the phone and PC both have wifi (in order to use wifi sharing), why not just access the wifi directly from the PC? Sorry to be thick, but I don't see why you would want this?
Click to expand...
Click to collapse
and if you don't have WiFi access to the Internet but only cellular access?
cp1md2b said:
edward-riko
I tried the steps to the letter however, I am unable to connect. I tried on one device running Schaps 3.54c & the other vp3G. I get confused after I complete the step "select wireless tab then add new." The new wireless network shows unavailable on my device" I think I'm unsure how to configure the connection on the PC side. I'm unable to get the wireless configurator to allow me to input a specific IP address. I'm using Windows XP Pro. Any help would be greatly appreciated.
Click to expand...
Click to collapse
play with this some more it will work in the end
do it systematically
edward
edward-riko said:
and if you don't have WiFi access to the Internet but only cellular access?
Click to expand...
Click to collapse
Hah! I knew I must have been missing something. Thanks.
WiFi & WM5?
Does this work on WM5? The instructions don't seem to match for me. Can someone tell me how to do this on WM5?
Nautme said:
Does this work on WM5? The instructions don't seem to match for me. Can someone tell me how to do this on WM5?
Click to expand...
Click to collapse
no it will not
THANK YOU
I have tried this out and it apprears to work pretty well- thank you so much, I had hoped this would be figured out. i had the idea to do this but not the technical know how.
This is awesome
but you know what would be also interesting?
to be able to share the wifi connection over Bluetooth or usb instead of the cellular.
Basically using the phone as a wifi adapter.
What say you?
titan 6800
Has any one gotten this to work with the 6800? The registry key for bluetooth is different.
Thanks
Garvin.
edward-riko said:
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).
I got this from a different website.
Click to expand...
Click to collapse
Actually, it came from this site - we've been discussing it for days in the Development and Hacking forum! It was in this post by Fluxist who'd discovered it in the first place, and the other sites have been following suit... we're working on a more elegant way to do it now. And you directly quoted his post!
I'm going to be trying to write a full-on NAT router for it I think, although we're seeing if we can do a basic version for now.
man, i cannot belive this..
that is amazing
N2A said:
Actually, it came from this site - we've been discussing it for days in the Development and Hacking forum! It was in this post by Fluxist who'd discovered it in the first place, and the other sites have been following suit... we're working on a more elegant way to do it now. And you directly quoted his post!
I'm going to be trying to write a full-on NAT router for it I think, although we're seeing if we can do a basic version for now.
Click to expand...
Click to collapse
i took it from PPCGeeks forum
http://forum.ppcgeeks.com/showthread.php?t=9340
sorry if i a fended you in any way and good luck with your work
edward
killershot20 said:
This is awesome
but you know what would be also interesting?
to be able to share the wifi connection over Bluetooth or usb instead of the cellular.
Basically using the phone as a wifi adapter.
What say you?
Click to expand...
Click to collapse
I was thinking the same thing. I frequently stay in foreign hotels in which are "unwired." I'd love to use my phone as the registered device when buying wifi so that I could make VOIP calls and check my e-mails on ground and tether it to my notebook back in the roam. In Dubai, you can get hooked for $30 a day for wifi.
edward-riko said:
i took it from PPCGeeks forum
http://forum.ppcgeeks.com/showthread.php?t=9340
sorry if i a fended you in any way and good luck with your work
edward
Click to expand...
Click to collapse
Heh, it's cool dude - PPCGeeks got it from us - but check your research ;-) No point having duplicate threads.
can someone help me finding network tools working with Kavana 040804?
need ping, tracert and WakeOnLan alternatives.
thanks.
try EM IP UTILITY
anyone succeeded to start network functionality under Pocket DOS?(or any DOS rom: msdos6.22, freedos1.0, etc)
kurilo said:
anyone succeeded to start network functionality under Pocket DOS?(or any DOS rom: msdos6.22, freedos1.0, etc)
Click to expand...
Click to collapse
I tried it but did not succeed yet.
I was a little disappointed with my Smartphone Dash at first because it didnt have networking capability built-in. But after purchasing a Bluetooth adapter it's not such a big deal any more. I can accomplish much of want I want to do via BT. For example, I was unable to set the Dash up as a WIFI internet access point but could easily set it up as a BT internet access point (PAN). So BT connectivity turned out to be the next best thing to having a PPC.
Thanks for the tip about the EM IP Utility! I was looking for something like that too.
I am using a custom wm 6.1 on my Hermes.
It also has internet sharing on wireless interface feature.
But how can I configure the Hermes as a wireless ap that would enable connection to itself ?
When I create a new wireless ssid with infrastructure (not ad hoc) settings, it is not enabled (because it can't find that ssid)
any ideas ?
shall I need a 3rd party software for this ?
Have you tried this yet?
http://forum.xda-developers.com/showthread.php?t=377047
zocster said:
Have you tried this yet?
http://forum.xda-developers.com/showthread.php?t=377047
Click to expand...
Click to collapse
Thanks but it says :
"ICS Control is a GUI front-end for Internet Connection Sharing, a component of Microsoft Windows Mobile. It can be configured to do a variety of things including sharing your cellular internet connection over an adhoc WiFi network."
So it des not support infrasttructure mode.
Pardon me i misunderstood you
http://forum.xda-developers.com/showthread.php?t=341398
http://forum.xda-developers.com/showthread.php?t=357152
wmwifirouter is a nice application but it also is limited with ad-hoc networks.
at least that's what I understand when I installed it.
is there an application that would work on infrastructure wireless mode ?
You will need:
Insulated pockets to stop your leg burning
10 batteries to get through the day.
patp said:
You will need:
Insulated pockets to stop your leg burning
10 batteries to get through the day.
Click to expand...
Click to collapse
good point
anyway, I would be happy if I could at least do it for 15-20 minutes when I need it. Not whole day
I guess we are out of ideas.
So can we say it is impossible ?
I also wrote to WMWifiRouter Support. Their reply is like "we are working on it but it is not likely to support infrastructure any time soon"
I just wanted to check again. in case, anyone has any other suggestions...
I found this one
http://forum.xda-developers.com/showthread.php?t=332360
zocster said:
I found this one
http://forum.xda-developers.com/showthread.php?t=332360
Click to expand...
Click to collapse
unfortunately , it is again describing "ad-hoc" mode use.
I need infrastructure mode.
mrmrmrmr said:
unfortunately , it is again describing "ad-hoc" mode use.
I need infrastructure mode.
Click to expand...
Click to collapse
Correct me if I am wrong I don't think the driver supports it.
zocster said:
Correct me if I am wrong I don't think the driver supports it.
Click to expand...
Click to collapse
I believe "nothing is impossible" ; it's just that there is no coder to write the code.
I have the latest Froyo6 build on my Froyo TP2 Rhod_100 UK
I have been trying to set up the VPN, but I can not get it working. Does anyone know why and how I can sort this out please?
PS. I also tried to run a VoIP (SIP) client (3CX) on the machine, but that too does not work.
My airtime provider is Vodafone UK and they have assured me that both are enabled on my account at a princely sum of £15 per month! Needless to say at that cost I am dead keen to make this work.
jonners59 said:
I have the latest Froyo6 build on my Froyo TP2 Rhod_100 UK
I have been trying to set up the VPN, but I can not get it working. Does anyone know why and how I can sort this out please?
PS. I also tried to run a VoIP (SIP) client (3CX) on the machine, but that too does not work.
My airtime provider is Vodafone UK and they have assured me that both are enabled on my account at a princely sum of £15 per month! Needless to say at that cost I am dead keen to make this work.
Click to expand...
Click to collapse
Can you get either to work on wifi?
I know there were some Chinese users trying to get the VPN to work, and couldn't.
I haven't tried, as I have no use for a VPN on my phone lol.
Also, I have known people to get SIP working, but it wasn't so great from what I heard...
Sorry I was not getting alerts and the thread was not showing up in my subs....
If I use WiFi then I am at home and do not need the VPN, but the SIP Phone DOES work and very well.
If I use the WM as a gateway for my laptop, then the laptop can run a VPN and SIP Phone via the phone. If that makes sense to you. Thus the Router running the VPN is working and the config works, and the mobile operator has set up the service. So this is just the phone settings - I believe.
jonners59 said:
Sorry I was not getting alerts and the thread was not showing up in my subs....
If I use WiFi then I am at home and do not need the VPN, but the SIP Phone DOES work and very well.
If I use the WM as a gateway for my laptop, then the laptop can run a VPN and SIP Phone via the phone. If that makes sense to you. Thus the Router running the VPN is working and the config works, and the mobile operator has set up the service. So this is just the phone settings - I believe.
Click to expand...
Click to collapse
If I had a VPN I could connect to I would test it out...
Maybe its a misconfiguration in Android? broken driver or config?
I do not know. It tells me nothing. The settings are as per the router config. How do I find out what is incorrect/broken etc...?
Can you give as many details as possible on the type of VPN I'm trying to connect to?
It's probably not working because none of the devs use that function - and can't debug it without trying to reproduce your setup.
I might play with it a little as it would potentially let me remotely schedule MythTV recordings safely, but it would be pretty low-pri for me.
I am using at this stage a simple PPTP setup for now. The Android settings are minimal - username and PW, and that is it.
But my laptop, which works has more settings o configure. I.e. MSCHAP and MSCHAPv2
Point to point MPPE
Security 128b and/or 40b
Allow BSD
Allow Deflate data comp
Allow TCP header comp
Does this help
OK, sometime in the next week or two I'll try to get PPTP up and running using similar parameters. I've been meaning to do it in general (not phone-related) for other reasons anyway - but it's been a low priority for a long time.
Entropy512 said:
OK, sometime in the next week or two I'll try to get PPTP up and running using similar parameters. I've been meaning to do it in general (not phone-related) for other reasons anyway - but it's been a low priority for a long time.
Click to expand...
Click to collapse
Why not OpenVPN? Seems like it would be easier/more standards-compliant that a craptacular PPTP VPN .
arrrghhh said:
Why not OpenVPN? Seems like it would be easier/more standards-compliant that a craptacular PPTP VPN .
Click to expand...
Click to collapse
I'll look into what VPN options Android supports - although for the OP, he may have specific reasons forcing PPTP.
arrrghhh said:
Why not OpenVPN? Seems like it would be easier/more standards-compliant that a craptacular PPTP VPN .
Click to expand...
Click to collapse
Because I am working with Draytek, my router. Vendor to set up the VPN and this was the. First config as it was the simplest. Seems everything else works, just. Not the. Phone. The phone too has PPTP as a standard setting.
Eh, I prefer to avoid PPTP like the plague if I have any choice. Most companies don't provide a choice, so I figured that's why you were locked in.
If you do have a choice, I would try something different. That's just me tho, I'd prefer open to closed any day if I had the choice .
Just a side note - the built-in Android VPN support uses pppd. The ril currently uses "killall pppd" to disable mobile data. If you're using both at once, then this will kill the VPN too. This is a stupid flaw in the current ril code, which is fixed in the "initpppd" branch of my ril repo. (But the initpppd branch depends on a number of rootfs fixes before it is usable, and stinebd has not merged any of it yet.)
highlandsun said:
Just a side note - the built-in Android VPN support uses pppd. The ril currently uses "killall pppd" to disable mobile data. If you're using both at once, then this will kill the VPN too. This is a stupid flaw in the current ril code, which is fixed in the "initpppd" branch of my ril repo. (But the initpppd branch depends on a number of rootfs fixes before it is usable, and stinebd has not merged any of it yet.)
Click to expand...
Click to collapse
Thanks for the reminder of that, I remember the discussions on the dev list.
I'm going to shelve poking at the VPN stuff until the RIL overhaul stabilizes and gets mainlined in this case.
Entropy512 said:
I'll look into what VPN options Android supports - although for the OP, he may have specific reasons forcing PPTP.
Click to expand...
Click to collapse
OK, please excuse slowness of response. As arrghh knows from another thread I am in transit across Europe. I reached my destination, Italy and have spent the past few days getting internet access *broadband virtually does not exist here unless you are in a City, so I have to use a very slow mobile broadband).
I am not a techie, but I am a willing player with some knowledge - dangerous, I know. I have been assisted by the manufacturer of my Router, a Draytek 2820 to set up a VPN. We may make it a more sophisticated VPN later, but pptp is the easiest. I have it working on all laptops and PCs, including this old banger here in Italy. What I can NOT do, is get it working on the phone. I think it is communicating with the router, but it is not getting through.
PS the PCs and Laptops are all Linux - Ubuntu 10.10
Hope this helps
I'm one of those Chinese who tried using VPNs on my Raphael, but failed of course. Actually, neither on WM, nor on Android, neither via pptp, nor via l2tp over ipsec. What I wanna remind is VPN on most Android roms on hd2 works fine, but some roms also cannot support vpn.
If you have enough time, I don't know how to pray for, would you please explore l2tp over ipsec? Because in many cities in China, pptp is also blocked by ISP. And I can provide a test account if anyone needs it.
Btw, I believe vpn is necessary when connecting a public wifi
Sent from my MSM using XDA Premium App
One more report, vpn in pptp could not work..
At this point - I'm going to hold off on poking at this until highlandsun's new RIL settles out and is officially committed. Some of the dev traffic correspondence indicates that the way we currently handle PPP is incompatible with VPNs. His new ril + rootfs combo that changes the pppd control architecture MIGHT solve some of the PPTP issues, I haven't tried them yet.
See it.
May your works come out soon~