+++ /dev/null
-# This file describes the network interfaces available on your system
-# and how to activate them. For more information, see interfaces(5).
-
-# The loopback network interface
-auto lo
-iface lo inet loopback
-
-# The primary network interface
-auto eth0
-iface eth0 inet static
- address 10.133.26.160
- netmask 255.255.255.0
- network 10.133.26.0
- broadcast 10.133.26.255
- pre-up ip addr flush dev eth0
- post-up ip addr add 10.133.28.160/24 dev eth0
- post-up ip route add default dev eth0
-
-# The secondary network interface
-auto eth1
-iface eth1 inet static
- address 10.133.26.161
- netmask 255.255.255.0
- network 10.133.26.0
- broadcast 10.133.26.255
--- /dev/null
+# This file describes the network interfaces available on your system
+# and how to activate them. For more information, see interfaces(5).
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+auto eth0
+iface eth0 inet static
+ address 10.133.26.160
+ netmask 255.255.255.0
+ network 10.133.26.0
+ broadcast 10.133.26.255
+ pre-up ip addr flush dev eth0
+ # FE306 authentification
+ post-up ip route add 238.0.0.0/24 dev eth0
+ # FE306 pano
+ post-up ip route add 238.75.0.0/16 dev eth0
+ # FE306 WP channels
+ # Pour prod voie PV 2eme octet vaut 111X XX11 (cf. libfreqplan/freqplancommon.h)
+ # => on met val de base vaut 224 (1110 0000) et mask a 224 (1110 0000)
+ # => 2eme octet associe aux valeurs de 224 a 255
+ post-up ip route add 238.224.0.0/11 dev eth0
+ # FE306 RF channels
+ # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h)
+ # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000)
+ # => 2eme octet associe aux valeurs de 192 a 223
+ post-up ip route add 238.192.0.0/11 dev eth0
+ # Delay line
+ post-up ip route add 239.0.0.0/8 dev eth0
+
+# The secondary network interface
+auto eth1
+iface eth1 inet static
+ address 10.133.28.160
+ netmask 255.255.255.0
+ network 10.133.28.0
+ broadcast 10.133.28.255
+ gateway 10.133.28.231
+ pre-up ip addr flush dev eth1
+ # Sensor prod
--- /dev/null
+# This file describes the network interfaces available on your system
+# and how to activate them. For more information, see interfaces(5).
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+auto eth0
+iface eth0 inet static
+ address 10.133.26.160
+ netmask 255.255.255.0
+ network 10.133.26.0
+ broadcast 10.133.26.255
+ pre-up ip addr flush dev eth0
+ post-up ip addr add 10.133.28.160/24 dev eth0
+ post-up ip route add default dev eth0
+
+# The secondary network interface
+auto eth1
+iface eth1 inet static
+ address 10.133.26.161
+ netmask 255.255.255.0
+ network 10.133.26.0
+ broadcast 10.133.26.255
--- /dev/null
+# This file describes the network interfaces available on your system
+# and how to activate them. For more information, see interfaces(5).
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+auto eth0
+iface eth0 inet dhcp
+ pre-up ip addr flush dev eth0
+ post-up ip route add default dev eth0
+
+auto eth1
+iface eth1 inet dhcp
+ pre-up ip addr flush dev eth1
+
auto eth0
iface eth0 inet dhcp
pre-up ip addr flush dev eth0
- post-up ip route add default dev eth0
+ # FE306 pano
+ post-up ip route add 238.75.0.0/16 dev eth0
+ # FE306 WP channels
+ # Pour prod voie PV 2eme octet vaut 111X XX11 (cf. libfreqplan/freqplancommon.h)
+ # => on met val de base vaut 224 (1110 0000) et mask a 224 (1110 0000)
+ # => 2eme octet associe aux valeurs de 224 a 255
+ post-up ip route add 238.224.0.0/11 dev eth0
+ # FE306 RF channels
+ # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h)
+ # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000)
+ # => 2eme octet associe aux valeurs de 192 a 223
+ post-up ip route add 238.192.0.0/11 dev eth0
+ # Delay line
+ post-up ip route add 239.0.0.0/8 dev eth0
+# The secondary network interface
auto eth1
iface eth1 inet dhcp
pre-up ip addr flush dev eth1
-
+ # FE306 authentification
+ post-up ip route add 238.0.0.0/24 dev eth1
+ # Sensor prod
+ post-up ip route add 225.0.0.0/8 dev eth1
title "updating /etc/hosts"
check rm -f /etc/hosts
check ln -s /etc/hosts.$MODE_BW /etc/hosts
+ check rm -f /etc/network/interfaces
+ case "$MODE_BW" in
+ 30MHzMDF.lite)
+ check ln -s /etc/network/interfaces.lite /etc/network/interfaces
+ ;;
+ *)
+ check ln -s /etc/network/interfaces.default /etc/network/interfaces
+ ;;
+ esac
TARBALLS+=" root"
for ip in 0A851{A,C}; do check ln -T -f -s default /opt/tftp/pxelinux.cfg/$ip; done
case "$MODE_BW" in
MENU LABEL ^Debian 7 (TRC6500)
KERNEL /vmlinuz
INITRD /initrd.img
- APPEND noinitrd ramdisk_size=8192 boot=tftp fastboot tftpserver=10.133.26.160 tarballs=root.tgz,slave.tgz
+ APPEND noinitrd ramdisk_size=8192 boot=tftp fastboot tftpserver=10.133.28.160 tarballs=root.tgz,slave.tgz
LABEL freedos
MENU LABEL ^FreeDos 1.0
expect -exact "#" { send "exit\r" }
expect -exact "#" { send "ip route 192.168.$sub.0 255.255.255.0 Vlan192\r" }
-expect -exact "#" { send "ip route 192.168.$sub.160 255.255.255.255 10.133.26.160\r" }
+#expect -exact "#" { send "ip route 192.168.$sub.160 255.255.255.255 10.133.26.160\r" }
+expect -exact "#" { send "ip route 192.168.$sub.160 255.255.255.255 10.133.28.160\r" }
expect -exact "#" { send "ip route 192.168.$sub.101 255.255.255.255 Vlan10\r" }
expect -exact "#" { send "ip route 192.168.0.0 255.255.255.0 192.168.$sub.230\r" }
expect -exact "#" { send "exit\r" }