@wikiメニュー編集表示ツールヘルプブックマーク登録RSS登録
このウィキに参加ログイン
新規ページ作成
すでにあるページをコピーして新規ページを作成 スレッドフロート型掲示板から引用して新規ページ作成(α版) ブログの内容から引用して新規ページ作成(α版) ファイルをアップロードして新規ページ作成(α版) 他のホームページから引用して新規ページ作成(α版)
[PR] 無料ホームページ @PAGES [PR] オークション@pedia [PR] 2ch型無料レンタル掲示板 @chs
@wikiで新規wikiを作成
このページを編集 このページを編集(メニュー非表示編集;α) このページをコピーして新規ページを作成 このページのページ名を変更 このページの編集モードを変更 このページの閲覧/編集権限の変更
このページにファイルをアップロード
このウィキにファイルをアップロード(FTP機能/管理者のみ利用可)
メニューを編集(メニュー部分は非表示で編集)
このページの最新版変更点 このページの編集履歴(バックアップ) このページへのリンク元 このページへのトラックバック
このページをPDFで表示(α版)
関連ページ(α版) 関連ホットワード(α版)
このwikiのページ一覧 編集履歴(バックアップ)のあるページ一覧 このwikiのタグ一覧 このwikiの更新情報RSSこのwikiの更新情報RSS このwikiの新着ページRSSこのwikiの新着ページRSS
このwiki内を検索 @wikiパーツ▶  @wiki便利ツール▶  このwikiの管理者に連絡
@wiki助け合いコミュニティ @wiki助け合い掲示板
wiki(ウィキ)って何?
初心者ガイド
ご利用ガイド 良くある質問 プラグイン一覧 編集モードの違いについて 不具合や障害を見つけたら 管理・設定マニュアル
はてなブックマークする FC2ブックマークに追加 Livedoor クリップに追加 Yahoo!ブックマークに登録 del.icio.usに追加
はてなRSSに追加 livedoor ReaderにRSSフィードを登録 Yahoo!にRSSフィードを登録 BloglinesにRSSフィードを登録 NewsGator OnlineにRSSフィードを登録 iGoogleにRSSを追加
@wikiパーツ:あなたのサイトにWikiデータを簡単表示!
最近更新したページの一覧を表示する 最近作成したページの一覧を表示する このwiki内を検索するフォームを表示する このwikiのタグクラウドを表示する 自動リンク辞書を利用する
@wiki便利ツール:トップページ
まとめサイト作成支援ツール RSSかんたん作成 興味キーワードをチェック!!(RSSナビ) いろんなblogのRSSかんたん作成ページ アマゾン商品検索(簡単アフィリエイト) wikiに株式情報(日本)を表示 wikiに株式情報(中国)を表示 かんたんHTML直接入力 Q&Aサイトかんたん連携作成 wikiに為替情報を表示 はてなアンテナと簡単連携

玄箱でNetBSDを動かす Trial-Pack > en

NetBSD trial-pack for KURO-BOX/LinkStation/TeraStation

(The status is "experimental". If you feel something wrong, please notify me. Thank you.)

Feature

  • It based on NetBSD 3.0.1.
  • It uses MDROOT (aka RAMDISK root filesystem).
    • You will not need to modify the partitions of your box.
    • Also you will not need to purchase an USB-memory.
  • The Serial-Console is not necessary.
    • It will get the IP-Address from DHCP.
    • Also it can use the IP-Address 192.168.200.200/24, or 192.168.200.210/24 statically.
      • *.200 is for LS1/KURO. *.210 is for LS-HG/KUROHG/TeraStation.
    • It can login with serial-console or telnet. The user is "root" and no password.
    • The ftpd is working.
      • It only can use with password, so you must set the password with "passwd" command.
    • There is many commands available. (See below)
      • "tcsh", "wget" is also available.
    • It can use installation of NetBSD onto your box.
    • It also can repair your NetBSD'ed box.

Download


Boot

  • On Linux, "insmod nbloader_v3.o kernel=netbsd.bin"
    • It is recommended that use of my boot selector. It can boot more safely than above.

Login

  • After booting up, you may access the box with serial-console or telnet.
    • The IP-Address is take from DHCP server of your network.
    • If you have not DHCP server, you must set your PC's address as (for example) 192.168.200.100/255.255.255.0, and telnet at 192.168.200.200 or 192.168.200.210.

How to shutdown/reboot

  • It may power-off with "shutdown -h now".
  • It also may reboot with "shutdown -r now".
  • Of course, it can use the "power button".

How to use ftpd.

  • Instantly, add password to "root" (take "passwd root").
  • Then you may login ftp with "root".

How to install NetBSD/sandpoint 3.1 onto your box with the "trial-pack"

(*CAUTION*) Backup your hard drive's entity before take these steps.
  • Boot with "trial-pack" kernel.
  • Create the NetBSD slice with "fdisk" command.
  • Create the NetBSD partitions with "disklabel" command.
  • Format partitions with "newfs" command.
  • Mount the partitions at "/mnt" with "mount" command.
    • It must keep the tree-structure. For example, "/mnt", "/mnt/var", "/mnt/usr", ...
  • Extract NetBSD/sandpoint 3.1 tarballs at "/mnt". At least, "base.tgz" and "etc.tgz" are needed.
    • To keep permissions/owners, it is needed that "tar" with "p" option ("tar zxvpf base.tgz").
  • Extract kuro_annex31.20061029.tar.bz2 at /mnt.
    • It must also use "p" option to tar command.
  • "cd /mnt/etc" and "sh MAKEDEV all".
  • Edit /mnt/etc/fstab to fit your partitions.
  • Edit /mnt/etc/rc.conf to fit your environments.

  • On Linux, take *normal* kernel from here and extract it.
  • It may boot with "insmod nbloader_v3.o kernel=netbsd.GENERIC3_1.20061029.bin cmdline=bootdev=wd0a".

  • If something wrong, take "trial-pack" kernel and solve the problem. Good luck!

Entity commands

# ls bin/
[          csh        ed         mkdir      rcmd       stty
cat        date       expr       mt         rcp        sync
chio       dd         hostname   mv         rm         systrace
chmod      df         kill       pax        rmdir      tar
cp         domainname ln         ps         sh         tcsh
cpio       echo       ls         pwd        sleep      test
# ls sbin/
atactl          fsck_ffs        mount_fdesc     newfs           routed
badsect         fsck_lfs        mount_ffs       newfs_lfs       rrestore
brconfig        fsck_msdos      mount_filecore  newfs_msdos     rtsol
ccdconfig       fsdb            mount_kernfs    nologin         savecore
cgdconfig       fsirand         mount_lfs       pfctl           scsictl
clri            halt            mount_mfs       pflogd          setkey
dhclient        ifconfig        mount_msdos     ping            shutdown
dhclient-script init            mount_nfs       ping6           slattach
disklabel       ipf             mount_ntfs      poweroff        swapctl
dkctl           ipppctl         mount_null      pppoectl        swapon
dmesg           lmcctl          mount_overlay   raidctl         sysctl
drvctl          mbrlabel        mount_portal    rcorder         tbrconfig
dump            mknod           mount_procfs    rdump           ttyflags
dump_lfs        modload         mount_ptyfs     rdump_lfs       tunefs
fastboot        modunload       mount_smbfs     reboot          umount
fasthalt        mount           mount_ufs       resize_lfs      veriexecctl
fdisk           mount_ados      mount_umap      restore         vinum
fsck            mount_cd9660    mount_union     rndctl          wdogctl
fsck_ext2fs     mount_ext2fs    newbtconf       route           wsconsctl
# ls usr/bin/
awk     chgrp   file    gunzip  kdump   less    passwd  vi
bunzip2 cmp     find    gzcat   ktrace  login   sed     wall
bzcat   du      ftp     gzip    ktruss  more    tr      wget
bzip2   env     grep    install ldd     page    tset    zcat
# ls usr/sbin/
chgrp        group        groupinfo    installboot  useradd      usermod
chroot       groupadd     groupmod     pwd_mkdb     userdel      vipw
dev_mkdb     groupdel     inetd        user         userinfo     vnconfig

Free size of the RAM disk

# df -ki /
Filesystem  1K-blocks      Used     Avail Capacity  iused    ifree  %iused  Mounted on
/dev/md0a       13999     13637       362    97%     2053      377    84%   /

Special thanks

  • Mr. Nijino-san
  • Guru of NetBSD/landisk


24003