Linux-Misc Digest #887, Volume #26               Mon, 22 Jan 01 07:13:03 EST

Contents:
  Re: TCP SYN cookies (David)
  Re: Kernel panic: Attempted to kill the idle task! ("Peter T. Breuer")
  Re: Mounting MS-DOS File System Problems, e2fsck & Miscellaneous Questions 
(%20@%20.com)
  Re: What - no WYSIWYG HTML editors?? (Michael Heiming)
  Can filesystems be made crash proof? (%20@%20.com)
  Re: Mounting MS-DOS File System Problems, e2fsck & Miscellaneous  (David)
  Need help with user groups (permissions,owners of files, etc.) (%20@%20.com)
  Need help with device names (%20@%20.com)
  Re: Need help with user groups (permissions,owners of files, etc.) (David)
  Re: HELP!!Only the L appears in LILO (Eric)
  kernel error : grow_inodes inodes max limit reached (Christian Stange)
  Re: Help setting clock to bios time (Ekkard Gerlach)
  dd seek returns permision denied ([EMAIL PROTECTED])
  Re: dd seek returns permision denied (Eric)
  Re: Best way to replicate Linux partition? (Eric)
  Re: Ethernet Help! ("Simon P")
  Re: Can filesystems be made crash proof? (Stanislaw Flatto)
  Re: Understanding how Linux works (Stanislaw Flatto)
  Re: Unpacking ISO-images without a CD burner (Steve Martin)
  Re: bad printing quality ([EMAIL PROTECTED])

----------------------------------------------------------------------------

From: David <[EMAIL PROTECTED]>
Subject: Re: TCP SYN cookies
Date: Mon, 22 Jan 2001 08:13:18 GMT

Tom Edelbrok wrote:
> 
> When setting up an ipchains firewall in Linux what is meant by "TCP SYN
> cookies protection"? EG: where you do this in the firewall script:
> 
> for f in /proc/sys/net/ipv4/conf/*/rp_filter; do
>   echo 1 > $f
> done

What you have above is for spoof protection.
For syncookies rpotection you need this.


# Enable TCP SYN Cookie Protection
echo 1 > /proc/sys/net/ipv4/tcp_syncookies

I place both of these (spoof & syncookies) just before the flush rules.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.015% of seti users. +/- 0.01%

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Kernel panic: Attempted to kill the idle task!
Date: Mon, 22 Jan 2001 08:35:32 GMT

Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> It really depends on what is wrong with the memory. If it is
> sufficiently pattern-sensitive, it might appear to be very specific
> (misleadingly so). What if the bad memory were right where the modem
> driver code is. And that may be a module and work just fine when loaded
> any other place in real address space? (In this case, it does not look
> that way: the modem is not in /etc/conf.modules).

>> > If you're crashing the same
>> > place, that's a pretty good hint that memory isn't at fault.

Indeed, it's a cert. It's sounds more like a hardware problem with an
IRQ conflict (internal modem? Ethernet card?). Or it could be a bad ISA
bus (modem or nic on ISA?).

See if the error can be triggered by loading particular device drivers
and executing them.

Peter

------------------------------

From: %20@%20.com
Subject: Re: Mounting MS-DOS File System Problems, e2fsck & Miscellaneous Questions
Date: Mon, 22 Jan 2001 03:52:24 -0800

Robert Heller wrote:
> 
>   [EMAIL PROTECTED],
>   In a message on Fri, 19 Jan 2001 03:40:06 -0800, wrote :
> 
> %> Hoy!
> %>
> %> I am having trouble mounting volumes containing MS-DOS filesystems. I am using
> %> Debian/GNU 2.2 and logged in as root. I can mount a 1.44MB diskette with msdos
> %> but not a 720KB diskette - why?
> %>
> %> command:  mount -t msdos /dev/fd0 /floppy
> %> response: [MS-DOS FS Rel. 12,FAT 16,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
> %>           Transaction block size=512
> %>           VFS: Can't find a valid MSDOS filesystem on dev 02:00
> %>           mount: wrong fs type, bad option, bad superblock on dev/fd0,
> %>                  or too many mounted filesystems
> %>
> %> Do some msdos filesystems use FAT12?
> %>
> %> The 720KB diskette has been verified to be readable with MS-DOS.
> 
> Try:
> 
> mount -t msdos /dev/fd0D720 /floppy
> (or
> mount -t msdos /dev/fd0h720 /floppy )

I tried both commands + "mount -t msdos /dev/fd0u720 /floppy" (from the mtools
info pages) and every command failed with the same error message as before. But
it seems to be an odd disk. I boot to MS-DOS kernel only with command prompt,
no drivers of any kind and it wiil read the disk fine. I put it in a MS Windows
98 machine, and it gives filenames like ���䄛ȅ�DŽ-�ԏ����� and file lengths
like 3,452,455,125 bytes. I even ran MS-DOS scandisk and it found no errors on
the disk.
 
> %>
> %> I have a HDD containing Linux ext2 partitions connected to the primary IDE
> %> channel (hda), and a HDD containing an MS-DOS partition to the secondary
> %> IDE channel (hdc). The MS-DOS version is 6.21. I created a symbolic link
> %> to /dev/hdc called Winchester.
> %> Why cannot I mount hdc?
> %>
> %> command:  mount -r -t msdos /dev/hdc /Winchester
> %> response: [MS-DOS FS Rel. 12,FAT 16,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
> %>           Transaction block size=512
> %>           VFS: Can't find a valid MSDOS filesystem on dev 16:00
> %>           mount: wrong fs type, bad option, bad superblock on dev/hdc,
> %>                  or too many mounted filesystems
> %>
> 
> Try:
> 
> mount -r -t msdos /dev/hdc1 /Winchester
> (Hard disks have partition tables!)
 
Yes, I know they do. It was just a silly simple mistake on my part. I guess I
was thinking that since the drive had only one partition which occupies the
entire disk that I could just refer to it as hdc and it would be the same as
hdc1.

Thank you for your help.

------------------------------

From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: What - no WYSIWYG HTML editors??
Date: Mon, 22 Jan 2001 11:13:35 +0100

Andrew Purugganan wrote:

> Doug O'Leary ([EMAIL PROTECTED]) wrote:
> [ In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> [ > I don't want to offend you, but why not use something nice with all those
> [ > coloured <TAG> like webmaker, or do it like a
> [ > "real man" and create your HTML with vi, this way your HTML gets much more
> [ > clean and you learn about HTML.
>
> [ Damn; and here I thought I was the only one creating/editing my pages
> [ with vi (and/or perl)!
>
> I've been to several websites that have this little gif (or whatever
> logo) that says "Powered by VI". You should get one, then :-)
> --
> jazz
> Registered linux user no. 164098  +--+--+--+ Litestep user no. 386
> Doesn't it bother you, that we have to search for intelligent life
> --- OUT THERE??

Thx...

I looked it up, you can get this icon:

http://www.darryl.com/vi.shtml

Michael Heiming
Sysadmin

--
       __   __   __     Virtueller Bau-Markt AG
 \  / [__) [__] [ __    Meerbuscher Strasse 64
  \/  [__) |  | [_./    40670 Meerbusch
     www.vbag.de        Michael Heiming ([EMAIL PROTECTED])
Confucius say: He who play in root, eventually kill tree.




------------------------------

From: %20@%20.com
Subject: Can filesystems be made crash proof?
Date: Mon, 22 Jan 2001 04:06:00 -0800

I need to test some potentially hazardous configurations for the X Window System.
The test configurations will almost certainly clobber the system so thoroughly
that it will have to be hard reset with no way of shutting down. The testing
has to do with finding the linear address of the framebuffer used by my video
adaptor (I cannot make do with only 256 colors!).

Is there a way to protect the root filesystem and other filesystems on the HDD
from being damaged when they are not cleanly unmounted? Maybe like mounting
everything read only? Is it possible to disable write caching to the HDD?

I'm using Debian 2.2 (Potato).

------------------------------

From: David <[EMAIL PROTECTED]>
Subject: Re: Mounting MS-DOS File System Problems, e2fsck & Miscellaneous 
Date: Mon, 22 Jan 2001 09:11:14 GMT

%20@%20.com wrote:
> 
> Robert Heller wrote:
> >
> >   [EMAIL PROTECTED],
> >   In a message on Fri, 19 Jan 2001 03:40:06 -0800, wrote :
> >
> > %> Hoy!
> > %>
> > %> I am having trouble mounting volumes containing MS-DOS filesystems. I am using
> > %> Debian/GNU 2.2 and logged in as root. I can mount a 1.44MB diskette with msdos
> > %> but not a 720KB diskette - why?
> > %>
> > %> command:  mount -t msdos /dev/fd0 /floppy
> > %> response: [MS-DOS FS Rel. 12,FAT 16,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
> > %>           Transaction block size=512
> > %>           VFS: Can't find a valid MSDOS filesystem on dev 02:00
> > %>           mount: wrong fs type, bad option, bad superblock on dev/fd0,
> > %>                  or too many mounted filesystems
> > %>
> > %> Do some msdos filesystems use FAT12?
> > %>
> > %> The 720KB diskette has been verified to be readable with MS-DOS.
> >
> > Try:
> >
> > mount -t msdos /dev/fd0D720 /floppy
> > (or
> > mount -t msdos /dev/fd0h720 /floppy )
> 
> I tried both commands + "mount -t msdos /dev/fd0u720 /floppy" (from the mtools
> info pages) and every command failed with the same error message as before. But
> it seems to be an odd disk. I boot to MS-DOS kernel only with command prompt,
> no drivers of any kind and it wiil read the disk fine. I put it in a MS Windows
> 98 machine, and it gives filenames like ����?>�?��?-��?��?�� and file lengths
> like 3,452,455,125 bytes. I even ran MS-DOS scandisk and it found no errors on
> the disk.
> 
> > %>
> > %> I have a HDD containing Linux ext2 partitions connected to the primary IDE
> > %> channel (hda), and a HDD containing an MS-DOS partition to the secondary
> > %> IDE channel (hdc). The MS-DOS version is 6.21. I created a symbolic link
> > %> to /dev/hdc called Winchester.
> > %> Why cannot I mount hdc?
> > %>
> > %> command:  mount -r -t msdos /dev/hdc /Winchester
> > %> response: [MS-DOS FS Rel. 12,FAT 16,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
> > %>           Transaction block size=512
> > %>           VFS: Can't find a valid MSDOS filesystem on dev 16:00
> > %>           mount: wrong fs type, bad option, bad superblock on dev/hdc,
> > %>                  or too many mounted filesystems
> > %>
> >
> > Try:
> >
> > mount -r -t msdos /dev/hdc1 /Winchester
> > (Hard disks have partition tables!)
> 
> Yes, I know they do. It was just a silly simple mistake on my part. I guess I
> was thinking that since the drive had only one partition which occupies the
> entire disk that I could just refer to it as hdc and it would be the same as
> hdc1.
> 
> Thank you for your help.


Have you tried to mount it with something like this?

        mount -t fat /dev/fd0 /floppy

Or      mount -t fat /dev/fd0h720 /floppy

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.015% of seti users. +/- 0.01%

------------------------------

From: %20@%20.com
Subject: Need help with user groups (permissions,owners of files, etc.)
Date: Mon, 22 Jan 2001 04:20:20 -0800

Sorry if the title was unclear or misleading.

I have read info pages and man pages and I cannot find the answer.

I also looked at User-Group-HOWTO at linuxdoc.org,  but it's about groups
of people that use Linux. I'm talking about user groups in the OS that
pertain to file permissions and such.

How can I create and remove user groups?
How can I add users to groups and remove users from groups?
How can I list existing groups on the system?

------------------------------

From: %20@%20.com
Subject: Need help with device names
Date: Mon, 22 Jan 2001 04:28:35 -0800

Is there a way to list the hardware on my system and the corresponding
device names?

I look in /dev/ and find something like 200 device names but how can I
determine which ones are associated with a physical device in my system?

------------------------------

From: David <[EMAIL PROTECTED]>
Subject: Re: Need help with user groups (permissions,owners of files, etc.)
Date: Mon, 22 Jan 2001 10:07:40 GMT

%20@%20.com wrote:
> 
> Sorry if the title was unclear or misleading.
> 
> I have read info pages and man pages and I cannot find the answer.
> 
> I also looked at User-Group-HOWTO at linuxdoc.org,  but it's about groups
> of people that use Linux. I'm talking about user groups in the OS that
> pertain to file permissions and such.
> 
> How can I create and remove user groups?

To create a group:    groupadd groupname
To delete a group:    groupdel groupname

> How can I add users to groups and remove users from groups?

To add a user:    useradd username
To delete a user: userdel username

> How can I list existing groups on the system?

cat /etc/group

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.015% of seti users. +/- 0.01%

------------------------------

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: HELP!!Only the L appears in LILO
Date: Mon, 22 Jan 2001 11:19:21 +0100
Reply-To: [EMAIL PROTECTED]

<Stripped some irrelevant/non-existing NG's>
Don't crosspost to so many groups!

> I have installed linux redhat 7.0 on a computer running windows me an i get
> the following problem when i restart the computer:
> only L appears when booting and the screen freeze.
> i have installed it on a primary slave disk.

Why?

> Note that the computer does not have a primary master disk

Why not?

> Also i have tried to modify the lilo.conf found in by removing linear and
> putting lba32,

Didn't change much, heh.

> but when i type lilo it gives the following warning:
> /dev/hdb is not the first disk.

try `lilo -v`
If it doesn't mention that the MBR is written, it hasn't changed.

> I have also tried to copy the boot.b and map file from the linux boot floppy
> but without results.
> 

easiest: connect hdb as hda
otherwise add to lilo.conf:

disk=/dev/hdb
bios=0x80


Eric

------------------------------

From: Christian Stange <[EMAIL PROTECTED]>
Subject: kernel error : grow_inodes inodes max limit reached
Date: Mon, 22 Jan 2001 10:08:52 GMT

Hi,

I'm running SuSe Linux 2.2.13 as a proxy and it is running well for
months now. Today I received the message mentioned in the subject.

df -i tells me : Inodes 1808128 IUsed 141664 IFree 1666464 IUse 8%

Does anyone have an idea what's the problem?

Kind Regards
Christian


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Ekkard Gerlach <[EMAIL PROTECTED]>
Subject: Re: Help setting clock to bios time
Date: Mon, 22 Jan 2001 01:37:04 +0000
Reply-To: [EMAIL PROTECTED]

Warren Bell wrote:

> > Where can I make a change that will keep the system time even if I
> > reboot?

e.g.   hwclock --set --date="12/22/99 10:24:00"
   or in BIOS directly 

> 
> I just noticed that when it boots up it's starting with the right time
> but it changes to somthing else right after it checks the filesystem.
> It jumps from 08:17 to 00:17.  Here's a section of the logs:
> 

check timezone, check base time (GMT, UTC, .. ?)

Ekkard



------------------------------

From: [EMAIL PROTECTED]
Subject: dd seek returns permision denied
Date: Mon, 22 Jan 2001 10:47:26 GMT

Hi. I'm trying to build a boot disk, but I can't do:

dd if=file of=/dev/fd0 seek=number

it returns  Permission denied
What can I do?

I've searched dejanews and other net resources
unsuccessfully.

Thank you for your time.


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Eric <[EMAIL PROTECTED]>
Subject: Re: dd seek returns permision denied
Date: Mon, 22 Jan 2001 12:15:25 +0100
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:
> 
> Hi. I'm trying to build a boot disk, but I can't do:
> 
> dd if=file of=/dev/fd0 seek=number
> 
> it returns  Permission denied
> What can I do?
> 

What do you think about setting the permissions right?

`ls -l file /dev/fd0`

Eric

------------------------------

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Best way to replicate Linux partition?
Date: Mon, 22 Jan 2001 12:16:57 +0100
Reply-To: [EMAIL PROTECTED]

MH wrote:
> 
> [EMAIL PROTECTED] wrote:
> 
> > I want to migrate to a new hard drive that I have bought but do not want
> > to lose any of the additions/customizations I have in my current
> > installation.  What is the best way to do this.  I currently am running
> > Red Hat 6.2.  Would dd or cpio be the best way?
> >
> 
> Assuming your new HDD is as large or larger than your existing HDD:
> 
> 1) Install new HDD
> 2) cp /dev/hda /dev/hdb (assuming hda is current HDD and hdb is new HDD)

use `cp -a` instead

Eric

------------------------------

From: "Simon P" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.networking
Subject: Re: Ethernet Help!
Date: Mon, 22 Jan 2001 11:19:22 -0000

A common problem with these is the NIC's rom settings, you'll need the DOS
program "3c5x9cfg.exe", as default they are set to autodetect everything and
Plug n Pray. Change it so everything is defined, and it should be ok...
Also as in the previous post, use the 3c59x driver..

Simon

<[EMAIL PROTECTED]> wrote in message news:94ftjm$b6p$[EMAIL PROTECTED]...
> I'm new to linux, and just installed Redhat 7.0.  I'm using a 3COM
> 3C905B ethernet card.  It knows the card is there, and I got the 3C90x
> module installed.  I can ping myself but no other machine.  I'm on a
> university network behind a firewall the uses a proxy server.  I'd
> really appreciate any help.  Thanks,
>
> adam.
>
>
> Sent via Deja.com
> http://www.deja.com/



------------------------------

From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: Can filesystems be made crash proof?
Date: Mon, 22 Jan 2001 22:31:41 +1100

Just tell lilo "vga=kkk" and you can have anything from 256 to 16M colors.
the numbers are listed in lilo.conf, at least in mine difficult distro.

Stanislaw
Slack user from Ulladulla.

%20@%20.com wrote:

> I need to test some potentially hazardous configurations for the X Window System.
> The test configurations will almost certainly clobber the system so thoroughly
> that it will have to be hard reset with no way of shutting down. The testing
> has to do with finding the linear address of the framebuffer used by my video
> adaptor (I cannot make do with only 256 colors!).
>
> Is there a way to protect the root filesystem and other filesystems on the HDD
> from being damaged when they are not cleanly unmounted? Maybe like mounting
> everything read only? Is it possible to disable write caching to the HDD?
>
> I'm using Debian 2.2 (Potato).


------------------------------

From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: Understanding how Linux works
Date: Mon, 22 Jan 2001 22:45:51 +1100



Federico Bravo wrote:

> Hi everybody. I'd like to know something of how Linux works, starting
> from the surface till its internal components. Can anyone suggest
> pubblications, either printed or online.
> Thanks, Federico.

Hi Federico!
Your distro includes source code for kernel, it is in C and makes a very
interesting reading. Thats the only part that makes Linux work, the rest
is cosmetics.

Have fun.
Stanislaw
Slack user from Ulladulla.


------------------------------

From: Steve Martin <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.admin,comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Unpacking ISO-images without a CD burner
Date: Mon, 22 Jan 2001 11:46:43 GMT

"H.Bruijn" wrote:

> Otherwise go to cheapbytes.com (or others) and order a cd. That should
> cost not too much, and will allow you to get a cd and save yourself the
> agony of downloading 500 MB just to mess things up and having to get it
> again.

The best bet by far. Cheapbytes has a three-CD set (install, source, and
documentation) for Red Hat 6.2 for $5. (Stay away from Red Hat 7.0.)

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: bad printing quality
Date: Mon, 22 Jan 2001 11:41:27 GMT

In article <yGia6.251469$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> [Posted and mailed]
>  > where can I change the
> > quality of the generated postscript file?
>
> This is handled by the application doing the printing.

so there is no possibility to change that.



> As to your specific issue, it's hard to say whether the problem lies > in
> the application that's generating the PostScript or in the >Ghostscript
> configuration; it could be either. Try changing to another graphics
> program. If you get better results from it, then the problem's in the
> program; if not, chances are it's in the Ghostscript configuration
> (which is part of whatever smart filter package your distribution uses).

When I print into a file with netscape or gimp (using postscript 2.0) and
then check the file, it is as ugly as on the printer, so there problem might
be the conversion from the picture to a postscriptfile, isn't it?

-j


Sent via Deja.com
http://www.deja.com/

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to