Re: Problems with Sendmail and X..

1996-12-22 Thread H . Manas
>> - install gpm.
>>   - Make sure that In your '/etc/gpm.conf'
>> device=/dev/xxx  (xxx is the device name of your mouse I believe psmouse)
>> responsiveness=
>> type=ps2
>> append='-R'
>> - check out that gpm is running and you can see the mouse cursor on your 
>> Linux
>>   console (if not you have to work on your gpm config). you may start gpm by
>>   typing as root '/etc/init.d/gpm start'
>> - make sure that '/dev/mouse' is a symbol link to '/dev/gpmdata'
>> - change the Protocol and the Device type of your Pointer.
>>   the Section "Pointer" in '/etc/X11/XF86Config' should contains
>>  Protocol "MouseSystems"
>>  Device "/dev/mouse"
>
>I tried this but alas it didn't work..  there was no gpm.conf file located
>on my system and no gpmdata...Hmm ..

I wonder why you don't have '/etc/gpm.conf' (some one else told me the same
to) even though I have it on my Debian box :(

I'm using gpm-1.10-2 right know, but the package was installed from long
time, maybe the config. file's name has changed since. One way to know what
config. file is used on yours, is to look into '/etc/init.d/gpm', the shell
var 'cfg' in the first few lines contains the name of the config. file :

--
# less /etc/init.d/gpm
#!/bin/sh
#
# Start Mouse event server

test -x /usr/sbin/gpm || exit 0

cfg=/etc/gpm.conf
^
cmdln=
if [ -f $cfg ]; then
  . $cfg
if [ -n "$device" ]; then cmdln="$cmdln -m $device"; fi
  if [ -n "$type" ]; then cmdln="$cmdln -t $type"; fi
if [ -n "$responsiveness" ]; then cmdln="$cmdln -r $responsiveness";
fi
  if [ -n "$append" ]; then cmdln="$cmdln $append"; fi
  fi
  
  case "$1" in
start)
 echo "Starting gpm $cmdln"
  /usr/sbin/gpm $cmdln
--

If for some reason you dont find 'cfg', go and edit '/usr/sbin/gpm $cmdln'
line above, and put instead :

/usr/sbin/gpm -m /dev/psmouse -t ps2 -R

if '/dev/psmouse' is not the name of PS2 mices please change it to whatever
it might be (sorry I don't have such mouse)

for '/dev/gpmdata', it will be created once gpm will started with -R option.


hope things will go more smooth for you by know :-)

>Matthew  

>-
>Matthew Stone, 23 Roosevelt Drive, Richmond Hill, Ontario, Canada L4C6V1
>   Pager (416)339-9052



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Problems with Sendmail and X..

1996-12-21 Thread J.P.D. Kooij


On Sat, 21 Dec 1996, H. Manas wrote:

> A work-around would be to:
> 
> - install gpm.

I have done that

>   - Make sure that In your '/etc/gpm.conf'
> device=/dev/xxx  (xxx is the device name of your mouse I believe psmouse)
> responsiveness=
> type=ps2
> append='-R'

Hey, I don't have that file, I can't find any mention either in the 
documentation. I have Debian-1.1.4 and gpm-Linux 1.06.
I do have gpm-root and /etc/gpm-root.conf. Is that what you meant? Because 
the man for gpm-root does mention the gpm-root.conf file.

> - check out that gpm is running and you can see the mouse cursor on your Linux
>   console (if not you have to work on your gpm config). you may start gpm by
>   typing as root '/etc/init.d/gpm start'

I found that doing /etc/init.d/gpm stop in a xterm just hangs until I 
ctrl-c or kill the gpm -k from another xterm (but then again, the gpm 
docs do hint at strange interference with X.)

> PS: this trick is drawn from the documentations of gpm package. Many thanks
> goes to it's author Alessandro Rubini

What documentations did you see that I didn't? Hmm.. I don't have any 
source for gpm installed. Is that what I am missing? How do I get it in 
Debian? 

Thanks,

Joost


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Problems with Sendmail and X..

1996-12-21 Thread H . Manas
In-Reply-To: <[EMAIL PROTECTED]>

In article <[EMAIL PROTECTED]>, you wrote:
>
>
>Thanks for you help.. got my sendmail work.. but still trying to figure
>out what the problem with X and my PS2 mouse... any ideas anyone?
>
A work-around would be to:

- install gpm.
  - Make sure that In your '/etc/gpm.conf'
device=/dev/xxx  (xxx is the device name of your mouse I believe psmouse)
responsiveness=
type=ps2
append='-R'
- check out that gpm is running and you can see the mouse cursor on your Linux
  console (if not you have to work on your gpm config). you may start gpm by
  typing as root '/etc/init.d/gpm start'
- make sure that '/dev/mouse' is a symbol link to '/dev/gpmdata'
- change the Protocol and the Device type of your Pointer.
  the Section "Pointer" in '/etc/X11/XF86Config' should contains
Protocol "MouseSystems"
Device "/dev/mouse"

and that's it, I believe your mouse should function properly on X by now :)


Hope this will help.

PS: this trick is drawn from the documentations of gpm package. Many thanks
goes to it's author Alessandro Rubini

>Matthew
>
>-
>Matthew Stone, 23 Roosevelt Drive, Richmond Hill, Ontario, Canada L4C6V1
>   Pager (416)339-9052
>
>
>--
>TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
>[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Problems with Sendmail and X..

1996-12-21 Thread Matthew Stone


Thanks for you help.. got my sendmail work.. but still trying to figure
out what the problem with X and my PS2 mouse... any ideas anyone?

Matthew

-
Matthew Stone, 23 Roosevelt Drive, Richmond Hill, Ontario, Canada L4C6V1
   Pager (416)339-9052


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Problems with Sendmail and X..

1996-12-21 Thread Christopher E. Stefan
On Fri, 20 Dec 1996, Matthew Stone wrote:

> ok.. i am trying to set up sendmail.. now it partialy works..  the local
> sendmail works when i am not online but when i ma online the outgoing
> sendmail works but the incoming doesn't... now what is wierd is it bounces
> but i still kind of get the mail on the recieving end.. and i do kill the
> sendmail process and reload it when i get online.. i bounces and get 12 
> messages (this is on the sending side) and the error message i get is 
> 
> 553 site.name.address. config error: mail loops back to me (MX problem?)

This is a sendmail/DNS configuration problem, an example of how to set
things up: 

In the zone file for your domain:

domain.com. IN MX 10 mx1.domain.com.

host1.domain.comIN A 192.1.1.1
IN MX 10 mx1.domain.com.

mx1.domain.com  IN A 192.1.1.1
IN MX 10 mx1.domain.com.

host2.domain.comIN A 192.1.1.2
IN MX 10 mx1.domain.com.

in the /etc/mail/sendmail.cw file on host1:

domain.com
host1.domain.com
mx1.domain..com
host2.domain.com 

basicly you have to have an entry in the sendmail.cw file on host1 for all
hosts listing host1 (or mx1 as my example above) as their primary MX host.

Much much more on this sort of thing in the O'Reilly "Sendmail" and "DNS
and BIND" books. 

Christopher E. Stefan[EMAIL PROTECTED]
http://www.ironhorse.com/~flatline   finger for PGP key
System Administrator Phone: (206) 783-6636
Ironhorse Software, Inc. FAX:   (206) 783-4591


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Problems with Sendmail and X..

1996-12-20 Thread Daniel Stringfield
On Fri, 20 Dec 1996, Matthew Stone wrote:

> ok.. i am trying to set up sendmail.. now it partialy works..  the local
> sendmail works when i am not online but when i ma online the outgoing
> sendmail works but the incoming doesn't... now what is wierd is it bounces
> but i still kind of get the mail on the recieving end.. and i do kill the
> sendmail process and reload it when i get online.. i bounces and get 12 
> messages (this is on the sending side) and the error message i get is 
> 
> 553 site.name.address. config error: mail loops back to me (MX problem?)
> 
> then i get a another message.. only one of them this time
> 
> 554 Too many hops 26 (25 max): from <[EMAIL PROTECTED]> via
> site.name.address, to <[EMAIL PROTECTED]>
> 
> now on the recieving site.. i get 12 of the 553 error messages..
> 
> any idea why this is happening??

Looks like your sendmail is setup wrong.  It may also be something with
how you are naming your machine, too.  What exactly its doing is sending
mail to itself to deliver, and it keeps sending mail back to itself over
and over  

--
  Daniel Stringfield  
   mailto:[EMAIL PROTECTED] http://www.jax-inter.net/users/servo
Send email for more information on the Jacksonville Linux Users Group!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Problems with Sendmail and X..

1996-12-20 Thread Matthew Stone

ok.. i am trying to set up sendmail.. now it partialy works..  the local
sendmail works when i am not online but when i ma online the outgoing
sendmail works but the incoming doesn't... now what is wierd is it bounces
but i still kind of get the mail on the recieving end.. and i do kill the
sendmail process and reload it when i get online.. i bounces and get 12 
messages (this is on the sending side) and the error message i get is 

553 site.name.address. config error: mail loops back to me (MX problem?)

then i get a another message.. only one of them this time

554 Too many hops 26 (25 max): from <[EMAIL PROTECTED]> via
site.name.address, to <[EMAIL PROTECTED]>

now on the recieving site.. i get 12 of the 553 error messages..

any idea why this is happening??

now with my X.. i can't seem to get my PS2 mouse to work.. which is a real
pain..  I configured the setup all right with the right device and
everything but it still doesn't work.. doesn't seen to be able to
find that device right now i am using a serial port and it's a pain in the
butt having 2 mouses.. any idea how i can fix it so the ps2 mouse works..
i used to have it working with the ps2 mouse but alas my linux crashed and
i by mistake formatted the partitation so i lost the setup..

Thanks..

Matthew 

-
Matthew Stone, 23 Roosevelt Drive, Richmond Hill, Ontario, Canada L4C6V1
   Pager (416)339-9052


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]