Network interface restart

2007-05-09 Thread Bram Schoenmakers
Hi, I tried to reduce the MTU of a network interface on a remote FreeBSD 6.2 machine. So that means changing this line in rc.conf: ifconfig_bge0=inet xxx.xxx.xxx.xxx netmask 255.255.255.128 to ifconfig_bge0=inet xxx.xxx.xxx.xxx netmask 255.255.255.128 mtu 1472 Of course, there's a real IP

Re: Network interface restart

2007-05-09 Thread Sam Lawrance
On 09/05/2007, at 8:31 PM, Bram Schoenmakers wrote: Hi, I tried to reduce the MTU of a network interface on a remote FreeBSD 6.2 machine. So that means changing this line in rc.conf: ifconfig_bge0=inet xxx.xxx.xxx.xxx netmask 255.255.255.128 to ifconfig_bge0=inet xxx.xxx.xxx.xxx

Re: Network interface restart

2007-05-09 Thread Bram Schoenmakers
Op woensdag 09 mei 2007, schreef Sam Lawrance: Hi, Could someone please point out where I made the mistake? When your network interface went down, you lost the connection, your shell lost the terminal and your script was terminated before it could finish doing what it was supposed to.

Re: Network interface restart

2007-05-09 Thread Steve Bertrand
Bram Schoenmakers wrote: Op woensdag 09 mei 2007, schreef Sam Lawrance: Hi, Could someone please point out where I made the mistake? When your network interface went down, you lost the connection, your shell lost the terminal and your script was terminated before it could finish doing

Re: Network interface restart

2007-05-09 Thread Benjamin Sobotta
Op woensdag 09 mei 2007, schreef Sam Lawrance: Hi, Could someone please point out where I made the mistake? When your network interface went down, you lost the connection, your shell lost the terminal and your script was terminated before it could finish doing what it was

Re: Network interface restart

2007-05-09 Thread Christoph Schug
On Wed, May 09, 2007, Bram Schoenmakers wrote: But as I said, I ran the script from a screen session, so that makes me wonder why the execution was aborted. But is running '/etc/rc.d/netif restart'' known to cause problems? I think I shouldn't have to use scripts like these just to

Re: Network interface restart

2007-05-09 Thread Steve Bertrand
But as I said, I ran the script from a screen session, so that makes me wonder why the execution was aborted. But is running '/etc/rc.d/netif restart'' known to cause problems? I think I shouldn't have to use scripts like these just to change a setting on the network interface. Kind

Re: Network interface restart

2007-05-09 Thread boris
Op woensdag 09 mei 2007, schreef Sam Lawrance: Hi, Could someone please point out where I made the mistake? When your network interface went down, you lost the connection, your shell lost the terminal and your script was terminated before it could finish doing what it was supposed to.