Skip to content
Advertisement

Tag: pppd

How to initialize pppd connection witsh RS232 modem?

I trying to run the pppd daemon on my embedded board. When I connect the modem to USB and run “pon provider” the initialization is correct (I get the IP address and in “ifconfig” I have ppp0 interface) “provider” file: “mobile-modem.chat” file: However, I would like to run pppd on the serial port over RS232 (ttyO1 or ttyO2). To do

Calling pppd within C program blocks the thread

I have a script which I call from within the C program. I do this before I start the threads as I need the ppp link up before these threads start. I do the below: I tried calling the script within a thread-1 like below: On the success of the script, I get below: After the above, no code beyond

Advertisement