--- Márcio Pedroso <[EMAIL PROTECTED]> escreveu:
> desculpe, mas nao consegui compreender o que o post-up faz... e nem
> com se
> usa o mesmo... mas tentei acessar usando o ping o site do google e
> nada...
> to na luta 

á executou 
man interfaces.

e leu a documentação oficial? 

um trecho do meu interfaces para você dar uma espiadinha e tirar suas
proprias conclusoes: 

auto eth0
iface eth0 inet static

address 172.23.26.32
netmask 255.255.255.0
network 172.23.26.0
broadcast 172.23.26.255
gateway 172.23.26.1
pre-up  ifconfig eth0 hw ether 00:E0:4C:78:50:EF
up /etc/network/firewall.sh start 
post-up echo | mail -s "interface eth0 ativada" [EMAIL PROTECTED] 
down /etc/network/firewall.sh stop 
post-down echo | mail -s "interface eth0 desabilitada" [EMAIL PROTECTED]

[ ]s, Henry


__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a