Re: [FUG-BR] Arquivos sumidos com o NTFS e FreeBSD 5.4 - [RESOLVIDO] [BUG?]

2005-05-24 Por tôpico Celso Viana
poxa nenhum Translation para o portugues no link citado.. hahahah

Celso



Em 23/05/05, Alex S. Moura[EMAIL PROTECTED] escreveu:
 Ricardo Maia wrote:
 
  piff...
  cada uma viu...
 
  vou te explicar:
 
  usei uma giria, demorou, que significa poxa, legal, envie um e-mail
  para os desenvolvedores do driver ntfs comunicando o ocorrido.
 
  ok?
 
 Mais uma boa razão para todos terem certos cuidados básicos ao se
 comunicar...
 http://www.catb.org/~esr/faqs/smart-questions.html#writewell
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] [off-topic] de novo o historico da lista

2005-05-24 Por tôpico Márcio Luciano Donada
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 
 
 cadê êle? :(
 
 
 

utiliza o www.mail-archive.com e procura por FUG, grande parte das
coisas está lá.

[]'s
Márcio
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCkxMyyJq2hZEymxcRAreoAJ9Ym6EEw0UHc3jrztUChHxEA9oPLACeOIJh
k73xt0jq4ov+NWIdCCW87kY=
=qhGe
-END PGP SIGNATURE-

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Arquivos sumidos com o NTFS e FreeBSD 5.4 - (RESOLVIDO) (BUG?)

2005-05-24 Por tôpico Celso Viana
...inflexão da lingua falada.. gostei dessa...

Celso

Em 23/05/05, Julián Herrera[EMAIL PROTECTED] escreveu:
 Hehehehe
 
 Realmente não percebi o sentido. Foi mal. Mas também sem a inflexão da
 língua falada ficam confusas certas gírias!!! :P
 
 []'s
 Julián
 
 Ricardo Maia escreveu:
  piff...
  cada uma viu...
 
  vou te explicar:
 
  usei uma giria, demorou, que significa poxa, legal, envie um e-mail
  para os desenvolvedores do driver ntfs comunicando o ocorrido.
 
  ok?
 
  Ricardo.
 
 
 
 
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Bloquear por Mac

2005-05-24 Por tôpico Thiago Bernardi
rafael se vc dhcpd limite o ip ao MAC especifico, e trabalhe com o ip
do MAC adress especifico no ipfw, no dhcp ficaria:
host maquinaexemplo {

hardware ethernet 08:X:X:X:X:X;

fixed-address 10.X.X.X;

}

--
vc pode acrecentar tambem o tempo maximo e o padrão  para alocação,
qualquer duvida leia a pagina man do dhcpd.conf, caso queira utilizar
isso nativamente no ipfw tera que compilar o ipfw-2 se usar uma versão
do freebsd anterior a 5.2 desta em diante não e necessario, por
exemplo:

ipfw add deny ip from any to any MAC 08:X:X:X:X:X 09:X:X:X:X:X

aqui esta sendo limitado o trafego de dados da maquina co MAC 08:X
para a maquina 09:X e não o contrario, vc pode substituir o segundo
MAC por uma regra tbm.
boa sorte!


On 5/23/05, rafael [EMAIL PROTECTED] wrote:
 Qual Linha de comando que uso no rc.firewall para bloquear uma certa maquina
 por MAC adress ?
 
 
 
 
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] Controle de Banda

2005-05-24 Por tôpico Marcilio
Bom dia , gostaria de saber se tem como definir uma banda de conexão para um 
grupo de alias, hoje estou usando desta forma :
Para um único alias , se for usar com máscara 248, tenho que definir a 
velocidade para cada alias seguindo o modelo, tem alguma forma de definir os 
alias para compartilhar uma única velocidade ?
 
# SALA XX #
ifconfig rl0 alias 192.168.4.1 netmask 255.255.255.252
ipfw add pipe 5 all from 192.168.4.2/32 to any in
ipfw add pipe 6 all from any to 192.168.4.2/32 out
ipfw pipe 5 config bw 128kbits/s
ipfw pipe 6 config bw 128kbits/s
#ifconfig rl0 -alias 192.168.4.1
##Descomente para remover alias.

Att
Marcilio
___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] VPN (ja ta virando cruzada)

2005-05-24 Por tôpico Fabio Rogerio

Ola pessoal,

to batalhando a algum tempo com vpn/ipsec em 2 freebsd, e depois de nao 
conseguir achar nenhuma solucao para o seguinte problema:


May 24 07:27:38 server-net kernel: IPv4 ESP input: no key association found 
for spi 9991


resolvi tentar a sorte com o OpenVPN, porem, nao achei quase nada (pra nao 
dizer nada) sobre OpenVPN com freebsd...


eh isso.. alguem, mais uma vez, pode me dar alguma luz???

Fabio

PS : Os 2 servers fazem NAT 



___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Arquivos sumidos com o NTFS e FreeBSD 5.4 - [RESOLVIDO] [BUG?]

2005-05-24 Por tôpico Alex S. Moura

Celso Viana wrote:


poxa nenhum Translation para o portugues no link citado.. hahahah
 


Em breve haverá um. Aguarde.

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] Migrar usuarios

2005-05-24 Por tôpico Andre Luiz
Alguem poderia me dizer como migrar os usuarios do Slackware pro FreeBSD, a 
versao q estou usando do Free é a 5.2. Obrigado

__
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 
___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Migrar usuarios

2005-05-24 Por tôpico Fabricio Lima
no linux vc tem:
/etc/passwd
  marcio:x:622:100:Marcio Falcao:/home/marcio:/bin/false
  pedro:x:623:100:Pedro:/home/pedro:/bin/false

/etc/shadow
  marcio:sVAqoJULDuVCg:12250:0:9:7:::-107370
  pedro:$1$qc6V2chd$6OVHPZRIIr3f1B2jCRGDN.:12208:0:9:7:::-1073744360


gere com o John the Ripper (/usr/ports/security/john), um arquivo unshadow, 
unificado:

/root/unshadow
  marcio:sVAqoJULDuVCg:622:100:Marcio Falcao:/home/marcio:/bin/false
  pedro:$1$qc6V2chd$6OVHPZRIIr3f1B2jCRGDN.:623:100::/home/requiao:/bin/false

E agora use o codigo abaixo para jogar no sistema freebsd:
#cc -o contas.bin contas.c

/root/contas.c

#include stdio.h
#include errno.h

int main(int argc, char **argv) {
FILE *fo, *fd;
char buffer[1024];
char cmd[1024];
int i;
int j;
int uid=1002;
char login[64];
char pass[64];
char name[256];

if (argc  3) {
printf(Uso: %s origem destino\n, argv[0]);
return -1;
}
if ((fo = fopen(argv[1], r)) == NULL) {
printf(Nao foi possivel abrir o arquivo de origem [%s]\n, 
strerror(errno));
return -2;
}
if ((fd = fopen(argv[2], a)) == NULL) {
printf(Nao foi possivel abrir o arquivo de destino [%s]\n, 
strerror(errno));
return -3;
}

while (fgets(buffer, 1024, fo)) {
login[0] = 0;
pass[0] = 0;
name[0] = 0;
//marcio:$1
$0Q3jtpHI$SNvnL7Xxh1KTkdMegP0ya1:1029:100:Zezim,,,:/home/marcio:/bin/false
//marcio:$1$mcBWs964
$q5xOC4qU5trVb5AvVbQDI.:1001:0::0:0:Fabricio:/home/marcio:/bin/tcsh
i = 0;
j = 0;
for (; buffer[i] != ':'; i++) {
login[j++] = buffer[i];
}
i++; // pula o :
login[j] = 0;
j = 0;
for (; buffer[i] != ':'; i++) {
pass[j++] = buffer[i];
}
i++; // pula o :
while (buffer[i++] != ':');
while (buffer[i++] != ':');
pass[j] = 0;
j = 0;
for (; buffer[i] != ','  buffer[i] != ':'; i++) {
name[j++] = buffer[i];
}
name[j] = 0;

fprintf(fd, %s:%s:%d:100::0:0:%s:/home/%s:/sbin/nologin\n, 
login, pass, uid++, name, login);
fflush(fd);
sprintf(cmd, /usr/sbin/pwd_mkdb -p /etc/master.passwd);
system(cmd);
sprintf(cmd, /bin/mkdir /usr/home/%s ; /usr/sbin/chown %
d:users /usr/home/%s, login, uid, login);
system(cmd);
}
printf(done!\n);
}

-- Original Message ---
From: Andre Luiz [EMAIL PROTECTED]
To: freebsd@fug.com.br
Sent: Tue, 24 May 2005 11:58:15 -0300 (ART)
Subject: [FUG-BR] Migrar usuarios

 Alguem poderia me dizer como migrar os usuarios do Slackware pro 
 FreeBSD, a versao q estou usando do Free é a 5.2. Obrigado
 
 __
 Converse com seus amigos em tempo real com o Yahoo! Messenger 
 http://br.download.yahoo.com/messenger/ 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
--- End of Original Message ---


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Sumiu /lib e /libexec

2005-05-24 Por tôpico Fabricio Lima
durante uma instalacao, eu tava fazendo teste de raid, ou foi teste de dump.. 
e ai este diretorio sumiu.. na hora achei q foi eu fazendo caca.

nao dei atençao ao fato, mas fiquei com pe atras.

Fabricio


-- Original Message ---
From: Mário Meyer [EMAIL PROTECTED]
To: Lista de discussao do grupo FUG-BR freebsd@fug.com.br
Sent: Tue, 24 May 2005 12:33:27 -0300
Subject: [FUG-BR] Sumiu /lib e /libexec

 All,
 
 Após um reboot por falta de energia, sumiram o /lib e o /libexec de 
 um servidor meu... Provavelmente alguma correção no fsck mandou eles 
 pro espaco... Alguem ja teve este problema??? Como corrigi-lo??
 
 Obrigado,
 Mário Meyer
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
--- End of Original Message ---


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Sumiu /lib e /libexec

2005-05-24 Por tôpico Rodrigo Graeff
Bom, faca backup do seu /etc e re-instale a base do sistema, somente
ela. Acredito eu que possa resolver...


On 5/24/05, Mário Meyer [EMAIL PROTECTED] wrote:
 All,
 
 Após um reboot por falta de energia, sumiram o /lib e o /libexec de um
 servidor meu... Provavelmente alguma correção no fsck mandou eles pro
 espaco... Alguem ja teve este problema??? Como corrigi-lo??
 
 Obrigado,
 Mário Meyer
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
 


-- 
Rodrigo Graeff
delphus

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] miniinst-ISO

2005-05-24 Por tôpico Mário Meyer
tinha ne... devem ter tirado... to procurando e nada...

On 5/11/05, Pedro Almeida [EMAIL PROTECTED] wrote:
 Fabricio Lima wrote:
 
 O 5.4 nao tera mais mini-inst?
 
 Isto é mal.. olhei em 2 ftp brasileiros e 2 gringos e nada de achar a iso de 
 250mb.
 
 
 [ ]'s
 Fabricio Lima - Analista de T.I.
 http://ww.fabriciolima.com.br
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
 
 
 
 Aqui tem ;)
 
 http://darkstar.ist.utl.pt/freebsd/i386/5.4/
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] controle de banda

2005-05-24 Por tôpico Danilo Augusto
Olá gente.
Tenho um link de 768k com 128k garantido.
Quando vou fazer controle de banda,por exemplo deixar 64k pra e-mail e
64k pra navegacao web.
Tenho que fazer o controle usando como valor total o valor garantido do
link?Ou uso o valor 768k?
Outra vez usei o valor do CIR,que é o garantido.

Valeu.

-- 
Danilo Augusto Vicente Lara
[EMAIL PROTECTED]
Celular: 61 9994-1361


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Sumiu /lib e /libexec

2005-05-24 Por tôpico Luiz Eduardo Roncato Cordeiro

1. De um boot com o CD FixIt do FreeBSD (disco 2 se nao me engano).
   Tome cuidado para ser a mesma versao do sistema instalado.
2. Monte a particao onde estavam o /lib e o /libexec no /mnt,
   por exemplo.
3. Copie do CD o /lib e o /libexe para o /mnt verificando as permissoes
   dos arquivos.
4. Reboot sua maquina *sem* o CD.

Ja fiz isso para um sistema em que os binarios foram comprometidos
durante um make world mal sucedido.


On Tuesday May 24 2005 12:33, Mário Meyer Mário Meyer [EMAIL PROTECTED] 
wrote:
 All,
 
 Após um reboot por falta de energia, sumiram o /lib e o /libexec de um
 servidor meu... Provavelmente alguma correção no fsck mandou eles pro
 espaco... Alguem ja teve este problema??? Como corrigi-lo??
 
 Obrigado,
 Mário Meyer
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
 
 

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Rotas na subrede!

2005-05-24 Por tôpico louis louis

Resolvi, criei uma NAT para esse host e resolveu o problema!


From: Wesley Naves de Faria [EMAIL PROTECTED]
Reply-To: Lista de discussao do grupo FUG-BR Freebsd@fug.com.br
To: Lista de discussao do grupo FUG-BR Freebsd@fug.com.br
Subject: Re: [FUG-BR] Rotas na subrede!
Date: Mon, 23 May 2005 14:41:25 -0300

   Se o CISCO estiver em uma outra rede ele provavelmente não deve ter 
uma

rota de retorno para a máquina de origem dos pings.

-
Wesley Naves de Faria
Analista de suporte
Linux/FreeBSD/OpenBSD
AGANP - Agência Goiana de Administração Negócios Públicos
Contato: +55 (0XX62)  201-6582



_
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] VPN (ja ta virando cruzada)

2005-05-24 Por tôpico Antonio Torres

Fabio Rogerio wrote:


Ola pessoal,

to batalhando a algum tempo com vpn/ipsec em 2 freebsd, e depois de 
nao conseguir achar nenhuma solucao para o seguinte problema:


May 24 07:27:38 server-net kernel: IPv4 ESP input: no key association 
found for spi 9991


resolvi tentar a sorte com o OpenVPN, porem, nao achei quase nada (pra 
nao dizer nada) sobre OpenVPN com freebsd...


eh isso.. alguem, mais uma vez, pode me dar alguma luz???


morde
Leia a documentação do openvpn para Windows !!
isso mesmo: quem escreveu a documentacao considerou que exemplos 
detalhados ou algo do tipo NNF caberia melhor lá..

/morde

assopra
exemplo de configuração de openvpn funcionando:

# server side: VPN server name/address
port 5000
dev tap
ifconfig 192.168.24.1 255.255.255.0
secret /usr/local/etc/openvpn/key.txt
comp-lzo
ping 15
verb 3
# end server side

# remote side: VPN server name/address
# remote pode ser  IP ou nome
remote server.da.vpn.com.br
port 5000
dev tap
ifconfig 192.168.24.4 255.255.255.0
secret /usr/local/etc/openvp/key.txt
ping 10
comp-lzo
verb 3
# end remote side

NOTA: o remote pode ser ate Ruindows atras de NAT

Óbvio que voce terá que gerar as chaves de criptografia (key.txt),  
acertar o(s) firewall(s),  as rotas para que as redes remotas se 
enxerguem, evitar overlaps de IPs nos vários segmentos de rede, etc,  
etc. etc


/assopra


[]s
Antonio Torres
[EMAIL PROTECTED]

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] [off-topic] de novo o historico da lista

2005-05-24 Por tôpico louis louis

Ow Marcio, salvou a patria!
Obrigado ai kra!


From: Márcio Luciano Donada [EMAIL PROTECTED]
Reply-To: Lista de discussao do grupo FUG-BR Freebsd@fug.com.br
To: Lista de discussao do grupo FUG-BR Freebsd@fug.com.br
Subject: Re: [FUG-BR] [off-topic] de novo o historico da lista
Date: Tue, 24 May 2005 08:42:42 -0300

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:


 cadê êle? :(




utiliza o www.mail-archive.com e procura por FUG, grande parte das
coisas está lá.

[]'s
Márcio
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCkxMyyJq2hZEymxcRAreoAJ9Ym6EEw0UHc3jrztUChHxEA9oPLACeOIJh
k73xt0jq4ov+NWIdCCW87kY=
=qhGe
-END PGP SIGNATURE-

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


_
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] VPN (ja ta virando cruzada)

2005-05-24 Por tôpico Flávio Barros
Essa configuração serve para clientes windows dial-up ?



 Fabio Rogerio wrote:

 Ola pessoal,

 to batalhando a algum tempo com vpn/ipsec em 2 freebsd, e depois de
 nao conseguir achar nenhuma solucao para o seguinte problema:

 May 24 07:27:38 server-net kernel: IPv4 ESP input: no key association
 found for spi 9991

 resolvi tentar a sorte com o OpenVPN, porem, nao achei quase nada (pra
 nao dizer nada) sobre OpenVPN com freebsd...

 eh isso.. alguem, mais uma vez, pode me dar alguma luz???

 morde
 Leia a documentação do openvpn para Windows !!
 isso mesmo: quem escreveu a documentacao considerou que exemplos
 detalhados ou algo do tipo NNF caberia melhor lá..
 /morde

 assopra
 exemplo de configuração de openvpn funcionando:

 # server side: VPN server name/address
 port 5000
 dev tap
 ifconfig 192.168.24.1 255.255.255.0
 secret /usr/local/etc/openvpn/key.txt
 comp-lzo
 ping 15
 verb 3
 # end server side

 # remote side: VPN server name/address
 # remote pode ser  IP ou nome
 remote server.da.vpn.com.br
 port 5000
 dev tap
 ifconfig 192.168.24.4 255.255.255.0
 secret /usr/local/etc/openvp/key.txt
 ping 10
 comp-lzo
 verb 3
 # end remote side

 NOTA: o remote pode ser ate Ruindows atras de NAT

 Óbvio que voce terá que gerar as chaves de criptografia (key.txt),
 acertar o(s) firewall(s),  as rotas para que as redes remotas se
 enxerguem, evitar overlaps de IPs nos vários segmentos de rede, etc,
 etc. etc

 /assopra


 []s
 Antonio Torres
 [EMAIL PROTECTED]

 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br




___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


RES: [FUG-BR] VPN (ja ta virando cruzada)

2005-05-24 Por tôpico Frederick F.
Use openvpn. Funciona atrás de NAT.
PPTP dependendo do NAT do lado do cliente (uns linux com uns iptables dá
problemas com conexões simultâneas) também funciona é trabalha muito bem com
o Windows.



 -Mensagem original-
 De: Flávio Barros [mailto:[EMAIL PROTECTED]
 Enviada em: terça-feira, 24 de maio de 2005 14:38
 Para: Lista de discussao do grupo FUG-BR
 Assunto: Re: [FUG-BR] VPN (ja ta virando cruzada)
 
 Essa configuração serve para clientes windows dial-up ?
 
 
 
  Fabio Rogerio wrote:
 
  Ola pessoal,
 
  to batalhando a algum tempo com vpn/ipsec em 2 freebsd, e depois de
  nao conseguir achar nenhuma solucao para o seguinte problema:
 
  May 24 07:27:38 server-net kernel: IPv4 ESP input: no key association
  found for spi 9991
 
  resolvi tentar a sorte com o OpenVPN, porem, nao achei quase nada (pra
  nao dizer nada) sobre OpenVPN com freebsd...
 
  eh isso.. alguem, mais uma vez, pode me dar alguma luz???
 
  morde
  Leia a documentação do openvpn para Windows !!
  isso mesmo: quem escreveu a documentacao considerou que exemplos
  detalhados ou algo do tipo NNF caberia melhor lá..
  /morde
 
  assopra
  exemplo de configuração de openvpn funcionando:
 
  # server side: VPN server name/address
  port 5000
  dev tap
  ifconfig 192.168.24.1 255.255.255.0
  secret /usr/local/etc/openvpn/key.txt
  comp-lzo
  ping 15
  verb 3
  # end server side
 
  # remote side: VPN server name/address
  # remote pode ser  IP ou nome
  remote server.da.vpn.com.br
  port 5000
  dev tap
  ifconfig 192.168.24.4 255.255.255.0
  secret /usr/local/etc/openvp/key.txt
  ping 10
  comp-lzo
  verb 3
  # end remote side
 
  NOTA: o remote pode ser ate Ruindows atras de NAT
 
  Óbvio que voce terá que gerar as chaves de criptografia (key.txt),
  acertar o(s) firewall(s),  as rotas para que as redes remotas se
  enxerguem, evitar overlaps de IPs nos vários segmentos de rede, etc,
  etc. etc
 
  /assopra
 
 
  []s
  Antonio Torres
  [EMAIL PROTECTED]
 
  ___
  Freebsd mailing list
  Freebsd@fug.com.br
  http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
 
 
 
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Problema na auitenticação com LDAP

2005-05-24 Por tôpico Luís Cargnini
pessoal matei o problema, é com a crptografia das senhas, o
migration-tools faz umas cacas ai, e dai tu tem de ir uam senha por
vez e migrar ela (bom isso)

On 5/23/05, Luís Cargnini [EMAIL PROTECTED] wrote:
 pessoal to recebendo o seguinte quando faço getent passwd no cliente
 como posso solucionar isto ?
 
 connection_get(11)
 send_ldap_result: err=0 matched= text=
 connection_get(11)
 SRCH ou=People,dc=meudominio,dc=com 1 00 0 0
 filter: (objectClass=posixAccount)
 attrs: uid userPassword uidNumber gidNumber cn homeDirectory
 loginShell gecos description objectClass
 bdb_idl_fetch_key: %ou=people,dc=meudominio,dc=com
 bdb_idl_fetch_key: [b49d1940]
 bdb_idl_fetch_key: [5941c014]
 send_paged_response: lastid=0x nentries=0
 send_ldap_result: err=0 matched= text=
 connection_get(11)
 
 
 --
 Thanks  Regards
 


-- 
Thanks  Regards

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] NFS

2005-05-24 Por tôpico Luís Cargnini
Pessoal tenho o seguinte exports:

/usr/home   -alldirs-network x.x.x.x -mask 255.255.255.0
/usr/opt-maproot=0 -alldirs -network x.x.x.x -mask 255.255.255.0
porém não estou conseguindo montar o opt, nem mesmo by-hand (à mão) dá
erro de Permission denied algue sabe como soluciono isso ?
Obrigado.
-- 
Thanks  Regards

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] SNMP wireless

2005-05-24 Por tôpico r.pg
Alguém aí conhece uma maneira de implentar suporte SNMP para gerenciar 
servidores wireless, atuando no modo hostap, tipo para ver as estações 
associadas, nível de sinal, ruído etc???

Ou alguma outra maneira de checar estas informações, já que o comando wicontrol 
-i interface -C não funciona mais a partir do FreeBSD 5x

Uso FreeBSD 5.x ou 6-Current


Atenciosamente
Raphael
___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] Mascarar nome da maquina no envio de email

2005-05-24 Por tôpico Nilton Jose Rizzo

Valeu .. vou dar implementar ... 

Rizzo
 
 assimé o cara vai /etc/mail faz o make e tal e da i no
 hostname.domain.mc que lele gerar coloca:
 FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
 FEATURE(blacklist_recipients)
 FEATURE(local_lmtp)
 FEATURE(mailertable, `hash -o /etc/mail/mailertable')
 FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
 FEATURE(redirect)dnl
 FEATURE(always_add_domain)dnl
 FEATURE(use_cw_file)
 GENERICS_DOMAIN(dominio.com)dnl
 FEATURE(genericstable, hash -o /etc/mail/genericstable)dnl
 define(`confCF_VERSION',`lvcargnini cf - 29/04/2005')dnl
 dnl define(`confCON_EXPENSIVE',`True')dnl
 define(`confME_TOO',`True')dnl
 define(`confCOPY_ERRORS_TO',`Postmaster')dnl
 define(`confMIME_FORMAT_ERRORS',`True')dnl
 define(`confTO_QUEUEWARN',`24h')dnl
 MASQUERADE_AS(dominio.com)dnl
 FEATURE(masquerade_entire_domain)
 MASQUERADE_DOMAIN(dominio.com)
 FEATURE(relay_entire_domain)dnl
 FEATURE(allmasquerade)
 FEATURE(masquerade_envelope)
 dnl #host domain name definitions
 dnl Dm hostname.domain
 define(`confHOSTNAME', `teu_hostname')
 define(`confDOMAIN_NAME', `dominio.com')dnl
 
 
 On 5/24/05, Luiz Fernando Pasqual S. Souza [EMAIL PROTECTED] wrote:
  Procure MASQUERADING em:
  /usr/share/sendmail/cf/README
  
  É uma explicação de como configurar o sendmail.
  
  []'s
  
  
  On Tue, May 24, 2005 at 01:14:44PM -0300, Nilton Jose Rizzo wrote:
  
  
 Uma duvida ,,,
  
 no sendmail antigamente tinha uma opcao para
 mascarar o nome da maquina e so sair o nome
 do dominio, por ex.: [EMAIL PROTECTED]
 gerar apenas [EMAIL PROTECTED], to cacando
 esta opcao em uma versao do FreeBSd  5.2
 e nao achei!!! to ficando cego?:)
  
 Rizzo
  
   ___
   Freebsd mailing list
   Freebsd@fug.com.br
   http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
  
  --
  about
   nameLuiz Fernando Pasqual S. Souza/name
   emailpasquall at terra dot com dot br/email
   icq59929504/icq
  /about
  
  ___
  Freebsd mailing list
  Freebsd@fug.com.br
  http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
  
 
 
 -- 
 Thanks  Regards
 
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
 
 


___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


RE: RES: [FUG-BR] VPN (ja ta virando cruzada)

2005-05-24 Por tôpico Cristiano Maynart Pereira

Eu fiz funcionar, mas faz algum tempo. Se não me engano tem que instalar uma 
atualização da Dial-up nos 98.

Procura por isso: dun14-98.exe pra win98 e dun14-SE.exe pra win98-SE 


__
Cristiano Maynart Pereira

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonardo B. 
Cuquejo (Arachnius)
Sent: terça-feira, 24 de maio de 2005 4:58 PM
To: Lista de discussao do grupo FUG-BR
Subject: Re: RES: [FUG-BR] VPN (ja ta virando cruzada)

Frederick F. wrote:

Use openvpn. Funciona atrás de NAT.
PPTP dependendo do NAT do lado do cliente (uns linux com uns iptables 
dá problemas com conexões simultâneas) também funciona é trabalha muito 
bem com o Windows.

  

OBS: Unico problema do openvpn foi que não consegui fazer funcionar com windows 
98, algué já conseguiu está façanha?

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


___
Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO 
AMBIENTE!
Setor de Informática - UNISC

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] [OT]ejabberd

2005-05-24 Por tôpico cucoloto
alguem por acaso já utilizou o ejabberd
to com pesadelos já...
tento acessar a interface web de configuracao... mas sem chances... nao 
autentica a minha senha.

{acl, admin, {user, matheus}}.
{access, configure, [{allow, admin}]}.

o que fazer...
alguem tem algum ejabber.cfg pra empresta
Valeu
 
__
UOL Fone: Fale com o Brasil e o Mundo com até 90% de economia. 
http://www.uol.com.br/fone



___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] erro php4

2005-05-24 Por tôpico Andre Luiz
Estou tentando instalar o PHP4, porem esta me dandando msg de errro abaixo, ja 
atualizei o ports, usei o comando make --with-apxs install clean estou usando 
Apache2, FreBSD 5.2. Desde de ja agradeco pela atencao.
 
 Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... 
apxs:Error: Invalid query string `BINDIR'
apxs:Error: Invalid query string `MPM_NAME'
apxs:Error: Invalid query string `APU_BINDIR'
apxs:Error: Invalid query string `APR_BINDIR'
./configure: /apr-config: not found
./configure: /apu-config: not found
configure: error: You have enabled Apache 2 support while your server is Apache 
1.3.  Please use the appropiate switch --with-apxs (without the 2)
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/lang/php4/work/php-4.3.11/config.log including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/lang/php4.


-
Yahoo! Mail: agora com 1GB de espaço grátis. Abra sua conta!
___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] Por que FreeBSD ?

2005-05-24 Por tôpico Flávio Barros
Pessoal, estou precisando mostrar e comprovar para o meu chefe que o
FreeBSD/OpenBSD são SO seguros, robustos, etc.
Alguém teria um documento falando do FreeBSD ou do OpenBSD, das empresas que os
utilizam, das experiências, etc.

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


Re: [FUG-BR] erro php4

2005-05-24 Por tôpico R. Filippus
Vou te passar uma dica. Isso eu acho que seja uma dica no meu ponto de 
vista. Pode não ser, mas acaba ajudando muito.
 A primeira coisa é ler debaixo para cima os erros.
Veja que ele diz: 
You have enabled Apache 2 support while your server is Apache 1.3. 
 []´s
 On 5/24/05, Andre Luiz [EMAIL PROTECTED] wrote: 
 
 Estou tentando instalar o PHP4, porem esta me dandando msg de errro 
 abaixo, ja atualizei o ports, usei o comando make --with-apxs install clean 
 estou usando Apache2, FreBSD 5.2. Desde de ja agradeco pela atencao.
 
 Configuring SAPI modules
 checking for AOLserver support... no
 checking for Apache 1.x module support via DSO through APXS... no
 checking for Apache 1.x module support... no
 checking for mod_charset compatibility option... no
 checking for Apache 2.0 filter-module support via DSO through APXS... no
 checking for Apache 2.0 handler-module support via DSO through APXS... 
 apxs:Error: Invalid query string `BINDIR'
 apxs:Error: Invalid query string `MPM_NAME'
 apxs:Error: Invalid query string `APU_BINDIR'
 apxs:Error: Invalid query string `APR_BINDIR'
 ./configure: /apr-config: not found
 ./configure: /apu-config: not found
 configure: error: You have enabled Apache 2 support while your server is 
 Apache 1.3. Please use the appropiate switch --with-apxs (without the 2)
 === Script configure failed unexpectedly.
 Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
 /usr/ports/lang/php4/work/php-4.3.11/config.log including the output of 
 the
 failure of your make command. Also, it might be a good idea to provide an
 overview of all packages installed on your system (e.g. an `ls 
 /var/db/pkg`).
 *** Error code 1
 Stop in /usr/ports/lang/php4.
 
 
 -
 Yahoo! Mail: agora com 1GB de espaço grátis. Abra sua conta!
 ___
 Freebsd mailing list
 Freebsd@fug.com.br
 http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
 



-- 
Atenciosamente,
R. Filippus
___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br


[FUG-BR] [Fwd: Re: Lifetime of FreeBSD branches]

2005-05-24 Por tôpico Giovanni P. Tirloni


Leitura interessante para todos, acredito eu.

 Original Message 
Subject: Re: Lifetime of FreeBSD branches
Date: Tue, 24 May 2005 13:14:14 -0600
From: Scott Long [EMAIL PROTECTED]
To: Mike Jakubik [EMAIL PROTECTED]
CC: freebsd-stable@freebsd.org

Mike Jakubik wrote:


Could someone point me to a resource that outlines the expected supported
lifetime of all the branches? Can't find anything concrete on the webpage.

I'm developing a product, which i hope will run on FreeBSD. However the
rapid development of 5, and now 6 arriving out in a few months has me
worried if FreeBSD will be the right choice short and long term. I have
even considered using 4.11 for its stability and speed on single processor
systems, but I'm worried that some ports/hw will not be supported.

The recent amount of problems with 5 has me a little discouraged too, and
even considering Linux as an alternative. Hopefully that wont be the case,
but a clear outline of whats to come would be very helpful in the decision
making.

Thanks.



First of all, as the release engineer, I cannot stress enough that 6.0
is only an evolutionary step from 5.x.  It's natural to assume that
every major version change indicates major (and majorly destabilizing)
changes, but that is exactly what we are trying to get away from now.
When people ask what the future of 5.x is, my answer is 6.x because
that's exactly what it is: a continuation and refinement of what we
did with 5.x, with a few needed architecture changes and features.

We are going to release 6.0 within the next few months, and 6.1 4
months after that.  There will be a 5.5 release inbetween there just
to wrap up that branch and provide users a bridge for 6.x.  I don't
expect there to be any 5.x releases after 5.5 because there simply
won't be anything left to offer in that branch that isn't in 6.x.

The 6.x transition will not have the handicaps that the 5.x transition
had for users.  It does not have a significantly different compiler
that requires major porting work for user applications.  It does not
have a dozen new experimental features that are still being debugged.
The only really new and experimental feature is the SMP VFS work, but
that has been undergoing a significant amount of testing, and it can
be turned off if need be.  This is in sharp contrast to 5.x that had
so many overlapping experimental areas that it was hard to test, isolate
and fix problems.

I think that we've gotten over most of the stability and performance
hurdles of 5.x.  We have a complete OS, not just a kernel, and it has
more components than the 4.x OS.  But despite that, most bugs reported
on this list seem to get solved fairly quickly, either with advice from
others or with a commit to the source tree.  We have a number of very
strong and very active ports and source tree committers that are doing a
very good job of refining the system, and I expect that to continue.
More bug reports are always welcome, and if you feel that there is a bug
that isn't getting attention that is critical for 6.0, email
[EMAIL PROTECTED] about it, or email me personally.

As for performance, Kris has shown that the 5.x/6.x performance penalty
is now much more of a myth than reality. SMP on 6.x is significantly
more scalable and high performance than anything we've released before.
We are finally starting to see the benefits of our SMPng design.  Most
of the infrastructure work is done, so 6.x will be about refining it,
locking down more peripheral drivers and components, and tending to the
general details that have fallen behind in 5.x.  It's going to be a very
good release series.

I understand that there are some specific reasons for some people to
stick with 4.x.  There were people that stuck with 2.2.x back during
the 3.x and 4.x days because they also had specific needs.  I think
that this is fine if done for the right reasons, and I'm glad that those
people are willing to stick with FreeBSD instead of looking elsewhere.
However, if there is anything that we can do to help with the transition
forward to 5.x/6.x, please let me know.

Again, please don't take the abrupt switch to 6.0 to mean that 5.x is
flawed or that 6.x will also have a short lifespan.  The real purpose
of the switch is nothing but positive; it'll keep us focused and prevent
us from overreaching and overextending ourselves.  It's a very good
and very postive strategy.

Scott

___
Freebsd mailing list
Freebsd@fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br