Join Today
+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1

    Default usb network with java on a1200i (with GPRS deactivated)

    To use usblan with kvm on a1200i is just a matter of adding a default route.
    But, it needs that the GPRS be active.
    It is not confortable to have the GPRS connection alive (I can go to GRPS by mistake and pay for that).

    So I started working on the source of mack's fake_dsm.c.

    After 4 hours of hard working I managed to use usb network with java and with GRPS deactivated.

    The solution was to change fake_gsm to A1200i needs, the result is attached. Now I can network over USB without worring to go to the GRPS connection by mistake (I just run fake_dsm, keep the GPRS setting disabled and also choose an empty profile when connecting).

    The native Opera still doesn't work. I did not implement the message that Opera sends on every request (and also because of some $$$ - for the java part i just needed to test the handshake - and don't pay for that, but to test the ip request message I would have to make a real request).

    If someone wants to do a little more research, I've attached a dsm_spy.c program to inspect the protocol.

    To run fake_dsm just "run" (as a root of course).

    I don't know if it will work on A1200 but I think it has 99% chance (it has just few differences with A1200i - and I think it will not be on the dsm protocol). If it don't work on A1200 you can use dsm_spy to adjust the messages - it is easy.


    To use dsm_spy you need your GPRS connection alive (you will spend some $$$ to do the tests - of course, you can try 127.0.0.1 I don't know if it will work - maybe - but you have to have a local web server):
    1 - rename /tmp/dsm.ipc to /tmp/dsmbak (it is important that you rename the file to this name).
    2 - run spy_dsm
    3 - run the program you want to spy.
    4 - analyse the messages displayed on stderr.

    All messages are in Hex. All messages are preceeded by a description with the origin (from which socket it came) and the length.

    good luck.
    Attached Files Attached Files

  2. #2

    Default

    just to say that the test with opera mini succeded with the use of a proxy server (to resolv names instead of opera).
    just added a primary gateway address and port in the fake profile. actualy this is the proxy address as someone already mentioned here.

    This works very well with Java Applications.

    But, Opera Mini ALWAYS goes to server.operamini.com. Then, you can't access servers that are not on internet.

  3. #3

    Default

    Quote Originally Posted by CLOVIS KKK
    just to say that the test with opera mini succeded with the use of a proxy server (to resolv names instead of opera).
    just added a primary gateway address and port in the fake profile. actualy this is the proxy address as someone already mentioned here.
    Hi,

    I want to use my operamini to connect to a http server on my pc using USB Lan. i dont know if i understood very well, i guess it's what you did.
    I installed fake_dsm, started it, stated opetamini, then opera mini ask me for a Profile. I dont know what profile use and how to create one.What APN, primary gateway, etc should i use? Could you help me how to do it?

    thanks a lot

  4. #4

    Default

    you can put anything in the profile..the data will not be used. In addition you can turn off the GPRS if you want.

    And remember to use the USBLan IP address.

    ah, I put fake_dsm in a pkg if you want to start it easily...it is in the Java Player thread.

    But, Opera Mini ALWAYS goes to server.operamini.com. Then, you can't access servers that are not on internet. Then you need to put your site visible on internet

  5. #5

    Default

    and you can access ANY webserver if you install a Proxy Server in YOUR PC and put the IP and PORT in the PRIMARY GATEWAY field of the fake profile.

  6. #6

    Default

    Quote Originally Posted by CLOVIS KKK
    and you can access ANY webserver if you install a Proxy Server in YOUR PC and put the IP and PORT in the PRIMARY GATEWAY field of the fake profile.
    Thanks. I have everything you said, but it doesn't work. I have forgotten tell you i have an a1200 no an a1200i one. Does it work for A1200? (well actualy i´m not sure, the box says A1200 and the defult browser's about says A1200i)


    Opera shows me the error (error:3.0.4) i have a spanish version.

    Thanks

  7. #7

    Default

    Quote Originally Posted by jconde
    Quote Originally Posted by CLOVIS KKK
    and you can access ANY webserver if you install a Proxy Server in YOUR PC and put the IP and PORT in the PRIMARY GATEWAY field of the fake profile.
    Thanks. I have everything you said, but it doesn't work. I have forgotten tell you i have an a1200 no an a1200i one. Does it work for A1200? (well actualy i´m not sure, the box says A1200 and the defult browser's about says A1200i)


    Opera shows me the error (error:3.0.4) i have a spanish version.

    Thanks

    can you ping from your windows to the phone and vice-versa?

  8. #8

    Default

    Quote Originally Posted by CLOVIS KKK
    Quote Originally Posted by jconde
    Quote Originally Posted by CLOVIS KKK
    and you can access ANY webserver if you install a Proxy Server in YOUR PC and put the IP and PORT in the PRIMARY GATEWAY field of the fake profile.
    Thanks. I have everything you said, but it doesn't work. I have forgotten tell you i have an a1200 no an a1200i one. Does it work for A1200? (well actualy i´m not sure, the box says A1200 and the defult browser's about says A1200i)


    Opera shows me the error (error:3.0.4) i have a spanish version.

    Thanks

    can you ping from your windows to the phone and vice-versa?
    Yes, with SSHD in both ways. 192.168.16.1 the PC, 192.168.16.2 the phone.

    Thanks

  9. #9

    Default

    Quote Originally Posted by jconde
    Quote Originally Posted by CLOVIS KKK
    Quote Originally Posted by jconde
    Quote Originally Posted by CLOVIS KKK
    and you can access ANY webserver if you install a Proxy Server in YOUR PC and put the IP and PORT in the PRIMARY GATEWAY field of the fake profile.
    Thanks. I have everything you said, but it doesn't work. I have forgotten tell you i have an a1200 no an a1200i one. Does it work for A1200? (well actualy i´m not sure, the box says A1200 and the defult browser's about says A1200i)


    Opera shows me the error (error:3.0.4) i have a spanish version.

    Thanks

    can you ping from your windows to the phone and vice-versa?
    Yes, with SSHD in both ways. 192.168.16.1 the PC, 192.168.16.2 the phone.

    Thanks

    I don't know...works perfect here and for some friends.
    Try the fake_dsmA1200.pkg (inside fake_dsmA1200.zip). Click on the icon. Verify that it plays the din-don sound. Click on it again verify that it plays a different sound. Click again to play the din-don sound again (this sound is played when it is ON).

    I want you to try to make it OFF (the other sound) to be sure that fake_dsm remais up after startup.

    Turn it on again and try with opera mini.

  10. #10

    Default

    Quote Originally Posted by CLOVIS KKK
    Quote Originally Posted by jconde
    Quote Originally Posted by CLOVIS KKK
    Quote Originally Posted by jconde
    Quote Originally Posted by CLOVIS KKK
    and you can access ANY webserver if you install a Proxy Server in YOUR PC and put the IP and PORT in the PRIMARY GATEWAY field of the fake profile.
    Thanks. I have everything you said, but it doesn't work. I have forgotten tell you i have an a1200 no an a1200i one. Does it work for A1200? (well actualy i´m not sure, the box says A1200 and the defult browser's about says A1200i)


    Opera shows me the error (error:3.0.4) i have a spanish version.

    Thanks

    can you ping from your windows to the phone and vice-versa?
    Yes, with SSHD in both ways. 192.168.16.1 the PC, 192.168.16.2 the phone.

    Thanks

    I don't know...works perfect here and for some friends.
    Try the fake_dsmA1200.pkg (inside fake_dsmA1200.zip). Click on the icon. Verify that it plays the din-don sound. Click on it again verify that it plays a different sound. Click again to play the din-don sound again (this sound is played when it is ON).

    I want you to try to make it OFF (the other sound) to be sure that fake_dsm remais up after startup.

    Turn it on again and try with opera mini.

    Nothing, i have tried everything i can. I have fake_dsmA1200 installed, i did all the steps and the error is the same.

    I was looking the /tmp dir and found the file dsm.ipc is 0 KB, is that correct?

    Thanks. I appreciate your help.


 
+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. USB Network
    By missdellep in forum E6 General Chat
    Replies: 0
    Last Post: 05-11-2009, 06:31 AM
  2. A1200i como USB MODEM no Mac 10.3.9
    By Vandder in forum Brazilian Lounge
    Replies: 0
    Last Post: 11-20-2007, 02:52 AM
  3. How to set the GPRS network in Indonesia
    By effe in forum Symbian UIQ Symbian V7(A1000, M1000)
    Replies: 6
    Last Post: 07-21-2006, 05:34 AM
  4. GPRS via USB cable under Linux?
    By eugenia in forum E680i General Chat
    Replies: 6
    Last Post: 06-30-2006, 01:32 AM
  5. Various GPRS network settings
    By mrmarty13 in forum A780 General Chat
    Replies: 1
    Last Post: 04-16-2006, 12:16 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 Friendly URLs by vBSEO 3.6.0 RC 1