At this point, you’re speaking directly to the
# This connection will remain open until the other side disconnects or you tell the PPP daemon to disconnect. Unfortunately, there is no simple command to terminate a backgrounded PPP(8) daemon cleanly. You have to send it a HUP (hang up) signal. # ps -ax | grep ppp 10137 ?? Is 0:00.01 ppp -background AbsoluteOpenBSD # kill 10137 # While the “kill” command will return immediately, PPP will need to take a few seconds to actually bid farewell to your ISP and hang up. In a moment or two, however, you should notice the PPP process disappearing. # ps -ax | grep ppp # On-Demand Connections An on-demand connection waits until you requires network access, then dials your ISP and hooks you up to the Internet. It remains connected until the line has been idle for a certain length of time. You tell ppp(8) to run in on-demand mode with the “-auto” flag. # ppp -auto AbsoluteOpenBSD Working in auto mode Using interface: tun0 # The PPP daemon will wait in the background, idle, until you try to access the Internet. You will notice a delay in accessing the Net while your modem connects and PPP(8) negotiates with the ISP, but it will work. The connection will terminate once no data has been transmitted for a number of seconds equal to the timeout value in the connection description. When you want to terminate the connection, you need to kill the ppp process as for background connections. No An te y out bo un d pa ck ets will ca us e an on- de ma nd co nn Page 184
Note: If you are looking for high quality webhost to host and run your jsp application check Vision jsp hosting services