Function | Include plugin

You can include other page.

Example

ここは、むとうがFreeBSD(というか、BSD)で遊んだ記録です。

最近の作業

FreeBSD (PC-BSD) にmacOS からSSHすると、接続できない件について

macOSからFreeBSDにSSH接続すると、失敗してしまう。

ログとか

SSHのdebug messageは以下の通り。

mutoubushinokonpyuta [ ~ ] % ssh -vvv 192.168.24.40
OpenSSH_7.3p1, LibreSSL 2.4.1
debug1: Reading configuration data /Users/mutoh/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug2: resolving "192.168.24.40" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.24.40 [192.168.24.40] port 22.
debug1: Connection established.
debug1: identity file /Users/mutoh/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/mutoh/.ssh/id_rsa-cert type -1
debug1: identity file /Users/mutoh/.ssh/id_dsa type 2
debug1: key_load_public: No such file or directory
debug1: identity file /Users/mutoh/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/mutoh/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/mutoh/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/mutoh/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/mutoh/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3
ssh_exchange_identification: Connection closed by remote host

FreeBSD側では、以下のログが出ている。

  • /var/log/messages
Feb  5 05:45:41 pcbsd-t400 sshd[2457]: warning: /etc/hosts.allow, line 35: host name/name mismatch: mutoubushinokonpyuta.local != 

/etc/hosts.allowの設定

で、/etc/hosts.allowの該当箇所はこれ。

  • /etc/hosts.allow
[mutoh@pcbsd-t400] ~/Scratch/ports/scratch% cat -n /etc/hosts.allow | head -35 | tail -7
    29  # Protect against simple DNS spoofing attacks by checking that the 
    30  # forward and reverse records for the remote host match. If a mismatch 
    31  # occurs, access is denied, and any positive ident response within 
    32  # 20 seconds is logged. No protection is afforded against DNS poisoning, 
    33  # IP spoofing or more complicated attacks. Hosts with no reverse DNS 
    34  # pass this rule. 
    35  ALL : PARANOID : RFC931 20 : deny 

以下のパッチで、とりあえず接続はできるようになる。 でも、こんな対応で大丈夫なんだろうか?

  • /etc/hosts.allow
[mutoh@pcbsd-t400] ~% diff -u /etc/hosts.allow{.20170205,}
--- /etc/hosts.allow.20170205   2017-02-05 05:49:26.337581995 +0900
+++ /etc/hosts.allow    2017-02-05 05:49:42.165578014 +0900
@@ -32,7 +32,7 @@
 # 20 seconds is logged. No protection is afforded against DNS poisoning, 
 # IP spoofing or more complicated attacks. Hosts with no reverse DNS 
 # pass this rule. 
-ALL : PARANOID : RFC931 20 : deny 
+# ALL : PARANOID : RFC931 20 : deny 
  
 # Allow anything from localhost.  Note that an IP address (not a host 
 # name) *MUST* be specified for rpcbind(8). 

まだ残っている問題

設定変更後、ssh ログインしてみると、まだなんか警告が出ている。

  • /var/log/messages
Feb  5 05:50:22 pcbsd-t400 sshd[4733]: warning: /etc/hosts.allow, line 39: host name/name mismatch: mutoubushinokonpyuta.local != 
Feb  5 05:51:26 pcbsd-t400 sshd[4810]: warning: /etc/hosts.allow, line 39: host name/name mismatch: mutoubushinokonpyuta.local != 
Feb  5 05:51:29 pcbsd-t400 sshd[4811]: _secure_path: cannot stat /etc/login.conf: Not permitted in capability mode
Feb  5 05:51:29 pcbsd-t400 last message repeated 2 times

該当箇所は、以下の通り。 特に問題なく使えてるので、深く追求してない。

  • /etc/hosts.allow
[mutoh@pcbsd-t400] ~/Scratch/ports/scratch% cat -n /etc/hosts.allow | head -39 | tail -3
    37  # Allow anything from localhost.  Note that an IP address (not a host 
    38  # name) *MUST* be specified for rpcbind(8). 
    39  ALL : localhost 127.0.0.1 : allow 

NetBSD/ipaq

  • 2015/07/25
$ sudo cu -s 19200 /dev/ttyU0
Connected to /dev/ttyU0 (speed 19200)
??
--------HPCBOOT--------
FileManager: FAT
hpcboot build number: 14
Compaq iPAQ H3600 (cpu=0x0c108000 machine=0x01c40201)
[progress] 2
[0] 0xc0000000 size 0x08000000
[1] 0xc8000000 size 0x08000000
[2] 0xd0000000 size 0x08000000
[3] 0xd8000000 size 0x08000000
_WIN32_WCE = 211
GetVersionEx
Windows CE 3.0
GetSystemInfo:
wProcessorArchitecture      0x5
wProcessorLevel             0x4
wProcessorRevision          0x8
dwPageSize                  0x1000
dwAllocationGranularity     0x00010000
dwProcessorType             0xa11
Display: 240x320 16bpp
Reg0 :6901b118
Reg1 :c00a327f
Reg2 :c00a327f
Reg3 :00000001
Reg5 :c00a3007
Reg6 :000a0020
Reg13:0e000000
Reg14:d000d020
CPSR :600000df
[progress] 3
[progress] 4
open file "\??? ????\netbsd-IPAQ.gz"(1738718 byte).
[progress] 5
Loader: ELF
[progress] 6
file size: 0x2e8868+0xd1b8+[ksyms: header 0x5c8, symtab 0x5f270, strtab 0x2e444 = 0x8dc7c]+[extra: 0x4fb0] = 0x389c2c bytes
address translation table 928 pages. (0x1d00 bytes)
allocated 928 page. mapped 928 page.
[progress] 7
2nd bootloader vaddr=0x0044f000 paddr=0xc3bc0000
2nd bootloader copy done.
[progress] 8
seg[0] vaddr 0xc0040000 file size 0x2e8868 mem size 0x2e8868
	->load 0xc0040000+0x002e8868=0xc0328868 ofs=0x00010000+0x2e8868
seg[1] vaddr 0xc0338880 file size 0xd1b8 mem size 0x29928
	->load 0xc0338880+0x00029928=0xc03621a8 ofs=0x002f8880+0xd1b8
	->zero 0xc0345a38+0x0001c770=0xc03621a8
ksyms
	->load 0xc03621a8+0x000005c8=0xc0362770
	->load 0xc0362770+0x0005f270=0xc03c19e0 ofs=0x00315fe0+0x5f270
	->load 0xc03c19e0+0x0002e444=0xc03efe24 ofs=0x00375250+0x2e444
[progress] 9
load link 906, zero clear link 1
kernel entry address: 0xc0040000
framebuffer: 240x320 type=5 linebytes=0 addr=0x00000000
console = 2
[progress] 10
kernsize=0x3b4000 (including 0x8dc7c symbols)
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.0_RC1 (IPAQ.201506190427Z)
total memory = 32768 KB
avail memory = 27508 KB
sysctl_createv: sysctl_create(machine_arch) returned 17
kern.module.path=/stand/hpcarm/7.0/modules
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 core 0: SA-1110 step B-4 (SA-1 V4 core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: 16KB/32B 32-way L1 VIVT Instruction cache
cpu0: 8KB/32B 32-way write-back L1 VIVT Data cache
saip0 at mainbus0
saost0 at saip0 addr 0x90000000-0x9000001f
saost0: SA-11x0 OS Timer
sacom0 at saip0 addr 0x80050000-0x80050023 intr 17
sacom0: SA-11x0 UART3
sacom0: console
ipaqbus0 at saip0
ipaqpcic0 at ipaqbus0
pcmcia0 at ipaqpcic0
ipaqpcic0: card present
wdc0 at pcmcia0 function 0: <                   , Memory Card Adapter>
wdc0: i/o mapped mode
atabus0 at wdc0 channel 0
pcmcia1 at ipaqpcic0
spl_masks[0]=00320080
spl_masks[1]=00320080
spl_masks[2]=00320080
spl_masks[3]=00320080
spl_masks[4]=00320080
spl_masks[5]=00020000
spl_masks[6]=00020000
spl_masks[7]=00000000
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
clock: hz=100 stathz=64
timecounter: Timecounter "saost_count" frequency 3686400 Hz quality 100
wd0 at atabus0 drive 0
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0: <Memory Card Adapter>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 122 MB, 980 cyl, 8 head, 32 sec, 512 bytes/sect x 250880 sectors
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
boot device: wd0
ipaqpcic0: insertion event
pcmcia1: card appears to have bogus CIS
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0: IDENTIFY failed
opendisk: can't open dev wd0 (5)
root on wd0a dumps on wd0b
ipaqpcic0: removal event
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wdc0:0:0: lost interrupt
	type: ata tc_bcount: 512 tc_skip: 0
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0: dos partition I/O error
vfs_mountroot: can't open root device
cannot mount root, error = 6
root device (default wd0a): 

NetBSD/foneraを動かそう

  • 2015/07/24

NetBSD/evbmips-eb参考に作業する。

準備

ツールの作成

mutoubushinokonpyuta [ hobby/NetBSD/src ] % ./build.sh -U -m evbmips-eb tools
  (snip)
===> Tools built to /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
===> build.sh ended:      Thu Jul 23 16:22:52 JST 2015
===> Summary of results:
         build.sh command:    ./build.sh -U -m evbmips-eb tools
         build.sh started:    Thu Jul 23 16:03:35 JST 2015
         NetBSD version:      6.1_STABLE
         MACHINE:             evbmips
         MACHINE_ARCH:        mipseb
         Build platform:      Darwin 14.4.0 x86_64
         HOST_SH:             /bin/sh
         TOOLDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
         DESTDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/destdir.evbmips
         RELEASEDIR path:     /Users/mutoh/hobby/NetBSD/src/obj/releasedir
         Updated makewrapper: /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/nbmake-evbmips-eb
         Tools built to /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
         build.sh ended:      Thu Jul 23 16:22:52 JST 2015
===> .

MERAKI kernelの作成

mutoubushinokonpyuta [ hobby/NetBSD/src ] % ./build.sh -U -m evbmips-eb kernel=MERAKI
===> build.sh command:    ./build.sh -U -m evbmips-eb kernel=MERAKI
===> build.sh started:    Fri Jul 24 13:21:05 JST 2015
===> NetBSD version:      6.1_STABLE
===> MACHINE:             evbmips
===> MACHINE_ARCH:        mipseb
===> Build platform:      Darwin 14.4.0 x86_64
===> HOST_SH:             /bin/sh
===> TOOLDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
===> DESTDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/destdir.evbmips
===> RELEASEDIR path:     /Users/mutoh/hobby/NetBSD/src/obj/releasedir
===> Updated makewrapper: /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/nbmake-evbmips-eb
  (snip)
/Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-d-ld -Map netbsd.map --cref -T /Users/mutoh/hobby/NetBSD/src/sys/arch/mips/conf/enlh-lrysNyi//msU-LECNIDOLc/--eukern.ldscript -Ttext 0x80041000 -e start -G 0 -X -o netbsd ${SYSTEM_OBJ} ${EXTRAB l_OBJ} vers.o
NetBSD 6.1_STABLE (MERAKI) #0: Fri Jul 24 13:23:54 JST 2015
   text    data     bss     dec     hex filename
2330772  430800   95856 2857428  2b99d4 netbsd

mv -f netbsd netbsd.gdb
/Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-d-strip -g -X -o netbsd netbsd.gdb
/Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-d-dbsym netbsd.gdb
mipseb--netbsd-dbsym: symbol table (364756 bytes) too big for buffer (360000 byteses)
Increase options SYMTAB_SPACE in your kernel config

*** Failed target:  netbsd
*** Failed command: /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/64/bin/nbsed '/const char sccs/!d;s/.*@(.)//;s/\\.*//' vers.c; /Users/mutoh/hobb/eBy/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-size netbsd; chd5nbin/nbmod 755 netbsd; echo ; echo mv -f netbsd netbsd.gdb; mv -f netbsd netbsd.gdb; ec/ruDscojtsed '/ho /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--ne-p-b;c eoodrDricotbsd-strip -g -X -o netbsd netbsd.gdb; /Users/mutoh/hobby/NetBSD/src/obj/tooldiri46/beDcjvfesnb-4nst char .Darwin-14.4.0-x86_64/bin/mipseb--netbsd-strip -g -X -o netbsd netbsd.gdb ; if g#.B stg/sorr-4x.b40x66/i/isccs/!rep '^#define.*SYMTAB_SPACE' opt_ksyms.h > /dev/null; then echo "/Users/mutoh/hoBodises--obe/oo6im-nb tdd sb-ebdbby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-dbsym netbsd.she's>nhobtdf frwibedr-X bh/e/t/gdb"; /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb-bdri0/sbmrh//jiS_4-6nsndi nsd/ru-netbsd-dbsym netbsd.gdb || (rm -f netbsd ; exit 1) || exit 1; fi ; if grep '^#dTo /dnxn-.Uty//i.'kheln roobe.;gefine.*SYMTAB_SPACE' opt_ksyms.h > /dev/null; then echo "/Users/mutoh/hobby/NetBti6s1 fdMbs ex .16m--ngUubbBctriSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-dbsym netbsd"; /Users/brlouNo.'s/ns/fr8n--eb stB/oa48/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-dbsyr isd"tt/4b-y oBjfT'met mbefgdSPm netbsd || (rm -f netbsd ; exit 1) || exit 1; fi 
*** Error code 1

Stop.
nbmake: stopped in /Users/mutoh/hobby/NetBSD/src/sys/arch/evbmips/compile/obj/MERAKRAKI

ERROR: Failed to make all in "/Users/mutoh/hobby/NetBSD/src/sys/arch/evbmips/compile/obj/MERAKIpile/obj/MERAKI"
*** BUILD ABORTED ***

simhでNetBSD/vax使ってみる

  • 2015/07/23

NetBSD SIMH HOW-TOを参考にして、simhでNetBSD/vaxを使ってみる。

設定ファイルの作成

simhのための設定ファイルを以下の様に作成する。

  • netbsd-boot
$ cat netbsd-boot                                                              
load -r /usr/local/lib/simh/vax/ka655x.bin
set cpu 64m
set rq0 ra92
at rq0 netbsd.dsk
set rq1 cdrom
at rq1 /home/mutoh/NetBSD/vax/NetBSD-7.0_RC1-vax.iso
at xq0 en0
boot cpu

simhの起動

simhを動かす。 dua1でbootすると、ISOイメージから起動される。

mutoubushinokonpyuta [ ~/tmp/NetBSD-vax ] % simh-vax netbsd-boot
  (snip)
>>>boot dua1:
  (snip)
You are using a serial console, we do not know your terminal emulation.
Please select one, typical values are:

        vt100
        ansi
        xterm

Terminal type (just hit ENTER for 'vt220'): 

dmesgは、mutoh_20150723.files/dmesg.txtの通り。

NetBSD/vaxのインストール

ISOイメージから起動すると、インストーラが立ち上がる。

以下の手順でインストールを行うことができる。

  • a: Installation messages in English
  • a: Install NetBSD to hard disk
    • NetBSD-7.0_RC1 Install System
  • b: Yes
  • a: ra0
    • Available disks
  • a: Set sizes of NetBSD partitions
    • Choose your installation
  • x: Accept partition sizes. Free space 1076 MB, 9 free partitions.
  • x: Partition sizes ok
  • Please enter a name for your NetBSD disk [RA92]:
  • b: Yes
  • a: Full installation
    • Select your distribution
  • a: CD-ROM / DVD
    • Install from

ネットワークの設定

後日作業する。

$ sudo ifconfig tun0 create  
$ sudo ifconfig tun0 link0  
$ sudo ifconfig tun0 up    
$ sudo ifconfig bridge0 create
$ sudo ifconfig bridge0 fwddelay 4
$ sudo ifconfig bridge0 add run0 add tun0
$ sudo ifconfig bridge0 up       
$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
        priority: 0
        groups: lo
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
enc0: flags=20000<NOINET6>
        priority: 0
        groups: enc
        status: active
run0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,NOINET6> mtu 1500
        lladdr 00:25:d3:40:19:f4
        priority: 4
        groups: wlan egress
        media: IEEE802.11 autoselect (DS2 mode 11g)
        status: active
        ieee80211: nwid MUTOH_HOME chan 11 bssid 00:25:bc:8b:f7:c1 17dB wpakey <not displayed> wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
        inet 192.168.24.5 netmask 0xffffff00 broadcast 192.168.24.255
axe0: flags=28802<BROADCAST,SIMPLEX,MULTICAST,NOINET6> mtu 1500
        lladdr 00:1e:33:18:af:64
        priority: 0
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
tun0: flags=29903<UP,BROADCAST,PROMISC,SIMPLEX,LINK0,MULTICAST,NOINET6> mtu 1500
        lladdr fe:e1:ba:d2:94:be
        priority: 0
        groups: tun
        status: no carrier
bridge0: flags=20041<UP,RUNNING,NOINET6>
        groups: bridge
        priority 32768 hellotime 2 fwddelay 4 maxage 20 holdcnt 6 proto rstp
        run0 flags=3<LEARNING,DISCOVER>
                port 3 ifpriority 0 ifcost 0
        tun0 flags=3<LEARNING,DISCOVER>
                port 7 ifpriority 0 ifcost 0

KOF2012参加

  • 2012年11月09日(金), 10日(土)

KOF2012K*BUGブースを出して参加しました。

その記録です。

OSC2012 Kansai@Kyoto参加

  • 2012年08月03日(金), 04日(土)

K*BUGブースで参加していました。

第12回イベント@奈良高専参加

  • 2012年07月29日(日)

以下を発表。

以下を展示

  • NetBSDスルドイちっさいものくらぶ
  • {Squeak,Scratch} x なのぼ〜どとか、Gainerとか。

SL-C3000にOpenBSD 5.1 / zaurus 入れてみた

  • 2012年05月22日(火)

弊社の社長に、SL-C3200を貰ったので、以前自分で中古で買ったSL-C3000の方は、とりあえずOpenBSDを入れることにした。

基本的な作業は、以下の記事に詳しく紹介されている。

ちょっとだけ、手順が違うところは、以下のとおり。

  • インストーラーが openbsd51_arm.ipk という名前だが、 openbsd_arm.ipk に名前を変えないとインストールできない

とりあえず、OSはあっさりと入ってしまったので、環境整えよう。

ports.tar.gz 展開失敗

で、アプリケーション入れるために ports.tar.gz を取ってきて、展開したらディスク容量は余っているのに、途中で展開失敗した。

なんと、inodeを使い尽くしていた。

/: create/symlink failed, no inodes free

ちょっと消去作業中なので、若干戻っているけど、dfでは以下の様な感じ。

$ df -i
Filesystem  512-blocks      Used     Avail Capacity iused   ifree  %iused  Mounted on
/dev/wd0a      1795004   1502072    203184    88%  126041    3877    97%   /

K*BUGでの発表

  • 2012年04月21日(土)

K*BUG研究会2012/04/21で、 FreeBSD port lang/squeak4.4.7-2375への道 を発表しました。

FreeBSDで音楽CDを作る(3)

  • 2012/03/29

FreeBSDで音楽CDを作る(3)

FreeBSDで音楽CDを作る(2)のつづき。

wavデータの分割

audacity

insp700m [ ~ ] % cat /var/db/ports/audacity/options 
_OPTIONS_READ=audacity-1.2.4b_9
WITH_ID3TAG=true
WITH_MAD=true
WITH_VORBIS=true
{{include('FrontPage')}}

FrontPageをとりこんで表示します。

Functions list

PluginDiary | Diary plugin
You can create a diary page.
PluginDiary_ja | 日記プラグイン
日記ページを作ります。
album | Album plugin
Show attached images in a window.
backup | Show Backup pages
You can see backup files.
basic | Basic plugins
Simple and Basic plugins.
calc | Calicurator plugin
You can sum numbers by simple table.
christel | Takigawa Christel plugin
You can embed Takigawa Christel image.
chronology | Chronology of site
You can see when the pages are created and updated.
comment | Comment plugin
You can show comment field.
counter | Counter plugin
You can show a conter for the page.
describe | Description of functions
You can see the description of each functions of qwikWeb.
embed_html | Embed HTML plugin
You can embed bare HTML in the page.
files | Attach file function
You can use attach files onto pages.
graphviz | Graphviz plugin
You can make a graph.
include | Include plugin
You can include other page.
list | List editing plugin
You can edit a list in the page.
member | Member control function
Member control.
menu | Menu plugin
You can show a pull down menu.
monta | Monta method plugin
You can hide a part of text by using JavaScript.
password | Set password plugin
You can lock a page by a password.
plan | Sharing plan plugin
You can show the plan of the site.
presen | Presentaion plugin
You can show the page in presentation mode.
qrcode | QR-Code plugin
You can input QR-Code to the page.
qwikweb | qwikWeb functions
You can see brief descriptions of qwikWeb functions.
sample | Sample plugins
These are sample plugins.
schedule | Input your scuedule plugin
You can input your schedule.
search | Search plugin
You can show a search form.
secdb | Show a table of each section data
You can create a table from data embedded as CSV format in each section.
sitelog | Show SiteLog
You can see sitelog of this site.
smil | Video editing plugin
You can control the timeline of the video.
style | Style plugin
You can specify styles of the page.
summary | Show summary of a target page
You can include summary of target page.
table | Table edit plugin
You can edit a table in the page.
takahashi | Takahashi method plugin
You can do your presentaion in Takahashi method.
textarea | Textarea plugin
You can show a simple textarea field.
textformat | TextFormat
You can see the text format of qwikWeb.
textformat_simple | TextFormat
You can see brief description of text format.
theme_list | Theme list
You can see theme list.
typekey | TypeKey login
You can login by using TypeKey authentication.
webservice | Web service plugins
You can use several external Web services.
wema | Post-it plugin
You can put post-it notes on the page.
wysiwyg | WYSIWYG editing mode
You can edit a page in wysiwyg mode.
Last modified: 2013-07-17
Post-it: New Post-it (help)

Text color: [_][_][_][_]

Background: [_][_][_][_][_][_]

Draw Line:

x: y: