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 
parameter, 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 <[email protected]>


--- 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
                                          
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to