Re: 80386 out of GENERIC

2002-12-17 Thread Leif Neland
But still, would it be impossible to have both a GENERIC and a GENERIC386
kernel in the distribution?

Or is the whole system compiled in non-386 mode?

Even so, if just one site. www.386.freebsd.org were having a 386-enabled
version available, wouldn't that make everybody happy?

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: I'm leaving the project

2002-12-17 Thread Leif Neland
> > :
> > :Does anyone know why this person is trying to (poorly) impersonate MD?
> >
> > Probably because I lambast him mercilessly for being such a whimp.
It's
> > kinda sad, actually.  He's probably not making any friends with the
> > people running the blind proxies he abuses to post, either.
>
> You know the person by name/alias, then?  Who is it?
>

Probably not. Anybody who fakes messages fits the above category :-)

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Current, apache(1/2): no tcp4, only tcp6

2002-10-28 Thread Leif Neland

- Original Message -
From: "Leif Neland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 28, 2002 12:49 AM
Subject: Current, apache(1/2): no tcp4, only tcp6


> Some time ago my not often used testserver has stopped serving port 80,
> tcp4, and only serves port 80, tcp6.
>
For the archives, I answer myself:
http://httpd.apache.org/docs-2.0/bind.html :

On some platforms, such as NetBSD, binding to the IPv6 wildcard address
("::") does not allow Apache to accept connections on IPv4 interfaces. In
this situation, multiple Listen directives are required, as shown below:

Listen 0.0.0.0:80
Listen [::]:0

Apache does not currently detect this, so the Listen statements must be
edited manually by the administrator.
---
Perhaps the port should add the two listens above to the example
httpd-conf's
Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Current, apache(1/2): no tcp4, only tcp6

2002-10-27 Thread Leif Neland
Some time ago my not often used testserver has stopped serving port 80,
tcp4, and only serves port 80, tcp6.

netstat -a shows port 80 is only open on tcp6, not tcp.

I have installed the most current current.
I have installed a fresh Apache/2.0.43
I have tried running apache on another port
Nothing helps.

I have tried running telnetd on port 80, it works, so there is not something
blocking it.

The same binary installed on another server from the same nfs.mounted
/usr/ports is open on both tcp4 and tcp6.

What am I overlooking?

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Questions about -current (Linuxism's)

2002-01-21 Thread Leif Neland

While I realize you can't emulate the switches on any command on any os, I
found a few "linuxism's" missing.

Eg: I find it illogical, that "route" can change, and also display the
route to a single host, but route can not display the entire route table.
In linux it is simply "route", in windows it is "route print", but in
FreeBSD it is "netstat -r"

It is simple to add an information "Sorry Dave, I can not do that. Try
netstat -r instead" for "route print" (I just did), or adding similar
information when no proper keyword is given.


Similarly on linux "netstat -ap"; the p gives the pid which has the
connection open. On FreeBSD, this option is not available, instead
sockstat provides similar (better; it shows the path to the command)
information.

As the -p is not used for netstat, it could print "use sockstat instead".

It could help in heterogenious environments.

Or perhaps this would just start a slide down a slippery slope...

There is always diffence between commands on different os's.
Some are even "dangerous".

Eg. if you type "hostname -f" on a sun, you change the hostname to "-f"...

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: spam

2001-12-22 Thread Leif Neland



On Fri, 21 Dec 2001, Julian Stacey wrote:

> > I can only hope that our illustrious congress has grown as tired of
> > spam as I have and will fix the law to simply ban it.
> > -Matt
>
> That would help, (most SPAM I receive even in Germany is from USA), but
> spammers would move offshore from USA & still target us, just as most German
> language spamming is now from countries outside Germany, so presumably German
> language spammers pay foreign intermediaries or subsidiaries to spam.
>
> Hostile counter attacks could supplement laws & filtering ...
> - I got a panic stricken international phone call from a UK
>   spammer near where I used to live, after I mailed & threatened
>   to report him to local police &/or launch net attacks on his facilities.
> - Anyone know of PD sourced tools & indexes that automate co-ordination
>   of hostile counter attacks on identified spammers ?
>
Don't counterattack, you have to be 250% sure the server is the spammers
own, and his alone. What if the spammer either is just a client, or has
broken into the server?
It is not legal to break your neigbours house, even if it is to shut down
his 500W stereo.
I believe somebody got into serious trouble by launching a worm, which
closed holes other worms could use.

> PS Maybe if we were to regularly automatically scramble all email addresses
> in our web searchable mail archives ? just inserting  ._ErAsE_ThIs_. in every
> email address would protect us from easy harvesting by simple spammer robots.

Yeah, that would help for 3 months or so. Then the harvesters will be
adapted.

The way to go, I think is procmail based content filters, and dnsbl, like
spamcop.
I report many spams to spamcop.

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: named pid file in /var/run/named/pid?

2001-10-04 Thread Leif Neland



On Thu, 4 Oct 2001, Jun Kuriyama wrote:

> At Thu, 4 Oct 2001 11:21:19 + (UTC),
> Bernd Walter wrote:
> > I run an md based filesystem for /var/run so it is empty after startup.
> > Does that mean that I also need to take care of creating directories in
> > it during boot - and maintaining myself on every box.
> > Or it it the responsibility of the programms to enshure that the
> > directories they need are created?
>
> /var/run/named is created by mtree (/etc/mtree/BSD.var.dist).  If you
> want to use md(4) for /var/run, you should make directory after
> /var/run creation.

Is it possible to make the md-filesystem automatically make the needed
subdirectories, when a program wants to create
/var/run/a/very/deeply/nested/file ?

Or would that just be too ugly, mixing device drivers with high-level file
operations? Guess so..

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: proctitle progress reporting for dump(8)

2001-09-01 Thread Leif Neland

I like it. I se no problem.

> Does this look like a good idea to anyone else?
>
> 79239  ??  I  0:00,89 dump 0ushf 1048576 0 - /dev/da0h (dump)
>



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: minor HEADS UP: /etc/defaults/make.conf is gone

2001-08-31 Thread Leif Neland


- Original Message -
From: "Alexander Langer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 2:52 PM
Subject: minor HEADS UP: /etc/defaults/make.conf is gone


> Hi!
>
> /etc/defaults/make.conf has been removed and is not included by
> make(1) any more.
> If you are using BDEFLAGS, add the entry to your local
/etc/make.conf.
>

Why introduce this handling of defaults different of other default
cfg's:
pccard.conf periodic.conf   rc.conf

> The example file lives in /usr/share/examples/etc/ now.
>
It is not an example, it is the "vendor defaults"

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [RFC] RELNOTESng for 5-CURRENT

2001-04-25 Thread Leif Neland

> On Wed, Apr 25, 2001 at 09:42:07PM +0200, Leif Neland wrote:
> > > > 
> > > > Here's my thoughts...for the record, I'm weakly opposed to regen-ing
> > > > *.TXT versions:  First, I don't want to bloat the repository with oodles
> > > > of builds to the *.TXT files.  If we do this, it ought to be be fairly
> > > > infrequently, like maybe once or twice a month.
> > > 
> > > Bad idea.. 
> > > 
> > > RELNOTES, HARDWARE etc are things that should be up to date. Not 
> > > 'a bit uptodate' or 'slightly outdated'.
> > > 
> > > I really would not like to see the idea being bloated by going this route.
> > > 
> > As UPDATING may contain information nessecary to run make world, it can't be built 
>by make world.
> > Chicken and egg, methinks...
> 
> Possibly. But I was not refering to UPDATING.
> 
Sorry. My parser just made a mistake by expanding "etc" in "RELNOTES, HARDWARE etc"

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [RFC] RELNOTESng for 5-CURRENT

2001-04-25 Thread Leif Neland

> > 
> > Here's my thoughts...for the record, I'm weakly opposed to regen-ing
> > *.TXT versions:  First, I don't want to bloat the repository with oodles
> > of builds to the *.TXT files.  If we do this, it ought to be be fairly
> > infrequently, like maybe once or twice a month.
> 
> Bad idea.. 
> 
> RELNOTES, HARDWARE etc are things that should be up to date. Not 
> 'a bit uptodate' or 'slightly outdated'.
> 
> I really would not like to see the idea being bloated by going this route.
> 
As UPDATING may contain information nessecary to run make world, it can't be built by 
make world.
Chicken and egg, methinks...

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



PICOBSD stale?

2001-04-24 Thread Leif Neland

The ready-made PICOBSD-diskimages all seems to be based on FreeBSD 3.x

I also doesn't seem to be able to make picobsd from current sources, althugh I didn't 
try that hard.

Is picobsd stale?

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: upgrading from 3.0 to 4.3

2001-04-24 Thread Leif Neland

> 
> I think the only path that we "officially" support is 3.x -> 3.4-stable ->
> 4.0-R -> 4.x-stable.  

Is this official path described somewhere?

i.e. cvsup to RELENG_3
make world
make kernel
reboot
cvsup to ...
eg-

I've got a 3.2-release I'd like to update.
Perhaps I just should do a binary?

Leif

Leif

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Realtek 8029: ed0 attach returned 2

2001-04-12 Thread Leif Neland

I try to add a second NIC to my gateway machine.

(Will be getting ADSL may 10, may 15 my 24h flatrate ISDN changes to 8h
flatrate, rest minute charge, talk about timing.
So I have 27 days to get this fixed)

The first card is a D-LINK 250 isa, it was ed0, but by changing
device.hints it became ed1; it is working.

The second card is a RealTek 8029 pci.

I get the errormessage:
device_probe_and_attach: ed0 attach returned 2

I've searched the archives and only found the advice to turn off pnp in
the bios. However, my old dec bios does not have that option, neither do I
have PNPBIOS in my kernel config (I think that option is depreciated btw)

The machine does not have ide-disks, so int15 is available.


Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #9: Wed Apr  4 18:49:51 CEST 2001
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARNOLD
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 59973117 Hz
CPU: Pentium/P5 (59.97-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x515  Stepping = 5
  Features=0x1bf
real memory  = 117440512 (114688K bytes)
Preloaded elf kernel "kernel" at 0xc03eb000.
Intel Pentium detected, installing workaround for F00F bug
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
ncr0:  port 0xd100-0xd1ff mem 0x2000-0x20ff irq 11 at 
device 1.0 on pci0
isab0:  at device 2.0 on pci0
isa0:  on isab0
pci0:  at 6.0 (no driver attached)
ed0:  irq 15 at device 7.0 on pci0
device_probe_and_attach: ed0 attach returned 2
^^
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
ed1 at port 0x340-0x35f iomem 0xd8000 irq 10 on isa0
ed1: address 00:80:c8:18:9c:c2, type NE2000 (16 bit)
^^^ D-LINK 250 ^
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ppc1:  at port 0x278-0x27f irq 5 on isa0
ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip1:  on ppbus1
lpt1:  on ppbus1
lpt1: Interrupt-driven port
ppi1:  on ppbus1
sc0:  on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16450
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
isic0:  at port 0x200-0x201,0x202-0x203 irq 9 on isa0
isic0: passive stack unit 0
i4btrc: 2 ISDN trace device(s) attached
i4bing: 2 i4b NetGraph ISDN B-channel device(s) attached
i4btel: 2 ISDN telephony interface device(s) attached
i4bisppp: 4 ISDN SyncPPP device(s) attached (VJ header compression)
i4b: ISDN call control device attached
i4brbch: 2 raw B channel access device(s) attached
i4bipr: 2 IP over raw HDLC ISDN device(s) attached (VJ header compression)
i4bctl: ISDN system control port attached
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
cd0 at ncr0 bus 0 target 5 lun 0
cd0:  Removable CD-ROM SCSI-2 device
cd0: 3.300MB/s transfers
cd0: cd present [234900 x 2048 byte records]
da1 at ncr0 bus 0 target 1 lun 0
da1:  Fixed Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da1: 4101MB (8399520 512 byte sectors: 255H 63S/T 522C)
da3 at ncr0 bus 0 target 3 lun 0
da3:  Fixed Direct Access SCSI-0 device
da3: 3.300MB/s transfers
da3: 231MB (474602 512 byte sectors: 64H 32S/T 231C)
da0 at ncr0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da0: 4095MB (8388315 512 byte sectors: 255H 63S/T 522C)
da2 at ncr0 bus 0 target 2 lun 0
da2:  Fixed Direct Access SCSI-2 device
da2: 10.000MB/s transfers (10.000MHz, offset 8)
da2: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pppoe, userland ppp

2001-04-05 Thread Leif Neland

> > I'd like to try pppoe to connect to poptop (on a linuxbox). The port is forbidden; 
>I should use 
> > ng_pppoe.
> 
> You're mixing apples and oranges. poptop is for pptp, not pppoe.
> 

Ahh! While mixing apples and oranges can make a nice juice, it doesn't work for vpn.

Using pptpclient instead is better :-)

I had pptp running in a terminal session started in a window from my workstation in 
fbsd-mode.
Now I booted my workstation to try in windows. Apparently pptp didn't get stopped 
properly, because when I now want to run pptp again, I get this error message:

warn[open_unixsock:pptp_callmgr.c:308]: Call manager for 123.123.123.123 is already 
running.
fatal[callmgr_main:pptp_callmgr.c:124]: Could not open Unix socket for 123.123.123
fatal[launch_callmgr:pptp.c:214]: Call manager exited with error 256

But ps is not showing any ppp, pptp or call processes.
Neither is netstat showing anything I can relate to.

I could boot the machine, but then I'd have to walk 20m to power it off and on to 
reset the isdnadapter. Too late for that now.

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



pppoe, userland ppp

2001-04-03 Thread Leif Neland

I'd like to try pppoe to connect to poptop (on a linuxbox). The port is forbidden; I 
should use ng_pppoe.

I haven't done netgraph stuff before; afaiu I should attach ng_pppoe to a node which 
is the physical device. But I'm doing userland ppp, and tun0 is not a node. ngctl list 
shows this:
There are 10 total nodes:
  Name: ngctl3349   Type: socket  ID: 000b   Num hooks: 0
  Name: ipr3Type: ether   ID: 0009   Num hooks: 0
  Name: ipr2Type: ether   ID: 0008   Num hooks: 0
  Name: ipr1Type: ether   ID: 0007   Num hooks: 0
  Name: ipr0Type: ether   ID: 0006   Num hooks: 0
  Name: isp3Type: ether   ID: 0005   Num hooks: 0
  Name: isp2Type: ether   ID: 0004   Num hooks: 0
  Name: isp1Type: ether   ID: 0003   Num hooks: 0
  Name: isp0Type: ether   ID: 0002   Num hooks: 0
  Name: ed0 Type: ether   ID: 0001   Num hooks: 0

If my local network is 192.168.5.0, inside ip 192.168.5.11, outside ip dynamic, the 
remote internal network 192.168.0.0, the gateway running poptop is 192.168.0.1 
internal, 194.1.2.3 outside, how do I setup ng_pppoe?

When my ADSL gets installed, it will be on ed1. Same question as above.

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Interesting backtrace...

2001-03-31 Thread Leif Neland



On 18 Mar 2001, Dag-Erling Smorgrav wrote:

> Anyway, here's the backtrace:
>
> root@des /var/crash# gdb -k
...
> This GDB was configured as "i386-unknown-freebsd".
> (kgdb) source ~des/kgdb  <-- What's in here?
I guess it is commands to load the crash dump into the debugger.
Could you post it, please?
So I can make pretty backtraces too :-)


> (kgdb) kernel 1

Because that command doesn't work for me..

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: i586 FP optimizations hosed.

2001-03-31 Thread Leif Neland


- Original Message - 
From: "Mark Murray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 7:45 AM
Subject: i586 FP optimizations hosed.


> Hi
> 
> I have an SMP kernel with I586 and I686 support. If I boot it
> on a 686 it works. On a 586 it craps out with
> 
> CPU1 stopping CPUs: 0x0001... Stopped.
> Stopped at i586_bzero_oops+0x1: jmp i586_bzero_oops
> 
I get panics on that instructions too on my old 60MHz P5.

I've got a core dump, will tell more when I can interpret it...

Leif

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: /etc/exports: 192.168.5 = 192.168.0.5

2001-03-25 Thread Leif Neland

Bikeshed time ! :-)

- Original Message - 
From: "Valentin Nechayev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 25, 2001 3:08 PM
Subject: Re: /etc/exports: 192.168.5 = 192.168.0.5


> > > /var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0
> > > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5
> > This is the correct interpretation.
> > > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5
> > > used to work.
> > It was broken, then. :-)
> 
> 192.168.5 should be interpreted as 192.168.0.5 in host address context,
> but as 192.168.5.0 in network address context. (Such network address
> context is well seen in sentences such as "10/8", "192.168/16".)
> 
> netch@iv:~/tmp>netstat -rn | grep 192
> 192/8  127.0.0.1  UGSc00  lo0
> 
> In case in question, when -network prefix is occured, parsing should
> be performed with network address context, not host address context.
> 
> 
> /netch
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: /etc/exports: 192.168.5 = 192.168.0.5

2001-03-25 Thread Leif Neland


> > showmount -e showed 192.168.5 was being interpreted as 192.168.0.5
>
> This is the correct interpretation.
>
> >
> > Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5
> > used to work.
>
> It was broken, then. :-)
>
So an unlisted bug was fixed :-)

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



/etc/exports: 192.168.5 = 192.168.0.5

2001-03-24 Thread Leif Neland

Bug or pilot error?

My network is 192.168.5.0

I used to have im my /etc/exports:

/var -alldirs -maproot=root: -network 192.168.5 -mask 255.255.255.0

But after the portmapper change, I couldn't mount, was getting permission
denied.

showmount -e showed 192.168.5 was being interpreted as 192.168.0.5

Changing -network to 192.168.5.0 fixed it, naturally, but the 192.168.5
used to work.

Is this change intentional, or is 192.168.5 supposed to work?

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



rc.conf duplicating defaults/rc.conf

2001-03-24 Thread Leif Neland

Once upon a time, before I knew better, I copied defaults/rc.conf to
rc.conf and edited it to my needs.

Therefore I had many lines in rc.conf which were unnessecary, because 
they just repeated the defaults.

I have thrown together this script, which just outputs the needed lines
in rc.conf.

If VERBOSE is set, it also prints 
##= Is default: Somelabel="somevalue" 
if rc.conf and defaults/rc.conf agree on the value of Somelabel

##- Default: Somelabel="defaultvalue"
if rc.conf and defaults/rc.conf disagree on the value of Somelabel.

Btw, why can't I run this as a bang-script?

Typing ./defcheck just produces:
awk: cmd. line 1: ./defcheck
awk: cmd. line 1: ^ syntax error

 - - - - filename: defcheck
#!/usr/bin/awk

#
# Quick hack to check if rc.conf unnessecary duplicate
# lines in defaults/rc.conf
#
# Assume all lines are in format label="value"
#
# Prints lines in rc.conf which are not in defaults/rc.conf
# If VERBOSE==1 below, also prints defaults.
#
# usage:
#   cd /etc; awk -f defcheck
#
# Other files in defaults may be checked:
#   cd /etc; awk -f defcheck -v CHECK=otherfile.conf
#
# Leif Neland
# [EMAIL PROTECTED]
# 25.marts.2001
#
BEGIN {
  if (CHECK=="") {
CHECK="rc.conf"
  }
  VERBOSE=0;
  ### Read defaults into array
  DEFAULT="defaults/"CHECK;
  FS="#"; 
  while (getline 0) {
m=split($1,a,"\"");
if (m==3) {linie[sprintf("%s\"%s\"",a[1],a[2])]=1;
  default[a[1]]=a[2];}
  }

##
  while (getline 0)
  {
flag=1;
m=split($1,a,"\"");
if (m==3) {l=sprintf("%s\"%s\"",a[1],a[2]);
  if (l in linie) {
if (VERBOSE) print "##= Is default: ",l;
flag=0;
  } else {
  if (VERBOSE && a[1] in default) {print "##- Default "a[1]"\""default[a[1]]"\""};
  }
}
if (flag) {print};
  }
}



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Urgent Business Proposal

2001-03-17 Thread Leif Neland

Typical Nigerian 4-1-9 scam...
- Original Message - 
From: "yahaya usman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 17, 2001 10:38 AM
Subject: Urgent Business Proposal


> I got your contact through one of my late uncles old
> diaries who worked in several foreign mission as a
> diplomat for Nigeria,and I am deemed to believe that
> you are a trustworthy and nice person to do business
> with.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: libg2c missing?

2001-03-11 Thread Leif Neland

Solved! I had NO_FORTRAN=true on master, but not on slave.
After I sync'ed the make.conf's, I could install.

Leif

- Original Message - 
From: "Leif Neland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 10, 2001 4:03 PM
Subject: libg2c missing?


> I've got two machines, called say master and slave.
> 
> Master got the sources, and I do a cvsup and make world almost every
> night.
> 
> Occationally (once a month or so, when current is in a not too bad shape)
> I mount master:/usr/src and master:/usr/obj on slave, and do an
> installworld.
> 
> Now it fails in gnu/lib/libg2c:
> install -c -o root -g wheel -m 444   libg2c.a /usr/lib
> install: libg2c.a: No such file or directory
> *** Error code 71
> 
> The typescript for make world on master doesn't mention libg2c.
> I've got libg2c.a dated feb 8 and libg2c.so.1 dated feb 4 on master, while
> the other libs are from tonights buildworld.
> 
> I copied /usr/lib/libg2c* from master to slave, but that didn't do any
> difference.
> 
> So the question is: Why will this buildworld, which can installworld on
> master, not installworld on slave, which is not that much older?
> 
> Leif
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



libg2c missing?

2001-03-10 Thread Leif Neland

I've got two machines, called say master and slave.

Master got the sources, and I do a cvsup and make world almost every
night.

Occationally (once a month or so, when current is in a not too bad shape)
I mount master:/usr/src and master:/usr/obj on slave, and do an
installworld.

Now it fails in gnu/lib/libg2c:
install -c -o root -g wheel -m 444   libg2c.a /usr/lib
install: libg2c.a: No such file or directory
*** Error code 71

The typescript for make world on master doesn't mention libg2c.
I've got libg2c.a dated feb 8 and libg2c.so.1 dated feb 4 on master, while
the other libs are from tonights buildworld.

I copied /usr/lib/libg2c* from master to slave, but that didn't do any
difference.

So the question is: Why will this buildworld, which can installworld on
master, not installworld on slave, which is not that much older?

Leif






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Is my USB programmer broken?

2001-03-07 Thread Leif Neland

> I run -STABLE, and was pondering over a problem I've been having with
> a USB device when I saw your problem.  Could you try something?
> After you get that error above, move the device to the another USB
> port.  I can manage to panic my system by doing that, except I'm doing
> it with a USB gamepad.  I'm curious if it'll do the same for you.
> 

I typed a longer letter, which pine ate...
The short version is: No, I could not get a panic when I plugged it into
the other port.

Leif


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Is my USB programmer broken?

2001-03-06 Thread Leif Neland

I've got a USB programmer for my Flashram for my Garmin GPS.

It doesn't work, and causes blue screen under windows...

Is this the proof for it is broken?

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #6: Tue Mar  6 19:17:59 CET 2001
uhci0:  port 0xb400-0xb41f irq 9 at device 
4.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
usbd_new_device: addr=2, getting first desc failed
uhub_explore: usb_new_device failed, error=IOERROR
uhub0: device problem, disabling port 1

It can't be because FreeBSD doesn't know the USB programmer; it doesn't
know my USB webcam either, and it still shows up as ugen with manufacturer
name at boot.

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make kernel failure: pecoff: machine/lock.h

2001-02-27 Thread Leif Neland



On Tue, 27 Feb 2001, John Baldwin wrote:

> 
> On 27-Feb-01 Leif Neland wrote:
> > 
> > 
> > On Tue, 27 Feb 2001, Gary Jennejohn wrote:
> > 
> >> John Baldwin writes:
> >> > 
> >> > On 27-Feb-01 Leif Neland wrote:
> >> > > This happens with both my custom and GENERIC kernel.
> >> > > 
> >> > > It has failed for some days, and also with source cvsup'ed today.
> >> > > A kernel built with "make buildkernel -k" works...
> >> > > 
> >> > > Leif
> >> > 
> >> > Have you tried running make depend?
> >> > 
> >> 
> >> 
> >> Failing that, trying deleting your /sys/compile/ directory
> >> and re-config'ing your kernel. This has always worked for me.
> >> 
> > I'm building the kernel "the new way", ie cd /usr/src
> > make buildkernel KERNCONF=
> > 
> > So the kernel is build in /usr/obj/usr/src/sys/GENERIC
> > 
> > I deleted this, which buildkernel does itself, and config'ing it does too,
> > and as I expected, it didn't make any difference.
> > 
> > Leif
> 
> Ok.  It may be that we are overflowing the kernel stack and corrupting the pcb
> in the process.  One idea atm is to move the pcb off of the stack (since it
> stores persistent data it's a bad place for it anyways) and to add a red zone
> at the bottom of the stack to catch overflows.
> 
Do you really thinks it is something this complicated? 
To me it just sounds like a makefile bug, as going to the pecoff directory
and typing make gives the same error. But what do I know...

Leif
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make kernel failure: pecoff: machine/lock.h

2001-02-27 Thread Leif Neland



On Tue, 27 Feb 2001, Gary Jennejohn wrote:

> John Baldwin writes:
> > 
> > On 27-Feb-01 Leif Neland wrote:
> > > This happens with both my custom and GENERIC kernel.
> > > 
> > > It has failed for some days, and also with source cvsup'ed today.
> > > A kernel built with "make buildkernel -k" works...
> > > 
> > > Leif
> > 
> > Have you tried running make depend?
> > 
> 
> 
> Failing that, trying deleting your /sys/compile/ directory
> and re-config'ing your kernel. This has always worked for me.
> 
I'm building the kernel "the new way", ie cd /usr/src
make buildkernel KERNCONF=

So the kernel is build in /usr/obj/usr/src/sys/GENERIC

I deleted this, which buildkernel does itself, and config'ing it does too,
and as I expected, it didn't make any difference.

Leif
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



make kernel failure: pecoff: machine/lock.h

2001-02-27 Thread Leif Neland

This happens with both my custom and GENERIC kernel.

It has failed for some days, and also with source cvsup'ed today.
A kernel built with "make buildkernel -k" works...

Leif

===> mly
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include  
-mpreferred-stack-boundary=2 -c /usr/src/sys/modules/mly/../../dev/mly/mly.c
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include  
-mpreferred-stack-boundary=2 -c /usr/src/sys/modules/mly/../../dev/mly/mly_pci.c
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include  
-mpreferred-stack-boundary=2 -c /usr/src/sys/modules/mly/../../dev/mly/mly_cam.c
ld  -r -o mly.kld mly.o mly_pci.o mly_cam.o
perl5 @/kern/gensetdefs.pl mly.kld
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include  
-mpreferred-stack-boundary=2 -c setdef0.c
cc -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi 
-DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include  
-mpreferred-stack-boundary=2 -c setdef1.c
ld -Bshareable  -o mly.ko setdef0.o mly.kld setdef1.o
===> pecoff
make: don't know how to make machine/lock.h. Stop
*** Error code 2

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

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

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

Stop in /usr/src.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Do we need a 3. level between stable and cuurent?

2001-02-19 Thread Leif Neland

We all know: -current is bleeding edge, expect it to break at random. Don't run it if 
you don't know how to fix it.
-stable is for production, it works all the time.

Do we need a level in between for people who just run current for the fun of it and 
for testing.
So after the hardcore has tested it in -current, they commit it to all the monkeys 
trying to break it, and we then try it on n^m' combinations of hardware/software.

I might not be able to fix a problem, but I can report what happens, and if my 
-current breaks for a few days, it is no big deal.

While -current is not for everybody, I believe people like me helps in quality testing 
before the stuff hits -stable.

Perhaps not a level, just a separate file, which contained the date of the last known 
version without known major problems. (or "." if no known problems)

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Buildworld failing at stage 4 (Dumping source)

2001-02-17 Thread Leif Neland

My "main" machine running newest current is hosed at the moment, proabably
because I insisted to much in buildworld -k...

Anyway, I then nfs-mount its /usr/src and /usr/obj onto an working
-current as of 6. jan. 
I can then build a new world with a working userland, I think.
But it stops with printing source on stdout/stderr; I never seen this
before:

--
>>> stage 4: populating /usr/obj/usr/src/i386/usr/include
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  
COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin  
LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib  
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.6.0  DESTDIR=/usr/obj/usr/src/i386  
INSTALL="sh /usr/src/tools/install.sh"  
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 make -f Makefile.inc1 SHARED=symlinks includes
cd /usr/src/include;make -B all install
===> rpcsvc
rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/klm_prot.x -o klm_prot.h
# 1 "/usr/src/include/rpcsvc/klm_prot.x"
/*
 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
 * unrestricted use provided that this legend is included on all tape
... cut
/*
 * Kernel/lock manager protocol definition
 * Copyright (C) 1986 Sun Microsystems, Inc.
 *
 * protocol used between the UNIX kernel (the "client") and the
 * local lock manager.  The local lock manager is a deamon running
 * above the kernel.
 */
... cut - no need to include the whole source in this msg

klm_statKLM_UNLOCK (struct klm_unlockargs) =4;
} = 1;
} = 100020;
*** Error code 1

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

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

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

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

Stop in /usr/src.
arnold/usr/src # exit

Script done on Sat Feb 17 09:15:29 2001

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pkg_update

2001-02-09 Thread Leif Neland


> On Wed, Feb 07, 2001 at 08:23:35PM -0600, Michael C . Wu wrote:
> > On Thu, Feb 08, 2001 at 01:56:11AM +0100, Leif Neland scribbled:
> > | It seems pkg_update is only usable when installing from packages, not from
> > | ports.
> > 
> > Because it is a package update system.  If you want to update
> > from the ports, use 'pkg_version -c |sh'
> 
> Never, ever, *ever* do this.
> 

Just installing a new version of a port seems to work.

Couldn't it be made possible to use just the update-of-dependencies part of pkg_update 
without doing the pkg_delete/pkg_install bit?

Perhaps I'll try...

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pkg_update

2001-02-07 Thread Leif Neland



On Wed, 7 Feb 2001, Michael C . Wu wrote:

> On Thu, Feb 08, 2001 at 01:56:11AM +0100, Leif Neland scribbled:
> | It seems pkg_update is only usable when installing from packages, not from
> | ports.
> 
> Because it is a package update system.  If you want to update
> from the ports, use 'pkg_version -c |sh'
> 

But that does not update the dependencies in the other ports to this
version.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



pkg_update

2001-02-07 Thread Leif Neland

It seems pkg_update is only usable when installing from packages, not from
ports.

Even when I first do a make package, and then try a pkg_update it appears
it does not work correctly, as it wants to uninstall the latest version
before it reinstalls it.

Could pkg_update be a target in bsd.port.mk?

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



*_ROOT removed

2001-02-07 Thread Leif Neland

While the error-messages are clear, I don't remember seeing any heads-up, or 
mentioning of this in UPDATING

Or is it just me...?

--
>>> Kernel build for GINA started on Mon Feb  5 07:13:06 CET 2001
--
===> GINA
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf;  
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  config  -d /usr/obj/usr/src/sys/GINA GINA
WARNING: option `FFS' moved from opt_ffs.h to opt_dontuse.h
WARNING: unknown option `FFS_ROOT' removed from /usr/obj/usr/src/sys/GINA/opt_ffs.h
GINA:31: unknown option "CD9660_ROOT"
*** Error code 1




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [loader?] secret to setting root elsewhere?.

2001-01-25 Thread Leif Neland

> If you mean "it loads the kernel from the wrong place", that's one thing.
> If you mean "it mounts / from the wrong filesystem", then you should be
> aware that the loader reads /etc/fstab, and the kernel will mount
> whatever you've put in there.
>
Just curious, but isn't there a checken-and-egg problem here?

If there is two complete systems, on each disk. If the root on disc 0
contains an /etc/fstab showing root to be mounted from disk 0, and the root
on disk 1 contains an /etc/fstab showing root to be mounted from disk 1?

How is it then possible to mount the root on disk 1?

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



uucico dies with floating point errors

2001-01-23 Thread Leif Neland

I pick up my mail with uucico, because I don't want to put all the mail for
my domain (read: my family) in one mailbox, and I don't have a fixed ip, so
etrn won't work (easily).

Anyway during the last month or so, around a third of the times it runs, it
appearently dies, and I get a message saying uucico died because of a
floating point error.

It seems I get the mail on the next call.

The box is running current of 6. jan, but I¨m pretty sure it started before
that. It's using user-isdn and uucp over tcp.

How would I start debugging this? There is no core files, or other error
messages.

Leif






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Scam warning, was Re: confidential business relationship

2001-01-16 Thread Leif Neland

I hope I don't offend anyones intelligence...

This is a typical Nigerian 4-1-9 scam.
To read more, just do a search on google:
http://www.google.com/search?q=nigeria+scam+4+1+9

Leif
- Original Message -
From: "jega uba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 10:24 PM
Subject: confidential business relationship


> FROM:DR.UBA JEGA.
> SATELLITE TEL.871-761--31.
> SATELLITE FAX.871-761--32.
>
> ATTN:PRESIDENT/CEO.
>
> STRICTLY CONFIDENTIAL & URGENT BUSINESS PROPOSAL.
>
> RE:TRANSFER OF U$21,500.000{TWENTY ONE MILLION FIVE
> HUNDRED THOUSAND US DOLLARS ONLY.
>





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: rebuilding sendmail without building world

2001-01-10 Thread Leif Neland



On Wed, 10 Jan 2001, Ruslan Ermilov wrote:

> On Wed, Jan 10, 2001 at 03:22:30PM +0100, Leif Neland wrote:
> > How do I remake sendmail without making a buildworld?
> > 
> > I'm experimenting with cyrus-sasl and sendmail.
> > 
> > cd /usr/src/contrib/sendmail && make
> > 
> > doesn't work, because there is no Build there.
> > 
> > I could import the original source from sendmail.org, but I'd rather
> > not; I'd prefer using the paths and flags from buildworld.
> > 
> (cd /usr/src; grep NO_SENDMAIL */Makefile) should give you an idea.
> 
Yes, the idea I got was:
cd /usr/src/usr.sbin/sendmail && make && make install

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



rebuilding sendmail without building world

2001-01-10 Thread Leif Neland

How do I remake sendmail without making a buildworld?

I'm experimenting with cyrus-sasl and sendmail.

cd /usr/src/contrib/sendmail && make

doesn't work, because there is no Build there.

I could import the original source from sendmail.org, but I'd rather
not; I'd prefer using the paths and flags from buildworld.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



i4b: I'm missing something in my kernel config.

2001-01-06 Thread Leif Neland
vice  psm # psm mouse
device  vga # VGA screen
device  splash
device  sc  1
device  npx
device  pmtimer
device  sio # 8250, 16[45]50 based serial ports
device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device
device  miibus  # MII bus support
device  ed  # NE[12]000, SMC Ultra, 3c503, DS8390 cards
device  random  # Entropy device
options NOBLOCKRANDOM   # avoid any blocking on device random
device  loop# Network loopback
device  ether   # Ethernet support
device  sl  # Kernel SLIP
device  ppp 1   # Kernel PPP
device  tun # Packet tunnel.
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory "disks"
device  gif 4   # IPv6 and IPv4 tunneling
device  faith   1   # IPv6-to-IPv4 relaying (translation)
device  bpf # Berkeley packet filter
device  sppp#Generic Synchronous PPP
options DRN_NGO
device  "i4bq921"
device  "i4bq931"
device  "i4b"
device  "i4btrc"4
device  "i4bctl"
device  "i4btel"2
device  "i4bipr"4
device  "i4bisppp"  4

Leif Neland




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: IGMP queries

2000-12-31 Thread Leif Neland

From: "Gerhard Sittig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 30, 2000 9:52 PM

> On Sat, Dec 30, 2000 at 18:32 +0100, Leif Neland wrote:
> >
> > My isp's router is sending me IGMP queries.
> >
> > 18:25:07.850008 212.242.151.2 > 224.0.0.1: 212.242.151.2 >
> > 224.0.0.1: igmp v2 query [intvl 10]igmp query [ttl 1]
>
> Ask your provider to not do it. :)  Do you run any multicast
> enabled applications, anyhow?  If not, all of the 224.0.0.0/4
> stuff is not needed ...
>
> > I think it keeps my user-ppp connection open, even if I have
> > this rule in my firewall:
> > $fwcmd add 65432 deny ip from 212.242.151.2 to any
> >
> > If it is true, how can I filter it to stop resetting the
> > idle-timeout?
>
> If you use ppp(8) -- you don't state what your uplink looks like,
> whether it's an analog modem / ISDN / DSL / plain ethernet /
> whatever -- there are four filter lists:  those packets allowed
> to pass in, those to pass out, those to trigger dialing and those
> to keep the session alive.  All the lists can be positive or
> negativ, but are somewhat limited in their length and
> flexibility.  Maybe this feature will help you, although all of
> the above is what I got from reading "man 8 ppp" and not from
> personal experience. :(
>

I use isdn4bsd.

rtfm:
I'll try if "set filter alive 0 deny igmp" does not help.

Tnx





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



IGMP queries

2000-12-30 Thread Leif Neland

My isp's router is sending me IGMP queries.

18:25:07.850008 212.242.151.2 > 224.0.0.1: 212.242.151.2 > 224.0.0.1: igmp
v2 query [intvl 10]igmp query [ttl 1]

I think it keeps my user-ppp connection open, even if I have this rule in my
firewall:
$fwcmd add 65432 deny ip from 212.242.151.2 to any

If it is true, how can I filter it to stop resetting the idle-timeout? I'm
on flat rate now, but even so I don't want to be online 24h/day...

Btw, can I use IGMP to something useful/interesting/funny?

Leif






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



making sendmail with milter and sasl

2000-12-23 Thread Leif Neland

Can I make make world make sendmail with milter and sasl / smtp auth just by
adding to make.conf?

If so, how?

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: How to debug ppp

2000-12-05 Thread Leif Neland
p[56941]: tun0: LCP:  MRU[4] 1500
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  MAGICNUM[6] 0x01e25945
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  PROTOCOMP[2]
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  ACFCOMP[2]
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  MRRU[4] 1506
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  ENDDISC[9] MAC
00:10:bc:06:fa:00
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP: 1: SendConfigRej(10) state =
Req-Sent
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  PROTOCOMP[2]
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  ACFCOMP[2]
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP: 1: SendConfigReq(1) state =
Req-Sent
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  MRU[4] 1500
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  MAGICNUM[6] 0xc23c4361
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  MRRU[4] 1506
Dec  6 00:21:38 arnold ppp[56941]: tun0: LCP:  SHORTSEQ[2]
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: Carrier lost
Dec  6 00:21:40 arnold ppp[56941]: tun0: LCP: 1: State change Req-Sent -->
Starting
Dec  6 00:21:40 arnold ppp[56941]: tun0: LCP: 1: LayerFinish
Dec  6 00:21:40 arnold ppp[56941]: tun0: LCP: 1: State change Starting -->
Initial
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: Disconnected!
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: lcp -> logout
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: Disconnected!
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: logout -> hangup
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: Connect time: 16 secs:
351 octets in, 228 octets out
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: : 19 packets in, 29
packets out
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase:  total 36 bytes/sec, peak 50
bytes/sec on Wed Dec  6 00:21:40 2000
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: 1: hangup -> closed
Dec  6 00:21:40 arnold ppp[56941]: tun0: Phase: bundle: Dead

- Original Message -
From: "Brian Somers" <[EMAIL PROTECTED]>
To: "Leif Neland" <[EMAIL PROTECTED]>
Cc: "Brian Somers" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 11:40 PM
Subject: Re: How to debug ppp


> What happens if you ``disable acfcomp protocomp'' and ``deny acfcomp
> protocomp'' in your config ?
>
> This should be negotiable with isdn but perhaps our requesting it
> is upsetting the peer ?
>
> > It still doesn't work sometimes.
> >
> > I have a complete log (From dialing to hangup) at
> > http://www.neland.dk/arnold.log
> > My ppp.conf is at http://www.neland.dk/arnold.conf
> >
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  MRU[4] 1500
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  MAGICNUM[6] 0xa14dc70c
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  PROTOCOMP[2]
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  ACFCOMP[2]
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  MRRU[4] 1506
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  ENDDISC[9] MAC
> > 00:10:bc:06:fa:00
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP: 1: LayerStart
> > Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP: 1: State change
Stopped -->
> > Ack-Se
> > nt
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP: 1: RecvConfigReq(2) state
=
> > Ack-Se
> > nt
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MRU[4] 1500
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MAGICNUM[6] 0xa14dc70c
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  PROTOCOMP[2]
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  ACFCOMP[2]
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MRRU[4] 1506
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  ENDDISC[9] MAC
> > 00:10:bc:06:fa:00
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP: 1: SendConfigAck(2) state
=
> > Ack-Se
> > nt
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MRU[4] 1500
> > Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> >
> > - Original Message -
> > From: "Brian Somers" <[EMAIL PROTECTED]>
> > To: "Leif Neland" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 29, 2000 2:10 AM
> > Subject: Re: How to debug ppp
> >
> >
> > > Well, I haven't seen this before !!!
> > >
> > > Your ISP is *insisting* that you negotiate a multi-link connection.
> > > You can do this by simply adding
> > >
> > &

Re: How to debug ppp

2000-12-05 Thread Leif Neland

It still doesn't work sometimes.

I have a complete log (From dialing to hangup) at
http://www.neland.dk/arnold.log
My ppp.conf is at http://www.neland.dk/arnold.conf

Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  MRU[4] 1500
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  MAGICNUM[6] 0xa14dc70c
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  PROTOCOMP[2]
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  ACFCOMP[2]
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  MRRU[4] 1506
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP:  ENDDISC[9] MAC
00:10:bc:06:fa:00
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP: 1: LayerStart
Dec  5 22:28:28 arnold ppp[55986]: tun0: LCP: 1: State change Stopped -->
Ack-Se
nt
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP: 1: RecvConfigReq(2) state =
Ack-Se
nt
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MRU[4] 1500
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MAGICNUM[6] 0xa14dc70c
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  PROTOCOMP[2]
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  ACFCOMP[2]
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MRRU[4] 1506
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  ENDDISC[9] MAC
00:10:bc:06:fa:00
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP: 1: SendConfigAck(2) state =
Ack-Se
nt
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  MRU[4] 1500
Dec  5 22:28:29 arnold ppp[55986]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)

- Original Message -
From: "Brian Somers" <[EMAIL PROTECTED]>
To: "Leif Neland" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 2:10 AM
Subject: Re: How to debug ppp


> Well, I haven't seen this before !!!
>
> Your ISP is *insisting* that you negotiate a multi-link connection.
> You can do this by simply adding
>
>   set mrru 1506
>
> to your config.
>
> > I sometimes have trouble connecting to my flat-rate isp via i4bsd.
> > Most of the time it works, but sometimes the handshake fails.
> > What is the log trying to tell me here? What can I tell my isp?
> >
> > When it fails, I can connect to another isp, which charges per minute
> > charges, which I rather not use
> > when I have flat rate.
> >
> > Nov 27 20:48:35 arnold ppp[7461]: tun0: Chat: Phone: x
> > Nov 27 20:48:35 arnold ppp[7461]: tun0: Phase: 1: Connected!
> > Nov 27 20:48:35 arnold ppp[7461]: tun0: Phase: 1: opening -> dial
> > Nov 27 20:48:35 arnold ppp[7461]: tun0: Chat: 1: Dial attempt 1 of 2
> > Nov 27 20:48:35 arnold ppp[7461]: tun0: Phase: 1: dial -> carrier
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: /dev/i4brbch0: CD
detected
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: carrier -> login
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: login -> lcp
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: FSM: Using "1" as a
transport
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: State change Initial -->
> > Closed
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: Entering STOPPED state
for
> > 2 s
> > econds
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: State change Closed -->
> > Stopped
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: RecvConfigReq(1) state =
> > Stopped
> >
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRU[4] 1500
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MAGICNUM[6] 0x08f8f450
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  PROTOCOMP[2]
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  ACFCOMP[2]
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  ENDDISC[9] MAC
> > 00:10:bc:06:fa:00
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: SendConfigReq(1) state =
> > Stopped
> >
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRU[4] 1500
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MAGICNUM[6] 0x0bde8bbc
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: SendConfigRej(1) state =
> > Stopped
> >
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: LayerStart
> > Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: State change Stopped -->
> > Req-Sent
> > Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP: 1: RecvConfigReq(2) state =
> > Req-Sent
> > Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  MRU[4] 1500
> > Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
> > Nov 2

Re: libc.so.4 not found

2000-11-29 Thread Leif Neland



On Sat, 25 Nov 2000, Kris Kennaway wrote:

> On Sat, Nov 25, 2000 at 10:28:53PM +0100, Leif Neland wrote:
> > Could this be the reason why Avp (virusscanner) for FreeBSD 4X just dumps
> > core on Fbsd current?
> > It works on a Fbsd stable.
> 
> Could be malloc.conf defaults. i.e. a bug in avp triggered by the
> debugging /etc/malloc.conf settings in -current.
> 
> Kris
> 
A truss shows Avp tries to open /etc/malloc.conf, but I have no such file
on any of my systems, stable or current.

But Avp continues after this failure.

Do I need /etc/malloc.conf? Where do I find one?

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



AVP not working on current

2000-11-29 Thread Leif Neland



> I'd suggest truss/kdump/etc to try and figure out what avp is doing
> differently on -current then -stable.
> 
Is anything obvious here? (If not, I won't persue the matter, but ask
Kaspersky nicely if they can make a Fbsd-5 version.

I know current is not for production; this is my testmachine.

The last 50 lines from kdump:

 22194 AvpBSD   CALL  sigprocmask(0x3,0x280845f0,0)
 22194 AvpBSD   RET   sigprocmask 0
 22194 AvpBSD   CALL  readlink(0x281627f4,0xbfbff218,0x3f)
 22194 AvpBSD   NAMI  "/etc/malloc.conf"
 22194 AvpBSD   RET   readlink -1 errno 2 No such file or directory
 22194 AvpBSD   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 22194 AvpBSD   RET   mmap 672641024/0x2817b000
 22194 AvpBSD   CALL  break(0x8083000)
 22194 AvpBSD   RET   break 0
 22194 AvpBSD   CALL  break(0x8084000)
 22194 AvpBSD   RET   break 0
 22194 AvpBSD   CALL  sigaction(0xc,0xbfbff310,0xbfbff2f8)
 22194 AvpBSD   RET   sigaction 0
 22194 AvpBSD   CALL  __getcwd(0x8083000,0x3fc)
 22194 AvpBSD   RET   __getcwd 0
 22194 AvpBSD   CALL  sigaction(0xc,0xbfbff2f8,0)
 22194 AvpBSD   RET   sigaction 0
 22194 AvpBSD   CALL  break(0x8085000)
 22194 AvpBSD   RET   break 0
 22194 AvpBSD   CALL  access(0xbfbff19c,0)
 22194 AvpBSD   NAMI  "/root/.AVP/AvpUnix.ini"
 22194 AvpBSD   RET   access -1 errno 2 No such file or directory
 22194 AvpBSD   CALL  access(0x806ece8,0)
 22194 AvpBSD   NAMI  "AvpUnix.ini"
 22194 AvpBSD   RET   access 0
 22194 AvpBSD   CALL  open(0xbfbff19c,0,0x4)
 22194 AvpBSD   NAMI  "AvpUnix.ini"
 22194 AvpBSD   RET   open 3
 22194 AvpBSD   CALL  lseek(0x3,0,0,0,0x2)
 22194 AvpBSD   RET   lseek 111/0x6f
 22194 AvpBSD   CALL  lseek(0x3,0,0,0,0)
 22194 AvpBSD   RET   lseek 0
 22194 AvpBSD   CALL  break(0x8086000)
 22194 AvpBSD   RET   break 0
 22194 AvpBSD   CALL  read(0x3,0x8085000,0x6f)
 22194 AvpBSD   GIO   fd 3 read 111 bytes
   "[AVP32]
DefaultProfile=defUnix.prf

[Configuration]
KeyFile=AvpLinux.key
KeysPath=.
SetFile=avp.set
BasePath=.
   "
 22194 AvpBSD   RET   read 111/0x6f
 22194 AvpBSD   CALL  close(0x3)
 22194 AvpBSD   RET   close 0
 22194 AvpBSD   PSIG  SIGSEGV SIG_DFL
 22194 AvpBSD   NAMI  "AvpBSD.core"
 
All Avp-programs stop the same way.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: system hangs ... not sure how to debug ...

2000-11-28 Thread Leif Neland



On 28 Nov 2000, Michael Harnois wrote:

> On Tue, 28 Nov 2000 19:34:03 -0400 (AST), The Hermit Hacker <[EMAIL PROTECTED]> said:
> 
> > well, John just gave a good break down on what needs to be done
> > to debug it ... do you have easy access to a serial console? I'm
> > trying to scrounge up hardware at this end to do it with, but
> > its difficult :)
> 
> no, i don't ...
> 
I've got a couple. 
I'm at 55.67689N, 12.56869E. Just adjust the transporter beam, Scotty :-)

Leif
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: How to debug ppp

2000-11-28 Thread Leif Neland



On Wed, 29 Nov 2000, Brian Somers wrote:

> Well, I haven't seen this before !!!
> 
> Your ISP is *insisting* that you negotiate a multi-link connection.  
> You can do this by simply adding
> 
>   set mrru 1506
> 
> to your config.
> 
Strange, since my subscription is single channel flat rate isdn...

I'll try it.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: make release & CVS?

2000-11-27 Thread Leif Neland



On Mon, 27 Nov 2000, Jordan Hubbard wrote:

> > I want to start building releases on a home box since it's not doing much 
> > else when I'm at work. But I have a rather low bandwidth, so I was 
> > wondering about the CVS checkout of /usr/src that the make release does. 
> 
> Well, it's fairly easy to keep a cvs repo up to date even at low
> bandwidth (once you've gotten the initial sync) with cvsup.  I've been
> putting the CVS repository on the mainstream CD releases too, so they
> can give you a place to start if your bandwidth is *really* low for
> that initial sync. 

But I don't understand why you need the whole historical cvs repository
when you only use it to check out the current source, which you already
has online. 
Or am I missing something too?

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



How to debug ppp

2000-11-27 Thread Leif Neland

I sometimes have trouble connecting to my flat-rate isp via i4bsd.
Most of the time it works, but sometimes the handshake fails.
What is the log trying to tell me here? What can I tell my isp?

When it fails, I can connect to another isp, which charges per minute
charges, which I rather not use
when I have flat rate.

Nov 27 20:48:35 arnold ppp[7461]: tun0: Chat: Phone: x
Nov 27 20:48:35 arnold ppp[7461]: tun0: Phase: 1: Connected!
Nov 27 20:48:35 arnold ppp[7461]: tun0: Phase: 1: opening -> dial
Nov 27 20:48:35 arnold ppp[7461]: tun0: Chat: 1: Dial attempt 1 of 2
Nov 27 20:48:35 arnold ppp[7461]: tun0: Phase: 1: dial -> carrier
Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: /dev/i4brbch0: CD detected
Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: carrier -> login
Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: login -> lcp
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: FSM: Using "1" as a transport
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: State change Initial -->
Closed
Nov 27 20:48:36 arnold ppp[7461]: tun0: Phase: 1: Entering STOPPED state for
2 s
econds
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: State change Closed -->
Stopped
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: RecvConfigReq(1) state =
Stopped

Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRU[4] 1500
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MAGICNUM[6] 0x08f8f450
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  PROTOCOMP[2]
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  ACFCOMP[2]
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  ENDDISC[9] MAC
00:10:bc:06:fa:00
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: SendConfigReq(1) state =
Stopped

Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRU[4] 1500
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MAGICNUM[6] 0x0bde8bbc
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: SendConfigRej(1) state =
Stopped

Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: LayerStart
Nov 27 20:48:36 arnold ppp[7461]: tun0: LCP: 1: State change Stopped -->
Req-Sent
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP: 1: RecvConfigReq(2) state =
Req-Sent
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  MRU[4] 1500
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  MAGICNUM[6] 0x08f8f450
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  PROTOCOMP[2]
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  ACFCOMP[2]
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  ENDDISC[9] MAC
00:10:bc:06:fa:00
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP: 1: SendConfigRej(2) state =
Req-Sent
Nov 27 20:48:37 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
Looping:
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP: 1: RecvConfigReq(3) state =
Req-Sent
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  MRU[4] 1500
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  MAGICNUM[6] 0x08f8f450
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  PROTOCOMP[2]
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  ACFCOMP[2]
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  ENDDISC[9] MAC
00:10:bc:06:fa:00
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP: 1: SendConfigRej(3) state =
Req-Sent
Nov 27 20:48:38 arnold ppp[7461]: tun0: LCP:  MRRU[4] 1506
Until hangup

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: libc.so.4 not found

2000-11-25 Thread Leif Neland

Could this be the reason why Avp (virusscanner) for FreeBSD 4X just dumps
core on Fbsd current?
It works on a Fbsd stable.

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Proper permissons on /tmp

2000-11-15 Thread Leif Neland

Something keeps changing permissions on /tmp to 755, which causes pine to
claim the mailbox is in use by another process.
This change has occurred a couple of times lately, but I haven't found a
pattern.
When I reset the perms to 777, pine works normal again.
What is the proper perms on /tmp?

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



HP Deskjet 840C supported?

2000-11-01 Thread Leif Neland

I've just gotten a HP Deskjet 840C (Bundled with a HP C200 camera)

Is it just a windows-printer, and/or is it supported under Fbsd?

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: divert as module?

2000-10-22 Thread Leif Neland


> On Sun, 22 Oct 2000, Nimrod Mesika wrote:
>
> >> Or can I use ppp's nat together with ipfw?
> >
> >I see no reason why you can't. In fact, it will probably be more
> >efficient as you will not need two user processes (ppp and natd).
>

I tried, I can. (I should just have tried instead of asking...)

> Furthermore, I don't see why ipfw gains you anything over ppp filters.
> Just run w/ ppp -nat and setup some ppp filters as explained in ppp(8).
> You'll be good to go.

I wanted to get logged what gets denied, I haven't noticed an option in ppp
to do that.

Leif






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current hangs during boot

2000-10-22 Thread Leif Neland



> Leif Neland wrote:
> > >   do you mean one should use "shutdown -r now" or Ctrl-Alt-Del
> > >   instead of "reboot" right after make world and kernel?
> > Exactly. Except not just after make world/kernel, every time you
> > want to reboot/halt.
>
>   Does this make any different?
>
>   shutdown is fine, but ctrl-alt-del is not so good,
>   whenever I did this, the next boot takes a long time on
>   fixing filesystems.
>
You mean your system doesn't unmount the disks at ctrl-alt-del? Does it a
hard reset instead? Strange...

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



divert as module?

2000-10-22 Thread Leif Neland

I want to install ipfw and natd to a machine working as isdn-router, which I
lost the kernel config for
I connect to the world via userland-ppp and isdnd.

I don't have any ipfw or divert compiled in the kernel, but I can load
ipfw.ko, so the firewall rules can work (I now see my isp sends IGMP's to
me...)

I can also start /sbin/natd -n ed0

But the command
"ipfw add divert natd all from any to any via tun0 "
fails:
0 divert 8668 ip from any to any via tun0
ipfw: setsockopt(IP_FW_ADD): Invalid argument

And I can't get from any hosts inside the router to the world.

Can I enable divert via a module, or do I have to reconstruct the kernel
config and recompile?

Or can I use ppp's nat together with ipfw?

I have used the http://www.freebsd.org/tutorials/dialup-firewall/index.html
by Marc Silver as the basis for my setup.

# kldstat
Id Refs AddressSize Name
 15 0xc010 250bf8   kernel
 21 0xc0a88000 6000 ipfw.ko
 31 0xc0ad6000 3000 daemon_saver.ko
 41 0xc0adb000 11000linux.ko

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current hangs during boot

2000-10-22 Thread Leif Neland


- Original Message -
From: "Donny Lee" <[EMAIL PROTECTED]>
To: "Leif Neland" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, October 22, 2000 10:59 AM
Subject: Re: -current hangs during boot


> Leif Neland wrote:
> > >  I've done a very recent week's make world(S) on -current, making
> > >  and installing world and kernel go fine, but all hang on boot,
> > >  with no error codes or msgs.
> > Solution: Due to changes in the random/entropy stuff, you have to reboot
> > the machine with "shutdown -r now" or Ctrl-alt-del, not "reboot".
>
>   not quite understand this...
>
>   do you mean one should use "shutdown -r now" or Ctrl-Alt-Del
>   instead of "reboot" right after make world and kernel?

Exactly. Except not just after make world/kernel, every time you want to
reboot/halt.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current hangs during boot

2000-10-22 Thread Leif Neland



On Sun, 22 Oct 2000, Donny Lee wrote:

> 
>  Hi there,
> 
>  I've done a very recent week's make world(S) on -current, making
>  and installing world and kernel go fine, but all hang on boot,
>  with no error codes or msgs.
> 
Solution: Due to changes in the random/entropy stuff, you have to reboot
the machine with "shutdown -r now" or Ctrl-alt-del, not "reboot".

(Why do we have a separate reboot command? Couldn't it just be an alias
for shutdown -r now?)

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current hangs during boot

2000-10-22 Thread Leif Neland



On Sun, 22 Oct 2000, Donny Lee wrote:

> 
>  Hi there,
> 
>  I've done a very recent week's make world(S) on -current, making
>  and installing world and kernel go fine, but all hang on boot,
>  with no error codes or msgs.
> 
>  When boot, all go fine at the beginning, and stop right after
>  showing the msg:
> 
>  :
>  :
>  /dev/da0s1e: FILESYSTEM CLEAN, SKIPPING CHECK
>  /dev/da0s1e: clean, 92565 free (125 frags, 11555 blocks,
> 0.1%fragmentation) 
>  
>  then no more, I got to power off and on, and reboot using an 
>  old working kernel.
> 

My hangs at loading ldconf. I can continue with ^C.
It then hangs at loading aout-ldconf. I can continue with ^C
It hangs a 3. time, where I again can continue with ^C.
It then complains for missing .so's, naturally because the ldconf was
interrupted, and some commands won't work because of that, but the system
is at least somewhat working...


I'll see if I can narrow it down somewhat.

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: sendmail related changes

2000-10-14 Thread Leif Neland



On Tue, 10 Oct 2000, Gregory Neil Shapiro wrote:

> The following changes have been made in -CURRENT:
> 
> 1. mail.local(8) is no longer installed as a set-user-id binary.
> 
>If you are using a /etc/mail/sendmail.cf from the default sendmail.cf
>included with FreeBSD any time after 3.1.0, you are fine.  If you are
>using a hand-configured sendmail.cf and mail.local for delivery, check
>to make sure the F=S flag is set on the Mlocal line.  Those with .mc
>files who need to add the flag can do so by adding the following line to
>their your .mc file and regenerating the sendmail.cf file:

Is there a way to make make world use my own sendmail.mc?

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: /boot partition?

2000-10-13 Thread Leif Neland


> "Michael C . Wu" wrote:
>
> > On Fri, Oct 13, 2000 at 07:22:20AM -0500, Mike Meyer scribbled:
> > | Just curious - now that the kernel has moved into /boot/kernel/kernel,
> > | does anyone know how well would it work to put /boot in it's own
> > | partition (possibly in it's own slice)?
> >
> > I do not think loader can see stuff in other partitions.
>
> Nope, the loader can load stuff from other partitions, even from some
strange
> ones like msdos ;), so theoretically it should be possible to have /boot,
or
> even /boot/kernel, on another partition (it may require to tweak loader
config
> files, though), but I really do not see any reasons behind such weird
setup.
>
Is it possible to boot from very large disks?
If not, then somebody might want to have a small /boot and the entire rest
of the disk as /

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Updating ports

2000-10-03 Thread Leif Neland



On Sat, 30 Sep 2000, Seigo Tanimura wrote:

> On Thu, 28 Sep 2000 11:55:55 -0500,
>   "Jacques A. Vidrine" <[EMAIL PROTECTED]> said:
> 
> >> It would also be helpful for us to (semi-)automatically update old
> >> binaries installed by ports. (I have been trying this for a couple of
> >> days)
> 
> Jacques> Personally I don't want sysinstall or make world to touch my ports.
> Jacques> But a tool to do this would be great.
> 
> Completely automatic update of installed ports is acutally difficult
> because we cannot get to know the language or required toolkit from
> the name of a binary. (eg emulator/wine and japanese/wine, timidity++-xaw
> and timidity++-tcltk) We can still detect and enumerate the ports that
> possibly installed old binaries, and decide which of the ports listed
> up to update.
> 
Isn't enough information in /var/db/pkg?

Perhaps a level of redirection is needed in the dependencies? (sp?)

Something like the Debian way? 
Instead of foo-1.23 being required by bar-3.34, bar should just require a
foo >1.20.

Or even bar requires an xyzzy.
xyzzy is supplied by fee
xyzzy is supplied by fie
Then the user has the option of installing fee or fie.

Leif.

(Who descrambled the message-file for Collossal adventure on his zx81
converted to cp/m many years ago...) 






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



adv0 -> panic

2000-10-01 Thread Leif Neland

I get a "Panic: Page fault while in supervisor mode"
just after adv0 is displayed during boot.

If I just remove the card, I can boot.

Current current.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Breakage in make world: pam_ssh

2000-09-25 Thread Leif Neland



On Sun, 24 Sep 2000, Kris Kennaway wrote:

> On Mon, 25 Sep 2000, Leif Neland wrote:
> 
> > After trouble making world for some days, I blew the entire /usr/src away
> > (and lost my kernel-config's :-(  )
> > 
> > On a freshly cvsupped current, this has been broken for a few days.
> 
> I think you're not cvsupping all of the source. In particular the crypto
> source.
> 

I changed from the individual parts to src/all, and besides getting
kerberos and secure, I also got these files from crypto, which I should
have gotten already with src/crypto:

 Checkout src/sys/crypto/blowfish/bf_cbc.c
 Checkout src/sys/crypto/blowfish/bf_cbc_m.c
 Checkout src/sys/crypto/blowfish/bf_enc.c
 Checkout src/sys/crypto/blowfish/bf_locl.h
 Checkout src/sys/crypto/blowfish/bf_pi.h
 Checkout src/sys/crypto/blowfish/bf_skey.c
 Checkout src/sys/crypto/blowfish/blowfish.h
 Checkout src/sys/crypto/cast128/cast128.c
 Checkout src/sys/crypto/cast128/cast128.h
 Checkout src/sys/crypto/cast128/cast128_cbc.c
 Checkout src/sys/crypto/cast128/cast128_subkey.h
 Checkout src/sys/crypto/des/des.h
 Checkout src/sys/crypto/des/des_3cbc.c
 Checkout src/sys/crypto/des/des_cbc.c
 Checkout src/sys/crypto/des/des_ecb.c
 Checkout src/sys/crypto/des/des_locl.h
 Checkout src/sys/crypto/des/des_setkey.c
 Checkout src/sys/crypto/des/podd.h
 Checkout src/sys/crypto/des/sk.h
 Checkout src/sys/crypto/des/spr.h
 Checkout src/sys/crypto/md5.c
 Checkout src/sys/crypto/md5.h
 Checkout src/sys/crypto/rc4/rc4.c
 Checkout src/sys/crypto/rc4/rc4.h
 Checkout src/sys/crypto/rc5/rc5.c
 Checkout src/sys/crypto/rc5/rc5.h
 Checkout src/sys/crypto/rc5/rc5_cbc.c
 Checkout src/sys/crypto/sha1.c
 Checkout src/sys/crypto/sha1.h

I don't know if it is because of the extra crypto-files or the
secure-files, but at least the compile now doesn't stop there, but because
of a missing m4-file for sendmail, which i lost when I got a new /usr/src

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Breakage in make world: pam_ssh

2000-09-24 Thread Leif Neland



On Sun, 24 Sep 2000, Kris Kennaway wrote:

> On Mon, 25 Sep 2000, Leif Neland wrote:
> 
> > After trouble making world for some days, I blew the entire /usr/src away
> > (and lost my kernel-config's :-(  )
> > 
> > On a freshly cvsupped current, this has been broken for a few days.
> 
> I think you're not cvsupping all of the source. In particular the crypto
> source.
> 
crypto was in my cvsup-file.
However, I'm now trying with src/all instead.

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Breakage in make world: pam_ssh

2000-09-24 Thread Leif Neland

After trouble making world for some days, I blew the entire /usr/src away
(and lost my kernel-config's :-(  )

On a freshly cvsupped current, this has been broken for a few days.


===> libpam/modules/pam_ssh
cc -O -pipe -Wall -I/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh 
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/log-client.c -o 
log-client.o
cc -O -pipe -Wall -I/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh 
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/pam_ssh/pam_ssh.c -o 
pam_ssh.o
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/pam_ssh/pam_ssh.c: In 
function `pam_sm_open_session':
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/pam_ssh/pam_ssh.c:446: 
warning: passing arg 2 of `ssh_add_identity' from incompatible pointer type
building standard pam_ssh library
ranlib libpam_ssh.a
cc -fpic -DPIC -O -pipe -Wall 
-I/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh 
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/log-client.c -o 
log-client.So
cc -fpic -DPIC -O -pipe -Wall 
-I/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh 
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/pam_ssh/pam_ssh.c -o 
pam_ssh.So
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/pam_ssh/pam_ssh.c: In 
function `pam_sm_open_session':
/usr/src/lib/libpam/modules/pam_ssh/../../../../crypto/openssh/pam_ssh/pam_ssh.c:446: 
warning: passing arg 2 of `ssh_add_identity' from incompatible pointer type
make: don't know how to make /usr/obj/usr/src/i386/usr/lib/libcrypto.a. Stop
*** Error code 2

Stop in /usr/src/lib/libpam/modules.
*** Error code 1

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

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

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

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

Stop in /usr/src.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Permissions for /var/mail

2000-09-22 Thread Leif Neland

Pine 4.21 complains that /var/mail is vulnerable, that the perms should be
1777

Would this be less vulnerable than 775 which make world restores it to?

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ppp.linkdown

2000-09-22 Thread Leif Neland



On Sat, 12 Aug 2000, Brian Somers wrote:

> > Is ppp.linkdown executed before or after the link is down?
> > 
> > I'd like to change a dyndns, but will link activity done in linkdown defeat
> > the timeout, or start a new call?
> 
> It'll start a new call in auto mode.
> 
So any ideas how to use dyndns?

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: call for testers: init securelevel patch

2000-09-13 Thread Leif Neland



On Fri, 8 Sep 2000, Paul Herman wrote:

> On Fri, 8 Sep 2000, Vivek Khera wrote:
> 
> > > "BE" == Bruce Evans <[EMAIL PROTECTED]> writes:
> > 
> > BE> revision 1.9
> > BE> date: 1997/06/25 07:31:47;  author: joerg;  state: Exp;  lines: +2 -2
> > BE> Don't ever allow lowering the securelevel at all.  Allowing it does
> > BE> nothing good except of opening a can of (potential or real) security
> > BE> holes.  People maintaining a machine with higher security requirements
> > BE> need to be on the console anyway, so there's no point in not forcing
> > BE> them to reboot before starting maintenance.
> > 
> > Perhaps one of the secure level restrictions should be that you cannot
> > attach to pid 1 via the debugger.
> 
> You can't.
> 
> Ever since Apr 1997 you couldn't attach gdb to init.
> 
How is that done?
Will gdb not attach to init, or will init not let gdb attach?

If the former, then badguy can just use a custom gdb...

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ftp and /etc/services...

2000-08-16 Thread Leif Neland



On Wed, 16 Aug 2000, Donn Miller wrote:

> This is on a recently-built -current box.  When I try to move ftp from
> port 21 to port 2121 in /etc/services, I get a "Connection
> refused" message when I try to login to anonymous ftp sites.  Should ftp
> be this dependent on /etc/services?  What if you _have_ no services
> running, e.g. inetd & portmap?  Returning ftp to port 21 in services fixes
> this problem.  I posted earlier about my problems with ftp recently.
>
When you change ftp in /etc/services to 2121, you tell your machine, that
ftp by default is running on port 2121 all over the world.

What you want to do is _add_ a new service, eg spcl_ftp on port 2121 in
/etc/services, and then in /etc/inetd.conf replace the keyword ftp with
spcl_ftp:

spcl_ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l

If you have a standalone ftp-daemon (not invoked by inetd), you probably
have a command-line option for specifying the port you want it to listen
on.

Leif
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Perl installworld trouble

2000-08-15 Thread Leif Neland

When installing a current world on a month or so old current, installworld
failed during install of perl.
Under /usr/libdata/perl/5.6.0, I manually had to create these directories:

IO/Socket
auto/DB_File
auto/GDBM_File
auto/POSIX

When I created those, installworld was able to continue. (I hope it
finishes...)

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Build breakage (was: fail to compile kernel...)

2000-08-13 Thread Leif Neland


> I didn't mean to finger you particularly. It's just a bit upsetting to
> realize that I can't remember the last time I managed to do an update
> to -current without some kind of breakage. I realize that -current
> isn't guaranteed to build, but that's a bit ridiculous. I mean - I was
> pleasantly surprised that I could build the world first time out. To
> find the kernel breaking for a module that I have no absolutely no use
> for on this machine was a bit upsetting.
>
> I'm beginning to wonder if I shouldn't use -stable as a buffer, and
> just let the committers deals with things not being up to -current. Or
> maybe check to see if the other *BSD's aren't a bit more demanding of
> committers.
>
What if the machine building snapshots took a note of the time it cvsup'ped.
Then if the build succeded, it would append this date to a file.
We could then feed this date to our cvsup, to get a version which at least
compiled.

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: USER PPP

2000-08-10 Thread Leif Neland



On Wed, 9 Aug 2000, justin wrote:

> Hey fellas...
> 
> What I would like to do right now, however, is guarantee that
> anytime, anyday, barring a problem with my ISP, that my box is
> connected to the internet. I have it currently setup to dial the
> internet when it boots and that seems, so far to work ok. My problem
> you ask? My ISP implements a 5 minute no transfer policy, they
> disconnect my connection after 5 minutes of 'idling'. What I would
> like to do is have some kind of check to verify if I am still
> connected to the internet and if not, execute it. I was thinking some
> type of script running from crontab every 5 minutes. If I am not
> connected, then automatically reconnect to the internet.
> 
Why do you want to be online all the time? Are you running a server which
should be accessible from the internet?
Do you have adsl or the like available?

Perhaps we will see questions on the radius- or isp-lists:

How do I disconnect an user when the traffic is below a certain limit?
How do I limit the number of connects daily from an user?
How do I limit the number of minutes daily per user?

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



inheriting certificate trust

2000-08-07 Thread Leif Neland

I've got a verisign'ed certificate for our webserver.
According to Microsoft explorer/outlook, it can be used for verifying the
servers identity, but not for mail.

I've used this certificate to sign a new certificate, and Microsoft
recognizes it and the trust chain, and will use it for verifying the
servers identity, but not for mail.

According to openssl x509, both certificates are usable for smime.

Can I use the webserver certificate to make mail-certificates, or is it 
because the root CA at verisign is not for mail, then none of its children
can be for mail?

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: sendmail 8.11.0 trouble

2000-07-31 Thread Leif Neland



On Tue, 1 Aug 2000, Leif Neland wrote:

> 
> 
> On Sun, 30 Jul 2000, Garrett Wollman wrote:
> 
> > < said:
> > 
> > >> On Sunday, July 30, 2000, Leif Neland wrote:
> > 
> > >> > Sendmail 8.11.0
> > >> > 
> > >> > When invoking sendmail or newaliases I get this message:
> > >> > /etc/pwd.db: Invalid argument
> > >> > 
> > >> > Sendmail can't read /etc/pwd.db, and therefore cannot deliver any local
> > >> > mail.
> > >> > 
> > >> > Howtofixitplease?
> > 
> > Sounds like you're using the wrong version of Berkeley DB (i.e., not
> > the one in libc).  Can't fathom how this could override the internal
> > linkage in libc, though.
> > 
> 
> There seems indeed to be a confusion of the .db's:
> /etc/mail/aliases.db: MS Windows COFF Unknown CPU
> /etc/pwd.db: Berkeley DB Hash file (Version 2, Little Endian, Bucket Size 4096, 
>Bucket Shift 12, Directory Size 256, Segment Size 256, Segment Shift 8, Overflow 
>Point 3, Last Freed 2, Max Bucket 7, High Mask 0xf, Low Mask 0x7, Fill Factor 32, 
>Number of Keys 52)
> 
> Sendmail compiles with -DNEWDB
> 
> I had db 2.something installed from the ports. I uninstalled it, it made
> no difference.
> 

I compile in /usr/src/sendmail-8.11.0
I nfs-mounted /usr/src and /usr/obj to an a little older current (like
when I do a make installworld to the older machine)
I then compiled the same sourcedir with the same options, but now I got a
sendmail binary, which understands Berkley DB Hash file (version 2).
Then I could "./Build install" a working sendmail on the original machine.

Something on the original machine must trigger a wrong db type in sendmail
build.

Strange...

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: sendmail 8.11.0 trouble

2000-07-31 Thread Leif Neland



On Sun, 30 Jul 2000, Garrett Wollman wrote:

> < said:
> 
> >> On Sunday, July 30, 2000, Leif Neland wrote:
> 
> >> > Sendmail 8.11.0
> >> > 
> >> > When invoking sendmail or newaliases I get this message:
> >> > /etc/pwd.db: Invalid argument
> >> > 
> >> > Sendmail can't read /etc/pwd.db, and therefore cannot deliver any local
> >> > mail.
> >> > 
> >> > Howtofixitplease?
> 
> Sounds like you're using the wrong version of Berkeley DB (i.e., not
> the one in libc).  Can't fathom how this could override the internal
> linkage in libc, though.
> 

There seems indeed to be a confusion of the .db's:
/etc/mail/aliases.db: MS Windows COFF Unknown CPU
/etc/pwd.db: Berkeley DB Hash file (Version 2, Little Endian, Bucket Size 4096, Bucket 
Shift 12, Directory Size 256, Segment Size 256, Segment Shift 8, Overflow Point 3, 
Last Freed 2, Max Bucket 7, High Mask 0xf, Low Mask 0x7, Fill Factor 32, Number of 
Keys 52)

Sendmail compiles with -DNEWDB

I had db 2.something installed from the ports. I uninstalled it, it made
no difference.

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



ppp.linkdown

2000-07-31 Thread Leif Neland

Is ppp.linkdown executed before or after the link is down?

I'd like to change a dyndns, but will link activity done in linkdown defeat
the timeout, or start a new call?

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: sendmail 8.11.0 trouble

2000-07-30 Thread Leif Neland



On Sun, 30 Jul 2000, Chris Costello wrote:

> On Sunday, July 30, 2000, Leif Neland wrote:
> > Freshly cvsupped current.
> > 
> > Sendmail 8.11.0
> > 
> > When invoking sendmail or newaliases I get this message:
> > /etc/pwd.db: Invalid argument
> > 
> > Sendmail can't read /etc/pwd.db, and therefore cannot deliver any local
> > mail.
> > 
> > Howtofixitplease?
> 
>If you mean when running it as non-root, then you should have
> g+r on /etc/pwd.db, since it carries the same information as
> /etc/passwd anyway.
> 
> 
sendmail is -r-sr-xr-x  root bin
/etc/pwd.db -rw-r--r--  root wheel

I haven't done anything else than unpacking sendmail, building and
installing. No command line options or other tricks, except adding milter
to devtools/Site/site.config.m4

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



sendmail 8.11.0 trouble

2000-07-29 Thread Leif Neland

Freshly cvsupped current.

Sendmail 8.11.0

When invoking sendmail or newaliases I get this message:
/etc/pwd.db: Invalid argument

Sendmail can't read /etc/pwd.db, and therefore cannot deliver any local
mail.

Howtofixitplease?

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: buildworld failure

2000-07-24 Thread Leif Neland


> -On [2723 07:15], John Polstra ([EMAIL PROTECTED]) wrote:
> >Some developers just aren't being careful enough.  The biggest problem
> >is they don't restore their systems to a 100% pristine state before
> >they test.
>
> Think we could come up with a make cleanworld like target which does
> just that?
> 't Would be pretty helpful IMHO.

That would be pretty much like a fresh install from a snapshot.
Or a backup/restore cycle.

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



make kernel breakage: if_tap

2000-07-20 Thread Leif Neland

Just cvsupped:

Script started on Fri Jul 21 07:12:56 2000 CEST
gina/usr/src/sys/compile/GINA # make clean
...
===> if_tap
cd: can't cd to /usr/src/sys/modules/if_tap
*** Error code 2

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

Stop in /usr/src/sys/compile/GINA.

gina/usr/src/sys/compile/GINA # make depend
...
===> if_tap
cd: can't cd to /usr/src/sys/modules/if_tap
*** Error code 2

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

Stop in /usr/src/sys/compile/GINA. 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: No /boot/loader

2000-07-20 Thread Leif Neland



On Thu, 20 Jul 2000, Warner Losh wrote:

> In message <[EMAIL PROTECTED]> Leif Neland 
>writes:
> : Just to be on the safe side, is there a simple way to see if a disk is
> : dedicated?
> 
> fdisk -s ad0
> 
> If there's a slice table, then it will give you a summary report of
> the slices.  If not it will report an error (and maybe give you a
> faked up listing).

I have windows partitions on my disks here, so they can't be dedicated.
fdisk -s ad[0,1,2] all reports
invalid fdisk partition found.

Does that mean that a dedicated disk has a slice table, a normal doesn't?

Confused...

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: No /boot/loader

2000-07-20 Thread Leif Neland



On Thu, 20 Jul 2000, Doug White wrote:

> Your boot disk is now *required* (or will be very very soon) to have a
> proper slice table in -CURRENT; dedicated disks are deprecated in order to
> get a smarter boot0.
> 
So dedicated disks are to be reformatted?
Just to be on the safe side, is there a simple way to see if a disk is
dedicated?

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: trafshow doesn't work?

2000-07-19 Thread Leif Neland



On Wed, 19 Jul 2000, Sam Xie wrote:

> Hi! There,
> My trafshow doesn't work.  Whenever I tried to run trafshow, it gave me
> error message says, "trafshow: : Device not configured" I check my 
>Kernel configuration file, a line
>"device  bpf 4   #Berkeley packet filter"

I get the same message when running arpwatch which also uses bpf.
It still works, though.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: randomdev entropy gathering is really weak

2000-07-19 Thread Leif Neland



On Wed, 19 Jul 2000, Steve O'Hara-Smith wrote:

> 
> On 19-Jul-00 Peter Dufault wrote:
> > Is the resolution of thermal sensors on many new motherboards and
> > CPU high enough to get thermal randomness?
> 
> The voltage sensors have some noise too (maybe not enough).
> 
Fan speed too.

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: cer/b7b/pfc -> pem

2000-07-18 Thread Leif Neland



On 17 Jul 2000, Daniel Berlin+list.freebsd-current wrote:

> "Leif Neland" <[EMAIL PROTECTED]> writes:
> 
> > I have a Verisign personal certificate (Look me up at Verisign, as Leif
> > Neland)
> > 
> > This works nicely in Windows (Outlook Express), but I'd like to try using
> > the same key with openssl to generate crypted (to myself) or signed
> > messages.
> > 
> > I can export the key as a .cer, .p7b or .pfx, but openssl seems to want it
> > in .pem format.
> > 
> 
> What does the p7b file look like?
> 
> And the .cer file, and the .pfx file?
> 
> Are any of them ascii, with a "BEGIN PKCS7" or "BEGIN CERTIFICATE"
> line?
> 
With crl2pcks7 I can convert the p7b and cer to a pem, which contain BEGIN
PKCS7 ,  random characters,  and END PKCS7

I can't use this to encrypt with, smime wants "BEGIN CERTIFICATE"

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



cer/b7b/pfc -> pem

2000-07-17 Thread Leif Neland

Apropos pseudorandom, ssh etc; I hope this is not too off-topic, or can
somebody point in the right direction:

I have a Verisign personal certificate (Look me up at Verisign, as Leif
Neland)

This works nicely in Windows (Outlook Express), but I'd like to try using
the same key with openssl to generate crypted (to myself) or signed
messages.

I can export the key as a .cer, .p7b or .pfx, but openssl seems to want it
in .pem format.

Am I totally confused, or is it possible to convert one of the above to
.pem?

Leif





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: randomdev entropy gathering is really weak

2000-07-17 Thread Leif Neland



On Mon, 17 Jul 2000, Steve O'Hara-Smith wrote:

> 
> On 17-Jul-00 Poul-Henning Kamp wrote:
> > NTP is the perfect way to gather entropy at bootup!
> 
> Only if in reach of an NTP server ?
> 
If you can't reach a NTP server, you are not connected to the internet. In
that case you don't need to worry so much about security...

Leif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



cvsup deadlock and ssh error

2000-07-12 Thread Leif Neland

After cvsupping around 1:00 GMT and making world, I got this when doing
cvsup again:

Parsing supfile "/root/standard-supfile"
Connecting to cvsup.dk.FreeBSD.org


***
  idThread.T closure rootA* waiting for
>  2   0x8388400   0x8388740 MeterMaid  condition 0x8385778
   1   0x8368004 0x0 *main program*  A  I/O 
   4   0x838851c   0x8388874 Watchercondition 0x8385f6c
   3   0x838874c   0x83889d4 VFontCleanUpThread condition 0x8385d0c
***


***
*** runtime error:
***Deadlock !
***

-- EXCEPTION HANDLER STACK -
0x83be784 RAISES  {Thread.Alerted}
0x83be7c0 TRY-FINALLY  proc = 0x81e6c70   frame = 0x83be7d0
0x83be7e8 RAISES {}
0x83be820 LOCK  mutex = 0x8385768


Also ssh gives this message in /var/log/messages

Jul 13 07:24:50 gina sshd[233]: error: select: Operation not supported by device
Jul 13 07:24:50 gina last message repeated 41 times
Jul 13 07:24:51 gina sshd[233]: error: select: No buffer space available
Jul 13 07:24:52 gina last message repeated 140 times

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Current Spontaneous Reboot

2000-07-10 Thread Leif Neland

Just a "me too"

While telnetting to another machine, I suddenly got a "Page not present in
supervisor mode", and a reference to rc5des.

Unfortunately I hit the "any-key" too fast to provide any more info.

Leif
- Original Message -
From: "Thomas D. Dean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 10, 2000 8:01 PM
Subject: Current Spontaneous Reboot


> I just experienced a sudden reboot.
>
> I am running -current SMP.  Cvsup, make world, rebuild kernel 2709.
>
> # uname -a
> FreeBSD celebris 5.0-CURRENT FreeBSD 5.0-CURRENT #0: \
> Sun Jul  9 18:05:19 PDT 2000 \
> root@celebris:/usr/src/sys/compile/CELEBRIS-SMP  i386
>
> The system was very lightly loaded.  I was running emacs creating a
> shell script.  When the reboot happened, I was attempting to go up the
> tcsh history chain.  I pressed the up arrow several times and the
> system froze for a few seconds and rebooted.  It did not drop into the
> debugger.
>
> I have
>   options DDB
>   options KTRACE  #kernel tracing
> in the config.
>
> After the 'world and new kernel on 2709, I did a 'make world' on
> 2710, testing stability.  No problems, although the time increased
> by an hour to 9 hours.
>
> tomdean
>
> = config 
> #
> # CELEBRIS-SMP
> #
>
> machine i386
> cpu I586_CPU
> ident CELEBRIS
> hints "CELEBRIS.hints"
> maxusers 50
>
>
> ##
> #
> # options from mptable
> #
> #MPTable, version 2.0.11
> #
>
#--
> #
> #MP Floating Pointer Structure:
> #
> #  #location: EBDA
> #  physical address: 0x0009fc30
> #  signature:'_MP_'
> #  length:   16 bytes
> #  version:  1.1
> #  checksum: 0x55
> #  mode: Virtual Wire
> #
>
#--
> #
> #  MP default config type: 5
> #
> #   bus: ISA+PCI, APIC: Integrated
> #
>
#--
> #
> # SMP kernel config file options:
>
> # Required:
> options SMP # Symmetric MultiProcessor Kernel
> options APIC_IO # Symmetric (APIC) I/O
>
> # Lets always enable the kernel debugger for SMP.
> options DDB
> #makeoptions DEBUG=-g
>
>
> ##
>
> options INET #InterNETworking
> options FFS #Berkeley Fast Filesystem
> options FFS_ROOT #FFS usable as root device
> options NFS #Network Filesystem
> options MSDOSFS #MSDOS Filesystem
> options "CD9660" #ISO 9660 Filesystem
> options PROCFS #Process filesystem
> options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
> options SCSI_DELAY=1 #Be pessimistic about Joe SCSI device
> options UCONSOLE #Allow users to grab the console
>
> options MSGBUF_SIZE=(10*PAGE_SIZE) #System Message Buffer Size
>
> options SYSVSHM # for X11
> options SYSVSEM # for X11
> options SYSVMSG # for X11
>
> options RANDOMDEV   #entropy device
>
> #options PSM_CHECKSYNC # resync when switch console modes
>
> #config kernel root on da1
>
> device isa
> device pci
> options COMPAT_OLDPCI   #Use PCI shims and glue for old drivers
>
>
> device fdc
> #
> # FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
> # gotta turn it actually on by setting the variable fd_debug with DDB,
> # however.
> options FDC_DEBUG
>
> #tape ft0 at fdc0 drive 2
>
> device ncr
>
> device scbus
>
> device da # SCSI Direct Access Device
>
> device sa # SCSI Tape
>
> device cd #Only need one of these, the code dynamically grows
>
> # The keyboard device; it controlls the keyboard and the PS/2 mouse.
> device atkbdc
>
> # The AT keyboard
> device atkbd
>
> # `flags' for atkbd:
> #   0x01Force detection of keyboard, else we always assume a
keyboard
> #   0x02Don't reset keyboard, useful for some newer ThinkPads
> #   0x04Old-style (XT) keyboard support, useful for older
ThinkPads
>
> device psm
>
> # The video card driver.
> device vga
>
> # Splash screen at start up!  Screen savers require this too.
> device splash
>
> # syscons is the default console driver, resembling an SCO console
> device sc
>
> device npx
>
> device sio
> device sio
>
> # Parallel-Port Bus
> # nlpt Parallel Printer
> device ppbus
> device lpt
> device ppc
>
>
> device de # DEC DC21040 Ethernet Adapter
>
> device loop
> device ether
> device tun 1
> device   bpf 4  #Berkeley packet filter
> device vn #Vnode driver (turns a file into a device)
> device   snp 3   #Snoop device - to look at pty/vty/etc..
> device pty 16
> device gzip # Exec gzipped a.out's
>
> # KTRACE enables the system-call tracing facility ktrace(2).
> # This adds 4 KB bloat to your kernel, and sli

Virus alert, was: Re: SCSI Question

2000-07-09 Thread Leif Neland

These messages are infected with the kak virus. See
http://www.cai.com/virusinfo/encyclopedia/descriptions/wscript.htm

- Original Message -
From: Josh Paetzel
To: Robert Small ; [EMAIL PROTECTED] ;
[EMAIL PROTECTED]
Sent: Sunday, January 14, 1990 6:02 AM
Subject: Re: SCSI Question



- Original Message -
From: Robert Small
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Saturday, July 08, 2000 5:45 PM
Subject: SCSI Question


Damon Hammis wrote:

> The jumpers are set wrong on the card.  I had the exact same problem with
> an aha-1542 and aha-1540 card recently.  The docs on the jumpers that you
> can get on Adaptec's site are kind of cryptic, but the card will work once
> you get the jumpers placed correctly.
>





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



confusion regarding *.dk.freebsd.org

2000-07-07 Thread Leif Neland

Who is controlling the DNS for dk.freebsd.org?

Appearently the dns is on ra.dkuug.dk and ns1.cybercity.dk, but neither
have the zone.

Phoneing dkuug; they're not sure they should host that domain.
Phoneing cybercity: You don't own that domain? I can't help you...

I wouldn't mind hosting the DNS if needed.

Leif


 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



new fetch: no progress shown

2000-07-03 Thread Leif Neland

The new fetch does not show progress when dl'ing stuff for ports.

I tried adding FETCH_BEFORE_ARGS = " -v " in /usr/ports/Mk/bsd.ports.mk
but then fetch just dies:
fetch: -v : parse error
Segmentation fault - core dumped

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Perl won't installworld: INET.pm

2000-06-29 Thread Leif Neland

Just cvsupped:

Make buildworld seems ok now, however make installworld fails:

===> gnu/usr.bin/perl
===> gnu/usr.bin/perl/libperl
install -c -o root -g wheel -m 444   libperl.a /usr/lib
install -c -s -o root -g wheel -m 444 libperl.so.4 /usr/lib
ln -sf libperl.so.4 /usr/lib/libperl.so
===> gnu/usr.bin/perl/miniperl
install -c -s -o root -g wheel -m 555   miniperl /usr/bin
===> gnu/usr.bin/perl/perl
install -c -s -o root -g wheel -m 555   perl /usr/bin
/usr/bin/perl5 -> /usr/bin/perl
/usr/bin/perl5.006 -> /usr/bin/perl
===> gnu/usr.bin/perl/suidperl
install -c -s -o root -g wheel -m 4511   suidperl /usr/bin
/usr/bin/sperl5 -> /usr/bin/suidperl
/usr/bin/sperl5.006 -> /usr/bin/suidperl
===> gnu/usr.bin/perl/library
install: /usr/libdata/perl/5.006/./IO/Socket/INET.pm: No such file or directory
*** Error code 71

Stop in /usr/src/gnu/usr.bin/perl/library.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1

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

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

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

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

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

Stop in /usr/src.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Check for ports updates

2000-06-28 Thread Leif Neland



On Wed, 28 Jun 2000, Alexander Leidinger wrote:

> On 28 Jun, Leif Neland wrote:
> > Any reason not to put this into bsd.port.mk?
> > 
> > make update
> 
>  - it removes your config files in most cases.

Most sane install's either just installs foo.conf.sample, or won't
overwrite existing config-files.

>  - it may break binaries which depend upon a specific library.
>  - ...

Libraries should be marked non-autoupgradable somehow.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Check for ports updates

2000-06-28 Thread Leif Neland



On Wed, 28 Jun 2000, Alexander Leidinger wrote:

> On 28 Jun, Neil Blakey-Milner wrote:
> 
> >> Any reason not to put this into bsd.port.mk?
> >> 
> >> make update
> > 
> > It will break the system at least 20% of the time.  Change 20% to 100%
> > for gnome, kde, xpm, png, tiff, jpeg, and so forth.
> 
> I've successfully updated png/tiff/jpeg and some gnome packages
> (core/libs, but not from 1.0.x to 1.2.x) this way. 100% is to much, but
> even 10% is to much for "make update".
> 
Can the portmaintainer add a flag: 

NO_UPDATE="major jump in version - keep old version too" 

Or

UPDATE_OK="1.0.3"
meaning it's ok to upgrade if the previous version is 1.0.3 or higher.

Leif




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Check for ports updates

2000-06-28 Thread Leif Neland

Any reason not to put this into bsd.port.mk?

make update




On Wed, 28 Jun 2000, Alexander Leidinger wrote:

> On 28 Jun, Leif Neland wrote:
> 
> > The steps needed for upgrading a package (from ports) would be:
> > 
> > make install
> > 
> > append foo-1.1/+REQUIRED_BY to foo-1.2/+REQUIRED_BY
> > 
> > traverse /var/db/pkg/* and remove foo-1.1/replace with foo-1.2
> > 
> > "subtract" foo-1.2/+CONTENT from foo-1.1/+CONTENT, only removing files
> > needed only in foo-1.1
> > 
> > remove /var/db/pkg/foo-1.1
> 
> cd /usr/ports/foo/bar
> make
> mv /var/db/pkg/bar-x.y.z/+REQUIRED_BY .
> pkg_delete bar-a.b.c
> make install
> mv +REQUIRED_BY /var/db/pkg/bar-d.e.f
> port_update.sh bar a.b.c d.e.f
> 
> port_update.sh:
> ---snip---
> #!/bin/sh
> 
> # Syntax: port_update.sh   
> # yes, I know it's ugly
> 
> if [ ! $3  ]; then
>   echo "$0   "
>   exit 1
> fi
> 
> for i in `cat /var/db/pkg/${1}-${3}/+REQUIRED_BY`; do
>   echo -n "Updating ${i}... "
>   perl -npi -e "s:\@pkgdep\ ${1}\-${2}:\@pkgdep\ ${1}\-${3}:g" 
>/var/db/pkg/${i}/+CONTENTS
>   echo "done"
> done
> ---snip---
> 
> Lazy disclaimer:
>  - works for me
>  - I think I know what I'm doing here (and what the limitations are
>(e.g. bar == libxyz && libmajorversion(old) !=
>libmajorversion(new))).
> 
> Bye,
> Alexander.
> 
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



  1   2   >