[luci] Configuration network at loading OpenWrt with LuCI
gig
gig-tmb at yandex.ru
Mi Aug 20 10:14:43 CEST 2008
Hi!
by default, network config exist
at /packages/base-files/etc/config/network
without addons LuCI at firmware after compile & flash firmware at first
time startup all predifined settings work fine!
But when i add LuCI, at first startup it settings replaced with dhcp or
if look `ps w` at reloading from interface!!!
722 root 2408 S crond -c /etc/crontabs
736 root 2404 S /usr/sbin/httpd -p 80 -h /www -r OpenWrt
992 root 4136 S /usr/bin/lua /www/cgi-bin/luci
993 root 2408 S sh -c /sbin/luci-reload network firewall
dnsmasq luci
994 root 2408 S /bin/sh /sbin/luci-reload network firewall
dnsmasq lu
995 root 2472 S /bin/sh /etc/rc.common /etc/init.d/network
restart
997 root 2440 S /bin/sh /sbin/ifup -a
1048 root 2472 S /bin/sh /sbin/ifup lan
1108 root 2400 R ifconfig eth0 up
1111 root 2408 R ps w
root at OpenWrt:/# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0C:42:0E:2E:F2
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:372 errors:572647948 dropped:572647948 overruns:0
frame:0
TX packets:411 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43901 (42.8 KiB) TX bytes:203295 (198.5 KiB)
Interrupt:40
He without adress & up's with 0.0.0.0
____________________
Gig, Skryabin Dmitry
BeST Ltd.
More information about the luci
mailing list