Re: [wwwoffle]: works while online on ly after restart

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

 



On Saturday 03 March 2001 03:37, Indraneel Majumdar wrote:
> You need to run
> wwwoffle -online
> to start fetching pages when online. How are you starting wwwoffle, by
> /etc/ppp/ip-up.local ? You have to start wwwoffle (it will check if online
Yes I do. Here is what is done in /etc/ppp/ip-up.d/03wwwoffle:
		# Put wwwoffle in online mode
		wwwoffle -c ${WWWOFFLE_PROXY} -online
# temporary
/etc/init.d/wwwoffle restart
		# Optionally fetch marked pages
		if grep -qsx fetch ${optfile}; then
			wwwoffle -c ${WWWOFFLE_PROXY} -fetch &
		fi

The ${WWWOFFLE_PROXY} variable contains the path to the configuration file.

> and will go to offline mode if there is no internet connection) and then
> run wwwoffle -online when online. If online, wwwoffline when restarted
> will automatically start fetching (which is what is happening). Please add
> wwwoffle -online
> to your /etc/ppp/ip-up.local
> and
> wwwoffle -offline
> to your ip-down.local section.
And Here is what stands in /etc/ppp/ip-down.d/99wwwoffle:
		mode=offline
		if [ $PPP_IFACE = ippp0 -a -n "`isdnctrl dialmode ippp0 | grep auto`" ]; 
then
			mode=autodial;
		elif [ -n "`ps cax | grep diald`" ]; then
			mode=autodial;
		fi
		wwwoffle -c ${WWWOFFLE_PROXY} -$mode;
		# We index the cached paged from the last session and merge them
		# with the big wwwoffle-htdig index. This should be fast.
		[ -x /usr/bin/htdig ] && wwwoffle-htdig-lasttime; ;;

> HTH,
> Indraneel
>
> On Sat, 3 Mar 2001, Sangohn Christian wrote:
> > my wwwoffle proxy server only fetches pages (of course in online mode)
> > when I restart it (as mentioned while online) otherwise it does nothing
> > but to give me the following error on the xconsole as well as on a self
> > generated page: wwwoffles[873]: Cannot open the HTTP connection to
> > slashdot.org port
>
> 80; [Name Lookup Non-Authoritive Answer Host not found].
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux