Re: Two DNS servers with one IP address

2003-06-27 Thread Michael W. Oliver
+--- On Thursday, June 26, 2003 13:20,
| Alfonso Romero proclaimed:
|
| Thanks for your reply. The reason I wanted to have two DNS servers is
| because I want to register several domains and don´t want to depend on an
| external DNS service, but I found out the two DNS servers required by
| Internic must be physically separated also, so I´ll have to ask someone
| else to host my secondary DNS server, or stick with the available DNS
| options. I just wondered if it could be possible to have two DNS servers
| inside a LAN, behind a FreeBSD box with NAT.
|
| Regards,
|
| Alfonso Romero

Alfonso,

If you are thinking of running named on serverA and serverB (both in RFC1918 
space), and have them both use one globally routable IP address, there is a 
way.  I did this for a while before getting external secondary services.  
Here is what I did:

1) go to http://www.bsdshell.net/hut_fvrrpd.html and read about the HUT 
project.  Very interesting.

2) cd /usr/ports/net/freevrrpd  make install distclean

3) read the configuration stuff for vrrpd (if you are like me, read twice), 
and configure the daemon on both servers.

Now, say serverA is 192.168.0.51, and serverB is 192.168.0.52, and your VRRP 
address will be 192.168.0.50.  Just make sure that your VRRP configuration 
is correct, but that isn't all.  When the VIP moves from the primary 
machine to the backup machine, named won't give a crap.  It won't listen on 
the new IP alias (in my case anyway, YMMV).  I created a script that 
triggers on a VRRP state change that would kill named and then restart it 
once the new IP alias was installed (my script also installed a (V)IPv6 
alias upon master election... not sure if that is important to you).  Of 
course, make sure that natd on your gateway is forwarding DNS stuff to 
192.168.0.50.

I work with cisco IOS constantly, and HSRP is easy to take for granted.  It 
is beyond cool to be able to do the same thing with the servers themselves.

Not saying that this is the best solution, but it worked for me.

-- 
+-+--+
|   Michael W. Oliver, CCNP   | The tree of liberty must be |
| IPv6  FreeBSD mark | refreshed from time to time  |
|   [EMAIL PROTECTED]| with the blood of patriots   |
|   http://michael.gargantuan.com/| and tyrants.|
|  ASpath-tree, Looking Glass, etc.   | - President Thomas Jefferson |
| +--+
|  gpg key - http://michael.gargantuan.com/gnupg/pubkey.asc  |
++



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


Re: Two DNS servers with one IP address

2003-06-27 Thread Jez Hancock
On Thu, Jun 26, 2003 at 12:20:30PM -0500, Alfonso Romero wrote:
 Thanks for your reply. The reason I wanted to have two DNS servers is
 because I want to register several domains and don?t want to depend on an
 external DNS service, but I found out the two DNS servers required by
 Internic must be physically separated also, so I?ll have to ask someone else
 to host my secondary DNS server, or stick with the available DNS options. I
 just wondered if it could be possible to have two DNS servers inside a LAN,
 behind a FreeBSD box with NAT.
This item on devshed is relevant to this thread:
http://forums.devshed.com/showthread.php?s=threadid=50100

Can anyone confirm that it's no longer a requisite to provide 2
distinct DNS servers for a domain you register?  I say no longer
because as I understand it there was a time when 2 distinct nameservers
were required...

Also, in the case an admin has only one auth nameserver for a domain but
a registrar _requires_ you list two, what is the best strategy for
listing the second nameserver? Is there any way to avoid using a third
party DNS provider as your secondary nameserver (providing some sort of
dummy listing)?

As mentioned above in thread there are no doubt many cases where all services are
hosted on one single IP address and so if the server goes down, losing
DNS is the least of your worries.  In this case wouldn't having a second
nameserver listed actually be a bad thing (since queries to that second NS waste
some (ok, minimal, but still some) bandwidth)?

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


Re: Online Content Management Tool - question

2003-06-27 Thread Jez Hancock
On Fri, Jun 27, 2003 at 07:06:45AM +0700, Roger Merritt wrote:
 Well, thanks for telling me. If I have time I'll take another look at it, 
 but I was frankly daunted by their website. I got the impression that zope 
 was primarily designed for weblogs and outside news feeds, and it seems to 
 be *big*. The intranet I'm trying to set up will have pretty static 
 content, but I want to use a content management system to make it easier 
 for the teachers to update their course outlines and homework assignments.
Quite coincidentally I came across something called 'blackboard' whilst
searching for a link to a CMS I had in mind for this thread.  You can
see it here:

http://products.blackboard.com/

Could be overkill, but it's aimed at learning systems - worth investigating 
perhaps.

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


information regarding managed colocation and managed firewall,managed backup services

2003-06-27 Thread Sumit Barat
 
Sir,

  I being a student of management have been assigned with the reseach forMANAGED 
COLOCATION , MANAGED FIREWALLS ,MANAGED BACKUP software.as a leading organization  
your company have been dealing with this product,I would be highly oblige if u could 
give or assist by giving information on 

1.the product

2.competitor

3.target market

4.service in related area 

5.pricing policy

6.partner sales model if any.

7.market share ,growth,size etc.

I would be oblige to receive a positive response.

 

 

Thanking you,

 

Regards

 

Sandeep das

[EMAIL PROTECTED]  

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


How do i uninstall Jdk1.3 or any jdk version fron freebsd .

2003-06-27 Thread Shrikant Mhatre


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


Re: vmstat question

2003-06-27 Thread David Rio
On Thu, Jun 26, 2003 at 02:26:30PM -0400, Jason Lieurance wrote:
 Hello,
 
 I have FreeBSD 4.7 on a P3 933mhz, 18 GB U320 HD, Adaptec 29160
 controller, and 512 MB DDR ram. When I ran vmstat -w 3 the b under
 processes shows a constant 10 forever. Is this a concern or is it nothing?
 Our system is a DNS, web, and email server. Thanks.
 

Well, it means that 10 process are blocked for resources (see vmstat(8)).
That is not a good thing.
What are you running on this server-machine?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm on bootup

2003-06-27 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, 27. June 2003 05:40, Chris wrote:
 Hiya -

   What file might I modify to enable kdm to start on bootup? And what might
 that line look like.

The file you have to change is /etc/ttys

The corresponding entry in my /etc/ttys looks like this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with the 
path to kdm plus options you want to give.

Hope it helps,

Kind regards,

Benjamin

- -- 
Der Hoffnung beraubt sein,
 heißt noch nicht - verzweifeln.
(Albert Camus)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE++/3doYumWdMvhMQRAicGAJ4qf/nm5MFd/R1Iv8oKrSIn1umZxwCfbre8
+k1ofKlKwDoWbK61+U1leYc=
=iUnk
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


virus found in sent message Re: Application

2003-06-27 Thread System Anti-Virus Administrator

Attention: [EMAIL PROTECTED]


A virus was found in an Email message you sent. 
This Email scanner intercepted it and stopped the entire message
reaching its destination. 

The virus was reported to be: 

 W32/[EMAIL PROTECTED]


Please update your virus scanner or contact your IT support 
personnel as soon as possible as you have a virus on your system.


Your message was sent with the following envelope:

MAIL FROM: [EMAIL PROTECTED]
RCPT TO:   [EMAIL PROTECTED] 

... and with the following headers:

---
MAILFROM: [EMAIL PROTECTED]
Received: from unknown (HELO WORTHOPE) ([218.244.230.3])
  (envelope-sender [EMAIL PROTECTED])
  by mail-001-imc1-0.imcinternet.com (qmail-ldap-1.03) with SMTP
  for [EMAIL PROTECTED]; 27 Jun 2003 06:21:07 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Application
Date: Fri, 27 Jun 2003 14:29:46 +0800
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=CSmtpMsgPart123X456_000_0043069E


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


virus found in sent message Re: Movie

2003-06-27 Thread System Anti-Virus Administrator

Attention: [EMAIL PROTECTED]


A virus was found in an Email message you sent. 
This Email scanner intercepted it and stopped the entire message
reaching its destination. 

The virus was reported to be: 

 W32/[EMAIL PROTECTED]


Please update your virus scanner or contact your IT support 
personnel as soon as possible as you have a virus on your system.


Your message was sent with the following envelope:

MAIL FROM: [EMAIL PROTECTED]
RCPT TO:   [EMAIL PROTECTED] 

... and with the following headers:

---
MAILFROM: [EMAIL PROTECTED]
Received: from unknown (HELO WORTHOPE) ([218.244.230.3])
  (envelope-sender [EMAIL PROTECTED])
  by mail-001-imc1-0.imcinternet.com (qmail-ldap-1.03) with SMTP
  for [EMAIL PROTECTED]; 27 Jun 2003 06:21:18 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Movie
Date: Fri, 27 Jun 2003 14:29:56 +0800
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=CSmtpMsgPart123X456_000_00432FF7


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


Promise FastTrak TX2000 Raid card

2003-06-27 Thread Johan Paul
Hi all,

I have this question about the FastTrak TX2000 and other RAID cards as 
well. I looked up from FreeBSD home page that the card i supported which 
is great. But I haven't used hardware RAID1 before and I was thinking if 
there are any specific things I have to keep in mind when installing 
FreeBSD on hardware RAID1, in this case with the card in the subject? How 
does FreeBSD see the drives for example?  

And if I have to (hopefully not! :)) recover from a disk failure do I have 
to do anything else than replace the failed IDE drive and power up the 
machine and everything should work as normally on the RAID1? And RAID1 on 
the other drive should be rebuild automagically in the background by the 
card? This is what I am looking for :-)


Regards,

Johan Paul

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


cvsup tag for 4.8-STABLE?

2003-06-27 Thread Christoph Kukulies

I wanted to cvsup src-all from 4.8-STABLE and tried with
*default release=cvs  tag=RELENG_4

Is this correct?

The cvsup went fine but building the src tree resulted in
errors.

First I got some from some multiply defined typedef (first make world).
Then I did a 'make includes' FWIW, and the subsequent make world then gave
a different error:

In file included from 
/usr/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/terminal.c:35:
/usr/include/termcap.h:42: ncurses_dll.h: No such file or directory
mkdep: compile failed
*** Error code 1


I could have a tainted installation with traces from 5.0R but I thought
that a cvsup would wipe them out in /usr/src and /usr/include as well.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

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


Re: freebsd + win98 in separate disks

2003-06-27 Thread Jud
On Fri, 27 Jun 2003 08:41:38 +0300, Ramunas M. [EMAIL PROTECTED] wrote:

hello,
maybe someone had this problem and can help me.
I installed freebsd 5.0 with boot manager in to ad1. ad1 is slave hdd. 
Ad0
is master hdd (with win98). When I rebooted freebsd, win98 booted, 
because
of ad0 is a first boot device, from which pc boots. In bios settings I
changed boot order, ad1 with freebsd became first boot hdd. So pc starts 
to
boot from ad1, boot manager shows menu: F1 Freebsd
F2 Freebsd
F5 Drive 1
If I choose F5 (I want to load win98), and then boot manager shows: 
Error
loading operating system. Setup cannot continue. If I choose F1 - boots 
freebsd (it is ok if I want to load freebsd).
Maybe is the only one way: every time I need to change hdd boot order 
from
pc bios? :((

Ramunas
You should probably be installing 4.8.  Version 4.x is the stable version 
of the operating system at this point.

Whether you install 4.8 or 5.0, what you want to do is install FreeBSD's 
bootloader on *both* drives.

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


nano / nanorc

2003-06-27 Thread Sten Daniel Sørsdal
FreeBSD 4.8
 
Im trying to customize nanorc but i cant seem to either get the syntax activated or 
the colors to work (hard to tell).
Does anyone know what the requirements are for using color? 
Oh, im doing this remotely via ssh using securecrt. Nano v 1.2.1 built from ports.
 
- Sten
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dual boot, java

2003-06-27 Thread Olivier DAVY
Olivier DAVY
FreeBSD Fan ;)
Hi,

I am very fond of FreeBSD since I tried it on a single little hard drive 
(*1).

However, I cannot delete my Linux for FreeBSD on my dual boot Pc 
(Win...ws + Linux) since I do not know the following things, t hat are 
essential for me to well manage my PC :
1. when installing FreeBSD on a partition on the same disk as Windows, 
what kind of boot manager should I use.
During the install, the boot manager choosing screen suggest to install 
nothing. But how to boot on BSD ?
So I tried to install BSD with Linux and Windows, and use Lilo to boot 
BSD. Well, it works, but I am not satisfied, since Linux is still 
necessary to boot. What option should I choose ? How should I partition 
my disk to have this dual boot.
What kind of bootmanager should I use ? Does Windows XP (or 2000) could 
boot FreeBSD (hum ?) ?
2. On my standalone disk (cf. (*1)), I use the default bootloader of 
FreeBSD.
But I can not delete if from my HD, whereas I can delete lilo by 
executing fdisk /MBR ? So what is the issue ? Is the BSD boot loader not 
in the Master Boot Record ? How can i delete it, to delete all FreeBSD 
from my disk (just in case...) ?
3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X ?
4. Is Java now well supported (I tried once to install it, but it did 
not work since I did not found the right version of the JDK to port). I 
'd like to install a true J2EE plateform on BSD !

Thank you for your attention,

I am waiting for your reply,

Olivier



--
--
 Olivier DAVY
 ENSIMAG engineer - HEC alumnus
 E-mail : [EMAIL PROTECTED]
 Phone  : +33/(0)1.42.67.19.85
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: got load 1 but no CPU state is showing?

2003-06-27 Thread Stijn Hoop
On Mon, Jun 16, 2003 at 12:34:29PM -0500, Michael D Hughes wrote:
 What does systat -vm show?

OK, it happened again, so I tried your suggestion. Guess what, it waits
5 seconds then prints this:

The alternate system clock has died!
Reverting to ``pigs'' display.

I don't know what the 'alternate system clock' is supposed to be but my
guess is the CMOS battery ran out or something like that. I'm going to
check that at the next available opportunity.

Thanks for your suggestion!

--Stijn

-- 
Tact, n.:
The unsaid part of what you're thinking.


pgp0.pgp
Description: PGP signature


Re: Slow machine - I need FreeBSD

2003-06-27 Thread Alex de Kruijff
On Fri, Jun 27, 2003 at 09:38:52AM +0400, Alex Zivenko wrote:
 Thank's very much, but where can i get FreeBSD ver.4.0 or later?

You can download FreeBSD 4.7 and higher from the ftp site. 
(ftp.freebsd.org/pub/FreeBSD and then ISO or something)
There are archives held of the earlier version but i don't know 
where these are.

Alex
P.S. Please don't top post and cut you text.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm on bootup

2003-06-27 Thread Chris
On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
 On Friday, 27. June 2003 05:40, Chris wrote:
  Hiya -
 
  What file might I modify to enable kdm to start on bootup? And what
  might that line look like.

 The file you have to change is /etc/ttys

 The corresponding entry in my /etc/ttys looks like this:

 ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

 So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
 the path to kdm plus options you want to give.

Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just 
using tty8, I add that to 1 - 7 perhaps?


 Hope it helps,

 Kind regards,

 Benjamin

-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


realtek 8139

2003-06-27 Thread Florin Betivoiu
Hello,
I have FreeBSD 4.8 Release. At one time I pulled out the network cable 
and I got this message:
 
rl0: reset never completed
 
The system was doing something, not much, like pinging, I don't recall 
exactly. After that, at the first boot, in dmesg I found this:

rl0: chip is is in D3 power mode -- setting to D0
 
Just that dmesg, no others, and with 'is' twice :). Now every ping I do, 
results in:
 
sendto: host is down
 
and it isn't. On the same sistem resides a windows which is not 
bothered by anything. What is wrong? What did I do? How can I undo it?
Point me to the path of my salvation, please :) Thank you.



-
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


realtek 8139

2003-06-27 Thread Florin Betivoiu
Hello,
I have FreeBSD 4.8 Release. At one time I pulled out the network cable 
and I got this message:
 
rl0: reset never completed
 
The system was doing something, not much, like pinging, I don't recall 
exactly. After that, at the first boot, in dmesg I found this:

rl0: chip is is in D3 power mode -- setting to D0
 
Just that dmesg, no others, and with 'is' twice :). Now every ping I do, 
results in:
 
sendto: host is down
 
and it isn't. On the same sistem resides a windows which is not 
bothered by anything. What is wrong? What did I do? How can I undo it?
Point me to the path of my salvation, please :) Thank you.




-
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


vmstat question

2003-06-27 Thread Jason Lieurance
Hello,

I have FreeBSD 4.7 on a P3 933mhz, 18 GB U320 HD, Adaptec 29160
controller, and 512 MB DDR ram. When I ran vmstat -w 3 the b under
processes shows a constant 10 forever and now today it's up to 12. Is this
a concern or is it nothing? Our system is a DNS, web, and email server.
Thanks.


-- 
Jason



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


RE: libpcap install problem.

2003-06-27 Thread David Markle
Same error from /usr/sec/lib/libpcap  ...

# pwd
/usr/src/lib/libpcap
# make obj ; make ; make install
cc -O -pipe -mcpu=pentiumpro -DHAVE_CONFIG_H -Dyylval=pcap_lval -I/usr/src/l
ib/libpcap -I. -DINET6 -I/usr/src/lib/libpcap/../../contrib/libpcap  -c
/usr/src/lib/libpcap/../../contrib/libpcap/pcap-bpf.c -o pcap-bpf.o
/usr/src/contrib/libpcap/pcap-bpf.c: In function `pcap_open_live':
/usr/src/contrib/libpcap/pcap-bpf.c:207: storage size of `bdl' isn't known
/usr/src/contrib/libpcap/pcap-bpf.c:334: `BIOCGDLTLIST' undeclared (first
use in this function)
/usr/src/contrib/libpcap/pcap-bpf.c:334: (Each undeclared identifier is
reported only once
/usr/src/contrib/libpcap/pcap-bpf.c:334: for each function it appears in.)
/usr/src/contrib/libpcap/pcap-bpf.c: In function `pcap_set_datalink':
/usr/src/contrib/libpcap/pcap-bpf.c:487: `BIOCSDLT' undeclared (first use in
this function)
*** Error code 1

Stop in /usr/src/lib/libpcap.
install -C -o root -g wheel -m 444   libpcap.a /usr/lib
install: libpcap.a: No such file or directory
*** Error code 71

Stop in /usr/src/lib/libpcap.

-Original Message-
From: Dan Nelson [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 11:32 PM
To: David Markle
Cc: [EMAIL PROTECTED]
Subject: Re: libpcap install problem.


In the last episode (Jun 26), David Markle said:
 I am having a problem installing libpcap.  Have a fresh 5.0-CURRENT
 installed, ran cvsup and am all up to date with the tree.  enter the
 directory /usr/src/contrib/libpcap and run ./configure 

/usr/src/contrib is for raw 3rd-party sources.  You shouldn't build
anything in there.  Cd into /usr/src/lib/libpcap instead and run make
obj ; make ; make install.

--
Dan Nelson
[EMAIL PROTECTED]

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


Re: dual boot, java

2003-06-27 Thread Matthew Seaman
On Fri, Jun 27, 2003 at 12:35:40PM +0200, Olivier DAVY wrote:

 However, I cannot delete my Linux for FreeBSD on my dual boot Pc 
 (Win...ws + Linux) since I do not know the following things, t hat are 
 essential for me to well manage my PC :
 1. when installing FreeBSD on a partition on the same disk as Windows, 
 what kind of boot manager should I use.

You can use the FreeBSD boot manager -- it's minimalistic (you WinXP
partition will show up labelled as '???'), but it generally works.  If
you want something with a few more options and settings to play with,
try Grub, which is in ports.

Note that Grub doesn't yet recognise the ufs2 filesystem available in
5.x -- there are some easy workarounds that you can find by searching
in the mailing list archives.

 During the install, the boot manager choosing screen suggest to install 
 nothing. But how to boot on BSD ?
 So I tried to install BSD with Linux and Windows, and use Lilo to boot 
 BSD. Well, it works, but I am not satisfied, since Linux is still 
 necessary to boot. What option should I choose ? How should I partition 
 my disk to have this dual boot.

Using Lilo without linux is probably not the best choice -- if you
modify anything that entails reconfiguring lilo, I believe you'll need
a bootable Linux partition to do that.

 What kind of bootmanager should I use ? Does Windows XP (or 2000) could 
 boot FreeBSD (hum ?) ?

Indeed, the WinXP boot manager is reputedly capable of booting FreeBSD:

http://bsdvault.net/sections.php?op=viewarticleartid=88

 2. On my standalone disk (cf. (*1)), I use the default bootloader of 
 FreeBSD.
 But I can not delete if from my HD, whereas I can delete lilo by 
 executing fdisk /MBR ? So what is the issue ? Is the BSD boot loader not 
 in the Master Boot Record ? How can i delete it, to delete all FreeBSD 
 from my disk (just in case...) ?

Running 'fdisk /MBR' from DOS, or equivalently running:

# fdisk -i -B -b /boot/mbr

from within FreeBSD, will over-write the FreeBSD bootloader with a
default master boot record and wipe out any custom bootloaders.

 3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X ?

If you buy FreeBSD CD Roms from on of the resellers, you'll get 4 CDs
as per usual.  The 3rd and 4th CD Roms simply contain pre-built
packages which are all available by FTP already.

 4. Is Java now well supported (I tried once to install it, but it did 
 not work since I did not found the right version of the JDK to port). I 
 'd like to install a true J2EE plateform on BSD !

The java/jdk14 and java/jdk13 ports are both running excellently for
me.  Note that these give you J2SE, not J2EE, but that makes very
little difference for almost all applications.

Installing the native jdk ports involves a great deal more palaver
than it really should.  Sun's licensing requirements mean that you can
just go and grab the sources from a website or ftp server in the usual
way.  So you have to go to Sun's website and register and click on
buttons that say that you agree to their terms.  Then in order to
compile the native java for the first time, you need to have a
pre-compiled version of java at pretty much the same release level.
That means that you'll need to temporarily install eg. the
linux-sun-jdk14 port in order to compile the native jdk14 port.  Once
you've got a native jdk14 port, you can pkg_delete linux-sun-jdk14 and
any other now redundant dependency required to install the port.

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


pgp0.pgp
Description: PGP signature


Re: dual boot, java

2003-06-27 Thread Jud
On Fri, 27 Jun 2003 12:35:40 +0200, Olivier DAVY [EMAIL PROTECTED]
said:
 Olivier DAVY
 FreeBSD Fan ;)
 
 Hi,
 
 I am very fond of FreeBSD since I tried it on a single little hard drive 
 (*1).
 
 However, I cannot delete my Linux for FreeBSD on my dual boot Pc 
 (Win...ws + Linux) since I do not know the following things, t hat are 
 essential for me to well manage my PC :
 1. when installing FreeBSD on a partition on the same disk as Windows, 
 what kind of boot manager should I use.
 During the install, the boot manager choosing screen suggest to install 
 nothing. But how to boot on BSD ?

On the boot manager choosing screen, choosing nothing is an option, not a
suggestion.  Perhaps it is the default because of a first, do no harm
perspective.

 So I tried to install BSD with Linux and Windows, and use Lilo to boot 
 BSD. Well, it works, but I am not satisfied, since Linux is still 
 necessary to boot. What option should I choose ? How should I partition 
 my disk to have this dual boot.

Partitioning is a separate consideration from booting (though Windows
usually likes to have its system partition as the first partition on the
first hard drive; there are ways to get around this, but it's easier just
to allow it).  Partition as you like.  You then have several options
regarding booting.

 What kind of bootmanager should I use ? 

FreeBSD's boot manager will work.  Grub is in the ports and is an
excellent, very configurable bootloader/manager.  Read the Grub
documentation (it's available online) *very* carefully before you use it
(as in fact you should with all boot managers).  If you want a boot
manager that does things more automagically and needs less configuration,
try GAG.

 Does Windows XP (or 2000) could 
 boot FreeBSD (hum ?) ?

This is an item in both the FAQ and the Handbook available at the FreeBSD
web site.

 2. On my standalone disk (cf. (*1)), I use the default bootloader of 
 FreeBSD.
 But I can not delete if from my HD, whereas I can delete lilo by 
 executing fdisk /MBR ? So what is the issue ? Is the BSD boot loader not 
 in the Master Boot Record ? How can i delete it, to delete all FreeBSD 
 from my disk (just in case...) ?

A moment's thought will tell you why you don't want to *delete* FreeBSD's
bootloader or any other: What results is an unbootable disk!  If you want
to *replace* it with another bootloader/manager, go right ahead - it
won't resist.  Of course, if you are trying to remove FreeBSD's
bootloader from disk 2 by running fdisk/mbr on disk 1, I can understand
why it doesn't work.  ;)

 3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X
 ?

I don't have an answer, except to recommend that you stay with 4.x until
(a) it becomes the -STABLE development track, or (b) you consider
yourself more of a hacker than a newbie.

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


Re: dual boot, java

2003-06-27 Thread Jud
On Fri, 27 Jun 2003 09:00:35 -0400, Jud [EMAIL PROTECTED] said:
 On Fri, 27 Jun 2003 12:35:40 +0200, Olivier DAVY [EMAIL PROTECTED]
 said:
[snip]
  3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X
  ?
 
 I don't have an answer, except to recommend that you stay with 4.x until
 (a) it becomes the -STABLE development track, or (b) you consider
 yourself more of a hacker than a newbie.

Sorry, I meant until *5.x* becomes the -STABLE development track.

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


Re: kdm on bootup

2003-06-27 Thread Daniel Bye
On Fri, Jun 27, 2003 at 06:58:45AM -0500, Chris wrote:
 On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
  On Friday, 27. June 2003 05:40, Chris wrote:
   Hiya -
  
 What file might I modify to enable kdm to start on bootup? And what
   might that line look like.
 
  The file you have to change is /etc/ttys
 
  The corresponding entry in my /etc/ttys looks like this:
 
  ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure
 
  So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
  the path to kdm plus options you want to give.
 
 Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just 
 using tty8, I add that to 1 - 7 perhaps?

No - did you also change off to on?  Tell your kernel to reread
/etc/ttys (among others):

 # kill -HUP 1

and, provided you got your command line right, {k,x}dm will start.
Your character terminals will still be available by hitting CTRL-ALT-Fn.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0.pgp
Description: PGP signature


Re: dual boot, java

2003-06-27 Thread Grzegorz Szczepanski
 3. Why there is only 2 CD-ROM for the 5.1 whereas there is 4 for the 4.X
 ?
There are no cdroms with precompiled packages for 5.1.. You must install
everything from ports.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm on bootup

2003-06-27 Thread Chris
Daniel Bye wrote:

On Fri, Jun 27, 2003 at 06:58:45AM -0500, Chris wrote:
 

On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
   

On Friday, 27. June 2003 05:40, Chris wrote:
 

Hiya -

	What file might I modify to enable kdm to start on bootup? And what
might that line look like.
   

The file you have to change is /etc/ttys

The corresponding entry in my /etc/ttys looks like this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
the path to kdm plus options you want to give.
 

Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just 
using tty8, I add that to 1 - 7 perhaps?
   

No - did you also change off to on?  Tell your kernel to reread
/etc/ttys (among others):
# kill -HUP 1
 

Ahhh, my bad,. I didn't set the off to on. Thanks much to all that 
offered me answers on this one.

Chris


and, provided you got your command line right, {k,x}dm will start.
Your character terminals will still be available by hitting CTRL-ALT-Fn.
Dan

 



--

Best regards,
Chris
__
PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
  01010010011101100011011001010111001001011000
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NAT Dropping Internal Connection

2003-06-27 Thread Han Hwei Woo
Is there any reason you are running both ipfw + ipfilter? Although they
probably should play nice together, it might be best not to tempt fate,
especially when you're experiencing problems. Also, are you using ipnat or
natd to perform NAT?

- Original Message - 
From: Jeremy Bingham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 4:16 PM
Subject: Re: NAT Dropping Internal Connection

On 25/06/03 14:39 -0400, FBSD_User wrote:
 Sounds like hardware problem with the switch or hub on your LAN.

Rebooting the machine makes the NAT stuff work again. Could the hub
still be a problem in that case?

-j


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jeremy
 Bingham
 Sent: Wednesday, June 25, 2003 2:25 PM
 To: [EMAIL PROTECTED]
 Subject: NAT Dropping Internal Connection

 I have a P-200 running 4.8-STABLE running as a NAT box at home. It
 runs
 well, except that periodically it will drop it's connection on the
 internal side of the network. The external interface still works,
 but the
 internal machines can't ping the NAT box at all and the NAT box
 can't
 ping the internal machines.

 I've looked through the mailing lists and google for hints why this
 might be happening, but I can't find anything. /var/log/messages
 also
 reveals nothing. Here are the relevant kernel options:

 options IPFIREWALL
 options IPFIREWALL_FORWARD
 options IPFIREWALL_DEFAULT_TO_ACCEPT
 options IPDIVERT
 options IPFILTER
 options IPSTEALTH
 options RANDOM_IP_ID
 options TCP_DROP_SYNFIN

 Would any of those cause the problem, or is there a kernel option
 that
 I'm accidentally leaving off?

 Thanks,

 -Jeremy Bingham


 --
 /* You are not expected to understand this. */

 Captain_Tenille
 http://www.satanosphere.com/
 [EMAIL PROTECTED]


-- 

--
/* You are not expected to understand this. */

Captain_Tenille
http://www.satanosphere.com/
[EMAIL PROTECTED]


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


Re: Mask IP:port with Domain Name

2003-06-27 Thread John DeStefano
Chuck Swiger wrote:
There's no way to avoid the port number in the URL, then.  Consider 
switching to 
a provider that lets you host local services...

Does that then nullify your previous recommendations?  
Can you recommend any such providers?
By hosting local services, do you mean DNS?
Thanks.
~John


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


Re: ifconfig

2003-06-27 Thread Han Hwei Woo
Are you including the alias as part of the directive, or as one of the
parameters of the directive? i.e. are you doing:
ifconfig_if0_alias0=inet ip netmask 0x
or
ifconfig_if0=inet ip netmask 0x alias?
If you're using the second method, try using the first. If you're already
using the first method though, I don't know what to tell you.

Hope this helps.

Han Hwei Woo
http://www.argosy.ca

- Original Message - 
From: Grant Peel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 7:52 PM
Subject: ifconfig


 Is there any reason ifconfig will re-order the names of aliases IPs?

 Example, in my rc.conf. I have all IPs grouped by network, sorted by IP.
 WHen I add them using ifconfig, they wind up in a different order
(jumbled).
 Everything still works fine, its just screwing my scripts up.

 -Grant

 Grant W. Peel
 Server Admin
 [EMAIL PROTECTED]
 http://thenetnow.com

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


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


Re: Difference between ipf/ipfw and ipnat/natd

2003-06-27 Thread Han Hwei Woo


- Original Message - 
From: Andreas Dahlén [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 6:03 AM
Subject: Difference between ipf/ipfw and ipnat/natd


 Hello!

 I'm going to install FreeBSD 4.8 as a firewall/gateway for my homenetwork.

 I've seen that there are two implementations of firewalls in FreeBSD;
 ipf and ipfw and fot NAT ipnat/natd.

 As I understand ipf and ipnat works together and ipfw and natd. Is that
 correct?
Yes, that is correct.


 Which one of them should I use?
 Is there some major differences between them?
ipfw is a part of FreeBSD, whereas ipfilter is written by Darren Reed and
runs not only on FreeBSD, but also on OpenBSD, NetBSD, Solaris (and perhaps
others?) if I recall correctly. If you plan to take advantage of the builtin
rc scripts to run a predefined set of firewall rules, you'll probably want
to stick with ipfw/natd.

Also, just fyi ipfw is fairly conventional: the first firewall rule that
matches will apply whereas with ipfilter, the last matching rule will apply
unless you specify quick.


 /Andreas

 ___
 [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: Web Server not allowing external visitors

2003-06-27 Thread Han Hwei Woo
This is because natd is being run before ppp is. Just disable natd in
rc.conf, and run it from rc.local instead:

/sbin/natd -n interface

- Original Message - 
From: Gav... [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 8:04 AM
Subject: Re: Web Server not allowing external visitors



 | First of all you have two different nats running. The ppp_nat=YES
 | option says use nat function of pppd  and natd_enable=YES says to
 | use NATD function of firewall. So you have nated your private lan ip
 | address 2 times which is a user config error. You need option
 | gateway_enable=YES to pass packets to lan.  I would comment out to
 | disable the firewall options until you have thinks working and them
 | add firewall. To many things happening and you do not know who is at
 | fault so limit testing to one thing at time. With apache server on
 | gateway box you do not need port 80 forwarding.
 |
 |
 | in /etc/rc.conf.
 |
 | ppp_nat=YES
 | gateway_enable=YES
 | defaultrouter=NO
 |
 | #firewall_enable=YES
 | #firewall_type=OPEN  //  (Yes I know but whilst testing!)
 | #natd_enable=YES
 | #natd_interface=tun0
 | #natd_flags=-f /etc/natd.conf
 |
 |

 Ok, I did all this and lost all access to the internet from the other LAN
 computers. - even with firewall disabled, ipfw is not letting anything
 through.
 It seems maybe that ppp_nat is not working or not fully configured, what
are
 all the files and options I need
 to change for this to work properly?

 When I boot the computer, the ADSL Modem automatically dials my ISP and
 connects fine, but then to gain access to the internet properly I have to
do
 this:

 killall natd
 killall ppp
 ppp -background adsl
 natd -dynamic -n tun0

 I can then access the internet fine  - without the natd line I can not
 access the internet, I tried without this line.

 So maybe a bit more firewall and natd config is required I dont know.?

 As the Web Server at the moment then is on my FreeBSD machine I do not
need
 any kind of port forwarding, but maybe I still need to more IPFW rules?

 At the moment one tester has reported that he is getting the following:-

  'Gateway Timeout ' error
 A gateway timeout error has occured.The Server is unreachable, please
retry
 the request.
 (GATEWAY_TIMEOUT)
 Please contact the Administrator.

 Any ideas, thanks for all the help so far.

 Gav...

 (Original message left intact for now for those that missed it first time)

 | -Original Message-
 | From: [EMAIL PROTECTED]
 | [mailto:[EMAIL PROTECTED] Behalf Of Gav
 | Sent: Tuesday, June 24, 2003 9:59 AM
 | To: [EMAIL PROTECTED]
 | Subject: Web Server not allowing external visitors
 |
 | Hi,
 |
 | Subject says it all really, what good is a website if only I can
 | view it?
 |
 | Ok, brief history of problem and setup details, I'm sure I'll leave
 | something out you need.
 |
 | I had 3 computers all run MS and Apache2 Web Server was on the main
 | one
 | connecting to the net via ADSL and using dyndns.org client to update
 | the
 | dynamic IP address. No probs.
 |
 | I then decide to change my setup and add a FreeBSD Router/Firewall
 | .and. a
 | separate (NT)  Web Server.
 | I installed my dns update client onto the new web server , enabled
 | NATd (am
 | connected via PPPoA/E) , enabled port_forward tcp rules on port 80
 | to point
 | to this Web Server machine. I also tried IPFW rules etc etc and
 | could not
 | get the outside world to connect. I thought I would instead put the
 | Web
 | Server (until I know better) onto the FreeBSD router machine.
 |
 | Still no go, All my internal machines can - by typing in the
 | registered
 | domain names, access the web server ok, the Apache Test page comes
 | up ok. So
 | by typing in www:mysite:com I get the sites ok. This I don't really
 | understand. Surely my other computers must be going to the external
 | www ,
 | getting the domain name resolved, getting the dynamic IP address
 | allocated
 | to me , and then coming back to my FreeBSD router where it gets
 | served the
 | web site. So why can't anyone else now access it.??
 |
 | I'd love to give you a url to test it but this is a public forum and
 | my
 | router is still not very secure at the moment, however I do have
 | trusted
 | people testing it for me regularly.
 |
 | Now , settings I think of relevance (having tried all sorts of
 | setups using
 | different techniques , I may have mixed up some settings and
 | probably have a
 | cocktail of settings) are (syntax copied exactly) :-
 |
 | in /etc/rc.conf.
 |
 | ppp_nat=YES
 | defaultrouter=NO
 | firewall_enable=YES
 | firewall_type=OPEN  //  (Yes I know but whilst testing!)
 | natd_enable=YES
 | natd_interface=tun0
 | natd_flags=-f /etc/natd.conf
 | #hostname=mydomain  // I left this commented out for now ?
 |
 | There are other settings in this file of course but felt only the
 | above
 | relevant to this post.
 |
 | in /etc/natd.conf.
 |
 | interface tun0
 | dynamic yes

Re: libpcap install problem.

2003-06-27 Thread Dan Nelson
In the last episode (Jun 27), David Markle said:
 Same error from /usr/sec/lib/libpcap  ...
 
 # pwd
 /usr/src/lib/libpcap
 # make obj ; make ; make install cc -O -pipe -mcpu=pentiumpro -DHAVE_CONFIG_H 
 -Dyylval=pcap_lval -I/usr/src/lib/libpcap -I. -DINET6 
 -I/usr/src/lib/libpcap/../../contrib/libpcap  -c
 /usr/src/lib/libpcap/../../contrib/libpcap/pcap-bpf.c -o pcap-bpf.o
 /usr/src/contrib/libpcap/pcap-bpf.c: In function `pcap_open_live':
 /usr/src/contrib/libpcap/pcap-bpf.c:207: storage size of `bdl' isn't known
 /usr/src/contrib/libpcap/pcap-bpf.c:334: `BIOCGDLTLIST' undeclared (first use in 
 this function)
 /usr/src/contrib/libpcap/pcap-bpf.c:334: (Each undeclared identifier is reported 
 only once
 /usr/src/contrib/libpcap/pcap-bpf.c:334: for each function it appears in.)
 /usr/src/contrib/libpcap/pcap-bpf.c: In function `pcap_set_datalink':
 /usr/src/contrib/libpcap/pcap-bpf.c:487: `BIOCSDLT' undeclared (first use in this 
 function)
 *** Error code 1

BIOCGDLTLIST was added to /sys/net/bpf.h after 5.0 was released, which
means you'll have to install a new kernel and copy its includes ( cd
into /usr/src/include and run make copies ) before libpcap will
build.

If you're planning on building more than just libpcap, you might want
to just make world instead of trying to figure out what needs to be
updated for each thing you build to work.

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


Re: Mask IP:port with Domain Name

2003-06-27 Thread Han Hwei Woo
I believe the ServerName directive in Apache is what you're looking for;
it's what people's browser address field will show once they connect to your
site. As far as your security concerns go, you can not run a website without
exposing the IP address of the webserver machine, with or without masking.
If a client machine didn't know your IP address, it would not know where to
retrieve your web pages from.

Han Hwei Woo
http://www.argosy.ca

- Original Message - 
From: John DeStefano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 3:50 PM
Subject: Mask IP:port with Domain Name


 In order to solve some IP/port resolution issues, I registered a domain at
godaddy.com on the advice of a few people on this list.  Seems like a nice
interface, decent service, and a great price.
 My question is on what I assume to be IP masking.  When someone punches in
my domain name to reach the web site running on FBSD, their browser's
address field (well, actually it's the DNS doing it) instantly translates
the domain name into my actual IP address and port number.  This is alarming
for security reasons, as well as relatives who know nothing about technology
asking inane questions about the disappearing web site name.
 I have searched the handbook, archives, even apache docs, but I can't find
any information regarding how to get this to happen on my FBSD (assuming I'm
searching on the correct terms?).  Of course, godaddy.com offers a masking
service for an additional fee, but then what was once a bargain wouldn't be
much of a bargain any longer.
 Thanks,
 John


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


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


Re: Wireless nic

2003-06-27 Thread Han Hwei Woo
Check the hardware notes for the version of FreeBSD you plan to install.
Most common wireless nic's out there should work.

- Original Message - 
From: Josh Richesin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 4:27 PM
Subject: Wireless nic


 I am going to buy a wireless nic for my laptop.  Are there any models that
will automaticaly work when I put it in?  What are the best ones?

 I found that the dlink-650+ is just not going to work.

 Thanks,
 Josh
 ___
 [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: kdm on bootup

2003-06-27 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, 27. June 2003 15:15, Chris wrote:

 The corresponding entry in my /etc/ttys looks like this:
 
 ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure

 No - did you also change off to on?  Tell your kernel to reread
 /etc/ttys (among others):

 Ahhh, my bad,. I didn't set the off to on. Thanks much to all that
 offered me answers on this one.

Uh, that was my bad as well. ;-/ I wonder why my entry in /etc/ttys was set
to off (h, it really makes me wonder...).
What makes me wonder is that xdm *does* start up correctly on my machine... I
can only think of Linux having problems reading UFS-partitions, but I cannot
really imagine Linux coming up with such *weird* read-errors...

Well, I'm glad your problem is solved now,

Kind regards,

Benjamin

- --
Der Hoffnung beraubt sein,
 heißt noch nicht - verzweifeln.
(Albert Camus)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE+/FpioYumWdMvhMQRAkvaAJwP5EnGM+pKqp+wHd+OdYbx3P7+WQCcCIeg
XauMk53AyIYrikvX2BSMiXE=
=R7DI
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Arcserve on FreeBSD

2003-06-27 Thread Toomas Aas
Hi!

 I am putting together a FreeBSD samba box and need to get the arcserve
 client agent loaded on this box
 but when I run the rpm command rpm -I uangent.rpm
 I get this output
 /bin/sh   is needed by uagent-7.0-1
 ld-linux.so.2 is needed by uagent-7.0-1
 libarclic98_api.so is needed by uagent-7.0-1
 libc.so.6 is needed by uagent-7.0-1
 libdl.so.2 is needed by uagent-7.0-1
 /bin/sh is needed by uagent-7.0-1
 
 has anyone else got arcserve to run on their bsd box
 I tried copying over the lib directory from a redhat 6.2 box which has all
 the required files except libarclic98_api but I don't know where to put
 these files

I don't think ARCserve Client Agent for Linux would work on FreeBSD. It's
designed for ext2/ext3 filesystem, after all. I'd love if you proved me 
wrong, though.

Anyway, copying libraries over from RH box is not the right way to go at it.
The right way would be to install the Linux compatibility package. And then
you would need to run something like rpm --nodeps to install the ARCserve rpms.
libarclic98_api is part of ARCserve itself, and on my Slackware box it lives 
in /opt/CA/CAagent directory. You probably need to install CAagent.rpm before
uagent.rpm.

If you ever get ARCserve to work on FreeBSD, I would be glad to hear about it.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Jesus has changed your life. Save changes (Y/N)?

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


Re: Mask IP:port with Domain Name

2003-06-27 Thread John DeStefano


Han Hwei Woo [EMAIL PROTECTED] wrote:
I believe the ServerName directive in Apache is what you're looking for;
it's what people's browser address field will show once they connect to your
site. 
Thanks, but as I mentioned when Chuck brought this up yesterday, my 
ServerName directive is set properly in the format:
  ServerName www.mydomain.com 
in httpd.conf.  This does not seem to make any difference at all.
 
As far as your security concerns go, you can not run a website without
exposing the IP address of the webserver machine, with or without masking.
If a client machine didn't know your IP address, it would not know where to
retrieve your web pages from.
Agreed (though not entirely true; you can use a web redirect service to 
successfully cloak a true IP address; I've done this successfully), but that's not 
really what I'm after.
I just don't want my IP address and port number combination glaring in a web 
browser's address bar when a user visits my web site.  I realize that if someone
really wanted to resolve my IP, they could, but I'm also thinking of people who 
don't know what an IP address is, and are asking me questions like What 
happened to the web site?  I typed in the words you told me to, and it turned 
into a bunch of numbers!


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


crontab root not found

2003-06-27 Thread Timms, Simon
Hi,
I seem to be having some trouble with cron.  I edited my crontab file and
added a line then ran 

#crontab /etc/crontab

Now my email box is full of cron root not found.  Nonsense, I said, I am
root and I'm right here, I then tried waving my hands so the computer could
find me more easily.  Then it occurred to me that perhaps the contab file
was being interpreted as a normal user crontab file and it was trying to run
the command root as that is what appeared in the 6th column.  So I went
and read the crontab man page and found that I should run crontab with the
-u option when using su.  I tried that too and I'm still getting the e-mails
every 5 minutes.  So what command should I run to load the master crontab?
I tried 

#crontab -u root crontab 

but that too seems to interpret the crontab as a user crontab too.  I have
removed any changes I made to the crontab so I won't bother including it in
the e-mail since it is the default file.  

Thank you kindly,
Simon


 

This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


webmin

2003-06-27 Thread Arturo Sanmiguel
hi, i need to resolve this problem when i run webmin in freebsd show this error in 
boot local packages  usr/libexec/ld-elf.so.1 cannot open usr/lib/libpam.so.1 
thanks for you support.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re-building sendmail

2003-06-27 Thread Jonathan Arnold
For an excellent fix for sendmail see:
http://www.postfix.org/
I'm actually thinking of going this route. Is the migration
that difficult? Any special gotchas for someone who has been
using the default sendmail stuff in FreeBSD?
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.  Mark Twain
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: crontab root not found

2003-06-27 Thread Jonathan Arnold
I seem to be having some trouble with cron.  I edited my crontab file and
added a line then ran 

#crontab /etc/crontab

Now my email box is full of cron root not found.  Nonsense, I said, I am
I'd say you should post the new line you added to cron. Sounds like
you have the formatting incorrectlying, and it is trying to run a
bogus command called either 'cron' or 'root'.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD blog:
http://freebsd.amazingdev.com/blog


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


Unix mail home to microsoft dbx format

2003-06-27 Thread Murat USTUNTAS
Hello all,

I want to little question on converting unix mail home
(May be Inbox file) to microsoft outlook program dbx file
because , if our costumer has arrive our isp , we want to
give their mail home in that format.
Many Thanks.

Murat Ustuntas

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


RE: crontab root not found

2003-06-27 Thread Timms, Simon
Sure thing, here is the file.  But the line I added (right at the bottom) is
commented out. BTW I am running 5.1 release.  I also get operator not found
when it tries to run the second entry.


# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root/usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11*   *   *   *   operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0   *   *   *   *   rootnewsyslog
#
# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,310-5 *   *   *   rootadjkerntz -a

# Run portupgrade
#*  2   *   *   *   root
/usr/local/scripts/cron.portupgrade

-Original Message-
From: Jonathan Arnold [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 9:18 AM
To: Timms, Simon
Cc: [EMAIL PROTECTED]
Subject: Re: crontab root not found


 I seem to be having some trouble with cron.  I edited my crontab file and
 added a line then ran 
 
 #crontab /etc/crontab
 
 Now my email box is full of cron root not found.  Nonsense, I said, I am

I'd say you should post the new line you added to cron. Sounds like
you have the formatting incorrectlying, and it is trying to run a
bogus command called either 'cron' or 'root'.

-- 
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD blog:
http://freebsd.amazingdev.com/blog




 

This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re-building sendmail

2003-06-27 Thread Bob Collins
At 11:16 AM 6/27/2003, Jonathan Arnold wrote:
For an excellent fix for sendmail see:
http://www.postfix.org/
I'm actually thinking of going this route. Is the migration
that difficult? Any special gotchas for someone who has been
using the default sendmail stuff in FreeBSD?
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.  Mark Twain


I have used Postfix on both FreeBSD and Solaris. No worries and quite easy 
to set up. There is suppose to be better security in postfix than sendmail. 
Also should be rather easy to configure in comparison. I think you will 
like it.

I have never migrated, so I cannot offer any comments.

--Bob 

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


Re: Online Content Management Tool - question

2003-06-27 Thread Kevin Scott
On Fri, Jun 27, 2003 at 07:06:45AM +0700, Roger Merritt wrote:
 Well, thanks for telling me. If I have time I'll take another look at it,
 but I was frankly daunted by their website. I got the impression that zope
 was primarily designed for weblogs and outside news feeds, and it seems to
 be *big*. The intranet I'm trying to set up will have pretty static
 content, but I want to use a content management system to make it easier
 for the teachers to update their course outlines and homework assignments.

Check out phpgroupware.org, one of the apps is called sitemgr. I think theres a port
for it. I don't know how up to date though.

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


Re: crontab root not found

2003-06-27 Thread Jan Grant
On Fri, 27 Jun 2003, Timms, Simon wrote:

 Hi,
 I seem to be having some trouble with cron.  I edited my crontab file and
 added a line then ran

 #crontab /etc/crontab

 Now my email box is full of cron root not found.  Nonsense, I said, I am
 root and I'm right here, I then tried waving my hands so the computer could
 find me more easily.  Then it occurred to me that perhaps the contab file
 was being interpreted as a normal user crontab file and it was trying to run
 the command root as that is what appeared in the 6th column.  So I went
 and read the crontab man page and found that I should run crontab with the
 -u option when using su.  I tried that too and I'm still getting the e-mails
 every 5 minutes.  So what command should I run to load the master crontab?
 I tried

 #crontab -u root crontab

 but that too seems to interpret the crontab as a user crontab too.  I have
 removed any changes I made to the crontab so I won't bother including it in
 the e-mail since it is the default file.

/etc/crontab is not in the same format as a user's personal crontab file
(even root's). You don't need to reinstall /etc/crontab, because cron
will pick this up automatically. If you try, you'll find it
misinterpreting the sixth column (as is happening).

Either: just edit /etc/crontab, or: add a root crontab entry using
crontab -e.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Impact of vulnerability: Run code of an attacker's choice
 Maximum Severity Rating: Moderate -- M$ security bulletin

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


Re: NAT Dropping Internal Connection

2003-06-27 Thread Jeremy Bingham
On 27/06/03 10:43 -0300, Han Hwei Woo wrote:
 Is there any reason you are running both ipfw + ipfilter? Although they
 probably should play nice together, it might be best not to tempt fate,
 especially when you're experiencing problems. Also, are you using ipnat or
 natd to perform NAT?

I tried taking IPDIVERT out of my kernel, but that killed NAT, so I had
to revert to the old kernel. I'm still playing with it. I had been
told that running both IPFIREWALL and IPDIVERT was unecessary.

I am running natd to perform NAT (with the -dynamic flag).

-j

 
 - Original Message - 
 From: Jeremy Bingham [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 25, 2003 4:16 PM
 Subject: Re: NAT Dropping Internal Connection
 
 On 25/06/03 14:39 -0400, FBSD_User wrote:
  Sounds like hardware problem with the switch or hub on your LAN.
 
 Rebooting the machine makes the NAT stuff work again. Could the hub
 still be a problem in that case?
 
 -j
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Jeremy
  Bingham
  Sent: Wednesday, June 25, 2003 2:25 PM
  To: [EMAIL PROTECTED]
  Subject: NAT Dropping Internal Connection
 
  I have a P-200 running 4.8-STABLE running as a NAT box at home. It
  runs
  well, except that periodically it will drop it's connection on the
  internal side of the network. The external interface still works,
  but the
  internal machines can't ping the NAT box at all and the NAT box
  can't
  ping the internal machines.
 
  I've looked through the mailing lists and google for hints why this
  might be happening, but I can't find anything. /var/log/messages
  also
  reveals nothing. Here are the relevant kernel options:
 
  options IPFIREWALL
  options IPFIREWALL_FORWARD
  options IPFIREWALL_DEFAULT_TO_ACCEPT
  options IPDIVERT
  options IPFILTER
  options IPSTEALTH
  options RANDOM_IP_ID
  options TCP_DROP_SYNFIN
 
  Would any of those cause the problem, or is there a kernel option
  that
  I'm accidentally leaving off?
 
  Thanks,
 
  -Jeremy Bingham
 
 
  --
  /* You are not expected to understand this. */
 
  Captain_Tenille
  http://www.satanosphere.com/
  [EMAIL PROTECTED]
 
 
 -- 
 
 --
 /* You are not expected to understand this. */
 
 Captain_Tenille
 http://www.satanosphere.com/
 [EMAIL PROTECTED]
 

-- 

--
/* You are not expected to understand this. */

Captain_Tenille
http://www.satanosphere.com/
[EMAIL PROTECTED]



pgp0.pgp
Description: PGP signature


Re: Mask IP:port with Domain Name

2003-06-27 Thread Chuck Swiger
John DeStefano wrote:
Chuck Swiger wrote:
There's no way to avoid the port number in the URL, then.  Consider
switching to a provider that lets you host local services...

Does that then nullify your previous recommendations?
Nope.  It just means that you can only get one of the two things you asked for.

Can you recommend any such providers?
Of dynamic DNS?  Yes: www.dyndns.org.

By hosting local services, do you mean DNS?
No, I meant being able to run Apache on port 80.  You said you didn't want to 
see IP or port number; the former can be solved by dynamic DNS, the latter can't 
be solved if your ISP blocks port 80.

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


Re: laptop install problem - usb cd drive

2003-06-27 Thread David Banning
On Thu, Jun 26, 2003 at 08:04:15PM -0400, William O'Higgins wrote:
 The Challenge:
 
 An old laptop, with no OS that can only boot from a floppy.  I want to
 install FreeBSD.
 
 I have a USB CDROM, but I cannot make it bootable at the BIOS level.
 
 I have a network card (PCMCIA) but no knowledge of how to get drivers
 for it on a FreeBSD install floppy.
 
 I'm pretty sure I'll have to either install entirely from floppies (not
 worth the time) or from the CDROM or network, but I don't know how to
 make those devices work from a blank hd and a floppy.

Couldn't you install with the two floppys, then download the rest
via ppp or pppoe?

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


Re: kdm on bootup

2003-06-27 Thread Malcolm Kay
On Fri, 27 Jun 2003 21:28, Chris wrote:
 On Friday 27 June 2003 03:18 am, Benjamin Walkenhorst wrote:
  On Friday, 27. June 2003 05:40, Chris wrote:
   Hiya -
  
 What file might I modify to enable kdm to start on bootup? And what
   might that line look like.
 
  The file you have to change is /etc/ttys
 
  The corresponding entry in my /etc/ttys looks like this:
 
  ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure
 
  So you probably just have to replace /usr/X11R6/bin/xdm -nodaemon with
  the path to kdm plus options you want to give.

And change the 'off' to 'on'


 Odd, on my 4.8 box - I did this. Didn't/dosn't work. Unless instead of just
 using tty8, I add that to 1 - 7 perhaps?


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


CHECKSUM.MD5

2003-06-27 Thread dark matrix
What is the function of the CHECKSUM.MD5 file on your freebsd server in the 
directory of your ISO images and do I need to use it?

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

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


Re: Two DNS servers with one IP address

2003-06-27 Thread Bill Campbell
On Fri, Jun 27, 2003 at 07:34:49AM +0100, Jez Hancock wrote:
...
Can anyone confirm that it's no longer a requisite to provide 2
distinct DNS servers for a domain you register?  I say no longer
because as I understand it there was a time when 2 distinct nameservers
were required...

Not having multiple servers may be OK for vanity domains, but certainly
isn't advisable if one wants reliable DNS.  It's a Good Idea(tm) to have
secondary servers geographically separated so that local problems don't
take out all the DNS for a domain (e.g.  earthquakes, floods, etc.).  One
of the more amusing examples of this occurred within the last two years
when all of Microsoft's DNS failed.  M$ had multiple servers all right, but
they were all on the same class C network so a routing problem brought them
all down.

Similar reasoning applies to having multiple MX (Mail eXchange) servers for
a domain.  Backup MX servers get a bit more complicated though if one is
doing any spam blocking as all the backup servers have to have at least as
restrictive rules as the primary or the spammers just get to you through
the back door.

Also, in the case an admin has only one auth nameserver for a domain but
a registrar _requires_ you list two, what is the best strategy for
listing the second nameserver? Is there any way to avoid using a third
party DNS provider as your secondary nameserver (providing some sort of
dummy listing)?

Do you have local user groups, ISPs, or businesses that run DNS servers
that would provide backups?  We provide backup DNS for most of our
customers including some fairly large regional ISPs with hundreds of
domains.  It's frequently possible to set up reciprocal deals with others.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him.  -- Robert Heinlein
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[drm] failed to load kernel module i830

2003-06-27 Thread Jacques Beigbeder
Hardware: Dell Optiplex GX260
FreeBSD: 5.1
XFree86 : XFree86 Version 4.3.0 (27 February 2003) build 24 May 2003

/var/log/messages indicates:
kernel: agp0: Intel 82845G (845G GMCH) SVGA controller mem 
0xff68-0xff6f,0xe800-0xefff irq 9 at device 2.0 on pci0
kernel: agp0: detected 892k stolen memory
kernel: agp0: aperture size is 128M

/var/log/XFree86.0.log contains:

...
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G
(II) Primary Device is: PCI 00:02:0
(--) Chipset 845G found
...
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
...
[drm] failed to load kernel module i830
...

How do I manage to get DRM working?

May be it is ( http://people.freebsd.org/~anholt/dri/index.html ):
TODO: (please help)
Port the i810 and i830 drivers 

--
Jacques Beigbeder|  [EMAIL PROTECTED]
Service de Prestations Informatiques | http://www.spi.ens.fr
Ecole normale supérieure |
45 rue d'Ulm |Tel : (+33 1)1 44 32 37 96
F75230 Paris cedex 05|Fax : (+33 1)1 44 32 20 75

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


Stand-a-lone NAT PGM

2003-06-27 Thread FBSD_User
I have been looking for NAT program which is not part of some other
program like NATD is part of IPFW or IPNAT is part of IPFILTER or
NAT of user ppp. I can not find any NAT program in the FBSD ports
collection unless I mis-understood some description.  If anybody
knows of one please let me know. Yes I know that I can set firewall
rule to pass all packets just to use NAT function, but I don't want
overhead of firewall logic, just simple NAT like PPP NAT function
with out the PPP stuff. I was wondering if the NAT logic code from
user ppp could be copied and made into stand-a-lone NAT program. My
programming ability is not great so I am asking for opinions  on
weather this is technical possible?  Thanks

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


problems with this questions list since mailman

2003-06-27 Thread FBSD_User
To the other members of this list. I have noticed a reduction in the
number of emails to this list since mailman became the replacement.
I used to get 150 to 200 email daily and now it's under 100.  When I
follow a subject I can see email in a more current response that I
did not receive. Before the cutover to mailman I was sending my
questions to [EMAIL PROTECTED] and now I see the supported email
address is [EMAIL PROTECTED]   I never received
notification of this email address change. When I use email  address
[EMAIL PROTECTED] to send me questions I get no bounce error
message and my question does not show in the email I receive for
this list. There is major bug in the question list since mailman
application took over. Have any of you noticed this?

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


Re: Burning audio cd with burncd command

2003-06-27 Thread David Siebörger
At 12:03 AM on Friday 27 June 2003, David wrote:
 Hello, I'm using freebsd 5.0 Jan 2003 series
 
 I read the freebsd handbook on mp3 and making
 audio cd's. First I use the mpg123 command to
 convert the mp3's to wavs in 16 bit 44.1k stereo,
 then I use the sox utility to remove the headers 
 that produces the pop click sound at the begining 
 of each track. Then I burn the cd using burncd.
 
 I still get the pop click sound when I play the audio cd.
 Is there a switch missing in the command syntax
 I'm using?
 
 mpg123 -w - anysong.mp3  newsong.wav
 
 sox -t  wav -r 44100 -s -w -c 2 newsong.wav new-song.wav

The example in the handbook reads:

% sox -t wav -r 44100 -s -w -c 2 track.wav track.raw

Note that the output file has a .raw extension.

 burncd -f /dev/acd1c -s 8 audio *.wav fixate

You should be writing the headerless .raw files to the disc, rather
than the .wav files.

 If you had a similar situation, let me know how you fix
 the problem. Any suggestions is helpful


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


Re: realtek 8139

2003-06-27 Thread Bill Campbell
On Fri, Jun 27, 2003 at 01:02:08PM +0100, Florin Betivoiu wrote:
Hello,
I have FreeBSD 4.8 Release. At one time I pulled out the network cable 
and I got this message:
 
...
 
and it isn't. On the same sistem resides a windows which is not 
bothered by anything. What is wrong? What did I do? How can I undo it?
Point me to the path of my salvation, please :) Thank you.

I can't say for sure about FreeBSD being a newbie myself, but Realtek NICs
have proven flakey at best on Linux systems and generally to be avoided.

We generally stick to Intel and 3COM NICs (there's a local PC recycler here
that usually has 3c905bs available for about $20 each and 3COM honors their
lifetime warranty if there are problems with them).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``The Income Tax has made more Liars out of American people than Golf has.''
Will Rogers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stand-a-lone NAT PGM

2003-06-27 Thread Kenneth Culver
 I have been looking for NAT program which is not part of some other
 program like NATD is part of IPFW or IPNAT is part of IPFILTER or NAT of
 user ppp. I can not find any NAT program in the FBSD ports collection
 unless I mis-understood some description.  If anybody knows of one
 please let me know. Yes I know that I can set firewall rule to pass all
 packets just to use NAT function, but I don't want overhead of firewall
 logic, just simple NAT like PPP NAT function with out the PPP stuff. I
 was wondering if the NAT logic code from user ppp could be copied and
 made into stand-a-lone NAT program. My programming ability is not great
 so I am asking for opinions on weather this is technical possible?
 Thanks

As far as I know, you HAVE to use a Firewall because there has to be some
way to redirect the packets to the nat program.

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


Re: CHECKSUM.MD5

2003-06-27 Thread Bill Campbell
On Fri, Jun 27, 2003 at 05:27:41PM +, dark matrix wrote:
What is the function of the CHECKSUM.MD5 file on your freebsd server in the 
directory of your ISO images and do I need to use it?

This file lists the md5 hashes of the iso image files.  It's there so you
can verify the integrity of each image after it's downloaded on your
system.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

It is practically impossible to teach good programming style to
students that have had prior exposure to BASIC: as potential
programmers they are mentally mutilated beyond hope of
regeneration.
-- Dijkstra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Movie

2003-06-27 Thread antivirus
Hi,

The message you sent was too large to be received. It has been automatically deleted.

If you wish to send me this file, you have to re-send the e-mail and include the text 
big in the subject of the e-mail.

Sorry for this inconvenience but this is needed to filter out spam and e-mail viruses 
filling up my mailbox.

If you did not send this e-mail, it is possible that your computer is infected by a 
virus that sends out itself to people in your address book.

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


native jdk compilation

2003-06-27 Thread Alin-Adrian Anton
Hi,

I am trying to compile native java support for freebsd. All checksums 
for files are okay, and after a long time of compiling, it stops with 
this error:

/usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.h: In method 
`jboolean
JNIEnv_::GetBooleanField(_jobject *, _jfieldID *)':
/usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.h:1269: syntax 
error b
efore `return'
gmake[3]: *** [cInterpreter.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/h
otspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error
#

Please help me get around this. I will appreciate any advice. 
(/usr/ports/java/jdk14).

I am using a FreeBSD 4.8-STABLE machine, using the ports from the 
CURRENT tree.

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


Re: CHECKSUM.MD5

2003-06-27 Thread Jerry McAllister
 
 What is the function of the CHECKSUM.MD5 file on your freebsd server in the 
 directory of your ISO images and do I need to use it?

It is just an additional integrity check you can make after you ftp
things to your machine.   

When the ISOs are made they run an md5 checksum on them and then 
record the numbers in that file.   When you finish ftping the ISO or
other file, you can run an md5 on it and compare to the number in 
the CHECKSUM.MD5 file to help make sure they arrived clean.

jerry

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


RE: answer me plz

2003-06-27 Thread Barbish3
Version 4.8 is the one for you. 5.0  5.1 are development versions
and are for people who can debug the operating system. 4.8 is the
stable production version.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of dark matrix
Sent: Thursday, June 26, 2003 2:37 PM
To: [EMAIL PROTECTED]
Subject: answer me plz

I want to build my own server on a p1 233 mhz 64M ram and 4gb hd
Wich FreeBSD version 4.8 - 5.0 - 5.1 do you recommend me?
thank for your answer

_
Tired of spam? Get advanced junk mail protection with MSN 8.
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]

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


4.8, Tomcat and Java servelts

2003-06-27 Thread Johan Paul
Thomas T. Veldhouse wrote:

Java will work better on 5.x then it will on 4.x.  If it is just a home
server, I wouldn't hesistate to give 5.1 a try first.
A question regarding Java and 4.8. We are planning to setup a FreeBSD 
box that would for example run Java servelts on the Tomcat platform. I 
read on the FreeBSD page that it is possible (and not even that 
difficult to set up...) but can anyone shed a light on the question 
regarding stability?

Best regards,

Johan Paul



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


Softupdates: df, du, sync and fsck [quite long]

2003-06-27 Thread John Ekins
Hello,

I've a couple of questions about soft updates. I've Googled heavily on this but
not really found a satisfactory answer. The story:

I'm running on numerous FreeBSD 4.7 SMP machines as primary MX machines. The mail
is not stored on the FreeBSD machines but on NetApps via NFS. However the mail is
temporarily spooled on the FreeBSD machines during normal MTA handling and passing
to an anti-virus scanner. I have one large partition /var on each machine where
basically all the work and temporary/transient files for the MTA and AV scanner
takes place.

These machines are heavily utilised, running quite hot with a load average of
anything from 2 to 8. Many thousands of temporary files are thus created and
deleted a minute. I have no problem with this as nearly all email is delivered in
under 1 minute whatever. 

I notice that after a while the amount of free space as shown by df considerably
varies from a du on /var. I'm aware of why this happens with soft updates, but
that's not the whole story. If I turn off incoming email on a machine, the space
does not seem to sync back to what it should be.  No matter how long I turn off
the MTA, the space is simply not returned, and df/du show differences of about
5:1. Nothing else is writing/holding open files on that partition (even turned
off syslog, cron, etc. and checked using lsof). In comparison, if, for example, on
my normal desktop machine I create a 500MB file, then delete it, the space shortly
afterwards is returned to me when I run df. The only way I've been able to recover
this space to what it should be is to reboot the machine. Which brings me to the
next problem...

As an example, here is a snippet from the console from when I rebooted an affected
machine:

  boot() called on cpu#2
  Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
  Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
  Waiting (max 60 seconds) for system process `syncer' to stop...timed out

  syncing disks... 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 
  giving up on 22 buffers
  Uptime: 27d23h1m27s
  Rebooting...

As you can see the file system is unable to sync. When the machine reboots it
literally takes hours to fsck the /var partition (only about 15GB). And the fsck
output is full of messages like this:

  UNEXPECTED SOFT UPDATE INCONSISTENCY

Now, is there a problem here with soft updates losing track of what is going on
on this busy partition? It would appear to be so as quietening the machine does
not lead to a proper sync. Secondly, why does the fsck take such an inordinate
amount of time for a smallish partition? 

I really like the performance benefits of soft updates, but it seems that I'm
going to have to turn it off on /var because of the problems that eventually
occur.

If anyone has some advice I'd be grateful.


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


[FAQ pointer] crontab root not found

2003-06-27 Thread Lowell Gilbert
Timms, Simon [EMAIL PROTECTED] writes:

 I seem to be having some trouble with cron.  I edited my crontab file and
 added a line then ran 
 
 #crontab /etc/crontab

Don't do that, then.

Or, in the wording of the FreeBSD FAQ, 
Why do I keep getting messages like ``root: not found'' after editing my crontab 
file?http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


upgrading 5.0 - 5.1; make buildkernel failes

2003-06-27 Thread Maarten de Vries
Hi,

I've been trying to upgrade my desktop pc, which ran 5.0-R without any
problems for months, to 5.1-R. After a make clean, I cvsup the latest
sources and then go 'make buildworld' and 'make installworld'. This doesn't
give any problems, but then the 'make buildkernel' fails miserably:

linking kernel
init_main.o: In function `proc0_init':
init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
kern_clock.o: In function `statclock':
kern_clock.o(.text+0x6a4): undefined reference to `sched_clock'
kern_condvar.o: In function `cv_waitq_add':
kern_condvar.o(.text+0x1483): undefined reference to `sched_sleep'
kern_exit.o: In function `exit1':
kern_exit.o(.text+0x14a8): undefined reference to `sched_exit'
kern_fork.o: In function `fork1':
kern_fork.o(.text+0xc61): undefined reference to `sched_fork'
kern_idle.o: In function `idle_proc':
kern_idle.o(.text+0x1d6): undefined reference to `sched_runnable'
kern_thr.o: In function `thr_exit1':
kern_thr.o(.text+0xe8): undefined reference to `sched_exit_kse'
kern_thr.o(.text+0x17b): undefined reference to `sched_exit_thread'
kern_thr.o: In function `thr_create':
kern_thr.o(.text+0x46f): undefined reference to `sched_fork_kse'
kern_thr.o(.text+0x481): undefined reference to `sched_fork_thread'
kern_mutex.o: In function `propagate_priority':
kern_mutex.o(.text+0x7a): undefined reference to `sched_prio'
kern_proc.o: In function `procinit':
kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc'
kern_proc.o: In function `fill_kinfo_proc':
kern_proc.o(.text+0x1706): undefined reference to `sched_pctcpu'
kern_resource.o: In function `donice':
kern_resource.o(.text+0x968): undefined reference to `sched_nice'
kern_resource.o: In function `rtp_to_pri':
kern_resource.o(.text+0xd25): undefined reference to `sched_class'
kern_subr.o: In function `uio_yield':
kern_subr.o(.text+0x57e): undefined reference to `sched_prio'
kern_switch.o: In function `choosethread':
kern_switch.o(.text+0x11): undefined reference to `sched_choose'
kern_switch.o: In function `kse_reassign':
kern_switch.o(.text+0xea): undefined reference to `sched_add'
kern_switch.o: In function `adjustrunqueue':
kern_switch.o(.text+0x168): undefined reference to `sched_rem'
kern_switch.o(.text+0x170): undefined reference to `sched_add'
kern_switch.o(.text+0x19e): undefined reference to `sched_rem'
kern_switch.o: In function `setrunqueue':
kern_switch.o(.text+0x293): undefined reference to `sched_rem'
kern_switch.o(.text+0x34d): undefined reference to `sched_add'
kern_synch.o: In function `msleep':
kern_synch.o(.text+0x538): undefined reference to `sched_sleep'
kern_synch.o: In function `mi_switch':
kern_synch.o(.text+0xe36): undefined reference to `sched_switchout'
kern_synch.o(.text+0xe5f): undefined reference to `sched_switchin'
kern_synch.o: In function `setrunnable':
kern_synch.o(.text+0xf5b): undefined reference to `sched_wakeup'
kern_synch.o: In function `yield':
kern_synch.o(.text+0x11a9): undefined reference to `sched_prio'
kern_thread.o: In function `threadinit':
kern_thread.o(.text+0x1547): undefined reference to `sched_sizeof_thread'
kern_thread.o(.text+0x1591): undefined reference to `sched_sizeof_ksegrp'
kern_thread.o(.text+0x15db): undefined reference to `sched_sizeof_kse'
subr_trap.o: In function `userret':
subr_trap.o(.text+0x12): undefined reference to `sched_userret'
subr_trap.o: In function `ast':
subr_trap.o(.text+0x67f): undefined reference to `sched_prio'
ksched.o: In function `ksched_attach':
ksched.o(.text+0x2e): undefined reference to `sched_rr_interval'
ksched.o: In function `ksched_setscheduler':
ksched.o(.text+0x2d3): undefined reference to `sched_prio'
ksched.o(.text+0x3c3): undefined reference to `sched_prio'
ffs_snapshot.o: In function `ffs_snapshot':
ffs_snapshot.o(.text+0xb4a): undefined reference to `sched_nice'
ffs_snapshot.o(.text+0x24f4): undefined reference to `sched_nice'
vm_zeroidle.o: In function `vm_pagezero':
vm_zeroidle.o(.text+0x40d): undefined reference to `sched_runnable'
vm_pageout.o: In function `vm_pageout_scan':
vm_pageout.o(.text+0x1c14): undefined reference to `sched_nice'
machdep.o: In function `cpu_idle':
machdep.o(.text+0x16ee): undefined reference to `sched_runnable'
*** Error code 1

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

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

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

Stop in /root.


Any pointers to what am I doing wrong here are much appreciated...
-- 
http://unsavoury.net/


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


Re: upgrading 5.0 - 5.1; make buildkernel failes

2003-06-27 Thread root
On Fri, Jun 27, 2003 at 11:37:03PM +0200 or thereabouts, Maarten de Vries wrote:
 Hi,
 
 I've been trying to upgrade my desktop pc, which ran 5.0-R without any
 problems for months, to 5.1-R. After a make clean, I cvsup the latest
 sources and then go 'make buildworld' and 'make installworld'. This doesn't
 give any problems, but then the 'make buildkernel' fails miserably:

Make sure you have exactly one of the next two lines in your
kernel configuration file. (I'd recommend the first.)

options SCHED_4BSD
options SCHED_ULE

-- Josh

 
 linking kernel
 init_main.o: In function `proc0_init':
 init_main.o(.text+0x2b9): undefined reference to `kse0_sched'
 init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched'
 init_main.o(.text+0x2cd): undefined reference to `proc0_sched'
 init_main.o(.text+0x2d7): undefined reference to `thread0_sched'
 kern_clock.o: In function `statclock':
 kern_clock.o(.text+0x6a4): undefined reference to `sched_clock'
 kern_condvar.o: In function `cv_waitq_add':
 kern_condvar.o(.text+0x1483): undefined reference to `sched_sleep'
 kern_exit.o: In function `exit1':
 kern_exit.o(.text+0x14a8): undefined reference to `sched_exit'
 kern_fork.o: In function `fork1':
 kern_fork.o(.text+0xc61): undefined reference to `sched_fork'
 kern_idle.o: In function `idle_proc':
 kern_idle.o(.text+0x1d6): undefined reference to `sched_runnable'
 kern_thr.o: In function `thr_exit1':
 kern_thr.o(.text+0xe8): undefined reference to `sched_exit_kse'
 kern_thr.o(.text+0x17b): undefined reference to `sched_exit_thread'
 kern_thr.o: In function `thr_create':
 kern_thr.o(.text+0x46f): undefined reference to `sched_fork_kse'
 kern_thr.o(.text+0x481): undefined reference to `sched_fork_thread'
 kern_mutex.o: In function `propagate_priority':
 kern_mutex.o(.text+0x7a): undefined reference to `sched_prio'
 kern_proc.o: In function `procinit':
 kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc'
 kern_proc.o: In function `fill_kinfo_proc':
 kern_proc.o(.text+0x1706): undefined reference to `sched_pctcpu'
 kern_resource.o: In function `donice':
 kern_resource.o(.text+0x968): undefined reference to `sched_nice'
 kern_resource.o: In function `rtp_to_pri':
 kern_resource.o(.text+0xd25): undefined reference to `sched_class'
 kern_subr.o: In function `uio_yield':
 kern_subr.o(.text+0x57e): undefined reference to `sched_prio'
 kern_switch.o: In function `choosethread':
 kern_switch.o(.text+0x11): undefined reference to `sched_choose'
 kern_switch.o: In function `kse_reassign':
 kern_switch.o(.text+0xea): undefined reference to `sched_add'
 kern_switch.o: In function `adjustrunqueue':
 kern_switch.o(.text+0x168): undefined reference to `sched_rem'
 kern_switch.o(.text+0x170): undefined reference to `sched_add'
 kern_switch.o(.text+0x19e): undefined reference to `sched_rem'
 kern_switch.o: In function `setrunqueue':
 kern_switch.o(.text+0x293): undefined reference to `sched_rem'
 kern_switch.o(.text+0x34d): undefined reference to `sched_add'
 kern_synch.o: In function `msleep':
 kern_synch.o(.text+0x538): undefined reference to `sched_sleep'
 kern_synch.o: In function `mi_switch':
 kern_synch.o(.text+0xe36): undefined reference to `sched_switchout'
 kern_synch.o(.text+0xe5f): undefined reference to `sched_switchin'
 kern_synch.o: In function `setrunnable':
 kern_synch.o(.text+0xf5b): undefined reference to `sched_wakeup'
 kern_synch.o: In function `yield':
 kern_synch.o(.text+0x11a9): undefined reference to `sched_prio'
 kern_thread.o: In function `threadinit':
 kern_thread.o(.text+0x1547): undefined reference to `sched_sizeof_thread'
 kern_thread.o(.text+0x1591): undefined reference to `sched_sizeof_ksegrp'
 kern_thread.o(.text+0x15db): undefined reference to `sched_sizeof_kse'
 subr_trap.o: In function `userret':
 subr_trap.o(.text+0x12): undefined reference to `sched_userret'
 subr_trap.o: In function `ast':
 subr_trap.o(.text+0x67f): undefined reference to `sched_prio'
 ksched.o: In function `ksched_attach':
 ksched.o(.text+0x2e): undefined reference to `sched_rr_interval'
 ksched.o: In function `ksched_setscheduler':
 ksched.o(.text+0x2d3): undefined reference to `sched_prio'
 ksched.o(.text+0x3c3): undefined reference to `sched_prio'
 ffs_snapshot.o: In function `ffs_snapshot':
 ffs_snapshot.o(.text+0xb4a): undefined reference to `sched_nice'
 ffs_snapshot.o(.text+0x24f4): undefined reference to `sched_nice'
 vm_zeroidle.o: In function `vm_pagezero':
 vm_zeroidle.o(.text+0x40d): undefined reference to `sched_runnable'
 vm_pageout.o: In function `vm_pageout_scan':
 vm_pageout.o(.text+0x1c14): undefined reference to `sched_nice'
 machdep.o: In function `cpu_idle':
 machdep.o(.text+0x16ee): undefined reference to `sched_runnable'
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/FOOKERN.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /root.
 
 
 Any pointers to what am I doing wrong here are much appreciated...
 -- 
 

routed 'forgets' it's path (or something)

2003-06-27 Thread freeBSD
I have run into a strange problem:

Suddenly has my nic no routingtables so name lookups etc doesn't work.

The only solution is to SU and kill routed and then start it again.

Everything will then work for an hour or so and then I'm back on step
one again.

I have laborated with cvsup etc the last day, so it's probably something
that's been changed, but I'm to novice to understan what.

I am running 5.0p7 now.

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


Variables Listings

2003-06-27 Thread Jon Reynolds
Is there a way to list what the variables on the system are with one
simple command, such as $HOME, $PATH, $CVSROOT, $TMPDIR, etc, etc?

Jon



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


Re: Mask IP:port with Domain Name

2003-06-27 Thread Han Hwei Woo
Sorry, I missed the original reply to this. What you can do is setup an
extra redirect to the URL. i.e. have your redirection service point to a
different URL (vhost) that still points to your machine. Since it seems you
do not have a lot of flexibility with DNS, it would probably be easiest to
run this vhost on a different port. Then, on your vhost, setup your own http
redirect http://httpd.apache.org/docs/mod/mod_alias.html#redirect to your
actual site with the URL you want your clients to see, and the client's
browser should then show this URL. The port will still show up using this
method, but this is the only way to go if you want your own domain to show
up without paying for any additional services.

The masking method dyndns uses, is to essentially serve up a frameset, and
redirect to your URL through a frame, thus the original URL is what will
show in the client's address bar. Dyndns charges for this service however,
and you will not be able to use it with your own domain name unless you buy
their custom dns service.

Hope this answers your questions.

- Original Message - 
From: John DeStefano [EMAIL PROTECTED]
To: Han Hwei Woo [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, June 27, 2003 12:01 PM
Subject: Re: Mask IP:port with Domain Name




 Han Hwei Woo [EMAIL PROTECTED] wrote:
 I believe the ServerName directive in Apache is what you're looking for;
 it's what people's browser address field will show once they connect to
your
 site.
 Thanks, but as I mentioned when Chuck brought this up yesterday, my
 ServerName directive is set properly in the format:
   ServerName www.mydomain.com
 in httpd.conf.  This does not seem to make any difference at all.

 As far as your security concerns go, you can not run a website without
 exposing the IP address of the webserver machine, with or without
masking.
 If a client machine didn't know your IP address, it would not know where
to
 retrieve your web pages from.
 Agreed (though not entirely true; you can use a web redirect service to
 successfully cloak a true IP address; I've done this successfully), but
that's not
 really what I'm after.
 I just don't want my IP address and port number combination glaring in a
web
 browser's address bar when a user visits my web site.  I realize that if
someone
 really wanted to resolve my IP, they could, but I'm also thinking of
people who
 don't know what an IP address is, and are asking me questions like What
 happened to the web site?  I typed in the words you told me to, and it
turned
 into a bunch of numbers!


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


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


calcru error on FBSD 5.0

2003-06-27 Thread Murilo Woigt
Hi, 
I'm looking for an efective solution for the calcru error.
I read many posts in many freebsd mail lists, but any solution solved the problem.
I saw the problem listed on fbsd known problems ( 
http://www.freebsd.org/releases/5.0R/DP1/errata.html ) and it leaded me to this list.
Does exist some kind of workaround, or corrective procedure for this problem?

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


Re: Variables Listings

2003-06-27 Thread Bill Campbell
On Fri, Jun 27, 2003 at 02:13:51PM -0800, Jon Reynolds wrote:
Is there a way to list what the variables on the system are with one
simple command, such as $HOME, $PATH, $CVSROOT, $TMPDIR, etc, etc?

man env

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``If we got one-tenth of what was promised to us in these acceptance
speeches there wouldn't be any inducement to go to heaven.''
Will Rogers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fsck!

2003-06-27 Thread Brett Glass
Often, after a FreeBSD 4.x system has been powered down without a proper 
shutdown, the system complains of inconsistencies on the disk. Yet, if 
one runs the command fsck -f after it's rebooted, the fsck program 
doesn't fix the problems it finds; instead, it says NO WRITE at the 
beginning of each report. (It seems not to want to touch things unless 
they're unmounted.) So, the system has to come down AGAIN.

What's the best and fastest way of ensuring disk consistency on a system 
that you're powering up after an abrupt outage? What about a system that 
powered up again before you arrived to nurse it through a reboot?

--Brett Glass

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


Re: fsck!

2003-06-27 Thread Dan Nelson
In the last episode (Jun 27), Brett Glass said:
 Often, after a FreeBSD 4.x system has been powered down without a
 proper shutdown, the system complains of inconsistencies on the disk.
 Yet, if one runs the command fsck -f after it's rebooted, the fsck
 program doesn't fix the problems it finds; instead, it says NO
 WRITE at the beginning of each report. (It seems not to want to
 touch things unless they're unmounted.) So, the system has to come
 down AGAIN.

 What's the best and fastest way of ensuring disk consistency on a
 system that you're powering up after an abrupt outage? What about a
 system that powered up again before you arrived to nurse it through a
 reboot?

An fsck that fails with UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
should cause the boot process to stop right there and drop to
single-user mode.  Under 4.x, it will run fsck -p on any dirty
filesystems, and only if the preen returned success on all filesystems
will it continue to multi-user mode.  5.x is a bit more lenient, since
it can clean softupdates filesystems in the background.

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


4-CD set

2003-06-27 Thread Robert Storey
I've noticed that the FreeBSD 4-CD set is now available for 5.1-RELEASE
from FreeBSDmall.com for $40. I'm willing to order it and support the
cause, but nowhere have I been able to find out just what is on the
additional two CDs. Is it the ports collection, or source code, or
something else? If anyone has previously purchased a 4-CD set, I'd be
interested to hear what advantage it offers over the downloadable 2-CD
set.

TIA,
Robert



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


Re: 4-CD set

2003-06-27 Thread Chris
On Friday 27 June 2003 05:57 pm, Robert Storey wrote:
 I've noticed that the FreeBSD 4-CD set is now available for 5.1-RELEASE
 from FreeBSDmall.com for $40. I'm willing to order it and support the
 cause, but nowhere have I been able to find out just what is on the
 additional two CDs. Is it the ports collection, or source code, or
 something else? If anyone has previously purchased a 4-CD set, I'd be
 interested to hear what advantage it offers over the downloadable 2-CD
 set.

It is the ports collection. The advantage is simply this - when you 
/stand/sysinstall and want to add more ports etc, it reads off of the last 2 
CD's and installes them - opposed to the cd /usr/ports/(somedir) make install 
clean 
which downloads them off the net.

well worth the investment if bandwith is an issue


 TIA,
 Robert



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

-- 

Best regards,
 Chris
__

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
__
   01010010011101100011011001010111001001011000


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


How to get best results from FreeBSD-questions

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

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

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

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

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

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

=

Contents:

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

I: Introduction
===

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

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

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

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

II:  How to unsubscribe from FreeBSD-questions
==

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

  Welcome to the freebsd-questions mailing list!

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

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

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

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

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

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

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

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

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

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

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

The Complete FreeBSD, third edition: errata and addenda

2003-06-27 Thread Greg Lehey








  Errata and addenda for the Complete FreeBSD, third edition




 Last revision: 2 August 1999

The trouble with books is that you can't update them the way you can a web page
or any other online documentation.   The  result  is  that  most  leading  edge
computer  books are out of date almost before they are printed.  Unfortunately,
``The Complete FreeBSD'', published by Walnut  Creek,  is  no  exception.   In-
evitably, a number of bugs and changes have surfaced.

The  following  is  a list of modifications which go beyond simple typos.  They
relate to the third edition, formatted  on  17  May  1999.   You'll  find  this
information  on  page  iv  (the  page  before  the  beginning  of  the Table of
Contents).  See the end of this document for instructions on how  to  find  the
errata for an older version.

You can get the current document in four forms:

o A PostScript version, suitable for printingout,at
  ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps. See page 302 of the third  edition
  to  find  out  how  to print out PostScript.  If at all possible, please take
  this document: it's closest to the original text.

  Be careful selecting this file with a web browser: it is often impossible  to
  reload the document, and you may see a previously cached version.

o An enhanced ASCII version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt. When
  viewed with more or less,  this  version  will  show  some  highlighting  and
  underlining.  It's not suitable for direct viewing.

o An  ASCII-only  version at ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii. This
  version is posted every week to the  FreeBSD-questions  mailing  list.   Only
  take  this version if you have real problems with PostScript: I can't be sure
  that the lack of different fonts won't confuse the meaning.

o A web version at http://www.lemis.com/errata-3.html.

All these modifications have been applied to the ongoing  source  text  of  the
book, so if you buy a later edition, they will be in it as well.  If you find a

 Page 1






The Complete FreeBSD


bug or a suspected bug in the book, please contact me at [EMAIL PROTECTED]

Page ii
___

The instructions on page ii (opposite the title  page)  tell  you  to  look  at
ftp://ftp.lemis.com/pub/cfbsd/errata-2  for  the  errata  list.   That's wrong.
Look at this list.

Pages 190 and 191
_

The description is not very clear about which text appears  when  booting  from
floppy  for  initial  install,  and  which  appears when booting normally.  The
procedure is very similar, but there are some differences.  Add  the  following
text after the heading Boot messages:

You'll  boot  your system in at least two different ways: initially you'll boot
from floppy or CD-ROM in order to install the system.  Later, after the  system
is  installed,  you'll boot from hard disk.  The procedure is almost identical,
so we'll look at both versions in the following examples.

Replace the text from the middle of page 191 with:

If you're booting from 1.44 MB floppies, you will then see:

Please insert MFS root floppy and press enter:

When you insert the MFS root floppy and press  Enter,  you  see  more  twirling
batons, then the UserConfig screen appears.

UserConfig: Modifying the boot configuration


After  the  kernel has been loaded, the following screen will appear if you are
installing the system, or if you have requested it with the -c  option  to  the
boot loader:

Page 206


The  bottom  two lines on this page should be in bold constant font, indicating
that this is input for your /etc/rc.config file


Page 2






 Errata and addenda for the Complete FreeBSD, third edition


nfs_client_enable=YES   # This host is an NFS client (or NO).
nfs_server_enable=YES   # This host is an NFS server (or NO).


Page 265


The example on the second half of the page refers to the old SCSI driver.   The
scsi  program  is  no  longer  available  in  FreeBSD  3.x.   Instead,  use the
camcontrol program.  Replace the text with:.

Modern disks make provisions for recovering from such errors by  allocating  an
alternate sector for the data.  IDE drives do this automatically, but with SCSI
drives you have the option of enabling or disabling reallocation.   Usually  it
is  turned on when you buy them, but occasionally it is not.  When installing a
new disk, you should check that the parameters  ARRE  (Auto  Read  Reallocation
Enable)  and AWRE (Auto Write Reallocation Enable) are turned on.  For example,
to check and set the values for disk da1, you would enter:

# camcontrol modepage da1 -m 1 -e -P 3
# scsi -f /dev/rda1c -m 1 -e -P 3

This command will start up your favourite editor (either the one  specified  in
the EDITOR environment variable, or vi by default) with the 

Xine quit on starting DivX

2003-06-27 Thread Zeo Smeijsters
Can somebody help me out or give me some hints ?

Xine just quit after trying to start a DivX movie ? Worked before, I have 
only change add some web services like OpenWebMail and CUPS bktr2jpeg and 
some depending Liberals !
I have tired to deinstall/install all known packages suporting Xine and 
Codec but didn't help.

demux_avi: input capabilities = 649
demux_avi: 145300 frames
system layer format 'AVI' detected.
demux_avi: video format = div3
demux_avi: video frame size 704 x 384
demux_avi: audio format[0] = 0x55
demux_avi: audio type MPEG layer 2/3 (wFormatTag 0x55)
demux_avi: start pos is 0, start time is 0
demux_avi: video codec is 'Microsoft MPEG-4 format v3'
metronom: video discontinuity #7, type is 0, disc_off is 0
metronom: waiting for audio discontinuity #7
audio_oss_out: AO_CTRL_FLUSH_BUFFERS
metronom: audio discontinuity #7, type is 0, disc_off 0
metronom: audio vpts adjusted with prebuffer to 19378018
metronom: waiting for in_discontinuity update #7
video_out: possible still frame (old)
metronom: video vpts adjusted to 19378018
video_decoder: new pts 0
metronom: video discontinuity #8, type is 3, disc_off is 0
metronom: waiting for audio discontinuity #8
metronom: audio discontinuity #8, type is 3, disc_off 0
metronom: waiting for in_discontinuity update #8
video_decoder: using decoder divx4 video decoder
using video decoder plugin 'divx4 video decoder'
divx4: caught SIGSEGV, caused by libdivxdecore.
divx4: please uninstall this library or disable the libdivxdecore
divx4: version check by setting the following line in HOME/.xinerc:
divx4: divx4_forceversion:1
divx4: see xine-ui/doc/README.divx4 for details.
divx4: fatal error; exiting.
South be the divx codec ?

Kind regards.

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


Re: upgrading 5.0 - 5.1; make buildkernel failes

2003-06-27 Thread Kris Kennaway
On Fri, Jun 27, 2003 at 02:57:56PM -0700, root wrote:
 On Fri, Jun 27, 2003 at 11:37:03PM +0200 or thereabouts, Maarten de Vries wrote:
  Hi,
  
  I've been trying to upgrade my desktop pc, which ran 5.0-R without any
  problems for months, to 5.1-R. After a make clean, I cvsup the latest
  sources and then go 'make buildworld' and 'make installworld'. This doesn't
  give any problems, but then the 'make buildkernel' fails miserably:
 
 Make sure you have exactly one of the next two lines in your
 kernel configuration file. (I'd recommend the first.)
 
 options SCHED_4BSD
 options SCHED_ULE

This and other upgrading pitfalls are documented in /usr/src/UPDATING,
which you should read (along with the release notes, errata and other
release documentation) before attempting an upgrade.

Kris


pgp0.pgp
Description: PGP signature


Re: fsck!

2003-06-27 Thread Kris Kennaway
On Fri, Jun 27, 2003 at 04:55:45PM -0600, Brett Glass wrote:
 Often, after a FreeBSD 4.x system has been powered down without a proper 
 shutdown, the system complains of inconsistencies on the disk. Yet, if 
 one runs the command fsck -f after it's rebooted, the fsck program 
 doesn't fix the problems it finds; instead, it says NO WRITE at the 
 beginning of each report. (It seems not to want to touch things unless 
 they're unmounted.) So, the system has to come down AGAIN.
 
 What's the best and fastest way of ensuring disk consistency on a system 
 that you're powering up after an abrupt outage? What about a system that 
 powered up again before you arrived to nurse it through a reboot?

You're supposed to boot into single-user mode to repair the
filesystems before attempting to bring it up to multiuser state.

Kris


pgp0.pgp
Description: PGP signature


Re: 4-CD set

2003-06-27 Thread Kris Kennaway
On Fri, Jun 27, 2003 at 06:48:39PM -0500, Chris wrote:
 On Friday 27 June 2003 05:57 pm, Robert Storey wrote:
  I've noticed that the FreeBSD 4-CD set is now available for 5.1-RELEASE
  from FreeBSDmall.com for $40. I'm willing to order it and support the
  cause, but nowhere have I been able to find out just what is on the
  additional two CDs. Is it the ports collection, or source code, or
  something else? If anyone has previously purchased a 4-CD set, I'd be
  interested to hear what advantage it offers over the downloadable 2-CD
  set.
 
 It is the ports collection. The advantage is simply this - when you 
 /stand/sysinstall and want to add more ports etc, it reads off of the last 2 
 CD's and installes them - opposed to the cd /usr/ports/(somedir) make install 
 clean 
 which downloads them off the net.

The ports collection is on disc 1.  The extra discs are:

A live filesystem CD that can be booted and used for repair purposes,
Two CDs of commonly-used packages.

The entire package collection takes up about 6 GB (for i386 5.1),
which would take about 9 CDs to ship in its entirety.

Kris


pgp0.pgp
Description: PGP signature


jexec broken?

2003-06-27 Thread jon
is jexec working in 5.1 release? 
#jls 
1  192.168.1.100 example.com  /usr/jail/192.168.1.100

#jexec 1 sendmail
jexec: execv(): sendmail: No such file or directory

ok i will try w/ full path

#jexec 1 /usr/jail/192.168.1.100/usr/sbin/sendmail 
jexec: execv():
/usr/jail/192.168.1.100/usr/sbin/sendmail: No such
file or directory

sendmail was an example this is the same with any
app

i read all 18 lines of the man

thanks all 

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


Re: jexec broken?

2003-06-27 Thread Joshua Oreman
On Fri, Jun 27, 2003 at 06:36:37PM -0700 or thereabouts, jon wrote:
 is jexec working in 5.1 release? 
 #jls 
 1  192.168.1.100 example.com  /usr/jail/192.168.1.100
 
 #jexec 1 sendmail
 jexec: execv(): sendmail: No such file or directory
 
 ok i will try w/ full path
 
 #jexec 1 /usr/jail/192.168.1.100/usr/sbin/sendmail 
 jexec: execv():
 /usr/jail/192.168.1.100/usr/sbin/sendmail: No such
 file or directory
 
 sendmail was an example this is the same with any
 app

Just grasping at straws here... Maybe jexec jail()s itself
before execing the program. In that case, you would need:
#jexec 1 /usr/sbin/sendmail
See if it works!

 
 i read all 18 lines of the man

Hehe :-)

-- Josh

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


Re: fsck!

2003-06-27 Thread Brett Glass
At 06:43 PM 6/27/2003, Kris Kennaway wrote:

You're supposed to boot into single-user mode to repair the
filesystems before attempting to bring it up to multiuser state.

Ah... but you're not there at the exact moment when the power
comes back on. (Maybe it was just a flicker and there was no
UPS, or maybe the power company -- like ours -- is so slow to
fix outages that the UPS battery was fully drained.)

What's more, even if you CAN boot into single user mode and run 
fsck, it can be frustrating. Sometimes a partition takes two
or three passes to clean up. Sometimes fsck randomly refuses
to work on one. It's a mess.

Ideally, the system would handle the logistics. It's not as if
powering down without shutting down is that rare of an 
occurrence. (It eats holes in any system, and is responsible for
gradual bit rot in both Windows machines and BSD machines.)

--Brett

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


Re: jexec broken?

2003-06-27 Thread jon
--- Joshua Oreman [EMAIL PROTECTED] 
 Just grasping at straws here... Maybe jexec jail()s
 itself
 before execing the program. In that case, you would
 need:
 #jexec 1 /usr/sbin/sendmail
 See if it works!

thanks that was it. seems counterintuitive, the first
command seems as though it would work since what you
suggested does. 



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


Re: fsck!

2003-06-27 Thread Bill Moran
Brett Glass wrote:
At 06:43 PM 6/27/2003, Kris Kennaway wrote:

You're supposed to boot into single-user mode to repair the
filesystems before attempting to bring it up to multiuser state.
Ah... but you're not there at the exact moment when the power
comes back on. (Maybe it was just a flicker and there was no
UPS, or maybe the power company -- like ours -- is so slow to
fix outages that the UPS battery was fully drained.)
Normally, fsck is able to automatically handle the problem after
a dirty shutdown.  In all the dirty shutdowns I've seen, I've only
had to manually run fsck maybe twice.
As far as the power sit is concerned: if you have a UPS and you
don't have some sort of monitoring software to gracefully shutdown
the machine during extended outages, you're shooting yourself in
the foot!  Kind of like getting a car with all the fancy safety
features so you can drink a bottle of vodka before you drive.
Regardless, isn't this the reason background fsck was developed in 5?

What's more, even if you CAN boot into single user mode and run 
fsck, it can be frustrating. Sometimes a partition takes two
or three passes to clean up.
Yeah, that is a PITA, but I can understand the reason.

Sometimes fsck randomly refuses
to work on one. It's a mess.
Never had that happen.

Ideally, the system would handle the logistics. It's not as if
powering down without shutting down is that rare of an 
occurrence.
Really?  Doesn't happen all that often to me.

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


Re: fsck!

2003-06-27 Thread Kris Kennaway
On Fri, Jun 27, 2003 at 07:55:28PM -0600, Brett Glass wrote:
 At 06:43 PM 6/27/2003, Kris Kennaway wrote:
 
 You're supposed to boot into single-user mode to repair the
 filesystems before attempting to bring it up to multiuser state.
 
 Ah... but you're not there at the exact moment when the power
 comes back on. (Maybe it was just a flicker and there was no
 UPS, or maybe the power company -- like ours -- is so slow to
 fix outages that the UPS battery was fully drained.)
 
 What's more, even if you CAN boot into single user mode and run 
 fsck, it can be frustrating. Sometimes a partition takes two
 or three passes to clean up. Sometimes fsck randomly refuses
 to work on one. It's a mess.
 
 Ideally, the system would handle the logistics. It's not as if
 powering down without shutting down is that rare of an 
 occurrence. (It eats holes in any system, and is responsible for
 gradual bit rot in both Windows machines and BSD machines.)
 
 --Brett

Please read the documentation; there are rc.conf options for handling
unattended installations.

Kris



pgp0.pgp
Description: PGP signature


FreeBSD on Toshiba Satellite 2455

2003-06-27 Thread lmmattao
Hi,

  Has anyone successfully installed FreeBSD 5.1 Release on a Toshiba Satellite
2455-S305 Laptop? Are there any known problems with this Toshiba
model?

Thanks,

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


Is it possible to downgrade from 5.0 to 4.8-stable using thecvsup-buildworld procedure?

2003-06-27 Thread freeBSD
I installed 5.0 when I first tried out freeBSD this spring, and after
some months of testruns I'm still very impressed and will choose freeBSD
as our *nix clone standardized OS.

Unfortunately everywhere I look and read the recommendation is to go
with 4.8 not 5.x, and especially would I like the nvidia drivers to
work, therefor do I need to downgrade my system.

Is that possible? To go from 5.0 to 4.8 by using the cvsup and
buildworld procedure? Are there any pitfalls?


The system is mainly used for samba-filesharing and web-service provided
by Apache-Tomcat.

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


Re: Is it possible to downgrade from 5.0 to 4.8-stable using thecvsup-buildworld procedure?

2003-06-27 Thread Joshua Oreman
On Sat, Jun 28, 2003 at 04:57:04AM +0200 or thereabouts, freeBSD wrote:
 I installed 5.0 when I first tried out freeBSD this spring, and after
 some months of testruns I'm still very impressed and will choose freeBSD
 as our *nix clone standardized OS.
 
 Unfortunately everywhere I look and read the recommendation is to go
 with 4.8 not 5.x, and especially would I like the nvidia drivers to
 work, therefor do I need to downgrade my system.
 
 Is that possible? To go from 5.0 to 4.8 by using the cvsup and
 buildworld procedure? Are there any pitfalls?
 
 
 The system is mainly used for samba-filesharing and web-service provided
 by Apache-Tomcat.

It's possible, but not supported. I did this once and my system threw up
all over me. (/bin/sh wouldn't run, etc.) So : try it, but make a backup
first.

-- Josh

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


Is there such a thing as the famous How-To's in Linux for freeBSD?

2003-06-27 Thread freeBSD
I have finally got my dream solution on how-to automatically filter and
sort my IMAP based mailbox using three different 3d party solutions. 

And I plan to contribute back by writing an easy-to-follow how-to. But
before I start that work I want to know that there's somewhere to list
it so that it gets most impact.

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


Solved! Was: Re: routed 'forgets' it's path (or something)

2003-06-27 Thread freeBSD
Odd, but the soo simple solution which however I can't explain was to do
a:

route add default 192.168.0.1 

(192.168.0.1 is my gateway)


If someone can explain how the system could work for a while after the
route daemon was started and then suddenly forget all routing tables it
would be great, however it works for me know so I'm pleased again! ;)

 


On Sat, 2003-06-28 at 00:04, freeBSD wrote:
 I have run into a strange problem:
 
 Suddenly has my nic no routingtables so name lookups etc doesn't work.
 
 The only solution is to SU and kill routed and then start it again.
 
 Everything will then work for an hour or so and then I'm back on step
 one again.
 
 I have laborated with cvsup etc the last day, so it's probably something
 that's been changed, but I'm to novice to understan what.
 
 I am running 5.0p7 now.
 
 ___
 [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: Is there such a thing as the famous How-To's in Linux forfreeBSD?

2003-06-27 Thread Joshua Oreman
On Sat, Jun 28, 2003 at 05:14:46AM +0200 or thereabouts, freeBSD wrote:
 I have finally got my dream solution on how-to automatically filter and
 sort my IMAP based mailbox using three different 3d party solutions. 
 
 And I plan to contribute back by writing an easy-to-follow how-to. But
 before I start that work I want to know that there's somewhere to list
 it so that it gets most impact.

There's a list of FreeBSD Articles on the website.

-- Josh

 
 ___
 [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: Shell Provider - DDoS Attacks - IPFW Ratelimiting

2003-06-27 Thread Jez Hancock
Hi,

Regarding your main question I'm afraid I can't really help - although
what the other person said about not being able to do a whole lot about
it I think is generally the case unfortunately.  I run a number of
eggdrop bots on my home network (about 20 full time bots in all, around
100 shell users in all) and have seen a few similar DDoS attacks from
botnets (characterized by open ports 80 and 113) which really clogged
the system.

Luckily in my case the last attack was a relatively simple ICMP attack
with fragmented packets (_lots_ of them, around 30MB in 5 minutes on a
512k ADSL connection).  This was easy enough to block with ipf
(incidentally you are using ipf aren't you:).

Very annoying and generally I just felt like stopping my users from
running their eggdrops (as you no doubt know there's little way to tell
exactly what/who caused the attack to be brought about, banning one user
who has brought it on isn't possible).

 And a last thing, I use right now tcpdump, trafshow, ipfm to trace the 
 source(attackers) and the destination(which one of my ips is attacked) ips. Do you 
 suggest any other tools to make my life easier?
lsof is very useful for gaining additional insight into network
connections.  I found the perl scripts located in the scripts directory
to be very insightful, particularly in how to incorporate lsof into a
custom tool.

I particularly needed to know which eggdrop was attempting to connect to
private address ranges which were blocked by the firewall and causing
lots of log entries.  lsof easily allowed me to determine what user
owned the process that spawned these connection attempts
(sockstat/netstat is ok, but filtering lsof output is a lot easier).

Anyway, good luck,

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


Re: Is there such a thing as the famous How-To's in Linux forfreeBSD?

2003-06-27 Thread Jez Hancock
On Sat, Jun 28, 2003 at 05:14:46AM +0200, freeBSD wrote:
 And I plan to contribute back by writing an easy-to-follow how-to. But
 before I start that work I want to know that there's somewhere to list
 it so that it gets most impact.
Check on the freebsd site, particularly the fdp project articles.

You can find info on getting started with the fdp here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/

which includes a step-by-step guide to contributing articles/handbooks.

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


Re: Softupdates: df, du, sync and fsck [quite long]

2003-06-27 Thread Bill Moran
John Ekins wrote:
Hello,

I've a couple of questions about soft updates. I've Googled heavily on this but
not really found a satisfactory answer. The story:
I'm running on numerous FreeBSD 4.7 SMP machines as primary MX machines. The mail
is not stored on the FreeBSD machines but on NetApps via NFS. However the mail is
temporarily spooled on the FreeBSD machines during normal MTA handling and passing
to an anti-virus scanner. I have one large partition /var on each machine where
basically all the work and temporary/transient files for the MTA and AV scanner
takes place.
These machines are heavily utilised, running quite hot with a load average of
anything from 2 to 8. Many thousands of temporary files are thus created and
deleted a minute. I have no problem with this as nearly all email is delivered in
under 1 minute whatever. 

I notice that after a while the amount of free space as shown by df considerably
varies from a du on /var. I'm aware of why this happens with soft updates, but
that's not the whole story. If I turn off incoming email on a machine, the space
does not seem to sync back to what it should be.  No matter how long I turn off
the MTA, the space is simply not returned, and df/du show differences of about
5:1. Nothing else is writing/holding open files on that partition (even turned
off syslog, cron, etc. and checked using lsof). In comparison, if, for example, on
my normal desktop machine I create a 500MB file, then delete it, the space shortly
afterwards is returned to me when I run df. The only way I've been able to recover
this space to what it should be is to reboot the machine.
I don't know what's wrong, but does unmounting and remounting the partition reclaim
the lost space?
As an example, here is a snippet from the console from when I rebooted an affected
machine:
  boot() called on cpu#2
  Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
  Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
  Waiting (max 60 seconds) for system process `syncer' to stop...timed out
  syncing disks... 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 22 
  giving up on 22 buffers
  Uptime: 27d23h1m27s
  Rebooting...

As you can see the file system is unable to sync. When the machine reboots it
literally takes hours to fsck the /var partition (only about 15GB). And the fsck
output is full of messages like this:
  UNEXPECTED SOFT UPDATE INCONSISTENCY
Well, this sure isn't good.

Now, is there a problem here with soft updates losing track of what is going on
on this busy partition? It would appear to be so as quietening the machine does
not lead to a proper sync. Secondly, why does the fsck take such an inordinate
amount of time for a smallish partition?
If there's a LOT of inodes with problems, it could easily take a while to fix.  
Also,
if you run fsck without specifying a filesystem to fix, it exhaustively checks all
filesystems.  So even if the problem is on /var, it might spend a long time checking
/usr as well.  You can work around this by calling fsck with the filesystem to check.
I really like the performance benefits of soft updates, but it seems that I'm
going to have to turn it off on /var because of the problems that eventually
occur.
If these are production boxes, I'd recommend turning it off until you resolve the
problem.
If anyone has some advice I'd be grateful.
I don't know if this would qualify as advice, but since nobody else seems to have
any suggestions, I figured I'd throw my thoughts in.
Are you using ATA or SCSI drives?  Does issuing a manual sync once you've stopped
the spooling process help any?  Are these all identical mobos ... possibly a BIOS
update available?  These aren't IBM ATA drives are they?  I had one of those give
me grief for months (if you look in the archives, you should be able to find details
on which drives caused problems).  Have you tried updating one of the machines to
4.8 to see if the problem has been fixed?
Like I said, not good advice, just some ideas for you.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can the FreeBSD handbook be sold?

2003-06-27 Thread Greg 'groggy' Lehey
On Thursday, 26 June 2003 at 12:50:04 +0200, Alex de Kruijff wrote:
 On Thu, Jun 26, 2003 at 11:53:28AM +0200, Miguel Mendez wrote:
 Hi,

 I came across this:

 http://store.fultus.com/product_info.php?cPath=5_10products_id=1

 These guys are selling a pdf version of the handbook for 35 bucks a pop.
 Is that legal? Because, if it is, I'll wget the online doc, pipe it to a
 pdf creator and sell it for $25 ;-P

 I'm just curious about the status of documentation.

 I beleave the handbook has the same licence as the system, which is BSD.
 As long as they don't act against this licence then its legal. And there
 is a lot you are allowed to do.

Yes, it's legal.  I don't understand why anybody would pay this kind
of money, though.  As it says at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html,
you can download it for free from
ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/book.pdf.bz2.

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
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


  1   2   >