Eax In Linux

2003-10-05 Thread Ziad
I'm wondering if the emu10k1 Alsa module supports Eax.

Thanks for your help.



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


RE: Shell scripting help

2002-12-03 Thread Ziad Samaha
Mike,

If you don't mind changing the script, go ahead and try the below:

cat usefile | awk -F: '{ print $1 }'

This will list all the names in "userfile", in case you want them in another 
file, all you have to do is redirect the output of the command to the 
desired file.

Regards,

Ziad






From: Mikevl <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: Shell scripting help
Date: Mon, 2 Dec 2002 08:17:21 +1300
MIME-Version: 1.0
Received: from mc8-f1.law1.hotmail.com ([65.54.253.137]) by 
mc8-s7.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 1 Dec 
2002 11:18:19 -0800
Received: from listman.redhat.com ([66.187.233.211]) by 
mc8-f1.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 1 Dec 
2002 11:18:19 -0800
Received: from listman.redhat.com (localhost.localdomain [127.0.0.1])by 
listman.redhat.com (Postfix) with ESMTPid E1C763F3F8; Sun,  1 Dec 2002 
14:18:04 -0500 (EST)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com 
[172.16.52.254])by listman.redhat.com (Postfix) with ESMTP id 2F3193F3F4for 
<[EMAIL PROTECTED]>; Sun,  1 Dec 2002 14:17:41 -0500 (EST)
Received: (from mail@localhost)by int-mx1.corp.redhat.com (8.11.6/8.11.6) 
id gB1JHf410483for [EMAIL PROTECTED]; Sun, 1 Dec 2002 14:17:41 
-0500
Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31])by 
int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gB1JHeD10476for 
<[EMAIL PROTECTED]>; Sun, 1 Dec 2002 14:17:40 -0500
Received: from smtp-3.paradise.net.nz (smtp-3b.paradise.net.nz 
[202.0.32.212])by mx1.redhat.com (8.11.6/8.11.6) with SMTP id 
gB1IqqP32294for <[EMAIL PROTECTED]>; Sun, 1 Dec 2002 13:52:52 -0500
Received: from dssserver.dounsix.co.nz 
(203-79-66-138.adsl-wns.paradise.net.nz [203.79.66.138])by 
smtp-3.paradise.net.nz (Postfix) with ESMTP id 7CAD1AE074for 
<[EMAIL PROTECTED]>; Mon,  2 Dec 2002 08:17:32 +1300 (NZDT)
Received: by localhost with Internet Mail Service (5.5.2650.21)id 
; Mon, 2 Dec 2002 08:17:37 +1300
Delivered-To: [EMAIL PROTECTED]
Message-ID: <51065A926D41D311899F00A0C9B8E8263AC07E@localhost>
X-Mailer: Internet Mail Service (5.5.2650.21)
X-Loop: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Subscribe: 
<https://listman.redhat.com/mailman/listinfo/redhat-list>,<mailto:[EMAIL PROTECTED]?subject=subscribe>
List-Id: General Red Hat Linux discussion list 
List-Unsubscribe: 
<https://listman.redhat.com/mailman/listinfo/redhat-list>,<mailto:[EMAIL PROTECTED]?subject=unsubscribe>
List-Archive: <https://listman.redhat.com/pipermail/redhat-list/>
X-Original-Date: Mon, 2 Dec 2002 08:17:21 +1300
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 01 Dec 2002 19:18:19.0523 (UTC) 
FILETIME=[684E9D30:01C2996E]

Thanks

This program will extract names from an input and put them into another
command.

userfile=$1
s=0
for i in 'cat $userfile ';do
#   s=$s+1
NAME='cut -d : -f1'
echo $NAME
#   echo $s
done

The output is as below instead of a list of names as I would like

[root@Lizzi root]# ./addscusers scusers
cut -d : -f1
[root@Lizzi root]#

Many thanks
Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Adam H. Pendleton
Sent: Monday, 2 December 2002 07:56
To: [EMAIL PROTECTED]
Subject: RE: Shell scripting help


*This message was transferred with a trial version of CommuniGate(tm) Pro*
Change the line:

$NAME='cut -d : -f1'

to be:

NAME='cut -d : -f1'

$NAME as a left-hand operator causes expansion, which in this case probably
expands to "", leaving you with:

='cut -d : -f1'

which is the text of your error message.

ahp

> -Original Message-
> From: Mikevl [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 01, 2002 13:52
> To: Redhat-List (E-mail)
> Subject: Shell scripting help
>
> *This message was transferred with a trial version of CommuniGate(tm) 
Pro*
> *This message was transferred with a trial version of CommuniGate(tm) 
Pro*
> Thanks Robert
>
> No I didn't name the file useradd it has quite a different name
> The cut command works from the command line but from the script I get
>
> [root@Lizzi root]# ./addscusers scusers
> ./addscusers: =/bin/cut -d : -f1: No such file or directory
>
> Many thanks
>
> Mike
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert P. J. Day
> Sent: Monday, 2 December 2002 07:08
> To: [EMAIL PROTECTED]
> Subject: Re: Shell scripting help
>
>
> On Sun, 1 Dec 2002, Bill Horne wrote:
>
> > 

Re: Replace a line... with 2 lines

2002-10-06 Thread Ziad Samaha

Marco,

The following works fine, it will replace your old file with a new one 
including the line duplication you are looking for.

cat filename | awk '{
if (NF==1 && $1=="test") {
print $0
printf("%s","test1\n");
}
else {
    print $0
}
}'>filename

Regards,

Ziad



>From: Mitchell Wright <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: Replace a line... with 2 lines
>Date: Sun, 06 Oct 2002 09:23:44 -0400
>
>I think you can do it with sed, but one trick would be to make sure you are
>not writing out to the same file as you are reading from. This may be 
>unique
>to me, but I had a hell of a time trying to figure what was wrong with a
>similar thing I was working on. It turned out to be that I had to bring in
>one file, do the operation, write out to another file and then change the
>name back to the original.
>
>Anyways... Give this a try:
>
>#cat filename | sed s/Test/Test\nTest1/g > filename2
>
>That works for me... ymmv :-)
>
>Mitchell
>
>On 10/6/02 8:46 AM, "Shaw, Marco" <[EMAIL PROTECTED]> wrote:
>
> > How can I do the following...
> >
> > A file something like this:
> >
> > 
> > Test
> > 
> >
> > I want to end up with:
> >
> > 
> > Test
> > Test1
> > 
> >
> > So basically, I want to replace "Test" with "TestTest1".  
>Can't seem
> > to do it with sed, and would prefer to stay away from Perl.  It won't
> > necessarily be on the same line number all the time either.
> >
> > I could possibly read the entire file in:
> >
> > While read line
> > Do
> > if [ "$line" = "Test" ]
> > then {
> > echo
> > echo "Test1"
> > }
> > fi
> > Done < ${FILE} > ${FILE}.tmp
> >
> > Which I just thought of, but didn't try, since it seems "ugly".
> >
> > Marco
> >
> >
>
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
>https://listman.redhat.com/mailman/listinfo/redhat-list




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: LDAP administration

2002-08-11 Thread Ziad Samaha

Chad

LDAP Browser is good but I'd rather stick to the command line utilities.

Cheers,

Ziad


>From: Chad Skinner <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: redhat-list <[EMAIL PROTECTED]>
>Subject: LDAP administration
>Date: Sun, 11 Aug 2002 20:15:32 -0500
>
>What graphical administration programs do any of you use and/or which would
>you recommend. I am trying to learn more about LDAP and its administration
>so if any of you know of software I should investigate or resources I 
>should
>read please let me know.
>
>Thanks,
>Chad
>
>
>
>--
>redhat-list mailing list
>unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
>https://listman.redhat.com/mailman/listinfo/redhat-list




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: openldap errors

2002-07-13 Thread Ziad Samaha

As far as I know, it should be owned by the ldap user and group, and if I am 
not wrong if this file is only readable and writable by his owner the whole 
directory will keep working fine.

...


>From: Chad Skinner <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: openldap errors
>Date: Sat, 13 Jul 2002 07:11:11 -0500
>
>Thanks, after your advice I changed permissions and it turns out that
>instead of using mode 700 it needed to be mode 770. Now my next question
>would be one file is id2entry.gdbm is owned by root the others are owned by
>the user and group "ldap". should this file be the same as well?
>
>Thanks,
>Chad
>
> > Sounds like slapd can't create files in the db directory.. make sure
> > '/usr/local/var/ldbm' exists and slapd as _write_ access to it.
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: openldap errors

2002-07-12 Thread Ziad Samaha


Sounds like slapd can't create files in the db directory.. make sure 
'/usr/local/var/ldbm' exists and slapd as _write_ access to it.

!!!

>From: Chad Skinner <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: redhat-list <[EMAIL PROTECTED]>
>Subject: openldap errors
>Date: Thu, 11 Jul 2002 23:17:06 -0500
>
>I have installed openldap on my 7.2 machine and when I try to add an entry
>it gives me the error:
>
>adding new entry "dc=local,dc=domain"
>ldap_add: Unknown error
> additional info: entry store failed
>
>Does anyone know what causes this error as I have only found information on
>people reporting the problem, but no solution.
>
>Thanks,
>Chad
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list





_
Send and receive Hotmail on your mobile device: http://mobile.msn.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Simple question:HTTP file upload

2002-04-08 Thread Ziad Samaha

Hi Nathalie,

I hope this will be helpfull (squid.conf file)

Maximum allowed request size in kilobytes.  If people are using
POST to upload files, then set this to the largest acceptable
filesize plus a few extra kbytes.

request_size 100  or  request_body_max_size 1000 KB

request_size (KB)
Maximum size of a request. If people are using POST or PUT to upload files 
places, bump this to the maximum conceivable size.





>From: "Nat B." <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Simple question:HTTP file upload
>Date: Mon, 08 Apr 2002 07:23:42 +
>
>Yes Bill, I'm going through a proxy. It's a squid 2.3 under RH7.1. If I
>bypass the proxy, I could upload files > 1Meg.
>
>I'm starting my research on the proxy restrictions. I would greatly
>appreciate any hint if someone have had this problem before.
>
>Thanks and regards
>
>Nathalie
>
>
>>From: Bill Crawford <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>Subject: Re: Simple question:HTTP file upload
>>Date: Fri, 5 Apr 2002 18:26:59 +0100 (BST)
>>
>>On Fri, 5 Apr 2002, Nat B. wrote:
>>
>> > I'm trying to upload a file > 1Meg via a web page. Seems there's a 
>>quota
>>on
>> > max upload file size:
>>
>>  Are you going through a proxy / cache?
>>
>>
>>
>>
>>___
>>Redhat-list mailing list
>>[EMAIL PROTECTED]
>>https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
>
>_
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: [OT] Subnets and Classes

2002-02-20 Thread Ziad Samaha

It seems I got the problem wrong,
Sorry



>From: Gary Stainburn <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], "Edward Dekkers" <[EMAIL PROTECTED]>
>Subject: Re: [OT] Subnets and Classes
>Date: Wed, 20 Feb 2002 10:14:23 +
>
>**Disclaimer - all self-tought**
>
>Simple answer, you should have been fine having a server on 192.168.0.1/16
>and a client on 192.168.1.1/16. (/16 is another way of writing 255.255.0.0)
>
>When sending an IP packet, the sender compares it's IP and netmask with the
>IP and netmask of the receiver, and if the results match then it tries to
>talk direct. If they don't match then it uses it's routing tables to find 
>out
>who to go through, and repeats the same process.
>
>Comparing IP/masks is a simple logic AND operation.
>192.168.0.1 && 255.255.0.0 = 192.168.0.0
>192.168.1.1 && 255.255.0.0 = 192.168.0.0 = match and should talk fine
>
>Using a class 'C' mask would give
>192.168.0.1 && 255.255.255.0 = 192.168.0.0
>192.168.1.1 && 255.255.255.0 = 192.168.1.0 = no-match needs routing
>
>There is no *magic* about class 'A' 'B' or 'C' netmasks, other than they
>split at byte-bounderies ( an typically that they have defined IP address
>ranges).  There is nothing wrong with using the 192.168. Class B range as
>multiple class 'C'. Here we use the class 'A' private range 10. as multiple
>class 'B' subnets, one per physical site to aid routing and reduce the
>broadcasts that travel down the WAN lines.
>
>The netmask is purely a way of describing the number of bits - starting at
>the left - that signify how much of the IP address is network and how much 
>is
>node.
>
>128.0.0.0 = /1 = 1000...
>255.0.0.0 = /8 = ... (Class A mask)
>255.255.0.0 = /16 = ... (Class B mask)
>
>Hope this helps
>
>Gary
>
>On Wednesday 20 February 2002 9:41 am, Edward Dekkers wrote:
> > Just something that's always evaded my comprehension.
> >
> > I always use the 192.168.0.0 - 192.168.255.255 range for internal 
>networks.
> > Usually the first 9 reserved for servers (.1-.10) and the rest clients.
> > From all the documentation I've read this is a Class B network (16 bit),
> > and to use it I should netmask 255.255.0.0.
> >
> > I was at a customer's the other day who uses the 192.168.1.x range. I 
>put a
> > pre-prepared Linux box (RH7.2 if it matters) down there, with my usual
> > 192.168.0.1 ip set-up, but the clients just would not connect to it. Not
> > even ping it. The client's netmask WAS set to 255.255.0.0, so my 
>question
> > is this:
> >
> > Can a client at let's say 192.168.1.x with netmask 255.255.0.0 connect 
>to a
> > server at 192.168.0.1 with netmask 255.255.0.0?
> >
> > I've never pondered this before because as I said, I normally use the
> > 192.168.0 range only, but in this case, I had to change the server to
> > 192.168.1 range to make it work, when, from what I understand, I 
>shouldn't
> > have had to. In the end it's all good and works, but why not with the
> > 192.168.0 range? I realise it's a different sub-net, but the mask should
> > take care of that no?
> >
> > Can anyone please kindly refer me somewhere that explains in plain 
>English
> > what I'm misunderstanding?
> >
> > TIA
>
>--
>Gary Stainburn
>
>This email does not contain private or confidential material as it
>may be snooped on by interested government parties for unknown
>and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list




_
Send and receive Hotmail on your mobile device: http://mobile.msn.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: [OT] Subnets and Classes

2002-02-20 Thread Ziad Samaha


To give you an exact answer I must know your network topology, but as a 
general answer:
You must add the corresponding entry to your router's routing table (and to 
your host PC if the default route destination is not the router in 
question).

Good Luck.

>From: "Edward Dekkers" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: [OT] Subnets and Classes
>Date: Wed, 20 Feb 2002 17:41:54 +0800
>
>Just something that's always evaded my comprehension.
>
>I always use the 192.168.0.0 - 192.168.255.255 range for internal networks.
>Usually the first 9 reserved for servers (.1-.10) and the rest clients. 
>From
>all the documentation I've read this is a Class B network (16 bit), and to
>use it I should netmask 255.255.0.0.
>
>I was at a customer's the other day who uses the 192.168.1.x range. I put a
>pre-prepared Linux box (RH7.2 if it matters) down there, with my usual
>192.168.0.1 ip set-up, but the clients just would not connect to it. Not
>even ping it. The client's netmask WAS set to 255.255.0.0, so my question 
>is
>this:
>
>Can a client at let's say 192.168.1.x with netmask 255.255.0.0 connect to a
>server at 192.168.0.1 with netmask 255.255.0.0?
>
>I've never pondered this before because as I said, I normally use the
>192.168.0 range only, but in this case, I had to change the server to
>192.168.1 range to make it work, when, from what I understand, I shouldn't
>have had to. In the end it's all good and works, but why not with the
>192.168.0 range? I realise it's a different sub-net, but the mask should
>take care of that no?
>
>Can anyone please kindly refer me somewhere that explains in plain English
>what I'm misunderstanding?
>
>TIA
>
>--
>Edward Dekkers (Director)
>Triple D Computer Services Pty. Ltd.
>
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: PLEASE HELP! Works on Windows NT Server, but apparently not on Redhat 7.2!

2002-01-09 Thread Ziad Samaha


Hello James,

First make sure your kernel is compiled with IP-Aliasing.

Second, set up more then one IP address on the same network interface:
#ifconfig ip1 netmask netmask1 eth0:1 up
#ifconfig ip2 netmask netmask2 eth0:2 up
...
#ifconfig ipn netmask netmaskn eth0:n up

Third, add new entries to the routing table:
#route add -net netadd1 -i eth0:1
#route add -net netadd2 -i eth0:2
...
#route add -net netaddn -i eth0:n

I think it should work, you can then change the script to initialize the 
previous during boot time.

Good Luck...



>From: James Pifer <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: PLEASE HELP! Works on Windows NT Server, but apparently not on  
>Redhat 7.2!
>Date: Wed, 09 Jan 2002 09:36:07 -0600
>
>I'm trying to replace an NT server with Redhat 7.2. The problem is that the
>current environment has to be multi-netted on one NIC, hence two gateways.
>Another source told me this couldn't be done on linux.
>
>Currently the NT server has several IP addresses(from two subnets) with TWO
>default gateways. On NT 4 this is setup in TCPIP Advanced Properties.
>There's a section for additional IP's and and another for additional
>gateways. Assign them and it works.
>
>For example: (this first address is the main address, the rest are virtual)
>192.168.1.10   mask 255.255.255.0  gateway 192.168.1.1
>192.168.1.11   mask 255.255.255.0  gateway 192.168.1.1
>192.168.20.25  mask 255.255.255.0  gateway 192.168.1.20
>192.168.20.26  mask 255.255.255.0  gateway 192.168.1.20
>
>I can add virtual IP's without a problem, but how do I deal with the
>gateways? I'll be very disappointed with Redhat(linux) if I can't get this
>done. Can I do it by messing with the routing table? If so, what would the
>syntax of the route adds be?
>
>PLEASE HELP!
>
>Thanks.
>James
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: DNS, Architecture, General Question

2002-01-07 Thread Ziad Samaha


I think you should use LDAP if you have a large number of user and most of 
your operations are search and read operations. You can store your users 
info in this LDAP and use it for authentication (that can be specified in 
your protal).

According to the free email accounts you want to offer try to integrate 
webmail as part of your protal users desktop, you can use the same 
authentication info to authenticate automatically to the mail server after 
logging to the portal desktop (Single Sign On): which means that you will 
have a part of your desktop containing your mailbox.

Good Luck

On Thu, 3 Jan 2002, Ben Ocean wrote:

>Hi;
>I'm going to be building a robust, complex Web portal that, among other
>things, may offer free email accounts. These POP3 accounts would run
>through qmail and authenticate through OpenLDAP (and Kerberos V behind all
>that). I currently don't host my own DNS, although if I offer the free
>email accounts, I'm sure I will have to do that. I've installed all the
>requisite tools on my server to develop this portal. I'm currently
>schematizing the architecture and am vitally concerned about how POP3 email
>accounts would be integrated. Would someone please offer a few sentences of
>advice on this topic and a resource or two to consult? Again, the
>architecture will integrate qmail, OpenLDAP and DNS.
>TIA,
>BenO




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list