|
请看测试结果:
DD-WRT v24-sp2 std (c) 2009 NewMedia-NET GmbH
Release: 02/18/09 (SVN revision: 11650)
DD-WRT login: root
Password:
==========================================================
____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|
BusyBox v1.13.2 (2009-02-18 18:22:52 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@DD-WRT:~# nvram get vlan0ports
4 3 2 1 5*
root@DD-WRT:~# nvram get vlan1ports
0 5
root@DD-WRT:~# nvram get wan_ifname
vlan1
root@DD-WRT:~# nvram get wan_ifnames
vlan1
root@DD-WRT:~# ifconfig vlan1
vlan1 Link encap:Ethernet HWaddr
UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[ 本帖最后由 carelesswang 于 2009-3-4 21:46 编辑 ] |
|