From: Michael K. <mfk...@gm...> - 2008-10-21 17:08:21
|
On Tue, Oct 21, 2008 at 8:05 AM, nrg <nr...@co...> wrote: > Hi Guys! > > I would like to connect to Internet via GPRS. I use my old cell phone, > it works fine. I start the connection with "pppd call gprs" command > (there is an connect, disconnect chatfile, etc...). I've created a > little .sh that start this script and I've copy into /etc/init.d I'v > created also some symlinks into /etc/rc2.d and rc.local. > But there is no connection when I reboot my gumstix. > What should I do? How should I create this startup scripts? This is the method typically used on Debian-base systems. Add the following to /etc/network/interfaces auto ppp0 iface ppp0 inet ppp provider gprs The 'auto' directive will bring the interface up at boot time. Use the ifup/ifdown commands to control the interface while the system is running: ifup ppp0 ifdown ppp0 --Mike |