From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 8 Jul 2003 16:22:46 +0300 From: Michael Shigorin To: sisyphus@altlinux.ru Message-ID: <20030708132246.GG23827@osdn.org.ua> Mail-Followup-To: sisyphus@altlinux.ru References: <200307071451.34495.fnm@red-team.org.ua> <200307080857.05648.shawkat@samitc.uzsci.net> <200307081852.20760.fnm@red-team.org.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200307081852.20760.fnm@red-team.org.ua> User-Agent: Mutt/1.4.1i Subject: [sisyphus] Re: 2.4.21 & Promise IDE-controller X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sisyphus@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 13:22:48 -0000 Archived-At: List-Archive: On Tue, Jul 08, 2003 at 06:52:20PM +0300, Nick Fedchik wrote: > > > Я не об этом - зеракло, склейка или порознь? > > В биосе настроено зеркало . И это же зеркало становится доступно как > > /dev/sda. > Вот дела! Я удивлён. Должно по логике быть /dev/ataraid/dXpY Нет, их бинарные драйвера делают именно /dev/sdX. > Ну или mdN Это md.o :) -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/ >>From yznews@hotbox.ru Tue Jul 8 17:40:26 2003 Return-Path: Delivered-To: sisyphus@lrn.ru Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235]) by lrn.ru (Postfix) with ESMTP id 8954049448 for ; Tue, 8 Jul 2003 17:40:26 +0400 (MSD) Received: from post.com2com.ru (Post.com2com.ru [195.98.162.14]) by master.altlinux.ru (Postfix) with ESMTP id 5AAABE31CF for ; Tue, 8 Jul 2003 17:40:26 +0400 (MSD) Received: from home-pool4-115.com2com.ru (home-pool4-115.com2com.ru [195.98.164.115]) by post.com2com.ru (8.12.9/8.12.6) with ESMTP id h68Debkj034105 for ; Tue, 8 Jul 2003 17:40:37 +0400 (MSD) Received: by home-pool4-111.com2com.ru (Postfix, from userid 500) id BB07F45E6; Tue, 8 Jul 2003 17:40:13 +0400 (MSD) Date: Tue, 8 Jul 2003 17:40:13 +0400 From: Yura Zotov To: Sisyphus List Message-ID: <20030708134013.GA16043@home-pool4-109.com2com.ru> Mail-Followup-To: Sisyphus List Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="huq684BweRXVnRxX" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i Subject: [sisyphus] ifup-pptp X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sisyphus@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 13:40:26 -0000 --huq684BweRXVnRxX Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit Я написал скрипты, которые дают возможность стартовать PPTP-туннели так же, как и другие сетевые интерфейсы, т.е. ifup pptp0 ifdown pptp0 соответственно и service network start|stop тоже будет их запускать/стопить. Посмотрите, кто заинтересован. Если проблем не будет, я включу эти скрипты следующую сборку пакета. -- Юрий А. Зотов --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ifcfg-pptp0 ONBOOT=yes # Must be defined by not null values DEVICE=pptp0 PPTP_SERVER_IP="192.168.5.2" PAPNAME= # Recommended DEBUG=yes # Other DEFROUTE=yes PEERDNS=no CALL= DISCONNECTTIMEOUT= RETRYTIMEOUT= IDLETIMEOUT= ESCAPECHARS= MRU= MTU= IPADDR= REMIP= --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ifup-pptp #!/bin/sh PATH=/sbin:/usr/sbin:/bin:/usr/bin # Source function library. . /etc/init.d/functions cd /etc/sysconfig/network-scripts . network-functions # ifup-post for PPP is handled through /etc/ppp/ip-up CONFIG=$1 [ -f "$CONFIG" ] || CONFIG="ifcfg-$1" source_config if [ -z "$PPTP_SERVER_IP" ]; then echo "ifup-pptp for $DEVICE exiting" logger -p daemon.info -t ifup-pptp \ "PPTP-server IP address does not specified" exit 1 fi if [ -z "$DISCONNECTTIMEOUT" ]; then DISCONNECTTIMEOUT=2 fi if [ -z "$RETRYTIMEOUT" ]; then RETRYTIMEOUT=30 fi if [ -z "$IDLETIMEOUT" ]; then IDLETIMEOUT=600 fi if [ "$2" = "boot" -a "$ONBOOT" = "no" ]; then exit fi PPPD=/usr/sbin/pppd [ -x "$PPPD" ] || { echo "$PPPD does not exist or is not executable" echo "ifup-pptp for $DEVICE exiting" logger -p daemon.info -t ifup-pptp \ "$PPPD does not exist or is not executable for $DEVICE" exit 1 } opts="lock" if [ -n "$CALL" ]; then opts="$opts call $CALL" fi if [ "$ESCAPECHARS" != yes ] ; then opts="$opts asyncmap 00000000" fi if [ "$DEFROUTE" != no ] ; then # pppd will no longer delete an existing default route # so we have to help it out a little here. route del default >/dev/null 2>&1 opts="$opts defaultroute" fi if [ "$PEERDNS" != no ] ; then opts="$opts usepeerdns" fi if [ -n "$MRU" ] ; then opts="$opts mru $MRU" fi if [ -n "$MTU" ] ; then opts="$opts mtu $MTU" fi if [ -n "$IPADDR$REMIP" ] ; then # if either IP address is set, the following will work. opts="$opts $IPADDR:$REMIP" fi if [ -n "$PAPNAME" ] ; then opts="$opts user $PAPNAME remotename $DEVNAME" fi if [ "$DEBUG" = yes ] ; then opts="$opts debug" fi if [ "$DEMAND" = yes ]; then opts="$opts demand ktune idle $IDLETIMEOUT holdoff $RETRYTIMEOUT" fi (logger -p daemon.info -t ifup-pptp \ "PPTP tunnel to $PPTP_SERVER_IP started for $DEVICE" &)& $PPPD $opts updetach ipparam "$DEVICE" linkname "$DEVICE" $PPPOPTIONS connect "/bin/true" pty "/usr/sbin/pptp $PPTP_SERVER_IP --nolaunchpppd $EXTRA_PPTP_OPTS" &> /dev/null --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ifdown-pptp #!/bin/sh PATH=/sbin:/usr/sbin:/bin:/usr/bin cd /etc/sysconfig/network-scripts . network-functions CONFIG="$1" [ -f "$CONFIG" ] || CONFIG="ifcfg-$1" source_config try_to_kill() { local n="$1" shift local p="$1" local i=0 while [ $i -lt "$n" ]; do [ ! -d "/proc/$p" ] && return 0 kill -TERM "$p" [ ! -d "/proc/$p" ] && return 0 sleep 1 i=$[1+i] done [ ! -d "/proc/$p" ] && return 0 || return 1 } if [ -s "/var/run/ppp-$DEVICE.pid" ]; then PID=`head -1 "/var/run/ppp-$DEVICE.pid"` try_to_kill 4 "$PID" exit fi --huq684BweRXVnRxX-- >>From avp@altlinux.org Tue Jul 8 17:45:46 2003 Return-Path: Delivered-To: sisyphus@lrn.ru Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235]) by lrn.ru (Postfix) with ESMTP id 3925B49448 for ; Tue, 8 Jul 2003 17:45:46 +0400 (MSD) Received: from basalt.office.altlinux.org (localhost.localdomain [127.0.0.1]) by master.altlinux.ru (Postfix) with ESMTP id 23B8BE31CF for ; Tue, 8 Jul 2003 17:45:46 +0400 (MSD) Received: by basalt.office.altlinux.org (Postfix, from userid 525) id A922013C4; Tue, 8 Jul 2003 17:45:45 +0400 (MSD) Date: Tue, 8 Jul 2003 17:45:45 +0400 From: Alexandre Prokoudine To: sisyphus@altlinux.ru Subject: Re: [sisyphus] ifup-pptp Message-ID: <20030708134545.GC2776@altlinux.ru> Mail-Followup-To: Alexandre Prokoudine , sisyphus@altlinux.ru References: <20030708134013.GA16043@home-pool4-109.com2com.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gr/z0/N6AeWAPJVB" Content-Disposition: inline In-Reply-To: <20030708134013.GA16043@home-pool4-109.com2com.ru> User-Agent: Mutt/1.4.1i X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sisyphus@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 13:45:46 -0000 --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit Yura Zotov wrote > Я написал скрипты, которые дают возможность стартовать > PPTP-туннели так же, как и другие сетевые интерфейсы, т.е. > > ifup pptp0 > ifdown pptp0 > > соответственно и service network start|stop тоже будет их > запускать/стопить. > > Посмотрите, кто заинтересован. Если проблем не будет, я включу > эти скрипты следующую сборку пакета. <каждой бочке object="затычка"> В случае одобрения прошу это по возможности документировать :-) -- Alexandre Prokoudine ALT Linux Documentation Team JabberID: avp@altlinux.org --gr/z0/N6AeWAPJVB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iQEVAwUBPwrLCVuz2hQ8IXD/AQKh5Qf+JEPa9nGHdZSL2KBM+ZDI+cvU+d7NWsns d3e8kV+una6irtEwMZmHqwUZj5srFlV06MLS9vPp6O99fu1oHpCtME9IvyI4pejK zN9iYATIDh9zoAPDLumjQXTLbcD6DP1sISeLymt9hL1uNtIJUUGT9+ctZ41FPZSc GEMD/cOfWqk63dvbTnvNbtYyuLol/ewuR71rp/PtvzyT10+zcuKrQOwRTuJQWXkl ketQ8pEpmiZAl6gHWxUFd9uUFoowIhJO5Oyxu9n3jvAfioxfosgdWc8tTw7lXWhF pYU5cRE3CTua+OnW+KochhZhLkKNFzkHwqcQUzYElMBKfjSsIi9Ajg== =nxL0 -----END PGP SIGNATURE----- --gr/z0/N6AeWAPJVB-- >>From salavat@regiongarant.ru Tue Jul 8 17:52:23 2003 Return-Path: Delivered-To: sisyphus@lrn.ru Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235]) by lrn.ru (Postfix) with ESMTP id 3BBDF494FF for ; Tue, 8 Jul 2003 17:52:23 +0400 (MSD) Received: from regiongarant.ru (unknown [213.33.207.254]) by master.altlinux.ru (Postfix) with ESMTP id 044C4E31CF for ; Tue, 8 Jul 2003 17:52:23 +0400 (MSD) Received: (from salavat@localhost) by regiongarant.ru (8.11.6/8.11.6) id h68DqMq30603 for sisyphus@altlinux.ru.KAV; Tue, 8 Jul 2003 17:52:22 +0400 X-Authentication-Warning: regiongarant.ru: salavat set sender to salavat@regiongarant.ru using -f Received: (from salavat@localhost) by regiongarant.ru (8.11.6/8.11.6) id h68DqMn30594 for sisyphus@altlinux.ru; Tue, 8 Jul 2003 17:52:22 +0400 Date: Tue, 8 Jul 2003 17:52:22 +0400 From: Salavat Yarmukhametov To: sisyphus@altlinux.ru Subject: Re: [sisyphus] 2.4.21 & Promise IDE-controller Message-ID: <20030708135222.GC28720@regiongarant.ru> Mail-Followup-To: Salavat Yarmukhametov , sisyphus@altlinux.ru References: <20030708073758.GC23730@regiongarant.ru> <200307081857.29527.nick@fedchik.org.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200307081857.29527.nick@fedchik.org.ua> X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Salavat Yarmukhametov , sisyphus@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 13:52:23 -0000 On Tue, Jul 08, 2003 at 06:57:29PM +0300, Nick Fedchik wrote: > On Tuesday 08 July 2003 10:37, Salavat Yarmukhametov wrote: > > > У меня Asus Tusl2 с Promise PDC20265R. На сайтах asus и promise только > > бинарные модули для каких то старых ядер. Где Вы брали драйвера? > Дык а на кой тебе? > Ядро видит, юзать можешь? Что ещё надо? > Проблемы есть? хочется к raid не программно обращаться как к /dev/hdx, а напрямую. Там два винта висят, я их в bios зазеркалил. > > > root@localhost ide]# cat /proc/ide/pdc202xx > > > > PROMISE Ultra series driver Ver 1.20.0.9 Date: 2002-08-01 > > Adapter : Ultra100 on M/B > > VendorID: 0x105a DeviceID: 0xd30 ClassID: 0x0104 IRQ: 0x9 > > --------------- Primary Channel ---------------- Secondary Channel > > ------------- > > Status: enabled enabled > > Cable type: 80-pin 80-pin > > --------------- drive0 --------- drive1 -------- drive0 -------- drive1 > > -------- > > DMA enabled: yes no yes no > > LBA48 Mode: no no no no > > UDMA Mode: 5 0 5 0 > > PIO Mode: 4 0 4 0 > > > > > > 2.4.20alt-7 > > -- > Best regards, Nick Fedchik > FNM3-RIPE(-UANIC) http://www.fedchik.org.ua > > -- Salavat Yarmukhametov salavat@regiongarant.ru ICQ 21144441 registered Linux user number 318517