さっそく質問させてもらいます. FreeBSD で作成した PS ファイルを windows2000 の acrobat4.0 で pdf ファイルに変換しました. その際 job オプションにおいて, print optimized にしました. その際, %%[ Warning: Ryumin-Light not found, using Font Substitution. Font cannot be embedded.]%% %%[ Warning: NewCenturySchlbk-Roman not found, using Font Substitution. Font cannot be embedded.]%% %%[ Warning: Times-Roman not found, using Font Substitution. Font cannot be embedded.]%% となりますが, pdf に変換できます. そして,パソコンで見た所,なんの問題も無いのですが, 印刷すると,グラフにおいて,線が消えてしまいます. (グラフは eps 画像です) . プリンタをいろいろ変えてもこの現象はおきます. その他はいたって問題なくきれいなものです. なぜ画像 (しかも,グラフ画像だけです) においてこんな問題 が発生するのか理解できません. (なお, press optimaized では, %%[ Error: Ryumin-Light not found, using Font Substitution. Font cannot be embedded.]%% %%[ Error: invalidfont; OffendingCommand: show ]%% となり, pdf に変換できません) .
FreeBSD で PS を作る手順は, platex で dvi 作成後, dvips で作成しています. 埋めコンいるフォントに問題があるのか, windows に font をインストール すべきなのか,良く分かりませんが, 解決法をどうかお願いします.
めちゃくちゃ困りました。pcの電源いれっぱなしでそのままねてしまい。 なんかおかしくて再起動、したら automatic file system check failed ...help! Enter full pathname of shall or RETURN for /bin/sh: ってのがでてきたんで、リターン そこから先が意味不明。login:プロンプトがでてきません。 login って自分で打ち込んでも not found そりゃそうか ということで対処のしかたをおしえてください。 ちなみに俺の常用シェルはtcshだったのですが automatic file system check failed ...help! Enter full pathname of shall or RETURN for /bin/sh: ここで /bin/tcsh と打ち込んでも /etc/termcap cannot open とかいうのがでてきて困ります。 なんかこわいですね。 というかなによりもloginできないのがこまるんですけど。 だれかこういう状況になってひといますか?
・telnetではなく、本体についているキーボードからrootでログインし、変な文字列(例えば、dsghsqwertyuiop)を打ち込むと、telnetと同様、「command not found」と出ます。 ・同じく本体からユーザーアカウントでログインし、文字列を打ち込むと「command not found」と出ます。この時、suにしてから文字列を打ち込むと文字化けします。
(・別のマシンのteratermから、ユーザーアカウントでログインした場合は、変な文字列を打ち込むと「command not found」と出て、この時、suにして打ち込むと「コマンドが見当たりません」と出ます。) ・LANGの設定は.profileのみja_JP.EUCにしてます。
Stale dependency: ImageMagick-5.3.8.2 -> XFree86-libraries-4.1.0: New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete
こうなった場合どうすればいいのですか?
やりたいのはvimのアップレードで # portupgrade -cC vim-6.0.52 Stale dependency: vim-6.0.52 --> imake-4.1.0 -- manually run 'pkgdb -F' to fix.
natdでポートフォワーディングする設定ってどう書くんでしょ? 例えばポート80へのリクエストを192.168.0.10のマシンへ飛ばす・・・なんて設定の事ですが。 redirect_portとかいうのを使うらしいけど、これで検索しても殆ど何も出てこなくって… man natじゃエントリが無いって言われるし。
>>255 その項変だよね。 -ddial This mode is equivalent to -auto mode except that ppp will bring the link back up any time it's dropped for any reason. なんだから、-ddialではトリガパケットが必要ないのに、 DIAL ON DEMAND Demand dialing is enabled with the -auto or -ddial options. You must also specify the destination label in /etc/ppp/ppp.conf to use. It must contain the ``set ifaddr'' command to define the remote peers IP address. (refer to /usr/share/examples/ppp/ppp.conf.sample) って書いてある。It must ... の文の最後にwhen the -auto option is specified が必要。 誰かsend-prしといてよ。
Default to disabling all inetd.conf entries, in particular, telnetd and ftpd. This more conservative default reduces the exposure of freshly installed machines, which is especially valuable for machines that receive minimal further configuration before being put into production. Generally speaking, SSH has superseded the use of both telnet and ftp in many environments. In light of recent remotely exploitable security holes in both telnetd and ftpd, this choice retains flexibility (both telnetd and ftpd daemons remain installed and easily enableable) while protecting users who don't need the additional risk. This change brings our configuration into line with the majority of other UNIX vendors, including OpenBSD and NetBSD.
To address the concerns of those requiring remote access via telnet from first install, changes will shortly be committed to sysinstall to provide the ability to edit inetd.conf during the installation process, allowing telnetd and ftp to be re-enabled during the installation process.
While I'm at it, slightly improve commenting for inetd.conf so that it's more clear to users how to enable and disable services. Further commenting to indicate the functions of various columns would probably also be useful.
>>454 4.4-STABLEだが > # ipfw add 60000 pipe 1 ip from any to any > 60000 pipe 1 ip from any to any > # ipfw list 60000 > 60000 pipe 1 ip from any to any うまくいっている模様。 最近ipfwにMFCかかったので、4.4-RELEASEでどうなるかは不明。
>456 何もつけずにconfigureすればpdflibについてくるtifflibが使われるが、それじゃ駄目なの? まずreadme.txtを,次にconfigure.inを読めば全部書いてある。 Third-party libraries integrated in PDFlib ========================================== PDFlib includes source code for the following features (you must no longer install these separately):
>459 ./configure --helpするとこう。 --with-tifflib use installed tifflib instead of internal (not rec.)
configure.inにはこう書いてある。 # ---------------------------------------------------------------- # PDFlib auxiliary library: TIFFlib # We bring our own copy of tifflib but the client may choose to # use an installed one instead. This is only support for C/C++ clients. # ----------------------------------------------------------------
ipfwを使っているんです。基本的に許可するもの以外をログしようとして rulesファイルを書いていますが、keep-stateの部分でつまずいています。 $ cat /etc/ipfw.rules # [snip] add 1000 allow tcp from any to any 80 out xmit tun0 keep-state # [snip] add 62000 deny log logamount 0 all from any to any
>>484 > add 1000 allow tcp from any to any 80 out xmit tun0 keep-state これを、 add 1000 allow tcp from any to any 80 setup out xmit tun0 keep-state にしてみるとどう? 回線のレイテンシが大きいなら、net.inet.ip.fw.dyn_*も増やした方が いいかもしれんが。
add 50000 deny log logamount 0 tcp \ from any to any tcpflags !fin,!syn,!rst,!ack add 50001 deny log logamount 0 tcp \ from any to any tcpflags !fin,!syn,!rst,ack : add 50009 deny log logamount 0 tcp \ from any to any tcpflags fin,!syn,!rst,ack : を加えて2chのページをリロードしたら、ログに ipfw: 50001 Deny TCP 鯖IP:80 俺IP:1081 in via tun0 ipfw: 50009 Deny TCP 俺IP:1081 鯖IP:80 out via tun0 と出ました。50009のほうは何度も出続けます。
>>578 ちょいしらべてみた。たぶん以下のオプションのせい。 > iface-alias > Default: Enabled if -nat is specified. This option simply tells > ppp to add new interface addresses to the interface rather than > replacing them. The option can only be enabled if network > address translation is enabled (``nat enable yes''). pppセッションが切れた場合にそのアドレスをローカルアドレスとして使って いるプログラムが通信に失敗してもいいんだったら、 disable iface-alias でうまくいくはず。つーかdisableにした方が問題起きなさそう。
config> di pcic0 No such device: pcic0 Invalid command or syntax. Type `?' for help. config> di psm0 config> di sn0 No such device: sn0 Invalid command or syntax. Type `?' for help. config> di lnc0 No such device: lnc0 Invalid command or syntax. Type `?' for help. config> di ie0 No such device: ie0 Invalid command or syntax. Type `?' for help. config> di fe0 No such device: fe0 Invalid command or syntax. Type `?' for help. config> di cs0 No such device: cs0 Invalid command or syntax. Type `?' for help. config> di bt0 No such device: bt0 Invalid command or syntax. Type `?' for help. config> di aic0 No such device: aic0 Invalid command or syntax. Type `?' for help. config> di aha0 No such device: aha0 Invalid command or syntax. Type `?' for help. config> di adv0 No such device: adv0 Invalid command or syntax. Type `?' for help. config> q
#cat /etc/host.conf $FreeBSD: src/etc/host.conf,v 1.6 1993/08/27 23:23:41 perter Exp $ First try /etc/hosts file hosts Now try the nameserver next bird If ypu have YP/NIS configured, uncomment the next line nis
qmailをインストールしようと 思って一通りコンパイルしたあと ./config と打ったら Your hostname is ***.***.***.ne.jp hard error Sorry, I couldn't find your host's canonical name in DNS. You will have to set up control/me yourself. といったエラーが出ました。 ホスト名はプロバイダに登録してるメールアドレス [登録してるアドレス].[ドメイン名] といったかんじにしてるんですが、これって根本的におかしいん でしょうか?教えてください。
>>667 やってみたんですが。次のようにエラーが発生します。 giving up xinit: No such file or directry (error 2) :unable to connect to X server xinit: No such process (errno 3) :Server error
XFree86 Version 4.1.0 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 2 June 2001 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/FAQ) Build Operating System: FreeBSD 4.2-STABLE i386 [ELF] Module Loader present
となりました。
675 名前: 名無しさん@お腹いっぱい。 投稿日: 01/11/18 16:43
>>672 X serverがちゃんと起動しているどうかの 確認方法はどうしたらいいんですか? Fatal server error と表示されるのでそのあたりがあやしいです。
ppp.confはV30DSUで運用していた頃とほとんど変わっていません。 ダイアルのチャットスクリプトは、Windowsの接続ログを見て、以下のように 書き換えています。 ABORT BUSY ABORT NO \\sCARRIER TIMEOUT 5 \"\" ATE0V1&C1Q0W0S0=0$$M11=0 OK AT$$N11=0 OK AT OK \\dATD\\T TIMEOUT 20 CONNECT
default: set device /dev/cuaa0 set speed 115200 disable pred1 deny pred1 disable acfcomp deny acfcomp disable deflate deny deflate disable protocomp deny protocomp disable vjcomp deny vjcomp disable deflate24 deny deflate24 disable shortseq deny shortseq nat unregistered_only yes disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE0V1&C1Q0W0S0=0$$M11=0 OK AT$$N11=0 OK AT OK \\dATD\\T TIMEOUT 20 CONNECT" set redial 300 10 set log TCP/IP
demand: set authname ****** set authkey ****** set phone 1492 set timeout 1800 set openmode active accept PAP deny CHAP set ifaddr 10.0.0.0/0 10.0.0.2/0 0.0.0.0 0.0.0.0 delete ALL add! default HISADDR
ノートPCに*BSDをインストールしようと企んでいて。 あいにくこのノートにはFD、CDドライブがついてません。 それで、HDからインストールできないかと、FreeBSDのCDのTools以下を 見てたんですが。00_index.txtに下のような記述がありました。 setup.exe Prepare for installation from a DOS partition. しかし、このファイルはCD-ROMにもFTPサイトにもありません。
ipfwについてなのですが、FWマシン上でsambaを使って、壁の内部のみ生かす (外からは入れない、外へ出さない)ルールってどう書けばいいの?全部禁止はサンプル がたくさんあるんですが、こういうの見つけられなくて。お願いします。 現在、全破棄 ${fwcmd} add deny udp from any 137-139 to any ${fwcmd} add deny tcp from any 137-139 to any ${fwcmd} add deny udp from any to any 137-139 ${fwcmd} add deny tcp from any to any 137-139
>>759 FWの外向きのインターフェイスを${oif}とすると、 ${fwcmd} add deny udp from any 137-139 to any out via ${oif} ${fwcmd} add deny tcp from any 137-139 to any out via ${oif} ${fwcmd} add deny udp from any to any 137-139 in via ${oif} ${fwcmd} add deny tcp from any to any 137-139 in via ${oif} ではどうよ?
>>766 だいたい似たような感じ。以下抜粋あんど編集済み。 もちろん、他にもルールはあるし、何を通してるかは秘密。 local addressは12.34.56.0/24で外部向けはOIFね。
# まあlo0くらいは信じようや add allow ip from any to any via lo0 # lo0以外では127/8には用はない add deny ip from any to 127.0.0.0/8 add deny ip from 127.0.0.0/8 to any # だれかlocal addressカタってるよー add deny ip from 12.34.56.0/24 to any in via OIF add deny ip from any to 12.34.56.0/24 out via OIF # directed broadcastはステステ add deny ip from any to 12.34.56.0 in via OIF add deny ip from any to 12.34.56.255 in via OIF # RFC1918は俺専用 add deny ip from 10.0.0.0/8 to any in via OIF add deny ip from 172.16.0.0/12 to any in via OIF add deny ip from 192.168.0.0/16 to any in via OIF add deny ip from any to 10.0.0.0/8 out via OIF add deny ip from any to 172.16.0.0/12 out via OIF add deny ip from any to 192.168.0.0/16 out via OIF # Windowsが変なアドレス使ってるよー add deny ip from 169.254.0.0/16 to any in via OIF add deny ip from any to 169.254.0.0/16 in via OIF # RPC、NETBIOSは間違ってもインターネットに流しちゃいけません add deny tcp from any to any 111,135,137,138,139,445 via OIF add deny udp from any to any 111,135,137,138,139,445 via OIF # 2ch.netさん、ポートスキャンはやめてちょ(藁 add reset tcp from 216.218.128.0/17 to any in via OIF setup add reset tcp from 64.71.128.0/18 to any in via OIF setup
FreeBSD 4.2-Release を使ってましたが、先日cvsup + make world して 4.4-stableにしたんです。そしたらログアウト時に以下の様なメッセージが 出るようになってしまいました。コレって何でしょう?
no modules loaded for `login' service no modules loaded for `login' service no modules loaded for `login' service pam_close_session: Permission denied pam_close_session: Permission denied pam_close_session: Permission denied
>>876 879さんの続き。 Custom -> Label で Disklabel Editor に進む。 ここでスライス、パーティションがみえなかったらあきらめる。 M で本来の mount point を指定していく。 UFS N である事を確認する。UFS Y だったら T で N に変更する。 W -> Yes で実行する。終ったら reboot. 自己責任でね。
cache.log 2001/11/23 01:19:21| Process ID 25092 2001/11/23 01:19:21| With 1064 file descriptors available 2001/11/23 01:19:21| Performing DNS Tests... 2001/11/23 01:19:21| Successful DNS name lookup tests... 2001/11/23 01:19:21| DNS Socket created on FD 4 2001/11/23 01:19:21| Adding nameserver 192.168.0.1 from /etc/resolv.conf 2001/11/23 01:19:21| Unlinkd pipe opened on FD 9 2001/11/23 01:19:21| Swap maxSize 102400 KB, estimated 7876 objects 2001/11/23 01:19:21| Target number of buckets: 393 2001/11/23 01:19:21| Using 8192 Store buckets 2001/11/23 01:19:21| Max Mem size: 8192 KB 2001/11/23 01:19:21| Max Swap size: 102400 KB 2001/11/23 01:19:21| Rebuilding storage in /usr/local/squid/cache (CLEAN) 2001/11/23 01:19:21| Using Least Load store dir selection 2001/11/23 01:19:21| Set Current Directory to /usr/local/squid/cache 2001/11/23 01:19:21| Loaded Icons. 2001/11/23 01:19:21| Accepting HTTP connections at 0.0.0.0, port 3128, FD 10. 2001/11/23 01:19:21| Accepting ICP messages at 0.0.0.0, port 3130, FD 11. 2001/11/23 01:19:21| WCCP Disabled. 2001/11/23 01:19:21| Ready to serve requests.
--- squid.conf.default Fri Nov 23 02:39:18 2001 +++ squid.conf Fri Nov 23 02:42:01 2001 @@ -1418,6 +1418,7 @@ acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT +acl localnet src 192.168.0.0/255.255.255.0
# TAG: http_access # Allowing or Denying access based on defined access lists @@ -1451,6 +1452,7 @@ http_access deny CONNECT !SSL_ports # # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS +http_access allow localnet # # And finally deny all other access to this proxy http_access deny all
linux_sysent.c:21: sizeof applied to an incomplete type linux_sysent.c:21: warning: built-in function `exit' used without declaration linux_sysent.c:21: warning: cast discards qualifiers from pointer target type *** Error code 1
Stop in /usr/src/sys/modules/linux. *** Error code 1
Stop in /usr/src/sys/modules. *** Error code 1
Stop in /usr/src/sys/compile/MYKERNEL
となってエラーが出て止まってしまいました。 たぶん/usr/src/UPDATINGにある
20011110: Some linux module changed, merged from current, require that you clean out the old compile directory. If you are building with MODULES_WITH_WORLD=yes, then you need to cd to src/sys/modules/linux and run "make cleandir". If not, then you need to cd src/sys/compile/$KERNCONF and do a make modules-clean.
buildkernelとinstallkernelに対してKERNCONFを指定してやれば 好きなカーネルが作れるぞ。 --- cd /usr/src make buildkernel KERNCONF=MYKERNEL make installkernel KERNCONF=MYKERNEL --- こんな感じ。
Nov 23 17:12:10 P2B-F sshd[318]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use. Nov 23 17:12:10 P2B-F sshd[318]: fatal: Cannot bind any address.