make (pmake) question

2002-09-19 Thread Roman Neuhauser

I've been struggling a few make problems, where the actual behavior
seems to differ from the documentation. It's more than likely that
something just hasn't gotten through my thick skull, so I'm looking
for explanations. For starters:

variable assignment with expansion. make(1):

 :=  Assign with expansion, i.e. expand the value before
 assigning it to the variable.  Normally, expansion is not
 done until the variable is referenced.

compare this with the behavior of this makefile:

LOCALDESTDIR:=  ${DESTDIR}/foo
DESTDIR:=   ${DESTDIR}/bar

foo:
@echo ${LOCALDESTDIR}

bar:
@echo ${DESTDIR}

.PHONY: foo bar

roman@freepuppy ~/tmp 1023:0 > make DESTDIR=dir foo bar
dir/foo
dir


-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
8:45AM up 2 days, 16 hrs, 25 users, load averages: 0.00, 0.00, 0.00
end

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



Re: Company mail system question...

2002-09-19 Thread Moti Levy

I use :
postfix + procmail - for smtp and filtering
cyrus - for pop and imap
SquirrelMail  - for web mail client
and i'm in the process of building an address book based on ldap .
all in the ports
my users use :mutt,outlook express , outlook , eudora , mozilla mail
,sylpheed and evolution .
i like cyrus the most because it does not need local users and keeps it's on
user list.


- Original Message -
From: "Michael Pelletier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 7:05 PM
Subject: Company mail system question...


> I am reseaching for a mail system for my company. I would like some
> information for my research. Basically, I would need POP3, IMAP, etc
support
> ans many of the client are windoze based. Thanks in advance.
>
> Michael Pelletier
>
>
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>
>
>


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



KDE and KDM issues still

2002-09-19 Thread James Dean



I'm running 4.7 RC1 and have kdm load at boot. My /etc/ttys file looks like 
this:
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc" cons25  on  secure
ttyv2   "/usr/libexec/getty Pc" cons25  on  secure
ttyv3   "/usr/libexec/getty Pc" cons25  on  secure
ttyv4   "/usr/libexec/getty Pc" cons25  on  secure
ttyv5   "/usr/libexec/getty Pc" cons25  on  secure
ttyv6   "/usr/libexec/getty Pc" cons25  on  secure
ttyv7   "/usr/libexec/getty Pc" cons25  on  secure
ttyv8   "/usr/local/bin/kdm"xterm   on  secure

I keep getting these errors messages in my logs:
Sep  7 13:00:28 bsdguru kdm_config[12241]: Unknown command line option 
'ttyv8'
Sep  7 13:00:28 bsdguru kdm[12243]: Can't lock pid file /var/run/kdm.pid, 
anothe
r xdm is running (pid 281)
Sep  7 13:00:28 bsdguru kdm_config[12245]: Unknown command line option 
'ttyv8'
Sep  7 13:00:28 bsdguru kdm[12248]: Can't lock pid file /var/run/kdm.pid, 
anothe
r xdm is running (pid 281)
Sep  7 13:00:28 bsdguru kdm_config[12249]: Unknown command line option 
'ttyv8'
Sep  7 13:00:28 bsdguru kdm[12252]: Can't lock pid file /var/run/kdm.pid, 
anothe
r xdm is running (pid 281)
Sep  7 13:00:28 bsdguru kdm_config[12253]: Unknown command line option 
'ttyv8'
Sep  7 13:00:28 bsdguru kdm[12256]: Can't lock pid file /var/run/kdm.pid, 
anothe
r xdm is running (pid 281)
Sep  7 13:00:28 bsdguru kdm_config[12257]: Unknown command line option 
'ttyv8'
Sep  7 13:00:28 bsdguru kdm[12259]: Can't lock pid file /var/run/kdm.pid, 
anothe
r xdm is running (pid 281)
Sep  7 13:00:28 bsdguru init: getty repeating too quickly on port 
/dev/ttyv8, sl
eeping 30 secs

The issues gets worse though, because most kde apps including kde it's self 
take FOREVER to load.  I was suggested that I be sure not to empty the /tmp 
dir on reboot, and to be sure that my host info is correct. I have done 
both, though I will include the /etc/hosts here
::1 localhost bsdguru.toomanymirrors.net
127.0.0.1   localhost bsdguru.toomanymirrors.net
192.168.1.102   bsdguru.toomanymirrors.net
192.168.1.101   Blackbox.toomanymirrors.net

Anything else or seguestions would be great and any logs that would help 
just ask
Thanks
TooManyMirrors


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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



Re: add to gnome start menu?

2002-09-19 Thread Adam Weinberger

gnome2, if you installed the meta-port, comes with a program called
"yelp" which is a comprehensive manual browser, primarily for gnome
docs. if you don't have it, install /usr/ports/x11/yelp.

start it up, click Desktop, the Menus, expand "Customizing Your Menus"
on the left, and choose "To Add a Launcher to a Menu."

the answers to all your questions are in documents. learn where the
answers to some of these interface-level questions lie. lay? i think
lie.

-Adam


>> (09.19.2002 @ 2332 PST): Peter Leftwich said, in 0.4K: <<
> Could be simple, but how do you add to Gnome 2's "start menu?"
> 
> I am tiring of clicking the MainMenu then "Run Program" gaim or freeamp!
> 
> --
> Peter Leftwich
> President & Founder
> Video2Video Services
> Box 13692, La Jolla, CA, 92039 USA
> +1-413-403-9555
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
>> end of "add to gnome start menu?" from Peter Leftwich <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


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



Re: gethostbyname

2002-09-19 Thread Jacob Rhoden

On Fri, 20 Sep 2002 16:18, Tony wrote:
> Anyone have a simple example of how to use this function..

Hope this helps.

struct hostent *he;
struct sockaddr_in sin;
char *hostname="freebsd.org";
int port=80;

  sin.sin_family = AF_INET;
  sin.sin_port = htons(port);
  sin.sin_addr.s_addr = inet_addr(hstname);
  if(sin.sin_addr.s_addr == INADDR_NONE) {
he = gethostbyname(hstname);
if(!he) {
  close(s);
  errno=0;
  return -1;
  }
memcpy(&sin.sin_addr, he->h_addr, he->h_length);
}


 
Jacob RhodenPhone: +61 3 9844 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

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



Re: Running 2 wireless cards

2002-09-19 Thread Adam Weinberger

can you show your wicontrol scripts? and the output of "ifconfig -a"? 
and of "wicontrol -i wi0" and "wicontrol -i wi1".

tell me whether i have this wrong: you have 2 cards in one computer, at
you're trying to get them both to communicate with a card in a laptop
running in host mode?

are either of the cards associating? if you assign wi1 an IP, say:
ifconfig wi1 inet 192.168.20.222
can you then ping the ip?

-Adam


>> (09.19.2002 @ 2322 PST): Pete Muller said, in 3.8K: <<
> 
> Hi all,
> 
> Old 233mhz Vectra, FBSD v4.5
> 
> I'm struggling to get 2 Orinoco Silver .11b cards to run on FBSD v4.5.  Each
> card is in an ISA adapter.
> 
> The box does nat through the wired NIC to the world. (3Com 3C905 card)
> 
> One wireless card is set up as the 192.168.10 network, the second being the
> 192.168.20 network.
> 
> The problem I'm having is getting the *second* card to work. I can ping it,
> the lights are on, but the card is not talking. I've "wicontrol'd" this
> thing to death... trying every conceivable combination of settings, still
> with no luck.  btw: I'm trying to talk to it using a Dell laptop running W2k
> with [another] Orinoco Silver card (same cards in the FBSD box).
> 
> 
> Here are the relevant parts of my config:
> 
> - /etc/rc.conf --->
> 
> natd_program="/sbin/natd"
> natd_enable="YES"
> natd_interface="xl0"
> natd_flags="-dynamic"
> gateway_enable="YES"
> firewall_enable="YES"
> firewall_script="/etc/rc.firewall"
> firewall_type="OPEN"
> firewall_quiet="NO"
> firewall_logging_enable="YES"
> log_in_vain="YES"
> # and here's the stuff for the PCMCIA adapter 
> pccard_enable="YES"
> pccard_mem="DEFAULT"
> portmap_enable="YES"
> accept_sourceroute="NO"
> # script to configure first card (wi0)
> /usr/local/sbin/wireless.sh   [[these are my wicontrol parameters]]
> # script to configure second card (wi1)
> /usr/local/sbin/wireless1.sh
> 
> <<-- end of /etc/rc.conf ---
> 
> 
> --- kernel config file -->
> 
> # PCCARD (PCMCIA) support
> device  card
> # The first pair of lines are for direct assignment
> # The second pair of lines are for polling mode
> #device pcic0   at isa? irq 4 port 0x3e0 iomem 0xd
> #device pcic1   at isa? irq 5 port 0x3e2 iomem 0xd4000
> device  pcic0   at isa? port 0x3e0 iomem 0xd
> device  pcic1   at isa? port 0x3e2 iomem 0xd4000
> 
> << end of kernel config snippet ---
> 
> 
> I've experimented with direct port assignments... cards seem to both "come
> alive" either way.  Currently running in polling mode.
> 
> 
>   /etc/defaults/pccard.conf --->
> 
> # Lucent WaveLAN/IEEE -- Dual Wireless NICs - test
> #
> card "Lucent Technologies" "WaveLAN/IEEE"
> config  0x1 "wi0" ?
> config  0x1 "wi1" ?
> insert  /etc/pccard_ether "wi0" start
> insert  /etc/pccard_ether "wi1" start
> 
> << end of  /etc/defaults/pccard.conf  snippet 
> 
> 
>  relevant lines of  dmesg output --->
> 
> pccard: card inserted, slot 0
> pccard: card inserted, slot 2
> wi0:  at port 0x240-0x27f irq 3 slot 0 on pccard0
> wi0: Ethernet address: 00:02:2d:2b:4c:6d
> wi1:  at port 0x280-0x2bf irq 5 slot 2 on pccard2
> wi1: Ethernet address: 00:02:2d:0a:dd:7c
> 
> << end of  dmesg output snippet ---
> 
> 
> 
> The *only* thing I've noticed is a slight difference in what echos to the
> screen when the cards "come up" during bootup.
> 
> The sequence I see/hear:
> 
> - tone when wi0 comes up
> - a line echos to the screen similar to the wi0 line in dmesg
> - ~10 seconds later a second line echos spelling out config information of
> the interface (not the config of the card)
> - tone when wi1 comes up
> - a line echos to the screen similar to the wi1 line in dmesg
> - ~10 seconds later something like "pccard running" (or some simple two word
> message) echos
> 
> 
> These latter lines echoing to the screen (the final line that shows for each
> card during bootup) do *not* show in dmesg (sorry... I'm a
> beginner at this, so I don't know if I'm describing this correctly).
> There is definitely a difference in what I'm seeing on the screen during
> bootup for the 2 cards.
> 
> Card wi0 *always* works -- and I have *never* been able to "talk" to wi1
> no matter what I've tried.
> 
> Any suggestions for this rank beginner?
> 
> Advice greatly appreciated thx
> 
> Pete
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
>> end of "Running 2 wireless cards" from Pete Muller <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


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



Fwd: kldload way to send options into kernel?

2002-09-19 Thread Peter Leftwich

Nevermind - I'm going to keep trying to get httrack to compile

http://www.httrack.com

-- Forwarded message --
From: Peter Leftwich <[EMAIL PROTECTED]>
X-X-Sender: [EMAIL PROTECTED]
To: FreeBSD Questions LIST <[EMAIL PROTECTED]>
Subject: kldload way to send options into kernel?
Date: Thu, 19 Sep 2002 21:28:53 -0700 (PDT)

I tried running `wine GetBot.exe` because it is the best offline browser
and web snake/bot program ever, but for Windows and I got this error:

Did you reconfigure the kernel with "options USER_LDT"?

Is there a command line I can give such as kldload to add this option in?

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



add to gnome start menu?

2002-09-19 Thread Peter Leftwich

Could be simple, but how do you add to Gnome 2's "start menu?"

I am tiring of clicking the MainMenu then "Run Program" gaim or freeamp!

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



Re: Company mail system question...

2002-09-19 Thread Giorgos Keramidas

On 2002-09-19 19:05, Michael Pelletier <[EMAIL PROTECTED]> wrote:
> I am reseaching for a mail system for my company. I would like some
> information for my research. Basically, I would need POP3, IMAP, etc
> support ans many of the client are windoze based. Thanks in advance.

Since others have replied with references at programs, let me add just
a bit of advocacy here.  FreeBSD is a very good choise of an operating
system for this sort of thing.  You don't need to worry about the
clients being Windows-based since they will use open protocols like
POP3 and IMAP to communicate with your FreeBSD server.

-- 
FreeBSD: The Power to Serve <> http://www.FreeBSD.org
FreeBSD 4.6-RELEASE #0: Wed Sep 18 23:08:01 EEST 2002

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



Running 2 wireless cards

2002-09-19 Thread Pete Muller


Hi all,

Old 233mhz Vectra, FBSD v4.5

I'm struggling to get 2 Orinoco Silver .11b cards to run on FBSD v4.5.  Each
card is in an ISA adapter.

The box does nat through the wired NIC to the world. (3Com 3C905 card)

One wireless card is set up as the 192.168.10 network, the second being the
192.168.20 network.

The problem I'm having is getting the *second* card to work. I can ping it,
the lights are on, but the card is not talking. I've "wicontrol'd" this
thing to death... trying every conceivable combination of settings, still
with no luck.  btw: I'm trying to talk to it using a Dell laptop running W2k
with [another] Orinoco Silver card (same cards in the FBSD box).


Here are the relevant parts of my config:

- /etc/rc.conf --->

natd_program="/sbin/natd"
natd_enable="YES"
natd_interface="xl0"
natd_flags="-dynamic"
gateway_enable="YES"
firewall_enable="YES"
firewall_script="/etc/rc.firewall"
firewall_type="OPEN"
firewall_quiet="NO"
firewall_logging_enable="YES"
log_in_vain="YES"
# and here's the stuff for the PCMCIA adapter 
pccard_enable="YES"
pccard_mem="DEFAULT"
portmap_enable="YES"
accept_sourceroute="NO"
# script to configure first card (wi0)
/usr/local/sbin/wireless.sh   [[these are my wicontrol parameters]]
# script to configure second card (wi1)
/usr/local/sbin/wireless1.sh

<<-- end of /etc/rc.conf ---


--- kernel config file -->

# PCCARD (PCMCIA) support
device  card
# The first pair of lines are for direct assignment
# The second pair of lines are for polling mode
#device pcic0   at isa? irq 4 port 0x3e0 iomem 0xd
#device pcic1   at isa? irq 5 port 0x3e2 iomem 0xd4000
device  pcic0   at isa? port 0x3e0 iomem 0xd
device  pcic1   at isa? port 0x3e2 iomem 0xd4000

<< end of kernel config snippet ---


I've experimented with direct port assignments... cards seem to both "come
alive" either way.  Currently running in polling mode.


  /etc/defaults/pccard.conf --->

# Lucent WaveLAN/IEEE -- Dual Wireless NICs - test
#
card "Lucent Technologies" "WaveLAN/IEEE"
config  0x1 "wi0" ?
config  0x1 "wi1" ?
insert  /etc/pccard_ether "wi0" start
insert  /etc/pccard_ether "wi1" start

<< end of  /etc/defaults/pccard.conf  snippet 


 relevant lines of  dmesg output --->

pccard: card inserted, slot 0
pccard: card inserted, slot 2
wi0:  at port 0x240-0x27f irq 3 slot 0 on pccard0
wi0: Ethernet address: 00:02:2d:2b:4c:6d
wi1:  at port 0x280-0x2bf irq 5 slot 2 on pccard2
wi1: Ethernet address: 00:02:2d:0a:dd:7c

<< end of  dmesg output snippet ---



The *only* thing I've noticed is a slight difference in what echos to the
screen when the cards "come up" during bootup.

The sequence I see/hear:

- tone when wi0 comes up
- a line echos to the screen similar to the wi0 line in dmesg
- ~10 seconds later a second line echos spelling out config information of
the interface (not the config of the card)
- tone when wi1 comes up
- a line echos to the screen similar to the wi1 line in dmesg
- ~10 seconds later something like "pccard running" (or some simple two word
message) echos


These latter lines echoing to the screen (the final line that shows for each
card during bootup) do *not* show in dmesg (sorry... I'm a
beginner at this, so I don't know if I'm describing this correctly).
There is definitely a difference in what I'm seeing on the screen during
bootup for the 2 cards.

Card wi0 *always* works -- and I have *never* been able to "talk" to wi1
no matter what I've tried.

Any suggestions for this rank beginner?

Advice greatly appreciated thx

Pete






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



Re: free IDS code?

2002-09-19 Thread Denis N. Peplin

On Friday 20 September 2002 10:11, mingo lu wrote:
> Hi all:
>
> are there any free IDS (intrusion dection system)
> packages out there for freebsd? i remember snort was
> one but I can't find the code any more, may be
> something else out there?
/usr/ports/security/snort
/usr/ports/security/portsentry

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



gethostbyname

2002-09-19 Thread Tony


Anyone have a simple example of how to use this function..

I have spent the last couple of evenings trying to get it to work.

Do not refer me to the man page as that is not very helpful.

Thanks


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



free IDS code?

2002-09-19 Thread mingo lu

Hi all:

are there any free IDS (intrusion dection system)
packages out there for freebsd? i remember snort was
one but I can't find the code any more, may be
something else out there?

tia


__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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



Re: IRQ problems

2002-09-19 Thread Denis N. Peplin

On Friday 20 September 2002 01:42, Matthew Seaman wrote:
> On Thu, Sep 19, 2002 at 01:05:53PM -0600, [EMAIL PROTECTED] wrote:
> > The KDE desktop initializes and displays fine, but the mouse jitters and
> > jerks and stays in the upper left hand corner of the screen.  It responds
> > to input, (when I move the mouse it jerks out of the corner then back in,
> > and I cannot control it.  For now I wouldn't mind not using the mouse,
> > but I don't know how to make the pointer move without it in KDE (is there
> > virtual mouse utility like in X?).
>
> Sounds like you aren't using quite the right mouse type.  If you let
> the X server determine the mouse type automatically, it usually does a
> pretty good job.  If you're running moused(8) -- ie you have:
>
> moused_enable="YES"
>
> in /etc/rc.conf -- then something like this in the XF86Config file
> should work well:
>
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/mouse"
> EndSection
or try this:
in rc.conf
moused_enable="NO"
then
# killall moused

in XF86Config
 Section "InputDevice"
 Identifier  "Mouse0"
 Driver  "mouse"
 Option  "Protocol" "auto"
 Option  "Device" "/dev/psm0"
 EndSection
(/dev/psm0 for ps/2 mouse)

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



Console messages from ahc0 - how serious are they?

2002-09-19 Thread Matthew Emmerton


I'm running 4.4-REL on a bunch of older systems with onboard Adaptec 7870
controllers and recently I've been getting lots of console output from one
of them.  I'm pretty sure it means that one of my drives is dying (which
I've suyspected for a while), but I'm just curious as to what the messages
really mean, and if I can determine the bad drive just from the messages.

The dmesg information (hardware probes):

ahc0:  port 0xf800-0xf8ff mem
0xffbef000-0xffbe irq 11 at device 11.0 on pci0
aic7870: Wide Channel A, SCSI Id=7, 16/255 SCBs
da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queuing Enabled
da0: 2049MB (4197405 512 byte sectors: 64H 32S/T 2049C)
da1 at ahc0 bus 0 targer 4 lun 0
da1:  Fixed Direct Access SCSI-CCS device
da1: 3.300MB/s transfers
da1: 1033MB (2117025 512 byte sectors: 64H 32S/T 1033C)
da2 at ahc0 bus 0 target 6 lun 0
da2:  Fixed Direct Access SCSI-2 device
da2: 10.000MB/s transfer (10.000MHz, offset 15), Tagged Queueing Enabled
da2: 4340MB (543 512 byte sectors: 64H 32S/T 4340C)

The console error messages:

(da0:ahc0:0:0:0): BDR message in message buffer
(da0:ahc0:0:0:0): SCB 0xe - timed out
ahc0: Dumping Card State in Data-in phase, at SEQADDR 0x7a
< snip dump data >
(da0:ahc0:0:0:0): no longer in timeout, status = 34b
ahc0: Issued Channel A Bus Reset.  3 SCBs aborted

I get these kinds of errors on da0, da1 and da2.  However, I only see this
message on da1:

(da1:ahc0:0:4:0): Unexpected busfree in Data-in phase

Is this the error that triggers off all the bus reset (and subsequent
timeouts and aborts)?  Should i look at replacing da1 real soon now?

--
Matt Emmerton



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



Re: Weird error when installing FreeBSD 4.6

2002-09-19 Thread nate

Ron Andreasen said:
> Okay, first off here's the error:
>
> acd0:  read data overrun 34/0
> acd0:  MODE_SENSE_BIG command timeout -resetting
> ata0:  resetting devices .. at0:  DMA limited to
> UDMA33, non-ATA66 cable or device
>
> Does this mean the problem is with my hard drives and
> cd drives?  Here's how those are set up.  40 gig ibm
> hd master and HP CD-Writer slave on primary ide
> channel.  20 gig maxtor hd and Liteon CD-Rom on
> secondary channel.
>
> If this is the problem should I put the hard drives on
> the primary ide and the cd drives on the secondary?
> Or do I just need to change irq numbers and all that?
> Or is the problem with something else entirely?
> Thanks in advance for any help.

last I remember IDE spec automatically slows the bus to the
lowest common demoninator(same for SCSI, but SCSI devices
can take themselves off the chain when they are not in use).
so it's possible that your CD-writer is not DMA/66 so the
driver drops the bus to 33.

also possible that your cable isn't up to spec. is your cable
18" or less? and are you using a 80-wire/40-pin cable? Some
places offer 24" or even 32" IDE cables, which work on some
systems but I prefer to stick to 18" wherever possible since
that is the IDE spec(and I have had some problems with 24"
cables hooked to promise IDE controllers - got some CRC errors
on transfers, not fatal but I don't like seeing errors)

nate
(not a freebsd-head yet, but workin on it)



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



Re: user.mydomain.com

2002-09-19 Thread dfolkins

- Original Message -
From: "Janine C.Buorditez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 8:44 AM
Subject: user.mydomain.com


> how is this created when adding a new user?
>
> are there any adduser scripts out there doing this automaticly as well as
a
> .htdocs instead of enteruser's public_html?

hm, if you want to set up things like user.mydomain.com, my bet is you are
going to have to involve your dns server for that.  without an appropriate
entry in a dns server, that domain name just isnt going to resolve to an ip.

now, once you have the right dns stuff set up, i think the best way to point
it to the user's web directory is through  directives in apache
config.

for the virtualhost setup the best documentation source is apache.org
itself.
as to setting up dns, start with "man named", and you can probably find
plenty of howtos online about how to set up dns.
--
dfolkins


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



Weird error when installing FreeBSD 4.6

2002-09-19 Thread Ron Andreasen

Okay, first off here's the error:

acd0:  read data overrun 34/0
acd0:  MODE_SENSE_BIG command timeout -resetting
ata0:  resetting devices .. at0:  DMA limited to
UDMA33, non-ATA66 cable or device

Does this mean the problem is with my hard drives and
cd drives?  Here's how those are set up.  40 gig ibm
hd master and HP CD-Writer slave on primary ide
channel.  20 gig maxtor hd and Liteon CD-Rom on
secondary channel.

If this is the problem should I put the hard drives on
the primary ide and the cd drives on the secondary? 
Or do I just need to change irq numbers and all that? 
Or is the problem with something else entirely? 
Thanks in advance for any help.

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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



usb devices not being detected

2002-09-19 Thread Jacob Rhoden

Hi,

When I plug in (or boot with attached) my usb devices arent ever detected. (I 
have tried Microsoft Natural Keyboard, and Digital Camera). usbd is enabled 
in rc.conf and is in memory when i do a ps.  dmesg output below. Any advice 
would be greatly appreciated.

Thanks,
Jacob

uhci0:  port 0xe800-0xe81f irq 11 
at device 29.0 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xe880-0xe89f irq 5 at 
device 29.1 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xec00-0xec1f irq 9 at 
device 29.2 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered


 
Jacob RhodenPhone: +61 3 9844 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

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



Some problem with dummynet

2002-09-19 Thread budsz

Hi,

Last night, I tried to limit my client which I changed 23Kbit/s to
1bit/s (Just experiment), I got some message like below:

---cut
-- dummynet: warning, heap 0 is 1531352822 ticks late
-- dummynet: warning, heap 0 is 1531314423 ticks late
-- dummynet: warning, heap 0 is 1531276024 ticks late
-- dummynet: warning, heap 0 is 1531237625 ticks late
-- dummynet: warning, heap 0 is 1531199226 ticks late
---cut

What's going on..?, does dummynet crash? any suggestion for this?

PS: I use FreeBSD 4.6.2-Release.

TIA

-- 
budsz

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



kldload way to send options into kernel?

2002-09-19 Thread Peter Leftwich

I tried running `wine GetBot.exe` because it is the best offline browser
and web snake/bot program ever, but for Windows and I got this error:

Did you reconfigure the kernel with "options USER_LDT"?

Is there a command line I can give such as kldload to add this option in?

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



Re: number of snoop devices

2002-09-19 Thread Tien Duc Nguyen

My problem was this:
-for the 10th + snp devices, I had to create it by hand with mknod;
- I had an old version of watch, the one that comes with 4.6-REL does have
the option of specifying the snoop device.

Only weirdness I see is that the tty must be open before executing watch on
it, else there's an error. But that's not a big deal.

Thanks for directing me to the right place.

Tien Duc
- Original Message -
From: "Ruben de Groot" <[EMAIL PROTECTED]>
To: "Tien Duc Nguyen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 5:28 AM
Subject: Re: number of snoop devices


> On Tue, Sep 17, 2002 at 11:43:54PM -0400, Tien Duc Nguyen typed:
> > Hi all,
> >
> > On a stock FreeBSD 4.6 Release install, after recompiling the kernel
with 25
> > snoop devices, I'm stuck with at most 10 watch-ed snoop devices. At
first,
> > /dev/MAKEDEV snp10 doesn't work, so I've created the 11th snoop device
by
> > hand with 'mknod snp10 c 53 `unit2minor 10`' but watch complains about
> > attaching to the 11th tty (ttypa). Therefore, I was wondering if there's
a
> > limit in the number of snoop devices watch can monitor (having seen
anyone
> > using 3-5 devices), or am I doing something wrong here?
>
> You probably have to recompile watch.
>
> >
> > Any suggestions greatly appreciated!
> >
> > Tien Duc
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
>


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



Re: Multibyte code and unicode support

2002-09-19 Thread Scott Robbins

On Thu, Sep 19, 2002 at 10:24:19PM -0500, [EMAIL PROTECTED] wrote:
> hi,
> 
> (this might be a dumb question) does freebsd support mulibyte and/or unicode in 
>kernel level?
> 
> would it be possible that freebsd support japanese as natively as japanese version 
>of ms win98?

It's pretty easy to do some things (although not quite as easy as using
the MS Global IME).  I have a page that covers getting Japanese support
in FreeBSD at
http://home.nyc.rr.com/computertaijutsu/jpninpt.html

The FreeBSD section is towards the bottom.  
Also, I've only gotten so far as getting it working in X (as opposed to
console) and never did get printing it working correctly, more laziness
on my part than it being impossible.

Quick rundown, you'll need to install a few things from ports and add a
little script to set the language variable.  

HTH a little, anyway,

-- 

Scott

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: Oh. Okay. You and Willow go do the superpower thing, I'll
stay behind and putt around the Batcave with crusty old Alfred 
here. 
Giles: Ah-ah, no. I am no Alfred, sir. No, you forget. Alfred had
a job. 




msg02237/pgp0.pgp
Description: PGP signature


Re: weird files

2002-09-19 Thread M.T.

On Thu, 19 Sep 2002, mingo lu wrote:

> Hi:
>
> i have two weird files under my home directory; one is
> file named "-bash.gmon" and another one is "xy ds".
> how could i remove them? rm just won't work ...

  rm 'xy ds' -bash.gmon

  $.02,
  /Mikko


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



Multibyte code and unicode support

2002-09-19 Thread hje

hi,

(this might be a dumb question) does freebsd support mulibyte and/or unicode in kernel 
level?

would it be possible that freebsd support japanese as natively as japanese version of 
ms win98?

would it be possible for freebsd to support unicode while supporting japanese char 
coding system for non-unicode aware applications like ms win2k?

if freebsd does not support unicode or multibyte, is there a planned project?

thanks so much for reading.
sincerely, joseph

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



PPP connection via a GMC router

2002-09-19 Thread Fuji Zhang

hi, i had ADSL working via a D-Link card to Bell Sympatico just fine. then
my roommate wanted to share the ISP w/ me. so we bought a GMC router. He
had his Linux box working behind the router. but my FreeBSD box stopped
working. what am i missing? your help would certainly be appreciated.
please respond to this address directly as i am not subscribing to list
now.

Sincerely,

Fujie Zhang


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



Re: weird files

2002-09-19 Thread Peter Leftwich

On Thu, 19 Sep 2002, mingo lu wrote:
> thanks. actually i did this before:

Try the command I gave you.

> freebiebsd@ rm -rf `\-bash.gmon`

If you use apostrophes that start at top left and go down to lower right
such as this: `` the text between them is interpreted by your shell as a
command within a command.

> freebiebsd@ bash: ./-bash.gmon: Permission denied

This error is telling you that it cannot execute the command -bash.gmon

You may be able to use regular apostrophes such as these '' or double
quotes such as these "" but in the case of the '' quotes the \ backslash to
force the dash will be forced itself due to the quotes!

> so that I su to the root and the same problem.
> any ideas?
> tia

su has nothing to do with it -- if the file was an ownership issue, the
error would have said "rm ___: Permission denied" or the like.

> --- Peter Leftwich <[EMAIL PROTECTED]> wrote:
> > On Thu, 19 Sep 2002, mingo lu wrote:
> > > Hi: i have two weird files under my home directory; one is
> > > file named "-bash.gmon" and another one is "xy ds".
> > > how could i remove them? rm just won't work ...
> > > tia
> >
> > What error does rm give you?  Have you tried `rm -i
> > \-bash\.gmon` or `rm -i xy\ ds`?  If your shell is tcsh you can just type
> > part of the filename then
> > press TAB and if you are familiar with emacs (the editor) it has a dired
> > (directory editor) mode where you can arrow up and down and select files
> > with one key press in order to delete them.

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



Re: weird files

2002-09-19 Thread Peter Leftwich

On Thu, 19 Sep 2002, mingo lu wrote:
> Hi: i have two weird files under my home directory; one is
> file named "-bash.gmon" and another one is "xy ds".
> how could i remove them? rm just won't work ...
> tia

What error does rm give you?  Have you tried `rm -i \-bash\.gmon` or `rm -i
xy\ ds`?  If your shell is tcsh you can just type part of the filename then
press TAB and if you are familiar with emacs (the editor) it has a dired
(directory editor) mode where you can arrow up and down and select files
with one key press in order to delete them.

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



weird files

2002-09-19 Thread mingo lu

Hi:

i have two weird files under my home directory; one is
file named "-bash.gmon" and another one is "xy ds".
how could i remove them? rm just won't work ...

tia



__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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



Re: DHCPD doesn't want to bind to any interface

2002-09-19 Thread dfolkins

From: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 1:07 PM
Subject: Re: DHCPD doesn't want to bind to any interface


> Selon Lowell Gilbert <[EMAIL PROTECTED]>:
> > [EMAIL PROTECTED] writes:
> >
> > > recently I rebooted my box (FreeBSD 4.6-STABLE) and since this reboot,
> > dhcpd
> > > cannot bind to any interface. I upgraded to FreeBSD 4.7-PRERELEASE
then
> > > rebooted, same thing. The configuration file is ok and untouched for
many
> > > months.
> > > I use isc-dhcp provided with FreeBSD.
> >
> > dhcpd isn't part of the FreeBSD base system.  Do you perhaps need to
> > update your dhcpd as well?
> >
> > What happens when you try to start dhcpd by hand?
>
> it says rl0: not found
>
are you running dhcpd as follows?:
/dhcpd rl0

or are you using some other command line arguments for it?

in other words, what is the exact command line that you use to run dhcpd
(when you run it by hand).
--
dfolkins



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



Re: Upgrade Computer - old vidio card

2002-09-19 Thread dfolkins

From: "Grant Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 11:06 AM
Subject: Upgrade Computer - old vidio card


> Case - 147 with 350W Power Supply
> Motherboard -AUS A7V266-E-AA
> CPU - AMD Athlon XP 1800+
> Memory - 256 MB DDR PC2100 Ram
>
> I have an old Pent 300 monitor card.
>
> Should I expect any problems or do monitor factory made computers have
> specific cards for mother boards? I have never replaced one and this one
is
> about 3.5 years old. I am also paying 500 CND for the upgrade.
>
video cards are not made specifically for motherboards, so you should not
have problems sticking the old video card into the new board.
of course, should you decide to do anything graphics-intensive on that
computer, you might experience some slowness, as a 3.5 year old video card
probably is not all that powerful.  but it will _work_, if that's what you
are asking.
and by the way, how is this related to freebsd? :)
--
dfolkins


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



Re: find case-insensitive challenge

2002-09-19 Thread Tim Peters

On Fri, Sep 20, 2002 at 09:05:10AM +1000, Duncan Anker wrote:
> > 
> > find foo -type f | grep -i '\.jpg$' | xargs -J % mv % bar
> > 
> 
> My preferred method also. But ... I can never get that to work if there
> are spaces (or other illegal characters) in the file names.
> 
> And no, I don't usually put spaces in my filenames, but I use this quite
> frequently behind the scenes on Mac OS X.

FYI, find and xargs can work with weird filenames (as long as they
don't contain a \0) with these kind of options:

find . -print0 | xargs -0 command

(although i don't know if OSX has these :)

-tim

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



Re: SONY CD-RW CRX10U don't work with FreeBSD cdrtools

2002-09-19 Thread Greg 'groggy' Lehey

On Thursday, 19 September 2002 at 10:13:20 +0259, Aleksey Ovcharenko wrote:
> Hi!
>
> I have a trouble trying to force my Sony CD-RW work on FreeBSD =)
>
> ...
> Revision   : '2.0b'
> Device seems to be: Generic CD-ROM.
>  ^^
> Uh-oh, what is going on?

I don't know, sorry.

> Can it be somehow fixed?

If nobody else helps, put in a bug report with send-pr.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

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



Re: user ppp problem

2002-09-19 Thread Shaun Branden

On Thu, Sep 19, 2002 at 10:24:25AM -0400, JoeB wrote:
> Log shows   Bad compressed CRC-16
> 
> Add this to your ppp.conf  default section
> 
> disable pred1 deflate lqr # compression features & line quality
> reporting
> denypred1 deflate lqr # compression features & line quality reporting

This worked fine. Thankyou very much.

It still has some issues with the ipv6 errors, but I see there is a pr
in for that.

thanks again

shaun
-- 
Shaun Branden; email: [EMAIL PROTECTED]; icq: 10469563
Fingerprint: 2571 65A6 1F38 0168 63CB  BCE5 CA20 7F19 AA92 1949

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



Re: Promise Ultra ATA 133 PCI card supported?

2002-09-19 Thread Donald Burr of Borg

On Thu, 19 Sep 2002, Jud wrote:

J>But before you run out and buy a new card - do you have room for
J>another drive on your current cable(s), or ?  If so, you might try hooking
J>up the new drive on the cable to see if it works, and only springing for
J>the new card if it doesn't.  Or you might think about buying a cable with
J>additional connectors.  Either way would be cheaper than a controller
J>card (though of course an Ultra ATA 133 controller card is a nice thing
J>to have:).

I already have the Promise ATA133 card.  It came bundled with an 80 GB ID
drive which I bought for one of my other systems; I didn't have a use for
it at the time, so I stuck it in my miscellaneous hardware drawer.

I generally prefer to only run ONE hard drive per IDE chain.  I find that
it takes a significant performance hit when you're simultaneously
accessing one drive that is master, and another that is slave, on the same
controller.
-- 
Donald Burr of Borg <[EMAIL PROTECTED]> | FreeBSD: The Power to Serve!
WWW: http://www.borg-cube.com/  ICQ #16997506 | http://www.freebsd.org/
P.O. Box 91212, Santa Barbara, CA 93190-1212  \-
Phone: (805)563-0672Present Day... Present Time!


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



options SUIDDIR

2002-09-19 Thread Andy

I have been researching the use of "options SUDIDIR" in the kernel.  I have 
noted several warnings about the use of this option being a security issue, 
but I have as of yet to read or see any explanation as to what kind of 
security issue its use represents.

Any assistance in an explanation concerning this would be very much 
appreciated.

Andy



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



Re: Promise Ultra ATA 133 PCI card supported?

2002-09-19 Thread Jud

9/18/2002 10:01:53 PM, "S. Salman Ahmed" 
<[EMAIL PROTECTED]> wrote:

>> "DB" == Donald Burr of Borg <[EMAIL PROTECTED]> writes:
>DB>  Hello world.  I'm about to add a 3rd hard drive to my system.
>DB> Since my motherboard's built in IDE ports are all in use, I will
>DB> need to add a PCI IDE controller card to the mix in order to get
>DB> this to fly.  I have a Maxtor-labeled (but the card and chip is
>DB> made by Promise) Ultra ATA 133 PCI controller.  Is this card
>DB> supported by FreeBSD?  (Running 4.7-PRERELEASE, cvs'd 
at Sun Sep
>DB> 8 02:42 PM PDT)?
>DB> 
>
>Yes, it is:
>
>ssahmed@phoenix:[~]$ dmesg |grep ata
>atapci0:  at device 7.1 on pci0
>atapci0: ATA channel disabled by BIOS
>atapci1:  port 0xe800-
0xe80f,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 
mem 0xda00-0xda003fff irq 15 at device 13.0 on pci0
>ata2: at 0xd800 on atapci1
>ata3: at 0xe000 on atapci1
>ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
>ata1 at port 0x170-0x177,0x376 irq 15 on isa0
>ad4: 19595MB  [39813/16/63] at ata2-master 
UDMA133
>ad6: 38172MB  [77557/16/63] at ata3-master 
UDMA133
>ssahmed@phoenix:[~]$ uname -a
>FreeBSD phoenix.asci 4.7-PRERELEASE FreeBSD 4.7-
PRERELEASE #0: Wed Sep  4 23:18:40 EDT 2002 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
>
>-- 
>Salman Ahmed
>ssahmed AT pathcom DOT com

But before you run out and buy a new card - do you have room for 
another drive on your current cable(s), or ?  If so, you might try hooking 
up the new drive on the cable to see if it works, and only springing for 
the new card if it doesn't.  Or you might think about buying a cable with 
additional connectors.  Either way would be cheaper than a controller 
card (though of course an Ultra ATA 133 controller card is a nice thing 
to have:).

Jud



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



Re: dvdrip doesnt see my dvds

2002-09-19 Thread twig les

The problem turned out that I needed to point the
device in preferences to /cdrom.  It was /dev/dvd just
like you thought it might be, so I tinkered a few
times and voila! trial and error won the day.

Thanks for the idea and the tip about PIO mode.  I'm
new to the whole dvd ripping scene.


--- Kevin Oberman <[EMAIL PROTECTED]> wrote:
> > Date: Mon, 16 Sep 2002 14:54:47 -0700 (PDT)
> > From: twig les <[EMAIL PROTECTED]>
> > Sender: [EMAIL PROTECTED]
> > 
> > Hey *, I'm trying to use my laptop to rip dvds
> using
> > dvdrip, but no dvds are ever seen.  I'm a bit
> confused
> > because I've done some looking around and no one
> has
> > this problem (according to Sir Google).
> > 
> > My OS is thus:
> > L# uname -a
> > FreeBSD L.liza.com 4.6.2-RELEASE-p2 FreeBSD
> > 4.6.2-RELEASE-p2 #0: Mon Sep 16 13:41:26 PDT 2002 
>   
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FW.safe  i386
> > 
> > My dvd player seems to be recognized just fine:
> > %dmesg | grep DVD
> > acd0: DVD-ROM  at
> > ata1-master PIO4
> > 
> > And I know this dvd player works because this is a
> > Toshiba Tecra that plays dvds fine when I boot
> into
> > win2k.  Oh, and yes the cdrom is mounted:
> > L# df 
> > Filesystem  1K-blocksUsed   Avail Capacity 
> > Mounted on
> > /dev/ad0s2a101758   43554   5006447%/
> > /dev/ad0s2g1530043918  136846 3%   
> /tmp
> > /dev/ad0s2e   4129310 2059056 173991054%   
> /usr
> > /dev/ad0s2f907182   43686  790922 5%   
> /var
> > procfs  4   4   0   100%   
> /proc
> > /dev/acd0c7651652 7651652   0   100%   
> /cdrom
> 
> While I don't know that it's you main problem, I
> check protection on
> the device. Also, I have never used dvdrip, but I'd
> look closely at
> the default device it looks for. Many DVD
> applications try to access
> /dev/dvd by default. (E.G. Ogle). Make sure it's
> /dev/acd0c.
> 
> Also, your DVD is running in PIO mode. This will
> provide very poor
> performance. Set it to DMA with hw.ata.atapi_dma=1
> in
> /boot/loader.conf and reboot.
> 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory
> (Berkeley Lab)
> E-mail: [EMAIL PROTECTED]Phone: +1 510 486-8634


=
---
Heavy metal made me do it.
---

__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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



Re: mplayer barfs after portupgrade today

2002-09-19 Thread Jud

9/19/2002 6:41:49 PM, Stacey Roberts 
<[EMAIL PROTECTED]> wrote:

>Hello,
> I used portupgrade to update (a working) mplayer on my system
>tonight, and now it crashes with the following errors:
[snip]

Stacey -

Adam's answered your questions, which gives me the luxury of asking 
the following:  Portupgrade seems to have been problematic for you 
more than once, so why not try -

#make deinstall clean && make reinstall clean

if there's not a cvsup in between; or -

#make deinstall clean 

before cvsup, then -

#make clean && make install clean

afterward?

Jud





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



Re: Company mail system question...

2002-09-19 Thread Bob Johnson

On Thursday 19 September 2002 07:05 pm, Michael Pelletier appears to 
have written:
> I am reseaching for a mail system for my company. I would like some
> information for my research. Basically, I would need POP3, IMAP, etc
> support ans many of the client are windoze based. Thanks in advance.
>

I've used both Cyrus and Courier for this sort of situation.  Both work 
well, and both are efficient (I have a low volume server with Courier 
SSL-IMAP and ESMTP on a 486DX33 with 20 MB of ram).  I know of one 
Cyrus system that supports tens of thousands of mail users.

I use Courier now and haven't used Cyrus in a few years, so I'm not sure 
how current versions would compare, but I lean toward Courier.  It's 
extremely flexible, but the documentation tends to lag behind its 
development.  When I used Cyrus it was probably worse about that.

http://www.courier-mta.org is its home.
But if you decide to try it, install it from the ports system.  You 
might want to read through their recent mailing list archives to get 
some idea of what bugs you can expect to encounter.



- Bob


> Michael Pelletier


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



Re: Is It Possible To Sort My Text File?

2002-09-19 Thread Duncan Anker

On Fri, 2002-09-20 at 09:06, Drew Tomlinson wrote:
> I'm running Postfix and have it configured to send 450 errors if the
> IP address of a mail server fails reverse lookup as described at
> http://www.muine.org/~hoang/postfix.html.  As part of this config, I
> have a "override" file that is checked first.  When I initially
> created the file, I sorted my entries based upon reported domain
> names.  I have now decided that I would prefer to have the entries
> listed in IP address order.
> 
> Although I could fix the file manually, I know there are tools in the
> OS that will do this for me and I'd like to learn how to use them.  I
> am guessing that a command line using cat, sort, and sed or awk is
> what I need but I haven't been able to figure this out.
> 

If it was just IP addresses, it'd be no problem.

Keeping the comments there is a little trickier. But I guess if you KNOW
the data will be in that format (comment, list of IPs blank separator)
you may get off a little more lightly than arbitray text.

I would suggest looking at Perl - unless you have a perverse desire to
learn sed and awk and still be limited in what you can do. I find Perl
does it all and more, plus TMTOWTDI (There's More Than One Way To Do It
- the Perl motto).

Assuming you go the Perl route, start by setting the record separator to
a blank line, then read each comment/IP in - I think a hash of comment
and IP array would work. Then you can sort the IPs for each record, or
across the board or whatever you want to do. I'm not sure how you will
handle sorting an IP between two other IPs in the same black, but that's
easy enough whatever you decide to do.

I'm giving a broad overview, rather than telling you exactly what to do
for a couple of reasons. One is that you wish to learn, and you'll learn
better by doing it yourself. And the other is that I would have to do
this myself first, and why duplicate the effort when you're going to do
it? ;-)

Hope that helps. Drop me a line if you need more detailed info.

regards,
Duncan Anker




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



Re: mplayer barfs after portupgrade today

2002-09-19 Thread Adam Weinberger

root@smacky:~# pkg_info -L mplayer-gtk-0.90.0.8|grep codecs.conf
/usr/local/share/mplayer/codecs.conf

-Adam


>> (09.19.2002 @ 1541 PST): Stacey Roberts said, in 3.8K: <<
> Hello,
>  I used portupgrade to update (a working) mplayer on my system
> tonight, and now it crashes with the following errors:
> 
> MPlayer 0.90pre8-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)
> 
> CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6,
> Stepping: 3)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get
> best performance, recompile MPlayer with --disable-runtime-cpudetection
> Reading /home//.mplayer/codecs.conf: can't open
> '/home//.mplayer/codecs.conf': No such file or directory
> Reading /usr/local/etc/mplayer/codecs.conf: can't open
> '/usr/local/etc/mplayer/codecs.conf': No such file or directory
> (copy/link etc/codecs.conf (from the MPlayer source tree) to
> ~/.mplayer/codecs.conf)
> ~ $
> 
> Attempts to follow the "instructions" in the crash messages doesn't
> make sense either:
>  ~ $ cp /etc/codecs.conf ~/.mplayer/codecs.conf
> cp: /etc/codecs.conf: No such file or directory
> ~ $ ls -la /usr/local/etc
> total 119
> drwxr-xr-x   4 root  wheel   1024 Sep 19 21:55 .
> drwxr-xr-x  16 root  wheel512 Aug  3 14:35 ..
> drwxr-xr-x   2 root  wheel512 Aug 24 20:54 apache
> -rw---   1 root  wheel246 Sep 14 18:23 ddclient.cache
> -rw---   1 root  wheel   3902 Jul 31 18:10 ddclient.conf
> -r--r--r--   1 root  wheel   3940 Jul 31 17:59 ddclient.conf.sample
> -r--r--r--   1 root  wheel 77 Aug 28 18:37 esd.conf
> -r--r--r--   1 root  wheel199 Jul 25 00:41 ghttpConf.sh
> -r--r--r--   1 root  wheel254 Jul 24 22:58 libIDLConf.sh
> -rw-r--r--   1 root  wheel 63 Aug 13 16:08 opera6rc
> -rw-r--r--   1 root  wheel 58 Aug 13 16:08 opera6rc.fixed
> -rw-r--r--   1 root  wheel 28 Jul 24 22:58 orbitrc
> -rw-r--r--   1 root  wheel 28 Jul 24 22:58 orbitrc.default
> -r--r--r--   1 root  wheel   9192 Sep 19 21:55 pkgtools.conf
> -r--r--r--   1 root  wheel   9192 Sep 19 21:55 pkgtools.conf.sample
> -r-xr-xr-x   1 root  wheel737 Sep 19 21:55 pkgtools.status-pkg.sh
> -rw-r--r--   1 root  wheel  0 Sep 19 17:33 portsentry.blocked.tcp
> -rw-r--r--   1 root  wheel  0 Sep 19 17:33 portsentry.blocked.udp
> -r--r--r--   1 root  wheel  11151 Aug 13 20:32 portsentry.conf
> -r--r--r--   1 root  wheel  11153 Aug 13 20:24 portsentry.conf.default
> -r--r--r--   1 root  wheel480 Aug 13 20:24 portsentry.ignore
> drwxr-xr-x   2 root  wheel512 Sep 19 21:55 rc.d
> -r--r--r--   1 root  wheel716 Aug 21 19:27 trafshow
> -r--r--r--   1 root  wheel716 Aug 21 19:27 trafshow.dist
> -r--r--r--   1 root  wheel  23943 Aug 24 08:43 webalizer.conf
> -r--r--r--   1 root  wheel  23930 Aug 23 17:46 webalizer.conf-dist
> -r--r--r--   1 root  wheel   4022 Jul 28 21:58 wgetrc
> -r--r--r--   1 root  wheel359 Aug 24 11:07 xml2Conf.sh
> -r--r--r--   1 root  wheel203 Jul 24 22:48 xmlConf.sh
> -r--r--r--   1 root  wheel249 Aug 24 11:10 xsltConf.sh
> ~ $
> 
>  $ ls -la /etc/codecs.conf
> ls: /etc/codecs.conf: No such file or directory
> $ 
> 
> Can someone let me know how to fix this please?
> 
> Thanks.
> 
> Stacey
> -- 
> Stacey Roberts
> B.Sc (HONS) Computer Science
> 
> Web: www.vickiandstacey.com


>> end of "mplayer barfs after portupgrade today" from Stacey Roberts <<


--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


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



Re: Company mail system question...

2002-09-19 Thread Daniel Bye

On Thu, Sep 19, 2002 at 07:05:20PM -0400, Michael Pelletier wrote:
> I am reseaching for a mail system for my company. I would like some 
> information for my research. Basically, I would need POP3, IMAP, etc 
> support ans many of the client are windoze based. Thanks in advance.

For both IMAP and POP3, consider using Cyrus, in the ports.

Other IMAP and POP3 servers are available, but cyrus has the advantage
of doing both in one package.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

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



Re: Company mail system question...

2002-09-19 Thread Philip Hallstrom

Your best bet would be to search these mailing lists for the following
words (not necessarily in the same search).

uw-imap
qpopper
courier
cyrus
postfix
qmail

that will turn up a lot of information on what other people are
recommending.  I myself use uw-imap, but our company is only 7 people so I
don't have any capacity issues to deal with.

On Thu, 19 Sep 2002, Michael Pelletier wrote:

> I am reseaching for a mail system for my company. I would like some
> information for my research. Basically, I would need POP3, IMAP, etc support
> ans many of the client are windoze based. Thanks in advance.
>
> Michael Pelletier
>
>
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


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



Re: find case-insensitive challenge

2002-09-19 Thread Duncan Anker

On Thu, 2002-09-19 at 23:53, Oliver Fromme wrote:
> 
> In general, it is a good idea to try to avoid -exec, because
> it is inefficient.  -exec runs the specified command for every
> single file, whilch can be terribly slow if there are a lot of
> files.  Better use xargs instead, which will collect multiple
> filenames and execute the command fewer times.
> 
> This also enables you to use grep to filter the file names in
> a more sophisticated way than find itself can do:
> 
> find foo -type f | grep -i '\.jpg$' | xargs -J % mv % bar
> 

My preferred method also. But ... I can never get that to work if there
are spaces (or other illegal characters) in the file names.

And no, I don't usually put spaces in my filenames, but I use this quite
frequently behind the scenes on Mac OS X.


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



Is It Possible To Sort My Text File?

2002-09-19 Thread Drew Tomlinson

I'm running Postfix and have it configured to send 450 errors if the
IP address of a mail server fails reverse lookup as described at
http://www.muine.org/~hoang/postfix.html.  As part of this config, I
have a "override" file that is checked first.  When I initially
created the file, I sorted my entries based upon reported domain
names.  I have now decided that I would prefer to have the entries
listed in IP address order.

Although I could fix the file manually, I know there are tools in the
OS that will do this for me and I'd like to learn how to use them.  I
am guessing that a command line using cat, sort, and sed or awk is
what I need but I haven't been able to figure this out.

Below is the first part of my file.  Please look at the last entry I
included because it has two IP addresses for the same domain comment
and I would really like to keep entries like this intact.  Any
suggestions and examples for building the command will be appreciated.

Thanks,

Drew

blacklamb# cat client_access
# Add unknown client addresses that we'll accept mail from.  See
document at
# http://www.muine.org/~hoang/postfix.html

# temp allows
209.112.63.30   OK

# 1st-N.com (Linksys Access Point)
209.185.202.19  OK

# lenny.501mail.net
203.27.248.40   550 No UCE!

# ABT Wish List -- wishlist.com (Electronics vendor) -- RCA HDTV
216.34.220.54   OK

# Margaret Andrews - jefco.com
204.253.68.19   OK

# alliance1.arschicago.com
207.224.40.14   550 No UCE!

# askme.com
63.251.171.71   OK

# bigfoot.com (Mark's Adding Machine)
206.97.247.12   OK

# bluemountain.com (greeting cards)
63.210.57.38OK

# bodybuilding.com
63.146.198.70   OK

# Broadway Computer
216.205.93.45   OK
65.115.35.240   OK


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



Company mail system question...

2002-09-19 Thread Michael Pelletier

I am reseaching for a mail system for my company. I would like some 
information for my research. Basically, I would need POP3, IMAP, etc support 
ans many of the client are windoze based. Thanks in advance.

Michael Pelletier



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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



mplayer barfs after portupgrade today

2002-09-19 Thread Stacey Roberts

Hello,
 I used portupgrade to update (a working) mplayer on my system
tonight, and now it crashes with the following errors:

MPlayer 0.90pre8-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6,
Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get
best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading /home//.mplayer/codecs.conf: can't open
'/home//.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
(copy/link etc/codecs.conf (from the MPlayer source tree) to
~/.mplayer/codecs.conf)
~ $

Attempts to follow the "instructions" in the crash messages doesn't
make sense either:
 ~ $ cp /etc/codecs.conf ~/.mplayer/codecs.conf
cp: /etc/codecs.conf: No such file or directory
~ $ ls -la /usr/local/etc
total 119
drwxr-xr-x   4 root  wheel   1024 Sep 19 21:55 .
drwxr-xr-x  16 root  wheel512 Aug  3 14:35 ..
drwxr-xr-x   2 root  wheel512 Aug 24 20:54 apache
-rw---   1 root  wheel246 Sep 14 18:23 ddclient.cache
-rw---   1 root  wheel   3902 Jul 31 18:10 ddclient.conf
-r--r--r--   1 root  wheel   3940 Jul 31 17:59 ddclient.conf.sample
-r--r--r--   1 root  wheel 77 Aug 28 18:37 esd.conf
-r--r--r--   1 root  wheel199 Jul 25 00:41 ghttpConf.sh
-r--r--r--   1 root  wheel254 Jul 24 22:58 libIDLConf.sh
-rw-r--r--   1 root  wheel 63 Aug 13 16:08 opera6rc
-rw-r--r--   1 root  wheel 58 Aug 13 16:08 opera6rc.fixed
-rw-r--r--   1 root  wheel 28 Jul 24 22:58 orbitrc
-rw-r--r--   1 root  wheel 28 Jul 24 22:58 orbitrc.default
-r--r--r--   1 root  wheel   9192 Sep 19 21:55 pkgtools.conf
-r--r--r--   1 root  wheel   9192 Sep 19 21:55 pkgtools.conf.sample
-r-xr-xr-x   1 root  wheel737 Sep 19 21:55 pkgtools.status-pkg.sh
-rw-r--r--   1 root  wheel  0 Sep 19 17:33 portsentry.blocked.tcp
-rw-r--r--   1 root  wheel  0 Sep 19 17:33 portsentry.blocked.udp
-r--r--r--   1 root  wheel  11151 Aug 13 20:32 portsentry.conf
-r--r--r--   1 root  wheel  11153 Aug 13 20:24 portsentry.conf.default
-r--r--r--   1 root  wheel480 Aug 13 20:24 portsentry.ignore
drwxr-xr-x   2 root  wheel512 Sep 19 21:55 rc.d
-r--r--r--   1 root  wheel716 Aug 21 19:27 trafshow
-r--r--r--   1 root  wheel716 Aug 21 19:27 trafshow.dist
-r--r--r--   1 root  wheel  23943 Aug 24 08:43 webalizer.conf
-r--r--r--   1 root  wheel  23930 Aug 23 17:46 webalizer.conf-dist
-r--r--r--   1 root  wheel   4022 Jul 28 21:58 wgetrc
-r--r--r--   1 root  wheel359 Aug 24 11:07 xml2Conf.sh
-r--r--r--   1 root  wheel203 Jul 24 22:48 xmlConf.sh
-r--r--r--   1 root  wheel249 Aug 24 11:10 xsltConf.sh
~ $

 $ ls -la /etc/codecs.conf
ls: /etc/codecs.conf: No such file or directory
$ 

Can someone let me know how to fix this please?

Thanks.

Stacey
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



signature.asc
Description: This is a digitally signed message part


Re: OT sed help

2002-09-19 Thread Matthew Bettinger

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks for the solution.

Informix fun fun ...

Matt


On Thursday 19 September 2002 02:40 pm, Oliver Fromme wrote:
> Matthew Bettinger <[EMAIL PROTECTED]> wrote:
>  > I have a flat file that I need to import into a database.  The first
>  > field of the file is a part number which cannot exceed more than 8
>  > characters.
>  >
>  > Does anyone know how I can use  sed to count the characters in the first
>  > field and if there are more than 8 print out a list?
>
> It's probably easiest to use awk for that job:
>
>awk '(length($1) > 8)' flatfile.txt
>
> Regards
>Oliver
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9ik1vXG7+MmNwciURAtgqAKCkcmKuBbKcVAy8T4kydXbQPuA7WQCcC27c
pCpQllkmCZp0aIIhiWqE7lo=
=l7D5
-END PGP SIGNATURE-


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



Re: NFS Problems FreeBSD --> Solaris

2002-09-19 Thread Mike Hogsett


> Hello,
>   I am attempting to mount a few directories from my Solaris machine(s) to my
>  
> FreeBSD workstation. nfsd is clearly running on Solaris and the sharing the 
> directories is not a problem. When I attempt to mount the directories on 
> FreeBSD I get the following error: 
> 
> damascus:/usr/wmprice: RPCMNT: clnt_create: RPC: Program not registered

It sounds like a) portmap isn't running, b) mountd is not registered with
portmap (on the server) or is not running or c) nfsd is not running or
registered with portmap (on the server).

Confirm portmap is running on both hosts.  If 'rpcinfo -p '
returns an error then portmap is not running. 

Run  'rpcinfo -p ' for both machines, check for mountd
and check for nfsd

Here is output from my local box (which exports my home dir) :

rpcinfo -p localhost
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
172   udp   1010  ypbind
172   tcp   1023  ypbind
153   udp   1006  mountd  <--
153   tcp   1022  mountd  <--
151   udp   1006  mountd  <--
151   tcp   1022  mountd  <--
132   udp   2049  nfs <--
133   udp   2049  nfs <--
1000241   udp996  status
1000241   tcp   1021  status
3000191   tcp   1019
3000191   udp991

Here is output from my solaris box

rpcinfo -p solarisfs1
   program vers proto   port
104   tcp111  portmapper
103   tcp111  portmapper
102   tcp111  portmapper
104   udp111  portmapper
103   udp111  portmapper
102   udp111  portmapper
173   udp  32774  ypbind
172   udp  32774  ypbind
171   udp  32774  ypbind
173   tcp  32771  ypbind
172   tcp  32771  ypbind
171   tcp  32771  ypbind
1000241   udp  32782  status
1000241   tcp  32772  status
1001331   udp  32782
1001331   tcp  32772
1000211   udp   4045  nlockmgr
1000212   udp   4045  nlockmgr
1000213   udp   4045  nlockmgr
1000214   udp   4045  nlockmgr
1000211   tcp   4045  nlockmgr
1000212   tcp   4045  nlockmgr
1000213   tcp   4045  nlockmgr
1000214   tcp   4045  nlockmgr
3901131   tcp   7937
3901032   tcp   7939
3901092   tcp   7939
3901101   tcp   7939
3901032   udp   7940
3901092   udp   7940
3901101   udp   7940
151   udp  32877  mountd  <--
152   udp  32877  mountd  <--
153   udp  32877  mountd  <--
151   tcp  32881  mountd  <--
152   tcp  32881  mountd  <--
153   tcp  32881  mountd  <--
132   udp   2049  nfs <--
133   udp   2049  nfs <--
1002272   udp   2049  
1002273   udp   2049
132   tcp   2049  nfs <--
133   tcp   2049  nfs <-- 
1002272   tcp   2049
1002273   tcp   2049
3000191   tcp  32930
3000191   udp  32888
3901074   tcp   7940
3901075   tcp   7940
390104  105   tcp   7941
3901055   tcp   7942


To confirm exports (shares) you can also run showmount

showmount -e localhost
Exports list on localhost:
/export/u1 192.168.0.0 hosta.domain hostb.domain

showmount -e solarisfs1
Exports list on solarisfs1:
/export/u1 Everyone
/package   Everyone
/foo   Everyone


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



Re: NFS Problems FreeBSD --> Solaris

2002-09-19 Thread Dan Nelson

In the last episode (Sep 19), Weston M. Price said:
>   I am attempting to mount a few directories from my Solaris
> machine(s) to my FreeBSD workstation. nfsd is clearly running on
> Solaris and the sharing the directories is not a problem. When I
> attempt to mount the directories on FreeBSD I get the following
> error:
> 
> damascus:/usr/wmprice: RPCMNT: clnt_create: RPC: Program not registered

Make sure rpcbind, mountd, and nfsd are running on the Solaris box.  If
they are, what does the output of "rpcinfo -p damanscus" print?

-- 
Dan Nelson
[EMAIL PROTECTED]

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



NFS Problems FreeBSD --> Solaris

2002-09-19 Thread Weston M. Price

Hello,  
  I am attempting to mount a few directories from my Solaris machine(s) to my 
FreeBSD workstation. nfsd is clearly running on Solaris and the sharing the 
directories is not a problem. When I attempt to mount the directories on 
FreeBSD I get the following error: 

damascus:/usr/wmprice: RPCMNT: clnt_create: RPC: Program not registered

A simple ps -x | egrep shows that nfsiod is running

ps -x | egrep nfsiod

98  ??  I  0:00.00 nfsiod -n 4
99  ??  I  0:00.00 nfsiod -n 4
100  ??  I  0:00.00 nfsiod -n 4
101  ??  I  0:00.00 nfsiod -n 4

I have this configured to begin at startup. 

So, what am I doing wrong? This would seem to me to be a pretty simple 
procedure. Any help would be appreciated. 

Weston

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



mini iso's

2002-09-19 Thread Socketd

Hi

I have noticed that there isn't a mini iso for 4.6.2, why?
Will there be one for 4.7? (I really hope so).

br
db

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



Re: IRQ problems

2002-09-19 Thread Matthew Seaman

On Thu, Sep 19, 2002 at 01:05:53PM -0600, [EMAIL PROTECTED] wrote:

> The KDE desktop initializes and displays fine, but the mouse jitters and 
> jerks and stays in the upper left hand corner of the screen.  It responds 
> to input, (when I move the mouse it jerks out of the corner then back in, 
> and I cannot control it.  For now I wouldn't mind not using the mouse, but 
> I don't know how to make the pointer move without it in KDE (is there 
> virtual mouse utility like in X?).

Sounds like you aren't using quite the right mouse type.  If you let
the X server determine the mouse type automatically, it usually does a
pretty good job.  If you're running moused(8) -- ie you have:

moused_enable="YES"

in /etc/rc.conf -- then something like this in the XF86Config file
should work well:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "auto"
Option  "Device" "/dev/mouse"
EndSection

Now, if you've got a mouse with all sorts of fancy wheels and rollers,
then there are other options to make all that sort of stuff work.
However, this minimal configuration should give you the basic
functionality.
 
> During the installation probe of freeBSD there is no option to set the 
> display adapter IRQ.  The mouse comes up as IRQ 12 and will not let me edit 
> it.  So I think I have an IRQ conflict, but I don't know how to resolve it 
> on the pc end or the freeBSD end.  I even tried fooling the BIOS into 
> thinking that the display adapter had a different IRQ so that it would not 
> occupy IRQ 12.  Alas, to no avail.

Curious.  The IRQ of a PCI device is usually defined by which of the
PCI slots it's plugged into.  Given you've got PnP turned off, you
should get pretty much the same IRQ settings as under WinXP.  IRQ 12
is by all customary usage devoted to the mouse (psm0 device).
 
> Here is where I could use some help.
> 1.  I need a tool or procedure that I could use to DEFINATIVELY capture 
> IRQ, I/O and memory addresses (all I care about is wow they will work in 
> freeBSD).

It's captured for you, in the /var/run/dmesg.boot file.  It will
contain details of every device recognised by your kernel.

Another useful couple of commands are:

pciconf -lv
pnpinfo
 
> 2.  A way to view and edit IRQ information on the freeBSD side other than 
> the initial installation.  It takes a LONG time to re-install the system, 
> when you just want to change one value and test it (something like the 
> system probe).  I have re-installed the system, probably 30 times now (I'm 
> a little stubborn).  

You definitely don't need to reinstall the whole system.  The most you
need to do is compile yourself a custom kernel, install it and reboot.
See chapter 9 of the Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
for detailed instructions.

However, you can set a lot of kernel configuration by modifying the
/boot/loader.conf file --- the loader.conf(5) and loader(8) man pages
describe the syntax, and the man pages for the individual devices
(eg. psm(4)) will tell you all the available options amidst a deal of
other information: look for the ones that talk mention kldload(8).
Note too that playing with loader.conf can be hazardous to the
bootability of your system so pay due care and attention to what
you're doing.

Cheers, and good luck,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Fixes for modem lockup and cuaa4/KPPP problems

2002-09-19 Thread Art Swan

These are fixes I found on the web for a couple of
problems I was having. 1. System lockup when I tried
to use cuaa0 and 2. How to use cuaa4 on KPPP dialer.

For the modem lockup when I tried to use cuaa0, I
simply used (as root) /dev/MAKEDEV to create cuaa4,
with which my modem worked perfectly.

Then I had to find a way to use cuaa4 under KPPP which
only allows cuaa0 to cuaa3. Basically it's simple. As
root, cd down to /dev and remove (rm) cuaa3. Then form
a soft link called /dev/cuaa3 to /dev/cuaa4. It solved
the problem fine. KPPP worked like a charm from then
on. Here is the article I got the fix from:

"
This will probably only apply to PCI Modems that are
assigned 
an IRQ out of the range of the normal COM port IRQ's.
( IRQ 4, 3)

The problem:
ActionTek PCI modem assigned to sio4, I prefer KDE and
KPPP as my 
connection interface. KPPP only provides port
selections cuaa0 to 
cuaa3. My modem is assigned to cuaa4. ( I really like
the automated 
MAKEDEV on bootup, specially since I can't find
setserial on my box 
anymore :^) )

Solution:
As root from CLI shell or even a terminal in KDE. cd
/dev See what 
exists:
ls -l /dev/cuaa* Should see entries in the table: 
crw-r-- uucp dialer 28, 130 Dec 7 16:00 cuaa0
crw-r-- uucp dialer 28, 130 Dec 7 16:00 cuaa1
crw-r-- uucp dialer 28, 130 Dec 7 16:00 cuaa2
crw-r-- uucp dialer 28, 130 Dec 7 16:00 cuaa3
crw-r-- root wheel 28, 132 Dec 7 16:00 cuaa4

NOTE: If your table does not look like the example
above you should 
probably try another method. This worked for me and my
setup. 

rm cuaa3
ln -s /dev/cuaa4 /dev/cuaa3
To Verify: ls -l /dev/cuaa*
Should now look like:
crw-r-- uucp dialer 28, 130 Dec 7 16:00 cuaa0
crw-r-- uucp dialer 28, 130 Dec 7 16:00 cuaa1
crw-r-- uucp dialer 28, 130 Dec 7 16:00 cuaa2
crw-r-- root wheel 10, Dec 7 16:02 cuaa3 ->
/dev/cuaa4
crw-r-- root wheel 28, 132 Dec 7 16:00 cuaa4

Finally:
In order for me as user to use this I had to assign
myself to group 
wheel in /etc/group file. This is easily done with
your favorite editor 
and adding a comma behind the last entry of group
wheel and the the 
approppriate user name. Do not put a space, white or
otherwise between 
the comma and the new user ID.

Written and tested by BSDvault member DonXC 

"

Hope all this helps someone.
:)



__
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

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



Re: Server Lockups during Backups ad0 to ad1

2002-09-19 Thread Jack L. Stone

At 11:50 AM 9.18.2002 -0400, Lowell Gilbert wrote:
>"Jack L. Stone" <[EMAIL PROTECTED]> writes:
>
>> Am running FreeBSD 4.5-RELEASE
>
>Updating might help; there are some changes to the ATA code which I
>think *might* be relevant.  Don't do that first, though; it could
>certainly compound your problems.
>
>> BTW, the BIOS doesn't even show the ad1 IDE on first reboot, which takes a
>> hard switch reset. Tnen a complete power down/power up to bring the ad1 HD
>> in the BIOS backOUCH! Is scary for this server which is not very old.
>
>[...]
>
>>
==
>> Sep 16 10:38:23 sage-one /kernel: ad1: WRITE command timeout tag=0 serv=0 -
>> resetting
>> Sep 16 10:40:07 sage-one /kernel: ata0: resetting devices .. done
>> Sep 16 10:40:07 sage-one /kernel: ad1: WRITE command timeout tag=0 serv=0 -
>> resetting
>> Sep 16 10:40:07 sage-one /kernel: ata0: resetting devices .. done
>
>This looks like the drive is going out to lunch.
>
>> Sep 16 10:40:07 sage-one /kernel: ad1s1f: hard error writing fsbn 23516351
>> of 5466688-5466943 (ad1s1 bn 23516351; cn 1463 tn 
>> 210 sn 26)ata0-slave: timeout waiting for command=ef s=01 e=04
>
>This looks like an actual media problem on the drive.
>
>> Sep 16 10:40:07 sage-one /kernel: ad1: timeout waiting for DRQ - resetting
>> Sep 16 10:40:07 sage-one /kernel: ata0: resetting devices .. done
>> Sep 16 10:40:07 sage-one /kernel: ad1: timeout waiting for DRQ - resetting
>> Sep 16 10:40:07 sage-one /kernel: ata0: resetting devices .. done
>> Sep 16 10:40:07 sage-one /kernel: swap_pager: indefinite wait buffer:
>> device: #ad/0x20001, blkno: 392, size: 4096
>
>The drive seems to have gone away...
>
>I'd recommend starting by replacing the ad1 drive, if possible.
>
>Good luck.
>

The ad1 drive WAS the problem. Using for a while in another machine showed
same symptoms. DRATS! It was a brand-new drive and so has been dangerously
flaky (defective) from the start when installed several months ago.
Fortunately, the ad0 identical drive was okay no more QUANTUM FIREBALLS
for me!

Again, thanks for all help!!!

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: IRQ problems

2002-09-19 Thread Matt Smith

How is your mouse configured in /etc/X11/XF86Config?
Try the sysmouse device, with Protocol set to auto -- I had the same
problem, and these setting fixed it.  I am using a Wheel Mouse with no
problems now. the wheel will work once you add the ZAxisMapping
configs..
-Matt

On Thu, 2002-09-19 at 15:05, [EMAIL PROTECTED] wrote:
> I'm getting there.  It has taken me two weeks to get to this point.  I will 
> never give up! :-)
> 
> I still can not install freeBSD with the graphical interface KDE.  I get 
> through the installation process ok and then when I restart, login as root 
> (or any other acct) and invoke "startx" this is what happens:  
> 
> The KDE desktop initializes and displays fine, but the mouse jitters and 
> jerks and stays in the upper left hand corner of the screen.  It responds 
> to input, (when I move the mouse it jerks out of the corner then back in, 
> and I cannot control it.  For now I wouldn't mind not using the mouse, but 
> I don't know how to make the pointer move without it in KDE (is there 
> virtual mouse utility like in X?).
> 
> Let me tell something about my hardware and settings, maybe this will 
> reveal something obvious and blaring to you, but hidden to me.
> 
> IRQ Problems:
> I am running WindowsXP on an ASUS P2B motherboard.  It is a dual processor 
> board, but I only have one P2 (450mhz) processor (I am running hal.dll).  
> When I run Winmsd.exe (in safe mode).  I show the display adapter (Matrox 
> G400 Max) at IRQ 16.
> 
> In the BIOS I have the PnP OS variable set to OFF.  When I power up the 
> machine and I see the display of most of the system devices, their address, 
> names and IRQ values.  Here, the display adapter resides at IRQ 12.
> 
> During the installation probe of freeBSD there is no option to set the 
> display adapter IRQ.  The mouse comes up as IRQ 12 and will not let me edit 
> it.  So I think I have an IRQ conflict, but I don't know how to resolve it 
> on the pc end or the freeBSD end.  I even tried fooling the BIOS into 
> thinking that the display adapter had a different IRQ so that it would not 
> occupy IRQ 12.  Alas, to no avail.
> 
> I would love to send the startup log, but I haven't figured out how to do 
> that.  The machine "assumptions" are different every which way I look at 
> them.  In windows safe mode I see what looks to be a complete accounting of 
> config values.  In normal mode, running Winmsd.exe I get a different set of 
> values.  Looking at the device manager reveals some different twists.  The 
> machine level/BIOS "assumptions" have subtle but important differences, and 
> finally the freeBSD probe reveals different values all together.  For me it 
> is a little like hitting a moving target that is on a moving target (while 
> I am moving).
> 
> Here is where I could use some help.
> 1.  I need a tool or procedure that I could use to DEFINATIVELY capture 
> IRQ, I/O and memory addresses (all I care about is wow they will work in 
> freeBSD).
> 
> 2.  A way to view and edit IRQ information on the freeBSD side other than 
> the initial installation.  It takes a LONG time to re-install the system, 
> when you just want to change one value and test it (something like the 
> system probe).  I have re-installed the system, probably 30 times now (I'm 
> a little stubborn).  
> 
> I am a newbie to be sure, but I really want to learn.  I have a definite 
> goal in mind for setting this up.  I want to set up an FTP and mail server, 
> and I have consistently heard that the BSD platform is THE way to go (I 
> also love this sort of challenge).  
> 
> I will not be deterred or discouraged.
> 
> Many thanks for any help.
> 
> Stephen
> 
> 
> 
> Stephen Randall
> [EMAIL PROTECTED]
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 



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



Re: OT sed help

2002-09-19 Thread Oliver Fromme

Matthew Bettinger <[EMAIL PROTECTED]> wrote:
 > I have a flat file that I need to import into a database.  The first field of 
 > the file is a part number which cannot exceed more than 8 characters.
 > 
 > Does anyone know how I can use  sed to count the characters in the first field 
 > and if there are more than 8 print out a list?

It's probably easiest to use awk for that job:

   awk '(length($1) > 8)' flatfile.txt

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

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



Re: WCCP performance questions

2002-09-19 Thread Chuck Swiger

On Tuesday, September 17, 2002, at 04:51  AM, Girnet Vladimir wrote:
> We are about to build some new WCCP servers. These servers will be based 
> on FreeBSD 4.6.2 with Squid 2.4.7.
>
>   The hardware will be: 2 x PIII 1.3GHz, 1GB RAM, 100GB HDD. Servers must 
> serve about 200 requests per second, from about 1000 users.
>
>  I have a question: What performance tuning must be made, to achive the 
> best results from these servers?

Read "man tuning", of course.

200 requests per second is a significant load-- around 2 MB/s I/O 
bandwidth, given an average WWW request size of ~10K, only remember that 
you have to read the requested data (at least the first time, until it's 
cached) and forward the response to the client, so you're both sending and 
receiving the bytes some of the time.

You want to either have a fast SCSI disk system, or multiple spindles, or 
preferably both.  Four 30 GB disks would perform a lot better than one 100 
GB disk.  With the way squid distributes cache directories, you wouldn't 
even need to RAID-0 (stripe) them, although that wouldn't be a bad thought 
either.  You could get by with a single 100TX NIC per machine, but having 
two NICs would be better, since you can easily divide the network traffic 
up.

-Chuck

Chuck Swiger | [EMAIL PROTECTED] | All your packets are belong to 
us.

-+---+---
"The human race's favorite method for being in control of the facts
 is to ignore them."  -Celia Green


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



IRQ problems

2002-09-19 Thread randallS

I'm getting there.  It has taken me two weeks to get to this point.  I will 
never give up! :-)

I still can not install freeBSD with the graphical interface KDE.  I get 
through the installation process ok and then when I restart, login as root 
(or any other acct) and invoke "startx" this is what happens:  

The KDE desktop initializes and displays fine, but the mouse jitters and 
jerks and stays in the upper left hand corner of the screen.  It responds 
to input, (when I move the mouse it jerks out of the corner then back in, 
and I cannot control it.  For now I wouldn't mind not using the mouse, but 
I don't know how to make the pointer move without it in KDE (is there 
virtual mouse utility like in X?).

Let me tell something about my hardware and settings, maybe this will 
reveal something obvious and blaring to you, but hidden to me.

IRQ Problems:
I am running WindowsXP on an ASUS P2B motherboard.  It is a dual processor 
board, but I only have one P2 (450mhz) processor (I am running hal.dll).  
When I run Winmsd.exe (in safe mode).  I show the display adapter (Matrox 
G400 Max) at IRQ 16.

In the BIOS I have the PnP OS variable set to OFF.  When I power up the 
machine and I see the display of most of the system devices, their address, 
names and IRQ values.  Here, the display adapter resides at IRQ 12.

During the installation probe of freeBSD there is no option to set the 
display adapter IRQ.  The mouse comes up as IRQ 12 and will not let me edit 
it.  So I think I have an IRQ conflict, but I don't know how to resolve it 
on the pc end or the freeBSD end.  I even tried fooling the BIOS into 
thinking that the display adapter had a different IRQ so that it would not 
occupy IRQ 12.  Alas, to no avail.

I would love to send the startup log, but I haven't figured out how to do 
that.  The machine "assumptions" are different every which way I look at 
them.  In windows safe mode I see what looks to be a complete accounting of 
config values.  In normal mode, running Winmsd.exe I get a different set of 
values.  Looking at the device manager reveals some different twists.  The 
machine level/BIOS "assumptions" have subtle but important differences, and 
finally the freeBSD probe reveals different values all together.  For me it 
is a little like hitting a moving target that is on a moving target (while 
I am moving).

Here is where I could use some help.
1.  I need a tool or procedure that I could use to DEFINATIVELY capture 
IRQ, I/O and memory addresses (all I care about is wow they will work in 
freeBSD).

2.  A way to view and edit IRQ information on the freeBSD side other than 
the initial installation.  It takes a LONG time to re-install the system, 
when you just want to change one value and test it (something like the 
system probe).  I have re-installed the system, probably 30 times now (I'm 
a little stubborn).  

I am a newbie to be sure, but I really want to learn.  I have a definite 
goal in mind for setting this up.  I want to set up an FTP and mail server, 
and I have consistently heard that the BSD platform is THE way to go (I 
also love this sort of challenge).  

I will not be deterred or discouraged.

Many thanks for any help.

Stephen



Stephen Randall
[EMAIL PROTECTED]

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



Vidcontrol on S3 ProSavage DDR on board

2002-09-19 Thread jmp_fff0

Hello people... I need a help for us...

I'm trying to configure my video card for VESA_800x600 it doesn`t
obtain success... it show the error messaging after command vidcontrol
-g 100x37 VESA_800x600

vidcontrol: cannot activate raster display: Operation not supported by
device


my system is a FreeBSD 5.0-Current and VESA support it configured and
show in dmesg

VESA: v3.0, 31680k memory, flags:0x1, mode table:0xc0580562 (122)
VESA: S3 Graphics ProSavage DDR Family BIOS

and options in my kernel

options SC_PIXEL_MODE
options VGA_WIDTH90
options VESA

Thanks and sorry my poor english

Alan Silva


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



Re: Headless FreeBSD box - Serial Redirection Not Working

2002-09-19 Thread Kevin Oberman

> Date: Thu, 19 Sep 2002 12:39:08 -0400 (EDT)
> From: Jason Borkowsky <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED]
> 
> 
> Greetings! I have FreeBSD 4.6.2-RELEASE running on a rackmount chassis, and
> I want to convert it to a headless box, with all console output redirected
> to the serial port. I have followed the directions in the FreeBSD handbook
> as follows:
> 
> In my kernel, I have the flag 0x10 set on serial port 1 to make it a
> console:
> 
> device  sio0at isa? port IO_COM1 flags 0x10 irq 4
> 
> 
> In my /boot.config file, I have the "-P" option set to probe for keyboard on
> booting, and then redirect the console appropriately.
> 
> Now when I go to reboot the machine (with the keyboard removed), I see the
> following on my dumb terminal on the serial port
> 
> /boot.config: -P
> Keyboard: no
> 
> I then get the message saying "Press [ENTER] to boot kernel or any other key
> to enter single user mode". I press enter, then I see:
> 
> Booting kernel...
> 
> I then do not get any more display on the serial port, and there is no
> display on the monitor, either. However, the box boots fine and I can get
> into it via telnet. The problem is I lost my console display on both the
> serial port and the monitor. Any idea why it stopped displaying to the
> serial port after leaving the boot loader and starting to boot the kernel?

There are at least a couple of ways to skin this cat, but I do this:
1. Set the console flag in the kernel:
device  sio0at isa? port IO_COM1 flags 0x30 irq 4

2. Set the boot.config to use loader:

# cat /boot.config 
0:da(0,a)/boot/loader

This will boot using the serial port as console. It will NOT use the
internal display device. No probe or anything like that. But it will
boot the loader, so you will have the countdown to hit a space and
enter commands or boot single-user easily.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634

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



Re: Connecting to a router

2002-09-19 Thread Rafter Man


- Original Message -
> > I have a 800 series cisco router and it is attached to my FreeBSD
> 4.6.2 box. I can telnet right in, but how do I connect to it via
> /dev/cuaa0 (the com1 port)?
> 
> man tip

Thanks :-)

Best regards
Rafter 

-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze

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



Re: DHCPD doesn't want to bind to any interface

2002-09-19 Thread Lowell Gilbert

[EMAIL PROTECTED] writes:

> Selon Lowell Gilbert <[EMAIL PROTECTED]>:
> > [EMAIL PROTECTED] writes:
> > 
> > > recently I rebooted my box (FreeBSD 4.6-STABLE) and since this reboot,
> > dhcpd 
> > > cannot bind to any interface. I upgraded to FreeBSD 4.7-PRERELEASE then 
> > > rebooted, same thing. The configuration file is ok and untouched for many 
> > > months.
> > > I use isc-dhcp provided with FreeBSD.
> > 
> > dhcpd isn't part of the FreeBSD base system.  Do you perhaps need to
> > update your dhcpd as well?
> > 
> > What happens when you try to start dhcpd by hand?
> 
> it says rl0: not found

That sounds like it's trying to execute rl0 as a command, instead of
as a parameter to dhcpd.  rl0 isn't mentioned in the config file you
posted; how are you specifying it?

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



What is the default keyboard mapping?

2002-09-19 Thread Dan Langille

Of the entries in /usr/share/syscons/keymaps, which is the default 
keyboard mapping?

I've done a "kbdcontrol -d > ~/my-mappings" and tried to compare that 
to the files within /usr/share/syscons/keymaps, but I'm not finding 
any matches.
-- 
Dan Langille
I'm looking for a computer job:
http://www.freebsddiary.org/dan_langille.php


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



Re: DHCPD doesn't want to bind to any interface

2002-09-19 Thread chojin

Selon Lowell Gilbert <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] writes:
> 
> > recently I rebooted my box (FreeBSD 4.6-STABLE) and since this reboot,
> dhcpd 
> > cannot bind to any interface. I upgraded to FreeBSD 4.7-PRERELEASE then 
> > rebooted, same thing. The configuration file is ok and untouched for many 
> > months.
> > I use isc-dhcp provided with FreeBSD.
> 
> dhcpd isn't part of the FreeBSD base system.  Do you perhaps need to
> update your dhcpd as well?
> 
> What happens when you try to start dhcpd by hand?

it says rl0: not found

-- 
Chojin


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



Re: Connecting to a router

2002-09-19 Thread Drew Tomlinson

- Original Message -
From: "Rafter Man" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 8:21 AM
Subject: Connecting to a router


> Hey FreeBSD lovers :-)
>
> I have a 800 series cisco router and it is attached to my FreeBSD
4.6.2 box. I can telnet right in, but how do I connect to it via
/dev/cuaa0 (the com1 port)?

man tip

HTH,

Drew


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



Headless FreeBSD box - Serial Redirection Not Working

2002-09-19 Thread Jason Borkowsky


Greetings! I have FreeBSD 4.6.2-RELEASE running on a rackmount chassis, and
I want to convert it to a headless box, with all console output redirected
to the serial port. I have followed the directions in the FreeBSD handbook
as follows:

In my kernel, I have the flag 0x10 set on serial port 1 to make it a
console:

device  sio0at isa? port IO_COM1 flags 0x10 irq 4


In my /boot.config file, I have the "-P" option set to probe for keyboard on
booting, and then redirect the console appropriately.

Now when I go to reboot the machine (with the keyboard removed), I see the
following on my dumb terminal on the serial port

/boot.config: -P
Keyboard: no

I then get the message saying "Press [ENTER] to boot kernel or any other key
to enter single user mode". I press enter, then I see:

Booting kernel...

I then do not get any more display on the serial port, and there is no
display on the monitor, either. However, the box boots fine and I can get
into it via telnet. The problem is I lost my console display on both the
serial port and the monitor. Any idea why it stopped displaying to the
serial port after leaving the boot loader and starting to boot the kernel?
Thanks!


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



Re: Traffic shaping - current best practice?

2002-09-19 Thread Kenneth Culver

> I recall seeing in the man page that DUMMYNET has RED and GRED
> algorithms built in - I don't know any more detail than that though...

It also Has W2FQ+ (or something like that) fair queueing, although I
havn't tried to set it up in a while, last time I used it, it worked
great.

Ken


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



Re: Traffic shaping - current best practice?

2002-09-19 Thread Patrick O'Reilly

From: "Fernando Gleiser" <[EMAIL PROTECTED]>
> You need a "fair sharing" queueing discipline, something like CBQ. I
don't
> know if you can do that with dummynet. I know for sure ALTQ works great
for
> this.  It supports a bunch of queueing disciplines (CBQ, RED, WFQ and
> others).

I recall seeing in the man page that DUMMYNET has RED and GRED algorithms
built in - I don't know any more detail than that though...
---
Regards,
Patrick O'Reilly.
______
   / _ )__ __ (_)_ __ ___ _/ / __
  / __/ -_) _) /  ~  ) -_), ,-/ -_) _)
 /_/  \__/_//_/_/~/_/\__/ \__/\__/_/
http://www.perimeter.co.za



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



RE: where's sasl.h?

2002-09-19 Thread Toomas Aas

> SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL
> SENDMAIL_LDFLAGS+=  -L/usr/local/lib
> SENDMAIL_LDADD+=-lsasl
> 
> cyrus-sasl is installed.  But no /usr/src/contrib/sendmail/src/sasl.h
> 
> Any suggestions?

I also have cyrus-sasl installed, and sasl.h is in 
/usr/local/include/sasl. I believe that newer versions of cyrus-sasl 
port place it into /usr/local/include/sasl1

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* You have, of course, just begun reading the sentence that you have just finished 
reading.


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



ASCII problems under gnome

2002-09-19 Thread Socketd

Hi again

No one answered my last mail, so I will try again.

I have FreeBSD 4.6.2 and installed KDE, where I had no problems with 
programs like centericq showing xx's and qqq's instead for text-frames 
(e.g 0xBA and 0xD1). But now I've installed gnome and there it doesn't 
work. I have also set keymap to danish, but still I can't write "øæå" 
in the shell?

Anyone how knows what's wrong?

br
db

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



Connecting to a router

2002-09-19 Thread Rafter Man

Hey FreeBSD lovers :-)

I have a 800 series cisco router and it is attached to my FreeBSD 4.6.2 box. I can 
telnet right in, but how do I connect to it via /dev/cuaa0 (the com1 port)?

Best regards
Rafter
-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze

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



Re: OT sed help

2002-09-19 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-19 09:38:33 -0500:
> I have a flat file that I need to import into a database.  The first
> field of the file is a part number which cannot exceed more than 8
> characters.
> 
> Does anyone know how I can use  sed to count the characters in the
> first field and if there are more than 8 print out a list?

untested:

% grep -En '^\w{9,}' yourfile

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
5:15PM up 2 days, 30 mins, 24 users, load averages: 0.01, 0.00, 0.00
end

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



Re: Howto create a bootable self installing CD ?

2002-09-19 Thread Pranav A. Desai

Hi !

Thanks for the help. I think LiveCD should do the job. I will have
to customize it a bit, but I think I can handle that.

Thanks
-Pranav

***
Pranav A. Desai

Home :- (937) 294 1381
***

On Thu, 19 Sep 2002, Jimmy Lantz wrote:

> At 16:27 2002-09-18 -0500, you wrote:
> >Hi all!
> > How can I create a bootable CD that has an image of an existing
> >custom freeBSD system, such that when I pop the CD into any other machine
> >it will boot and install the image on the hard drive? So that I just
>
> Hi,
> check out LiveCD, http://livecd.sourceforge.net . You can tweak it into
> almost anything :-)
>
> >reboot the new machine and it will be up and running with the same
> >partitions and file system as the old one. I would appreciate any kind of
> >help, suggestions or pointers.
> >
> >Thank you for your time.
> 
>


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



Re: make installworld with error rpcgen:No such file or directory

2002-09-19 Thread Lowell Gilbert

"anak freebsd" <[EMAIL PROTECTED]> writes:

> when i did run make installworld i got an error
> 
> 
> 
> >>>Installing everything..
> ...
> 
> ===> include/rpcsvc
> rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/sm_inter.x -o sm_inter.h
> rpcgen:No such file or directory
> *** Error code 1
> 
> Stop in /usr/src/include/rpcsvc.
> *** Error code 1
> 
> Stop in /usr/src/include.
> *** Error code 1
> 
> what i did wrong?

Hard to say.  Did you follow the recommended procedure?  Did you do a
buildworld before the installworld?  Did you buildkernel and install
that new kernel before the installworld?  rpcgen isn't exactly new...

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



Re: DHCPD doesn't want to bind to any interface

2002-09-19 Thread Lowell Gilbert

[EMAIL PROTECTED] writes:

> recently I rebooted my box (FreeBSD 4.6-STABLE) and since this reboot, dhcpd 
> cannot bind to any interface. I upgraded to FreeBSD 4.7-PRERELEASE then 
> rebooted, same thing. The configuration file is ok and untouched for many 
> months.
> I use isc-dhcp provided with FreeBSD.

dhcpd isn't part of the FreeBSD base system.  Do you perhaps need to
update your dhcpd as well?

What happens when you try to start dhcpd by hand?

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



Upgrade Computer - old vidio card

2002-09-19 Thread Grant Cooper

Case - 147 with 350W Power Supply
Motherboard -AUS A7V266-E-AA
CPU - AMD Athlon XP 1800+
Memory - 256 MB DDR PC2100 Ram

I have an old Pent 300 monitor card.

Should I expect any problems or do monitor factory made computers have
specific cards for mother boards? I have never replaced one and this one is
about 3.5 years old. I am also paying 500 CND for the upgrade.


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



RE: OT sed help

2002-09-19 Thread Barry Byrne

Matt:

How about:

grep -E "^\w{9,}," flatfile.txt > morethaneight.txt

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

Phone:  +353 1 417 0150
Fax:+353 1 478 5544
Email:  [EMAIL PROTECTED]
Web:www.wbtsystems.com

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew
> Bettinger
> Sent: 19 September 2002 15:39
> To: [EMAIL PROTECTED]
> Subject: OT sed help
> 
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
> 
> I know this is off topic however I hope someone can help.
> 
> I have a flat file that I need to import into a database.  The 
> first field of 
> the file is a part number which cannot exceed more than 8 characters.
> 
> Does anyone know how I can use  sed to count the characters in 
> the first field 
> and if there are more than 8 print out a list?
> 
> Thank you.
> 
> Matt 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.7 (FreeBSD)
> 
> iD8DBQE9ieFpXG7+MmNwciURAqRxAJsES932AbaFG0w4+1oGU+K6reogEwCgoEdx
> ZEf/Vi3j8vq8HbO4t7gSAqY=
> =taxV
> -END PGP SIGNATURE-
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

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



Re: OT sed help

2002-09-19 Thread Matt Smith

Try these
Use this if part numbers are numeric only.
  cat my_flat_file | sed /"^[0-9]\{8\}[^0-9].*$"/d

Use this if part numbres are alpha-numeric, and columns are seperated by
whitespace
  cat my_flat_file | sed /"^[0-9a-zA-Z]\{8\}.*$"/d

These will both simply delete(from view, not from the file) compliant
entries, displaying only non-compliant entries.


On Thu, 2002-09-19 at 10:38, Matthew Bettinger wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
> 
> I know this is off topic however I hope someone can help.
> 
> I have a flat file that I need to import into a database.  The first field of 
> the file is a part number which cannot exceed more than 8 characters.
> 
> Does anyone know how I can use  sed to count the characters in the first field 
> and if there are more than 8 print out a list?
> 
> Thank you.
> 
> Matt 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.7 (FreeBSD)
> 
> iD8DBQE9ieFpXG7+MmNwciURAqRxAJsES932AbaFG0w4+1oGU+K6reogEwCgoEdx
> ZEf/Vi3j8vq8HbO4t7gSAqY=
> =taxV
> -END PGP SIGNATURE-
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 



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



OT sed help

2002-09-19 Thread Matthew Bettinger

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I know this is off topic however I hope someone can help.

I have a flat file that I need to import into a database.  The first field of 
the file is a part number which cannot exceed more than 8 characters.

Does anyone know how I can use  sed to count the characters in the first field 
and if there are more than 8 print out a list?

Thank you.

Matt 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9ieFpXG7+MmNwciURAqRxAJsES932AbaFG0w4+1oGU+K6reogEwCgoEdx
ZEf/Vi3j8vq8HbO4t7gSAqY=
=taxV
-END PGP SIGNATURE-


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



RE: user ppp problem

2002-09-19 Thread JoeB

Log shows   Bad compressed CRC-16

Add this to your ppp.conf  default section

disable pred1 deflate lqr   # compression features & line quality
reporting
denypred1 deflate lqr   # compression features & line quality reporting


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Shaun Branden
Sent: Thursday, September 19, 2002 3:58 AM
To: [EMAIL PROTECTED]
Subject: user ppp problem

uname -a
FreeBSD sagan.tpn 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Tue Sep 10
02:39:30 CST 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAGAN  i386

I am not sure if this is an ISP problem or an error in userland ppp or
an error with my config files. However this has only been an issue since
my last buildworld.

I run ppp in a terminal and get one of several things happening. Most of
the time it is:

sagan# ppp -nat
Working in interactive mode
Warning: iface add: ioctl(SIOCAIFADDR_IN6, fe80::260:97ff:febb:1e8 ->
fe80::810b:244:44d9:2096): Invalid argument
Using interface: tun0
ppp ON sagan> dial p
ppp ON sagan>
Ppp ON sagan>
PPp ON sagan>
PPP ON sagan>

sometimes:
sagan# ppp -nat
Working in interactive mode
Using interface: tun0
ppp ON sagan> dial p
ppp ON sagan>
Ppp ON sagan>
PPp ON sagan>
PPP ON sagan>

The problem is that I can usually (perhaps 60% of the time) ping a
computer, but as soon as I run fetchmail or start icq or anything I have
tried, the connection just stops. Here is an example:

shaun@sagan:ppp$ ping google.com
PING google.com (216.239.51.100): 56 data bytes
64 bytes from 216.239.51.100: icmp_seq=0 ttl=40 time=458.617 ms
64 bytes from 216.239.51.100: icmp_seq=1 ttl=40 time=423.049 ms
64 bytes from 216.239.51.100: icmp_seq=2 ttl=40 time=413.013 ms
64 bytes from 216.239.51.100: icmp_seq=3 ttl=40 time=500.209 ms
64 bytes from 216.239.51.100: icmp_seq=4 ttl=40 time=410.208 ms
64 bytes from 216.239.51.100: icmp_seq=5 ttl=40 time=410.212 ms
64 bytes from 216.239.51.100: icmp_seq=6 ttl=40 time=410.306 ms
^C
--- google.com ping statistics ---
15 packets transmitted, 7 packets received, 53% packet loss
round-trip min/avg/max/stddev = 410.208/432.231/500.209/32.119 ms

This stopped at this point when I tried to run fetchmail. It would not
ping from that point onwards.

/etc/ppp/ppp.conf:
#
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by [EMAIL PROTECTED]
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.3 2001/02/18 02:11:57 kris Exp $
#

default:
 #ident user-ppp VERSION (built COMPILATIONDATE)
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa1
 set speed 115200
 #set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
 #  \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
 OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set timeout 0  # 2 minute idle timer (the default)
 add default HISADDR# Add a (sticky) default route
 #enable dns# request DNS info (for resolv.conf)
 allow users shaun

p:
 set phone 84232000
 set authname username
 set authkey password

primus:
 set phone 019838
 set authname username
 set authkey password

(the above usernames and passwords are correct)

here is an example of /var/log/ppp.log (sorry for the size):
Sep 19 16:09:41 sagan ppp[608]: tun0: LCP: deflink: State change
Starting --> Initial
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: deflink: Disconnected!
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: deflink: lcp -> logout
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: deflink: Disconnected!
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: deflink: logout -> hangup
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: deflink: Connect time: 136
secs: 2894 octets in, 4097 octets out
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: deflink: 97 packets in, 113
packets out
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase:  total 51 bytes/sec, peak 347
bytes/sec on Thu Sep 19 16:08:13 2002
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: deflink: hangup -> closed
Sep 19 16:09:41 sagan ppp[608]: tun0: Phase: bundle: Dead
Sep 19 16:10:46 sagan ppp[608]: tun0: Command: /dev/tty: q
Sep 19 16:10:46 sagan ppp[608]: tun0: Phase: PPP Terminated (normal).
Sep 19 16:10:48 sagan ppp[645]: Phase: Using interface: tun0
Sep 19 16:10:48 sagan ppp[645]: Phase: deflink: Created in closed state
Sep 19 16:10:48 sagan ppp[645]: Warning: iface add: ioctl(SIOCAIFADDR_IN6,
fe80::260:97ff:febb:1e8 -> fe80::810b:244:44d9:2096): Invalid argument
Sep 19 16:10:48 sagan ppp[645]: tun0: Command: default: set device
/dev/cuaa1
Sep 19 16:10:48 sagan ppp[645]: tun0: Command: default: set speed 115200
Sep 19 16:10:48 sagan ppp[645]: tun0: Command: default: s

Re: /etc/rc.conf question

2002-09-19 Thread Jan Grant

On Wed, 18 Sep 2002, Charles Pelletier wrote:

> its all a matter of syntax. :) ya forgot a quote.
>
>  ifconfig_rl0_alias0="192.168.1.189" netmask 255.255.255.0

That doesn't do what you think it does. Stick the quote at the _end_ of
the line.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
User interface? I hardly know 'er!


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



Re: what is the freebsd version for "useradd -M"?

2002-09-19 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-19 10:06:50 -0400:
> The current man page for 'pw' does not show -m as an arg for 'pw
> useradd'.

it does:

SYNOPSIS
 pw [-V etcdir] useradd [name|uid] [-C config] [-q] [-n name] [-u uid]
[-c comment] [-d dir] [-e date] [-p date] [-g group] [-G grouplist]
[-m] [-k dir] [-w method] [-s shell] [-o] [-L class] [-h fd] [-N] [-P]
[-Y]

...

 -m This option instructs pw to attempt to create the user's
home directory.  While primarily useful when adding a new


-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
4:16PM up 1 day, 23:31, 26 users, load averages: 0.00, 0.00, 0.00
end

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



IPv6 protocol switch implementation.

2002-09-19 Thread sasson, shuki


Hi, I've been reading through the implementation code of IPv6 and
specifically ip6_input. I see the following.
IPv6 uses the same protocol switch to process both the protocols (like UDP &
TCP) and also the option headers like Fragmentation.
My question is:
Are these numbers are promised to be aligned even in the future? Basically
if a protocol number will be the same as an option number this will not
work.

The same question applies to IPv4 (even though your implementation is not
using this trick there). Can we safely process IPv4 options the same way?


Thanks,
Shuki Sasson
Principal Engineer, Network Storage Group
EMC²
where information lives

Phone: 508 305 8515
FaxNo: 508 435 8901
Pager: 877 919 0794
Email:  [EMAIL PROTECTED]



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



Re: what is the freebsd version for "useradd -M"?

2002-09-19 Thread Jim Durham

On Wednesday 18 September 2002 06:52 pm, Bsd Neophyte wrote:
> --- Jim Durham <[EMAIL PROTECTED]> wrote:
> > 'pw' has different arguments based on the first argument. If you say
> > 'pw useradd' then "-M" is not valid. You'll see this if you carefully
> > read the man page.
>
> i have, this is why i noted that there was no "-M" option for the
> "useradd" argument under "pw"
>
> apparently, the "-M" under vanilla "useradd" indicates that a home
> directory is not to be created.  i was not, and still am not sure if there
> was a specific argument that allows for this.  from the looks if it i
> guess there isn't.
>

Hmmm... I just looked at my script to create users here and the argument
-m is used. Experimenting shows that -m causes a home directory to be
created, whereas the lack of -m causes the user to be added but no home
directory created. The current man page for 'pw' does not show -m as
an arg for 'pw useradd'. This is apparently wrong. It works as described
below under the '-m' arg description with 'pw useradd'.

-Jim


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



Re: find case-insensitive challenge

2002-09-19 Thread Oliver Fromme

Peter Leftwich <[EMAIL PROTECTED]> wrote:
 > Tonight I surprised myself by running `find ~/Desktop/folder/ -name "*.jpg"
 > -exec mv {} ~/Desktop/folderjpgs/ \;` successfully!  My first custom find
 > command line ever.
 > 
 > But there were two issues -- I had to escape the semicolon with a "\" --
 > does this ever cause problems for find command lines?  Second, this found
 > only *.jpg files and left behind *.JPG files so how do you make find be
 > case-insensitive? -exec ThankYouScript.sh {} \;

In general, it is a good idea to try to avoid -exec, because
it is inefficient.  -exec runs the specified command for every
single file, whilch can be terribly slow if there are a lot of
files.  Better use xargs instead, which will collect multiple
filenames and execute the command fewer times.

This also enables you to use grep to filter the file names in
a more sophisticated way than find itself can do:

find foo -type f | grep -i '\.jpg$' | xargs -J % mv % bar

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

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



font problem with KDE and openoffice?

2002-09-19 Thread Janos Mohacsi

Hi,
I use KDE 3.0.3 and OpenOffice 1.0.1 under FreeBSD Stable, but I
have problem entering in OpenOffice certain latin-2 characters.
I use the KDE keyboard tools to change between the US and
Hungarian keyboard layouts:

If I use latin2-hungarian keyboard layout I got odiaresis and
ucircumflex in every application (Kate, kword, openoffice).

If I use unicode-hungarian keyboard layout and not setting any
particular LANG environment I can use the key odoubleacute and
udoubleacute in any KDE application and I got the following error:

kdecore (KAccel): WARNING: Sym::initQt(  ): failed to convert key.

Unfortunately with such a setup I cannot use OpenOffice. I got nothing for
odoubleacute and udoubleacute (not even error).

If I use unicode-hungarian keyboard layout and setting LANG
environment to hu_HU.ISO8859-2, I can use the key odoubleacute and
udoubleacute in any KDE application and I got the similar error.
With such a setup I can use OpenOffice for some files, but some has
missing characters at the place of odoubleacute and udoubleacute.

I suspect some bugs in keycode processing / font handling in OpenOffice or
interaction error between KDE/X and Openoffice.

Do you have any idea what can be a problem?

Any ideas to resolve this problem are welcome.
Janos Mohacsi


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



Re: find case-insensitive challenge

2002-09-19 Thread Matt Smith

Or, try "-iname" instead of "-name"

man find
...
 -iname pattern
 Like -name, but the match is case insensitive.
...

Hope that helps,
-Matt

On Thu, 2002-09-19 at 07:57, Brian T. Schellenberger wrote:
> 
> 
> 
> On Thursday 19 September 2002 01:38 am, Peter Leftwich wrote:
> | Tonight I surprised myself by running `find ~/Desktop/folder/ -name
> | "*.jpg" -exec mv {} ~/Desktop/folderjpgs/ \;` successfully!  My first
> | custom find command line ever.
> |
> | But there were two issues -- I had to escape the semicolon with a "\"
> 
> Yes, it always works that way.
> 
> | -- does this ever cause problems for find command lines? 
> 
> No, not really.
> 
> | Second,
> | this found only *.jpg files and left behind *.JPG files so how do you
> | make find be case-insensitive?
> 
> find ~/Desktop/folder/ \( -name "*.jpg" -o -name "*.JPG" \)  \
>  -exec mv {} ~/Desktop/folderjpgs/ \;
> 
> Actually, what *I* do is avoid having files with capital letters in 
> them, or spaces, or &'s, or any of those other goofy characters you 
> sometimes find in Windows file names.  Then I don't have to do the 
> above.  I accomplish that with the attached pair of scripts, though 
> there are no doubts lots of other nice ways to do this.
> 
> (I run the "unmsdos" script over files that I download from the web or 
> newsgroups or what-have-you.  It makes all of file names 
> "Unix-friendly" and, if the file is a text file, it invokes uncrnl to 
> change the cr-nl's at the ends of lines into just plan nl's.)
> 
> | -exec ThankYouScript.sh {} \;
> 
> -- 
> Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)



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



Re: ipfw rulesets

2002-09-19 Thread Incoming Mail List

> yes, i can. :)  the reason this doesnt work is that a telnet
> connection is not between your host [port 23] and server host
> [port 23].  it is actually between your host [random port number
> between 1024 and 65535] and server host [port 23].

> i hope this cleared it up for you?

Yes, it did, and thank you for that excellent explanation.  It is
exactly the info I needed.  Obviously my context of logic was not
matching the "logic" built into ipfw() and I was perplexed by this
problem.  Now the rules make sense to me.  Thank you again for your
patience.

Jon

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



Sendmail configuration question

2002-09-19 Thread stan

I've got a 4.6 STABLE machine (last cvsup'd about a month or so ago), that
I use for my workstation within a medium size company. We are in the throes
of a "merger", and the corporate people are using this as a n excuse to redo
(read break) many things.

I find myself in a position where I need to set up sendmail in the following
fashion. I need it to deliver all (except machine local email) to a
smarthost. Now this _should_ be straightforward, except that at the moment I
can only access the machine by IP address, since the DNS server for our
part of the merged company still does not have entries for the merged
domain name.

Can some kind soul point me in a direction on this?


-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin

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



Re: find case-insensitive challenge

2002-09-19 Thread Brian T. Schellenberger




On Thursday 19 September 2002 01:38 am, Peter Leftwich wrote:
| Tonight I surprised myself by running `find ~/Desktop/folder/ -name
| "*.jpg" -exec mv {} ~/Desktop/folderjpgs/ \;` successfully!  My first
| custom find command line ever.
|
| But there were two issues -- I had to escape the semicolon with a "\"

Yes, it always works that way.

| -- does this ever cause problems for find command lines? 

No, not really.

| Second,
| this found only *.jpg files and left behind *.JPG files so how do you
| make find be case-insensitive?

find ~/Desktop/folder/ \( -name "*.jpg" -o -name "*.JPG" \)  \
 -exec mv {} ~/Desktop/folderjpgs/ \;

Actually, what *I* do is avoid having files with capital letters in 
them, or spaces, or &'s, or any of those other goofy characters you 
sometimes find in Windows file names.  Then I don't have to do the 
above.  I accomplish that with the attached pair of scripts, though 
there are no doubts lots of other nice ways to do this.

(I run the "unmsdos" script over files that I download from the web or 
newsgroups or what-have-you.  It makes all of file names 
"Unix-friendly" and, if the file is a text file, it invokes uncrnl to 
change the cr-nl's at the ends of lines into just plan nl's.)

| -exec ThankYouScript.sh {} \;

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)



unmsdos
Description: Perl program


uncrnl
Description: application/shellscript


Re: LaTeX packages

2002-09-19 Thread Brian T. Schellenberger



On Thursday 19 September 2002 01:52 am, Kris Kennaway wrote:
| On Wed, Sep 11, 2002 at 06:47:11PM -0400, Adam Bender wrote:
| > I tried to install LaTeX through /usr/ports/print/latex, and it
| > seemed to go OK, but it seems to be missing the package files. 
| > When I try to compile with it, is says that amsmath.sty and
| > fullpage.sty (two packages I am using) are not found.  Any idea how
| > I can get them?
|
| Go to http://www.ctan.org/ and download them.


. . . or install the "tetex" package instead which grabs latex in a 
fully usable state plus other tex-related tools . . .

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)

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



Restart multi-user mode automatically

2002-09-19 Thread Oliver Fromme

Hi,

This might seem like a strange question, but maybe someone
has an answer or idea ...

Under certain circumstances, I need to restart a machine's
multi-user mode without manual intervention.  In other words,
it should perform a shutdown, killing all processes, but then
(instead of prompting for a single-user mode shell), the system
should get back up into multi-user mode automatically (running
/etc/rc etc).  I do not want to perform a full reboot.

Is there a way to do that?

Thanks for any hints!

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

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



Re: SVR4 -- Linux compatibility

2002-09-19 Thread GB Clark

On Tue, 17 Sep 2002 23:44:13 +
"Weston M. Price" <[EMAIL PROTECTED]> wrote:

> Hello,
>   I am trying to run a few applications, most notably Eclipse 2.0.1 and 
> Netscape7 (the FreeBSD port). Each time I try and start an app I get the 
> following error
> 
> ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
> 
> The library does exist just not where the application(s) are looking. Can 
> anyone give me a hint as to how the dynamic linker works with these types of 
> applications. The real confusion for me is the svr4 part, I am just not sure 
> why these applications are looking there. 
> 
> Thanks. 
> 
> Weston
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 

I had the same problems.  I ended up having to remove SVR4 compat from my system.  If 
you
unload the two modules (streams and svr4) then it will work.  Since I don't use the 
SVR4 stuff,
I have not taken a look further.  Looks like a launcher problem, but it has been years 
since I looked
at that stuff and well...:(
 
GB

-- 
GB Clark II | Roaming FreeBSD Admin
[EMAIL PROTECTED] | General Geek 
   CTHULU for President - Why choose the lesser of two evils?

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



Re: openssl upgrade problems - newbie stuck

2002-09-19 Thread local.freebsd.questions

On Wed, 18 Sep 2002 13:41:49 +0100, [EMAIL PROTECTED] (Roman
Neuhauser) wrote:

>hmmm, i got to http://people.freebsd.org/~jdp/s1g/
>read this page.
>
>you have a kind of chicken and egg problem: you need to update
>cvsup, but it's too old, and will get kicked from cvsup
>servers. try using the package listed there.
>you'll want the non-gui version.

How about "pkg_delete -x cvsup" and "pkg_add -r cvsup-without-gui",
or will this fall foul of the change of package format from
gzip to bzip2? In which case I guess manually download the package
for cvsup-without-gui from ftp.freebsd.org and pkg_add the 
downloaded file.

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



Re: Squid ncsa based authentication on FBSD

2002-09-19 Thread Ian Moore

On Wed, 18 Sep 2002 22:54, Fernando Gleiser wrote:
> On Wed, 18 Sep 2002, Ian Moore wrote:
> > so I'm wondering how to get ncsa (or any other authentication system)
> > running with squid. All the squid documentation just seems to assume that
> > ncsa_auth is available.
>
> It is in the auth_modules/NCSA subdir of the squid source distribution.
> The port does not install it by default. You can get it in the work/squid*
> dir of the port.

Ahh, I installed the package, not the port. Now I've deleted the package & 
added the port, the auth_modules are there. Thanks for your help Fernando.
Cheers
Ian


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



Re: Howto create a bootable self installing CD ?

2002-09-19 Thread Jimmy Lantz

At 16:27 2002-09-18 -0500, you wrote:
>Hi all!
> How can I create a bootable CD that has an image of an existing
>custom freeBSD system, such that when I pop the CD into any other machine
>it will boot and install the image on the hard drive? So that I just

Hi,
check out LiveCD, http://livecd.sourceforge.net . You can tweak it into 
almost anything :-)

>reboot the new machine and it will be up and running with the same
>partitions and file system as the old one. I would appreciate any kind of
>help, suggestions or pointers.
>
>Thank you for your time.



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



Re: which mail system is the best

2002-09-19 Thread Yann Golanski

Quoth Roman Neuhauser on Thu, Sep 19, 2002 at 10:08:49 +0200
> >   For the mail server, postfix and qmail which is the best?
> 
> this question is too vague to yield a sensible answer.

Exim (www.exim.org) is as well a good one. Clear syntax and easy to
understand configuration file. 

> >   Can I do the  authentication by ldap in the postfix?
> 
> yes.

So can you with Exim.
 
> >   Does anyone now some resources about the mail
> >   (postfix, qmail) + Ldap

Surly their documentation is on the web...

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   www.kierun.org/pgp/key-kierun
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus

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



Re: which mail system is the best

2002-09-19 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-19 00:44:27 -0700:
> Hi,
> 
>   For the mail server, postfix and qmail which is the best?

this question is too vague to yield a sensible answer.

>   Can I do the  authentication by ldap in the postfix?

yes.

>   Does anyone now some resources about the mail
>   (postfix, qmail) + Ldap

see LDAP_README in the postfix source. don't know about qmail.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
9:57AM up 1 day, 17:12, 23 users, load averages: 0.15, 0.04, 0.01
end

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



  1   2   >