We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I'm trying to setup PPP over NULL modem. Till now i can dial-in to my keil MBD2100 with LPC 2129, over a NULL modem cable in windows and get my http-server to show my index.htm.
When i setup incoming-connection in windows and use the following code, nothing happens:
<snip> init_TcpNet();
init_modem();
ppp_connect(NULL,user,pass);
while(1) { timer_poll(); main_TcpNet(); }
</snip>
Thanks
Akshat
Windows are not happy with only TXD and RXD
My connection is perfectly happy with RX, TX and GND.
@ Tamir,
are you using the PPP over NULL-MODEM? Are you dialing out to windows? If so, please help me with a step-by-step guide...
I'm able to dial-in into the keil board from windows using a "Direct cable connection b/w 2 comps..". But not the other way round.
Thanks and regards,
But what about the Windows PPP Dial-up networking? Have you tried it? I have and I had problems until I have connected also the missing RS232 signals.
Franc
OK to clear up some things here is what i did: WORKING: Under windows: 1. Installed a NULL MODEM. 2. Setup a new ppp dial-up connection using that modem. 3. Dial out using username-"Keil", password-"keil"
On uVision: 1. Setup ppp. 2. init_TcpNet() 3. init_modem() 4. modem_listem() 5. ppp_listen("","Keil","keil")
NOT WORKING: Under Windows: 1. NULL MODEM installed 2. setup "incoming connections" on COM1 3.Add a user to incoming connection - Keil(keil)
On uVision: 1. init_TcpNet() 2. init_modem() 3. tout=1; 4. while (1) { timer_poll (); main_TcpNet (); modem_dial(""); if(modem if (tick == __TRUE) { if (ppp_is_up() == __FALSE) { IOSET1 = 0x55<<16; if (--tout == 0) { /* Connect to PPP server. */ ppp_connect ("","Keil","keil"); tout = 50; } } else { IOSET1 =0X20000;//my own }
tick = __FALSE; } }
Suggestions? faults?