LINKSYS wrt54gl: Porovnání verzí

Z HKfree wiki
Skočit na navigaci Skočit na vyhledávání
 
Řádek 19: Řádek 19:
 
/dev/root                3264      1884      1380  58% /
 
/dev/root                3264      1884      1380  58% /
 
none                      7188        12      7176  0% /tmp
 
none                      7188        12      7176  0% /tmp
 +
 +
 +
Nastaveni 5ti sitovek na jednotlive porty switche (vcetne WAN)
 +
 +
nvram set vlan0_ports="1 5*"
 +
nvram set vlan0_hwname="et0"
 +
nvram set vlan1_ports="4 5*"
 +
nvram set vlan1_hwname="et0"
 +
nvram set vlan2_ports="2 5*"
 +
nvram set vlan2_hwname="et0"
 +
nvram set vlan3_ports="3 5*"
 +
nvram set vlan3_hwname="et0"
 +
nvram set vlan4_ports="0 5*"
 +
nvram set vlan4_hwname="et0"
 +
nvram commit
 +
reboot
 +
 +
Pak bude toto rozdeleni
 +
vlan0-> port3
 +
vlan1-> wanport(internet)
 +
vlan2-> port2
 +
vlan3-> port1
 +
vlan4-> port4
 +
 +
Aktivace zbyvajicich vlanu (nyni aktivni jen vlan0 a 1) je nutno provadet uz skriptem po kazdem bootu:
 +
 +
vconfig add eth0 2
 +
vconfig add eth0 3
 +
vconfig add eth0 4

Verze z 20. 1. 2006, 14:32

BusyBox v1.00 (2005.11.23-21:46+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.

 _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
         |__| W I R E L E S S   F R E E D O M
WHITE RUSSIAN (RC4) -------------------------------
 * 2 oz Vodka   Mix the Vodka and Kahlua together
 * 1 oz Kahlua  over ice, then float the cream or
 * 1/2oz cream  milk on the top.
---------------------------------------------------

root@OpenWrt:~#


root@OpenWrt:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 3264 1884 1380 58% / none 7188 12 7176 0% /tmp


Nastaveni 5ti sitovek na jednotlive porty switche (vcetne WAN)

nvram set vlan0_ports="1 5*" nvram set vlan0_hwname="et0" nvram set vlan1_ports="4 5*" nvram set vlan1_hwname="et0" nvram set vlan2_ports="2 5*" nvram set vlan2_hwname="et0" nvram set vlan3_ports="3 5*" nvram set vlan3_hwname="et0" nvram set vlan4_ports="0 5*" nvram set vlan4_hwname="et0" nvram commit reboot

Pak bude toto rozdeleni vlan0-> port3 vlan1-> wanport(internet) vlan2-> port2 vlan3-> port1 vlan4-> port4

Aktivace zbyvajicich vlanu (nyni aktivni jen vlan0 a 1) je nutno provadet uz skriptem po kazdem bootu:

vconfig add eth0 2 vconfig add eth0 3 vconfig add eth0 4