Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Oliver Fromme
On the topic of switches... Does anyone have experience (good or bad) with the CNet CNSH-1601 or CNSH-2401? Those are unmanaged 19" switches (10/100) with 16 and 24 ports, respectively, and a 100BaseFX (fibre) uplink port. And they're suspiciously cheap over here [1]. We might get one of those

Re: splimp for PCI

1999-12-20 Thread Bosko Milekic
On Mon, 20 Dec 1999, Alex wrote: !>This message was sent from Geocrawler.com by "Alex" <[EMAIL PROTECTED]> !>Be sure to reply to that address. !> !>Hello, !>I'm little confuse to using splimp/splx in driver !>that support PCI board. IRQ is shared for PCI. !>Is using splimp can cause for some pr

Re: Resolv.conf question

1999-12-20 Thread Jim Durham
Bjorn Danielsson wrote: > > Jim Durham <[EMAIL PROTECTED]> wrote: > > The 3.3 Box is a local server on a disconnected LAN talking > > to a "remote" server that spools mail, which is grabbed by > > fetchmail. We are running PPP on-demand to the external > > server via a dial-up to an ISP. However,

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Tim Tsai
> something like this (which is fine...), but I was wondering how > much one has to fork out before you get extra options like a > port-mirroring capability... You usually find this capability on managed switches (fairly obvious, since you need a management interface to configure port mirroring

motherboard serial port dropping chars ?

1999-12-20 Thread Joe McGuckin
I have an application where I need to receive data constantly on a serial port at 38,400. When we write the data to a database, we constantly see dropped chars on the incoming serial port. Is the stock PC serial hardware capable of sustained thruput at 38.4K? Is there an ioctl option or somet

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Garance A Drosihn
At 11:18 PM -0700 12/18/99, Wes Peters wrote: >Matthew Dillon wrote: > > Prices have fallen a lot in the last year. I'm happy to be able to > > get rid of my HUBs, I was constantly having to deal with packet loss > > when running saturation tests and never able to figure out what > >

Re: Practical limit for number of TCP connections?

1999-12-20 Thread Jason Evans
On Mon, Dec 20, 1999 at 08:24:28PM -0500, Chris Sedore wrote: > On Mon, 20 Dec 1999, Jason Evans wrote: > > I disagree with your assessment that scalability of one thread per > > connection is proportional to the quality of the threads implementation. > > An ideal threaded program would have exact

Re: Practical limit for number of TCP connections?

1999-12-20 Thread Chris Sedore
On Mon, 20 Dec 1999, Jason Evans wrote: > On Sun, Dec 19, 1999 at 03:01:41PM -0500, Chris Sedore wrote: > > > > > > On Sat, 18 Dec 1999, Alfred Perlstein wrote: > > [...TRIM...] > > > Using a thread per connection has always been a bogus way of programming, > > > it's easy, but it doesn't wo

Re: Practical limit for number of TCP connections?

1999-12-20 Thread Jason Evans
On Sun, Dec 19, 1999 at 03:01:41PM -0500, Chris Sedore wrote: > > > On Sat, 18 Dec 1999, Alfred Perlstein wrote: > > > On Sat, 18 Dec 1999, Kevin Day wrote: > > > > > > The _clean_ way of doing it would be to write your multi-user server using > > > > threads, and to assign one thread to each

Default minfree performance restrictions?

1999-12-20 Thread Ryan Thompson
Hello all, After creating some larger slices than I'm used to, I finally felt the full force of a default 8% minfree setting. So, I went to tunefs(8) to try and put a damper on the multiple gigabytes that aren't being made available to users. However, I was a bit disappointed to note that setti

RE: Alternate ftpd?

1999-12-20 Thread Don Read
On 19-Dec-99 David Miller wrote: > Hello all:) > > I'm looking for an alternate ftpd which allows me to take certain > (configurable) actions based on the receipt of certain files. For exmple, > I want to "process" a tar file full of jpg images upon receipt. > > I know there are alternatives.

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Matthew Dillon
:Yes. The nice thing about modern swithcing power supplies are that if :you DO hear any vibration, you know you have big problems and are :courting disaster. At least that's my experience in homebrewing a 12V :-> 16V converter for my Sony VAIO 505TS. The original magnetics I :chose easily over

Re: Parallel-port ethernet interfaces

1999-12-20 Thread Peter Jeremy
On 1999-Dec-20 02:32:06 -0700, Wes Peters <[EMAIL PROTECTED]> wrote: >> In message <[EMAIL PROTECTED]> Brian >Beattie writes: >> : Anybody know of any currently available, that are supported by FreeBSD? >> >> No. > >Yes. Another FreeBSD machine, with an ethernet interface and a parallel port >f

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Warner Losh
In message <[EMAIL PROTECTED]> Matthew Dillon writes: : :or higher, which makes things a whole lot easier. No 60Hz humm, no : :vibration - hell, you can even run the frequency up past 100 MHz and : : Needless to say I

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Matthew Dillon
:or higher, which makes things a whole lot easier. No 60Hz humm, no :vibration - hell, you can even run the frequency up past 100 MHz and Needless to say I meant 100 KHz here, not 100 MHz.

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Matthew Dillon
:> :"everyone" here). :> :> This is not true at all. : :Oh, and how many products have you passed through FCC/EC/Japanese environmental :certification? None, apparently. Four in the last 15 years. I've been involved with in-home electronic management systems and believe me, all t

Re: USB ethernet hacking

1999-12-20 Thread Doug Ambrisko
Julian Elischer writes: | | | On Sun, 19 Dec 1999, Bill Paul wrote: | > > | > > We just copied the data from the mbuf into a dedicated | > > buffer and freed the mbuff immediatly. | > | > Did you just allocate a buffer with malloc() (or contigmalloc()), or | > did you use usbd_alloc_buffer()?

Re: DES routines?

1999-12-20 Thread Ptacek
ay, December 20, 1999 2:51 AM Subject: Re: DES routines? > -On [19991220 05:55], Ptacek ([EMAIL PROTECTED]) wrote: > >I am looking for some routines to perform DES encryption in electronic code > >book mode. > >I have found the ecb_cyrpt function, however when I try and use it t

splimp for PCI

1999-12-20 Thread Alex
This message was sent from Geocrawler.com by "Alex" <[EMAIL PROTECTED]> Be sure to reply to that address. Hello, I'm little confuse to using splimp/splx in driver that support PCI board. IRQ is shared for PCI. Is using splimp can cause for some problem? Thank a lot Alex Geocrawler.com - The Kno

Re: USB ethernet hacking

1999-12-20 Thread Nick Hibma
> P.S.: Please don't write me asking for help getting your USB ethernet > adapter work with FreeBSD. Don't ask me when/if the driver will > be done. Don't ask me if your favorite adapter will be supported. > Don't ask me how to make the code work with FreeBSD 3.x. :-))) What's w

Re: USB ethernet hacking

1999-12-20 Thread Nick Hibma
> However that's not my biggest problem. My biggest problem is getting > transfers over 1100 bytes or so to work reliably. My initial scheme > for transmitting and receiving packets was to set up asynchronous > transfers with callbacks. Packets are sent over bulk transfer endpoints > (one for RX,

Terminal colors

1999-12-20 Thread Alexey N. Dokuchaev
Hi! Say I want to change the man colors when I read mans at the console. More precisely, I don't like that underlined text shows up as reversed (black letter on while(grey,7) backround). How (and where) do I need to say that I want, say, yellow on black instead of reversed when displaying unde

Re: USB ethernet hacking

1999-12-20 Thread Nick Hibma
> I don't think there was anything special about the memory used for > a buffer. There isn't. All i386 mem is DMA-able. I still have to make things work with bus_dma and friends. Nick -- [EMAIL PROTECTED] [EMAIL PROTECTED] USB project http://www.etla.net/

Re: USB ethernet hacking

1999-12-20 Thread Nick Hibma
Your register read will take at least 1msec. That is the time between scheduling the transfer and the interrupt being triggered for completion. But typically it will take 2msecs. Nick > > Because this is not an asynchronous task that I'm trying to do here. > > I'm talking about reading and wr

Re: USB ethernet hacking

1999-12-20 Thread Nick Hibma
> I have worked around this for now by hacking usbdi.c so that it polls > the controller interrupt/status register instead of tsleep()ing. I'm not > sure this is the best solution, but it's the only one that seems to work. It isn't. You don't want to be polling for 2msecs for every register trans

Re: USB ethernet hacking

1999-12-20 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Mike Smith had to walk into mine and say: > > > why not use the async method? > > > > Because this is not an asynchronous task that I'm trying to do here. > > I'm talking about reading and writing registers from the ethernet > > controll

Re: USB ethernet hacking

1999-12-20 Thread Mike Smith
> > > bus_space_read_X()/bus_space_write_X() to read the registers directly. I > > > don't want to start reading a register and then come back a while later > > > to read the results. The code isn't meant to work like that. > > > > Unfortunately, given that your 'register read request' is being

user-level asynchronous I/O

1999-12-20 Thread Zhihui Zhang
Is there such a thing called "user-level asynchronous i/o" in FreeBSD? I assume that the aio_read(), aio_write() stuff is kernel-based asynchronous i/o. SIGIO is also a kernel stuff. Thanks for any enlightment. -Zhihui To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebs

Re: Practical limit for number of TCP connections?

1999-12-20 Thread Peter Wemm
Tony Finch wrote: > Peter Wemm <[EMAIL PROTECTED]> wrote: > > > >I'm aware of boxes having been tested to ~100,000 connections if my memory > >serves correctly. I know there were problems going over 64k connections at > >one point due to a 16 bit reference counter in the routes. > > The fix for

Re: Practical limit for number of TCP connections?

1999-12-20 Thread Nate Williams
> >Using a thread per connection has always been a bogus way of programming, > >it's easy, but it doesn't work very well. > > OK, even if nobody else does, I'll bite. Even something as lightweight as a thread is still too heavy for large systems. Nate To Unsubscribe: send mail to [EMAIL PRO

Re: Practical limit for number of TCP connections?

1999-12-20 Thread John Polstra
In article <[EMAIL PROTECTED]>, Ronald F. Guilmette <[EMAIL PROTECTED]> wrote: > > The other way is just have your server be a single thread/process, and to > have it keep one big list of all of the connections (i.e. socket fds) that > it has open at present. Then it just executes mail loop, ove

Re: Practical limit for number of TCP connections?

1999-12-20 Thread John Polstra
In article <[EMAIL PROTECTED]>, Ronald F. Guilmette <[EMAIL PROTECTED]> wrote: > > Is there code somewhere, perhaps within the libc implementation of read(2) > that looks to see what kind of device I am reading from, and then does two > different things if the read is for a disk file versus a rea

Re: USB ethernet hacking

1999-12-20 Thread Jason Thorpe
On Sun, 19 Dec 1999 17:18:37 -0500 (EST) Bill Paul <[EMAIL PROTECTED]> wrote: > Because this is not an asynchronous task that I'm trying to do here. > I'm talking about reading and writing registers from the ethernet > controller. If this was a PCI device, I'd be using > bus_space_read_X(

DES routines?

1999-12-20 Thread Ptacek
I am looking for some routines to perform DES encryption in electronic code book mode. I have found the ecb_cyrpt function, however when I try and use it the buffer is not encrypted. Am I missing something, do these functions not work, and is there a better way of doing this? Below I have included

Re: FreeBSD Threads (was Re: Practical limit for number of TCP connections?)

1999-12-20 Thread Russell L. Carter
%On Sun, Dec 19, 1999 at 02:49:26PM -0800, Ronald F. Guilmette wrote: % %> I dunno if it goes without saying or not, but this certainly makes %> the current FreeBSD threads implementation highly unpalatable, except %> to support ported code which has been developed elsewhere and which %> is alread

Re: USB ethernet hacking

1999-12-20 Thread Julian Elischer
On Sun, 19 Dec 1999, Bill Paul wrote: > > > > We just copied the data from the mbuf into a dedicated > > buffer and freed the mbuff immediatly. > > Did you just allocate a buffer with malloc() (or contigmalloc()), or > did you use usbd_alloc_buffer()? ummm I don't have the driver with me her

Re: Multi Head XFree86 VGA card recomendations wanted

1999-12-20 Thread Wes Peters
Chrisy Luke wrote: > > Wes Peters wrote (on Dec 16): > > Have you considered buying Metro-X? It supports up to 4 screens on just > > about any combination of AGP and PCI Matrox cards. For more information, > > see http://www.metrolink.com/productindex.html and look for Multi-Headed > > Display

When can I call kthread_create?

1999-12-20 Thread Warner Losh
When can I call kthread_create? I tried in the driver attach, but that failed in fdcopy() calling vref with a NULL pointer. I tried calling at the end of config (in config_intrhook_establish called function), but no dice. I see that this makes its calls at SI_SUB_INT_CONFIG_HOOKS (0xa80 in

Re: Cool little 100BaseTX switch - they're coming down in price

1999-12-20 Thread Wes Peters
Matthew Dillon wrote: > > :> I really hate these switching regulated DC wall plugs. They always use > :> cheap caps in them to save money and then don't bother adding any > :> protection to the motherboard. I prefer AC wall plugs or unregulated DC > :> wall plugs and then a smal

Serial boot prompt messages and a modem

1999-12-20 Thread Justin Hawkins
Hi there, I've recently had .. ahem .. fun trying to get my headless FreeBSD box to spit messages at the console. I've got the kernel doing it right, but not the boot loaders. The boot loader will print to the serial device - but it won't load my kernel :-( I haven't exhausted all oppurtunities h

Re: Parallel-port ethernet interfaces

1999-12-20 Thread Wes Peters
Warner Losh wrote: > > In message <[EMAIL PROTECTED]> Brian >Beattie writes: > : Anybody know of any currently available, that are supported by FreeBSD? > > No. Yes. Another FreeBSD machine, with an ethernet interface and a parallel port for running PLIP over. They are kind of large, though.

Applixware

1999-12-20 Thread Andrew Kenneth Milton
To whom do I send Kudos for Applixware? All I need is an icon for my WindowMaker Dock, and I'll be v. happy d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M

Re: DES routines?

1999-12-20 Thread Jeroen Ruigrok van der Werven
-On [19991220 05:55], Ptacek ([EMAIL PROTECTED]) wrote: >I am looking for some routines to perform DES encryption in electronic code >book mode. >I have found the ecb_cyrpt function, however when I try and use it the >buffer is not encrypted. apropos des and look at the manpage

UTC time in crontabs

1999-12-20 Thread Bjorn Danielsson
I have made a small patch (about 10 lines of code) to "cron" that lets people choose between localtime and gmtime for their crontab entries. The choice is made depending on the setting of an environment variable in the crontab file. The cost is a factor 2 for the tiny amount of work that cron does