1.openwrt升级固件时上传的bin文件怎么变成了firmware.img
2.å¦ä½åºåopenwrt带ä¸å¸¦web
openwrt升级固件时上传的bin文件怎么变成了firmware.img
平台不同稍有差异,一般流程都是ine源码差不多的首先修改trunk/tools/firmware-utils/src/mktplinkfw.c只修改fw_max_len为0xfc,Mflash;只修改fw_max_len为0x7c,哔哩导航源码8Mflash.id="4M",崇左名片网站源码.fw_max_len=0xfc,.kernel_la=0x,.kernel_ep=0x,.rootfs_ofs=0x,新版只用改fw的大小,分区表会自动认,上饶安卓源码不用像老版自己定义每个分区大小了。株洲到贵州源码另外还需下面修改:Imagebuilder目录下,./target/linux/arxx/image/Makefile,把n最后的4Mlzma改成了8Mlzma或Mlzma$(eval$(callSingleProfile,TPLINK-LZMA,$(fs_kraw),TLWR,tl-wrn-v1,TL-WRN,ttyATH0,,0x,1,8Mlzma))否则出现如下错误:[mktplinkfw]kernellengthalignedto[mktplinkfw]***error:imagesaretoobigmake[3]:[install]Error(ignored)在openwrt中不能更新uboot时,需要做如下修改:target/linux/arxx/files/drivers/mtd/tplinkpart.cparts[0].mask_flags=MTD_WRITEABLE;//去除本行
å¦ä½åºåopenwrt带ä¸å¸¦web
chnroutes è·¯ç±è¡¨
ããè¿ä¸ªè·¯ç±è¡¨éä¸äºææåé å°ä¸å½å¤§éç IP 段ï¼
ããæ³æ³å¦æè½å¤è®©å®¶éçè·¯ç±ç´æ¥è¿æ¥ ***ï¼å¨å®¶è¿æ¥ WiFi çææ设å¤ç´æ¥è¾¾å°Fanå¢çææï¼åºè¯¥å¾ Coolï¼æ以æè¿å¨æå®æ´äºä¸ä¸ª Netgear WNDR äºæè·¯ç±åæ¥ï¼å ååå«å¨ DD-WRT å OpenWRT æåé ç½® *** + chnroutesï¼æåè¿æ¯éæ©äº OpenWRTã
ããDD-WRT vs OpenWRT
ããå ³äº DD-WRT å OpenWRTï¼æéæ© OpenWRT 主è¦å 为 DD-WRT ROM ä¸éæç软件太å¤ï¼ç»å¤§å¤æ°ç¨ä¸å°ï¼è¦é ç½® jffs2 æ¥ä¿åèæ¬æ件ï¼ä¸è¬é ç½®åä¿åå¨nvramä¸ï¼èä¸æ 线è¾ä¸ç¨³å®ï¼5Gé¢æ®µå¸¸æç´¢ä¸å°ï¼å½ç¶å¯è½æ¯æè¿ä¸ªè·¯ç±å¨åå·çæ¯æé®é¢ï¼ãOpenWRT çé ç½®æ件è¯æ³ç»ä¸ï¼é ç½®é½åå¨å¨æ件系ç»ä¸ï¼ä¸ ROM æ¬èº«ä» éæäºå¿ å¤ç»ä»¶ï¼é常å°ï¼å¯ä»¥åªå®è£ éè¦çä¸è¥¿ï¼WEB管ççé¢ä¹æ¯å¯éå®è£ ï¼ç®æ´å¼ºå¤§ï¼ç»è¿è¥å¹²å¤©ç使ç¨ä¸ç´æ¯è¾ç¨³å®ã
ããé ç½®
ããå·²é 置好 OpenWRT ä¸ç½çç«¥é们å¯ä»¥ç´æ¥è·³è¿ 1.å· ROM å 2.åå§é ç½®
ãã1.å· ROM
ããa.é¦å ç¡®å®ä½ ç设å¤å¯ä»¥è¢« OpenWRT ææ¯æï¼å°è¿éæ¥çæ¯æç设å¤å表ï¼ç¶åå°è¿éä¸è½½ç¼è¯å¥½ç ROMï¼ãææ°ç stable çæ¬æ¯ attitude_adjustment(.)ï¼æä¸è½½çæ¯ trunk çæ¬ã
ããb.å¨ OpenWRT å®ç½æ¾ç¸åºè®¾å¤ç Wiki 页é¢æ¥çå·æºæ¹æ³ï¼ä¸è¬é½æ¯å¨è·¯ç±å¨å®æ¹Webåºä»¶å级页é¢ç´æ¥å·å ¥ï¼æç WNDR Wiki页é¢æ¯ï¼
ãã2.åå§é ç½®
ããa.è·¯ç±å¨å¯å¨åï¼æçåå·æ²¡æå®è£ Wifi 模åï¼éè¦å ç¨ç½çº¿è¿æ¥å° LAN å£ï¼æ¬æº IP é 置为éæ ..1.xï¼ç¶å telnet å° ..1.1ï¼æ´æ¹ root å¯ç ï¼ç¶å ssh è¿å ¥ï¼
ããb.é ç½® WAN å£ï¼è®©è·¯ç±è¿ä¸ Internetï¼åèï¼
ããæ¯å¦è¦é ç½® PPPoEï¼