Sorry for the extra list traffic. This time, the patch is an attachment which 
hopefully prevents it from getting mangled.
==

When I boot my OpenWRT system, I find that my 3G UMTS modem is not brought 
up...but it comes up as soon as I do a restart of the networking subsystem.

After investigating, I noticed that the difference between "/etc/init.d/network 
boot" and "/etc/init.d/network restart" is that when called with the "boot" 
argument, the network script does not actually call "ifup -a" (which is where 
all of the magic happens).

 This means that my PPP daemon and chat scripts never get called, so my UMTS 
connection is not created. Adding a call to "ifup -a" as part of the bootup 
network script seems to fix this.

As before, if someone else knows of a better way to fix this...

Signed-off-by: Scott Dudley <spms...@hotmail.com>

                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/
--- package/base-files/files/etc/init.d/network (revision 19503)
+++ package/base-files/files/etc/init.d/network (working copy)
@@ -9,6 +9,7 @@
 
        include /lib/network
        setup_switch
+       ifup -a
        [ -s /etc/config/wireless ] || \
                /sbin/wifi detect > /etc/config/wireless
        /sbin/wifi up
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to