【deb系】Ubuntu Linux 24【ディストリ】at LINUX
【deb系】Ubuntu Linux 24【ディストリ】 - 暇つぶし2ch337:login:Penguin
08/05/02 21:00:48 CNjXqf1N
>>330
どこかのブログから転載
どこだったかなあ。
Masがどこに入ってたか忘れた。
この通りに記述すればいいと思う。だって、元のページは変更箇所が赤色になってたんだ。txtでコピペして残しておいただけなんだもんで、許してね。
pdfで保存しといたらよかったよ。

firestarterを起動すると「eth0が見付かりません」とエラーが出るので
以下の箇所を Mas > inet に書き換える必要があります。
/etc/firestarter/firestarter.sh

# External network interface data
IP=`/sbin/ifconfig $IF | grep inet | cut -d : -f 2 | cut -d \ -f 1`
MASK=`/sbin/ifconfig $IF | grep inet | cut -d : -f 4`
BCAST=`/sbin/ifconfig $IF |grep Bcast: | cut -d : -f 3 | cut -d \ -f 1`
NET=$IP/$MASK

if [ "$NAT" = "on" ]; then
# Internal network interface data
INIP=`/sbin/ifconfig $INIF | grep inet | cut -d : -f 2 | cut -d \ -f 1`
INMASK=`/sbin/ifconfig $INIF | grep inet | cut -d : -f 4`
INBCAST=`/sbin/ifconfig $INIF |grep Bcast: | cut -d : -f 3 | cut -d \ -f 1`
INNET=$INIP/$INMASK
fi


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch