Making a dialer for Dial-up connection using java.comm api
hi,
I have made a dialer program for dial-up connection using java.comm API. The program is working perfecly well upto the username and password entry. After that i dont know how to switch over to the PPP mode. If anybody knows about this pls give the source code for the same.
Thanx in advance
Harish Kumar
Hi there,If possible can you send me a code example for the dialer. Any package info that you have used will also be fine.Regards,Ramakrishnan
If you get your dialup program up and running can you post the code?Thanks
ghaga at 2007-6-29 11:25:38 >

Try old school style before dialup networking was the thing send a String "PPP" over
ghaga at 2007-6-29 11:25:38 >

Hi
Even I have been working on almost a same project as mentioned by U. We have a working prototype ready for the javax.comm API. But still I think i would have to go thro ur code before actually saying where u missed out on the PPP code to be sent to the server.
Bye
Navin
Hi,
I also am coding a dialup program using the javax.comm api and I am trying to connect to an HP-UX server. The program is successful in dialing to the server but there is a problem in the validation of the password, garbage is returned after the password. Can you share a copy of your code?
Thank you very much!
Hi,
I also am coding a dialup program using the javax.comm api and I am trying to connect to an HP-UX server. The program is successful in dialing to the server but there is a problem in the validation of the password, garbage is returned after the password. Can you share a copy of your code?
Thank you very much!
Did u have a solution for dialing up using java.comm api.I have the same problem and will appreciate any help.
Hi,can you either post the code or send it to me?Thanks in advance,Katsi
katsi at 2007-6-29 11:25:38 >

I am working on a project that requires the server to dial into the client. I am new to this area and would like to have your guidelines on which area of Java that I should look into. I will perform research on the recommended area and may be having look at your code will help. Thank you.
hi can you plz send me the code if possible it would be very helpfull ,post the code to this emailid:thatsananth@hotmail.com /myidleo0011@yahoo.com thanks yours friendlyananth
Hi Harish
I read your query regarding Java Dialer. I am also working on the same , using Java.Comm
As you have mentined , i don't know what to do after i dial and line goes busy after user and password authentication.
I you have solved the problem , kindly let me know about it .
Thanks and Regards
Vikrant
Harish Can you please if you are able to switch to ppp using javax.comm.radha@motorola.com
radhay at 2007-6-29 11:25:38 >

I also needed the dial-up source code too as i developing the an application that is using a dial-up application. CAn somebody plz..kindly email it to me ............. : swira@das.com.mythanx..All
wwiras at 2007-6-29 11:25:38 >

Hi,So did anyone send any code ? I am just about to do this and if anyone has some sample Dialler code... then please let me know...Thanks in advanceBryan
Hi,I try to make a such class, but I have problem to connect to the provider :-(Can U please send me your code ?ThanxTom
ZeTom at 2007-7-1 3:34:11 >

you can use use this AT &F1DT9,P5551234&F1 restore factory settings
clugo at 2007-7-1 3:34:11 >

hi,can anybody send me the coding for telephone dialer. my email id is mdazeem@sify.com
hi,can anybody send me the coding for telephone dialer. my email id is mdazeem@sify.com
I am having the same problems. Please, could someone send a copy of the code?Thanks, best regards,Takeda.
hi,can anybody send me the coding for telephone dialer. my email id is tamash63@hotmail.com
Can anybody send me an example of a dialer for Dial-up connection using javax.comm?My email is macalic@hotmail.comThanks in advance. macalic
I would also appreciate a copy of the example code. My email is jian1247@yahoo.co.ukThanksjian
i too need source code for making a dialer.if u got it send to me plz
i too need source code for making a dialer.if u got it send to me plz
PPP is a crude form of HDLC. It encapsulates IP packets. PPP uses two types of authentication - PAP and CHAP. Std CHAP uses MD5 encryption while M'soft uses Algorithm 80. If you are using COMM API I would investigate PPP Design reference books to explain the detail of the authentication - hopefully including a state diagram of the process.
Otherwise connect using a Std OS package then use sockets.
Hi, Can U pl. send me the source code of the dialer and I'll try to improve upon it. acharyulug@rediffmail.com
If anyone has a code for making a dialer for Dial-up connection would you please email mexfarah@yahoo.comthanks
Using javax.comm for ppp dialup is the wrong approach. You need to write jni interfaces to a shared library (written in C/C++) for your platform.
I've written shared libs for ppp connections on both Windoze and Linux, with standardized interfaces so my Java apps can be used unchanged on either platform (sorry, can't share them).
You need to wrap the standard Windoze RAS API, or, under Linux, write a wrapper for pppd/chat.
Java will automatically adhere to the shared lib naming conventions for the platform it's running on. E.g., if you load library "dialup", java will look for "dialup.dll" on Windoze, and "libdialup.so" on Linux.
Hi !!!You it could give tips to me to also implemet? Type as to use jni, and since you ja obtained, could arrange me documentation! I am thankful since already!
Hi Chicks123,
I am working on a project to create a dialer for accessing Internet. This customer can access the net through a simple click that takes in Username and Password. The application should then check the data cable connectivity and only then dial out. If the connectivity is not proper, an error msg should be shown
Once connected it should show a graphical display of the bytes received & transferred.
The application should run across all platforms windows & linux
I am pretty new to this area and would like to have some guidlines as to how this can be created.
Maybe some Whitepaper or documentation on how to proceed in order to achieve this.
Any information like reading material / sites etc which might be helpful can be forwarded to mario_c_noronha@yahoo.com
Thanking you in advance
mnrio at 2007-7-1 3:34:12 >

Hi. I am doing a project in which i need a simple Dialer Code in JAVA. This code should just extract a number from a variable String or Array of int type and dial that no automatically. My email address is: wardausmani@yahoo.com & warda_usmani@yahoo.com
Hi I am working on a similar project . Did any one got the code. If so cld u pls mail me to it_kumargt@yahoo.com
could you please share your code?thanks.
Though platform dependent, you can use this, and make a workaround to make it platform dependent: (using scripts)
http://www.rgagnon.com/javadetails/java-0014.html
Here you have more information on how to create DUN scripts on msdos:
http://www.geocities.com/pablito128/index.html
The web is in spanish, but the tutorial is in english.
Good luck!!
Please do send me sample code so that i could work on that and improve that. nilanka_34@yahoo.com
see http://www.jmethod.com they've got dial up api that could help you
alnik at 2007-7-1 3:34:12 >

hi,can anybody send me the coding for telephone dialer. my email id is rajiv_kasun@yahoo.com
I am developing dialer for dial-Up connectionfor one of the call centerusing Java
please can u help in doing my job done . I saw in the Forum that java.comm api should be used in developing the project .
I need more help from all of you and your knowledge
thanks in advance
Hi All,I urgently require the code for writing a Dialer for dial-up connection using java in my project.Please any one help me out in this...regardsPrakash
Hi everyone, I m trying to build dail-up connection using java, can any one send me example code. My e-mail id => divz_magic@rediffmail.comthnx all.
it is really amazing..... this topic contains 5 pages of replies... and most of the replies just asking for source code :Dit shows me that creating java API for PPP connection is truely a big market opportunity :D
rtery at 2007-7-1 3:34:12 >

Everything explained (especially look at the last page): http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdfLast page link: http://www.java2s.com/Code/Java/Network-Protocol/JModemsimplecommunicationsprogram.htm
lnxnt at 2007-7-1 3:34:13 >
