install jabberd error

2004-08-18 Thread starry huang

BODY oncontextmenu=return false dir=ltr style=OVERFLOW-Y: scroll leftMargin=0 
topMargin=0 rightMargin=0DIV id=wrteplaceholder style=FONT-FAMILY: Arial 
name=wrteplaceholder
DIVBRBRmy freebsd installed openssl 0.9.7d BRnow installing jabberd 2.0.2 : 
BRcd /usr/ports/net/jabbdrd/ BRmake -DWITHOUT_DEBUG -DWITH_MYSQL install BR. 
BRchecking for OpenSSL in /usr/local... no BRconfigure: error: Could not find 
OpenSSL 0.9.6.2 (or higher) BR===gt;nbsp;nbsp;Script configure failed 
unexpectedly. BRPlease report the problem to A 
href=http://mail.walla.com/ts.cgi?tsscript=composeamp;[EMAIL PROTECTED][EMAIL 
PROTECTED]/A [maintainer] and attach the 
BR/usr/ports/net/jabberd/work/jabberd-2.0s2/config.log including the output BRof 
the failure of your make command. Also, it might be a good idea to provide BRan 
overview of all packages installed on your system (e.g. an `ls BR/var/db/pkg`). 
BR*** Error code 1 BRBRso I try edit Makefile: BRCONFIGURE_ARGS= 
--localstatedir=/var \ 
BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;--with-libiconv-prefix=${LOCALBASE}
 \ 
BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;--with-openssl
 \ 
BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;--enable-storage='${STORAGE}'
 \ 
BRnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;--enable-authreg='${AUTHREG}'
 BRBut : BR BRchecking for OpenSSL in /usr/local/openssl... no BRchecking 
for OpenSSL in /usr/local/ssl... no BRchecking for OpenSSL in /sw... no 
BRconfigure: error: Could not find OpenSSL 0.9.6.2 (or higher) 
BR===gt;nbsp;nbsp;Script configure failed unexpectedly. BRPlease report the 
problem to A href=http://mail.walla.com/ts.cgi?tsscript=composeamp;[EMAIL 
PROTECTED][EMAIL PROTECTED]/A [maintainer] and attach the 
BR/usr/ports/net/jabberd/work/jabberd-2.0s2/config.log including the output BRof 
the failure of your make command. Also, it might be a good idea to provide BRan 
overview of all packages installed on your system (e.g. an `ls BR/var/db/pkg`). 
BR*** Error code 1 BRBRwhat can i do??? BRthanks!!! 
BRBRBR/DIV/DIV/BODYhrdiv 
style=background-color:white;color:black;Walla! Mail - a 
href=http://www.walla.com; style=color:blueget your free 1G mail today/a/div___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


VPN over IPSEC

2004-08-18 Thread Atanas Davarsky
Hi, i am Bulgaria from. I use FreeBsd about 2 years, and i am very 
impressed.
After read in detail VPN over IPSEC from handbook, I can't find a solution
how to run VPN server if the remote clients are with dynamic ip adresses.
Thank you

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: scrollback history buffer setting (was keyboard)

2004-08-18 Thread Jay O'Brien
Jay O'Brien wrote:

 I can run kbdcontrol -h 500 or vidcontrol -h 500 to set the 
 scroll back keyboard history buffer to 500 lines for the 
 virtual terminal I'm using. How can I make that happen at 
 boot, in the same manner as I run allscreens_flags in 
 rc.conf to set other terminal parameters?  I don't need 
 this to set all of the virtual terminals; it would be 
 nice if each terminal could be set separately.
 
 It doesn't work for me when placed in rc.conf, with either 
 a direct command or attempting to use allscreens_flags.
 
 I'm using 4.10.
 
 Jay O'Brien
 Rio Linda, CA USA

Follow-up:

Re-reading the above could be interpreted that I want to be able 
to review more keyboard lines; not so. I should not have used the 
word keyboard. I'm looking for redisplay of the screen lines. 
Both kbdcontrol and vidcontrol perform that function. I've built 
a workaround by adding this to root and user .cshrc: 
 alias bu vidcontrol -h (with a space following). 
This allows me to type 'bu 500' to set the buffer to 500 lines.

In addition, I would like to be able to set it during boot. Is 
that possible?

Jay


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


Re: SATA drive bootable ???

2004-08-18 Thread Peter Ulrich Kruppa
On Tue, 17 Aug 2004, Benjamin Sobotta wrote:
Hi
I don't know about the controller but in general this should work. Just make
proper adjustments in your BIOS. I'm booting FreeBSD from an SATA RAID0.
Works perfectly fine.
My BIOS doesn't show any boot options for SATA, neither does the 
controller.
I can install FreeBSD from CD on the SATA drive, but the boot 
manager seems to lead nowhere.
I guess my mainboard is too old for that.

But that doesn't really matter: I am going to divide the disk up 
and mount it on my old system.

Thanks,
Uli.
On Tuesday 17 August 2004 07:53, Peter Ulrich Kruppa wrote:
Hi!
I just started playing around with my new SATA disk (with SATA
150 TX2plus controller on -CURRENT). I can mount and format it
all-right.
Is it generally posssible to boot from such a disk (different
question would be if it made sense to do so)?
My SATA drive is recognized as ata2-master.

+---+
|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: Driver for Yopy PDA

2004-08-18 Thread Raphael Langerhorst
Hi,

I'm also still very interested in this driver, so far I haven't received any 
response. I hope someone takes care that it is included in FreeBSD 5.

Raphael

PS: I'm not registered to the freebsd-questions list, please cc me on reply.

On Wednesday 18 August 2004 04:04, you wrote:
 hello all,

 i recently received a yopy 3500 pda (yopy.com and yopydeveloper.org) and
 have been trying very much in vain to get it to speak 'ethernet over usb'
 with my fbsd 4.10 install.

 the only promising *bsd related threads i have been able to locate were:

 http://lists.freebsd.org/mailman/htdig/freebsd-hardware/2004-June/001703.ht
ml
 http://lists.freebsd.org/mailman/htdig/freebsd-hardware/2003-August/000429.
html

 i am hoping to learn whether:

 a) the 5.x driver mentioned in these messages is on its way into
 the source tree (i did not come across any if_saue entries in
 cvsweb.cgi/src/sys/dev/usb) ?

 b) i can help test a version designed for 4.x ?  my yopy awaits your
 command  =]

 hopefully someone will get back to me regarding these questions.  in the
 meantime, linux already has driver support for the yopy, so i'm going to
 give knoppix a try.


 thanks for reading,
 epi


 p.s. comms/birda appears to be another option for connecting to the
 machine, but i haven't yet made any headway with that tool set.

-- 
G System, the evolving universe - http://www.g-system.at
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Have Config freebsd as getway problem

2004-08-18 Thread AETCH
I have install freebsd 4.x,and have two netcards.
I want it as getway.
I have config gateway_enable=YES  in rc.conf,and then reboot.
[a pc][freebsd]---[b pc]
After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and
b pc can ping freebsd successful,why?
Please give me a hand.
Thanks!!
 
LILY


--

--
¦Û¤v°µµo«H¾÷¥D¤H¡A¦Û¤v¨M©w¹q¤l¶l¥ó¦a§}
http://mymailer.url.com.tw

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


problem with getway

2004-08-18 Thread AETCH
I have install freebsd 4.x,and have two netcards.
I want it as getway.
I have config gateway_enable=YES  in rc.conf,and then reboot.
[a pc][freebsd]---[b pc]
After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and
b pc can ping freebsd successful,why?
Please give me a hand.
Thanks!!
 
aetch


--

--
¥xÆW³Ìª«¶W©Ò­Èªº¤j²³¤ÆµêÀÀ¶l¥ó¥D¾÷ 
http://mymailer.url.com.tw

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


freebsd compatible routers

2004-08-18 Thread Dino Vliet
Hi there, I'm a network novice and want to establish
this:

@home we have a cable internet connection and I want
to attach a router to it to be able to share the
internet connection of 1 standalone winxp pc and a
laptop running freebsd 4.10
The cable connection uses dhcp to assign me a
ip-address. I also would like a switch to be able to
set up a lan between the pc's at home. 

Personally I would favour a netgear solution but some
of the don't allow port forwarding and even though I
don't know at the moment if I will need this, I do
want a product which is capable of doing that:-)

What are the best freebsd compatible routers?

Will te fact that I use freebsd on my laptop be a
serious constraint?

Brgds



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keyboard history buffer setting

2004-08-18 Thread Jan Christian Meyer
It doesn't work for me when placed in rc.conf, with either
a direct command or attempting to use allscreens_flags.
I run 5.2.1 myself, but if anything I write is incorrect
for 4.10 someone will surely correct me shortly.
It looks to me like you've been putting your parameter in
the wrong string; as far as I understand, allscreens_flags
is sent to vidcontrol, while allscreens_kbdflags goes to
kbdcontrol.
Putting plain commands into rc.conf is unlikely ever to
accomplish much. Peek in /etc/defaults/rc.conf for a lot of
interesting stuff which will work, though.
If you still need to do shell stuff on startup, slapping
together a script and putting it in rc.d is the way to go.
The man pages of rc explain the works, and include a
template script which you can copy and fill in.
Cheers,
 -Jan Christian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd compatible routers

2004-08-18 Thread Kevin Stevens
On Aug 18, 2004, at 01:40, Dino Vliet wrote:
@home we have a cable internet connection and I want
to attach a router to it to be able to share the
internet connection of 1 standalone winxp pc and a
laptop running freebsd 4.10
The cable connection uses dhcp to assign me a
ip-address. I also would like a switch to be able to
set up a lan between the pc's at home.
Most of the products out there combine a 4/5 port switch with the 
router.

Personally I would favour a netgear solution but some
of the don't allow port forwarding and even though I
don't know at the moment if I will need this, I do
want a product which is capable of doing that:-)
I'm not aware of any router/firewall products which don't offer port 
forwarding, though sometimes it's called something different.  Which 
Netgear product are you referring to?

What are the best freebsd compatible routers?
Well, Cisco 3660s are nice...  The phrase freebsd compatible router 
is pretty meaningless, FreeBSD uses a standard TCP/IP implementation 
and so do routers, so they are all interoperable.  The only thing you 
might find is a product that has a Windows-specific setup program, but 
that is very rare on current equipment - they all use browser-based 
setups.  Buy the cheapest thing on sale (should be  $30 new if you 
shop around) and replace it later if you need some specific different 
feature.

Will te fact that I use freebsd on my laptop be a
serious constraint?
Depends on what you're trying to do with it.
KeS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Corrupted e-mails

2004-08-18 Thread Jonathan Belson
Hiya

For the last few months, I've had a problem where a small number (less
than ~1 in 1000) of e-mails get corrupted.  All I have in my Maildir
is something like the following two lines:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]

In case case it's a spam so it's no great loss, but I've had it happen
to important e-mails too.

Here are the appropriate lines from my maillog:

Aug 18 05:35:17 dookie qmail: 1092803717.270465 new msg 2018
Aug 18 05:35:17 dookie qmail: 1092803717.270808 info msg 2018: bytes 6860
from [EMAIL PROTECTED] qp 66137 uid 82
Aug 18 05:35:17 dookie qmail: 1092803717.283085 starting delivery 1895:
msg 2018 to local [EMAIL PROTECTED]
  snip
Aug 18 05:35:32 dookie qmail: 1092803732.535421 end msg 2018

The original e-mail looks to have been ~6.5kB.

Here is my .qmail, which runs SpamAssassin on the incoming e-mail for
this account:

|/usr/local/bin/spamassassin | /usr/local/bin/maildir /home/jon/Maildir/
#./Maildir/

I'm inclined to blame SpamAssassin since I saw a similar problem when
I had it misconfigured before - that was easy to track down since it
wrote error messages in the system log left (missing p5 package).  This
time there are no error messages, and the problem only occurs very
occasionally.

Has anyone else seen this before?  Any clues on what could be going
wrong?  Disabling SpamAssassin would make e-mail unusable since I
get hundreds of spam e-mails a day.

Cheers,

--Jon

http://www.witchspace.com


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


Re: xtset or xtermset tricks?

2004-08-18 Thread Giorgos Keramidas
On 2004-08-17 21:51, Duane Winner wrote:
Gary Kline wrote:
On Tue, Aug 17, 2004 at 12:41:02PM -0400, Duane Winner wrote:
Found a solution!
In ~/.bashrc, put this:
cd ()
{
  builtin cd $@
  /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`
}

I've got a slight problem with having the host/directory/etc on the
title bar. It will help clear my zsh right-prompt, of course.

But now, since I hammered out that little cd() function for .bashrc, I
found another little problem:
If I su to another user (for instance, su - root), the title changes
as long as the other account has my the function in .bashrc, but when
I exit, the title still has the old credentials (example:
[EMAIL PROTECTED]:~) until I cd somewhere again. Sigh.
Don't use cd aliases for showing the current path in your xterm
titlebar.  There's a more elegant way involving PROMPT_COMMAND:
bash-2.05b$ export PS1='\$ '
$ export PROMPT_COMMAND='echo ::`pwd`::'
::/home/keramida::
$ cd /etc
::/etc::
$ cd /usr/src
::/usr/src::
$ exit
exit
You can set PROMPT_COMMAND to any command you want, no matter how
complicated.  A nice wrapper script around your usual stuff for
PROMPT_COMMAND can be called too with:
$ export PROMPT_COMMAND='/home/keramida/bin/promptcmd.sh'
Regarding the current username, host name and directory, you might be
interested in this output too:
$ echo $USER
keramida
$ hostname -s
orion
$ echo $PWD
/home/keramida
$
- Giorgos
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Intel PRO/1000 and Intel 865 PE, FreeBSD 5.2.1

2004-08-18 Thread Ighor
Good day!

Sorry about my stupid questions, but i can't resolve my problem by
myself. I've read a lot of pages and FAQs but can't do this:

I have Intel PRO/1000 Network Card on Albatron motherb PX865PE ProII
oard with Inter 82865PE chipset.

After boot network card doesn't work. I think it's something with
interrupts. It only works when I disable ACPI in device.hints. The the
card uses IRQ18 and all is ok.

I've shitched resources in BIOS in thousands combinations - it's all
the same.

I need ACPI for HT pseudo-dual processing.

There are two logs attached - with ACPI and without

Thank you if you can help me.

-- 
With Best regards/wishes
 Ighor

 mailto:[EMAIL PROTECTED]
 ICQ 65975280, phone +7-916-7219187Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc09e3000.
MPTable: OEM0 PROD
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2800.48-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 536805376 (511 MB)
avail memory = 511774720 (488 MB)
ioapic0: Assuming intbase of 0
ioapic0 Version 2.0 irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 14 entries at 0xc00fde70
pcib0: MPTable Host-PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
pcib0: slot 29 INTA routed to irq 16
pcib0: slot 29 INTB routed to irq 19
pcib0: slot 29 INTC routed to irq 18
pcib0: slot 29 INTA routed to irq 16
pcib0: slot 29 INTD routed to irq 23
pcib0: slot 31 INTA routed to irq 16
pcib0: slot 31 INTB routed to irq 17
agp0: Intel 82865 host to AGP bridge mem 0xe800-0xefff at device 0.0 on pci0
pcib1: MPTable PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pcib1: slot 0 INTA routed to irq 16
pci1: display, VGA at device 0.0 (no driver attached)
pcib2: MPTable PCI-PCI bridge at device 3.0 on pci0
pci2: PCI bus on pcib2
pcib2: slot 1 INTA routed to irq 18
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.19 port 0x9000-0x901f mem 
0xfa00-0xfa01 irq 18 at device 1.0 on pci2
em0:  Speed:N/A  Duplex:N/A
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xbc00-0xbc1f irq 16 at device 
29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xb000-0xb01f irq 19 at device 
29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xb400-0xb41f irq 18 at device 
29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xb800-0xb81f irq 16 at device 
29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib3: MPTable PCI-PCI bridge at device 30.0 on pci0
pci3: PCI bus on pcib3
pcib3: slot 0 INTA routed to irq 22
fwohci0: VIA VT6306 port 0xa000-0xa07f mem 0xfa10-0xfa1007ff irq 22 at device 
0.0 on pci3
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:0a:48:00:00:01:46:8a
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:0a:48:01:46:8a
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 SATA150 controller port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 
irq 16 at device 31.2 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: serial bus, SMBus at device 31.3 (no driver attached)
orm0: Option ROMs at iomem 0xd-0xd17ff,0xc-0xcf7ff on 

Re: xtset or xtermset tricks?

2004-08-18 Thread Nikos Vassiliadis
Since you use bash, you can use the variable
PROMPT_COMMAND to execute something,
just before the shell prints out PS1. And then
you can set the xterm's title using something
like this:

echo -ne \033]0;my xterm\007

Cheers, NikV

On Tuesday 17 August 2004 20:10, Duane Winner wrote:
 This is a little better:

 cd ()
 {
  # do the actual cd
  builtin cd $@

  # if in homedir, then make path '~', not full path
  if [ $PWD == $HOME ]; then
  XTDIR=~
  else
  XTDIR=$PWD
  fi

  # set xtset title and icon to [EMAIL PROTECTED]:path
  /usr/local/bin/xtset [EMAIL PROTECTED]:`echo $XTDIR`
 }

 # force an xtset title at shell login:
 cd


 -Duane

 Duane Winner wrote:
  Found a solution!
 
  In ~/.bashrc, put this:
 
  cd ()
  {
 builtin cd $@
 /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`
  }
 
 
 
  -Duane
 
  Duane Winner wrote:
  Hello,
 
  Hey, does anybody know of any useful tricks for automating xtset or
  xtermset?
 
  I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I
  can keep track of my xterms littered all over my desktop (pretty
  frequent! :)
 
  But it sure would be nice to have them updated whenever I 'cd' to
  another directory or 'su' to another user or 'ssh' to another host!
 
  I'm sure there's got to be someway to make this a little more seamless
  then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good
  enough with shell programming to know how to do this.
 
  The closest I came was writing a small bash script that does:
 
 for filename in /dev/ttyp*; do
/usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`  $filename
 done
 
  And thought about cron'ing it (every minute), but the problem is that
  when I tested this, all my xterms get the same title/icon based on who
  is running the script and where at the time. No good :(
  (And of course this would be useless to update the titles/icons for
  xterms that are remote shells (ssh).
 
 
  Any thoughts?
 
  Thanks!
  Duane
  ___
  [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]

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


dhclient fails to get lease

2004-08-18 Thread Walter C. Pelissero
On my laptop I'm experiencing a problem with dhclient.  When I
bootstrap the laptop (FreeBSD 5.2.1) after the server (FreeBSD 4.10),
dhclient fails to get a lease within a useful time, while, if I
bootstrap the server after the laptop, it gets immediately the lease.

When the client is stuck in the first scenario I kill dhclient and
restart and this would fix the problem:

  killall dhclient
  dhclient ep0

The ep0 interface is a PCMCIA, 3Com Etherlink III 3C589.

The only suspicious thing is a couple of messages on
/var/log/messages of the laptop:

Aug 18 12:01:39 hyde dhclient: send_packet: No route to host
Aug 18 12:01:44 hyde dhclient: send_packet: No route to host

The /etc/dhclient.conf on the laptop is:

  timeout 60;
  retry 30;
  select-timeout 5;
  initial-interval 2;
  omapi port 7911;

The relevant rc.conf settings on the laptop look like:

  pccard_enable=YES
  removable_interfaces=ep0
  ifconfig_ep0=DHCP

The rc.conf settings for dhcpd on the server are (mostly defaults):

  dhcpd_enable=YES
  dhcpd_flags=-q -early_chroot
  dhcpd_conf=/usr/local/etc/dhcpd.conf
  dhcpd_ifaces=
  dhcpd_umask=022
  dhcpd_chuser_enable=YES
  dhcpd_withuser=dhcpd
  dhcpd_withgroup=dhcpd
  dhcpd_chroot_enable=NO
  dhcpd_rootdir=/var/db/dhcpd

Any help is greatly appreciated.

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


Re: freebsd compatible routers

2004-08-18 Thread Peter Ulrich Kruppa
On Wed, 18 Aug 2004, Kevin Stevens wrote:
On Aug 18, 2004, at 01:40, Dino Vliet wrote:
@home we have a cable internet connection and I want
to attach a router to it to be able to share the
internet connection of 1 standalone winxp pc and a
laptop running freebsd 4.10
The cable connection uses dhcp to assign me a
ip-address. I also would like a switch to be able to
set up a lan between the pc's at home.
Buy the cheapest 
thing on sale (should be  $30 new if you shop around) and replace it later 
if you need some specific different feature.
If you are new to FreeBSD this really is the best idea to get 
started.
With some experience you will be able to connect your FreeBSD 
machine directly to the internet and make it a gateway for all 
other workstations.

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]


help !!!!!

2004-08-18 Thread indunil
Hi,

I installed FREEBSD 5.2.1. I can telnet to Free BSD box from Windows 2000
client. I can telnet to it with my USERNAME and PASSWORD. Then I want to be
root. So I issue SU - ( or SU - root).  then FreeBSD box asks me the
password (root's password ).
when I give root's password, FreeBSD box does not accept . Why ? Pls help me
...


Thanks
Indunil Jayasooriya
Healthiness of the System 99.99%

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


[indunil@stafford.lk: help !!!!!!]

2004-08-18 Thread Marc Fonvieille
The [EMAIL PROTECTED] mailing list is the right place to ask
this sort of question.

You have to add your user to the wheel group to be able to su.

pw groupmod wheel -m yourusername

should do the trick.

Marc
---BeginMessage---
Hi, 

I installed FREEBSD 5.2.1. I can telnet to Free BSD box from Windows 2000 client. I 
can telnet to it with my USERNAME and PASSWORD. Then I want to be root. So I issue SU 
- ( or SU - root).  then FreeBSD box asks me the passwrd (root's password ).
when I give root's password, FreeBSD box does not accept . Why ? Pls help me ...



Thanks
Indunil Jayasooriya
Healthiness of the System 99.99%
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


KERNEL : Ethernet Device not recognized

2004-08-18 Thread Valéry
Version : FreeBSDi386-5.2.1
Foreword : FreeBSD5.2.1 is used because 4.1 don't recognized
my motherboard correctly.
Hi,
some trouble to start an integrated Ethernet Device
by FreeBSD.
Loader give the message :
pci2: network, ethernet at device 8.0 (no driver attached)
in my case, i'm using :
MotherBoard : Asus P4SL8 / Pundit
Ethernet: 3Com 3C920B-EM-WNM Integrated Fast Ethernet
with this informations (returned by NT5.1) :
PCI 2, device 8 (same as FreeBSD)
IRQ 18
I/O : EC00-EC7F
Memory : FE20-FE20007F
Here's the Kernel Configuration :
* loader.conf
I tried to load the module 'if_xl' on loader.conf but got the
message that module was already loaded (default/loader.conf set the
if_xl module_load to NO)...
* device.hints (5.2.1)
hint.ed.0.at=isa
hint.ed.0.disable=0
hint.ed.0.port=0xec00   #Loader resp. : wrong
hint.ed.0.irq=18#Loader resp. : wrong IRQ - over 15
hint.ed.0.maddr=0xFE20  #Loader resp. : wrong addr
Well. My questions are :
Q1 : how to attach a device driver on pci2.dev8 ?
Q2 : how to setup correctly parms in device.hints ?
Q3 : why loader say that if_xl is already loaded when setting up
if_xl_load to YES ?
Q4 : setting up verbose_loading=YES has worked one time, but seem
to be ignored by the loader now (no verbose in /var/log/messages)
Why ?
Thanks, as you understand i'm a very newbies on FreeBSD,
i would like to migrate my Apache from NT5.1 to FreeBSD
but without network i'm affraid that would be not possible
:o)
Regards,
PS : i can't send you my /var/log/messages file because i can't
write on my NTFS partition (mount_ntfs doesn't permit that)
and have no floppy on my computer (a friend give me this computer,
this was not my choice, sorry ..)
--
Valéry Seys / Paris-France
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(Another) NATD/IPFW port forwarding problem

2004-08-18 Thread fbsd-help
   .oO( Internet )Oo.
   ||
   || 

 [DSL--]
 [ adsl router ]   - No Nat
 [-] 

  |   |
  |   |
  |   |
  B   A
 [WL---] [---BSD---]
NAT -   [ wireless router ] [ bsd box ]
 [-] [-]
  X
  |   |   |
  |   |   |
  |   |___|
  Y
[-WEB]
[ web server + media ]
[] 

IP Addresses: 

A: External IP 82.*.*.A
B: External IP 82.*.*.B
X: Internal IP 192.168.1.101
Y: Internal IP 192.168.1.100 

### External Connectivity ### 

WEB - WL - (DSL) - Internet [IP B]
BSD - (DSL) - Internet [IP A] 

Require:
Connection to A:80 forwarded to Y:80 

### Theoretical Solution ### 

Packet - [sourceip:port, destip:port] 

Packets IN 

[any:any, A:80] fwd/nat [A:80, X:80]
[A:80, X:80] fwd/nat [X:80, Y:80] 

Packets OUT 

[Y:80, X:80] fwd/nat [X:80, A:80]
[X:80, A:80] fwd/nat [A:80, any:any] 

### Description ### 

Hiya, 

As you can hopefully see, i'm trying to port forward a connection to an 
external ip on my BSD be box to the internal ip address of a machine that 
sits behind a wireless router. 

Please advise as to whether my Theoretical Solution is indeed correct for 
this purpose. 

I've been playing around with NATD and IPFW for a while now, and just cannot 
get it to respond. Assuming my logic is correct, my problem seems to be 
translating it in to the require configs/rules for natd and ipfw. 

In an attempt to simplify the problem, i have set apache to run on all the 
IPs of the BSD box. A telnet to 82.*.*.A 80 gets an index file showing 
default, whereas a telnet to 192.168.1.101 80 gets an index file showing 
192.168.1.101, the obvious trick being to get a telnet to 82.*.*.A to 
display 192.168.1.101 

As this is failing badly too, i assume i am doing some really wrong. 

As you will see, i have a /29 external subnet but we're only really 
interested in 82.*.*.A 

rl0 - external NIC going to ADSL Router
xl0 - internal NIC going to Wireless Router 

IP Connectivity between all hosts is fine 

Details are as follows: 

- rc.conf - 

defaultrouter=82.*.*.*
hostname=XXX
ifconfig_rl0=inet 82.*.*.*  netmask 255.255.255.248
ifconfig_rl0_alias0=inet 82.*.*.A netmask 255.255.255.255
ifconfig_rl0_alias1=inet 82.*.*.* netmask 255.255.255.255
ifconfig_rl0_alias2=inet alias 82.*.*.* netmask 255.255.255.255
ifconfig_xl0=inet 192.168.1.101 netmask 255.255.255.0
ifconfig_xl0_alias0=inet 192.168.1.111 netmask 255.255.255.255 

gateway_enable=YES
natd_enable=YES
natd_interface=rl0
natd_flags=-f /etc/natd.conf
portmap_enable=YES
firewall_enable=YES
firewall_type=/etc/ipfw.rules/default
firewall_quiet=NO 

- natd.conf - 

interface rl0
same_ports yes
redirect_port tcp 192.168.1.101:80 80 

- KERNAL - 

options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFILTER
options IPFILTER_LOG
options IPDIVERT 

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


Re: X configuration problem - new info

2004-08-18 Thread Jud

On Tue, 17 Aug 2004 15:47:50 -0700, Jay O'Brien [EMAIL PROTECTED]
said:
[snip]
 After over an hour and a half of downloading (and I have a 1.3MHz DSL) I 
 tried again. Now I get different error messages, and I don't understand 
 at all what this unwanted download has done to my computer. 
 The errors are: 
 
VGA(0): Virtual height (0) is too small for the hardware (min 1)
Screen(s) found, but none have a usable configuration.
 
 I'm going to wipe the HD clean again and start over, using my current ISO 
 CD. This download, with many separate unrelated files, has me really 
 concerned about what I unwittingly added to my HD. I don't even know 
 where all the files I saw come in are now placed on the HD!

Seems like the problems are with X config rather than what files are
living on your HD.  There are any number of X config files/tutorials on
the Net to read through and compare to what you're getting in
/etc/X11/XF86Config.  If that doesn't give you a good idea what to fix,
send your config file to the list so someone smarter than I am can help
you.  ;-)
 
 Is there any disadvantage to installing XFree86 with # pkg_add -r XFree86
 as compared to using /stand/sysinstall, select Configure | XFree86 ?

You just have to do the config step separately after pkg_add. 
Otherwise, no difference I'm aware of.

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


Re: help !!!!!

2004-08-18 Thread Thomas Spreng
hi,
please be more specific when asking a question. Read 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/ 
about how to ask question on this list.

as a second note, read the User Account Management documentation 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html).

I installed FREEBSD 5.2.1. I can telnet to Free BSD box from Windows 2000
client. I can telnet to it with my USERNAME and PASSWORD. Then I want to be
root. So I issue SU - ( or SU - root).  then FreeBSD box asks me the
password (root's password ).
when I give root's password, FreeBSD box does not accept . Why ? Pls help me
...
it's a very bad idea to use telnet for obvious security reasons. Use 
ssh. Please note that toor and root both have a password of their own 
and you'll have to be in their group in order to su.

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


KERNEL : ethernet device not present on if_xl module

2004-08-18 Thread Valéry
Version : FreeBSDi386-5.2.1
Foreword : FreeBSD5.2.1 is used because 4.1 don't recognized
my motherboard correctly.
Note : this email following : KERNEL : Ethernet Device not recog.
by [EMAIL PROTECTED] at Wed, 18 August 10:59 GMT
Hi,
it seem that the following PCI_ID is not included in
the module if_xl.c :
PCI_ID: 9202
Relative to: 3Com 3C920B-EMB-WNM Integrated Fast Ethernet Controller
Question :
Q1 : how to obtain a certified if_xl module with this PCI_ID ?
(if_xl.c have only the 9201 PCI_ID, could we use this one by
renaming it ?)
A compiled .ko version will be nice.
Thank,
--
Valéry Seys / Paris-France
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Config freebsd as getway

2004-08-18 Thread lily
Dear all:

I have install freebsd 4.x,and have two netcards.
I want it as getway.
I have config gateway_enable=YES   in rc.conf,and then reboot.
[a pc][freebsd]---[b pc]
After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and b pc can 
ping freebsd successful,why?
Please give me a hand.
Thanks!!

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


help !?!? portmap , what is it used for ?

2004-08-18 Thread Brent Bailey
Im running a freebsd 4.10 and the other morning i noticed this in my
ps -ax output.


13560  ??  Is 0:00.00 portmap 218.49.183.17


Now ive denied portmap from /etc/hosts.allow ...however accrding to the
above ps listing ...this IP managed to make a connection to portmap ..
what portmap used for ?? and does this mean the box has been compromised ?


thank you in advance for any help




-- 
Brent Bailey



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


help!?!? portmap , what is it used for ?

2004-08-18 Thread Brent Bailey
forgive me for posting this twice...i forgot what email address is allowd
on this list...anywho..

Im running a freebsd 4.10 and the other morning i noticed this in my
ps -ax output.


13560  ??  Is 0:00.00 portmap 218.49.183.17


Now ive denied portmap from /etc/hosts.allow ...however accrding to the
above ps listing ...this IP managed to make a connection to portmap ..
what portmap used for ?? and does this mean the box has been compromised ?


thank you in advance for any help




-- 
Brent Bailey

-- 
Brent Bailey CCNA
Bmyster LLC
Computer Networking and Webhosting
Network Engineer, Webmaster, President
http://www.bmyster.com
[EMAIL PROTECTED]
207-247-8330



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


Re: Config freebsd as getway

2004-08-18 Thread Rob G
Ok my setup is something a little different but still works on the same
premise

Internal Lan --- 10base Hub --- FBSD -- Internet

THe only thing that I have different is the 24 port hub inbetween my lan and
the FreeBSD box.

It's been awhile since it was configured but here is an excerpt from my
rc.conf file:

network devices=vr0 dc0 lc0
ifconfig_vr0=media10BaseT/UTP up (This is my internet connection)
ifconfig_dc0=***.***.***.*** 255.255.255.0 (Lan Card)
gateway_enable=yes

The ip for the internal LAN has been masked because they are routable IP's
and I am having problems with attacks on my network right now.

I am not sure you can do what you want to without a hub between a pc and b
pc as if my logic serves me correct both network cards would have to be set
as a gateway.

Hopefully this gets you pointed in the right direction.

Rob G
No Special Titles


- Original Message - 
From: lily [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 17, 2004 10:33 PM
Subject: Config freebsd as getway


Dear all:

I have install freebsd 4.x,and have two netcards.
I want it as getway.
I have config gateway_enable=YES   in rc.conf,and then reboot.
[a pc][freebsd]---[b pc]
After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and b
pc can ping freebsd successful,why?
Please give me a hand.
Thanks!!

LILY
___
[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: scrollback history buffer setting (was keyboard)

2004-08-18 Thread Louis LeBlanc
On 08/18/04 12:01 AM, Jay O'Brien sat at the `puter and typed:
 Jay O'Brien wrote:
 
  I can run kbdcontrol -h 500 or vidcontrol -h 500 to set the 
  scroll back keyboard history buffer to 500 lines for the 
  virtual terminal I'm using. How can I make that happen at 
  boot, in the same manner as I run allscreens_flags in 
  rc.conf to set other terminal parameters?  I don't need 
  this to set all of the virtual terminals; it would be 
  nice if each terminal could be set separately.
  
  It doesn't work for me when placed in rc.conf, with either 
  a direct command or attempting to use allscreens_flags.
  
  I'm using 4.10.
  
  Jay O'Brien
  Rio Linda, CA USA
 
 Follow-up:
 
 Re-reading the above could be interpreted that I want to be able 
 to review more keyboard lines; not so. I should not have used the 
 word keyboard. I'm looking for redisplay of the screen lines. 
 Both kbdcontrol and vidcontrol perform that function. I've built 
 a workaround by adding this to root and user .cshrc: 
  alias bu vidcontrol -h (with a space following). 
 This allows me to type 'bu 500' to set the buffer to 500 lines.
 
 In addition, I would like to be able to set it during boot. Is 
 that possible?

I might be misunderstanding you, but if you're talking about the
number of lines you want to be able to scroll up in an xterm, I use
the X resource in ~/.Xdefaults.  Not sure what vidcontrol has to do
with this, but the following in .Xdefaults does this for me:

xterm*saveLines:500

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

Tact, n.:
  The unsaid part of what you're thinking.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with getway

2004-08-18 Thread James A. Coulter
On Wed, Aug 18, 2004 at 03:36:31PM +0800, AETCH wrote:
 I have install freebsd 4.x,and have two netcards.
 I want it as getway.
 I have config gateway_enable=YES  in rc.conf,and then reboot.
 [a pc][freebsd]---[b pc]
 After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and
 b pc can ping freebsd successful,why?
 Please give me a hand.
 Thanks!!
  
 aetch

Have you built a kernel with IPFW enabled and have you enabled natd in
your rc.conf?

Both IPFW (or perhaps IPFILTER) must be enabled to allow packet 
forwarding.

Just setting gateway=yes in rc.conf isn't enough (I know - I made the same mistake)

You will have to enable natd and IPFW (or maybe IPFILTER) in rc.conf and
build a custom kernel with IPFW enabled.

Here's the lines I added to my kernel:

# IP Aliasing and Firewall options

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=10
options IPDIVERT

and here's what I put in my rc.conf:

gateway_enable=YES
natd_enable=YES
natd_interface=dc1
natd_flags=-dynamic

You will also need to enable the firewall in rc.conf - what follows
is for an entirely OPEN firewall, i.e. it allows anything and everything
through.  (But you must have the firewall enabled to use the IP forwarding
capabilities):

firewall_enable=YES
#firewall_type=OPEN
#firewall_script=/etc/openfirewall.rules

and the contents of /etc/openfirewall.rules:

/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via dc1
/sbin/ipfw add pass all from any to any

Chapter 8 of the handbook

(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html)

and Chapter 14, Section 8

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html

have most of the information you'll need.

In future posts, paste the contents of your rc.conf and any other files involved-

that will help the list answer your question more quickly.

HTH

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


Nightly cron message question

2004-08-18 Thread Jason Lieurance
Hello,

Late couple days on our Freebsd 4.7 email/web server I've got this message in the
nightly cron jobs:


Checking setuid files and devices:

Checking for uids of 0:
root 0
toor 0

I've searched and some said it had to do with an incomplete dmesg or something like
that. There are some errors:

 pid 82522 (libhttpd.ep), uid 65534: exited on signal 11
 pid 71857 (libhttpd.ep), uid 65534: exited on signal 11
 pid 71949 (libhttpd.ep), uid 65534: exited on signal 11

but I've had those before w/o the:

Checking for uids of 0:
root 0
toor 0

Any thoughts, thanks.


-- 
Jason


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


HP Netserver RAID Controller + FreeBSD 4.10 problem

2004-08-18 Thread Odhiambo Washington

Dear Ladies and Gentlemen,

I'd appreciate some help/clues on how to solve the following problem.

I have acquired some 3 old-ish HP Netserver LH4r. They come with
built-in RAID adapters.

I have installed FreeBSD (well, that is the only one I could anyway),
but I am hitting a snag: When I boot up the box, it refuses to automount
the root fs, then takes me to Manual Root File System specification option.

When I specify

ufs:/dev/amrd0s1a then the box boots. What I don't understand is why it
is refusing to obey the same thing in fstab..

My /etc/fstab contains the correct entries - /dev/amrd0s1{a|e|f} and I
have even compiled a kernel with support for amr.

I have three such boxes (God forbid if they all refuse to run FreeBSD).



Here is a dmesg output of what I am going through:




Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.10-STABLE #1: Wed Aug 18 09:00:05 EAT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV4.x
Timecounter i8254  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (500.03-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x672  Stepping = 2
  
Features=0x387fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
real memory  = 1073676288 (1048512K bytes)
avail memory = 1041215488 (1016812K bytes)
Preloaded elf kernel kernel at 0xc03a5000.
VESA: v2.0, 1024k memory, flags:0x0, mode table:0xc0337d42 (122)
VESA: Cirrus Logic GD-5446 VGA
netsmb_dev: loaded
Pentium Pro MTRR support enabled
Using $PIR table, 14 entries at 0xc00fdee0
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82454NX PXB#0, Bus#A on motherboard
pci0: PCI bus on pcib0
pcib1: PCI to PCI bridge (vendor=8086 device=0960) at device 2.0 on pci0
pci1: PCI bus on pcib1
xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xa000-0xa07f mem 0xe810-0xe810007f 
irq 11 at device 3.0 on pci1
xl0: Ethernet address: 00:50:da:39:d8:2f
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
amr0: LSILogic MegaRAID mem 0xf000-0xf7ff irq 10 at device 2.1 on pci0
amr0: Integrated HP NetRAID (T5) Firmware D.02.05, BIOS B.01.04, 16MB RAM
pcib2: DEC 21152 PCI-PCI bridge at device 3.0 on pci0
pci2: PCI bus on pcib2
xl1: 3Com 3c905-TX Fast Etherlink XL port 0xb000-0xb03f irq 12 at device 2.0 on pci2
xl1: Ethernet address: 00:a0:24:e1:77:34
miibus1: MII bus on xl1
nsphy0: DP83840 10/100 media interface on miibus1
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: unknown card (vendor=0x103c, dev=0x10c1) at 6.0
pci0: Cirrus Logic GD5446 SVGA controller at 8.0
isab0: Intel 82371AB PCI to ISA bridge at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0x9020-0x902f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 15.2
chip0: Intel 82371AB Power management controller port 0x1040-0x104f at device 15.3 
on pci0
pcib3: Intel 82454NX PCI Expander Bridge at device 18.0 on pci0
orm0: Option ROMs at iomem 0xc-0xc7fff,0xc8000-0xc87ff on isa0
pmtimer0 on isa0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, 
default to accept, logging limited to 100 packets/entry by default
ata0-slave: ATAPI identify retries exceeded
acd0: CDROM CD-532E-B at ata0-master PIO4
amrd0: LSILogic MegaRAID logical drive on amr0
amrd0: 17365MB (35563520 sectors) RAID 0 (optimal)
amrd1: LSILogic MegaRAID logical drive on amr0
amrd1: 34731MB (71129088 sectors) RAID 0 (optimal)

Manual root filesystem specification:
  fstype:device  Mount device using filesystem fstype
   eg. ufs:/dev/da0s1a
  ?  List valid disk boot devices
  empty line   Abort manual input

mountroot ufs:/dev/amrd0s1a
Mounting root from ufs:/dev/amrd0s1a




How do I get around this one

Thanks!!


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

Re: Nightly cron message question

2004-08-18 Thread Kevin D. Kinsey, DaleCo, S.P.
Jason Lieurance wrote:
Hello,
Late couple days on our Freebsd 4.7 email/web server I've got this message in the
nightly cron jobs:
Checking setuid files and devices:
Checking for uids of 0:
root 0
toor 0
 

You have this line:
   # 300.chkuid0
   daily_status_security_chkuid0_enable=YES
   set in /etc/defaults/periodic.conf under the
Security Options heading, most likely.  I was under
the impression that this was set by default, as that
is the name of the directory it's in.   I would be curious
as to why this wasn't happening before.
Check the dates on said file and directory.  Have
you recently run mergemaster, perhaps?

I've searched and some said it had to do with an incomplete dmesg or something like
that. There are some errors:
 

pid 82522 (libhttpd.ep), uid 65534: exited on signal 11
snip
Something dumped core or what not, then.
but I've had those before w/o the:
Checking for uids of 0:
snip
Any thoughts, thanks.

Like I said, completely normal, although why they weren't
coming in before I can't guess
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help !!!!!

2004-08-18 Thread Jerry McAllister
 
 hi,
 
 please be more specific when asking a question. Read 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/ 
 about how to ask question on this list.
 
 as a second note, read the User Account Management documentation 
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html).
 
  I installed FREEBSD 5.2.1. I can telnet to Free BSD box from Windows 2000
  client. I can telnet to it with my USERNAME and PASSWORD. Then I want to be
  root. So I issue SU - ( or SU - root).  then FreeBSD box asks me the
  password (root's password ).
  when I give root's password, FreeBSD box does not accept . Why ? Pls help me
  ...

You need to be in the wheel group to su to root.
You can add your id to group wheel either logged in as root or
in single user mode.
 
 it's a very bad idea to use telnet for obvious security reasons. Use 
 ssh. Please note that toor and root both have a password of their own 
 and you'll have to be in their group in order to su.

Although ssh is a better (more secure) way, it does not have anything
to do with the question and neither does this about root and toor.

The whole issue is being in the wheel group.

Neither root nor toor have a password unless you set one.
The install process asks to set a root password (which some
people skip) but never asks to set a toor password and so if
there is one, it is because the admin intentionally did it later.

jerry

 
 Cheers
 ___
 [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: help !!!!!

2004-08-18 Thread Kevin D. Kinsey, DaleCo, S.P.
indunil wrote:
Hi,
I installed FREEBSD 5.2.1. I can telnet to Free BSD box from Windows 2000
client. I can telnet to it with my USERNAME and PASSWORD. Then I want to be
root. So I issue SU - ( or SU - root).  then FreeBSD box asks me the
password (root's password ).
when I give root's password, FreeBSD box does not accept . Why ? Pls help me
...
 

a] you used the wrong password
b] your USERNAME is not a member of the WHEEL group
 (see /etc/group).
c] you mistyped root's password twice when setting it up?
d] something else is very wrong.
Hopefully, it's a] or b].
I assume that if you are using Telnet, you are doing so
from a trusted host on a private network, or have wrappers,
or some other wonderfuly security strategy?  Telnet sends
all information in readable (unencrypted) form, so your
passwords could rather easily be sniffed.  ssh(1) and
sshd(8) are a much better choice.
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with getway

2004-08-18 Thread Ruben de Groot
On Wed, Aug 18, 2004 at 08:37:34AM -0500, James A. Coulter typed:
 On Wed, Aug 18, 2004 at 03:36:31PM +0800, AETCH wrote:
  I have install freebsd 4.x,and have two netcards.
  I want it as getway.
  I have config gateway_enable=YES  in rc.conf,and then reboot.
  [a pc][freebsd]---[b pc]
  After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and
  b pc can ping freebsd successful,why?
  Please give me a hand.
  Thanks!!
   
  aetch
 
 Have you built a kernel with IPFW enabled and have you enabled natd in
 your rc.conf?

For what he wants to do (connecting two LANs via a FreeBSD gateway, you
don't need a firewall nor nat.
All you need to do is enable FreeBSD as a gateway, which he did, and tell
both pc's what gateway to use to reach the other LAN, eg. on a pc:

C:\ route add 192.168.1.0 mask 255.255.255.0 192.168.0.1

(that is, if a pc is windows, in network 192.168.0.x, b pc is in 
network 192.168.1.x and the gateway's IP address on the a pc side has
address 192.168.0.1)

cheers,
Ruben

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


Re: Nightly cron message question

2004-08-18 Thread James A. Coulter
On Wed, Aug 18, 2004 at 09:04:48AM -0500, Kevin D. Kinsey, DaleCo, S.P. wrote:
 Jason Lieurance wrote:
 
 Hello,
 
 Late couple days on our Freebsd 4.7 email/web server I've got this message 
 in the
 nightly cron jobs:
 
 
 Checking setuid files and devices:
 
 Checking for uids of 0:
 root 0
 toor 0
 
  
 
 
 You have this line:
 
 
# 300.chkuid0
daily_status_security_chkuid0_enable=YES
 
set in /etc/defaults/periodic.conf under the
 Security Options heading, most likely.  I was under
 the impression that this was set by default, as that
 is the name of the directory it's in.   I would be curious
 as to why this wasn't happening before.
 
 Check the dates on said file and directory.  Have
 you recently run mergemaster, perhaps?
 
 
 I've searched and some said it had to do with an incomplete dmesg or 
 something like
 that. There are some errors:
  
 
 pid 82522 (libhttpd.ep), uid 65534: exited on signal 11
 snip
 
 
 Something dumped core or what not, then.
 
 but I've had those before w/o the:
 
 Checking for uids of 0:
 snip
 Any thoughts, thanks.
 
 
 Like I said, completely normal, although why they weren't
 coming in before I can't guess
 
 Kevin Kinsey
 DaleCo, S.P.

FWIW, I also began seeing the same message in my daily cron output file
as well two days ago.

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


Re: help !!!!!

2004-08-18 Thread Ruben de Groot
On Wed, Aug 18, 2004 at 10:04:53AM -0400, Jerry McAllister typed:
  
  hi,
  
  please be more specific when asking a question. Read 
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/ 
  about how to ask question on this list.
  
  as a second note, read the User Account Management documentation 
  (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html).
  
   I installed FREEBSD 5.2.1. I can telnet to Free BSD box from Windows 2000
   client. I can telnet to it with my USERNAME and PASSWORD. Then I want to be
   root. So I issue SU - ( or SU - root).  then FreeBSD box asks me the
   password (root's password ).
   when I give root's password, FreeBSD box does not accept . Why ? Pls help me
   ...
 
 You need to be in the wheel group to su to root.

He is. Otherwise, he would not have gotten a password prompt:

[EMAIL PROTECTED] su -
su: Sorry
[EMAIL PROTECTED]

 You can add your id to group wheel either logged in as root or
 in single user mode.
  
  it's a very bad idea to use telnet for obvious security reasons. Use 
  ssh. Please note that toor and root both have a password of their own 
  and you'll have to be in their group in order to su.
 
 Although ssh is a better (more secure) way, it does not have anything
 to do with the question and neither does this about root and toor.
 
 The whole issue is being in the wheel group.

No, it is not. Either he forgot his root password or there's no password
at all (have you tried just hitting return when asked for root's password?)

In case of forgotten rootpassword, maybe this will help:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW

cheers,
Ruben

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


licensing

2004-08-18 Thread Chris Knipe
Quick question

I'm not sure about the license that FreeBSD falls under.  Are we allowed to modify 
code (specifically /sbin/natd) and resell it commercially as part of a product??

Secondly, natd runs via divert in usermode.  Is there something similar in kernel 
mode?  Kernelmode will obviously operate allot faster than usermode... 

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


Defining Make Variables from the Command Line

2004-08-18 Thread Martin McCormick
What is the correct command line syntax for defining a
variable to the Makefile?

The expect port will make either with or without X11 support.
I want it without X11 and there is an ifdefine WITHOUT_X11 test in the
Makefile.  My only problem is I remember that it can be done, but I
don't remember the exact syntax.  Sometimes, if you get those wrong,
make still works but you get the build you didn't want.   Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Division Network Operations Group
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Corrupted e-mails

2004-08-18 Thread Gary
On Wed, Aug 18, 2004 at 09:54:15AM +0100 or thereabouts, Jonathan Belson wrote:
 
 For the last few months, I've had a problem where a small number (less
 than ~1 in 1000) of e-mails get corrupted.  All I have in my Maildir
 is something like the following two lines:
 
 Here is my .qmail, which runs SpamAssassin on the incoming e-mail for
 this account:
 
 |/usr/local/bin/spamassassin | /usr/local/bin/maildir /home/jon/Maildir/
 #./Maildir/
 
 I'm inclined to blame SpamAssassin since I saw a similar problem when
 I had it misconfigured before - that was easy to track down since it
 wrote error messages in the system log left (missing p5 package).  This
 time there are no error messages, and the problem only occurs very
 occasionally.
 
 Has anyone else seen this before?  Any clues on what could be going
 wrong?  Disabling SpamAssassin would make e-mail unusable since I
 get hundreds of spam e-mails a day.

well, Jon, if you look above the # in a dot qmail file means to drop the
email and not deliver. 

also, you are running S/A as a very expensive daemon above, calling the
main S/A for each mail received... 

If you must do it this way, please see 

http://www.magma.com.ni/~jorge/spamassassin.html

I think a better way is to use the S/A client in a .qmail file, and have
the S/A daemon running... A very nice way to do this is at.

http://www.gbnet.net/~jrg/qmail/ifspamh/

You can put this in any or all .qmail- files you have, and this works
well. 
 

-- 
Gary


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


RE: Prelude-IDS questions

2004-08-18 Thread Pratt, Benjamin E.
Bob -

Thanks for the info about finding the php-frontend on their site.

Do you have any information about the database question I had??  Does
the referenced shell script, that I can't find, do anything other than
just creating the database and creating the users??  I'm really
wondering what tables need to be in the database for things to work.

Thanks,

Ben 

-Original Message-
From: Bob Tito [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 17, 2004 1:02 PM
To: Pratt, Benjamin E.
Cc: [EMAIL PROTECTED]
Subject: Re: Prelude-IDS questions

Pratt, Benjamin E. wrote:

 I've been wanting to get Prelude-IDS up and running for a while but
just
 haven't had/made the time to do so until now.  I was going through the
 documentation at http://www.prelude-ids.org/article.php3?id_article=6
 and they make a couple of references that I have some questions
about...
 
 1) They reference prelude-php-frontend but that doesn't exist in the
 ports tree anywhere.  I can't find the package on their page either.
 Does anyone have any experience with it??  If not I'll contact the
 Prelude-IDS developers to get more info. 

try looking for prelude PIWI, AFAIK that is the frontend...

Bob.

 
 2) They also reference a prelude-manager-db-create.sh script located
in
 the prelude-manager directory but I'm not seeing the script.  It looks
 like the only thing it does (according to the documentation) is create
a
 DB in mySQL, create a user and give the user permissions but I'm
 wondering if there is something else that is being done.
 
 I'd appreciate any help from anyone with experience out there.
 
 Also, the prelude-ids port is listed as maintained by
[EMAIL PROTECTED]
 and I was wondering what protocol is for contacting that address??  Do
I
 just e-mail the address or should I contact the list first??
 
 Thanks,
 
 Ben
 ___
 [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: Defining Make Variables from the Command Line

2004-08-18 Thread Emil A Eklund
Use the -D switch, for instance
make -DWITHOUT_X11 install clean

or set it to a specific value (which in effect will also define it)
make WITHOUT_X11=1 install clean


/Emil A Eklund ([EMAIL PROTECTED])


- Original Message - 
From: Martin McCormick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 17:18
Subject: Defining Make Variables from the Command Line


 What is the correct command line syntax for defining a
 variable to the Makefile?

 The expect port will make either with or without X11 support.
 I want it without X11 and there is an ifdefine WITHOUT_X11 test in the
 Makefile.  My only problem is I remember that it can be done, but I
 don't remember the exact syntax.  Sometimes, if you get those wrong,
 make still works but you get the build you didn't want.   Thank you.

 Martin McCormick WB5AGZ  Stillwater, OK
 OSU Information Technology Division Network Operations Group
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


How to get php4 extensions to show up?

2004-08-18 Thread Mike
Greetings,
I'm running 4.10. And I just and ran portupgrade and got php-4.3.8.  I 
read the UPDATING file and noticed that the php4 extensions are now 
installed separately [/usr/ports/lang/php4-extensions].

Note: I'm running Apache-1.3.31
So I installed (make install  make clean) the php4 extensions using 
the curses based screen.  Aside from MySQL support (a default) I choose 
bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support.

The install and registration seemed to work without any errors. And all 
possible php extensions are listed in /usr/local/etc/php/extensions.ini

However,
When I check php (phpinfo.php) with 
http://192.168.1.40/~test1/phpinfo.php;, I get this from the Configure 
Command portion of the resulting php output:

[Configure Command]
'./configure' '--enable-versioning' '--enable-memory-limit' 
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' 
'--disable-all' '--with-regex=php' '--disable-cli' 
'--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 
'i386-portbld-freebsd4.10'

Question: Where are the extensions I selected for installation???
I'm trying to install a CMS (MamboServer) and the CMS install routine 
reports that php DOES NOT have MySQL, zlib, or xml support.

I've had previous success installing this CMS using an older version of 
php4 that did not have the extensions installation seperate.

What am I missing?
Regards,
Michael Chinn

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


Re: Defining Make Variables from the Command Line

2004-08-18 Thread Martin McCormick
Thank you.  that is what I needed.

Martin McCormick

Emil A Eklund writes:
Use the -D switch, for instance
make -DWITHOUT_X11 install clean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xorg Install

2004-08-18 Thread Tyler Parrott
Hey all,

I'm currently trying to install X.Org onto my FreeBSD 4.10 machine but
am running into trouble.  I followed the instructions in 
/usr/ports/UPDATING but to no avail.

Basically, I deleted XFree and imake using pkg_deinstall -f XFree\* imake\* 

and then I go to /usr/ports/x11/xorg and type make install.  Instead
of installing, I get the following message:

=== xorg-6.7.0_1 is part of X.Org.  for switching to X.Org, read
UPDATING entry 20040723

If I try make install clean, I get a bunch of cleaning for messages.  

Xorg does not install/compile at all when I try make install.  If I
try to locate xorg, it only shows up in ports (i.e. xorgconfig, etc...
are not found by locate).  I was wondering if I was doing anything
wrong?

Any advice would be greatly appreciated.

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


Re: How to get php4 extensions to show up?

2004-08-18 Thread Matthew Seaman
On Wed, Aug 18, 2004 at 08:46:58AM -0700, Mike wrote:

 I'm running 4.10. And I just and ran portupgrade and got php-4.3.8.  I 
 read the UPDATING file and noticed that the php4 extensions are now 
 installed separately [/usr/ports/lang/php4-extensions].
 
 Note: I'm running Apache-1.3.31
 
 So I installed (make install  make clean) the php4 extensions using 
 the curses based screen.  Aside from MySQL support (a default) I choose 
 bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support.
 
 The install and registration seemed to work without any errors. And all 
 possible php extensions are listed in /usr/local/etc/php/extensions.ini
 
 However,
 
 When I check php (phpinfo.php) with 
 http://192.168.1.40/~test1/phpinfo.php;, I get this from the Configure 
 Command portion of the resulting php output:
 
 [Configure Command]
 './configure' '--enable-versioning' '--enable-memory-limit' 
 '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' 
 '--disable-all' '--with-regex=php' '--disable-cli' 
 '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 
 'i386-portbld-freebsd4.10'
 
 Question: Where are the extensions I selected for installation???
 
 I'm trying to install a CMS (MamboServer) and the CMS install routine 
 reports that php DOES NOT have MySQL, zlib, or xml support.
 
 I've had previous success installing this CMS using an older version of 
 php4 that did not have the extensions installation seperate.
 
 What am I missing?

Check your /usr/local/etc/php.ini file and make sure that the
'extension_dir' property is commented out:

; Directory in which the loadable extensions (modules) reside.
; extension_dir = ./

If you're running using mod_php4, make sure to restart apache so that
changes to php.ini are picked up.

That will let PHP use the correct, compiled in value (which should be
/usr/local/lib/php/20020429 for PHP4, or /usr/local/lib/php/20040412
for PHP5) All of your extensions should be visible in that directory
as dynamically loadable .so shared objects.

Cheers,

Matthew

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


pgpYDTirkAoFk.pgp
Description: PGP signature


Re: How to get php4 extensions to show up?

2004-08-18 Thread Mike
Odhiambo Washington wrote:
* Mike [EMAIL PROTECTED] [20040818 18:47]: wrote:
Greetings,
I'm running 4.10. And I just and ran portupgrade and got php-4.3.8.  I 
read the UPDATING file and noticed that the php4 extensions are now 
installed separately [/usr/ports/lang/php4-extensions].

Note: I'm running Apache-1.3.31
So I installed (make install  make clean) the php4 extensions using 
the curses based screen.  Aside from MySQL support (a default) I choose 
bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support.

The install and registration seemed to work without any errors. And all 
possible php extensions are listed in /usr/local/etc/php/extensions.ini

However,
When I check php (phpinfo.php) with 
http://192.168.1.40/~test1/phpinfo.php;, I get this from the Configure 
Command portion of the resulting php output:

[Configure Command]
'./configure' '--enable-versioning' '--enable-memory-limit' 
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' 
'--disable-all' '--with-regex=php' '--disable-cli' 
'--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 
'i386-portbld-freebsd4.10'

Question: Where are the extensions I selected for installation???
I'm trying to install a CMS (MamboServer) and the CMS install routine 
reports that php DOES NOT have MySQL, zlib, or xml support.

I've had previous success installing this CMS using an older version of 
php4 that did not have the extensions installation seperate.

What am I missing?

In my /usr/local/etc/php.ini, I added
include_path = .:/usr/local/lib/php:/usr/local/lib/php/20020429
Try that and test again!
Hmm..  I tried adding the include_path ... AND I tried modifying the 
extension_dir (Dan's idea).  But no go.  The extension are still not 
showing up.

Any further ideas?
Michael

-Wash
http://www.netmeister.org/news/learn2quote.html
--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
What if everything is an illusion and nothing exists?  In that case, I
definitely overpaid for my carpet.
-- Woody Allen, Without Feathers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Prelude-IDS questions

2004-08-18 Thread Bob Tito
Pratt, Benjamin E. wrote:
Bob -
Thanks for the info about finding the php-frontend on their site.
Do you have any information about the database question I had??  
Nope, sorry, not from memory, i remember not having a lot of problems 
setting it up, but i removed it a couple of monts ago, so i can't have a 
look for you.

AFAIK i used the install docs from /usr/local/share/doc/prelude-* and 
the additional readme/install from the piwi tar..
Go over these (perhaps modified for the ports) docs and put the howto 
aside for a moment.

(sounds like sending you into the woods, but howto's are great, but not 
always in sync with the current versions of the sw)

Good luck, Bob
Does
the referenced shell script, that I can't find, do anything other than
just creating the database and creating the users??  I'm really
wondering what tables need to be in the database for things to work.
Thanks,
Ben 

-Original Message-
From: Bob Tito [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 17, 2004 1:02 PM
To: Pratt, Benjamin E.
Cc: [EMAIL PROTECTED]
Subject: Re: Prelude-IDS questions

Pratt, Benjamin E. wrote:

I've been wanting to get Prelude-IDS up and running for a while but
just
haven't had/made the time to do so until now.  I was going through the
documentation at http://www.prelude-ids.org/article.php3?id_article=6
and they make a couple of references that I have some questions
about...
1) They reference prelude-php-frontend but that doesn't exist in the
ports tree anywhere.  I can't find the package on their page either.
Does anyone have any experience with it??  If not I'll contact the
Prelude-IDS developers to get more info. 

try looking for prelude PIWI, AFAIK that is the frontend...
Bob.

2) They also reference a prelude-manager-db-create.sh script located
in
the prelude-manager directory but I'm not seeing the script.  It looks
like the only thing it does (according to the documentation) is create
a
DB in mySQL, create a user and give the user permissions but I'm
wondering if there is something else that is being done.
I'd appreciate any help from anyone with experience out there.
Also, the prelude-ids port is listed as maintained by
[EMAIL PROTECTED]
and I was wondering what protocol is for contacting that address??  Do
I
just e-mail the address or should I contact the list first??
Thanks,
Ben
___
[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]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Install

2004-08-18 Thread Matthew Seaman
On Wed, Aug 18, 2004 at 12:05:09PM -0400, Tyler Parrott wrote:
 Hey all,
 
 I'm currently trying to install X.Org onto my FreeBSD 4.10 machine but
 am running into trouble.  I followed the instructions in 
 /usr/ports/UPDATING but to no avail.
 
 Basically, I deleted XFree and imake using pkg_deinstall -f XFree\* imake\* 
 
 and then I go to /usr/ports/x11/xorg and type make install.  Instead
 of installing, I get the following message:
 
 === xorg-6.7.0_1 is part of X.Org.  for switching to X.Org, read
 UPDATING entry 20040723
 
 If I try make install clean, I get a bunch of cleaning for messages.  
 
 Xorg does not install/compile at all when I try make install.  If I
 try to locate xorg, it only shows up in ports (i.e. xorgconfig, etc...
 are not found by locate).  I was wondering if I was doing anything
 wrong?
 
 Any advice would be greatly appreciated.

Put:

X_WINDOW_SYSTEM=xorg

into /etc/make.conf and try again.  FreeBSD 4.X defaults to using
XFree86-4, and you have to tell it you specifically want the X.Org
stuff. (5.x defaults to X.org -- mutatis mutandis).

Cheers,

Matthew

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


pgpTUi5GkweE8.pgp
Description: PGP signature


RE: Config freebsd as getway

2004-08-18 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of lily
Sent: Tuesday, August 17, 2004 9:34 PM
To: [EMAIL PROTECTED]
Subject: Config freebsd as getway

Dear all:

I have install freebsd 4.x,and have two netcards.
I want it as getway.
I have config gateway_enable=YES   in rc.conf,and then reboot.
[a pc][freebsd]---[b pc]
After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and b
pc can ping freebsd successful,why?
Please give me a hand.
Thanks!!

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



LILY,

There is a very easy guide:
http://bsdguides.org/guides/freebsd/networking/ipfilter.php



Andras Kende
http://www.kende.com



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


Re: Xorg Install

2004-08-18 Thread R. W.
On Wednesday 18 August 2004 17:05, Tyler Parrott wrote:
 Hey all,

 I'm currently trying to install X.Org onto my FreeBSD 4.10 machine
 but am running into trouble.  I followed the instructions in
 /usr/ports/UPDATING but to no avail.

 Basically, I deleted XFree and imake using pkg_deinstall -f XFree\*
 imake\*

 and then I go to /usr/ports/x11/xorg and type make install.  Instead
 of installing, I get the following message:

 === xorg-6.7.0_1 is part of X.Org.  for switching to X.Org, read
 UPDATING entry 20040723


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


Re: How to get php4 extensions to show up?

2004-08-18 Thread Mike
Matthew Seaman wrote:
On Wed, Aug 18, 2004 at 08:46:58AM -0700, Mike wrote:

I'm running 4.10. And I just and ran portupgrade and got php-4.3.8.  I 
read the UPDATING file and noticed that the php4 extensions are now 
installed separately [/usr/ports/lang/php4-extensions].

Note: I'm running Apache-1.3.31
So I installed (make install  make clean) the php4 extensions using 
the curses based screen.  Aside from MySQL support (a default) I choose 
bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support.

The install and registration seemed to work without any errors. And all 
possible php extensions are listed in /usr/local/etc/php/extensions.ini

However,
When I check php (phpinfo.php) with 
http://192.168.1.40/~test1/phpinfo.php;, I get this from the Configure 
Command portion of the resulting php output:

[Configure Command]
'./configure' '--enable-versioning' '--enable-memory-limit' 
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' 
'--disable-all' '--with-regex=php' '--disable-cli' 
'--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 
'i386-portbld-freebsd4.10'

Question: Where are the extensions I selected for installation???
I'm trying to install a CMS (MamboServer) and the CMS install routine 
reports that php DOES NOT have MySQL, zlib, or xml support.

I've had previous success installing this CMS using an older version of 
php4 that did not have the extensions installation seperate.

What am I missing?

Check your /usr/local/etc/php.ini file and make sure that the
'extension_dir' property is commented out:
; Directory in which the loadable extensions (modules) reside.
; extension_dir = ./
If you're running using mod_php4, make sure to restart apache so that
changes to php.ini are picked up.
That will let PHP use the correct, compiled in value (which should be
/usr/local/lib/php/20020429 for PHP4, or /usr/local/lib/php/20040412
for PHP5) All of your extensions should be visible in that directory
as dynamically loadable .so shared objects.
Cheers,
	Matthew
Matthew,
BINGO! That did it.  Thank you.
I THOUGHT I had read the UPDATING file pertaining to PHP but I missed 
the sentence on commenting out the extension_dir [sigh].

Michael

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


Re: PROCFS

2004-08-18 Thread Garance A Drosihn
At 10:08 PM -0700 8/17/04, Kris Kennaway wrote:
On Tue, Aug 17, 2004 at 09:14:06PM -0700, Dennis George wrote:
 Hi all,
  Can I disable PROCFS (through kernel configuration[sysctl/GENERIC] )
   in freeBSD
Yes.  It's clear from the GENERIC config how to do this
(remove the entry)).
Is there also some entry needed in /etc/fstab?  I do PROCFS
and PSEUDOFS, but I do not have a proc filesystem.  If the
filesystem is not mounted, is there any risk from it?
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN over IPSEC

2004-08-18 Thread Fernando Gleiser
On Wed, 18 Aug 2004, Atanas Davarsky wrote:

 Hi, i am Bulgaria from. I use FreeBsd about 2 years, and i am very
 impressed.
 After read in detail VPN over IPSEC from handbook, I can't find a solution
 how to run VPN server if the remote clients are with dynamic ip adresses.
 Thank you

You need to cheat a bit. I solved it using PPTP for the tunnel and
then using an IPSec Policy for GRE. This way PPTP handles the
tunneling and IPSec the privacy/integrity check.

Look here for the details:

http://www.sigsegv.cx/FreeBSD-WIN2K-IPSEC-HOWTO.html


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


RE: Intel PRO/1000 and Intel 865 PE, FreeBSD 5.2.1

2004-08-18 Thread Andras Kende

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ighor
Sent: Wednesday, August 18, 2004 4:18 AM
To: [EMAIL PROTECTED]
Subject: Intel PRO/1000 and Intel 865 PE, FreeBSD 5.2.1

Good day!

Sorry about my stupid questions, but i can't resolve my problem by
myself. I've read a lot of pages and FAQs but can't do this:

I have Intel PRO/1000 Network Card on Albatron motherb PX865PE ProII
oard with Inter 82865PE chipset.

After boot network card doesn't work. I think it's something with
interrupts. It only works when I disable ACPI in device.hints. The the
card uses IRQ18 and all is ok.

I've shitched resources in BIOS in thousands combinations - it's all
the same.

I need ACPI for HT pseudo-dual processing.

There are two logs attached - with ACPI and without

Thank you if you can help me.

-- 
With Best regards/wishes
 Ighor

 mailto:[EMAIL PROTECTED]
 ICQ 65975280, phone +7-916-7219187



Hello Ighor,

I had an Intel 865PERL Board + P4 3.0 800 HTT CPU
5.2.1 always crashed because some ACPI compatibility problem...

I upgraded to a 5.2 Current which solved the ACPI issues.

Replaced that board to a ASUS p4c800-e deluxe which never had any problem
since..

Try firmware upgrade on the motherboard or try test with Current



Best regards,

Andras Kende
http://www.kende.com






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


php postgres issues

2004-08-18 Thread Rail mail
I am having issues with getting postgress extensions for php4

do you have to configure it via ports/compiling or can you get away
with with just pkg_dd -r

Iv'e tried

pkg_add -r apache
pkg_add -r mod_php4

and the ports way

cd /usr/ports/www/mod_php4
make
cd work/php-4.3.8
./configure --with-pgsql
cd ../../
make install

and variations of that
I also thought that I might have wanted something from
lang/php4-extensions
make config
//choose pgsql
make install

I havn't seemed to have any luck

the ol sys admin already set up httpd.conf

I was mucking around with php.ini trying to get it to use pgsql.so

what is the best direction to take
I'd like to stick to packages or ports 
I found tutorials on how to do it with rpms or tar.gz and do it by
hand, but freebsd has set up a nice system with ports and packages and
I would like to stick to that if I can

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


sasl plain login ath failure

2004-08-18 Thread RYAN vAN GINNEKEN
I am using postfix version 2.0.0.18 with tls and sasl2 on freebsd stable
4.9 using  cyrus-sasl/saslauthd version 2.1.1.19  have configured the my
/user/local/lib/sasl2 dir to contain only
Sendmail.conf   liblogin.so libplain.a  libplain.so.2
liblogin.a  liblogin.so.2   libplain.so smptd.conf
and my smtpd.conf file has this configuration
# This sets smtpd to authenticate using the saslauthd daemon.
pwcheck_method:saslauthd
# This allows only plain and login as the authentication mechanisms.
mech_list: plain login
Seems simple enough however when i try to logon to my SMTP server i get
the following errors.
Aug 17 17:07:07 v22 postfix/smtpd[2643]: warning:
unknown[209.115.173.22]: SASL PLAIN authentication failed
Aug 17 17:07:08 v22 postfix/smtpd[2643]: warning:
unknown[209.115.173.22]: SASL LOGIN authentication failed
when i test the server with telnet i get this
EHLO computerking.ca
250-mail1.computerking.ca
250-PIPELINING
250-SIZE 1024
250-VRFY
250-ETRN
250-STARTTLS
250-XVERP
250 8BITMIME
there is know output about this must be my problem
250-AUTH LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5
250-AUTH=LOGIN PLAIN OTP DIGEST-MD5 CRAM-MD5
Is there a log i can check for sasl errors somewhere or do i need to
change my permissions on the passwd file any help would be appreciated.
Here is a posconf -n output if that helps anyone help me thank you in
advance.
v22.computerking.ca  /usr/local/lib/sasl2 $postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
home_mailbox = IMAPdir/INBOX/
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain = computerking.ca
myhostname = mail1.computerking.ca
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination, shoemasters.computerking.ca, highcoup.ca
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_loglevel = 2
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_mx_backup
permit_sasl_authenticated,permit_mynetworks,
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mx_backup
permit_sasl_authenticated,permit_mynetworks,
reject_unauth_destination
smtpd_tls_CAfile = /usr/local/sslcerts/cacert.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /usr/local/sslcerts/certs/mail-cert.pem
smtpd_tls_key_file = /usr/local/sslcerts/certs/mail-key.pem
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = no
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450
virtual_alias_domains = sculpturaldesign.ca
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual

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


Removing the ports dir to start all over

2004-08-18 Thread Joshua Lewis
I ran a cvsup this morning and now when running a make index I get several
errors. I also am getting several errors when running a make search
key=mono |more

I figured I would just clean out the ports dir and start over. However I
don't want to go though and remove everyfile and ever dirrectory from the
ports tree. And the man for rmdir only has a -p switch.



Thank you,
Joshua Lewis

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


FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Terry
I'm planning on making two partions for data found on /usr:

/usr2   which holds ports, src, and obj; and
/usrwhich holds everything else.

the /usr2 directories would be symlinked to /usr.

The reason I want to do this is because I have a different backup strategy
for the contents of /usr vs. /usr2.  (I.e., if there's a disk failure, I
can get up-and-running fast without restoring (a recent) /usr2, and can
fully rebuild /usr2 with cvsup + make).

One directory I wasn't sure about was /usr/src.  How important is it to
back up?  The only crucial thing in /usr/src that comes to mind is my
kernel conf (in /usr/src/sys/i386/conf/).  I'm planning on either keeping
that directory on /usr or scripting it to be copied periodically so that
it's regularly backed up.

Is there anything else in /usr/src I should concern myself with?  (I
recall having had to download custom source patches for certain
semi-supported devices, and sometimes these would be good to back up more
frequently.  However, a cvsup of /usr/src would stomp over those
customizations anyway (or might render them unneeded), so I think those
should be backed up in a different manner than via a dump of /usr/src. 
Does that make sense?)


Does this stretegy sound at all intelligent?  Is there anything else I
should consider?


Notes:
- my /home is on its own partition (not on /usr) for its own backup schedule
- I'm using dump/restore for backups
- This is a FreeBSD 5.2.1 system
- I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane? 
(I'm making /usr2 larger than I initially planned, but having recently
built /usr/ports/java/jdk14 which requires 1.7G of working space alone,
this size seems reasonable.)
- For now, these partitions will be on the same physical ATA drive.
- This machine will be a general-purpose server (mail, web, samba, shell,
etc.) -- i.e., not an X workstation


I know partitioning schemes have been covered many times over and that the
ideal setup depends on individual needs.  However, my searches haven't
revealed any specific information for my objectives, so hopefully this
question isn't redundant.


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


Re: Removing the ports dir to start all over

2004-08-18 Thread Louis LeBlanc
On 08/18/04 10:22 AM, Joshua Lewis sat at the `puter and typed:
 I ran a cvsup this morning and now when running a make index I get several
 errors. I also am getting several errors when running a make search
 key=mono |more
 
 I figured I would just clean out the ports dir and start over. However I
 don't want to go though and remove everyfile and ever dirrectory from the
 ports tree. And the man for rmdir only has a -p switch.

Not sure what the question is, but I gather you're looking for the
remove recursive?

Be careful with this one:
rm -rf whatever

Just don't use '*' for whatever.  If you inadvertently use that from
the wrong place, you'll loose a lot more than you bargained for.

Before you do that though, just go to the ports directory and type:
make fetchindex
which will go get an updated INDEX file.

I also seem to remember there is a problem rebuilding the index when
you have ports subdirectories in the refuse file.  I had a similar
problem in 5.2.1, but I don't remember ever rebuilding the index in
4.10.

HTH

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

Mencken and Nathan's Second Law of The Average American:
  All the postmasters in small towns read all the postcards.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't detect COM ports...

2004-08-18 Thread Ajesh John
Hi,

I'm sorry. I forgot to include this. I have an internal modem. And I'm
using FreeBSD 5.1.
There are only 2 cuaa devices in the /dev directory(cuaa1 and cuaa2).

Are my ports detected correctly or is it my modem that is not detected?, 

- Ajesh


On Sun, 15 Aug 2004 16:15:02 +0300, Ajesh John [EMAIL PROTECTED]
said:
 Hi,
   I have got a problem with my HS56 PCTel modem because I can not enable
   my serial ports. The first two ports are automatically enabled, but
   the third and the fourth does not get enabled. I read the handbook and
   tried to do it myself, but without success. I have connected the modem
   to the COM3 port(sio2). When I take the output of dmesg command I
   get the following output 
 
 sio2: configured irq 5 not in bitmap of probed irqs 0
 sio2: port may not be enabled
 sio3: configured irq 9 not in bitmap of probed irqs 0
 sio3: port may not be enabled
 
 The irqs and are as follows
 sio0  4
 sio1  3
 sio2  5
 sio3  9  
 
 I have also removed the lines that disable COM3 and COM4 ports from the
 file /boot/device.hints. Can anyone please tell me what should I do
 now?
 
   Ajesh John
 ___
 [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]


cvsup install

2004-08-18 Thread Curtis Vaughan
Made a big mistake today.  I was reading in a book that I needed to 
install cvsup for doing updates.  Good.  So, I started installing it.  
Meanwhile I began perusing the FreeBSD website information about cvsup 
and there I read, if you not using a gui, then don't install cvsup, but 
cvsup-without-gui.  So, is there a way to back out the cvsup which I 
did do as it apparently has installed a lot of stuff I don't need on 
this server.
Or do I have to just uninstall all those packages individually?  Is 
there a way then to identify which packages were installed by 
installing cvsup?

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


Backup to USB HD--mounting, dumping, unmounting?

2004-08-18 Thread Matt Staroscik
My FreeBSD server is on a mirrored pair of 160GB drives. I have been doing 
partial backups by simply copying data and important config files to CD-RW, 
but I wanted a way to back up the complete filesystem too, so I could 
restore in case of disaster.

To that end I purchased a hard disk in an external USB 2.0 case, and I plan 
to do weekly backups to it. However, I have never had to mess with disk 
management beyond simply installing the OS, so I am not sure how to mount 
the new drive, much less dump the entire live filesystem to it. (Is dump 
even the right command? Would dd be more appropriate?)

Can anyone point me to a relevant tutorial, or provide a command summary? 
(FYI, the motherboard is an ECS L7VTA, and a USB mouse works, so I assumed 
I would be able to get a USB hard drive working too... I also have an empty 
removable hard drive rack, but it is not hot swappable, hence my desire to 
use USB.)

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


Re: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Vince Hoffman


On Wed, 18 Aug 2004, Terry wrote:

 I'm planning on making two partions for data found on /usr:

 /usr2   which holds ports, src, and obj; and
 /usrwhich holds everything else.

 the /usr2 directories would be symlinked to /usr.

 The reason I want to do this is because I have a different backup strategy
 for the contents of /usr vs. /usr2.  (I.e., if there's a disk failure, I
 can get up-and-running fast without restoring (a recent) /usr2, and can
 fully rebuild /usr2 with cvsup + make).

 One directory I wasn't sure about was /usr/src.  How important is it to
 back up?  The only crucial thing in /usr/src that comes to mind is my
 kernel conf (in /usr/src/sys/i386/conf/).  I'm planning on either keeping
 that directory on /usr or scripting it to be copied periodically so that
 it's regularly backed up.

 Is there anything else in /usr/src I should concern myself with?  (I
 recall having had to download custom source patches for certain
 semi-supported devices, and sometimes these would be good to back up more
 frequently.  However, a cvsup of /usr/src would stomp over those
 customizations anyway (or might render them unneeded), so I think those
 should be backed up in a different manner than via a dump of /usr/src.
 Does that make sense?)

Other than what you have already mentioned then no not realy. By the way
I (and i think it suggests in the handbook to) keep my kernel config in a
subdirectory of my home directory and just symlink it to
/usr/src/i386/conf as i have been know to blow away the entire /usr/src
directory occasionaly.



 Does this stretegy sound at all intelligent?  Is there anything else I
 should consider?


 Notes:
 - my /home is on its own partition (not on /usr) for its own backup schedule
 - I'm using dump/restore for backups
 - This is a FreeBSD 5.2.1 system
 - I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane?
 (I'm making /usr2 larger than I initially planned, but having recently
 built /usr/ports/java/jdk14 which requires 1.7G of working space alone,
 this size seems reasonable.)
 - For now, these partitions will be on the same physical ATA drive.
 - This machine will be a general-purpose server (mail, web, samba, shell,
 etc.) -- i.e., not an X workstation


 I know partitioning schemes have been covered many times over and that the
 ideal setup depends on individual needs.  However, my searches haven't
 revealed any specific information for my objectives, so hopefully this
 question isn't redundant.


 --
 terry
 ___
 [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: cvsup install

2004-08-18 Thread Henrik W Lund
Curtis Vaughan wrote:
Made a big mistake today.  I was reading in a book that I needed to 
install cvsup for doing updates.  Good.  So, I started installing it.  
Meanwhile I began perusing the FreeBSD website information about cvsup 
and there I read, if you not using a gui, then don't install cvsup, 
but cvsup-without-gui.  So, is there a way to back out the cvsup which 
I did do as it apparently has installed a lot of stuff I don't need on 
this server.
Or do I have to just uninstall all those packages individually?  Is 
there a way then to identify which packages were installed by 
installing cvsup?

Curtis
Greetings!
I'd say your best bet is to install sysutils/portupgrade and use the 
pkg_deinstall command with the -R flag. I.e.:

`pkg_deinstall -R cvsup'
If you absolutely do not want any more riffraff on your box, then you 
must examine the output of

`pkg_info -r cvsup'
and pkg_delete each of the packages listed manually, then delete cvsup. 
If pkg_delete fails on any one of the packages in the list, recurse 
through its dependencies until it can be deleted, then proceed to the 
next package in the list, etc... Just be careful when traversing the 
dependencies. Sooner or later you might deinstall something you really 
want to keep, so keep your eyes open. Not all packages that cvsup 
depends on is required only by cvsup, and some of them were probably 
already installed when you installed cvsup. Like I said, your best bet 
is to go with the sysutils/portupgrade method.

Hope this helps!
-Henrik W Lund
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: cvsup install

2004-08-18 Thread mark rowlands
man pkg_delete 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Curtis Vaughan
Sent: Wednesday, August 18, 2004 7:51 PM
To: [EMAIL PROTECTED]
Subject: cvsup install

Made a big mistake today.  I was reading in a book that I needed to 
install cvsup for doing updates.  Good.  So, I started installing it.  
Meanwhile I began perusing the FreeBSD website information about cvsup 
and there I read, if you not using a gui, then don't install cvsup, but 
cvsup-without-gui.  So, is there a way to back out the cvsup which I 
did do as it apparently has installed a lot of stuff I don't need on 
this server.
Or do I have to just uninstall all those packages individually?  Is 
there a way then to identify which packages were installed by 
installing cvsup?

Curtis

___
[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: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Vince Hoffman


On Wed, 18 Aug 2004, Vince Hoffman wrote:



 On Wed, 18 Aug 2004, Terry wrote:

  I'm planning on making two partions for data found on /usr:
 
  /usr2   which holds ports, src, and obj; and
  /usrwhich holds everything else.
 
  the /usr2 directories would be symlinked to /usr.
 
  The reason I want to do this is because I have a different backup strategy
  for the contents of /usr vs. /usr2.  (I.e., if there's a disk failure, I
  can get up-and-running fast without restoring (a recent) /usr2, and can
  fully rebuild /usr2 with cvsup + make).
 
  One directory I wasn't sure about was /usr/src.  How important is it to
  back up?  The only crucial thing in /usr/src that comes to mind is my
  kernel conf (in /usr/src/sys/i386/conf/).  I'm planning on either keeping
  that directory on /usr or scripting it to be copied periodically so that
  it's regularly backed up.
 
  Is there anything else in /usr/src I should concern myself with?  (I
  recall having had to download custom source patches for certain
  semi-supported devices, and sometimes these would be good to back up more
  frequently.  However, a cvsup of /usr/src would stomp over those
  customizations anyway (or might render them unneeded), so I think those
  should be backed up in a different manner than via a dump of /usr/src.
  Does that make sense?)

 Other than what you have already mentioned then no not realy. By the way
 I (and i think it suggests in the handbook to) keep my kernel config in a
 subdirectory of my home directory and just symlink it to
 /usr/src/i386/conf as i have been know to blow away the entire /usr/src
 directory occasionaly.

Sorry tired and distracted, I meant yes it does make sense. (answered your
question as i had somehow rephrased it in my head)


 
 
  Does this stretegy sound at all intelligent?  Is there anything else I
  should consider?
 
 
  Notes:
  - my /home is on its own partition (not on /usr) for its own backup schedule
  - I'm using dump/restore for backups
  - This is a FreeBSD 5.2.1 system
  - I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane?
  (I'm making /usr2 larger than I initially planned, but having recently
  built /usr/ports/java/jdk14 which requires 1.7G of working space alone,
  this size seems reasonable.)
  - For now, these partitions will be on the same physical ATA drive.
  - This machine will be a general-purpose server (mail, web, samba, shell,
  etc.) -- i.e., not an X workstation
 
 
  I know partitioning schemes have been covered many times over and that the
  ideal setup depends on individual needs.  However, my searches haven't
  revealed any specific information for my objectives, so hopefully this
  question isn't redundant.
 
 
  --
  terry
  ___
  [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]

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


Problem

2004-08-18 Thread Jake Zhen
hi.
 after i installed freebsd, i never able to boot in the console/terminal. 
when my pc start to reboot, i see something like the following on my screen. 
the machine reboots until i press the shut down button.  Please help me out 
with this. thank you very much.
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic =00
fault virtual address = 0rd22e00a
fault code 	= supervisor read, page not present
instruction pointer  = 0x8:0xc057e0e0
stack pointer 		= 0x10:0xcd0cd794c
frame pointer		= 0x10:0xcdcd7b70
code segment		= base 0x0, limit 0xf, type 0xlb
			DPL 0, pres1 , def32 1, gran1
processor eflags	= Interrupt enabled, resume, IopL0
current process		= 42 (cbb2)
trap number 		= 12
panic: page fault
cpuid = 0
sysncing disks, buffers remaining
done
uptime: 1s
shutting down ACPI
AcP1_cpu0: perforamce states changed
AcP1_cpu0: perforamce states changed
Automatic reboot 15 second

jz
_
Check out Election 2004 for up-to-date election news, plus voter tools and 
more! http://special.msn.com/msn/election2004.armx

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


Courier-IMAP Version?

2004-08-18 Thread Matt LaPlante
I've been working on an old FreeBSD mail server that was configured by a
previous sysadmin.  I've attempted to update the Courier-IMAP software, but
I can't figure out how to verify the installation.  The system was very
poorly documented, and I want to be sure the server is actually running the
newest version.  It's happened to me once or twice before where software was
installed to an un-standard location, or binaries/configs weren't properly
updated, so the previous software was actually running instead of the new
software.  Unfortunately, I haven't found a way to determine the running
version of Courier-IMAP.  Most apps just have a command line -version option
or will tell you the version if you query them.  How can I make sure the
IMAP server that's running is the latest version?  Thanks.

 

-

Matt

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


Winter Sports Pavilion Selling Out at ATE San Francisco

2004-08-18 Thread cwayne
HTML Message - Winter Sports Pavilion Selling Out at ATE San Francisco
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php postgres issues

2004-08-18 Thread Jason Taylor
On Wed, 18 Aug 2004 12:45:03 -0400, Rail mail [EMAIL PROTECTED] wrote:
 I am having issues with getting postgress extensions for php4
 
 do you have to configure it via ports/compiling or can you get away
 with with just pkg_dd -r
 
 Iv'e tried
 
 pkg_add -r apache
 pkg_add -r mod_php4
 
 and the ports way
 
 cd /usr/ports/www/mod_php4
 make
 cd work/php-4.3.8
 ../configure --with-pgsql
 cd ../../
 make install
 
 and variations of that

Try:

cd /usr/ports/databases/php4-pgsql  make install

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


Re: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread jon
I'm planning on making two partions for data found on /usr:
Does this stretegy sound at all intelligent?

Yes, it sounds like a good plan for all the reasons you stated.

I'm planning on making /usr 4G, and /usr2 6G.  Does that sound sane?

I'm running 5.2.1 with X, apache, samba, and 162 ports installed and
df is reporting usage at 2.5 gig including the usr/src directory.  It
sounds like under your configuration a 4G /usr will result in a little
less than 50% usage, which is reasonable to allow growth although it
could be argued that /usr could be decreased a bit.  My current src
tree is weighing in at 375MB.  My ports directory is coming in at 351MB.
So 6G for the src disk sounds like a lot.  But disk space is cheap so
if you've got it, go for it.

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


Re: cvsup install

2004-08-18 Thread Matthew Seaman
On Wed, Aug 18, 2004 at 08:24:21PM -0700, Henrik W Lund wrote:
 Curtis Vaughan wrote:
 
 Made a big mistake today.  I was reading in a book that I needed to 
 install cvsup for doing updates.  Good.  So, I started installing it.  
 Meanwhile I began perusing the FreeBSD website information about cvsup 
 and there I read, if you not using a gui, then don't install cvsup, 
 but cvsup-without-gui.  So, is there a way to back out the cvsup which 
 I did do as it apparently has installed a lot of stuff I don't need on 
 this server.
 Or do I have to just uninstall all those packages individually?  Is 
 there a way then to identify which packages were installed by 
 installing cvsup?
 
 Curtis
 
 Greetings!
 
 I'd say your best bet is to install sysutils/portupgrade and use the 
 pkg_deinstall command with the -R flag. I.e.:
 
 `pkg_deinstall -R cvsup'
 
 If you absolutely do not want any more riffraff on your box, then you 
 must examine the output of
 
 `pkg_info -r cvsup'
 
 and pkg_delete each of the packages listed manually, then delete cvsup. 
 If pkg_delete fails on any one of the packages in the list, recurse 
 through its dependencies until it can be deleted, then proceed to the 
 next package in the list, etc... Just be careful when traversing the 
 dependencies. Sooner or later you might deinstall something you really 
 want to keep, so keep your eyes open. Not all packages that cvsup 
 depends on is required only by cvsup, and some of them were probably 
 already installed when you installed cvsup. Like I said, your best bet 
 is to go with the sysutils/portupgrade method.

This is generally sound advice, but unfortunately, and particularly in
the case of the cvsup ports, it pretty much misses the point.

cvsup depends on very few other ports, all of which are also commonly
dependencies of a large number of other ports:

% pkg_info -r cvsup\*
Information for cvsup-16.1h:

Depends on:
Dependency: pkgconfig-0.15.0_1
Dependency: imake-6.7.0_2
Dependency: freetype2-2.1.7_3
Dependency: expat-1.95.8
Dependency: fontconfig-2.2.3,1
Dependency: xorg-libraries-6.7.0_1

In fact, almost all those dependencies are inherited indirectly
through the xorg-libraries port.  The cvsup-without-gui package
doesn't have *any* dependencies.  Chances are the 'pkg_deinstall -R'
method suggested will only remove the cvsup or cvsup-without-gui port.

Of course, what I've been looking at here are *run time dependencies*.
If you install cvsup from a pkg, that's all you have to bother with.
However, if you install cvsup from source code there's a whole other
swathe of dependencies that haven't yet been considered.  Those are
the *build time dependencies*.  In cvsup's case, those are quite
heavy: it's necessary to install a complete Modula3 compilation tool
chain:

% cd /usr/ports/net/cvsup
% make -V BUILD_DEPENDS
/usr/local/lib/m3/pkg/formsvbt/FreeBSD4/libm3formsvbt.a:/usr/ports/lang/ezm3
The situation has improved over time, and all that's required nowadays
is the ezm3 port.  But that's a very large port, and it takes quite a
lot of effort to compile and install.

You don't need ezm3 for cvsup to work from day to day.  You do need it
anytime you want to compile an update to cvsup from source.  In
principal you can get round that by just using the pkg system to get
any updates, so long as you're willing to wait for a few weeks for the
updated packages to come out.  Personally I'd just leave ezm3 inplace
and compile cvsup updates from source.

As for whether the OP should install cvsup or cvsup-without-gui --
either will do just fine.  The advice to install the cvsup-without-gui
pkg seen in many places on the net is becuse it's a lot quicker to
install that dependency-less port than it is to install various X
libraries and other stuff.  Additionally I'd install cvsup-without-gui
if I was building a server machine *without* any X windows stuff on it
at all.  Otherwise, I'd just install the cvsup port.  Indeed, for a
brand-new install from scratch, I tend to install cvsup-without-gui
temporarily and then use it to pull down the latest system and ports
sources. After which that port will almost immediately be overwritten
with a freshly compiled copy of the cvsup port as part of the general
process of installing all of the extra ports I need.

Cheers,

Matthew


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


pgpker12cwlXg.pgp
Description: PGP signature


Server Cuts Out

2004-08-18 Thread Grant Cooper
I am having a problem connecting to my server. If I reboot it will work
externally for about 50 minutes. After that I can't connect. So I thought my
server turned off. Or my connection was closed. I was able to ping out so I
connected remotely and I couldn't ping the server. I shut down and it worked
remotely again for 50 minutes. I am sure it is my ISP removing me from the
routing table somehow or my DHCP client is not refreshing but I'm not sure.
Does anyone have any ideas what I should do? I have tested a 2 freebsd
servers with no luck. I also used http header query tools. From home I can
get a connection but when I go to work and try it , it doesn't work after 50
minutes.

Thanks in advance.

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


processor eflags = interrupt enabled,vm86

2004-08-18 Thread pete
Hi, I have a Gateway 920 server that I'm trying to load 4.10 on.  I'm
seeing an error that I've never come across before.  It looks like it
might in the processor flags, but I can't seem to find anyone with this
issue---except a few guys with the same model server.  No one seems to
have the answer to the problem---maybe maybe most people wouldn't buy a
Gateway 920 to put BSD on either...it's not my choice though.  

NOTE:  I've tried 3 different CD images, serveral boot floppies, even
some newer versions of 5.x, but they all get the same error.  I've even
tried it on several different 920s.  They all have the same problem.  
I've looked through LINT and I can't find a reference to vm86.  It looks
like it's a cpu flag, but I don't see where to disable or change it.
Any clues what's causing this or how to fix it?

It happens right after the kernel get's loaded into memory.

Here it is:

Fatal trap 10: trace trap while in vm86 mode
instruction pointer =0xf000:0xf842
stack pointer   =0x0:0xff8
frame pointer   =0x0:0x0
code segment=base 0x0, limit 0x0, type 0x0
=DPL 0, pres 0, def32 0, gran 0
processor eflags=interrupt enabled,vm86, IOPL = 0
current process = Idle
interrupt mask  = net tty bio cam
trap number = 10
panic: trace trap
Uptime 0s

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


ntop problems with FreeBSD?

2004-08-18 Thread adp
Anyone get ntop totally working with FreeBSD 4.9? We can run it, but it's
flaky. On one FreeBSD box it runs fine for a while and then just dies. No
syslog messages. It's just gone. On another it won't display anything in the
Web interface (it opens new windows when clicking on some items), and it
also randomly crashes. We are using ipf on one system and ipfw on another.
All are dual-homed FreeBSD firewalls.

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


RE: ntop problems with FreeBSD?

2004-08-18 Thread [EMAIL PROTECTED]
I have this exact same problem with one of my boxes.  Even completely
removing the app, getting a new current port skeleton and reinstalling --
still the same behavior.

Anybody got a solution?

Original Message:
-
From: adp [EMAIL PROTECTED]
Date: Wed, 18 Aug 2004 15:29:53 -0500
To: [EMAIL PROTECTED]
Subject: ntop problems with FreeBSD?


Anyone get ntop totally working with FreeBSD 4.9? We can run it, but it's
flaky. On one FreeBSD box it runs fine for a while and then just dies. No
syslog messages. It's just gone. On another it won't display anything in the
Web interface (it opens new windows when clicking on some items), and it
also randomly crashes. We are using ipf on one system and ipfw on another.
All are dual-homed FreeBSD firewalls.

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


mail2web - Check your email from the web at
http://mail2web.com/ .


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


Re: Server Cuts Out

2004-08-18 Thread Charles Swiger
On Aug 18, 2004, at 4:37 PM, Grant Cooper wrote:
I am sure it is my ISP removing me from the routing table somehow or 
my DHCP client is not refreshing but I'm not sure.  Does anyone have 
any ideas what I should do?
You should be sure of what you're sure of.  :-)
You haven't said anything about what your network connectivity looks 
like, such as whether you have static IPs.  Without more information, I 
would suggest talking to your ISP and have them look into the problem: 
after all, you are paying for their connectivity and tech support, 
right?

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


Re: FreeBSD 5.x /usr Partitioning advice

2004-08-18 Thread Charles Ulrich

Vince Hoffman said:
 Other than what you have already mentioned then no not realy. By the way
 I (and i think it suggests in the handbook to) keep my kernel config in a
 subdirectory of my home directory and just symlink it to
 /usr/src/i386/conf as i have been know to blow away the entire /usr/src
 directory occasionaly.

That is a great idea, of course, until you accidently blow away your home
directory like I did recently. :P There are two files now that I always keep
squirreled away somewhere safe: XF86Config the the kernel config.

I'm thinking of putting my configuration files (and perhaps home directory)
into subversion at some point in the distant future for additional protection
and safe-keeping.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


What is portmapper (I MUST have portmapper running to use pcnfsd)

2004-08-18 Thread Paredes =?unknown?q?S=E1nchez_Mart=EDn_A=2E?=

Hi :

I am trying to replace a sparcstation which has solaris 2.5, we use it
to boot some diskless pc's into MS-DOS 6.22 and mount a file system in
the disk C: of the pc with PC/TCP 4.1.

The boot process I had figured out, but the connection of the drive C:
to the file system is given me problems.

The problem I think is that I don't have running something called
portmapper.

Since I am not subscribed to the list, please send me a copy of your
answer.

Let me explain why I think that, I decide that I have to use tcpdump
to see what is happening.

The diskless is booting with the ip 10.115.44.50

# tcpdump -n ip host 10.115.44.50
tcpdump: listening on xl0
03:44:04.337343 10.115.44.50.603  10.115.44.245.111: udp 56
03:44:04.337379 10.115.44.245  10.115.44.50: icmp: 10.115.44.245 udp
port 111 unreachable
03:44:04.340453 10.115.44.50.604  10.115.44.245.111: udp 56
03:44:04.340465 10.115.44.245  10.115.44.50: icmp: 10.115.44.245 udp
port 111 unreachable

So, mi diskless is trying to connect to the port 111/udp, and my
services files says:

sunrpc  111/tcprpcbind  #SUN Remote Procedure Call
sunrpc  111/udprpcbind  #SUN Remote Procedure Call

And the inetd.conf does not have nothing called sunrpc or rpcbind,
but has the nexts lines:

**
#
# RPC based services (you MUST have portmapper running to use these)
#
#rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd
rpc.rstatd
#rusersd/1-2dgram rpc/udp wait root /usr/libexec/rpc.rusersd
rpc.rusersd
#walld/1dgram rpc/udp wait root /usr/libexec/rpc.rwalld
rpc.rwalld
#pcnfsd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.pcnfsd
rpc.pcnfsd
#rquotad/1  dgram rpc/udp wait root /usr/libexec/rpc.rquotad
rpc.rquotad
#sprayd/1   dgram rpc/udp wait root /usr/libexec/rpc.sprayd
rpc.sprayd
**

What is the portmapper and how can I run it?, Do I have to uncomment the
pcnfsd line?.

I notice that the program rpc.pcnfsd is the only rpc program that is not
installed

# ll /usr/libexec/rpc.*
-r-xr-xr-x  1 root  wheel  7068 May 25 14:28 /usr/libexec/rpc.rquotad
-r-xr-xr-x  1 root  wheel  9380 May 25 14:28 /usr/libexec/rpc.rstatd
-r-xr-xr-x  1 root  wheel  6808 May 25 14:28 /usr/libexec/rpc.rusersd
-r-xr-xr-x  1 root  wheel  6176 May 25 14:28 /usr/libexec/rpc.rwalld
-r-xr-xr-x  1 root  wheel  4628 May 25 14:28 /usr/libexec/rpc.sprayd

So, I instaled.

# cd /cdrom/packages/All
# pkg_add pcnfsd-93.02.16.tgz
# pkg_info|grep pcnfsd
pcnfsd-93.02.16 Sun PC NFS authentication and printing server

# pkg_info -L pcnfsd-93.02.16
Information for pcnfsd-93.02.16:
/usr/local/libexec/rpc.pcnfsd
/usr/local/man/man8/pcnfsd.8.gz

I notice that pcnfsd has installed in /usr/local/libexec/, which is
diferent
to /usr/libexec/, Do I need to modify inetd.conf?

When I check the man page for inetd.conf I found this about RPC-based
services
that I belive they are TCP-MUX services.

**
 To specify an ONC RPC-based service, the entry would contain these
 fields:

   service name/version
   socket type
   rpc/protocol
   user[:group][/login-class]
   server program
   server program arguments

 There are two types of services that inetd can start: standard and
TCP-
 MUX.  A standard service has a well-known port assigned to it; it
may be
 a service that implements an official Internet standard or is a
 BSD-specific service.  As described in RFC 1078, TCPMUX services
are non-
 standard services that do not have a well-known port assigned to
them.
 They are invoked from inetd when a program connects to the
``tcpmux''
 well-known port and specifies the service name.  This feature is
useful
 for adding locally-developed servers.  TCPMUX requests are only
accepted
 when the multiplexor service itself is enabled, above and beyond
and spe-
 cific TCPMUX-based servers; see the discussion of internal services
 below.
**

TIA
maps






***
Contrata Prodigy Infinitum y navega a Infinitum de velocidad sin ocupar tu teléfono. 
Además, llévate 1 mes de renta Gratis y Prodigy Móvil, 
para que navegues en sitios públicos sin cables. ¿Qué esperas? Conéctate  al 01 800 
123  o ven a tu Tienda Telmex. Precio más I.V.A.
http://www.hits.telmex.com/app/ad_Mgr/ad_mgrN.jsp?ad=166

Prodigy Infinitum la conexión más rápida

[EMAIL PROTECTED] a telmex.com  http://www.telmex.com


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

using cvsup

2004-08-18 Thread Curtis Vaughan
I'm a little confused about using cvsup.  I'm referring to 2 resources 
(The Complete FreeBSD - 4th edition, and www,freebsd.org manual for 
cvsup).  BTW, I currently have FreeBSD 4.8 installed.

Ok, so, I know I need to edit a supfile and I have found all the 
examples. But it seems to me that it is advisable to put my own edited 
supfile in a particular directory.  What is the best or more common 
practice?
Maybe in the base directory: i.e.,  /usr/local/etc/cvsup/ ?

Note that I will not be using the gui.  I have not installed X windows 
(XFree86) as this is to be a server and I no intention of using any gui 
interface.

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


RE: Courier-IMAP Version?

2004-08-18 Thread Matt LaPlante
 -Original Message-
 From: John Cholewa [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 18, 2004 4:39 PM
 To: Matt LaPlante
 Subject: Re: Courier-IMAP Version?
 
 Matt LaPlante wrote:
 
 I've been working on an old FreeBSD mail server that was configured by a
 previous sysadmin.  I've attempted to update the Courier-IMAP software,
 but
 I can't figure out how to verify the installation.  The system was very
 poorly documented, and I want to be sure the server is actually running
 the
 newest version.  It's happened to me once or twice before where software
 was
 installed to an un-standard location, or binaries/configs weren't
 properly
 updated, so the previous software was actually running instead of the new
 software.  Unfortunately, I haven't found a way to determine the running
 version of Courier-IMAP.  Most apps just have a command line -version
 option
 or will tell you the version if you query them.  How can I make sure the
 IMAP server that's running is the latest version?  Thanks.
 
 
 See if imapd --version helps you. It works on mine (I'm apparently
 using version 3.0.2).
 
 --
   -JC
   http://www.jc-news.com/coding/freedom/
   http://www.jc-news.com/parse.cgi?coding/main
 
 
 
As a matter of fact, it did.  I could swear it didn't work last time I tried
it...

It's not in the man page though, which I KNOW I checked before I wasted your
time.  Thanks. :)

-
Matt


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


Re: How to get php4 extensions to show up?

2004-08-18 Thread Paul Schmehl
--On Wednesday, August 18, 2004 08:46:58 AM -0700 Mike 
[EMAIL PROTECTED] wrote:

Greetings,
I'm running 4.10. And I just and ran portupgrade and got php-4.3.8.  I
read the UPDATING file and noticed that the php4 extensions are now
installed separately [/usr/ports/lang/php4-extensions].
Did you comment out the extensions_dir parameter in php.ini?
Note: I'm running Apache-1.3.31
So I installed (make install  make clean) the php4 extensions using the
curses based screen.  Aside from MySQL support (a default) I choose bz2,
gettext, IMAP, calendar, ftp, zlib, xml, and imagick support.
The install and registration seemed to work without any errors. And all
possible php extensions are listed in /usr/local/etc/php/extensions.ini
OK.  Sounds good.
However,
When I check php (phpinfo.php) with
http://192.168.1.40/~test1/phpinfo.php;, I get this from the Configure
Command portion of the resulting php output:
[Configure Command]
'./configure' '--enable-versioning' '--enable-memory-limit'
'--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php'
'--disable-all' '--with-regex=php' '--disable-cli'
'--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local'
'i386-portbld-freebsd4.10'
Question: Where are the extensions I selected for installation???
I'm trying to install a CMS (MamboServer) and the CMS install routine
reports that php DOES NOT have MySQL, zlib, or xml support.
I've had previous success installing this CMS using an older version of
php4 that did not have the extensions installation seperate.
What am I missing?
What I mentioned above?  Make sure you've commented out the extensions_dir 
parameter in php.ini.

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


Re: keyboard history buffer setting

2004-08-18 Thread Jay O'Brien
Jan Christian Meyer wrote:

 If you still need to do shell stuff on startup, slapping
 together a script and putting it in rc.d is the way to go.
 The man pages of rc explain the works, and include a
 template script which you can copy and fill in.

Wow! There's a lot there, in man rc. I'll play with that. 

Is there a way to force the startup files to be re-read 
without completely rebooting the system? That would help 
while I'm learning.

Thank you!

Jay 

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


Re: Removing the ports dir to start all over

2004-08-18 Thread Björn Lindström
Louis LeBlanc [EMAIL PROTECTED] writes:

 Be careful with this one:
 rm -rf whatever

Actually, _not_ getting into the habit of always using -f with -r is a
good plan.

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


Setting up a jail's IP address?

2004-08-18 Thread Luke
I'm attempting to set up my first jail.  This box acts as a firewall for 
my network.  It contains two network cards - one points to my internal 
network and the other to the outside world.
I want to run SSH in a jail to allow SSH access from the outside world to 
a controlled environment inside this box.

The first problem I'm having is that according to every jail tutorial I've 
seen so far, I'm supposed to bind the IP address of the jail to a NIC. 
Well... both of my NICs already have IP addresses bound to them, so 
ifconfig always fails with ioctl (SIOCAIFADDR): File exists.

The second problem is that I'm not entirely sure which network card I 
would bind the jail to anyway.  The jail has to have an internal IP 
address, I assume, but it needs to talk to the outside world so my first 
instinct is to bind it to the network card that's hooked to the outside 
network.  That would mean binding two addresses that aren't even on the 
same network to one card, and that sounds like it might be problematic.

Can someone clear this up for me?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What mouse? (was: Samsung Cordless Mouse)

2004-08-18 Thread Greg 'groggy' Lehey
On Tuesday, 17 August 2004 at 20:18:42 -0500, Sean Farley wrote:
 On Wed, 18 Aug 2004, Greg 'groggy' Lehey wrote:

 On Tuesday, 17 August 2004 at 11:13:17 -0500, Sean Farley wrote:
 On Tue, 17 Aug 2004, Greg 'groggy' Lehey wrote:

 This mouse has five buttons: the normal three on top, and one on
 each side.  I can't find a way to get the side buttons to work, and
 looking on the web hasn't shown anything of interest.

 I assume you mean in X as opposed to moused although moused appears
 to support at least five buttons according to its man page.

 No, this is with moused.  It still needs to initialize the mouse.

 Will you be using moused on the console? 

No.

 It is not needed to run X.

I know.  Without a reason to change, I won't.

 - Preferably cordless.  Cord mice tend to wander a little when you let
 go of them, and that's a real nuisance on a high-resolution display.

 Maybe you can find a cord-to-cordless converter--there is bound to be an
 engineer that has done this :)--if you find a mouse you like that just
 happens to have a tail.

That would defeat the purpose of it being cordless.

Greg
--
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpH1mTRD7omC.pgp
Description: PGP signature


Re: Setting up a jail's IP address?

2004-08-18 Thread Luke

The first problem I'm having is that according to every jail tutorial I've 
seen so far, I'm supposed to bind the IP address of the jail to a NIC. 
Well... both of my NICs already have IP addresses bound to them, so ifconfig 
always fails with ioctl (SIOCAIFADDR): File exists.
Okay, I figured this one out.  The jail was active at the time.  Once I 
shut down the jail I had no trouble binding it.

The second problem is that I'm not entirely sure which network card I would 
bind the jail to anyway.  The jail has to have an internal IP address, I 
assume, but it needs to talk to the outside world so my first instinct is to 
bind it to the network card that's hooked to the outside network.  That would 
mean binding two addresses that aren't even on the same network to one card, 
and that sounds like it might be problematic.
I'm still curious about which NIC is the proper one to bind the jail to. 
Does it matter?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD scanners

2004-08-18 Thread Greg 'groggy' Lehey
On Tuesday, 17 August 2004 at 15:23:41 +0200, Marc Fonvieille wrote:
 On Tue, Aug 17, 2004 at 03:32:37PM +0300, Anton Alin-Adrian wrote:
 Marc Fonvieille wrote:

 I found this CANON Scanner Canon Lide30 USB available to be bought

 It is supported under 4.10 and -CURRENT.  I use it :)  and I used it
 during the write of the Handbook's scanners section.

 Marc

 Ok can you please confirm to me again that this is the model you are using
 and that it is working smoothly?

 Thanks and appologises for this reply, but I am going to buy it right away
 if you answer me positively.


 I just pluged it on my -CURRENT laptop and did 2 scans :)
 I find it noisy like many USB scanners (I prefer my old SCSI Snapscan),
 but it remains a decent scanner.

 Here are some logs for this scanner:

 # dmesg | grep scanner
  kernel: uscanner0: Canon CanoScan, rev 1.10/1.00, addr
 # sane-find-scanner -q
 found USB scanner (vendor=0x04a9, product=0x220e) at /dev/uscanner0
 # scanimage -L
 device `plustek:/dev/uscanner0' is a Canon N1240U/LiDE30 USB flatbed scanner

Interesting.  I've just had a very bad experience with Canon's
scanners.  See
http://.lemis.com/grog/product-reviews/Canon-breakage.html for the
whole sad story.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpRzU70NcDME.pgp
Description: PGP signature


top for 4.10 jail - looking to work with a someone to make it work

2004-08-18 Thread george donnelly
hi

I need top for 4.10 jails to work, and i know a lot of other people
would like it.

So i am looking for someone who like to develop a new patch for it (if
it doesn't already exist?) and then keep the patch up to date. we're
willing to pay and would of course want to release it back to the
community.

thanks
--
george donnelly ~ http://www.zettai.net/ ~ Quality Zope Hosting
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top for 4.10 jail - looking to work with a someone to make it work

2004-08-18 Thread Garance A Drosihn
At 8:24 PM -0500 8/18/04, george donnelly wrote:
I need top for 4.10 jails to work, and i know a lot of other people
would like it.
So i am looking for someone who like to develop a new patch for
it (if it doesn't already exist?) and then keep the patch up to
date. we're willing to pay and would of course want to release
it back to the community.
Disclaimer: I have not worked with jails...
What does `top' do in jails right now?
What would you like it to do?  I assume you want people to
only see the processes in their own jail, and not other
the ones in other jails.
Does `ps' work in jails the way you would like it to work?
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: What mouse? (was: Samsung Cordless Mouse)

2004-08-18 Thread Darren Pilgrim
 From: Greg 'groggy' Lehey
 
 Can anybody recommend a good mouse?  My criteria are:
 
 - Middle button easy to use.  The current crop of mice has the middle
   button integrated with the roller, and that makes the middle button
   either heavy or easy to confuse with the roller.
 - Preferably cordless.  Cord mice tend to wander a little when you let
   go of them, and that's a real nuisance on a high-resolution display.

I have a Logitech MX700.  Very solid mouse, excellent performance and
rechargable battery life.  It can also run on standard alkalines (though
you can't charge them).  The mouse is heavier than most, but this seems
to help with making smooth movements.  The weight makes some of the more
fervid in-game mouse maneuvers a bit tiresome on the wrist, though.

It does integrate the middle button with the wheel.  But there is hope!
The force needed to press the wheel-button isn't much more than that of
the right and left buttons.  The return spring on the wheel housing can
be easily removed.  Doing so makes the return tension the same as the
left and right buttons without affecting the wheel's functionality.

It also has five additional buttons which are presented as separate
buttons (6 through 10, in xf86config).  They could be mapped to the
middle button if you don't want to do surgery on your mouse.

I've used the MX700 in 5.1 with XF86 4.3.x with great success.  The only
thing I couldn't get to work was the AppSwitch button, but I ended up
never needing to use it anyway.


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


CVSup install

2004-08-18 Thread Curtis Vaughan
Made a big mistake today.  I was reading in a book that I needed to 
install cvsup for doing updates.  Good.  So, I started installing it.  
Meanwhile I began perusing the FreeBSD website information about cvsup 
and there I read, if you not using a gui, then don't install cvsup, but 
cvsup-without-gui.  So, is there a way to back out the cvsup which I 
did do as it apparently has installed a lot of stuff I don't need on 
this server.

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


CVSup install

2004-08-18 Thread Curtis Vaughan
	
Made a big mistake today.  I was reading in a book that I needed to 
install cvsup for doing updates.  Good.  So, I started installing it.  
Meanwhile I began perusing the FreeBSD website information about cvsup 
and there I read, if you not using a gui, then don't install cvsup, but 
cvsup-without-gui.  So, is there a way to back out the cvsup which I 
did do as it apparently has installed a lot of stuff I don't need on 
this server.
Or do I have to just uninstall all those packages individually?  Is 
there a way then to identify which packages were installed by 
installing cvsup?

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


Re: top for 4.10 jail - looking to work with a someone to make it work

2004-08-18 Thread george donnelly
Garance A Drosihn [EMAIL PROTECTED] on 8/18/04 wrote:

I need top for 4.10 jails to work, and i know a lot of other people
would like it.

So i am looking for someone who like to develop a new patch for
it (if it doesn't already exist?) and then keep the patch up to
date. we're willing to pay and would of course want to release
it back to the community.

Disclaimer: I have not worked with jails...

What does `top' do in jails right now?

it throws an error about kvm_open (naturally). i have read that there
are other ways to get at the information...

What would you like it to do?  I assume you want people to
only see the processes in their own jail, and not other
the ones in other jails.

to work normally ;)

Does `ps' work in jails the way you would like it to work?

it works perfectly.
--
george donnelly ~ http://www.zettai.net/ ~ Quality Zope Hosting
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSup install

2004-08-18 Thread george donnelly
Curtis Vaughan [EMAIL PROTECTED] on 8/17/04 wrote:

Or do I have to just uninstall all those packages individually?  Is 
there a way then to identify which packages were installed by 
installing cvsup?

yes, that will work (pkg_delete)

to see dependancies

pkg_info -r subversion-1.0.6
Information for subversion-1.0.6:

Depends on:
Dependency: python-2.3.4_1
Dependency: perl-5.6.1_15
Dependency: expat-1.95.7
Dependency: libiconv-1.9.2_1
Dependency: neon-0.24.7
Dependency: db4-4.0.14_1,1
Dependency: apr-nothr-db4-0.9.4_9

or cd to the port directory and type make clean

hth
--
george donnelly ~ http://www.zettai.net/ ~ Quality Zope Hosting
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xtset or xtermset tricks?

2004-08-18 Thread Greg 'groggy' Lehey
On Tuesday, 17 August 2004 at 11:38:33 -0400, Duane Winner wrote:
 Hello,

 Hey, does anybody know of any useful tricks for automating xtset or
 xtermset?

 I use xtset to set the title and icon labels to [EMAIL PROTECTED]:path so I can
 keep track of my xterms littered all over my desktop (pretty frequent! :)

 But it sure would be nice to have them updated whenever I 'cd' to
 another directory or 'su' to another user or 'ssh' to another host!

 I'm sure there's got to be someway to make this a little more seamless
 then running # xtset [EMAIL PROTECTED]:`pwd` everytime, but I'm just not good enough
 with shell programming to know how to do this.

 The closest I came was writing a small bash script that does:

for filename in /dev/ttyp*; do
   /usr/local/bin/xtset [EMAIL PROTECTED]:`pwd`  $filename
done

Here's what I do (in .bashrc):

ssh ()
{
  xtset -t $*
  xtset -i [EMAIL PROTECTED]:%D
  command ssh $*
  xtset -t %u (%T) %h:%D
  xtset -i [EMAIL PROTECTED]:%D
}
cd ()
{
  command cd $*
  if [ $? = 0 ]; then
xtset -t %u (%T) %h:%D
xtset -i [EMAIL PROTECTED]:%D
true
  else
false
  fi
}

  xtset -t %u (%T) %h:%D
  xtset -i [EMAIL PROTECTED]:%D

The last two lines set the initial heading.

Note also that you can set headings from another window: xtset writes
to its stdout, so this will do what you expect:

  xtset Foo bah baz /dev/ttyp5

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpni255cb8jx.pgp
Description: PGP signature


Re: hard links for directories ?

2004-08-18 Thread David Kelly
On Aug 17, 2004, at 6:14 PM, Greg 'groggy' Lehey wrote:
Root is the only one allowed to make hard links to directories.
This is not correct.  root has no special powers here.
OK, I'm a bit out of date and stand corrected. IIRC fsck used link(2) 
to reconnect an inode as a directory sometimes. man 2 link says:

 The link() system call traditionally allows the super-user to link 
direc-
 tories which corrupts the file system coherency.  This implementation 
no
 longer permits it.
--
David Kelly N4HHE, [EMAIL PROTECTED]

Top posters will not be shown the honor of a reply.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.2.1 not resolving after kernel compiling

2004-08-18 Thread Jorge Mario G.
Hi there

My freebsd box was working fine (resolving)
then I recompiled the kerneld 
I just added scbus and da to get my digicam, working
then after reboot I can not resolv I think

when I try to cvsup it sits on PARSING FILE
I can not ssh to boxes in the LAN 
but I can ping then
I can not ping boxes outside the LAN from that box

I dont what can be the problem

I guess it`s the /etc/hosts file

the files looks like this:

::1   localhost localhost.sancocho.org
127.0.0.1 localhost localhost.sancocho.org
192.168.0.6  gato gato.sancocho.org

anyhelp would be apreciated it

=


_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top for 4.10 jail - looking to work with a someone to make it work

2004-08-18 Thread george donnelly
Glenn Dawson [EMAIL PROTECTED] on 8/18/04 wrote:

All you need to do to make it work is create /dev/kmem and /dev/mem 
inside 
the jail.  (note, you have to create them from the base system)

You'll find the correct mknod command to use for each in /dev/MAKEDEV

-Glenn

thanks, but wouldn't this be able to be abused ?
--
george donnelly ~ http://www.zettai.net/ ~ Quality Zope Hosting
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ ICQ: 51907738 ~ Sales (USA): 1-866-967-3669
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >