Zum Inhalt springen

Ubiquiti RouterStation: Unterschied zwischen den Versionen

Aus Opennet
Inhalt gelöscht Inhalt hinzugefügt
MathiasMahnke (Diskussion | Beiträge)
MathiasMahnke (Diskussion | Beiträge)
Zeile 41: Zeile 41:


* /etc/config/network
* /etc/config/network
config 'interface' 'loopback'
config interface loopback
option 'ifname' 'lo'
option ifname lo
option 'proto' 'static'
option proto static
option 'ipaddr' '127.0.0.1'
option ipaddr 127.0.0.1
option 'netmask' '255.0.0.0'
option netmask 255.0.0.0

⚫
config 'interface' 'wan'
⚫
config interface lan
⚫
option 'ifname' 'eth0'
option 'proto' 'dhcp'
option ifname eth1
# option type bridge
⚫
config 'interface' 'lan'
option 'ifname' 'eth1'
option proto static
option 'proto' 'static'
option ipaddr 172.16.0.1
option 'ipaddr' '172.16.0.1'
option netmask 255.255.255.0

option 'netmask' '255.255.255.0'
⚫
config interface wan
⚫
option ifname eth0
option proto dhcp
* /etc/config/firewall
* /etc/config/firewall
config defaults
config defaults

Version vom 28. Dezember 2009, 16:27 Uhr

MIPS Wireless Router Boards, siehe http://wiki.ubnt.com/wiki/index.php/RouterStation

Überblick

Hardware

  • MIPS-Architektur, Atheros AR71xx SoC

Schnittstellen

  • eth0 = WAN-Schnittstelle (einzelner POE-Port)
  • eth1 = LAN-Schnittstelle (2-Port-Switch)
  • wifi0 = WLAN-Schnittstelle (SLOT_0 oben)
  • wifi1 = WLAN-Schnittstelle (SLOT_1 oben)
  • wifi2 = WLAN-Schnittstelle (SLOT_2 unten)

Serial

  • 3.3 Volt (Level-Shifter notwendig)
  • J3 (3-Pin Connector), Pinbelegung:
2 - ORANGE (Signal IN/RX), 
5 - YELLOW (Signal OUT/TX), 
6 - BLACK (GROUND)

Erstinstallation

Hinweise siehe http://wiki.ubnt.com/wiki/index.php/RouterStation_OpenWRT_SW_Setup_Guide

Softwareupdate

src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages
  • Live-Update durchführen:
opkg update
opkg upgrade

Opennet Router

  • /etc/config/network
config interface loopback
       option ifname   lo
       option proto    static
       option ipaddr   127.0.0.1
       option netmask  255.0.0.0
config interface lan
       option ifname   eth1
#       option type     bridge
       option proto    static
       option ipaddr   172.16.0.1
       option netmask  255.255.255.0

config interface wan

       option ifname   eth0
       option proto    dhcp
  • /etc/config/firewall
config defaults
   option syn_flood	1
   option input	ACCEPT
   option output	ACCEPT 
   option forward	ACCEPT
config zone
   option name	lan
   option input	ACCEPT 
   option output	ACCEPT 
   option forward 	ACCEPT
config zone
   option name	wan
   option input	REJECT
   option output	ACCEPT 
   option forward	REJECT
   option masq	1 
config forwarding 
   option src      lan
   option dest     wan
   option mtu_fix	1
config include
   option path /etc/firewall.user