Hi,
at last I got a working UMTS connection with my Alix board.
When I have a look at the LuCI WAN setup page, there is an option
"Replace default route" which is not set.
This results in a uci config for "wan" WITHOUT "option defaultroute" set:
config 'interface' 'wan'
option 'ifname' 'ppp0'
option 'proto' '3g'
option 'device' '/dev/ttyUSB3'
option 'apn' 'web.vodafone.de'
option 'service' 'umts'
option 'pincode' 'XXXX'
The "start_pppd" function on the other hand asumes "defaultroute" equals
"1" if the option is missing.
So, should I fix package/ppp/files/ppp.sh like this:
- config_get_bool defaultroute "$cfg" defaultroute 1
+ config_get_bool defaultroute "$cfg" defaultroute 0
Or should anybody fix the LuCI page to handle the missing option as "1"
as well?
I by myself prefer the default to be "0" as I do not like routes to be
set without explicit configuration.
Suggestions?
/Markus
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel