My Router Built from (almost) Scratch

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Paul Dickson
Date:  
Subject: My Router Built from (almost) Scratch
I finally got my router into a usable state today. It provides me with
network connectivity to the Internet as well as providing NTP, DNS, SSH,
IPTables, and Demand PPP (yes, I connect via dialup modem). It does this
using a 64 MB CompactFlash card connected to the IDE cable like a HD.

    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/root                62293     21507     40786  35% /
    tmpfs                    31148       580     30568   2% /var


I would have used my 32 MB CF card, but it proved to be unreliable upon
rereading (possibly having to do with the Lexar Media card not
implementing LBA).

    Mem:    62296k av, 11172k used, 51124k free, 0k shrd, 224k buff, 4692k cached
    Load average: 0.00, 0.00, 0.00    (State: S=sleeping R=running, W=waiting)


      PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
      125 root     S       2128     1  0.0  3.4 ntpd
      151 root     S       1240   137  0.0  1.9 dnscache
      155 root     S       1180    99  0.0  1.8 sshd
       99 root     S        992     1  0.0  1.5 sshd
      148 root     S        460   130  0.0  0.7 pppd
      157 root     S        288   155  0.0  0.4 ash
      127 root     S        232     1  0.0  0.3 svscanboot
      130 root     S        228     1  0.0  0.3 ppp-watch
       82 root     S        224     1  0.0  0.3 syslogd
        1 root     S        220     0  0.0  0.3 init
      594 root     R        216   157  0.1  0.3 top
      152 dnslog   S        192   138  0.0  0.3 multilog
      133 root     S        176   127  0.0  0.2 svscan
      149 root     S        176   135  0.0  0.2 tinydns
       31 root     S        168     1  0.0  0.2 klogd
      128 root     S        164     1  0.0  0.2 getty
      129 root     S        164     1  0.0  0.2 getty
      150 dnslog   S        164   136  0.0  0.2 multilog
      138 root     S        156   133  0.0  0.2 supervise
      136 root     S        156   133  0.0  0.2 supervise
      137 root     S        156   133  0.0  0.2 supervise
      135 root     S        156   133  0.0  0.2 supervise
      134 root     S        128   127  0.0  0.2 readproctitle
        3 root     SW<        0     1  0.0  0.0 events/0
        7 root     SW         0     1  0.0  0.0 kswapd0
        9 root     SW         0     1  0.0  0.0 kseriod
        6 root     SW         0     1  0.0  0.0 pdflush
        2 root     SWN        0     1  0.0  0.0 ksoftirqd/0
        8 root     SW<        0     1  0.0  0.0 aio/0
        4 root     SW<        0     1  0.0  0.0 kblockd/0
        5 root     SW         0     1  0.0  0.0 pdflush


Oh, yes. It's running 2.6.0-test9.

Anyone want me to post more details or instuctions on how I built it?

    -Paul