Re: How to tailor installation set?

2003-06-14 Thread Rob
Unless you plan to rebuild the entire system from source, it's easier to
exclude things during the install than to remove them later. Have a look
at the manpage for sysinstall(8), particularly the description of
distSetCustom under SCRIPT SYNTAX.

Here's the config for a dedicated server with a minimal installation
(and a small disk):

  # disk format
  disk=ad0
  partition=exclusive
  diskPartitionEditor

  # disk slices
  ad0s1-1=ufs262144  /  1  # 128M + soft updates
  ad0s1-2=swap   262144  none  # 128M
  ad0s1-3=ufs262144  /var   1  # 128M + soft updates
  ad0s1-4=ufs262144  /usr   1  # 128M + soft updates
  ad0s1-5=ufs0   /home  1  # free + soft updates
  diskLabelEditor

  # install system
  distSetMinimum
  mediaSetCDROM
  installCommit

It's not as sophisticated as Solaris Jumpstart, but it certainly allows
you to customise the installation.

- Original Message -
From: Steve Coile [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 11:13 PM


 On Fri, 13 Jun 2003, Bill Moran wrote:
 [...]
  Depends on the component and how the previous admin handled things.
Most
  FreeBSD users use the ports/package system to add/remove programs.
The
  docs are very good:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
 
  However, some parts of FreeBSD are part of distribution sets (such
as
  man pages, source and ports tree)  I don't know of any automated way
to
  remove these from the system.

 I guess that's my point.  FreeBSD is pretty big, even without the
ports.
 My administration philosophy is minimal function set: only install
what
 will be used.  I'd like a clean way to remove a component--for
instance
 development tools, or X, or printing support--from the system without
 breaking any dependencies.

 --
 Steve Coile
 Systems Administrator
 Nando Media
 ph: 919-861-1200
 fax: 919-861-1300
 e-mail: [EMAIL PROTECTED]
 http://www.nandomedia.com

 ___
 [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: How do I change the envelope from address in sendmail

2003-06-14 Thread Kevin Stevens
On Friday, Jun 13, 2003, at 17:33 US/Pacific, Bill Moran wrote:

I'm having a hell of a time with send-pr.
See thread below from the comp.mail.sendmail Usenet group; this is what 
worked for me after I had the same problem:

Begin forwarded message:

Newsgroups: comp.mail.sendmail
Organization: Sporadic
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
Message-ID: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 07 Aug 2002 04:56:52.0260 (UTC) 
FILETIME=[D8612E40:01C23DCE]

I know the regulars here must be incredibly tired of responding to the
same questions over and over.  I apologize in advance, but I *have* 
read
through all the masquerading posts I could find in this group, the
sendmail FAQ, and the FreeBSD handbook.  I'm at a loss.  Please don't
hurt me.

Typical goal:  I want my messages, including envelopes, to appear as
though they are from my domain name rather than the specific host.
Sendmail is version 8.12.3, running on FreeBSD 4.6-RELEASE.

Here's an example of a local test message with headers:

From: Kevin Stevens [EMAIL PROTECTED]
Date: Tue Aug 06, 2002  09:37:55  US/Pacific
To: [EMAIL PROTECTED]
Subject: test
Return-Path: [EMAIL PROTECTED]
Received: from babelfish.pursued-with.net (localhost [127.0.0.1]) by
babelfish.pursued-with.net (8.12.3/8.12.3) with ESMTP id g774bteb056372
for [EMAIL PROTECTED]; Tue, 6 Aug 2002 21:37:55 -0700 (PDT)
(envelope-from [EMAIL PROTECTED])
Received: (from [EMAIL PROTECTED]) by babelfish.pursued-with.net
(8.12.3/8.12.3/Submit) id g774btRg056371 for [EMAIL PROTECTED]; Tue,
6 Aug 2002 21:37:55 -0700 (PDT)
Message-Id: [EMAIL PROTECTED]
Basically, I want babelfish. excised in its entirety.

I began with the typical MASQUERADE_AS( ) and
FEATURE(`masquerade_envelope') settings, and have progressed in
confusion to FEATURE(`masquerade_entire_domain') and more esoteric
things.  Here's the salient portion of my current .mc file:
FEATURE(access_db, `hash -TTMPF /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(relay_based_on_MX)
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl
MASQUERADE_AS(`pursued-with.net')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`masquerade_entire_domain')dnl
MASQUERADE_DOMAIN_FILE(`/etc/mail/masqueraded-hosts')dnl
MASQUERADE_DOMAIN(`pursued-with.net')dnl
Nothing I do seems to make any difference, which is what's really
strange.  I've tested, and the sendmail.cf file does get updated and 
the
daemon restarted when using the make all install restart format, for
what that's worth.  I can post any other needed info, just ask.  Thanks
for any assistance.

KeS

From: [EMAIL PROTECTED] (Per Hedeland)
Subject: Re: Another stupid masquerading question...
Date: Thu, 8 Aug 2002 00:32:22 + (UTC)
Newsgroups: comp.mail.sendmail
Message-ID: [EMAIL PROTECTED]
In article [EMAIL PROTECTED] Kevin 
Stevens
[EMAIL PROTECTED] writes:
a)  I don't particularly want to display my internal host names all 
over
the world (although apparently I don't mind doing it on Usenet - 
eek!).
Why do you care, especially if the name can't be found in DNS - are 
you
ashamed of it or something?:-)

b)  With this configuration, other SMTP hosts can't authenticate my 
mail
server, since that hostname isn't published/resolvable in the outside
world.  As below:
As Neil points out, this site violates the RFCs, and it's unusual.
However the RFCs also say that you should give the official name of
the host in the HELO argument (or a dotted quad if the host doesn't 
have
an official name), and an official name must be in DNS, so it's
reasonable to fix this.

The simplest way to do it is to define confDOMAIN_NAME in the .mc 
file,
see cf/README. What to set it to in a case like yours is perhaps not
obvious, to be as correct as possible it should be a name that
resolves to the IP address that remote servers are seeing when you
connect, as well as the name that that IP address reverse-resolves to.
If you can't meet both of those requirements for some reason (you 
should
be able to), it's probably best to go for the former. And be sure to
never set the same confDOMAIN_NAME on two different servers (whereas
using the same MASQUERADE_AS on multiple servers can be perfectly OK).

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


Re: recommendations

2003-06-14 Thread Steve Sapovits
On Sat, 14 Jun 2003 00:50:50 -0500
SweeTLeaF [EMAIL PROTECTED] wrote:
 
 I tried that one, it did not have a spell checker. 

Good point.  I hadn't noticed that difference yet between
FreeBSD and Windows since I only recently built it on FreeBSD.

On Windows the spell checker is an add-on (aspell).

I'd guess the port will be updated soon.  The 0.9.X release
of Sylpheed-Claws is relatively recent (late May), but the
0.9 base it's built on has been a FreeBSD port for a while.
But the base doesn't have all the Claws features.  Hurry up
and wait I guess ... or try to get past those build errors.

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


Re: Can't mount ad0s2 - sourced

2003-06-14 Thread Brian Astill
On Mon, 19 May 2003 02:52 pm, Andy Farkas wrote:
   Sure there is. Show us what fdisk and disklabel say.
referring to my being unable to access ad0s2 from FBSD.
herewith:

As you can see, fdisk can see the extended partition, but not the 
logical partition inside it. (tho' windoze is happy)

#fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6,(Primary 'big' DOS ( 32MB))
start 63, size 2056257 (1004 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 127/ head 254/ sector 63
The data for partition 2 is:
sysid 5,(Extended DOS)
start 2056320, size 2088450 (1019 Meg), flag 0
beg: cyl 128/ head 0/ sector 1;
end: cyl 257/ head 254/ sector 63
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 4144770, size 12353985 (6032 Meg), flag 0
beg: cyl 258/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
UNUSED


#disklabel /dev/ad0
# /dev/ad0:
type: unknown
disk: amnesiac
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1027
sectors/unit: 16514064
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 165140640unused0 0 # (Cyl.0 - 
1027*)



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


Pen drive does not work with PCI2USB card.

2003-06-14 Thread Eugene Savin
Hi,
I have USB 2.0 PCI Card GMU2P-04V, pen drive (Mobile Disk III from TwinMOS),
FreeBSD 4.8.

Part of my kernel conf. file:
  ...
  device  scbus   # SCSI bus (required)
  device  da  # Direct Access (disks)
  device  da0
  device  pass# Passthrough device (direct SCSI access)
  ...
  device  uhci# UHCI PCI-USB interface
  device  ohci# OHCI PCI-USB interface
  device  usb # USB Bus (required)
  device  ugen# Generic
Part of dmesg:
  ...
  uhci0: VIA 83C572 USB controller port 0x6400-0x641f irq 12 at device 11.0 on
  usb0: VIA 83C572 USB controller on uhci0
  usb0: USB revision 1.0
  uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  uhci1: VIA 83C572 USB controller port 0x6500-0x651f irq 11 at device 11.1 on
  ...
  usb1: VIA 83C572 USB controller on uhci1
  usb1: USB revision 1.0
  uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub1: 2 ports with 2 removable, self powered
  pci0: USB controller at 11.2 irq 10
  ...

I have usbd_enable=YES in /etc/rc.conf.
Inserting of my pen drive in card does not get any effect.
When I use my pen drive on othe computer (with integrated USB Host Controller),
usbd detect da0 disk.

Eugene Savin.

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


Re: Booting takes too long. Why? (/ was not properly dismounted)

2003-06-14 Thread Shantanu Mahajan
+-- Rohit [freebsd] [13-06-03 10:35 +]:
| Here is the dmesg. However, I should tell you that this has been the case with 
| all my FreeBSD boxes. I have two PC's running FreeBSD and a Compaq laptop 
| running FreeBSd all have different types of harddrives. 
| 
| The main problem is that everytime I boot I get the message saying / was not 
| dismounted properly and then it goes through and fixes all the drive block 
| errors. (This is the case on all my computers) 
| 
| 
| I shutdown using the shutdown -h now command
| or reboot using reboot now

did you try 'halt'?
what msg. do you see after the shutdown is complete?

Regards,
Shantanu
| 
| 
| Rohit
| 
| 
| opyright (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.8-RELEASE #8: Wed May 21 13:22:57 GMT 2003
| [EMAIL PROTECTED]:/usr/src/sys/compile/ROHIT_MAY11_2003
| Timecounter i8254  frequency 1193182 Hz
| CPU: Mobile AMD Athlon(tm) XP 1500+ (1325.14-MHz 686-class CPU)
|   Origin = AuthenticAMD  Id = 0x680  Stepping = 0
|   
| 
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
|   AMD Features=0xc048MP,AMIE,DSP,3DNow!
| real memory  = 251658240 (245760K bytes)
| avail memory = 240287744 (234656K bytes)
| Preloaded elf kernel kernel at 0xc0465000.
| module_register_init: MOD_LOAD (vesa, c0310844, 0) error 6
| netsmb_dev: loaded
| Pentium Pro MTRR support enabled
| md0: Malloc disk
| Using $PIR table, 11 entries at 0xc00fdf10
| apm0: APM BIOS on motherboard
| apm0: found APM BIOS v1.2, connected at v1.2
| npx0: math processor on motherboard
| npx0: INT 16 interface
| pcib0: Host to PCI bridge on motherboard
| pci0: PCI bus on pcib0
| pcib1: PCI to PCI bridge (vendor=1002 device=700f) at device 1.0 on pci0
| pci1: PCI bus on pcib1
| pci1: ATI model 4336 graphics accelerator at 5.0 irq 10
| ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf4014000-0xf4014fff 
| irq 11 at device 2.0 on pci0
| usb0: OHCI version 1.0, legacy support
| usb0: SMM does not respond, resetting
| usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0
| usb0: USB revision 1.0
| uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
| uhub0: 2 ports with 2 removable, self powered
| isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0
| isa0: ISA bus on isab0
| pcm0: Acer Labs M5451 port 0x8400-0x84ff mem 0xf4015000-0xf4015fff irq 5 at 
| device 8.0 on pci0
| pcm0: unknown ac97 codec (id=0x41445363)
| pci_cfgintr_virgin: using routable interrupt 10
| pci_cfgintr: ROUTE_INTERRUPT failed.
| pcic0: TI PCI-1410 PCI-CardBus Bridge mem 0xffbfe000-0xffbfefff at device 
| 10.0 on pci0
| pci_cfgintr_virgin: using routable interrupt 10
| pci_cfgintr: ROUTE_INTERRUPT failed.
| pcic0: No PCI interrupt routed, trying ISA.
| pcic0: Polling mode
| pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC 
| serial isa irq]
| pccard0: PC Card 16-bit bus (classic) on pcic0
| rl0: RealTek 8139 10/100BaseTX port 0x8800-0x88ff mem 0xf4017800-0xf40178ff 
| irq 11 at device 11.0 on pci0
| ROHIT**rl0: Ethernet address: 
| 00:08:02:f3:d2:03
| ROHIT**miibus0: MII bus on rl0
| rlphy0: RealTek internal media interface on miibus0
| rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
| pci0: unknown card (vendor=0x14f1, dev=0x2f00) at 12.0 irq 10
| ohci1: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf4016000-0xf4016fff 
| irq 11 at device 15.0 on pci0
| usb1: OHCI version 1.0, legacy support
| usb1: AcerLabs M5237 (Aladdin-V) USB controller on ohci1
| usb1: USB revision 1.0
| uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
| uhub1: 4 ports with 4 removable, self powered
| atapci0: AcerLabs Aladdin ATA100 controller port 0x8080-0x808f irq 0 at 
| device 16.0 on pci0
| ata0: at 0x1f0 irq 14 on atapci0
| ata1: at 0x170 irq 15 on atapci0
| alpm0: AcerLabs M15x3 Power Management Unit at device 17.0 on pci0
| alpm0: driver is using old-style compatibility shims
| fwohci0: Texas Instruments TSB43AB22/A mem 
| 0xf401-0xf4013fff,0xf4017000-0xf40177ff irq 10 at device 19.0 on pci0
| fwohci0: PCI bus latency is 64.
| fwohci0: OHCI version 1.10 (ROM=1)
| fwohci0: No. of Isochronous channel is 4.
| fwohci0: EUI64 00:08:02:71:9b:f3:cb:d2
| fwohci0: Phy 1394a available S400, 2 ports.
| fwohci0: Link S400, max_rec 2048 bytes.
| firewire0: IEEE1394(FireWire) bus on fwohci0
| fwohci0: Initiate bus reset
| fwohci0: BUS reset
| fwohci0: node_id = 0xc000ffc0, CYCLEMASTER mode
| firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
| smbus0: System Management Bus on alsmb0
| smb0: SMBus general purpose I/O on smbus0
| orm0: Option ROMs at iomem 

Re: Pen drive does not work with PCI2USB card.

2003-06-14 Thread Bernd Walter
On Sat, Jun 14, 2003 at 11:23:20AM +0400, Eugene Savin wrote:
 Hi,
 I have USB 2.0 PCI Card GMU2P-04V, pen drive (Mobile Disk III from TwinMOS),
 FreeBSD 4.8.
 
 Part of my kernel conf. file:
   ...
   device  scbus   # SCSI bus (required)
   device  da  # Direct Access (disks)
   device  da0
   device  pass# Passthrough device (direct SCSI access)
   ...
   device  uhci# UHCI PCI-USB interface
   device  ohci# OHCI PCI-USB interface
   device  usb # USB Bus (required)
   device  ugen# Generic
 Part of dmesg:
   ...
   uhci0: VIA 83C572 USB controller port 0x6400-0x641f irq 12 at device 11.0 on
   usb0: VIA 83C572 USB controller on uhci0
   usb0: USB revision 1.0
   uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
   uhub0: 2 ports with 2 removable, self powered
   uhci1: VIA 83C572 USB controller port 0x6500-0x651f irq 11 at device 11.1 on
   ...
   usb1: VIA 83C572 USB controller on uhci1
   usb1: USB revision 1.0
   uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
   uhub1: 2 ports with 2 removable, self powered
   pci0: USB controller at 11.2 irq 10
   ...
 
 I have usbd_enable=YES in /etc/rc.conf.
 Inserting of my pen drive in card does not get any effect.
 When I use my pen drive on othe computer (with integrated USB Host Controller),
 usbd detect da0 disk.

Does it make a difference if the device is already plugged in while
booting?

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

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


Re: Trafic Counter

2003-06-14 Thread Andrey Simonenko
On Fri, 13 Jun 2003 12:24:35 + (UTC) in lucky.freebsd.questions, Ian Barnes wrote:
 Hi,
 
 I am running FreeBSD 4.8 with squid v 2.5_2. It is only active for one
 ethernet card (I have 3). I am using IPF, with IPNAT to do the NAT
 
 What i would like to know, is how could i count the trafic through that
 ethernet card, and that one only. And can i possibly set a limit as to the
 amount of trafic they are allowed to use. Like say 200meg a month or
 something?
 

Port sysuils/ipa solves both tasks.  But if you use IP Filter on
FreeBSD, then read information about IP Filter on FreeBSD on IPA
home page http://ipa-system.sourceforge.net/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running tunefs during boot???

2003-06-14 Thread Vallo Kallaste
On Fri, Jun 13, 2003 at 11:56:53AM -0400, Bill Moran
[EMAIL PROTECTED] wrote:

 For some strange reason, I would like to run `tunefs -n disable /` during 
 the
 bootup process, just before the file systems are mounted.
 How can I safely achieve this?
 
 You cannot access the tunefs binary if the / filesystem is not
 mounted. You can use tunefs on the read-only mounted filesystem, for
 this purpose check out man rc.early(8) and look into /etc/rc.
 
 Keep in mind that you only need to run 'tunefs -n disable /' once and it
 will stay that way until re-enabled.
 
 Why not just reboot to singl-user mode, issue the command while / is
 mounted read-only and reboot?

You can't if the system is remote, except using serial console.
-- 
Vallo Kallaste
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


laptop hard drive spin-down APM stuff - controllable??

2003-06-14 Thread BSD baby
Anyone who's using FreeBSD with a laptop:

I'm having problems with my hard drive spinning down (sleeping) every 30 seconds.

Is that something that's controllable in FreeBSD?   I don't see it in BIOS.
Is it a kernel thing?

This thing sleeps and wakes, sleeps and wakes about every 15 seconds.
Everything else is fine and it doesn't do it when I boot into Windows.

Thanks for any help!

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


Re: arp messages: Why is this happening?

2003-06-14 Thread ODHIAMBO Washington
* Mark Atkinson [EMAIL PROTECTED] [20030613 19:00]: wrote:
 This is probably a DHCP network?  This would happen if a client gets a 
 new DHCP assigned IP address, instead of it's old one, and before the
 freebsd boxes' ARP cache expired for that machine.  Usually this only 
 happens with:

Not a DHCP network per se, but an ISP environment where clients get assigned
dynamic IPs on dialup.
However, this problem was never so pronounced when I was running 4.7-STABLE,
only after 4.8-STABLE.

 - broken DHCP clients (not requesting it's old ip back upon reboot).
 - broken DHCP servers (not maintaining lease state properly to
assign clients their old addresses)
 - tight DHCP address spaces (ie. the DHCP server must reuse previously
  leased IP addresses to accomodate
  new DISCOVERS).
 
 or a combination of the above.

No idea if that applies to me, but we do not run a DHCP server.


 Either that or you have a whole bunch of machines that use gratuitous
 ARP to advertise the new interfaces in a failover situation.

Yikes! I need to be a network specialist, sort of.. but no.



-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


For three days after death hair and fingernails continue to grow but
phone calls taper off.
-- Johnny Carson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Pen drive does not work with PCI2USB card.

2003-06-14 Thread Eugene Savin
On Sat, Jun 14, 2003 at 10:11:12AM +0200, Bernd Walter wrote:
 On Sat, Jun 14, 2003 at 11:23:20AM +0400, Eugene Savin wrote:
  Hi,
  I have USB 2.0 PCI Card GMU2P-04V, pen drive (Mobile Disk III from TwinMOS
  FreeBSD 4.8.
 
  Part of my kernel conf. file:
...
device  scbus   # SCSI bus (required)
device  da  # Direct Access (disks)
device  da0
device  pass# Passthrough device (direct SCSI access)
...
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  usb # USB Bus (required)
device  ugen# Generic
  Part of dmesg:
...
uhci0: VIA 83C572 USB controller port 0x6400-0x641f irq 12 at device 11.
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0x6500-0x651f irq 11 at device 11.
...
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: USB controller at 11.2 irq 10
...
 
  I have usbd_enable=YES in /etc/rc.conf.
  Inserting of my pen drive in card does not get any effect.
  When I use my pen drive on othe computer (with integrated USB Host Controlle
  usbd detect da0 disk.

 Does it make a difference if the device is already plugged in while
 booting?
No, it doesn't.
When I use pen drive in other machines with embeded USB host controller, I
have in my dmessg:
da0 at umass-sim0 bus 0 target 0 lun 0
da0: Easy Disk 1.11 Removable Direct Access SCSI-2 device
da0: 650KB/s transfers
da0: 251MB (515840 512 byte sectors: 64H 32S/T 251C)

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


Re: arp messages: Why is this happening?

2003-06-14 Thread ODHIAMBO Washington
* Dan Nelson [EMAIL PROTECTED] [20030613 18:40]: wrote:
 In the last episode (Jun 13), ODHIAMBO Washington said:
  
  My log files (and console) fill up with these messages.
  
   arp: 62.8.64.172 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
   arp: 62.8.64.201 moved from 00:c0:05:10:01:f1 to 00:c0:05:11:01:f1 on bge1
   arp: 62.8.64.201 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
   arp: 62.8.64.145 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
   arp: 62.8.64.212 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
   arp: 62.8.64.188 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
  ...
 
 What are the machines at those two mac addresses?  Are they maybe
 clustered servers, and during failover, you see an arp line for each ip
 that gets moved from one to the other

Now that points me towards some clue ... those mac addresses are not even on
the box where I am seeing these messages.
I can see the mac addresses by using ifconfig, yes??
So some machines, possibly routers, are doing this...




Best regards,
Odhiambo Washington
Wananchi Online Ltd.


___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice__
Wananchi Head Office|*| Tel: +254 2 313 985-9
1st Flr Loita, Loita St.|*| Fax: +254 2 313 922
10286-GPO, NAIROBI, KE  |*| e-mail: wash at wananchi dot com
--
++

...with a colour temperature of 9300K using barco phosphors and connected to an AGP
Matrox G200 via 5 individual RG179B/U coax cables with a contact resistance less than
0.1 mOhm... -- David Jordan
 

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


Re: arp messages: Why is this happening?

2003-06-14 Thread ODHIAMBO Washington
* Bill Moran [EMAIL PROTECTED] [20030613 18:36]: wrote:
 ODHIAMBO Washington wrote:
 My log files (and console) fill up with these messages.
 
 arp: 62.8.64.172 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
 arp: 62.8.64.201 moved from 00:c0:05:10:01:f1 to 00:c0:05:11:01:f1 on bge1
 arp: 62.8.64.201 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
 arp: 62.8.64.145 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
 arp: 62.8.64.212 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
 arp: 62.8.64.188 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
 
 Could be that you're on a DHCP network and addresses are moving around a 
 lot.

An ISP env, without a DHCP server, but with a NAS assigning IPs to dialup clients.


 I'm on Adelphia cable internet, and I see these messages off and on.
 Especially after network problems, there'll be a long list of them.

..a long list of them is also what I see here. I just shortened what I sent.


 Occassionally, I'll see one MAC address that is generating a lot of
 these messages ... I assume it's some broken Windows machine that
 can't figure out what IP to use.
 
 There is a sysctl that will turn off reporting of this:
 net.link.ether.inet.log_arp_movements
 Set it to 0 to stop the logging.

Thanks. I was looking for something like this, but is this really available
in 4.8-STABLE 






Best regards,
Odhiambo Washington
Wananchi Online Ltd.


___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice__
Wananchi Head Office|*| Tel: +254 2 313 985-9
1st Flr Loita, Loita St.|*| Fax: +254 2 313 922
10286-GPO, NAIROBI, KE  |*| e-mail: wash at wananchi dot com
--
++

When you say 'I wrote a program that crashed Windows', people just stare at you
blankly and say 'Hey, I got those with the system, for free' Linus Torvalds
 

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


Secure File Acces

2003-06-14 Thread Moritz Fromwald
Hello
I have the following Setup:
ADSL Modem
|
PPPoE Tunnel, possibly up to 8 IP available
|
FreeBSD 4.4 NAT, ipfw deny any to ip of tun0
|   ipfw allow ssh from admin-IP to ip of tun1
|
SAMBA Server on FreeBSD 4.7

I would like to create a secure access from the Internet to the 
data on the file server using vpn. 
Are there more secure solutions?
Which ports will I need?
How to tunnel through the NAT-Gateway?

TIA  

Regards

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


setting hostname...

2003-06-14 Thread Fredrik Carlén
I am about as stupid as they come...I haven't used FreeBSD for a  
couple of years, but I'm glad to say that I'm back, and that  
FreeBSD5.0 is an improvement (I used 3.2...)  
  
Now to my question (and the reason I feel stupid): I named my computer 
al-djabr first, but decided to change to al-khwarizmi, in honour 
of the late, great arabic mathematician. My domain is 
intra.arrhythmetic.net, so the hostname would be 
al-khwarizmi.intra.arrhythmetic.net...I put this in /etc/rc.conf, of 
course, and sure enough, the system seems to think it's named 
according to my rc.conf-wishes... 
 
When X starts, though, it complains that -  and I quote -  
Can't get own host name. Your system is severely misconfigured. 
 
Now where does this little gem stem from? I've even used profanity, 
but nothing seems to work... 
 
Sorry to have to bother you all with these trivialities.  
 
== 
additional redundant(?) info: 
 
# hostname 
al-khwarizmi.intra.arrhythmetic.net 
 
# echo $HOSTNAME 
al-khwarizmi.intra.arrhythmetic.net 
 
# uname -a 
FreeBSD al-khwarizmi.intra.arrhythmetic.net 5.0-RELEASE FreeBSD 
5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bootloader

2003-06-14 Thread Guus Bekkema
I wanted a small 486 pc working on freeBSD

I got the setup program working but the media I used was not recognized. Now I wanted 
to go back to just reinstalling win 98 but for some reason I got the freeBSD 
masterbootrecordloader or something like that

It came down to the fact that the system says it has nog kernel nor any bootloader and 
he ends with:

boot?:

or something like that

How can I get the bootloader off my system and get it working again with 
Micro(shit)soft

Many thanks,

Guus Bekkema

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


I did rm /dev/ad0s1f HELP?

2003-06-14 Thread Kristof Lossie
I did rm /dev/ad0s1f witch is my /tmp partition. And now ofcourse when it
boots it says that it can't stat ad0s1f because it isn't there. And then I
asked for the path of sh with as default /bin/sh. Or in other words it doesn
't boot anymore. I tried sh MAKEDEV ad0s1f, but it replied with rm: ad0s1:
read-only file system. Can I get the ad0s1f file or whatever it is back in
to that /dev/ directory? Because I really do not want to start all over
again.



Thanks for the effort



Lossie Kristof

Belgium

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


Re: setting hostname...

2003-06-14 Thread Volker Kindermann
 Now to my question (and the reason I feel stupid): I named my computer
 al-djabr first, but decided to change to al-khwarizmi, in honour 
 of the late, great arabic mathematician. My domain is 
 intra.arrhythmetic.net, so the hostname would be 
 al-khwarizmi.intra.arrhythmetic.net...I put this in /etc/rc.conf, of
 course, and sure enough, the system seems to think it's named 
 according to my rc.conf-wishes... 
  
 When X starts, though, it complains that -  and I quote -  
 Can't get own host name. Your system is severely misconfigured. 

is the old name still in /etc/hosts?

 -volker

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


unexpected soft update inconsistency

2003-06-14 Thread Roman Neuhauser
Hi there,

I am seeking an explanation of the following fsck(8) behavior.

This box is originally (IIRC) a 4.5-RELEASE install, gradually cvsupped
to a relatively recent 4.8-STABLE:

[EMAIL PROTECTED] ~ 1007:0  uname -a
FreeBSD freepuppy.bellavista.cz 4.8-STABLE FreeBSD 4.8-STABLE #2: Thu Jun  5 12:57:47 
CEST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FREEPUPPY2_5  i386

The system was dump/restored to a new disk last summer.

Some time ago I switched from mbox files to maildirs as my mail store
because maildrop(1) was EX_TEMPFAILing on the larger mboxes. Maildirs
have fixed this problem, but entering e. g. my postfix-users@ maildir
(162MB, ~34500 messages) takes way too much time:

[EMAIL PROTECTED] ~ 1002:0  time mutt -nF .mail/mutt/muttrc -e 'exec quit' -f 
~/Mail/lists/postfix
34458 kept, 0 deleted.
mutt -nF .mail/mutt/muttrc -e 'exec quit' -f ~/Mail/lists/postfix  4.94s user 3.89s 
system 10% cpu 1:21.75 total
[EMAIL PROTECTED] ~ 1003:0  find ~/Mail/lists/postfix -type f|wc -l
   34458
[EMAIL PROTECTED] ~ 1004:0  du -hs ~/Mail/lists/postfix
162M/home/roman/Mail/lists/postfix

(mutt-1.5.1i with patch-1.5.1.cd.edit_threads.9.2)

Yesterday I thought: hmm, maybe there's something wrong with the
filesystem, went to singleuser with `shutdown now`, ran fsck(8), and got
some unexpected soft update inconsistency messages in my ~/Mail.

The filesystem is always ok during the normal boot-time fsck run, so I'm
wondering whether this is normal, or if the fs is screwed. Attached is
the output of fsck(8) run in multiuser (postfix was running).

[EMAIL PROTECTED] ~ 1005:0  df -h
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   504M49M   415M10%/
/dev/ad0s1e72G36G30G55%/usr
procfs4.0K   4.0K 0B   100%/proc
[EMAIL PROTECTED] ~ 1006:0  ls -l /var
lrwxr-xr-x  1 root  wheel  8 Sep 16  2002 /var - /usr/var

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unexpected soft update inconsistency

2003-06-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-14 12:58:34 +0200:
 Attached is the output of fsck(8) run in multiuser (postfix was
 running).

Aaargh, I keep doing this. This time, it's really attached.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
2141 files, 24867 used, 233164 free UNALLOCATED 
FILE=/var/spool/postfix/incoming/0/2/0236D2FDAB2

UNEXPECTED SOFT UPDATE INCONSISTENCY
SUMMARY INFORMATION BADBLK(S) MISSING IN BIT MAPSFREE BLK COUNT(S) WRONG IN 
SUPERBLKALLOCATED FRAG 12580728 MARKED FREE
ALLOCATED FRAG 12580729 MARKED FREE
ALLOCATED FRAG 12580730 MARKED FREE
ALLOCATED FRAG 12580731 MARKED FREE
ALLOCATED FRAG 12580732 MARKED FREE
ALLOCATED FRAG 12580733 MARKED FREE
ALLOCATED FRAG 12580734 MARKED FREE
ALLOCATED FRAG 12580735 MARKED FREE
ALLOCATED FRAG 12580736 MARKED FREE
ALLOCATED FRAG 12580737 MARKED FREE
ALLOCATED FRAG 12580738 MARKED FREE
ALLOCATED FRAG 12580739 MARKED FREE
ALLOCATED FRAG 12580740 MARKED FREE
ALLOCATED FRAG 12580741 MARKED FREE
ALLOCATED FRAG 12580742 MARKED FREE
ALLOCATED FRAG 12580743 MARKED FREE
ALLOCATED FRAG 12616672 MARKED FREE
ALLOCATED FRAG 12616673 MARKED FREE
ALLOCATED FRAG 12616674 MARKED FREE
ALLOCATED FRAG 12616675 MARKED FREE
783682 files, 18972610 used, 18718867 free ** /dev/ad0s1a (NO WRITE)
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
(1020 frags, 29018 blocks, 0.4% fragmentation)
** /dev/ad0s1e (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
 I=3136178  OWNER=postfix MODE=100700
SIZE=3654 MTIME=Jun 13 19:27 2003 

REMOVE? no

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups

SALVAGE? no


SALVAGE? no


SALVAGE? no

(314411 frags, 2300557 blocks, 0.8% fragmentation)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


debugging php4 ports make process

2003-06-14 Thread Jez Hancock
Hi,

Ok, the short question:

How can one debug the ports tree make process (or any make process for
that matter)?

Specifically what I want to be able to do is 'dump' to
STDOUT the values contained in macros within a Makefile - something like
this in a Makefile:

# New ports collection makefile for:php4-cli
# Date created: Tue Feb 18 11:17:13 CET 2003
# Whom: Alex Dupre [EMAIL PROTECTED]
snip
WITHOUT_APACHE= yes
# How do I dump the value contained in WITHOUT_APACHE here?
echo WITHOUT_APACHE

(which of course doesn't work!)

Obviously in this example the value contained in WITHOUT_APACHE is
obvious, but in other Makefile's where there are more than 2 or 3 nested
.if .else .endif clauses, it can be hard determining which macros
contain what values.  What is the best way of debugging make targets?

Ok, now the long question!:

I'm having a problem with the new php4 make process in as much as I want
to install mod_php4 using one set of options / --with-* args and
php4-cli with another set of options.

I've created two distinct OPTION_FILE's as recommended in
/usr/ports/lang/php4/Makefile:

# The last way reads an extension file, located in ~/php_options (the
# location is overridable by the OPTION_FILE variable). You may find an
# example in scripts/php_options (interactive mode only).

and named them 'php_options.cli' and 'php_options.mod_php4', each file
containing the options for cli and mod_php4 respectively.

I then proceed to set an env variable using:

setenv OPTION_FILE php_options.mod_php4

and then:

(after removing old mod_php4 port)
cd /usr/ports/www/mod_php4
make clean install
(check all the options are correct, they are)

All well and good, mod_php4 is installed as expected.

However I then go on to:

setenv OPTION_FILE php_options.cli

and then:

cd /usr/ports/lang/php4-cli
make clean 
make
(check all the options are correct, they are)

and I receive this error on the install target:

make install
===  Installing for php4-cli-4.3.2
===  php4-cli-4.3.2 conflicts with installed package(s):
  mod_php4-4.3.2,1

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/php4-cli.
*** Error code 1

Stop in /usr/ports/lang/php4-cli.

Can anyone confirm whether they have installed both the cli and mod_php4 versions of 
php4 from the FreeBSD ports, and if so how they achieved it?

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


Re: setting hostname...

2003-06-14 Thread Jez Hancock
On Sat, Jun 14, 2003 at 12:34:50PM +0200, Fredrik Carl?n wrote:
 When X starts, though, it complains that -  and I quote -  
 Can't get own host name. Your system is severely misconfigured. 
Where exactly does it complain out of interest?

  
 Now where does this little gem stem from? I've even used profanity, 
 but nothing seems to work... 
:)

 # hostname 
 al-khwarizmi.intra.arrhythmetic.net 
  
 # echo $HOSTNAME 
 al-khwarizmi.intra.arrhythmetic.net 
  
 # uname -a 
 FreeBSD al-khwarizmi.intra.arrhythmetic.net 5.0-RELEASE FreeBSD 
 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386 
Does sound like an issue with X after the above.

One minor thing and probably irrelevant if you've rebooted, but have you
tried flushing your DNS cache (if you're running one)?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bootloader

2003-06-14 Thread Viktor Lazlo


On Sat, 14 Jun 2003, Guus Bekkema wrote:

 How can I get the bootloader off my system and get it working again with
 Micro(shit)soft

Boot off a DOS disk and do fdisk /mbr

Cheers,

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


Re: unexpected soft update inconsistency

2003-06-14 Thread Jez Hancock
On Sat, Jun 14, 2003 at 12:58:34PM +0200, Roman Neuhauser wrote:
 The filesystem is always ok during the normal boot-time fsck run, so I'm
 wondering whether this is normal, or if the fs is screwed. Attached is
 the output of fsck(8) run in multiuser (postfix was running).
 
 [EMAIL PROTECTED] ~ 1005:0  df -h
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad0s1a   504M49M   415M10%/
 /dev/ad0s1e72G36G30G55%/usr
 procfs4.0K   4.0K 0B   100%/proc
 [EMAIL PROTECTED] ~ 1006:0  ls -l /var
 lrwxr-xr-x  1 root  wheel  8 Sep 16  2002 /var - /usr/var

What happens if you turn off soft updates on those mounts?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: blackbox X server error

2003-06-14 Thread Jez Hancock
On Fri, Jun 13, 2003 at 05:03:23PM -0700, Rick wrote:
 I'm receiving the following error message each time I try and start blackbox:
 
  BaseDisplay::BaseDisplay: connection to X server failed.
 
 When I try to run it from X I get this messsage:
 
 BScreen::BScreen: an error occured while querying the X server.
   another window manager is already running on display :0.0.
 Blackbox::Bla
How are you starting blackbox in each case above?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I did rm /dev/ad0s1f HELP?

2003-06-14 Thread DoubleF
 I did rm /dev/ad0s1f witch is my /tmp partition. And now ofcourse when
 it boots it says that it can't stat ad0s1f because it isn't there. And
 then I asked for the path of sh with as default /bin/sh. Or in other
 words it doesn't boot anymore. I tried sh MAKEDEV ad0s1f, but it replied
 with rm: ad0s1: read-only file system. Can I get the ad0s1f file or
 whatever it is back in to that /dev/ directory? Because I really do not
 want to start all over again.

You first need to mount root for writing:

#mount /

And then you will be able to make the node.

DoubleF


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


Re: help me

2003-06-14 Thread S. Niunco

[EMAIL PROTECTED] - it's not quite active, so you better try http://www.opennet.ru


On Tue, 10 Jun 2003 18:27:02 +0400
selfghe edherh [EMAIL PROTECTED] wrote:

 Please give me mail address about freebsd questions in Russia?
 ___
 [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: How do I change the envelope from address in sendmail

2003-06-14 Thread Shantanu Mahajan
google masquerade+sendmail

Regards,
Shantanu


+-- Bill Moran [freebsd] [13-06-03 20:33 -0400]:
| I'm having a hell of a time with send-pr.
| 
| Sendmail on my system insists on using the entire hostname in the from part 
| of the
| smtp communication: i.e. [EMAIL PROTECTED]  This is a 
| problem
| because this particular machine doesn't have a real DNS name, so the 
| FreeBSD mail
| servers bounce the email.
| 
| I've tried creating a local-host-names file in /etc/mail according to some 
| Linux
| howtos I found, but it doesn't seem to be helping.  What's the proper way to
| get sendmail to use [EMAIL PROTECTED] instead of [EMAIL PROTECTED]
| 
| TIA
| -- 
| 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]
| 
| End of freebsd-questions Digest, Vol 12, Issue 21
| *

-- 
man hier will explain the way FreeBSD filesystems are normally laid out.
-- David Scheidt [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: recommendations

2003-06-14 Thread Kevin Golding
In article [EMAIL PROTECTED], SweeTLeaF
[EMAIL PROTECTED] writes
-Original Message-
From: Steve Sapovits [EMAIL PROTECTED]
SweeTLeaF [EMAIL PROTECTED] wrote:
 the os is freebsd-5.1
 sylpheed-claws is v.0.9.0 d/l from their website.

On 5.0 it built with no intervention from ports.  The ports version
there is 0.8.6 ... slightly older, but maybe that's why your build is
failing.  ports is the way to go most of the time.

I tried that one, it did not have a spell checker.

Erm, Sylpheed-claws has been at version 0.8.10 for nearly two months now
and it contains the flag WITH_ASPELL which might help.

# make -DWITH_ASPELL install

Looking at the port's Makefile suggests there are quite a few options
that might be of interest.

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


Re: arp messages: Why is this happening?

2003-06-14 Thread Bill Moran
ODHIAMBO Washington wrote:
* Bill Moran [EMAIL PROTECTED] [20030613 18:36]: wrote:

ODHIAMBO Washington wrote:

My log files (and console) fill up with these messages.


arp: 62.8.64.172 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.201 moved from 00:c0:05:10:01:f1 to 00:c0:05:11:01:f1 on bge1
arp: 62.8.64.201 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.145 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.212 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.188 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
Could be that you're on a DHCP network and addresses are moving around a 
lot.
An ISP env, without a DHCP server, but with a NAS assigning IPs to dialup clients.
For all intents and purposes, that's the same as a DHCP server in it's affect
on arp.
'netstat -rn' should give you IPs and MAC addresses.  You could monitor that to
get an idea of what the IPs are doing and possibly improve the configuration of
the NAS to reduce the problem.
There is a sysctl that will turn off reporting of this:
net.link.ether.inet.log_arp_movements
Set it to 0 to stop the logging.
Thanks. I was looking for something like this, but is this really available
in 4.8-STABLE 
It's available earlier than that.  I don't know exactly when it was added, but
it's definately in 4.8.
If you're the ISP, you may want to consider researching the problem before you
blindly turn this off.  Although you could turn the messages off, put it on
your list of things to do, and turn them back on in a month or whatever when
you had more time to research the problem.
--
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: Help with some problems [KVM switch and ftpd]

2003-06-14 Thread Bill Moran
It's generally a good idea to ask 1 question per email, with an appropriate
subject line.  People tend to ignore posts with vague subjects, or that ask
many unrelated questions.
Earl Larsen wrote:
Problem #1
I have a KVM switch. And sometimes when I use the switch. I get a no monater 
deteceted error.
I've seen this off and on.  Make sure the monitor is turned on and the switch
set to it when booting the system.  This is not a FreeBSD problem, but a
hardware problem, as I've seen the same problem with other OSes.
Problem #4
I am using Kmail for my email and when I go to check my spelling. I get the 
following error  ISpell/Aspell could not be started. Please make sure you 
have ISpell or Aspell properly configured and in your PATH.
Well?  Is ISpell or Aspell properly configured and in your PATH?

Suggestion #1
Does anyone know of a good and easy configurable FTP Server software.
I've always used the ftpd that ships with FreeBSD.  See 'man ftpd'

--
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: How do I change the envelope from address in sendmail

2003-06-14 Thread Bill Moran
Thanks to all who helped.

The answer was in the handbook (I should have thought to try there first)
For the archives, this is the section that solved it for me:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-dialup.html
Although I still don't _understand_ what that does ...

Jonathan Chen wrote:
On Fri, Jun 13, 2003 at 09:18:15PM -0400, Bill Moran wrote:

Jonathan Chen wrote:

On Fri, Jun 13, 2003 at 08:33:07PM -0400, Bill Moran wrote:

[...]


howtos I found, but it doesn't seem to be helping.  What's the proper way 
to
get sendmail to use [EMAIL PROTECTED] instead of [EMAIL PROTECTED]


You have to add the following into your /etc/mail/`hostname`.mc file.

  MASQUERADE_AS(domain.com)
  FEATURE(`masquerade_envelope')
Thanks, but this hasn't helped.  Any suggestions on what I could be doing
wrong?
I added the two lines above to my .mc file and did a 'make; make restart' in
the /etc/mail directory.  The results are the same.  My .mc file is stock
otherwise except I've defined a SMART_HOST.


Did you do a make install to install the results of your mc file to
sendmail.cf? About the only other thing I can suggest do to add a:
define(`confDOMAIN_NAME', `domain.com')dnl

That should tell sendmail to negotiate as domain.com instead of
machine.domain.com.
Cheers.


--
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: Help with some problems

2003-06-14 Thread Malcolm Kay
One e-mail per question!

When you ask a number of questions people tend not to reply unless they have a 
response to all.

On Sat, 14 Jun 2003 12:23, Earl Larsen wrote:
 Problem #1
 I have a KVM switch. And sometimes when I use the switch. I get a no
 monater deteceted error.

 Problem #2
 The only account that can mount my floppy and cd roms is the root. I put
 the other accounts in the wheel group. And I am unabel to mount.


%  /sbin/sysctl vfs.usermount=1
Should allow user mounts when permissions are OK on device special and 
mount point.

Most of us seldom mount floppies but use instead mtools. Get the package
or install from ports.

 Problem #3
 When I put % echo exec startkde ~... in .xinitrc. I get  a mode 8 not
 supported error. I have an ATI Radeon 7000 card. And I went to their web
 site and could not find any drivers.


I don't know much about kde and I'm not sure what is meant by mode 8, but I
suspect it refers to depth 8 configuration of X. Try configuring 15, 16 or 24.

 Problem #4
 I am using Kmail for my email and when I go to check my spelling. I get the
 following error  ISpell/Aspell could not be started. Please make sure you
 have ISpell or Aspell properly configured and in your PATH.


Don't know Aspell but ispell is a spelling package available with american,
english and dictionaries for many other languages. You need to install this
separately.

 Suggestion #1
 Does anyone know of a good and easy configurable FTP Server software.


Good ftp server software is installed by default. To activate you normally run 
inetd (already started by default in standard installation) and ftp enabled 
in inetd.conf:-
remove the '#' at the beginning of the line:
#ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -l
in /etc/inetd.conf

You'll need to have inetd reread this by sending it a SIGHUP
% kill -HUP inetd_pid
(or simply reboot)
You can get inetd_pid from  /var/run/inetd.pid

 Question#1
 I am running wine. And when I start my GUI.  I would like to have my
 Anti-virus software running in the  background automaticly. How would I do
 that. Whould I put the executable path in the .xinitrc file?


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


Re: bootloader

2003-06-14 Thread Shantanu Mahajan
+-- Guus Bekkema [freebsd] [14-06-03 12:46 +0200]:
| I wanted a small 486 pc working on freeBSD
| 
| I got the setup program working but the media I used was not recognized. Now I 
wanted to go back to just reinstalling win 98 but for some reason I got the freeBSD 
masterbootrecordloader or something like that
| 
| It came down to the fact that the system says it has nog kernel nor any bootloader 
and he ends with:
| 
| boot?:
| 
| or something like that
| 
| How can I get the bootloader off my system and get it working again with 
Micro(shit)soft
| 
| Many thanks,
| 
| Guus Bekkema
| 
| [EMAIL PROTECTED]
| 
| --
boot using win bootable
run the following command.

A:\ fdisk /mbr

Regards,
Shantanu
-- 
If you need to ask a question on the FreeBSD-questions mailing list then

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/\
freebsd-questions/index.html

contains lots of useful advice to help you get the best results.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: debugging php4 ports make process

2003-06-14 Thread Joshua Oreman
On Sat, Jun 14, 2003 at 12:03:14PM +0100 or thereabouts, Jez Hancock seemed to write:
 Hi,
 
 Ok, the short question:
 
 How can one debug the ports tree make process (or any make process for
 that matter)?
 
 Specifically what I want to be able to do is 'dump' to
 STDOUT the values contained in macros within a Makefile - something like
 this in a Makefile:
 
 # New ports collection makefile for:php4-cli
 # Date created: Tue Feb 18 11:17:13 CET 2003
 # Whom: Alex Dupre [EMAIL PROTECTED]
 snip
 WITHOUT_APACHE= yes
 # How do I dump the value contained in WITHOUT_APACHE here?
 echo WITHOUT_APACHE
 
 (which of course doesn't work!)
 
 Obviously in this example the value contained in WITHOUT_APACHE is
 obvious, but in other Makefile's where there are more than 2 or 3 nested
 .if .else .endif clauses, it can be hard determining which macros
 contain what values.  What is the best way of debugging make targets?

make -V WITHOUT_APACHE
should dump the $(WITHOUT_APACHE) variable after the Makefile has been processed.

 
 Ok, now the long question!:
 
 I'm having a problem with the new php4 make process in as much as I want
 to install mod_php4 using one set of options / --with-* args and
 php4-cli with another set of options.
 
 I've created two distinct OPTION_FILE's as recommended in
 /usr/ports/lang/php4/Makefile:
 
 # The last way reads an extension file, located in ~/php_options (the
 # location is overridable by the OPTION_FILE variable). You may find an
 # example in scripts/php_options (interactive mode only).
 
 and named them 'php_options.cli' and 'php_options.mod_php4', each file
 containing the options for cli and mod_php4 respectively.
 
 I then proceed to set an env variable using:
 
 setenv OPTION_FILE php_options.mod_php4
 
 and then:
 
 (after removing old mod_php4 port)
 cd /usr/ports/www/mod_php4
 make clean install
 (check all the options are correct, they are)
 
 All well and good, mod_php4 is installed as expected.
 
 However I then go on to:
 
 setenv OPTION_FILE php_options.cli
 
 and then:
 
 cd /usr/ports/lang/php4-cli
 make clean 
 make
 (check all the options are correct, they are)
 
 and I receive this error on the install target:
 
 make install
 ===  Installing for php4-cli-4.3.2
 ===  php4-cli-4.3.2 conflicts with installed package(s):
   mod_php4-4.3.2,1
 
   They install files into the same place.
   Please remove them first with pkg_delete(1).
 *** Error code 1
 
 Stop in /usr/ports/lang/php4-cli.
 *** Error code 1
 
 Stop in /usr/ports/lang/php4-cli.
 
 Can anyone confirm whether they have installed both the cli and mod_php4 versions of 
 php4 from the FreeBSD ports, and if so how they achieved it?

Alas, what I had to do was do it by hand. You can apply the patches
manually, but you'll have to create the package yourself if you want
that.

-- Josh

 
 Many thanks in advance,
 Jez 
 ___
 [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: arp messages: Why is this happening?

2003-06-14 Thread Dan Nelson
In the last episode (Jun 14), ODHIAMBO Washington said:
 * Dan Nelson [EMAIL PROTECTED] [20030613 18:40]: wrote:
  In the last episode (Jun 13), ODHIAMBO Washington said:
   
   My log files (and console) fill up with these messages.
   
arp: 62.8.64.172 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.201 moved from 00:c0:05:10:01:f1 to 00:c0:05:11:01:f1 on bge1
arp: 62.8.64.201 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.145 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.212 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
arp: 62.8.64.188 moved from 00:c0:05:11:01:f1 to 00:c0:05:10:01:f1 on bge1
   ...
  
  What are the machines at those two mac addresses?  Are they maybe
  clustered servers, and during failover, you see an arp line for each ip
  that gets moved from one to the other
 
 Now that points me towards some clue ... those mac addresses are not even on
 the box where I am seeing these messages.
 I can see the mac addresses by using ifconfig, yes??
 So some machines, possibly routers, are doing this...

Maybe.  Routers shouldn't cause this because they only deal with
packets not in your subnet. The kernel only keeps MAC addresses for IPs
in your subnet. 

Your kernel is complaining that incoming packets that were coming in
with an IP of 62.8.64.188 and a MAC address of 00:c0:05:11:01:f1 are
now arriving with a MAC address of 00:c0:05:10:01:f1.  This could mean
that two active phyical machines are configured with the same IP
address (i.e. an IP conflict), two physical machines alternate using
that IP (i.e. failover clustering), or that your ifconfig netmask is
too large and the kernel is remembering MAC addresses for IPs that it
should really be forwaring to a router instead.

You can use the arp -a or netstat -r commands to display the IP-MAC
mappings the kernel knows about.

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


Re: debugging php4 ports make process

2003-06-14 Thread Jez Hancock
Hi Josh,

Cheers for reply.

On Sat, Jun 14, 2003 at 10:34:24AM -0700, Joshua Oreman wrote:
  Obviously in this example the value contained in WITHOUT_APACHE is
  obvious, but in other Makefile's where there are more than 2 or 3 nested
  .if .else .endif clauses, it can be hard determining which macros
  contain what values.  What is the best way of debugging make targets?
 
 make -V WITHOUT_APACHE
 should dump the $(WITHOUT_APACHE) variable after the Makefile has been processed.
Argh so simple.  Time to read the make manpages properly this time...

  I'm having a problem with the new php4 make process in as much as I want
  to install mod_php4 using one set of options / --with-* args and
  php4-cli with another set of options.
 Alas, what I had to do was do it by hand. You can apply the patches
 manually, but you'll have to create the package yourself if you want
 that.
I was fearing this.  I'd managed to actually achieve the goal on my
personal server, but when I went to attempt it on a soon-to-be
production server it wasn't playing at all.

I think what had happened was that I'd left mod_php4 4.3.1 installed
(prior to the 4.3.2 port major overhaul), and then went on to install
the 4.3.2 CLI afterwards, but confusion abound... I only found out about
this when I ran 'make deinstall' in /usr/ports/www/mod_php4 and was told
that the MD5 checksums failed on a variety of files, presumably from the
4.3.1 install.

Ok I'll consider installing from the source then or hacking away at a
package.

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


problem Postgres rotation logs

2003-06-14 Thread Emilio Manuel
I use Postgres as database for my web site. Postgres write logs to 
/var/log/pgsql.log.

To make log rotation, I append:

/var/log/pgsql  pgsql:pgsql 600  4 *$W0D23  Z

to /etc/newsyslog

The rotation works fine and Postgres still work after it occurs, but until I 
stop and start again Postgres, it doesn’t write any line to the new file 
/var/log/pgsql.log

¿What am I doing wrong?

_
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/

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


Re: problems compiling the kernel

2003-06-14 Thread Mike Atamas
I did that and it now gives me hte following errors:

/usr/src/sys/dev/en/midway.c: In function `en_get_vccs':
/usr/src/sys/dev/en/midway.c:1474: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1474: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1479: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1480: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1488: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1492: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1493: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1493: `ATMIO_FLAG_PVC' undeclared (first use in this 
function)
/usr/src/sys/dev/en/midway.c:1493: (Each undeclared identifier is reported only once
/usr/src/sys/dev/en/midway.c:1493: for each function it appears in.)
/usr/src/sys/dev/en/midway.c:1494: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1495: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1497: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1497: `ATMIO_AAL_5' undeclared (first use in this 
function)
/usr/src/sys/dev/en/midway.c:1499: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1499: `ATMIO_AAL_0' undeclared (first use in this 
function)
/usr/src/sys/dev/en/midway.c:1500: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1500: `ATMIO_TRAFFIC_UBR' undeclared (first use in this 
function)
/usr/src/sys/dev/en/midway.c:1501: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1502: increment of pointer to unknown structure
/usr/src/sys/dev/en/midway.c:1502: arithmetic on pointer to an incomplete type
/usr/src/sys/dev/en/midway.c: In function `en_ioctl':
/usr/src/sys/dev/en/midway.c:1591: `SIOCATMGETVCCS' undeclared (first use in this 
function)
/usr/src/sys/dev/en/midway.c:1600: `SIOCATMGVCCS' undeclared (first use in this 
function)
/usr/src/sys/dev/en/midway.c:1606: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type
/usr/src/sys/dev/en/midway.c:1607: dereferencing pointer to incomplete type
*** Error code 1

Stop in /usr/src/sys/modules/en.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/MYKERNEL.
*** Error code 1

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


On Sat, 14 Jun 2003 20:58:23 +
User Eugene Savin [EMAIL PROTECTED] wrote:

 On Sat, Jun 14, 2003 at 03:22:53PM -0400, Mike Atamas wrote:
  I am trying to compile my kernel for the first time. I updated the source and did 
  make buildkernel KERNELCONF=MYKERNEL in /usr/src. It gives me the following 
  errors, can someone tell me how to fix this?
  
  
  Stop in /usr/obj/usr/src/sys/GENERIC.
 
 Use: make buildkernel KERNCONF=MYKERNEL, not KERNELCONF.
 
 Regards,
 Eugene Savin.
 
 
 
 


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


rc.conf in 5.1?

2003-06-14 Thread Markus Svensson
Hi all!

I've just finished src upgrading my 5.0R box to 5.1R.
I've got one small problem though. After the upgrade, the system no
longer seems to use /etc/rc.conf during startup. This means that my
ADSL-connection does not start, and that the correct keymap isn't
loaded. Is this handled differently in 5.1 than in 5.0, or have I just
missed something very basic?

Best Regards,
Markus Svensson
[EMAIL PROTECTED] 


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


Re: problem Postgres rotation logs

2003-06-14 Thread Clement Laforet
On Sat, 14 Jun 2003 18:21:29 +
Emilio Manuel [EMAIL PROTECTED] wrote:

 I use Postgres as database for my web site. Postgres write logs to 
 /var/log/pgsql.log.
 
 To make log rotation, I append:
 
 /var/log/pgsql  pgsql:pgsql 600  4 *$W0D23  Z
 
 to /etc/newsyslog
 
 The rotation works fine and Postgres still work after it occurs, but until I 
 stop and start again Postgres, it doesn_t write any line to the new file 
 /var/log/pgsql.log
 
 ¿What am I doing wrong?


you need to send a kill -HUP to Postgres process, because you change the file name but 
not he file descriptor.

according to man newsyslog :
 path_to_pid_file
 This optional field specifies the file name to read to find the
 daemon process id, or to find a process group id if the U flag
 was specified.  If this field is present, a signal_number is sent
 the process id contained in this file.  If this field is not
 present, then a SIGHUP signal will be sent to syslogd(8), unless
 the N flag has been specified.  This field must start with / in
 order to be recognized properly.


Regards,

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


Re: How do I change the envelope from address in sendmail

2003-06-14 Thread Chuck Swiger
Bill Moran wrote:
[ ... ]
I've tried creating a local-host-names file in /etc/mail according to 
some Linux howtos I found, but it doesn't seem to be helping.
Right.  This change won't help solve the problem you asked about.

 What's the proper way to get sendmail to use [EMAIL PROTECTED]
 instead of [EMAIL PROTECTED]
Someone else already provided references to MASQUERADE_AS(), but if you can't 
get that working, you can forcibly set it by uncommenting the following line in 
/etc/mail/sendmail.cf:

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
...to:

Djdomain.com

[ Using an .mc file is the way to go if at all possible, but the above plus a 
make restart should do in a pinch. ]

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


Re: Booting takes too long. Why? (/ was not properly dismounted)

2003-06-14 Thread Jud
On Sat, 14 Jun 2003 12:28:23 +0530, Shantanu Mahajan 
[EMAIL PROTECTED] wrote:

| I shutdown using the shutdown -h now command
| or reboot using reboot now
did you try 'halt'?
what msg. do you see after the shutdown is complete?

From the halt(8) man page:
Normally, the shutdown(8) utility is used when the system needs to be 
halted or restarted, giving users advance warning of their impending doom 
and cleanly terminating specific programs.

From the shutdown(8) man page:
The following options are available:
-h  The system is halted at the specified time.
So Rohit is in fact using 'halt' in the way it is normally invoked, as an 
option to 'shutdown.'  Is there a reason that 'halt' without 'shutdown' 
would be preferable in this case?

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


Re: rc.conf in 5.1?

2003-06-14 Thread Kjell Midtseter
On Saturday, 14 June 2003 at 21:38:41 +0200, Markus Svensson wrote:
 Hi all!
 
 I've just finished src upgrading my 5.0R box to 5.1R.
 I've got one small problem though. After the upgrade, the system no
 longer seems to use /etc/rc.conf during startup. This means that my
 ADSL-connection does not start, and that the correct keymap isn't
 loaded. Is this handled differently in 5.1 than in 5.0, or have I just
 missed something very basic?

My rc.conf is being read as expected on both 5.0 and 5.1 here...
Hei fra Kjell
 
 Best Regards,
 Markus Svensson
 [EMAIL PROTECTED] 
 
 
 ___
 [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: rc.conf in 5.1?

2003-06-14 Thread P. U. Kruppa
On Sat, 14 Jun 2003, Kjell Midtseter wrote:

 On Saturday, 14 June 2003 at 21:38:41 +0200, Markus Svensson wrote:
  Hi all!
 
  I've just finished src upgrading my 5.0R box to 5.1R.
  I've got one small problem though. After the upgrade, the system no
  longer seems to use /etc/rc.conf during startup. This means that my
  ADSL-connection does not start,
This is not a problem of /etc/rc.conf . There was a long
discussion about that on the freebsd-currrent mailing list the
last days. Several people complained about it and several others
will try to fix the problem.
If you can, try to cvsup to RELENG_5_1 . Now my ADSL-connection
does work again.

  and that the correct keymap isn't
  loaded. Is this handled differently in 5.1 than in 5.0, or have I just
  missed something very basic?
My X-keymap is absolutely fine, my console keymap is a complete
mess. I don't think you missed anything.

Uli.

 
 My rc.conf is being read as expected on both 5.0 and 5.1 here...
 Hei fra Kjell

  Best Regards,
  Markus Svensson
  [EMAIL PROTECTED]
 
 
  ___
  [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]


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


Modifying FreeBSD base?

2003-06-14 Thread Ivan Fetch
Hello,
   I'd like to modify the FreeBSD base (e.g. make changes to
configuration files) - is there a way to do this without make world and
creating my own distribution (the changes are simple enough I'd like to
be able to role them into a modified base for now).

   It seemd like I could do the following:
   1. cat base.??  /tmp/filename.tar.gz
   2. cd /tmp; mkdir base; tar -C base -xpzf ../base.tar.gz
   3. Edit which ever files, and recreate a new base.tar.gz
4. use split(1) to split the tar.gz file up again
5. Recreate the CHECKSUM.MD5 file with lines for each base.?? file of the
form:
MD5 (base.aa) = md5_of_file

   Unfortunately the install complains about not being able to read the
base distributions (doing an FTP install).  What am I missing?  Somewhere
there's something else which appears to be telling the install it should
expect a certain number of split base.?? files (I end up with a larger
number of these, and can not seem to get split to let me create the same
number as originally existed in).

Thanks,
Ivan Fetch.

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


Re: de0 recognized but not configurable

2003-06-14 Thread Patrick O'Reilly
- Original Message -
From: Gary Aitken [EMAIL PROTECTED]


 I'm building a kernel with two ethernet devices, an ed0 and a de0.
 Both devices are recognized during the hardware probe at system
startup:
   de0: Digital 21041 Ethernet irq 9 at device 18.0 on pci 0
 device_probe_and_attach: de0 attach returned 6
   ed0: Netgear EA201 Ethernet Card at port 0x240-0x25f irq 5 on isa
0

 I presume the device_probe_and_attach: de0 attach returned 6 has
 something to do with this;

Gary,

just taking a flier here - I had a similar issue with another NIC
which was resolved by disabling Plug 'n Play in the BIOS.  Give it a
try - it can't hurt :)

Patrick.

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


SV: rc.conf in 5.1?

2003-06-14 Thread Markus Svensson
 This is not a problem of /etc/rc.conf . There was a long
 discussion about that on the freebsd-currrent mailing list the
 last days. Several people complained about it and several others
 will try to fix the problem 
 If you can, try to cvsup to RELENG_5_1 . Now my ADSL-connection
 does work again 

OK, but I just built the system from RELENG_5_1, cvsup'ed yesterday. Or
are the changes newer than that? Also, it doesn't seem to matter wheter
you put the changes in /etc/rc.conf, or in /etc/defaults/rc.conf, they
are both ignored :-(

 My X-keymap is absolutely fine, my console keymap is a complete
 mess. I don't think you missed anything

I can't even run X, my mouse don't seem to work (won't work without
moused, I guess) :-)

Best Regards,
Markus Svensson
[EMAIL PROTECTED]

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


Re: Re: recommendations

2003-06-14 Thread SweeTLeaF
well, i did install it from ports and i already has aspell installed.so i dont 
know. Ill take a look at it again, but would rather use the current rel. 0.9.0 as it 
is suppose to have several bugs fixed that casued the version in ports to be unstable 
at times.

thanks kevin, have a great day.

-Original Message-
From: Kevin Golding [EMAIL PROTECTED]
To: SweeTLeaF [EMAIL PROTECTED]
Date: Sat, 14 Jun 2003 13:45:18 +0100
Subject: Re: recommendations

In article [EMAIL PROTECTED], SweeTLeaF
[EMAIL PROTECTED] writes
-Original Message-
From: Steve Sapovits [EMAIL PROTECTED]
SweeTLeaF [EMAIL PROTECTED] wrote:
 the os is freebsd-5.1
 sylpheed-claws is v.0.9.0 d/l from their website.

On 5.0 it built with no intervention from ports.  The ports version
there is 0.8.6 ... slightly older, but maybe that's why your build is
failing.  ports is the way to go most of the time.

I tried that one, it did not have a spell checker.

Erm, Sylpheed-claws has been at version 0.8.10 for nearly two months now
and it contains the flag WITH_ASPELL which might help.

# make -DWITH_ASPELL install

Looking at the port's Makefile suggests there are quite a few options
that might be of interest.

Kevin
--
[EMAIL PROTECTED]



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


Re: SV: rc.conf in 5.1?

2003-06-14 Thread P. U. Kruppa
On Sat, 14 Jun 2003, Markus Svensson wrote:

  This is not a problem of /etc/rc.conf . There was a long
  discussion about that on the freebsd-currrent mailing list the
  last days. Several people complained about it and several others
  will try to fix the problem
  If you can, try to cvsup to RELENG_5_1 . Now my ADSL-connection
  does work again

 OK, but I just built the system from RELENG_5_1, cvsup'ed yesterday. Or
 are the changes newer than that?
No, I am running
5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Jun 11 05:29:05 CEST 2003
I guess I really can't help here.

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: Modifying FreeBSD base?

2003-06-14 Thread Clement Laforet
On Sat, 14 Jun 2003 14:28:03 -0600 (MDT)
Ivan Fetch [EMAIL PROTECTED] wrote:

 Hello,
I'd like to modify the FreeBSD base (e.g. make changes to
 configuration files) - is there a way to do this without make world and
 creating my own distribution (the changes are simple enough I'd like to
 be able to role them into a modified base for now).

You can make your own distro if you wish.
You can :
1. have your own CVS tree
2. use LOCAL_PATCH variable in make release

for more informations :
http://www.freebsd.org/doc/en/articles/releng/

regards,

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


X doesn't work

2003-06-14 Thread Scott Miller
Hi List,

Where should I start on troubleshooting this? I installed FreeBSD and
included X and Gnome 2 environment.  I selected the lowest resolution (VGA)
to see if it would work (I have had trouble getting X to work with some
flavors of Linux on this machine).  When I run startx, I get garbage on the
screen and the computer locks up.  Same problem with other resolutions.

I have a Dell Inspiron 8100. It uses the nvida GeForce2 GO. Dell will
provide no other technical specifications. In windows I use 1600x1200 and
32-bit colcor. What other information do you all need?


Regards,

Scott

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


Strange message: --: not found

2003-06-14 Thread P. U. Kruppa
Hi!

I have to admit I have been playing around with NIS/NFS .
Everything seems to work fine, but I keep receiving messages like
this:

---

Date: Sat, 14 Jun 2003 21:00:00 GMT
From: Cron Daemon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

--: not found

--

also I can see on boot-up:

Additional TCP options:
--: not found

Could anybody give me a hint where this comes from?

Thanks and 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]


Problems Installing on a Presario 2200

2003-06-14 Thread Gerald Coco
Hello,

Im not sure if this is the e-mail where you guys answer questions pertaining
to FreeBSD installation problems, if not please direct me to the place where
I can find answers. Ok anyways, here are my problems and questions...

Im trying to install FreeBSD 5.0, but I cant seem to get passed the boot
process where everything is being loaded and printed to the screen (dmesg).
It gets to a certain point and it stops booting (this is the installer from
the freebsd cdrom by the way).  Here is where it starts going wrong:

Sc0:VGA 16 Virtual Consoles flags=0300
Sio0:   at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Sio0:   type 16550A
Sio0:   configured irq 3 not in bitmap of probed irqs 0
Sio0:   port may not be enabled.
vga0:   Generic ISA VGA at port 0x3c0-0x3df iomem oxa-oxb on
isa 0
unknown:  PNP0303 can't assign resources port
unknown:  PNP0F13 can't assign resources irq
unknown:  PNP0600 can't assign resources port
unknown:  PNP0600 can't assign resources port
unknown:  PNP0200 can't assign resources port
unknown:  PNP0600 can't assign resources port
unknown:  PNP0501 can't assign resources port
unknown:  PNP0400 can't assign resources port
unknown:  PNP0700 can't assign resources port

After this msg it just stops loading and sits there... What can I do to get
rid of this?  Is some of my hardware not supported?  Do I have to reset my
BIOS or even upgrade them?  Please let me know what you think I'm stumped!

Thanks!
Gerald Coco


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


xterm questions

2003-06-14 Thread Alex de Kruijff
Hi all,

I have a configuration question about how to change the default 
selecting proces. I would like it when i select a URL (with a 
double click), that it select the whole URL instead of just one
word (sperating at [:/@]). It this posible?

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


problem compiling imap+php

2003-06-14 Thread Scott Kupferschmidt
Hello,

I saw a post regarding IMAP the other day on the questions list, so I
thought others might be trying to do the same as me and give me a heads up
on what might be wrong here.  I am trying to compile PHP 4.3.2 with IMAP
support, and it fails with the following:

 Error Output for sanity check 
cd ..; gcc  -funsigned-char -DNO_DL_NEEDED -DFD_SETSIZE=4096 -o
helpers/dummy helpers/dummy.c   -R/usr/local/lib  -rdynamic
-L/usr/local/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4-rdynamic -L/usr/local/lib -lcrypt  -lc-client4  -lcrypt
-lcrypt -lpam -lintl -lpng -lz -lz -lm  -lcrypt -lcrypt   -lcrypt -lexpat
/usr/local/lib/libc-client4.so: warning: tmpnam() possibly used
unsafely; consider using mkstemp()
/usr/local/lib/libc-client4.so: undefined reference to `mm_expunged'
/usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror'
/usr/local/lib/libc-client4.so: undefined reference to `mm_lsub'
/usr/local/lib/libc-client4.so: undefined reference to `mm_flags'
/usr/local/lib/libc-client4.so: undefined reference to `mm_fatal'
/usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical'
/usr/local/lib/libc-client4.so: undefined reference to `mm_notify'
/usr/local/lib/libc-client4.so: undefined reference to `mm_searched'
/usr/local/lib/libc-client4.so: undefined reference to `mm_status'
/usr/local/lib/libc-client4.so: undefined reference to `mm_login'
/usr/local/lib/libc-client4.so: undefined reference to `mm_list'
/usr/local/lib/libc-client4.so: undefined reference to `mm_critical'
/usr/local/lib/libc-client4.so: undefined reference to `mm_exists'
/usr/local/lib/libc-client4.so: undefined reference to `mm_log'
/usr/local/lib/libc-client4.so: undefined reference to `mm_dlog'
*** Error code 1

Stop in /usr/apache/src/helpers.
= End of Error Report =

If I disable IMAP support from PHP, all compiles fine.  Any
ideas?  Thanks.

Scott

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


Re: X doesn't work

2003-06-14 Thread peter lageotakes
Hello Scott,

Are you using the FreeBSD/Linux driver for X? Below is
the link for the drivers:

http://www.nvidia.com/view.asp?IO=freebsd_1.0-3203

What version of FreeBSD are you running?

--- Scott Miller [EMAIL PROTECTED] wrote:
 Hi List,
 
 Where should I start on troubleshooting this? I
 installed FreeBSD and
 included X and Gnome 2 environment.  I selected the
 lowest resolution (VGA)
 to see if it would work (I have had trouble getting
 X to work with some
 flavors of Linux on this machine).  When I run
 startx, I get garbage on the
 screen and the computer locks up.  Same problem with
 other resolutions.
 
 I have a Dell Inspiron 8100. It uses the nvida
 GeForce2 GO. Dell will
 provide no other technical specifications. In
 windows I use 1600x1200 and
 32-bit colcor. What other information do you all
 need?
 
 
 Regards,
 
 Scott
 
 ___
 [EMAIL PROTECTED] mailing list

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


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help with some problems

2003-06-14 Thread Alex de Kruijff
On Fri, Jun 13, 2003 at 09:53:48PM -0500, Earl Larsen wrote:
 Problem #1
 Problem #2
 Problem #3
 Problem #4

Please read:
http://www.lemis.com/questions.html#answer

How to ask a question:

2. Not everybody who answers FreeBSD questions reads every message: they 
look at the subject line and decide whether it interests them. Clearly, 
it's in your interest to specify a subject. ``FreeBSD problem'' or 
``Help'' aren't enough. If you provide no subject at all, many people 
won't bother reading it. If your subject isn't specific enough, the 
people who can answer it may not read it.

5. Don't include unrelated questions in the same message. Firstly, a 
long message tends to scare people off, and secondly, it's more 
difficult to get all the people who can answer all the questions to 
read the message.

-- 

You questions may also be very usefull for others at some time. If a 
mail is written well then it can be googled and they don't have to ask 
the same questions twice, this is true for most stuf at least.

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


Re: problems compiling the kernel

2003-06-14 Thread Kris Kennaway
On Sat, Jun 14, 2003 at 07:05:07PM -0400, Mike Atamas wrote:
 I did that and it now gives me hte following errors:

You're tracking -CURRENT, so you're required to subscribe to the
current mailing list and read commit logs.

Kris


pgp0.pgp
Description: PGP signature


Re: Strange message: --: not found

2003-06-14 Thread Kris Kennaway
On Sat, Jun 14, 2003 at 11:12:00PM +0200, P. U. Kruppa wrote:
 Hi!
 
 I have to admit I have been playing around with NIS/NFS .
 Everything seems to work fine, but I keep receiving messages like
 this:

Are you sure you have upgraded your system to 5.x correctly?  This
message might be due to an expr -- command, which behaves
differently between 5.x expr and 4.x expr.

Kris


pgp0.pgp
Description: PGP signature


Re: Strange message: --: not found

2003-06-14 Thread Dan Nelson
In the last episode (Jun 14), P. U. Kruppa said:
 I have to admit I have been playing around with NIS/NFS . Everything
 seems to work fine, but I keep receiving messages like this:
 
   ---
 
 Date: Sat, 14 Jun 2003 21:00:00 GMT
 From: Cron Daemon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
 
 --: not found

Check to make sure you don't have a typo domewhere in /etc/rc.conf;
save-entropy reads it and so does the bootup process.  You can probably
debug it further by running sh -x /usr/libexec/save-entropy, which
should tell you exactly the line that's generating that error.
 
-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xterm questions

2003-06-14 Thread Mikko Työläjärvi
On Sun, 15 Jun 2003, Alex de Kruijff wrote:

 I have a configuration question about how to change the default
 selecting proces. I would like it when i select a URL (with a
 double click), that it select the whole URL instead of just one
 word (sperating at [:/@]). It this posible?

Try running:

 xterm -cc 46-47:48,58:48,64:48

or put something like:

 XTerm*charClass: 46-47:48,58:48,64:48

in your Xdefaults.  See xterm(1), especially the section on character
classes.  Since URLs can contain all sorts of junk, you may want to
expand on the above example.

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


5.1-Release: Write operation on enire ad{0,1,2,...} with mountedpartition[s]

2003-06-14 Thread kAlunya
Hello, Core-Team!

As shortly said in ${SUBJECT}, there is a question.
In 5.1 Release thereis a situation:
# whoami
root
# dd if=/dev/ad0 of=sect0_copy count=1
..it is ok
# dd if=sect0_copy of=/dev/ad0
dd: /dev/ad0: Operation not permitted
# rm -rf /? :)

What is going on with permition to write my boot sector back on ad0?
So image repeats when I am in single mode with / mounted as RO
Is it ok with driver?
From one side - it's ok, FreeBSD says: Hm... Thereis mounted things on this device! 
;( Go away from my ad0!!!
From other side... Am I r00t on 127.0.0.1??? :((
I _DO WANT_ this operation. But Free doesn't...

Is it good with she?
-
With best wishes, Nick.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.0 Release vs ssh2/sshd2

2003-06-14 Thread cp
I almost feel guilty asking this because I think I know
the answer. We did a pkg_add of ssh2 from freebsd
and installed it but can't run getting an ld-elf error 
for an undefined symbol __stdoutp. 

These two servers have 4.0 Release from March of
2000. Is this release just way too old to be installing a port
dated May 2002? If so, should I use the old ssh off 
the 2000 cd (even though there are security problems)
rather than remain with open telnet/ftp we've used for 
years? 

Sorry that's two questions but they seem quite closely
tied ;-). TIA

Chris

P.S. The obvious answer is in process, within a couple
of months both machines will be updated to 5.1 Release.
We just can't do that quite yet.

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


Output from `pkg_info`

2003-06-14 Thread Konrad Scorciapino
Hello,

The output from `pkg_info` is messed up, look:

---
 pkg_info | grep gimp
etlfonts-noncjk-1.0 X11 supplemental fontsexpat-1.95.6_1  XML\ 1.0\ parser\ 
written\ in\ Cfluxbox-0.1.14_2A small and fast window manager based on 
BlackBoxfontconfig-2.2.0An\ XML-based\ font\ configuration\ API\ for\ X\ 
Windowsfreetype2-2.1.4_1   A\ free\ and\ portable\ TrueType\ font\ rendering\ 
enginegentoo-0.11.34  Gtk+\ based,\ file\ manager\ inspired\ by\ 
DirectoryOpusgettext-0.11.5_1GNU\ gettext\ packageghostscript-gnu-7.06 GNU 
Postscript interpretergimp-1.2.4,1The GNU Image Manipulation 
Programgimp-print-4.2.5GIMP Print Printer Drivergkrellm-1.2.13_1A\ GTK\ based\ 
system\ monitorglib-1.2.10_9   Some\ useful\ routines\ of\ C\ programming\ 
\(previous\ sta

---

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


Re: 5.1-Release: Write operation on enire ad{0,1,2,...} withmounted partition[s]

2003-06-14 Thread Joshua Oreman
On Sun, Jun 15, 2003 at 05:04:32AM +0300 or thereabouts, kAlunya seemed to write:
 Hello, Core-Team!

This is the freebsd-questions mailing list.

 
 As shortly said in ${SUBJECT}, there is a question.
 In 5.1 Release thereis a situation:
 # whoami
 root
 # dd if=/dev/ad0 of=sect0_copy count=1
 ..it is ok
 # dd if=sect0_copy of=/dev/ad0
 dd: /dev/ad0: Operation not permitted
That's at the device level.
 # rm -rf /? :)
That's at the filesystem level. There's an important difference.
 
 What is going on with permition to write my boot sector back on ad0?
 So image repeats when I am in single mode with / mounted as RO
 Is it ok with driver?
 From one side - it's ok, FreeBSD says: Hm... Thereis mounted things on this 
 device! ;( Go away from my ad0!!!
 From other side... Am I r00t on 127.0.0.1??? :((
 I _DO WANT_ this operation. But Free doesn't...

It's GEOM.
Google the archives for allow_shooting_into_my_foot.
There's a patch to make this a sysctl-configurable behavior.

-- Josh

 
 Is it good with she?
 -
 With best wishes, Nick.
 ___
 [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: Output from `pkg_info`

2003-06-14 Thread Kris Kennaway
On Sun, Jun 15, 2003 at 01:37:27AM -0300, Konrad Scorciapino wrote:
 Hello,
 
 The output from `pkg_info` is messed up, look:

Fixed a few weeks ago.

Kris


pgp0.pgp
Description: PGP signature


help

2003-06-14 Thread golnoosh Tajadod
Hello:
I want freebsd driver for Adaptec scsi 39320 D ,
Can you help me ?!
Thanks
Regards 
G.Tjadod


-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help

2003-06-14 Thread cp
(Subject: Need Adaptec 39320D driver)

It is built-in in 4.8, 5.0 and 5.1 (those I'm aware of).
It is ahd in the kernel and loads with GENERIC.
Under certain conditions, 4.8 and 5.0 don't allow
U320 drives to run over 80 mbs, the worst scenario
is that some systems crash on installation. 5.1
Release has a correction for this that others have
said works.

- Original Message -
From: golnoosh Tajadod [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 14, 2003 10:04 PM
Subject: help


 Hello:
 I want freebsd driver for Adaptec scsi 39320 D ,
 Can you help me ?!
 Thanks
 Regards
 G.Tjadod


 -
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 ___
 [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]