OpenWrt/TP-Link TL-MR3020: Difference between revisions
< OpenWrt
(Die Seite wurde neu angelegt: „/config/network <blockquote> <pre> config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0…“) |
No edit summary |
||
Line 9: | Line 9: | ||
config interface 'lan' | config interface 'lan' | ||
option proto 'static' | option proto 'static' | ||
option ipaddr '192.168.111.20' | option ipaddr '192.168.111.20' | ||
Line 23: | Line 21: | ||
<pre> | <pre> | ||
config dnsmasq | config dnsmasq | ||
option domainneeded 1 | option domainneeded '1' | ||
option boguspriv 1 | option boguspriv '1' | ||
option filterwin2k 0 | option filterwin2k '0' | ||
option localise_queries 1 | option localise_queries '1' | ||
option rebind_protection 1 | option rebind_protection '1' | ||
option rebind_localhost 1 | option rebind_localhost '1' | ||
option local '/lan/' | |||
option local '/lan/' | option domain 'lan' | ||
option domain 'lan' | option expandhosts '1' | ||
option expandhosts 1 | option nonegcache '0' | ||
option nonegcache 0 | option authoritative '1' | ||
option authoritative 1 | option readethers '1' | ||
option readethers 1 | option leasefile '/tmp/dhcp.leases' | ||
option leasefile '/tmp/dhcp.leases' | option resolvfile '/tmp/resolv.conf.auto' | ||
option resolvfile '/tmp/resolv.conf.auto | |||
config dhcp lan | config dhcp 'lan' | ||
option interface lan | option interface 'lan' | ||
option ignore 1 | option ignore '1' | ||
option start | |||
option limit 150 | config dhcp 'wan' | ||
option | option interface 'wan' | ||
option ignore '1' | |||
config dhcp | |||
option start '100' | |||
option leasetime '12h' | |||
option limit '150' | |||
option interface 'eth' | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 13:10, 1 August 2012
/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 proto 'static' option ipaddr '192.168.111.20' option netmask '255.255.255.0' option gateway '192.168.111.1' list dns '192.168.111.1'
/config/dhcp
config dnsmasq option domainneeded '1' option boguspriv '1' option filterwin2k '0' option localise_queries '1' option rebind_protection '1' option rebind_localhost '1' option local '/lan/' option domain 'lan' option expandhosts '1' option nonegcache '0' option authoritative '1' option readethers '1' option leasefile '/tmp/dhcp.leases' option resolvfile '/tmp/resolv.conf.auto' config dhcp 'lan' option interface 'lan' option ignore '1' config dhcp 'wan' option interface 'wan' option ignore '1' config dhcp option start '100' option leasetime '12h' option limit '150' option interface 'eth'
Block Device (root from usb stick)
opkg update opkg install kmod-usb-uhci insmod uhci opkg install kmod-usb-ohci insmod usb-ohci opkg install kmod-usb-storage block-mount kmod-fs-ext4 kmod-nls-cp437 kmod-nls-cp850 kmod-nls-iso8859-1 kmod-nls-iso8859-15 kmod-scsi-core e2fsprogs fdisk
USB-Sound
opkg update opkg install kmod-usb-audio kmod-sound-core madplay usbutils alsa-utils
Clear Flash
mtd -r erase rootfs_data