Changeset 1931ae5 in freewrt for target/linux


Ignore:
Timestamp:
Oct 3, 2006, 12:59:00 AM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
24d8a15
Parents:
9116eba
Message:
  • add interfaces and preinit.arch for all devices.
  • add examples for bridging from Dirk

@Markus: please check preinit.arch on linksys wrt54g3g

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@817 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
target/linux/brcm-2.4
Files:
22 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • target/linux/brcm-2.4/asus-wl500g-deluxe/files/etc/network/interfaces

    r9116eba r1931ae5  
    22iface lo inet loopback
    33
     4# LAN ports
    45auto eth0.0
    5 iface eth0.0 inet manual
     6iface eth0.0 inet static
    67        switch-ports 1 2 3 4 5*
    7         up ifconfig eth0.0 192.168.1.1 netmask 255.255.255.0 up
     8        address 192.168.1.1
     9        netmask 255.255.255.0
     10        broadcast 192.168.1.255
    811
     12# WAN port
    913auto eth0.1
    10 iface eth0.1 inet manual
     14iface eth0.1 inet dhcp
    1115        switch-ports 0 5
    12         up udhcpc -b -i eth0.1
    1316
     17# WLAN
    1418#auto eth1
    1519#iface eth1 inet static
    1620#       address 192.168.10.1
    17 #       netmask 255.255.255.0
    1821#       network 192.168.10.0
    1922#       broadcast 192.168.10.255
     
    2225#       pre-up iwconfig eth1 channel 11
    2326#       up wifi
     27
     28# Bridging WLAN<->LAN
     29#auto eth0.0
     30#iface eth0.0 inet manual
     31#      switch-ports 1 2 3 4 5*
     32#
     33#auto br0
     34#iface br0 inet static
     35#      bridge-ifaces eth0.0 eth1
     36#      address 192.168.1.1
     37#      netmask 255.255.255.0
     38
  • target/linux/brcm-2.4/asus-wl500g-premium/files/etc/network/interfaces

    r9116eba r1931ae5  
    22iface lo inet loopback
    33
     4# LAN ports
    45auto eth0.0
    5 iface eth0.0 inet manual
     6iface eth0.0 inet static
    67        switch-ports 1 2 3 4 5*
    7         up ifconfig eth0.0 192.168.1.1 netmask 255.255.255.0 up
     8        address 192.168.1.1
     9        netmask 255.255.255.0
     10        broadcast 192.168.1.255
    811
     12# WAN port
    913auto eth0.1
    10 iface eth0.1 inet manual
     14iface eth0.1 inet dhcp
    1115        switch-ports 0 5
    12         up udhcpc -b -i eth0.1
    1316
     17# WLAN
    1418#auto eth1
    1519#iface eth1 inet static
    1620#       address 192.168.10.1
    17 #       netmask 255.255.255.0
    1821#       network 192.168.10.0
    1922#       broadcast 192.168.10.255
     
    2225#       pre-up iwconfig eth1 channel 11
    2326#       up wifi
     27
     28# Bridging WLAN<->LAN
     29#auto eth0.0
     30#iface eth0.0 inet manual
     31#      switch-ports 1 2 3 4 5*
     32#
     33#auto br0
     34#iface br0 inet static
     35#      bridge-ifaces eth0.0 eth1
     36#      address 192.168.1.1
     37#      netmask 255.255.255.0
     38
  • target/linux/brcm-2.4/asus-wl500g/files/etc/network/interfaces

    r9116eba r1931ae5  
    22iface lo inet loopback
    33
     4# LAN ports
    45auto eth0
    56iface eth0 inet static
     
    89        broadcast 192.168.1.255
    910
     11# WAN port
    1012auto eth1
    1113iface eth1 inet dhcp
    1214
    13 # LAN/WLAN bridging
     15# LAN-WLAN bridging
    1416# you need bridge-utils installed for this
    1517#auto br0
     
    2628#       network 192.168.10.0
    2729#       broadcast 192.168.10.255
    28 #       up iwconfig eth2 mode master
    29 #       up iwconfig eth2 essid FreeWRT
    30 #       up iwconfig eth2 channel 11
     30#       pre-up iwconfig eth2 mode master
     31#       pre-up iwconfig eth2 essid FreeWRT
     32#       pre-up iwconfig eth2 channel 11
    3133#       up wifi
    3234
  • target/linux/brcm-2.4/linksys-wrt54gs-10/files/etc/network/interfaces

    r9116eba r1931ae5  
    1 auto vlan0
    2 iface vlan0 inet static
    3         address 192.168.1.1
    4         netmask 255.255.255.0
    5         network 192.168.1.0
    6         broadcast 192.168.1.255
     1auto lo
     2iface lo inet loopback
    73
    8 auto vlan1
    9 iface vlan1 inet dhcp
     4# LAN ports
     5auto eth0.0
     6iface eth0.0 inet static
     7        switch-ports 1 2 3 4 5*
     8        address 192.168.1.1
     9        netmask 255.255.255.0
     10        broadcast 192.168.1.255
    1011
    11 auto eth1
    12 iface eth1 inet static
    13         address 192.168.10.1
    14         netmask 255.255.255.0
    15         network 192.168.10.0
    16         broadcast 192.168.10.255
    17         up wifi
    18         up iwconfig eth1 mode master
    19         up iwconfig eth1 essid FreeWRT
    20         up iwconfig eth1 channel 11
     12# WAN port
     13auto eth0.1
     14iface eth0.1 inet dhcp
     15        switch-ports 0 5
     16
     17# WLAN
     18#auto eth1
     19#iface eth1 inet static
     20#       address 192.168.10.1
     21#       network 192.168.10.0
     22#       broadcast 192.168.10.255
     23#       pre-up iwconfig eth1 mode master
     24#       pre-up iwconfig eth1 essid FreeWRT
     25#       pre-up iwconfig eth1 channel 11
     26#       up wifi
     27
     28# Bridging WLAN<->LAN
     29#auto eth0.0
     30#iface eth0.0 inet manual
     31#      switch-ports 1 2 3 4 5*
     32#
     33#auto br0
     34#iface br0 inet static
     35#      bridge-ifaces eth0.0 eth1
     36#      address 192.168.1.1
     37#      netmask 255.255.255.0
     38
Note: See TracChangeset for help on using the changeset viewer.