[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wget and aptitude with ppp? (fwd)



On Sun, 25 Apr 2004, John Hasler wrote:

> Deboo writes:
> > How to set wget so that it can retrieve/download a list of files given to
> > it, as soon as the ppp connection starts?
>
> Put a script containing a call to wget in /etc/ppp/ip-up.d.
>
> > How to set aptitude to download and install packages that were previously
> > given, at start of a ppp connection?
>
> Please clarify.  You can put an apt-get command in a script in
> /etc/ppp/ip-up.d, but it's not clear what you are trying to do.

	Well, I have limited connection time to the net and so I kinda
	found a way to just "queue" the packages I want to download later
	when going online. I pass the package name to aptitude install and
	when aptitude asks me to confirm, I press Ctrl-C. Now next time when
	I go online, I just run aptitude -f install and it is ready to install
	anything I previously queued in to it. I would like to do this
	automatically when I go online. I guess what you suggest would
	work in this case too. Now, just have to figure out what to be put
	in the script. I'm not good at scripting.

Regards,
Deboo



Reply to: