Join Today
+ Reply to Thread
Page 2 of 7 FirstFirst 123456 ... LastLast
Results 11 to 20 of 69
  1. #11
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: internet over usb/bluetooth

    ok to make a prog like gnubox we have to do:

    1. find out how the kvm is knowing that there is a gprs connection...
    2. find a way to fake the "gprs is online" settings
    3. code a prog that routes the traffic

    any suggestions on this?

  2. #12
    Join Date
    Aug 2005
    Location
    Pakistan
    Posts
    111

    Default Re: internet over usb/bluetooth

    I guess that CSD being dialup uses some form of PPP sort of protocol, from gnubox it looks like it is PPP. Now gnubox modifies the registry of the phone to prevent it from dialing and directly connect to the IP. Now I was able to run a hello world on my phone which ensures that my cross compiler is setup. However, I ran into the memory full problem and can not even change the ring tone or alarm time. So first I need to get familiar to this phone.

  3. #13
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: internet over usb/bluetooth

    hehe ok let me know if you could need some help... maybe i could code some classes you need or something other
    we are going to solve it!!!

    hm.. i think i will also install a crosscompiler today..

    to know where we have to edit the system settings, that kvm knows it's online, we should make a hole copy of the system files before a connections is opened and while we have one.. then we are able to make a diff and could maybe find out in which file we have to add/edit our fakeconnection, right?

    cu mightymop

  4. #14
    Join Date
    Aug 2005
    Location
    Pakistan
    Posts
    111

    Default Re: internet over usb/bluetooth

    I saw some files int NetProfile folder under /ezxlocal/... infact there is one file for every GPRS / MMS / WAP profile that I have, but I was unable to get the file over to my PC for inspection. But I now have some clue where to start.

    But my ultimate goal will remain the same, to get information about the phone's APIs so that we can move to OPIE as a replacement.

    Motorola tried to be smart. They left out the juicy stuff from the kernel and implemented things in user space no matter how simple ioctl(s) they are, they are probably out of the GPL scope so if you file a petition you can get the kernel and probably some EZX's modified qtopia info, but that won't be enough to move to OPIE

  5. #15
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: internet over usb/bluetooth

    yeah a completly new phone environment would be cool, but opie is not stable
    anough and still does not support all the phone functions we would need...

    what about a project to make a program like gnubox?

    mightymop

    ps: gnubox - Internet Access through Infrared or Bluetooth APs Documentation
    http://symbianos.org/~doxygen/cvsroo...tml/index.html

  6. #16
    Join Date
    Feb 2005
    Location
    The Netherlands
    Cell: E680 flashed to E680i
    Posts
    1,368

    Default Re: internet over usb/bluetooth

    Quote Originally Posted by tazzix
    I saw some files int NetProfile folder under /ezxlocal/... infact there is one file for every GPRS / MMS / WAP profile that I have, but I was unable to get the file over to my PC for inspection. But I now have some clue where to start.

    But my ultimate goal will remain the same, to get information about the phone's APIs so that we can move to OPIE as a replacement.

    Motorola tried to be smart. They left out the juicy stuff from the kernel and implemented things in user space no matter how simple ioctl(s) they are, they are probably out of the GPL scope so if you file a petition you can get the kernel and probably some EZX's modified qtopia info, but that won't be enough to move to OPIE
    Ah good to see someone who wants to switch to OPIE too. Damn i wish i could code a bit better.
    Yes, but does it run Linux?

  7. #17
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: internet over usb/bluetooth

    Quote Originally Posted by maxx_730
    Ah good to see someone who wants to switch to OPIE too. Damn i wish i could code a bit better.
    learn it

    everybody wants to have a new environment, 'cause the original is bad

    but we should begin with little steps and first try to get the existing environment working as we would like to have it...
    i mean: SURFING IN THE NET OVER BLUETOOTH OR USB!!!

    anybody with some infos about gprs and how kvm knows its linked to inet via gprs/csd out there?

  8. #18

    Default Re: internet over usb/bluetooth

    Faking a GPRS connection for KVM and Opera turned out to be trickier than I thought. Its not enough to have a GPRS connection running. These programs actually insist on routing through it, even if default route is set to ppp0 rather than gprsv0. Even renaming ppp0 to gprsv0 (by a kernel module) didn't do the trick.

    To make a long story short, I managed to get Opera and KVM talk to the internet via ppp0 (bluetooth) but in a messy way, and only if a GPRS connection exists (although no packets will be sent over it). I did it by using the netfilter layer to reroute packets to ppp0 right before they get transmitted, and faking incoming packets from ppp0 to appear as though they're coming from gprsv0. Works like a charm but a headache to configure. If people here want it anyway, I may write some scripts to do it, if there's enough demand. (PM me if you see a real need in this functionality).

    Note that mightymop's original question still stands. The way I did it is an ugly hack. If someone can find the way to tell internal applications not to insist on routing via gprsv0, it would be far better than my current solution.

    In the meantime, I got the other direction working. I added NAT support on the phone, and got my laptop connected to the internet via GPRS (over PPP over Bluetooth ). If anyone is interested in such functionality, PM me and I'll upload the scripts to do that. I think its is actually more useful than the above (NATting the phone behind the laptop). I any case, I managed to do both, as a proof of concept.

  9. #19
    Join Date
    Jun 2005
    Location
    Bangalore,India
    Posts
    93

    Default Re: internet over usb/bluetooth

    Quote Originally Posted by mack
    Faking a GPRS connection for KVM and Opera turned out to be trickier than I thought. Its not enough to have a GPRS connection running. These programs actually insist on routing through it, even if default route is set to ppp0 rather than gprsv0. Even renaming ppp0 to gprsv0 (by a kernel module) didn't do the trick.

    To make a long story short, I managed to get Opera and KVM talk to the internet via ppp0 (bluetooth) but in a messy way, and only if a GPRS connection exists (although no packets will be sent over it). I did it by using the netfilter layer to reroute packets to ppp0 right before they get transmitted, and faking incoming packets from ppp0 to appear as though they're coming from gprsv0. Works like a charm but a headache to configure. If people here want it anyway, I may write some scripts to do it, if there's enough demand. (PM me if you see a real need in this functionality).

    Note that mightymop's original question still stands. The way I did it is an ugly hack. If someone can find the way to tell internal applications not to insist on routing via gprsv0, it would be far better than my current solution.

    In the meantime, I got the other direction working. I added NAT support on the phone, and got my laptop connected to the internet via GPRS (over PPP over Bluetooth ) ). If anyone is interested in such functionality, PM me and I'll upload the scripts to do that. I think its is actually more useful than the above (NATting the phone behind the laptop). I any case, I managed to do both, as a proof of concept.
    Hey Mack,

    Please upload the scription as we like to definitly try out.. Persnally, I badly need it!!

    Thanks Dude,
    Regs
    Ravindran
    ----------------------------------
    Linux Rocks!!

  10. #20
    Join Date
    Sep 2005
    Location
    BorderlessLinuxWorld
    Posts
    110

    Default Re: internet over usb/bluetooth

    Gr8 mack! I would also love to have internet through bluetooth ppp0, but I don't have a GPRS. Is it possible without the need for GPRS? Am currently working on pppd running over windows, got modem connected (modem log on WinX says so) but no ip assigned to phone yet. Will post the same when am done, if anybody interested. If anyone already got it working, please let me know.


 
+ Reply to Thread
Page 2 of 7 FirstFirst 123456 ... LastLast

Similar Threads

  1. How Can I Connect to Internet Via USB?
    By d3m0n.67 in forum A1200 General Chat
    Replies: 0
    Last Post: 09-09-2009, 02:56 PM
  2. Internet via USB
    By domel003 in forum E6 General Chat
    Replies: 13
    Last Post: 10-15-2008, 01:33 PM
  3. Easy USB Internet
    By _Paradise in forum A780 General Chat
    Replies: 30
    Last Post: 09-01-2006, 04:12 PM
  4. e680i how to use internet through USB or Bluetooth?
    By samnet in forum E680i General Chat
    Replies: 8
    Last Post: 07-21-2006, 06:53 AM
  5. Connect Internet through USB cable?
    By NickyChang in forum A780 General Chat
    Replies: 4
    Last Post: 06-10-2005, 06:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1