Re: samba or NFS mount
The samba server is designed to make a Unix server look like an NT server to WinTel boxes. The samba client (which is what you need) is used to "mount" WinTel shares on your Unix client. Haven't used it in a while but it was rather arcane a few years ago, but pretty easy to get the hang of. If you are running a GUI (and I assume you are if you are viewing spreadsheets) it should probably be pretty straightforward. Rod > You do not need to run a samba server to mount filesystems on your Linux > box from NT via samba > > > At 17:01 2000-11-25 -0500, Debian Ghost wrote: > >Thank you for the reply. > >So samba is the only way to "mount" an NT filesystem? Sounds good... > >Do I need to run a samba server on the linux machine or would the server > >be an application on the NT machine. I went to samba.org/samba to read the > >FAQs and I'm still a little confused as to what I do to get started. > > > Stefan Cars <[EMAIL PROTECTED]> > Globalwire Communications > Tel: +46 (0)708 44 36 00 > > Stockholm: London: > Tel: +46 (0)8 598 19 000Tel : +44 (0)20 7829 8467 > Fax: +46 (0)708 44 36 04Fax : +44 (0)20 7497 1300 > http://www.globalwire.co.uk/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: w/c RAID on a SQL box
RAID 5. Easy to set up, fast, and reliable. Uses more disks, however. RAID 1 is, I believe, mirroring. With that, all info must be written to two different disks. With RAID 5, the disks are "striped" (not really, but I don't remember the real name for it) and part of each byte, with a checksum, goes on each disk. So, your disk writes are actually being written to multiple disks, so they are faster (in theory). And, if one disk fails, you can recover because the failed disk can be rebuilt fro the others. Rod > hello, > >my hosting company told me that they only support either RAID 1 and RAID 5. > >so given this choice, w/c would you suggest? >i use a MySQL database for a bulletin board application w/c does _LOTS_ of > SELECTS and data lookup. > > thanks in advance, > chad > > __ > Do You Yahoo!? > Yahoo! Calendar - Get organized for the holidays! > http://calendar.yahoo.com/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: syslog not logging to files
> This message is in MIME format. The first part should be readable text, > while the remaining parts are likely unreadable without MIME-aware tools. > Send mail to [EMAIL PROTECTED] for more info. > > > On Wed, 15 Nov 2000, R. W. Rodolico wrote: > > > Syslog is not logging to files. It simply displays the output on the > > active terminal. > > What is it logging to the console? The one I specifically remember was bind. > > What is it not logging to files? Almost iterally nothing. The only files with non-zero length are dmesg, faillog, installer.log, lastlog, messages, setuid.changes syslog, wtmp and xferlog. Of those, messages and syslog only contain the -- MARK -- entries and notifications when syslog was being shut down and started up. lastlog is binary, as is wtmp. Ran syslogd with the -d flag set, captured the output to the attached file. Only problem I noted was that it errored when trying to open a file named /dev/log. I can find no entry /dev/log in /etc/syslogd.conf. > > What do you want logged? Same as I have on my other server. Bind, mail, pop, ftp, errors, warnings, etc... > > > Funny thing is, it does record when I start and stop syslogd, and it > > still does its "marks". > > I guess you are talking about /var/log/messages. What are you expecting in > your logs? Bind notifications, sendmail notifications, errors in configurations, etc... I did not begin to notice this until I was trying to troubleshoot a problem and found that my log files were, basically, empty. > > Can you manually use the logger program to log something to a > different log file? executed following command: sudo logger -f /var/log/syslog This Is A Test sudo logger -f /tmp/joe This is a Test neither produced an entry > > > Attached is syslog.conf. > > With small text files, I believe it is easier to just include it in the > email instead of as an attachment (like Application/OCTET-STREAM). > > Anyways, it appears most of your sylogd config is like mine. (I just have > added a local2.* action and uncommented the last few lines.) > > Jeremy C. Reed > http://www.reedmedia.net/ > http://bsd.reedmedia.net/ > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation syslog.out
syslog not logging to files
Syslog is not logging to files. It simply displays the output on the active terminal. Funny thing is, it does record when I start and stop syslogd, and it still does its "marks". Attached is syslog.conf. Any suggestions would be helpful. Thanks Rod syslog.conf
Re: APC UPS-Pro 650 anyone ?
I tried using PowerChute but it is not set up for Debian. If I remember correctly, it makes some assumptions about the location and version of certain libraries that works only with RedHat, Suse and a few other releases. Same problem you had. I contacted APC and they will not support under Debian. Have you tried using apcupsd or upsd? These appear to work better. Again, I'm running from memory but I believe they were written by looking at the signals that come into the computer from the UPS since APC doesn't release the specs. To be honest, I have not had a chance to try them, but they come with very detailed documentation. You might have to wire your own cable, but I know that upsd supposedly works, although not with all the bells and whistles that powerchute has. FYI, APC continues to guard its communications specifications as proprietary information. In last months "Linux Journal" it was announced that TrippLite has released full spec's on their communications parameters, though visiting their web site I was not able to locate them. But, I'm thinking that my future purchases will be TrippLite. Rod > > Hi, im using PowerChute fromn APC. All works well except that the UPS > doesn't put itself to sleep, so it runs "On battery" forever. > > I've tried the same ups an same cable with a WinBug box and all work > well. > > So the choice are the Linux "powerChute" bugware or the serial port. > > Anyone with success with this thing ? > > > Thax. > > -- > __ > > Felipe Alvarez Harnecker. QlSoftware. > > Tel. 09.874.60.17 e-mail: [EMAIL PROTECTED] > > Potenciado por Debian GNU/Linux http://qlsoft.cl/ > __ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: sendmail or bind problems
Thanks for all the suggestions. I do have brion-enterprises.com and their ISP listed in /etc/mail/relay-domains and have brion- enterprises.com in /etc/mail/local-host-names. I believe the problem is with the target SMTP server, and I'd rather look like a fool here than with them. Attached is a transcript if anyone has time to look at it. Thanks for all the suggestions before. Rod > > -Original Message- > > From: R. W. Rodolico [mailto:[EMAIL PROTECTED]] > > Sent: Monday, October 23, 2000 2:15 AM > > To: [EMAIL PROTECTED] > > Subject: sendmail or bind problems > > > > > > I am running sendmail 8.9.3-23. I host several small web sites. One of > > my clients is sending mail and the receiving server denies it because > > it says "Relaying Denied," I assume because my client is coming from my > > mail server (tully.dailydatainc.com) but has their return address > > (brion-enterprises.com) in the "From" field. > > > > I am using one IP address for everyone. > > > > Any ideas? > > > > I can send the headers if necessary. > > > > Thanks, > > > > Rod > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED] > > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation Received: by tully (mbox stargazer) (with Cubic Circle's cucipop (v1.31 1998/05/13) Thu Oct 12 06:15:26 2000) X-From_: MAILER-DAEMON Thu Oct 12 06:03:11 2000 Return-Path: Received: from localhost (localhost) by tully.dailydatainc.com (8.9.3/8.9.3/Debian 8.9.3-21) with internal id GAA22667; Thu, 12 Oct 2000 06:03:11 -0500 Date: Thu, 12 Oct 2000 06:03:11 -0500 From: Mail Delivery Subsystem Message-Id: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="GAA22667.971348591/tully.dailydatainc.com" Subject: Returned mail: User unknown Auto-Submitted: auto-generated (failure) X-Mozilla-Status2: This is a MIME-encapsulated message --GAA22667.971348591/tully.dailydatainc.com The original message was received at Thu, 12 Oct 2000 06:03:09 -0500 from [209.30.224.148] - The following addresses had permanent fatal errors - <[EMAIL PROTECTED]> - Transcript of session follows - ... while talking to smtp1.san.cerf.net.: >>> RCPT To:<[EMAIL PROTECTED]> <<< 550 <[EMAIL PROTECTED]>... Relaying denied 550 <[EMAIL PROTECTED]>... User unknown --GAA22667.971348591/tully.dailydatainc.com Content-Type: message/delivery-status Reporting-MTA: dns; tully.dailydatainc.com Received-From-MTA: DNS; [209.30.224.148] Arrival-Date: Thu, 12 Oct 2000 06:03:09 -0500 Final-Recipient: RFC822; [EMAIL PROTECTED] Action: failed Status: 5.1.1 Remote-MTA: DNS; smtp1.san.cerf.net Diagnostic-Code: SMTP; 550 <[EMAIL PROTECTED]>... Relaying denied Last-Attempt-Date: Thu, 12 Oct 2000 06:03:11 -0500 --GAA22667.971348591/tully.dailydatainc.com Content-Type: message/rfc822 Return-Path: <[EMAIL PROTECTED]> Received: from brion-enterprises.com ([209.30.224.148]) by tully.dailydatainc.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id GAA22665 for <[EMAIL PROTECTED]>; Thu, 12 Oct 2000 06:03:09 -0500 X-Authentication-Warning: tully.dailydatainc.com: Host [209.30.224.148] claimed to be brion-enterprises.com Message-ID: <[EMAIL PROTECTED]> Date: Thu, 12 Oct 2000 06:06:15 -0500 From: bart brion <[EMAIL PROTECTED]> Organization: B&H Commercial Services X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Swindal, James R" <[EMAIL PROTECTED]> Subject: Re: B&H Leads.xls References: <[EMAIL PROTECTED]> Content-Type: multipart/alternative; boundary="7FE492F2DE626B4B01F4FCF3" --7FE492F2DE626B4B01F4FCF3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm glad that you sent again, I didn't get the first one. Bart "Swindal, James R" wrote: > > >I may have sent this yesterday, but I want to make sure >you received it. ><> > --7FE492F2DE626B4B01F4FCF3 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I'm glad that you sent again, I didn't get the first one. Bart "Swindal, James R" wrote: I may have sent this yesterday, but I want to make sure you received it. <<B&H Leads.xls>> --7FE492F2DE626B4B01F4FCF3-- --GAA22667.971348591/tully.dailydatainc.com--
sendmail or bind problems
I am running sendmail 8.9.3-23. I host several small web sites. One of my clients is sending mail and the receiving server denies it because it says "Relaying Denied," I assume because my client is coming from my mail server (tully.dailydatainc.com) but has their return address (brion-enterprises.com) in the "From" field. I am using one IP address for everyone. Any ideas? I can send the headers if necessary. Thanks, Rod -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: what'll make a good mysql server
Can't say for sure, but I think you hit the nail on the head when you said you "need all the speed you can get." Two stats for you. First, I have my accounting package on MySQL. Around 1M total, and it runs very nice on a 166 with 64M of memory and an IDE HDD. Second, I took some IIS logs from a client and put them into a MySQL database to run some stats. A little over 500,000 rows, I believe it was around 9M or so. On a 300Mhz machine, 64M DRAM, SCSI HDD, it ran unimaginably slow. Just remember that CPU speed is not nearly as important as your I/O and memory. Also, if inserts are slowing you down, look at your indicies and ensure you don't have any you can live without. Indicies are great for select statments, but they kill you on inserts and updates that update the keys. BTW, if you will ensure the buffers for the instance of MySQL are set higher than the standard install, it will speed your response times more than fancy new hardware or upgrades. Look at tuning the database before you spend a lot of money on hardware. You might find it is fast enough if you set aside a couple of meg for buffers and increase your threads, etc... Rod > > hello list, > > what hardware can you recommend? single processor? dual? SCSI's? > i need all the speed i can get (my mysql db is about 300MB big) ... > > tia, > chad > > __ > Do You Yahoo!? > Get Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Web Based HTML Editor
I could have sworn I saw a web based HTML Editor somewhere, ie something that could be added to my web site to allow users to create/edit their web sites. Seems like it wored with RCS or CVS also. Anyone know what I'm talking about? Rod R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
Web Based HTML Editor
I could have sworn I saw a web based HTML Editor somewhere, ie something that could be added to my web site to allow users to create/edit their web sites. Seems like it wored with RCS or CVS also. Anyone know what I'm talking about? Rod R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: RAID 5
Yes, that is it. Makes it much easier to build a kernel :) Patched, building new kernel. This ought to work. Thanks to everyone who helped on this. Rod > On Wed, Sep 20, 2000 at 12:25:25AM -0500, R. W. Rodolico wrote: > > Finally, is there any place anyone is aware of that has the > > configuration used by the Debian kernel binary builders? In other > > words, the /usr/src/linux/.config from when they build the kernel? > > Unless I misunderstand you, I think you're looking for > /boot/config-$VERSION. > > > Thanks for the advice. > > HTH > > Sven > -- > L I N U X .~. > The Choice /V\ > of a GNU /( )\ > Generation ^^-^^ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
Re: RAID 5
Yes, that is it. Makes it much easier to build a kernel :) Patched, building new kernel. This ought to work. Thanks to everyone who helped on this. Rod > On Wed, Sep 20, 2000 at 12:25:25AM -0500, R. W. Rodolico wrote: > > Finally, is there any place anyone is aware of that has the > > configuration used by the Debian kernel binary builders? In other > > words, the /usr/src/linux/.config from when they build the kernel? > > Unless I misunderstand you, I think you're looking for > /boot/config-$VERSION. > > > Thanks for the advice. > > HTH > > Sven > -- > L I N U X .~. > The Choice /V\ > of a GNU /( )\ > Generation ^^-^^ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: RAID 5
Ok, I'll patch the [EMAIL PROTECTED] kernel, and no, I will not put the 2.4 ALPHA kernel on. This as an excuse to get a Mickeysoft person converted, and the last thing I need is to put a kernel on that is as bad as the NT he loves so well. :) Well, maybe not as bad, but still unreliable. No all I have to do is figure out how to patch. I assume that /usr/bin/patch is what I use to patch the kernel. Actually, I got the patch from RH, and tried to patch the kernel, but by that time it was way early in the morning and I am not completely sure my eyes were processing the full information read all the way to my brain. So, followup question. Patch is the correct program to patch the kernel? And, I assume the kernel howto or something will lead me through by the hand. I was planning on building a custom kernel anyway as I'm wanting to make this a fairly lean and mean kernel. Finally, is there any place anyone is aware of that has the configuration used by the Debian kernel binary builders? In other words, the /usr/src/linux/.config from when they build the kernel? In the past, when I downloaded the source, I just went through and removed/added things as I saw fit to the default configuration. But, I'd like to start with what already is working on my machine. Thanks for the advice. Rod > Depends on who you ask for that reccomendation, I used both without a > problem for quite a while. Also, the user was using a stock kernel with > (I think) the Debian distro and so "patch your kernel and > recompile" wasn't a suggestion I was going to give unless I felt it was a > good idea. > > Besides, if you are willing to patch the kernel, why not just go with a > pre-2.4? *grin* > > -Nathan (who loves background rebuilds) > > > On Tue, 19 Sep 2000, Tamas TEVESZ wrote: > > > On Tue, 19 Sep 2000, Nathan wrote: > > > > > so go with the regular package for now since it's proven stable. The > > > raidtools2 is there for people like me who can't stand running stock > > > kernels and love to have the latest stuff break our prodution boxes. > > > > actually this is not recommended. what is, getting the raid patches > > from people.redhat.com/~?mingo/raid-patches/raid-2.2.17-A0, patch > > the kernel, recompile the kernel, and use raidtools2. > > > > has some problems around raid1 i think.. use .16-A0 then. > > > > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
[no subject]
Ok, I'll patch the [EMAIL PROTECTED] kernel, and no, I will not put the 2.4 ALPHA kernel on. This as an excuse to get a Mickeysoft person converted, and the last thing I need is to put a kernel on that is as bad as the NT he loves so well. :) Well, maybe not as bad, but still unreliable. No all I have to do is figure out how to patch. I assume that /usr/bin/patch is what I use to patch the kernel. Actually, I got the patch from RH, and tried to patch the kernel, but by that time it was way early in the morning and I am not completely sure my eyes were processing the full information read all the way to my brain. So, followup question. Patch is the correct program to patch the kernel? And, I assume the kernel howto or something will lead me through by the hand. I was planning on building a custom kernel anyway as I'm wanting to make this a fairly lean and mean kernel. Finally, is there any place anyone is aware of that has the configuration used by the Debian kernel binary builders? In other words, the /usr/src/linux/.config from when they build the kernel? In the past, when I downloaded the source, I just went through and removed/added things as I saw fit to the default configuration. But, I'd like to start with what already is working on my machine. Thanks for the advice. Rod > Depends on who you ask for that reccomendation, I used both without a > problem for quite a while. Also, the user was using a stock kernel with > (I think) the Debian distro and so "patch your kernel and > recompile" wasn't a suggestion I was going to give unless I felt it was a > good idea. > > Besides, if you are willing to patch the kernel, why not just go with a > pre-2.4? *grin* > > -Nathan (who loves background rebuilds) > > > On Tue, 19 Sep 2000, Tamas TEVESZ wrote: > > > On Tue, 19 Sep 2000, Nathan wrote: > > > > > so go with the regular package for now since it's proven stable. The > > > raidtools2 is there for people like me who can't stand running stock > > > kernels and love to have the latest stuff break our prodution boxes. > > > > actually this is not recommended. what is, getting the raid patches > > from people.redhat.com/~?mingo/raid-patches/raid-2.2.17-A0, patch > > the kernel, recompile the kernel, and use raidtools2. > > > > has some problems around raid1 i think.. use .16-A0 then. > > > > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
Re: RAID 5
Ok, I'll patch the !#@$%$ kernel, and no, I will not put the 2.4 ALPHA kernel on. This as an excuse to get a Mickeysoft person converted, and the last thing I need is to put a kernel on that is as bad as the NT he loves so well. :) Well, maybe not as bad, but still unreliable. No all I have to do is figure out how to patch. I assume that /usr/bin/patch is what I use to patch the kernel. Actually, I got the patch from RH, and tried to patch the kernel, but by that time it was way early in the morning and I am not completely sure my eyes were processing the full information read all the way to my brain. So, followup question. Patch is the correct program to patch the kernel? And, I assume the kernel howto or something will lead me through by the hand. I was planning on building a custom kernel anyway as I'm wanting to make this a fairly lean and mean kernel. Finally, is there any place anyone is aware of that has the configuration used by the Debian kernel binary builders? In other words, the /usr/src/linux/.config from when they build the kernel? In the past, when I downloaded the source, I just went through and removed/added things as I saw fit to the default configuration. But, I'd like to start with what already is working on my machine. Thanks for the advice. Rod > Depends on who you ask for that reccomendation, I used both without a > problem for quite a while. Also, the user was using a stock kernel with > (I think) the Debian distro and so "patch your kernel and > recompile" wasn't a suggestion I was going to give unless I felt it was a > good idea. > > Besides, if you are willing to patch the kernel, why not just go with a > pre-2.4? *grin* > > -Nathan (who loves background rebuilds) > > > On Tue, 19 Sep 2000, Tamas TEVESZ wrote: > > > On Tue, 19 Sep 2000, Nathan wrote: > > > > > so go with the regular package for now since it's proven stable. The > > > raidtools2 is there for people like me who can't stand running stock > > > kernels and love to have the latest stuff break our prodution boxes. > > > > actually this is not recommended. what is, getting the raid patches > > from people.redhat.com/~?mingo/raid-patches/raid-2.2.17-A0, patch > > the kernel, recompile the kernel, and use raidtools2. > > > > has some problems around raid1 i think.. use .16-A0 then. > > > > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
No Subject
Ok, I'll patch the !#@$%$ kernel, and no, I will not put the 2.4 ALPHA kernel on. This as an excuse to get a Mickeysoft person converted, and the last thing I need is to put a kernel on that is as bad as the NT he loves so well. :) Well, maybe not as bad, but still unreliable. No all I have to do is figure out how to patch. I assume that /usr/bin/patch is what I use to patch the kernel. Actually, I got the patch from RH, and tried to patch the kernel, but by that time it was way early in the morning and I am not completely sure my eyes were processing the full information read all the way to my brain. So, followup question. Patch is the correct program to patch the kernel? And, I assume the kernel howto or something will lead me through by the hand. I was planning on building a custom kernel anyway as I'm wanting to make this a fairly lean and mean kernel. Finally, is there any place anyone is aware of that has the configuration used by the Debian kernel binary builders? In other words, the /usr/src/linux/.config from when they build the kernel? In the past, when I downloaded the source, I just went through and removed/added things as I saw fit to the default configuration. But, I'd like to start with what already is working on my machine. Thanks for the advice. Rod > Depends on who you ask for that reccomendation, I used both without a > problem for quite a while. Also, the user was using a stock kernel with > (I think) the Debian distro and so "patch your kernel and > recompile" wasn't a suggestion I was going to give unless I felt it was a > good idea. > > Besides, if you are willing to patch the kernel, why not just go with a > pre-2.4? *grin* > > -Nathan (who loves background rebuilds) > > > On Tue, 19 Sep 2000, Tamas TEVESZ wrote: > > > On Tue, 19 Sep 2000, Nathan wrote: > > > > > so go with the regular package for now since it's proven stable. The > > > raidtools2 is there for people like me who can't stand running stock > > > kernels and love to have the latest stuff break our prodution boxes. > > > > actually this is not recommended. what is, getting the raid patches > > from people.redhat.com/~?mingo/raid-patches/raid-2.2.17-A0, patch > > the kernel, recompile the kernel, and use raidtools2. > > > > has some problems around raid1 i think.. use .16-A0 then. > > > > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RAID 5
I am trying to get RAID 5 up and running under potato. I have four 4.5G SCSI drives (sda-sdd) that were originally set up as a RAID device on this same machine under RedHat. Now, I'm very confused as to whether to use raidtools or raidtools2. raidtools2 says I must patch the kernel, but I can find no patches for the 2.2.17 kernel that comes with potato. I actually hoped that the kernel was already patched since it came with the RAID 5 module. I have tried it with raidtools and raidtools5. I have the RAID 5 module installed. I get errors about "read_ahead not defined" in /proc/mdstat, and all four devices are listed but show they are not used. Have tried to make the raid device with raidtools and raidtools2. No luck. Not sure I'm doing the raidtools creation correctly, but have created /etc/raidtab from the samples, modified for my configuration. Any help is appreciated. Rod R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
RAID 5
I am trying to get RAID 5 up and running under potato. I have four 4.5G SCSI drives (sda-sdd) that were originally set up as a RAID device on this same machine under RedHat. Now, I'm very confused as to whether to use raidtools or raidtools2. raidtools2 says I must patch the kernel, but I can find no patches for the 2.2.17 kernel that comes with potato. I actually hoped that the kernel was already patched since it came with the RAID 5 module. I have tried it with raidtools and raidtools5. I have the RAID 5 module installed. I get errors about "read_ahead not defined" in /proc/mdstat, and all four devices are listed but show they are not used. Have tried to make the raid device with raidtools and raidtools2. No luck. Not sure I'm doing the raidtools creation correctly, but have created /etc/raidtab from the samples, modified for my configuration. Any help is appreciated. Rod R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How do I start | stop a daemon under debian
startup daemons are set up as follows: (usually) a script is created in /etc/init.d. As an example, MySQL is controlled by the script /etc/init.d/mysql A soft link is created from the run level directory that you want to start the daemon. These directories are /etc/rc0.d through /etc/rc6.d. There is also rcS.d. By convention, the link is named 'S' or 'K' (depending upon whether you are starting or killing the daemon) followed by a two digit number, followed by the name of the script in /etc/init.d. During the boot up process, these are processed in ASCII sort order, ie all ones beginning with a 'K' are processed first, in order of the two digit numbers after it. For example, you might create links in rc2.d, rc3.d, rc4.d and rc5.d to start MySQL. The following lines would do so: ln -s /etc/init.d/mysql /etc/rc2.d/S20mysql ln -s /etc/init.d/mysql /etc/rc3.d/S20mysql ln -s /etc/init.d/mysql /etc/rc4.d/S20mysql ln -s /etc/init.d/mysql /etc/rc5.d/S20mysql which would start MySQL whenever you entered those run levels. Since you want MySQL to shut down before the computer is shut off, you would add a "Kill" script to the appropriate run levels as follows: ln -s /etc/init.d/mysql /etc/rc0.d/K20mysql ln -s /etc/init.d/mysql /etc/rc1.d/K20mysql ln -s /etc/init.d/mysql /etc/rc6.d/K20mysql for a discussion of run levels, see the man page on init, ie type "man init" at the command line. Anyway, the scripts in init.d accept a parameter whose value tells the script what to do. The minimum should be to accept "start" and "stop" as parameters. Any link starting with a "K" calls the script with "stop", any link starting "S" callsthe script with a "start." That's how it works. To answer your question, simply remove the links from the rc?.d directory. Or, to temporarily disable a script, I will sometimes create a dummy script and save the original one. Such as: mv /etc/init.d/mysql /etc/init.d/mysql.original echo #! /bin/bash > /etc/init.d/mysql chmod 777 /etc/init.d/mysql in effect creating an empty script to be executed. Then, if I want MySQL back, I simply mv /etc/init.d/mysql.original /etc/init.d/mysql and it runs like it originally did. BTW, I'm not 100% on the run levels, but this explaination has worked for me so far. Rod > How do I start | stop a daemon under debian ? I have Debian 2.2 Potato. I > understand that I have to use "ln -s" in order to start a daemon automatic > after reboot. > > Is it the same for stopping forever a daemon that was set up to start after > reboot ? > > Adrian Nims > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
Re: How do I start | stop a daemon under debian
startup daemons are set up as follows: (usually) a script is created in /etc/init.d. As an example, MySQL is controlled by the script /etc/init.d/mysql A soft link is created from the run level directory that you want to start the daemon. These directories are /etc/rc0.d through /etc/rc6.d. There is also rcS.d. By convention, the link is named 'S' or 'K' (depending upon whether you are starting or killing the daemon) followed by a two digit number, followed by the name of the script in /etc/init.d. During the boot up process, these are processed in ASCII sort order, ie all ones beginning with a 'K' are processed first, in order of the two digit numbers after it. For example, you might create links in rc2.d, rc3.d, rc4.d and rc5.d to start MySQL. The following lines would do so: ln -s /etc/init.d/mysql /etc/rc2.d/S20mysql ln -s /etc/init.d/mysql /etc/rc3.d/S20mysql ln -s /etc/init.d/mysql /etc/rc4.d/S20mysql ln -s /etc/init.d/mysql /etc/rc5.d/S20mysql which would start MySQL whenever you entered those run levels. Since you want MySQL to shut down before the computer is shut off, you would add a "Kill" script to the appropriate run levels as follows: ln -s /etc/init.d/mysql /etc/rc0.d/K20mysql ln -s /etc/init.d/mysql /etc/rc1.d/K20mysql ln -s /etc/init.d/mysql /etc/rc6.d/K20mysql for a discussion of run levels, see the man page on init, ie type "man init" at the command line. Anyway, the scripts in init.d accept a parameter whose value tells the script what to do. The minimum should be to accept "start" and "stop" as parameters. Any link starting with a "K" calls the script with "stop", any link starting "S" callsthe script with a "start." That's how it works. To answer your question, simply remove the links from the rc?.d directory. Or, to temporarily disable a script, I will sometimes create a dummy script and save the original one. Such as: mv /etc/init.d/mysql /etc/init.d/mysql.original echo #! /bin/bash > /etc/init.d/mysql chmod 777 /etc/init.d/mysql in effect creating an empty script to be executed. Then, if I want MySQL back, I simply mv /etc/init.d/mysql.original /etc/init.d/mysql and it runs like it originally did. BTW, I'm not 100% on the run levels, but this explaination has worked for me so far. Rod > How do I start | stop a daemon under debian ? I have Debian 2.2 Potato. I > understand that I have to use "ln -s" in order to start a daemon automatic > after reboot. > > Is it the same for stopping forever a daemon that was set up to start after > reboot ? > > Adrian Nims > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: MySQL vs. Postgres
> > > postgres is using record-level locking, what does mysql do, is it > > locking the whole table ? what are rollbacks? what other advantages are > AFAIK mysql locks whole table, > rollback is term used with transaction - thing is, you put some sql > statements inside transaction, and one of them fail, you rollback all your > changes so your database is in consistent state. > This is very important thing especially in networked apps (and that's what > you need sql server for, don't you?). > I'm probably a little bit biassed against mysql, since in their docs they > talk about transactions like their useless and that's why they haven't > implement them ( and not because they don't know how ;). > And according to my knowledge transactions are one of the fundaments > of database programming. > I disagree with Eyck on this. I am a database programmer, have been since dBase II back in the early '80s. It all depends upon the application. Transactions are very, very useful under some circumstances, but if you can do without them, you can speed your database engine up a lot. Same thing with Foreign Keys, which MySQL does not support. If your application is going to be a large database with multiple tables that will need to be updated simultaneously, then Eyck is 100% correct, you need a database that supports transactions. However, most of the web based stuff I write does not require this. I am generally updating only one table at a time. In this case, I go MySQL to decrease my resource requirements. > > > there in using postgres instead of mysql ? > It's only my personal opinion postgres is more secure due to easier > administration and ability to define remote access permissions > easily and precisely. MySQL has a weird way of setting permissions, but once you figure it out your permissions are granular down to the user/table/action, which is what I get out of the "Big O" also. Point is (and I don't want to turn this into a religious argument), choose one. If you choose MySQL and find that it doesn't do what you want, change a few lines in your scripts (or, maybe an access module used by all your scripts) and turn on postgres. If you choose postgres and find it is too slow, and have optimized your queries and tables, do the same thing and go to MySQL. Your scripts should remain essentially the same, especially if you keep all db access scripts in one location. <---snip> Rod
Re: MySQL vs. Postgres
> > > postgres is using record-level locking, what does mysql do, is it > > locking the whole table ? what are rollbacks? what other advantages are > AFAIK mysql locks whole table, > rollback is term used with transaction - thing is, you put some sql > statements inside transaction, and one of them fail, you rollback all your > changes so your database is in consistent state. > This is very important thing especially in networked apps (and that's what > you need sql server for, don't you?). > I'm probably a little bit biassed against mysql, since in their docs they > talk about transactions like their useless and that's why they haven't > implement them ( and not because they don't know how ;). > And according to my knowledge transactions are one of the fundaments > of database programming. > I disagree with Eyck on this. I am a database programmer, have been since dBase II back in the early '80s. It all depends upon the application. Transactions are very, very useful under some circumstances, but if you can do without them, you can speed your database engine up a lot. Same thing with Foreign Keys, which MySQL does not support. If your application is going to be a large database with multiple tables that will need to be updated simultaneously, then Eyck is 100% correct, you need a database that supports transactions. However, most of the web based stuff I write does not require this. I am generally updating only one table at a time. In this case, I go MySQL to decrease my resource requirements. > > > there in using postgres instead of mysql ? > It's only my personal opinion postgres is more secure due to easier > administration and ability to define remote access permissions > easily and precisely. MySQL has a weird way of setting permissions, but once you figure it out your permissions are granular down to the user/table/action, which is what I get out of the "Big O" also. Point is (and I don't want to turn this into a religious argument), choose one. If you choose MySQL and find that it doesn't do what you want, change a few lines in your scripts (or, maybe an access module used by all your scripts) and turn on postgres. If you choose postgres and find it is too slow, and have optimized your queries and tables, do the same thing and go to MySQL. Your scripts should remain essentially the same, especially if you keep all db access scripts in one location. <---snip> Rod -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Hubless network?
Someone may have a better idea, but how about using ipchains to set up forwarding? Seems like you need your router box to forward stuff destined for eth1 from eth2 to eth1, and visa versa. Don't take this as gospel . . . I'm fighting ipchains right now so, "when all you have is a hammer, all problems look like a nail." Rod > I am trying to avoid using a hub (hub goes *poof* neither machine can > talk to the Net) to connect 2 internal machines to the net through a > Linux box configured as a router. The box has three NIC cards as > follows: > > eth0 - 192.168.1.6 connection to my Internet gateway (192.168.1.1) > eth1 - 192.168.2.1 connection to box 1 (192.168.2.2) > eth2 - 192.168.2.4 connection to box 2 (192.168.2.3) > > My route is set up as follows: > > Destination Gateway Genmask Iface > 192.168.2.3 192.168.2.4 255.255.255.255 eth2 > 192.168.2.2 192.168.2.1 255.255.255.255 eth1 > 192.168.1.0 0.0.0.0 255.255.255.0 eth0 > 0.0.0.0 192.168.1.1 0.0.0.0 eth0 > > My problem is the box 1 can't talk to box 2. Either can talk to the > router, to the outside world, to the 192.168.1.1 gateway, etc. They both > can even talk to both eth1 and eth2, just not the other box. What am I > missing? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
Re: Hubless network?
Someone may have a better idea, but how about using ipchains to set up forwarding? Seems like you need your router box to forward stuff destined for eth1 from eth2 to eth1, and visa versa. Don't take this as gospel . . . I'm fighting ipchains right now so, "when all you have is a hammer, all problems look like a nail." Rod > I am trying to avoid using a hub (hub goes *poof* neither machine can > talk to the Net) to connect 2 internal machines to the net through a > Linux box configured as a router. The box has three NIC cards as > follows: > > eth0 - 192.168.1.6 connection to my Internet gateway (192.168.1.1) > eth1 - 192.168.2.1 connection to box 1 (192.168.2.2) > eth2 - 192.168.2.4 connection to box 2 (192.168.2.3) > > My route is set up as follows: > > Destination Gateway Genmask Iface > 192.168.2.3 192.168.2.4 255.255.255.255 eth2 > 192.168.2.2 192.168.2.1 255.255.255.255 eth1 > 192.168.1.0 0.0.0.0 255.255.255.0 eth0 > 0.0.0.0 192.168.1.1 0.0.0.0 eth0 > > My problem is the box 1 can't talk to box 2. Either can talk to the > router, to the outside world, to the 192.168.1.1 gateway, etc. They both > can even talk to both eth1 and eth2, just not the other box. What am I > missing? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: AMD Duron CPU & Debian
Just as an aside, I will use nothing but SMC EtherPower II 10/100 NIC's. More expensive than 3Com's, but they run on anything, they are faster than hell, and the Linux driver (epic 100) has been around for a long time. And, you don't have to worry if 3Com is going to get all sticky about releasing enough info to build a good module in the future. Far as I know, SMC has always published their spec's, or something as I remember using an SMC on an old 486 a few years ago and had the module to install it under Slackware. 3Com hacked me off when the 905 hit the scenes and no on could write a module for it because there was no tech info on it. Rod > On Mon, Aug 21, 2000 at 05:15:36PM -0600, John Gonzalez/netMDC admin wrote: > > > > What kind of problems have you run into with the Adaptec card? I'm using > > that card and software RAID, and i've run into hard lock problems. I > > attributed it to the RAID code, but it could be the card. > > In slink, the installation would hang up after failing to properly > puzzle out which driver to load into the kernel. The workaround was to > grab the boot floppy image that was tailored to it. > > In the first frozen potato I was seeing scads of I/O timeouts on > disk access. Again, though, I haven't tried it since the first frozen > version. It may be okay now, or okay using the 'idepci' images. > > > As for the NIC's that you talk about, we run 3c905's but i'm not sure if > > they are the C version or not, we havent had any problems with them, but > > we havent been pushing much traffic at all. More info on that as well > > would be appreciated. > > The latest 3C905's (3C905C-TXM) don't run under the old common Linux > driver -- but 3Com links to some suitable source code from their site. > I've had no trouble out of them. I've heard from quite a few folks > that the 3C905C is unsupported, but in each case have found that they > were trying to use the common Linux driver, not the one provided by > 3Com. Whether or not potato's '905 driver is the old one or something > newer I don't know. > > -- > Art Sackett > Art Sackett Professional Web Design > 1067 Cleveland Street > Meeker, CO 81641-3217 > USA > +1.970.878.5014 > http://www.artsackett.com > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > > > > > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation
Re: AMD Duron CPU & Debian
Just as an aside, I will use nothing but SMC EtherPower II 10/100 NIC's. More expensive than 3Com's, but they run on anything, they are faster than hell, and the Linux driver (epic 100) has been around for a long time. And, you don't have to worry if 3Com is going to get all sticky about releasing enough info to build a good module in the future. Far as I know, SMC has always published their spec's, or something as I remember using an SMC on an old 486 a few years ago and had the module to install it under Slackware. 3Com hacked me off when the 905 hit the scenes and no on could write a module for it because there was no tech info on it. Rod > On Mon, Aug 21, 2000 at 05:15:36PM -0600, John Gonzalez/netMDC admin wrote: > > > > What kind of problems have you run into with the Adaptec card? I'm using > > that card and software RAID, and i've run into hard lock problems. I > > attributed it to the RAID code, but it could be the card. > > In slink, the installation would hang up after failing to properly > puzzle out which driver to load into the kernel. The workaround was to > grab the boot floppy image that was tailored to it. > > In the first frozen potato I was seeing scads of I/O timeouts on > disk access. Again, though, I haven't tried it since the first frozen > version. It may be okay now, or okay using the 'idepci' images. > > > As for the NIC's that you talk about, we run 3c905's but i'm not sure if > > they are the C version or not, we havent had any problems with them, but > > we havent been pushing much traffic at all. More info on that as well > > would be appreciated. > > The latest 3C905's (3C905C-TXM) don't run under the old common Linux > driver -- but 3Com links to some suitable source code from their site. > I've had no trouble out of them. I've heard from quite a few folks > that the 3C905C is unsupported, but in each case have found that they > were trying to use the common Linux driver, not the one provided by > 3Com. Whether or not potato's '905 driver is the old one or something > newer I don't know. > > -- > Art Sackett > Art Sackett Professional Web Design > 1067 Cleveland Street > Meeker, CO 81641-3217 > USA > +1.970.878.5014 > http://www.artsackett.com > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > > > > > > > R. W. Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 It appears I could be pursuing an untamed ornithoid to no purpose. --Brent Spiner as Data, Star Trek: The Next Generation -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: Re: Virtual Addresses on new server Fixed
For your information if you are using the new kernel and virtual ip's (ip aliasing) Thanks to Brian Moore, I was able to get rid of invalid netmask/broadcast/etc as possible causes. Turns out the new setup for networking, using /etc/network/interfaces, does not add the host to the routing table. Therefor, each interface must have a separate "up" command to do this. The problem is now fixed due to A) correct network and broadcast numbers (thanks again) and B) by adding the line: up /sbin/route add -host 216.62.82.??? eth1:? in the /etc/network/interfaces file. I've attached a copy of mine if anyone is planning to upgrade and uses virtual ip's Rod X-From_: [EMAIL PROTECTED] Wed Feb 21 16:27:53 2001 Resent-Date: Wed, 21 Feb 2001 16:27:52 -0600 X-Envelope-Sender: [EMAIL PROTECTED] Date: Sat, 19 Aug 2000 09:07:18 -0700 From: brian moore <[EMAIL PROTECTED]> To: debian-isp@lists.debian.org Subject: Re: Virtual Addresses on new server Mail-Followup-To: brian moore <[EMAIL PROTECTED]>, debian-isp@lists.debian.org User-Agent: Mutt/1.2.5i X-Uptime: 9:00am up 56 days, 18:55, 1 user, load average: 1.00, 1.00, 1.00 X-Moon: The Moon is Waning Gibbous (81% of Full) X-Fingerprint: 9934 9836 64C9 2B72 C4E7 A1A1 377F CE24 8832 2B51 X-GPG: 1024D/88322B51 at http://www.cmc.net/~bem/bem.asc X-Vile: yes X-11: R6.3 X-10: yes Resent-From: debian-isp@lists.debian.org X-Mailing-List: archive/latest/4221 X-Loop: debian-isp@lists.debian.org Resent-Sender: [EMAIL PROTECTED] On Sat, Aug 19, 2000 at 01:45:35AM -0500, R. W. Rodolico wrote: > I have five IP's with my DSL (very, very small ISP). On my current server, > I have all five working. However, when setting up a new server, two of the > five are not visible. > > My range is 216.62.82.121 - 125, with 126 being the gateway. This is > defined as the last three bits of the range, ie 0111 1xxx. I have set up a > netmask of .248 ( 1000), and a broadcast of various values ranging from > .7 ( 0111), .127 (0111 ), .135 (1000 0111). > > The addresses that work are 121-123 (0111 1001 - 0111 1011), ie I only get > in trouble when the third bit is set (goes to 1). > > Any ideas? Obviously, I do not understand broadcast values as I have been > playing around with them a lot (I also used .255 once). From what I've seen > and read, I really don't think that is the problem, though. > > All these addresses work just fine on the old box ( 2.0.38 kernel ). I am > having problems with potato ( 2.2.17 kernel) I have set ipchains to accept > everything. > > I am attaching /etc/network/interfaces from the new box, and > /etc/init.d/setvirtual from the old one. Note that the latter is something > I kludged together. > > Any help would be appreciated. iface eth1 inet static address 216.62.82.121 netmask 255.255.255.248 network 216.62.82.0 broadcast 216.62.82.127 gateway 216.62.82.126 Your 'network' is wrong. It should be 216.62.82.120. Now, the way these numbers work: IP number:216. 62. 82.121 Netmask: 255.255.255.248(binary 'and') -- Network: 216. 62. 82.120 That means that only the 'leftmost' bits are considered. Draw it out in binary (at least the last octet) and you'll see the magic. The broadcast (at least on modern systems -- there was a period of confusion in the olden days where broadcast was sometimes the "all 0's" host instead of the "all 1's") is the network with the "host" portion of the address set to 1's. To see the broadcast, invert the netmask to: 0.0.0.7 in this case (ie, the 0's become 1's) and do a binary 'or' with either the network (computed above) or a the host... ie, set the proper number of 'low' bits to 1. Yes, thinking in binary helps. :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] interfaces Description: Binary data R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Fwd: Re: Virtual Addresses on new server Fixed
For your information if you are using the new kernel and virtual ip's (ip aliasing) Thanks to Brian Moore, I was able to get rid of invalid netmask/broadcast/etc as possible causes. Turns out the new setup for networking, using /etc/network/interfaces, does not add the host to the routing table. Therefor, each interface must have a separate "up" command to do this. The problem is now fixed due to A) correct network and broadcast numbers (thanks again) and B) by adding the line: up /sbin/route add -host 216.62.82.??? eth1:? in the /etc/network/interfaces file. I've attached a copy of mine if anyone is planning to upgrade and uses virtual ip's Rod >X-From_: [EMAIL PROTECTED] Wed >Feb 21 16:27:53 2001 >Resent-Date: Wed, 21 Feb 2001 16:27:52 -0600 >X-Envelope-Sender: [EMAIL PROTECTED] >Date: Sat, 19 Aug 2000 09:07:18 -0700 >From: brian moore <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Virtual Addresses on new server >Mail-Followup-To: brian moore <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >User-Agent: Mutt/1.2.5i >X-Uptime: 9:00am up 56 days, 18:55, 1 user, load average: 1.00, 1.00, 1.00 >X-Moon: The Moon is Waning Gibbous (81% of Full) >X-Fingerprint: 9934 9836 64C9 2B72 C4E7 A1A1 377F CE24 8832 2B51 >X-GPG: 1024D/88322B51 at http://www.cmc.net/~bem/bem.asc >X-Vile: yes >X-11: R6.3 >X-10: yes >Resent-From: [EMAIL PROTECTED] >X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/4221 >X-Loop: [EMAIL PROTECTED] >Resent-Sender: [EMAIL PROTECTED] > >On Sat, Aug 19, 2000 at 01:45:35AM -0500, R. W. Rodolico wrote: > > I have five IP's with my DSL (very, very small ISP). On my current server, > > I have all five working. However, when setting up a new server, two of the > > five are not visible. > > > > My range is 216.62.82.121 - 125, with 126 being the gateway. This is > > defined as the last three bits of the range, ie 0111 1xxx. I have set up a > > netmask of .248 ( 1000), and a broadcast of various values ranging > from > > .7 ( 0111), .127 (0111 ), .135 (1000 0111). > > > > The addresses that work are 121-123 (0111 1001 - 0111 1011), ie I only get > > in trouble when the third bit is set (goes to 1). > > > > Any ideas? Obviously, I do not understand broadcast values as I have been > > playing around with them a lot (I also used .255 once). From what I've > seen > > and read, I really don't think that is the problem, though. > > > > All these addresses work just fine on the old box ( 2.0.38 kernel ). I am > > having problems with potato ( 2.2.17 kernel) I have set ipchains to accept > > everything. > > > > I am attaching /etc/network/interfaces from the new box, and > > /etc/init.d/setvirtual from the old one. Note that the latter is something > > I kludged together. > > > > Any help would be appreciated. > >iface eth1 inet static > address 216.62.82.121 > netmask 255.255.255.248 > network 216.62.82.0 > broadcast 216.62.82.127 > gateway 216.62.82.126 > >Your 'network' is wrong. It should be 216.62.82.120. > >Now, the way these numbers work: > > IP number:216. 62. 82.121 > Netmask: 255.255.255.248(binary 'and') > -- > Network: 216. 62. 82.120 > >That means that only the 'leftmost' bits are considered. Draw it out in >binary (at least the last octet) and you'll see the magic. > >The broadcast (at least on modern systems -- there was a period of >confusion in the olden days where broadcast was sometimes the "all 0's" >host instead of the "all 1's") is the network with the "host" portion of >the address set to 1's. > >To see the broadcast, invert the netmask to: 0.0.0.7 in this case (ie, >the 0's become 1's) and do a binary 'or' with either the network >(computed above) or a the host... ie, set the proper number of 'low' >bits to 1. > >Yes, thinking in binary helps. :) > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] interfaces R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Virtual Addresses on new server
I have five IP's with my DSL (very, very small ISP). On my current server, I have all five working. However, when setting up a new server, two of the five are not visible. My range is 216.62.82.121 - 125, with 126 being the gateway. This is defined as the last three bits of the range, ie 0111 1xxx. I have set up a netmask of .248 ( 1000), and a broadcast of various values ranging from .7 ( 0111), .127 (0111 ), .135 (1000 0111). The addresses that work are 121-123 (0111 1001 - 0111 1011), ie I only get in trouble when the third bit is set (goes to 1). Any ideas? Obviously, I do not understand broadcast values as I have been playing around with them a lot (I also used .255 once). From what I've seen and read, I really don't think that is the problem, though. All these addresses work just fine on the old box ( 2.0.38 kernel ). I am having problems with potato ( 2.2.17 kernel) I have set ipchains to accept everything. I am attaching /etc/network/interfaces from the new box, and /etc/init.d/setvirtual from the old one. Note that the latter is something I kludged together. Any help would be appreciated. Rod setvirtual Description: Binary data interfaces Description: Binary data R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Virtual Addresses on new server
I have five IP's with my DSL (very, very small ISP). On my current server, I have all five working. However, when setting up a new server, two of the five are not visible. My range is 216.62.82.121 - 125, with 126 being the gateway. This is defined as the last three bits of the range, ie 0111 1xxx. I have set up a netmask of .248 ( 1000), and a broadcast of various values ranging from .7 ( 0111), .127 (0111 ), .135 (1000 0111). The addresses that work are 121-123 (0111 1001 - 0111 1011), ie I only get in trouble when the third bit is set (goes to 1). Any ideas? Obviously, I do not understand broadcast values as I have been playing around with them a lot (I also used .255 once). From what I've seen and read, I really don't think that is the problem, though. All these addresses work just fine on the old box ( 2.0.38 kernel ). I am having problems with potato ( 2.2.17 kernel) I have set ipchains to accept everything. I am attaching /etc/network/interfaces from the new box, and /etc/init.d/setvirtual from the old one. Note that the latter is something I kludged together. Any help would be appreciated. Rod setvirtual interfaces R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Re: IDE RAID
The software RAID that comes with the 2.2 kernel does IDE and SCSI. Works pretty seamlessly. Only problem is, you must make sure the partitions are set correctly as it must load the drivers before it can use the RAID device. I usually put /home on a RAID and move my web sites, database, etc... over to /home. Rod At 12:30 AM 8/7/2000 +0200, you wrote: Hi, have any of you ever heard of or used a RAID controller that is capable of "RAIDing" with IDE disks? Is there suuport for a card like this in Linux? Attila -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Re: IDE RAID
The software RAID that comes with the 2.2 kernel does IDE and SCSI. Works pretty seamlessly. Only problem is, you must make sure the partitions are set correctly as it must load the drivers before it can use the RAID device. I usually put /home on a RAID and move my web sites, database, etc... over to /home. Rod At 12:30 AM 8/7/2000 +0200, you wrote: >Hi, > >have any of you ever heard of or used a RAID controller >that is capable of "RAIDing" with IDE disks? Is there >suuport for a card like this in Linux? > >Attila > > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: transfer control
Look for a program named iptraf. It allows you to break down everything in real time. Rod Is there a way to control, how is amount of bits a computer in your net is transmiting (Tx and Rx)? Router / \ /\ computer1 computer2 How do I know how much of ban widht computer2 is using? thanx in advance. R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Fwd: transfer control
Look for a program named iptraf. It allows you to break down everything in real time. Rod >Is there a way to control, how is amount of bits a computer in your net is >transmiting (Tx and Rx)? > > > Router > / \ > /\ > computer1 computer2 > >How do I know how much of ban widht computer2 is using? > > >thanx in advance. > > R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: Re: PROFTPD root login
Just agreeing that this is a big Romper Room No No. It is as bad as allowing telnet access by root. As an aside, CuteFTP is one of the programs I read about that sends tracking information back to its advertisers telling them where you went and what you did. Unless they have changed that, be aware that your actions are being recorded and sent to third parties without your permission. Rod On Wed, Jul 12, 2000 at 09:33:31PM +0200, ?ts Attila wrote: > I've installed PROFTPD with factory settings. > Connecting with CuteFTP I cannot logon as root. > What is the reason and the solution? Reason, it's insanely insecure. Solution, read the FAQ on http://www.proftpd.net/docs/ and particualarly the "AllowRootLogin" directive. -- The Flying Hamster <[EMAIL PROTECTED]> Well not so much flying as sitting on the tube... All computers are evil, just remember that. -- Me. R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Fwd: only POP3
I give individual accounts e-mail only access by giving them a standard e-mail account but setting their home directory and their login shell to /dev/null or /dev/false. So, an entry in the passwd file looks like this: user1:x:101:103::/dev/null:/dev/null Which gives them and e-mail account, but no other access. Rod Hi there! I have a short question: What's the way, if I would like to provide only e-mail service to the users? No telnet, ftp account, only POP3. It works with giving a fake shell in the passwd file, but how would you do it? Should I create definitely a shell account? thanx: aboy R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam
Fwd: Re: PROFTPD root login
Just agreeing that this is a big Romper Room No No. It is as bad as allowing telnet access by root. As an aside, CuteFTP is one of the programs I read about that sends tracking information back to its advertisers telling them where you went and what you did. Unless they have changed that, be aware that your actions are being recorded and sent to third parties without your permission. Rod >On Wed, Jul 12, 2000 at 09:33:31PM +0200, ?ts Attila wrote: > > I've installed PROFTPD with factory settings. > > Connecting with CuteFTP I cannot logon as root. > > What is the reason and the solution? > >Reason, it's insanely insecure. > >Solution, read the FAQ on http://www.proftpd.net/docs/ and >particualarly the "AllowRootLogin" directive. > >-- >The Flying Hamster <[EMAIL PROTECTED]> >Well not so much flying as sitting on the tube... > >All computers are evil, just remember that. -- Me. > R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fwd: only POP3
I give individual accounts e-mail only access by giving them a standard e-mail account but setting their home directory and their login shell to /dev/null or /dev/false. So, an entry in the passwd file looks like this: user1:x:101:103::/dev/null:/dev/null Which gives them and e-mail account, but no other access. Rod >Hi there! > >I have a short question: >What's the way, if I would like to provide only e-mail service to the >users? No telnet, ftp account, only POP3. >It works with giving a fake shell in the passwd file, but how would you do >it? Should I create definitely a shell account? > >thanx: aboy > R. W. "Rod" Rodolico Daily Data, Inc. POB 140465 - Dallas TX 75214-0465 214.827.2170 -- 214.821.5051 (fax) [EMAIL PROTECTED] http://www.dailydatainc.com Entia non sunt multiplicanda, praeter necessitatem William of Occam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]