FreeBSD and multi-port serial cards

2008-05-15 Thread Andy Miller
I have a multi-port serial card that uses the puc driver. It doesn't work
out of the box, but I found a patch on the hackers list that claims to
fix the problem. My problem now is that it seems that the code for this
driver has been completely redone in FreeBSD 7.0. Can someone help me
translate the patch below to work on a 7.0 system?

--- pucdata.c.org   Sat Dec 16 00:31:37 2006
+++ pucdata.c   Thu Mar 22 13:03:32 2007
@@ -865,6 +865,17 @@
},
},
 
+   {   Oxford Semiconductor Ltd OX16PCI954 Quad UART,
+   {   0x1415, 0x9501, 0x131f, 0x2050 },
+   {   0x, 0x, 0x, 0x },
+{
+   { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 10 },
+   { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 10 },
+   { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 10 },
+   { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 10 },
+   },
+   },
+
{   SIIG Cyber 4S PCI 16C650 (20x family),
{   0x1415, 0x9501, 0x131f, 0x2051 },
{   0x, 0x, 0x, 0x },

Thanks.

--
Andy Miller


pgpUUTyUTEXeH.pgp
Description: PGP signature


Sierra Wireless MC5720 help

2006-12-03 Thread Andy Miller
I have a Sierra Wireless MC5720 that came with my Lenovo T60p laptop. The card
is fully activated and known to work in Linux and Windows. I am attempting to
get the card working in FreeBSD, but not having much luck. The umodem driver
claims to support the device, but as of yet I have not been able to get it to
probe the modem as anything other than ugen. I would appreciate any help anyone
can give me. Thanks.

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


growisofs and dual layer dvd

2006-06-04 Thread Andy Miller
I'm attempting to burn a dual layer dvd video, but not having much luck.  
Here's what happens:

 growisofs -dvd-compat -Z /dev/cd1=DVD.iso -speed=2
Executing 'builtin_dd if=DVD.iso of=/dev/pass1 obs=32k seek=0'
/dev/pass1: splitting layers at 1992528 blocks
:-[ SEND DVD+R DOUBLE LAYER RECORDING INFORMATION failed with 
SK=2h/ASC=04h/ACQ=01h]: Resource temporarily unavailable

Am I missing something?  If anyone has gotten this to work, I'd be interested 
in hearing
what you had to do.  Thanks in advance.

Here's some more info incase it helps:

 sudo dvd+rw-mediainfo /dev/cd1
INQUIRY:[SONY][DVD RW DRU-720A ][JY08]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 2Bh, DVD+R Double Layer
 Media ID:  RICOHJPN/D00
 Current Write Speed:   2.4x1385=3324KB/s
 Write Speed #0:2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance: 2.4x1385=3324KB/[EMAIL PROTECTED] - 0]
 Speed Descriptor#0:00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:   E1h, DVD+R DL book [revision 1]
 Legacy lead-out at:2086912*2KB=4273995776
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
 L0 Data Zone Capacity: 2086912*2KB, can still be set
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   blank
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   4173824*2KB
 Track Size:4173824*2KB
 ROM Compatibility LBA: 262144
READ CAPACITY:  0*2048=0

--
Andy

pgpXtooMcpOUE.pgp
Description: PGP signature


FreeBSD L2TP client

2005-06-20 Thread Andy Miller
I am looking for a way to use FreeBSD as a L2TP VPN client.  Does anyone
know of a way to do this.  I found ng_l2tp, but I'm not quite sure how to
use it.  If anyone has a good how-to, or can give me some direction, I'd
appreciate it.  Thank you.

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


Re: FreeBSD L2TP client

2005-06-20 Thread Andy Miller
On Mon, Jun 20, 2005 at 08:31:51PM -0400, Mike Tancsa wrote:
 On Mon, 20 Jun 2005 19:05:28 +, in sentex.lists.freebsd.questions
 you wrote:
 
 I am looking for a way to use FreeBSD as a L2TP VPN client.  Does anyone
 know of a way to do this.  I found ng_l2tp, but I'm not quite sure how to
 use it.  If anyone has a good how-to, or can give me some direction, I'd
 appreciate it.  Thank you.
 
 See
 /usr/ports/net/sl2tps
 
   ---Mike

What I really need is a VPN client.  I already have a server.  I need a way
to connect from various locations with my laptop.

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


Intel High Definition Audio

2005-05-14 Thread Andy Miller
I recently purchased a new computer that came with the new Intel High
Definition Audio integrated sound.  I can't seem to get the audio working.  
I tried snd_ich since it looks like this chipset is ICH6, but this did not
work for me.  Below is the output of pciconf for this device:

[EMAIL PROTECTED]:27:0:class=0x040300 card=0x4037107b chip=0x26688086 
rev=0x03 hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801FB/FR/FW/FRW Intel High Deficition Audio Controller'
class= multimedia

Is there any support for this device in FreeBSD yet, or is anyone developing
support for this?  Any guidence will be greatly appreciated.

--
Andy Miller

pgp5fdZD84MRS.pgp
Description: PGP signature


CARP and ng_fec

2005-03-22 Thread Andy Miller
I am currently trying to setup CARP for a new high availability system.  I
have CARP working fine as long as I don't try using ng_fec.  This system
requires that I use FEC for NIC fail over, and I'd really like to use CARP
for the IP fail over.  Has anyone tried this, or have any ideas on how to
get CARP to work with fec?  I have read about the option carpdev, but
every time I try to use it I get ifconfig: carpdev: bad value.  Any help
will be greatly appreciated.

--
Andy Miller

pgpHhVE6r8z0g.pgp
Description: PGP signature


Re: how do I switch kernels in 5.x ?

2004-06-22 Thread Andy Miller
On Tue, Jun 22, 2004 at 05:32:10PM -0700, Joe Schmoe wrote:
 
 I successfully compiled a new kernel, and was using it.  No problem.
 
 Then I decided to move back to the old, GENERIC kernel.  I did this by moving 
 /boot/kernel to /boot/kernel.new, and then renaming /boot/kernel.old to /boot/kernel
 
 Is this correct, or will there be problems when I reboot now ?  If it is incorrect, 
 what else needs to be done ?
 

It shouldn't be a problem unless you updated your userland when you made the
new kernel.  As long as the kernel and userland are from the same release
branch, you should be fine.  If it doesn't work, you can always boot with
the working kernel again and change everything back (information on this can be
found in the handbook).

--
Andy Miller

pgpT8NKBpwPNN.pgp
Description: PGP signature


Sound card recommendation needed

2004-05-20 Thread Andy Miller
Hello all. Im in the market for a new sound card and I'm curious what cards
other people may have had success with. I specifically need a SP/DIF optical
audio out port. If anyone knows of any card that has a functioning SP/DIF port
under FreeBSD, let me know.

--
Andy Miller

pgpPLJlbgAeGx.pgp
Description: PGP signature


Re: What version of freebsd..

2004-04-25 Thread Andy Miller
On Sun, Apr 25, 2004 at 10:26:55AM +0200, Arno Haverlach wrote:
 Currently were going to reinstall all servers we have from redhat 9 to
 freebsd because redhat 9 is EOL...
 
 But after reading a few mails here that 4.9 is most likely not supported
 for a long time.. what version should we take then?
 
 We will be using it for multiple servers (mail, database, app, web
 etc..)
 

It depends.  Most people will tell you that 4.9 will be the best version to use
for a production environment, and they would be right.  However, the 4.x branch
won't be around forever.  Some day in the not so distant future, 5.x will go
to -stable.

If you want proven reliability, go with 4.9.  If you think you might want to 
upgrade to 5.x in the near future, you might want to use 5.2 so you don't have
to hassle upgrading from 4.x to 5.x.  I have personally been using 5.x since
it was still only -current.  I've had no problems on any 5.x-release systems,
they've always preformed well.

I hope this helps you decide.  Good luck with your switch.

--
Andy Miller

pgp0.pgp
Description: PGP signature


Re: restricting ssh to authorized users

2004-04-19 Thread Andy Miller
On Tue, Apr 20, 2004 at 10:25:06AM +0800, Robert Storey wrote:
 I've been wondering what is the best way to prevent certain users from
 being able to login with ssh, even though I want to allow them ftp access?
 
 The opposite is easy to accomplish - if I put somebody's name in file
 /etc/ftpusers, that person cannot login with ftp, but they could still
 login with ssh. But I don't see a file /etc/sshusers, and I'm wondering if
 there is some equivalent.

If you don't want someone to be able to login, you can change their
login shell to /sbin/nologin.

--
Andy Miller

pgp0.pgp
Description: PGP signature


Re: /proc

2004-04-13 Thread Andy Miller

On Tue, Apr 13, 2004 at 01:56:24AM -0400, Shaun T. Erickson wrote:
 One of the things I really miss from my Linux system, is the /proc 
 directory structure, where I could easily find out so much about my 
 system and, in some cases, modify it.
 
 Is there are way I can get such a thing under FreeBSD 5.2.1-RELEASE-p4?


Read the man for procfs.  It should help you figure out how to do it.


Andy Miller

pgp0.pgp
Description: PGP signature


Re: WebMail

2004-04-08 Thread Andy Miller
On Thu, Apr 08, 2004 at 10:59:57PM -0400, Shawn Guillemette wrote:
 I'm looking into options for webmail.. was looking for ideas... Looking for
 something with a good how to .. ;-)


SquirrelMail (http://www.squirrelmail.org/) is pretty good.  The website has
pretty good documentation.

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


Re: Internet gateway

2004-04-04 Thread Andy Miller
On Sun, Apr 04, 2004 at 05:57:06PM -0400, Jose Arnel Rimando wrote:
 Hello,
 
 I just installed a freebsd stable on an old pentium. I want to ask if 
 you guys have additional reading materials in deploying FreeBSD as an 
 internet gateway. I am currently working on a project for a non-profit 
 organization. Thank you very much for your time.
 

This might help you out:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html


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


Re: CVSup vs. portupgrade

2004-04-02 Thread Andy Miller
On Fri, Apr 02, 2004 at 07:27:31PM -0600, Jay Moore wrote:
 Reading from the FreeBSD handbook on Using the Ports Collection leaves me a 
 bit confused wrt CVSup and portupgrade... do these utilities accomplish the 
 same thing?
 
 Thanks,
 Jay
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

No, they do not do the same thing.  cvsup retrieves the newest source for
a given repository.  portupgrade will upgrade an already installed port.

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


installworld faiing on sparc64

2004-04-02 Thread Andy Miller
I am currently upgrading a Sparc64 system from 5.1 to 5.2.1.  buildworld was
successful, as well as the build and install of the kernel.  After a
reboot, I ran installworld and received the following error message:

=== bin/csh
install -s -o root -g wheel -m 555   csh /bin
install -o root -g wheel -m 444 /usr/src/bin/csh/../../contrib/tcsh/complete.tcsh 
/usr/src/bin/csh/../../contrib/tcsh/csh-mode.el /usr/share/examples/tcsh
gencat -new et_EE.ISO8859-15.cat et_EE.ISO8859-15.msg
gencat:No such file or directory
*** Error code 1

I'm not sure what has gone wrong.  Any input on how to fix this will be
greatly appreciated.

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


Re: users mounting cdrom

2004-03-29 Thread Andy Miller
On Tue, Mar 30, 2004 at 01:20:42AM +0200, Marcus Wellpoth wrote:
 Hi there
 how can i allow a user which i don't want to take to the operators or wheel 
 group to mount the cdrom drive?
 thanx 
 mw
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Take a look at this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT

I think it will answer your question.

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


Re: automounting cd-rom cd-rw devices

2004-03-27 Thread Andy Miller
On Sat, Mar 27, 2004 at 08:13:39PM -0600, Jay Moore wrote:
 I have a FreeBSD 4.9 system; I am also running KDE...
 
 I'm building this system for my son (college student) who has been (until now) 
 a Windoze user :(   I'm trying to set this sytem up so that he'll be able to 
 use it with a minimum of calls to tech support (me). One of the issues I am 
 struggling with is how to make the cd-rw  cd-rom devices usable without 
 requiring him to start a root shell and mount/umount these devices.
 
 There appear to be some KDE applications that support this, but they must be 
 started with root permissions. I figured automounting cd's must be a FAQ, 
 so I researched the FreeBSD website, and Greg Lehey's book to find the 
 answer. Unfortuantely, I found very little info. The only good source of 
 how-to on this subject was a rather dated article that described 
 configuring amd to do this: 
 
 http://www.daemonnews.org/200202/automounting.html
 
 The dearth of sources of info on this lead me to wonder if automounting the cd 
 drives is something that should be done at all. So - my questions are:
 
 1) Should I automount cd's?
 
 2) What is the best way to allow ordinary users to mount cd's?
 
 Thanks,
 Jay Moore
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
I believe sudo(8) may be an option for you.  It will allow you to give users root 
privilages for specific commands.  Just install sudo from ports.  There are some good 
examples in the sudoers config file for what you want to do.

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