--- cy_conf.mak.old 2007-02-11 15:54:22.000000000 +0200 +++ cy_conf.mak 2007-02-11 15:55:21.000000000 +0200 @@ -25,6 +25,8 @@ # CONFIG_ROUTED_UNLIMIT is not set #CLI_SUPPORT is not set # CONFIG_CLI is not set +CLI_SUPPORT=1 +CONFIG_CLI=y #IPCP_NETMASK_SUPPORT is not set # CONFIG_IPCP_NETMASK is not set #SETUP_WIZARD_FT_SUPPORT is not set --- cy_conf.h.old 2007-02-11 15:54:14.000000000 +0200 +++ cy_conf.h 2007-02-11 15:54:47.000000000 +0200 @@ -24,6 +24,8 @@ //#define CONFIG_ROUTED_UNLIMIT n //#define CLI_SUPPORT 0 //#define CONFIG_CLI n +#define CLI_SUPPORT 1 +#define CONFIG_CLI y //#define IPCP_NETMASK_SUPPORT 0 //#define CONFIG_IPCP_NETMASK n //#define SETUP_WIZARD_FT_SUPPORT 0 --- router/rc/mketc.c.old 2007-02-11 15:55:38.000000000 +0200 +++ router/rc/mketc.c 2007-02-11 15:56:26.000000000 +0200 @@ -12,9 +12,11 @@ passwd=fopen("/tmp/passwd","w"); fprintf(passwd,"%s:",nvram_safe_get("http_username")); - fprintf(passwd,"%s:0:0::/tmp:/bin/configurator\n",crypt(nvram_safe_get("http_passwd"),"Zi")); + //fprintf(passwd,"%s:0:0::/tmp:/bin/configurator\n",crypt(nvram_safe_get("http_passwd"),"Zi")); + fprintf(passwd,"%s:0:0::/tmp:/bin/sh\n",crypt(nvram_safe_get("http_passwd"),"Zi")); fprintf(passwd,"%s:",nvram_safe_get("http_remote_username")); - fprintf(passwd,"%s:0:0::/tmp:/bin/configurator\n",crypt(nvram_safe_get("http_remote_passwd"),"Zi")); + //fprintf(passwd,"%s:0:0::/tmp:/bin/configurator\n",crypt(nvram_safe_get("http_remote_passwd"),"Zi")); + fprintf(passwd,"%s:0:0::/tmp:/bin/sh\n",crypt(nvram_safe_get("http_remote_passwd"),"Zi")); fclose(passwd); return 0; --- router/Makefile.old 2007-02-11 16:12:00.000000000 +0200 +++ router/Makefile 2007-02-11 16:12:05.000000000 +0200 @@ -208,8 +208,8 @@ ifeq ($(CLI_SUPPORT),1) # cli module kirby #obj-$(CONFIG_PARSER) += parser -obj-y += parser -#obj-$(CONFIG_TELNETD) += telnetd +#obj-y += parser +obj-$(CONFIG_TELNETD) += telnetd #obj-y += telnetd #obj-y += cli --- include/code_pattern.h.old 2007-02-11 16:24:18.000000000 +0200 +++ include/code_pattern.h 2007-02-11 16:25:06.000000000 +0200 @@ -82,6 +82,7 @@ //#define PROJECT WAG54GV2 //#define PROJECT AG241 +#define PROJECT AG241V2 //By junzhao Add for Customer #if OEM==LINKSYS --- image/Makefile.old 2007-02-11 17:10:21.000000000 +0200 +++ image/Makefile 2007-02-11 17:10:34.000000000 +0200 @@ -2,7 +2,8 @@ rm -rf code.bin ../router/mipsel-uclibc/merge ram_zimage.bin target.squshfs 1 chmod 644 code.bin - ../router/mipsel-uclibc/addpattern -i code.bin -o upgrade_code.bin -p WAG2 +# ../router/mipsel-uclibc/addpattern -i code.bin -o upgrade_code.bin -p WAG2 + ../router/mipsel-uclibc/addpattern -i code.bin -o upgrade_code.bin -p AG3A ../router/mipsel-uclibc/tichksum upgrade_code.bin rom: