>>boot 関係 W2kとのdual bootはできている.(別diskだけど) それから 8G Over はもう解決済み もう一台の俺のマシンのfdiskの出力を示す.
******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=7476 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=7476 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 12,(DOS or Windows 95 with 32 bit FAT, LBA) start 63, size 61448562 (30004 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 61448625, size 41929650 (20473 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED>
>171 の方法をためしてみたんですが、 ok set rootdev=disk1s3e[return] としても、 ok set rootdev=ad1s3e[return] としても、 同じく、 SCSIのあとくらいで、 Mounting root from ufs:/dev/ad1s3e Root mount failed: 22 mountroot> となっちゃいます。 どうすればいいのでしょうか?
$ gs -dNOPAUSE -sDEVICE=jpeg -sOutputFile=Ca1.5Sr.5RuO4.jpg Ca1.5Sr.5RuO4.eps quit.ps GNU Ghostscript 6.52 (2001-10-20) Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. & となるんですが、どういう事でしょうか? この結果では、jpgはできてません。 >>299 お願いします。
>>304 &は$の間違いです。 普通のプロンプトです。 $ file Ca1.5Sr.5RuO4.eps Ca1.5Sr.5RuO4.eps: PostScript document text conforming at level 3.0 - type EPS となります。
309 名前: 名無しさん@お腹いっぱい。 投稿日: 02/02/25 00:35
>>306 $ gs -dNOPAUSE -dSAFER -dBATCH -sDEVICE=jpeg -sOutputFile=Ca1.5Sr.5RuO4.jpg Ca1.5Sr.5RuO4.eps GNU Ghostscript 6.52 (2001-10-20) Copyright (C) 2001 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. $ ですが、jpgファイルはできていないです。 コマンドプロンプトが帰って来るまで、ちょっと時間はかかるので、 何らかの処理をしようとはしてるようなのですが。。。
現状でこのような状態になってるのですが 例えばport137-138をふさぎたい場合 /etc/ipfw.confに 1000 add deny udp from any to any 137-138 via tun0 1000 add deny udp from any 137-138 to any via tun0 65000 add allow ip from any to any とすれば良いのでしょうか? from、any、toとviaの後に付けるインタフェイスの書き方がよく分からないのです。 viaはPPPoEさせてるNICのインターフェイス名になるのでしょうか? どうかよろしくお願いします。
>>348 > from、any、toとviaの後に付けるインタフェイスの書き方がよく分からないのです。 > viaはPPPoEさせてるNICのインターフェイス名になるのでしょうか? man ipfw NBTをふさぎたいなら、135、139、445を追加してtcpも加え、 add deny tcp from any to any 135,137,138,139,445 via tun0 add deny udp from any to any 135,137,138,139,445 via tun0 みたいな感じかな。source portでの制限は必要ないと思う。
add allow udp from me 1024-65535 to any 137,138 in recv tun0 keep-state add allow tcp from me 1024-65535 to any 139 in recv tun0 keep-state add deny tcp from any to any 135,137,138,139,445 via tun0 add deny udp from any to any 135,137,138,139,445 via tun0
eng="LC_ALL=C LANG C"で eng netscape eng soffice52 とTerminalからは起動できるのですが、 とメニューBlackBox&Sawmill)ではどうやって 起動させるのですか?方法教えて下さい。 [exec] (ネスケ) {eng netscape} だとプロセス即終了になってしまいます。
>>382 /etc/defaults/rc.conf に natd_program="/sbin/natd" # path to natd, if you want a different one. natd_enable="NO" # Enable natd (if firewall_enable == YES). natd_interface="fxp0" # Public interface or IPaddress to use. natd_flags="" # Additional flags for natd. って書いてあるので、/etc/rc.confには natd_enable="ON" natd_interface="fxp0" って書けばいんだと思うんだけど、だめ?
>>496 > さっき cvsup(4-stable)したら、make world でエラーが出るようになった。 > これ、どうなってるのかな?
どんなエラー? ちと様子見かな…。
498 名前: 496 投稿日: 02/02/27 21:59
あわわ、すいません、エラー貼るの忘れてました。
cc -Os -march=pentiumpro -pipe -I/usr/local/include -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I/usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo -Imakeinfo.o(.text+0x2f0): undefined reference to `bindtextdomain' makeinfo.o(.text+0x2fd): undefined reference to `textdomain' makeinfo.o(.text+0x39d): undefined reference to `gettext' makeinfo.o(.text+0x428): undefined reference to `gettext' makeinfo.o(.text+0x448): undefined reference to `gettext' makeinfo.o(.text+0x49d): undefined reference to `gettext' makeinfo.o(.text+0x5f6): undefined reference to `gettext' makeinfo.o(.text+0x822): more undefined references to `gettext' follow *** Error code 1
Stop in /usr/src/gnu/usr.bin/texinfo/makeinfo. *** Error code 1
Stop in /usr/src/gnu/usr.bin/texinfo. /usr/src/gnu/usr.bin/texinfo/makeinfo/../../../../contrib/texinfo/lib -static -o makeinfo cmds.o defun.o files.o footnote.o html.o index.o insertion.o lang.o macro.o makeinfo.o multi.o node.o sectioning.o toc.o /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/texinfo/makeinfo/../libtxi/libtxi.a cmds.o: In function `cm_today': cmds.o(.text+0x1b9): undefined reference to `gettext' cmds.o: In function `cm_var': cmds.o(.text+0x41c): undefined reference to `gettext' cmds.o: In function `cm_sc': cmds.o(.text+0x5b7): undefined reference to `gettext' cmds.o: In function `cm_obsolete': cmds.o(.text+0x828): undefined reference to `gettext' cmds.o: In function `cm_sp': cmds.o(.text+0x910): undefined reference to `gettext' cmds.o(.text+0xf13): more undefined references to `gettext' follow makeinfo.o: In function `main':
いま、またemacs20-dl-canna を入れなおしてみたのですが、 .emacs.elに (load-path "canna") (canna) と書いてみて、 % emacs とすると、 Canna is not built into this Emacs. とエラーがでます。 % emacs-20.7 でも同じようになりますが、 % emacs-dl-20.7 だと、「コマンドが見つかりません」となり、 % /usr/local/bin/emacs-dl-20.7 なら、emacs上で日本語入力できるのですが、 化けます。
/japanese/emacs20-dl-cannaで makeの際、 最後の方で、 The followling function are not known to be defined: canna, canna-toggle-japanese-mode というエラー(?)のようなものがでていたのが 原因なのでしょうか?
===> Building for jdk-1.3.1p6 i386 Build started: 1.3.1-p6-root-020301-23:59 ERROR: BOOTDIR does not point to a valid Java 2 SDK Check that you have access to /usr/local/linux-jdk1.3.1/bin/java and/or check your value of ALT_BOOTDIR.
Exiting because of the above error(s). gmake: *** [sanity] Error 1 *** Error code 2
" Set the colors for vim on "xterm" if &term=="xterm" || &term=="kterm" set t_Co=8 set t_AB=^[[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm set t_AF=^[[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm endif
/usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x79): undefined reference to `main' /tmp/cc52WPYO.o: In function `lalloc': /tmp/cc52WPYO.o(.text+0x33): undefined reference to `mf_release_all' /tmp/cc52WPYO.o(.text+0x5d): undefined reference to `mch_avail_mem' /tmp/cc52WPYO.o(.text+0x9b): undefined reference to `did_outofmem_msg' /tmp/cc52WPYO.o(.text+0xa6): undefined reference to `e_outofmem' /tmp/cc52WPYO.o(.text+0xab): undefined reference to `emsg' /tmp/cc52WPYO.o(.text+0xb1): undefined reference to `did_outofmem_msg' /tmp/cc52WPYO.o: In function `vim_strnicmp': /tmp/cc52WPYO.o(.text+0x208): undefined reference to `ISkanji' /tmp/cc52WPYO.o(.text+0x216): undefined reference to `ISkanji' /tmp/cc52WPYO.o(.text+0x22d): undefined reference to `ISkanji' /tmp/cc52WPYO.o: In function `vim_stricmp': /tmp/cc52WPYO.o(.text+0x35c): undefined reference to `ISkanji' /tmp/cc52WPYO.o(.text+0x36a): undefined reference to `ISkanji' /tmp/cc52WPYO.o(.text+0x381): more undefined references to `ISkanji' follow *** Error code 1
atapci0: <VIA 82C686 ATA100 controller> port 0x9400-0x940f at device 7.1 on pci0
atapci1: <Promise ATA100 controller> port 0xcc00-0xcc3f,0xc800-0xc803,0xc400-0xc 407,0xc000-0xc003,0xbc00-0xbc07 mem 0xd9020000-0xd903ffff irq 11 at device 16.0 on pci0
ソースをcvsupする /sys/i386/conf/<カーネル設定ファイル>を編集 make buildworld make buildkernel make installkernel (reboot) make installworld mergemaster ぐらいかな? あと/usr/src/UPDATINGを先に読む。
ipfw add pass tcp from 133.11.85.0/23 to any via fxp0 ipfw add pass udp from 133.11.85.0/23 to any via fxp0 ipfw add pass tcp from any to 133.11.85.0/23 via fxp0 ipfw add pass udp from any to 133.11.85.0/23 via fxp0
みたいな感じでは駄目なのですか?
766 名前: 名無しさん@お腹いっぱい。 投稿日: 02/03/06 19:05
ipfw add pass tcp from 133.11.85.0/23 137-139 to any via fxp0
portsからソフトをインストールしようとすると、 # make install ===> gimp-1.2.2_1,1 : Your system is too old to use this bsd.port.mk. You need a fresh make world or an upgrade kit. Please go to http://www.FreeBSD.org/ports/ or a mirror site and follow the instructions. と怒られます。 portsはアップグレードしたんですが、それでもだめです。
>>772 でも、僕の場合インストールしようとするあらゆるソフトで Your system is too old to use this bsd.port.mk. You need a fresh make world or an upgrade kit. Please go to http://www.FreeBSD.org/ports/ or a mirror site and follow the instructions. と怒られるので、なにか特別なトラブルがあるような気がします。 4.3Rだったら最新のportsはインストール不可なんて事普通無いと思うんですけど。
The ports listed on these web pages are continually being updated. It is recommended that you refresh the entire collection together, as many ports depend on other parts of the tree. If that is not possible, at least make sure you get the latest make macro files in ports/Mk. (If you are using cvsup, this means you need ports-base in your cvsupfile.) If you still see errors even with the latest bsd.port.mk and friends, please fetch the entire collection.
The current ports tree officially supports only FreeBSD-current and FreeBSD-stable. Consequently, you may need to update a few files on your FreeBSD system to make use of ports developed after your version of FreeBSD was released. Please install one of the following depending on the release you are running. If your system is newer than any of the packages listed below, you do not need an upgrade package. If your system is older than 4.1-RELEASE, or is running any branch before 4.1, your only reasonable choice for using ports-current is to upgrade to some point along the 4.x branch.
#rules on loopback address $FWCMD add 100 pass all from any to any via $LO $FWCMD add 200 deny log all from 127.0.0.1/8 to any via $LO
#allow established connection $FWCMD add pass tcp from any to any established
#allow tcp connection from my canputer $FWCMD add pass tcp from $OIP to any setup
829 名前: 765 投稿日: 02/03/07 04:47
#allow established connection $FWCMD add pass tcp from any to any established
#allow tcp connection from my canputer $FWCMD add pass tcp from $OIP to any setup
#allow icmp protocol $FWCMD add pass icmp from any to any
#allow ssh connection $FWCMD add pass tcp from any to $OIP 22 via fxp0 setup
#allow dns $FWCMD add pass tcp from any to any 53 $FWCMD add pass udp from any to any 53 $FWCMD add pass tcp from any 53 to any $FWCMD add pass udp from any 53 to any
#137-139ここを133.11.84.0-255と133.11.85.0-255からだけ #アクセスを受け付けるようにしたい。 #allow smb connection from 133.11.85.0 and 133.11.84.0 via fxp0 $FWCMD add pass tcp from 133.11.85.255 137-139 to any via fxp0 $FWCMD add pass udp from 133.11.85.255 137-139 to any via fxp0 $FWCMD add pass tcp from any to 133.11.85.255 137-139 via fxp0 $FWCMD add pass udp from any to 133.11.85.255 137-139 via fxp0
$FWCMD add pass tcp from 133.11.85.0 137-139 to any via fxp0 $FWCMD add pass udp from 133.11.85.0 137-139 to any via fxp0 $FWCMD add pass tcp from any to 133.11.85.0 137-139 via fxp0 $FWCMD add pass udp from any to 133.11.85.0 137-139 via fxp0
$FWCMD add pass tcp from 133.11.84.0 137-139 to any via fxp0 $FWCMD add pass udp from 133.11.84.0 137-139 to any via fxp0 $FWCMD add pass tcp from any to 133.11.84.0 137-139 via fxp0 $FWCMD add pass udp from any to 133.11.84.0 137-139 via fxp0
あと、内容と直接関係なくてナニだけど、/etc/rc.confに --- firewall_enable="YES" firewall_type="/etc/ipfw.conf" --- と追加したうえで、/etc/ipfw.conf(ファイル名は/etc/rc.confで 指定した通りなら何でもオッケイ)に --- flush add pass all from any to any via lo0 add deny all from any to 127.0.0.0/8 add deny all from 133.11.84.0/23 to any add deny all from any to 133.11.84.0/23 ... add pass tcp from 133.11.84.0/23 137-139 to any via fxp0 add pass udp from 133.11.84.0/23 137-139 to any via fxp0 add pass tcp from any to 133.11.84.0/23 137-139 via fxp0 add pass udp from any to 133.11.84.0/23 137-139 via fxp0 ... --- とするほうがルールセットが読みやすいんで個人的にはおすすめ。