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
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?
Thanks and regards,