Re: lug-bg: dvb + squid
- Subject: Re: lug-bg: dvb + squid
- From: itodev@xxxxxxxxxx (Ivan Todev)
- Date: Mon, 28 Aug 2000 09:42:29 +0300
Problema se reshava eto taka:
pravish tri faila sqiud.conf squid.113, squid.114, squid.115,
konfigurirani za vseki transponder.
Odelno pravish tri faila SkyData.XXX, nastroeni
za vseki transponder, bez IPAdress =
pravish i edin fail tansp.num, koito sadyrja nomera na transpondera.
Sega e vreme da napisheh faila ip-up.local, koito se vika ot faila ip-up,
koilto se vika ot pppd. (pisha go po pamet, zatova moje da se naloji da go
proverish)
#! /bin/sh
# Tova e skeleta na /etc/ppp/ip-up.local.
# Triabva da opravish pytishtata i dr.
###################################
TRANSP=`cat tansp.num`
killall SkyData >/dev/ttyS10 2>&1
cp -p SkyData.$TRANSP SkyData.ini
echo "IPAddress = $4" >>SkyData.ini
SkyData >/dev/ttyS10 2>&1 &
cp -p squid.$TRANSP /etc/squid.conf
/sbin/init.d/squid reload >/dev/ttyS10 2>&1
# ili moje bi /etc/rc.d/squid reload
###################################
Sega s Alt-F10 minavash na 10-ta konzola i
gledash kvo stava, dokato se connectvash/rekonektvash
Ako imash problemi, shte ti izpratia moite failove,
koito sa nastroeni za SuSE 6.4 i rabotiat veche 1 mesec
sys SkyMedia 300D.
Uspeh,
Todev
Ilian Nickolov wrote:
> blagodaria vi mnogo za sichko koeto napisahte
> (Osobeno za P4 :) )
> znachi squid slojihme no se poiaviava edin problem:
> providera e netel.bg no te disconectvat usera na seki 2 chasa. znachi
> napravihme si go vednaga da reconectva no configa na SkyMedia 200 D iska
> postoianno da i se zadava tekushtoto ip. To se pravi vav edin ini fail i ne
> beshe trudno da go napravim da se samoupdate-va.
> Problema e slednia sled kato se napravi update na ip-to 2-3 pati squida dava
> slednata greshka:
>
> The following error was encountered:
>
> Unable to forward this request at this time.
> This request could not be forwarded to the origin server or to any parent
> caches. The most likely cause for this error is that:
>
> The cache administrator does not allow this cache to make direct connections
> to origin servers, and
> All configured parent caches are currently unreachable.
>
> ne znam ot kakvo e i kolkoto i da se macha da vdigna vrazkata otnovo kam
> dvb-to nishto ne stava (no vrazkata po dial-up si raboti). ako niakoi moje
> da pomogne shte sam mu mnogo blagodaren.
> i oshte neshto: tova e kogato se izpolzva transpondera na 12.640 Ghz, a
> kogato izpolzvam drug na 12.662750 se poiaviava i edna druga greshka koiato
> ia prashta squida na EOL i se poluchava kogato niakolko choveka natovariat
> vrazkata imam v predvid okolo 6-7 ne poveche.
> ako mojete da mi pomognete neshto pishete
>
> blagodaria na vsichki vi
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|