Re: serial port config

2004-09-27 Thread David Rio Deiros
 So, let me get this straightI am going to add:
 
 device sio0 at isa? port IO_COM1 flags 0x10 irq 4
 
 to the kernel configuration, aka the GENERIC file in /usr/src/sys/i386/conf 
 if the
 system is not customized at all?

What you are doing is to tell the kernel what he needs to do to
configure that device. If by not customized at all you mean you don't
have the hardware in the computer yet, there is no problem, when you
will boot the kernel it will give up if there is no hardware.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: serial port config

2004-09-27 Thread David Rio Deiros
 config: /usr/src/sys/i386/conf/GENERIC:279: devices with zero units are not 
 likely to be correct
 
 What file do I add this line to?:
 
 device sio0 at isa? port IO_COM1 flags 0x10 irq 4

Check out this thread:

http://www.webservertalk.com/archive77-2004-1-50488.html


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


make release question

2004-09-24 Thread David Rio Deiros
Hi,

I have a FreeBSD 5.2.1-RELEASE-p9 machine. I want to create a release
from that system to install FreeBSD on other machines. I have been
reading the handbook about how to make a release and I have a question.
As far as I understood, the way to create a relese could be:

# cd /usr/src
# make buildworld
# cd release
# make release CHROOTDIR=/local3/release BUILDNAME=5.2.1-RELEASE-p9 \
CVSROOT=/usr MAKE_ISOS=YES RELEASETAG=RELENG_5.2

Is that correct?

I have doubts about the CVSROOT variable. As far as I understood, that
variable points to the cvsrepository where you have the sources you want
to use to create the release. In my case in /usr I have the
5.2.1-RELEASE-p9 sources.

Well, launching the above commands I get the following error:

--
 Installing everything..
--
cd /usr/src; make -f Makefile.inc1 install
=== share/info
install -o root -g wheel -m 444  dir-tmpl
/local3/release/usr/share/info/dir
=== include
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127
 
Stop in /usr/src/include.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src.
*** Error code 1
 
Stop in /usr/src/release.

Touch is in /usr/bin which in the root path.
Can some want help me with this?

Thank you.

-David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: correct way to upgrade ssh

2004-07-30 Thread David Rio Deiros
 I have seen a few threads lately about ssh and upgrading/updating it. 
 What is the correct method for updating ssh that was installed as part
 of the base system.  Uninstall and install openssh from ports?

As you say, openssh is part of the base system. So just follow the
typical process (handbook is our friend) and update your sources, 
compile and so on.

David.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


using /usr/ports between jails

2003-10-24 Thread David Rio
Hi:

I want to share my /usr/ports between some jails. /usr/ports and
jails are running on the same machine.
AFAIK I have two options:

1. nfs (export /usr/ports through nfs)
2. mount_union: 
   # mount_union /usr/ports /usr/jail/jail1/usr/ports
 
Is there anyone using any of this options? Can you share with
me your experiences?  

Thanks.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ethereal port - problems linking with libnetsnmp

2003-09-22 Thread David Rio
Hi all:

I am trying to install ethereal from ports. But I always get 
the same error at the link stage:


/usr/local/lib/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/local/lib/libnetsnmp.so: undefined reference to `des_key_sched'
/usr/local/lib/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'


It seems that ethereal port expects another libnetsnmp which is really 
curious because I have the lib version which ports requires:

big:/usr/ports/net/ethereal $ make pretty-print-build-depends-list
...  net-snmp-5.0.9 ...

big:/usr/ports/net/ethereal $ portversion -v | grep net-snmp
net-snmp-5.0.9  =  up-to-date with port

So it seems that ethereal requires a library which when linked with
ethereal sources doesn't offer the necessary simbols.

Anyone can help me with this topic?

BTW, My ports are up to date. I have tried to deinstall net-snmp-5.0.9
but I get the same error as well.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for wireless camera compatible with FreeBSD

2003-09-04 Thread David Rio
On Thu, Sep 04, 2003 at 08:57:54AM -0400, Jim Freeze wrote:
 Hi
 
 I am looking for a small wireless camera that can take pictures
 at user specified intervals. I'm sure that there are many such 
 cameras that work with Windows, but I haven't found one capable
 of working on Unix. 
 
 If you know where I can find such a camera, I would greatly appreciate
 a contact point.
 

I have a D-Link wireless camera:

http://www.dlink.com/products/?pid=41

You can setup a ftp server on you FreeBSD machine and setup the camera
to download the images to your ftp server at a specific interval.

I have a D-Link one, but another manufacturer might have something 
similar.

Good luck.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound Card ALi M5451

2003-07-25 Thread David Rio
Hi all:

I am trying to configure my laptop (hp omnibook xt6200) with FBSD and 
I'm a bit stucked with the sound card: it is a ALi M5451. It seems 
that it is not supported (I am running 4.8-STABLE).
I have found a patch on internet to get working this card (check: 
http://home.att.ne.jp/delta/athlete/m5451_e.html) but I want to 
know your experiences with this card before to try the patch. 
Anyone has any experience with this SOund card and FreeBSD? 

Thanks.

 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RELENG_5 ?

2003-07-21 Thread David Rio
Hi all:

I have been using FreeBSD in production enviroments so I used FreeBSD 4.7 and 4.8.
Now, I have installed FreeBSD 5.1 on my laptop. 
So I decided to keep track of the -RELEASE_5 (STABLE). But It seems that there is 
not such a branch on the repository.
Reading diferent links at freebsd.org. It seems that there is only to branchs for 
5.1:

-CURRENT
-RELENG_5_1

The first one, I think can be a very agresive for my intentions. The second one,
instead, will not modify my sources to improve the performace because it is a 
patch branch.

If I am not wrong with this, what will be the reason to install 5.1 instead 4.8?
I mean, 5.1 has more features but a worst performace that 4.8. On the other hand,
there is no -STABLE branch of 5.1 so the only way to keep you system up to date
is follow the -CURRENT branch which is a little agresive in my case.

Thanks in advance.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TeX, teTeX, laTeX which one?

2003-07-17 Thread David Rio
On Wed, Jul 16, 2003 at 09:55:26PM +0200, dick hoogendijk wrote:
 I want to get to learn the world of TeX.
 I know I have to read some books about it, but I'm a little confused
 about which port(s) I need to install.
 
 TUG (TeX User Group) speaks of teTeX, but in the ports is also a TeX
 
 I guess I have to install teTeX. Am I right?
 
 What extra programs are relevant to install? (LaTeX, pdflatex, metafont,
 LyX, JadeTeX)???
 

Install TeTeX and get the Tobias Oetiker introduction to Latex: 
Not too short introduction to Latex

In two hours you will be taking profit to Latex.

Good luck and enjoy .
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sending sms messages using a nokia 22 premicell (from FreeBSD)

2003-07-10 Thread David Rio
Hi all:

Is there anyone out there with experience sending sms using the 
nokia 22 hardware aka premicell?

I have some problems and I will appreciate a bit of help with this
topic.

Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vmstat question

2003-06-27 Thread David Rio
On Thu, Jun 26, 2003 at 02:26:30PM -0400, Jason Lieurance wrote:
 Hello,
 
 I have FreeBSD 4.7 on a P3 933mhz, 18 GB U320 HD, Adaptec 29160
 controller, and 512 MB DDR ram. When I ran vmstat -w 3 the b under
 processes shows a constant 10 forever. Is this a concern or is it nothing?
 Our system is a DNS, web, and email server. Thanks.
 

Well, it means that 10 process are blocked for resources (see vmstat(8)).
That is not a good thing.
What are you running on this server-machine?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CUPS printer installation problem

2003-06-17 Thread David Rio
On Mon, Jun 16, 2003 at 05:20:06PM +0300, Bogdan Mihalcea wrote:
 Hello!
 
 I have compiled and installed the CUPS package (cups, cups-base, 
 cups-lpr, cups-pstoraster). All went well, I had no errors whatsoever. 
 After, I tried to install (add) my printer with the command  # kprinter 
 (Add Printer wizard, under KDE). In spite of the fact that the 
 foomatic-db package is also installed, when I try to install my local 
 printer (on the parallel port), the Printer Model  Selection dialog box 
 is empty, and I have no printers in my database.
 It would be of great help for me if you could give me a hint how to 
 solve the problem, because I can not use my printer under FreeBSD at 
 all. I'm using FreeBSD 5.1 at home, but I have the same problems at 
 office, where I use FreeBSD 4.8.

Try to use the web interface. Take a look to this link:

http://www.freebsddiary.org/cups.php

In this article, they use a USB printer but it might be useful. 

Ahh.. you must read the cups documents they have a lot of useful
information.

 Thank you very much and excuse me for the trouble I'm causing.
 

You are not causing troubles. :)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Modem

2003-06-06 Thread David Rio
On Thu, Jun 05, 2003 at 09:24:18AM +0200, Jeandre du Toit wrote:
 
 Does anyone know how to configure a USB Modem on FreeBSD?
 
 Please Cc me.
 

Check here:

http://www.freebsd.org/releases/5.0R/hardware-i386.html#USB

If your modem implements the Communication Device Class, it 
will work with freebsd.

If it is supported after plug it on the bus, you will be able
to use it as a serial modem. From umodem(4):

   The device is accessed through the ucom(4) driver which makes it behave
 like a tty(4).

Good luck.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB Wireless Network Adapter

2003-03-29 Thread David Rio
On Fri, Mar 28, 2003 at 08:10:25PM -0600, Zachariah P Garner wrote:
 Does anyone know if there are any USB Wireless network adapters that are
 supported under FreeBSD? (I'm running 5.0)


I think it will be difficult that you find such USB driver, bear in mind
that this kind of devices are not compliant with any type of usb class
and they use propietary protocols.
 
 I have read the map pages for wi, but they only list PCMCIA cards. I know
 that many companies have a PCI version of the pcmcia card. 

Well you can pick up a PCMCIA-PCI adapter.

 Are there particular manufacturers that I should purchase from or avoid? 

There is a manufactures' tendency to use particular chipset which make difficult
to develope new drivers beacuse they don't provide the necesary documentation.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb device driver skeleton?

2003-03-26 Thread David Rio
On Tue, Mar 25, 2003 at 08:48:03PM -0500, taxman wrote:
 On Tuesday 25 March 2003 12:15 pm, David Rio wrote:
  Hi all:
 
  I want to port a linux device driver that I did to *BSD. I would
 
 That would be great.

Yes.. We have to help BSD movement, if not linux will eat us. :)

  like to know if there is some source of information to develope
  usb device drivers in freebsd. Handbook talks about usb in general,
  an about device drivers but not about usb device drivers. My last
  option is to read some usb DD already coded but before that I would like
  know if there is some other beginner source of information.
 
 Yep, the thing you need is the developers handbook.  You can get to it from 
 the other docs page.  Here is the USB section:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/usb.html

I have looked this page, but there they explain how the usb system works and 
there is no USB comment code.

 
 Beyond that, the source of other drivers will be what you need.  I think 
 you'll want to look at the ugen(4) manpage and code too,

That is better. But ugen(4), if I am not wrong, it is a API for create userland
drivers. 
I would like to write a real usb char device driver.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb device driver skeleton?

2003-03-26 Thread David Rio
 May I ask what USB device you are writing for, as I am looking at developing
 a USB interface for UPS support so NUT can use my UPS (ATM I can only use it
 under Linux ikkies)So we may be able to share knowledge and reach both our
 goals faster.

It would be great. We can talk about it by email.
Regarding to my USB device, it is a mp3 player based on compact flash.
I would like to create a char device driver to implement the classical
read/write/open/close/ioctl syscalls.

I am still reading and searching for information to create the driver but
I think that there is a lack of information about this topic.  What do you
think about?
If we make the driver, it would be interesting to create some docs 
for other BSD device driver writers... 
 
 BTW is there a USB team in FreeBSD ?

I have been talking with Nick Hibma, he has a USB-freebsd homepage, in 
fact there is a mailing list. He told me that there is no doc/paper that
explain the structs/macros to develope usb drivers. We will have to 
read code from other drivers which will be more complicated but that is 
the only solution...



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb device driver skeleton?

2003-03-25 Thread David Rio
Hi all:

I want to port a linux device driver that I did to *BSD. I would 
like to know if there is some source of information to develope
usb device drivers in freebsd. Handbook talks about usb in general,
an about device drivers but not about usb device drivers. My last
option is to read some usb DD already coded but before that I would like
know if there is some other beginner source of information.

Thanks in advance... this list rocks.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: good compact flash/smart card readers?

2003-03-12 Thread David Rio
On Wed, Mar 12, 2003 at 10:30:46AM +1100, JacobRhoden wrote:
 Im about to buy a usb cf card reader (i want to be able to write to cf cards) 
 does anyone here have one they would reccomend which works well in FreeBSD?

I have been using a CF-PCMCIA adapter (from sandisk)... It works like a charm 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Laptop sugestions?

2003-02-07 Thread David Rio
On Thu, Feb 06, 2003 at 07:19:36PM -0500, stan wrote:
 Looks like I might be getting to order a new laptop at work to replace the
 4 year old HP that I have. this machine will be a FreeBSD machine.

great.

 
 What machines should I be looking at? Assume that I have about $2k to
 spend.

Try dell. Inspiron 8200 seems great. Of course you must be careful with the
hardware, but for me there is another important feature that I take care
every time I buy a laptop: keyboard. Today, there is a annoying tendency to
put unuseful keyboards on laptops.
Inspirons 8200 are great, but they weigh so much. If you are going to use it
at your work maybe you don't mind that the laptop weigh four-five kg.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message