| 本帖最後由 ckleea 於 2010-8-18 20:25 編輯 
 For compilation and installation
 
 1. Go to this website for FAQ
 http://www.switchfin.org/
 2. This website for some basic information and fix I have in the first post
 http://www.fredshack.com/docs/atcom_ip01.html
 It also includes the basic server requirement for compilation
 
 For ubuntu
 sudo apt-get install autoconf automake bash binutils bison bzip2 coreutils flex gawk gcc gettext grep intltool iputils-ping libtool libz-dev linux-libc-dev liblzo2-dev liblzo2-2 libncurses5 libreadline5 libreadline5-dev libncurses5-dev ncurses-dev m4 make pax-utils pkg-config rpm texinfo zlib1g zlib1g-dev subversion mtd-utils uuid-dev uuid build-essential
 
 For centos
 
 yum install binutils gcc glibc-devel ncurses zlib texinfo glibc-devel glibc-static lzo lzo-devel coreutils
 
 3. to download the source code
 cd /usr/src
 svn co https://switchfin.svn.sourceforg ... fin/switchfin/trunk   switchfin
 cd switchfin
 make menuconfig; select the IP0x hardware and packages you want. No need to hurry to include everything but start with default first
 make; check if there is any error, likely that some libraries or programmes have not been installed properly or are missing
 make image
 then
 the image is located in the directory /usr/src/switchfin/build_ip01/image_ip01
 if you want to directly upgrade from the existing ATCOM GUI, use uImage-md5.
 then, at least for me, I notice that upon reboot, only one green light is on.
 Now use a serial cable and puttytel to look at the serial console.
 fix the permission error as described in the first thread.
 
 Once reboot, all done and login in at http://192.168.1.100/ user/password:admin/switchfin
 For SSH login: user/password:root/uClinux
 
 Enjoy!
 |