Lines Matching defs:command
2 * the pppd from the command line.
176 char command[64];
246 sprintf(command, "route add -host %s dev %s", getGateway, wan_ifname);
247 system(command);
249 sprintf(command, "route add default gw %s", getGateway) ;
250 system(command);
267 sprintf(command, "route add -host %s dev %s", getGateway, wan_ifname);
268 system(command);
270 sprintf(command, "route add -host %s gw %s",
272 system(command);
289 char command[64];
311 sprintf(command, "route add default gw %d.%d.%d.%d",
313 system(command);
319 sprintf(command, "route add -host %s gw %d.%d.%d.%d",
321 system(command);
619 /*** get the ipaddress coming from the command line ***************************/