Re: Boot loader doesn't see [root filesystem on] ATA disk after successful install

2005-05-12 Thread Joel
It would be nice if someone with more experience than I would chime in.
(B
(BBut I'll offer a few more thoughts before I throw in the towel.
(B
(BOn Wed, 11 May 2005 11:45:11 -0700 (PDT)
(BBrian O'Shea [EMAIL PROTECTED] wrote
(B
(B --- Joel [EMAIL PROTECTED] wrote:
(B  
(B  From what little I've seen, it could be worth a try if you have the
(B  time.
(B 
(B Ok, I tried booting the loader on the SCSI disk, and then telling it
(B to boot the kernel on the IDE disk.  In this case it just beeped and
(B returned me to the prompt to select a disk (F1 or F5) to boot from.
(B The lsdev command on this boot loader gave the same results as the
(B one booted from the IDE disk.
(B
(BSince I'm not there to watch you do it, it's hard to say whether that
(Bproves you can't do it or not. Not that I'm sure I'd know anyway.
(B
(BSearching on google for [HP Kayak XU] found this page,
(B
(Bhttp://www.rql.kiev.ua/RQL/old/HP/PC/kayak_xu.htm 
(B
(Bwhich indicates up to two internal IDE devices, but that doesn't seem to
(Baddress the question of whether the controller can handle a CD-ROM and a
(Bhard disk on the same channel.
(B
(B  From what I've read and what I've experienced, putting hard disks
(B  and CD-ROMs on the same channel is counterproductive. Boot problems
(B  and data problems are said to be likely on many controller and drive
(B  combinations.
(B 
(B I know, and I wouldn't have done that except that I was surprised to
(B find out that this PC only has one socket for an IDE cable.  It has
(B two on-board IDE controllers though!
(B
(BAre you sure? The page I linked above said something about dual SCSI but
(Bnothing about dual ATA.
(B
(B (this is an HP Kayak XU with dual
(B PII processors, a little on the old side, but it's the only i386 SMP
(B system that I have access to at the moment).
(B
(BAny room in the bus for an extra interface card? (Not aesthetic, but one
(Bpossible option ...)
(B
(BIf you can boot from the SCSI, check the dmesg there to see whether
(Bthe ATA controller is recognized by the older system. That wouldn't
(Bgive an absolute answer, but might yield a clue.
(B   
(B   The older system can see the CD-ROM drive, so it must be recognizing
(B   the ATA controller.  I'll post the relevant dmesg output tomorrow
(B   though.
(B 
(B Here is the relevant dmesg output:
(B 
(B atapci0: Intel PIIX4 ATA33 controller port 0xfcd0-0xfcdf at device 7.1 on
(B pci0
(B
(BOk, one controller.
(B
(B ata0: at 0x1f0 irq 14 on atapci0
(B ata1: at 0x170 irq 15 on atapci0
(B
(BThat appears to be two channels, yeah. So we guess they used a standard
(Btwo channel controller, but didn't wire the second socket for the
(Bsecondary channel, as you say. No fun at all.
(B
(B ...
(B ad0: 76319MB WDC WD800JB-00JJC0 [155061/16/63] at ata0-master UDMA33
(B acd0: CDROM CD-532E-A at ata0-slave PIO4
(B
(BOkay, it sees the HD. Can you boot from the CD this way? Does the
(Bnumbering match what the bootloader sees? I don't remember if you
(Bmentioned dropping into the bootloader to check the drive numbering at
(Bboot time, did you do that?
(B
(BWell, here's the pcguide site I mentioned might have some useful
(Binformation. Second link will jump past the odd indexing to the stuff
(Babout ATA. (But watch out for the strange ads on the links in the text.)
(B
(Bhttp://www.pcguide.com/
(Bhttp://www.pcguide.com/ref/hdd/if/ide/index.htm
(B
(BSomewhere in there may be a clue. But since the hardware is in front of
(Byou and not me, I'm going to bail at this point. Also going to suggest
(Beither getting an ATA interface card so the HD and CD don't have to be
(Bon the same channel, or getting a SCSI drive.
(B
(BThe trouble you go through to get ATA doing what you buy the drives for,
(BI'm not sure if they're worth the price differential.
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

Re: no /usr/compat/linux/proc

2005-05-12 Thread Kent Stewart
On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote:
 Dear List..

 Why I didnt have /usr/compat/linux/proc on my 5.4 Release with
 linux_base package installed ?
 please give me clue..


When you do the install of the base, the port-message at the very end 
tells you to create it. You enter something like
linprocfs   /compat/linux/proc   linprocfs   rw   0  0
in your /etc/fstab and then mount it.

Kent

 regards
 reza

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports backup

2005-05-12 Thread Graham North
Hello all:
Thank you Trevor and Ted for your help.
I got rid of all but the PRN directory and will work on that.
Trevor - will try your ideas, the command line del and rd didn't seem to 
work.  Am not familiar with sfc but will do some digging.

Ports tree was transferred from Freebsd to WinBox via samba without 
incident.

Cheers,  Graham/
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I need further HDD advice before submitting order.

2005-05-12 Thread Joel
On Wed, 11 May 2005 13:15:52 -0600
(B"Chad Leigh -- Shire.Net LLC" [EMAIL PROTECTED] wrote
(B
(B 
(B On May 11, 2005, at 12:02 PM, Jerry McAllister wrote:
(B 
(B  One more thing.   Do not use the socalled 'dangerously dedicated'  
(B  disk setup.
(B  Just make one regular slice on each disk that uses all of the disk.
(B  Then partition those slices.   You won't notice the difference in
(B  amount of available disk and you might save yourself some headaces
(B  later on.
(B 
(B 
(B I am interested in what sorts of problems and headaches can come  
(B later on...
(B 
(B Assume a server that is FreeBSD only and will never have linux or  
(B Winbloze or anything else on it.
(B
(BDiagnostics tools that expect DOS-style BIOS-level partitioning?
(B
(BMaybe it's just handwaving, but what's the size of the partition record,
(Bcompared to the size of the drive?
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Richard Verwayen wrote:
Am Donnerstag, den 12.05.2005, 13:43 +0700 schrieb Muhammad Reza:
 

Dear List..
Why I didnt have /usr/compat/linux/proc on my 5.4 Release with 
linux_base package installed ?
please give me clue..
   

Issueing 'kldload linprocfs' may solve your problem...
RIchard
 

# kldload linprocfs
kldload: can't load linprocfs: File exists
i even build staticaly on my kernel with
options LINPROCFS
regards
reza
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound card support

2005-05-12 Thread Ionel

Hello,
I have an Yamaha OPL3SA2 sound card, isa-pnp.
I had last year installed FreeBSD 5.2.1, and my sound card was supported, I had 
to add device pcm in the kernel configuration file.
Now I installed FreeBSD 5.4, and I can't make my sound card to work.
device pcm is unrecognised, device sound doesn't see my card,
and Opl3sa2 is not on the hardware list.
Question:
Is there a way by which I can make my sound card work, or should I revert to 
FreeBSD 5.2.1 ?
In this second case... are the FreeBSD ports packages still kept on the ftp 
sites ?



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Kent Stewart wrote:
On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote:
 

Dear List..
Why I didnt have /usr/compat/linux/proc on my 5.4 Release with
linux_base package installed ?
please give me clue..
   

When you do the install of the base, the port-message at the very end 
tells you to create it. You enter something like
linprocfs   /compat/linux/proc   linprocfs   rw   0  0
in your /etc/fstab and then mount it.

Kent
 

regards
reza
   

I installed from packages (/stand/sysinstall), so i didnt see the 
port-message

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


Re: Sound card support

2005-05-12 Thread Erik Trulsson
On Thu, May 12, 2005 at 03:06:12AM -0400, Ionel wrote:
 
 Hello,
 I have an Yamaha OPL3SA2 sound card, isa-pnp.
 I had last year installed FreeBSD 5.2.1, and my sound card was supported, I 
 had to add device pcm in the kernel configuration file.
 Now I installed FreeBSD 5.4, and I can't make my sound card to work.
 device pcm is unrecognised, device sound doesn't see my card,
 and Opl3sa2 is not on the hardware list.
 Question:
 Is there a way by which I can make my sound card work, or should I revert to 
 FreeBSD 5.2.1 ?
 In this second case... are the FreeBSD ports packages still kept on the ftp 
 sites ?
 

If it worked on 5.2.1 it should still work - I don't think any audio
drivers have been removed since then.
You probably need to add some specific sound driver in addition to 'device
sound'
Try using kldload to load each of the snd_* kernel modules and see which
one recognises your sound card - then you can add that device to your
kernel config. 


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no /usr/compat/linux/proc

2005-05-12 Thread Kent Stewart
On Thursday 12 May 2005 01:21 am, Muhammad Reza wrote:
 Kent Stewart wrote:
 On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote:
 Dear List..
 
 Why I didnt have /usr/compat/linux/proc on my 5.4 Release with
 linux_base package installed ?
 please give me clue..
 
 When you do the install of the base, the port-message at the very
  end tells you to create it. You enter something like
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0
 in your /etc/fstab and then mount it.
 
 Kent
 
 regards
 reza

 I installed from packages (/stand/sysinstall), so i didnt see the
 port-message



Have you added it to fstab? All you need to do then is say mount 
linprocfs.

You can find more with man linprocfs.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3

2005-05-12 Thread Hervé Kergourlay
we are porting our product on FreeBSD 5.3
it's a backup product which is still running on FreeBSD 4.0
here's a list of questions after checking the documentation
1) PAM
it's working, the only problem is with the null password users, the 
answer is allways NO. the nullok doesn't seem active
here is my PAM file
auth required  /usr/lib/pam_unix.so nullok
account  required  /usr/lib/pam_unix.so nullok

2) ACLs
I'm using the API acl_get_file and family with success with 
ACL_TYPE_ACCESS defined in /usr/include/sys/acl.h

#define ACL_TYPE_ACCESS 0x
#define ACL_TYPE_DEFAULT0x0001
#define ACL_TYPE_AFS0x0002
#define ACL_TYPE_CODA   0x0003
#define ACL_TYPE_NTFS   0x0004
#define ACL_TYPE_NWFS   0x0005
but what about the other defines, specially ACL_TYPE_DEFAULT, are there 
used. I didn't find who in the documentation

3) Extended attributes
are Acls part of these attributes or not ?
do we have to backup theses attributes with the Acls ?
4) wait() API
2 problems, the first is a ECHILD error on a wait call after a fork fork
The code is generic for most of unix system. Is there any specific 
problems to manage the fork and wait APIs ?
the second problem with calls is a blocking wait() call in the same 
condition but this time the son process is finished but the wait call in 
the father stays blocked, again it's a generic Unix code

If there is no evidence, ask me for more informations
5) where are generated the core files ?
I change the kernel with the following command
sysctl kern.corefile=/cores/%U/%P%N.core
6) 2 last questions :-)
what about files more than 4GB, do I need to use specific APIs as 
open64, stat64 or the current open and stat API are managing the big file ?
I'm searching information on the implementation of Unicode (utf8?) in 
our file systems, UFS1, UFS2, ext2fs

thanks by advanced for all
hervé
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: best practices for administration

2005-05-12 Thread Joel
 The nexus of my query lies in my attempt to have our central IT folks
(B issue additional identities for users to have when administering the
(B systems versus doing productivity work on them. I'd like to understand
(B what is done generally when granting users permissions to do things on
(B the operating system that imply 'administration', ie installing
(B software, adding printers, modifying system scripts, etc. There are
(B some here who think that putting standard user ID's into
(B administrative 'groups' is sufficient for granting such priveledges.
(B
(BUsers will always resist anything that will cause them to type in
(Banother password to get their job done.
(B
(BProbably you want to mix approaches a bit. 
(B
(BCertain tasks will warrant a separate login, in part to sandbag against
(Btrojans and other malware. If you do set up such accounts, make sure
(Bbrowsing-type accounts are not allowed to sudo to admin-type accounts,
(Band establish a policy of not using su from the browsing accounts.
(B(Helps keep any keyloggers from getting at abuseable passwords.) I'd
(Beven suggest not allowing login from the browsing accounts, but I
(Bhaven't yet figured out how to effectively
(B
(Bsudo -u joe2 webbrowser .
(B
(BHeh.
(B
(BOne difficulty is getting users into the habit of knowning when to share
(Bfiles with themselves.
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

Re: I need further HDD advice before submitting order.

2005-05-12 Thread freebsd . org
Just a quick thank you to everyone who contributed advice on my HDD
(Bsetup, including Joel, Ryan and Lars who answered most recently but whom
(BI haven't had time to respond to individually - I'm dashing off to
(BIreland for a few days!
(B
(BI'll be getting my server going when I come back, so, if anyone else has
(Badvice, please do share it.
(B
(BThanks everyone,
(B
(BDonnacha
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Kent Stewart wrote:
On Thursday 12 May 2005 01:21 am, Muhammad Reza wrote:
 

Kent Stewart wrote:
   

On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote:
 

Dear List..
Why I didnt have /usr/compat/linux/proc on my 5.4 Release with
linux_base package installed ?
please give me clue..
   

When you do the install of the base, the port-message at the very
end tells you to create it. You enter something like
linprocfs   /compat/linux/proc   linprocfs   rw   0  0
in your /etc/fstab and then mount it.
Kent
 

regards
reza
   

I installed from packages (/stand/sysinstall), so i didnt see the
port-message
   

Have you added it to fstab? All you need to do then is say mount 
linprocfs.

You can find more with man linprocfs.
Kent
 

beastie# cat /etc/fstab | grep linprocfs
linprocfs   /compat/linux/proc linprocfsrw  0   0
beastie# mount linprocfs
mount: /usr/compat/linux/proc: No such file or directory
regards
reza
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tracking down kern.ipc.maxpipekva exceeded

2005-05-12 Thread Ewald Jenisch
Hi,

For some time one of my machines in plaged be becoming completely
unresponsive after different amounts of time (several hours up to
several days).

Symptoms:
Machine is PINGable, but no access over the network is possible
(neither ssh-login nor http-access). 

/var/log/messages:
May 11 12:11:00 io kernel: kern.ipc.maxpipekva exceeded; see tuning(7)
maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5).
(tons of both)
and finally 
May 11 12:42:03 io kernel: maxproc
May 11 12:42:03 io kernel: limit exceede
May 11 12:42:03 io kernel: d by uid
May 11 12:42:03 io kernel: 0, ple
May 11 12:42:03 io kernel: se see tun
May 11 12:42:03 io kernel: ng(7) and l
May 11 12:42:03 io kernel: ogin.conf
May 11 12:42:03 io kernel: (5).
May 11 12:42:03 io kernel: 

From that time on I can't log in any more, not even from the console.

When rebooting the box via ctl-alt-del, before shutdown, it fails to
sync buffers on shutdown (counts down to 1 and stays there) and
finally gives up - requiring an fsck on reboot.

Please note that the box does *not* crash completely, nor do I get a
kernel panic though.

The system is running 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Apr 16
10:19:26 CEST 2005 but this problem has been there since I first
installed 5.3 on the box.

So my primary question is:

How do I track down the cause of the problem, i.e. which
program/process is responsible for kern.ipc.maxpipekva to be
exceeded?

Thanks much in advance for any clue,
-ewald





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


Re: no /usr/compat/linux/proc

2005-05-12 Thread Muhammad Reza
Muhammad Reza wrote:
Kent Stewart wrote:
On Thursday 12 May 2005 01:21 am, Muhammad Reza wrote:
 

Kent Stewart wrote:
  

On Wednesday 11 May 2005 11:43 pm, Muhammad Reza wrote:


Dear List..
Why I didnt have /usr/compat/linux/proc on my 5.4 Release with
linux_base package installed ?
please give me clue..
  
When you do the install of the base, the port-message at the very
end tells you to create it. You enter something like
linprocfs   /compat/linux/proc   linprocfs   rw   0  0
in your /etc/fstab and then mount it.
Kent


regards
reza
  

I installed from packages (/stand/sysinstall), so i didnt see the
port-message
  

Have you added it to fstab? All you need to do then is say mount 
linprocfs.

You can find more with man linprocfs.
Kent
 

beastie# cat /etc/fstab | grep linprocfs
linprocfs   /compat/linux/proc linprocfsrw  0   0
beastie# mount linprocfs
mount: /usr/compat/linux/proc: No such file or directory
and solve with create it manuallly...
regards
reza
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CPUTYPE=p2 on a p3

2005-05-12 Thread Ronald Klop
Hello,
I've a mix of p2 and p3 cpu's, but I only want to compile world ones. In  
the past I had problems with running a world optimized with CPUTYPE=p2 on  
a p3. Is this a known issue? Are the i386, i486, p1, p2, p3 and p4  
backwards compatible in respect to this?
I understand that optimizing for p2 isn't optimal for the p3, but the code  
should just run isn't it?
If that is known to not work, what is the max cputype which works for all?  
Is it wise to use CPUTYPE=i486 or pentiumpro?

Greetings,
Ronald.
PS: Please cc me.
--
 Ronald Klop
 Amsterdam, The Netherlands
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Non-X screen capture?

2005-05-12 Thread Frits Westra
Hello,
Do you have any suggestions for a non-X screen capture program that can be  
invoked when the text to be captured is already on screen?

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


ZSH: Big delay on logon

2005-05-12 Thread Fafa Hafiz Krantz

Hello.

I'm on a Pentium 120 with FreeBSD 5.4-STABLE, and zsh-4.2.5.
When I log in, I have to wait in between 5 to 10 seconds before
the prompt displays. Even though I use a functional zshrc file
that has proven to work on other systems, things like auto
completion doesn't seem to work in this case.

# cat /etc/zshrc
#
http://www.home.no/hedhnta/zshrc

# cat /etc/zlogout
#
http://www.home.no/hedhnta/zlogout

# zsh -x
#
http://www.home.no/hedhnta/zsh-x

Somebody know?
Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf


-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


sc_pixel_mode and setting console font size at boot time...

2005-05-12 Thread Evren Yurtesen
Hi,
I have been trying to change the console font size to something smaller 
and if possible I want to change the console resolution to 800x600 or 
1024x768.

I am using a laptop and I compiled my kernel with vesa and sc_pixelmode 
but I am not able to change the text size etc. with vidcontrol even.

Any ideas?
Thanks,
Evren
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-STABLE #1: Wed May 11 19:14:34 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/PERPETUAL
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: mobile AMD Athlon (tm) 2400+ (1788.94-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x6a0  Stepping = 0
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 527368192 (502 MB)
avail memory = 506400768 (482 MB)
acpi0: PTLTD   RSDT on motherboard
acpi0: Power Button (fixed)
ACPI-0290: *** Error: Return object type is incorrect 
[\\_SB_.PCI0.LPCB.LNKU._CRS] (Node 0xc1a1ad00), AE_TYPE
can't fetch resources for \\_SB_.PCI0.LPCB.LNKU - AE_TYPE
acpi_ec0: Embedded Controller: GPE 0x19 port 0x66,0x62 on acpi0
Timecounter ACPI-safe frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0x8008-0x800b on acpi0
cpu0: ACPI CPU (2 Cx states) on acpi0
powernow0: PowerNow! K7 on cpu0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
ACPI-0290: *** Error: Return object type is incorrect 
[\\_SB_.PCI0.LPCB.LNKU._CRS] (Node 0xc1a1ad00), AE_TYPE
ACPI link \\_SB_.PCI0.LPCB.LNKC has invalid initial irq 5, ignoring
pci0: ACPI PCI bus on pcib0
ACPI-0290: *** Error: Return object type is incorrect 
[\\_SB_.PCI0.LPCB.LNKU._CRS] (Node 0xc1a1ad00), AE_TYPE
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
drm0: ATI Radeon RS100 Mobility U1 port 0xb000-0xb0ff mem 
0xf450-0xf450,0xf600-0xf7ff irq 10 at device 5.0 on pci1
info: [drm] Initialized radeon 1.11.0 20020828 on minor 0
ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 
0xf440-0xf4400fff irq 9 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: simple comms, generic modem at device 3.0 (no driver attached)
atapci0: AcerLabs Aladdin UDMA100 controller port 
0xa000-0xa00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: bridge at device 6.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
pcm0: Acer Labs M5451 port 0x8800-0x88ff mem 0xf4402000-0xf4402fff irq 
11 at device 8.0 on pci0
pcm0: Avance Logic ALC202 AC97 Codec
rl0: RealTek 8139 10/100BaseTX port 0x8c00-0x8cff mem 
0xf4406800-0xf44068ff irq 11 at device 9.0 on pci0
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:02:3f:b5:f5:88
fwohci0: VIA Fire II (VT6306) port 0x8080-0x80ff mem 
0xf4406000-0xf44067ff irq 10 at device 10.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:02:3f:33:27:00:05:22
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:02:3f:00:05:22
fwe0: Ethernet address: 02:02:3f:00:05:22
fwe0: if_start running deferred for Giant
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
cbb0: ENE CB1420 PCI-CardBus Bridge irq 11 at device 11.0 on pci0
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb1: ENE CB1420 PCI-CardBus Bridge irq 11 at device 11.1 on pci0
cardbus1: CardBus bus on cbb1
pccard1: 16-bit PCCard bus on cbb1
ohci1: AcerLabs M5237 (Aladdin-V) USB controller mem 
0xf4405000-0xf4405fff irq 10 at device 15.0 on pci0
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: AcerLabs M5237 (Aladdin-V) USB controller on ohci1
usb1: USB revision 1.0
uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
acpi_tz0: Thermal Zone on acpi0
acpi_tz0: _CRT value is absurd, ignored (205.0C)
acpi_tz0: _PSV value is absurd, ignored (200.0C)
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
psm0: 

Re: kernel build problem

2005-05-12 Thread Cristiano Deana
2005/5/11, Ananth.G [EMAIL PROTECTED]:

 i have attached my config file.

 # Bus support.  Do not remove isa, even if you have no isa slots

DO NOT REMOVE ISA...

 #device isa

uncomment the line above

 device  umass   # Disks/Mass storage - Requires scbus and da

REQUIRES scbus and da

 # SCSI peripherals
 #device scbus   # SCSI bus (required for SCSI)
 #device da  # Direct Access (disks)

uncomment lines above...

...and read comments on kernel config file

-- 
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't build firefox 1.0.4 on 4.10

2005-05-12 Thread Timothy Smith
./configure gets
*** The libIDL-config script installed by libIDL could not be found
*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBIDL_CONFIG environment variable to the
*** full path to libIDL-config.
checking for orbit-config... no
configure: error: libIDL not found.
   libIDL 0.6.3 or higher is required.
pkg_info shows
libIDL-0.8.3_2  A library for creating trees of CORBA Interface 
Definition

so obviously it's not looking into the right place, only there doesn't 
seem to be a libIDL-config, there is how ever a libIDL-config-2 ? i 
tried setting libidl_config to that but it's no go.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Non-X screen capture?

2005-05-12 Thread Björn König
Frits Westra wrote:
Do you have any suggestions for a non-X screen capture program that can 
be  invoked when the text to be captured is already on screen?
Use vidcontrol with options -p or -P, e.g.
vidcontrol -P  dump
See manpage for more information.
Regards Björn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slow DNS

2005-05-12 Thread Xian
I have just set up a router and would like DNS caching on it. I have tried to 
set it up an it kind of works, just computer using it as their nameserver 
take ages on DNS queries, up to 4-5 seconds.

To set up the DNS caching I added the ip of another DNS server 
to /etc/resolv.conf and added namd_enable=YES to /etc/rc.conf.
I also tweaked the following lines in /var/named/etc/namedb/named.conf: 
listen-on   { any; };
forwarders {
   192.168.0.1;
};
query-source address * port 53;

Any ideas on how to make it run better? The DNS server at 192.168.0.1 answers 
DNS queries in a few milliseconds.

-- 
/Xian

Too many of us look upon Americans as dollar chasers. This is a cruel libel, 
even if it is reiterated thoughtlessly by the Americans themselves.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3

2005-05-12 Thread Kris Kennaway
On Thu, May 12, 2005 at 09:33:03AM +0200, Herv? Kergourlay wrote:
 we are porting our product on FreeBSD 5.3
 
 it's a backup product which is still running on FreeBSD 4.0
 
 here's a list of questions after checking the documentation
 
 1) PAM
 
 it's working, the only problem is with the null password users, the 
 answer is allways NO. the nullok doesn't seem active
 here is my PAM file
 auth required  /usr/lib/pam_unix.so nullok
 account  required  /usr/lib/pam_unix.so nullok

Which PAM file?  5.3 doesn't use a single /etc/pam.conf.

 5) where are generated the core files ?
 
 I change the kernel with the following command
 sysctl kern.corefile=/cores/%U/%P%N.core

Make sure those directories exist and are writable by the user.  They
won't be created automatically.

 6) 2 last questions :-)
 
 what about files more than 4GB, do I need to use specific APIs as 
 open64, stat64 or the current open and stat API are managing the big file ?

No.

Kris


pgpMJpYwPCp1M.pgp
Description: PGP signature


Re: CPUTYPE=p2 on a p3

2005-05-12 Thread Kris Kennaway
On Thu, May 12, 2005 at 11:20:42AM +0200, Ronald Klop wrote:
 Hello,
 
 I've a mix of p2 and p3 cpu's, but I only want to compile world ones. In  
 the past I had problems with running a world optimized with CPUTYPE=p2 on  
 a p3. Is this a known issue? Are the i386, i486, p1, p2, p3 and p4  
 backwards compatible in respect to this?
 I understand that optimizing for p2 isn't optimal for the p3, but the code  
 should just run isn't it?

It should work - are you sure you didn't accidentally do the opposite
(which won't)?

Kris


pgp3eCcr1lWGE.pgp
Description: PGP signature


reverse stereo

2005-05-12 Thread fredthetree
Is there a control somewhere to flip the stereo signal of the soundcard?

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


Re: FreeBSD 5.3

2005-05-12 Thread Hervé Kergourlay
Kris Kennaway a écrit :
On Thu, May 12, 2005 at 09:33:03AM +0200, Herv? Kergourlay wrote:
 

we are porting our product on FreeBSD 5.3
it's a backup product which is still running on FreeBSD 4.0
here's a list of questions after checking the documentation
1) PAM
it's working, the only problem is with the null password users, the 
answer is allways NO. the nullok doesn't seem active
here is my PAM file
auth required  /usr/lib/pam_unix.so nullok
account  required  /usr/lib/pam_unix.so nullok
   

Which PAM file?  5.3 doesn't use a single /etc/pam.conf.
 

it's our pam file in /etc/pam.d directory
with the name registered in the pam_start first parameter
 

5) where are generated the core files ?
I change the kernel with the following command
sysctl kern.corefile=/cores/%U/%P%N.core
   

Make sure those directories exist and are writable by the user.  They
won't be created automatically.
 

checked, I force the 777 mode on the /cores directory
 

6) 2 last questions :-)
what about files more than 4GB, do I need to use specific APIs as 
open64, stat64 or the current open and stat API are managing the big file ?
   

No.
 

so big file are managed without any pain. correct ?
Kris
 


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


[no subject]

2005-05-12 Thread vizion
[EMAIL PROTECTED]  
[EMAIL PROTECTED]  
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Wed, 11 May 2005 09:36:19 -0700 (PDT)
Subject: Re: pthread compiler issues
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Kris Kennaway [EMAIL PROTECTED],[EMAIL PROTECTED],
 freebsd-questions@freebsd.org
Reply-To: [EMAIL PROTECTED]
User-Agent: SquirrelMail/1.4.1
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal


Twas said by  [EMAIL PROTECTED] and my ignorance encourages me to join
the dialogue

 Twas said by  Kris Kennaway and my ignorance encourages me to join the
 dialogue
 On Tue, May 10, 2005 at 07:06:43PM -0700, [EMAIL PROTECTED] wrote:

  Somehow you installed xorg without it installing the dri port
  (hardware graphics acceleration).  You should go back and install it,
 Hi
 After installing dri I got the following from portupgrade -a in firefox
 (but also see remarks below:
 
 Add this to last email:

Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/xorg-clients.
Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade91178.47
make
** Fix the problem and try again

--- Skipping 'x11-fonts/p5-type1inst' (p5-type1inst-0.6.1_2) because a
requisite package

'xorg-clients-6.7.0_4' (x11/xorg-clients) failed (specify -k to force)

--- Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package
'xorg-vfbserver-6.7.0'

(x11-servers/xorg-vbfserver) failed (specify -k to force)

** Listing the failed packages (*:skipped /!:failed)
!x11-servers/xorg-vfbserver (xorg-vfbserver-6.7.0)  (linker error)
!x11-servers/xorg-nestserver (xorg-nestserver-6.7.0)(linker error)
!x11-servers/xorg-server (xorg-server-6.7.0_9)  (new compiler error)
!x11-servers/xorg-printserver (xorg-printserver-6.7.0)  (new compiler 
error)
!x11-servers/xorg-clients (xorg-clients-6.7.0_4)(linker error)
* x11-fonts/p5-type1inst (p5-type1inst-0.6.1_2)
*x11/xorg (xorg-6.8.2)
--- Packages processed: 0 done, 213 ignored, 2 skipped and 5 failed
# pwd
/usr/ports/www/firefox
-
As a further check I got:


/* same errors in portupgrade -a on:

/usr/ports/emulators/linux_base
/usr/ports/archivers/xdms
/usr/ports/x11/xorg-clients
-
*/

What's next?

David



David Southwell  Ham call sign M0TAU
   Remove  nospamme_ from reply to ** 
   40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus. Currently in San Diego, CA. Sailing May bound for Europe via
Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2005-05-12 Thread vizion
[EMAIL PROTECTED]  
[EMAIL PROTECTED]  
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Wed, 11 May 2005 09:40:03 -0700 (PDT)
Subject: Re: pthread compiler issues
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Kris Kennaway [EMAIL PROTECTED],[EMAIL PROTECTED],
 freebsd-questions@freebsd.org
Reply-To: [EMAIL PROTECTED]
User-Agent: SquirrelMail/1.4.1
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal


Twas said by  [EMAIL PROTECTED] and my ignorance encourages me to join
the dialogue

 Twas said by  Kris Kennaway and my ignorance encourages me to join the
 dialogue
 On Tue, May 10, 2005 at 07:06:43PM -0700, [EMAIL PROTECTED] wrote:

  Somehow you installed xorg without it installing the dri port
  (hardware graphics acceleration).  You should go back and install it,
 Hi
 After installing dri I got the following from portupgrade -a in firefox
 (but also see remarks below:
 
The following was omitted:
(problems with my ISP)

Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/xorg-clients.
Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade91178.47
make
** Fix the problem and try again

--- Skipping 'x11-fonts/p5-type1inst' (p5-type1inst-0.6.1_2) because a
requisite package

'xorg-clients-6.7.0_4' (x11/xorg-clients) failed (specify -k to force)

--- Skipping 'x11/xorg' (xorg-6.8.2) because a requisite package
'xorg-vfbserver-6.7.0'

(x11-servers/xorg-vbfserver) failed (specify -k to force)

** Listing the failed packages (*:skipped /!:failed)
!x11-servers/xorg-vfbserver (xorg-vfbserver-6.7.0)  (linker error)
!x11-servers/xorg-nestserver (xorg-nestserver-6.7.0)(linker error)
!x11-servers/xorg-server (xorg-server-6.7.0_9)  (new compiler error)
!x11-servers/xorg-printserver (xorg-printserver-6.7.0)  (new compiler 
error)
!x11-servers/xorg-clients (xorg-clients-6.7.0_4)(linker error)
* x11-fonts/p5-type1inst (p5-type1inst-0.6.1_2)
*x11/xorg (xorg-6.8.2)
--- Packages processed: 0 done, 213 ignored, 2 skipped and 5 failed
# pwd
/usr/ports/www/firefox
-
As a further check I got:


/* same errors in portupgrade -a on:

/usr/ports/emulators/linux_base
/usr/ports/archivers/xdms
/usr/ports/x11/xorg-clients
-
*/

What's next?

David

David Southwell  Ham call sign M0TAU
   Remove  nospamme_ from reply to ** 
   40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus. Currently in San Diego, CA. Sailing May bound for Europe via
Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: euid !=0,directory /tmp/.ICE-unix will not be created

2005-05-12 Thread Darrel

I can startx with twm but not Gnome2-lite.  The X server shuts down 
immediately 'Cannot establish any listening sockets'
I installed gdm-2.6.0.9 remotely and expect that my X server problem has 
disappeared.
I missed the motd.  Discovered that actually two files were missing:
mkdir -m 1777 /tmp/.X11-unix
mkdir -m 1777 /tmp/.ICE-unix
Darrel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Big delay on login: What's wrong?

2005-05-12 Thread Fafa Hafiz Krantz

- Original Message -
From: Andrei A. Voropaev [EMAIL PROTECTED]
To: Fafa Hafiz Krantz [EMAIL PROTECTED]
Subject: Re: Big delay on login: What's wrong?
Date: Thu, 12 May 2005 13:19:21 +0200

 
 On Thu, May 12, 2005 at 04:49:52AM -0500, Fafa Hafiz Krantz wrote:
 
  Hello.
 
  I'm on a Pentium 120 with FreeBSD 5.4-STABLE, and zsh-4.2.5.
  When I log in, I have to wait in between 5 to 10 seconds before
  the prompt displays. Even though I use a functional zshrc file
  that has proven to work on other systems, things like auto
  completion doesn't seem to work in this case.
 
  # cat /etc/zshrc
  #
  http://www.home.no/hedhnta/zshrc
 
  # cat /etc/zlogout
  #
  http://www.home.no/hedhnta/zlogout
 
  # zsh -x
  #
  http://www.home.no/hedhnta/zsh-x
 
  Somebody know?
 
 Most likely it has nothing to do with zsh. Once we had the same problem
 because one of the daemons (I think ident) was trying to connect back to
 the machine where connection was coming from to find out username there.
 And we had firewall that was blocking those connections. So, login had
 to wait till that daemon gave up.
 
 YMMV.
 
 --
 Minds, like parachutes, function best when open

That's strange.

I doubt I have any daemons running that PF doesn't allow.

# cat /etc/pf.conf
#

int_if=ep0
ext_if=lnc0

set block-policy drop
scrub   in all

nat on $ext_if from $int_if:network to any - ($ext_if)
rdr on $int_if proto tcp from any to any \
port 21 - 127.0.0.1 port 8021

block   drop log all
passquick on { lo0 $int_if }

passout on $ext_if inet proto { tcp, udp, icmp } \
from any to any keep state

passin on $ext_if inet proto { tcp, udp } \
from any to ($ext_if) port 53
passout on $ext_if inet proto { tcp, udp } \
from any port 53 to any

passout on $ext_if inet proto udp \
from any to any port 123 keep state

passin on $ext_if inet proto tcp \
from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep state

passin on $ext_if inet proto tcp \
from any port 20 to ($ext_if) user proxy flags S/SA keep state

passin on $ext_if proto tcp \
from any to any port 31337 keep state
passin on $ext_if proto tcp \
from any to any port 5:5

By the way, I like the slogan in your signature.
It's among the best I've ever heard, as it applies to all things.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


lnc0: Missed packet -- no receive buffer

2005-05-12 Thread Fafa Hafiz Krantz

Hey!

I get this message all the time. What does it mean?
Can it be prevented, or in worst cases ignored?

Thanks.

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: lnc0: Missed packet -- no receive buffer

2005-05-12 Thread Timothy Smith
Fafa Hafiz Krantz wrote:
Hey!
I get this message all the time. What does it mean?
Can it be prevented, or in worst cases ignored?
Thanks.
--
Fafa Hafiz Krantz
 Research Designer @ http://www.home.no/barbershop
 Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf

 

it's people invading your privacy
- why do you keep posting to this list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lnc0: Missed packet -- no receive buffer

2005-05-12 Thread Tomas Quintero
 Fafa Hafiz Krantz
   Research Designer @ http://www.home.no/barbershop
   Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf
 
 it's people invading your privacy
 - why do you keep posting to this list?

He has to bring us enlightenment of course, silly! In another topic he
acknowledged the fact that Fafa isn't his name, nor anyone related to
him, but the name of someone that was threatened publicly(?) and so he
is using the name out of rebellion perhaps?

Either way I think Fafa is a fool. lnc0 is a secret FreeBSD insurgency
tool designed to destroy your motherdisk and download your ram 1 kb at
a time. The world is coming to an end Fafa!

-

On the serious side:
http://www.google.com/search?sourceid=navclientie=UTF-8rls=GGLD,GGLD:2004-30,GGLD:enq=missed+packet+receive+buffer+full

The very first link explains what the missed packet means. The receive
buffer on the card is well, self explanatory full.

I would suggest purchasing a better NIC, or doing some research into
tuning your system, TCP window size etc., although from what limited
googling I did, that doesn't look to be easily accomplishible, and the
NIC FIFO will still fill.

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


Re: Big delay on login: What's wrong?

2005-05-12 Thread Andrei A. Voropaev
On Thu, May 12, 2005 at 07:41:28AM -0500, Fafa Hafiz Krantz wrote:
  
  On Thu, May 12, 2005 at 04:49:52AM -0500, Fafa Hafiz Krantz wrote:
  
   Hello.
  
   I'm on a Pentium 120 with FreeBSD 5.4-STABLE, and zsh-4.2.5.
   When I log in, I have to wait in between 5 to 10 seconds before
   the prompt displays. Even though I use a functional zshrc file
   that has proven to work on other systems, things like auto
   completion doesn't seem to work in this case.
  
   # cat /etc/zshrc
   #
   http://www.home.no/hedhnta/zshrc
  
   # cat /etc/zlogout
   #
   http://www.home.no/hedhnta/zlogout
  
   # zsh -x
   #
   http://www.home.no/hedhnta/zsh-x
  
   Somebody know?
  
  Most likely it has nothing to do with zsh. Once we had the same problem
  because one of the daemons (I think ident) was trying to connect back to
  the machine where connection was coming from to find out username there.
  And we had firewall that was blocking those connections. So, login had
  to wait till that daemon gave up.
  
  YMMV.
  
  --
  Minds, like parachutes, function best when open
 
 That's strange.
 
 I doubt I have any daemons running that PF doesn't allow.
[...]

I would simply change to some other shell and try to login. If delay
disappears, then it's problem of zsh setup. If not, then it's problem
outside of zsh.

 
 By the way, I like the slogan in your signature.
 It's among the best I've ever heard, as it applies to all things.

One guy has commented it as Looks like today my mind is completely
closed, so I'm doomed to crash into ground :)

-- 
Minds, like parachutes, function best when open
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


wifi support

2005-05-12 Thread Perica Veljanovski
Hello,
I'm thinking of buying a Fujitsu-Siemens AMILO Pro V2020 laptop which 
has a Pentium M 725 (centrino) processor, Inter 855GME chipset with 
integrated Intel PRO/Wireless 2200BG Fast Ethernet LAN.

Since I'm not at all familiar with with the wi-fi technology and can't 
seem to find this particular wifi on 
http://www.freebsd.org/releases/5.4R/hardware-i386.html#WLAN, I would 
like to ask you if I'm mistaking?

Does FreeBSD support this WLAN adapter? If not, is it going to be 
supported in near future?

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


RE: NTP issues with 5.4

2005-05-12 Thread Michal Mertl
Ted Mittelstaedt pe v st 11. 05. 2005 v 21:05 -0700: 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Michal Mertl
  Sent: Wednesday, May 11, 2005 3:59 PM
  To: Ted Mittelstaedt
  Cc: freebsd-questions@freebsd.org
  Subject: RE: NTP issues with 5.4
 
 
  Ted Mittelstaedt wrote:
   Did you do an in-place update or a nuke-and-repave update?
  
   if it's an in-place update, then do a nuke-and-repave on your
   test system and see if the problem still happens.  If not then
   there's a library or something somewhere that the updater
  forgot about.
 
  It update with buildworld and mergemaster. I doubt the issue can be
  cause by something in my config or installation. By 'nuke-and-repave'
  you mean fresh install? I can't do that on the machines in
  question, one
  of them is acting as a router.
 
 
 Then go to Goodwill and buy a $10 PC and load 5.4 on it.  Your making
 excuses.  If you have that many production systems that you just can't
 turn off, then you damn well better have a test system.

Please calm down and don't order me what to do.

I have been doing upgrades from source for ages and never had a problem.
It is a documented process and I only upgraded some of the computers
from 5.3 to 5.4, e.g. not across major versions.

I believe the chance it's caused by borked installation is minimal -
what do you think influences ntpd? It's linked to 4 libraries, all of
them are updated, it doesn't use any system config files and there was
only a slight change in imported ntp version. It can be caused by bad
config of ntpd which only recently began to matter or more probably by a
kernel change.

I will try to boot with 5.3 kernel. I'll also try to see if I can
reproduce it on some computer which I can try fresh install on.

Michal

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


Re: sc_pixel_mode and setting console font size at boot time...

2005-05-12 Thread Carlos Alloatti
On 5/12/05, Evren Yurtesen [EMAIL PROTECTED] wrote:
 Hi,
 
 I have been trying to change the console font size to something smaller
 and if possible I want to change the console resolution to 800x600 or
 1024x768.
 
 I am using a laptop and I compiled my kernel with vesa and sc_pixelmode
 but I am not able to change the text size etc. with vidcontrol even.
 
 Any ideas?
 
 Thanks,
 Evren
 

Show us:
vidcontrol -i mode

Try:
vidcontrol -g 100x37 VESA_800x600 

thats if 100x37 is on your list

To do it at startup, edit rc.conf
allscreens_flags=-g 100x37 VESA_800x600
-- 
Carlos Alloatti
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: user owned groups

2005-05-12 Thread Svein Halvor Halvorsen

* Chuck Swiger [2005-05-11 14:33 -0400]
  Otherwise, you only have one default umask.  I'm not sure there is a sane way
  of changing it depending on which directory you are currently in, but you
  might try setting up an alias (cd77, cd22?) which combines setting the
  umask and cd'ing.


On my system, I keep .umask files lying around which has a umask number in 
it. Then in the systemwide bashrc file, I have [1; see below]. I have a 
/.umask file with a 0022 in it, and a 0077 in /home/.umask

The function below will traverse the directory tree and try to find a 
.umask file in any directory in this or any higher level. Then it will 
read the value from the file and apply it to the umask command. If the 
umask is changing as a result of this, it will print a message stating the 
current umask, as well as which file was used to decide the current umask. 
If the umask is either group- or world-writable, a warning is issued.

For non-bash users, I have not made an equivalent, and the umask is just 
set to 0077. I don't think I have any such users though (it's basically 
just me and my closest family who has access to my server). I think this 
will work in old style Bourne shells as well, though.


[1]

DEFUMASK=`umask`
cd(){
builtin cd $@
oldumask=$(printf %04.0f `umask`)
dir=$PWD
found=false
while [[ $dir != / ]]  [[ $found != true ]] ; do
if [ -f $dir/.umask ]; then
umask `cat $dir/.umask 2/dev/null`
found=true
else
dir=`dirname $dir`
fi
done
[[ $found != true ]]  umask $DEFUMASK

newumask=$(printf %04.0f `umask`)
if [ $PS1 !=  ]; then
if [[ $oldumask -ne $newumask ]]; then 
[[ $found == true ]]  echo Using .umask from 
$dir
echo umask is `umask` (`umask -S`)
fi
[[ `echo $newumask|cut -c3` -lt 2 ]]  echo WARNING: 
Insecure umask (group-writeable)
[[ `echo $newumask|cut -c4` -lt 2 ]]  echo WARNING: 
Insecure umask (world-writeable)
fi
unset oldumask newumask dir found
}
pushd(){
builtin pushd $@
cd $PWD
}
popd(){
builtin popd $@
cd $PWD
}
cd $PWD /dev/null 21
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sc_pixel_mode and setting console font size at boot time...

2005-05-12 Thread Carlos Alloatti
On 5/12/05, Evren Yurtesen [EMAIL PROTECTED] wrote:
 Hi,
 
 I have been trying to change the console font size to something smaller
 and if possible I want to change the console resolution to 800x600 or
 1024x768.
 
 I am using a laptop and I compiled my kernel with vesa and sc_pixelmode
 but I am not able to change the text size etc. with vidcontrol even.
 
 Any ideas?
 
 Thanks,
 Evren
 

And also, are you loading fonts in rc.conf? Check man vidcontrol, load
all 3 font sizes in rc.conf

font8x8=somefont
font8x14=somefont
font8x16=somefont

You can use sysinstall to load fonts in rc.conf (in 5.3 at least)
-- 
Carlos Alloatti
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


two ISP connections, three nics, and a NAT

2005-05-12 Thread Greg Donald
I have two ISP connections, a DSL line and a Cable Modem line.  I want
to plug both connections into a FreeBSD box that has three nics in it,
one nic for each ISP connection and the last nic for my NAT.  How can
I bind the connections together without any other sort of router? 
I've used ipfw a bit over the past couple of years, and I've got a
basic NAT working for the other LAN PCs.  I can't seem to find any
docs on how to proceed with two connections however.  I've got two
connections for the sake of failover but it'd be nice to actually use
both of them instead of one or the other sitting idle all the time. 
Would it be as simple as adding a static route from each connection to
the other?

If anyone has any tips or URLs that'd be helpful.

TIA.


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


Re: Big delay on login: What's wrong?

2005-05-12 Thread Fafa Hafiz Krantz

What up Andrei!

 I would simply change to some other shell and try to login. If delay
 disappears, then it's problem of zsh setup. If not, then it's problem
 outside of zsh.

I used to run tcsh before this.
No delay there, which brings me back to zsh.

Again, my setup is the same as on a computer where there is no delay.
Maybe because that's an Intel Pentium 3,2GHz whereas the one with the
delay is only 120MHz. Still, it shouldn't be like this.

Any idea?

  By the way, I like the slogan in your signature.
  It's among the best I've ever heard, as it applies to all things.
 
 One guy has commented it as Looks like today my mind is completely
 closed, so I'm doomed to crash into ground :)

Heheh :)

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: NTP issues with 5.4

2005-05-12 Thread Rob
Michal Mertl wrote:
 I have been doing upgrades from source for ages and
 never had a problem. It is a documented process and
 I only upgraded some of the computers from 5.3 to
 5.4, e.g. not across major versions.

I'm running 5-Stable, and each time I restart my
router/gateway/server (also ntpd server), I have
trouble getting the ntpd server operate properly.

I still haven't figured out what's going wrong.
Somehow ntpd can't access the external servers;
during that time it will also refuse to be the
server to my local network (so also the PCs on
my local network are in ntpd trouble).

After some time (hours or days) it seems to work
suddenly, like magic.

No, no, it's not that time is off to much. All PCs
involved here are running approximately the correct
time; at most 10 seconds off.

However, I noticed something strange this week:

I again had rebooted my router/server and the ntpd
was 'out-of-order', as usual. I ran tcpdump on the
external internet interface to monitor the activity
on port 123, and I noticed something strange.
My ntpd server was initializing itself by sending
out udp requests not from port 123, but from a high
port number, like this for example:

   my.gate.way:5045  ext.ntp.server:123
   ext.ntp.server:123  my.gate.way:5045

So my server was sending udp request from the
high port number to the ntp server on port 123.
The ntp server then answered the udp request from
port 123 to the high number port on my server.

Because my firewall allows ntp/udp communication
only via port 123, this communication was blocked.
I guess this was causing my ntpd server to hang
kind of indefinitely.

When I opened up my firewall, the ntpd server
suddenly made contact and all was fine.

A little later, I ran the same tcpdump again, and
found out that now both, my gateway/server and the
external ntp server, were communicating via port 123.

So I switched my firewall on again, and ntpd was
still very happy, because now the ntp/udp
communication went all via port 123.

Once ntpd was running for some time on the gateway,
it suddenly started to function as a server to my
local network; there is some delay here as if the
ntpd server on my gateway has to stabilize some
time first.

Any comments to this?

My gateway is a production server, so I can't do too
many experiments with rebooting the system ;(.

Regards,
Rob.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: two ISP connections, three nics, and a NAT

2005-05-12 Thread Ash
Greg Donald wrote:
I have two ISP connections, a DSL line and a Cable Modem line.  I want
to plug both connections into a FreeBSD box that has three nics in it,
one nic for each ISP connection and the last nic for my NAT.  How can
I bind the connections together without any other sort of router? 
I've used ipfw a bit over the past couple of years, and I've got a
basic NAT working for the other LAN PCs.  I can't seem to find any
docs on how to proceed with two connections however.  I've got two
connections for the sake of failover but it'd be nice to actually use
both of them instead of one or the other sitting idle all the time. 
Would it be as simple as adding a static route from each connection to
the other?

If anyone has any tips or URLs that'd be helpful.
TIA.


Short answer: You can't.
Long answer: You can't bind the two connections from two different ISPs 
into a single connection, it's just not the way IP works. What you can 
do however, is distribute the network load evenly across the two 
connections through your router. You already have a router: Your FreeBSD 
box.

One method you can try, is to distribute the load one a per machine 
basis. Let's say you have 4 computers in your LAN A, B, C and D. You can 
configure your router to send traffic originating from A and B through 
ISP 1, while C and D are routed through ISP 2. Unfortunately, I haven't 
used IPFW in a long enough time that I can't remember much about it, so 
I'm not sure if IPFW will allow you to do this (I *think* it does, but 
I'm too lazy to look it up). However, I do know that pf(4) (Firewall 
package ported over from OpenBSD and imported into 5.x in March of 2004) 
will allow you to do this. In case you want to examine the PF option, 
you may want to have a look at the Users Guide 
(ftp://ftp.openbsd.org/pub/OpenBSD/doc/pf-faq.txt) as well as an 
overview (http://www.bgnett.no/~peter/pf/).

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


Re: two ISP connections, three nics, and a NAT

2005-05-12 Thread Tomas Quintero
 I have two ISP connections, a DSL line and a Cable Modem line.  I want
 to plug both connections into a FreeBSD box that has three nics in it,
 one nic for each ISP connection and the last nic for my NAT.  How can
 I bind the connections together without any other sort of router?
 I've used ipfw a bit over the past couple of years, and I've got a
 basic NAT working for the other LAN PCs.  I can't seem to find any
 docs on how to proceed with two connections however.  I've got two
 connections for the sake of failover but it'd be nice to actually use
 both of them instead of one or the other sitting idle all the time.
 Would it be as simple as adding a static route from each connection to
 the other?
 

PF is wonderful for this. I manage a router with 3 DSL Circuits and
have PF setup to round-robin between them. The configuration is fairly
simple, and I can provide my pf.conf if you'd like for some
clarification on how to go about doing it.

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


Re: two ISP connections, three nics, and a NAT

2005-05-12 Thread WMC
At 11:06 AM 5/12/2005, you wrote:
I have two ISP connections, a DSL line and a Cable Modem line.  I want  to 
plug both connections into a FreeBSD box that has three nics in it, one 
nic for each ISP connection and the last nic for my NAT.  How can I bind 
the connections together without any other sort of router?
I setup something similar that may be useful  We have a small office 
with a 12/24ths of a T-1 line for an absurd amount of money as our primary 
connection.  Cheap residential cable service became available with 
quadruple the bandwidth [incoming only] for cheap.

I installed an extra NIC the to cable modem and setup the Squid proxy / 
cache on a f'bsd box that was already running other services.  Then used 
some Squid options and IPFW to get all Squid's traffic running over the 
cable line.  This gets us faster web and ftp downloads, and off-loads the 
T-1 for other things.

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


Re: can't build firefox 1.0.4 on 4.10

2005-05-12 Thread Alex Zbyslaw
Timothy Smith wrote:
*** The libIDL-config script installed by libIDL could not be found
*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBIDL_CONFIG environment variable to the
*** full path to libIDL-config.
checking for orbit-config... no
configure: error: libIDL not found.
   libIDL 0.6.3 or higher is required.
pkg_info shows
libIDL-0.8.3_2  A library for creating trees of CORBA Interface 
Definition

so obviously it's not looking into the right place, only there doesn't 
seem to be a libIDL-config, there is how ever a libIDL-config-2 ? i 
tried setting libidl_config to that but it's no go.
I just this minute finished compiling Firefox and didn't get this 
problem :-)

I do have a libIDL-config and libIDL-config-2 (not libidl-config as you 
typed) but I believe it is obsolete and does NOT appear to be what 
Firefox used. (The libIDL defs I could find refer to libIDL-2).

What do you get for
   locate libIDL-config-2
assuming you keep a locate database?
I get /usr/local/bin/libIDL-config-2 which is a standard location.  If 
yours is somewhere else then you'll either have to a) provide a symlink 
or b) reinstall libIDL to a standard location c) convince Firefox to 
look wherever you installed it.  Not sure how since it's not a config 
option to the port Makefile (just to the Firefox configure process, 
which it's messy to hack).

If it's not somewhere else, then something else hinky is going on and 
reinstalling libIDL may be the best bet.  (You're a bit out of date 
anyway as mine is up to libIDL-0.8.5_1).

--Alex

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


Re: can't build firefox 1.0.4 on 4.10

2005-05-12 Thread Alex Zbyslaw
Alex Zbyslaw wrote:
Timothy Smith wrote:
set the LIBIDL_CONFIG environment variable to the
*** full path to libIDL-config.

Or try:
 setenv LIBIDL_CONFIG `which libIDL-config-2`
or it {ba,z}sh equivalent.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


incoming mail access issue

2005-05-12 Thread Paul Keyes
Hi All,
  I'm running FreeBSD 5.3-RELEASE.  I have qpopper
installed and working for pop mail but the problem is
that no matter what account on the system I'm sending
mail to, the only messages that actually get through
are from one specific email address, all others seem
to be rejected.  Can anyone point me in the right
direction to solving this problem?

Thanks so much!

__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cdce Patch

2005-05-12 Thread Zhiliang
Hi Clifton,

The output from make deinstall in /usr/ports/comms/cdce-1.0 :
make : do not know how to make deinstall. Stop.

I had originally installed the port in /usr/ports/comms/cdce-1.0
from a tarball downloaded from gank.org then did another installation
in /usr/ports/comms/cdce with a tarball from freebsd.org,  which
contained the patch. I did make deinstall and make clean first in
/usr/ports/comms/cdce which ran successfully but then encountered
the problem above in /usr/ports/comms/cdce-1.0 . Now I am totally
confused as to what to do next. how do i remove the entire cdce
installation and rebuild from scratch?

A million thanks for your help

On 5/12/05, Clifton Royston [EMAIL PROTECTED] wrote:
 On Thu, May 12, 2005 at 10:40:29AM +0800, Zhiliang wrote:
  Hi Clifton,
 
  Thanks...i tried that but did not have any effect...would l need to
  copy revised Makefile into the directory as well?
 
 No, but you do need to run make deinstall to safely remove the
 installed version and then make clean to remove your first attempt to
 build it.  It's probably not applying the patch and recompiling, if it
 has a version already built in the work subdirectory.
 
   -- Clifton
 
 --
   Clifton Royston  --  [EMAIL PROTECTED]
  Tiki Technologies Lead Programmer/Software Architect
 I'm gonna tell my son to grow up pretty as the grass is green
 And whip-smart as the English Channel's wide...
 -- 'Whip-Smart', Liz Phair

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


Re: incoming mail access issue

2005-05-12 Thread [EMAIL PROTECTED]
On Thu, 12 May 2005 12:13:13 -0400 (EDT)
Paul Keyes [EMAIL PROTECTED] wrote:

   I'm running FreeBSD 5.3-RELEASE.  I have qpopper
 installed and working for pop mail but the problem is
 that no matter what account on the system I'm sending
 mail to, the only messages that actually get through
 are from one specific email address, all others seem
 to be rejected.  Can anyone point me in the right
 direction to solving this problem?

qpopper is a pop-daemon making it possible to fetch emails from a
machine

your problem sounds more like a problem with the MTA, sendmail, postfix,
qmail, exim or whatever you are using

*) is your mailserver a public service or a local one ?
*) are you sending those email locally or from another machine on the
internet ?
*) did you look at the logfiles ? e.g. /var/log/maillog
*) what does the command mailq show ?

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


RE: SU Question

2005-05-12 Thread Dixit, Viraj
HI Dan,

I am getting this error message when I try to logon using su command through 
Telnet remotely. All this started when I accidentally changed permissions, 
since then all permissions have been restored, yet the same error.
 % su
Password:
su: setting user context: Operation not permitted 

Any idea! Thanks,
VJ


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


Scripting help

2005-05-12 Thread Chris
I would like some advice on how to script something that will search 
directories below a named root for all files ending with a certain file 
extension.

Then, mv or cp them to another location.
--
Best regards,
Chris
The first 90 percent of the task takes 90 percent of the
time, the last 10 percent takes the other 90 percent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network interface counters

2005-05-12 Thread Chad Morland
I was wondering if there is a FreeBSD equivalent to /proc/net/dev from
Linux. I am trying to get bit and packet counter info from my network
devices.

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


Re: Big delay on login: What's wrong?

2005-05-12 Thread Wayne Davison
On Thu, May 12, 2005 at 09:35:11AM -0500, Fafa Hafiz Krantz wrote:
 I used to run tcsh before this.
 No delay there, which brings me back to zsh.

If you haven't tried it in a while, be sure to re-test to make sure that
something didn't change recently.  I ran into an ident delay a while
back, and fixed it by opening a hole in my firewall to a machine on my
local network, even though it wasn't running identd -- that made the
reverse ident attempt immediately fail (with a connection refused)
instead of hanging for a bit, waiting to timeout.

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


Re: Slow DNS

2005-05-12 Thread Xian
On Thursday 12 May 2005 12:43, you wrote:
 Xian wrote:
 I have just set up a router and would like DNS caching on it. I have tried
  to set it up an it kind of works, just computer using it as their
  nameserver take ages on DNS queries, up to 4-5 seconds.
 
 To set up the DNS caching I added the ip of another DNS server
 to /etc/resolv.conf and added namd_enable=YES to /etc/rc.conf.
 I also tweaked the following lines in /var/named/etc/namedb/named.conf:
 listen-on   { any; };
 forwarders {
192.168.0.1;
 };
 query-source address * port 53;
 
 Any ideas on how to make it run better? The DNS server at 192.168.0.1
  answers DNS queries in a few milliseconds.

 do this test for me. from the machine witht he dns setup on it, ping
 www.google.com, note how long it takes, then ping it again. your local
 dns shouldhave cached it after the 2nd try. the 4 - 5 seconds delay
 could be your dns contacting the root dns servers.

Ping doesn't work yet from withing this segment of the LAN (that's my next 
problem to fix).
Using dig instead (on www.freebsd.org because www.google.com was already in 
the cache):

[EMAIL PROTECTED]:~] %dig www.freebsd.org
snip
;; Query time: 4311 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu May 12 17:28:43 2005
;; MSG SIZE  rcvd: 211

[EMAIL PROTECTED]:~] %dig www.freebsd.org
snip
;; Query time: 7 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu May 12 17:28:47 2005
;; MSG SIZE  rcvd: 211

The strange thing is that I made sure that freebsd.org was in the cache of 
192.168.0.1 before I did this test, and that machine took 14ms to reply.
Why does it take so long to look stuff up when the machine at 192.168.0.1 
takes much less than this to look stuff up for the first time? Thats what is 
confusing me.
-- 
/Xian

C lets you shoot yourself in the foot rather easily. C++ allows you to blow 
your whole leg off
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Redirect *:port to ip:port on the same machine?

2005-05-12 Thread Carlos Alloatti
On 5/11/05, Andrew P. [EMAIL PROTECTED] wrote:
 Hello!
 
 I have a program that binds to ip:port. What are
 my options, if I want it to listen on all interfaces
 (*:port)? Let's say reconfiguring the program
 and/or running one instance per interface is
 not possible. I've got ipfw as a firewall.
 
 Thanks!

How about using a port forwarder or port mapper.

I think you could use ipfw and natd for it, with a divert rule, found this:

quote
 If I want to have a port mapping on the same interface, can I do that ? 

 127.0.0.1: 8890 - 127.0.0.: 25 ? 
 If I want to do so, what is natd command ? 
 natd -redirect_port 127.0.0.1:8890 25? 



--­--­ 
 
#!/bin/sh 

outip=my ip address which will be redirected 
server=ip address redirect to 


# for request redirect 
ipfw add 1000 divert  tcp from any to ${outip} 8890 via cx0 
ipfw add 2000 divert  ip from ${server} to any via cx0 


#run natd 
natd -p  -n cx0 -redirect_port tcp ${server}:25 8890 
ipfw add 2500 allow tcp from any to ${server} 25 via any 

/quote


but how about this:

http://www.taronga.com/plugdaemon/
http://www.freebsd.org/cgi/url.cgi?ports/net/jumpgate/pkg-descr

the port mapper will bind to *:port2 and forward to ip:port1


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


Re: Network interface counters

2005-05-12 Thread Charles Swiger
On May 12, 2005, at 12:45 PM, Chad Morland wrote:
I was wondering if there is a FreeBSD equivalent to /proc/net/dev from
Linux. I am trying to get bit and packet counter info from my network
devices.
I would use the counters built into IPFW for this purpose, as you can 
configure rules or pipes to match any subset of traffic you care 
about...

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


Re: Scripting help

2005-05-12 Thread Philip Hallstrom
install the 'mmv' port.
From the description...
This is mmv, a program to move/copy/append/link multiple files
according to a set of wildcard patterns. The wildcard matches
can be reused in forming the target names. You can i.e. move
all *.c.or? files to or?.new.*.c by saying 'mmv *.c.or? or=2.new.=1.c'
The multiple action is performed safely, i.e. without any unexpected
deletion of files due to collisions of target names with existing
filenames or with other target names. Furthermore, before doing
anything, mmv attempts to detect any errors that would result from the
entire set of actions specified and gives the user the choice of
either aborting before beginning, or proceeding by avoiding the
offending parts.
On Thu, 12 May 2005, Chris wrote:
I would like some advice on how to script something that will search 
directories below a named root for all files ending with a certain file 
extension.

Then, mv or cp them to another location.
--
Best regards,
Chris
The first 90 percent of the task takes 90 percent of the
time, the last 10 percent takes the other 90 percent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: two ISP connections, three nics, and a NAT

2005-05-12 Thread Clifton Royston
On Thu, May 12, 2005 at 11:06:39AM -0400, Tomas Quintero wrote:
 PF is wonderful for this. I manage a router with 3 DSL Circuits and
 have PF setup to round-robin between them. The configuration is fairly
 simple, and I can provide my pf.conf if you'd like for some
 clarification on how to go about doing it.

Actually, I for one would be quite interested in seeing this.  

  -- Clifton

-- 
  Clifton Royston  --  [EMAIL PROTECTED] 
 Tiki Technologies Lead Programmer/Software Architect
I'm gonna tell my son to grow up pretty as the grass is green
And whip-smart as the English Channel's wide...
-- 'Whip-Smart', Liz Phair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhclient issue with 5.4...

2005-05-12 Thread mojo fms
I did a reinstall recently and since then i can not connect the internet 
using dhclient on that machine. I looked around on google for a bit but 
found nothing that fixed the problem. I checked the PnP OS option in the 
bios, it is already set to No, and i played around with new network cables 
and such. If i plug the cable modem in to my wifes windows computer it pops 
up with the new DHCP info almost right away. Thanks for any help anyone can 
provide.

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


RE: SU Question

2005-05-12 Thread Dixit, Viraj

Final question, I notice the rights of su on another system were like this 
-r-sr-xr-x. What's the rule of setting the option s in the permissions. 
Thanks!
VJ

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


5.4 package install woes.... :(

2005-05-12 Thread Bill Schoolcraft
Hello Family,

Well, it's been two days now of watching both from work and from
home the building of /usr/ports/x11/kde3 and I started this
thinking it would be an hour or two adventure for after about 19
inserting/reinserting of disks 1 then 2 then 1 then 2 etc of
just trying to do what I've always done with one install disk
with FreeBSD.

So, while kde3 is still building from ports I copied both full
iso images to my new FreeBSD box in hopes of maybe mounting them
in loopback and offering the two ISO images up via
/stand/sysinstall as a source for packages.  I cannot seem to
get the new mdconfig to mount the iso's.  

Here is the command I'm using.

(first made mount points of /mnt/loop1 and /mnt/loop2)

##

mdconfig -a -t vnode -f /iso/5.4-RELEASE-i386-disc1.iso -u 1
mdconfig -a -t vnode -f /iso/5.4-RELEASE-i386-disc2.iso -u 2

mount /dev/md1 /mnt/loop1
mount: /dev/md1 on /mnt/loop1: incorrect super block

mount /dev/md2 /mnt/loop2
mount: /dev/md2 on /mnt/loop2: incorrect super block

These two iso images are the exact same ones that worked fine
with the install, all MD5 sums are correct.

##

So the deeper I dig myself into this hole the more I ask myself
how can I just choose all my optional binary packages to install
from the post install menu and just have FreeBSD-5.4 have me
install disk-1 once and disk-2 once and all my package
choices are done.

I'm anxious to use this version of FreeBSD, been using this OS
since the 3.4 and was really bummed out to have to post this
email but we are all family and I have no where else to ask
this.

Namaste



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Scripting help

2005-05-12 Thread Roland Smith
On Thu, May 12, 2005 at 11:44:49AM -0500, Chris wrote:
 I would like some advice on how to script something that will search 
 directories below a named root for all files ending with a certain file 
 extension.

Finding files is done (unsurprisingly) with find. E.g. to find all .c
files under the current directory do: 

 find . -name *.c

Find can select files based on many other criteria. See the find manual
page for more detail.  

You can then pipe the output through xargs to do things with the files.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgp2XZjow53it.pgp
Description: PGP signature


Re: Scripting help

2005-05-12 Thread Alejandro Pulver
On Thu, 12 May 2005 11:44:49 -0500
Chris [EMAIL PROTECTED] wrote:

 I would like some advice on how to script something that will search 
 directories below a named root for all files ending with a certain
 file extension.
 
 Then, mv or cp them to another location.
 
 
 -- 
 Best regards,
 Chris

Hello,

Try this:

find /your/path -type f -name *.tar -exec cp {} /destination/dir \;

/your/path - put here the root path to operate on

-type f - type f means to search for files

-name *.tar - search for anything (*) ending in .tar (shell pattern)

-exec cp {} /destination/dir \; - execute the command cp file
/destination/dir replacing file with each file found (one at time).
The '\' is to escape the ';' (so it is not interpreted by the shell as a
command separator). 

It is also posible to do much more complex functions with 'find'. For
more information see man find.

Hope that helps.

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


Re: Redirect *:port to ip:port on the same machine?

2005-05-12 Thread WMC
At 12:56 PM 5/12/2005, you wrote:
I have a program that binds to ip:port. What are my options, if I want it 
to listen on all interfaces (*:port)? Let's say reconfiguring the program 
and/or running one instance per interface is not possible.
How 'bout:
* Install ports/net/redir
* Config original program to listen on localhost
* Config redir to pass from the other IPs to localhost.
  -Wayne
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SU Question

2005-05-12 Thread Roland Smith
On Thu, May 12, 2005 at 10:19:31AM -0700, Dixit, Viraj wrote:
 
 Final question, I notice the rights of su on another system were
 like this -r-sr-xr-x. What's the rule of setting the option s in
 the permissions. Thanks!

You can set this bit (the setuid bit) with chmod. See the chmod manual
page for details and an explanation of the different mode bits.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgp50PcjGh5YQ.pgp
Description: PGP signature


monitoring and alerting software ????

2005-05-12 Thread Duane Winner
Hello,
This may not be FreeBSD specific, but since I'm running nearly a 100% 
FreeBSD shop, I figured this would be as good as place as any to ask a 
question. Also, it might just turn out that the solution for me might be 
software that runs on FreeBSD.

Does anybody have recommendations for a good solution to alert me while 
I am not at work if something goes wrong with my 
infrastucture/network/servers?
In other words, if I am at home, I need to be alerted if one of my 
FreeBSD servers go down, but also if the router, firewall or switches go 
haywire.

I'm thinking along the lines of getting a cell phone, and have a central 
server with a modem dial my cell and send a text message, either 
directly or via a 3rd party service, if anything goes wrong. I am the 
sole responsible admin for babysitting my network and server farm, and 
we're setting up critical systems that must be 24x7, so now I must be 
'on call' 24x7.

Is there anything out there that will assist me with this?
Thanks,
DW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Scripting help

2005-05-12 Thread Robert Huff

Roland Smith writes:

  Finding files is done (unsurprisingly) with find. E.g. to find all .c
  files under the current directory do: 
  
   find . -name *.c

I believe

find . -name *.c

is prefered, so the wildcard doesn't get mangled by the shell.


Robert Huff

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


Re: monitoring and alerting software ????

2005-05-12 Thread Philip Hallstrom
Nagios.
http://www.nagios.org/
On Thu, 12 May 2005, Duane Winner wrote:
Hello,
This may not be FreeBSD specific, but since I'm running nearly a 100% FreeBSD 
shop, I figured this would be as good as place as any to ask a question. 
Also, it might just turn out that the solution for me might be software that 
runs on FreeBSD.

Does anybody have recommendations for a good solution to alert me while I am 
not at work if something goes wrong with my infrastucture/network/servers?
In other words, if I am at home, I need to be alerted if one of my FreeBSD 
servers go down, but also if the router, firewall or switches go haywire.

I'm thinking along the lines of getting a cell phone, and have a central 
server with a modem dial my cell and send a text message, either directly or 
via a 3rd party service, if anything goes wrong. I am the sole responsible 
admin for babysitting my network and server farm, and we're setting up 
critical systems that must be 24x7, so now I must be 'on call' 24x7.

Is there anything out there that will assist me with this?
Thanks,
DW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Redirect *:port to ip:port on the same machine?

2005-05-12 Thread Andrew P.
On 5/12/05, Carlos Alloatti [EMAIL PROTECTED] wrote:
 On 5/11/05, Andrew P. [EMAIL PROTECTED] wrote:
  Hello!
 
  I have a program that binds to ip:port. What are
  my options, if I want it to listen on all interfaces
  (*:port)? Let's say reconfiguring the program
  and/or running one instance per interface is
  not possible. I've got ipfw as a firewall.
 
  Thanks!
 
 How about using a port forwarder or port mapper.
 
 I think you could use ipfw and natd for it, with a divert rule, found this:
 
 quote
  If I want to have a port mapping on the same interface, can I do that ?
 
  127.0.0.1: 8890 - 127.0.0.: 25 ?
  If I want to do so, what is natd command ?
  natd -redirect_port 127.0.0.1:8890 25?
 
 --­--­
 
 #!/bin/sh
 
 outip=my ip address which will be redirected
 server=ip address redirect to
 
 # for request redirect
 ipfw add 1000 divert  tcp from any to ${outip} 8890 via cx0
 ipfw add 2000 divert  ip from ${server} to any via cx0
 
 #run natd
 natd -p  -n cx0 -redirect_port tcp ${server}:25 8890
 ipfw add 2500 allow tcp from any to ${server} 25 via any
 
 /quote
 
 but how about this:
 
 http://www.taronga.com/plugdaemon/
 http://www.freebsd.org/cgi/url.cgi?ports/net/jumpgate/pkg-descr
 
 the port mapper will bind to *:port2 and forward to ip:port1

Yeah, thanks, I think that's just what I need!

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


Re: monitoring and alerting software ????

2005-05-12 Thread Kirk Strauser
On Thursday 12 May 2005 12:47, Philip Hallstrom wrote:
 Nagios.

 http://www.nagios.org/

aol
Me, too
/aol

I have a Nagios server monitor several friendly networks.  I get emails, 
pages, or Jabber popups as appropriate whenever problems start.
-- 
Kirk Strauser


pgpvmBnWWvBnR.pgp
Description: PGP signature


problem building sendmail+sasl

2005-05-12 Thread Robert Huff

I'm trying to add SASL to sendmail (more accurately, to make it
so it's done as part of the default sendmail build under -CURRENT).
I have:

1) installed cyrus-sasl-2.1.20_1
2) added

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

to /etc/make,conf
However, when I buildworld I get:

/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25: 
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29: 
sasl/saslutil.h: No such file or directory
In file included from 
/usr/src/lib/libmilter/../../contrib/sendmail/libmilter/sm_gethost.c:14:
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:134:25: 
sasl/sasl.h: No such file or directory
/usr/src/lib/libmilter/../../contrib/sendmail/src/sendmail.h:135:29: 
sasl/saslutil.h: No such file or directory
mkdep: compile failed
*** Error code 1


What have I overlooked?


Robert Huff

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


Re: SU Question

2005-05-12 Thread Dan Nelson
In the last episode (May 12), Dixit, Viraj said:
 I am getting this error message when I try to logon using su
 command through Telnet remotely. All this started when I accidentally
 changed permissions, since then all permissions have been restored,
 yet the same error.
  % su
 Password:
 su: setting user context: Operation not permitted 

Check the permissions on /usr/bin/su.  They should be

-r-sr-xr-x

If they aren't, run chmod a=rx,u+s /usr/bin/su as root to fix it.
You'll probably need to do this directly from the console, since you
can't use su :)

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


Kernel upgrade how-to

2005-05-12 Thread Mark Probert

Hi ..

Is there documentation on how to do a kernel upgrade?  I am looking at going 
from 5.3 to 5.4 and I am pretty sure that steps are:

  (1) upgrade the /usr/src tree
  (2) recomple the kernel
  (3) install the new kernel

I am not sure of the best or official way of doing (1).  Plus, am I missing 
something essential, like support libraries, changes in the boot process, 
etc.?

Any help appreciated.

Regards,

-- 
-mark.  (probertm at acm dot org)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Read carefully :-)

2005-05-12 Thread vizion


Twas said by  Stevan Tiefert and my ignorance encourages me to join the
dialogue

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

 Stop spamming!

You need to read what you get and unsubscribe from the list if you do not
want to get mails for list members!
David

David Southwell  Ham call sign M0TAU
   Remove  nospamme_ from reply to **
   40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus. Currently in San Diego, CA. Sailing May bound for Europe via
Panama Canal.



David Southwell  Ham call sign M0TAU
   Remove  nospamme_ from reply to ** 
   40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V
Taurus. Currently in San Diego, CA. Sailing May bound for Europe via
Panama Canal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NTP issues with 5.4

2005-05-12 Thread Michal Mertl
Rob pe v t 12. 05. 2005 v 07:47 -0700:
 Michal Mertl wrote:
  I have been doing upgrades from source for ages and
  never had a problem. It is a documented process and
  I only upgraded some of the computers from 5.3 to
  5.4, e.g. not across major versions.
 
 I'm running 5-Stable, and each time I restart my
 router/gateway/server (also ntpd server), I have
 trouble getting the ntpd server operate properly.
 
 I still haven't figured out what's going wrong.
 Somehow ntpd can't access the external servers;
 during that time it will also refuse to be the
 server to my local network (so also the PCs on
 my local network are in ntpd trouble).
 
 After some time (hours or days) it seems to work
 suddenly, like magic.
 
 No, no, it's not that time is off to much. All PCs
 involved here are running approximately the correct
 time; at most 10 seconds off.
 
 However, I noticed something strange this week:
 
 I again had rebooted my router/server and the ntpd
 was 'out-of-order', as usual. I ran tcpdump on the
 external internet interface to monitor the activity
 on port 123, and I noticed something strange.
 My ntpd server was initializing itself by sending
 out udp requests not from port 123, but from a high
 port number, like this for example:
 
my.gate.way:5045  ext.ntp.server:123
ext.ntp.server:123  my.gate.way:5045
 
 So my server was sending udp request from the
 high port number to the ntp server on port 123.
 The ntp server then answered the udp request from
 port 123 to the high number port on my server.
 
 Because my firewall allows ntp/udp communication
 only via port 123, this communication was blocked.
 I guess this was causing my ntpd server to hang
 kind of indefinitely.
 
 When I opened up my firewall, the ntpd server
 suddenly made contact and all was fine.
 
 A little later, I ran the same tcpdump again, and
 found out that now both, my gateway/server and the
 external ntp server, were communicating via port 123.
 
 So I switched my firewall on again, and ntpd was
 still very happy, because now the ntp/udp
 communication went all via port 123.

Hm. This is not my case. I've got firewalls configured too, but they
allow this kind of traffic too. And I don't have them on all the
computers I experience the problems either.

 Once ntpd was running for some time on the gateway,
 it suddenly started to function as a server to my
 local network; there is some delay here as if the
 ntpd server on my gateway has to stabilize some
 time first.
 
 Any comments to this?

Some time is always needed before NTPD server responds to client queries
AFAIK. I've just tried restarting the daemon and have been checking when
it starts answering. It took about 5 minutes. When you issue sysinfo
command from ntpdc you should see system peer set to something other
than 0.0.0.0.

 My gateway is a production server, so I can't do too
 many experiments with rebooting the system ;(.
 
 Regards,
 Rob.
 
 
   
 Discover Yahoo! 
 Find restaurants, movies, travel and more fun for the weekend. Check it out! 
 http://discover.yahoo.com/weekend.html 
 

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


Re: Kernel upgrade how-to

2005-05-12 Thread Glenn Dawson
At 11:15 AM 5/12/2005, Mark Probert wrote:
Hi ..
Is there documentation on how to do a kernel upgrade?  I am looking at going
from 5.3 to 5.4 and I am pretty sure that steps are:
  (1) upgrade the /usr/src tree
  (2) recomple the kernel
  (3) install the new kernel
I am not sure of the best or official way of doing (1).  Plus, am I missing
something essential, like support libraries, changes in the boot process,
etc.?
Section 19 in the handbook has all the details:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
19.4 details the process of actually building everything.
Additionally, appendix A has details on how to update your source:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html
-Glenn

Any help appreciated.
Regards,
--
-mark.  (probertm at acm dot org)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: two ISP connections, three nics, and a NAT

2005-05-12 Thread Tomas Quintero
On 5/12/05, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 Tomas Quintero wrote:
 
 PF is wonderful for this. I manage a router with 3 DSL Circuits and
 have PF setup to round-robin between them. The configuration is fairly
 simple, and I can provide my pf.conf if you'd like for some
 clarification on how to go about doing it.
 
 
 I'd be interested to see how it's done.  I don't have any experience of PF 
 (just IPFW) and seeing good, working examples always helps in understanding 
 new stuff.  If you would forward me a copy, I'd be grateful, and it's the 
 kind of resource it's nice to run across when searching archives, if you're 
 prepared to post it to the list.
 
 Best,
 
 --Alex
 
 

I got two emails back for it, including Alex's, so I'll go ahead and
post the config for the list. The setup is for a Game/LAN center, so
we're pretty lenient on what goes out, which is why I haven't setup an
inclusive firewall block list. Anyways here is the config. There are
currently two of the three circuits going through it, however it would
be as simple as adding the third iface name to th the ext_ifs macro to
enable it.

If there are any questions on any part of the setup, feel free to ask.

### MACROS AND TABLES ###
# interfaces
ext_ifc1=rl0
ext_ifc2=xl0
ext_ifs={ $ext_ifc1 $ext_ifc2 }
int_if=rl2

# single ips
ext_c1ip=( $ext_ifc1 )
ext_c2ip=( $ext_ifc2 )
ext_ips={ $ext_ifc1 $ext_ifc2 }
ext_firstips=( $ext_ifc1:0 $ext_ifc2:0 )
int_ip=( $int_if )

# networks
int_net=( $int_if:network )

### OPTIONS ###
# rule: about 1000 states per 1MB of ram, and we have 1GB of ram
set limit states 50
# normal timeouts for everything, aggressive would mitigate ddos
attacks, however could timeout valid connections too soon
set optimization normal
# silently drop all packets matching a block rule
set block-policy drop
# we don't want to do any filtering on lo0, nothing gets here except
what we explicitly put there
#set skip will be commented until implemented
#set skip on lo0

### TRAFFIC NORMALIZATION ###
# might break games, commented out now
#scrub in all no-df random-id fragment reassemble

### QUEUEING ###

### TRANSLATION ###
# nat all outbound with all our ips
nat on $ext_ifs inet from $int_net to any - $ext_ips round-robin sticky-address
# make any ftp stuff use our ftp proxy
rdr on $int_if inet proto tcp from $int_net to any port ftp -
127.0.0.1 port 8021

### PACKET FILTERING ###
# default policy
block in log all
pass out all modulate state

# allow internal traffic to flow freely
pass in quick on $int_if inet from $int_net to any modulate state

# allow ssh inbound
pass in quick on $ext_ifs inet proto tcp from any to $ext_ips port ssh
flags S/FSRPA modulate state



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


re: two ISP connections, three nics, and a NAT

2005-05-12 Thread Darrel

PF is wonderful for this. I manage a router with 3 DSL Circuits and
have PF setup to round-robin between them. The configuration is fairly
simple, and I can provide my pf.conf if you'd like for some
clarification on how to go about doing it.

Actually, I for one would be quite interested in seeing this.

 -- Clifton
I am keen to see it.
Darrel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Something wrong with X

2005-05-12 Thread Reginaldo Tavares
Hi,


I just installed FSB5.4-RELEASE in my laptop, a compaq nx9005. It has
an ATI video adpter. But something is wrong. The Xserver puts the following 
message:

error: [drm:pid551:radeon_cp_init] * ERROR*radeon_cp_init called without lock 

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


NFS freeze

2005-05-12 Thread Pietro Cerutti
Hi list,
I have a problem with a NFS exports: the client freezes while transfering 
large amount of data.

Both client and server are FreeBSD-5.4-RELEASE machines, builded on 
Tuesday, May 10.

Here's some info:
--- SERVER ---
# /etc/exports
/share -maproot=0 -network 192.168.1.0 -mask 255.255.255.248
# relevant lines on /etc/rc.conf
rpcbind_enable=YES
nfs_server_enable=YES
nfs_client_enable=YES
mountd_flags=-r
# ifconfig rl0
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.1.6 netmask 0xfff8 broadcast 192.168.1.7
inet6 fe80::20e:e8ff:fe8b:2af8%rl0 prefixlen 64 scopeid 0x2
ether 00:0e:e8:8b:2a:f8
media: Ethernet autoselect (100baseTX full-duplex)
status: active
-- CLIENT --
# ifconfig re0
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=18VLAN_MTU,VLAN_HWTAGGING
inet 192.168.1.3 netmask 0xfff8 broadcast 192.168.1.7
inet6 fe80::202:3fff:fe67:fc69%re0 prefixlen 64 scopeid 0x2
ether 00:02:3f:67:fc:69
media: Ethernet autoselect (none)
# mount srv-file:share /share/
# tar -cvzf /share/home.tar.gz /home
I see the files being added to the archive, after about 8MB (I tried making 
the archive locally to see the size) the client freezes.
I can in no ways kill the tar archiver (killall, kill -9, Ctrl+C don't work)
I can't umount the share.
I have to brutally shut down the computer.

On my share, I see a file name home.tar.gz of size 0 Byte
I can't understand what's happening when the client freezes, any help or 
opinion is appreciated!

Thank you very much, best regards!

--
Pietro Cerutti - [EMAIL PROTECTED]
 Windows: Where do you want to go today?
 Linux: Where do you want to go tomorrow?
 BSD: Are you guys coming or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: NTP issues with 5.4

2005-05-12 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Michal Mertl
 Sent: Thursday, May 12, 2005 6:37 AM
 To: Ted Mittelstaedt
 Cc: freebsd-questions@freebsd.org
 Subject: RE: NTP issues with 5.4


 Ted Mittelstaedt pe v st 11. 05. 2005 v 21:05 -0700:
 
. By
 'nuke-and-repave'
   you mean fresh install? I can't do that on the machines in
   question, one
   of them is acting as a router.
  
 
  Then go to Goodwill and buy a $10 PC and load 5.4 on it.  Your making
  excuses.  If you have that many production systems that you
 just can't
  turn off, then you damn well better have a test system.

 Please calm down and don't order me what to do.


I'll order you what to do if your coming here to ask for assistance.  If
you don't want to do it then that's your loss if you can't figure it out
some other way.  I don't owe you a polite reply, if you want politeness
then call someone you paid.  All I owe you is a reply that will help
advance your understanding of the problem, it is up to you whether
you want to follow it or not.  If you are too hung up over the politeness
to overlook the meat, then your only harming yourself.

 I have been doing upgrades from source for ages and never had
 a problem.
 It is a documented process and I only upgraded some of the computers
 from 5.3 to 5.4, e.g. not across major versions.


Fine, others have had success doing it this way, and others haven't had
success.  If you cannot accept that doing it this way might introduce
a problem then your foolish.  Doing it my way  - a nuke and repave -
can also introduce problems but I'm not stupid enough to assume a
nuke and repave will be perfect every time.

 I believe the chance it's caused by borked installation is minimal -
 what do you think influences ntpd? It's linked to 4 libraries, all of
 them are updated, it doesn't use any system config files and there was
 only a slight change in imported ntp version. It can be caused by bad
 config of ntpd which only recently began to matter or more
 probably by a
 kernel change.


Ok, then you have just proven that there cannot be a problem.  Yet,
you said earlier there IS a problem.  So, either there is no problem, or
your
reasoning above is flawed because something changed.  Take your pick.

What I don't get is when people have problems they spend elaborate
amounts of time reasoning why there couldn't possibly be a problem
because everything they have done is right.  Why don't you try using your
logical mind to come up with some hypothesis of what might be
fucked up, then check that out, rather than hypothesis of what couldn't
possibly be fucked up, that you don't have to check?

 I will try to boot with 5.3 kernel.

Good idea, that will indicate if it's a kernel problem.

 I'll also try to see if I can
 reproduce it on some computer which I can try fresh install on.


And that will prove one way or another whether the problem was introduced
by upgrading.

Both these will give you some more data to work with rather than
speculation.
And that is the main thrust of my response - when there's a problem, get
your
hands dirty trying things, don't sit there making up reasons why you
shouldn't
have to get your hands dirty.  If my rudeness makes you remember this in
the future you will be a better troubleshooter for it, and I have helped
you, even
though you won't be grateful for it. (which I don't expect, anyway)

Ted

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


Re: monitoring and alerting software ????

2005-05-12 Thread Warren Block
On Thu, 12 May 2005, Duane Winner wrote:
Does anybody have recommendations for a good solution to alert me while I am 
not at work if something goes wrong with my infrastucture/network/servers?
In other words, if I am at home, I need to be alerted if one of my FreeBSD 
servers go down, but also if the router, firewall or switches go haywire.
Here's something I wrote recently on setting up Nagios on FreeBSD:
http://www.wonkity.com/~wblock/nagios.pdf
-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/src make problem

2005-05-12 Thread Mark Probert

Hi ..

I have just updated my source tree, gone into /usr/src, and have the following 
error:

kant# make -j4 buildworld
Makefile:92: *** missing separator.  Stop.

kant# make -v
GNU Make 3.80

kant# uname -a
FreeBSD kant 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Mon Jan 24 15:27:25 PST 2005   
  
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/UCOM  i386

Line 92, is
  
.if !empty(_MAKEOBJDIRPREFIX)   


So this is not a tab/space issue.  
Any ideas, anyone? 

TIA,
-- 
-mark.  (probertm at acm dot org)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.9-RELEASE Xorg switch question

2005-05-12 Thread ravi
On 05/06/05 17:49, Alex Zbyslaw wrote:
 ravi wrote:
 
pkg_delete -f /var/db/pkg/imake-4* /var/db/pkg/XFree86-*
cd /usr/ports/x11/xorg  make install
pkgdb -F

Users of -stable or older -current can switch to X.Org by setting
X_WINDOW_SYSTEM=xorg in make.conf and following the same process.

 i did the pkg_delete -f, xorg make install and ran pkgdb -F. i also set
 X_WINDOW_SYSTEM=xorg in /etc/make.conf.

 i still get errors from portupgrade, etc., regarding stale dependencies
 on imake-4 and various XFree86 ports.
  
 Stupid question, but you did run these as root?  I followed this same
 procedure and remember no hitches.  Even upgraded gnome as well, and
 everything came back working.  Clutching at straws, have you cvsup-ed
 your ports?  Does pkgdb -F run cleanly?  Does pkg_info show anything
 unexpected as being installed (such as imake or XFree)?
 

yes: ran as root, cvsup'ed ports. pkgdb -F reports a whole host of stale
dependencies on XFree86* and imake-4. pkg_info shows nothing but
imake-6.8.2 (and the only xfree86 related package shown is warpper-1.0_3).

thanks for the response!

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


Netgroups and LDAP?

2005-05-12 Thread Ben Hockenhull
I'm setting up a couple of servers that will check authentication against
an LDAP server, and so far, things are going well.  I have pam and nss_ldap
and all of that functioning, but I'm trying to figure out netgroups.

I only want certain (large, broad) groups of people to be able to login to
a given server, and I believe I'm looking to implement netgroups to do
that, but I haven't been able to find any documentation on how to do that
with FreeBSD.

Any pointers (to config examples, ldif-format schemas that incorporate
netgroups, etc) or other ideas would be greatly appreciated.  If there's
another way to limit logins via LDAP, I'd be interested in hearing about
that, too.

Thanks

Ben


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


Re: 4.9-RELEASE Xorg switch question

2005-05-12 Thread ravi
On 05/07/05 11:12, Lowell Gilbert wrote:
 ravi [EMAIL PROTECTED] writes:
 
 thanks for the response. greatly appreciated -- i was afraid my post
 would be buried by the archive copyright debate ;-).
 
 I'm not even reading it.  I'm sure I'm not the only one.  Good
 software for reading mail groups is important if you're going to try
 to follow lists like this...
 

oh definitely. i wasn't reading it either, but was afraid what other
readers where seeing...


 Hmm.  Are you sure that you deleted the imake ports before building
 X.Org?  You shouldn't have stale imake dependencies from X.Org  if you
 rebuilt both.  And the stale dependencies from other X ports should
 get fixed up by pkgdb -F (which *will* require you to redirect the
 dependencies, of course).


w.r.t your last point, are you saying then that i have to:

pkgdb ... -s /imake-4.../imake-6.../
pkgdb ... -s /XFree86-libraries-.../xorg-libraries-.../
etc

or run 'pkgdb -F' and delete all the stale dependencies? (which i am
guessing is a bad thing to do).

thank you,

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


Big delay between login as: and Password:

2005-05-12 Thread Fafa Hafiz Krantz

Hey!

I'm experiencing a rather unusual delay in between login as:
and Password: when I SSH in via PuTTY -- it lasts for about 1
minute, maybe a bit more. How can this be?

After I've logged in, there's an additional (5-10 seconds) delay
in the loading of zsh. This happened after I switched from tcsh to
zsh. I do not know whether the two delays are connected though.

I know my server is slow (P120), but not that slow!

http://www.home.no/hedhnta/zshrc
http://www.home.no/hedhnta/zsh-x

Can anyone help me?
Thanks!

--

Fafa Hafiz Krantz
  Research Designer @ http://www.home.no/barbershop
  Enlightened @ http://www.home.no/barbershop/smart/sharon.pdf



-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Ports Collection - INDEX Error (FreeBSD 5.4)

2005-05-12 Thread Benjamin Keating
I did a very generic install of FreeBSD 5.4 on stable hardware.
Updated ports and then did this:

toki# cd /usr/ports/
toki# make index
Generating INDEX-5 - please wait../usr/ports/Mk/bsd.port.mk, line
4847: warning: duplicate script for target add-p
list-post ignored
fityk-0.4.4_1: /usr/ports/x11-toolkits/wxgtk2 non-existent --
dependency list incomplete
=== math/fityk failed
*** Error code 1

1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the ports-all
collection, and have no refuse files.)  If that is the case, then
report the failure to [EMAIL PROTECTED] together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with make fetchindex.


*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.

This has happend to me before. How can I prevent this from happening?
I'd like to automate cvsup / index building.

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


Re: Big delay between login as: and Password:

2005-05-12 Thread Chris
Fafa Hafiz Krantz wrote:
Hey!
I'm experiencing a rather unusual delay in between login as:
and Password: when I SSH in via PuTTY -- it lasts for about 1
minute, maybe a bit more. How can this be?
After I've logged in, there's an additional (5-10 seconds) delay
in the loading of zsh. This happened after I switched from tcsh to
zsh. I do not know whether the two delays are connected though.
I know my server is slow (P120), but not that slow!
http://www.home.no/hedhnta/zshrc
http://www.home.no/hedhnta/zsh-x
Can anyone help me?
Thanks!
Define this a bit more. IE: from a remote PC, a remote site, etc. If its 
the latter, then the lagg would be the latency between point A and point 
B. Meaning, if the remote box is miles away, the route to it may be 
diverted in some magical way as only the internet can do.

If however, the remote box is right next to you - well, who knows.
I would also guess it would make a diff what you are running on the box 
you are ssh'in into, IE: Are you running X on it, is it hosting web 
pages, it is FTP, mail etc.

There are lots of factors but you need to be specific as to the 
environment. Know what I mean?


--
Best regards,
Chris
You can pray hard enough to make water run uphill
how hard?
Hard enough to make water run uphill.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Big delay between login as: and Password:

2005-05-12 Thread Richard J. Valenta
I have problems similar to this when the machine I was connecting to did
not have proper DNS setup, and (I believe) was unable to get a fix on
who I was...

Just a thought.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sent: Thursday, May 12, 2005 4:36 PM
To: Fafa Hafiz Krantz
Cc: [EMAIL PROTECTED]
Subject: Re: Big delay between login as: and Password:

Fafa Hafiz Krantz wrote:
 Hey!
 
 I'm experiencing a rather unusual delay in between login as:
 and Password: when I SSH in via PuTTY -- it lasts for about 1
 minute, maybe a bit more. How can this be?
 
 After I've logged in, there's an additional (5-10 seconds) delay
 in the loading of zsh. This happened after I switched from tcsh to
 zsh. I do not know whether the two delays are connected though.
 
 I know my server is slow (P120), but not that slow!
 
 http://www.home.no/hedhnta/zshrc
 http://www.home.no/hedhnta/zsh-x
 
 Can anyone help me?
 Thanks!
 

Define this a bit more. IE: from a remote PC, a remote site, etc. If its

the latter, then the lagg would be the latency between point A and point

B. Meaning, if the remote box is miles away, the route to it may be 
diverted in some magical way as only the internet can do.

If however, the remote box is right next to you - well, who knows.
I would also guess it would make a diff what you are running on the box 
you are ssh'in into, IE: Are you running X on it, is it hosting web 
pages, it is FTP, mail etc.

There are lots of factors but you need to be specific as to the 
environment. Know what I mean?



-- 
Best regards,
Chris

You can pray hard enough to make water run uphill
how hard?
Hard enough to make water run uphill.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


FreeBSD 5.4 host vmware 5.0 workstation

2005-05-12 Thread Jason Briggaman
I'm curious if anyone has had any luck installing vmware 5.0
workstation on FreeBSD? Thanks in advance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't build firefox 1.0.4 on 4.10

2005-05-12 Thread Timothy Smith
Alex Zbyslaw wrote:
Alex Zbyslaw wrote:
Timothy Smith wrote:
set the LIBIDL_CONFIG environment variable to the
*** full path to libIDL-config.

Or try:
 setenv LIBIDL_CONFIG `which libIDL-config-2`
or it {ba,z}sh equivalent.
--Alex

ok i just did the following ( i must have mis typed the first tiem or 
something ) and the ./configure finished, but it get Makefile, line 
406: Missing dependency operator
Error expanding embedded variable. when i do make
this is all screwed up :/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports Collection - INDEX Error (FreeBSD 5.4)

2005-05-12 Thread Lowell Gilbert
Benjamin Keating [EMAIL PROTECTED] writes:

 I did a very generic install of FreeBSD 5.4 on stable hardware.
 Updated ports and then did this:
 
 toki# cd /usr/ports/
 toki# make index
 Generating INDEX-5 - please wait../usr/ports/Mk/bsd.port.mk, line
 4847: warning: duplicate script for target add-p
 list-post ignored
 fityk-0.4.4_1: /usr/ports/x11-toolkits/wxgtk2 non-existent --
 dependency list incomplete
 === math/fityk failed
 *** Error code 1
 
 1 error
 
 
 Before reporting this error, verify that you are running a supported
 version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
 have a complete and up-to-date ports collection.  (INDEX builds are
 not supported with partial or out-of-date ports collections -- in
 particular, if you are using cvsup, you must cvsup the ports-all
 collection, and have no refuse files.)  If that is the case, then
 report the failure to [EMAIL PROTECTED] together with relevant
 details of your ports configuration (including FreeBSD version,
 your architecture, your environment, and your /etc/make.conf
 settings, especially compiler flags and WITH/WITHOUT settings).
 
 Note: the latest pre-generated version of INDEX may be fetched
 automatically with make fetchindex.
 
 
 *** Error code 1
 
 Stop in /usr/ports.
 *** Error code 1
 
 Stop in /usr/ports.
 
 This has happend to me before. How can I prevent this from happening?
 I'd like to automate cvsup / index building.

This was a temporary problem; if you update your ports again the index
will build properly.  If you want to be sure it will never happen to
you again, then using make fetchindex, as the error message
suggested, is your best bet.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network interface counters

2005-05-12 Thread Xian
On Thursday 12 May 2005 17:57, Charles Swiger wrote:
 On May 12, 2005, at 12:45 PM, Chad Morland wrote:
  I was wondering if there is a FreeBSD equivalent to /proc/net/dev from
  Linux. I am trying to get bit and packet counter info from my network
  devices.

 I would use the counters built into IPFW for this purpose, as you can
 configure rules or pipes to match any subset of traffic you care
 about...

netstat -s might be usefull.

-- 
/Xian

TEAMWORK... means never having to take all the blame yourself
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


A new port?

2005-05-12 Thread Xian
I recently found this on the net while working on a project: 
http://www.ctie.monash.edu.au/SocketCC/

I have found the little of it I have managed to use very usefull. Just 
wondering if other people think it is worth making a port out of, and if so 
what it would involve?
-- 
/Xian

The only real valuable thing is intuition.
Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


baffled by pam_ldap

2005-05-12 Thread Benjamin J Doherty
Friends,
I've been struggling with pam_ldap for three days now and cannot see  
what I am doing wrong.  I'm trying to use OpenLDAP for  
authentication, though I threw nss_ldap in for good measure.  What's  
so baffling to me is that I can add a new user to the directory and  
verify its existence using id but SSH refuses to bind.

Here's an excerpt from my /var/log/auth.log:
May 12 16:46:28 static-host sshd[53253]: Illegal user testuser from  
192.168.1.150
May 12 16:46:28 static-host sshd[53253]: Failed none for illegal user  
testuser from 192.168.1.150 port 53074 ssh2
May 12 16:46:28 static-host sshd[53255]: pam_ldap: error trying to  
bind (Invalid credentials)

The debug log from pam_ldap says this:
ldap_create
ldap_url_parse_ext(ldapi://%2fvar%2frun%2fopenldap%2fldapi/)
ldap_simple_bind
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_path
ldap_new_socket: 9
ldap_connect_to_path: Trying /var/run/openldap/ldapi
ldap_connect_timeout: fd: 9 tm: 30 async: 0
ldap_ndelay_on: 9
ldap_ndelay_off: 9
ldap_open_defconn: successful
ldap_send_server_request
ber_flush: 59 bytes to sd 9
ldap_result msgid 1
ldap_chkResponseList for msgid=1, all=0
ldap_chkResponseList returns NULL
wait4msg (timeout 30 sec, 0 usec), msgid 1
wait4msg continue, msgid 1, all 0
ldap_chkResponseList for msgid=1, all=0
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 1, all 0
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ldap_read: message type bind msgid 1, original id 1
ber_scanf fmt ({iaa) ber:
ldap_msgfree
ldap_err2string
and the second log created at the same time says:
(identical to the previous log up to ldap_msgfree)
ber_scanf fmt ({iaa}) ber:
ldap_chase_referrals
read1msg:  V2 referral chased, mark request completed, id = 1
new result:  res_errno: 49, res_error: , res_matched: 
read1msg:  0 new referrals
read1msg:  mark request completed, id = 1
request 1 done
res_errno: 49, res_error: , res_matched: 
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
ldap_err2string
I'm guessing that this means that I can bind with my binddn but not  
with the uid=testuser.

Meanwhile, nss_ldap seems to be working correctly, because an id on  
the same user returns:

uid=1003(testuser) gid=0(wheel) groups=0(wheel)
The nss_ldap.conf is symlinked to ldap.conf, which looks like this:
host 127.0.0.1
base dc=swyc,dc=org
uri ldapi://%2fvar%2frun%2fopenldap%2fldapi/
ldap_version 3
binddn cn=proxyuser,dc=swyc,dc=org
bindpw secret
rootbinddn cn=Manager,dc=swyc,dc=org
scope sub
timelimit 30
bind_timelimit 30
bind_policy hard
idle_timelimit 3600
pam_filter objectclass=posixAccount
pam_login_attribute uid
pam_member_attribute memberUid
pam_password SSHA
nss_base_passwd ou=People,dc=swyc,dc=org?one
nss_base_group  ou=Group,dc=swyc,dc=org?one
I can run ldapsearch and get the right data back:
ldapsearch -H ldapi://%2fvar%2frun%2fopenldap%2fldapi/ -x -W -D  
cn=proxyuser,dc=swyc,dc=org ((objectClass=posixAccount) 
(uid=testuser))

dn: uid=testuser,ou=People,dc=swyc,dc=org
uid: testuser
cn: test user
homeDirectory: /home/testuser
uidNumber: 1003
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
gidNumber: 0
gecos: test user
shadowLastChange: 12915
sn: testuser
userPassword:: e1NTSEF9clM2c0xnR3dtSW5ybzNNUFUra0N2WFoydFZJUVZ0ZFE=
loginShell: /bin/sh
I'm a complete openldap neophyte, biting off more than I can chew for  
sure.  However, I just know that if I don't get a directory operating  
now, I'll wish I had done it later, especially since my next project  
is to get open-xchange running.  I apologize for pasting a bunch of  
logs into this message, but I've been staring at them all day.  If  
you can tell me what should have caught my attention, that would be  
very helpful!

Cheers,
benjamin doherty
chicago illinois

Setting up ntpd on FreeBSD (5.4)

2005-05-12 Thread Benjamin Keating
I'm running a generic install of FreeBSD 5.4 and would like to setup
ntpd. ntpdate doesn't do me much good as I rarely reboot, but I took
the handbooks suggestion of using it anyway (and I've verified it
works)). Anyway, I'm having trouble setting up ntpd and it'd be great
if I could get your input on my steps.

I'd like for other machines on my network to talk to this one (ntpd
server) to get the time rather then define each machine with it's own
public ntpd servers.

1). Add ntpd_enable=YES to /etc/rc.conf
2). Create /etc/ntp.conf and (touch) /etc/ntp/ntp.drift

Permissions:
   /etc/ntp.conf-rw-r--r-- root:wheel
   /etc/ntp/ntp.drift   -rw-r--r-- root:wheel

%- BEGIN /etc/ntp.conf -
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

server clepsydra.dec.com
server clock.fmt.he.net
server clock.isc.org

driftfile /etc/ntp/ntp.drift
%- END /etc/ntp.conf -

I rebooted and watched my /var/log/messages and saw:

May 12 15:17:08 toki ntpd[349]: Frequency format error in /etc/ntp/ntp.drift

I did a sockstat -l and you can see ntpd is running (BTW, is there
anyway to have it not listen to for IPv6? I only use 4 and I hate
seeing that clutter).

What am I doing wrong? /etc/ntp/ntp.drift is writeable by root, which
ntpd is running as... Im confused. Anyhelp would be greatly
appreciated. Thanks

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


SCSI messages with smartd

2005-05-12 Thread Andrea Venturoli
Hello.
I recently enabled smartd on a 5.4 SCSI-only box, and since then I'm 
getting the following messages. Everything seems to work right, but I'd 
like to understand if these are warnings, whether they should be taken 
seriously, etc...
They seem to come in half-hour steps (i.e., in this case xx:20 or 
xx:50), but not every half-hour.

 bye  Thanks
av.
--
May 12 22:20:23 soth kernel: ahd1: Recovery Initiated - Card was not paused
May 12 22:20:23 soth kernel:  Dump Card State Begins 
May 12 22:20:23 soth kernel: ahd1: Dumping Card State at program address 0x1d Mode 0x33
May 12 22:20:23 soth kernel: Completions are pending
May 12 22:20:23 soth kernel: INTSTAT[0x2]:(CMDCMPLT) SELOID[0x1] SELID[0x10] HS_MAILBOX[0x0] 
May 12 22:20:23 soth kernel: INTCTL[0xc0]:(SWTMINTEN|SWTMINTMASK) SEQINTSTAT[0x10]:(SEQ_SWTMRTO) 
May 12 22:20:23 soth kernel: SAVED_MODE[0x11] DFFSTAT[0x31]:(CURRFIFO_1|FIFO0FREE|FIFO1FREE) 
May 12 22:20:23 soth kernel: SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0] 
May 12 22:20:23 soth kernel: LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0] 
May 12 22:20:23 soth kernel: SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x10]:(FASTMODE) 
May 12 22:20:23 soth kernel: SEQINTCTL[0x0] SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x5] 
May 12 22:20:23 soth kernel: KERNEL_QFREEZE_COUNT[0x5] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] 
May 12 22:20:23 soth kernel: SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] 
May 12 22:20:23 soth kernel: PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) 
May 12 22:20:23 soth kernel: LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] 
May 12 22:20:23 soth kernel: LQOSTAT1[0x0] LQOSTAT2[0x1]:(LQOSTOP0) 
May 12 22:20:23 soth kernel: 
May 12 22:20:23 soth kernel: SCB Count = 320 CMDS_PENDING = 0 LASTSCB 0x50 CURRSCB 0x50 NEXTSCB 0xff00
May 12 22:20:23 soth kernel: qinstart = 39673 qinfifonext = 39673
May 12 22:20:23 soth kernel: QINFIFO:
May 12 22:20:23 soth kernel: WAITING_TID_QUEUES:
May 12 22:20:23 soth kernel: Pending list:
May 12 22:20:23 soth kernel: 80 FIFO_USE[0x0] SCB_CONTROL[0x68]:(STATUS_RCVD|TAG_ENB|DISCENB) 
May 12 22:20:23 soth kernel: SCB_SCSIID[0x17] 
May 12 22:20:23 soth kernel: Total 1
May 12 22:20:23 soth kernel: Kernel Free SCB list: 133 52 32 86 102 93 47 158 12 45 88 62 140 35 128 48 91 150 64 154 34 36 101 13 155 159 123 132 113 14 57 116 95 29 27 22 81 134 17 129 23 4 114 153 137 73 46 136 11 110 90 98 141 51 25 124 58 142 131 85 33 96 127 49 89 38 65 130 26 2 5 18 20 1 103 143 15 42 152 87 63 24 3 121 84 135 92 122 104 112 56 156 21 0 97 107 39 115 120 59 40 82 139 119 111 10 75 126 99 118 125 157 138 83 44 78 72 30 54 117 108 43 53 31 28 105 106 9 109 7 94 71 79 74 76 70 19 100 6 148 204 206 176 178 180 182 184 186 188 190 160 162 164 166 168 170 172 174 144 146 312 314 316 318 288 290 292 294 296 298 300 302 272 274 276 278 280 282 284 286 256 258 260 262 264 266 268 270 240 242 244 246 248 250 252 254 224 226 228 230 232 234 236 238 208 210 212 214 216 218 220 222 192 194 196 198 200 202 68 8 77 37 66 67 55 16 60 50 69 61 151 207 177 179 181 183 185 187 189 191 161 163 165 167 169 171 173 175 145 147 149 313 315 317 319 289 291 293 295 297 299 3
01 303 273 275 277 279 281 283 285 287 257 259 261 263 26
May 12 22:20:23 soth kernel: 69 271 241 243 245 247 249 251 253 255 225 227 229 231 233 235 237 239 209 211 213 215 217 219 221 223 193 195 197 199 201 203 205 41 311 310 309 308 307 306 305 304 
May 12 22:20:23 soth kernel: Sequencer Complete DMA-inprog list: 
May 12 22:20:23 soth kernel: Sequencer Complete list: 
May 12 22:20:23 soth kernel: Sequencer DMA-Up and Complete list: 
May 12 22:20:23 soth kernel: Sequencer On QFreeze and Complete list: 
May 12 22:20:23 soth kernel: 
May 12 22:20:23 soth kernel: 
May 12 22:20:23 soth kernel: ahd1: FIFO0 Free, LONGJMP == 0x829e, SCB 0x50
May 12 22:20:23 soth kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) 
May 12 22:20:23 soth kernel: SEQINTSRC[0x0] DFCNTRL[0x4]:(DIRECTION) DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
May 12 22:20:23 soth kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] 
May 12 22:20:23 soth kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 
May 12 22:20:23 soth kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) 
May 12 22:20:23 soth kernel: 
May 12 22:20:23 soth kernel: ahd1: FIFO1 Free, LONGJMP == 0x829e, SCB 0x50
May 12 22:20:23 soth kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) 
May 12 22:20:23 soth kernel: SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
May 12 22:20:23 soth kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] 
May 12 22:20:23 soth kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 
May 12 22:20:23 soth kernel: HADDR = 0x00, 

  1   2   >