




Date: Sat, 11 Jan 2003 21:02:46 -0700 (MST)
From: "M. Warner Losh" <imp@bsdimp.com>



Here's what I use.  I'm using it right now to send you this message:
            
ifconfig wi0 ssid SSIDduImp channel 7 media DS/11Mbps mediaopt hostap debug up
sysctl net.link.ether.bridge=1
sysctl net.link.ether.bridge_cfg='wi0 ed0'

I've not tried setting WEP keys, but if you are, I'd try:

ifconfig wi0 ssid SSIDduImp channel 7 media DS/11Mbps mediaopt hostap \
         debug wepmode on wepkey 0xxxxxxxxxxxxxxxxxxxxx up

Note that your problems were that you didn't say 'media DS/11Mbps' in
your ifconfig.

That's likely the root of the problems.

Warner

































XXX finish me.

USB

Date: Sun, 17 Nov 2002 17:41:49 +0000
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject: Re: Epson Stylus Color installation problem

On Sun, Nov 17, 2002 at 06:37:38PM +0100, hymette@wanadoo.fr wrote:
> I did not see any recommendation in the Handbook to set up 
> communication mode with usb printers. When I run lptcontrol ... the 
> answer is "ioctl : Operation  not supported by the device". Is it normal 
> ? Is there anything to change in the kernel to set the mode to polled or 
> interrupt ?

See the ppbus(4), ppi(4) and ppc(4) man pages. The ability to change
mode on the parallel bus is a feature of certain chipsets and may not
be available on your hardware --- for instance my Asus A7V266
motherboard only supports NIBBLE mode:

    % grep ppc /var/run/dmesg.boot
    ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
    ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode

        Cheers,

        Matthew

Date: Mon, 18 Nov 2002 00:04:27 +0100
From: Bernd Walter <ticso@cicely8.cicely.de>
To: hymette@wanadoo.fr
Cc: freebsd-hardware <freebsd-hardware@FreeBSD.ORG>,  
        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject: Re: Epson Stylus Color installation problem

On Sun, Nov 17, 2002 at 06:37:38PM +0100, hymette@wanadoo.fr wrote:
> I did not see any recommendation in the Handbook to set up 
> communication mode with usb printers. When I run lptcontrol ... the 
> answer is "ioctl : Operation  not supported by the device". Is it normal 
> ? Is there anything to change in the kernel to set the mode to polled or 
> interrupt ?

You are connecting to usb!
lptcontrol is for - well for the lpt device - lpt != ulpt.
Does dmesg show succesfull probing of ulpt0?
Do you have usbd_enable="YES" in /etc/rc.conf?
Are you using /dev/ulpt0 and -not- /dev/lpt0?
Can you print with echo test > /dev/ulpt0?

Date: Mon, 18 Nov 2002 00:34:19 +0100
From: hymette@wanadoo.fr
To: ticso@cicely.de   
Cc: freebsd-hardware <freebsd-hardware@FreeBSD.ORG>,  
        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject: Re: Epson Stylus Color installation problem

First let me tell you that I they gave me the solution, so now my driver
prints: I had installed ghostscript as a pkg when the ghostscript driver
(stp stcolor) required by apsfilter was only available through
compilation from the port. I had no luck with cups, not even the web
interface wanted to open, nor the commands to answer . I suppose I'll
have to study how this application works some day (the ghostscript
Makefile warns: stp is outdated).

yes I'm using ulpt0 - sorry if I don't catch the difference between  I/O
services!
no, before installing the driver it was not possible to print anything!

Anyway many thanks for your concern.

Bernd Walter wrote:

>On Sun, Nov 17, 2002 at 06:37:38PM +0100, hymette@wanadoo.fr wrote:
> 
>
>>I did not see any recommendation in the Handbook to set up 
>>communication mode with usb printers. When I run lptcontrol ... the 
>>answer is "ioctl : Operation  not supported by the device". Is it normal 
>>? Is there anything to change in the kernel to set the mode to polled or 
>>interrupt ?
>>   
>>
>
>You are connecting to usb!
>lptcontrol is for - well for the lpt device - lpt != ulpt.
>Does dmesg show succesfull probing of ulpt0?
>Do you have usbd_enable="YES" in /etc/rc.conf?
>Are you using /dev/ulpt0 and -not- /dev/lpt0?
>Can you print with echo test > /dev/ulpt0?

.De