3com network drivers from scyld.com

2001-06-11 Thread Richard Clarke
Hi I'm trying to compile the latest 3com 905 drivers from scyld.com and I'm
getting these errors. I'm using a fresh install of Debian 2.2 r3

sac99:~/bleh# gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c 3c59x.c
In file included from /usr/include/linux/string.h:37,
 from 3c59x.c:91:
/usr/include/asm/string.h:46: parse error before `size_t'
/usr/include/asm/string.h: In function `strncpy':
/usr/include/asm/string.h:47: number of arguments doesn't match prototype
/usr/include/linux/string.h:13: prototype declaration
/usr/include/asm/string.h:61: `src' undeclared (first use in this function)
/usr/include/asm/string.h:61: (Each undeclared identifier is reported only
once


There are many more errors too. Can someone shed somelight on what could be
wrong?

Richard



Email forwarding

2000-05-23 Thread Richard Clarke



Has anyone on this list had experience with setting 
up email forwarding, like bigfoot and such services do.
If so can you point me to some resources on this 
subject.

Richard

Nothing is interesting if you're not 
interested.-- Helen MacInness


ipfwadm

1999-11-25 Thread Richard Clarke
Hi. I have a linux box connected to internet thru ethernet..and my winbox
connected thru that to internet using ipmasq. Now ive been trying to run a
quake2 server..or any games server for that matter, not the point, on the
winbox and letting ppl externally connect to it. linuxbox has 10.1.1.1 ip on
internal eth card, and winbox has 10.1.1.2.
I set up ipfwadm -F with these options.. hopefully to forward connection to
port 27910 to my winbox.
ipfwadm -F -a accept -b -P tcp -S 0/0 1024:65535 -D 10.1.1.2/32 27910
ipfwadm -F -a accept -b -P udp -S 0/0 1024:65535 -D 10.1.1.2/32 27910

So q2,uses tcp and udp..it should accept all conections from *.*.*.* with
most ports and forward to 10.1.1.2 port 27910.

Except it doesnt work.
Could someone please let me know what obvious error I might have made.

Thanx
Richard Clarke


Re: ipfwadm

1999-11-25 Thread Richard Clarke
Further to the below problem. If i try to flush the ipautofw table, I get..
ipautofw -F
setsockopt: Protocol not available

Does this mean i dont have the necessary kernel support to forward
connections?


- Original Message -
From: Richard Clarke [EMAIL PROTECTED]
To: Debian User List debian-user@lists.debian.org
Sent: Thursday, November 25, 1999 8:02 PM
Subject: ipfwadm


 Hi. I have a linux box connected to internet thru ethernet..and my winbox
 connected thru that to internet using ipmasq. Now ive been trying to run a
 quake2 server..or any games server for that matter, not the point, on the
 winbox and letting ppl externally connect to it. linuxbox has 10.1.1.1 ip
on
 internal eth card, and winbox has 10.1.1.2.
 I set up ipfwadm -F with these options.. hopefully to forward connection
to
 port 27910 to my winbox.
 ipfwadm -F -a accept -b -P tcp -S 0/0 1024:65535 -D 10.1.1.2/32 27910
 ipfwadm -F -a accept -b -P udp -S 0/0 1024:65535 -D 10.1.1.2/32 27910

 So q2,uses tcp and udp..it should accept all conections from *.*.*.* with
 most ports and forward to 10.1.1.2 port 27910.

 Except it doesnt work.
 Could someone please let me know what obvious error I might have made.

 Thanx
 Richard Clarke


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




exitcodes

1999-11-02 Thread Richard Clarke
I know this is slightly off topic, but could someone tell me how I can
retrieve the exit code from a unix program and store it into a shell
variable

Richard


Re: shh for Linux?

1999-10-27 Thread Richard Clarke
Except the guy said, shh not ssh!

Richard
- Original Message -
From: Onno [EMAIL PROTECTED]
To: Ben Lutgens [EMAIL PROTECTED]; Ron Farrer
[EMAIL PROTECTED]; debian user list debian-user@lists.debian.org
Sent: Wednesday, October 27, 1999 7:48 AM
Subject: Re: shh for Linux?


 At 01:57 PM 10/26/99 -0800, Ben Lutgens wrote:
 wtf is shh?

 It's called secure shell and you can use it
 to get a safe (encrypted) connection to
 a remote machine (that runs sshd ;-)

 Onno


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null




gnu-pop3d

1999-10-26 Thread Richard Clarke
Hi,
I have my debbox, set up so that exim delivers local mail, and I can run
fetchmail to retrieve pop3 mail to a local mailbox. I now wish to be able to
download this mail to my winbox on the internal network. I installed
gnu-pop3d and added it to inetd.conf, and I can telnet to port 110 just fine
and get the response,
+OK POP3 Welcome to GNU POP3 Server Version 0.9.8
[EMAIL PROTECTED]
man.ac.uk

So I take it the pop3d is running ok. However no matter what
username/password I use, I receive bad password responses. My inetd.conf
line is,
pop-3   stream  tcp nowait  mail/usr/local/sbin/gnu-pop3d
gnu-pop3d

and services line is,
pop-3   110/tcp # POP version 3

Could somebody with experience in pop3d or otherwise offer my a solution to
the problem. Also, is this actually the correct way to go about retrieving
mail to my winbox?

Thanx
Richard


pop3d

1999-10-26 Thread Richard Clarke
Ok I have installed qpopper, so that I can retrieve mail from my debbox
using pop3.
However when I try and login, it wont accept my password.
Looking at syslog shows me this,

Oct 26 16:26:40 clarke-r in.qpopper[19796]: connect from 10.1.1.2
Oct 26 16:26:40 clarke-r in.qpopper[19796]: (v2.53) Unable to get canonical
name of client, err = 0
Oct 26 16:26:50 clarke-r in.qpopper[19796]: [EMAIL PROTECTED]: -ERR
Password supplied for clarker8 is incorrect.
Oct 26 16:26:50 clarke-r in.qpopper[19796]: Failed attempted login to
clarker8 from host 10.1.1.2


I definetly entered the correct password, many times, however it still won't
work.
Can someone shed some light on what the problem may be.

Thanx
Richard Clarke


Exim and mail

1999-10-25 Thread Richard Clarke
Ok, I want to use exim to deliver mail to local users and I would like to
use fetchmail to deliver mail from a pop3 server to a particular user.
However I am having problems getting it to work.

I chose,
(4) Local delivery only: You are not on a network.  Mail for local users
 is delivered.

I can mail to localusers just find using, mail. However if I try and do,
fetchmail -u username t8.cs.man.ac.uk

reading message 1 of 5 (1386 header octets) .fetchmail: SMTP connect to
localhost failed
fetchmail: SMTP transaction error while fetching from t8.cs.man.ac.uk
fetchmail: Query status=10

Please help
Richard


Re: Exim and mail

1999-10-25 Thread Richard Clarke
That doesn't make any difference at all.

root-/home/clarker8:fetchmail -u clarker8 t8.cs.man.ac.uk
Enter password for [EMAIL PROTECTED]:
1 message for clarker8 at t8.cs.man.ac.uk.
reading message 1 of 1 (1608 header octets) .fetchmail: SMTP connect to
localhost failed
fetchmail: SMTP transaction error while fetching from t8.cs.man.ac.uk
fetchmail: Query status=10


- Original Message -
From: Gary Hennigan [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Monday, October 25, 1999 9:50 PM
Subject: Re: Exim and mail


 Richard Clarke [EMAIL PROTECTED] writes:

  Ok, I want to use exim to deliver mail to local users and I would like
to
  use fetchmail to deliver mail from a pop3 server to a particular user.
  However I am having problems getting it to work.
 
  I chose,
  (4) Local delivery only: You are not on a network.  Mail for local users
   is delivered.
 
  I can mail to localusers just find using, mail. However if I try and do,
  fetchmail -u username t8.cs.man.ac.uk
 
  reading message 1 of 5 (1386 header octets) .fetchmail: SMTP connect to
  localhost failed
  fetchmail: SMTP transaction error while fetching from t8.cs.man.ac.uk
  fetchmail: Query status=10

 You need to add localhost to a list in /etc/exim.conf, specifically
 the local_domains line.

 It should look something like:

 local_domains = hostname:hostname.junk.org:localhost

 This should fix you up.

 Gary


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null



Exim and fetchmail

1999-10-21 Thread Richard Clarke
Hi,
Could someone point me to documentation for exim and fetchmail which is
easier to understand than the man files. As I understand, exim is a local
mail agent which uses SMTP? to send mail around the localnetwork. Fetchmail
delivers remote mail, POP3 in my case, to this local network and the users
on it. However, I don't fully understand how it all works yet and my attempt
to get either exim or fetchmail working don't seem to bear any success.

Thanks in advance
Richard


Lynx and ATP with http proxy

1999-10-21 Thread Richard Clarke



Hi,
 Could somebody please suggest to 
me how I can use APT and lynx when I have to use a http proxy with my 
university.

Thanks in advance
Richard


ssh/ftp

1999-10-21 Thread Richard Clarke
All of a sudden I am unable to ssh or ftp into my linux box from my windows
box. I recently upgraded a couple of things, primarily libc6. Truth by told
I can ssh into my linux box but ssh takes about 30+seconds to connect. Ftp
doesn't work full stop. That is unless, I first telnet to my uni account on
a uni box, then ssh or ftp (both work) back to my linux box. If I look what
processes are running as I connect, the relevant processes do fire up but
then after so many seconds the connection just times out.
Can anyone make any suggestions as to what could be wrong.

Thanks in advance
Richard


Eggdrop and Debian

1999-10-12 Thread Richard Clarke
Could somebody please explain to me how I can get eggdrop working with
Debian. I have installed tcl8 using both *.dev and *.tar.gz. But everytime,
even tho I know tcl is installed...when I try and run eggdrop (yes it
compiles just fine) it says...
./eggdrop: error in loading shared libraries
libtcl8.0.so: cannot open shared object file: No such file or directory

Yes I did configure with --enable=shared. Please tell me if this is a common
problem and if so please tell me how I can fix it.

Richard


Eggdrop and Debian

1999-10-08 Thread Richard Clarke



Could somebody please explain to me how I can get 
eggdrop working with Debian. I have installed tcl8 using both *.dev and 
*.tar.gz. But everytime, even tho I know tcl is installed...when I try and run 
eggdrop (yes it compiles just fine) it says...
./eggdrop: error in loading shared 
librarieslibtcl8.0.so: cannot open shared object file: No such file or 
directory

Yes I did configure with --enable=shared. Please 
tell me if this is a common problem and if so please tell me how I can fix 
it.

Richard