- the mysql directory now includes a pure mysql 5.1.37 source
- 2 patches for mysql and file .host.tgz added to patches/mysql
- script mycheck moved also from mysql directory to patches dir
- updated appropriate Mafefile's
----------------------------------------------------------------------------------------
Updated info about MySQL 5.1 compilation on Tomato routers by shibby and Hyzoom (BWQ518)
----------------------------------------------------------------------------------------
Info for devs: if you have a problem with compilation then you have to prepare own .host.tgz archive under mysql dorectory.
1) copy mysql directory to other location.
2) run ./configure
3) cp mysql/include/config.h mysql/include/my_config.h
4) compile parts of mysql on the host with the host gcc (non-cross-compile):
make -C mysql/vio
make -C mysql/mysys
make -C mysql/strings
make -C mysql/dbug
make -C mysql/regex
make -C mysql/sql gen_lex_hash
make -C mysql/scripts comp_sql
make -C mysql/extra comp_err
5) copy files:
mysql/sql/gen_lex_hash
mysql/scripts/comp_sql
mysql/extra/comp_err
to mysql/host directory
6) compress host directory as .host.tgz and copy it under tomato router/mysql/ (overwrite existing file)
7) now you should be able to compile mysql
pedro commit:
- switch4g: dhcpc-release/dhcpc-renew is now redundant + some more time tweaks
-----------------------------------------------------------------------------
tsynik commits:
- pptp_client.c: also add new option to defaults and httpd
272f36f8ea
- pptp_client.c: add NAT rules to firewall, remove obsolete sh ip scripts, remove debug
2aa4fcad47
- pptp_client.c: add pptp_client_usewan option to GUI
e2251d2c3a
- pptp_client.c: fix redirect Internet option, finally it works!
d6757b3dbe
- pptp_client.c: fix redirect Internet option, finally it works!
679e49b2aa
- pptp_client.c: restore route to gw in case of DHCP/LTE/STATIC
4db2f8963e
- pptp_client.c: add user configurable hidden verbose logging (switched by pptp_debug=9 nvram param)
bdb03bb277
- pptp_client.c: write dns entries to config only if enabled
d35482150f
- dhcp.c: check gw exists (don't call preset_wan if there is no gw defined)
b930ad6072
- dhcp.c: don't clear dns here for pptp/l2tp wans
8d0db68ed5
- rc: fix broken by previous commit dhcp bound?
f331a45229
- rc: disable preset_wan in case pppoe + dhcp
0adc4177a2
- rc: dhcp dns stuff (bring back missed gw and setup dns before for ptp server access)
980c66a274
- rc: revert previous PPPoE + MAN logic
3a3a382a94
- rc: move l2tp route fix to preset_wan
61b7be70c9
- rc: set / unset netmask for ppp (if there is no mask defined only)
804011c0a2
- rc: clear received dns on ppp disconnect
98e6efdcf9
- rc: check server value is valid IP
5c7954fdd0
- rc: simplify check of ptp server ip
7281fd7051
- rc: ppp netmask setup in nvram
767d5a7ca4
- rc: pptp_client: fix ip-up / down scripts, format
85df55915b
- rc: cosmetics
0efc25a82d
- rc: start_pptp() cosmetics (there is no modes for it)
9f3afe7927
- rc: fix listen stuff
6c9e3f8104
- listen.c: add pid file check to avoid duplicates for the same wan
3973648e6d
- listen.c: add stale pid file check
176cab3ed1
- mwan.c: add some failsafe checks (Don't execute route del in mwan_load_balance if interface is "none")
7a3ea417b5
- mwan.c: fix pptp-client policy routing rules (add missing table name to rt_tables)
d615528650
- mwan.c: fix netmask in wan_info for PPP connections
88d219e11a
- mwan.c: fix race condition in ip-up/down and fix in start_wan_done
8304b23b7b
- mwan.c: more simple fix for start_wan_done (assume current wan is primary if previous offline, not needed to check all)
ab6ffead60
- wan.c: deal with netmask in ppp + dhcp modes
cde4047e52
- wan.c: move received dns clear from ip-down to stop_wan_if for ppp connections
1f2ed7868e
- wan.c: fix demand mode (start_tmp_ppp and force_to_dial) almost for all connections
b22b7e36b6
- wan.c: other primary wan condition
ab67f2990e
- wan.c: fix new value (apr must be nulled here for strcmp will work (or value coud be wan2X/3X etc))
8180c0ea03
- wan.c: bump state file on connect for all wans
e7d806bcf2
- wan.c: Some code improvements
91ec483029
- wan.c: revert params clear for demand connections
8c46d1693f
- wan.c: disable start_tmp_ppp at all
8001aa54c1
- wan.c: fix force_to_dial for pptp (as it doesn't use tmp_ppp, we need to ping not gw but dgw in demand mode)
9d7d33a21f
- wan.c: some recent code fixes
de6bd55edf
- wan.c: fix wireless client as wan once again
3636cdfe92
- wan.c: use persistent ppp interfaces across wans if possible
a68cbf58fd
- wan.c: use "none" as interface name when ppp not connected (UNDEF was added just for debug)
2a13c97339
- services.c: fix allow RFC1918 responses for L2TP/PPTP servers (This will fix unable to resolve server IPs on L2TP/PPTP WANs in case address is private.)
43ce835c8b
- services.c: avoid dns entries duplicates
295a1909f5
- resolv.dnsmasq - fix ch type, newlines for vpn clients
7a6f01f001
- ppp demand code drive me mad (No thoughts what to do with this stuff...)
ab4ac6341c
- shared/misc.c: add ethernet checks (can be useful for WANs with static IP in case cable unplugged)
cdc8cc4d8d
- check_wanup / wan_led routine: add ethernet WAN port checker for static IP WANs
85d423d7c5
- increase boot_wait time: Hopefully it will allow reflash .trx in case bad fw, 10 seconds is not enough.
User must change Boot Wait Time in Tomato UI (Advanced Settings - Miscellaneous) and decrease wait time after flash / reset defaults to desired value.
- Ported from combined tsynik commits:
59717c27fa90c8a61940
- trailing comma in Custom Configuration and TCP buffers tune
- backward custom options format compatibility and empty fix
- in case Transmission installed, there is /usr/share/transmission/web so symlinking whole /usr/share doesn't work as expected.
Ported from combined tsynik commits:
65b59a8dce8ef9c44abd07fa6f7966