XFree86 configure question

2004-06-11 Thread LW Ellis
Thanx to some great people out there I have FreeBSD runningYea!
Having some difficulty setting up the XFree86 Server.
I did like it said in the handbook, but when I 
ee XF86Config.new, I get a blank file.
If I use the configure tool in the sysinstall, it fails to save the file.
I am logged on as 'root'

Part 2
This computer is 3rd handme down...
I found the screen resolution, 
Horizontal and vertical KHZ
but nothing on the video adapter chipset or memory.
Where do I go from here.

Thanx in advance.

Later, 
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 configure question

2004-06-11 Thread Nelis Lamprecht
On Fri, 2004-06-11 at 08:05, LW Ellis wrote:

 Having some difficulty setting up the XFree86 Server.
 I did like it said in the handbook, but when I 
 ee XF86Config.new, I get a blank file.
 If I use the configure tool in the sysinstall, it fails to save the file.
 I am logged on as 'root'

The first thing I would do before trying to configure your XFree86
Server is to find out exactly what Video card( Part 2 ) you are using.
You can do this usually by going through your system message buffer from
kernel startup. Edit the file /var/run/dmesg.boot and look for
information which would indicate your VGA chipset, it usually starts
with pci0: In some cases where your Video card is not recognised by the
kernel you may need to identify the chipset in another way. Try opening
the computer and looking at the chipset on the video card itself.

Once you have this information you can then run the command xf86config
from the command line, it is usually located in /usr/X11R6/bin.
If you lucky your card will be automatically detected otherwise you will
manually have to put in the options. After running through the
configuration check the XF86Config file it creates and adjust if
necessary to your liking.

Also, take a look at the FAQ's regarding the X Window System which can
be found at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


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


usb wireless mouse prob on 5.2.1

2004-06-11 Thread Peter Risdon
I'm having problems getting a logitech wireless mouse working on 5.2.1 
(cvsupped  updated 12 hours ago). I had this working without problem 
with exactly the same hardware a few weeks ago but had to reinstall, for 
various reasons and sheepish mumble didn't make any copies of the 
configuration/sheepish mumble. It was very easy the first time...

Oddly, it looks to me as though it ought to work. But it doesn't, 
neither in the console nor in X.

I'd be grateful for any pointers. More detailed info follows.
dmesg shows (all usb output included):
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xcc00-0xcc1f 
irq 16 at device 29.0 on pci0
usb0: Intel 82801EB (ICH5) 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
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xd000-0xd01f 
irq 19 at device 29.1 on pci0
usb1: Intel 82801EB (ICH5) 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
ukbd0: Logitech USB Receiver, rev 1.10/17.00, addr 2, iclass 3/1
kbd0 at ukbd0
ums0: Logitech USB Receiver, rev 1.10/17.00, addr 2, iclass 3/1
ums0: 7 buttons and Z dir.
ulpt0: EPSON USB2.0 MFP, rev 2.00/1.00, addr 3, iclass 7/1
ulpt0: using bi-directional mode
umass0: EPSON USB2.0 MFP, rev 2.00/1.00, addr 3
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xd400-0xd41f 
irq 18 at device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xd800-0xd81f 
irq 16 at device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered

I'm loading moused on boot through rc.conf:
moused_enable=YES
moused_port=/dev/ums0
ps xa | grep moused gives:
 370  ??  Is 0:00.00 /usr/sbin/moused -p /dev/ums0 -I 
/var/run/moused.ums0

My very basic /etc/X11/XF86Config is as follows:
Section ServerLayout
   Identifier Layout0
   Screen  0  Screen0 0 0
   InputDeviceKeyboard0 CoreKeyboard
   InputDeviceMouse0 CorePointer
EndSection
Section Files
EndSection
Section Module
   # Load freetype
   # Load xtt
   Load  extmod
   Load  glx
   Load  dri
   Load  dbe
   Load  record
   Load  xtrap
   Load  type1
   Load  speedo
EndSection
Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   Option  Protocol Auto
   Option  Device /dev/sysmouse
EndSection
Section InputDevice
   Identifier  Keyboard0
   Driver  keyboard
   Option  XkbModel pc102
   Option  XkbLayout gb
EndSection
Section Monitor
   Identifier   Monitor0
   HorizSync30.0 - 81.0
   VertRefresh  56.0 - 75.0
EndSection
Section Device
   Identifier  Card0
   Driver  mga
   ChipSet mgag400
   Cardmga mgag400
EndSection
Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Depth 24
   Modes1280x1024 1280x960 1152x864 1024x768 
800x600 640x480
   EndSubSection
EndSection

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


FreeBSD driver for LSI Logic MegaRAID ATA

2004-06-11 Thread Oleg V. Vishnevskiy
Hello!

I need to install FreeBSD-4.10 (or 5.2.1) on IMB Blade HS20 (8832-21X).
As far as I know, it has onboard LSI Logic MegaRAID ATA disk controller.
==
MegaRAID IDE BIOS ver 2.7.06021009I
(C) Copyright 1999-2003, LSI Logic Corporation, USA

MegaRAID IDE Adapter CSB6 found at PCI BUS No:00 Dev No:0F
==

(http://www-1.ibm.com/support/docview.wss?rs=0q1=LSIq2=LSI+MegaRAIDuid=ps
g1MIGR-52765loc=en_UScs=utf-8cc=uslang=en
Win2k driver is here).

I could not find suitable FreeBSD driver anywhere.
(amr(4) driver is not suitable)

I suppose I have the same problem as described here:
http://www.atm.tut.fi/list-archive/freebsd-stable/msg08328.html

Please, help.

BR,
Oleg Vishnevsky
e-mail: [EMAIL PROTECTED]
tel: (095)727-0393
---
That's what's the deal we're dealin' in.
---

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


Re: -current boot bring to db prompt

2004-06-11 Thread George Keramidas
On 2004-06-11 06:41, pirat [EMAIL PROTECTED] wrote:
On Thursday, 10 June 2004 at 21:49:01 +0700, pirat wrote:

 i boot my inspiron 1100 box but it stop at

 db
 
 and i can not get out of there.  what i did were that i copied 
 ltmdm.ko from other machine to inspiron at /boot/kernel/ and add
 
 ltmdm_load=YES
 
 at /boot/load.conf
 
 i just wanted to remove either ltmdm.ko from /boot/kernel/ 
 or ltmdm_load=YES from /boot/load.conf

 sorry for the noises.
 i boot once again and go to loader prompt and then
 
 unload
 load /boot/kernel/kernel
 boot
 
 now that i can get rid of that harm ltmdm.ko
 once again apologize me for disturbing the lists

There's, really, no need to apologise.

The answer you posted, the solution to a problem more common than you
probably think it is (preloading or unloading modules at boot time), is
very probably going to be interesting for a lot of people.

Agreed, this has already been mentioned in past posts which live in the
the archives now, but you get extra karma points for discovering the
solution yourself *and* posting it as a followup.

Thanks, that was cool :)

- Giorgos

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


Re: Paging multiple columns in the console

2004-06-11 Thread Matthew Seaman
On Thu, Jun 10, 2004 at 06:38:45PM -0600, Warren Block wrote:
 On Thu, 10 Jun 2004, Reed Loefgren wrote:

 Is there a way I can keep the
 multi-column output but still use a pager?
 
 Hmm.. 'apropos column' and aha!  The column command can be used to, err, 
 re-columnize:
 
 ls /usr/bin | column -x | less

ls -C /usr/bin | less

Cheers,

Matthew



-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp22IAGMnntS.pgp
Description: PGP signature


3WARE: Drive sector ECC error corrected

2004-06-11 Thread Eric Sabban
I'm currently running 3ware 8506-12 cards on freebsd 4.9 using the built in
twe driver. Today (and previously) I've run into a situation where a volume
stops responding to any read or write requests.

 

Here is the AEN log:

 

trtd WIDTH=3% BGCOLOR=#f9bb00./tdtd18:44:28 Sat
29-May-2004/tdtdDrive sector ECC error corrected on port 7 on controller
ID:0. (0x23)/td/tr

 

Here is my dmesg:

Copyright (c) 1992-2003 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 4.9-RELEASE-p2 #4: Thu Feb  5 14:24:16 GMT 2004

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-GLOBAT

Timecounter i8254  frequency 1193182 Hz

CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.72-MHz 686-class CPU)

  Origin = GenuineIntel  Id = 0xf25  Stepping = 5

 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

  Hyperthreading: 2 logical CPUs

real memory  = 2146959360 (2096640K bytes)

avail memory = 2086326272 (2037428K bytes)

Programming 24 pins in IOAPIC #0

IOAPIC #0 intpin 2 - irq 0

Programming 24 pins in IOAPIC #1

Programming 24 pins in IOAPIC #2

FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs

 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0

 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0

 cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee0

 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee0

 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0

 io1 (APIC): apic id:  3, version: 0x00178020, at 0xfec8

 io2 (APIC): apic id:  4, version: 0x00178020, at 0xfec80400

Preloaded elf kernel kernel at 0xc04b8000.

Warning: Pentium 4 CPU: PSE disabled

Pentium Pro MTRR support enabled

md0: Malloc disk

Using $PIR table, 20 entries at 0xc00fde80

npx0: math processor on motherboard

npx0: INT 16 interface

pcib0: Host to PCI bridge on motherboard

pci0: PCI bus on pcib0

pci0: unknown card (vendor=0x8086, dev=0x2541) at 0.1

pcib1: PCI to PCI bridge (vendor=8086 device=2543) at device 2.0 on pci0

pci1: PCI bus on pcib1

pci1: unknown card (vendor=0x8086, dev=0x1461) at 28.0

pcib2: PCI to PCI bridge (vendor=8086 device=1460) at device 29.0 on pci1

IOAPIC #1 intpin 4 - irq 2

pci2: PCI bus on pcib2

twe0: 3ware Storage Controller port 0x7000-0x700f mem
0xfc80-0xfcff,0xfc20-0xfc2f irq 2 at device 2.0 on pci2

twe0: 12 ports, Firmware FE7S 1.05.00.063, BIOS BE7X 1.08.00.048

pci1: unknown card (vendor=0x8086, dev=0x1461) at 30.0

pcib3: PCI to PCI bridge (vendor=8086 device=1460) at device 31.0 on pci1

pci3: PCI bus on pcib3

pci0: unknown card (vendor=0x8086, dev=0x2544) at 2.1

pcib4: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0

IOAPIC #0 intpin 21 - irq 5

IOAPIC #0 intpin 20 - irq 10

IOAPIC #0 intpin 23 - irq 11

pci4: PCI bus on pcib4

pci4: ATI Mach64-GR graphics accelerator at 3.0 irq 5

fxp0: Intel 82550 Pro/100 Ethernet port 0x8400-0x843f mem
0xfe00-0xfe01,0xfe041000-0xfe041fff irq 10 at device 4.0 on pci4

fxp0: Ethernet address 00:02:b3:e9:0d:28

inphy0: i82555 10/100 media interface on miibus0

inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 port
0x8440-0x847f mem 0xfe02-0xfe03 irq 11 at device 5.0 on pci4

em0:  Speed:N/A  Duplex:N/A

isab0: PCI to ISA bridge (vendor=8086 device=2480) at device 31.0 on pci0

isa0: ISA bus on isab0

atapci0: Intel ICH3 ATA100 controller port
0x6c60-0x6c6f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0

ata0: at 0x1f0 irq 14 on atapci0

ata1: at 0x170 irq 15 on atapci0

pci0: unknown card (vendor=0x8086, dev=0x2483) at 31.3 irq 0

orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc97ff,0xe3000-0xe3fff
on isa0

pmtimer0 on isa0

fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0

fdc0: FIFO enabled, 8 bytes threshold

atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0

atkbd0: AT Keyboard irq 1 on atkbdc0

kbd0 at atkbd0

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

sc0: System console at flags 0x100 on isa0

sc0: VGA 16 virtual consoles, flags=0x100

sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0

sio0: type 16550A, console

sio1 at port 0x2f8-0x2ff irq 3 on isa0

sio1: type 16550A

ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0

ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode

ppc0: FIFO with 16/16/9 bytes threshold

lpt0: Printer on ppbus0

lpt0: Interrupt-driven port

ppi0: Parallel I/O on ppbus0

APIC_IO: Testing 8254 interrupt delivery

APIC_IO: routing 8254 via IOAPIC #0 intpin 2

SMP: AP CPU #1 Launched!

SMP: AP CPU #2 Launched!

SMP: AP CPU #3 Launched!

ad2: 39205MB Maxtor 6E040L0 [79656/16/63] at ata1-master UDMA100

acd0: CDROM SR244W at ata0-master PIO4

twed0: Unit 0, RAID5, Normal on twe0


Re: XFree86 configure question

2004-06-11 Thread Matt Navarre
On Friday 11 June 2004 12:14, Nelis Lamprecht wrote:
 On Fri, 2004-06-11 at 08:05, LW Ellis wrote:
  Having some difficulty setting up the XFree86 Server.
  I did like it said in the handbook, but when I
  ee XF86Config.new, I get a blank file.
  If I use the configure tool in the sysinstall, it fails to save the file.
  I am logged on as 'root'

 The first thing I would do before trying to configure your XFree86
 Server is to find out exactly what Video card( Part 2 ) you are using.
 You can do this usually by going through your system message buffer from
 kernel startup. Edit the file /var/run/dmesg.boot and look for
 information which would indicate your VGA chipset, it usually starts
 with pci0: In some cases where your Video card is not recognised by the
 kernel you may need to identify the chipset in another way. Try opening
 the computer and looking at the chipset on the video card itself.


What he said about the video card,  but you also want the specs for your 
monitor. Specificaly  you need the horizontal and vertical synch rranges or 
the frequencies the monitor can do. Otherwise you risk blowing the monitor.

And no one wants that.

Really you need to know what video card you're running and, idealy, how much 
VRAM it's got,  and the specs for your monitor. 

-- 
We all enter this world in the same way: naked, screaming,
 and soaked in blood. But if you live your life right, that kind
 of thing doesn't have to stop there. -- Dana Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 configure question

2004-06-11 Thread Vince Hoffman


On Fri, 11 Jun 2004, Matt Navarre wrote:

 On Friday 11 June 2004 12:14, Nelis Lamprecht wrote:
  On Fri, 2004-06-11 at 08:05, LW Ellis wrote:
   Having some difficulty setting up the XFree86 Server.
   I did like it said in the handbook, but when I
   ee XF86Config.new, I get a blank file.
   If I use the configure tool in the sysinstall, it fails to save the file.
   I am logged on as 'root'
 
  The first thing I would do before trying to configure your XFree86
  Server is to find out exactly what Video card( Part 2 ) you are using.
  You can do this usually by going through your system message buffer from
  kernel startup. Edit the file /var/run/dmesg.boot and look for
  information which would indicate your VGA chipset, it usually starts
  with pci0: In some cases where your Video card is not recognised by the
  kernel you may need to identify the chipset in another way. Try opening
  the computer and looking at the chipset on the video card itself.
 

 What he said about the video card,  but you also want the specs for your
 monitor. Specificaly  you need the horizontal and vertical synch rranges or
 the frequencies the monitor can do. Otherwise you risk blowing the monitor.

 And no one wants that.

 Really you need to know what video card you're running and, idealy, how much
 VRAM it's got,  and the specs for your monitor.

Cant help with the monitor but I use the vesa kernel module and that give
VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc0888c62 (122)
VESA: NVidia

in my dmesg when i boot so you can try kldload vesa and check the output
with dmesg. might help.

 --
 We all enter this world in the same way: naked, screaming,
  and soaked in blood. But if you live your life right, that kind
  of thing doesn't have to stop there. -- Dana Gould
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


A board with SATA + console redirection (Intel SE7210TP1 orS875WP1)?

2004-06-11 Thread H. Sandring (WBInf. DWHuM)
 

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


SCSI too slow

2004-06-11 Thread Karsten Fuhrmann
Hello,
i am using a Adaptec 29160UW Controller in my FreeBSD 4.8 Box together 
with an Easyraid 2 external RAID System and a Quantum SDLT-320 Drive.
The problem is the data transfer Rate of my SCSI Channel is only 40 
Mbytes/s.

dmesg shows
da0: easyRAID II  Fixed Direct Access SCSI-2 device
Jun  8 16:17:17 stern /kernel: da0: 40.000MB/s transfers (20.000MHz, 
offset 31, 16bit), Tagged Queueing Enabled

Is there a way to change the transfer rate somehow, because at least my 
SDLT is an ultra wide SCSI (LVD/SE)

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


Interrupt storm detected on irq7: lpt0

2004-06-11 Thread Peter Ulrich Kruppa
Hi!
My last cvsup of -CURRENT on monday seems to have messed up 
printing somehow.
When I try to print (I am using cups) I  receive this 
message:

Interrupt storm detected on irq7: lpt0; throttling interrupt 
source

Result is: Printing becomes very slow (about one minute for a 
simple text file, longer for some OpenOffice document).

What can be done?
Regards,
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI too slow

2004-06-11 Thread Emil A Eklund
The 29160UW adapter has two internal lvd connectors, only one of those
supports Ultra-160, the other one is provided for older equipment, since a
SCSI chain will only operate as fast as the slowest device on it. Therefor
make sure that the devices that supports Ultra-160 (or Ultra 2 Wide if thats
what you have) is on the Ultra-160 connector, while the slower devices is on
the other. If my memory is not failing me the Ultra-160 connector is the one
to the left.

Also, check your SCSI Bios, it has some speed related settings.

/Emil A Eklund ([EMAIL PROTECTED])


- Original Message - 
From: Karsten Fuhrmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 11, 2004 13:35
Subject: SCSI too slow


 Hello,
 i am using a Adaptec 29160UW Controller in my FreeBSD 4.8 Box together
 with an Easyraid 2 external RAID System and a Quantum SDLT-320 Drive.
 The problem is the data transfer Rate of my SCSI Channel is only 40
 Mbytes/s.

 dmesg shows
 da0: easyRAID II  Fixed Direct Access SCSI-2 device
 Jun  8 16:17:17 stern /kernel: da0: 40.000MB/s transfers (20.000MHz,
 offset 31, 16bit), Tagged Queueing Enabled

 Is there a way to change the transfer rate somehow, because at least my
 SDLT is an ultra wide SCSI (LVD/SE)

 Cheers,
 karsten


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


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


Error in starting SSH

2004-06-11 Thread Bilal Ahmed


   I have been facing an error on running sshd:

   /usr/sbin/sshd
   Could not load host key: /etc/ssh/ssh_host_key
   Could not load host key: /etc/ssh/ssh_host_dsa_key
   Disabling protocol version1. Could not load host key
   Disabling protocol version2. Could not load host key
   sshd :no hostkeys available -- exiting

   As instructed in the 1st screen that before sending the error uname
   -a output is :
   FreeBSD fw-ka.toyt-ind.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:Mon
   Feb 23 20:45:55 GMT 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

   Kindly help.

   Regards
   Bilal
 _

   Tired of spam? Get [2]advanced junk mail protection with MSN 8.

References

   1. mailto:[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
   2. http://g.msn.com/8HMAEN/2734??PS=47575
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RFC: Free Software Hardware Compatibility - Centralised DB

2004-06-11 Thread Zenaan Harkness
PLEASE NOTE:

* Please do not reply-all (this is essentially an announcement and
request for comments. For further discussion, please advise that you
wish to be added to the soon-to-be-created mailing list (I'm still
looking for an appropriate site to host this)).

* Please forward this as appropriate (namely to those involved in
hardware compatibility, certification, driver development, and/ or
manufacture, as it relates to our free software community).



ASSUMPTION:

We in the free software community wish to have better and more up to
date hardware identification and support.

We assume that it is in the best interests of each Free Software
Unix-like operating system distribution, each kernel (eg. Linux, *BSD,
HURD) and in the best interests of the end users, to have a centralised/
unified location for hardware information.

First and foremost though, it is in the best interests of the
manufacturers - to simplify their job:

For Microsoft, they have a single point of contact.

Contrast this with the numerous HCLs, hardware sites (such as
www.linux1394.org and linuxprinting.org), kernels and distributions,
such as Debian, Red Hat, FreeBSD and a myriad of others.

As a manufacturer, it is simply impossible to (generally) go anywhere
near supporting all these free software projects.

And so it is in the best interests of each of us individually, and
collectively, if we can simplify the job of the manufacturer.

As a manufacturer of a widget, if I have a single, commonly known place
to go to provide technical and contact information, as much or as little
as I desire (even perhaps just bus IDs and product names), then I might
actually do so.

We, as a community, might just have a hope of keeping up to date as
compared with the proprietary os's out there, namely MSW*.


-
So, I hereby propose such a database be established.

I am willing to contribute some of my own time and effort to doing so.

This database and surrounding facilities will be os-, vendor-,
distribution- and kernel- neutral, and will thereby attract many
otherwise disparate parties, such as the BSDs and the GNU/Linux distros.

If you and/ or your company is interested in supporting this effort, by
way of working together on this project to unify HCLs, device and driver
information or the like, then please reply to me and let me know that
you would like to be added to the soon-to-be-created mailing list.

If your organization can actively devote even some small resources to
the project, that is obviously very much appreciated.


-
Once the database and submission facilities are minimally established, I
propose that relevant parties widely advertise/ promote the fact to
manufacturers (and users and developers too), that this database is the
preferred and centralized means of submission of such information.

The plan is to integrate seamlessly with existing Distribution-specific
HCLs and due to the centralization provide and richer facility than is
otherwise possible today.


Thank you in advance, and regards to all,
Zenaan


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


Re: RFC: Free Software Hardware Compatibility - Centralised DB

2004-06-11 Thread Joel Rees
(Apologies in advance --)
On 2004.6.11, at 06:31 AM, Zenaan Harkness wrote:
PLEASE NOTE:
* Please do not reply-all
Sorry, when you break the rules, the rules are broken. However,
...
ASSUMPTION:
...
We assume that it is in the best interests of each Free Software
Unix-like operating system distribution, each kernel (eg. Linux, *BSD,
HURD) and in the best interests of the end users, to have a 
centralised/
unified location for hardware information.
...
I'm not sure that centralization is a valid assumption in the open 
source community.

Getting hardware is only half the battle. I think that what the members 
of the open source community would prefer is that individuals and 
companies who have hardware to donate would be aware of (1) what 
projects they want or need to support and (2) where the hardware they 
have to donate can best be used. (It's a free market, we just use a 
different currency, so to speak.)

That said, I suspect that, if a company or individual has hardware to 
donate and is not sure where it should go, a broadcast troll like this 
might actually be appropriate.

(Which is why I'm even further breaking protocol here.)
--
Joel Rees
Opinions are like armpits.
We all have two, and they all smell,
but we really don't want the other guy to get rid of his.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


plz?

2004-06-11 Thread luis juarez
Hi  uhmm i cant seen to be able to download bsd  can anyone tell me how to download 
from the ftp server   because everytime i try to download the files  it fr3zz3$ My 
computer


-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RFC: Free Software Hardware Compatibility - Centralised DB

2004-06-11 Thread Zenaan Harkness
On Fri, 2004-06-11 at 09:03, Joel Rees wrote:
  ...
  ASSUMPTION:
  ...
  We assume that it is in the best interests of each Free Software
  Unix-like operating system distribution, each kernel (eg. Linux, *BSD,
  HURD) and in the best interests of the end users, to have a 
  centralised/
  unified location for hardware information.
  ...
 
 I'm not sure that centralization is a valid assumption in the open 
 source community.

The centralization is so that manufacturers have a single point of
contact to submit their own hardware information to, however much or
little that might be.

 ...is that individuals and 
 companies who have hardware to donate ...

This project has _nothing_ to do with donating hardware.

It is about a Hardware Information Database.

Hope that's clear to all
Zenaan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: two tar issues: man page and --totals behaviour

2004-06-11 Thread Lowell Gilbert
Stefan A. Deutscher [EMAIL PROTECTED] writes:

 Hi folks,
 
   just noticed two issues with tar on FreeBSD 5.1 (actually, it is
 GNU tar 1.13.25):

It's a heavily modified version of Gnu tar, actually.

 (1) The man page is somewhat out of sync with what tar --help shows
 in terms of options
 
 Should I submit a PR for that one, or send a bug report to the gnu
 tar maintainers, or both?

The man page isn't a primary documentation method; the *real* manual
is in Gnu info.  [info tar]  It's probably the local (FreeBSD)
changes that haven't gotten documented.

 (2) The option --totals, according to the docs and --help, is supposed
 to show the bytes _written_. It does not quite:
 
 - When running plain 'tar c', it actually shows the bytes written.
 
 - When running tar with any of the built-in compression flags, such
   as 'tar -c -{z,Z,y}', it shows the exact same number of bytes as
   when invoked without these flags.
   
 While, technically, it might show the bytes written _to_ the
 compression program, for all practical purposes it appears to show
 what was _read_ from disk. The space used on tape may be
 significantly smaller.
 
 I understand that for backwards compatibility one cannot just change
 the behaviour of this flag from one day to another. Fixing the docs
 might be the easy way out, but I'd like to suggest the addition of
 some flag that reports what was actually written _to_ the tape
 device.
 
 Even if the device-internal HW compression may change what actually
 ends up on tape (i.e. compressing uncompressed stuff somewhat while
 probably not gaining anything on gzip or bzip2), this would give a
 better indicator of tape usage and space left on a tape.

This would be fairly tricky to implement with an external compression
filter in software, never mind in hardware.

 I have no idea whether this  has been discussed here already, google
 didn't like me enough to turn up relevant threads. Nor do I know how
 the upcoming bsdtar handles that flag's behaviour.

I don't think bsdtar has such a flag, actually.

 Again, should I submit  a PR for that one, or send a bug report to
 the gnu tar folks, or both?

If you have written the code to do what you're saying, please do
submit it.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 4.10 RELEASE questions

2004-06-11 Thread Lowell Gilbert
Louis LeBlanc [EMAIL PROTECTED] writes:

 Hey everyone.  I have a confusing situation here with the new kernel.
 
 I just upgraded to 4.10, and in the process, decided to get a
 moderately updated kernel config.  Particularly, I wanted to try to
 get my sound working again.
 
 Here's the thing.  I have the following lines in my kernel config:
 device  pcm
 
 # Serial (COM) ports
 device  sio0at isa? port IO_COM1 flags 0x10 irq 4
 device  sio1at isa? port IO_COM2 irq 3
 device  sio2at isa? disable port IO_COM3 irq 5
 device  sio3at isa? disable port IO_COM4 irq 9
 
 options PNPBIOS
 
 You'll see the reason I've included the serials in a sec:
 
 The dmesg.boot file shows the following tidbits:
 pci0: unknown card (vendor=0x12eb, dev=0x0001) at 14.0 irq 5
 
 and
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A
 
 and
 unknown: PNP0501 can't assign resources
 unknown: PNP0501 can't assign resources
 unknown: PNP0401 can't assign resources
 unknown: PNP0700 can't assign resources
 unknown: PNP0f13 can't assign resources
 unknown: PNP can't assign resources
 unknown: PNP0303 can't assign resources
 
 Now, The serials that showed up appear correct to me, but there isn't
 any sio2 or sio3, but the unknown card at pci0 is in on 5.  Not sure
 if there's any connection.
 
 The things I'd like to resolve are the unknowns - to either correct or
 eliminate the things causing them, and to get the sound card showing
 up.  The card is onboard in a Dell Optiplex G1, and before the last
 time I upgraded (thereby breaking sound) it was working fine with the
 aureal-kmod port.
 
 Problem is that I'm not sure if I should have the following:
 
 device  pcm0 at isa? irq 10 drq 1 flags 0x0
 
 Note that my fxp0 is using irq 10.  Should I just change the irq?
 Should I leave it and/or the PNPBIOS line out?
 
 I'm sure there's some pertinent details I'm leaving out, so don't
 hesitate to let me know what it is.
 
 Thanks for the feedback.

Do you *want* to use the extra serial ports?  You are compiling them
disabled, after all.  If you don't want them, try compiling a kernel
that doesn't have them, and see what happens...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bash Startup Files

2004-06-11 Thread Lowell Gilbert
Arend P. van der Veen [EMAIL PROTECTED] writes:

 Hi,
 
 I have been trying to clarify what bash startup files are sourced and
 when.  I am using bash-2.05b.007.  I have been hunting around on the
 web and I have
 found the following summary: For Login shells:
 
 On logging in:
If `|/etc/profile|' exists, then source it.
 
If `|~/.bash_profile|' exists, then source it,
   else if `|~/.bash_login|' exists, then source it,
  else if `|~/.profile|' exists, then source it.
 
 On logging out:
If `|~/.bash_logout|' exists, source it.
 
 For non-login interactive shells:
 On starting up:
If `|~/.bashrc|' exists, then source it.
 
 For non-interactive shells:
 On starting up:
If the environment variable |ENV| is non-null, expand the
variable and source the file named by the value.  If Bash is
not started in Posix mode, it looks for |BASH_ENV| before
|ENV|.
 
 (From http://www.cse.unsw.edu.au/help/doc/info/bash/Bash_Startup_Files.html)

There are easier ways to find the manual.  info bash or even man bash 
would have gotten you to the information...

 Other discussions on this topic essentially state the same thing.
 After some testing it is not clear to me if bash under FreeBSD 4.9 is
 working the same way. I have a case where both ~/.profile and
 ~/.bash_profile exist and both are sourced.   This is in contradition
 to the above statements.

I can't reproduce this.  In my own setup, it is clearly not the case.

 Can anybody point me to information to clarify what bash startup files are sourced
 and when ?

As far as I can see, the Fine Manual is entirely accurate on this point.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error in starting SSH

2004-06-11 Thread Rob
Bilal Ahmed wrote:
   I have been facing an error on running sshd:
   /usr/sbin/sshd
   Could not load host key: /etc/ssh/ssh_host_key
   Could not load host key: /etc/ssh/ssh_host_dsa_key
Are these two files not there?
In 5.X, you should start such daemons from /etc/rc.d :
# cd /etc/rc.d
# ./sshd start
It will generate the host key files, if not there; and then
start the daemon.
Rob.

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


Re: Headaches from auto* and libtool... (FOLLOW_UP)

2004-06-11 Thread Henrik W Lund
Henrik W Lund wrote:
Greetings, list!
I've been given headaches lately, and I believe the auto* brothers and 
their buddy, libtool, to be the culprits. It all started when I 
installed Anjuta, the C/C++ IDE for GNOME. What it basically does for 
project management is use autoconf, automake and libtool to generate the 
 familiar ./configure script and its like. Now, this all works well and 
good up until the configure script is run. It will fail with the 
following message:

...
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information
configure: error: libtool configure failed
Now, the pickle is that I've got 4 versions of libtool installed, 3 of 
which are registered in the package database. I've got libtool-1.3.4 
(not in the package database), libtool-1.3.5_2 (from origin 
devel/libtool13), libtool-1.4.3_3 (from origin devel/libtool14) and 
libtool-1.5.6 (from origin devel/libtool15). And with two versions each 
of both autoconf and automake installed, I'm suspecting that an 
unfortunate mix of versions of the various programs is what's causing 
this failure. I've googled around all day, and the error seems to be 
fairly common, but I've yet to find a clear answer.

I'll tell you what I've tried: I've tried playing with symlinking 
libtool and libtoolize to different versions of libtool (as the binaries 
are named libtool13, libtool14, etc), to no avail. I've tried editing 
./configure, removing the --no-verify flag, but this seems to always be 
replaced somehow. I've tried different macros in configure.in for 
autoconf, like AC_PROG_LIBTOOL and AC_CANONICAL_HOST, but still nothing. 
I've even tried different values for HOST as an environment variable.

I know it's not Anjuta, because the IDE doesn't even need to be running 
for the error to occur. Basically, I'm stumped. Can anyone here help me? 
What's so special about these three programs that require numerous 
versions of each installed on the same system? Or can I uninstall all 
the older versions, keeping only the newest? Will this even do me any good?

Thanks in advance!
-Henrik W Lund
Kinda following up on myself here, posting what I've found after several
more hours of digging around in documentation. Actually, as I'm typing
this, I found the solution.
For some reason, the autogen.sh script creates the configure script to
call ltconfig with the --no-verify flag. This causes ltconfig to rely on
having the host type passed along on the command line (something the
autogen-generated configure script does not do). The solution is simply
to pass it along to the configure script (not
--host=cpu-manufacturer-os-kernel, simply cpu-manufacturer-os-kernel).
There may be some obscure autoconf feature to prevent it from putting
the --no-verify flag into the configure script (why is there even a --no
-verify flag???), but I've yet to find one.
Anyways, since I've answered my own question, I thought I'd just as well
document it. :-)
Cheers!
-Henrik W Lund
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ServerWorks GC-SL and GC-LE

2004-06-11 Thread freebsd_daemon
dear list,

i would like to know if the ServerWorks GC-LE and GC-SL chipsets are
supported under 4.10R.
The hardware.txt doesn't list them and googling I found a problem report for
4.9.

thanks in advance!

zheyu

-- 
Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

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


Re: plz?

2004-06-11 Thread Peter Ulrich Kruppa
On Thu, 10 Jun 2004, luis juarez wrote:
Hi uhmm i cant seen to be able to download bsd can anyone tell 
me how to download from the ftp server because everytime i try 
to download the files it fr3zz3$ My computer
What exactly do you mean by fr3zz3$ ?
Which files do you try to download?
Regards,
Uli.

-
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 configure question

2004-06-11 Thread Nathan Kinkade
On Fri, Jun 11, 2004 at 12:05:25AM -0600, LW Ellis wrote:
 Thanx to some great people out there I have FreeBSD runningYea!
 Having some difficulty setting up the XFree86 Server.
 I did like it said in the handbook, but when I 
 ee XF86Config.new, I get a blank file.
 If I use the configure tool in the sysinstall, it fails to save the file.
 I am logged on as 'root'
 
 Part 2
 This computer is 3rd handme down...
 I found the screen resolution, 
 Horizontal and vertical KHZ
 but nothing on the video adapter chipset or memory.
 Where do I go from here.
 
 Thanx in advance.
 
 Later, 
 Leon
 A fanatic is one who can't change his mind and won't change the subject.
 Sir Winston Churchill

For the past year or two I have found it much easier to let X create a
base config file and then to manually make small changes to it that are
necessary.  Assuming you are using X v4.x, you can do this by running
the command:

# XFree86 -configure

This command will cause X to try to identify your video card, monitor
and possibly the mouse, and will write out a suitable base configuration
file to /root/XF86Config.new.  It could easily be that this file as is
will work for you.  Simply copy or move it over to /etc/X11/XF86Config
and then try to launch X.  Then tweak the file as necessary.  You may
have to manually set the resolution to something acceptable.

Nathan


pgpOdLdiNHcfw.pgp
Description: PGP signature


Problem with samba - windows clients reboot when saving.

2004-06-11 Thread admin
hello:

Freebsd 4.9
Recent install world and kernel after cvsup
Samba 2.2.8a

The clients have files in their home directories and on a common share on
the BSD box.
Every so often when they make a change to a file and save it the client
machine reboots.
Clients run win98 and office XP with SP2.

error for the log.smbd:
  smbd version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/10/15 08:04:55, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:17:43, 0] lib/util_sock.c:read_socket_with_timeout(300)
  read_socket_with_timeout: timeout read. read error = Connection reset by
peer.
[2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(794)
  oplock_break: receive_smb error (Connection reset by peer)
  oplock_break failed for file HONDE OORLASTE.doc (dev = 27406, inode =
2861321, file_id = 3).
[2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(879)
  oplock_break: client failure in break - shutting down this smbd.
[2003/10/15 08:18:11, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:18:15, 0] smbd/oplock.c:request_oplock_break(1011)
  request_oplock_break: no response received to oplock break request to pid
934 on port 1127 for dev = 27406, inode = 2861321, file_id = 3
[2003/10/15 08:20:21, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:38:18, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:42:08, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2003/10/15 08:49:09, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer

There have been a lot more reboots that don't appear in the log - don't know
why.

smb.conf :
# Global parameters
[global]
workgroup = MATZIKAMA
netbios name = BSD1
encrypt passwords = Yes
unix password sync = Yes
preferred master = Yes
domain master = Yes
admin users = %S
create mask = 0777
directory mask = 0777

[homes]
valid users = %S
read only = No
browseable = No

[shared]
path = /usr/home/shared
read only = No
guest ok = Yes
vfs object = /usr/local/lib/samba/recycle.so
vfs options = /usr/local/etc/recycle.conf.default

[printers]
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[hp5000]
comment = Hp 5000 at Amanda
path = /var/spool/lpd/hp5000
read only = No
guest ok = Yes
printable = Yes
printer name = hp5000
oplocks = No
. and six more printers identical to this one.

The problem appeared about 2 months after i upgraded to 2.2.8a

I have set the permissions on the users files to 777 and checked ownership
just to be sure. Still does the same.
I'm not sure if the problem lies on samba office xp or win98. All antivirus
software on the clients have been disabled.

Any help is needed urgently.
Thanks in advance leon.


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


Re: plz?

2004-06-11 Thread Jerry McAllister
 
 Hi  uhmm i cant seen to be able to download bsd  can anyone tell me how 
 to download from the ftp server   because everytime i try to download 
 the files  it fr3zz3$ My computer

First, on your local host that will be receiving the files, make
sure you are in some place that has enough room for them.  A popular
error is starting the download and running out of space in the middle.

So, presuming you want to download FreeBSD 4.10-RELEASE for
an i386 type PC, for example:

  cd big_space_available
  ftp ftp.freebsd.org
 log in as 'anonymous' with your Email address as password
  cd pub/FreeBSD/releases/i386/ISO-IMAGES/4.10
  binary
  get 4.10-RELEASE-i386-miniinst.iso fbsd410.iso
  ascii
  get CHECKSUMS.MD5
  bye


Voila, you should have a copy of the mini-iso ready to burn sitting 
in your local disk in a file named fbsd.iso.  Burn it as a straight 
data file.  Don't try to create an iso from it.  It is already an iso.

Note, that I like to use the shorter name for the iso file on my
local host because it is less to type as I do things with it.  You
do not have to.

Note that you can then run an md5 checksum on the file and compare
it to the checksum listed in the CHECKSUMS.MD5 file if you wish and
have an md5 utility handy.  It is useful to assure yourself that the
download was successfully accomplished without error.   
In FreeBSD, just type:  'md5 fbsd410.iso'   (or whatever filename you used)
and compare the string with the currect one in the file.

If you would rather download the full install images rather than
install over the net via ftp with the mini-iso, then just download
  4.10-RELEASE-i386-disc1.iso  and  4.10-RELEASE-i386-disc2.iso
instead. 

If you want 5.2.1 instead of 4.10, then replace 4.10 with 5.2.1 in
the cd and adjust the file names appropriately on the get command.

If your local host machine that will be receiving the files is also
a UNIX machine, then you probably don't need the /binary' and 'ascii'
commands, but they won't hurt and are good to get in the habit of
using.   If you are receiving to a Microsloth environment, then you
should be sure and use the 'binary' and 'ascii' commands appropriately.

This actually does work.

jerry

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


Re: Problem with samba - windows clients reboot when saving.

2004-06-11 Thread Bill Moran
admin [EMAIL PROTECTED] wrote:
 hello:
 
 Freebsd 4.9
 Recent install world and kernel after cvsup
 Samba 2.2.8a
 
 The clients have files in their home directories and on a common share on
 the BSD box.
 Every so often when they make a change to a file and save it the client
 machine reboots.

You might be better off asking on the Samba mailing list, but I can say two
things:
1) I've never see this happen before.
2) If the client is rebooting, the problem is with the client, not the
   server.

 Clients run win98 and office XP with SP2.

Windows 98 is notoriously buggy.  Although I've never seen it reboot just
because it was having trouble with a network share, I have seen it do all sorts
of other broken things.

However, it sure seems to me that this is a question that you'll get much better
answer on the samba lists than the FreeBSD ones, as it doesn't seem very related
to FreeBSD.

 error for the log.smbd:
   smbd version 2.2.8a started.
   Copyright Andrew Tridgell and the Samba Team 1992-2002
 [2003/10/15 08:04:55, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:17:43, 0] lib/util_sock.c:read_socket_with_timeout(300)
   read_socket_with_timeout: timeout read. read error = Connection reset by
 peer.
 [2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(794)
   oplock_break: receive_smb error (Connection reset by peer)
   oplock_break failed for file HONDE OORLASTE.doc (dev = 27406, inode =
 2861321, file_id = 3).
 [2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(879)
   oplock_break: client failure in break - shutting down this smbd.
 [2003/10/15 08:18:11, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:18:15, 0] smbd/oplock.c:request_oplock_break(1011)
   request_oplock_break: no response received to oplock break request to pid
 934 on port 1127 for dev = 27406, inode = 2861321, file_id = 3
 [2003/10/15 08:20:21, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:38:18, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:42:08, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:49:09, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 
 There have been a lot more reboots that don't appear in the log - don't know
 why.
 
 smb.conf :
 # Global parameters
 [global]
 workgroup = MATZIKAMA
 netbios name = BSD1
 encrypt passwords = Yes
 unix password sync = Yes
 preferred master = Yes
 domain master = Yes
 admin users = %S
 create mask = 0777
 directory mask = 0777
 
 [homes]
 valid users = %S
 read only = No
 browseable = No
 
 [shared]
 path = /usr/home/shared
 read only = No
 guest ok = Yes
 vfs object = /usr/local/lib/samba/recycle.so
 vfs options = /usr/local/etc/recycle.conf.default
 
 [printers]
 path = /var/spool/samba
 guest ok = Yes
 printable = Yes
 browseable = No
 [hp5000]
 comment = Hp 5000 at Amanda
 path = /var/spool/lpd/hp5000
 read only = No
 guest ok = Yes
 printable = Yes
 printer name = hp5000
 oplocks = No
 . and six more printers identical to this one.
 
 The problem appeared about 2 months after i upgraded to 2.2.8a
 
 I have set the permissions on the users files to 777 and checked ownership
 just to be sure. Still does the same.
 I'm not sure if the problem lies on samba office xp or win98. All antivirus
 software on the clients have been disabled.
 
 Any help is needed urgently.
 Thanks in advance leon.
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Routing question

2004-06-11 Thread Leon Botes
I have a box with 5 nics.
Cal them A,B,C,D,E.
A  B are different internet connections.
E is a connection to a mail server on a public /29
C  D are connections for 2 differnet client networks.

Is it possible to have all traffic coming in via C sent to a default gateway
on A's network and
all traffic coming in via D sent to a default gateway on B's network.
And secondly will both client networks be able to see the E/29?

If so how?

Thanks
Leon

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


DNS + DHCP auto host updates.

2004-06-11 Thread Ben Timby
Hello, does anyone have a good guide for setting up DNS updates using 
ISC DHCP server? I want hosts on my network to become registered with 
DNS server when they recieve network configuration. I have not been able 
to find a guide or more information than what is in the man pages for 
dhcpd and bind. Any help is appreciated. Please reply to the list.

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


Re: Problem: cannot install on Dell 400SC

2004-06-11 Thread Jerry McAllister
 
 Looks to me as if the SCSI controller card is buggy. Try disabling search
 other LUNS.

 
OK.  I did that with no noticable difference.
I did notice, though, in monkeying around that the fdisk did
appear to write the boot block.  When I let it go on and boot
without any CD or floppy in it, the FreeBSD boot record attempted
to start and of course, couldn't find a kernel since one hadn't
been written.

So, I tried again and first had Partition Magic make two slices with
a DOS Fat32 on the first and the second unformatted, then had the 
FreeBSD installer write the FreeBSD MBR and it seemed to do so just 
fine, even though the newfses still failed on the partitions, so no 
filesystems were built and nothing installed.
When I rebooted, it came up with the typical FreeBSD MBR question
  F1 - DOS
  F2 - FreeBSD
Hittint F2 made it read the FreeBSD boot block on the second slice.
But, of course it couldn't really boot any farther than that because
no filesystems or kernel were there.
 
So, it still makes me thing that FreeBSD can talk at least some
to that combination of LSIL 53C1030 controller and Fujitsu hard disk.
It writes the slice table, label, MBR and boot block.   But, then
it can't do anything else.

Any other [positive] suggestions will be appreciated.

jerry
 
 
 BSDBoy
 
 -Original Message-
 
  
  Is the SCSI channel terminated properly? What is the LUN of the HDD?
 
 The SCSI cable appears to be terminated.  It has a terminator block
 on the end of the cable just past the hard drive.
 
 As for the LUN, I think it would be '0' on channel 'B' if I am
 making sense of the BIOS screen.   Once I get that close to the
 hardware, I am getting out of my level.   It has a setting that
 says scan LUNs greater than 0 and that is set to yes by default.
 The SCSI itself appears to be set to LUN 7, by the way.
 
 jerry
 
  
  BSDBoy
  
  
  Hi,
  
  I am hoping someone can give us some clues about this problem.
  A couple of us have done some searching, but found nothing that
  bears directly on it.   Maybe some different search clues might
  also help.   I am hoping for more than just it won't work, because...
  but, even a conclusive one of those would get us off the point - which
  begins to dig in after a while...
  
  Sorry this is rather long, but I wanted to include anything that
  might possibly be relevant.   Here goes.
  
  One of our sites recently purchased a Dell Poweredge 400SC and
  wants to run our school district network server system on it.
  Our system is currently based on FreeBSD 4.9 with some modifications
  to control the initial installation and aid in system management.
  We have it running on a number of other Dell Poweredge machines but
  not this particular model and especially not the LSIL SCSI controller.
  
  It has a  2.4G Celeron CPU,
1 GB Memory
Planar PE400SC, A/N, 2 Motherboard
LSI Logics 53C1030 SCSI controller
Fujitsu 36GB MAP337NP SCSI U320, 10K, 68 Pin connector hard
 drive.
+ NIC, IDE controller, CDROM, Tape drive, etc.
  
  Although this model was not our recommendation, it would look like,
  on paper, that it should at least, function.   But,,,
  
  We cannot get any FreeBSD system to install on it, not ours or even
  a straight FreeBSD 4.9 or 5.2.1 system - and I just tried 4.10 too with
  the same result.
  
  It reads the CD, boots into the sysinstall or our install system just
  fine.   It appears to do the fdisk and disklabel just fine.   Then it
  hangs or appears to hang trying to do the newfs.   It puts out the message
  about writing superblocks and then nothing more comes out - no list
  of superblocks of any kind, not even the first.
  
  I have made up variations on our version of sysinstall with additional
  messages but have not gotten any information that means anything to me.
  
  After a wait of several minutes it writes stuff to the ALT console.
  
  If I let it set long enough (hours) it puts out a failed message.
  
  
  I didn't have any MS install media handy, But did have my Partition Magic
  emergency boot floppies around so I used them to take a look after
  having attempted to do first our install, then FreeBSD 4.9 and finally
  FreeBSD 5.2.1.
  
  PM quite happily looked at things and recognized the FreeBSD slice (which,
  of course it called a partition).  So, I deleted the slice and created
  two and used the FreeBSD install CD to attempt to install on the second
  slice (da0s2) which it seemed happy to do.After checking again with
  PM and seeing that the new slicing had the FreeBSD id one it I popped in
  another FreeBSD cd and sysinstall happily read up that label with all
  the FreeBSD partitions (a,b,e,f,g,h) that I had made.   So, FreeBSD can
  obviously write some part of the disk.   But, newfs still would get to
  writing superblocks and then nothing more happened.
  
  That is the thing that seems odd to me.  It does write to some part of
  the disk, 

rpc.statd needs a lot of memory?

2004-06-11 Thread adp
I am running FreeBSD 4.9. We have several NFS clients and one server. On all
machines we are running rpc.statd. I noticed that the size is around 257MB,
although res is usually only around 460KB so this isn't a big problem. Why
is the size so large though?


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


Re: rpc.statd needs a lot of memory?

2004-06-11 Thread Matthew Seaman
On Thu, Jun 10, 2004 at 09:30:04PM -0500, adp wrote:
 I am running FreeBSD 4.9. We have several NFS clients and one server. On all
 machines we are running rpc.statd. I noticed that the size is around 257MB,
 although res is usually only around 460KB so this isn't a big problem. Why
 is the size so large though?

FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#STATD-MEM-LEAK

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpYn6dfLLLxK.pgp
Description: PGP signature


Re: Routing question

2004-06-11 Thread Ben Timby
Perhaps if you post more info, we can come up with creative solutions 
for you. My big question is why?

AFAIK, you cannot have more than one default gateway, unless you are 
using netgraph to balance between network interfaces. However, you could 
NAT C  D to their respective public interfaces. If E is a real IP, 
then the NATed traffic should flow to that interface.

I would suggest using pf, as it is a most excellent firewall package. 
Here is the section of a PF guide regarding NAT.

http://www.openbsd.org/faq/pf/nat.html
Your rules would look like this (these are from memory, so sanity check 
them):

--
#define your interfaces as macros:
A = fxp0
B = fxp1
C = fxp2
D = fxp3
E = fxp4
#define your NAT translations using our macros:
nat on $A from ($C:network) to any - $A
nat on $B from ($D:network) to any - $B
#define your filtering rules:
...
--
However, you will find that route add will not allow multiple default 
routes. You must use another package to allow for that, or at least it 
is beyond my knowledge. Let me know if you figure it out, I would be 
very interested.

Leon Botes wrote:
I have a box with 5 nics.
Cal them A,B,C,D,E.
A  B are different internet connections.
E is a connection to a mail server on a public /29
C  D are connections for 2 differnet client networks.
Is it possible to have all traffic coming in via C sent to a default gateway
on A's network and
all traffic coming in via D sent to a default gateway on B's network.
And secondly will both client networks be able to see the E/29?
If so how?
Thanks
Leon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2004-06-11 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters 

The Complete FreeBSD: errata and addenda

2004-06-11 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: Upgrading FreeBSD to a new release

2004-06-11 Thread Peter Pauly
On Sun, Jun 06, 2004 at 11:41:15PM +0200, Roman Kennke wrote:
 Hi list,
 
 One thing, that is making me _not_ using FreeBSD is, that I see no way
 to easily upgrade from, say 5.1 to 5.2 (just an example), over network.

This may or may not be an option for you:  both IBM and HP (Compaq) offer
remote supervisor cards that offer network access to the machine, even
when it is booting, etc. You can use it to access the BIOS, watch the
machine boot, get into single user mode, etc, all from your chair
in another city. 

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


Thinkad 600x PCMCIA devices fail upon insertion

2004-06-11 Thread Olaf Huelsmann
Hi!

I saw u'r question on the freebsd-board. I have a Thinkpad 600x and the same
problem with bsd and pcmcia-cards as well.
Since i'm a totaly new into bsd - i've no idea where to start on sloving
that issue. 
So i hope that you managed to get pcmcia-cards working on the TP600x and can
give me a little hint. By the way mine is Siemens i-gate11 prism2 wlancard -
along several other normal networkcard that i tried.
I hope you can help me with this and

Thanx in advance

Olaf 

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


contributing: addition of package

2004-06-11 Thread vishal kochhar
Hi,
This question is related to addition of a package (not related to OS or 
kernel) to freebsd. I read from the contribution page about 'value-added' 
packages. Is it related only to OS related packages or other s/w's like 
compilers etc too?

I am wondering if this small piece of utility will be of any use: it is a 
C++ unit test framework, quite flexible, simple, high-quality, and very 
powerful. Provides many features and capabilites for automated testing. I 
have tested it for Solaris, linux, and Windows so far (plan to release for 
bsd this week). Release under BSD license (on sourceforge).

http://www.oaklib.org/docs/oak/test/marticle/oakut.html
Could something like this be contributed?
Thanks,
Vishal
_
Catch up with old friends. Bring back the good times. 
http://www.batchmates.com/msn.asp Reconnect with the past.

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


FYI - Belkin Bluetooth USB Adapter recognized in FreeBSD 5.2.1 Release

2004-06-11 Thread Andrew L. Gould
The Belkin Bluetooth USB Adapter, model F8T001 (100 meter range), is not
in the hardware notes, I thought I'd mention it here:

I just installed FreeBSD 5.2.1 on a Dell Inspiron 8100.  The Belkin
Bluetooth USB Adapter mentioned above was recognized as ubt0.  Also,
'hccontrol -n ubt0hci inquiry' returns its hardware information,
including its BD_ADDR.

I'm new to this bluetooth stuff, and I still have to customize the OS,
so I haven't gotten any further in testing.

Have fun,

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


Auto-Reply

2004-06-11 Thread nowhere

We're sorry, this e-mail address has been discontinued. 

For comments, remarks and questions fill out the form 
on http://talkto.agfa.com/corporate/mailhand.nsf/webmastermail

This is an automatically generated message; 
Please do not reply to this e-mail.

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


Hardware compatability list query (of d00m)

2004-06-11 Thread Mike Woods
Ignore the of d00m too much invader zim does odd things to you.
Anyway, to the point, is there a big hardware compatability list anyway, 
i dont mean like the one on freebsd.org rather a site stating actual 
tried and tested cards and the like as opposed to chipsets and controllers ?

Just wondered :P
Mike Woods
IT Technician
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Upgrading FreeBSD to a new release

2004-06-11 Thread JJB
Are these supervisor cards unique to IBM  HP?
Can the card be bought separately and will they work on generic
motherboard?
Do you have URL for info on these  supervisor cards?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Peter Pauly
Sent: Friday, June 11, 2004 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading FreeBSD to a new release

On Sun, Jun 06, 2004 at 11:41:15PM +0200, Roman Kennke wrote:
 Hi list,

 One thing, that is making me _not_ using FreeBSD is, that I see no
way
 to easily upgrade from, say 5.1 to 5.2 (just an example), over
network.

This may or may not be an option for you:  both IBM and HP (Compaq)
offer
remote supervisor cards that offer network access to the machine,
even
when it is booting, etc. You can use it to access the BIOS, watch
the
machine boot, get into single user mode, etc, all from your chair
in another city.

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

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


Re: Upgrading FreeBSD to a new release

2004-06-11 Thread Peter Pauly
On Fri, Jun 11, 2004 at 01:54:26PM -0400, JJB wrote:
 Are these supervisor cards unique to IBM  HP?
 Can the card be bought separately and will they work on generic
 motherboard?
 Do you have URL for info on these  supervisor cards?

They are unique to each manufacturer. I am not aware of a generic one. We currently 
use IBM's. Just google for IBM remote supervisor II. The IBM can even be accessed 
via a web browser (with password security obviously). I'm not
up-to-date on the Compaq's. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw + natd + stateful rules. For the archives

2004-06-11 Thread fbsd_user
For the list's archives.

Here is everything you need for ipfw/natd/stateful.

Add these statements to kernel source and compile kernel to enable

# Enable kernel IPFW.
#
option  IPFIREWALL  # Adds filtering code
into kernel
option  IPFIREWALL_VERBOSE  # enable logging thru
syslogd(8)
option  IPFIREWALL_VERBOSE_LIMIT=5  # stop attack via syslog
flooding
option  IPDIVERT# needed to use natd
from IPFW



/etc/rc.conf
# Required For IPFW  kernel firewall support
firewall_enable=YES  # Start daemon
firewall_script=/etc/ipfw.rules  # run my custom rules if present
   # sh /etc/ipfw.rules will load
   # new rules file after editing.
firewall_logging=YES # Enable events logging
natd_enable=YES  # Required For IPFW nat function
natd_interface=rl0   # interface name of public
internet Nic
natd_flags=-dynamic -m   #-m = preserve port numbers if
possible



Here is the /etc/ipfw.rules  file without comments.


#!/bin/sh

cmd=ipfw -q add
skip=skipto 500
pif=rl0
ks=keep-state
good_tcpo=22,25,37,43,53,80,443,110,119

ipfw -q -f flush

$cmd 002 allow all from any to any via xl0  # exclude Lan traffic
$cmd 003 allow all from any to any via lo0  # exclude loopback
traffic

$cmd 100 divert natd ip from any to any in via $pif
$cmd 101 check-state

# Authorized outbound packets
$cmd 120 $skip udp from any to xx.168.240.2 53 out via $pif $ks
$cmd 121 $skip udp from any to xx.168.240.5 53 out via $pif $ks
$cmd 125 $skip tcp from any to any $good_tcpo out via $pif setup $ks
$cmd 130 $skip icmp from any to any  out via $pif
$cmd 135 $skip udp from any to any 123 out via $pif $ks


# Deny all inbound traffic from non-routable reserved address spaces
$cmd 300 deny all from 192.168.0.0/16  to any in via $pif  #RFC 1918
private IP
$cmd 301 deny all from 172.16.0.0/12   to any in via $pif  #RFC 1918
private IP
$cmd 302 deny all from 10.0.0.0/8  to any in via $pif  #RFC 1918
private IP
$cmd 303 deny all from 127.0.0.0/8 to any in via $pif  #loopback
$cmd 304 deny all from 0.0.0.0/8   to any in via $pif  #loopback
$cmd 305 deny all from 169.254.0.0/16  to any in via $pif  #DHCP
auto-config
$cmd 306 deny all from 192.0.2.0/24to any in via $pif  #reserved
for doc's
$cmd 307 deny all from 204.152.64.0/23 to any in via $pif  #Sun
cluster interconnect
$cmd 308 deny all from 224.0.0.0/3 to any in via $pif  #Class D
 E multicast

# Authorized inbound packets
$cmd 400 allow udp from xx.70.207.54 to any 68 in $ks
$cmd 420 allow tcp from any to me 80 in via $pif setup limit
src-addr 1
$cmd 425 allow icmp from any to any icmptypes 0,3,11,12  in via $pif


$cmd 450 deny log ip from any to any

# This is skipto location for outbound stateful rules
$cmd 500 divert natd ip from any to any out via $pif
$cmd 510 allow ip from any to any

 end of rules  ##





Here is the /etc/ipfw.rules  file with comments.

#!/bin/sh

 Start of IPFW rules file
###
# Flush out the list before we begin.
ipfw -q -f flush

# Set rules command prefix
cmd=ipfw -q add
skip=skipto 800
pif=rl0 # public interface name of Nic card
  # facing the public internet



#
# No restrictions on Inside Lan Interface for private network
# Not needed unless you have Lan.
# Change xl0 to your Lan Nic card interface name
#
$cmd 005 allow all from any to any via xl0

#
# No restrictions on Loopback Interface
#
$cmd 010 allow all from any to any via lo0

$cmd 014 divert natd ip from any to any in via $pif

#
# Allow the packet through if it has previous been added to the
# the dynamic rules table by an allow keep-state statement.
#
$cmd 015 check-state

#
# Interface facing Public internet (Outbound Section)
# Interrogate session start requests originating from behind the
# firewall on the private network or from this gateway server
# destine for the public internet.
#

# Allow out access to my ISP's Domain name server.
# x.x.x.x must be the IP address of your ISP's DNS
# Dup these lines if your ISP has more than one DNS server
# Get the IP addresses from /etc/resolv.conf file
$cmd 020 $skip tcp from any to xx.168.240.2 53 out via $pif setup
keep-state
$cmd 021 $skip udp from any to xx.168.240.2 53 out via $pif
keep-state

# Allow out access to my ISP's DHCP server for 

Re: Upgrading FreeBSD to a new release

2004-06-11 Thread Vince Hoffman


On Fri, 11 Jun 2004, Peter Pauly wrote:

 On Fri, Jun 11, 2004 at 01:54:26PM -0400, JJB wrote:
  Are these supervisor cards unique to IBM  HP?
  Can the card be bought separately and will they work on generic
  motherboard?
  Do you have URL for info on these  supervisor cards?

 They are unique to each manufacturer. I am not aware of a generic one. We currently 
 use IBM's. Just google for IBM remote supervisor II. The IBM can even be accessed 
 via a web browser (with password security obviously). I'm not
 up-to-date on the Compaq's.

the Compaq (new HP) one is called
remote insight light out edition II
a quick google should find the relevent URL
I'd be supprised if it works in non Compaq/HP servers though. (meant to
try it but we dont have any at my current workplace :( )
some more modern Compaq/HP servers have them intergrated.
one nice feature I like is the Virtual floppy drive. if you realy needed
to you could (in theory, never tried it) install any OS that supports
floppy based installs without having to go near the machine if the light
out board had the right network settings.

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

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


bad clusters problem

2004-06-11 Thread Michal Kukucka
hi, 
i try to install a freebsd miniinstall distribution on my laptop compaq armada 
4150T with 2GB disk space, from dos partition, everything was work OK until 
the installation begin copy the files to a created freebsd partition. On this 
space is some bad clusters, and therefore installation will irretrievably 
stop. My question is, it is possible that installation skip the badblocks and 
write data only on good clusters ? I try to install bsd by many ways already 
the fifth day and i dont want resign just now before finish line.

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


Interrupts crowding

2004-06-11 Thread Karsten Fuhrmann
Hello List,
maybe this is not realy FreeBSD specific but i hope you can still 
answer that.
I am wondering if there is a way to prevent some hardware components 
from interrupt sharing, because i think this is a bottleneck situation 
sometimes.

I discovered this while looking at my /var/log/messages after a reboot 
of my Freebsd 4.8 Box

USB,VGA,Ethernet are sharing irq 10
Does anyone if this is somehow configurable.
Or does someone know how much overhead such a irg polling will cost.
I think it would be much better to share the irq in another order e.g. 
ethernet with parralel port...

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


native xpdf vs static xpdf for linux (couldn't create a font for...)

2004-06-11 Thread Paulius Bulotas
Hello,

I would like to use native xpdf (compiled from ports) for viewing pdf
files, but it's almost impossible,, since for many pdf's it can't find
used fonts and of course doesn't show any text.
The question would be, why? ;)
BTW, statically linked xpdf for linux which I downloaded from foolabs.com
(ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00-linux.tar.gz) shows everything.

Everything looks like:
$ xpdf ~/sample.pdf
Error: Couldn't create a font for 'BA+TimesNewRomanPSMT'
$ ~/tmp/xpdf-3.00-linux/xpdf ~/sample.pdf
$

I've put this pdf (generated with StarOffice) at:
http://devnull.lt/files/sample.pdf

$ ldd `which xpdf`
/usr/X11R6/bin/xpdf:
   libt1.so.5 = /usr/local/lib/libt1.so.5 (0x28123000)
   libfreetype.so.9 = /usr/local/lib/libfreetype.so.9 (0x28173000)
   libXm.so.3 = /usr/X11R6/lib/libXm.so.3 (0x281df000)
   libXt.so.6 = /usr/X11R6/lib/libXt.so.6 (0x28429000)
   libXp.so.6 = /usr/X11R6/lib/libXp.so.6 (0x2847a000)
   libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x28482000)
   libXpm.so.4 = /usr/X11R6/lib/libXpm.so.4 (0x28491000)
   libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x284a)
   libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x284a9000)
   libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x284c)
   libstdc++.so.4 = /usr/lib/libstdc++.so.4 (0x28588000)
   libm.so.2 = /lib/libm.so.2 (0x28644000)
   libc.so.5 = /lib/libc.so.5 (0x2865d000)
   libz.so.2 = /lib/libz.so.2 (0x2873e000)
   libXau.so.0 = /usr/X11R6/lib/libXau.so.0 (0x2874c000)

I'm running 5.2-CURRENT, if this means something ;)

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


XFree86 Config (continued)

2004-06-11 Thread LW Ellis
OK thanx to all the help, I think I'm getting close.
I have a config file that works fineonly as long as I am signed in as
root.
KDE-Lite loads and works fine...
However
If I sign in as a user, I get a grey-green screen with some white windows.
I put the config file in etc/X11/XF86Config.
There maybe other copies somewhere, but I think I got most of them.
Do I have the config file in the right place?

Later,
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill

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


Re: XFree86 Config (continued)

2004-06-11 Thread LW Ellis
OK I copied the .xsession to /home/'username' directory.
I still get the greygreen screen with white windows.
I looked in the .xsession file and all it says it startkde.
If I enter startkde, it tells me in can't start xserver.
Leon
 
 In ~root look for .xsession or .xstart
 
 They're text files--just make sure you have one of those in your user's 
 homedir...
 
 G.
 
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 Config (continued)

2004-06-11 Thread Daniela
On Friday 11 June 2004 20:36, LW Ellis wrote:
 OK thanx to all the help, I think I'm getting close.
 I have a config file that works fineonly as long as I am signed in as
 root.
 KDE-Lite loads and works fine...
 However
 If I sign in as a user, I get a grey-green screen with some white windows.
 I put the config file in etc/X11/XF86Config.
 There maybe other copies somewhere, but I think I got most of them.
 Do I have the config file in the right place?

Copy the file '.xinitrc' from root's home directory to the respective user's 
home directory.
This is because every user can have his own desktop, so every user will have 
to specify one in order not to get the default one. It's also possible to set 
a system-wide default, but I've never done this.

Daniela


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


FreeBSD 4-10 install, RAM parity errors that don't seem to happen in Linux.

2004-06-11 Thread Derrick MacPherson
I am trying to move as much of our servers as I can to FreeBSD, and
there's a few boxes that they have here that the RAM is a about 2 mm
high and requires the case (1U machines) to press on the RAM when
closed. These machines run RH Linux for months without a problem, yet 3
out of 4 I just pulled are giving RAM parity problems during FreeBSD
instalation. 

Does FreeBSD not allow/recover from those types of errors the same way
Linux does? Any solutions?

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


Re: XFree86 Config (continued)

2004-06-11 Thread Jerry McAllister
 
 On Friday 11 June 2004 20:36, LW Ellis wrote:
  OK thanx to all the help, I think I'm getting close.
  I have a config file that works fineonly as long as I am signed in as
  root.
  KDE-Lite loads and works fine...
  However
  If I sign in as a user, I get a grey-green screen with some white windows.
  I put the config file in etc/X11/XF86Config.
  There maybe other copies somewhere, but I think I got most of them.
  Do I have the config file in the right place?
 
 Copy the file '.xinitrc' from root's home directory to the respective user's 
 home directory.
 This is because every user can have his own desktop, so every user will have 
 to specify one in order not to get the default one. It's also possible to set 
 a system-wide default, but I've never done this.

To make it a system-wide default which can be overridden by each user,
put a copy of the .xinitrc mentioned above in;  /usr/X11R6/lib/X11/xinit/
but leave off the leading dot '.' 

Anyway, if you put it in the above directory, it is the default if
the user doesn't make their own.  If they make their own and put it
in their home directory, their own overrides the default.  Something
like that anyway.

I think you can also put the default in etc/X11/ but I am not sure about that.

jerry 

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

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


Re: HTTPtunnel hangs with proxy

2004-06-11 Thread Ben Timby
My suggestion would be to use tcpdump to examine the data flow. Watch 
what your browser sends to the http proxy, and then watch what htc sends 
to it. Probably will be different. Obviously htc thinks it is talking 
directly to hts, and thus is not speaking proper http proxy protocol. 
While I know some about how this works, I don't know alot. My guess is 
that httptunnel is not compatible with an proxies, unless the manpage or 
other documentation says otherwise, and provides a switch to modify the 
way it interacts with what it *thinks* is the hts (but is really an http 
proxy).

Hope this is helpful in a general/vague sort of way :-).
Robert Eckardt wrote:
Hello,
has someone got an idea, what I'm doing wrong?
I'm trying to get httptunnel to work via a proxy.
I have observed the following behaviour under FBSD-4.5R as well as
under 5.2.1R, with apache-2.0.48_1 as well as with apache-1.3.22_7
and with httptunnel-3.3 as well as with httptunnel-3.0.5.
Finally, I reduced it to the following setting:
(I tried different options for proxy-buffer size und -timeout without
any effect):
telnet 127.0.0.1 2023
   |
   htc -F 2023 -P 127.0.0.1:80 127.0.0.1:8080
  ||
  httpd (as the proxy and at least my Netscape is happy)
 ||
 hts -F 127.0.0.1:23 8080
|
telnetd
After the connect to htc I get no further reaction from telnet.
I can send a CR to htc, where it simply sits around. All connections
are in state ESTABLISHED, only the one to telnetd does not exist at
that time.
htc waits in a read for reply from the proxy, while hts at the same
time also waits for data from the proxy on the first of two connections.
The proxy has two connections open to either htc and hts, but in
the Log of hts there is only the first of them noted. (htc sent a POST
and a GET and waits now for the reply to the GET. The proxy, however,
sent the GET to hts on the second connection, whereas hts waits
in a read in the first one.)
Only after killing htc the proxy sends its data to hts, which then
in turn opens the connection to telnetd and (after stopping hts)
closes it again.
Has someone out there successfully got such a setting (httptunnel
via a proxy) working?
How do I get httptunnel to get the proxy to forward the data
(POST-request) immediately?
Does anyone now of an alternative to httptunnel?
(I tried htun-0.9.5 but gave up as it's too hard Linux-style.)
Unneccessary to note, but without proxy the connection works fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Console and X configuration for laptop display

2004-06-11 Thread Andrew L. Gould
I installed FreeBSD 5.2.1 on a Dell Inspiron 8100.  During bootup and
later, at the command line, the usable screen is much smaller than the
available display size -- 2 to 3 inch margins on all sides.  Does anyone
know how I can fix this?

In X, a resolution of 1400x1050 fills the display; but everything,
including text in documents, looks really tiny.  1024x768 is my favorite
setting for my desktop monitor; but is rejected by X as being too small
on the laptop display.  Is there a way to make things look bigger while
in 1400x1050?

Thanks,

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


Platforms, OSes,etc.

2004-06-11 Thread reddevil69
Hi there. I have a question or two if you folks don't mind. I would like to migrate to 
a better, more stable OS for surfing, making music and data cd's as well as dvd's,  
and importing images ( vhs and photo)  to cd/dvd. As far as I'm concerned, the only 
thing that Windows is good for is my games, probably because I'm tired of all the bs 
(crashes,bugs, holes etc.).  I have a Gigabyte GA-7VM400M motherboard with an Athelon 
XP 2400+ (Thorton). My question then is this, What platform do I have (i386, pc98 ? ), 
 and what OS would you recommend for my purposes ( FreeBSD, Red Hat, SUSE?) 
irregardless of  brand names,  and multi-boot setups are not a problem. Please respond 
in non-geek english, and thank you very much for your assistance..
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using scanner with FreeBSD. A nightmare!

2004-06-11 Thread Christian Hiris
On Friday 11 June 2004 05:24, Rob wrote:
   crw-rw  1 root  operator  243, 255 Jun  6 14:10 usb
   crw-rw-rw-  1 root  operator  243,   0 Jun  6 14:10 usb0
   crw-rw-rw-  1 root  operator  243,   1 Jun  6 14:10 usb1
   crw-rw  1 root  operator  243,   2 Jun  6 14:10 usb2
   crw-rw  1 root  operator  243,   3 Jun  6 14:10 usb3
   crw-rw-rw-  1 root  operator  242,   0 Jun 10 19:31 uscanner0

 What role does /dev/usb  play in this story?

It plays no special role in our story. Afaik it's used by usbd for reading 
device attachment/detachment events. I didn't snipped it when I pasted the ls 
command output :-) 

regards
ch

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgpHU6hixu9et.pgp
Description: signature


Re: Using scanner with FreeBSD. A nightmare!

2004-06-11 Thread Christian Hiris
On Friday 11 June 2004 00:53, Guillermo García-Rojas wrote:
 Same problem I had last month.

 What I did?

 I comment out the line:

 device  uscanner

 on my kernel and installed libUSB.

 My Scanner worked for 2 or 3 times and now it doesn't work anymore.

 I have FreeBSD 4.10-STABLE
 Scanner: USB Generic Flatbed Scanner

Is it completely dead now? What is it's vendor and product ID, what says 
'usbdevs -v'? Is it listed in /usr/src/sys/dev/usb/uscanner.c and usbdevs? 

regards
ch

-- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu


pgp3jq7DuHixs.pgp
Description: signature


Re: Platforms, OSes,etc.

2004-06-11 Thread Bill Moran
reddevil69 [EMAIL PROTECTED] wrote:

 Hi there. I have a question or two if you folks don't mind. I would like to
 migrate to a better, more stable OS for surfing, making music and data cd's as
 well as dvd's,  and importing images ( vhs and photo)  to cd/dvd. As far as
 I'm concerned, the only thing that Windows is good for is my games, probably
 because I'm tired of all the bs (crashes,bugs, holes etc.).  I have a Gigabyte
 GA-7VM400M motherboard with an Athelon XP 2400+ (Thorton). My question then is
 this, What platform do I have (i386, pc98 ? )

i386.

  and what OS would you recommend for my purposes ( FreeBSD, Red Hat, SUSE?)

FreeBSD.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Version query for a new machine

2004-06-11 Thread Louis LeBlanc
Hey everyone.  After my CPU fan (or was it the hard drive?) spent a
day or two screeching constantly at high frequencies (and volume), I
finally broke down and ordered a new PC.  The problem is what to
install on it.

The new system is a Dell Dimension 8300, w/P4 @ 3.0 Ghz, HT etc.  The
video card is a 128M NVidia GeForce, and I want to make sure the sound
works, which should be easy enough (SB Live! 5.1).  It's gonna be
strange after working for years on the same systems at 400-450 Mhz!

The real decision isn't whether to install FreeBSD (it *will* be
FreeBSD dedicated), but which version?

I want it to be reasonably stable, so CURRENT is probably out.  I'm
running RELENG_4_10 now, which I like just fine, but I'm not sure if
this will take advantage of the HT tech in the processor.
/usr/src/UPDATING has the following on the subject:

   Support for HyperThread logical CPUs has now been enabled by
   default.  As a result, the HTT kernel option no longer exists.
   Instead, the logical CPUs are always started so that they can
   handle interrupts.  However, the extra logical CPUs are prevented
   from executing user processes by default.  To enable the logical
   CPUs, change the value of the machdep.hlt_logical_cpus from 1 to
   0.  This value can also be set from the loader as a tunable of
   the same name.

I'm not an SMP guru (or even a novice) but that sounds like it will
take full advantage if I simply make the specified sysctrl
configuration change (finding the sysctrl documentation is tricky
enough in itself).

I know nobody is going to guarantee their answer to this one, but is
RELENG_5_2 reliable enough for a moderately loaded system?  If it is,
are the gains worth the supposedly lower stability?  Would I even
notice this, going from a 400Mhz to a 3.0Ghz?

I don't put much load on except when upgrading ports, munging photos,
etc, but I plan to do some Perl, C/C++ and Java/Tomcat/webapp
development on it in the near future, and I'd like to finally be able
to compile OpenOffice.org.  I may also take it for a test drive with a
game or two (particularly if I get wine working), which might push the
envelope a bit.

If 4.10 is the best route for now, what kind of pain factor will the
upgrade to 5.x be when the time comes?  I typically keep over 300
ports installed, so I expect that alone will be kinda ugly to work
with (See the corrolary to Murphy at the bottom).

Since I haven't got the system yet (about 10 days out), I'd like to
have an idea where to start *before* I get it - once I do, it will be
too late to plan, because I'll probably just stop thinking objectively
until I have it up and running.  Hence the need for a plan beforehand
:)

Thanks in advance

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

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


Re: DNS + DHCP auto host updates.

2004-06-11 Thread Louis LeBlanc
On 06/11/04 11:02 AM, Ben Timby sat at the `puter and typed:
 Hello, does anyone have a good guide for setting up DNS updates using 
 ISC DHCP server? I want hosts on my network to become registered with 
 DNS server when they recieve network configuration. I have not been able 
 to find a guide or more information than what is in the man pages for 
 dhcpd and bind. Any help is appreciated. Please reply to the list.

While searching the mailing list archives for a completely unrelated
question, I found this link in someones sig:

http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/

There is a link to a tutorial for exactly that task.  One of the
better links I've found on it, anyway.

I'll be doing this myself in a few weeks, so I'd appreciate if you'd
post back to the list (in this thread if you like) any gotchas (or
lack thereof) you encounter.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

COBOL:
  Completely Over and Beyond reason Or Logic.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Version query for a new machine

2004-06-11 Thread Bill Moran
Louis LeBlanc [EMAIL PROTECTED] wrote:
 Hey everyone.  After my CPU fan (or was it the hard drive?) spent a
 day or two screeching constantly at high frequencies (and volume), I
 finally broke down and ordered a new PC.  The problem is what to
 install on it.
 
 The new system is a Dell Dimension 8300, w/P4 @ 3.0 Ghz, HT etc.  The
 video card is a 128M NVidia GeForce, and I want to make sure the sound
 works, which should be easy enough (SB Live! 5.1).  It's gonna be
 strange after working for years on the same systems at 400-450 Mhz!
 
 The real decision isn't whether to install FreeBSD (it *will* be
 FreeBSD dedicated), but which version?
 
 I want it to be reasonably stable, so CURRENT is probably out.  I'm
 running RELENG_4_10 now, which I like just fine, but I'm not sure if
 this will take advantage of the HT tech in the processor.
 /usr/src/UPDATING has the following on the subject:
 
Support for HyperThread logical CPUs has now been enabled by
default.  As a result, the HTT kernel option no longer exists.
Instead, the logical CPUs are always started so that they can
handle interrupts.  However, the extra logical CPUs are prevented
from executing user processes by default.  To enable the logical
CPUs, change the value of the machdep.hlt_logical_cpus from 1 to
0.  This value can also be set from the loader as a tunable of
the same name.
 
 I'm not an SMP guru (or even a novice) but that sounds like it will
 take full advantage if I simply make the specified sysctrl
 configuration change (finding the sysctrl documentation is tricky
 enough in itself).
 
 I know nobody is going to guarantee their answer to this one, but is
 RELENG_5_2 reliable enough for a moderately loaded system?  If it is,
 are the gains worth the supposedly lower stability?  Would I even
 notice this, going from a 400Mhz to a 3.0Ghz?

I think you'd be happier with 5 at this point.  Not -CURRENT, but the latest
5.2.1.

You are going to have a few problems, depending on what you're doing.  For
example, I wanted to do C# development on FreeBSD, and was majorly bummed to
find that mono doesn't work on 5 ... seems to work OK on 4.

So you might just want to peruse the ports you want searching for BROKEN=
messages that refer to 5.x before taking that route.

I believe the upgrade path from 4 to 5 is more or less a reinstall at this
point ... but wiser folk may correct me on this if I'm wrong.

I ran 5 for quite a while on my 1G desktop machine, and the only frustration
I had was being unable to use mono.  Then my HDD went up in smoke, and when
I reinstalled, I put 4 on so I could do C# work ... then (following the
rules of Murphy) I got tied up in other things, and haven't done a damn thing
with C# yet ...

Anyway, 5 seemed (in my opinion) to perform just as well as 4 for a desktop
system, so I wouldn't worry about that at all.

 I don't put much load on except when upgrading ports, munging photos,
 etc, but I plan to do some Perl, C/C++ and Java/Tomcat/webapp
 development on it in the near future, and I'd like to finally be able
 to compile OpenOffice.org.  I may also take it for a test drive with a
 game or two (particularly if I get wine working), which might push the
 envelope a bit.
 
 If 4.10 is the best route for now, what kind of pain factor will the
 upgrade to 5.x be when the time comes?  I typically keep over 300
 ports installed, so I expect that alone will be kinda ugly to work
 with (See the corrolary to Murphy at the bottom).
 
 Since I haven't got the system yet (about 10 days out), I'd like to
 have an idea where to start *before* I get it - once I do, it will be
 too late to plan, because I'll probably just stop thinking objectively
 until I have it up and running.  Hence the need for a plan beforehand
 :)

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Version query for a new machine

2004-06-11 Thread Louis LeBlanc
On 06/11/04 08:18 PM, Bill Moran sat at the `puter and typed:
 Louis LeBlanc [EMAIL PROTECTED] wrote:
  SNIPPED
  I know nobody is going to guarantee their answer to this one, but is
  RELENG_5_2 reliable enough for a moderately loaded system?  If it is,
  are the gains worth the supposedly lower stability?  Would I even
  notice this, going from a 400Mhz to a 3.0Ghz?
 
 I think you'd be happier with 5 at this point.  Not -CURRENT, but the latest
 5.2.1.
 
 You are going to have a few problems, depending on what you're doing.  For
 example, I wanted to do C# development on FreeBSD, and was majorly bummed to
 find that mono doesn't work on 5 ... seems to work OK on 4.
 
 So you might just want to peruse the ports you want searching for BROKEN=
 messages that refer to 5.x before taking that route.
 
 I believe the upgrade path from 4 to 5 is more or less a reinstall at this
 point ... but wiser folk may correct me on this if I'm wrong.
 
 I ran 5 for quite a while on my 1G desktop machine, and the only frustration
 I had was being unable to use mono.  Then my HDD went up in smoke, and when
 I reinstalled, I put 4 on so I could do C# work ... then (following the
 rules of Murphy) I got tied up in other things, and haven't done a damn thing
 with C# yet ...

Isn't that always the way?  Just when I get my best ideas, I get moved
to another project . . .

 Anyway, 5 seemed (in my opinion) to perform just as well as 4 for a desktop
 system, so I wouldn't worry about that at all.

Thank you so much.  You've certainly alleviated my stability concerns,
and I'll certainly be glad not to have to go offline a couple days for
the 4.x to 5.x upgrade (I'd just wind up putting it off to the point
of foolishness).

I'm not so concerned about C# right now, so I think 5.2.1 will
probably be it.  And I'll certainly scour the ports to verify the ones
I *do* want.

Thanks again!

Now to decide whether to change my IMAP server.  Any recommendations?

I'm using Cyrus now, but I suspect it may be paramount to using a
shotgun to kill a gnat.  I have like 3 users, and each one has a login
anyway (to accomodate Samba shares).  I definitely want to keep IMAP,
but adding POP3 will depend entirely on the associated pain factor.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

weapon, n.:
  An index of the lack of development of a culture.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IMAP server (was Re: Version query for a new machine)

2004-06-11 Thread Bill Moran
Louis LeBlanc [EMAIL PROTECTED] wrote:
 Now to decide whether to change my IMAP server.  Any recommendations?
 
 I'm using Cyrus now, but I suspect it may be paramount to using a
 shotgun to kill a gnat.  I have like 3 users, and each one has a login
 anyway (to accomodate Samba shares).  I definitely want to keep IMAP,
 but adding POP3 will depend entirely on the associated pain factor.

Have you looked at dovecot?  I've been very happy with it for small
installations.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: native xpdf vs static xpdf for linux (couldn't create a font for...)

2004-06-11 Thread horio shoichi
On Fri, 11 Jun 2004 23:08:46 +0300
Paulius Bulotas [EMAIL PROTECTED] wrote:
 Hello,
 
 I would like to use native xpdf (compiled from ports) for viewing pdf
 files, but it's almost impossible,, since for many pdf's it can't find
 used fonts and of course doesn't show any text.
 The question would be, why? ;)
 BTW, statically linked xpdf for linux which I downloaded from foolabs.com
 (ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00-linux.tar.gz) shows everything.
 
 Everything looks like:
 $ xpdf ~/sample.pdf
 Error: Couldn't create a font for 'BA+TimesNewRomanPSMT'
 $ ~/tmp/xpdf-3.00-linux/xpdf ~/sample.pdf
 $
 
 I've put this pdf (generated with StarOffice) at:
 http://devnull.lt/files/sample.pdf
 
 $ ldd `which xpdf`
 /usr/X11R6/bin/xpdf:
libt1.so.5 = /usr/local/lib/libt1.so.5 (0x28123000)
libfreetype.so.9 = /usr/local/lib/libfreetype.so.9 (0x28173000)
libXm.so.3 = /usr/X11R6/lib/libXm.so.3 (0x281df000)
libXt.so.6 = /usr/X11R6/lib/libXt.so.6 (0x28429000)
libXp.so.6 = /usr/X11R6/lib/libXp.so.6 (0x2847a000)
libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x28482000)
libXpm.so.4 = /usr/X11R6/lib/libXpm.so.4 (0x28491000)
libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x284a)
libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x284a9000)
libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x284c)
libstdc++.so.4 = /usr/lib/libstdc++.so.4 (0x28588000)
libm.so.2 = /lib/libm.so.2 (0x28644000)
libc.so.5 = /lib/libc.so.5 (0x2865d000)
libz.so.2 = /lib/libz.so.2 (0x2873e000)
libXau.so.0 = /usr/X11R6/lib/libXau.so.0 (0x2874c000)
 
 I'm running 5.2-CURRENT, if this means something ;)
 
 TIA
 Paulius
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

What is your /usr/X11R6/etc/xpdfrc like ?

It seems a lot of lines necessary for font handling are commented out
in default install.



horio shoichi

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


New Question

2004-06-11 Thread LW Ellis
The depth of my unix ignorance is showing...
I kept getting a glitch, probably from my bad install attempt.
I wiped my HD and re-installed FreeBSD with what I have learned.
I have configured my xserver and it seems to be working ok.
I read the the FreeBSD Handbook and found little about adding users or
groups.
1) Do I add a group before a user?
2) Other than sysinstall to add a user, is there anything else I need to do
to configure a regular (notsuperuser)
(Keeping in mind to copy .xsession and .xinitrc to that user's dir.)

Thanx in advance!

Later,
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill

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


Re: DNS + DHCP auto host updates.

2004-06-11 Thread Thomas Farrell
Here you go.  Here is an example of a dhcpd.conf entry

subnet 4.10.10.0 netmask 255.255.252.0 {
dynamic-dhcp range 4.10.10.2 4.10.13.254 {
option subnet-mask 255.255.252.0;
option domain-name dsl-verizon.net;
option domain-name-servers 4.2.2.4,4.2.2.5,4.2.2.6;
option routers 4.10.10.1;
option dhcp-lease-time 14400;
option dhcp-renewal-time 7200;
option dhcp-rebinding-time 12600;
}
}
- Original Message -
From: Ben Timby [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 11, 2004 12:02 PM
Subject: DNS + DHCP auto host updates.


 Hello, does anyone have a good guide for setting up DNS updates using
 ISC DHCP server? I want hosts on my network to become registered with
 DNS server when they recieve network configuration. I have not been able
 to find a guide or more information than what is in the man pages for
 dhcpd and bind. Any help is appreciated. Please reply to the list.

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




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


Re: Problem with samba - windows clients reboot when saving.

2004-06-11 Thread Thomas Farrell
This behavior could be caused by  a virus/ trojan or worm. Sasser will
reboot windowz boxes. Get some AV software update it and scan your system.
If you only see this when your attempting to save files to the samba server
try shutting down application in an attempt to locate the bad process. You
might want to check the event log and  check with the samba peeps and
windows geeks. Also upgrade to samba 3

Latez



- Original Message -
From: admin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 11, 2004 10:55 AM
Subject: Problem with samba - windows clients reboot when saving.


 hello:

 Freebsd 4.9
 Recent install world and kernel after cvsup
 Samba 2.2.8a

 The clients have files in their home directories and on a common share on
 the BSD box.
 Every so often when they make a change to a file and save it the client
 machine reboots.
 Clients run win98 and office XP with SP2.

 error for the log.smbd:
   smbd version 2.2.8a started.
   Copyright Andrew Tridgell and the Samba Team 1992-2002
 [2003/10/15 08:04:55, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:17:43, 0] lib/util_sock.c:read_socket_with_timeout(300)
   read_socket_with_timeout: timeout read. read error = Connection reset by
 peer.
 [2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(794)
   oplock_break: receive_smb error (Connection reset by peer)
   oplock_break failed for file HONDE OORLASTE.doc (dev = 27406, inode =
 2861321, file_id = 3).
 [2003/10/15 08:17:43, 0] smbd/oplock.c:oplock_break(879)
   oplock_break: client failure in break - shutting down this smbd.
 [2003/10/15 08:18:11, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:18:15, 0] smbd/oplock.c:request_oplock_break(1011)
   request_oplock_break: no response received to oplock break request to
pid
 934 on port 1127 for dev = 27406, inode = 2861321, file_id = 3
 [2003/10/15 08:20:21, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:38:18, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:42:08, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer
 [2003/10/15 08:49:09, 0] lib/util_sock.c:read_data(436)
   read_data: read failure for 4. Error = Connection reset by peer

 There have been a lot more reboots that don't appear in the log - don't
know
 why.

 smb.conf :
 # Global parameters
 [global]
 workgroup = MATZIKAMA
 netbios name = BSD1
 encrypt passwords = Yes
 unix password sync = Yes
 preferred master = Yes
 domain master = Yes
 admin users = %S
 create mask = 0777
 directory mask = 0777

 [homes]
 valid users = %S
 read only = No
 browseable = No

 [shared]
 path = /usr/home/shared
 read only = No
 guest ok = Yes
 vfs object = /usr/local/lib/samba/recycle.so
 vfs options = /usr/local/etc/recycle.conf.default

 [printers]
 path = /var/spool/samba
 guest ok = Yes
 printable = Yes
 browseable = No
 [hp5000]
 comment = Hp 5000 at Amanda
 path = /var/spool/lpd/hp5000
 read only = No
 guest ok = Yes
 printable = Yes
 printer name = hp5000
 oplocks = No
 . and six more printers identical to this one.

 The problem appeared about 2 months after i upgraded to 2.2.8a

 I have set the permissions on the users files to 777 and checked ownership
 just to be sure. Still does the same.
 I'm not sure if the problem lies on samba office xp or win98. All
antivirus
 software on the clients have been disabled.

 Any help is needed urgently.
 Thanks in advance leon.


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





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


Re: New Question (add new users groups)

2004-06-11 Thread Rob
LW Ellis wrote:
The depth of my unix ignorance is showing...
I kept getting a glitch, probably from my bad install attempt.
New Question is not a useful subject of your email.
Formulate your question in a few words as a subject.
That makes it easier for others to browse through the long list
of emails in the mailinglist and pick those that are of interest.
I wiped my HD and re-installed FreeBSD with what I have learned.
I have configured my xserver and it seems to be working ok.
I read the the FreeBSD Handbook and found little about adding users or
groups.
1) Do I add a group before a user?
2) Other than sysinstall to add a user, is there anything else I need to do
to configure a regular (notsuperuser)
(Keeping in mind to copy .xsession and .xinitrc to that user's dir.)
In this case, and in this stage of your experience, I would recommend to you
to use /stand/sysinstall.
In an xterminal, become root and do:
# cd /stand
# ./sysinstall
This will give you the configuration dialog, that you may remember from when
you did the installation. But this time you choose the option:
   Configure   Do post-install configuration of FreeBSD
In the next dialog, you get lots menu items. Some of them are a little dangerous
(e.g. disk management), but you also see here User Management.
Go there and add a group and new user; this dialog explains itself, I suppose.
When finished, simply select Cancel and X Exit Install and you're done.
Would that work?
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3WARE: Drive sector ECC error corrected

2004-06-11 Thread Mike Tancsa
On Fri, 11 Jun 2004 02:46:09 -0700, in sentex.lists.freebsd.questions
you wrote:

I'm currently running 3ware 8506-12 cards on freebsd 4.9 using the built in
twe driver. Today (and previously) I've run into a situation where a volume
stops responding to any read or write requests.
Here is the AEN log:

Strange, we get the odd problem like that we some maxtor drives, but
the unit recovers and all continues.  

If you update to RELENG_4 or 4.10 there are some newer drivers.  Not
sure if it would help or not.  Perhaps open a support case on the
3ware web site. I have found them quite helpful in the past.

---Mike

 

trtd WIDTH=3% BGCOLOR=#f9bb00./tdtd18:44:28 Sat
29-May-2004/tdtdDrive sector ECC error corrected on port 7 on controller
ID:0. (0x23)/td/tr

 

Here is my dmesg:

Copyright (c) 1992-2003 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 4.9-RELEASE-p2 #4: Thu Feb  5 14:24:16 GMT 2004

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP-GLOBAT

Timecounter i8254  frequency 1193182 Hz

CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.72-MHz 686-class CPU)

  Origin = GenuineIntel  Id = 0xf25  Stepping = 5

 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

  Hyperthreading: 2 logical CPUs

real memory  = 2146959360 (2096640K bytes)

avail memory = 2086326272 (2037428K bytes)

Programming 24 pins in IOAPIC #0

IOAPIC #0 intpin 2 - irq 0

Programming 24 pins in IOAPIC #1

Programming 24 pins in IOAPIC #2

FreeBSD/SMP: Multiprocessor motherboard: 4 CPUs

 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee0

 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee0

 cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee0

 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee0

 io0 (APIC): apic id:  2, version: 0x00178020, at 0xfec0

 io1 (APIC): apic id:  3, version: 0x00178020, at 0xfec8

 io2 (APIC): apic id:  4, version: 0x00178020, at 0xfec80400

Preloaded elf kernel kernel at 0xc04b8000.

Warning: Pentium 4 CPU: PSE disabled

Pentium Pro MTRR support enabled

md0: Malloc disk

Using $PIR table, 20 entries at 0xc00fde80

npx0: math processor on motherboard

npx0: INT 16 interface

pcib0: Host to PCI bridge on motherboard

pci0: PCI bus on pcib0

pci0: unknown card (vendor=0x8086, dev=0x2541) at 0.1

pcib1: PCI to PCI bridge (vendor=8086 device=2543) at device 2.0 on pci0

pci1: PCI bus on pcib1

pci1: unknown card (vendor=0x8086, dev=0x1461) at 28.0

pcib2: PCI to PCI bridge (vendor=8086 device=1460) at device 29.0 on pci1

IOAPIC #1 intpin 4 - irq 2

pci2: PCI bus on pcib2

twe0: 3ware Storage Controller port 0x7000-0x700f mem
0xfc80-0xfcff,0xfc20-0xfc2f irq 2 at device 2.0 on pci2

twe0: 12 ports, Firmware FE7S 1.05.00.063, BIOS BE7X 1.08.00.048

pci1: unknown card (vendor=0x8086, dev=0x1461) at 30.0

pcib3: PCI to PCI bridge (vendor=8086 device=1460) at device 31.0 on pci1

pci3: PCI bus on pcib3

pci0: unknown card (vendor=0x8086, dev=0x2544) at 2.1

pcib4: Intel 82801BA/BAM (ICH2) Hub to PCI bridge at device 30.0 on pci0

IOAPIC #0 intpin 21 - irq 5

IOAPIC #0 intpin 20 - irq 10

IOAPIC #0 intpin 23 - irq 11

pci4: PCI bus on pcib4

pci4: ATI Mach64-GR graphics accelerator at 3.0 irq 5

fxp0: Intel 82550 Pro/100 Ethernet port 0x8400-0x843f mem
0xfe00-0xfe01,0xfe041000-0xfe041fff irq 10 at device 4.0 on pci4

fxp0: Ethernet address 00:02:b3:e9:0d:28

inphy0: i82555 10/100 media interface on miibus0

inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.16 port
0x8440-0x847f mem 0xfe02-0xfe03 irq 11 at device 5.0 on pci4

em0:  Speed:N/A  Duplex:N/A

isab0: PCI to ISA bridge (vendor=8086 device=2480) at device 31.0 on pci0

isa0: ISA bus on isab0

atapci0: Intel ICH3 ATA100 controller port
0x6c60-0x6c6f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0

ata0: at 0x1f0 irq 14 on atapci0

ata1: at 0x170 irq 15 on atapci0

pci0: unknown card (vendor=0x8086, dev=0x2483) at 31.3 irq 0

orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc97ff,0xe3000-0xe3fff
on isa0

pmtimer0 on isa0

fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0

fdc0: FIFO enabled, 8 bytes threshold

atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0

atkbd0: AT Keyboard irq 1 on atkbdc0

kbd0 at atkbd0

vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0

sc0: System console at flags 0x100 on isa0

sc0: VGA 16 virtual consoles, flags=0x100

sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0

sio0: type 16550A, console

sio1 at port 0x2f8-0x2ff irq 3 on isa0

sio1: type 16550A

ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0

ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode

ppc0: FIFO with 16/16/9 bytes 

Re: New Question

2004-06-11 Thread Jerry McAllister
 
 The depth of my unix ignorance is showing...
 I kept getting a glitch, probably from my bad install attempt.
 I wiped my HD and re-installed FreeBSD with what I have learned.
 I have configured my xserver and it seems to be working ok.
 I read the the FreeBSD Handbook and found little about adding users or
 groups.
 1) Do I add a group before a user?

Yes.   
Probably to the appropriate group before you add a user whose primary 
group will be that one.

You can, but you do not need to make a separate group for each user.  
You may want to use the group ID to make categories of users who can
work together, for example.  

You can create a group just by editing the /etc/group file.
Copy one of the existing group lines and edit it with a
different name and number.  You can use regular vi(1) for editing
the group file.

Don't use any numbers below 100, and I suggest starting at
with 200 or even 1000 as a good round number.   Give you some
room to play after you get big ideas about some project - and you
are sure to do so if you stick around long enough.

 2) Other than sysinstall to add a user, is there anything else I need to do
 to configure a regular (notsuperuser)
 (Keeping in mind to copy .xsession and .xinitrc to that user's dir.)

There are various utilities to add users.  adduser(8) is probably the
best known.   Or you can just use vipw to edit the /etc/passwd and
/etc/master.passwd files directly and then create the correct home
directory and such by hand if you really want to get the feel of UNIX.
Do not edit either /etc/passwd or /etc/master.passwd with any other
editing tool.  vipw makes sure locks are handled and that the 
database is properly updated.

Also, as with groups, do not use any UID numbers below 100
and starting at at least 200 or 1000 is a good idea.
UIDs and GIDs below 100 are reserved for various standard usages.

jerry

 
 Thanx in advance!
 
 Later,
 Leon
 A fanatic is one who can't change his mind and won't change the subject.
 Sir Winston Churchill
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


(add new users groups)

2004-06-11 Thread LW Ellis
OK, I got that part down..
(sysinstall and adding the user)
I've ordered a FreeBSD book based on the recommendations I received here
(this list)
Until then I'm pretty much shooting in the dark, learning as I go.

I'm not clear on the Unix group/user setup
From what I have read, FreeBSD will place users in a default group
Do I need a group? I will have about 6 users (not all at once)
DO I add a group before users?
Will it be to my benefit down the road to make a group now?

I can't thank you and everyone else that has helped, enough.
I know newbys can be a pain.
Leon

- Original Message - 
From: Rob [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 11, 2004 7:48 PM
Subject: Re: New Question (add new users  groups)


 LW Ellis wrote:
  The depth of my unix ignorance is showing...
  I kept getting a glitch, probably from my bad install attempt.

 New Question is not a useful subject of your email.
 Formulate your question in a few words as a subject.
 That makes it easier for others to browse through the long list
 of emails in the mailinglist and pick those that are of interest.

  I wiped my HD and re-installed FreeBSD with what I have learned.
  I have configured my xserver and it seems to be working ok.
  I read the the FreeBSD Handbook and found little about adding users or
  groups.
  1) Do I add a group before a user?
  2) Other than sysinstall to add a user, is there anything else I need to
do
  to configure a regular (notsuperuser)
  (Keeping in mind to copy .xsession and .xinitrc to that user's dir.)

 In this case, and in this stage of your experience, I would recommend to
you
 to use /stand/sysinstall.
 In an xterminal, become root and do:

 # cd /stand
 # ./sysinstall

 This will give you the configuration dialog, that you may remember from
when
 you did the installation. But this time you choose the option:
 Configure   Do post-install configuration of FreeBSD

 In the next dialog, you get lots menu items. Some of them are a little
dangerous
 (e.g. disk management), but you also see here User Management.
 Go there and add a group and new user; this dialog explains itself, I
suppose.

 When finished, simply select Cancel and X Exit Install and you're
done.

 Would that work?

 Rob.


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


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


XFree86 Config SOLVED

2004-06-11 Thread LW Ellis
THanx everybody!!
After I did a clean install
Got Xserver setup, 
KDE setup
THen I added a user, 
No problems

Couldn't have done it with out you!!!

Later, 
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (add new users groups)

2004-06-11 Thread Rob
LW Ellis wrote:
OK, I got that part down..
(sysinstall and adding the user)
I've ordered a FreeBSD book based on the recommendations I received here
(this list)
Until then I'm pretty much shooting in the dark, learning as I go.
I'm not clear on the Unix group/user setup
From what I have read, FreeBSD will place users in a default group
Do I need a group? I will have about 6 users (not all at once)
DO I add a group before users?
Will it be to my benefit down the road to make a group now?
Every 'thing' in Unix should be a user and belong to a group.
These are basically numbers: user-ID and group-ID.
So everytime you add a user to the system, that user will also get
a group-ID.
On my system I am user 1001, and in group 1005. The files
/etc/passwd and /etc/group map these numbers to nice names.
On my system these numbers map to the user-group names lahaye
and surfion, for example.
These user-IDs and group-IDs are the essential part of permissions
in Unix. Permissions that (dis)allow a user to view or execute files;
to browse directries etc. etc. Do an ls -l and you see to which
user/group the files and directories belong. E.g:
$ ls -l .xsession
-rwxr-xr-x  1 lahaye  surfion  613 Apr 10 19:58 .xsession
(As an aside, sometimes, by mistake, files or directories have a
user or group ID that is not listed in /etc/passwd and/or /etc/group;
in that case the system cannot do the mapping to nice names, and you
get the bare numbers!).
The user/group concept clarify who can access what.
For example, there is you, your family members, and the big world outside.
Say you add yourself as
  user=leon, group=ellis
Then add your brother, father etc. as
  user=john, group=ellis
  user=dad, group=ellis
When you create a file, you then decide who can access this file.
1) Only you (none of the family members, neither the outside world)
2) You and all family members
3) Everybody (you, family and everybody else)
To make things a little more complicated: you can specify this separately
for 'reading', 'writing', and 'executing'. See the chmod command for details.
This is a starting point for learning more on the basics of Unix and
its files/directories permission strategy.
Happy Unixing,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (add new users groups)

2004-06-11 Thread Rob
Rob wrote:
Every 'thing' in Unix should be a user and belong to a group.
   
replace should be by should be owned by.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: native xpdf vs static xpdf for linux (couldn't create a font for...)

2004-06-11 Thread Jonathan Chen
On Fri, Jun 11, 2004 at 11:08:46PM +0300, Paulius Bulotas wrote:
 Hello,
 
 I would like to use native xpdf (compiled from ports) for viewing pdf
 files, but it's almost impossible,, since for many pdf's it can't find
 used fonts and of course doesn't show any text.
 The question would be, why? ;)
 BTW, statically linked xpdf for linux which I downloaded from foolabs.com
 (ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00-linux.tar.gz) shows everything.

You need to install ghostscript fonts for it to display properly.
Easiest way to do this is to install print/ghostscript.

I've asked the xpdf maintainer to put in a note about this, but it's been
ignored...

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When all else fails, RTFM
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (add new users groups)

2004-06-11 Thread Matt Navarre
On Friday 11 June 2004 06:59, LW Ellis wrote:
 OK, I got that part down..
 (sysinstall and adding the user)
 I've ordered a FreeBSD book based on the recommendations I received here
 (this list)
 Until then I'm pretty much shooting in the dark, learning as I go.

 I'm not clear on the Unix group/user setup

 From what I have read, FreeBSD will place users in a default group

 Do I need a group? I will have about 6 users (not all at once)
 DO I add a group before users?
 Will it be to my benefit down the road to make a group now?

Groups are used for, well, grouping users. Which is kind of opaque, but true.

Basically it has to do with Unix's permission scheme. When you ls -l a file 
you'll se something like this:

-rwxrwxrwx   1 mnavarre  mnavarre  4542 Dec 15  2002 yaptu.py
   ^^^ ^^^^^^   ^^^^^
permissions ownergroup   size date fname

Notice the permissions repeat the rwx sequence three times, they stand for 
read, write and execute, each set of letters controls access to the file for 
a diffetent class of users, user group or other. these are considered in that 
order, i.e. if a user tries to write a file first the owner permissions are 
considered, if they allow writing the file is written and we don't look at 
the other permissions, if not we move on to the group permissions if the user 
belongs to the group and there is group write permission file is written, we 
stop, etc., if not we move on to the other permissions, this encompases all 
users who didn't fall into the first two classes.

Keep in mind that many people can belong to one group, that's what they're 
for. You can have a group for a project and put all the users involved in 
that project in a group and use the group permissions to control access to 
those files. What most people do is make a group for each user that only they 
belong to and have that be their main group. users can then be added to other 
groups, and new groups can be added as need arises.

This is kind of brief, and maybe not that helpful, but it's a start. You'll 
also want to read the chmod(1) man page and the Handbook sections on 
permissions:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/permissions.html

And on Users and account magement:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html

It might take a bit to get your head around, but you will.

 I can't thank you and everyone else that has helped, enough.
 I know newbys can be a pain.
 Leon

OK,
Matt

-- 
We all enter this world in the same way: naked, screaming,
 and soaked in blood. But if you live your life right, that kind
 of thing doesn't have to stop there. -- Dana Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1

2004-06-11 Thread raymond

I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system.
The tape successfully does a dump and restore on this system but when
the tape is taken to a Sony SDX-400 SCSI tape drive on a FreeBSD 4.7-RELEASE
system, restore insists that the tape blocks are 512 bytes and this is
not a multiple of 1024 (the tape was created with a -b 32).

I have then taken the backup from the SCSI drive (where it reads) and attempted
to read it on the ATAPI drive; the result looks like:

monster# mt -f /dev/nast0 status
Mode  Density  Blocksize  bpi  Compression
Current:  0x01:X3.22-1983  512 bytes  800  0x1
-available modes-
0:default  variable   0none
1:default  variable   0none
2:default  variable   0none
3:default  variable   0none
-
File Number: 0  Record Number: 0Residual Count 0
monster# mt -f /dev/nast0 rew
monster# restore -t -b32 -f /dev/nast0
Tape read error while trying to set up tape
continue? [yn] y
Tape is not a dump tape
monster# atacontrol info 1
Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5
Slave:  acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0
monster# atacontrol mode 1
Master = UDMA66 --- I had set this
Slave  = PIO4
monster# atacontrol reinit 1
Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5
Slave:  acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0
monster# atacontrol mode 1
Master = PIO4   --- It reverts
Slave  = PIO4
monster# mt -f /dev/nast0 rew
monster# restore -t -b32 -f /dev/nast0
Tape read error while trying to set up tape
continue? [yn] y
Tape is not a dump tape

Any help gratefully received.

Ray Newman
12 Jun 2004
Message sent at 07:28 AM on 12 Jun 2004 by PUP::RAYMOND.  Id: 367835.
Message sent at 01:54 PM on 12 Jun 2004 by PUP::RAYMOND.  Id: 367866.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sony AIT SDX-420 ATAPI tape drive on FreeBSD 5.2.1

2004-06-11 Thread raymond

I have added a Sony SDX-420 ATAPI tape drive to a FreeBSD 5.2.1-RELEASE system.
The tape successfully does a dump and restore on this system but when
the tape is taken to a Sony SDX-400 SCSI tape drive on a FreeBSD 4.7-RELEASE
system, restore insists that the tape blocks are 512 bytes and this is
not a multiple of 1024 (the tape was created with a -b 32).

I have then taken the backup from the SCSI drive (where it reads) and attempted
to read it on the ATAPI drive; the result looks like:

monster# mt -f /dev/nast0 status
Mode  Density  Blocksize  bpi  Compression
Current:  0x01:X3.22-1983  512 bytes  800  0x1
-available modes-
0:default  variable   0none
1:default  variable   0none
2:default  variable   0none
3:default  variable   0none
-
File Number: 0  Record Number: 0Residual Count 0
monster# mt -f /dev/nast0 rew
monster# restore -t -b32 -f /dev/nast0
Tape read error while trying to set up tape
continue? [yn] y
Tape is not a dump tape
monster# atacontrol info 1
Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5
Slave:  acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0
monster# atacontrol mode 1
Master = UDMA66 --- I had set this
Slave  = PIO4
monster# atacontrol reinit 1
Master: ast0 SONY SDX-420C/0101 ATA/ATAPI rev 5
Slave:  acd0 SONY CD-RW CRX175A1/5YS3 ATA/ATAPI rev 0
monster# atacontrol mode 1
Master = PIO4   --- It reverts
Slave  = PIO4
monster# mt -f /dev/nast0 rew
monster# restore -t -b32 -f /dev/nast0
Tape read error while trying to set up tape
continue? [yn] y
Tape is not a dump tape

Any help gratefully received.

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


swap size and a zombie

2004-06-11 Thread Chris
*This message was transferred with a trial version of CommuniGate(tm) Pro*


Looking at a web/email server with the following from top ...


last pid: 29494;  load averages:  0.00,  0.00,  0.00   up 85+12:33:05  23:07:44
39 processes:  1 running, 37 sleeping, 1 zombie
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 197M Active, 545M Inact, 176M Wired, 51M Cache, 112M Buf, 33M Free
Swap: 2048M Total, 184K Used, 2048M Free


Does it look like the swap file is way too big? The box has been online for awhile, 
yet it seems like the swap file is not utilized very much at all. For that matter, the 
server is clearly overpowered for what it does, but better than underpowered I suppose.

Also, I cannot seem to get rid of that zombie... it happens at boot time:

root   0  0.0  0.0 00  ??  ZW   - 0:00.00  (perl)

Thanks,
Chris
_
Email harvesters eat this: [EMAIL PROTECTED]

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


Re: (add new users groups)

2004-06-11 Thread Charles J. Gaush

LW Ellis wrote:
I'm not clear on the Unix group/user setup
From what I have read, FreeBSD will place users in a default group
Do I need a group? I will have about 6 users (not all at once)
DO I add a group before users?
Will it be to my benefit down the road to make a group now?
Every user will be in a group-- by default, the group will have the same 
name as the user (his own group).  You can add and modify users and 
groups through the pw command, the grand unified user and group 
management tool (man pw for more info).  Adding a user to a group is 
as easy as

pw groupmod -m [username]
or tacking the user's name onto the end of the group in /etc/group, e.g.:
wheel:*:0:root,user1,user2,...
To add a group and populate it with existing members:
pw groupadd [groupname] -M [user1 user2 ...]
CG
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Console and X configuration for laptop display

2004-06-11 Thread Andrew L. Gould
On Fri, 11 Jun 2004 21:09:13 -0500
Eric Crist [EMAIL PROTECTED] wrote:

 On Friday 11 June 2004 18:42, you wrote:
  I installed FreeBSD 5.2.1 on a Dell Inspiron 8100.  During bootup
  and later, at the command line, the usable screen is much smaller
  than the available display size -- 2 to 3 inch margins on all sides.
   Does anyone
  know how I can fix this?
 
  In X, a resolution of 1400x1050 fills the display; but everything,
  including text in documents, looks really tiny.  1024x768 is my
  favorite setting for my desktop monitor; but is rejected by X as
  being too small on the laptop display.  Is there a way to make
  things look bigger while in 1400x1050?
 
  Thanks,
 
  Andrew Gould
 
 In some cheaper laptops, like this POS I've got, there isn't really a
 way to get rid of that blank space around the edges, short of digging
 into vesa and some other console options.  I've made some mild
 attempts to get that configured, but I figure I use X 99% of the time,
 so I use a virtual console within that for most of my work.  
 
 On some better laptops, like your Dell, iirc, there should be a key 
 combination, or BIOS setting to 'stretch' that resolution to fill the
 screen.  Usually, it is a Fn+F(1-12) combination that does it, many
 times undocumented.  If I remember correctly, I've gotten Dell's to
 stretch their resolution with Fn+F7, but I could be wrong.  Poke
 around Dell's support site and see what you can find.
 
 HTH
 
 -- 
 Keep your pecker hard and your powder dry, and the world WILL turn.
 

Fn+F7 did the trick!

Thanks,

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


Re: swap size and a zombie

2004-06-11 Thread Kris Kennaway
On Fri, Jun 11, 2004 at 11:10:50PM -0500, Chris wrote:
 *This message was transferred with a trial version of CommuniGate(tm) Pro*
 
 
 Looking at a web/email server with the following from top ...
 
 
 last pid: 29494;  load averages:  0.00,  0.00,  0.00   up 85+12:33:05  23:07:44
 39 processes:  1 running, 37 sleeping, 1 zombie
 CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
 Mem: 197M Active, 545M Inact, 176M Wired, 51M Cache, 112M Buf, 33M Free
 Swap: 2048M Total, 184K Used, 2048M Free
 
 

 Does it look like the swap file is way too big? The box has been
 online for awhile, yet it seems like the swap file is not utilized
 very much at all. For that matter, the server is clearly overpowered
 for what it does, but better than underpowered I suppose.

It's only too much until you actually need to use it ;-)

For example, if you have 2GB of memory then you need a 2GB swap file
in order to take a kernel crash dump, if you ever run into a kernel
bug.  You only have ~1GB of RAM in that machine at the moment, so you
might be tempted to conclude that you have 1GB too much swap, but what
if you decide to add another 1GB of RAM in 6 months time?  You'd have
to reinstall that disk to make room.

Kris

P.S. Please wrap your lines at 70 characters so your emails may be
easily read.


pgptIkwYb4ixO.pgp
Description: PGP signature


Re: texmacs and maxima [solution]

2004-06-11 Thread Peter Ulrich Kruppa
For the records:
On Wed, 9 Jun 2004, Peter Ulrich Kruppa wrote:
Could anybody tell me how I can make Texmacs recognize maxima?
texmacs uses a bash sript
  /usr/local/libexec/TeXmacs/bin/maxima_detect
its first line must be changed to
#!/compat/linux/bin/bash
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Err - saslpasswd2: Couldn't update db + authentication failed

2004-06-11 Thread Subramanian Kumaran
Hi,

  I am trying to install
Postfix+Cyrus-IMAP+Cyrus-SASL-authd on FreeBSD system.
I've installed all these s/w ... but I face some
problems

1) 
#saslpasswd2 username 
#setpass succeeded for cyrus  
#saslpasswd2 : Couldn't update db  (== )

but I can create a new user option -c  and also I
can delete user with option -d but receiving the
same error msg (saslpasswd2 : Couldn't update db)

2)
#cyradm --user cyrus localhost
#IMAP Password: ***

Login failed: auththendication failure at
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Cyrus/IMAP/Admin.pm
line 118

cyradm: can't authenticate to server with as cyrus

(But actually the sasld successfully authendicate the
request and logs in the database-mail, table-log)


3)SMTP   
#telnet localhost smtp
# 
# ...
#QUIT

everything went fine ...but later the I found these
messages in the log file

*
postfix/pipe: fatal: user= command-line attribute
specifies mail system owner postfix group id mail
*
settings in master.cf are ...

old-cyrus unix  -   nn   -   -   pipe
flags= user=cyrus argv=/usr/local/cyrus/bin/deliver -r
${sender} -m ${extension} ${user}

cyrus unix  -   nn   -   -   pipe
flags= user=cyrus argv=/usr/local/cyrus/bin/deliver -r
${sender} -m ${extension} ${user}
*

--
I have set the following options in the imapd.conf
file.
 
pwcheck_method: saslauthd
sasl_mech_list: plain (*)
--
Used the ports colection to install all the s/w, 
updated ports using CVSup, upgraded all installed
s/w using portupgrade.
--
Created a symlink 

ln -s /usr/local/lib/sasl /usr/lib/sasl  (**)
--


Is there anyone to help me out?
If someone of u experienced same problems and solved
somehow please help me to solve these problems.


Thanks

Kumaran

__
Do You Yahoo!?
Download the latest ringtones, games, and more!
http://sg.mobile.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]