Re: Color shell prompts (was Re: FreeBSD 4.8-RELEASE mutt color(color))

2003-07-15 Thread LLeweLLyn Reese
Joshua Oremzn [EMAIL PROTECTED] writes:
[snip]
 It makes a prompt like this, but in color:
 --[ /, 33 files / 10M ]-- --[ 10:23 AM ]-- --[ oremanj @ webserver.get-linux.org[0] 
 / ttyv1 ]--
 --[ 136 processes ]-- --[ 4 users ]--
 --[ % ]-- command-goes-here
 
 -- Josh
 
 P.S. Of course I don't use that prompt!

And why not? It is a very helpful and informative prompt. And please
don't complain that it is too long; surely everyone now runs xterm
fullscreen on 1600x1200 with a 5x7 font!

;-)

(ok, so the laptop which is my primary computer doesn't do 1600x1200,
and I don't run xterm full screen :-)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firewall

2003-07-15 Thread K Anderson


RYAN vAN GINNEKEN wrote:
ipfw /etc/rc.fw4
gives me
ipfw: bad arguments, for usage summary ``ipfw''
need to start my firewall without rebooting

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

ipfw isn't some sort of daemon to be stopped and started. If you want to 
add rules, delete rules or what ever then  you just do it.

Take a look at the script in /etc/rc.firewalls and you'll see that's all 
they are doing.

so  your firewall file should be  a shell script. Even if you do man 
ipfw you'll see that in no way does ipfw accept a file name as an 
arguemnt.  Pretty simple eh?

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


mpd - question 3: 'it still doesnt work...'

2003-07-15 Thread Eddy Ramos
Does anyone know what is wrong with my mpd settings? please? it still
won't do anything...

See what happens (nothing):

# mpd
  Multi-link PPP for FreeBSD, by Archie L. Cobbs.
  Based on iij-ppp, by Toshiharu OHNO.
  mpd: pid 35718, version 3.13
  [:]

I switched on logging of all logging options, but when we try to connect
to the machine from outside the network nothing is logged, just af is we
aren't getting thru to it. I set the firewall type to OPEN (allow all
ip), so that can't be the problem. I tried to connect to it from a
Windows XP machine (via the Network Connections - New Connection Wizard
- Connect to the network at my workplace using VPN), but Windows just
states that the connection can not be established. Meanwhile, nothing is
logged by mpd. I just see [:]. I also issued some commands at the mpd
prompt. See what happens:

  [:] link
  mpd: no bundles defined
  [:] bundle
  mpd: no bundles defined
  [:]

Is that a problem?

My configuration file 'mpd.conf':

  default:
  load pptp0

  pptp0:
  new -i ng0 pptp0 pptp0
  set iface disable on-demand
  set bundle disable multilink
  set iface enable proxy-arp
  set link yes acfcomp protocomp
  set link no pap chap
  set link enable chap
  set link keep-alive 60 180
  set ipcp yes vjcomp
  set ipcp ranges 192.100.0.113/32 192.100.0.50/32
  set ipcp dns 192.100.0.113
  set ipcp nbns 192.100.0.113
  set bundle enable compression
  set ccp yes mppc
  set ccp yes mpp-e40
  set ccp yes mpp-e128
  set ccp yes mpp-stateless
  set bundle yes crypt-reqd

My links file 'mpd.links':

  pptp0:
  set link type pptp
  set pptp self 217.2.6.7
  set pptp enable incoming
  set pptp disable originate

I also used a user / password combination in the mpd.secrets file.


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


Make buildworld failure...no inodes free! Do I have to pay?

2003-07-15 Thread keith
Hi all,
Damn mbworld failed.
I did note that after dropping to su mode fsck -p did not much more than
reports
/dev/ad0s1a :NO WRITE ACCESS
/dev/ad0s1A :UNEXPECTED INCONSISTENCY ;RUN FSCK MANUALLY

Then the script from makebuild showed up
usr : create/symlink failed, no inodes free
Then the wheels fell of the wagon!

I tried fsck / but NO WRITE still
I tried mount -a /
then fsck /
But no dice...
If only I knew what the... I was doing.
Help required and gratefully acknowledged

Keith


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


Re: make index strangeness after today's cvsup of ports tree

2003-07-15 Thread Matthew Seaman
On Mon, Jul 14, 2003 at 06:51:51PM -0700, Kent Stewart wrote:
 On Monday 14 July 2003 01:59 pm, Stacey Roberts wrote:
  On Mon, 2003-07-14 at 21:36, Matthew Seaman wrote:

   happy-idiot-talk:...ports/x11/xstroke:% make -V PORTSDIR
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   cd: can't cd to /devel/libgnugetopt
   ...

  Thanks for that explanation.., I imagine this is another one of those
  things that eventually sorts itself out..,

 The other thing that is happening is the following.from a dmesg
 
 maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5).
 maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5).
 maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5).
 
 You get 3 or 4 of these while all of the above is going on.

Yes.  make(1) is invoking itself recursively because of this bug.  The
aposite term is fork bomb.  Eventually you'll run out of system
resources and the command will fail.  When Stacey said sorts itself
out, I believe he was talking about getting fixes committed to the
ports tree.  He didn't mean that there would be loads of error
messages printed out, and then the command would succeed anyhow.

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: intel etherexpress pro/10 not probed

2003-07-15 Thread Han Hwei Woo
Try setting the pnpos option in your bios to no.

My laptop's intel NIC doesn't get detected otherwise.

Cheers,
Han
http://www.argosy.ca/~hhw

- Original Message - 
From: michal novacek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 06, 2003 1:31 PM
Subject: intel etherexpress pro/10 not probed



 hi,

 i got intel etherexpress pro/10 combo card, which i got from old server,
 but i can't get it probed in my home computer. i guess it's not the hw
 prblem of the card because the link light switches on when i plug tp cable
 in it.

 during boot, i got the following:
 ...
 atapci0: Intel PIIX3 ATA controller port 0xffa0-0xffaf at device 7.1 on
 pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 pci0: serial bus, USB at device 7.2 (no driver attached)
 pci0: display, VGA at device 10.0 (no driver attached)
 pci0: multimedia, audio at device 11.0 (no driver attached)
 pci0: input device at device 11.1 (no driver attached)
 pci0: network, ethernet at device 12.0 (no driver attached)
 # ^^this is it
 ahc0: Adaptec 2940 Ultra SCSI adapter port 0xec00-0xecff mem 0xffafb000-
 0xffafbfff irq 10 at device 13.0 on pci0
 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
 rl0: RealTek 8139 10/100BaseTX port 0xe800-0xe8ff mem 0xffafaf00-
 0xffafafff irq 11 at device 14.0 on pci0
 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect
 mode
 rl0: Ethernet address: 00:08:a1:24:80:60
 miibus0: MII bus on rl0
 rlphy0: RealTek internal media interface on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ...
 [EMAIL PROTECTED] boot]# pciconf -vl
 ...
 [EMAIL PROTECTED]:12:0:class=0x02 card=0x chip=0x12268086
 rev=0x03 hdr=0x00
 vendor   = 'Intel Corporation'
 device   = '82596 EtherExpress PRO/10'
 class= network
 subclass = ethernet
 ...

 it seems to me, that everything is ok, bot i can't figure out how to make
 the system load the appropriate driver. from hardware notes, i suppose
that
 the driver (module)should be ex -- even man 4 ex lists this card, but i do
 not have this module in /boot/kernel/ and compiling it into kernel doesn't
 change anything (it's still not detected :-{) i'm using freebsd 5.0-
 release.

 thanx for any opinions.

 --m

 -- 
 [ [EMAIL PROTECTED] ] [ [EMAIL PROTECTED] ] [ [EMAIL PROTECTED] ]
   Unix is user friendly. It's just selective about who its friend are.

 ___
 [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: firewall

2003-07-15 Thread Ryan Thompson
K Anderson wrote to RYAN vAN GINNEKEN:

 ipfw isn't some sort of daemon to be stopped and started. If you want
 to add rules, delete rules or what ever then  you just do it.

Yes, unless you're doing this over a network, in which case you want to
make sure you don't break connectivity with an intermediate rule.

 Take a look at the script in /etc/rc.firewalls and you'll see that's all
 they are doing.

 so  your firewall file should be  a shell script. Even if you do man
 ipfw you'll see that in no way does ipfw accept a file name as an
 arguemnt.  Pretty simple eh?

While you can write a shell script to call firewall rules (in the style
of /etc/rc.firewall), you're wrong in your subsequent assertion; ipfw
*does* accept a pathname to a file which, according to ipfw(8):

 To ease configuration, rules can be put into a file which is processed
 using ipfw as shown in the first synopsis line.  An absolute pathname
 must be used.  The file will be read line by line and applied as argu-
 ments to the ipfw utility.

And, actually, this is pretty darn convenient, especially in conjunction
with firewall_type=/path/to/ruleset in rc.conf, once you have tested
the ruleset, of course. :-)

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America

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


Re: Make buildworld failure...no inodes free! Do I have to pay?

2003-07-15 Thread Supote Leelasupphakorn
 --- [EMAIL PROTECTED] wrote:  Hi all,
 Damn mbworld failed.
 I did note that after dropping to su mode fsck -p
 did not much more than
 reports
 /dev/ad0s1a :NO WRITE ACCESS
 /dev/ad0s1A :UNEXPECTED INCONSISTENCY ;RUN FSCK
 MANUALLY
 
 Then the script from makebuild showed up
 usr : create/symlink failed, no inodes free
 Then the wheels fell of the wagon!
 
 I tried fsck / but NO WRITE still
 I tried mount -a /
 then fsck /
 But no dice...
 If only I knew what the... I was doing.
 Help required and gratefully acknowledged
 
 Keith
 


   This is not much useful but perhaps give you the
direction.

   It seems size of / (root partition) is too small.
Try to delete the unused files there. You can see your
number of free inode(in %) from the output of 
command df -i. 

Cheers,

 



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


RE: firewall

2003-07-15 Thread Peut Kotze
Yes, you can use just and normal file with the ipfw rules in it.
E.g: /etc/myipfw.rules

a a a f a t a via lo0
a deny a f a t 127.0.0.1/8
a deny a f 127.0.0.1/8 t a



And in your /etc/rc.conf file you have:
firewall_type=/etc/myipfw.rules

You can add and delete rules on the command line untill you'r happy.
Then change your rules by editing the file, and when your done and happy
with your new rules you can reload them into the firewall over a remote
link with the following command:

# ipfw -f flush; ipfw /etc/myipfw.rules 

The '' starts it as a background process to prevent it from being
killed when your shell closes because of the connection being terminated
by the 'ipfw -f flush' command. The firewall will reload the new rules
and you can connect to the box again, having the same effect as
rebooting the box and loading the new firewall rules from the config
file.

Hope it helps
Peut

-Original Message-
From: Ryan Thompson [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 10:20
To: K Anderson
Cc: RYAN vAN GINNEKEN; [EMAIL PROTECTED]
Subject: Re: firewall


K Anderson wrote to RYAN vAN GINNEKEN:

 ipfw isn't some sort of daemon to be stopped and started. If you want
 to add rules, delete rules or what ever then  you just do it.

Yes, unless you're doing this over a network, in which case you want to
make sure you don't break connectivity with an intermediate rule.

 Take a look at the script in /etc/rc.firewalls and you'll see that's
all
 they are doing.

 so  your firewall file should be  a shell script. Even if you do man
 ipfw you'll see that in no way does ipfw accept a file name as an
 arguemnt.  Pretty simple eh?

While you can write a shell script to call firewall rules (in the style
of /etc/rc.firewall), you're wrong in your subsequent assertion; ipfw
*does* accept a pathname to a file which, according to ipfw(8):

 To ease configuration, rules can be put into a file which is
processed
 using ipfw as shown in the first synopsis line.  An absolute
pathname
 must be used.  The file will be read line by line and applied as
argu-
 ments to the ipfw utility.

And, actually, this is pretty darn convenient, especially in conjunction
with firewall_type=/path/to/ruleset in rc.conf, once you have tested
the ruleset, of course. :-)

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America

___
[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: mpd - question 3: 'it still doesnt work...'

2003-07-15 Thread Rob
Sounds like it hasn't loaded the config. Are the files in the default
locations? What are the ownerships  permissions? Make sure there is a
blank line after each definition, including at the end of the file.

(I spent a week getting mpd(8) to work - turned out that not all the
kernel modules were loaded when needed...)

- Original Message -
From: Eddy Ramos [EMAIL PROTECTED]
Subject: mpd - question 3: 'it still doesnt work...'


 Does anyone know what is wrong with my mpd settings? please? it still
 won't do anything...

 See what happens (nothing):

 # mpd
   Multi-link PPP for FreeBSD, by Archie L. Cobbs.
   Based on iij-ppp, by Toshiharu OHNO.
   mpd: pid 35718, version 3.13
   [:]

 I switched on logging of all logging options, but when we try to
connect
 to the machine from outside the network nothing is logged, just af is
we
 aren't getting thru to it. I set the firewall type to OPEN (allow all
 ip), so that can't be the problem. I tried to connect to it from a
 Windows XP machine (via the Network Connections - New Connection
Wizard
 - Connect to the network at my workplace using VPN), but Windows just
 states that the connection can not be established. Meanwhile, nothing
is
 logged by mpd. I just see [:]. I also issued some commands at the mpd
 prompt. See what happens:

   [:] link
   mpd: no bundles defined
   [:] bundle
   mpd: no bundles defined
   [:]

 Is that a problem?

 My configuration file 'mpd.conf':

   default:
   load pptp0

   pptp0:
   new -i ng0 pptp0 pptp0
   set iface disable on-demand
   set bundle disable multilink
   set iface enable proxy-arp
   set link yes acfcomp protocomp
   set link no pap chap
   set link enable chap
   set link keep-alive 60 180
   set ipcp yes vjcomp
   set ipcp ranges 192.100.0.113/32 192.100.0.50/32
   set ipcp dns 192.100.0.113
   set ipcp nbns 192.100.0.113
   set bundle enable compression
   set ccp yes mppc
   set ccp yes mpp-e40
   set ccp yes mpp-e128
   set ccp yes mpp-stateless
   set bundle yes crypt-reqd

 My links file 'mpd.links':

   pptp0:
   set link type pptp
   set pptp self 217.2.6.7
   set pptp enable incoming
   set pptp disable originate

 I also used a user / password combination in the mpd.secrets file.


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


Backup over the internet.

2003-07-15 Thread DanB
What is the easy way to back up over the internet? What software should
be used?

Dan

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


Re: Tripwire

2003-07-15 Thread Karel J. Bosschaart
On Mon, Jul 14, 2003 at 11:07:58PM -0500, Neu, Benjamin S. wrote:
 This is the error I get when trying to install Tripwire in FreeBSD 5.1
 
 After doing a: make install  make clean 
 
 I get: Fails to build under 5.X
 
 What am I doing wrong?

You're doing nothing wrong, it's in the Makefile of the tripwire port:

.if ${OSVERSION} = 50
BROKEN= Fails to build under 5.X
.endif

So if you want to use tripwire in 5.1 it has to be fixed to compile.
I saw other versions of tripwire in the ports tree, maybe they work for
you?

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


Re: Backup over the internet.

2003-07-15 Thread Nico Meijer
Hi Dan,

 What is the easy way to back up over the internet? What software
 should be used?

You *could* use rsync. Performed over ssh, this enables you to backup
quickly and safely, depending on what you'd like to backup. It's a
killer tool, AFAIAC.

http://rsync.samba.org/ and I guess `man rsync`.

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


Re: Backup over the internet.

2003-07-15 Thread Dirk-Willem van Gulik


On Tue, 15 Jul 2003, Nico Meijer wrote:

  What is the easy way to back up over the internet? What software
  should be used?

 You *could* use rsync. Performed over ssh, this enables you to backup
 quickly and safely, depending on what you'd like to backup. It's a
 killer tool, AFAIAC.

 http://rsync.samba.org/ and I guess `man rsync`.

amanda (www.amanda.org, or from ports) does a fine job if you have
multiple machines which needs to be backed-up.

Dw.

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


Re: Backup over the internet.

2003-07-15 Thread Johan Paul
On Tue, 15 Jul 2003, DanB wrote:

 What is the easy way to back up over the internet? What software should
 be used?

I have been using afbackup (http://sourceforge.net/projects/afbackup/) 
with Linux for the past two years. I saw in the ports tree and I would go 
with it (haven't though tried the software that the others have 
recommended).  

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


Linksys WMP54G support

2003-07-15 Thread Gilles Ciselet
Hello
Is there any plan to support this PCI wireless card on FreeBSD?
Thanks
Gilles Ciselet

__
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: firewall

2003-07-15 Thread K Anderson


Ryan Thompson wrote:
K Anderson wrote to RYAN vAN GINNEKEN:


ipfw isn't some sort of daemon to be stopped and started. If you want
to add rules, delete rules or what ever then  you just do it.


Yes, unless you're doing this over a network, in which case you want to
make sure you don't break connectivity with an intermediate rule.

Take a look at the script in /etc/rc.firewalls and you'll see that's all
they are doing.
so  your firewall file should be  a shell script. Even if you do man
ipfw you'll see that in no way does ipfw accept a file name as an
arguemnt.  Pretty simple eh?


While you can write a shell script to call firewall rules (in the style
of /etc/rc.firewall), you're wrong in your subsequent assertion; ipfw
*does* accept a pathname to a file which, according to ipfw(8):
 To ease configuration, rules can be put into a file which is processed
 using ipfw as shown in the first synopsis line.  An absolute pathname
 must be used.  The file will be read line by line and applied as argu-
 ments to the ipfw utility.
And, actually, this is pretty darn convenient, especially in conjunction
with firewall_type=/path/to/ruleset in rc.conf, once you have tested
the ruleset, of course. :-)
- Ryan

Hmmm, pretty neat. I re-read the man page for it and yep, it sure does 
take a file name (like you all said, and the man page said, an abolute 
path. Doh).

Thanks for the response.

:)

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


Re: Backup over the internet.

2003-07-15 Thread Matthew Seaman
On Tue, Jul 15, 2003 at 09:08:15AM +, DanB wrote:
 What is the easy way to back up over the internet? What software should
 be used?

That's a rather vague question, which makes it pretty hard to give a
sensible answer, I'm afraid.

Ease is a very subjective thing.  There's certainly many more than one
way of achieving such tasks, many of which seem about equally easy to
me. Pretty much every Unix utility ever designed to copy the contents
of a filesystem onto a tape drive has the capability to access a
remote tape.  Even more: any utility capable of copying files from one
machine to another could be considered usable for backup purposes.

Generally copying the files from machine to machine is only half the
problem.  Setting up a backup schedule, making the backups run
automatically and unattended, testing that your backups are actually
fit for purpose (it's amazing how many people have only found out that
their tape drive had malfunctioned and wasn't writing anything on the
tapes at the point of trying to recover a crashed system...)
etc. etc. All need to be considered.

I can certainly point you at some manual pages for some commonly used
software.  See:

dump(8)
tar(1)
scp(1)
rsync(1)   [ports: net/rsync, http://rsync.samba.org/]
amanda [ports: misc/amanda-server, misc/amanda-client
http://sourceforge.net/projects/amanda/]

See also the SSH FAQ on how to set up ssh(1) (which all of dump(1),
scp(1) and rsync(1) run on top of) to do unattended logins:

http://www.snailbook.com/faq/no-passphrase.auto.html

Perhaps you would like to restate your question with a lot more detail
about exactly what you want to do and what your constraints are. Such
things as: how much data you have to backup; bandwidth limitations
between your server and where you're backing it up to; what sort of
device you're writing to; security requirements -- can the data be
transmitted across the internet in plaintext, or does it have to be
encrypted?  Can it be stored on the backup medium unencrypted? How can
you authenticate yourself to the backup server?

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: make install, portupgrade, etc broken

2003-07-15 Thread Jonathan
Tim Kellers wrote:
I think we've got 2 threads mixed here, but to review.
I cvsupped July 11 and did a make buildworld, make buildkernel 
KERNCON=CHANGLING, reboot make installworld, mergemaster on 3 different 
boxes.  All is/was well on 2 of the 3 boxes, but on the third any/every make 
install or portupgrade [filename] errors out with Error Code 1 right after 
make install checks for a previous installation.  The option 
FORCE_PKG_REGISTER=yes' allows the installation to completesuccessfully, 
the portupgrade -m  FORCE_PKG_REGISTER=yes' switch also succeeds.  I NFS 
mounted /usr/ports from the broken fileserver on a laptop (4.8-STABLE from 
same cvs updated sources) and I can make install or portupgrade with no 
errors at all.

pkg_info -q -O some/port on the laptop returns the package name of the 
installed port

pkg_info -q -O some/port on the fileserver returns:

pkg_info: package cvsupd-bin-16.1 has no origin recorded
pkg_info: package ghostscript-6.01_1 has no origin recorded
pkg_info: /var/db/pkg/jdk-tutorial-1.1.8/+CONTENTS: No such file or directory
I found this on Google which might help:

http://lists.freebsd.org/pipermail/freebsd-questions/2003-March/000349.html

which says:


 Upon attempts to use 'pkg_add' utility, I get a string of error messages
 such as the following:

pkg_add: package wterm-6.2.7a1 has no origin recorded
pkg_add: package wmtime-1.0b2 has no origin recorded
[...]
 2) Theories about what causes this condition.
(Least important)
That's easy - the packages are old enough that they didn't record
their origin.
 1) The methodology by which I can correct this error condition.
(Most important)
Installing newer versions of the packages is the obvious way. You can
also go into /var/db/pkg/wterm-6.2.7a1/+CONTENTS and add a line that
says @comment ORIGIN:x11/wterm after the @name line. There may be
other magic required as well, but this worked for the one I did it to.


Regards,

Jonathan

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


question about ports

2003-07-15 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello :)

I have 2 questions concerning the ports.

1. I need to apply a patch to a port so my modem could work with 
mgetty+sendfax; how do I do that ? Do I have to edit the Makefile or 
pass options to the make command ?

2. Can I have a port directory, like /usr/ports/personnal (or in another 
place), of my own that I can add to the regular ports tree ?

Thanks in advance for your answer.

Regards...

- -- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
pgp key: http://www.lphp.org/ressources/ajacoutot.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/E9BqY3Hnhkr+5cQRAjZLAJ9zGvD7sYRQdelDy8F59pzrKDsaHwCdGXwN
zF85ob6l1raAplvVNXHJrFY=
=3RoF
-END PGP SIGNATURE-

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


Re: question about ports

2003-07-15 Thread Jens Rehsack
Antoine Jacoutot wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello :)

I have 2 questions concerning the ports.

1. I need to apply a patch to a port so my modem could work with 
mgetty+sendfax; how do I do that ? Do I have to edit the Makefile or 
pass options to the make command ?
That's quite easy. See FreeBSD Porter's Handbook at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

Than you should check where your patch is to be applied to, either to 
the port (eg. for upgrading or fix fbsd specific behaviour) or to the 
original sources? If you can answer the first question with true, you 
should patch the according files, you know which. If the second answer 
is true, you should send your patches to the author/mailing list of the 
original sources.

Just to give you an example.
a) If I want to have the FreeBSD php4-port is able to work with thttpd,
   I have to update the lang/php4/Makefile and lang/php4/bsd.php.mk to
   recognize a new flag for the port and choosing it's dependencies
   right. This patch I will send to the FreeBSD Gnats database and to
   the ports maintainer using send-pr(1).
b) If I want php - just as example - be able to use libpopt (option
   parsing library, better than getopt()), I have to patch php and
   please the php developers to include the patch into the next release.
Is it clear so far? If not, feel free to ask again :-)

2. Can I have a port directory, like /usr/ports/personnal (or in another 
place), of my own that I can add to the regular ports tree ?
Yes, on you own machine you can have each directory you want. If you 
want to change something in the ports structure, you should ask the 
PortManagers at [EMAIL PROTECTED] and substantiate your requirement.

Thanks in advance for your answer.

Hope it helps a little bit.
Jens
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about ports

2003-07-15 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 15 July 2003 12:25, you wrote:
 Just to give you an example.
 a) If I want to have the FreeBSD php4-port is able to work with
 thttpd, I have to update the lang/php4/Makefile and
 lang/php4/bsd.php.mk to recognize a new flag for the port and
 choosing it's dependencies right. This patch I will send to the
 FreeBSD Gnats database and to the ports maintainer using send-pr(1).
 b) If I want php - just as example - be able to use libpopt (option
 parsing library, better than getopt()), I have to patch php and
 please the php developers to include the patch into the next
 release.

 Is it clear so far? If not, feel free to ask again :-)

Very clear, thank you :)
In fact I wanted to try adding an option in mgetty, like:
if WITH_USR=yes, then patch the mgetty source

### OT
(my USR Message Modem does not work well with voice+fax: received faxes 
are not well scaled but if using fax only mode with mgetty, the output 
is good; I think there's a problem when the modem is going from voice 
mode to fax mode... by the way if anyone is using this type of modem 
without problem with voice+fax, let me know, I won't even have to patch 
the sources :) ).
###

I'll have alook at the porters handbook.

 Yes, on you own machine you can have each directory you want. If you
 want to change something in the ports structure, you should ask the
 PortManagers at [EMAIL PROTECTED] and substantiate your
 requirement.

OK, but if I cvsup, won't my directory be erased ?

 Hope it helps a little bit.

I does, thanks a lot :)

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/E9hdY3Hnhkr+5cQRAuXSAJ9NLv9KzlLflJjLHv7/XeGptzRwvQCfVu4T
hrzmQSF/cm10CQYd1U33qZA=
=xkAY
-END PGP SIGNATURE-

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


Re: question about ports

2003-07-15 Thread Jens Rehsack
Antoine Jacoutot wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 15 July 2003 12:25, you wrote:
[...]

In fact I wanted to try adding an option in mgetty, like:
if WITH_USR=yes, then patch the mgetty source
This usually went this way, even if I don't want to prevent you from
asking the ports maintainer to accept/commit your patch. Usually you
create the patch against mgetty, send this patch to the mgetty
author(s). If they accept your patch and it's included into the next
release, the port may be enhanced with a flag 'WITH_USR' which enables
eg. the CONFIGURATION_ARGS '--with-usr'.
You can place the patch for mgetty into the files/ directory in the
port location, the name of the patchfile must start with patch- to be
applied automatically. You should create the patch in that way you will
submit it to the mgetty author(s), so you can prove it's full working
and don't blame yourself with sending broken code.
I'll have alook at the porters handbook.
It's a good start :-)

Yes, on you own machine you can have each directory you want. If you
want to change something in the ports structure, you should ask the
PortManagers at [EMAIL PROTECTED] and substantiate your
requirement.
OK, but if I cvsup, won't my directory be erased ?
Nope, only directories and files which were in the cvs tree before and
became deleted are deleted at your machine, too, when you've specified
'*default delete' in your cvsupfile.
Hope it helps a little bit.
I does, thanks a lot :)
No thanks, therefore is the questions@ list. AFAIK php has such a one, 
too, hm?

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


Re: dialup + virtual users

2003-07-15 Thread lewiz
On Tue, Jul 15, 2003 at 10:43:16AM +0400, VirVit wrote:
 Hello! What way should I choose to setup dialup with virtual users? I need
 users dialuped to my server so they can see only some services (dns, http,
 ftp) and that's all. No shell, no login, no smb, etc...

Well, I'd take a look at RADIUS or LDAP.  I'm not sure how they'd work
but they both provide a way of creating ``virtual'' users (but then,
what is a virtual user anyway if they can login?)

  Hope that's some help,

-lewiz.

-- 
Celebrate Hannibal Day this year.  Take an elephant to lunch.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: question about ports

2003-07-15 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 15 July 2003 12:51, Jens Rehsack wrote:
 This usually went this way, even if I don't want to prevent you from
 asking the ports maintainer to accept/commit your patch. Usually you
 create the patch against mgetty, send this patch to the mgetty
 author(s). If they accept your patch and it's included into the next

The mgetty authors are the one who told me to try this patch. I don't 
think they'll include it in their next release since it is a specific 
modem issue.

 Nope, only directories and files which were in the cvs tree before
 and became deleted are deleted at your machine, too, when you've
 specified '*default delete' in your cvsupfile.

Hey, this is great :)

 No thanks, therefore is the questions@ list. AFAIK php has such a
 one, too, hm?

yep...

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/E92mY3Hnhkr+5cQRAtEfAJ0ZBjZkEy6fVmRt996tlpVhBGkJPACfRcFO
1AI6izGEjB5ZDcEBqRk97vU=
=XCui
-END PGP SIGNATURE-

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


Re: question about ports

2003-07-15 Thread Jens Rehsack
Antoine Jacoutot wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 15 July 2003 12:51, Jens Rehsack wrote:

This usually went this way, even if I don't want to prevent you from
asking the ports maintainer to accept/commit your patch. Usually you
create the patch against mgetty, send this patch to the mgetty
author(s). If they accept your patch and it's included into the next
The mgetty authors are the one who told me to try this patch. I don't 
think they'll include it in their next release since it is a specific 
modem issue.
I think they do when the patch is approved. This patch is mgetty
specific, not FreeBSD specific.
So do as I described and send them your results.

Nope, only directories and files which were in the cvs tree before
and became deleted are deleted at your machine, too, when you've
specified '*default delete' in your cvsupfile.
Hey, this is great :)
That's FreeBSD :-)

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


Re: Attn: sed(1) regular expression gurus

2003-07-15 Thread Steve Coile
On Mon, 14 Jul 2003, D J Hawkey Jr wrote:
I'm getting really frustrated by a seemingly simple problem. I'm doing
this under FreeBSD 4.5.

Given these portions of an e-mail's multi-line Received header as tests:

  by some.host.at.a.com (Postfix) with ESMTP id 3A4E07B03
  by some.host.at.a.com (8.11.6) ESMTP;
  by some.host.at.a.different.com (8.11.6p2/8.11.6) ESMTP;
  by some.host.at.another.com ([123.4.56.789]) id 3A4E07B03
  by some.host.at.yet.another.com (123.4.56.789) id 3A4E07B03

# tested with sed-4.0.5-1 for RHL 9.0

# remove junk we don't care about
s/^.*by \([^ ]*\) (\([^)]*\)).*$/\1 \2/
 
# identify valid hostname
s/^[[:alnum:]][-[:alnum:]]*\(\.[[:alnum:]][-[:alnum:]]*\)*/host:/
 
# identify valid IP address (w/o brackets)
s/[[:digit:]]\{1,3\}\(\.[[:digit:]]\{1,3\}*\)\{3\}$/ipaddr:/
 
# identify valid IP address (w/brackets)
s/\[\([[:digit:]]\{1,3\}\(\.[[:digit:]]\{1,3\}*\)\{3\}\)\]$/ipaddr:\1/
 
# discard if no valid hostname or IP address
/\(^host:\| ipaddr:\)/!d
 
# if valid IP address, discard anything else
s/^.* ipaddr://
 
# if valid hostname, discard anything else
s/^host:\([^ ]*\).*$/\1/

-- 
Steve Coile
Systems Administrator
Nando Media
ph: 919-861-1200
fax: 919-861-1300
e-mail: [EMAIL PROTECTED]
http://www.nandomedia.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup over the internet.

2003-07-15 Thread DanB
As I understand it dump will not backup everything reading the Freebsd book. I
have a 1.5Mbps connection.   Files seems to be about 3.1 Gigs each on 4
different machines .  I have a freebsd box with extra 12 Gigs of space that I
can save to. I would like to save to a cd writer on the same machine it is  a
Liton CDRW but that other task getting it running to copy.  I think if I had a
choice
I would have my installation on a cd for the ports and freebsd I need. Then
save the data only.

Dan

Matthew Seaman wrote:

 On Tue, Jul 15, 2003 at 09:08:15AM +, DanB wrote:
  What is the easy way to back up over the internet? What software should
  be used?

 That's a rather vague question, which makes it pretty hard to give a
 sensible answer, I'm afraid.

 Ease is a very subjective thing.  There's certainly many more than one
 way of achieving such tasks, many of which seem about equally easy to
 me. Pretty much every Unix utility ever designed to copy the contents
 of a filesystem onto a tape drive has the capability to access a
 remote tape.  Even more: any utility capable of copying files from one
 machine to another could be considered usable for backup purposes.

 Generally copying the files from machine to machine is only half the
 problem.  Setting up a backup schedule, making the backups run
 automatically and unattended, testing that your backups are actually
 fit for purpose (it's amazing how many people have only found out that
 their tape drive had malfunctioned and wasn't writing anything on the
 tapes at the point of trying to recover a crashed system...)
 etc. etc. All need to be considered.

 I can certainly point you at some manual pages for some commonly used
 software.  See:

 dump(8)
 tar(1)
 scp(1)
 rsync(1)   [ports: net/rsync, http://rsync.samba.org/]
 amanda [ports: misc/amanda-server, misc/amanda-client
 http://sourceforge.net/projects/amanda/]

 See also the SSH FAQ on how to set up ssh(1) (which all of dump(1),
 scp(1) and rsync(1) run on top of) to do unattended logins:

 http://www.snailbook.com/faq/no-passphrase.auto.html

 Perhaps you would like to restate your question with a lot more detail
 about exactly what you want to do and what your constraints are. Such
 things as: how much data you have to backup; bandwidth limitations
 between your server and where you're backing it up to; what sort of
 device you're writing to; security requirements -- can the data be
 transmitted across the internet in plaintext, or does it have to be
 encrypted?  Can it be stored on the backup medium unencrypted? How can
 you authenticate yourself to the backup server?

 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

   
Part 1.2Type: application/pgp-signature

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


Re: Use linux_base-debian instead of linux_base?

2003-07-15 Thread Daniel Bye
On Mon, Jul 14, 2003 at 07:56:59PM +0100, Jonathan wrote:
 Kirk Strauser wrote:
 I've added this to my pkgtools.conf (and the portupgrade port is the 
 current
 version):
 
   ALT_PKGDEP = {
 'linux_base' = 'linux_base-debian'
   }
 
 but it doesn't seem to make a difference.  Do I have to do something to 
 make
 portinstall aware of that setting?
 
 My pkg_info says this:
 
 -su-2.05b# pkg_info | egrep -i linux_base
 linux_base-7.1_5The base set of packages needed in Linux mode
 
 
 So I'm guessing at:
 
 ALT_PKGDEP = {
   'linux_base-7.*' = 'linux_base-debian'
   }
 
 or something similar?

Try specifying the port name with its origin as well, something like
ALT_PKGDEP = {
'emulators/linux_base' = 'emulators/linux_base-debian',
}

instead.

You shouldn't need to worry about port version levels, etc, as portinstall
at al. will take its cue from the presence of the origin string, in this
case, emulators.

HTH,

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


Network interface NC7781

2003-07-15 Thread Hany
hi,

does any one knows if the network interface HP NC7781 Gigabit ethernet integrated with 
compaq(or HP) Proliant DL380 G3.

if it is not supported (which i suspect it) when it is planned and what is the 
solution until that time

thanks in advance for you help 

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


Re: Backup over the internet.

2003-07-15 Thread Mike Tancsa
Something piped through ssh using DSA keys.

e.g.

on the machine which you want backed up (client) to the machine where the 
backup file lives,

client machine:
su root
# if you have not yet created your ssh keys, do so now
ssh-keygen -d
on the server machine,

pw useradd clientmachineid -m
su clientmachineid
cd ~clientmachineid
ssh-keygen -d
cd .ssh
# from the client machine, put the root's id_dsa.pub and ONLY the .pub file 
here under the name authorized_keys2

#on the client machine,

ssh [EMAIL PROTECTED]

#if all goes well, you will login without a password.

Now the backups.

If you need to preserve file access times and want to do incremental 
backups, use dump. If you dont care about munging file access times, and 
its just simple files, tar will work.

/sbin/dump -0uan -f - / | gzip -9 | /usr/bin/ssh -2 -c blowfish 
[EMAIL PROTECTED] dd 
of=/pathtohomedirectory/clientmachineid/dump-root-l0.gz

/usr/bin/tar -cpzf - /usr/local/etc /etc/mail/ | ssh -c blowfish 
[EMAIL PROTECTED] cat -  
/pathtohomedirectory/clientmachineid/backup.`date +%d`.tgz

Blowfish is a bit faster than the others so I specify it.

---Mike

At 09:08 AM 7/15/2003 +, DanB wrote:
What is the easy way to back up over the internet? What software should
be used?
Dan

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

Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Network interface NC7781

2003-07-15 Thread Will Saxon
 -Original Message-
 From: Hany [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 8:01 AM
 To: [EMAIL PROTECTED]
 Subject: Network interface NC7781
 
 
 hi,
 
 does any one knows if the network interface HP NC7781 Gigabit 
 ethernet integrated with compaq(or HP) Proliant DL380 G3.
 
 if it is not supported (which i suspect it) when it is 
 planned and what is the solution until that time
 
 thanks in advance for you help 
 
 Hany

Hany,

These controllers are really Broadcom 5703Xs in disguise. They work fine with the bge 
driver.

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


Re: Seting the hardware clock

2003-07-15 Thread Lowell Gilbert
stan [EMAIL PROTECTED] writes:

 ;m struggling with getting the hardware clock (BIOS clock) equal to the
 kernels time.
 
 On my Linux boxes a utility called hwclock is run on the way down to
 synchronize the 2.
 
 The problem I'm running into is that if the time on the system gets to far
 out of date for ntpd to bring it into synch, then I can update the kernels
 clock with ntpdate. But when I reboot the old incorrect time comes back.
 
 I ran into this during some software testing, that required setting the
 clock pretty far off of real time, and it was a PIA to get the machine back
 to the correct time.
 
 How _should_ this be handled?

Most people run ntpdate before starting ntpd.
The rc.conf enable flags for the two programs support this.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup over the internet.

2003-07-15 Thread Alvin Gunkel
I've been using a program called rdiff-backup (
http://rdiff-backup.stanford.edu/ ), based on librsync.  This package
creates a mirror of your server (or any portion thereof) on a remote
server, and keeps track of changes.  It only sends changes (ie diff)
across the wire, including binaries, so after the initial copy it's pretty
bandwidth efficient.

It's not in ports ( or wasn't recently ) and takes a little extra work to
build it, but IMHO it's well worth the effort.

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


Re: Backup over the internet.

2003-07-15 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 15 July 2003 14:29, Alvin Gunkel wrote:
 I've been using a program called rdiff-backup (
 http://rdiff-backup.stanford.edu/ ), based on librsync.  This package
 creates a mirror of your server (or any portion thereof) on a remote
 server, and keeps track of changes.  It only sends changes (ie diff)
 across the wire, including binaries, so after the initial copy it's
 pretty bandwidth efficient.
 It's not in ports ( or wasn't recently ) and takes a little extra
 work to build it, but IMHO it's well worth the effort.

Is now :)
I'm using it too and it works great.

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/E/0tY3Hnhkr+5cQRAhClAJ9thjTvh1NthhCgFbjLGLGwhqxUDgCfTSlg
l93Len1/NHGA8ae1mYddg7A=
=vdFH
-END PGP SIGNATURE-

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


Kernel load balancing

2003-07-15 Thread Derek Marcotte
Hi,
I have posted an ealier question to this effect that could
provide more context:

(wrapped)
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=827757+0+archive/2003/freebsd-questions/20030713.freebsd-questions

I would like to know where I can find out if FreeBSD spreads the
network load across 2 interfaces of equal weight to the same
subnet, or if it just tries to push everything out the lowest
numbered interface.

Cheers,
Derek

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


Bandwidth Monitoring

2003-07-15 Thread David Loszewski
Say I have a 20GB Data Transfer limit per month, is there a way to
monitor how much of that limit I've used up? MRTG doesn't seem to do the
job.

-- 
David Loszewski
[EMAIL PROTECTED]
BSDAdmins.net - Your #1 source for BSD Collaboration!

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


Re: Bandwidth Monitoring

2003-07-15 Thread Rus Foster
On Tue, 15 Jul 2003, David Loszewski wrote:

 Say I have a 20GB Data Transfer limit per month, is there a way to
 monitor how much of that limit I've used up? MRTG doesn't seem to do the
 job.

Hi,
Look at IOG from the ports tree. Will give you the info you want. We use
it here

Rgds

Rus
-- 
www: http://www.65535.net   | Hosting - Shell Accounts
MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo
e: [EMAIL PROTECTED]   | Community: http://www.65535.org
t: +44 (0) 7092016595   | 10% Donation on every FreeBSD product
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Seting the hardware clock

2003-07-15 Thread stan
On Tue, Jul 15, 2003 at 08:32:23AM -0400, Lowell Gilbert wrote:
 stan [EMAIL PROTECTED] writes:
 
  ;m struggling with getting the hardware clock (BIOS clock) equal to the
  kernels time.
  
  On my Linux boxes a utility called hwclock is run on the way down to
  synchronize the 2.
  
  The problem I'm running into is that if the time on the system gets to far
  out of date for ntpd to bring it into synch, then I can update the kernels
  clock with ntpdate. But when I reboot the old incorrect time comes back.
  
  I ran into this during some software testing, that required setting the
  clock pretty far off of real time, and it was a PIA to get the machine back
  to the correct time.
  
  How _should_ this be handled?
 
 Most people run ntpdate before starting ntpd.
 The rc.conf enable flags for the two programs support this.
 

OK, that's exactly what I _am_ doing. So here is teh scenario that creates
the problme.

1. Set the hardware clock to some truly strange time (for testing
software).

2. Reboot.

   a. time is set by the BIOS to the wrong time
   b. ntpdate corrects this (for the kernel).
   c. ntp keeps the time acurate (for this run session).

3. shutdown (BIOS time is not corrected).

See the problem?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


amanda-clent prt and gtar

2003-07-15 Thread stan
I'm having trouble getting the amanda-client port to build. It has a
dependency on gtar, and when it tries to build this dependency, the gtar
port simply says that gtar is in the base system now.

How can I work around this?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Having a hard time finding some packages

2003-07-15 Thread stan
I've got a couple of machines that I'm building. Since I'm having trouble
geting acouple of the ports to build, and I'm (as usual) under time
pressure to get them into production, I thought I would just install these
2 as packages.

However, when I look in:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All

I don't see either a galeon or an amanda-client package.

Am I looking in the wrong place?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can I tell whether dump used -L or not ?

2003-07-15 Thread Josh Brooks

Hello,

A new option in FreeBSD 5.x `dump` is the -L option for backing up a
live filesystem ...

Is there a way to examine/check a dump file to see if it was created
using the -L or not ?

ALSO, if I do use -L when creating a dump, do I need to restore it any
differently, or can I restore it the same regardless of whether I used -L
or not ?


thanksyou!



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


http://docs.freebsd.org/cgi/getmsg.cgi?fetch=278021+0+archive/2002/freebsd-current/20020825.freebsd-current

2003-07-15 Thread Radko Keves
;), Tue, Jul 15, 2003 at 02:55:24PM +0300, Administrator Assistant said that
 Hello, Radko!
 
 I have the same trouble on my hosting machine. All was ok until... I don't know 
 what... The same:
 
 Jul 15 14:22:00 lena /usr/sbin/cron[768]: (operator) CMD (/usr/libexec/save-
 entropy)
 Jul 15 14:22:26 lena kernel: drop session, too many entries
 Jul 15 14:23:22 lena syslogd: restart
 Jul 15 14:23:22 lena syslogd: kernel boot file is /boot/kernel/kernel
 
 I have tried to do:
 /sbin/ipfw add 1500 allow log tcp from any to ${ip} dst-port 80 limit src-addr 4
 but I think it doesn't help here... In fact without log options it reboots...
 
 Tried to double count of:
 # cat /etc/sysctl.conf | grep dyn_max
 net.inet.ip.fw.dyn_max=8192
 
 But it's also how I see doesn't help...
 # uname -rs
 FreeBSD 5.0-RELEASE
 
 IF YOU HAVE SOLVED THIS PROBLEM OR KNOW WHO CAN, PLEASE FORWARD THIS MAIL TO 
 HIM AND MAIL ME BACK YOUR ANSWER!
 
 P.S. Please mail this to freebsd mailing list too...
 
 --
 With best regards, Maksims Korzanovs aka TiM
 [EMAIL PROTECTED]



hi

do you try to read mailing list ?


-
D. Penev [EMAIL PROTECTED], 20 Aug 2002:

this kernel message means that you have reached the limit of sessions
per ipfw rule that was set with limit option.



-
-
and now my part :)
for example:

ipfw add 4300 allow all from any to me setup limit src-addr 4


-
part of man:

 If the ruleset includes one or more rules with the keep-state or limit
 option, then ipfw assumes a stateful behaviour, i.e. upon a match
it will create dynamic rules matching the exact parameters (addresses and
ports) of the matching packet.
 These dynamic rules, which have a limited lifetime, are checked at
the first occurrence of a check-state, keep-state or limit rule, and
are typically used to open the firewall on-demand to legitimate traffic
only.
 See the STATEFUL FIREWALL and EXAMPLES Sections below for more
information on the stateful behaviour of ipfw.
-
again part of man:

 Dynamic rules expire after some time, which depends on the status
of the flow and the setting of some sysctl variables.  See Section SYSCTL
VARIABLES for more details.  For TCP sessions, dynamic rules can be
instructed to periodically send keepalive packets to refresh the
state of the rule when it is about to expire.

...

 A first and efficient way to limit access (not using dynamic rules)
is the use of the following rules:

   ipfw add allow tcp from any to any established
   ipfw add allow tcp from net1 portlist1 to net2 portlist2 setup
   ipfw add allow tcp from net3 portlist3 to net3 portlist3 setup
   ...
   ipfw add deny tcp from any to any


-   
If you use dynamic rules don't forget use:

ipfw add check-state


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


Re: contigmalloc1 panic on install

2003-07-15 Thread mark tinguely

  Regarding this issue, I've got a 5.1-CURRENT snapshot (as of 7-9) which is
  still displaying this problem.  I have a debug kernel and can provide some
  more detail :

  agp0: Ali Generic host to PCI bridge mem 0xf800-0xfbff at device
  0.0 on pci0
  agp0: allocatnig GATT for aperture size 0M
  panic: contigmalloc1: size must not be 0
  Debugger(panic)
  Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0

there is really two problems (in my opinion):

1) AGP_GET_APERTURE() is failing to return the aperture.
2) agp_alloc_gatt() should return an error (0) if AGP_GET_APERTURE()
   fails instead of malloc/contigmalloc. This would result in no
   monitor use, but that would be better than a panic.

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


Pkg_info issue

2003-07-15 Thread John Straiton
Greets!
We had a server that was in bad enough shape after being in
production for a few years that sometimes the simple tests done during a
./configure would core-dump instead of returning. To cure the problem,
we did a mass pkg_delete with the intent of reinstalling everything.
This worked great and the machine is very healthy now. We do however
have 1 issue that sprung up. My pkg_info is screwy. Whereas I'm used to
1 package per line, we have some that are all mushed together, as seen
here:

ImageMagick-5.5.6_1 Image processing tools (interactive
optional--misc/display 
XFree86-libraries-4.3.0_5 XFree86-4 libraries and headers
apache+mod_ssl-1.3.27+2.8.14 The Apache 1.3 webserver with SSL/TLS
functionality
aspell-0.50.3_1 Spelling checker with better suggestion logic than
ispell
autoconf-2.53_1 Automatically configure source code on many Un*x
platformsautomake-1.5,1  GNU Standards-compliant Makefile
generatorbash-2.05b.007  The GNU Bourne Again Shellbison-1.75
A parser generator from FSF, (mostly) compatible with Yacc
bzip-0.21   A block-sorting file compressorcclient-2002c1_1,1
Mark Crispin's C-client mail access routinescups-base-1.1.18.0_5 The
Common UNIX Printing System: headers, libs,  daemons
cvsup-16.1h General network file distribution system optimized
for CVS 
expat-1.95.6_1  XML 1.0 parser written in C
fontconfig-2.2.1An XML-based font configuration API for X Windows
freetds-0.61_1  Sybase/Microsoft TDS protocol library
freetype2-2.1.4_1   A free and portable TrueType font rendering engine

Notice the automake being part of the prior line along with bash-2 ,et
al?  We have about 20 such lines. Any suggestions on how to clean this
up?

John Straiton
Jks @ clickcom.com
Clickcom, Inc
704-365-9970x101 


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


RE: dialup + virtual users

2003-07-15 Thread fbsd_user
Your question is very vague. The solution for am ISP with 100's of
dialin users is very different from the solution for a home server
that you want to allow some friends to dialin to share your internet
connection. Which one are you? When it comes to restricting what
functions the dialin user can use, you would use a firewall to
control that. For a newbe I would recommend the FBSD built in
IPFILTER firewall over the IPFW as it's much simpler to setup and
use. And most important the IPFILTER documentation is much better
than IPFW.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of VirVit
Sent: Tuesday, July 15, 2003 2:43 AM
To: [EMAIL PROTECTED]
Subject: dialup + virtual users

Hello! What way should I choose to setup dialup with virtual users?
I need
users dialuped to my server so they can see only some services (dns,
http,
ftp) and that's all. No shell, no login, no smb, etc...

--
   (VirVit)
-  

___
[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: Modem replies to commands mostly not seen.

2003-07-15 Thread fbsd_user
I have a USR sportster 14.4 external serial modem which works fine
under FBSD 4.8.

Dip switches 3-7-8 are set to 'on' which is down, all others are set
to off which is up.
3 = display result codes
7 = load factory defaults
8 = smart mode

Modem has to be powered on before you boot FBSD box modem is cabled
to.  Modem is found and listed in /var/run/dmesg.boot file. During
PC post process a summary PC hardware config screen shows the irq's
assigned to hardware. Check this summary screen to verify the irq
assigned to modem is not shared with other hardware. If it is, go
into pc bios to change, be sure bios plug-n-play option is disabled,
and serial ports are enabled.  I use TIP command to issue Hayes AT
commands. If you get an OK response to AT command, then you are
talking to modem just fine and it's working.  If you still have
problems, post dmesg.boot file and use the script command to log
your TIP command test output to a file and post that also. Most PC's
have 2 serial ports, try cabling modem to different port and test
again. Can you run mswindows on the pc to verify serial port and
modem work.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gary W.
Swearingen
Sent: Monday, July 14, 2003 2:27 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Modem replies to commands mostly not seen.

fbsd_user [EMAIL PROTECTED] writes:

 Sounds like you have echo turned off in the modems internal prom
 setting. Use Hayes AT command to turn on echo function of modem
 hardware.   Did these modems you tested work ok in FBSD 4.8?

I tried the external Sportster under 4.8 but after it wouldn't work,
I upgraded to 5.1 to lower the chances of having to go through this
again when I did switch.

I have modem manuals and played with dip switches and lots of AT
commands including ATE1 (keyboard commmands), ATF0 (I think
that's only for data that the modem sends out the phone line),
ATX4
(result codes), re-init commands ATZ, ATZ1-ATZ5, ATF1, and many
others.  I've been through this several times before (on Linux) and
think I know what I'm doing (except I've never understood the
interactions of stty and serial-port-using programs like terminal
emulators.  It's strange that ATI gives it's results if I press
keys, but AT or $ don't.

I've found a place to do my FAXing, so the pressure's off on getting
this fixed.

BTW, my other question was about the dmesg files, but I should have
thought of the HISTORY_SIZE thing for at least the console.
(/var/run/dmesg.boot has 943 lines of nothing I care about.)
Someone suggested kern.consmsgbuf_size=16384.

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

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


scp+find, a little help please

2003-07-15 Thread Per olof Ljungmark
Hi,

Need to set up scp to copy only newer files and directories between two 
computers.

The basic setup is like:
scp -pr [EMAIL PROTECTED]:find command host2:/dir
What would be a suitable find command here?

Thanks,

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


Re: amanda-clent prt and gtar

2003-07-15 Thread Matthew Seaman
On Tue, Jul 15, 2003 at 09:39:01AM -0400, stan wrote:
 I'm having trouble getting the amanda-client port to build. It has a
 dependency on gtar, and when it tries to build this dependency, the gtar
 port simply says that gtar is in the base system now.
 
 How can I work around this?

# cd /usr/ports/misc/amanda-client
# make WITHOUT_GNUTAR=yes install

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


Linux Debian Base?

2003-07-15 Thread Person, Roderick
I see that there is a Debian Linux Base in the ports.

I can't seem to find any details on the Debian base and the differences
between the current RH7 and RH6. I was wondering what are the precieved
benefits if any are. 

I tried to do a install last night but get a few errors that I did have time
to try a fix, it was late.

Any links to more information would be appreciated.

Roderick Person 
Programmer
http://www.ccbh.com

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


RE: configuring dial-up for extreme novices (i.e. Mom).

2003-07-15 Thread fbsd_user
Yes you can do what you have described. User ppp has a mode that
will not dial out until network services are needed by user. Give
your Mom a script to run which will start fetchmail, user ppp will
automatically start and call your ISP and connect, fetchmail will
complete. Then have commands in script to kill fetchmail and user
ppp, and start Mutt to read mail from postfix.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan
Langille
Sent: Monday, July 14, 2003 6:56 PM
To: [EMAIL PROTECTED]
Subject: configuring dial-up for extreme novices (i.e. Mom).

Hi folks,

My mom has been using FreeBSD via DSL for some time.  I'm about to
move her to dial up.  I'm going to use userland ppp and postfix.

My initial untested idea is to create a script for her which will:
- ppp --dial HerISP,
- wait for the connection to come up
- then flush the mail queue
- run fetchmail to grab anything waiting
- kill the connection

Anyone already done this?  Any suggestions?

I originally asked this back in March, but now the time has come to
actually do the work.  The original thread is
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1441965+0+archive/2003/
fr
eebsd-questions/20030316.freebsd-questions
--
Dan Langille : http://www.langille.org/

___
[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: Linux Debian Base?

2003-07-15 Thread lewiz
On Tue, Jul 15, 2003 at 11:29:56AM -0400, Person, Roderick wrote:
 I see that there is a Debian Linux Base in the ports.
 
 I can't seem to find any details on the Debian base and the differences
 between the current RH7 and RH6. I was wondering what are the precieved
 benefits if any are. 

I don't know specifically but I've noticed there has been some
discussion in the Ports mailing list.  Maybe you could have a look at
Google Groups :)

  Best wishes,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: scp+find, a little help please

2003-07-15 Thread jan.muenther

Hi there,

 Need to set up scp to copy only newer files and directories between two 
 computers.
 
 The basic setup is like:
 scp -pr [EMAIL PROTECTED]: host2:/dir
 
 What would be a suitable find command here?

Erm, newer than *what*? find needs a file as a comparison parameter to
detetermine whether another file is newer than it or not. I assume you
mean you want to copy only files from host1 to host2 which exist on both
machines, with host1 potentially holding newer versions that should get
synchronized to host2. 

Before you break your neck with (absolutely well possible) scripting
solutions, I suggest you have a look at rsync, which uses SSH for
transport by default now as well.
Or maybe check out rdiff-backup, of which a port has just been submitted
(AFAIK) if a backup is what you're after:

http://rdiff-backup.stanford.edu/

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


getting arp cache entry reliably

2003-07-15 Thread Tobias Roth
Hi

i have the following task to do:

i need to get the mac adress of my first upstream router (i.e my default
router). there are a number of constraints, however:

1) detection has to be as fast as possible, but 100% reliable
2) i can only use tools from /bin and /sbin, nothing from under /usr.
3) it has to be done from a shell script without any external c hacks.
4) all information i have at this point is the fixed IP adress of the
router.

right know i am doing this:

i configure my interface with an arbitrary ip (any IP from within the
RFC 1918 adress space, notably NOT within the same subnet as the router).
i cannot just use an ip within the same subnet as the router is because i
do not want to disturb the network.
next i set my default route to my interface
then i ping the router
after that, i have an entry in my arp cache which i read with the route
command and parse with the sh builtin expr.

this looks at follows (my router is 192.168.1.1):

ifconfig fxp0 10.11.12.13
ifconfig fxp0 up
route add default -interface fxp0
ping -c 5 -t 5 -m 1 -n -q 192.168.1.1
route=` route -n -v get 192.168.1.1 `
macaddr=`expr //${route} : .* 192.168.1.1 \(.*\) fxp0.*10.11.12.13$ `

my problem with the above sequence is: sometimes i get an arp cache entry,
sometimes i don't. i've tried varying the -c and -t flags of ping with
little success.

as there a better way of doing this, or are some other flags to ping more
promising?

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


Disk Failure?

2003-07-15 Thread Stephen Bader
Whenever I try to dump /var on one of our machines, I receive the
following errors from dump:

  DUMP: 30.11% done, finished in 1:56
  DUMP: read error from /dev/da1s1e: Invalid argument: [block
-1245853416]: count=16384
  DUMP: read error from /dev/da1s1e: Invalid argument: [sector
-1245853416]: count=512
  DUMP: read error from /dev/da1s1e: Invalid argument: [sector
-1245853415]: count=512
  DUMP: read error from /dev/da1s1e: Invalid argument: [sector
-1245853414]: count=512

It prints the above error about 500 times, and then completes the dump
(but I'm sure the data is not all there, due to the above error).

My question is, is this an indicator of a failing disk, or just a disk
that needs to be fsck'd? This is a very busy machine, and I'm also curious
if this may be caused by the fact that logs and email are being written to
the partition while the dump is going on, and if that would cause the
above error.

TIA!

-Steve


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


Xfree GeForce 256 viewsonic E790

2003-07-15 Thread easlyneanar lorennan

   Well after get some clue from people i tried to setup my xfree server
   again with:

   Xfree 4.3 (rlz fbsd 4.8)
   I tried drivers for my video card: nv GeForce 256, vesa, and vga
   generic
   i tried for my monitor: spec : FH 30 - 95 hz (company spec)
  FV 50 - 200 hz (company
   spec)
   i tried after : 640X480 (who suppose to be generic mode)

   i tried each of those setting for each drivers i tried.

   All those setup failed to work. If someone had the same config and
   success to make it working let me know how you did it and if someone
   have idea you're welcome :)

   thanks in advance
 _

   Add photos to your messages with [1]MSN 8. Get 2 months FREE*.

References

   1. http://g.msn.com/8HMNEN/2749??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scp+find, a little help please

2003-07-15 Thread Per olof Ljungmark
Erm, newer than *what*? find needs a file as a comparison parameter to
detetermine whether another file is newer than it or not. I assume you
mean you want to copy only files from host1 to host2 which exist on both
machines, with host1 potentially holding newer versions that should get
synchronized to host2. 

Before you break your neck with (absolutely well possible) scripting
solutions, I suggest you have a look at rsync, which uses SSH for
transport by default now as well.
Or maybe check out rdiff-backup, of which a port has just been submitted
(AFAIK) if a backup is what you're after:
Last time I looked at rsync it did not create new directories, perhaps 
that changed? Or maybe I'm completely wrong... I'll have a look at rdiff 
then.

But as you say, it should be perfectly possible with scp too -

Thanks,

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


Re: sed(1) regular expression gurus - SOLUTION

2003-07-15 Thread D J Hawkey Jr
First off, thanks to all of you who scratched their heads over this
puzzle. All had the right idea to some extent or another.

Based in part on the replies, and my own work, here's the final result:

FOLDER=$HOME/Mail/spam

NAME_RE=[[:alnum:]_.-]+
ADDY_RE=([0-9]{1,3}\.){3}[0-9]{1,3}

cat $FOLDER \
  |grep -A 5 ^Received: \
  |egrep ^(Received:|  ) \
  |sed -E \
-e s/(^Received:|by|from)[[:space:]]+//g \
-e s/\([HELO]{4}[[:space:]]+($NAME_RE)\)/\1/ \
-e s/\(($NAME_RE)[[:space:]]+\[($ADDY_RE)\]\)/\1 \2/g \
-e s/(\(\[?|\[)($ADDY_RE)(\]|\]?\))/\2/g \
-e s/[[:space:]]*(\(|id|via|with|E?SMTP|;).*// \
-e s/(\(envelope-|for|Sun|Mon|Tue|Wed|Thu|Fri|Sat).*// \
-e s/[][(){}]//g \

Note that the whitespace in the second pipe is one tab character.

The first two pipes isolate the multi-line headers. The first sed
command strips keywords and any following whitespace. The second
sed command returns the name in a parenthetical HELO or EHLO. The
third sed command returns the name and address in a (... [...]).
The fourth sed command - the one I inquired about - returns the
address in any of (...), ([...]), or [...]. The fifth sed
command strips possible whitespace, keywords or an opening
parenthesis (now that it's of no consequence), and anything after
them. The sixth sed command strips more keywords and anything
after them (it might be merged into the fifth, what it strips is
often on another line). Finally, the last sed command strips any
errant delimiters; strictly speaking, it's redundant, but when I
ran a spam file (~12.3Mb) through this, some delimiters did leak
through.

Just thought those that replied to my plea might like to see this,
and perhaps somebody else will find it useful. No, I'm not telling
what it's for.  ;-,

Dave

-- 
  __ __
  \__   \D. J. HAWKEY JR.   /   __/
 \/\ [EMAIL PROTECTED]/\/
  http://www.visi.com/~hawkeyd/

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


Re: GNOME/CUPS printing.

2003-07-15 Thread lewiz
On Mon, 2003-07-14 at 19:50, Glenn Johnson wrote:
  If you do have it installed then you may want to uninstall it then
  reinstall a make world might have wiped it out.
 
 The cups-lpr port will install its binaries in /usr/local and is
 _not_ wiped out by a 'make world'.  You just have to remember to use
 /usr/local/bin/lpr rather than /usr/bin/lpr.  Setting the PATH so that
 /usr/local/bin comes before /usr/bin is first is an easy way to solve
 the problem.

Okay, sorry I'm so late replying here (I've been quite busy :) but I
think this may be the issue I'm having.  I've been reading through the
libgnomeprint files in /usr/X11R6/share/gnome/libgnomeprint but I don't
think I should be editing those.  Is there any way I can set a default
location to lpr (other than with symlinks or by changing the PATH), much
like, for instance, the /etc/mail/mailer.conf file works?  Thanks very
much,

  Best wishes,

-lewiz.

-- 

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


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


Re: Modem replies to commands mostly not seen.

2003-07-15 Thread Gary W. Swearingen
fbsd_user [EMAIL PROTECTED] writes:

 I have a USR sportster 14.4 external serial modem which works fine
 under FBSD 4.8.

 Dip switches 3-7-8 are set to 'on' which is down, all others are set
 to off which is up.
 3 = display result codes
 7 = load factory defaults
 8 = smart mode

Which my 14.4 internal's manual recommends for software flow control
(which is recommended only if the cable doesn't support hardware
handshaking which almost all cables do support).  Except it recommends
switch 5 be on/down too.  It doesn't bother to describe the switches,
but my other manual says it's for auto answer so it's position
shouldn't matter for this problem.  Of course, my internal modem has
no switches at all, so it can't help with the internal modem problem.

FreeBSD surely should support hardware flow control (it's in stty),
but I guess I can try an XON/XOFF configuration; I don't have a
distinct memory of trying that on the external modem.

 Modem has to be powered on before you boot FBSD box modem is cabled
 to. 

Now, THAT could be my problem in the case of the external modem.  I
thought the drivers were smarter than that; rebooting is nasty, when
serial lines are hot-pluggable.  I'll try the external modem again.

 again. Can you run mswindows on the pc to verify serial port and
 modem work.

I've no mswindows to run, but I've tried three different serial ports
on the motherboard and ISA card.  I've probably tried the other things
you suggested; I hoped there would be some hints about software
configuration that I had missed.  But I can do more experiments with
other modems and other computers and Linux to determine whether the
problem is in the hardware or software.

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


Re: make index strangeness after today's cvsup of ports tree

2003-07-15 Thread Kent Stewart
On Tuesday 15 July 2003 12:59 am, Matthew Seaman wrote:
 On Mon, Jul 14, 2003 at 06:51:51PM -0700, Kent Stewart wrote:
  On Monday 14 July 2003 01:59 pm, Stacey Roberts wrote:
   On Mon, 2003-07-14 at 21:36, Matthew Seaman wrote:
happy-idiot-talk:...ports/x11/xstroke:% make -V PORTSDIR
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
cd: can't cd to /devel/libgnugetopt
...
  
   Thanks for that explanation.., I imagine this is another one of
   those things that eventually sorts itself out..,
 
  The other thing that is happening is the following.from a dmesg
 
  maxproc limit exceeded by uid 0, please see tuning(7) and
  login.conf(5). maxproc limit exceeded by uid 0, please see
  tuning(7) and login.conf(5). maxproc limit exceeded by uid 0,
  please see tuning(7) and login.conf(5).
 
  You get 3 or 4 of these while all of the above is going on.

 Yes.  make(1) is invoking itself recursively because of this bug. 
 The aposite term is fork bomb.  Eventually you'll run out of system
 resources and the command will fail.  When Stacey said sorts itself
 out, I believe he was talking about getting fixes committed to the
 ports tree.  He didn't mean that there would be loads of error
 messages printed out, and then the command would succeed anyhow.


The are a number of problems with building an INDEX[-5] at this point. 
The bitch message from Bento seems to be turned off at this moment. 
With out its constant reminder, things don't seem to get sorted out as 
fast :).

The make index runs with your latest patch but a make index on a 
5-current systems shows some of the problems that exist with 
/usr/ports/print and the epson printers. On a 4-stable system, you 
don't see the message but you can view an INDEX and the entry for 
pips2200 and the entries for a number of nearby ports looks strange.

On a 5-current system, there are many other messages for other ports.  
These just stand out above the rest.

One side effect, it caused me to deal with my local mirror. I had it on 
a small HD and had never got around to adding the last 256MB of memory. 
Everything was on the system that I was using to do my builds on. Doing 
builds from KDE on the machine with the mirror was causing a little bit 
of swaping. Moving the mirror to a different system left a lot more 
machine available for portupgrade's tools to do their thing while the 
port structure was being updated on the other systems.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


/etc/login.conf password formatting

2003-07-15 Thread Kris Yates
Please send replies directly to me as I do not have time to check the 
list as often as I would like..

Currently, it appears that some passwords on my system are DES, most are 
MD5.  I found the following below recently, a suggestion to switch to 
blowfish.  I am down with that!  If I change the following (as shown 
below) in /etc/login.conf, will the system still decrypt the old DES and 
MD5 entries, ie. nothing will break in this regard?

   :passwd_format=blf:\

   	

   # change the password encryption to Blowfish instead of the default md5

Thanks,

Kris

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


Re: Changing pkg-plist

2003-07-15 Thread Chuck Swiger
Remington L. wrote:
I am currently working on creating my first port. The port installs a
library to ${HOME/.blah/something.so
When I write the pkg-plist it only looks at the /usr directorys. How can I
get this changed, documentation on this subject is hard to find. And
oppologies if this is the wrong list, perhaps someone can direct me to the
right place :)
You should ask about ports on the [EMAIL PROTECTED] mailing list.

Anyway, the directory tree that ports get installed under is known as the 
$PREFIX, and defaults to /usr/local.  A port isn't allowed to change the install 
prefix (because the user might change it),  Someone using this port of yours 
could do a make PREFIX=/home/user install to place it under their homedir, if 
that's something you want to look into.

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


Re: make index strangeness after today's cvsup of ports tree

2003-07-15 Thread Matthew Seaman
On Tue, Jul 15, 2003 at 10:10:54AM -0700, Kent Stewart wrote:
 On Tuesday 15 July 2003 12:59 am, Matthew Seaman wrote:
  On Mon, Jul 14, 2003 at 06:51:51PM -0700, Kent Stewart wrote:
   On Monday 14 July 2003 01:59 pm, Stacey Roberts wrote:
On Mon, 2003-07-14 at 21:36, Matthew Seaman wrote:
 happy-idiot-talk:...ports/x11/xstroke:% make -V PORTSDIR
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 cd: can't cd to /devel/libgnugetopt
 ...
   
Thanks for that explanation.., I imagine this is another one of
those things that eventually sorts itself out..,
  
   The other thing that is happening is the following.from a dmesg
  
   maxproc limit exceeded by uid 0, please see tuning(7) and
   login.conf(5). maxproc limit exceeded by uid 0, please see
   tuning(7) and login.conf(5). maxproc limit exceeded by uid 0,
   please see tuning(7) and login.conf(5).
  
   You get 3 or 4 of these while all of the above is going on.
 
  Yes.  make(1) is invoking itself recursively because of this bug. 
  The aposite term is fork bomb.  Eventually you'll run out of system
  resources and the command will fail.  When Stacey said sorts itself
  out, I believe he was talking about getting fixes committed to the
  ports tree.  He didn't mean that there would be loads of error
  messages printed out, and then the command would succeed anyhow.
 
 
 The are a number of problems with building an INDEX[-5] at this point. 
 The bitch message from Bento seems to be turned off at this moment. 
 With out its constant reminder, things don't seem to get sorted out as 
 fast :).

Hmmm... A lot to do with the recent import of gcc-3.3.1 as the system
compiler in 5-CURRENT, I think.  Seems that gcc just gets stricter and
stricter on the C++ syntax as time goes by.  Still, it shouldn't be as
much effort to fix as during that great long ports freeze before
5.0-RELEASE came out.
 
 The make index runs with your latest patch but a make index on a 
 5-current systems shows some of the problems that exist with 
 /usr/ports/print and the epson printers. On a 4-stable system, you 
 don't see the message but you can view an INDEX and the entry for 
 pips2200 and the entries for a number of nearby ports looks strange.

Yes --- a different patch was committed to the ports tree about 7
hours ago now.  However you cut it, that problem is fixed.
 
 On a 5-current system, there are many other messages for other ports.  
 These just stand out above the rest.

4.8-STABLE does a 'make index' pretty smoothly.  No error messages at
all, usually.

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: /etc/login.conf password formatting

2003-07-15 Thread Ceri Davies
On Tue, Jul 15, 2003 at 12:20:18PM -0500, Kris Yates wrote:
 Please send replies directly to me as I do not have time to check the 
 list as often as I would like..
 
 Currently, it appears that some passwords on my system are DES, most are 
 MD5.  I found the following below recently, a suggestion to switch to 
 blowfish.  I am down with that!  If I change the following (as shown 
 below) in /etc/login.conf, will the system still decrypt the old DES and 
 MD5 entries, ie. nothing will break in this regard?
 
:passwd_format=blf:\

Correct, but don't forget to rebuild the capability database afterwards
as mentioned at the top of /etc/login.conf.

Also, for completeness, you should also change the crypt_default line
in /etc/auth.conf to read:

crypt_default   =   blf md5 des

Ceri
-- 
User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR?
Iniaes: Sure, I can accept all forms of payment.
   -- www.chatterboxchallenge.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel load balancing

2003-07-15 Thread Chuck Swiger
Derek Marcotte wrote:
[ ... ]
I would like to know where I can find out if FreeBSD spreads the
network load across 2 interfaces of equal weight to the same
subnet, or if it just tries to push everything out the lowest
numbered interface.
FreeBSD doesn't want you to put multiple NICs on the same subnet, modulo the 
following section from man bridge:

 By putting both physical and logical (vlanX) interfaces in the same clus-
 ter, a FreeBSD box can also implement what in commercial terms is called
 a trunk interface. This means packets coming from one of the interfaces
 in the cluster, will appear on the wire on the parent interfaces of any
 vlan interface belonging to the cluster, with the proper VLAN tag. Simi-
 larly, packets coming from a parent interface, will have the VLAN tag
 stripped and will be forwarded to other interfaces on the same cluster.
 See the EXAMPLES section for more details.
Do you want to do trunking for extra bandwidth, for redundancy in case of 
failure...what problem are you trying to solve?

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


md5 files

2003-07-15 Thread dark matrix
im runnig windows xp pro

once i have downloaded freebsd image files
how do I run an md5 test
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: scp+find, a little help please

2003-07-15 Thread Chuck Swiger
Per olof Ljungmark wrote:
[ ... ]
Last time I looked at rsync it did not create new directories, perhaps 
that changed? Or maybe I'm completely wrong... I'll have a look at rdiff 
then.
rsync -a should do what you've asked for, including creating new directories 
and dealing with symlinks properly.

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


Re: md5 files

2003-07-15 Thread Chuck Swiger
dark matrix wrote:
once i have downloaded freebsd image files
how do I run an md5 test
www.cygwin.org has an md5sum utility which runs under Windows as part of their 
Cygwin environment; I'd imagine there are others around if you look.

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


Re: HP or Compaq servers.

2003-07-15 Thread Grzegorz Czaplinski
On Mon, Jul 14, 2003 at 08:54:15PM -0700, James Long wrote:
  Hi Will,
  Thanks for the grat feedback! Your informations are great!
  Anyway DL360G3 is too much for us. I was thinking about ML line, like
  ML330G3 or ML350G3. No one in Polish Compaq support is willing to help
  me with this as they simply don't have such knowledge.
  
  Do you have any of ML line? Does any one here have? I need this info!
 
 I have deployed one ML310 running 4.8-STABLE.  The on-board LSI Logic 
 MegaRAID ATA disk controller is not supported by 4.x, last I checked.  
 I had to obtain and install a third-party driver from Eric Moore of LSI 
 Logic.  That driver seems to work fine.
 
 I do not know whether the ATA RAID on the ML310 will be supported
 in the 5.x branch.
 

James,
Thanks very much for the grat info!

Cheers,
gregory
--
Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl
The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F


pgp0.pgp
Description: PGP signature


Re: HP or Compaq servers.

2003-07-15 Thread Grzegorz Czaplinski
On Mon, Jul 14, 2003 at 02:29:32PM -0400, Will Saxon wrote:
  Hi Will,
  Thanks for the grat feedback! Your informations are great!
  Anyway DL360G3 is too much for us. I was thinking about ML line, like
  ML330G3 or ML350G3. No one in Polish Compaq support is willing to help
  me with this as they simply don't have such knowledge.
  
  Do you have any of ML line? Does any one here have? I need this info!
  
 
 Gregory,
 
 We bought an ML370G2 about a year and a half ago. I was able to install FreeBSD on 
 it and compile/boot an SMP kernel. That was about the extent of my playtime with the 
 machine, which was quickly whisked off to slave away as an MS SQL 2000 server.
 
 I know the onboard NICs work fine using the fxp driver, the onboard video works OK 
 and the onboard RAID controller is also supported via the ciss driver. The fans dont 
 get all loud either.
 

Will,
Thank you very much!

From some sources I know that all ML and DL lines work fine with
FreeBSD. The one who told me about that is using HP an Compaq servers
and had only problem to install Solaris x86 on it.

I was lucky today and found one lady in HP support, who is going to
arrange some test lab for me to test FreeBSD on those servers.
I will try to check as much as I can and will put the results on the
web.

That would be good to have a webpage with server configurations that run
under FreeBSD. Don't you think so?
 
Cheers,
gregory
--
Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl
The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F


pgp0.pgp
Description: PGP signature


/etc/sysctl.conf

2003-07-15 Thread Kris Yates
Please send replies to me as I do not have time to check this list as 
often as I would like...

I just cvsup'ed to 4.8 stable branch and making changes.  I recentlyl 
found this mod for sysctl.conf:

net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
kern.ps_showallprocs=0
So I added these three lines.

1) Can someone email me the URL to where in the manual covers all my 
options in regards to adding kernel values to sysctl.conf? or otherwise 
a URL to some guru's page that discusses sysctl.conf?

2) Do I have to reboot or restart a process after modifying sysctl.conf?

Though I have been BSD'ing it for many many years, I never seem to run 
out of newbie sounding questions!  Thanks as always. FBSD rules.  'nuff 
said.

Kris

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


Re: /etc/sysctl.conf

2003-07-15 Thread Kenneth Culver
 net.inet.tcp.blackhole=2
 net.inet.udp.blackhole=1
 kern.ps_showallprocs=0

You can make these lines take effect without reboot in the following
manner (as root):

sysctl -w net.inet.tcp.blackhole=2
sysctl -w net.inet.udp.blackhole=1
sysctl -w kern.ps_showallprocs=0


rebooting would also make them take effect, but if you're anything like
most BSD users (myself included) you are allergic to downtime.

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


Re: scp+find, a little help please

2003-07-15 Thread Gary Kline
On Tue, Jul 15, 2003 at 05:48:01PM +0200, [EMAIL PROTECTED] wrote:
 
 Hi there,
 
  Need to set up scp to copy only newer files and directories between two 
  computers.
  
  The basic setup is like:
  scp -pr [EMAIL PROTECTED]: host2:/dir
  
  What would be a suitable find command here?
 
 Erm, newer than *what*? find needs a file as a comparison parameter to
 detetermine whether another file is newer than it or not. I assume you
 mean you want to copy only files from host1 to host2 which exist on both
 machines, with host1 potentially holding newer versions that should get
 synchronized to host2. 
 
 Before you break your neck with (absolutely well possible) scripting
 solutions, I suggest you have a look at rsync, which uses SSH for
 transport by default now as well.
 Or maybe check out rdiff-backup, of which a port has just been submitted
 (AFAIK) if a backup is what you're after:
 
 http://rdiff-backup.stanford.edu/
 


Well, I tried both the standford tarballs and the ports'
stuff.  Both fail with this.  Does anybody know what I
need to do to fix this?  ...Before I scrounge around in
the code, that is... .

thanks guys.

gary


===  Building for librsync-0.9.5.1
cd .  automake --gnu --include-deps Makefile
Makefile.am:21: `#' comment at start of rule is unportable
Makefile.am:22: `#' comment at start of rule is unportable
Makefile.am:23: `#' comment at start of rule is unportable
Makefile.am:24: `#' comment at start of rule is unportable
automake: configure.in: required file `./depcomp' not found
/usr/local/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/local/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/local/share/automake/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
/usr/local/share/automake/am/lang-compile.am: AMDEP does not appear in
AM_CONDITIONAL
gmake: *** [Makefile.in] Error 1
*** Error code 2

Stop in /usr/ports/net/librsync.
*** Error code 1


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: HP or Compaq servers.

2003-07-15 Thread Chuck Swiger
Grzegorz Czaplinski wrote:
[ ... ]
That would be good to have a webpage with server configurations that run
under FreeBSD. Don't you think so?
Keeping the list of supported individual components up-to-date is a significant 
challenge.

Trying to keep a list of complete system configurations available is 
exponentially more difficult, but you're welcome to try.  You first might want 
to compute the number of permutations from choosing, say, 6 components per 
system out of 1000 components.

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


What Freebsd version did they stop having Gated on?

2003-07-15 Thread DanB
What Freebsd version did they stop having Gated on? Was it on 4.5
Stable?

Dan

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


Re: What Freebsd version did they stop having Gated on?

2003-07-15 Thread Dan Nelson
In the last episode (Jul 15), DanB said:
 What Freebsd version did they stop having Gated on? Was it on 4.5
 Stable?

It was never bundled with FreeBSD.  It was in the ports tree until Dec
14 2002, which means it would have been available when 4.7 was
released, but not 4.8.  It was marked BROKEN in March 2002, though,
which would correspond with 4.5.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/gated/Attic/Makefile

 -
 Revision 1.33, Sat Dec 14 05:47:53 2002 UTC (7 months ago) by kris
 FILE REMOVED

 Remove gated: it is no longer distributed by the vendor, and the license
 does not permit us to distribute it ourselves.

 - 
 Revision 1.32 Sat May 18 03:19:36 2002 UTC (13 months, 4 weeks ago) by kris

 BROKEN: Does not fetch

-- 
Dan Nelson
[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 create an identity file for scp??

2003-07-15 Thread Jonathon McKitrick

I would like to make scp transfers as smooth as possible, using batch mode
if I can.  At the least, I don't want to have to enter my password with
every transfer.

How do I create the identity file that goes with the -i option so that I do
not have to enter my password each time?

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KDE process is unkillable

2003-07-15 Thread daniela5743
Hi all!
I've got a problem with KDE, maybe you can help me.

I just started KDE as root (yes, I know that's not good).
KDE hangs and I can't do anything on the console, but I
can log in over SSH, where I tried to kill KDE. One of
the processes is in disk wait state and trying to exit. 

Is there a way to kill the process?
I would appreciate any help.
Thanks in advance.

Daniela

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


RE: KDE process is unkillable

2003-07-15 Thread Neu, Benjamin S.
Reboot! :)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: KDE process is unkillable

Hi all!
I've got a problem with KDE, maybe you can help me.

I just started KDE as root (yes, I know that's not good).
KDE hangs and I can't do anything on the console, but I
can log in over SSH, where I tried to kill KDE. One of
the processes is in disk wait state and trying to exit. 

Is there a way to kill the process?
I would appreciate any help.
Thanks in advance.

Daniela

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

___
[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: KDE process is unkillable

2003-07-15 Thread daniela5743
 Reboot! :)

I can't reboot. This is a server.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 1:52 PM
 To: [EMAIL PROTECTED]
 Subject: KDE process is unkillable
 
 Hi all!
 I've got a problem with KDE, maybe you can help me.
 
 I just started KDE as root (yes, I know that's not good).
 KDE hangs and I can't do anything on the console, but I
 can log in over SSH, where I tried to kill KDE. One of
 the processes is in disk wait state and trying to exit. 
 
 Is there a way to kill the process?
 I would appreciate any help.
 Thanks in advance.
 
 Daniela
 
 -- 
 +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
 
 Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
 
 ___
 [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]
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


Re: Seting the hardware clock

2003-07-15 Thread Lowell Gilbert
stan [EMAIL PROTECTED] writes:

 1. Set the hardware clock to some truly strange time (for testing
 software).
 
 2. Reboot.
 
a. time is set by the BIOS to the wrong time
b. ntpdate corrects this (for the kernel).
c. ntp keeps the time acurate (for this run session).
 
 3. shutdown (BIOS time is not corrected).
 
 See the problem?

Nope.  ntpd is supposed to set the CMOS clock, and it certainly does
so for me.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP or Compaq servers.

2003-07-15 Thread Grzegorz Czaplinski
On Tue, Jul 15, 2003 at 02:30:23PM -0400, Chuck Swiger wrote:
 Grzegorz Czaplinski wrote:
 [ ... ]
 That would be good to have a webpage with server configurations that run
 under FreeBSD. Don't you think so?
 
 Keeping the list of supported individual components up-to-date is a 
 significant challenge.
 
 Trying to keep a list of complete system configurations available is 
 exponentially more difficult, but you're welcome to try.  You first might 
 want to compute the number of permutations from choosing, say, 6 components 
 per system out of 1000 components.
 

I hope everyone will help to keep this list up to date. I hope you too.
Components are listed in supported hardware but I will ask people to
send me the updates. I will do it as soon as I get my new servers done.

gregory
--
Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl
The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/
 Fingerprint: EB77 E19D CFA2 5736 810F  847C A70F A275 2489 469F


pgp0.pgp
Description: PGP signature


RE: KDE process is unkillable

2003-07-15 Thread Neu, Benjamin S.
 That's a bunch of non-sense! :) nobody will notice.. If they do then
you show'em who's boss: rmuser * 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 1:56 PM
To: Neu, Benjamin S.
Cc: [EMAIL PROTECTED]
Subject: RE: KDE process is unkillable

 Reboot! :)

I can't reboot. This is a server.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 1:52 PM
 To: [EMAIL PROTECTED]
 Subject: KDE process is unkillable
 
 Hi all!
 I've got a problem with KDE, maybe you can help me.
 
 I just started KDE as root (yes, I know that's not good).
 KDE hangs and I can't do anything on the console, but I
 can log in over SSH, where I tried to kill KDE. One of
 the processes is in disk wait state and trying to exit. 
 
 Is there a way to kill the process?
 I would appreciate any help.
 Thanks in advance.
 
 Daniela
 
 -- 
 +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
 
 Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
 
 ___
 [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]
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


RE: KDE process is unkillable

2003-07-15 Thread Libby Charles-CCL044
And Kill -9 as root does not do it?
Do a ps -ef to see which is the parent process and kill the parent as long as it is 
not init (piid 1)

-Original Message-
From: Neu, Benjamin S. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 1:59 PM
To: [EMAIL PROTECTED]
Subject: RE: KDE process is unkillable


 That's a bunch of non-sense! :) nobody will notice.. If they do then you show'em 
who's boss: rmuser * 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 1:56 PM
To: Neu, Benjamin S.
Cc: [EMAIL PROTECTED]
Subject: RE: KDE process is unkillable

 Reboot! :)

I can't reboot. This is a server.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 1:52 PM
 To: [EMAIL PROTECTED]
 Subject: KDE process is unkillable
 
 Hi all!
 I've got a problem with KDE, maybe you can help me.
 
 I just started KDE as root (yes, I know that's not good).
 KDE hangs and I can't do anything on the console, but I
 can log in over SSH, where I tried to kill KDE. One of
 the processes is in disk wait state and trying to exit.
 
 Is there a way to kill the process?
 I would appreciate any help.
 Thanks in advance.
 
 Daniela
 
 --
 +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
 
 Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
 
 ___
 [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]
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

___
[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: postfix freebsd port with vda patch

2003-07-15 Thread Alfonso Romero
Thanks for your advice, it worked without any problems.

I tested it on a spare FreeBSD server. Now I want to update and patch
postfix on my production server. Is there a way I could do that without
having to shut off my production server for too much time?

Regards,

Alfonso
- Original Message -
From: Simon Barner [EMAIL PROTECTED]
To: Alfonso Romero [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 7:44 PM
Subject: Re: postfix freebsd port with vda patch

 Is there a postfix port for freebsd that includes the vda
 patch from www.oavnet/vda?

You can easyly do it yourself. CVSup your ports collection to get the
latest postfix port, then run 'make patch' and select the desired
options (sasl, ...).

Now download the patch to the ports work directory, gunzip and apply it
(patch  patch-file).

All you have to do now, is to resume the build (cd ..; make build).

Regards,
 Simon



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


RE: KDE process is unkillable == COMMENT

2003-07-15 Thread Michael E. Mercer
Mental note: don't use machine maintained by Benjamin... 

:P
Michael

On Tue, 2003-07-15 at 14:58, Neu, Benjamin S. wrote:
  That's a bunch of non-sense! :) nobody will notice.. If they do then
 you show'em who's boss: rmuser * 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 15, 2003 1:56 PM
 To: Neu, Benjamin S.
 Cc: [EMAIL PROTECTED]
 Subject: RE: KDE process is unkillable
 
  Reboot! :)
 
 I can't reboot. This is a server.
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  [EMAIL PROTECTED]
  Sent: Tuesday, July 15, 2003 1:52 PM
  To: [EMAIL PROTECTED]
  Subject: KDE process is unkillable
  
  Hi all!
  I've got a problem with KDE, maybe you can help me.
  
  I just started KDE as root (yes, I know that's not good).
  KDE hangs and I can't do anything on the console, but I
  can log in over SSH, where I tried to kill KDE. One of
  the processes is in disk wait state and trying to exit. 
  
  Is there a way to kill the process?
  I would appreciate any help.
  Thanks in advance.
  
  Daniela
  
  -- 
  +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
  
  Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  

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


RE: KDE process is unkillable

2003-07-15 Thread Kenneth Culver
 I can't reboot. This is a server.

Why are you even running X on a server? I know this doesn't help your
problem, but it's generally not a good idea to run X on servers.

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


RE: KDE process is unkillable == COMMENT

2003-07-15 Thread Neu, Benjamin S.
Hehehe I kid. I would never. Well maybe.

-Original Message-
From: Michael E. Mercer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 2:06 PM
To: Neu, Benjamin S.
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: KDE process is unkillable == COMMENT

Mental note: don't use machine maintained by Benjamin... 

:P
Michael

On Tue, 2003-07-15 at 14:58, Neu, Benjamin S. wrote:
  That's a bunch of non-sense! :) nobody will notice.. If they do then
 you show'em who's boss: rmuser * 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 15, 2003 1:56 PM
 To: Neu, Benjamin S.
 Cc: [EMAIL PROTECTED]
 Subject: RE: KDE process is unkillable
 
  Reboot! :)
 
 I can't reboot. This is a server.
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  [EMAIL PROTECTED]
  Sent: Tuesday, July 15, 2003 1:52 PM
  To: [EMAIL PROTECTED]
  Subject: KDE process is unkillable
  
  Hi all!
  I've got a problem with KDE, maybe you can help me.
  
  I just started KDE as root (yes, I know that's not good).
  KDE hangs and I can't do anything on the console, but I
  can log in over SSH, where I tried to kill KDE. One of
  the processes is in disk wait state and trying to exit. 
  
  Is there a way to kill the process?
  I would appreciate any help.
  Thanks in advance.
  
  Daniela
  
  -- 
  +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
  
  Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  

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


Deleting orphaned port

2003-07-15 Thread Kris Yates
(standard disclaimer: please send replies to me since I cant check the 
list very often...)

Hello.  Every once in a while I remember that the following is seen when 
you exec pkg_version -vv:

41upgrade-2000-11.01

Obviously, this machine has gone from 3.4 release to 4.8 stable over the 
years.  I tried pkg_delete and a couple of other suggestions to get rid 
of this entry in the installed port list without success.

Any suggestions?

Thanks,

kris

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


Re: Kernel load balancing

2003-07-15 Thread Derek Marcotte
 Do you want to do trunking for extra bandwidth, for redundancy
in case of
 failure...what problem are you trying to solve?

Exactly... Both.  Ok, so let's make this a little more complex.
Here's how I envisioned this working.

Subnet A 192.168.0.0/24
Subnet B 192.168.1.0/24

Subnet C 192.168.2.0/30
Subnet D 192.168.2.4/30

Router 1
fxp0 192.168.0.1/24
fxp1 192.168.2.1/30
fxp2 192.168.2.5/30

Router 2
fxp0 192.168.1.1/24
fxp1 192.168.2.2/30
fxp2 192.168.2.6/30

router1 route add 192.168.1.0/24 192.168.2.2
router1 route add 192.168.1.0/24 192.168.2.6

router2 route add 192.168.0.0/24 192.168.2.1
router2 route add 192.168.0.0/24 192.168.2.5


(may wrap)
SubnetA---fxp0---router1fxp1 Subnet
C fxp1router2---fxp0---SubnetB


SubnetA---fxp0---router1fxp2 Subnet
D fxp2router2---fxp0---SubnetB


I intend to run Zebra and OSPF on routers 1 and 2.  Subnets A and
B are 100 Mbit/s networks.  Subnets C and D are 10 Mbit/s
networks, I would like to have a ~20 Mbit/s pipe when both lines
are up, but if one fails, it dumbs down to ten.  I am familiar
with OSPF enough to (hopefully :) make it through the routing and
failover, but I don't feel that Zebra will give me a 20 Mbit
pipe.

I am thinking about this in a routing frame of mind... Perhaps if
there is a way to just pair up the adapters at the ethernet
level it would be a simpler solution, but it would have to be
able to fail over without blinking...  I do not of such a
capacity in FreeBSD, but if there is one, I would love to hear
about it.

Does this help to clarify the situation?

Cheers,
Derek

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


RE: KDE process is unkillable

2003-07-15 Thread daniela5743
  That's a bunch of non-sense! :) nobody will notice.. If they do then
 you show'em who's boss: rmuser * 

:-) No, I'm nice to my users.

Any ideas why it crashed? Could this be a serious bug (4.8-STABLE)?
If yes, how do I get a core dump, or at least some more information?
I have debug symbols everywhere. It is a clean system, freshly
installed a few days ago.
I'd really like to know what's going on.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 15, 2003 1:56 PM
 To: Neu, Benjamin S.
 Cc: [EMAIL PROTECTED]
 Subject: RE: KDE process is unkillable
 
  Reboot! :)
 
 I can't reboot. This is a server.
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
  [EMAIL PROTECTED]
  Sent: Tuesday, July 15, 2003 1:52 PM
  To: [EMAIL PROTECTED]
  Subject: KDE process is unkillable
  
  Hi all!
  I've got a problem with KDE, maybe you can help me.
  
  I just started KDE as root (yes, I know that's not good).
  KDE hangs and I can't do anything on the console, but I
  can log in over SSH, where I tried to kill KDE. One of
  the processes is in disk wait state and trying to exit. 
  
  Is there a way to kill the process?
  I would appreciate any help.
  Thanks in advance.
  
  Daniela
  
  -- 
  +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
  
  Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
  
  ___
  [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]
  
 
 -- 
 +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
 
 Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


Re: KDE process is unkillable

2003-07-15 Thread Marc Wiz
On Tue, Jul 15, 2003 at 09:11:24PM +0200, [EMAIL PROTECTED] wrote:
   That's a bunch of non-sense! :) nobody will notice.. If they do then
  you show'em who's boss: rmuser * 
 
 :-) No, I'm nice to my users.
 
 Any ideas why it crashed? Could this be a serious bug (4.8-STABLE)?
 If yes, how do I get a core dump, or at least some more information?
 I have debug symbols everywhere. It is a clean system, freshly
 installed a few days ago.
 I'd really like to know what's going on.

I would suggest using lsof and find out which file the process is
waiting on.  It seems rather strange that the process is in a disk
wait state for so long.

Marc

-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: KDE process is unkillable

2003-07-15 Thread daniela5743
  I can't reboot. This is a server.
 
 Why are you even running X on a server? I know this doesn't help your
 problem, but it's generally not a good idea to run X on servers.
 
 Ken
 


Yes, I know, but this server is also my workstation (it's just a home
server).

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


Re: KDE process is unkillable

2003-07-15 Thread Chris
On Tuesday 15 July 2003 02:14 pm, Marc Wiz wrote:
 On Tue, Jul 15, 2003 at 09:11:24PM +0200, [EMAIL PROTECTED] wrote:
That's a bunch of non-sense! :) nobody will notice.. If they do then
   you show'em who's boss: rmuser *
  
  :-) No, I'm nice to my users.

Kill them! Kill them all!!!


  Any ideas why it crashed? Could this be a serious bug (4.8-STABLE)?
  If yes, how do I get a core dump, or at least some more information?
  I have debug symbols everywhere. It is a clean system, freshly
  installed a few days ago.
  I'd really like to know what's going on.

 I would suggest using lsof and find out which file the process is
 waiting on.  It seems rather strange that the process is in a disk
 wait state for so long.

 Marc

-- 

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: KDE process is unkillable

2003-07-15 Thread Kenneth Culver
 Yes, I know, but this server is also my workstation (it's just a home
 server).

ok, well like the other people said... did you try kill -9 as root on the
process in question? If you did, and it still won't die, most likely
you'll have to reboot.

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


Re: HP or Compaq servers.

2003-07-15 Thread Bob Collins

Date: Tue, 15 Jul 2003 15:14:40 -0400
To: Chuck Swiger [EMAIL PROTECTED]
From: Bob Collins [EMAIL PROTECTED]
Subject: Re: HP or Compaq servers.
At 02:30 PM 7/15/2003, you wrote:
Grzegorz Czaplinski wrote:
[ ... ]
That would be good to have a webpage with server configurations that run
under FreeBSD. Don't you think so?
Keeping the list of supported individual components up-to-date is a 
significant challenge.

Trying to keep a list of complete system configurations available is 
exponentially more difficult, but you're welcome to try.  You first might 
want to compute the number of permutations from choosing, say, 6 
components per system out of 1000 components.

--
-Chuck


Sure it would be. But it might be interesting to let users input what 
hardware they are currently using and any notes about weirdness, etc. 
Perhaps a volunteer project to list these things is in order.

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


Re: KDE process is unkillable

2003-07-15 Thread daniela5743
 On Tue, Jul 15, 2003 at 09:11:24PM +0200, [EMAIL PROTECTED] wrote:
That's a bunch of non-sense! :) nobody will notice.. If they do then
   you show'em who's boss: rmuser * 
  
  :-) No, I'm nice to my users.
  
  Any ideas why it crashed? Could this be a serious bug (4.8-STABLE)?
  If yes, how do I get a core dump, or at least some more information?
  I have debug symbols everywhere. It is a clean system, freshly
  installed a few days ago.
  I'd really like to know what's going on.
 
 I would suggest using lsof and find out which file the process is
 waiting on.  It seems rather strange that the process is in a disk
 wait state for so long.


Thanks, I'll try it out.

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


Re: KDE process is unkillable

2003-07-15 Thread Bob Collins
At 03:20 PM 7/15/2003, you wrote:
On Tuesday 15 July 2003 02:14 pm, Marc Wiz wrote:
 On Tue, Jul 15, 2003 at 09:11:24PM +0200, [EMAIL PROTECTED] wrote:
That's a bunch of non-sense! :) nobody will notice.. If they do then
   you show'em who's boss: rmuser *
  
  :-) No, I'm nice to my users.
Kill them! Kill them all!!!

  Any ideas why it crashed? Could this be a serious bug (4.8-STABLE)?
  If yes, how do I get a core dump, or at least some more information?
  I have debug symbols everywhere. It is a clean system, freshly
  installed a few days ago.
  I'd really like to know what's going on.

 I would suggest using lsof and find out which file the process is
 waiting on.  It seems rather strange that the process is in a disk
 wait state for so long.

 Marc
--

Best regards,
 Chris
Did anybody mention Ctrl + Alt + Backsapce to kill the X session? This has 
worked for me in the past...



-- Bob 

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


Re: How do I create an identity file for scp??

2003-07-15 Thread Chuck Swiger
Jonathon McKitrick wrote:
[ ... ]
How do I create the identity file that goes with the -i option so that I do
not have to enter my password each time?
NOTE: Please CC me, as I am not currently subscribed.  Thanks.
Use ssh-keygen to generate an RSA or DSA keypair without using a password, and 
copy identity.pub, id_dsa.pub, or whatever to .ssh/authorized_keys on the remote 
host (the system being logged into).

--
-Chuck


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


  1   2   >