Linux-Setup Digest #607, Volume #20              Sun, 11 Feb 01 11:13:07 EST

Contents:
  Re: kernel compile probs. (Cherukan)
  Re: help with configuring ssh server to support both ssh1 and ssh2 (Michael Heiming)
  Re: IP masquerade ("The Spook")
  Re: Easy Firewall Questions (John Beardmore)
  Re: newbie question: configuring keyboard ("Duane Healing")
  Re: Xclock with NO title ("Duane Healing")
  How can I change the screen saver for X-Server ("zerg")
  Re: Turning off dialtone check (How?) (Stanislaw Flatto)
  Asus A7V + Promise ATA100 + RH7 ("Jan Kov��")
  Re: Turbolinux graphical login kills my keyboard (linux newbie) (Harold Stevens ** 
PLEASE SEE SIG **)
  Re: Change boot ext2 block size ("Adam Warner")
  Re: moving partitions (again!) ([EMAIL PROTECTED])
  Re: LILO / Windows 2000 - Help (Chiefy)
  Re: Easy Firewall Questions ("Peter T. Breuer")
  Re: hostname (Chiefy)
  Re: moving partitions (again!) ("Peter T. Breuer")
  Re: Xwindows use with remote clients (James Knott)

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

From: Cherukan <[EMAIL PROTECTED]>
Subject: Re: kernel compile probs.
Date: Sun, 11 Feb 2001 09:57:10 GMT

Do a  'make mrproper'
then
make config
make dep
make zImage

Oh yes, and put the Makefile workaround to use the kgcc compiler instead
of 'gcc' , mentioned in some other post here.


Cheers!
Cherukan

In article <[EMAIL PROTECTED]>,
  brien <[EMAIL PROTECTED]> wrote:
> Werner Fangmeier wrote:
> >
> > Are there no more messages before "make[2]: *** [ksyms.o] Error 1"?
> > Any hints, why ksyms.c failed to compile?
> >
> > "reebosak" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > news:[EMAIL PROTECTED]...
> > > make[2]: *** [ksyms.o] Error 1
> > > make[2]: Leaving directory '/usr/src/linux/kernel'
>
> ok, this is where the errors start happening... then it craps out at
the
> end.
> -brien.
>
> make -C  kernel
> make[1]: Entering directory `/usr/src/linux-2.2.16/kernel'
> make all_targets
> make[2]: Entering directory `/usr/src/linux-2.2.16/kernel'
> kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
> -m486
> -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
> -DEXPORT_SYMTAB -c ksyms.c
> In file included from /usr/src/linux/include/linux/modversions.h:50,
>                  from /usr/src/linux/include/linux/module.h:19,
>                  from ksyms.c:14:
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:6: warning:
> `cpu_data'
> redefined
> /usr/src/linux/include/asm/processor.h:96: warning: this is the
location
> of the
> previous definition
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning:
> `smp_num_cpus'
> redefined
> /usr/src/linux/include/linux/smp.h:77: warning: this is the location
of
> the previous definition
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:118: warning:
> `smp_call_function' redefined
> /usr/src/linux/include/linux/smp.h:83: warning: this is the location
of
> the previous definition
> In file included from /usr/src/linux/include/linux/interrupt.h:51,
>                  from ksyms.c:21:
> /usr/src/linux/include/asm/hardirq.h:23: warning: `synchronize_irq'
> redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:138: warning: this
> is
> the location of the previous definition
> In file included from /usr/src/linux/include/linux/interrupt.h:52,
>                  from ksyms.c:21:
> /usr/src/linux/include/asm/softirq.h:75: warning: `synchronize_bh'
> redefined
> /usr/src/linux/include/linux/modules/i386_ksyms.ver:142: warning: this
> is
> the location of the previous definition
> /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
> In file included from ksyms.c:17:
> /usr/src/linux/include/linux/kernel_stat.h:47: `smp_num_cpus'
undeclared
> (first
> use in this function)
> /usr/src/linux/include/linux/kernel_stat.h:47: (Each undeclared
> identifier
> is reported only once
> /usr/src/linux/include/linux/kernel_stat.h:47: for each function it
> appears in.)make[2]: *** [ksyms.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.2.16/kernel'
> make: *** [_dir_kernel] Error 2
>
> --
>
> [EMAIL PROTECTED]
> - eschew obfuscation -
>


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

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

Date: Sun, 11 Feb 2001 11:12:42 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: help with configuring ssh server to support both ssh1 and ssh2

Hung Ngoc Lai wrote:

> Hi everyone,
>
> I am currently running Secure Shell (SSH) version 2.0.13 server
> on RedHat Linux version 6.1 with kernel 2.2.18.  At the moment,
> I have to support ssh clients running on Microsoft Windows using
> SecureCRT 3.2 and F-Secure SSH version 1.0.  SecureCRT 3.12
> supports ssh version 2.0.13 so I am OK there.  However,
> F-secure SSH for windows only supports SSH version 1.  I've
> configured the SSH server on the linux box to support both
> version 1 and 2 of ssh (ie. by modifying the configuration file
> sshd2_config to support Ssh1Compatibility);

You should have an entry in your sshd_config like this:

Protocol 2,1

try connecting like this:

ssh -v -v user@hostname

To see what is really happening, post the output and your sshd_config in

order to make it possible for others to help you.

There is a newsgroup comp.securtiy.ssh which could better suite your
needs.

Good luck

Michael Heiming


>  I could NOT logon
> to the linux box using F-Secure SSH.  I have the same
> problem with SecureCRT if I choose SSH1 connection.  This the
> message I got back from the SSH server:
>
> Unsupported protocol version received from remote SSH server
> (SSH-2.0-2.0.13).  Please not that SSH2 servers can be configured
> to accept SSH1 connections.
>
> Can anyone show me how to to make my SSH2 server to accept SSH1
> connection?  Many thanks.......
>
> david
> [EMAIL PROTECTED]




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

From: "The Spook" <[EMAIL PROTECTED]>
Subject: Re: IP masquerade
Date: Sun, 11 Feb 2001 11:25:02 +0100

Fokkema DBRA wrote ...
-- Cut --
>but I was wondering, some of
>them claim they can detect IP masquerading. How do they do that? Can
>they do that? Are they checking all packets for strange port numbers?
>And if they can detect this, is there any way for IP masquerading to
>use standard port numbers or something alike to avoid detection?
>Of course, like everybody out there, I'm not trying to decept my local
>internet provider; I'm just curious.
>
>David

To the best of my knowledge, there is no way to detect masquerading, except
for inspecting packets and look for inconsistent content (like the same
computer browsing a number of different sites at the same time (actually
possible and sometimes likely), sending mail simultaneously as seven
different users (also possible, albeit unlikely), using different browsers
on different platforms simultaneously, like Macintosh, Windows, Linux
(extremely unlikely), ...)

But as a matter of practicality, the provider should use too many resources
just to catch masqueraders -- and still would not have proof of it, only
suspicion.

Please tell me differently, if I'm wrong.

  /TRY



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

From: John Beardmore <[EMAIL PROTECTED]>
Subject: Re: Easy Firewall Questions
Date: Sun, 11 Feb 2001 10:36:04 +0000

In article <965mj7$1oo$[EMAIL PROTECTED]>, The Spook <[EMAIL PROTECTED]>
writes
>[EMAIL PROTECTED] wrote ...

>>I have done a lot or reading on this but no where is there a clear
>>answer as to what kind of installation I should use for a firewall on
>>RedHat 7.x
>>
>>Server or Workstation???
>
>Neither! Use Custom and install only what is *absolutely* necessary. Both
>Server and Workstation installs a number of potentially dangerous
>services/daemons (at least when you run a firewall).

Such as ?  And can't packet filtering on the Internet interface keep you
safe ?

Alternatively, bust these dangerous services be bound to the Internet
interface ?


Cheers, J/.
-- 
John Beardmore

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

From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: newbie question: configuring keyboard
Date: Sun, 11 Feb 2001 03:11:55 -0800

Look in /etc/rc.config for an entry that says KEYTABLE="some.map.gz"
and change it to read KEYTABLE="it.map.gz", that should help. You may
need to do some xmodmap work to get things straight in X too.

--
-Duane
DNAware SoftLabs

In article <960tbj$sqo$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:

> Hi all, I've installed SuSE 6.3 and I don't find the file that specifies
> the keyboard language to change the current settings from <?> to
> Italian. Could you help me ? Thank you GmB
> 
> 
> Sent via Deja.com http://www.deja.com/

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

From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: Xclock with NO title
Date: Sun, 11 Feb 2001 03:13:52 -0800

That's dependent on your window manager, not xclock. What windowmanager
are you using? Try looking at the config docs for it.

--
-Duane
-DNAware SoftLabs

In article <[EMAIL PROTECTED]>, "Spidy"
<[EMAIL PROTECTED]> wrote:

> Is it possible to have an xclock running with borders only and no
> title?????
> 
> Man doesn't help.

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

From: "zerg" <[EMAIL PROTECTED]>
Subject: How can I change the screen saver for X-Server
Date: Sun, 11 Feb 2001 19:21:29 +0800

Hi everyone,

I use the graphical login for RedHat Linux 7.0 with KDE for default.
How can I change the Screen Saver for the login screen?
I found that the default screen saver is only blank screen saver.
Thx a lot!




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

From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: Turning off dialtone check (How?)
Date: Sun, 11 Feb 2001 23:36:25 +1100



Cameron Kerr wrote:

>  This makes it pause for a
> while (1 sec?)

On Hayes and Rockwell modems the comma gives 2 seconds delay.
It is used on slow exchanges where the modem starts dialing before the
exchange is ready to accept the dial.
The X0 in init string tells the modem to dial without checking the line for
tone.
It helps on lines where the tone maybe too weak or wrong frequency.

Have fun.
Stanislaw.
Slack user from Ulladulla.


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

From: "Jan Kov��" <[EMAIL PROTECTED]>
Subject: Asus A7V + Promise ATA100 + RH7
Date: Sun, 11 Feb 2001 14:07:47 +0100

Hello.
I have downloaded the Hendick's patches for ATA100. There were not msg about
how to use it there. So I have read the manual for patch and tried to use it
as written in manual. It has said:
patch: **** strip count num is not a number
I do not know if it is good or bad or what does it mean. I can see some hde,
hde1, hde4, hde5 ... hdf, hdf1 ..etc in /dev

I have connected the new disk and after starting the linux I have tried to
mount the hard drive. It said:
mount: the kernel does not recognize /dev/hde4 as a block device
       (maybe `insmod driver'?)

What does it mean? What should I do?

Thanks for any help.

Jan Kovar




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

From: [EMAIL PROTECTED] (Harold Stevens ** PLEASE SEE SIG **)
Subject: Re: Turbolinux graphical login kills my keyboard (linux newbie)
Crossposted-To: alt.os.linux.turbolinux,comp.os.linux.help
Date: Sun, 11 Feb 2001 13:20:42 GMT

In <965ls6$jf6$[EMAIL PROTECTED]>, Jason Ross:

[Snip...]

|> The first time I did it I foolishly selected "Graphical Login" and let the
|> system reboot.

I think that X configuration asks "Is Everything OK?" (or something like
that), before it decides to reboot into graphical login. You can run that
part again (turboxcfg) as "root" from a text console. BUT DON'T ANSWER IT
"YES" unless you get some clearly visible GUI query box with "OK" buttons
or something. A black screen with just a yellow banner along the top is a
bad sign; if that's all you get, wait about 10 or 15 seconds for "OK" and
then tell it NO. That is because everything is definitely NOT OK. Then do
the text login selection and don't get tied up in graphical (X) logins.

During X configuration you can select to go back into the X menu, or just
to select text login and finish the basic installation.

Again, you can run turboxcfg at anytime from a regular text login. And it
is possible to start X from a text login, but I don't recommend it myself
to somebody without a lot scars haggling with X.

[Snip...]

|> does anyone have any other ideas apart from
|> re-installing?

Well, not in 25 words or less. It's easier just to reinstall and don't be
so quick to select X login when asked. If you want to try X and can't get
turboxcfg to play nice, finish the installation selecting "Text Login" or
whatever instead of "Graphical" so you have a working system. Then do the
X thing by running "startx" from a console. This is a lot of grief if you
don't have several ORA books around with X arcana available. Hence, you'd
naturally expect all the distributions to try to automate the process and
that's what turboxcfg tries to do without undue limitation (like MS).

The turboxcfg utility will let you go through its menu (mice, video etc.)
as many times as you like, even after you get X working. That's needed in
case you install new video hardware later. As you probably know, adding a
new piece of gear to a 'Doze box can be a doozy itself.

First, make sure you're not over driving you monitor/video for X. If your
brands don't show up in the list directly, check that documentation for a
very generic setup (maybe 800X640 at 60Hz etc.). Then run through several
mice selections until you get something more than a blank X screen with a
lone banner line at the top. I recall at least a GUI query box using "OK"
buttons or somesuch in the display.

I realize how frustrating this is, but you're better off even with a text
login only until you can post more symptoms and consult search engines as
for instance Google, http://google.com/linux).

-- 

Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
Pardon the bogus email domain (dseg etc.) in place for spambots.
Really it's (wyrd) at raytheon, dotted with com. DO NOT SPAM IT.
Standard Disclaimer: These are my opinions not Raytheon Company.


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

From: "Adam Warner" <[EMAIL PROTECTED]>
Subject: Re: Change boot ext2 block size
Date: Sun, 11 Feb 2001 13:57:52 GMT

Hi all,

After further research and consideration this would be a difficult process
for little benefit.

I have also discovered that the nocheck option can be used to drastically
speed up mount times (as Linus Torvalds describes it: "The ext2 mount code
defaults to do a full check at mount time, and it takes _forever_ on a big
disk because the full check involves going through every superblock and
verifying that they all match etc.
   It doesn't really buy you anything - it's not real protection in the
first place, and if you want to be safe you should just fsck the filesystem,
not do something silly that takes forever due to seeking all over the
disk.")

If I want the additional speed benefit of a 4k block matching the Intel page
size my
best option would probably be to back up my configuration files and do a new
install.

Regards,
Adam





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

From: [EMAIL PROTECTED]
Subject: Re: moving partitions (again!)
Date: Sun, 11 Feb 2001 14:03:04 GMT

In <k%rh6.54$[EMAIL PROTECTED]>, on 02/11/01 
   at 09:24 AM, "Eric en Jolanda" <[EMAIL PROTECTED]>
said:

>read the harddisk upgrade (mini?) howto

>Eric

Unless I'm missing something, this contains neat stuff about
moving everything from one disk to another. I'm trying to move
certain _directories_ such as /usr to another partition and not
break the links.

The idea is, '/usr' will move from '/hda10' to say '/hda12' and I
will put a little directory on '/hda10' which will link to
'/hda12'.

The real problem is, I see how to do this if I mount '/hda12' as
'/usr' in 'fstab'. Would that mean dedicating '/hda12' to being
'/usr'? I want to put other directories there too; maybe use sym
links?

Ok. Thinking aloud. I'll try this, mount '/hda12' as /usr' in
'fstab', and put other directories there too but referenced via
sym links.

F.

===========================================================
     Felmon John Davis      
     Union College /  Schenectady, NY
     os/2 - ma kauft koi katz em sack
=========================================================== 


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

From: [EMAIL PROTECTED] (Chiefy)
Subject: Re: LILO / Windows 2000 - Help
Date: 11 Feb 2001 14:10:55 GMT

11 Feb 2001 07:36 UTC, crash typed:
[snip]
>How do you completely remove lilo and revert back to the previous mbr?

lilo -u or lilo -U /dev/hda

Have you thought of using LoadLin to fire up Linux?.
We've used it from DOS for a while now without problems, never fails.

-- 
Chiefy. <[EMAIL PROTECTED]>


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Easy Firewall Questions
Date: Sun, 11 Feb 2001 14:52:27 +0100

John Beardmore <[EMAIL PROTECTED]> wrote:
> In article <965mj7$1oo$[EMAIL PROTECTED]>, The Spook <[EMAIL PROTECTED]>
> writes
>>[EMAIL PROTECTED] wrote ...

>>Neither! Use Custom and install only what is *absolutely* necessary. Both
>>Server and Workstation installs a number of potentially dangerous
>>services/daemons (at least when you run a firewall).

> Such as ?  And can't packet filtering on the Internet interface keep you
> safe ?

That's a matter of opinion. And sure, blocking some packets can help
(or hinder). Are you going to?

> Alternatively, bust these dangerous services be bound to the Internet
> interface ?

What use would they be otherwise? Are you perhaps trying to distinguish
between the localhost interface and some other interface? ("internet"
covers them both, since both use IP). Sure, you can configure each and
every service every which way you like .. provided you know you have
them, and provided you know what to do with them, and provided you
know how to do it.


Peter

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

From: [EMAIL PROTECTED] (Chiefy)
Subject: Re: hostname
Date: 11 Feb 2001 14:15:33 GMT

On this system (Debian), two files are involved;
        /etc/hostname
        /etc/hosts

-- 
Chiefy. <[EMAIL PROTECTED]>


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: moving partitions (again!)
Date: Sun, 11 Feb 2001 15:24:04 +0100

[EMAIL PROTECTED] wrote:
> In <k%rh6.54$[EMAIL PROTECTED]>, on 02/11/01 
>    at 09:24 AM, "Eric en Jolanda" <[EMAIL PROTECTED]>
> said:

>>read the harddisk upgrade (mini?) howto

> Unless I'm missing something, this contains neat stuff about
> moving everything from one disk to another. I'm trying to move

You are missing something.

> certain _directories_ such as /usr to another partition and not
> break the links.

There is no substantial difference in the problem or the solution.

Peter

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

From: James Knott <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware,comp.os.linux.networking
Subject: Re: Xwindows use with remote clients
Date: Sun, 11 Feb 2001 15:22:57 GMT

B'ichela wrote:
> 
>         Forgive my stupidity. I am not a headline editor for a
> newspaper.
>         I did the following trick on a thin client. This trick works
> on mary start xinit (just want a xterm for now)
> xinit &
> in the xterm type
> xhost +pinkrose.local.net (the big fileserver)
> rlogin pinkrose
> at the pinkrose# prompt type
> export DISPLAY=mary.local.net:0
> fvwm95
> works great! but.. How can I automate this process? Possibly using a
> graphic login? I have no knowledge of the X11 system at all! nor do I
> have any documentation on the xdm program or how to set it up to allow
> Xwindows servers on thin clients to use the progrqams on the
> fileserver!
>         Being I use Slackware Linux ver 3.9 Is there good books that
> cover this?
> 
> --
> 
>                         B'ichela

I have automated the export DISPLAY, for when I use telnet,
by including the following in the /etc/bashrc file.

if [ "$REMOTEHOST" ]; then
    export DISPLAY=$REMOTEHOST:0.0
fi

If your system doesn't support the $REMOTEHOST variable, you
can create one, using the last, grep and cut commands. i.e

last $LOGNAME -1 -i -a|grep pts|cut -c61-

run during login, returns the IP address of the telnet
session currently being used for the login.

For commonly used apps, I use the rexec command from my OS/2
system, with the following script.

detach rexec linux -l <user_id> -p <password> %1 -display
192.168.1.1:0.0

The %1 parameter is passed from the settings in the desktop
icon and contains the full path and file name for the app. 
Plug in the appropriate user_id, password and local host IP
address.

My Linux box is running Redhat 6.2

-- 
Replies sent via e-mail to this address will be promptly
ignored.
To reply, replace everything to the left of "@" with
"james.knott".

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


** 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.setup.

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-Setup Digest
******************************

Reply via email to