Internet connection sharing

2002-12-22 Thread Christophe Simon
Hi,

I'm trying to configure an old K6 200 as a gateway to share my internet 
connection at home. My LAN connected interface is xl0 (192.168.0.1), and my 
internet connected interface is ed0 (DHCP).
I followed the instructions to make a filtering bridge :

* /boot/loader.conf
bridge_load=YES

* /etc/sysctl.conf
net.link.ether.bridge_cfg=ed0:0,xl0:0
net.link.ether.bridge_ipfw=1
net.link.ether.bridge=1

* /etc/rc.conf
firewall_enable=YES
firewall_type=open
firewall_quiet=YES
firewall_logging=YES

And it doesn't work. I have done a standard installation...

At startup i have the error ip_fw_ctl : invalid command

Could someone tell me where my error is ? Thanks a lot...

_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Internet connection sharing

2002-12-22 Thread Christophe Simon
From: randall ehren [EMAIL PROTECTED]
To: David Kelly [EMAIL PROTECTED]
CC: Christophe Simon [EMAIL PROTECTED],  
[EMAIL PROTECTED]
Subject: Re: Internet connection sharing
Date: Sun, 22 Dec 2002 11:15:17 -0800 (PST)

  I'm trying to configure an old K6 200 as a gateway to share my 
internet
  connection at home. My LAN connected interface is xl0 (192.168.0.1), 
and my
  internet connected interface is ed0 (DHCP).
  I followed the instructions to make a filtering bridge :
 [...]

 IMO you don't want a filtering bridge. You want a NAT Gateway. Enable
 the gateway kernel option, may have to compile divert sockets into the
 kernel, ipfw is needed to divert packets to natd, run natd.

or you can use IPFILTER, less involved setup:
 http://www.isber.ucsb.edu/~randall/wireless/ipnat.html

in your case, fxp0 = ed0 and xl0 = wi0 (corresponding to the guide above)

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


I succeeded in configuring my pc as an internet gateway. I had problems with 
the the page you indicated me (but it's very well done and documented).

Here's the method i used :

* In the kernel configuration file for compilation:
options IPFILTER
options IPDIVERT
options IPFIREWALL
options IPFIREWALL_VERBOSE (to log firewall)
options IPFIREWALL_VERBOSE_LIMIT=100 (log limits)

* In the rc.conf file (on a 192.168.0.0 network)
ifconfig_xl0=inet 192.168.0.1 netmask 0xff00 (LAN connection
ifconfig_ed0=DHCP
gateway_enable=YES
natd_enable=YES
natd_interface=ed0
firewall_enable=YES
firewall_type=open (or any firewall rules)
firewall_quiet=YES
firewall_logging=YES

I hope it will be of any utility...

Thanks a lot for your help !

_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Networking hardware question

2002-12-20 Thread Christophe Simon
Hi,

For one week, I have the responsability to administrate a LAN in a society 
where there's at least 5 swithes and 1 hub connected together in chain. I 
heard that plugging too many hubs or swithes in chain can cause network 
stability problems.

Is that right, and what can I do. I have been adviced to put a bridge 
station between twoo switches in the chain, but I didn't succeeded in 
configuring the twoo interfaces (twoo RTL 8139 cards) on the same  network 
adress (for exemple 192.168.0.1 and 192.168.0.2 cards in the same box...) 
and making a bridge. I compiled my kernel with the BRIDGE option, and I put 
sysct.net.link.bridge_cfg=rl0:0,rl1:0 in sysctl.conf.

Im I on the rigt way, and if not so on, what ca I do ?

Thanks a lot !





_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


I have samba stability problems under FreeBSD 4.7

2002-12-13 Thread Christophe Simon
Hi, i have stability problems with samba 3 under freebds 4.7.

I use samba to act as a PDC on a microsoft domain. The exact problem is that 
the identification works perfectly at network startup, but 10 to 20 minutes 
later, the identification with the same login + password fail. If i restart 
network (/etc/netstart), it works perfectly again, and 10 to 20... and so 
on.

I am new under FreeBSD, so i made a standard installation, and i installed 
samba 3 through ftp server.

Does anyone had problems with samba under FreeBSD, and does any one have a 
solution ?

Thanks !





_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


RE: I have samba stability problems under FreeBSD 4.7

2002-12-13 Thread Christophe Simon

What can this cause, and how do i do this under windows ?



From: Thomas Connolly [EMAIL PROTECTED]
To: 'Christophe Simon' [EMAIL PROTECTED],   
[EMAIL PROTECTED]
Subject: RE: I have samba stability problems under FreeBSD 4.7
Date: Fri, 13 Dec 2002 08:44:41 -0700

Make sure your windows machined have their browse Master set to off or
manual for Win2K and XP.

Thomas P. Connolly
Senior Development Engineer
Colorado Engineering Experiment Station Inc.
Phone: (970) 897-2711
Fax: (970) 897-2710
Email: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Christophe Simon
Sent: Friday, December 13, 2002 4:39 AM
To: [EMAIL PROTECTED]
Subject: I have samba stability problems under FreeBSD 4.7

Hi, i have stability problems with samba 3 under freebds 4.7.

I use samba to act as a PDC on a microsoft domain. The exact problem is 
that

the identification works perfectly at network startup, but 10 to 20 minutes
later, the identification with the same login + password fail. If i restart
network (/etc/netstart), it works perfectly again, and 10 to 20... and so
on.

I am new under FreeBSD, so i made a standard installation, and i installed
samba 3 through ftp server.

Does anyone had problems with samba under FreeBSD, and does any one have a
solution ?

Thanks !





_
MSN Messenger : discutez en direct avec vos amis !
http://www.msn.fr/msger/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


3c905B drivers

2002-12-10 Thread Christophe Simon
Does anyone know about an instability in the 3c90x drivers from 3com on 
freeBSD ?





_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 3c905B drivers

2002-12-10 Thread Christophe Simon








From: Fernando Gleiser [EMAIL PROTECTED]
To: Christophe Simon [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: 3c905B drivers
Date: Tue, 10 Dec 2002 12:41:52 -0300 (ART)

On Tue, 10 Dec 2002, Christophe Simon wrote:


 I have a problem of network instability. I use FreeBSD 4.7 as a file 
server
 to serve windows machines with samba 3, and i use postfix as mail 
server. 10
 to 20 minutes after my server starts, the samba and postfix services 
fall
 down and don't reply anymore. I am forced to restart my network by
 /etc/netstart. I try to know if that problem comes from FreeBSD itself, 
or
 if there can be a problem with  the origina driver (i know there's some
 under Linux...)

I'm using them on several clients, wiht 
squid/samba/ipfilter/sendmail/apache
and never had a problem. The networks are mid-sized (300 to 1000 hosts).

You can do some research to find the problem:

1. search the logs.
2. Run ps/vmstat/iostat/netstat to see what happens.
3. Take a look at the -i and -m flags to netstat
4. Read tuning(7). You may need to tweak some things.
5. try a 'make buildkernel'. If there are some hardware problems, it will 
fail.

If that fails, just mail the list again :)




 That's why i ask this question...

 Thanks for replying do quick !

 _
 MSN Search, le moteur de recherche qui pense comme vous !
 http://search.msn.fr/worldwide.asp



I'll try this. I just made a mistake. I just looked at my card, and it's not 
a 3c905b, but a 3c905-TX. Do you think this could change something ?

_
MSN Messenger : discutez en direct avec vos amis ! 
http://www.msn.fr/msger/default.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: 3c905B drivers

2002-12-10 Thread Christophe Simon
I try just ti identify a problem. And sorry, my interface is not a 3c905b, 
but a 3x905-TX. Do you think it could change something ?


From: Brian [EMAIL PROTECTED]
To: Christophe Simon [EMAIL PROTECTED],   
[EMAIL PROTECTED]
Subject: Re: 3c905B drivers
Date: Tue, 10 Dec 2002 08:17:44 -0800

its only one of the top 2 deployed cards on the planet, i can't imagine
failure with this driver lasting very long.

Brian

- Original Message -
From: Christophe Simon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 6:14 AM
Subject: 3c905B drivers


 Does anyone know about an instability in the 3c90x drivers from 3com on
 freeBSD ?





 _
 MSN Messenger : discutez en direct avec vos amis !
 http://www.msn.fr/msger/default.asp


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Samba stability

2002-12-06 Thread Christophe Simon
Hi,

I have a problem with samba and FreeBSD 4.7. My problem comes from an 
instability of samba services. I use samba as a PDC in a microsoft domain, 
and i have some regular shutdowns of the services. When i ty to reconnect my 
host, a message says that my password is wrong (and i'm sure of it). At the 
same time, the postfix server, that runs too, doesn't reply anymore. After a 
period of time the servers respond again, ans recrash a little later.

I have a message on the tty0 that says /kernel: psmintr delay too long; 
reseting byte count, and i have nothin in my logs... I have no idea of what 
it means and of where does the problem comes from...

Could anyone help me ? thanks !

_
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message