Linux-Misc Digest #429, Volume #19               Fri, 12 Mar 99 15:13:13 EST

Contents:
  Re: switching intellimouse between  Linux/X and NT (gus)
  Re: hacked login (Johan Kullstam)
  Re: switching intellimouse between  Linux/X and NT (Eric Gentry)
  Re: gcc: cannot specify -o with -c and multiple compilations (Edward Vigmond)
  Re: Red Hat questions ("Karl Bengtsson")
  Re: learning about services (Bob Lockie)
  Re: Linux setup ("Georges Heinesch")
  Re: How to patch a Kernel? ("Spud")
  Re: Problem mounting Windows drive (William Cornett)
  switching intellimouse between  Linux/X and NT ("John Danek")
  Re: Linux Newbie Questions ("Randy McLin")
  ssh question (Stefano Ghirlanda)
  Re: Learn the truth - In Dear Recruiter we establish exactly what a recruiter does. 
([EMAIL PROTECTED])
  LINUX SOUND III SYSTEM -- Please help! ("Benjamin Sher")
  Re: Running pppd as non-root user (Bill Unruh)
  DHCP and ip problem (Morten Ranheim)
  Re: PPP won't hang up - how do i time out? (Bill Unruh)
  [EMAIL PROTECTED] (root)
  Some questions (John Appleyard)

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

From: gus <[EMAIL PROTECTED]>
Subject: Re: switching intellimouse between  Linux/X and NT
Date: Fri, 12 Mar 1999 18:12:17 +0000
Reply-To: [EMAIL PROTECTED]

Eric Gentry wrote:
> 
> On Thu, 11 Mar 1999 23:08:52 -0500, "John Danek"
> <[EMAIL PROTECTED]> wrote:
> 
> >Hello,
> >
> >I have an OmniView switching between two systems; NT 4.0 Server and Linux
> >5.2 with a Microsoft PS2 Intellimouse.  The mouse stops working when I
> >switch from NT back to Linux/X. Restarting X corrects the problem. I was
> >hoping that someone had some insight on how to correct this. I'm guessing
> >that this problem is caused by some mouse initialization code in NT that
> >prevents proper operation when switching back to Linux/X.
> >
> >Regards,
> >John Danek
> >[EMAIL PROTECTED]
> >
> >
> 
> Better check Belkin, but I don't think the OmniView supports the
> Intellimouse.  I think you need the new OmniCube.  Also, I couldn't
> get my Intellimouse (configured as an Intellimouse) to work under
> Linux (Red Hat 5.2).  The pointer would just go whereever it wanted.
> Selecting "Generic PS/2 mouse" corrected the problem.  Linux doesn't
> support the wheel yet anyway, so it didn't matter to me.
> 
> If those two check out as not the answer, this might help.
> I recently bought an OmniCube switch.  It has an option to use the
> <Scroll Lock> key to switch via the keyboard, rather than by the
> button.  I don't know if the OmniView has this feature, but I know
> that sometimes the <Scroll Lock> will freeze the mouse/keyboard in
> Linux (imagine that - Scroll Lock actually working as it should).
> Pressing Scroll Lock again fixes the problem.
> 
> Hope this helps.
> Eric Gentry


I have the belkin omniview, and experienced the same problems.

AFAIK this is because of the following two potential reasons. The
intellimouse uses all 8 pins of the connector wheras most mice use only
7. *Manual* switch boxes seldom switch the eighth, and thus do not
support the intellimouse. Further, the intellimouse uses a bidirectional
protocol, and it requires itself to be permanently connected to the
computer using a protocol which is slightly different to other mice.
Thus, when you switch the mouse away from the linux box (or the other
machine), the omniview does not respond correctly with the "dummy" mouse
responses. Thus, the protocol is "broken". In Win98 this is symptomised
by a few seconds where the mouse "catches up" with itself (which is
annoying but manageable), and in Linux it is revealed as jerkiness, and
the buttons don't work properly, etc. (The cursor for me used to end up
in the top right of the screen). This reaction is documented in the
omniview manual.

The solution - get another mouse ;-)

I have heard that it is possible to fix it some way, I think by using
gpm to feed the X server instead of the X server using it's own driver.
I am unsure of whether this works. It will be pointless (no pun
intended) anyway if you get the same effect when you are at a console
terminal session.

So, in desperation I bought another mouse, except I have limited desk
space, so I bought a trackball (logitech). Thus, my omniview only
switches the monitor and keyboard.

That was my fix.

I am unhappy anyway with the quality of the image , so I am still unsure
of whether the idea is OK. I think I just need a bigger home with more
desk space to fill with more computers ;-)

cheers

gus

P.S. FWIW, X does support the wheel .... I have the intellimouse driving
the linux box and the trackball on the Win98 machine.

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

From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,linux.admin.isp
Subject: Re: hacked login
Date: 12 Mar 1999 10:35:51 -0500

[EMAIL PROTECTED] writes:

> I want to allow telnet access to a Internet connected server;
> but *only* form the local LAN connected machines.
> Is this possible or not.

yes, it is possible.

> I do not wish telnet access available
> via the Net at all.

this sounds perfectly sane to me.

> I have disabled most unnecessary services via the inetd.conf including
> the telnet deamon. I would re-enable it if I could limit it's authority
> via hosts.allow or hosts.deny - but how? Nothing I've tried does the
> trick.

you need a packet filtering firewall.

see, e.g.,  <URL:http://rlz.mediaone.net>.

i got his ipchains firewall script (since i am using 2.2.x kernels).
he has an ipfwadm version too.  you will need to do a bit of manual
tweaking, but the script is extremely well laid out and well
commented.

he's also got some sort of cgi firewall-o-matic but i never figured
out how work it (besides i already had a working firewall script and
didn't need a new one).

hope this helps.

-- 
Johan Kullstam
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Eric Gentry)
Subject: Re: switching intellimouse between  Linux/X and NT
Date: Fri, 12 Mar 1999 16:18:17 GMT

On Thu, 11 Mar 1999 23:08:52 -0500, "John Danek"
<[EMAIL PROTECTED]> wrote:

>Hello,
>
>I have an OmniView switching between two systems; NT 4.0 Server and Linux
>5.2 with a Microsoft PS2 Intellimouse.  The mouse stops working when I
>switch from NT back to Linux/X. Restarting X corrects the problem. I was
>hoping that someone had some insight on how to correct this. I'm guessing
>that this problem is caused by some mouse initialization code in NT that
>prevents proper operation when switching back to Linux/X.
>
>Regards,
>John Danek
>[EMAIL PROTECTED]
>
>

Better check Belkin, but I don't think the OmniView supports the
Intellimouse.  I think you need the new OmniCube.  Also, I couldn't
get my Intellimouse (configured as an Intellimouse) to work under
Linux (Red Hat 5.2).  The pointer would just go whereever it wanted.
Selecting "Generic PS/2 mouse" corrected the problem.  Linux doesn't
support the wheel yet anyway, so it didn't matter to me.

If those two check out as not the answer, this might help.
I recently bought an OmniCube switch.  It has an option to use the
<Scroll Lock> key to switch via the keyboard, rather than by the
button.  I don't know if the OmniView has this feature, but I know
that sometimes the <Scroll Lock> will freeze the mouse/keyboard in
Linux (imagine that - Scroll Lock actually working as it should).
Pressing Scroll Lock again fixes the problem.

Hope this helps.
Eric Gentry

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

From: Edward Vigmond <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: gcc: cannot specify -o with -c and multiple compilations
Date: Fri, 12 Mar 1999 16:23:55 GMT

Christoph Haenle wrote:
> 
> -c means "compile only, do not link"
> 
> -o specifies the executable's name.
> 
> Therefore, using both options simultaneously doesn't make sense.

I don't know about it not making sense as I have used it before. I
sometimes compile certain programs to run on a multiprocessor machine
and a single processor. Some file need to be changed, others don't. I
use defines to compile the same file for both situations and use the the
-o flag to give them different names. For example, I might have the
following lines in my Makefile

prog: a.o b.o
        cc -o prog a.o b.o

smp_prog: a_smp.o b.o
        cc -o smp_prog a_smp.o b.o

a_smp.o: a.c
        cc -c -o a_smp.o -DSMP a.c

a.o: a.c
        cc -c a.c

I can choose to compile either version of the program.

-- 
Ed Vigmond
Institut de Genie Biomedical, Universite de Montreal
[EMAIL PROTECTED]

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

From: "Karl Bengtsson" <[EMAIL PROTECTED]>
Subject: Re: Red Hat questions
Date: Fri, 12 Mar 1999 19:07:05 GMT

Thanks for your help. I managed to figure out the netscape issue, and I
even got a file manager running (tkdesk)
I'm still having trouble with the pppd, it simply won't do a thing, but I
guess I'll just have to read the HOWTOs again....
thanks anyways,
/Karl

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

From: Bob Lockie <[EMAIL PROTECTED]>
Subject: Re: learning about services
Date: Fri, 12 Mar 1999 11:12:27 -0500

Stefano Ghirlanda wrote:
> 
> Hi all,
> I would like to learn more about the services in /etc/services, to figure
> out which ones I actually need. Some of the entries have no man page,
> though. For example I have:
> 
> efs             520/tcp                         # for LucasFilm
> 
> and similar other line mysterious to me. Any pointer will be appreciated.
> thanks,

That one isn't standard.

It is probably for a network game server.


Don't run any services and see what breaks.

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

Date: 12 Mar 99 17:17:08 +0100
From: "Georges Heinesch" <[EMAIL PROTECTED]>
Subject: Re: Linux setup
Crossposted-To: ibmnet.general,comp.os.linux.setup

Quoting David Kirkpatrick (11-Mar-99 15:41:34):

>   I guess I'm still confused.  It seems to me that he would have to
> register all possible dynamically allocated IP's - but that would be
> fuzzy as what HE was allocated one time might be allocated to someone
> else later.  ??  The nameserver would have to know what he was allocated
> currently.

Correct. So the nameserver needs to talk to my computer to know what
my computer is called. And this was the initial question I had.

But as far as I learned till now, this is not possible. I cannot
communicate to the DNS server to tell him that today, my computer
(let's call him 'foobar') has IP 1.1.1.1 and that tomorrow 'foobar' is
hooked up under IP 1.1.1.2.

This doesn't work apparently.

I guess I have to take the work-around solution with the web page.

Anyway, thanks a lot to all who replied.

-- 
Cu  Georges Heinesch, Luxembourg
    [EMAIL PROTECTED] - [EMAIL PROTECTED]
    http://www.geocities.com/yosemite/2480
    PGP 2.6.3i / 5.1i public key on request and on public servers

... N1, TO/GA, 80 KTS, V1, Rotate, V2


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

From: "Spud" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.help,comp.os.linux.networking
Subject: Re: How to patch a Kernel?
Date: Fri, 12 Mar 1999 04:13:18 GMT


Ray wrote in message ...
>Hi, i downloaded the RAID-Tools and the patch for the kernel, but, how do i
>patch the kernel?
>
>There file to patch is a file which seems very crypted to me.
>
>Hope on help
>
>Regards
>The Ray
>
>Where i work http://www.ultrasonic.at
>
>
>
if your kernel source is in /usr/src, put the patch in /usr/src, and run:

zcat patch-xx.gz | patch -p0

If the patch is not gzipped, do:

cat patch-xx | patch -p0



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

From: [EMAIL PROTECTED] (William Cornett)
Subject: Re: Problem mounting Windows drive
Date: 12 Mar 1999 03:55:11 GMT

On Wed, 10 Mar 1999 16:47:25 GMT, steve mcadams <[EMAIL PROTECTED]> wrote:

: >Finally, the question I fear I don't want to hear the answer to:  Am I
: >screwed?  Have I inadvertently blown away my Windows stuff?
: 
: You may or may not be screwed.  I assume you were mounting the drive
: as vfat both before and after, right?  If not you probably should be
: (unless it's an NTFS drive or something).
: 
: It sounds like you told LILO to install in the MBR?  Check the LILO
: man pages very carefully.  I am pretty sure there is an uninstall
: option that will tell it to replace the old MBR.  This might get you
: back into business, as long as you haven't installed LILO twice since
: it was working the way you wanted it to.
: 

lilo -u at the prompt will copy the original bootsector back. LILO saves
it during the install process.

I favor using a LILO bootdisk. No problems since I've been doing it this
way. Boots quick too, since it doesn't read much on the floppy, just
where to find the kernel and root filesystem. Edit /etc/lilo.conf to
suit. Remove the floppy to boot Windows.
-- 
Remove the period from my email address to reply.


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

From: "John Danek" <[EMAIL PROTECTED]>
Subject: switching intellimouse between  Linux/X and NT
Date: Thu, 11 Mar 1999 23:08:52 -0500

Hello,

I have an OmniView switching between two systems; NT 4.0 Server and Linux
5.2 with a Microsoft PS2 Intellimouse.  The mouse stops working when I
switch from NT back to Linux/X. Restarting X corrects the problem. I was
hoping that someone had some insight on how to correct this. I'm guessing
that this problem is caused by some mouse initialization code in NT that
prevents proper operation when switching back to Linux/X.

Regards,
John Danek
[EMAIL PROTECTED]




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

From: "Randy McLin" <[EMAIL PROTECTED]>
Subject: Re: Linux Newbie Questions
Date: Fri, 12 Mar 1999 14:10:24 -0500

You didn't indicate whether your US Robotics 56 was a WINMODEM or not.  If
so, go buy another one that's not a WINMODEM.  Also look at the man pages
for the statserial command.  That may give you some insight as to whether or
not you're actually communicating with your modem.

As for SAMBA, there's a great book out for it that I'd wholeheartedly
recommend getting.  I forget its name but I've got it on my site at
http://www.emuse.net  That's a portal site I compiled to help me in my
day-to-day work with Linux.

Good luck,

Randy


Royce Mitchell III wrote i

n message <[EMAIL PROTECTED]>...
>I have installed Linux on two different machines, and there are some
>things I've been trying
>to figure out.
>
>I've been reading HOWTO's, but the HOWTO's seem incomplete to me.
>
>Problem 1:




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

From: [EMAIL PROTECTED] (Stefano Ghirlanda)
Crossposted-To: comp.security.unix
Subject: ssh question
Date: 12 Mar 1999 19:10:49 GMT

Hi,
I have succesfully set up ssh2 between two machines to log in providing
the pass-phrase. However, I also need to it to work a la rsh, without
prompting for passwords. I know this is not the top of security, but I 
need it... 

I have found no info in the ssh2 docs... can anyone help me?
Thanks a lot,


-- 
 Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
    Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
   Support Free Science, look at: http://rerumnatura.zool.su.se

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

From: [EMAIL PROTECTED]
Crossposted-To: 
comp.lang.pascal.borland,comp.lang.perl.misc,comp.os.ms-windows.programmer.win32
Subject: Re: Learn the truth - In Dear Recruiter we establish exactly what a recruiter 
does.
Date: Fri, 12 Mar 1999 16:40:13 GMT

In article <7cb98q$cb3$[EMAIL PROTECTED]>,
  QualifiedConsultant <[EMAIL PROTECTED]> wrote:
> This is the first in a series of documents I will be writing to educate the
> computer consulting industry as a whole.

<snipped true but irrelevant text>

Message forwarded to [EMAIL PROTECTED]

Robert

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: "Benjamin Sher" <[EMAIL PROTECTED]>
Subject: LINUX SOUND III SYSTEM -- Please help!
Date: Fri, 12 Mar 1999 19:22:30 GMT

Dear friends:

Well, everything seems to be ready for my Linux, which will arive next week
EXCEPT for the matter of SOUND.

I just discussed this problem extensively with a technician at AztechLabs,
which makes the Sound III system that came with my NEC Pentium 166 MMMX OEM
and Win95B, 64 meg RAM. 33.3 modem and ADSL Ethercard.

Thank to his kind help, I now know exactly where I stand, but I do not have
a solution for it as yet. 

In a nutshell, AztechLabs, being mainly a supplier of sounds systems to
OEMs running Windows, does not as yet have a driver for Linux. He urged me
to contact the Linux community for help.

Here are the precise specs:

My sound/modem system  (FCC-ID MMSN 855) is called Sound III. Its generic
model no. MMAT-3500 and its generic drivers (both are required) are: MAT-35
(U1nd U2). These two drivers run my entire sound system.

May I kindly ask if any of you Linux users out there have a similar system
or have had to deal with this particular sound system or might have a
solution? It would be much appreciated.

I have been reading and preparing hard for this exciting transition to
Linux, to putting behind me the two years of agony of fighting a losing
battle with Micro$oft's toys. This may be my last outstanding problem. My
ATI video card is fine, my GoldStar Cd should be fine, my Epson printer
should make it fine, even my 3Com ADSL driver should make it, but this
Sound III problem concerns me deeply. 

Is there a solution?

Thank you all so very much. You have all been just great!

Yours,

-- 
Benjamin Sher
Email: [EMAIL PROTECTED]
Sher's Russian Web & Index
http://personal.msy.bellsouth.net/msy/s/h/sher07/index.html



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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Running pppd as non-root user
Date: 12 Mar 1999 16:59:26 GMT

In <[EMAIL PROTECTED]> S Myles Prather <[EMAIL PROTECTED]> writes:

>How do you allow pppd to be run by a non-root user?  The pppd man page

chmod a+rx /usr/sbin/pppd
chmod +s /usr/sbin/pppd


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

From: Morten Ranheim <[EMAIL PROTECTED]>
Subject: DHCP and ip problem
Date: 12 Mar 1999 20:31:04 +0100
Reply-To: [EMAIL PROTECTED]

At work I got a NT server and an experimental RH 5.2 server. The RH box
is working as a client. The NT server works as a DHCP/DNS server. Do not 
ask me for the reason, it just have to be that way. It's not within my
control. What I want is that the RH box should work as a DHCP client
from which I can do some stuff.

I've set the RH up as a DHCP client and I feel that I have done it
right. However the linux box tries to get an ip which it shouldn't. We
got a DHCP client ip range which goes from x.x.x.71-x.x.x.98. When linux
tries to get the ip it _always_ tries to get x.x.x.72 and want accept
any other ip's. Why?

Any help is appreciated.

-- 
Morten Ranheim
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: PPP won't hang up - how do i time out?
Date: 12 Mar 1999 17:02:43 GMT

In <[EMAIL PROTECTED]> "Richard Hitchell" 
<richard.hitchellatttabconnectors.com> writes:

>But this is no good if the line is busy.  Does anybody know how I set a
>timeout to 1 minute and then drop the connection?


option idle to pppd
eg the line
idle 60
in /etc/ppp/options

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

From: root <[EMAIL PROTECTED]>
Subject: [EMAIL PROTECTED]
Date: Fri, 12 Mar 1999 11:28:42 -0800

Hi ,

What problems do you have connecting to your ISP ?
PPP is really quite simple and you shouldn't have much trouble.
The thing is there are a few things to know and if you don't know, well
you
don't know.

With regards to glint, what are you doing when you get that message ?
Installing packages or just seeing what is on your system ?
Glint needs to know where to look for  the packages if you are
trying to install :  hence the procedure as follows =>      mount
/dev/cdrom

configure (glint menu)

/mnt/cdrom/REDHAT/RPMS (or wherever your

packages are)

Available (glint menu, this scans the selected

directory for packages.

All filesystems have to be mounted in Linux, that includes things like
drives.
Hope this helps you and isn't redundant to your knowledge.

Warren

Go here   http://basiclinux.hypernet.net/index.html


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

From: John Appleyard <[EMAIL PROTECTED]>
Subject: Some questions
Date: Fri, 12 Mar 1999 16:21:51 +0000

A few easy ones

(1)  If I 'cat' a binary file by mistake, I often end up with a garbaged
system - all messages and prompts are translated into Klingon  - or
something like it.  How do I recover without rebooting?  Even exit
doesn't fix it.

(2)  I've set up Samba and it works fine, but I have to start it
manually every time I log on?  Where should I put the "smb start"
command?  (SuSE 6.0)

(3)  I have a vfat disk mounted, but can't write to it, except as root.
Somebody suggested that I specify 'user' in /etc/fstab, and that sort of
works - if I umount and mount it again, I can write to it, but how can I
avoid the need to do that?

(4)  I've got a Freeserve connection working, and I can browse the web
to my heart's content, but I'd like to do email and news too.  The SuSE
chapter of sendmail seems awfully complicated - do I really have to go
through all that?  

TIA 
-- 
John Appleyard             [EMAIL PROTECTED]      [EMAIL PROTECTED]

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


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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