logging

2005-04-25 Thread koen de wijs

Hello,
I have a server with FreeBSD running on it. I also run mldonkey on that 
server. Sometimes it doesn't start up because there is something wrong 
(mosrt of the time someone plugged the power cable out of the pc while 
it was running)
For some securtiy reason mldonkey doesn't start up and I have to delete 
some files. I have no keyboard or monitor on my server. Each time this 
happens I have to get a monitor and a keyboard and that costs a lot of 
time. I start mlmdonkey with a script in /usr/local/etc/rc.d

Can I see in a log file what was the output of the scripts in rc.d?
If there is I can remotely acces my server with ssh and let everything 
work.

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


Re: scaning the local network with arping/sh script

2005-04-25 Thread Murat Balaban

Hi,

Did you check http://www.enderunix.org/knowlan/ ?

What is Knowlan?

Knowlan is ARP protocol based Local Area Network IP and MAC Adress Extractor. 
Knowlan uses libpcap and libnet libraries for to be simple to handle and to 
have a simple code for any interestor to deal with the code. To describe 
knowlan overally, Knowlan, sends ARP REQUEST packets to the LAN, and at the 
same time, It recieves ARP REPLY packets from the up machines. So, It prints 
out IP and MAC addresses of online machines


On Mon, Apr 25, 2005 at 07:41:30AM +0300, Abu Khaled wrote:
 On 4/24/05, Alex Soares de Moura [EMAIL PROTECTED] wrote:
  Abu Khaled wrote:
  
  Greetings...
  
  I don't know much about scripting but i tried to write one to scan my
  local network using the net/arping port.
  here is the script:
  sciprt start
  #!/bin/sh
  IP=1
  while [ $IP -le 20 ]
  do
  echo -e .\c
 if ( arping -c 1 -q -i rl1 10.0.0.$IP ) then
echo -e \n10.0.0.$IP Online
 fi
  IP=$(( $IP +1 ))
  done
  echo -e \n
  script end
  
  The script runs and reports OK but it is very slow and takes a lot of
  time to scan a large network. Does anyone have an idea on how to
  improve it or provide an alternate way to do it?
  
  PS: I used the arpscan port in the past but it is reported as broken:
  Unfetchable.
I'm running FreeBSD 5.4 Stable.
  
  
  Have you tried the ettercap tool? It's in the ports:
  /usr/ports/net-mgmt/ettercap
  
  Best regards,
  
  Alex
  
  
 
 Thanks Alex. Ettercap is a nice tool but I don't run X on my Gateway/Servers.
 I was looking for a port/package that runs from console. Seems that I
 forgot to mention that in my post.
 
 Thank again and sorry for the incomplete information.
 
 -- 
 Kind regards
 Abu Khaled
 ___
 freebsd-net@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
 Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
 http://www.acikkod.com/freebsd.php

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


Please respond in 24 hrs (ref # 624 633 394)

2005-04-25 Thread Tanisha Wynn
Hi,

Did you recieve my email from last week?  I'm happy to tell you
that you can get a home loan at a rock-bottom rate right now.

Your tracking number is # L9 333 316

You need to confirm your details within the next 24 hours.
Just visit the link below and fill in the short form (it only takes a minute).
http://www.just1ce.com/mt.asp

Best Regards,

Tanisha Wynn
Account Officer


To never hear from us again
just1ce.com/gone.asp




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


acpi, wi0 and apm.

2005-04-25 Thread Peter Ankerstål
I have a problem with my WaveLAN.
It works fine when I boot my FreeBSD 5.4-RC3 with acpi disabled.
But when i enable acpi it says:

wi0: Lucent Technologies WaveLAN/IEEE at port 0x100-0x13f irq 11 function 0 co
nfig 1 on pccard0
wi0: timeout in wi_cmd 0x; event status 0x8000
wi0: timeout in wi_cmd 0x; event status 0x8000
wi0: timeout in wi_cmd 0x; event status 0x8000
: init failed
device_attach: wi0 attach returned 6

Then I tried to use apm instead. (worked fine in FreeBSD 4.)
But i've compiled device apm into the kernel but I don't have
any /dev/apm.

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


Re: building good custom kernel

2005-04-25 Thread Ed Stover
On Thu, 2005-04-21 at 14:48 +0500, [EMAIL PROTECTED] wrote:
   
 
 hi ,
 i tried building the freebsd 5.3 kernel and it works
 fine, but can u people give me some tips regarding 
 optimizing kernel during build, even saving a single
 cpu cycle would mean a lot. i would like to have a 
 kernel that is really optimized. And what do you
 people do to fine tune the kernel? 
 
 thanks,
 ananth.g
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
Depends on what you are fine tuning a kernel for. 
Like for a firewall nat box i do things like turn up the HZ 
and for mail servers I increase the max users? What is your
machine's intended application? A good reference is man tuning

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


Re: Please respond in 24 hrs (ref # 624 633 394)

2005-04-25 Thread Benjamin Rossen
On Tuesday 26 April 2005 12:45, Tanisha Wynn wrote:
 Hi,
  
 Did you recieve my email from last week?  I'm happy to tell you
 that you can get a home loan at a rock-bottom rate right now.
  
 Your tracking number is # L9 333 316
  
 You need to confirm your details within the next 24 hours.
 Just visit the link below and fill in the short form (it only takes 
 a minute). http://www.just1ce.com/mt.asp
  
 Best Regards,
 
 Tanisha Wynn
 Account Officer
 
 
 To never hear from us again
 just1ce.com/gone.asp

Hey! Is that possible? Spamming on the list! What can be done? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scaning the local network with arping/sh script

2005-04-25 Thread Begumisa Gerald M
 Thanks Alex. Ettercap is a nice tool but I don't run X on my
 Gateway/Servers. I was looking for a port/package that runs from
 console. Seems that I forgot to mention that in my post.

I may be mistaken / have outdated source but I seem to remember Ettercap
to be able to also use the ncurses libraries which basically works on
console - i.e you don't have to be running X, nor does the program need to
enter Graphics Mode.


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


Re: Please respond in 24 hrs (ref # 624 633 394)

2005-04-25 Thread Dave Horsfall
On Mon, 25 Apr 2005, Benjamin Rossen wrote:

  To never hear from us again
  just1ce.com/gone.asp
 
 Hey! Is that possible? Spamming on the list! What can be done? 

It's an open list i.e. you don't have to be a subscriber, and is therefore
a spammer's wet dream.  There seem to be some anti-spam measures in place,
but plainly not enough.

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


Re: Allowing a group to use fstab mount-points

2005-04-25 Thread RW
On Monday 25 April 2005 05:06, Joel wrote:
 then they will type

     sudo -u mounter mount /mnt/cdrom

The issue is that gui applications that support mounting expect that the user 
can mount the device, and that there is a usable fstab entry. FreeBSD  can be 
set-up to allow the former, but the latter requires per user fstab entries.  

I was just wondering if there is any way to curcumvent the restriction that a 
mount point must be owned by the mounter.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scaning the local network with arping/sh script

2005-04-25 Thread c0ldbyte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 25 Apr 2005, Murat Balaban wrote:
Hi,
Did you check http://www.enderunix.org/knowlan/ ?
What is Knowlan?
Knowlan is ARP protocol based Local Area Network IP and MAC Adress Extractor. 
Knowlan uses libpcap and libnet libraries for to be simple to handle and to 
have a simple code for any interestor to deal with the code. To describe 
knowlan overally, Knowlan, sends ARP REQUEST packets to the LAN, and at the 
same time, It recieves ARP REPLY packets from the up machines. So, It prints 
out IP and MAC addresses of online machines
On Mon, Apr 25, 2005 at 07:41:30AM +0300, Abu Khaled wrote:
On 4/24/05, Alex Soares de Moura [EMAIL PROTECTED] wrote:
Abu Khaled wrote:
Greetings...
I don't know much about scripting but i tried to write one to scan my
local network using the net/arping port.
here is the script:
sciprt start
#!/bin/sh
IP=1
while [ $IP -le 20 ]
do
echo -e .\c
  if ( arping -c 1 -q -i rl1 10.0.0.$IP ) then
 echo -e \n10.0.0.$IP Online
  fi
IP=$(( $IP +1 ))
done
echo -e \n
script end
The script runs and reports OK but it is very slow and takes a lot of
time to scan a large network. Does anyone have an idea on how to
improve it or provide an alternate way to do it?
PS: I used the arpscan port in the past but it is reported as broken:
Unfetchable.
 I'm running FreeBSD 5.4 Stable.

Have you tried the ettercap tool? It's in the ports:
/usr/ports/net-mgmt/ettercap
Best regards,
Alex

Thanks Alex. Ettercap is a nice tool but I don't run X on my 
Gateway/Servers.
I was looking for a port/package that runs from console. Seems that I
forgot to mention that in my post.
Thank again and sorry for the incomplete information.
--
Kind regards
Abu Khaled
Ettercap-NG or even previous versions of Ettercap dont need a X11
environment to run in. Dont forget that on your said Gateway machines
you can specify in your (/etc/make.conf) the WITHOUT_X11=YES variable
and some but not including all will be built without X11 support
and one of the ports includes ettercap. Ettercap also has the following
variables that you can set upon build time.
WITHOUT_GTK=yes builds without GTK2+ GUI
WITHOUT_ICONV=yes   builds without support for UTF-8
WITHOUT_PCRE=yesbuilds without support for perl regexps in filters
WITHOUT_PLUGINS=yes builds without ettercap plugins
WITHOUT_SSL=yes builds without support for SSH1 and SSL decryption
I would suggest the following as a build if you wanted to use this.
( make WITHOUT_GTK=yes install clean )
or maybe even a make package.
Best of luck,
--c0ldbyte
- -- 
( When in doubt, use brute force. -- Ken Thompson 1998 )
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)
Comment: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xF7DF979F
Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB  7E77 B261 50BA F7DF 979F

iD8DBQFCbNrRsmFQuvffl58RAu0+AJ4iYvSCDn2nfsGsoQGnfrO7MWfKIgCaA2NL
zuP5W6Pm//flJSdvtr+jHYg=
=1Wyu
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please respond in 24 hrs (ref # 624 633 394)

2005-04-25 Thread Trevor Sullivan
Dave Horsfall wrote:

On Mon, 25 Apr 2005, Benjamin Rossen wrote:

  

To never hear from us again
just1ce.com/gone.asp
  

Hey! Is that possible? Spamming on the list! What can be done? 



It's an open list i.e. you don't have to be a subscriber, and is therefore
a spammer's wet dream.  There seem to be some anti-spam measures in place,
but plainly not enough.

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

  

FYI I have just received my FIRST g-mail spam this morning at both of my
gmail accounts which is extremely bizarre...at my workplace we have seen
an overall increase in spam also...I see that more people are getting
into that horrid business. :\

Also, my mail client (Thunderbird) is showing the original spam message
dated tomorrow morning...anyone else see that?

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


kylix run in freebsd???

2005-04-25 Thread ricardo_j_candiotto
Hi,

kylix run in freebsd???

I will like to study this language too..

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


RE: Where to find good/cheap tech support

2005-04-25 Thread ChrisC

   You seem to be making assumptions and are looking into this to deeply
   my friend. But thanks for the feedback anyway :)
   -
   The $150 was only an arbitrary number thats common in the field. I
   could have chosen another number. It would not have mattered, the
   question would have been the same.
   -
   The SCSI adapter is an Adaptec Ultra320 built into a $3000+ 1U web
   server and not a common inexpensive controller. Since it works fine
   for both RedHat and Windows we are probably going to go with another
   OS on this server other than FreeBSD. Why arm wrestle the situation
   when no one seems to know the solution to our issue.
   -
   And I am in a VERY small company that could barely pay for what we
   just purchased. We where lucky to get what we did and the idea of
   having a duplicate is wishful thinking and not realistic, so thats a
   risk we will have to take until we can afford better solutions. Its
   not the perfect situation but its the best we can do with what we
   have. I would love a new house but the cold numbers dictate what's
   really possible right now.
   -
   Now if your interested in the problem, here is the support
   issue/question no one seems to have any clue about.
   -
   I am attempting to install FreeBSD 5.3 onto a new server, but during
   the initial bootup it fails / times out from what I think is it trying
   to initialize the SCSI adapter. The server has an Adaptec AIC-7902
   dual-channel Ultra320 SCSI controller which the i386 ahd(4) driver has
   listed as a supported device.
   -
   I have been reading and searching this lists archives as well as the
   bsdforums.org site for possible solutions, but so far what I have
   found has not worked. I have tried disabling/enabling ACPI, removing
   all but one SCSI drive and re-checking the adapter settings comparing
   them to a different Adaptec controller on another server running
   FreeBSD 5.3 which works fine. The servers BIOS and firmware is all up
   to date and is mainly running on its default settings.
   -
   Here is a summary of what I am seeing during bootup:
   -
   Ata1-master : FAILURE ATAPI_IDENTIFY timed out
   Waiting 15 seconds for SCSI devices to settle
   ---Dump Card State Ends---
   (probe29:ahd1:0:15:0) SCB0xe timed out
   ahd0: Issued Channel A Bus Reset 4 SCBs aborted
   -
   Any ideas?
   Thanks for what help you can give.
   At 4/25/2005 12:07 AM, Ted Mittelstaedt wrote:

 [EMAIL PROTECTED] wrote:
  Where would you all recommend that one can go to find good
 FreeBSD
  tech support that does not cost $150+ an hour?
 
 Why are you so hung up on the billing rate?
 Problems with Windows take much longer to fix than problems with
 FreeBSD, so your going to end up paying the same total amount.
 And if you rate your technical help solely by the amount of money
 they charge you are destined to get cheap but poor help that will
 cost
 more in the long run.  And that is true whether your talking about
 fixing
 a computer or fixing a car.
 
  I am having a SCSI controller boot problem that no one seems to
 be
  able to help on
 It is economically foolish to pay for 3 hours at $20 for a SCSI
 controller
 that costs $60.  If your having a booting problem then buy
 replacement
 hardware.
  but I am also thinking of the future if there is an
  emergency and I can't afford to have a server down for days at a
 time.
 
 If your business is that critical you should have a fully
 configured and
 ready to go duplicate of your server, switched off and sitting next
 to
 the
 production one.  This is true no matter what the operating system
 in use.
 And I've seen plenty of Windows server that took days of time to
 fix.
 There is a saying champagne taste on beer budget perhaps you
 haven't
 heard of it?
 Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PF problem!!!

2005-04-25 Thread Fafa Diliha Romanova
Hello!

I am running FreeBSD 5.4-STABLE, with PF as firewall and NAT server.

My question is: Why do I have to type this after everytime I've rebooted
to make my NAT gateway server allow Internet access to my workstation?

# pfctl -F a ; pfctl -Nf /etc/pf.conf ; pfctl -sr

Here is my /etc/pf.conf:

int_if=ep0
ext_if=lnc0

# *** Options
#
set block-policy drop

# *** Scrub incoming packets
#
scrub   in all

# *** NAT
#
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

# *** Default deny policy
#
block   drop log all

# *** Pass loopback traffic
#
passquick on lo0 all

# *** Outgoing
#
#
passout on $ext_if inet proto tcp \
from any to any flags S/SA keep state
passout on $ext_if inet proto { udp, icmp } \
from ($ext_if) to any keep state

# *** Bootstrap
#
passout on $ext_if inet proto udp \
from any port 68 to any port 67 keep state

# *** DNS and NTP
#
passout on $ext_if inet proto udp \
from ($ext_if) to any port { 53, 123 } keep state

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

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

Thanks all!
-- Fafa

-- 
___
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]


It keeps CRrrASHING!!

2005-04-25 Thread Fafa Diliha Romanova
Hey!

I am running FreeBSD 5.4-STABLE on a Pentium 120.

Since three days ago, it has been crashing regularly, leaving me with
no choice but to shut it off and back on. I have absolutely no idea what
might be wrong. The server has a lot of free HD space. It ain't
experiencing no overload that I'm aware of. Everything should be smooth.

Maybe it's the network interface. Or the fact that I just replaced
IPFW with PF. Because this only seems to happen when I surf the net and
download stuff from the workstation behind it. 

# dmesg

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 Apr 13 18:30:43 CEST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NINJA
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin = GenuineIntel  Id = 0x52c  Stepping = 12
  Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
real memory  = 100663296 (96 MB)
avail memory = 93040640 (88 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
pci0: display, VGA at device 8.0 (no driver attached)
lnc0: PCNet/PCI Ethernet adapter port 0xff80-0xff9f irq 10 at device 11.0 on p
ci0
lnc0: Attaching PCNet/PCI Ethernet adapter
lnc0: Ethernet address: 00:00:4b:30:1e:94
lnc0: if_start running deferred for Giant
lnc0: PCnet-PCI
pci0: multimedia, audio at device 17.0 (no driver attached)
pci0: display, VGA at device 19.0 (no driver attached)
orm0: ISA Option ROMs at iomem 0xed000-0xedfff,0xc-0xc7fff on isa0
ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
ata1 at port 0x376,0x170-0x177 irq 15 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ep0: 3Com 3C509B-Combo EtherLink III (PnP) at port 0x210-0x21f irq 3 on isa0
ep0: Ethernet address: 00:a0:24:1b:2b:a6
unknown: PNP0303 can't assign resources (port)
psmcpnp0: irq resource info is missing; assuming irq 12
unknown: PNP0700 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0680 can't assign resources (port)
unknown: PNP0680 can't assign resources (port)
Timecounter TSC frequency 119753102 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38166MB WDC WD400AB-00BVA0/21.01H21 [77545/16/63] at ata0-master PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
pflog0: promiscuous mode enabled
pflog0: promiscuous mode disabled
lnc0: promiscuous mode enabled

# grep Apr 25 /var/log/messages

Apr 25 14:16:57 ninja kernel: lnc0: Start of packet found before end of 
previous in transmit ring -- Resetting
Apr 25 14:19:39 ninja kernel: lnc0: Start of packet found before end of 
previous in transmit ring -- Resetting
Apr 25 14:22:14 ninja kernel: lnc0: Start of packet found before end of 
previous in transmit ring -- Resetting
Apr 25 14:28:20 ninja sshd[878]: error: PAM: authentication error for johann 
from urban.terrabionic.lan
Apr 25 14:44:26 ninja syslogd: kernel boot file is /boot/kernel/kernel
Apr 25 14:44:26 ninja kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Apr 25 14:44:26 ninja kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 
1991, 1992, 1993, 1994
Apr 25 14:44:26 ninja kernel: The Regents of the University of California. All 
rights reserved.
Apr 25 14:44:26 ninja kernel: FreeBSD 5.4-STABLE #1: Wed Apr 13 18:30:43 CEST 
2005
Apr 25 14:44:26 ninja kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NINJA
Apr 25 14:44:26 ninja kernel: Timecounter i8254 frequency 1193182 Hz quality 0
Apr 25 14:44:26 ninja kernel: CPU: Pentium/P54C (119.75-MHz 586-class CPU)
Apr 25 14:44:26 ninja kernel: Origin = GenuineIntel  Id = 0x52c  Stepping = 12
Apr 25 14:44:26 ninja kernel: Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
Apr 25 14:44:26 ninja kernel: real memory  = 100663296 (96 MB)
Apr 25 14:44:26 ninja kernel: avail memory = 93040640 (88 MB)
Apr 25 14:44:26 ninja kernel: Intel Pentium detected, installing workaround for 
F00F bug
Apr 25 14:44:26 ninja kernel: npx0: math processor on motherboard
Apr 25 14:44:26 ninja kernel: npx0: INT 16 interface
Apr 25 14:44:26 ninja kernel: cpu0 on 

Re: Allowing a group to use fstab mount-points

2005-04-25 Thread Lowell Gilbert
RW [EMAIL PROTECTED] writes:

 That's interesting, I wasn't aware of fbtab before. However it doesn't really 
 help. As I read it, it only allows the ownership of devices to be changed, 
 not mount-points. 

No, it will work on *any* file, including directories.  It's *usually*
useful for device files, but it will certainly change the ownership on
directories as well.  

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


Re: Portupgrading - many problems

2005-04-25 Thread Iain Dooley


hi all, i recently attempted to portupgrade the kde super package and had 
loads of problems. i first upgraded from FreeBSD 4.10 to FreeBSD 4.11, and 
then cvsup'd 'ports-all'. 
i then did portupgrade -R kde, but ran into several issues. a common error 
was:


see /usr/ports/UPDATING entry dated 20050320:
thanks!! someone from the gnome port maintainers list actually pointed me 
here earlier today. i wasn't even aware that the UPDATING document existed!!!
thanks again
iain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It keeps CRrrASHING!!

2005-04-25 Thread Louis LeBlanc
The date on your distribution is April 13, but if you check the FreeBSD
site (http://www.freebsd.org/news/newsflash.html#event20050418:01)
you'll see that 5.4-RC3 is now available.  Maybe you want to try that?

You might also want to double check the hardware list - Pentium 120 is a
pretty old system, isn't it?  I have 2 PIII systems I'm trying to get
rid of myself (400  440 Mhz).  I don't have time to waste waiting for
them anymore.

Regardless, as recommended in the handbook (here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#STABLE),
for the STABLE branch, you might want to go to the freebsd-stable list
(check here: http://lists.freebsd.org/mailman/listinfo/freebsd-stable).

The -questions list is generally (though not always strictly) geared
toward questions regarding the latest RELENG_* branches, not STABLE.

Personally, I hadn't even realized the release candidates were out, so
I'm actually glad you did post here :)  I'm hoping to see improved USB
2.0 support.

HTH
Lou


On 04/25/05 07:54 AM, Fafa Diliha Romanova sat at the `puter and typed:
 Hey!
 
 I am running FreeBSD 5.4-STABLE on a Pentium 120.
 
 Since three days ago, it has been crashing regularly, leaving me with
 no choice but to shut it off and back on. I have absolutely no idea what
 might be wrong. The server has a lot of free HD space. It ain't
 experiencing no overload that I'm aware of. Everything should be smooth.
 
 Maybe it's the network interface. Or the fact that I just replaced
 IPFW with PF. Because this only seems to happen when I surf the net and
 download stuff from the workstation behind it. 
 
 # dmesg
 
 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 Apr 13 18:30:43 CEST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NINJA
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Pentium/P54C (119.75-MHz 586-class CPU)
   Origin = GenuineIntel  Id = 0x52c  Stepping = 12
   Features=0x1bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8
 real memory  = 100663296 (96 MB)
 avail memory = 93040640 (88 MB)
 Intel Pentium detected, installing workaround for F00F bug
 npx0: math processor on motherboard
 npx0: INT 16 interface
 cpu0 on motherboard
 pcib0: Host to PCI bridge pcibus 0 on motherboard
 pci0: PCI bus on pcib0
 isab0: PCI-ISA bridge at device 7.0 on pci0
 isa0: ISA bus on isab0
 pci0: display, VGA at device 8.0 (no driver attached)
 lnc0: PCNet/PCI Ethernet adapter port 0xff80-0xff9f irq 10 at device 11.0 
 on p
 ci0
 lnc0: Attaching PCNet/PCI Ethernet adapter
 lnc0: Ethernet address: 00:00:4b:30:1e:94
 lnc0: if_start running deferred for Giant
 lnc0: PCnet-PCI
 pci0: multimedia, audio at device 17.0 (no driver attached)
 pci0: display, VGA at device 19.0 (no driver attached)
 orm0: ISA Option ROMs at iomem 0xed000-0xedfff,0xc-0xc7fff on isa0
 ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
 ata1 at port 0x376,0x170-0x177 irq 15 on isa0
 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
 atkbd0: AT Keyboard irq 1 on atkbdc0
 kbd0 at atkbd0
 fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 ep0: 3Com 3C509B-Combo EtherLink III (PnP) at port 0x210-0x21f irq 3 on isa0
 ep0: Ethernet address: 00:a0:24:1b:2b:a6
 unknown: PNP0303 can't assign resources (port)
 psmcpnp0: irq resource info is missing; assuming irq 12
 unknown: PNP0700 can't assign resources (port)
 unknown: PNP0501 can't assign resources (port)
 unknown: PNP0680 can't assign resources (port)
 unknown: PNP0680 can't assign resources (port)
 Timecounter TSC frequency 119753102 Hz quality 800
 Timecounters tick every 10.000 msec
 ad0: 38166MB WDC WD400AB-00BVA0/21.01H21 [77545/16/63] at ata0-master PIO4
 Mounting root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 WARNING: /tmp was not properly dismounted
 WARNING: /usr was not properly dismounted
 WARNING: /var was not properly dismounted
 pflog0: promiscuous mode enabled
 pflog0: promiscuous mode disabled
 lnc0: promiscuous mode enabled
 
 # grep Apr 25 /var/log/messages
 
 Apr 25 14:16:57 ninja kernel: lnc0: Start of packet found before end of 
 previous in transmit ring -- Resetting
 Apr 25 14:19:39 ninja kernel: lnc0: Start of packet found before end of 
 previous in transmit ring -- Resetting
 Apr 25 14:22:14 ninja kernel: lnc0: Start of packet found before end of 
 previous in transmit ring -- Resetting
 Apr 25 14:28:20 ninja sshd[878]: error: PAM: authentication error for johann 
 from urban.terrabionic.lan
 Apr 25 

Re: Stability problems with 5.3-Release

2005-04-25 Thread Christopher McGee
Christopher McGee wrote:
Justin R. Pessa wrote:
On Apr 21 05 06:22PM, Chris McGee wrote:
 

I've got 2 identical boxes (Supermicro sys-6023P-8R) running with 
ZCR adaptec cards with 6 73Gig seagate scsi drives, 4 Gigs of ram, 
and dual 2.4 Ghz Xeons.  Both of these machines are running 
5.3-Release-p8.  The usually run for a day, give or take, and then 
they crash.  The just deadlock, no console response, no nothing.  
The get power cycled and they are fine for a little while again.  
These are configured to be mysql database servers.  I can provide 
any information necessary, but i'm stumped and it's causing me a lot 
of heartache now.
  

I've had similar problems as well. One thing I noticed is that a process
may get hung in the D state and never returns. From there it seems the
system enters a downward spiral and everything locks up. I've had this
problem with p6 and p7. Attached is my dmesg output. Not sure if it's
helpful...
I can't offer anything in the form of a solution but figured I'd chime
in so that Chris doesn't think he's the only (crazy) one with this
problem! ;)
 

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

- j
.__.
| Justin R. Pessa - BOFH | www: http://jstn.sdf1.org | pgp: 
http://jstn.sdf1.org/pgp.html
| irc: asdf @ irc.freenode.net
'
 


Copyright (c) 1992-2004 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.3-RELEASE-p7 #3: Thu Apr 21 13:24:51 EDT 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TWINTURBO
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1700MHz (1707.56-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf0a  Stepping = 10
 Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM 

real memory  = 268349440 (255 MB)
avail memory = 257130496 (245 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: ASUS P4T on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xe408-0xe40b on acpi0
cpu0: ACPI CPU (2 Cx states) on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82850 host to AGP bridge mem 0xf800-0xfbff at 
device 0.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
pcm0: Creative EMU10K1 port 0xd800-0xd81f irq 9 at device 6.0 on pci2
pcm0: SigmaTel STAC9708/11 AC97 Codec
rl0: RealTek 8139 10/100BaseTX port 0xd000-0xd0ff mem 
0xf180-0xf18000ff irq 9 at device 11.0 on pci2
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:2a:b3:24:a0
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 UDMA100 controller port 
0xb800-0xb80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 
0xb400-0xb41f irq 9 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: KYE Genius USB Wheel Mouse, rev 1.00/0.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
pci0: serial bus, SMBus at device 31.3 (no driver attached)
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 
0xb000-0xb01f irq 9 at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fdc0: floppy drive controller port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on 
acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: ECP parallel printer port port 0x778-0x77a,0x378-0x37f irq 7 
drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 
on acpi0
sio0: type 16550A
sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: 

Re: It keeps CRrrASHING!!

2005-04-25 Thread Greg Donald
On 4/25/05, Louis LeBlanc [EMAIL PROTECTED] wrote:
 You might also want to double check the hardware list - Pentium 120 is a
 pretty old system, isn't it?  I have 2 PIII systems I'm trying to get
 rid of myself (400  440 Mhz).  I don't have time to waste waiting for
 them anymore.

Need a mailing address?


-- 
Greg Donald
Zend Certified Engineer
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: zSQLgate fails with 'Undefined symbol pthread_create'

2005-04-25 Thread Toomas Aas
Hello!
Just for the next guy looking for a solution to this in the archives -
To get zSQLgate working on FreeBSD 4.11, I had to build the net/yaz port 
without threads support. To achieve this, I added '--disable-threads' to 
the port's Makefile.

I'm not sure what causes it, because the yaz port seems to correctly 
pick up the necessary -pthread compiler option. However, when you later 
try to load libyazthread.so.2, you get error messages such as 'Undefined 
symbol pthread_create' or 'Undefined symbol pthread_mutex_lock'

After adding '--disable-threads' I no longer get these errors and 
zSQLgate seems to start successfully.

--
Toomas Aas 
|arvutivõrgu peaspetsialist | head specialist on computer networks|
|Tartu Linnakantselei   | Tartu City Office   |
- +372 736 1274
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Would like to get back my command prompt!

2005-04-25 Thread Drew Tomlinson
On 4/24/2005 8:00 AM James Alexander Cook wrote:
On Sun, Apr 24, 2005 at 02:37:23PM +, Michael Neeff wrote:
 

A newbie with installing FreeBSD 5.3...I installed X and got excited to 
direcly log on to X (xdm) with the dialog box. I modified the lineto turn 
xterm on:
ttyv8 /usr/X11R6/bin/xdm - nodaemon xterm ON secure.
Now I am stuck in a login loop... I would like to configure X and install 
KDE, but it is stuck on the ChooseSessionListWidet I can only choose 2 
options DEFAULT/FAIL SAFE and CANCEL and nothing happens in either case... 
hitting CTRL+ALT_+BKSPACE does nothing

How do I just login to the command prompt without X opening directly?? I 
think I tried option 6 and it gives me a command prompt but I cannot edit 
any file.
   

I have two ideas.
1. After X has opened, press CTRL-ALT-FN where N is a number from 1-8.  That
  should bring you to a text-based virtual terminal.  To go back to X, type
  CTRL-ALT-F9.
2. If 1 doesn't work, try booting in single-user mode.  From there, you can
  remount / read-write, mount /usr (to get access to an editor like vi),
  then vi /etc/ttys and turn off X11.
  # mount -u -o rw /
  # mount /usr
  # vi /etc/ttys
  I don't remember for sure, but I think you'll want to type
  # mount -a
  before exiting the single-user session to boot the system; I don't think
  your filesystems are mounted automatically otherwise.
Or this should work.  Open a xterm window and modify /etc/ttys (i.e. 
comment out the line that starts xdm).  :)

Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!
http://www.alchemistswarehouse.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It keeps CRrrASHING!!

2005-04-25 Thread Louis LeBlanc
On 04/25/05 09:13 AM, Greg Donald sat at the `puter and typed:
 On 4/25/05, Louis LeBlanc [EMAIL PROTECTED] wrote:
  You might also want to double check the hardware list - Pentium 120 is a
  pretty old system, isn't it?  I have 2 PIII systems I'm trying to get
  rid of myself (400  440 Mhz).  I don't have time to waste waiting for
  them anymore.
 
 Need a mailing address?

Sure, can I send it postage due?  :)

Actually, if anyone can pick them up in Waltham, MA (just outside
Boston, right where the Mass Pike hits Rte 128) they're welcome to them.
That would save the trouble of mailing them (The Dell is quite heavy)
and I won't have to put them in the hazardous waste collection next
weekend.

Both systems work fine, but they are quite old - one is a frankenstein
(built almost 7 years ago from auction site parts) the other is an old
Dell, obtained in a company clutter giveaway some 3 years ago.  Both
have at least a 6 G drive, and I think 64 and 128M of ram.  Neither has
a keyboard or Monitor.  Both will need an OS installed.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Once, adv.:
  Enough.
-- Ambrose Bierce, The Devil's Dictionary


pgpOmIgxTG2a0.pgp
Description: PGP signature


Does the freebsd5.4support PCI HotPlug

2005-04-25 Thread kylin
i wonder if the freebsd 5.4 or later version will support PCI hotplug
,if there is long time enought before the official providing utility
,i will develop it on my own, or i will just wait :)

-- 
we who r about to die,salute u!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


lock user to home directory

2005-04-25 Thread Olaf Stein
hi everybody
 
is there an easy way to lock a user to his home directory??
 
thanks
/olaf
 

Olaf Stein
Research Scholar
OSU Medical Center
Department of Radiology
Division of Imaging Research
 
phone: 614-293-9983
cell: 614-589-9229
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrade diablo jdk1.3 to jdk 1.4.2 on Freebsd 4.9

2005-04-25 Thread Carla Neves
Hello,
How do I upgrade my diablo jdk1.3 to jdk 1.4.2 on Freebsd 4.9?

I currently have installed on my machine:

   diablo-jdk-1.3.1.0_1 Java Development Kit 1.3.1
   jakarta-tomcat-5.0.18_1 Open-source Java web server by Apache, 
5.0.x branch
   javavmwrapper-1.4   Wrapper script for various Java Virtual 
Machines

And I would like to upgrade the jdk to jdk1.4.2, but unfortunatly I 
couldn't find the port diablo-jdk-1.4.2 to upgrade. So that makes me 
wonder if can I use the port  /usr/ports/java/jdk14 and de-install the 
diablo jdk-1.3.1. 

Does anybody can help me?


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


Re: [zSQLgate] Re: zSQLgate fails with 'Undefined symbol pthread_create'

2005-04-25 Thread Mike Taylor
 Date: Mon, 25 Apr 2005 17:19:38 +0300
 From: Toomas Aas [EMAIL PROTECTED]
 
 Just for the next guy looking for a solution to this in the archives -
 
 To get zSQLgate working on FreeBSD 4.11, I had to build the net/yaz
 port without threads support. To achieve this, I added
 '--disable-threads' to the port's Makefile.

Excellent!  If only _all_ reqeusts for help were so easy to deal with
:-)

Thanks for passing on the results of your experimentation.

 _/|____
/o ) \/  Mike Taylor  [EMAIL PROTECTED]  http://www.miketaylor.org.uk
)_v__/\  Unhappily, it coincided with Gascoigne attempting to set fire
 to best friend Jimmy 'Five Bellies' Gardner's nose in a Newcastle
 nightclub -- The Guardian, 13th September 1998

--
Listen to free demos of soundtrack music for film, TV and radio
http://www.pipedreaming.org.uk/soundtrack/

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


Filesystem Tuning Recommendations

2005-04-25 Thread Drew Tomlinson
I'm attempting to build a FBSD 5.4 box running MythTV.  The box has a 
160 gb drive I want to use for nothing more than storing recorded 
shows.  Since the files are likely to be several gigabytes in size, what 
are some suggested tuning parameters for this file system.  I assume 
it's UFS2 (the default?) as I did nothing to change that.  I've read 
'man tunefs' and suspect the two options I should change are 'maximum 
blocks' and 'average filesize'.  So without really understanding the 
consequences, I changed them:

tv# tunefs -p /tv
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  6400
tunefs: average file size: (-f)51200
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)
This seemed to help some because I used to get a encoder dma not enough 
buffer space free error on /dev/cxm0 and now that's gone away so I 
assume disk access is faster.  But what parameter would be optimum for 
my purpose?

Also there is some suggestion on the mythtv-users list that file sizes 
greater than 4 gb are not allowed.  What is the limit as far as FBSD 
UFS2 is concerned?

Thanks for your advice!
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!
http://www.alchemistswarehouse.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PF problem!!!

2005-04-25 Thread Peter N. M. Hansteen
Fafa Diliha Romanova [EMAIL PROTECTED] writes:

 My question is: Why do I have to type this after everytime I've rebooted
 to make my NAT gateway server allow Internet access to my workstation?

Your rule set does not contain any rules which let packets pass *in* on
your internal interface. 

Remember, pf.conf is seen from the firewall's perspective. traffic
passes IN from elsewhere on either interface to the firewall, OUT to
elsewhere on either interface. You have rules which let traffic pass
in to the firewall on the external interface and out from the firewall
on the external interface, but none which let traffic in on the internal
interface.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales

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


Re: Audit tools?

2005-04-25 Thread Roland Smith
On Sun, Apr 24, 2005 at 01:08:55PM -0700, Jay O'Brien wrote:
 Erik Trulsson wrote:
 
  On Sun, Apr 24, 2005 at 08:02:39AM -0700, Jay O'Brien wrote:
  
 What are the tools that I should use to audit an existing 
 FreeBSD installation? Without changing anything, I wish 
 to quickly determine what is installed, i.e., the basic 
 system, ports and packages, and then to compare what is 
 installed to the currently available versions. 
  
  
  For ports/packages you can use pkg_info(1) to see what is installed,
  and pkg_version(1) to compare what is installed to what is in the ports
  tree.

For packages: ls /var/db/pkg/ will show you what's installed.

For the base system, you'll have to look at /etc/make.conf and the
kernel configuration file. The kernel configuration (default is
/usr/src/sys/ARCH/conf/GENERIC, where ARCH is i386, amd64, alpha etc)
file determines what's being built into the kernel.
 
By setting variables in make.conf, you can determine what's going to be
built in the next buildworld. For instance, if you set NO_BLUETOOTH=true
in make.conf, programs and modules relating to bluetooth will not be built.
See 'man make.conf' for a list of settings.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpCwQ3FDZjO0.pgp
Description: PGP signature


re: PF problem!!!

2005-04-25 Thread Didier Wiroth
did you enable the default variables  in rc.conf (or rc.conf.local)?
see:
grep -e pf_ -e pflog /etc/defaults/rc.conf
and set the appropriate variables.

regards,
didier



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


Bootable CD with Custom Kernel

2005-04-25 Thread jhall
Is it possible to create a bootable CD with a custom kernel for FreeBSD?

I maintain several servers in remote locations  and rather than drive
whenever there is an update, I would prefer to just simply send the
offices a bootable CD with the new software.  So, all they would have to
do is restart the server with the new CD and the software/operating
system/whatever is updated.

On the CD I can see having the kernel, /sbin and /bin directories, with
the remainder of the directories (i.e. /var, /etc, etc.) remaining on the
hard drive.

I'd appreciate any direction anyone can give me regarding this.

Thanks in advance for your assistance.


Jay

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


OpenLDAP 2.2.25 and FreeBSD 5.3 - group names and gid's

2005-04-25 Thread Don Brearley

Hello,

I am having some problems with OpenLDAP 2.2.25 and FreeBSD 5.3. 

I can currently authenticate against my ldap db, and utilities like id and chown
work with no problem. 

The problem is gid to group name mapping.  In my ldif files, I can have a
uid entry and a uidNumber entry.  It would look something like this:

uid:  testuser
uidNumber: 2001

and that works.   I cannot have a group entry of the same.

gid: testgroup
gidNumber: 2001

OpenLDAP would complain that it couldnt read this file properly.. not until
the gid:testgroup entry was removed.  

When I attempt to use an app like chown I have to specify the actual
gid number, eg:

chown -R testuser:2001 /home/testuser

I was wondering if anyone had found a way to have it so that you could
just enter it by name, and not by number.  eg:

chown -R testuser:testgroup /home/testuser

Obviously I would have to add a gid entry in my schema file, but I am left
wondering why this isnt already in there..  I dont want to spend a few hours
trying to re-invent the wheel when there is already a reason for it to
not be in there.

Any help or light on this situation is deeply appreciated.  If you need more
information, please let me know and I shall provide it.

Thanks

- Don Brearley



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


Re: how to mark a slice bootable using command line

2005-04-25 Thread jonas
I'm still stuck with this.. C'mon folks, there must be someone who knows how 
to do sysinstalls 'Set Bootable' command using command line.

It all comes down to:
I got four slices containing a FreeBSD installation. I can only boot the 
first. Hitting F2, F3 or F4 in the bootmanager gives me a beep, nothing more. 
If I run sysinstall, choose Configure, Fdisk, da0, hit the 'S' key (Set 
Bootable) once for every slice and write those Changes I can boot into any 
of those installations.

Now I have read the man pages for fdisk and bsdlabel a couple of times, still 
I cannot figure out how to set this bootable flag using those tools (not that 
I didn't try all kinds of things like writing bootstrap code, setting active 
partitions, etc...). There must be a way to do this without sysinstall!?

Sadly my knowledge in C is more than limited... I can see that sysinstall does 
'chunk_info[current_chunk]-flags |= CHUNK_ACTIVE;' when I hit the S key but 
that's about it.

Any pointer would be very much appreciated.

Thanks in advance, first mail follows,

On Friday 22 April 2005 19:04, jonas wrote:
 Hi again questions list,

 I'm running into trouble installing a FreeBSD system from script using a
 custom FreeSBIE (sysutils/freesbie).

 I'm using
 `fdisk -f configfile /dev/da0`
 to partition my da0 disk into four even-sized slices,
 `boot0cfg -B /dev/da0`
 to install the bootmanager to da0,
 `disklabel -R /dev/da0s$c protofile`
 to create partitions (which is called four times with $c being 1-4),
 `newfs -O2 -U /dev/da0s$c$p`
 to create filesystems (where $p is a, d and e - /tmp will be a memory disk,
 there is no -U for a)
 and finally untar the OS onto the new filesystems.

 Everything goes fine, except, I cannot boot from any slice other then the
 first (F1 entry in bootman). Any other choice will simply have the speaker
 beep. Obviously the slices are not marked bootable.

 Now if I launch sysinstall and choose Configure, Fdisk, da0, I can set the
 bootable flag to those four slices. Obviously, in sysinstall this is
 somehow linked to being the active slice, since it shows an 'A' next to the
 slice and only one A can be set at a time.

 So I tried to use `fdisk -a -2` to setting slice 2 bootable, without
 success. Also tried to set the slice bootable by using the -B switch to
 disklabel, also, without success.

 Furthermore I cannot figure out any difference to the output of fdisk and
 disklabel after using sysinstall, other than my slice of choice if now
 bootable.

 So... how can I set this bootable flag by using command line tools like
 fdisk and disklabel without the need of user input. Sadly the handbook
 refers only to sysinstall...

 Thanks in advance for any pointers,

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


Re: kylix run in freebsd???

2005-04-25 Thread W. D.
At 14:07 4/24/2005, [EMAIL PROTECTED] wrote:
Hi,

kylix run in freebsd???

http://www.Google.com/search?q=Kylix+on+FreeBSD


http://www.Google.com/search?q=Kylix

Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: It keeps CRrrASHING!!

2005-04-25 Thread Roland Smith
On Mon, Apr 25, 2005 at 07:54:55AM -0500, Fafa Diliha Romanova wrote:
 Hey!
 
 I am running FreeBSD 5.4-STABLE on a Pentium 120.
 
 Since three days ago, it has been crashing regularly, leaving me with
 no choice but to shut it off and back on. I have absolutely no idea what
 might be wrong. The server has a lot of free HD space. It ain't
 experiencing no overload that I'm aware of. Everything should be smooth.
 
 Maybe it's the network interface. Or the fact that I just replaced
 IPFW with PF. Because this only seems to happen when I surf the net and
 download stuff from the workstation behind it. 

Set the system up for saving crashdumps, as described in §11.1 of the
developers handbook. That might give the developers a better idea what's
wrong.

Make sure the hardware is OK. There are some old chipsets (RZ1000?)
that are a known source of problems. Check the mailing list archives.
Run memtest86 to check the RAM. Check if PCI cards are properly seated
and if cables aren't loose.

If you suspect the network interface, try another network card and see
whether the problems disappear.

If returning to IPFW fixes the problem, it might well be a problem with
PF of with your ruleset.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpPClswEkNVj.pgp
Description: PGP signature


Freebsd 5.3 and using the HP NAS/SAN EVA3000 system

2005-04-25 Thread Freerk Bosscha
Thanks for reading this mail.

Shortly we will install a HP EVA3000 system. Looking in the HP 
documentation for supported systems, FreeBSD is not on that list.
Does anyone using this combination and has any experience with running 
FreeBsd with the EVA3000 SAN/NAS. 
Where can I find the drivers needed for it ?

-- 
Freerk J. Bosscha

Networkadministrator
Noordelijke Hogeschool Leeuwarden
Tesselschadestraat 12
8913 HB  Leeuwarden
The Netherlands

Phone : xx-31-(0)58 2961 875
fax   : xx-31-(0)58 2961 874
Mobile: xx-31-(0)6 231 28 068
e-mail: [EMAIL PROTECTED]
url   : http://www.fac.nhl.nl/~bosscha

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


Re: how to mark a slice bootable using command line

2005-04-25 Thread jonas
On Monday 25 April 2005 18:01, Don Brearley wrote:
 What about boot0cfg -s 2 da0 ?

This sets the second slice to be the default entry in the bootmanager on next 
startup. Usefull, but it does not set the bootable flag to the slice.

So... negative.. but thanks anyway.

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


Compile of GCC-3.4 port fails on FreeBSD 4.11 --- Help?

2005-04-25 Thread Tom Russo

I've been having trouble with ports on FreeBSD 4.11 lately, as more and more
of them seem to want gcc 3.4 --- but I can't get gcc-3.4 to build.

Here's what I get when I attempt to make gcc 3.4:

[...]
cc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long  -Wno-error  -DHAVE_CONFIG_H 
-DGENERATOR_FILE -I/usr/local/include   -I. -I. -I.././..//gcc-3.4-20050128/gcc 
-I.././..//gcc-3.4-20050128/gcc/. -I.././..//gcc-3.4-20050128/gcc/../include  
insn-conditions.c
In file included from insn-conditions.c:30:
../../gcc-3.4-20050128/gcc/output.h:122: syntax error before `ATTRIBUTE_NONNULL'
In file included from insn-conditions.c:34:
../../gcc-3.4-20050128/gcc/toplev.h:57: syntax error before `ATTRIBUTE_NONNULL'
../../gcc-3.4-20050128/gcc/toplev.h:61: syntax error before `ATTRIBUTE_NONNULL'
../../gcc-3.4-20050128/gcc/toplev.h:65: syntax error before `ATTRIBUTE_NONNULL'
../../gcc-3.4-20050128/gcc/toplev.h:74: syntax error before `ATTRIBUTE_NONNULL'
../../gcc-3.4-20050128/gcc/toplev.h:75: syntax error before `ATTRIBUTE_NONNULL'
gmake[2]: *** [insn-conditions.o] Error 1
gmake[2]: Leaving directory `/sandbox/ports/lang/gcc34/work/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/sandbox/ports/lang/gcc34/work/build/gcc'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2

Stop in /sandbox/ports/lang/gcc34.

My system is FreeBSD 4.11-STABLE, last updated on 24 Jan, and my ports tree
was last updated on 4 Feb.  Prior to 24 Jan I had been running a much older
FreeBSD 4.9.  I only updated it then because I was hoping the update would
fix this very same gcc-3.4 problem, and it didn't.  

Has anyone else had a problem building gcc-3.4 on FreeBSD 4.11?  I see nothing 
in the -questions or -ports archives about it, and google gave me nothing.  

-- 
Tom RussoKM5VY SAR502  DM64ux http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 
 The only thing you can do easily is be wrong, and that's hardly
  worth the effort. -- Norton Juster
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lock user to home directory

2005-04-25 Thread Roland Smith
On Mon, Apr 25, 2005 at 10:51:00AM -0400, Olaf Stein wrote:
 hi everybody
  
 is there an easy way to lock a user to his home directory??

Try giving them restricted bash (rbash, or bash -r) as shell.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgp1hotCRVZJt.pgp
Description: PGP signature


Re: Postfix with SASL2 Problem

2005-04-25 Thread Paul Schmehl
--On Monday, April 25, 2005 12:59:35 AM +0200 John Morgan Salomon 
[EMAIL PROTECTED] wrote:

Here's some info on my system:
shiva# pkg_info|grep -i sasl
cyrus-sasl-2.1.20_1 RFC  SASL (Simple Authentication and
Security Layer)
cyrus-sasl-saslauthd-2.1.20_1 SASL authentication server for cyrus-sasl2
p5-Authen-SASL-2.08 Perl5 module for SASL authentication
All your config options look correct.  I can't explain the error, but I can 
tell you I'm using the *exact* same setup *except* I use pam instead of 
getpwent, and it works perfectly.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Bootable CD with Custom Kernel

2005-04-25 Thread bob


check out (sysutils/freesbie) from port collection.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 11:30 AM
To: freebsd-questions@freebsd.org
Subject: Bootable CD with Custom Kernel


Is it possible to create a bootable CD with a custom kernel for
FreeBSD?

I maintain several servers in remote locations  and rather than
drive
whenever there is an update, I would prefer to just simply send the
offices a bootable CD with the new software.  So, all they would
have to
do is restart the server with the new CD and the software/operating
system/whatever is updated.

On the CD I can see having the kernel, /sbin and /bin directories,
with
the remainder of the directories (i.e. /var, /etc, etc.) remaining
on the
hard drive.

I'd appreciate any direction anyone can give me regarding this.

Thanks in advance for your assistance.


Jay

___
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: lock user to home directory

2005-04-25 Thread Lowell Gilbert
Roland Smith [EMAIL PROTECTED] writes:

 On Mon, Apr 25, 2005 at 10:51:00AM -0400, Olaf Stein wrote:
  hi everybody
   
  is there an easy way to lock a user to his home directory??
 
 Try giving them restricted bash (rbash, or bash -r) as shell.

Assuming you trust them not to actively try to attack your box, in
which case you would use a chroot(8) or jail(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where to find good/cheap tech support

2005-04-25 Thread Chuck Swiger
ChrisC wrote:
[ ... ]
In my mind there is always the possibility of a problem being a pebkac but this 
problem only occurs with FreeBSD. The SCSI controller works fine when I load 
RedHat Fedora Core 3 or Windows 2000 Pro. Unfortunately I don't know much about 
FreeBSD to do much trouble shooting myself so I might just have to go with 
another OS on this specific server.
A system that works is more useful to you than one which doesn't-- maybe that 
would be best.

[ ... ]
*Ata1-master : FAILURE  ATAPI_IDENTIFY timed out
Waiting 15 seconds for SCSI devices to settle
---Dump Card State Ends---
(probe29:ahd1:0:15:0) SCB0xe  timed out
ahd0: Issued Channel A Bus Reset 4 SCBs aborted
-
Thanks again for taking time to reply.
There are people who are a lot more expert than I at interpreting Adaptec card 
dumps lurking on these lists, but honestly, there isn't much here to go on.

My first take would have been to double-check the cabling, and retest the 
hardware in another machine.  But if the hardware seems to work using another 
OS, well, the easy answers are out.  I might try disabling your ATA controller 
entirely, if you are not using it, to remove the first error message...

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


RE: lock user to home directory

2005-04-25 Thread Olaf Stein
Does not work

I changed the shell with chpass -s /usr/local/bin/bash -r or rbash
Chpass said that those are unvalid arguments but changed it anyway in
/etc/passwd
But user could not login anymore at all

Any other ideas??

Thanks
/olaf

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roland Smith
Sent: Monday, April 25, 2005 12:34 PM
To: freebsd-questions@freebsd.org
Cc: Olaf Stein
Subject: Re: lock user to home directory

On Mon, Apr 25, 2005 at 10:51:00AM -0400, Olaf Stein wrote:
 hi everybody
  
 is there an easy way to lock a user to his home directory??

Try giving them restricted bash (rbash, or bash -r) as shell.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards

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


Re: Where to find good/cheap tech support

2005-04-25 Thread Benson Wong
I've actually seen the ATAPI_TIMEOUT problems before, but not with an
Adaptec SCSI card. I thought I wrote up about it here:
http://www.mostlygeek.com/node/22 but looks like I didn't bother
mentioning the ATAPI_TIMEOUT problems. Oops. I think I'll have to
update it.

First of all, does the system boot in Safe Mode? 
If it does (mine did), and the solution I found to the ATAPI_TIMEOUT
problem was to compile a kernel based on the PAE configuration
(without the PAE option). I'm not sure what exactly fixes it but give
that a try.

My system would hang on ATAPI_TIMEOUT, but booted in Safe Mode. The
new kernel has been running stable for weeks, no problems, rock solid.


Ben. 

On 4/25/05, Chuck Swiger [EMAIL PROTECTED] wrote:
 ChrisC wrote:
 [ ... ]
  In my mind there is always the possibility of a problem being a pebkac but 
  this
  problem only occurs with FreeBSD. The SCSI controller works fine when I load
  RedHat Fedora Core 3 or Windows 2000 Pro. Unfortunately I don't know much 
  about
  FreeBSD to do much trouble shooting myself so I might just have to go with
  another OS on this specific server.
 
 A system that works is more useful to you than one which doesn't-- maybe that
 would be best.
 
 [ ... ]
  *Ata1-master : FAILURE  ATAPI_IDENTIFY timed out
  Waiting 15 seconds for SCSI devices to settle
  ---Dump Card State Ends---
  (probe29:ahd1:0:15:0) SCB0xe  timed out
  ahd0: Issued Channel A Bus Reset 4 SCBs aborted
  -
  Thanks again for taking time to reply.
 
 There are people who are a lot more expert than I at interpreting Adaptec card
 dumps lurking on these lists, but honestly, there isn't much here to go on.
 
 My first take would have been to double-check the cabling, and retest the
 hardware in another machine.  But if the hardware seems to work using another
 OS, well, the easy answers are out.  I might try disabling your ATA controller
 entirely, if you are not using it, to remove the first error message...
 
 --
 -Chuck
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
blog: http://benzo.tummytoons.com
site: http://www.thephpwtf.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenLDAP 2.2.25 and FreeBSD 5.3 - group names and gid's

2005-04-25 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 25 Apr 2005, Don Brearley wrote:
Hello,
I am having some problems with OpenLDAP 2.2.25 and FreeBSD 5.3.
I can currently authenticate against my ldap db, and utilities like id and chown
work with no problem.
The problem is gid to group name mapping.  In my ldif files, I can have a
uid entry and a uidNumber entry.  It would look something like this:
uid:  testuser
uidNumber: 2001
and that works.   I cannot have a group entry of the same.
gid: testgroup
gidNumber: 2001
OpenLDAP would complain that it couldn't read this file properly.. not until
the gid:testgroup entry was removed.
When I attempt to use an app like chown I have to specify the actual
gid number, eg:
chown -R testuser:2001 /home/testuser
I was wondering if anyone had found a way to have it so that you could
just enter it by name, and not by number.  eg:
chown -R testuser:testgroup /home/testuser
Obviously I would have to add a gid entry in my schema file, but I am left
wondering why this isn't already in there..  I dont want to spend a few hours
trying to re-invent the wheel when there is already a reason for it to
not be in there.
Any help or light on this situation is deeply appreciated.  If you need more
information, please let me know and I shall provide it.
Hi,
i have authentication against OpenLDAP running a long time now and did not 
experience such a thing.
I have splittet the user and group informations in two separate tree's.
An example user and the group entry look like this:

- --- the user
uid=testuser,ou=People,dc=domain,dc=tld
objectClass: top
objectClass: posixAccount
uidNumber: 2001
gecos: Test User
loginShell: /bin/tcsh
uid: testuser
cn: Test User
gidNumber: 2001
homeDirectory: /home/testuser
userPassword: some_password
- --- the group
dn: cn=testgroup,ou=Group,dc=domain,dc=tld
objectClass: posixGroup
objectClass: top
cn: testgroup
userPassword: *
gidNumber: 2001
description: Local Unix group
if you configure nss_ldap to the following you will be able to chown(8) 
with names instead of numbers and id(1) should give you names for the 
groups too.

- --- nss_ldap.conf
nss_base_passwd ou=People,dc=domain,dc=tld?one
nss_base_group  ou=Group,dc=domain,dc=tld?one
if i understand your comments right, you have tried to add an gid 
attribute to the user account with objectClass posixAccount, but this will 
not work. only the numeric gidNumber is allowed for this objectClass. it 
behaves like flat unix passwd(5) and group(5) files where the numeric 
gidNumber is stored in passwd(5) and this number is resolved using the 
group(5) file.

please think about it ;-) and try the things above
Joerg
- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCbTOrSPOsGF+KA+MRAioiAJ4oSK/EupIQphRIneHcbWSHJ6YcHgCgx1wf
EHGs1oXINk95wgKc0IKW75A=
=lneJ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


UPDATING on AMD Processor

2005-04-25 Thread Odhiambo Washington
PS: I asked this Q stupidly before... No wonder I did not
get any responses ;)


 When it comes to the Intel platform, I can always find my way around,
 but in this one case of AMD, I am purely clueless. I don't even know
 what keyword to search for in the handbook, FAQ, google.
 
 Attached you will find the dmesg output of an oldish box on which I
 just installed FreeBSD 5.x, and I would like to:
 
 make buildworld
 make kernel
 make installworld
 
 I want to use this box as a firewall on my network. Can someone
 please point me to the relevant documentation that will guide me
 in the above process.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
WARNING TO ALL PERSONNEL:

Firings will continue until morale improves.
Copyright (c) 1992-2004 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.3-RC2 #0: Sun Oct 31 08:32:33 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD-K6(tm) 3D processor (451.03-MHz 586-class CPU)
  Origin = AuthenticAMD  Id = 0x58c  Stepping = 12
  Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
  AMD Features=0x8800SYSCALL,3DNow!
real memory  = 134217728 (128 MB)
avail memory = 121696256 (116 MB)
K6-family MTRR support enabled (2 registers)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 8 Entries on motherboard
pci0: PCI bus on pcib0
$PIR: No matching entry for 0.7.INTD
agp0: VIA 82C597 (Apollo VP3) host to PCI bridge mem 0xe000-0xe3ff at 
device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
$PIR: ROUTE_INTERRUPT failed.
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: VIA 82C586B UDMA33 controller port 
0xe800-0xe80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: VIA 83C572 USB controller port 0xe000-0xe01f irq 10 at device 7.2 on 
pci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem 0xe610-0xe61000ff 
irq 9 at device 12.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:e0:4c:45:0c:c4
pcib2: PCI-PCI bridge at device 19.0 on pci0
pci2: PCI bus on pcib2
$PIR: ROUTE_INTERRUPT failed.
$PIR: ROUTE_INTERRUPT failed.
$PIR: ROUTE_INTERRUPT failed.
vr0: VIA VT6105M Rhine III 10/100BaseTX port 0xd000-0xd0ff mem 
0xe600-0xe6ff irq 12 at device 8.0 on pci2
miibus1: MII bus on vr0
ukphy0: Generic IEEE 802.3u media interface on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0c:42:02:16:27
vr1: VIA VT6105M Rhine III 10/100BaseTX port 0xd400-0xd4ff mem 
0xe6001000-0xe60010ff irq 5 at device 9.0 on pci2
miibus2: MII bus on vr1
ukphy1: Generic IEEE 802.3u media interface on miibus2
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1: Ethernet address: 00:0c:42:02:16:28
vr2: VIA VT6105M Rhine III 10/100BaseTX port 0xd800-0xd8ff mem 
0xe6002000-0xe60020ff irq 11 at device 10.0 on pci2
miibus3: MII bus on vr2
ukphy2: Generic IEEE 802.3u media interface on miibus3
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2: Ethernet address: 00:0c:42:02:16:29
vr3: VIA VT6105M Rhine III 10/100BaseTX port 0xdc00-0xdcff mem 
0xe6003000-0xe60030ff irq 9 at device 11.0 on pci2
miibus4: MII bus on vr3
ukphy3: Generic IEEE 802.3u media interface on miibus4
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr3: Ethernet address: 00:0c:42:02:16:2a
cpu0 on motherboard
orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on 

How to upgrade diablo jdk1.3.1 to jdk1.4.2 on Freebsd 4.9

2005-04-25 Thread carla
Hi,

I had installed on a Freebsd 4.9 machine:

 

diablo-jdk-1.3.1.0_1 Java Development Kit 1.3.1

jakarta-tomcat-5.0.18_1 Open-source Java web server by Apache, 5.0.x branch

javavmwrapper-1.4   Wrapper script for various Java Virtual Machines

 

 

And I would like to upgrade the Diablo jdk1.3.1 to jdk1.4.2, do you know how
to do it? I didn't found the Diablo jdk 1.4 so do I need to install jdk1.4
from /usr/ports/java instead of Diablo jdk1.4?

 

 

 

Please somebody can help me, how to upgrade the jdk?

 

 

Best Regards,

Carla Neves

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


Re: OpenLDAP 2.2.25 and FreeBSD 5.3 - group names and gid's

2005-04-25 Thread Don Brearley

Joerg,

Yeah..   I just discovered my problem was that I wasnt putting
appropriate groups into my groups ou when adding users.

My mistake.  (Doh!)

Thanks for your email!

- Don

 Joerg Pulz [EMAIL PROTECTED] 04/25/05 12:15PM 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 25 Apr 2005, Don Brearley wrote:


 Hello,

 I am having some problems with OpenLDAP 2.2.25 and FreeBSD 5.3.

 I can currently authenticate against my ldap db, and utilities like id and 
 chown
 work with no problem.

 The problem is gid to group name mapping.  In my ldif files, I can have a
 uid entry and a uidNumber entry.  It would look something like this:

 uid:  testuser
 uidNumber: 2001

 and that works.   I cannot have a group entry of the same.

 gid: testgroup
 gidNumber: 2001

 OpenLDAP would complain that it couldn't read this file properly.. not until
 the gid:testgroup entry was removed.

 When I attempt to use an app like chown I have to specify the actual
 gid number, eg:

 chown -R testuser:2001 /home/testuser

 I was wondering if anyone had found a way to have it so that you could
 just enter it by name, and not by number.  eg:

 chown -R testuser:testgroup /home/testuser

 Obviously I would have to add a gid entry in my schema file, but I am left
 wondering why this isn't already in there..  I dont want to spend a few hours
 trying to re-invent the wheel when there is already a reason for it to
 not be in there.

 Any help or light on this situation is deeply appreciated.  If you need more
 information, please let me know and I shall provide it.

Hi,

i have authentication against OpenLDAP running a long time now and did not 
experience such a thing.
I have splittet the user and group informations in two separate tree's.
An example user and the group entry look like this:

- --- the user
uid=testuser,ou=People,dc=domain,dc=tld
objectClass: top
objectClass: posixAccount
uidNumber: 2001
gecos: Test User
loginShell: /bin/tcsh
uid: testuser
cn: Test User
gidNumber: 2001
homeDirectory: /home/testuser
userPassword: some_password

- --- the group
dn: cn=testgroup,ou=Group,dc=domain,dc=tld
objectClass: posixGroup
objectClass: top
cn: testgroup
userPassword: *
gidNumber: 2001
description: Local Unix group

if you configure nss_ldap to the following you will be able to chown(8) 
with names instead of numbers and id(1) should give you names for the 
groups too.

- --- nss_ldap.conf
nss_base_passwd ou=People,dc=domain,dc=tld?one
nss_base_group  ou=Group,dc=domain,dc=tld?one

if i understand your comments right, you have tried to add an gid 
attribute to the user account with objectClass posixAccount, but this will 
not work. only the numeric gidNumber is allowed for this objectClass. it 
behaves like flat unix passwd(5) and group(5) files where the numeric 
gidNumber is stored in passwd(5) and this number is resolved using the 
group(5) file.

please think about it ;-) and try the things above
Joerg

- -- 
The beginning is the most important part of the work.
-Plato
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCbTOrSPOsGF+KA+MRAioiAJ4oSK/EupIQphRIneHcbWSHJ6YcHgCgx1wf
EHGs1oXINk95wgKc0IKW75A=
=lneJ
-END PGP SIGNATURE-

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


Wacom USB tablet.

2005-04-25 Thread Peter Ankerstål
I have a usb Wacom tablet and I want it to work under FreeBSD.
When I boot my cmputer it says:
ums0: Tablet PTZ-630, rev 1.10/1.02, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
and when I start x it tells me it have found ums0 as a mouse.
But I cant use the tablet with its mouse nor with the pen.

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


Re: UPDATING on AMD Processor

2005-04-25 Thread Ash
Odhiambo Washington wrote:
PS: I asked this Q stupidly before... No wonder I did not
get any responses ;)
 When it comes to the Intel platform, I can always find my way around,
 but in this one case of AMD, I am purely clueless. I don't even know
 what keyword to search for in the handbook, FAQ, google.
 
 Attached you will find the dmesg output of an oldish box on which I
 just installed FreeBSD 5.x, and I would like to:
 
 make buildworld
 make kernel
 make installworld
 
 I want to use this box as a firewall on my network. Can someone
 please point me to the relevant documentation that will guide me
 in the above process.
Unless you are enabling CPU specific optimizations in make.conf(5) (i.e. 
CPUTYPE=x or in your case CPUTYPE=k6)  the procedure you have above is 
platform agnostic. Just do what you would normally do on an Intel platform.

If you wish to use CPU specific optimizations, then make sure you look 
at the man page for make.conf(5) and /usr/share/examples/etc/make.conf

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


Re: UPDATING on AMD Processor

2005-04-25 Thread Hexren
 PS: I asked this Q stupidly before... No wonder I did not
 get any responses ;)


  When it comes to the Intel platform, I can always find my way around,
  but in this one case of AMD, I am purely clueless. I don't even know
  what keyword to search for in the handbook, FAQ, google.
 
  Attached you will find the dmesg output of an oldish box on which I
  just installed FreeBSD 5.x, and I would like to:
 
  make buildworld
  make kernel
  make installworld
 
  I want to use this box as a firewall on my network. Can someone
  please point me to the relevant documentation that will guide me
  in the above process.


-

In General
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
http://www.freebsd.org/cgi/man.cgi

More special
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html


Incase you do not have any problems not mentioned in your email. Some
people might feel it appropiate to tell you rtfm now...

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


Re: UPDATING on AMD Processor

2005-04-25 Thread Kris Kennaway
On Mon, Apr 25, 2005 at 08:31:34PM +0300, Odhiambo Washington wrote:
 PS: I asked this Q stupidly before... No wonder I did not
 get any responses ;)

You did get a response (from me).

Kris


pgprqKalfm8p0.pgp
Description: PGP signature


gdm out of control

2005-04-25 Thread Lee Harr
I know I saw this on one of the lists a few weeks ago, but google
as I might, I cannot seem to find the answer.
My gdm process is out of control, taking up all of the processor
power. Right now I am using kill -STOP to freeze it and
kill -CONT when someone needs to log in, but that is no
solution.
Thinking of switching back to kdm, but if anyone can remember
the fix to this, it might be easier.
Thanks.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: UPDATING on AMD Processor

2005-04-25 Thread Odhiambo Washington
* Hexren [EMAIL PROTECTED] [20050425 21:48]: wrote:
  PS: I asked this Q stupidly before... No wonder I did not
  get any responses ;)
 
 
   When it comes to the Intel platform, I can always find my way around,
   but in this one case of AMD, I am purely clueless. I don't even know
   what keyword to search for in the handbook, FAQ, google.
  
   Attached you will find the dmesg output of an oldish box on which I
   just installed FreeBSD 5.x, and I would like to:
  
   make buildworld
   make kernel
   make installworld
  
   I want to use this box as a firewall on my network. Can someone
   please point me to the relevant documentation that will guide me
   in the above process.
 
 
 -
 
 In General
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
 http://www.freebsd.org/cgi/man.cgi
 
 More special
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
 
 
 Incase you do not have any problems not mentioned in your email. Some
 people might feel it appropiate to tell you rtfm now...


I did mention I am clueless on this so I don't feel bad being told
anything.

When I cannot even install a port on this box, I wouldn't mind shit
being thrown at me ;-)

cd /some/port  make install - everything fails!!




-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
The warning message we sent the Russians was a calculated ambiguity
that would be clearly understood.
-- Alexander Haig
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: UPDATING on AMD Processor

2005-04-25 Thread Hexren
 * Hexren [EMAIL PROTECTED] [20050425 21:48]: wrote:
  PS: I asked this Q stupidly before... No wonder I did not
  get any responses ;)
 
 
   When it comes to the Intel platform, I can always find my way around,
   but in this one case of AMD, I am purely clueless. I don't even know
   what keyword to search for in the handbook, FAQ, google.
  
   Attached you will find the dmesg output of an oldish box on which I
   just installed FreeBSD 5.x, and I would like to:
  
   make buildworld
   make kernel
   make installworld
  
   I want to use this box as a firewall on my network. Can someone
   please point me to the relevant documentation that will guide me
   in the above process.
 
 
 -
 
 In General
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
 http://www.freebsd.org/cgi/man.cgi
 
 More special
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
 
 
 Incase you do not have any problems not mentioned in your email. Some
 people might feel it appropiate to tell you rtfm now...


 I did mention I am clueless on this so I don't feel bad being told
 anything.

 When I cannot even install a port on this box, I wouldn't mind shit
 being thrown at me ;-)

 cd /some/port  make install - everything fails!!

-

http://www.catb.org/~esr/faqs/smart-questions.html

Beeing more specific helps. What error messages are there what port
did you try, did system install go without errors ?

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


Re: UPDATING on AMD Processor

2005-04-25 Thread Odhiambo Washington
* Hexren [EMAIL PROTECTED] [20050425 21:57]: wrote:
[...]

 http://www.catb.org/~esr/faqs/smart-questions.html
 
 Beeing more specific helps. What error messages are there what port
 did you try, did system install go without errors ?


Hexren,

I know about all these things you are telling me. I just wanted
confirmation that I can use the same procedure as I use everyday
on the other CPUs I am familiar with ;-)

Please cool down. I will give details when I am finally stuck.
Right now I am using other methods to update the sources on this
box b4 I can tell the whole world where I get stuck.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
I may not be totally perfect, but parts of me are excellent.
-- Ashleigh Brilliant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to mark a slice bootable using command line

2005-04-25 Thread Alejandro Pulver
On Mon, 25 Apr 2005 18:15:11 +0200
jonas [EMAIL PROTECTED] wrote:

 On Monday 25 April 2005 18:01, Don Brearley wrote:
  What about boot0cfg -s 2 da0 ?
 
 This sets the second slice to be the default entry in the bootmanager
 on next startup. Usefull, but it does not set the bootable flag to the
 slice.
 
 So... negative.. but thanks anyway.
 
 -- 
 br.
 j.

Hello,

This is from fdisk(8):

CONFIGURATION FILE

[...]

a slice

Make slice the active slice.  Can occur anywhere in the config file, but
only one must be present.

Example: to make slice 1 the active slice:

a 1

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: Cold Reboot (or cold restart) FreeBSD? locore.s hack attempt

2005-04-25 Thread Michael Neeff
Hey Billy,
I have the same problem...however am not a hacker :(only a newbie to 
FreeBSD 5.3. My system for some reason does not do a reboot using: shutdown 
-r now or reboot now.
I am frustrated with having to manually turn on my PC each time I attempt to 
do a rebootAny solutions out there would be much appreciated. Btw, does 
this cause bad sectors on the HDD.

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


Re: lock user to home directory

2005-04-25 Thread Alex Zbyslaw
Olaf Stein wrote:
Does not work
I changed the shell with chpass -s /usr/local/bin/bash -r or rbash
Chpass said that those are unvalid arguments but changed it anyway in
/etc/passwd
But user could not login anymore at all
Any other ideas??
 

Did you install bash?  What did chpass say?  Did you use vipw which 
would check that you got the format correct?

Information!  Without it we have to be psychic to help you...
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: subbfont.ttf, missing.

2005-04-25 Thread Alejandro Pulver
On Sat, 23 Apr 2005 15:08:16 -0700
Gary Kline [EMAIL PROTECTED] wrote:

 Can you suggest an entire [g]mplayer [] http:// 
 example?  Or do you use mplayer to watch downloaded files?
 (Once, last fall, I had mplayer working for a few seconds;
 then it quit and coredumped [??])

Hello,

I watch downloaded movies (in fact, I only saw the Lord Of The Rings
trailer, some AVIs outputed by a SEGA genesis emuator that I reencoded
with mencoder and a few more).

Does it crash with the plugin or alone? Does it crash when you are
watching a movie (can you watch that movie with another player, for
example xine)?

If you are using the GTK2 User Interface try using the GTK1 interface
(it crashed a lot on my machine).

P.S.: now I am sending from [EMAIL PROTECTED] (really I am using the
same relay but the header From: is different, you can reply me to
[EMAIL PROTECTED] because it is an alias - forward recipe)

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: Mail Delivery (failure jmaudy@christinemaudy.com)

2005-04-25 Thread jmaudy
Thank you for consulting our site.
You will receive an answer to your email promptly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lock user to home directory

2005-04-25 Thread Alex Zbyslaw
Olaf Stein wrote:
- bash is installed
- if I run chpass -s /usr/local/bin/bash -r username chpass says
chpass: illegal option -- r 
I guess because of the blank

- if I run chpass -s /usr/local/bin/rbash chpass says:
chpass: WARNING: shell '/usr/local/bin/rbash' does not exist
Which also makes sense as there is no file rbash in that directory
I get the same warning if I try /usr/local/bin/bash-r
If I change it back to /usr/local/bin/bash it wokrs fine
All this makes sense, the problem is that I do not know how I could change a
users shell adding the -r argument
 

You are right, you cannot pass arguments to the shell (such as -r) from 
the passwd file.  It looks like rbash is not installed by default by the 
port so you'll just need to make a link or symlink from bash-rbash

 cd /usr/local/bin
 ln -s bash rbash
From the bash man page:
  If  bash  is  started with the name rbash, or the -r option is 
supplied at
  invocation, the shell becomes restricted.

And much more detailing what it does.  Whether it's what you really want 
is another matter...  It looks to me like it does a heck of a lot more 
than you originally wanted, but might still suit your purposes.

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


lock user to home directory - not with rbash

2005-04-25 Thread Olaf Stein
hi
 
thanks for the advice on rbash
i got it to work but it is to restricted
in their home directories users should have full rw access
as far as i tried rbash (bash -r) that is not possible (i can not even do a
mkdir)
i am doing something wrong or is this the goal of rbash (bash -r)??
 
is there any other way of giving users access to their home directory and
shutting down anything else (even if read-only)??
 
thanks a lot for your help
/olaf
 

Olaf Stein
Research Scholar
OSU Medical Center
Department of Radiology
Division of Imaging Research
 
phone: 614-293-9983
cell: 614-589-9229
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lock user to home directory - not with rbash

2005-04-25 Thread Ash
Olaf Stein wrote:
hi
 
thanks for the advice on rbash
i got it to work but it is to restricted
Be careful what you ask for :)
in their home directories users should have full rw access
as far as i tried rbash (bash -r) that is not possible (i can not even do a
mkdir)
i am doing something wrong or is this the goal of rbash (bash -r)??
The man page for bash(1) covers restricted bash pretty well under 
RESTRICTED SHELL.

 
is there any other way of giving users access to their home directory and
shutting down anything else (even if read-only)??
 
thanks a lot for your help
/olaf
 
See Lowell Gilbert's response to your previous thread.
-Ash
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


named/AAAA/resolver not failing correctly with CNAME

2005-04-25 Thread Eric Hodel
Starting last week,  queries for domains are not failing 
correctly when the domain being looked up is a CNAME for an A record.

Instead of getting back a response indicating there is no  record, 
the resolver continues to look for a  record until a timeout (a 
minute or so), where it then switches to looking for an A record, which 
is found immediately (as a CNAME).

I'm using named (8.3.7, default nameserver) on 4.11, and as far as I 
can tell haven't changed anything that would have caused this behavior.

If I switch resolv.conf to use the ISP's nameserver, I get a correct 
response, so the  fails immediately and the resolver moves on to an 
A query, where it connects.

Nothing useful shows up in the named logs, and I'm at a loss of what I 
changed that causes this strange behavior.

To generate these requests, I simply do:
telnet www.43things.com 80
Connecting with a TCP Socket via Ruby does the same thing:
ruby -rsocket -e 'TCPSocket.open(www.43things.com, 80).close'
Note that www.43things.com is a CNAME for 43things.com:
$ host www.43things.com
www.43things.com is a nickname for 43things.com
43things.com has address 65.61.137.67
43things.com mail is handled (pri=10) by mail.43things.com
I have the same problem with, for example docs.freebsd.org but not 
www.freebsd.org.

The only thing I've changed on the nameserver is adding a few unrelated 
zones in named.conf, and an upgrade from 4.10 to 4.11-p2, then to 
4.11-p4.

Clients show the same behavior, the box running the nameserver, the 
rest of the 4.11-p2 machines, and OS X 10.3.9.  (OS X tries an A lookup 
first, then tries a  lookup.  The  has the same multiple 
request problem.)

I've tried both INET6 and INET6-less kernel with no effect (it was one 
of the things that has recently changed), and as far as I can tell, I 
can't disable  lookups with the resolver in libc on 4.x.

Relevent uname/named version output for the machines at the bottom.
Here's a packet trace of the offending behavior.  RUR-1 and 
192.168.1.11 are the same machine.

Using the local nameserver:
11:40:22.970554 RUR-1.coop.robotcoop.com.2525  
RUR-5.coop.robotcoop.com.domain:  13450+ ? www.43things.com. (34)
11:40:22.983842 RUR-5.coop.robotcoop.com.domain  
RUR-1.coop.robotcoop.com.2525:  13450 0/0/0 (30)

... many times until finally:
11:41:38.256714 RUR-1.coop.robotcoop.com.4313  
RUR-5.coop.robotcoop.com.domain:  13451+ A? www.43things.com. (34)
11:41:38.257715 RUR-5.coop.robotcoop.com.domain  
RUR-1.coop.robotcoop.com.4313:  13451 2/13/13 CNAME 43things.com., 
(483)

where the connection completes.
Same with docs.freebsd.org:
14:02:58.325712 RUR-1.coop.robotcoop.com.2264  
RUR-5.coop.robotcoop.com.domain:  29045+ ? docs.freebsd.org. (34)
14:02:58.337935 RUR-5.coop.robotcoop.com.domain  
RUR-1.coop.robotcoop.com.2264:  29045 0/0/0 (33)

...
14:04:13.392256 RUR-1.coop.robotcoop.com.4309  
RUR-5.coop.robotcoop.com.domain:  29046+ A? docs.freebsd.org. (34)
14:04:13.393296 RUR-5.coop.robotcoop.com.domain  
RUR-1.coop.robotcoop.com.4309:  29046 2/13/13 CNAME www.freebsd.org., 
(487)

But with a domain that points to an A:
14:06:12.686424 RUR-1.coop.robotcoop.com.2833  
RUR-5.coop.robotcoop.com.domain:  61817+ ? 43things.com. (30)
14:06:12.698061 RUR-5.coop.robotcoop.com.domain  
RUR-1.coop.robotcoop.com.2833:  61817 0/0/0 (30)
14:06:12.698350 RUR-1.coop.robotcoop.com.gridgen-elmd  
RUR-5.coop.robotcoop.com.domain:  61818+ A? 43things.com. (30)
14:06:12.699202 RUR-5.coop.robotcoop.com.domain  
RUR-1.coop.robotcoop.com.gridgen-elmd:  61818 1/13/13 A 
www.43things.com (465)

Using our ISP's nameserver:
11:42:54.267003 192.168.1.11.3502  dns.sea1.speakeasy.net.domain:  
210+ ? www.43things.com. (34)
11:42:54.279814 dns.sea1.speakeasy.net.domain  192.168.1.11.3502:  210 
1/0/0 CNAME 43things.com. (48)
11:42:54.279883 192.168.1.11.3096  dns.sea1.speakeasy.net.domain:  
211+ A? www.43things.com. (34)
11:42:54.294253 dns.sea1.speakeasy.net.domain  192.168.1.11.3096:  211 
2/0/0 CNAME 43things.com., (64)

and the connection completes immediately.
The client fails with both a kernel without INET6:
$ uname -a
FreeBSD RUR-1.coop.robotcoop.com 4.11-RELEASE-p2 FreeBSD 
4.11-RELEASE-p2 #3: Tue Apr 12 23:37:44 PDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RUR  i386

and a kernel with INET6:
$ uname -a
FreeBSD RUR-1.coop.robotcoop.com 4.11-RELEASE-p4 FreeBSD 
4.11-RELEASE-p4 #4: Mon Apr 25 12:27:21 PDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RUR  i386

The server running named is:
$ uname -a
FreeBSD RUR-5.coop.robotcoop.com 4.11-RELEASE-p4 FreeBSD 
4.11-RELEASE-p4 #2: Fri Apr 22 16:34:41 PDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/RUR  i386
$ named -v
named 8.3.7-REL Fri Apr 22 16:07:00 PDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/usr.sbin/named

And it breaks even with an INET6 kernel:
$ uname -a
FreeBSD RUR-5.coop.robotcoop.com 4.11-RELEASE-p4 FreeBSD 
4.11-RELEASE-p4 #3: Mon Apr 25 12:44:36 PDT 2005 
[EMAIL 

Re: subbfont.ttf, missing.

2005-04-25 Thread Alejandro Pulver
On Mon, 25 Apr 2005 13:20:40 -0700
Gary Kline [EMAIL PROTECTED] wrote:
  I watch downloaded movies (in fact, I only saw the Lord Of The Rings
  trailer, some AVIs outputed by a SEGA genesis emuator that I
  reencoded with mencoder and a few more).
 
   You've got to have a fast connection!  I live around 20 km
   from downtown Seattle but the fastest link here is ISDL.
   ... .

I have a cable modem of 512 K.

  
  Does it crash with the plugin or alone? Does it crash when you are
  watching a movie (can you watch that movie with another player, for
  example xine)?
 
   I was using mplayer-plugin.  Now I'm trying to use
   gmplayer with http://  to listen to an audio stream.
   I've rebuilt mplayer with new configure [--args] and now
   the err is that it [gmplayer] sees a bad header.  So
   evidently there are more knobs/options to use.  I've 
   tried xine; don't remember if it worked.   
 
   Do you know if there are any FreeBSD ports that use the
   win32 codecs for just-plain-audio?  On my RH system I
   think the realplayer-10 has the option of playing 
   Windoze-Media ...  Or maybe I was dreaming!!  
   It would be so much simpler if every radio or television
   used Real.  But no so.
 

Real Player 10 is available in ports.

The only ports that use win32-codecs are:

multimedia/avifile
multimedia/mplayer
multimedia/mplayerxp
multimedia/xine
multimedia/xmps-win32-plugin

As outputed by:

find /usr/ports -type f -name Makefile -exec fgrep \
'win32-codecs' /dev/null {} \;

I visited MPlayer and Xine websites and they seem to support streaming
(maybe Xine works??).

Good Luck.

P.S.: please CC to the list.

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]


Fbsd 5.4rc3 sshd in jail won`t start

2005-04-25 Thread Casper
Hi,
 I setup jail in 5.4rc3 with all last updates. I have problem that jail 
won`t start sshd.:
# jls
   JID  IP Address  Hostname  Path
 1  192.168.10.1mail  /jail/mail
# ps ax | grep J
  432  ??  SsJ0:00.01 /usr/sbin/syslogd -ss
  484  ??  SsJ0:00.01 /usr/sbin/cron -s

I have configured rc.conf in jail to start sshd at boot and sshd_config 
that it listen only 192.168.10.1 ip.
# jexec 1 /usr/sbin/sshd
PRNG is not seeded

I readed that there must be in kernel device random, what I have.
But I don`t have in jail dev directory rand* or smth.
I have readed many times many Jail how to, but could not understand why 
jail won`t start sshd. Can somebody help?

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


Re: Fbsd 5.4rc3 sshd in jail won`t start

2005-04-25 Thread Kris Kennaway
On Tue, Apr 26, 2005 at 01:15:51AM +0300, Casper wrote:
 
 Hi,
 
  I setup jail in 5.4rc3 with all last updates. I have problem that jail 
 won`t start sshd.:
 # jls
JID  IP Address  Hostname  Path
  1  192.168.10.1mail  /jail/mail
 # ps ax | grep J
   432  ??  SsJ0:00.01 /usr/sbin/syslogd -ss
   484  ??  SsJ0:00.01 /usr/sbin/cron -s
 
 I have configured rc.conf in jail to start sshd at boot and sshd_config 
 that it listen only 192.168.10.1 ip.
 # jexec 1 /usr/sbin/sshd
 PRNG is not seeded
 
 I readed that there must be in kernel device random, what I have.
 But I don`t have in jail dev directory rand* or smth.

So mount devfs in it.  See the jail manpage.

Kris


pgpX91zabgvfG.pgp
Description: PGP signature


RE: 5.8TB RAID5 SATA Array Questions - UPDATE

2005-04-25 Thread Edgar Martinez
No flaming here, when dealing with projects this big, you cannot be bias
obviously because generally it is someone else's time and money that is on
the line. Thanks for the info, I didn't know the whole second array thing,
that would explain some of the weirdness that I have been seeing. 

-Original Message-
From: Brent Wiese [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 25, 2005 12:54 PM
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: 5.8TB RAID5 SATA Array Questions - UPDATE

 Any one else think they know of a better method??

Well, I'm probably going to get totally flamed for this, but since you
asked...

The better method is to install Windows 2003 Server. Assemble your drives
into 2TB or less RAID5 volumes (btw, you only want 1 per 3Ware card, more on
that in a second) and use Windows 2003 to span those volumes. It'll show up
as one drive after that. There is some limit, but I can't remember what it
is. Its huge though.

And in case you didn't know, 3Ware cards are only speed-optimized for the
first array. Subsequent arrays on a card run painfully slow. They won't say
it in any of their lit, but if you corner their support people, they'll
admit it (it obvious if you try it).

Sorry to mention M$ here, but it sounds like you invested incredible amounts
of time, and even Windows 2003 can be cheaper than your time at some point.



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


Re: 5.8TB RAID5 SATA Array Questions - UPDATE

2005-04-25 Thread Tomas Quintero
I am almost a bit curious why you didn't go with a Microsoft based
solution in a situation like this, where you are needing to provide
SMB based file sharing to obviously Windows client desktops.

Another solution would be to setup a dedicated NAS of some sort. But I
suppose it's too late for all of that.

On 4/25/05, Edgar Martinez [EMAIL PROTECTED] wrote:
 No flaming here, when dealing with projects this big, you cannot be bias
 obviously because generally it is someone else's time and money that is on
 the line. Thanks for the info, I didn't know the whole second array thing,
 that would explain some of the weirdness that I have been seeing.
 
 -Original Message-
 From: Brent Wiese [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 25, 2005 12:54 PM
 To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
 Subject: RE: 5.8TB RAID5 SATA Array Questions - UPDATE
 
  Any one else think they know of a better method??
 
 Well, I'm probably going to get totally flamed for this, but since you
 asked...
 
 The better method is to install Windows 2003 Server. Assemble your drives
 into 2TB or less RAID5 volumes (btw, you only want 1 per 3Ware card, more on
 that in a second) and use Windows 2003 to span those volumes. It'll show up
 as one drive after that. There is some limit, but I can't remember what it
 is. Its huge though.
 
 And in case you didn't know, 3Ware cards are only speed-optimized for the
 first array. Subsequent arrays on a card run painfully slow. They won't say
 it in any of their lit, but if you corner their support people, they'll
 admit it (it obvious if you try it).
 
 Sorry to mention M$ here, but it sounds like you invested incredible amounts
 of time, and even Windows 2003 can be cheaper than your time at some point.
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


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


Connecting to the Internet

2005-04-25 Thread Broming plutonium
Hello everyone...for the first time.
 
 I have two computers. I very recently installed FreeBSD on my first computer 
because the operating system it used to have, Microsoft Windows, was infected 
by so many viruses that my computer took a million years to open a program. 
 
I've only had 2 days of experience with FreeBSD, so I don't know anything about 
it. How do I connect it to the Internet using Ethernet? My computer seemed to 
be telling me it had three network interfaces. I'm guessing that the ones 
called plip0 and ppp0 are all wrong; sl0 is the right one. 
 
FreeBSD tries to establish an Internet connection on plip0 every time it boots. 
How do I change that to sl0?  How do I tell it to tell DHCP server to assign 
IP address xxx.xxx.xxx.xxx on subnet mask xxx.xxx.xxx.xxx USING the sl0 network 
interface?
 
What do I have to do to establish an Internet connection? Any help would be 
appreciated. Thanks!



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


RE: 5.8TB RAID5 SATA Array Questions - UPDATE

2005-04-25 Thread Edgar Martinez
Easy answer...the desktops are actually not windows based...they are Apple
OSX / Linux systems...SMB is just for the transient Windows based systems
that will need to access the array, but do not run NFS.

-Original Message-
From: Tomas Quintero [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 25, 2005 6:06 PM
To: [EMAIL PROTECTED]
Cc: Brent Wiese; freebsd-questions@freebsd.org
Subject: Re: 5.8TB RAID5 SATA Array Questions - UPDATE

I am almost a bit curious why you didn't go with a Microsoft based
solution in a situation like this, where you are needing to provide
SMB based file sharing to obviously Windows client desktops.

Another solution would be to setup a dedicated NAS of some sort. But I
suppose it's too late for all of that.

On 4/25/05, Edgar Martinez [EMAIL PROTECTED] wrote:
 No flaming here, when dealing with projects this big, you cannot be bias
 obviously because generally it is someone else's time and money that is on
 the line. Thanks for the info, I didn't know the whole second array thing,
 that would explain some of the weirdness that I have been seeing.
 
 -Original Message-
 From: Brent Wiese [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 25, 2005 12:54 PM
 To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
 Subject: RE: 5.8TB RAID5 SATA Array Questions - UPDATE
 
  Any one else think they know of a better method??
 
 Well, I'm probably going to get totally flamed for this, but since you
 asked...
 
 The better method is to install Windows 2003 Server. Assemble your drives
 into 2TB or less RAID5 volumes (btw, you only want 1 per 3Ware card, more
on
 that in a second) and use Windows 2003 to span those volumes. It'll show
up
 as one drive after that. There is some limit, but I can't remember what it
 is. Its huge though.
 
 And in case you didn't know, 3Ware cards are only speed-optimized for the
 first array. Subsequent arrays on a card run painfully slow. They won't
say
 it in any of their lit, but if you corner their support people, they'll
 admit it (it obvious if you try it).
 
 Sorry to mention M$ here, but it sounds like you invested incredible
amounts
 of time, and even Windows 2003 can be cheaper than your time at some
point.
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 


-- 
-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: 5.8TB RAID5 SATA Array Questions - UPDATE

2005-04-25 Thread Tomas Quintero
Ah my mistake, I hadn't read all of what was said in its entirety.

On 4/25/05, Edgar Martinez [EMAIL PROTECTED] wrote:
 Easy answer...the desktops are actually not windows based...they are Apple
 OSX / Linux systems...SMB is just for the transient Windows based systems
 that will need to access the array, but do not run NFS.
 
 -Original Message-
 From: Tomas Quintero [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 25, 2005 6:06 PM
 To: [EMAIL PROTECTED]
 Cc: Brent Wiese; freebsd-questions@freebsd.org
 Subject: Re: 5.8TB RAID5 SATA Array Questions - UPDATE
 
 I am almost a bit curious why you didn't go with a Microsoft based
 solution in a situation like this, where you are needing to provide
 SMB based file sharing to obviously Windows client desktops.
 
 Another solution would be to setup a dedicated NAS of some sort. But I
 suppose it's too late for all of that.
 
 On 4/25/05, Edgar Martinez [EMAIL PROTECTED] wrote:
  No flaming here, when dealing with projects this big, you cannot be bias
  obviously because generally it is someone else's time and money that is on
  the line. Thanks for the info, I didn't know the whole second array thing,
  that would explain some of the weirdness that I have been seeing.
 
  -Original Message-
  From: Brent Wiese [mailto:[EMAIL PROTECTED]
  Sent: Monday, April 25, 2005 12:54 PM
  To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
  Subject: RE: 5.8TB RAID5 SATA Array Questions - UPDATE
 
   Any one else think they know of a better method??
 
  Well, I'm probably going to get totally flamed for this, but since you
  asked...
 
  The better method is to install Windows 2003 Server. Assemble your drives
  into 2TB or less RAID5 volumes (btw, you only want 1 per 3Ware card, more
 on
  that in a second) and use Windows 2003 to span those volumes. It'll show
 up
  as one drive after that. There is some limit, but I can't remember what it
  is. Its huge though.
 
  And in case you didn't know, 3Ware cards are only speed-optimized for the
  first array. Subsequent arrays on a card run painfully slow. They won't
 say
  it in any of their lit, but if you corner their support people, they'll
  admit it (it obvious if you try it).
 
  Sorry to mention M$ here, but it sounds like you invested incredible
 amounts
  of time, and even Windows 2003 can be cheaper than your time at some
 point.
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 --
 -Tomas Quintero
 
 


-- 
-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: Connecting to the Internet

2005-04-25 Thread Tomas Quintero
On 4/25/05, Broming plutonium [EMAIL PROTECTED] wrote:
 Hello everyone...for the first time.
 
 I have two computers. I very recently installed FreeBSD on my first computer 
 because the operating system it used to have, Microsoft Windows, was infected 
 by so many viruses that my computer took a million years to open a program.
 
 I've only had 2 days of experience with FreeBSD, so I don't know anything 
 about it. How do I connect it to the Internet using Ethernet? My computer 
 seemed to be telling me it had three network interfaces. I'm guessing that 
 the ones called plip0 and ppp0 are all wrong; sl0 is the right one.
 
 FreeBSD tries to establish an Internet connection on plip0 every time it 
 boots. How do I change that to sl0?  How do I tell it to tell DHCP server to 
 assign IP address xxx.xxx.xxx.xxx on subnet mask xxx.xxx.xxx.xxx USING the 
 sl0 network interface?
 
 What do I have to do to establish an Internet connection? Any help would be 
 appreciated. Thanks!

Firstly, by telling the DHCP server to assign a static-IP address to a
specific system on the network, what sort of DHCP server are you
speaking of. Are you asking about your ISPs DHCP, a
Linksys/Dlink/other SOHO DHCP device, or are you attempting to setup
your own internal DHCP server such as ISC-DHCP for your LAN.

Secondly, the quick and easy way to change around things so that sl0
pulls an IP is to run /stand/sysinstall and reconfigure your Network
Interfaces. You could also edit rc.conf manually and set up the sl0
interface that way, to either pull a static or dynamic IP.

Is sl0 internal or external? Is the FreeBSD box going to NAT for your
second computer?

-- 
-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: Connecting to the Internet

2005-04-25 Thread David Kelly
On Mon, Apr 25, 2005 at 07:07:35PM -0400, Broming plutonium wrote:
  
 I've only had 2 days of experience with FreeBSD, so I don't know
 anything about it. How do I connect it to the Internet using Ethernet?
 My computer seemed to be telling me it had three network interfaces.
 I'm guessing that the ones called plip0 and ppp0 are all wrong; sl0 is
 the right one. 
  
 FreeBSD tries to establish an Internet connection on plip0 every time
 it boots. How do I change that to sl0?  How do I tell it to tell DHCP
 server to assign IP address xxx.xxx.xxx.xxx on subnet mask
 xxx.xxx.xxx.xxx USING the sl0 network interface?

You say nothing about what version of FreeBSD, nor what you did during
installation. plip0, ppp0, nor sl0 are ethernet interfaces, they are
rarely used in this day and age of dirt cheap ethernet.

You don't say whether or not X is running or whether you are still in a
text terminal. Either way, open a command shell and type ifconfig to
see what interfaces your kernel sees.

Another thing to play with is sysinstall, the same utility which runs
when one boots off the CD can be used while the system is running. You
might wish to use it to play with and disable plip0, and look for an
ethernet interface.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: looking for a good sata or scsi raid 0/1 controller

2005-04-25 Thread Mike Tancsa
On Mon, 25 Apr 2005 12:22:15 +0200, in sentex.lists.freebsd.hardware
you wrote:

Hello,

I'm looking for a good raid controller, with good driver support, 
something I could really rely on !


I have some problems with my 3ware 8006-2 on freebsd 5.3 branch. 
Actually the box is a p4-3000 hyperthreaded, the 3ware card is running 
raid1 with 2 maxtor 80go drives. Acually the traffic on the card is less 
than 2 MB/s.


When the number of transactions/s a value around 70, the controller 
seems to lag, the average time par transaction can be more than 10 
seconds ! The box also reboot at random intervals giving no messages in 
the logs.

I have a couple of 3ware cards on RELENG_5 and they dont show such
behaviour under load.  I would start by turning off Hyperthreading as
that only really works if you are using the ULE scheduler and thats
broken under RELENG_5.  Try rebuilding a uniprocessor kernel and see
if the problem is still there.  Also, enable crash dumps on the box to
see if it's a bug or not.  Rarely have I seen random reboots with no
crash dump be a software issue.  See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html
for info on how to enable crash dumps.

I would also update to 5.4 as there are a number of bug fixes you
might benefit from depending on how old your build is.  

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: EM driver and Intel Pro 1000 MT (A78408-008)

2005-04-25 Thread Mike Tancsa
On Mon, 25 Apr 2005 16:50:02 -0400, in sentex.lists.freebsd.net you
wrote:

FreeBSD firewall.mikej.com 5.4-RC3 FreeBSD 5.4-RC3 #5: Sun Apr 24 19:18:40 EDT 
2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FIREWALL  i386

em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 
port 0xef00-0xef3f mem 0xfeba-0xfebb,0xfebc-0xfebd irq 18 at 
device 18.0 on pci0

I got several of these card which I have put in FreeBSD/Windows machines.  

Under FreeBSD 5.4-RC3 I can not get the card to run at GB.

I think I have the same cards.

[nfs]% grep ^em /var/run/dmesg.boot 
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port
0xd100-0xd13f mem 0xfb00-0xfb01,0xfb02-0xfb03 irq 19
at device 9.0 on pci1
em0: Ethernet address: 00:0e:0c:5d:f7:c0
em0:  Speed:N/A  Duplex:N/A
em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port
0xd200-0xd23f mem 0xfb06-0xfb07,0xfb04-0xfb05 irq 18
at device 10.0 on pci1
em1: Ethernet address: 00:0e:0c:5d:f7:c6
em1:  Speed:N/A  Duplex:N/A
em1: Link is up 1000 Mbps Full Duplex
em0: Link is up 100 Mbps Full Duplex

What happens when you do 
ifconfig em0 media autoselect
?
Also, can you post the full output of ifconfig em0 so that it shows
the various flags set ?

e.g.
[nfs]% ifconfig em1
em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=bRXCSUM,TXCSUM,VLAN_MTU
inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255
ether 00:0e:0c:5d:f7:c6
media: Ethernet autoselect (1000baseTX full-duplex)
status: active
[nfs]% uname -a
FreeBSD nfs.sentex.ca 5.4-STABLE FreeBSD 5.4-STABLE #3: Sun Apr 24
15:01:15 EDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/nfs
i386
[nfs]% 

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bootable CD with Custom Kernel

2005-04-25 Thread Mike Tancsa
On Mon, 25 Apr 2005 13:24:34 -0400, in sentex.lists.freebsd.questions
you wrote:



check out (sysutils/freesbie) from port collection.

As well as /usr/src/tools/tools/nanobsd.  Instead of a CD, we do it
via USB key.

---Mike


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 11:30 AM
To: freebsd-questions@freebsd.org
Subject: Bootable CD with Custom Kernel


Is it possible to create a bootable CD with a custom kernel for
FreeBSD?

I maintain several servers in remote locations  and rather than
drive
whenever there is an update, I would prefer to just simply send the
offices a bootable CD with the new software.  So, all they would
have to
do is restart the server with the new CD and the software/operating
system/whatever is updated.

On the CD I can see having the kernel, /sbin and /bin directories,
with
the remainder of the directories (i.e. /var, /etc, etc.) remaining
on the
hard drive.

I'd appreciate any direction anyone can give me regarding this.

Thanks in advance for your assistance.


Jay

___
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]


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hyperthreading and schedulers [was Re: looking for a good sata or scsi raid 0/1 controller]

2005-04-25 Thread Glenn Dawson
At 05:33 PM 4/25/2005, Mike Tancsa wrote:
I would start by turning off Hyperthreading as
that only really works if you are using the ULE scheduler and thats
broken under RELENG_5.
I haven't noticed this mentioned before.  Is using an SMP kernel on a 
system with a single P4 and SCHED_4BSD a waste of time? Is it 
detrimental?  I've never noticed any problems myself, but I never went 
looking for any either.

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


Re: named/AAAA/resolver not failing correctly with CNAME

2005-04-25 Thread Eric Hodel
On 25 Apr 2005, at 14:09, Eric Hodel wrote:
Starting last week,  queries for domains are not failing 
correctly when the domain being looked up is a CNAME for an A record.

Instead of getting back a response indicating there is no  record, 
the resolver continues to look for a  record until a timeout (a 
minute or so), where it then switches to looking for an A record, 
which is found immediately (as a CNAME).
Here it is even more simply, the first query should give something like 
the third.

$ host -t  www.43things.com
$ host -t  www.43things.com dns.sea1.speakeasy.net
Using domain server:
Name: dns.sea1.speakeasy.net
Address: 66.93.87.2#53
Aliases:
www.43things.com is an alias for 43things.com.
$ host -t A www.43things.com
www.43things.com is an alias for 43things.com.
43things.com has address 65.61.137.67
$ host -t A www.43things.com dns.sea1.speakeasy.net
Using domain server:
Name: dns.sea1.speakeasy.net
Address: 66.93.87.2#53
Aliases:
www.43things.com is an alias for 43things.com.
43things.com has address 65.61.137.67
--
Eric Hodel - [EMAIL PROTECTED] - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UPDATING on AMD Processor

2005-04-25 Thread Joel
 [...]
(B  When it comes to the Intel platform, I can always find my way around,
(B  but in this one case of AMD, I am purely clueless. I don't even know
(B  what keyword to search for in the handbook, FAQ, google.
(B 
(B  Attached you will find the dmesg output of an oldish box on which I
(B  just installed FreeBSD 5.x, and I would like to:
(B
(BSome people like dmesgs as attachments. I guess I'm kind of odd. I'd
(Brather have the dmesg text just pasted in, like this:
(B
(B Copyright (c) 1992-2004 The FreeBSD Project.
(B Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
(B   The Regents of the University of California. All rights reserved.
(B FreeBSD 5.3-RC2 #0: Sun Oct 31 08:32:33 UTC 2004
(B [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
(B Timecounter "i8254" frequency 1193182 Hz quality 0
(B CPU: AMD-K6(tm) 3D processor (451.03-MHz 586-class CPU)
(B   Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
(B   Features=0x8021bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
(B   AMD Features=0x8800SYSCALL,3DNow!
(B real memory  = 134217728 (128 MB)
(B avail memory = 121696256 (116 MB)
(B K6-family MTRR support enabled (2 registers)
(B npx0: [FAST]
(B npx0: math processor on motherboard
(B npx0: INT 16 interface
(B pcib0: Host to PCI bridge pcibus 0 on motherboard
(B pir0: PCI Interrupt Routing Table: 8 Entries on motherboard
(B pci0: PCI bus on pcib0
(B $PIR: No matching entry for 0.7.INTD
(B agp0: VIA 82C597 (Apollo VP3) host to PCI bridge mem 0xe000-0xe3ff 
(B at device 0.0 on pci0
(B pcib1: PCI-PCI bridge at device 1.0 on pci0
(B pci1: PCI bus on pcib1
(B $PIR: ROUTE_INTERRUPT failed.
(B
(BAny idea what happened there? Have you checked the jumpers and BIOS
(Bsettings?
(B
(B pci1: display, VGA at device 0.0 (no driver attached)
(B
(BWhat about this? have you been able to identify the video controller?
(B
(B isab0: PCI-ISA bridge at device 7.0 on pci0
(B isa0: ISA bus on isab0
(B atapci0: VIA 82C586B UDMA33 controller port 
(B 0xe800-0xe80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
(B ata0: channel #0 on atapci0
(B ata1: channel #1 on atapci0
(B uhci0: VIA 83C572 USB controller port 0xe000-0xe01f irq 10 at device 7.2 on 
(B pci0
(B uhci0: [GIANT-LOCKED]
(B usb0: VIA 83C572 USB controller on uhci0
(B usb0: USB revision 1.0
(B uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
(B uhub0: 2 ports with 2 removable, self powered
(B rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem 0xe610-0xe61000ff 
(B irq 9 at device 12.0 on pci0
(B miibus0: MII bus on rl0
(B rlphy0: RealTek internal media interface on miibus0
(B rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
(B rl0: Ethernet address: 00:e0:4c:45:0c:c4
(B pcib2: PCI-PCI bridge at device 19.0 on pci0
(B pci2: PCI bus on pcib2
(B $PIR: ROUTE_INTERRUPT failed.
(B $PIR: ROUTE_INTERRUPT failed.
(B $PIR: ROUTE_INTERRUPT failed.
(B
(BAgain, any idea why this is happening?
(B
(B vr0: VIA VT6105M Rhine III 10/100BaseTX port 0xd000-0xd0ff mem 
(B 0xe600-0xe6ff irq 12 at device 8.0 on pci2
(B miibus1: MII bus on vr0
(B ukphy0: Generic IEEE 802.3u media interface on miibus1
(B ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
(B vr0: Ethernet address: 00:0c:42:02:16:27
(B vr1: VIA VT6105M Rhine III 10/100BaseTX port 0xd400-0xd4ff mem 
(B 0xe6001000-0xe60010ff irq 5 at device 9.0 on pci2
(B miibus2: MII bus on vr1
(B ukphy1: Generic IEEE 802.3u media interface on miibus2
(B ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
(B vr1: Ethernet address: 00:0c:42:02:16:28
(B vr2: VIA VT6105M Rhine III 10/100BaseTX port 0xd800-0xd8ff mem 
(B 0xe6002000-0xe60020ff irq 11 at device 10.0 on pci2
(B miibus3: MII bus on vr2
(B ukphy2: Generic IEEE 802.3u media interface on miibus3
(B ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
(B vr2: Ethernet address: 00:0c:42:02:16:29
(B vr3: VIA VT6105M Rhine III 10/100BaseTX port 0xdc00-0xdcff mem 
(B 0xe6003000-0xe60030ff irq 9 at device 11.0 on pci2
(B miibus4: MII bus on vr3
(B ukphy3: Generic IEEE 802.3u media interface on miibus4
(B ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
(B vr3: Ethernet address: 00:0c:42:02:16:2a
(B cpu0 on motherboard
(B orm0: ISA Option ROM at iomem 0xc-0xcbfff on isa0
(B pmtimer0 on isa0
(B atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
(B atkbd0: AT Keyboard irq 1 on atkbdc0
(B kbd0 at atkbd0
(B atkbd0: [GIANT-LOCKED]
(B fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
(B fdc0: [FAST]
(B fd0: 1440-KB 3.5" drive on fdc0 drive 0
(B ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
(B ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
(B ppbus0: Parallel port bus on ppc0
(B plip0: PLIP network interface on ppbus0
(B lpt0: Printer on ppbus0
(B lpt0: Interrupt-driven port
(B ppi0: Parallel I/O on ppbus0
(B sc0: 

Questions about processes

2005-04-25 Thread Lord Raiden
Hi all.  Looking for some info about some processes I've got 
running on my box.  I'm new to 5.3 having used the 4x line for a long time 
and I'm curious about my process list.  When I do ps -ax I get the 
following list as seen below.  Are all of these items really needed and if 
not, what items can I get rid of and how?  The machine in question is a 
very simple fetching mail server running on a 500mhz Via Eden Mini-ITX 
board.  Any insight would be welcome.  I'm really only asking this because 
I tend to be a process minimalist.  IE I like to have as few processes 
running as is absolutely necessary.  Well, anyways, enough of my 
babbling.  Here's the list.

0  ??  DLs0:00.56 [swapper]
1  ??  ILs0:00.04 /sbin/init --
2  ??  DL 0:12.09 [g_event]
3  ??  DL 0:13.98 [g_up]
4  ??  DL 0:17.21 [g_down]
5  ??  DL 0:00.00 [thread taskq]
6  ??  DL 0:00.00 [kqueue taskq]
7  ??  IL 0:00.00 [acpi_task0]
8  ??  IL 0:00.00 [acpi_task1]
9  ??  IL 0:00.00 [acpi_task2]
   10  ??  DL 0:00.00 [ktrace]
   11  ??  RL   2889:39.85 [idle]
   12  ??  WL 0:00.00 [irq0: clk]
   13  ??  WL 0:00.00 [irq1: atkbd0]
   14  ??  WL 0:00.00 [irq3:]
   15  ??  WL 0:00.00 [irq4: sio0]
   16  ??  WL 0:00.00 [irq5:]
   17  ??  WL 0:00.00 [irq6:]
   18  ??  WL 0:00.00 [irq7: ppc0]
   19  ??  WL 0:00.00 [irq8: rtc]
   20  ??  WL 0:00.00 [irq9:]
   21  ??  WL 0:00.00 [irq10: uhci0 uhci1]
   22  ??  WL 0:01.12 [irq11: vr0]
   23  ??  WL 0:00.00 [irq12: acpi0]
   24  ??  WL 0:00.00 [irq13:]
   25  ??  WL 0:01.86 [irq14: ata0]
   26  ??  WL 0:00.00 [irq15: ata1]
   27  ??  WL 0:01.20 [swi1: net]
   28  ??  WL 3:55.06 [swi5: clock sio]
   29  ??  WL 0:00.00 [swi4: vm]
   30  ??  DL 0:13.88 [yarrow]
   31  ??  WL 0:00.00 [swi6:+]
   32  ??  WL 0:00.00 [swi2: camnet]
   33  ??  WL 0:00.00 [swi3: cambio]
   34  ??  WL 0:00.00 [swi6: acpitaskq]
   35  ??  WL 0:00.00 [swi6: task queue]
   36  ??  WL 0:00.00 [swi6:+]
   37  ??  DL 1:21.80 [acpi_thermal]
   38  ??  DL 0:00.03 [usb0]
   39  ??  DL 0:00.00 [usbtask]
   40  ??  DL 0:00.03 [usb1]
   41  ??  WL 0:00.00 [swi0: sio]
   42  ??  DL 0:11.71 [pagedaemon]
   43  ??  DL 0:00.00 [vmdaemon]
   44  ??  DL 0:12.99 [pagezero]
   45  ??  DL 0:01.53 [bufdaemon]
   46  ??  DL 2:05.27 [syncer]
   47  ??  DL 0:01.51 [vnlru]
   48  ??  DL 0:00.71 [hpt_wt]
   49  ??  IL 0:00.00 [nfsiod 0]
   50  ??  IL 0:00.00 [nfsiod 1]
   51  ??  IL 0:00.00 [nfsiod 2]
   52  ??  IL 0:00.00 [nfsiod 3]
   53  ??  DL 0:15.77 [schedcpu]
  178  ??  Is 0:00.00 adjkerntz -i
  234  ??  Is 0:00.00 /sbin/devd
(sshd, spamd and other standard mail stuff running below here)
Steven Lake
-Owner/Webmaster
Raiden's Realm
www.raiden.net
Come see Monk the comic strip and laugh till you die!  :)
http://www.raiden.net/Monk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to the Internet

2005-04-25 Thread Broming plutonium
 Firstly, by telling the DHCP server to assign a static-IP address to a
 specific system on the network, what sort of DHCP server are you
 speaking of. Are you asking about your ISPs DHCP, a
 Linksys/Dlink/other SOHO DHCP device, or are you attempting to setup
 your own internal DHCP server such as ISC-DHCP for your LAN.
 
Sorry--my DHCP server is a Linksys router which is supposed to assign an 
internal IP address automatically, whenever a computer asks for it. 
 
 Secondly, the quick and easy way to change around things so that sl0
 pulls an IP is to run /stand/sysinstall and reconfigure your Network
 Interfaces.
 
Umm...how do I do that again? Do I just go to /stand/sysinstall, click on 
Index, and click on Network Interfaces? What do I put down for the host and 
domain? The host is the computer name, I suppose, but I don't think I assigned 
my LAN a domain. I accidentally put something for the domain, and now I can't 
erase it because whenever I leave a textbox my computer automatically refills 
it with what I wrote earlier. In fact, I can't change any settings because it 
will refill itself whenever I try to.
 
 You could also edit rc.conf manually and set up the sl0
 interface that way, to either pull a static or dynamic IP.

I tried that a minute ago, but it only got me into even deeper trouble. I'm so 
careless that I forgot to put a quote, and now my computer wouldn't boot 
properly. It only allows me to log on as a single user, and has #  thing 
instead of $ or computername: 
 
How do I open a text editor to edit the rc.conf file while I'm not logged in (I 
don't think so), and while every command has # in front of it? vi wouldn't 
work, and view and ex don't work either. I also have a copy of the original 
rc.conf file; how do I dump the data into the current rc.conf file which is 
driving me crazy because I made an error in it?
 
 Is sl0 internal or external? Is the FreeBSD box going to NAT for your
 second computer?

I don't know--I think sl0 is the network card, and if I'm right it's internal. 
Also, I'll be 80 when I even dare to think about making FreeBSD NAT for my 
other computer. My Linksys router is the NAT router for all my computers.  
 

Tomas Quintero [EMAIL PROTECTED] wrote:
On 4/25/05, Broming plutonium wrote:
 Hello everyone...for the first time.
 
 I have two computers. I very recently installed FreeBSD on my first computer 
 because the operating system it used to have, Microsoft Windows, was infected 
 by so many viruses that my computer took a million years to open a program.
 
 I've only had 2 days of experience with FreeBSD, so I don't know anything 
 about it. How do I connect it to the Internet using Ethernet? My computer 
 seemed to be telling me it had three network interfaces. I'm guessing that 
 the ones called plip0 and ppp0 are all wrong; sl0 is the right one.
 
 FreeBSD tries to establish an Internet connection on plip0 every time it 
 boots. How do I change that to sl0? How do I tell it to tell DHCP server to 
 assign IP address xxx.xxx.xxx.xxx on subnet mask xxx.xxx.xxx.xxx USING the 
 sl0 network interface?
 
 What do I have to do to establish an Internet connection? Any help would be 
 appreciated. Thanks!

Firstly, by telling the DHCP server to assign a static-IP address to a
specific system on the network, what sort of DHCP server are you
speaking of. Are you asking about your ISPs DHCP, a
Linksys/Dlink/other SOHO DHCP device, or are you attempting to setup
your own internal DHCP server such as ISC-DHCP for your LAN.

Secondly, the quick and easy way to change around things so that sl0
pulls an IP is to run /stand/sysinstall and reconfigure your Network
Interfaces. You could also edit rc.conf manually and set up the sl0
interface that way, to either pull a static or dynamic IP.

Is sl0 internal or external? Is the FreeBSD box going to NAT for your
second computer?

-- 
-Tomas Quintero



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


Re: tcpwrappers problem

2005-04-25 Thread Doug White
On Mon, 18 Apr 2005, Didier Wiroth wrote:

 Hi,
 (using freebsd5.4-stable)

 I'm trying to display a ftpd banner with hosts.allow, but it doesn't work.

 I'm using ftpd (/usr/libexec/ftpd) started through inetd.
 Ined is started with standard flags:
 /usr/sbin/inetd -wW -C 60

 In hosts.allow I have:
 ALL : ALL : allow
 ALL : ALL : banners /usr/local/etc/banners/
 ALL : PARANOID : RFC931 20 : deny

I wouldn't use tcpwrapper banners if you're doing more than just bitching
out the user before kicking them off. Some FTP clients will just ignore
your banner since it won't conform to the FTP protocol specification.

If you want it to display when the user logs into your FTP server, put it
in /etc/ftpmotd. If you want your telnet client to see it, put it in
/etc/motd.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hyperthreading and schedulers [was Re: looking for a good sata or scsi raid 0/1 controller]

2005-04-25 Thread Mike Tancsa
On Mon, 25 Apr 2005 17:54:20 -0700, in sentex.lists.freebsd.questions
you wrote:

At 05:33 PM 4/25/2005, Mike Tancsa wrote:
I would start by turning off Hyperthreading as
that only really works if you are using the ULE scheduler and thats
broken under RELENG_5.

I haven't noticed this mentioned before.  Is using an SMP kernel on a 
system with a single P4 and SCHED_4BSD a waste of time? Is it 
detrimental?  I've never noticed any problems myself, but I never went 
looking for any either.


See
http://www.onlamp.com/pub/a/bsd/2005/01/20/smpng.html
and
http://lists.freebsd.org/pipermail/freebsd-stable/2003-December/005360.html
to start.  Also, the ULE scheduler is still broken

---Mike

-Glenn

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


Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions about processes

2005-04-25 Thread Alexander Chamandy
On 4/25/05, Lord Raiden [EMAIL PROTECTED] wrote:
  Hi all.  Looking for some info about some processes I've got
 running on my box.  I'm new to 5.3 having used the 4x line for a long time
 and I'm curious about my process list.  When I do ps -ax I get the
 following list as seen below.  Are all of these items really needed and if
 not, what items can I get rid of and how?  The machine in question is a

Most of those processes are used by the kernel, some of them, if you
aren't using the specific hardware or functionality they provide (such
as USB or ktrace) can be disabled by compiling your own kernel (see
here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/kernelconfig.html).
 While this may not provide a *HUGE* performance increase, it may be a
good idea to try.  I would also recommend, perhaps, adding some more
RAM?  :-)

 very simple fetching mail server running on a 500mhz Via Eden Mini-ITX
 board.  Any insight would be welcome.  I'm really only asking this because
 I tend to be a process minimalist.  IE I like to have as few processes
 running as is absolutely necessary.  Well, anyways, enough of my
 babbling.  Here's the list.
 
  0  ??  DLs0:00.56 [swapper]
  1  ??  ILs0:00.04 /sbin/init --
  2  ??  DL 0:12.09 [g_event]
  3  ??  DL 0:13.98 [g_up]
  4  ??  DL 0:17.21 [g_down]
  5  ??  DL 0:00.00 [thread taskq]
  6  ??  DL 0:00.00 [kqueue taskq]
  7  ??  IL 0:00.00 [acpi_task0]
  8  ??  IL 0:00.00 [acpi_task1]
  9  ??  IL 0:00.00 [acpi_task2]
 10  ??  DL 0:00.00 [ktrace]
 11  ??  RL   2889:39.85 [idle]
 12  ??  WL 0:00.00 [irq0: clk]
 13  ??  WL 0:00.00 [irq1: atkbd0]
 14  ??  WL 0:00.00 [irq3:]
 15  ??  WL 0:00.00 [irq4: sio0]
 16  ??  WL 0:00.00 [irq5:]
 17  ??  WL 0:00.00 [irq6:]
 18  ??  WL 0:00.00 [irq7: ppc0]
 19  ??  WL 0:00.00 [irq8: rtc]
 20  ??  WL 0:00.00 [irq9:]
 21  ??  WL 0:00.00 [irq10: uhci0 uhci1]
 22  ??  WL 0:01.12 [irq11: vr0]
 23  ??  WL 0:00.00 [irq12: acpi0]
 24  ??  WL 0:00.00 [irq13:]
 25  ??  WL 0:01.86 [irq14: ata0]
 26  ??  WL 0:00.00 [irq15: ata1]
 27  ??  WL 0:01.20 [swi1: net]
 28  ??  WL 3:55.06 [swi5: clock sio]
 29  ??  WL 0:00.00 [swi4: vm]
 30  ??  DL 0:13.88 [yarrow]
 31  ??  WL 0:00.00 [swi6:+]
 32  ??  WL 0:00.00 [swi2: camnet]
 33  ??  WL 0:00.00 [swi3: cambio]
 34  ??  WL 0:00.00 [swi6: acpitaskq]
 35  ??  WL 0:00.00 [swi6: task queue]
 36  ??  WL 0:00.00 [swi6:+]
 37  ??  DL 1:21.80 [acpi_thermal]
 38  ??  DL 0:00.03 [usb0]
 39  ??  DL 0:00.00 [usbtask]
 40  ??  DL 0:00.03 [usb1]
 41  ??  WL 0:00.00 [swi0: sio]
 42  ??  DL 0:11.71 [pagedaemon]
 43  ??  DL 0:00.00 [vmdaemon]
 44  ??  DL 0:12.99 [pagezero]
 45  ??  DL 0:01.53 [bufdaemon]
 46  ??  DL 2:05.27 [syncer]
 47  ??  DL 0:01.51 [vnlru]
 48  ??  DL 0:00.71 [hpt_wt]
 49  ??  IL 0:00.00 [nfsiod 0]
 50  ??  IL 0:00.00 [nfsiod 1]
 51  ??  IL 0:00.00 [nfsiod 2]
 52  ??  IL 0:00.00 [nfsiod 3]
 53  ??  DL 0:15.77 [schedcpu]
178  ??  Is 0:00.00 adjkerntz -i
234  ??  Is 0:00.00 /sbin/devd
 
 (sshd, spamd and other standard mail stuff running below here)
 
 Steven Lake
 -Owner/Webmaster
 Raiden's Realm
 www.raiden.net
 
 Come see Monk the comic strip and laugh till you die!  :)
 http://www.raiden.net/Monk/
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


-- 
Best wishes,

Alexander G. Chamandy
Webmaster
www.bsdfreak.org
Your Source For BSD News!
Hosted by Envescent, LLC
www.envescent.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Where to find good/cheap tech support

2005-04-25 Thread Ted Mittelstaedt
[EMAIL PROTECTED] wrote:
You seem to be making assumptions and are looking into this
 to deeply
my friend. But thanks for the feedback anyway :)-
The $150 was only an arbitrary number thats common in the field. I
could have chosen another number. It would not have mattered, the
question would have been the same.

That is baloney, when you titled the post good/CHEAP, quite obviously the
number matters greatly.

-
The SCSI adapter is an Adaptec Ultra320 built into a $3000+ 1U web
server and not a common inexpensive controller. Since it works fine
for both RedHat and Windows we are probably going to go with
another OS on this server other than FreeBSD.

Um, that would be Windows, right? That is, your going to drop an
additional
$1200 on Windows OS and licensing for it just because you don't want to
drop $150 into an hour of support?

If that isn't true then why are you even listing Windows here?  Windows
isn't
a UNIX OS, and has no relevance to anything.  Is it because your thinking
that if you tell us Windows runs on this server that we are all going to
be
real impressed?  Aren't you forgetting a lot of us already run 1U
webservers
fine with FreeBSD with no problems?

The fact RedHat runs on this is significant since the FreeBSD and RedHat
Adaptec driver have a common ancestor.

Why arm wrestle the
situation when no one seems to know the solution to our issue.-

Simple, because the OS is free.  If you want to save the money on
licensing
fees then you spend your time arm wrestling problems when they come up.

If you own a car and you want to save a lot of money on mechanics fees
then
you learn how to fix it, buy a lot of tools, and do the work yourself.
Why
is this any different with operating systems?

And I am in a VERY small company that could barely pay for what we
just purchased. We where lucky to get what we did and the idea of
having a duplicate is wishful thinking and not realistic, so thats
a risk we will have to take until we can afford better solutions.

In short, you overreached yourself.  So let me ask you, why should
customers
use you when your competition has actually spent the money for backup
servers?

I work for a small company too, lots of people do that is no excuse.  But
when I have a problem, such a fielding a mailserver, that really ought to
have a backup server, if I have $3K to spend on it, I don't run out and
buy a new server.  I instead get creative and perhaps buy 2 used servers
at $1500, or roll my own clones, or get a leasing company involved, etc.

I don't shortchange my customers because I'm not willing to gamble with
their livelihoods.  Sure, I may not be out there saying to them that I
have a brand new P4 3Ghz server for them like you are, but I am telling
them
that for what they need, a P4 3Ghz server won't be any different than a
P3 1.5Ghz system, (which it isn't) and that I have redundancies in that
P3 1.5Ghz network that allow me to guarentee to them that if my server
blows
chunks that I will have them back online within 20 minutes.

Its not the perfect situation but its the best we can do with what
we have.

No, it isn't.

I would love a new house but the cold numbers dictate
what'sreally possible right now. -

No, they don't.  You are simply making up justfications for yourself to
try to sleep better at night.  You don't have the moral leg to stand on
to
sell server services to your customers, because when your customers buy
services from you there is an implied understanding that they are buying
server services that are done in a professional manner, better than they
could do them.

And if you aren't selling server services to customers, but instead using
this server for your own business, the moral issues still remain because
your customers depend on your product, and if you go offline a week
because
your all-the-eggs-in-one-basket solution blew chunks, then your still
affecting your customers.

I'm sure you can probably go on making excuses, but I'm not interested
in them.  You said you couldn't afford to have the server down for
days at a time.  Well, either that was a baldfaced lie and you were
full of crap, or your abrogating your responsibility to provide solid
IT services and infrastructure.  Sites that cannot afford to have
a server down for days at a time MUST have backup servers, it is simple
as that, and no amount of whining and excuses justify anything different.

Now if your interested in the problem, here is the support
issue/question no one seems to have any clue about.-
I am attempting to install FreeBSD 5.3 onto a new server, but
during the initial bootup it fails / times out from what I think
 is it trying
to initialize the SCSI adapter. The server has an Adaptec AIC-7902
dual-channel Ultra320 SCSI controller which the i386 ahd(4)
 driver has
listed as a supported device.
-
I have been reading and searching this