Ò»¡¢Ê×ÏÈÏÂÔØDebian/NSLU2£¬Õâ¸öÊÇDebianÔÚARMƽ̨µÄinstaller
Õâ¸öUnofficialµÄFirmware¿ÉÒÔÔÚhttp://www.slug-firmware.net/ÏÂÔØˢе½NSLU2Àï±ß.
Èç¹ûÄ㻹ÔÚÓùٷ½µÄFirmware£¬ÄÇôÄã¿ÉÒÔÖ±½ÓÔÚWeb½çÃæÉÏË¢ÐÂ
[align=center][/align]
µ«ÒªÊÇûÓÐweb½çÃæ¿ÉÓÃÁË£¬¿ÉÒÔ²ÉÓÃÒÔÏÂÕâ¸ö¹¤¾ß£º
http://www.everbesthk.com/8-download/sercomm/firmware/all_router_utility.zip
ʹÓ÷½·¨»¹ÊÇÌý¼òµ¥µÄ£¬ÖØпªÆôNSLU2֮ǰ£¬ÕÒ¸öÑÀÇ©Ö®ÀàµÄ°´×źó±ßµÄreset£¬È»ºó¿ªÆôµçÔ´£¬µÈ´ó¸Å10Ãë×óÓÒ£¬Äã»á¿´¼ûReady/StatusµÆ³öÏÖºìÉ«£¬Á¢¼´·Å¿ªreset¼ü¡£
ÕâʱºòÄãÓ¦¸Ã¿´¼ûReady/StatusµÆ»áÔÚºìÉ«/ÂÌÉ«¼äÉÁ˸£¬Èç¹ûÊǾͿÉÒÔ¿ªÊ¼Ë¢ÐÂÁË£¬ÉϱßÄǸö¹¤¾ßºÜ¼òµ¥£¬×Ô¼º¿´×ŲÙ×÷¾ÍºÃÁË£¬Î޷ǾÍÊÇÕÒµ½É豸£¨Ó¦¸ÃÊÇÒ»´®Êý×ֵģ©£¬Ñ¡Ôñ.binÎļþ£¬Ë¢Ð£¬OK
¶þ¡¢°²×°
1¡¢µ±rebootÖ®ºó£¬Äã´ó¸ÅÒªµÈ1·ÖÖÓ×óÓÒµÄʱ¼ä£¬µÈÌýµ½3Éù¶ÌbeepÖ®ºó£¬Äã¾ÍÓÃPieTTYµÇ¼½øÈ¥
µÇ¼ID£ºinstaller
µÇ¼PW£ºinstall
×¢Ò⣺
Èç¹ûÄãµÄGateway²»ÊÇ192.168.1.1µÄ»°£¬¾ÍµÃÑ¡ÔñStart Shell·½Ê½
¾ßÌåÐ޸ĵÄÊÂÇéÈçÏ£º
1¡¢nano /etc/network/interfaces
ÐÞ¸ÄgatewayµÄIP£¬ÒÔ¼°¶ÔÓ¦µÄDNS serverµÄIP
2¡¢nano /etc/resolve.conf
ÐÞ¸ÄnameserverµÄIP
3¡¢ÐÞ¸Äroute·¾¶
route del default
route add default gw 192.168.1.X(ÄãµÄÍø¹ØIP)
4¡¢»Øµ½°²×°menu
/bin/network-console-menu
È»ºóÑ¡ÔñStart Menu
£¨Èç¹ûÄãµÄÍø¹ØÈ·ÈÏÊÇ192.168.1.1£¬ÄÇôÉÏÊö²½Öè¿ÉÒÔÌø¹ý£©
2¡¢ÔÚµÚÒ»²½ÄãҪѡÔñ¶ÔÓ¦MirrorÈ¥»ñµÃ±ØÒªµÄÎļþ
ÕâÀïÐèҪעÒâÒ»¸öÎÊÌ⣬China½ÚµãµÄmirror¶¼Ã»ÓÐARM£¨ºÃÏñmipsҲûÓУ©Æ½Ì¨µÄ±ØÒªÎļþ£¬KRÄDZߵľÍÓУ¬·´Õý×Ô¼º¿´×Ű죬ÎÒÔÚ¹úÄÚ¾ÍÓÃKRµÄmirror½Úµã¡£
¾ÀÕý¾ÀÕý£¬mirrors.geekbone.orgº¬ÓÐalpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc£¬°¦¡£¡£¡£Ò»¸ö²»ÁôÉñ£¬ÔçÖªµÀÓÃÕâ¸öºÃÁË¡£
DebianµÄÍêÕûmirrorsÁÐ±í£ºhttp://www.us.debian.org/mirror/list
3¡¢Á¬½Ó³É¹¦ºó£¬µ½ÁË¡°Download installer Componets¡±
[align=center][/align]
ÒÔÏÂÄ£¿éÒ»¶¨ÒªÑ¡Ôñ£¬Òª²»È»°²×°»á²»³É¹¦
ext3-modules-2.6.17-2-ixp4xx-di: EXT3 filesystem support
partman-auto: Automatically partition storage devices (partman)
partman-ext3: Add to partman support for ext3
scsi-core-modules-2.6.17-2-ixp4xx-di: Core SCSI subsystem
usb-storage-modules-2.6.17-2-ixp4xx-di: USB storage support
4¡¢½ÓÏÂÀ´¾ÍÊÇ´ÅÅÌ·ÖÇø£¬ÕâÀïûÓÐʲôÄѶȣ¬ÐèҪ˵Ã÷µÄÊÇ£¬patman»á½«RAMÒÔ¼°ÄãµÄUSB½Ó¿ÚÉϵĴÅÅÌÒ»ÆðÁгöÀ´£¬Òò´Ë£¬Ñ¡ÔñºÃ¶ÔÓ¦µÄ·ÖÇø£¬É趨ºÃ"/"²¢×÷Ϊbootable£¬ÔÙÉ趨ºÃswap·ÖÇø¾ÍºÃÁË¡£
5¡¢Ê£ÏµĹ¤×÷¾ÍÊǵȴýϵͳ»ñÈ¡Îļþ²¢×ÔÐа²×°£¬
¹ý³ÌÖл¹Óм¸¸öÐèÒª½»»¥µÄµØ·½
a)¡¢dpkg-reconfigure popularity-contest£¬ÕâÀïÆäʵÊÇÎÊÌâÊÇ·ñ½«ÄãʹÓÃDebianµÄÏà¹ØÐÅÏ¢·¢Ë͵½Debian£¬Äã¿ÉÒÔÏÖÔÚ×ö£¬Ò²¿ÉÒÔºó±ßÊÖ¶¯Ö´ÐÐÃüÁî¡£
b)¡¢Software Selection
ÔÚÉÏÊöµÄ°²×°½ö½öÊÇ°²×°ÁËCoreµÄ¶«Î÷£¬ÏàÓ¦µÄÓ¦Óû¹ÐèÒªÉ趨£¬ÔÚÕâÀïÓм¸¸öģʽ¿ÉÒÔÑ¡Ôñ£¬Õ⼸¿´Äã×Ô¼ºÁË¡£
ÎÒ¾ÍÑ¡ÔñFile ServerËãÁË
6¡¢µ½ÁË×îºóinstaller»á½«ÐµÄkernelдÈëµ½flashÖС£
¿´¼ûconfirmation£¬È·ÈÏ°²×°Íê±Ï¡£
Èý¡¢ÊÕβ¹¤×÷
1¡¢tzconfigÉ趨ºÃ¶ÔÓ¦µÄʱÇø
2¡¢localesµÄÎÊÌâ
Èç¹ûÄãµÄHDDÉÏÓÐÖÐÎĵĶ«Î÷£¬ÄÇôÕâ¾ÍÒ»¶¨µÃ×ö£¬ÌرðÊÇÓÐFAT/FAT32/NTFS£¨only read£©ÓÃvfat mountÕâЩ·ÖÇøµÄʱºò¡£
apt-get install locales
dpkg-reconfigure locales
Ñ¡ÔñZh_cnÈô¸Égbk gb2312 utf8 gb10831£¬en_us.utf-8
ǧÍò²»ÒªÒ²Ã»ÓбØҪѡÔñAll£¬Ò»À´Ã»±ØÒª£¬¶þÀ´¡£¡£¡£¡£ºÕºÕ£¬ÄÇÄã¾ÍÂýÂýµÈÉϸöÒ»Ìì°É
È»ºóĬÈÏÑ¡en_us.utf-8
£¨Õâ¸öºÜÖØÒª£¬ÒòΪÄãʹÓÃPieTTY SSH·ÃÎÊNSLU2µÄ£¬¶øÕâ¸öʱºòshellÊÇÏÔʾ²»ÁËÖÐÎĵġ££©
È»ºóÔÚ/etc/fstabÖжÔvfat·ÖÇø¼ÓÈëÈçϲÎÊýumask=000,iocharset=utf8,rw,user
È»ºómount -a
ºÃÁË£¬Õâ»ØËãÊÇ×îÖÕÍê±ÏÁË¡£
½ÓÏÂÀ´¾ÍÊÇapt-get update¼°apt-get install xxxÁË.