erpcd won't compile on Debian?

2002-03-21 Thread Michael Kean

G'day :)

I'm trying to install erpcd on debian to control an annex 4000.

I have never tried to do this before, so I might be barking up the wrong
tree...

When trying to build the software, it crashes with the following:

Compiling the tools; output being saved in "Build.out"

*** Building libannex ***
*** Building netadm ***
*** Building na ***
*** Building erpcd ***

**
 The compilation of the host tools FAILED.  See file "Build.out". 
**

Last few lines of Build.out...

/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
tms.c:193: warning: static declaration for `tms_request' follows non-static
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
/usr/bin/cc -g  -DUSE_FLOCK -m486 -O2 -DHASSNPRINTF -DSPT_TYPE=SPT_REUSEARGV
 -DHAS_CTRL_NOT_ACC -DLINUX -I../inc  -DBFS$
session_dbunx.c: In function `sesdb_init_db':
session_dbunx.c:293: invalid use of undefined type `union semun'
session_dbunx.c:294: `ctlinit' has an incomplete type
session_dbunx.c: In function `sesdb_close_db':
session_dbunx.c:942: warning: passing arg 1 of `strlen' from incompatible
pointer type
session_dbunx.c:942: warning: passing arg 1 of `strlen' from incompatible
pointer type
session_dbunx.c:942: warning: passing arg 1 of `strcmp' from incompatible
pointer type
session_dbunx.c: At top level:
session_dbunx.c:120: storage size of `ctlinit' isn't known
make[2]: *** [session_dbunx.o] Error 1
make[2]: Leaving directory `/usr/annex/ra_X9.0.2/src/erpcd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/annex/ra_X9.0.2/src/erpcd'
make: *** [erpcd.local] Error 2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ADSL and debian3.0

2002-03-21 Thread Russell Coker

On Fri, 22 Mar 2002 00:07, Dave Smith wrote:
> so, do I need the speedmgmt program?

Yes, it loads some firmware into the modem.

> Q1a) Where? (In which section should I look?)

CONFIG_USB_SPEEDTOUCH under USB.

> Thanks for all the help, is there a document I could be looking at which
> describes this process?

No.

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: ADSL and debian3.0

2002-03-21 Thread Dave Smith


> -Original Message-
> From: Russell Coker [mailto:[EMAIL PROTECTED]]
> The point of my patch is that you don't need any other kernel module.

Sounds like a good reason to me :)

> > next, I plugged in the ADSL modem (USB) and ran "speedmgmt &". Then
> > repeatedly ran dmesg to view the kernel messages.
>
> Plug in the ADSL modem before you turn the machine on.  Keep the
> ADSL modem
> plugged in until you have halted the machine.  Do anything that involves
> changing the state of the ADSL hardware while the machine is running and
> expect a kernel panic.

so, do I need the speedmgmt program?

> > 4 time-out messages occur. 2 in the Bulk and 2 in the Control. Is this
> > normal?
>
> It's normal.
>
> > Q1, is there a new option in the "make menuconfig" for the modem?
>
> Yes.

Q1a) Where? (In which section should I look?)

Thanks for all the help, is there a document I could be looking at which
describes this process?

Dave Smith


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ADSL and debian3.0

2002-03-21 Thread Russell Coker

On Thu, 21 Mar 2002 20:10, Dave Smith wrote:
> re-compiled speedtouch module that came from linux-usb website, hmmm,
> perhaps I shouldn't have done that... Anyway, please confirm if I shouldn't
> have done that as I don't have access to the machine (it is at work, and I
> am not), and then ran modprobe speedtch.

The point of my patch is that you don't need any other kernel module.

> next, I plugged in the ADSL modem (USB) and ran "speedmgmt &". Then
> repeatedly ran dmesg to view the kernel messages.

Plug in the ADSL modem before you turn the machine on.  Keep the ADSL modem 
plugged in until you have halted the machine.  Do anything that involves 
changing the state of the ADSL hardware while the machine is running and 
expect a kernel panic.

> 4 time-out messages occur. 2 in the Bulk and 2 in the Control. Is this
> normal?

It's normal.

> Q1, is there a new option in the "make menuconfig" for the modem?

Yes.

> Q2, should I have re-installed that other speedtouch kernel module?

No.

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




what the heck is this ? Syslog: meminfo

2002-03-21 Thread Felipe Alvarez Harnecker



Hi,

in one machine with kerlnel 2.2.19 with cipe modules, the syslog is
showing this

Mar 20 17:10:26 atila kernel: Mem-info:
Mar 20 17:10:26 atila kernel: Free pages:  109752kB
Mar 20 17:10:26 atila kernel:  ( Free: 27438 (254 508 762)
Mar 20 17:10:26 atila kernel: NonDMA: 10*4kB 8*8kB 7*16kB 3*32kB 2*64kB 1*128kB 
0*256kB 1*512kB 1*1024kB 46*2048kB = 96312kB)
Mar 20 17:10:26 atila kernel: DMA: 2*4kB 1*8kB 3*16kB 2*32kB 2*64kB 1*128kB 1*256kB 
1*512kB 0*1024kB 6*2048kB = 13440kB)
Mar 20 17:10:26 atila kernel: Swap cache: add 0, delete 0, find 0/0
Mar 20 17:10:26 atila kernel: Free swap:   128484kB
Mar 20 17:10:26 atila kernel: 32512 pages of RAM
Mar 20 17:10:26 atila kernel: 715 reserved pages
Mar 20 17:10:26 atila kernel: 2181 pages shared
Mar 20 17:10:26 atila kernel: 0 pages swap cached
Mar 20 17:10:26 atila kernel: 2327 pages in file cache
Mar 20 17:10:26 atila kernel: 2327 pages in page cache
Mar 20 17:10:26 atila kernel: 16 pages in page table cache
Mar 20 17:10:26 atila kernel: Buffer memory:   2128kB
Mar 20 17:10:26 atila kernel: Buffer heads:  1232
Mar 20 17:10:26 atila kernel: Buffer blocks: 1201
Mar 20 17:10:26 atila kernel: Buffer hashed: 1200
Mar 20 17:10:26 atila kernel: CLEAN: 1200 buffers, 74 used (last=1152), 0 locked, 
0 protected, 0 dirty
Mar 20 17:10:26 atila kernel: Networking buffers in use  : 64
Mar 20 17:10:26 atila kernel: Total network buffer allocations   : 3743407
Mar 20 17:10:26 atila kernel: Total failed network buffer allocs : 0
Mar 20 17:10:26 atila kernel: IP fragment buffer size: 0


This is happenning just about two weeks ago, but no after that.

Could somebody enlight me ?

Thanx.

-- 
__

Felipe Alvarez Harnecker.  QlSoftware.

Tels. 204.56.21 - 09.874.60.17
e-mail: [EMAIL PROTECTED]

http://qlsoft.cl/
http://ql.cl/
__


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: ADSL and debian3.0

2002-03-21 Thread Dave Smith


> -Original Message-
> From: Russell Coker [mailto:[EMAIL PROTECTED]]
> On Thu, 21 Mar 2002 09:50, Dave Smith wrote:
> No, the patch I manage (I didn't write it ) is in unstable as
> kernel-patch-2.4-speedtouch, I've also got a
> kernel-patch-2.4-pppoatm for if
> you use an older kernel.

Ok, I have found the kernel-patch-2.4-speedtouch, installed it, and run the
apply script with no errors. I then proceeded to run "make-kpkg
kernel_image" which resulted in a ../kernel-image...deb. I then installed
that. Dpkg -i kernel Checked LILO was correct, and rebooted.

re-compiled speedtouch module that came from linux-usb website, hmmm,
perhaps I shouldn't have done that... Anyway, please confirm if I shouldn't
have done that as I don't have access to the machine (it is at work, and I
am not), and then ran modprobe speedtch.

next, I plugged in the ADSL modem (USB) and ran "speedmgmt &". Then
repeatedly ran dmesg to view the kernel messages.

4 time-out messages occur. 2 in the Bulk and 2 in the Control. Is this
normal?

Then the message saying that the link was established at 576 kbits download,
288 upload. Then came the illegal instruction.

This all happens before I even touch ppp.

This is a pretty complete account of my steps. Do not assume I did something
unless I have said that I did.

Q1, is there a new option in the "make menuconfig" for the modem?
Q2, should I have re-installed that other speedtouch kernel module?

Dave Smith


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RAID starter

2002-03-21 Thread Markus Oswald

On Thu, 2002-03-21 at 08:00, Angus D Madden wrote:

> Russel, would you recommend software RAID with a production system?  
> Have you tried it?  Curious.  I wonder as well if anyone has tried the
> new IDE-RAID controllers.

I installed a system with a Promise Fasttrack IDE-RAID controller a few
weeks ago and after compiling a fresh 2.4.17 kernel it worked just fine.

Though I wouldn't recommend it for a production system as the RAID has
to be resynced at BIOS-stage as soon as a disk fails. So if you use a
pair of 100GB drives it will take some hours to get the system up
again...

mfg Markus
-- 
Markus Oswald <[EMAIL PROTECTED]>  \ Unix and Network
Administration
Graz, AUSTRIA \ High Availability / Cluster
Mobile: +43 676 6485415 || +43 664 4865125 \ System Consulting
Fax:+43 316 428896  \ Web Development



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Where I Can Find OpenSSH+OpenLDAP Documents?

2002-03-21 Thread Russell Coker

On Thu, 21 Mar 2002 16:53, axacheng wrote:
> Does Anyone Know where i can find the OpenSSH+OpenLDAP implement
>
> documents in the internet??

Just use the PAM LDAP support and configure /etc/pam.d/ssh appropriately.

But first try nss-ldap as it's slightly easier to setup and has all the same 
config file formats etc.

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Where I Can Find OpenSSH+OpenLDAP Documents?

2002-03-21 Thread axacheng

Hell List : 

Does Anyone Know where i can find the OpenSSH+OpenLDAP implement

documents in the internet?? 

i was already used Google's search engine to search about this

reference(OPENSSH+OPENLDAP) BUT..might be it has stolen by 

alien @_@

thanks  
-- 
Trust & Unique ... 
axacheng <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: possible attack?

2002-03-21 Thread Chris Evans

On 21 Mar 2002 at 13:41, Joerg Wendland wrote: 

> On Thu, Mar 21, 2002 at 08:51:49AM -, Chris Evans wrote:
> > unix  1  [ ] STREAM CONNECTED 1123334 /dev/log
>   
> Look at the protocol, it has nothing to do with the network, it is connected
> through a UNIX socket.

Thanks.  I was clearly in mode!  Apologies all! 

I went and read more of the documentation on syslog-ng after sending 
that and was happy that the syslog-ng.conf was only allowing 
information to it from the server through local sockets as you say.  

What I need now is a pointer to an introduction to UNIX sockets and 
to how I work out why my server is suddenly exceeding the syslog-ng 
connection limit.  I think it was about a slightly higher than usual 
rate of activity in postfix but I'm not sure as I'm surprised it 
could have triggered that.  I think if I got my head around syslog-
ng.conf rather better and set up routes and filters that really made 
more sense of the logged data, I'd be in a better position to 
understand all this. 

Does anyone have a conf file they'd share with me?  Ideally for a 
single server with SMTP, POP3, SSH, NTP, APCUPSD and very little 
else, though I guess more complex set ups would be even more 
informative. 

Thanks Joerg and TIA to anyone who can point me on further. 

Chris 
PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling
   and Therapeutic Communities; practice, research, 
   teaching and consultancy.
Chris Evans & Jo-anne Carlyle
http://psyctc.org/ Email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RAID starter

2002-03-21 Thread Russell Coker

On Thu, 21 Mar 2002 08:00, Angus D Madden wrote:
> Russell Coker, Wed, Mar 20, 2002 at 08:41:41PM +0100:
> > On Wed, 20 Mar 2002 18:25, Angus D Madden wrote:
> > > When you have completed the configuration the disks will have to be
> > > "scrubbed".  This could take several hours.  Needless to say, you can't
> > > add RAID to a production server, it has to be set up with it in the
> > > beginning.
> >
> > For software RAID you can resize the file system to be 96K smaller and
> > then add a second disk as RAID-1.
>
> Russel, would you recommend software RAID with a production system?

Yes.  I'm running it on 5 servers at 3 sites.

> Have you tried it?  Curious.  I wonder as well if anyone has tried the
> new IDE-RAID controllers.

Of course I've tried it.  I wouldn't be recommending hacks like the resize by 
96K to add RAID to an existing system trick unless I'd tested it thoroughly.

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ADSL and debian3.0

2002-03-21 Thread Russell Coker

On Thu, 21 Mar 2002 09:50, Dave Smith wrote:
> Is your kernel-patch page at linux-usb.sf.net?
> I have used the speedtouch 1.5 released on August 2001, which seems a
> *very* long time ago

No, the patch I manage (I didn't write it ) is in unstable as 
kernel-patch-2.4-speedtouch, I've also got a kernel-patch-2.4-pppoatm for if 
you use an older kernel.

> > > Could it be the libc version I have? I am using the debian3 version
> > > (2.2...) and the mgmt.o file is compiled with 2.1.92(?)
> >
> > It's all working fine for me with the latest Debian unstable setup and
> > 2.4.18.  Now we just need to work out what's different between
> > your system
> > and mine.
>
> ok. Do you get the warnings about libc versions when you compile the
> alcatel mgmt program?

Yes, this is what I get.  It works anyway.
Warning: Object was compiled with egcs-2.91.66, not 2.95.4.
Warning: Object was compiled with libc-2.1.92, you APPEAR to be using 
libc-2.2.5

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




[OT] Re: "Theft" of data and providing the impossible

2002-03-21 Thread Emile van Bergen

Hi,

On Thu, 21 Mar 2002, J.B. Nicholson-Owens wrote:

> Also, I think it's a valid point to distinguish between theft and
> copyright infringement--unauthorized duplication is not theft.  They
> are two completely different things, regardless of how many people use
> the term "theft" incorrectly.

I agree, however my point was that the mere act of copying (i.c.
storing a streamed broadcast) is not even copyright infringement. Even
for that, you need to redistribute the work as well. IANAL, of course.

Of course people have the right to try and stop me, but they have no
right to prosecute. In other words, I'm legally entitled to try and do
with the content whatever, with whatever tools, written by whoever, as
long as I don't redistribute the work itself or anything derived
thereof.

That sounds fair, doesn't it? To bad the DMCA breaks all that. Luckily
I'm not affected by it, at least not directly, not yet.

That is, until people start to believe it's indeed "wrong" to use
content in other ways than the producer intended. IMNSHO, it's not, and
I've never seen a *good* reason (taking society as a whole into account,
not just a single company's "right" to make a profit, conveniently
leaving out that it's actually a right to *try* to make a profit) why it
would be.

Cheers,


Emile.

--
E-Advies / Emile van Bergen   |   [EMAIL PROTECTED]
tel. +31 (0)70 3906153|   http://www.e-advies.info


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




possible attack?

2002-03-21 Thread Chris Evans

Logcheck has just reported 29 lines like these:
Mar 21 07:54:51 www syslog-ng[137]: Error accepting AF_UNIX 
connection, opened connections: 100, max: 100
Mar 21 07:54:51 www syslog-ng[137]: Error accepting AF_UNIX 
connection, opened connections: 100, max: 100

and netstat -a shows a lot of connections:

unix  1  [ ] STREAM CONNECTED 1123334 /dev/log
unix  1  [ ] STREAM CONNECTED 1116966 /dev/log
unix  1  [ ] STREAM CONNECTED 1116962 /dev/log
unix  1  [ ] STREAM CONNECTED 1116959
unix  1  [ ] STREAM CONNECTED 1116958
unix  1  [ ] STREAM CONNECTED 1116955
... and 20 to 40 or so more like that then:

unix  1  [ ] STREAM CONNECTED 1116901 /dev/log
unix  0  [ ] STREAM   924323
unix  1  [ ] STREAM CONNECTED 235/dev/log

My sense is that someone is attacking the system possibly 
accidentally and it's about people trying to establish syslog-ng 
connections to my (solitary) box ... but I have to recognise that I'm 
out of my depth here.  Man syslog-ng didn't throw much light on 
things for me.

Anyone any advice?

TIA,

Chris
PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling
   and Therapeutic Communities; practice, research, 
   teaching and consultancy.
Chris Evans & Jo-anne Carlyle
http://psyctc.org/ Email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: ADSL and debian3.0

2002-03-21 Thread Dave Smith

> -Original Message-
> From: Russell Coker [mailto:[EMAIL PROTECTED]]
> On Wed, 20 Mar 2002 19:44, Lin Smith wrote:
> > I have been attempting to get the Alcatel modem to operate on Debian 3.0
> > for a while now. I am using the 2.4.18 kernel as that apparently doesn't
> > need patching to obtain ppp over atm. I am using the patched
> tar.gz which
> > includes the pppoatm.so file which is needed for ppp to operate over an
> > ADSL link. I have the latest opensource kernel module, and the
> alcatel mgmt
> > stuff.
>
> Is that kernel module taken from my kernel-patch package?

Is your kernel-patch page at linux-usb.sf.net?
I have used the speedtouch 1.5 released on August 2001, which seems a *very*
long time ago

> > Could it be the libc version I have? I am using the debian3 version
> > (2.2...) and the mgmt.o file is compiled with 2.1.92(?)
>
> It's all working fine for me with the latest Debian unstable setup and
> 2.4.18.  Now we just need to work out what's different between
> your system
> and mine.

ok. Do you get the warnings about libc versions when you compile the alcatel
mgmt program?

Dave


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: debconf: delaying package configuration, since apt-utils is not installed

2002-03-21 Thread Colin Watson

On Tue, Mar 19, 2002 at 02:14:43PM +0100, alexis bory wrote:
> So yesterday I tried to :
>apt-get install less on a woody
> (to fetch dpkg -l whith up and down arrows) and I have been gratified whith
> a :
>debconf: delaying package configuration, since apt-utils is not installed

That is not an error, so don't panic. All it's saying is that debconf
isn't going to do its trick of asking configuration questions for some
packages before they're installed (because apt-utils isn't present).
Instead, it will fall back to asking those questions after the packages
have been unpacked.

Just continue as normal - nothing has gone wrong.

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]