Cezary napisał/a:Pokaż wyniki poleceń
uci show wireless
uci show network
ifconfig
root@Gargoyle:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.hwmode='11g'
wireless.radio0.path='platform/ar934x_wmac'
wireless.radio0.htmode='HT20'
wireless.radio0.noscan='1'
wireless.radio0.country='PL'
wireless.radio0.channel='5'
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.channel='36'
wireless.radio1.hwmode='11a'
wireless.radio1.path='pci0000:00/0000:00:00.0'
wireless.radio1.htmode='HT20'
wireless.radio1.noscan='1'
wireless.radio1.country='PL'
wireless.ap_g=wifi-iface
wireless.ap_g.device='radio0'
wireless.ap_g.mode='sta'
wireless.ap_g.network='wan'
wireless.ap_g.key='.........'
wireless.ap_g.ssid='61'
wireless.ap_g.encryption='psk2'
root@Gargoyle:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fda8:ba68:d3bc::/48'
network.lan=interface
network.lan.force_link='1'
network.lan.type='bridge'
network.lan.proto='static'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.lan.ifname='eth0.1 eth0.2'
network.lan.ipaddr='192.168.1.50'
network.lan.dns='192.168.1.254'
network.wan6=interface
network.wan6.ifname='eth0.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='0t 2 3 4 5'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='0t 1'
network.wan=interface
network.wan.type='bridge'
network.wan.proto='dhcp'
root@Gargoyle:~# ifconfig
br-lan Link encap:Ethernet HWaddr 10:FE:ED:89:0A:F6
inet addr:192.168.1.50 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:432 errors:0 dropped:0 overruns:0 frame:0
TX packets:379 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35580 (34.7 KiB) TX bytes:50338 (49.1 KiB)
br-wan Link encap:Ethernet HWaddr 10:FE:ED:89:0A:F7
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:274 errors:0 dropped:0 overruns:0 frame:0
TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20759 (20.2 KiB) TX bytes:9142 (8.9 KiB)
eth0 Link encap:Ethernet HWaddr 10:FE:ED:89:0A:F6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:602 errors:0 dropped:0 overruns:0 frame:0
TX packets:646 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:96291 (94.0 KiB) TX bytes:82376 (80.4 KiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr 10:FE:ED:89:0A:F6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:596 errors:0 dropped:0 overruns:0 frame:0
TX packets:381 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85203 (83.2 KiB) TX bytes:50430 (49.2 KiB)
eth0.2 Link encap:Ethernet HWaddr 10:FE:ED:89:0A:F6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:29324 (28.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:101 errors:0 dropped:0 overruns:0 frame:0
TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8420 (8.2 KiB) TX bytes:8420 (8.2 KiB)
wlan0 Link encap:Ethernet HWaddr 10:FE:ED:89:0A:F7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:274 errors:0 dropped:0 overruns:0 frame:0
TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24595 (24.0 KiB) TX bytes:12860 (12.5 KiB)