SOLVED: USE USB-RNDIS-LITE FROM SYNCE'S WEBSITE
Now that the wmodem app has been pushed out in favor of 'internet sharing', how can we do this? I notice that the wmodem app still exists on my phone ( ppc 6800) but when i tap to open it nothing happens.
I have been playing around, and getting desperate here, since I seem to be the only one interested. They figured out the iphone in a matter of a week or so!
I was thinking maybe it was possible using the iphone technique by setting up a proxy on the phone and doing it via wifi, but the siftware is missing.
The only hope that I have now is to maybe utilize the program 'synce' to accomplish this. Since I heard pdanet tethers through an activesync connection (which is what synce does), maybe it'd be a matter of a few 'route' and 'iptables' commands.
One other note, my phone is recognized as different things depending on what option I have set in 'connections>usb to pc' with 'advanced network functionality' set to off, the ipaq driver gets loaded and this is how i can use synce. With the box checked it shows up as an eethernet rndis device and cdc_ether and rndis_host modules are loaded. however, when i turn on the internet sharing app it gets recognized as a whole different UNKNOWN device. Im thinking a patch to the right mmodules might fix this, and i'm not using the module usb-rndis-lite because it never worked for me, even though i saw a patch for that module that does just that, make the system recognize it as an ethernet device.
Someone else chime in here, I cant be the only linux enthusiast with a cell phone out there. We dont ALL live in the parents basement
I HAD TO EDIT TO SPECIFY I NEED A USB SOLUTION AND NOT BLUETOOTH
watson540 said:
Now that the wmodem app has been pushed out in favor of 'internet sharing', how can we do this? I notice that the wmodem app still exists on my phone ( ppc 6800) but when i tap to open it nothing happens.
I have been playing around, and getting desperate here, since I seem to be the only one interested. They figured out the iphone in a matter of a week or so!
I was thinking maybe it was possible using the iphone technique by setting up a proxy on the phone and doing it via wifi, but the siftware is missing.
The only hope that I have now is to maybe utilize the program 'synce' to accomplish this. Since I heard pdanet tethers through an activesync connection (which is what synce does), maybe it'd be a matter of a few 'route' and 'iptables' commands.
One other note, my phone is recognized as different things depending on what option I have set in 'connections>usb to pc' with 'advanced network functionality' set to off, the ipaq driver gets loaded and this is how i can use synce. With the box checked it shows up as an eethernet rndis device and cdc_ether and rndis_host modules are loaded. however, when i turn on the internet sharing app it gets recognized as a whole different UNKNOWN device. Im thinking a patch to the right mmodules might fix this, and i'm not using the module usb-rndis-lite because it never worked for me, even though i saw a patch for that module that does just that, make the system recognize it as an ethernet device.
Someone else chime in here, I cant be the only linux enthusiast with a cell phone out there. We dont ALL live in the parents basement
Click to expand...
Click to collapse
To quote Sherlock Holmes...."Elementary Watson"...you do a search.
I'll ignore the fact you posted the same thing in multiple places. I'll also ignore the fact you apparently can't be bothered to do a search on "linux internet sharing" and want someone else to do it for you.
http://forum.xda-developers.com/showthread.php?t=319978&highlight=linux
http://forum.xda-developers.com/showthread.php?t=318255&highlight=linux+internet+sharing
http://forum.xda-developers.com/showthread.php?t=324632
sorry to say, i've been googling this for weeks and it has eluded me. but thanks for the links, even though you decided to flame me. I'll check them out and report back if they work or not.
P.S. - I dont deny I also posted thisin the titan forum, I posted it here because obviously it gets more views here and it's not just a titan question.
Now lemme go see if any of your links actually work.. )
FIRST EDIT: Maybe I should have specified I need to do this via USB for 1: bluetooth is slower, when tethering to evdo, and 2: i dont have bluetooth.
My bad for not specifying but maybe you can be less snappy to me now. I imagine all your links are for bluetooth, i only checked out the first on so far, but we'll see. Im gonna edit my first post to say USB
watson540 said:
sorry to say, i've been googling this for weeks and it has eluded me. but thanks for the links, even though you decided to flame me. I'll check them out and report back if they work or not.
P.S. - I dont deny I also posted thisin the titan forum, I posted it here because obviously it gets more views here and it's not just a titan question.
Now lemme go see if any of your links actually work.. )
FIRST EDIT: Maybe I should have specified I need to do this via USB for 1: bluetooth is slower, when tethering to evdo, and 2: i dont have bluetooth.
My bad for not specifying but maybe you can be less snappy to me now. I imagine all your links are for bluetooth, i only checked out the first on so far, but we'll see. Im gonna edit my first post to say USB
Click to expand...
Click to collapse
Good luck with that..to my knowledge the usb drivers to connect to wm6 under linux don't exist because the usb connection is totally different for usb internet sharing than it was for USB dun. WM6 has not been around long enough for many people under linux to fool with it. The only options I can think of off top of my head is to try to force ndiswrapper into using the drivers that come with activesync 4.5 (that's where you'll have to extract the windows drivers) or run vmware or virtualbox which can both pass usb devices to a vm and have the phone be used by XP inside a vm..then set the linux box to use the xp connection as a gateway..a kludgy hack at best.
While the theoretical top speeds of EVDO do outpace bluetooth none of the articles I've read indicated people in real life situations had been able to GET these speeds from their provider. If you can, more power to you. For my use of edge the $5 bluetooth dongle was alot easier.
I also had an idea to use ndiswrapper as well, wasnt real sure of the drivers to use. I was aware of the internet sharing app changing device id's and it not acting as a modem.
But, as you'll see in my first post, the phone is recognized as a usb rndis device. you can see this by looking at the tail of dmesg. It's just that when you start the internet sharing app, the phone changes its device id again. Also as I already stated, there is a patch for the usb-rndis-lite driver that comes with synce, that supposedly makes the box recognize it as an ethernet device while in internet sharing mode, so maybe its a matter of putting some device id's into cdc_ether.ko or corresponding module.
Another idea, would be to somehow get the wmodem app working on the phone itself, as I said it's still there in wm6, it just wont start. I have also seen in the phines registry plenty of reference to the phone acting as a modem so the framework is still there as well, ITs just a matter of getting the wmodem app going! Probably a registry key somewhere. In fact in the WMODEM registry key itself, the one you use to disable NAI, here is a key called WMODEMDUN, but every time i set it to one from the default zero it changes back. I hate to buy a bt adaptor for only this reason when i know there is an existing solution for usb out there, but yeah you're right..wm6 just hasnt been around long enough
So in short, with wm6 the phone emulates a usb rndis ethernet device instead of modem, it actually shows up as eth1 on my box, but when i start the internet sharing app the device id changes to an unknown one.
Also i wanted to add, I have definitely tether with xp and virtualbox easily, been doing that since i got the phone, so to anyine windering it's possible for sure. would be perfect if i could route that back to the host os.
watson540 said:
I also had an idea to use ndiswrapper as well, wasnt real sure of the drivers to use. I was aware of the internet sharing app changing device id's and it not acting as a modem.
But, as you'll see in my first post, the phone is recognized as a usb rndis device. you can see this by looking at the tail of dmesg. It's just that when you start the internet sharing app, the phone changes its device id again. Also as I already stated, there is a patch for the usb-rndis-lite driver that comes with synce, that supposedly makes the box recognize it as an ethernet device while in internet sharing mode, so maybe its a matter of putting some device id's into cdc_ether.ko or corresponding module.
Another idea, would be to somehow get the wmodem app working on the phone itself, as I said it's still there in wm6, it just wont start. I have also seen in the phines registry plenty of reference to the phone acting as a modem so the framework is still there as well, ITs just a matter of getting the wmodem app going! Probably a registry key somewhere. In fact in the WMODEM registry key itself, the one you use to disable NAI, here is a key called WMODEMDUN, but every time i set it to one from the default zero it changes back. I hate to buy a bt adaptor for only this reason when i know there is an existing solution for usb out there, but yeah you're right..wm6 just hasnt been around long enough
So in short, with wm6 the phone emulates a usb rndis ethernet device instead of modem, it actually shows up as eth1 on my box, but when i start the internet sharing app the device id changes to an unknown one.
Also i wanted to add, I have definitely tether with xp and virtualbox easily, been doing that since i got the phone, so to anyine windering it's possible for sure. would be perfect if i could route that back to the host os.
Click to expand...
Click to collapse
You can route it back to the host by running a proxy and/or bridging the interfaces (virtual box.org has instructions on that).
Certain versions of AKU 3.0 and up come with a wmodem app that still has usb and infrared (not bluetooth) in addition to the internet sharing. They may still use the old method and you may be able to use them as a model to get it working on yours. If I remember correctly the NBD wizard rom had both internet sharing and a modem link application like that.
I can tell you this..DON'T try to flash a rom onto your phone using virtualbox.
I might try to route it through virtualbox then, for now. I did try to google that as well but i couldnt think of any defining keywords.
For now, flashing is out of the question,,, because my phone is CID LOCKED? I'm not so sure of the terminology cause i just got into pda's. But I know atm I cant flash anything that isnt signed by htc. Its only a matter of time i'm sure/hope.
In the meantime, hopefully people that are too cheap to buy a bt adaptor such as myself might figure out how to run the wmodem app that exists already on the phone
Hey, I have a Mogul through sprint and actually pay the $40 a month for the PAM feature. It works great most of the time by USB tether, which I prefer because it keeps the phone charged. My problem is that after a random amount of time, sometimes a few minutes, sometimes an hour or so, the connection no longer sends or receives packets. the phone still reads connected, but the vista network connection status screen says (not responding) in the title bar. I've made sure my NDIS driver is up to date, and I've searched for other people who might have had the same problem, but all I can find are people troubleshooting methods to avoid paying for PAM. WMWifi and pdanet and stuff are great, but i need a hand with the legit PAM if anyone has any experience with it. (Oh, and my phone is running 2.17 rom and 1.47 radio that came on it)
Ok, so it seems to be that when I plug in the usb cable, even if I've already started the phone as modem connection, ActiveSync still starts, and vista doesn't always seem to give the pam connection priority. Is there any way to disable auto-start of activesync on the device? there is no activesync on vista, its their windows mobile device center junk and it has no options or preferences at all.
Mantaray52 said:
Ok, so it seems to be that when I plug in the usb cable, even if I've already started the phone as modem connection, ActiveSync still starts, and vista doesn't always seem to give the pam connection priority. Is there any way to disable auto-start of activesync on the device? there is no activesync on vista, its their windows mobile device center junk and it has no options or preferences at all.
Click to expand...
Click to collapse
I think there's an option where you can disallow USB connections. I'd try that. I've been using PAM on vista since we figured out how to beat the tethering charges using the reg hack with no problems. I have noticed that activesync tries to connect to it though, and usually what I do is have an active connection first, plug it in while I'm hitting connect and it usually works fine. You might try that too.
Good luck!
BTW, you might try updating your ROM to one of DCD's releases...they work much better than the stock rom IMO.
*edit* see my 2nd post. - for some reason the usb connection is broken
how do i do it?
many tells me just connect using usb, but what has to be done with my pc? shall I add anything, create anything?
bug???????
I have discovered that after under 3 minutes connected to internet using x1 as modem then the phone silently disconnected from windows and what's worse is that it won't be able to connect again not even charging unless I restart my windows
I haven't updated my ROM though...
how did you use the X1 as a modem? i tried, didnt work for me. Im using Vista as well.
edit: never mind, stupid question. sorry
I've never had the need to use WMWifiRouter as a 3G to USB connection, but my modem at home is dead and won't be replaced until Tuesday. 3 days is quite a ways to go without Internet! So, I used WMWifiRouter 1.51 to enable the 3G to USB connection for my desktop PC.
After I was done with the 'net, I turned off WMWifiRouter and unplugged my phone. I then realized I needed to upload a few things on my phone, so I plug it back in to use it as a storage device. Problem is, my computer immediately detects my phone as a tether rather than the storage device. I've enabled the option so my phone asks me what type of connection it wants to create, but my computer keeps forcing the tether instead.
I know it's the way my computer is seeing my Touch Pro 2, but I was hoping somebody else may have run into the same issue before and found a resolution.
Thanks in advance!
I just used WM last night as a test, and then finally sync'd up my outlook 2000 contacts and calendar today.
Are you absolutely sure that WM has stopped running? I know on my diamond, the task manager option would NOT show some running apps after it was running without a soft reboot for like 2 months.
I haven't tried a "storage connect" yet though, I don't think I've ever used that.
I am absolutely positive it has stopped running completely. I used the built-in task manager with SKTools to verify. Even after a soft reset on my phone, my computer still does it.
Like I said, I know it's just the way my computer is now detecting my phone, but I was hoping somebody here had the same problem in the past.
I find it a little funny... I used my phone as a temporary solution to not having internet at home and now it only leads to more problems
Try uninstalling the drivers that your computer installed for the TP2, it would be in the Control Panel->Device Manager . Honestly i have no clue which one they would be but by doing this your computer will have to reinstall the USB drivers for your phone and re-recognize your phone.
Tried it. My computer installed it as a modem, but uninstalling the drivers didn't help. My comptuer would still detect it every time and reinstall the modem drivers.
Hard resetting my phone fixed this. It's the worst solution, yes, but it still worked. Fortunately, it only takes about 20 minutes to get everything back in order once more.
Thanks for the help anyways.
UPDATE: Ran into the same problem again last night. Fortunately, I found a better solution.
I made the USB to PC connection automatically connect to ActiveSync and disabled "Enable faster data synchonization." Disconnected and reconnected my phone and I was able to use the Disk Drive option once more without having my PC automatically see it as a Windows Mobile Modem
I'm running ansar's Tango ROM currently and I never noticed this 'feature' before. I do NOT have any reception at work.. and I barely can get a 1x connection if I put my phone 46 degrees NNE of the window beside the stockroom(just saying here... no signal at all here lol). But anyway, I was connecting my HTC Trophy(Verizon) to the computer to sync some apps through ZUNE. Tested an app and noticed that I could get on the internet with my phone while connected to the computer. In otherwords, Reverse USB Tethering I guess. Like my phone was pulling internet from my computer here at work. Make sense?
Is this a standard WP7 Feature? or is this something ansar put in the Tango ROM? I was just wondering because this is an OMFG BEAST feature to have due to bad reception(and I do mean BAD) at my work area. Thanks.
Edit:
Might I add this as well.. If you disable the 'sync' screen in the WPTweaks app, you can download apps WAY faster by connecting USB then then downloading the app.
My phone has always pulled internet from my phone when connected via Zune, even on stock software
Thanks, I never noticed. I wonder how it works? is it the driver on the kernel or something?