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.lan=interface
network.lan.ifname=eth1
network.lan.type=bridge
network.lan.proto=static
network.lan.ipaddr=192.168.1.1
network.lan.netmask=255.255.255.0
network.lan.dns=8.8.8.8 8.8.4.4 62.179.1.62 62.179.1.63
network.wan=interface
network.wan.ifname=eth0
network.wan.proto=dhcp
network.3g=interface
network.3g.proto=3g
network.3g.device=/dev/ttyUSB0
network.3g.service=evdo
network.3g.username=smart
network.3g.password=smart
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=0 1 2 3 4
uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded=1
dhcp.@dnsmasq[0].boguspriv=1
dhcp.@dnsmasq[0].filterwin2k=0
dhcp.@dnsmasq[0].localise_queries=1
dhcp.@dnsmasq[0].rebind_protection=1
dhcp.@dnsmasq[0].rebind_localhost=1
dhcp.@dnsmasq[0].local=/lan/
dhcp.@dnsmasq[0].domain=lan
dhcp.@dnsmasq[0].expandhosts=1
dhcp.@dnsmasq[0].nonegcache=0
dhcp.@dnsmasq[0].authoritative=1
dhcp.@dnsmasq[0].readethers=1
dhcp.@dnsmasq[0].leasefile=/tmp/dhcp.leases
dhcp.@dnsmasq[0].resolvfile=/tmp/resolv.conf.auto
dhcp.lan=dhcp
dhcp.lan.interface=lan
dhcp.lan.start=100
dhcp.lan.limit=150
dhcp.lan.leasetime=12h
dhcp.wan=dhcp
dhcp.wan.interface=wan
dhcp.wan.ignore=1
dhcp.@domain[0]=domain
dhcp.@domain[0].name=www.openwrt-hotspot.net
dhcp.@domain[0].ip=192.168.1.1
dhcp.@domain[1]=domain
dhcp.@domain[1].name=package.openwrt.com
dhcp.@domain[1].ip=192.168.1.27
cat /etc/resolv.conf
search lan
nameserver 127.0.0.1
cat /tmp/resolv.conf
search lan
nameserver 127.0.0.1
cat /tmp/resolv.conf.auto
# Interface lan
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 62.179.1.62
nameserver 62.179.1.63
# Interface wan
nameserver 62.179.1.62
nameserver 62.179.1.63
nslookup onet.pl
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
Name: onet.pl
Address 1: 213.180.141.140 sg1.any.onet.pl
nslookup wiadomosci.onet.pl
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost
Name: wiadomosci.onet.pl
Address 1: 127.0.0.1 localhost
Widać tu coś? Bo ja chyba tego nie ogarniam.