The FreeBSD Diary: 2002-12-29 - 2003-01-18

2003-01-19 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

7-Jan : Tell your story, help others
 Tell your story, help others
 http://freebsddiary.org/tell-your-story.php?2


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source


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



ipfw

2003-01-19 Thread Me
hi,
i have a serious problem on a freebsd 4.6 on an i386...

any time i try to use the ipfw command - even for ipfw show - the 
machine crashes and reboots automatically...
the messages log file registers this:

/kernel: Fatal trap 12: page fault while in kernel mode
Jan 18 19:34:09 host /kernel: fault virtual address = 0x0
Jan 18 19:34:09 host /kernel: fault code = supervisor read, page not present
Jan 18 19:34:09 host /kernel: instruction pointer = 0x8:0x0
Jan 18 19:34:09 host /kernel: stack pointer = 0x10:0xd2ef5ea8
Jan 18 19:34:09 host /kernel: frame pointer = 0x10:0xd2ef5ebc
Jan 18 19:34:09 host /kernel: code segment = base 0x0, limit 0xf, 
type 0x1b
Jan 18 19:34:09 host /kernel: = DPL 0, pres 1, def32 1, gran 1
Jan 18 19:34:09 host /kernel: processor eflags = interrupt enabled, 
resume, IOPL = 0
Jan 18 19:34:09 host /kernel: current process = 632 (ipfw)
Jan 18 19:34:09 host /kernel: interrupt mask = none
Jan 18 19:34:09 host /kernel: trap number = 12
Jan 18 19:34:09 host /kernel: panic: page fault


i have linux background and used to ipchanes...  but i'm new to ipfw on 
freebsd.

in the rc.conf file the ipfw type is unknown which means that when 
rc.firewall gets called there is no firewall rules set up...  i don't 
see how this will make the machine crash when i type:
# ipfw -a show

i'm thinking of recompiling the kernel but not sure if this will help

can somebody help please


thanks




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


Re: Access to internal systems

2003-01-19 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:

Ive got a number of windows machines running behind a Freebsd 
gateway to the Internet. The gateway is accessible via an entry at 
Dyndns.org: bstar.ath.cx.

What I'd like to do is be able to get to the internal machine (named 
winmachine1) from the Internet using a construct such as:  
winmachine.bstar.ath.cx.

You can have dyndns.org host a few DNS records for you, so you don't need to 
run your own nameserver.  get to is not very specific, but if you want a 
bunch of machines to be reachable remotely, talk to your ISP and obtain a 
routable subnet from them.  Of course, they could also host your DNS instead 
of dyndns.org, but that's up to you.

-Chuck


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


Re: code 1 error on kernel compile

2003-01-19 Thread Chuck Swiger
Stephen D. Kingrea wrote:
[ ... ]

the file in question appears as an e-mail message. line 4 of the header
reads: Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA


You are (or were) using the UWash IMAP software; this message is mostly 
harmless.  Mostly only in that there have been some security bugs fixed and 
the latest version of the UWash IMAP software doesn't need to create this 
message anymore.

several attempts to compile using both methods yields the same result at
the same spot.what a mess.


Believe it or not, reproducable problems are much better than intermittant ones.

-Chuck


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



Re: How to read core dump

2003-01-19 Thread Paidhi
Hi,

Under Linux there can be used strace to follow the programs system calls. 
There is also an strace (and ltrace) in the ports collection.

http://www.freebsd.org/cgi/url.cgi?ports/devel/strace/pkg-descr
http://www.freebsd.org/cgi/url.cgi?ports/sysutils/ltrace/pkg-descr

Maybe this can help you analyzing the problem.


Regards,
  Markus


On Sunday 19 January 2003 02:31, Doug Poland wrote:
 Hello,

 I am attempting to run MySQL Control Center (also known as MySQLCC) on
 FreeBSD 4.7-STABLE.  FYI, is a platform-independent GUI administration
 client for the MySQL database server.  The binary version I downloaded
 from MySQL.com is for Linux glibc 2.2.

 My system is running linux_base-7.1_2.  When I execute the mysqlcc
 command, it immediately dumps core.  Curiously, it runs fine on
 another 4.7-STABLE box similarly configured.

 After doc perusal and googling, I haven't found out how to read a core
 dump.  I suppose if I knew how to read them I could easily determine
 where the program died.  Is this an accurate statement?  Is there
 another way to find out why a program dumps core?

 Thanks for your help!


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



Re: MakeDev: Unknown major/minor... when trying to label the 2nd SCSI HDD

2003-01-19 Thread Willie Viljoen
Sounds to me like sysinstall is trying to make the devices. This means they 
aren't there. You're using a RELEASE kernel, so the device numbers shouldn't 
be different, but you never know. You might want to try creating the nodes 
before hand, sothat sysinstall doesn't have to:

 cd /dev  sh MAKEDEV all

Now try sysinstall again.

You might also not have configured the appropriate devices in your kernel, I 
notice you have built a custom one. Try booting with /kernel.GENERIC and see 
if the problem persists.

If that doesn't help, try using CVSup to upgrade to the latest 4-STABLE and 
compile a new kernel.

Will

On Sunday 19 January 2003 13:59, Ion-Mihai Tetcu wrote:
 Hi,

 Please kepp me on the cc: as i'm not posting from my subscribed address.
 Hope the mail it is ok formatted, i'm sending from a win.

 When I try to use /stand/sysinstall's disklabel to set up my 2nd SCSI HDD
 disk it gives :
 DEBUG: MakeDev: Unknoen major/minor for devtype- on another console, and
 i'm getting :
 Error adding swap: device not configurated
 Error mounting /dev/da1s1f on /NOFUTURE: Invalid argument,
 etc.

 I cannot figure out what is wrog;
 i've searched with Google and found out 2 link but no very usefull as i
 don't speak russian or hungar.
 There are also some related posts on the scsi mailling list who didn't help
 me.

 I've also tryied to :
 dislabel -r ad0  dsklabel.txt
 editing to point to ad1 and
 disklabel -r ad1 dsklabel.txt
 which has leave me with some strage softupdate inconssistency as fsck did
 nicely told me.

 The relevant dmesg and disklabel output are bellow.

 If someone could point me to the right direction i would really apreciate,
 as the machine should go on
 production in less that 48 hours.

 Many thaks,
 IOnut


 FreeBSD 4.7-RELEASE #0: Sat Jan 18 19:27:03 EET 2003
 [EMAIL PROTECTED]:/usr/src/sys/compile/fp1
 Timecounter i8254  frequency 1193182 Hz
 CPU: AMD Athlon(TM) XP 2000+ (1666.20-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x662  Stepping = 2
   Features=0x383fbff
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
X,FXS R,SSE
   AMD Features=0xc040AMIE,DSP,3DNow!
 real memory  = 1073725440 (1048560K bytes)

 ahc0: Adaptec 29160 Ultra160 SCSI adapter port 0xb800-0xb8ff mem
 0xdb00- 0xdb000fff irq 10 at device 14.0
 on pci0
 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

 da0 at ahc0 bus 0 target 0 lun 0
 da0: IBM DDYS-T36950N SA2A Fixed Direct Access SCSI-3 device
 da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
 Enabled
 da0: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C)
 da1 at ahc0 bus 0 target 2 lun 0
 da1: IBM DDYS-T36950N SA2A Fixed Direct Access SCSI-3 device
 da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
 Enabled
 da1: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C)

 # /dev/da0c:
 type: SCSI
 disk: da0s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4461
 sectors/unit: 71681967
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0 # milliseconds
 track-to-track seek: 0# milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  51204.2BSD 2048 1638489 # (Cyl.0 - 318*)
   b:  512  512  swap  # (Cyl.  318*- 637*)
   c: 716819670unused0 0   # (Cyl.0 - 461*)
   e: 33554432 10244.2BSD 2048 1638489 # (Cyl.  637*- 726*)
   f: 10485760 437944324.2BSD 2048 1638489 # (Cyl. 2726*- 378*)
   g: 17401775 542801924.2BSD 2048 1638489 # (Cyl. 3378*- 461*)


 # /dev/da1c:
 type: SCSI
 disk: da1s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4461
 sectors/unit: 71681967
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0 # milliseconds
 track-to-track seek: 0# milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 716819670unused0 0   # (Cyl.0 -
 4461*) e:  51204.2BSD 2048 1638489# (Cyl.0 -
 318*)






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

-- 
Willie Viljoen
IT Solutions Consultant

Highveld Computing Solutions
214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL PROTECTED]

Be ahead of the pack, visit http://www.highveldcs.com/ and find out how our 
next generation IT solutions will propel your business into the 21st century.

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



Resizing partitions for 5.0

2003-01-19 Thread Jeff Penn
I need to resize my root partition to prepare for 5.0 which requires 30M
of free space.

FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s4a61M40M16M71%/
/dev/ad0s4d   1.3G   788M   480M62%/opt
/dev/ad0s4h   2.1G   430M   1.6G21%/home
/dev/ad0s4e   244M20M   205M 9%/tmp
/dev/ad0s4g   2.4G   946M   1.3G42%/usr
/dev/ad0s4f61M15M41M27%/var

My BSD slice layout will enable me to steal space for root from swap  
tmp.

I am also considering using this as an excuse to change /usr, currently 
I have /usr/obj  /usr/src linked to directories on /opt.

I am fishing for wisdom on the worth of breaking up /usr.  Directories
I've considered moving around are:

158M/usr/X11R6
 91M/usr/compat
546M/usr/local

299M/usr/src/
 27M/usr/obj/

Jeff

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



Re: MakeDev: Unknown major/minor... when trying to label the 2nd SCSI HDD

2003-01-19 Thread Ion-Mihai Tetcu
1/19/03 2:07:58 PM, Willie Viljoen [EMAIL PROTECTED] wrote:

Sounds to me like sysinstall is trying to make the devices. This means they 
aren't there. You're using a RELEASE kernel, so the device numbers shouldn't 
be different, but you never know. You might want to try creating the nodes 
before hand, sothat sysinstall doesn't have to:

 cd /dev  sh MAKEDEV all

Already done that, but it's the same. When doing newfs ... i get the error.

Now try sysinstall again.

You might also not have configured the appropriate devices in your kernel, I 
notice you have built a custom one. Try booting with /kernel.GENERIC and see 
if the problem persists.

First time it was with the /kernel.GENERIC. I've cut out from the generic the 
usb support, etc and added the vn, ahc, scbus, da, pass.


If that doesn't help, try using CVSup to upgrade to the latest 4-STABLE and 
compile a new kernel.

Thanks,
IOnut


Will

On Sunday 19 January 2003 13:59, Ion-Mihai Tetcu wrote:
 Hi,

 Please kepp me on the cc: as i'm not posting from my subscribed address.
 Hope the mail it is ok formatted, i'm sending from a win.

 When I try to use /stand/sysinstall's disklabel to set up my 2nd SCSI HDD
 disk it gives :
 DEBUG: MakeDev: Unknoen major/minor for devtype- on another console, and
 i'm getting :
 Error adding swap: device not configurated
 Error mounting /dev/da1s1f on /NOFUTURE: Invalid argument,
 etc.

 I cannot figure out what is wrog;
 i've searched with Google and found out 2 link but no very usefull as i
 don't speak russian or hungar.
 There are also some related posts on the scsi mailling list who didn't help
 me.

 I've also tryied to :
 dislabel -r ad0  dsklabel.txt
 editing to point to ad1 and
 disklabel -r ad1 dsklabel.txt
 which has leave me with some strage softupdate inconssistency as fsck did
 nicely told me.

 The relevant dmesg and disklabel output are bellow.

 If someone could point me to the right direction i would really apreciate,
 as the machine should go on
 production in less that 48 hours.

 Many thaks,
 IOnut


 FreeBSD 4.7-RELEASE #0: Sat Jan 18 19:27:03 EET 2003
 [EMAIL PROTECTED]:/usr/src/sys/compile/fp1
 Timecounter i8254  frequency 1193182 Hz
 CPU: AMD Athlon(TM) XP 2000+ (1666.20-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x662  Stepping = 2
   Features=0x383fbff
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
X,FXS R,SSE
   AMD Features=0xc040AMIE,DSP,3DNow!
 real memory  = 1073725440 (1048560K bytes)

 ahc0: Adaptec 29160 Ultra160 SCSI adapter port 0xb800-0xb8ff mem
 0xdb00- 0xdb000fff irq 10 at device 14.0
 on pci0
 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

 da0 at ahc0 bus 0 target 0 lun 0
 da0: IBM DDYS-T36950N SA2A Fixed Direct Access SCSI-3 device
 da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
 Enabled
 da0: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C)
 da1 at ahc0 bus 0 target 2 lun 0
 da1: IBM DDYS-T36950N SA2A Fixed Direct Access SCSI-3 device
 da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
 Enabled
 da1: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C)

 # /dev/da0c:
 type: SCSI
 disk: da0s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4461
 sectors/unit: 71681967
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0# milliseconds
 track-to-track seek: 0   # milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:  51204.2BSD 2048 1638489# (Cyl.0 - 318
*)
   b:  512  512  swap # (Cyl.  318*- 637
*)
   c: 716819670unused0 0  # (Cyl.0 - 461
*)
   e: 33554432 10244.2BSD 2048 1638489# (Cyl.  637*- 726
*)
   f: 10485760 437944324.2BSD 2048 1638489# (Cyl. 2726*- 378
*)
   g: 17401775 542801924.2BSD 2048 1638489# (Cyl. 3378*- 461
*)


 # /dev/da1c:
 type: SCSI
 disk: da1s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4461
 sectors/unit: 71681967
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0# milliseconds
 track-to-track seek: 0   # milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   c: 716819670unused0 0  # (Cyl.0 -
 4461*) e:  51204.2BSD 2048 1638489   # (Cyl.
0 -
 318*)






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

-- 
Willie Viljoen
IT Solutions Consultant

Highveld Computing Solutions
214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

[EMAIL 

Re: How to read core dump

2003-01-19 Thread Scott Mitchell
On Sun, Jan 19, 2003 at 10:55:22AM +0100, Paidhi wrote:
 Hi,
 
 Under Linux there can be used strace to follow the programs system calls. 
 There is also an strace (and ltrace) in the ports collection.
 
 http://www.freebsd.org/cgi/url.cgi?ports/devel/strace/pkg-descr
 http://www.freebsd.org/cgi/url.cgi?ports/sysutils/ltrace/pkg-descr
 
 Maybe this can help you analyzing the problem.

There's also /usr/bin/ktrace which does the same job as strace or truss but
won't require installing any ports.  ltrace says it traces library calls
rather than system calls, so that could be useful as well.

Scott

-- 
===
Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

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



Re: ipfw

2003-01-19 Thread Giorgos Keramidas
On 2003-01-19 03:44, Me [EMAIL PROTECTED] wrote:
 hi, i have a serious problem on a freebsd 4.6 on an i386...

 any time i try to use the ipfw command - even for ipfw show - the
 machine crashes and reboots automatically...

 the messages log file registers this:
 /kernel: Fatal trap 12: page fault while in kernel mode
 Jan 18 19:34:09 host /kernel: fault virtual address = 0x0
 Jan 18 19:34:09 host /kernel: fault code = supervisor read, page not present
 Jan 18 19:34:09 host /kernel: instruction pointer = 0x8:0x0
 Jan 18 19:34:09 host /kernel: stack pointer = 0x10:0xd2ef5ea8
 Jan 18 19:34:09 host /kernel: frame pointer = 0x10:0xd2ef5ebc
 Jan 18 19:34:09 host /kernel: code segment = base 0x0, limit 0xf, type 0x1b
 Jan 18 19:34:09 host /kernel: = DPL 0, pres 1, def32 1, gran 1
 Jan 18 19:34:09 host /kernel: processor eflags = interrupt enabled, resume, IOPL = 0
 Jan 18 19:34:09 host /kernel: current process = 632 (ipfw)
 Jan 18 19:34:09 host /kernel: interrupt mask = none
 Jan 18 19:34:09 host /kernel: trap number = 12
 Jan 18 19:34:09 host /kernel: panic: page fault

Can you build a kernel that includes debugging information and read
the ``Kernel Debugging'' chapter of the FreeBSD Developer's Handbook?
After that, you should be able to get a crash dump from your kernel
and post the information here.

 i have linux background and used to ipchanes...  but i'm new to ipfw
 on freebsd.

That's ok.  The FreeBSD documentation for ipfw(8) will help :-)

 in the rc.conf file the ipfw type is unknown which means that when
 rc.firewall gets called there is no firewall rules set up...  i
 don't see how this will make the machine crash when i type:
 # ipfw -a show

 i'm thinking of recompiling the kernel but not sure if this will
 help

Not just your kernel.  That's not the way it works on FreeBSD.
Please, when upgrading, read carefully the file /usr/src/UPDATING and
follow the instructions it contains.


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



Re: DNS problem

2003-01-19 Thread Volker Kindermann
Hello Hilmi,

 What is a my problem: reverse address resolving not 
 work correct. What I mean: I use nslookup tool for checking the DNS 
 server, and if I use as server my DNS server all type of resolving
 work. Still work. The problem is when I use server from the world:
 example ns1.versatel.net (situation is same with other server from the
 worl), this server can't find the reverse record for my machines.

ok, the first question: how many ip-addresses do you own?

Like with the normal dns-resolution, there are authoritative servers
for reverse lookup, too. These authoritative servers start with the
first part of your ip, say 62 (for 62.58.54.10). Then, there is a server
for 58.62 and one for 54.58.62. Maybe the IP class is further divided,
but mostly the authoritative server for 54.58.62 should have a record
for 10.54.58.62.

It's very uncommon that you maintain such a reverse-lookup server
youself, so ask you provider who gave you the ip to make the appropriate
entry for you.

 -volker

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



Re: Resizing partitions for 5.0

2003-01-19 Thread Joan Picanyol i Puig
* Jeff Penn [EMAIL PROTECTED] [20030119 13:33]:
 I am fishing for wisdom on the worth of breaking up /usr.  Directories
 I've considered moving around are:
 
 158M/usr/X11R6
  91M/usr/compat
 546M/usr/local
 
 299M/usr/src/
  27M/usr/obj/
As long as you don't consider it wisdom :), this is my setup: 

(19:11:58 ~) 0 $ df -h
Filesystem  Size   Used  Avail Capacity  Mounted on
/dev/da1s1a 126M88M28M76%/
/dev/vinum/home 4.2G   3.1G   780M80%/home
/fs/tmp/dev-mount   1.9G   1.3G   504M72%/fs/tmp/mount
/fs/base/dev-mount  248M   102M   126M45%/fs/base/mount
/fs/apps/dev-mount  2.4G   1.3G   953M58%/fs/apps/mount
/fs/bulk/dev-mount   36G   4.0G29G12%/fs/bulk/mount
/fs/std-var/dev-mount   247M   100M   127M44%/fs/std-var/mount

/usr is a link to /fs/base/mount
/tmp is a link to /fs/tmp/mount
/var is a link to /fs/std-var/mount

/usr/{X11R6,local} are links to /fs/apps/mount/usr/{X11R6,local}
/usr/obj is a link to /tmp/build/obj
/{var,usr}/tmp are links to /tmp
/usr/{src,ports} are links to /fs/bulk/mount/FreeBSD/{src,ports}

I separate the namespace from storage type. See
http://multivac.cwru.edu/fs/ (mind the trailing slash) for the original
idea.

qvb
-- 
pica

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



Goofy BIND8 and domain registrant

2003-01-19 Thread Janine C . Buorditez
Hi.

My DNS server is secondary DNS to probsd.net (209.98.239.41) and vice versa.
My ns2 is no longer skylab.no (217.8.139.93), but the GTLD servers doesn't seem
to understand that. I recently re-registered the ns2 at my domain name registrant
(www.godaddy.com), and since you couldn't insert an IP anywhere I replaced
ns2.terrabionic.com with some temporary host and inserted it back once the update
had been made to ensure that it got angstlos.probsd.net's IP.

After analyzing my setup at:

http://www.dnsreport.com/tools/dnsreport.ch?domain=terrabionic.com

it was obvious that 217.8.139.93 was still glued to the GTLD servers even though
dig told me otherwise.

Also, relay access for postmaster and [EMAIL PROTECTED] seems to be denied.
I just issued a newaliases with a working /etc/aliases file, but to no good.

All my setup is available through http://www.terrabionic.com/namedb
Though I can't see anything wrong, perhaps you can.

Thanks.

--johann

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



Re: code 1 error on kernel compile

2003-01-19 Thread Stephen D. Kingrea
problems got deeper at this point, since repeated attempts began yielding
different results, such as:

DMA failure switching to FPIO

hard error reading fsbn snip addresses status=59 error=40

leading me to believe that i suddenly have bad ram chip or failing ide
controller.

switching boxes now to pentium II gateway2000, getting undefined reference
errors during make in bt.o code 1. what th?

stephen d. kingrea

On Sat, 18 Jan 2003, Kris Kennaway wrote:

On Sat, Jan 18, 2003 at 07:51:27AM -0500, Stephen D. Kingrea wrote:
 i have never had any spurious errors on this box since it has been
 running. until now, anywaybut it has only been running a couple of
 weeks. this may be the shot across the bow
 
 the file in question appears as an e-mail message. line 4 of the header
 reads: Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA

That's definitely data corruption then.

Take an immediate backup in case it gets any worse, then do a fsck in
single-user mode to check FS consistency.  If that's okay, then just
refresh your source tree and hope it doesn't happen again.

kris



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



Re: Resizing partitions for 5.0

2003-01-19 Thread Mike Meyer
In [EMAIL PROTECTED], Jeff Penn [EMAIL PROTECTED] 
typed:
 I am fishing for wisdom on the worth of breaking up /usr.  Directories
 I've considered moving around are:

Basically, don't break them up. Unix file systems used to be fragile
enough that separating them limited the damage. These days, that's not
true, so all you're doing in creating extra file systems is creating
more things that can cause problems by running out of space. Leaving
them together lets them share the extra space, making it less likely
that you'll run out of space. The reasons for splitting a file system
these days are administrative - meaning you have different backup or
upgrade paths, different mounting options, or similar things.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: CVSup Error When Updating Sources

2003-01-19 Thread Bill Moran
Giorgos Keramidas wrote:

On 2003-01-19 01:23, Matt Rudderham [EMAIL PROTECTED] wrote:


Hi all,
I'm taking my first shot at upgrading my old 4.0-Release system to 4.7-Stable, when I run
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile
I get this error right off the bat,
/usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXaw.so.7: Undefined symbol __stderrp
Can anyone fill me in?
Thanks!



It looks like you're trying to run a GUI version of CVSup without
having installed X11.  You can either install X11, or try removing
your cvsup package and installing the net/cvsup-without-gui version.


Or use the -g option to cvsup to tell it not to start the gui.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



First Seconds: 40+ dating

2003-01-19 Thread lijst10sec
L.s.
 
Onder single dertigers is speeddating een trend. Het snelle daten is een vrolijke en 
spannende manier om in korte tijd veel mensen te ontmoeten. First Seconds organiseert 
deze vorm van kennismaken voor alleenstaanden van begin 40 tot eind 50.
 
In Hotel New York te Rotterdam op 23 februari zullen 25 dames 25 heren ontmoeten. 
Gedurende enkele minuten knopen zij een gesprekje aan, stellen wat vragen, beslissen 
of ze hun gespreksparter nog eens willen ontmoeten en gaan naar de volgende persoon. 
Aan het einde van de middag geeft men aan First Seconds door wie men leuk genoeg vindt 
voor een vervolg. Als er een 'match' is, ontvangen deelnemers de volgende dag het 
e-mailadres of telefoonnummer van de andere partij.
 
Interesse in een vrolijk en spannend middagje uit? Bezoek onze site: 
http://www.firstseconds.nl
 
Met vriendelijke groet,
 
First Seconds
 


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



Re: CVSup Error When Updating Sources

2003-01-19 Thread Bill Moran
Bill Moran wrote:

Giorgos Keramidas wrote:


On 2003-01-19 01:23, Matt Rudderham [EMAIL PROTECTED] wrote:


Hi all,
I'm taking my first shot at upgrading my old 4.0-Release system to 
4.7-Stable, when I run
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile
I get this error right off the bat,
/usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXaw.so.7: Undefined 
symbol __stderrp
Can anyone fill me in?
Thanks!



It looks like you're trying to run a GUI version of CVSup without
having installed X11.  You can either install X11, or try removing
your cvsup package and installing the net/cvsup-without-gui version.



Or use the -g option to cvsup to tell it not to start the gui.


My bad ... replied without reading the whole message.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



First Seconds: 40+ dating

2003-01-19 Thread lijst10sec
L.s.
 
Onder single dertigers is speeddating een trend. Het snelle daten is een vrolijke en 
spannende manier om in korte tijd veel mensen te ontmoeten. First Seconds organiseert 
deze vorm van kennismaken voor alleenstaanden van begin 40 tot eind 50.
 
In Hotel New York te Rotterdam op 23 februari zullen 25 dames 25 heren ontmoeten. 
Gedurende enkele minuten knopen zij een gesprekje aan, stellen wat vragen, beslissen 
of ze hun gespreksparter nog eens willen ontmoeten en gaan naar de volgende persoon. 
Aan het einde van de middag geeft men aan First Seconds door wie men leuk genoeg vindt 
voor een vervolg. Als er een 'match' is, ontvangen deelnemers de volgende dag het 
e-mailadres of telefoonnummer van de andere partij.
 
Interesse in een vrolijk en spannend middagje uit? Bezoek onze site: 
http://www.firstseconds.nl
 
Met vriendelijke groet,
 
First Seconds
 


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



Re: code 1 error on kernel compile

2003-01-19 Thread Giorgos Keramidas
On 2003-01-19 09:31, Stephen D. Kingrea wrote:
 problems got deeper at this point, since repeated attempts began
 yielding different results, such as:

 DMA failure switching to FPIO

 hard error reading fsbn snip addresses status=59 error=40

 leading me to believe that i suddenly have bad ram chip or failing
 ide controller.

 switching boxes now to pentium II gateway2000, getting undefined
 reference errors during make in bt.o code 1. what th?

Please, when reportinng build problems specify at least the following
things in your post:

- Version of FreeBSD you're building.

- Optionally, the date of your last CVSup update.

  If your supfile contains base=/usr CVSup saves this information in
  the checkouts.cvs file of the ${base}/sup/${collection}/ directory.
  Assuming that you use the default supfile examples, the correct path
  for the checkouts.cvs file for /usr/src would be
  /usr/sup/src-all/checkouts.cvs and the following command will print
  a human-readable form of the last update date:

$ date -j \
  -f '%s' `head -1 /usr/sup/src-all/checkouts.cvs | \
   awk '{print $3}'`'+%+'
Sun Jan 19 14:09:33 EET 2003

- The exact error message of your build.

These are required for someone who will try to reproduce the build
problems you're having.


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



Re: CVSup Error When Updating Sources

2003-01-19 Thread Jack L. Stone
At 10:40 AM 1.19.2003 -0500, Bill Moran wrote:
Giorgos Keramidas wrote:
 On 2003-01-19 01:23, Matt Rudderham [EMAIL PROTECTED] wrote:
 
Hi all,
I'm taking my first shot at upgrading my old 4.0-Release system to
4.7-Stable, when I run
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile
I get this error right off the bat,
/usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libXaw.so.7: Undefined symbol
__stderrp
Can anyone fill me in?
Thanks!
 
 
 It looks like you're trying to run a GUI version of CVSup without
 having installed X11.  You can either install X11, or try removing
 your cvsup package and installing the net/cvsup-without-gui version.

Or use the -g option to cvsup to tell it not to start the gui.

-- 
Bill Moran

I supect the earlier poster was right about reading the UPDATING document
at /usr/src/UPDATING. The ...Undefined symbol __stderrp pertains to the
release notes righ at the top of the DOC about the COMPAT3X. You will need
to add COMPATX3= yes to your make.conf file. This hit you early, so you
may need to purge other parts of your system as well.


Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



cpanel

2003-01-19 Thread Mantas Kriauciunas
Hey!

Now I got serious problems with that thing. Anyone know full process
removing it? I didn't find anything in manuals or somewhere else. It was
kind of clean until last night. I did cvsup and it installed itself
again. Can I remove that thing somehow?
Thanks!



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



crossover plugin.

2003-01-19 Thread Mike Johnston
Ok I realize this has most likely been discussed before.. but the threads i 
were reading were back from 2001.. so i'm wondering if there's been any 
progress running crossover plugin on freebsd.. I was considering giving 5.0 a 
whirl (freebsd release 5 that is)




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



Installing over NetBSD

2003-01-19 Thread Paul Hoffman
Greetings. I have a box with NetBSD 1.6 on it that I want to turn 
into a FreeBSD box, while retaining the information in the user 
directories. Is this possible with the FreeBSD 4.7 install CD-ROM? 
That is, can I say during setup don't reformat or re-partition, but 
just use the / and /usr that is already on this disk?

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


mutt-users@mutt.org: Non-member submission from questions questions@FreeBSD.org

2003-01-19 Thread owner-mutt-users


Your submission to the list has been forwarded to the list
owner [EMAIL PROTECTED] for approval because you do not seem to be on 
that list.

If you want to join the list, send email to [EMAIL PROTECTED], with
subscribe mutt-users in the message text (not the subject).


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



Re: TX underrun

2003-01-19 Thread Doug Reynolds
On Sat, 18 Jan 2003 03:17:01 +0100 (CET), Marc Schneiders wrote:

On Thu, 16 Jan 2003, at 22:27 [=GMT-0500], Doug Reynolds wrote:

 On 17 Jan 2003 00:08:11 +, Stacey Roberts wrote:

 does anyone know of a way to automatically increase the buffers to say
 like 256 bytes?

Mine automatically DEcreases at an underrun.

It's a 3Com 3c905C-TX Fast Etherlink XL.

 xl1: tx underrun, increasing tx start threshold to 180 bytes
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 240 bytes

does that mean it is increasing or decreasing?

---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



Re: TX underrun

2003-01-19 Thread Marc Schneiders
On Sun, 19 Jan 2003, at 12:35 [=GMT-0500], Doug Reynolds wrote:
 On Sat, 18 Jan 2003 03:17:01 +0100 (CET), Marc Schneiders wrote:

 On Thu, 16 Jan 2003, at 22:27 [=GMT-0500], Doug Reynolds wrote:
 
  On 17 Jan 2003 00:08:11 +, Stacey Roberts wrote:
 
  does anyone know of a way to automatically increase the buffers to say
  like 256 bytes?
 
 Mine automatically DEcreases at an underrun.
 
 It's a 3Com 3c905C-TX Fast Etherlink XL.

  xl1: tx underrun, increasing tx start threshold to 180 bytes
  xl1: transmission error: 90
  xl1: tx underrun, increasing tx start threshold to 240 bytes

 does that mean it is increasing or decreasing?

The answer is obvious. I seem to remember that mine (which I was
talking about, not yours) decreased the buffer. But I've searched in
vain for examples in old /var/log/messages.  Maybe my memory fails me.
Or maybe there are different types of problems.

-- 
[07] Just do nothing to remain with us.
http://logoff.org


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



Re: Deleted files

2003-01-19 Thread Bill Moran
[EMAIL PROTECTED] wrote:

I made a boo-boo!
Two in fact!  :-)
In transferring directories from one disk to another using dump | restore I
forgot at one point to cd and put a number of directories into the wrong partition.
So I deleted the wrong directories using rm -rf directoryname.
Unfortunately deleting the wrongly transferred directory home in this way
deleted the SOURCE /usr/home as well sob
Is there any way at all I can recover the deleted files and subdirectories in
the source location?


First thing you want to do is unmount the filesystem that has the deleted files
and make absolutely sure no more writing is done to the filesystem.

At that point, you can work on the raw device or make an image of the filesystem
to work on.  You probably want to make a backup image of the filesystem before
doing any work, regardless.

At this point, I don't know the details, but it basically involves knowing how
the ufs filesystem works so you can hunt through it and find the deleted data.
Like most filesystems, UFS doesn't actually remove anything when you delete
files (unless you use rm -s) it simply marks the space as free.  As long as
you haven't written anything to the filesystem since you deleted the files,
there's a good chance that the data is still there.

There was a tutorial somewhere on the net on recovering deleted files, but
when I searched, this (http://www.tu-ilmenau.de/~mojo/undelete.html) was the
best I found.  I don't know the details of how to search through the blocks
and find the missing data, so I can't help you there.

I'm assuming that you didn't make backups before starting the conversion process,
or you wouldn't be asking this question.  But the canonical answer to your
question is restore from backup.  Recovering deleted files is a lot of work.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Netcard problems in 5.0-Release installation

2003-01-19 Thread Toke N-S
I want to install the new FreeBSD release, so I have created the kern.flp
and mfsroot.flp floppies. But when I boot them and start the installation
FreeBSD is unable to install my netcard.
I have a D-Link DFE-530TX adapter.
When the FreeBSD installation boots it only shows (copied by hand):

pci0: network, ethernet at device 20.0 (no driver attached)

When I press alt-f2 it says:

DEBUG: Loading module if_vr.ko [...]
vr0: VIA VT3043 Rhine I 10/100BaseTX \
port 0xdc00-0xdc7f mem 0xdf80-0xdfff \
irq 11 at device 20.0 on pci0
vr0: couldn't map interrupt
device_probe_and_attach: vr0 attach returned 6

I have a FreeBSD 4.6 cd which I have previously used to install from. When I
boot with this cd it installs my netcard without problems. It shows

vr0: VIA VT3043 Rhine I 10/100BaseTX \
port 0xdc00-0xdc7f mem 0xdf80-0xdfff \
irq 11 at device 20.0 on pci0
vr0: Ethernet address: 00:50:ba:09:3d:e0

and the netcard works in the installation.
I also tried to press alt-f2, and as far as I can see there is nowhere
module if_vr.ko is loaded (is this driver part of the loaded kernel?).

It seems to me that I can install FreeBSD 5.0-Release by booting with my 4.6
cd and then using a fixit floppy on which I have put the correct
sysinstall. Is this possible, and if it is, from where can I then get the
program sysinstall?


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



Re: newbie mail help

2003-01-19 Thread Shantanu Mahajan
+++ Gary Schenk [freebsd] [17-01-03 22:28 -0800]:
| I've been installing FreeBSD on my home desktop. A little each day I spend
| configuring. I've worked out most things with books and man pages. I am
| connected to the internet by cable modem. Links worked perfectly right away.
| Where I am failing is setting up my email. I am not trying to be a mail
| server, just get and send mail through my ISP. The documentation seems to be
| geared to mail servers. This is really confusing me. Can someone point me in
| the right direction for help on email? Just a nudge in the right direction
| would be most helpful.
| 
| I apologize for posting with OE.
| 
| Thanks!
| 
# cd /etc/mail
# make
# vi `hostname`.mc

now change the line 
dnl define(`SMART_HOST', `your.isp.mail.server')
to
define(`SMART_HOST', `your.isp.mail.server')

(don't fotget to _replace_ *your.isp.mail.server*)
then
# make
# killall -HUP sendmail

That's all. :-)

Regards,
Shantanu
-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 


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



Re: code 1 error on kernel compile (solved)

2003-01-19 Thread Stephen D. Kingrea
sorry, right you are...the release is 4.7. i felt that cvsup was
unnecessary, since all that i had done was install from cd.

anyway, i learned that commenting anything from kernel config is
apparently a precipitous affair. uncommenting everything back provided the
juice to finish the make.

i have yet to figure what has gone wrong on the original box, but i do
suspect it to be a hardware issue. i will report

thanks everyone for all the assistance!

stephen d. kingrea

On Sun, 19 Jan 2003, Giorgos Keramidas wrote:

On 2003-01-19 09:31, Stephen D. Kingrea wrote:
 problems got deeper at this point, since repeated attempts began
 yielding different results, such as:

 DMA failure switching to FPIO

 hard error reading fsbn snip addresses status=59 error=40

 leading me to believe that i suddenly have bad ram chip or failing
 ide controller.

 switching boxes now to pentium II gateway2000, getting undefined
 reference errors during make in bt.o code 1. what th?

Please, when reportinng build problems specify at least the following
things in your post:

- Version of FreeBSD you're building.

- Optionally, the date of your last CVSup update.

  If your supfile contains base=/usr CVSup saves this information in
  the checkouts.cvs file of the ${base}/sup/${collection}/ directory.
  Assuming that you use the default supfile examples, the correct path
  for the checkouts.cvs file for /usr/src would be
  /usr/sup/src-all/checkouts.cvs and the following command will print
  a human-readable form of the last update date:

   $ date -j \
 -f '%s' `head -1 /usr/sup/src-all/checkouts.cvs | \
  awk '{print $3}'`'+%+'
   Sun Jan 19 14:09:33 EET 2003

- The exact error message of your build.

These are required for someone who will try to reproduce the build
problems you're having.



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



Re: newbie mail help

2003-01-19 Thread John Bleichert
On Sun, 19 Jan 2003, Shantanu Mahajan wrote:
 Subject: Re: newbie mail help
 
 +++ Gary Schenk [freebsd] [17-01-03 22:28 -0800]:
 | I've been installing FreeBSD on my home desktop. A little each day I spend
 | configuring. I've worked out most things with books and man pages. I am
 | connected to the internet by cable modem. Links worked perfectly right away.
 | Where I am failing is setting up my email. I am not trying to be a mail
 | server, just get and send mail through my ISP. The documentation seems to be
 | geared to mail servers. This is really confusing me. Can someone point me in
 | the right direction for help on email? Just a nudge in the right direction
 | would be most helpful.
 | 
 | I apologize for posting with OE.
 | 
 | Thanks!
 | 
 # cd /etc/mail
 # make
 # vi `hostname`.mc
 
 now change the line 
 dnl define(`SMART_HOST', `your.isp.mail.server')
 to
 define(`SMART_HOST', `your.isp.mail.server')
 
 (don't fotget to _replace_ *your.isp.mail.server*)
 then
 # make
 # killall -HUP sendmail
 
 That's all. :-)
 
 Regards,
 Shantanu

Is all this required? Couldn't POP mail just be gotten in the normal way 
with e.g. kmail or netscape or mozilla? The above will allow you to use 
all manner of *nix email clients, but have you tried just setting up (say) 
mozilla mail or kmail in the normal fashion?

Just a thought - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Local IPs and Subnets

2003-01-19 Thread Grant Peel
Hi all,

I have three servers.

Each server has two NICs.

One NIC on each server (fxp0) will be used for the Internet, and I have a
seperate switch and the IPs Subnets etc from the ISP so all is well.

The other NIC on each machine will be used to connect to a seperate switch
to LAN them together. (fxp1). I am still baffled by calculating subnets.

My question is simple. What subnet and broadcast IP should I use when I set
the IP on each NIC to 192.168.0.1 , 2 , 3 ?

-Grant


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



Official configuration file backup/managing method/application?

2003-01-19 Thread Janine C . Buorditez
Hi.

I was wondering if there is an official way of more conveniently manage
configuration files in FreeBSD other than loose scripts.

--Janine

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



Re: newbie mail help

2003-01-19 Thread Gary Schenk

- Original Message -
From: John Bleichert [EMAIL PROTECTED]
To: Gary Schenk [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, January 19, 2003 12:39 PM
Subject: Re: newbie mail help


 On Sun, 19 Jan 2003, Shantanu Mahajan wrote:
  Subject: Re: newbie mail help
 
  +++ Gary Schenk [freebsd] [17-01-03 22:28 -0800]:
  | I've been installing FreeBSD on my home desktop. A little each day I
spend
  | configuring. I've worked out most things with books and man pages. I
am
  | connected to the internet by cable modem. Links worked perfectly right
away.
  | Where I am failing is setting up my email. I am not trying to be a
mail
  | server, just get and send mail through my ISP. The documentation seems
to be
  | geared to mail servers. This is really confusing me. Can someone point
me in
  | the right direction for help on email? Just a nudge in the right
direction
  | would be most helpful.
  |
  | I apologize for posting with OE.
  |
  | Thanks!
  |
  # cd /etc/mail
  # make
  # vi `hostname`.mc
 
  now change the line
  dnl define(`SMART_HOST', `your.isp.mail.server')
  to
  define(`SMART_HOST', `your.isp.mail.server')
 
  (don't fotget to _replace_ *your.isp.mail.server*)
  then
  # make
  # killall -HUP sendmail
 
  That's all. :-)
 
  Regards,
  Shantanu

 Is all this required? Couldn't POP mail just be gotten in the normal way
 with e.g. kmail or netscape or mozilla? The above will allow you to use
 all manner of *nix email clients, but have you tried just setting up (say)
 mozilla mail or kmail in the normal fashion?

 Just a thought - JB

 #  John Bleichert
 #  http://vonbek.dhs.org/latest.jpg



I've been trying to use the command  line as much as possible in seting up
FreeBSD. I hope that this will give me a better understanding of the OS,
however this is quite a task. So I have not tried to setup one of the
desktop mail clients. I do need my email functioning however, and I am going
to try to setup Balsa now.

Whatever I read about sendmail just makes my poor head spin. It is like
reading a foreign language.

Thanks to all who have responded to my plea for help.

Gary


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



Re: newbie mail help

2003-01-19 Thread John Bleichert
On Sun, 19 Jan 2003, Gary Schenk wrote:
  On Sun, 19 Jan 2003, Shantanu Mahajan wrote:
   Subject: Re: newbie mail help
  
major snippage
   # cd /etc/mail
   # make
   # vi `hostname`.mc
  
   now change the line
   dnl define(`SMART_HOST', `your.isp.mail.server')
   to
   define(`SMART_HOST', `your.isp.mail.server')
  
   (don't fotget to _replace_ *your.isp.mail.server*)
   then
   # make
   # killall -HUP sendmail
  
   That's all. :-)
  
   Regards,
   Shantanu
 
  Is all this required? Couldn't POP mail just be gotten in the normal way
  with e.g. kmail or netscape or mozilla? The above will allow you to use
  all manner of *nix email clients, but have you tried just setting up (say)
  mozilla mail or kmail in the normal fashion?
 
  Just a thought - JB
 
 
 
 I've been trying to use the command  line as much as possible in seting up
 FreeBSD. I hope that this will give me a better understanding of the OS,
 however this is quite a task. So I have not tried to setup one of the
 desktop mail clients. I do need my email functioning however, and I am going
 to try to setup Balsa now.
 
 Whatever I read about sendmail just makes my poor head spin. It is like
 reading a foreign language.
 
 Thanks to all who have responded to my plea for help.
 
 Gary
 

Yep - email servers are pernicious, complex beasties, some worse than 
others. Fortunately, most of Unix is not nearly so complex.

Good luck - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



portupgrade of jasper-1.500.4 fails

2003-01-19 Thread Stacey Roberts
Hello,
 After a fresh cvsup of my ports tree, I tried to update
jasper-1.500.4 using portupgrade, but it fails with errors below.

Here's the uname info:
 $ uname -a
FreeBSD snip.vickiandstacey.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri
Nov 15 23:37:50 GMT 2002
root@snip.vickiandstacey.com:/usr/obj/usr/src/sys/THOR  i386
/usr/ports/graphics/jasper $

I'm willing to provide more information to anyone might be in a
positions to assist, or point me to how I can begin solving this.

Thanks.

Stacey

===  Building for jasper-1.600.0
Making all in src
Making all in libjasper
Making all in include
Making all in jasper
Making all in base
/bin/sh ../../../libtool --mode=compile cc -DJAS_VERSION=\1.600.4\
-DJAS_CONFIGURE=1 -DPACKAGE=\jasper\ -DVERSION=\1.600.4\
-DHAVE_DLFCN_H=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDBOOL_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDDEF_H=1
-DSIZEOF_SHORT=2 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_INT=4
-DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_UNSIGNED_LONG=4
-DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -Duchar=unsigned\
char -Dulong=unsigned\ long -Dlonglong=long\ long -Dulonglong=unsigned\
long\ long -DHAVE_VPRINTF=1  -I. -I. -I../include  -I/usr/local/include 
-O -pipe -march=pentiumpro -c jas_debug.c
mkdir .libs
cc -DJAS_VERSION=\1.600.4\ -DJAS_CONFIGURE=1 -DPACKAGE=\jasper\
-DVERSION=\1.600.4\ -DHAVE_DLFCN_H=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1
-DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDBOOL_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDDEF_H=1
-DSIZEOF_SHORT=2 -DSIZEOF_UNSIGNED_SHORT=2 -DSIZEOF_INT=4
-DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_UNSIGNED_LONG=4
-DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -Duchar=unsigned
char -Dulong=unsigned long -Dlonglong=long long
-Dulonglong=unsigned long long -DHAVE_VPRINTF=1 -I. -I. -I../include
-I/usr/local/include -O -pipe -march=pentiumpro -c jas_debug.c  -fPIC
-DPIC -o .libs/jas_debug.lo
In file included from jas_debug.c:118:
../include/jasper/jas_types.h:249: syntax error before `long'
*** Error code 1

Stop in
/usr/ports/graphics/jasper/work/jasper-1.600.0/src/libjasper/base.
*** Error code 1

Stop in /usr/ports/graphics/jasper/work/jasper-1.600.0/src/libjasper.
*** Error code 1

Stop in /usr/ports/graphics/jasper/work/jasper-1.600.0/src.
*** Error code 1

Stop in /usr/ports/graphics/jasper/work/jasper-1.600.0.
*** Error code 1

Stop in /usr/ports/graphics/jasper.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade60335.1 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped /
!:failed)
! graphics/jasper (jasper-1.500.4)  (bad C++ code)
#
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re: Local IPs and Subnets

2003-01-19 Thread Matthew Seaman
On Sun, Jan 19, 2003 at 04:24:15PM -0500, Grant Peel wrote:

 The other NIC on each machine will be used to connect to a seperate switch
 to LAN them together. (fxp1). I am still baffled by calculating subnets.
 
 My question is simple. What subnet and broadcast IP should I use when I set
 the IP on each NIC to 192.168.0.1 , 2 , 3 ?

That's a matter of choice for a private network, but the 192.168.x.y
address range is usually treated as /24 networks --- it is in what
used to be the old C class part of the IP space before CIDR became
de-rigeur.

So:

Network number:  192.168.0.0
Netmask: 255.255.255.0 or 0xff00 or /24
Broadcast:   192.168.0.255

Which gives you a total of 254 address from 192.168.0.1 to
192.168.0.253 to use for your hosts.

Cheers,

Matthew

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

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



Re: code 1 error on kernel compile

2003-01-19 Thread Kris Kennaway
On Sun, Jan 19, 2003 at 09:31:52AM -0500, Stephen D. Kingrea wrote:
 problems got deeper at this point, since repeated attempts began yielding
 different results, such as:
 
 DMA failure switching to FPIO
 
 hard error reading fsbn snip addresses status=59 error=40
 
 leading me to believe that i suddenly have bad ram chip or failing ide
 controller.

Sounds likely it's a dying HD.

 switching boxes now to pentium II gateway2000, getting undefined reference
 errors during make in bt.o code 1. what th?

Not enough information.

Kris



msg15997/pgp0.pgp
Description: PGP signature


Re: /usr/src/sys

2003-01-19 Thread Ion-Mihai Tetcu
1/20/03 1:17:38 AM, Grant Peel [EMAIL PROTECTED] wrote:

Hi all,

I just loaded our newest box with freebsd 4.4. Everthing is fine, except, I
dont have a /usr/src/sys dir, and therefore, can't recompile my kernel.

Any ideas?

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

Note: If there is not a /usr/src/sys directory on your system, then the kernel 
source has not been installed. The easiest way to do this is by running 
/stand/sysinstall as root, choosing Configure, then Distributions, then src, 
then sys. If you have an aversion to sysinstall and you have access to an 
``official'' FreeBSD CDROM, then you can also install the source from the 
command line:

# mount /cdrom
# mkdir -p /usr/src/sys
# ln -s /usr/src/sys /sys
# cat /cdrom/src/ssys.[a-d]* | tar -xzvf -

IOnut



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



Tweo SCSI drives.

2003-01-19 Thread Grant Peel
OK, While I am asking truely basic questions.

I have two drive sa0 and sa1

Both have freebsd loaded on them (on the same machine of course)

I want to mirror the first drive to the second one each night.

1) How do I 'see' the contents of the second drive?

2) Does anyone know where to find a decent mirror script? (Once I learn how
to see/read/write to the second drive, I can write one :-)).

TIA,

-Grant

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


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



Re: /usr/src/sys

2003-01-19 Thread Lowell Gilbert
Grant Peel [EMAIL PROTECTED] writes:

 Hi all,
 
 I just loaded our newest box with freebsd 4.4. Everthing is fine, except, I
 dont have a /usr/src/sys dir, and therefore, can't recompile my kernel.
 
 Any ideas?

Install the kernel sources, or live without recompiling your kernel.

Whatever method you used to install the base system will also provide
you with the sources (you can do it post-install as an upgrade).

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



Re: Tweo SCSI drives.

2003-01-19 Thread Bill Moran
Grant Peel wrote:

OK, While I am asking truely basic questions.

I have two drive sa0 and sa1

Both have freebsd loaded on them (on the same machine of course)

I want to mirror the first drive to the second one each night.

1) How do I 'see' the contents of the second drive?


man mount
You'll need to know the partition layout of the second drive,
then you can mount the partitions to wherever you want using
mount.
A lot of people will make mountpoints off of /mnt (such as
/mnt/usr /mnt/root /mnt/var)


2) Does anyone know where to find a decent mirror script? (Once I learn how
to see/read/write to the second drive, I can write one :-)).


I recommend rsync, which will speed things up by only copying the
files that have changed, actually it will only copy the changed
parts of files that have changed, making things very fast.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Can't make work HLDS + bots

2003-01-19 Thread Juan Francisco Rodriguez Hervella
Hello:

Im using a HLDS (Half-Life Dedicated Server) plus Admin-mod
and tsc mod.

I've tried some bots, like bsdbot and joebot, and all seems
to make segmentation fault, I don't know why.

I've tried to compile a couple of them, but without success.

Is anyone using HLDS + any bot with success on FreeBSD-4.7 ?
I would like to hear it, and tell me what I must do to make them
work...

PS: Please answer me directly because I'm not subscribed to 
this list. Thanks.


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



Re: code 1 error on kernel compile

2003-01-19 Thread Stephen D. Kingrea

On Sun, 19 Jan 2003, Kris Kennaway wrote:

On Sun, Jan 19, 2003 at 09:31:52AM -0500, Stephen D. Kingrea wrote:
 problems got deeper at this point, since repeated attempts began yielding
 different results, such as:
 
 DMA failure switching to FPIO
 
 hard error reading fsbn snip addresses status=59 error=40
 
 leading me to believe that i suddenly have bad ram chip or failing ide
 controller.

Sounds likely it's a dying HD.

that's possible, since i am recieving same error at about the same time. 

 switching boxes now to pentium II gateway2000, getting undefined reference
 errors during make in bt.o code 1. what th?

Not enough information.

Kris

actually, that problem has been solved. commenting nothing
and just adding the few firewall and natd options that i needed worked 
beautifully, how advisable is it to comment out options and devices while
configuring custom kernels? i am currently running 2
workstations behind freebsd gateway/server without issue and starting to
add services incrementally. are there any comprehensive guides to all of
the required kernel config options?

warmest regards,

stephen


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



Re: Mouse works but skips like it's lagging

2003-01-19 Thread Anti
On Sun, 19 Jan 2003 14:02:41 -0800 (PST)
Matthew DeWitt [EMAIL PROTECTED] wrote:

 It seems my mouse fails to work correctly when i use
 any release of FBSD 5.0 (rc1 2 3 stable)
 
 i use sysinstall to set mouse to a standard PS/2 mouse
 on using /dev/psm0 and /dev/sysinstall with X


for a ps/2 mouse your XF86Config should have in the
mouse section:

Option Protocol auto
Option Device /dev/psm0


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



Re: Official configuration file backup/managing method/application?

2003-01-19 Thread Bill Moran
Janine C.Buorditez wrote:

Hi.

I was wondering if there is an official way of more conveniently manage
configuration files in FreeBSD other than loose scripts.


Well, convenience is a matter of opinion.  Personally, I prefer config
files to some methods provided by other systems.

Beyond that, what is it you're trying to manage?  The only config files
to really worry about in FreeBSD are in /etc and there are really only
a few that need any tweaking (rc.conf, rc.firewall, ummm ... that's all
I can think of that normally need any tweaking)

I think there was a project to develope a GUI to manage rc.conf, but I
can't remember the name.  Search sourceforge, as I'm pretty sure it was
hosted there.

Beyond that, you're going to need to be more specific.  I'm not sure
what loose scripts you're speaking of.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: Shutdown for APC Back-UPS 350 CS

2003-01-19 Thread Per olof Ljungmark
Mark wrote:

I know I have asked this before, a month or so ago, but I am still rather
stuck with this. So, if anyone has a useful suggestion, I would appreciate
you sharing it with me.

Has anyone ever managed to get the APC Back-UPS 350 CS to shutdown? It runs
on /dev/ttyd0, with the appropriate cable. But it never sees the power go
off-line, and, hence, does not go into shutdown mode. :( When I do an
apcaccess status, it gives me this:

--
DATE : Mon Jan 20 01:02:14 CET 2003
HOSTNAME : asarian-host.net
RELEASE  : 3.8.5
UPSNAME  : UPS_IDEN
CABLE: APC Cable 940-0128A
MODEL: BackUPS
UPSMODE  : Stand Alone
STARTTIME: Sun Jan 19 19:54:05 CET 2003
LINEFAIL : OK
BATTSTAT : OK
STATFLAG : 0x008 Status Flag
END APC  : Mon Jan 20 01:02:14 CET 2003
--

It all seems dandy, but it just will not notice the power-loss. :( Has
anyone ever got this to work on FreeBSD 4.7 (the machine the APC Back-UPS
350 CS runs on)?


I don't know specifically about the 350CS, about the only thing I know 
is you have to have exactly the right cable/software combination. Did 
you confirm that there is a 940-0128A between the units? Perhaps trying 
other options as advised at
http://www.sibbald.com/apcupsd/3.8manual/configure.html#ConfigGeneral
could give you a hint in the right direction.

Cheers,
Per olof


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


Re: Shutdown for APC Back-UPS 350 CS

2003-01-19 Thread Jack L. Stone
At 01:08 AM 1.20.2003 +0100, Mark wrote:
I know I have asked this before, a month or so ago, but I am still rather
stuck with this. So, if anyone has a useful suggestion, I would appreciate
you sharing it with me.

Has anyone ever managed to get the APC Back-UPS 350 CS to shutdown? It runs
on /dev/ttyd0, with the appropriate cable. But it never sees the power go
off-line, and, hence, does not go into shutdown mode. :( When I do an
apcaccess status, it gives me this:

--
DATE : Mon Jan 20 01:02:14 CET 2003
HOSTNAME : asarian-host.net
RELEASE  : 3.8.5
UPSNAME  : UPS_IDEN
CABLE: APC Cable 940-0128A
MODEL: BackUPS
UPSMODE  : Stand Alone
STARTTIME: Sun Jan 19 19:54:05 CET 2003
LINEFAIL : OK
BATTSTAT : OK
STATFLAG : 0x008 Status Flag
END APC  : Mon Jan 20 01:02:14 CET 2003
--

It all seems dandy, but it just will not notice the power-loss. :( Has
anyone ever got this to work on FreeBSD 4.7 (the machine the APC Back-UPS
350 CS runs on)?

Thanks.

- Mark


To do what you want requires a UPS with SmartUPS to talk to your
system. You have what is referred to as a dumb UPS. I use SmartUPSes on
master machines to tell the slave machines when to shut down and other
instructions. The SmartUPSes will carry on an exchange with the machine,
but the dumb ones will not. The slaves are attached to the dumb UPSes for
continuations of power, but the SmartUPS tells each slave what to do and
when to shut down. Each slave must have an apcupsd daemon installed,
running and configured to communicate with the master over the network for
this to work.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Shutdown for APC Back-UPS 350 CS

2003-01-19 Thread Per olof Ljungmark
snip

To do what you want requires a UPS with SmartUPS to talk to your
system. You have what is referred to as a dumb UPS. I use SmartUPSes on
master machines to tell the slave machines when to shut down and other
instructions. The SmartUPSes will carry on an exchange with the machine,
but the dumb ones will not. The slaves are attached to the dumb UPSes for
continuations of power, but the SmartUPS tells each slave what to do and
when to shut down. Each slave must have an apcupsd daemon installed,
running and configured to communicate with the master over the network for
this to work.

end snip

But why then supply a cable for use between the 350CS and the computer?
I use only SmartUPS and BackUPS Pro so I could not be sure but...

Per olof


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



4.7 -- 5.0 via CVSup

2003-01-19 Thread John Bleichert
Hello All

Just for yucks I tried to upgrade a 4.7 box to 5.0 via cvsup/buildworld. 
It's been, erm, less than successful. Is this possible? Is it documented? 
I'm sure it is, but I can't find it. Can someone give me a pointer? The 
Handbook still has the 4.7 build instructions.

My (new) kernel is now appearing in /boot,  seems to be much smaller, and 
isn't seen at boot time. Figured I'd ask for help before hacking it into 
submission :)
 
Is the 'old' build method no longer valid? Pointers to docs appreciated. I 
can grab the ISOs and do it if I need to, this is just a test box.

Thanks - JB


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: 4.7 -- 5.0 via CVSup (never mind)

2003-01-19 Thread John Bleichert

/me read /usr/src/UPDATING. Sorry to clutter your INBOXes.

On Sun, 19 Jan 2003, John Bleichert wrote:

 Date: Sun, 19 Jan 2003 19:45:28 -0500 (EST)
 From: John Bleichert [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: 4.7 -- 5.0 via CVSup
 
 Hello All
 
 Just for yucks I tried to upgrade a 4.7 box to 5.0 via cvsup/buildworld. 
 It's been, erm, less than successful. Is this possible? Is it documented? 
 I'm sure it is, but I can't find it. Can someone give me a pointer? The 
 Handbook still has the 4.7 build instructions.
 
 My (new) kernel is now appearing in /boot,  seems to be much smaller, and 
 isn't seen at boot time. Figured I'd ask for help before hacking it into 
 submission :)
  
 Is the 'old' build method no longer valid? Pointers to docs appreciated. I 
 can grab the ISOs and do it if I need to, this is just a test box.
 
 Thanks - JB
 
 
 #  John Bleichert 
 #  http://vonbek.dhs.org/latest.jpg
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: Shutdown for APC Back-UPS 350 CS

2003-01-19 Thread Jack L. Stone
At 02:05 AM 1.20.2003 +0100, Per olof Ljungmark wrote:
snip
 To do what you want requires a UPS with SmartUPS to talk to your
 system. You have what is referred to as a dumb UPS. I use SmartUPSes on
 master machines to tell the slave machines when to shut down and other
 instructions. The SmartUPSes will carry on an exchange with the machine,
 but the dumb ones will not. The slaves are attached to the dumb UPSes for
 continuations of power, but the SmartUPS tells each slave what to do and
 when to shut down. Each slave must have an apcupsd daemon installed,
 running and configured to communicate with the master over the network for
 this to work.
end snip

But why then supply a cable for use between the 350CS and the computer?
I use only SmartUPS and BackUPS Pro so I could not be sure but...

Per olof


I have been asking WHY have a cable with a dumb UPS for a long time and yet
to get a good answer. I have tested with instruments the pins on those
cables and very little to nothing found in a way of a signal. If you go to
that apcupsd URL and did down you will find all (most) of the cables and it
also explains them. SmartUPSes -- yes -- okay and will work with the cable.
The computer may sense the dumb UPS -- BUT, will not communicate about
shutdown and other critical info. If I'm wrong, then let me know I
spent a lot of time falling for the cable bit.

Dumb UPSes are useful for keeping the machines going until you or a master
machine can tell it to shut down gracefully

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

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



Re: Installing over NetBSD

2003-01-19 Thread Jens Rehsack
Paul Hoffman wrote:

Greetings. I have a box with NetBSD 1.6 on it that I want to turn into a 
FreeBSD box, while retaining the information in the user directories. Is 
this possible with the FreeBSD 4.7 install CD-ROM? That is, can I say 
during setup don't reformat or re-partition, but just use the / and 
/usr that is already on this disk?


I do not know anything about such an upgrade, but if you want to hear my 
opinion, you should backup all data you want to reuse later. This will 
be all user data (/home/*, /root/* ?), /etc/*, maybe /usr/local/etc/ and 
some things from /var/ (eg. database dumps) ...

Best is, you backup all if you are not sure - better safe than sorry.

If you finished to backup all you need to an external source (tape, 2nd 
computer, cd-r), you can try to boot from FreeBSD 4.7-CD and look if 
sysinstall detects the labels and is able to use them. You can easily 
set mount points for everything sysinstall detects without need to 
format it.

But remember: if you merge config files and/or binaries from both 
systems, they may occur very funny errors.

Good luck
Jens


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


IPFW stateful ruleset problems on 4.7 STABLE

2003-01-19 Thread john
Greetings,
I seem to be having a few problems with my new ipfw stateful firewall bridge ruleset. 
If I understand this correctly, a client should make a request to port 80, gets issued 
a SYN flag, and the session is allowed further communication via the first rule 22100 
'check-state.'  When I view the site from an outside location, everything seems to be 
running fine, but when I check the log file, it appears that the 'deny all' rule is 
being hit quite a bit more often than I expected. Syslog shows me 

Jan 19 17:09:25 postfix /kernel: ipfw: 22500 Deny TCP 207.124.361.215:2345 
10.10.10.10:80 in via sis0
Jan 19 17:09:26 postfix /kernel: ipfw: 22500 Deny TCP 154.951.221.81:4376 
10.10.10.10:80 in via sis0
Jan 19 17:09:32 postfix /kernel: ipfw: 22500 Deny TCP 158.113.207.162:55639 
10.10.10.10:80 in via sis0
Jan 19 17:09:32 postfix /kernel: ipfw: 22500 Deny TCP 127.113.227.62:55639 
10.10.10.10:80 in via sis0
Jan 19 17:09:33 postfix /kernel: ipfw: 22550 Deny TCP 10.10.10.10:1801 
142.261.148.67:80 in via fxp2


I'm getting these messages literally every couple seconds. I would expect this 
behaviour when the filter is first activated (dropping old connections that do not 
have the flag set) but not after several hours. I'm seeing similar happenings to my 
mail servers, so I believe it is a problem with my ruleset, and not something machine 
specific. I have included the relative document pieces below.  Can anyone spot my 
silly mistake and care to inform me of the problem?

Thanks,
~John

...
Some generic rules
..
add 6700 skipto 22100 all from 10.10.10.10 to any
 add 6750 skipto 22100 all from any to 10.10.10.10
...
#ruleset for machine
add 22100 check-state
#allow in terminal services 
add 22200 allow tcp from any to 10.10.10.10 3389 in setup keep-state
#allow out terminal services
add 22250 allow tcp from 10.10.10.10 to any 3389 out setup keep-state
#allow AIM
add 22275 allow tcp from 10.10.10.10 to any 5190 setup keep-state 
add 22276 allow tcp from any 5190 to 10.10.10.10 setup keep-state 
#Allow in Web 
add 22300 allow tcp from any to 10.10.10.10 80 setup keep-state
#Allow out web
add 22350 allow tcp from 10.10.10.10 to any 80 setup keep-state 
add 22400 allow udp from 10.10.10.10 to any 53 keep-state 
#Now block everything else
add 22500 deny log logamount 200 ip from any to 10.10.10.10 
add 22550 deny log logamount 200 ip from 10.10.10.10 to any 
add 23000 skipto 6 all from any to any 


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



[no subject]

2003-01-19 Thread ivan
Óâàæàåìûå äàìû è ãîñïîäà !

Ïðåäëàãàåì Âàì íîóòáóêè è êîìïüþòåðû ËÞÁÎÉ êîíôèãóðàöèè, ãîòîâûå è íà ÇÀÊÀÇ.
Äîñòàâêà ïî Ìîñêâå ÁÅÑÏËÀÒÍÎ. ÃÀÐÀÍÒÈß.

Êîìïüþòåðû äëÿ îôèñà:
Celeron 1000E\mb-asus video, sound int\256mb\30Gb \CD 52x\FDD\LAN - 275$
Athlon  1700\32Mb video\Sound\256mb\30Gb\CD 52x\FDD\LAN\ - 285$
Celeron 1700(Ð4-128)\32Mb video\Sound\256mb\30Gb Maxtor7200\CD 52x\FDD\LAN\USB2 - 295$
Pentium 1700(Ð4-256)\32Mb video\Sound\256mb\30Gb Maxtor7200\CD 52x\FDD\LAN\USB2 - 369$

Äëÿ äîìà:
Pentium 2000-512k\64Mb GeForce 4 mx 440 tv\Sound\256DDR\60Gb Maxtor7200\CD52x\FDD - 
499$
Pentium 2400-512k\ASUS\128Mb GeForce 4 mx 440 tv\Sound 
6Ch\256DDR\60GbMaxtor7200\CD52x\FDD - 629$

Äëÿ ðàáîòû ñ ãðàôèêîé:
Athlon 2100+\Gigabyte\64Mb GeForce 4 mx 440 tv\Sound 6Ch\512 DDR333\60Gb 
Maxtor7200\CD52x\FDD\Lan - 539$

Íîóòáóêè MaxSelect  äî 1000$
Íîóòáóêè Toshiba âñå ìîäåëè íåäîðîãî.

Ìîíèòîðû 17 îò 150$ ( LG )

Ñïåöèàëüíîå ïðåäëîæåíèå äëÿ êóïèâøèõ ñèñòåìíûé áëîê:
(äåèñòâóåò òîëüêî äî ïÿòíèöû)
LCD ÌÎÍÈÒÎÐÛ
SONY X72 - 699$
SAMSUNG 152S -375$
SONY S51 - 395$


À òàêæå êîïèðû, ïðèíòåðû, ñêàíåðû ïî ëó÷øèì öåíàì.
748-02-77, 995-07-48  Èâàí, Êàòÿ

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



[no subject]

2003-01-19 Thread ivan
Óâàæàåìûå äàìû è ãîñïîäà !

Ïðåäëàãàåì Âàì íîóòáóêè è êîìïüþòåðû ËÞÁÎÉ êîíôèãóðàöèè, ãîòîâûå è íà ÇÀÊÀÇ.
Äîñòàâêà ïî Ìîñêâå ÁÅÑÏËÀÒÍÎ. ÃÀÐÀÍÒÈß.

Êîìïüþòåðû äëÿ îôèñà:
Celeron 1000E\mb-asus video, sound int\256mb\30Gb \CD 52x\FDD\LAN - 275$
Athlon  1700\32Mb video\Sound\256mb\30Gb\CD 52x\FDD\LAN\ - 285$
Celeron 1700(Ð4-128)\32Mb video\Sound\256mb\30Gb Maxtor7200\CD 52x\FDD\LAN\USB2 - 295$
Pentium 1700(Ð4-256)\32Mb video\Sound\256mb\30Gb Maxtor7200\CD 52x\FDD\LAN\USB2 - 369$

Äëÿ äîìà:
Pentium 2000-512k\64Mb GeForce 4 mx 440 tv\Sound\256DDR\60Gb Maxtor7200\CD52x\FDD - 
499$
Pentium 2400-512k\ASUS\128Mb GeForce 4 mx 440 tv\Sound 
6Ch\256DDR\60GbMaxtor7200\CD52x\FDD - 629$

Äëÿ ðàáîòû ñ ãðàôèêîé:
Athlon 2100+\Gigabyte\64Mb GeForce 4 mx 440 tv\Sound 6Ch\512 DDR333\60Gb 
Maxtor7200\CD52x\FDD\Lan - 539$

Íîóòáóêè MaxSelect  äî 1000$
Íîóòáóêè Toshiba âñå ìîäåëè íåäîðîãî.

Ìîíèòîðû 17 îò 150$ ( LG )

Ñïåöèàëüíîå ïðåäëîæåíèå äëÿ êóïèâøèõ ñèñòåìíûé áëîê:
(äåèñòâóåò òîëüêî äî ïÿòíèöû)
LCD ÌÎÍÈÒÎÐÛ
SONY X72 - 699$
SAMSUNG 152S -375$
SONY S51 - 395$


À òàêæå êîïèðû, ïðèíòåðû, ñêàíåðû ïî ëó÷øèì öåíàì.
748-02-77, 995-07-48  Èâàí, Êàòÿ

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



Re: Is cups port broken?

2003-01-19 Thread Jim Freeze
On Sunday, 19 January 2003 at 19:56:12 -0500, AlanE wrote:
 On Sun, Jan 19, 2003 at 07:43:38PM -0500, Jim Freeze wrote:
 Hi
 
 I am trying to install cups and it doesn't appear to be installing
 dependencies or finding existing include files.
 
 Cups is not broken. I am working on upgrading, so I suggest you just
 wait a few days until 1.1.18 is ready.
 
 And yes, something *is* out of sync on your system.
 
Thanks. I'll upgrade my system while you do your thing.

-- 
Jim Freeze
--
There are no games on this system.

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



Long msdos names

2003-01-19 Thread JoeB
The mount_msdos has a -l option to force the use of msdos long
names.
Below is my fstab file and mount points /a  /c are msdos file
types.
Is there some way in the fstab file to specify long msdos names?



# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s2a /   ufs rw  1   1
/dev/ad0s2f /tmpufs rw  2   2
/dev/ad0s2g /usrufs rw  2   2
/dev/ad0s2e /varufs rw  2   2
/dev/acd0c  /cdrom  cd9660 ro,noauto0   0
/dev/acd1c/cdrom1 cd9660 ro,noauto  0 0
/dev/fd0  /a  msdos  rw,noauto  0 0
/dev/ad0s1/c  msdos  rw,noauto  0 0
proc/proc   procfs rw   0   0




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



list of fbsd console commands

2003-01-19 Thread JoeB
I have reviewed the FBSD handbook and can not find any documentation
listing all the FBSD console commands.

Are they documented some where?

Is there some way using the man command to list all the man files in
the man directory?


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



OpenSSL Question

2003-01-19 Thread FCET
Greetings,

I upgraded to openssl-0.9.6g_1 using the ports method.

However, the apache error log file still says things like:

Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6e configured

And when I do

# openssl version

I get

OpenSSL 0.9.6e 30 Jul 2002

Any suggestions?

Thanks!

Danny Parkes
_
FCET: Fellowship of Christian Engineers and Technologists
http://www.fcet.org email: [EMAIL PROTECTED]
_



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



what is mtree command used for

2003-01-19 Thread JoeB
Read man mtree, but it does not describe when or for what purpose 
you would use the mtree command.

Would someone explain when to use the mtree command?


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



Re: what is mtree command used for

2003-01-19 Thread Louis LeBlanc
On 01/19/03 09:33 PM, JoeB sat at the `puter and typed:
 Read man mtree, but it does not describe when or for what purpose 
 you would use the mtree command.
 
 Would someone explain when to use the mtree command?
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

$ man mtree
MTREE(8)FreeBSD System Manager's Manual  MTREE(8)

NAME
 mtree - map a directory hierarchy

SYNOPSIS
 mtree [-LPUcdeinqrux] [-f spec] [-K keywords] [-k keywords] [-p path]
   [-s seed] [-X exclude-list]

DESCRIPTION
 The utility mtree compares the file hierarchy rooted in the current
 directory against a specification read from the standard input.  Messages
 are written to the standard output for any files whose characteristics do
 not match the specifications, or which are missing from either the file
 hierarchy or the specification.

etc.

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

Davis' Law of Traffic Density:
  The density of rush-hour traffic is directly proportional to
  1.5 times the amount of extra time you allow to arrive on time.

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



Re: list of fbsd console commands

2003-01-19 Thread Giorgos Keramidas
On 2003-01-19 21:28, JoeB [EMAIL PROTECTED] wrote:
 I have reviewed the FBSD handbook and can not find any documentation
 listing all the FBSD console commands.

 Are they documented some where?

 Is there some way using the man command to list all the man files in
 the man directory?

Not in a static list, which would very quickly become outdated.  You
can always use apropos(1) to search the installed manpages though:

% apropos . | more

- Giorgos


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



Re: what is mtree command used for

2003-01-19 Thread Joe Marcus Clarke
On Sun, 2003-01-19 at 21:33, JoeB wrote:
 Read man mtree, but it does not describe when or for what purpose 
 you would use the mtree command.
 
 Would someone explain when to use the mtree command?

The ports system uses mtree to generate a directory skeleton for
/usr/local and /usr/X11R6.  The main world build uses it to generate a
directory skeleton for the OS.  Basically, the files in /etc/mtree list
the common directories that make up a FreeBSD installation for each of
the major components.

Joe

 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: what is mtree command used for

2003-01-19 Thread Dan Nelson
In the last episode (Jan 19), JoeB said:
 Read man mtree, but it does not describe when or for what purpose 
 you would use the mtree command.
 
 Would someone explain when to use the mtree command?

You can use it to create directories and enforce permissions (the
installworld target uses it like this).

You can also validate an existing filesystem against mtree output
generated in the past.  You can build a tripwire-like program this way.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



mergemaster bails 4.2 - 4.7 upgrade

2003-01-19 Thread Brent Kearney

Hello,

I'm attempting an upgrade from FreeBSD 4.2-STABLE to 4.7-STABLE.
Before running installworld (though I've already done buildworld),
I'm running the new mergemaster from /usr/src/...

Below is a log of the mergemaster output; any suggestions are most
welcome.   The error, 

install: /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config: No such file
or directory
*** Error code 71

Doesn't make much sense, since the file
/usr/src/gnu/usr.bin/man/manpath/manpath.config is indeed
there.


Thanks,

Brent


Script started on Sun Jan 19 18:46:41 2003
mocha# mergemaster.sh -C

*** Creating the temporary root environment in /var/tmp/temproot
 *** /var/tmp/temproot ready for use
 *** Creating and populating directory structure in /var/tmp/temproot

set - `grep ^[a-zA-Z] /usr/src/etc/locale.deprecated`;  while [ $# -gt 0 ] ;  do  
for dir in /usr/share/locale  /usr/share/nls  /usr/local/share/nls;  do  test -d 
/var/tmp/temproot/${dir}  cd /var/tmp/temproot/${dir};  test -L $2  rm -rf $2; 
 test \! -L $1  test -d $1  mv $1 $2;  done;  shift; shift;  done
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/
./bin missing (created)
./boot missing (created)
./boot/defaults missing (created)

snip - truncated several hundred similar lines

./ufs/mfs missing (created)
./ufs/ufs missing (created)
./vm missing (created)
mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p /var/tmp/temproot/
./var/spool/clientmqueue missing (created)
cd /var/tmp/temproot/; rm -f /var/tmp/temproot/sys; ln -s usr/src/sys sys
cd /var/tmp/temproot/usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/man;  set - `grep ^[a-zA-Z] /usr/src/etc/man.alias`;  
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
cd /var/tmp/temproot/usr/share/locale;  set - `grep ^[a-zA-Z] 
/usr/src/etc/locale.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  
shift; shift;  done
cd /var/tmp/temproot/usr/share/nls;  set - `grep ^[a-zA-Z] /usr/src/etc/nls.alias`;  
while [ $# -gt 0 ] ;  do  rm -rf $1;  ln -s $2 $1;  shift; shift;  done
/var/tmp/temproot/usr/obj/usr/src/etc created for /usr/src/etc
=== sendmail
/var/tmp/temproot/usr/obj/usr/src/etc/sendmail created for /usr/src/etc/sendmail
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf auth.conf  
crontab csh.cshrc csh.login csh.logout  dhclient.conf dm.conf fbtab ftpusers gettytab 
group  hosts hosts.allow host.conf hosts.equiv hosts.lpd  inetd.conf login.access 
login.conf  motd modems networks newsyslog.conf  pam.conf phones printcap profile 
protocols  rc rc.atm rc.diskless1 rc.diskless2 rc.firewall rc.firewall6  rc.network 
rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown  rc.syscons rc.sysctl remote 
rpc services  shells sysctl.conf syslog.conf usbd.conf  etc.i386/disktab  
etc.i386/rc.i386  etc.i386/ttys  
/usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config  
/usr/src/etc/../usr.bin/mail/misc/mail.rc  
/usr/src/etc/../usr.bin/locate/locate/locate.rc rc.isdn /var/tmp/temproot/etc;  
install -o root -g wheel -m 755  netstart pccard_ether rc.suspend rc.resume 
/var/tmp/temproot/etc;  install -o root -g wheel -m 600  master.passwd nsmb.conf 
opieaccess /var/tmp/temproot/etc;  pwd_mkdb -p -d /var/tmp/temproot/etc 
/var/tmp/temproot/etc/master.passwd
install: /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config: No such file or 
directory
*** Error code 71

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
  the temproot environment




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



5.0 Xircom card failure

2003-01-19 Thread Kevin Stevens
Hello - not sure where to go with this and looking for suggestions:

Installed 5.0-RELEASE today on a laptop with my Xircom PS-CE2-10 
Ethernet adapter.  This adapter is shown in the hardware notes as being 
supported by the xe driver -
Xircom CreditCard 10Base-T ``CreditCard Ethernet Adapter IIps'' 
(PS-CE2-10).

The card is identified, but then not configured, with the following 
message:

xe0:  Xircom CreditCard Ethernet II at port 0x100-0x107 irq 9 
function 0 config 1 on pccard1
xe0:  Sorry, your CE card is not supported  :(
device_probe_and_attach: xe0 attach returned 19

Unfortunately I never attempted to use this adapter under 4.x.  There 
is not a man page for the xe driver.  Any thoughts?

KeS


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


newbie fetchmail help

2003-01-19 Thread Gary Schenk
Thanks to the readers of this group I can now send mail with Pine.

I am doing something wrong with my fetchmail configuration, however. I am
not even sure where to start troubleshooting.

My .fetchmail.log file reads, in part:

fetchmail: sleeping at Sun Jan 19 2003
fetchmail: 43 messages for gwschenk at orangca-mls05.socal.rr.com (17784
octets)
fetchmail: reading message [EMAIL PROTECTED]
fetchmail: fetchmail: getaddrinfo(localhost.smtp)
fetchmail: SMTP connection to localhost failed
fetchmail: transaction error while fetching from pop-server.socal.rr.com
fetchmail: Query status=10 (SMTP)

Have I configured something incorrectly? I'm suspicious that my email
address and the account name I log onto my computer with have some sort of
conflict in fetchmail or perhaps sendmail. I've gone over .fetchmailrc,
freebsd.mc and the Pine configuration screen, but don't see any mistakes
there. Is there another location to look?

Thanks
Gary




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



Re: newbie fetchmail help

2003-01-19 Thread Scott Robbins
On Sun, Jan 19, 2003 at 07:11:28PM -0800, Gary Schenk wrote:
 Thanks to the readers of this group I can now send mail with Pine.
 
 I am doing something wrong with my fetchmail configuration, however. I am
 not even sure where to start troubleshooting.
 
 My .fetchmail.log file reads, in part:
 
 fetchmail: sleeping at Sun Jan 19 2003
 fetchmail: 43 messages for gwschenk at orangca-mls05.socal.rr.com (17784
 octets)
 fetchmail: reading message [EMAIL PROTECTED]
 fetchmail: fetchmail: getaddrinfo(localhost.smtp)
 fetchmail: SMTP connection to localhost failed
 fetchmail: transaction error while fetching from pop-server.socal.rr.com
 fetchmail: Query status=10 (SMTP)


Fetchmail will often give those errors, but fetch the mail correctly.
I'm not really familiar with pine, but if you're using procmail as the 
mail delivery agent, you need a line like

mda /usr/loca/bin/procmail -d %T in your .fetchmailrc.

However, assuming that you're not using sendmail, postfix or another 
heavyduty agent, you'll still get those errors (though it will
successfully deliver the mail).

You might want to consider using getmail instead. FWIW, I've found that
it seems to work better.  I threw up a page on it, mostly as a reminder
to myself that might be useful at
http://home.nyc.rr.com/computertaijutsu/getmail.html

HTH

-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: I don't get your crazy system! 
Giles: It's called the alphabet. 
Xander: Would ya look at that. 




msg16037/pgp0.pgp
Description: PGP signature


microuptime() went backwards

2003-01-19 Thread talon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All ...

I have a slight problem with a box that i am looking after.

Any tips would be appreciated.

logfile /var/log/messages -- very tiny sample

Jan 20 14:06:22 gateway /kernel: microuptime() went backwards
(164603.803615 - 163908.386002)
Jan 20 14:06:23 gateway /kernel: microuptime() went backwards
(164604.294457 - 164604.254897)
Jan 20 14:06:23 gateway /kernel: microuptime() went backwards
(164604.326398 - 163908.912778)
Jan 20 14:06:24 gateway /kernel: microuptime() went backwards
(164604.765647 - 164604.750630)
Jan 20 14:06:24 gateway /kernel: microuptime() went backwards
(164604.765647 - 164604.751335)
Jan 20 14:06:25 gateway /kernel: microuptime() went backwards
(164604.765647 - 163909.399092)
Jan 20 14:06:25 gateway /kernel: microuptime() went backwards
(164605.196560 - 164605.192186)
Jan 20 14:06:27 gateway /kernel: microuptime() went backwards
(164605.196560 - 163909.835651)
Jan 20 14:06:28 gateway /kernel: microuptime() went backwards
(164605.648055 - 164605.646256)

- --

I was told this problem was due to a faulty cmos clock :(
(Not By This List)

After changing the mob the problem still occurs ...

I have had a look about in the archives but havnt been able to find
anything that might suggest a fix.

The box is a dual homed system connected to an adsl router and small 20
machine lan acting as packetfilter and ipnat gateway.
Realtech nics 512mb ram Asus Mainboard and AMD duron 900 cpu
The OS is FreeBSD 4.7-STABLE

If any one has been here before .. thanks in advance for any tip on
fixing the prob ...

Best Regards Jason
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: Signed By Talon With GnuPG

iD8DBQE+K29ryoJQBYFw6XARAu8OAKCPwdvdlpnuKUXM5+8WA1iX614suQCglgmd
xRqDMyzOLBfoko5snhE5r3Q=
=LYNz
-END PGP SIGNATURE-


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



Re: microuptime() went backwards

2003-01-19 Thread bastill
Quoting talon [EMAIL PROTECTED]:
re microuptime.

My guess is that you will get 10^7 replies to this chestnut!  :-)

1. Reconfigure your kernel by deleting all reference to APM,  Leaving it in the
default disabled state will not be enough.
2. Remove APM from your BIOS settings.

IIRC that's about it.

--
Brian

---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



Re: microuptime() went backwards

2003-01-19 Thread talon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
| Quoting talon [EMAIL PROTECTED]:
| re microuptime.
|
| My guess is that you will get 10^7 replies to this chestnut!  :-)



Ok Thanks Heaps .. Il definately do that!

Thanks Again

Jason

FreeBSD Rox My Sox :)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: Signed By Talon With GnuPG

iD8DBQE+K3XEyoJQBYFw6XARAjJXAJ9wmi1hCelI5rCNUuQjCMTwOZ6wdwCdEJwU
LHTmCBuRUdQr6g66u2Rpwjs=
=BZ+I
-END PGP SIGNATURE-


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



memory limit problem again.

2003-01-19 Thread ilovefd
Dear Sirs
(B
(BI am a user of FreeBSD-4.7.
(BI baught a Mother board(P4QH6) with Xeon MP from Supermicro.
(B
(BSupermicro says about P4QH6
(B
(BYes the MP Xeons and this motherboard can fully access 32GB of main
(Bmemory.  The processor is a 32 bit instruction code processor, but is a
(B64 bit device which easily accesses 32GB of main memory.
(B
(BHow should I do to let FreeBSD-4.7/5.0 access to 32GB mem?
(B
(BIA64 is available for it?
(B
(BOr Shoul I chose any other operationg system?
(B
(B
(B
(B
(BTo Unsubscribe: send mail to [EMAIL PROTECTED]
(Bwith "unsubscribe freebsd-questions" in the body of the message



Re: Deleted files

2003-01-19 Thread bastill
Quoting Bill Moran [EMAIL PROTECTED]:

 when I searched, this (http://www.tu-ilmenau.de/~mojo/undelete.html) was the
 best I found. 

Sadly, that URL refers to ext2, whereas BSD uses UFS  sob

 I'm assuming that you didn't make backups before starting the conversion
 process,  or you wouldn't be asking this question.  
:-)
It's not TOTAL- just that there are recent things I hadn't backed-up yet - and
who backs up e-mail? (ME in future g)
The other hassle is the hidden automatically-generated files.  eg  Mozilla will
no longer allow it's use as a mailer so I am using webmail until I can find and
cure the problem.  StarOffice is another issue like that.
 
You have given me a clue, however.  I will look for undelete for UFS

--
Brian

---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



Re: Deleted files

2003-01-19 Thread Jeff Jirsa
On Mon, 20 Jan 2003 [EMAIL PROTECTED] wrote:


 You have given me a clue, however.  I will look for undelete for UFS


You're not going to find anything of much use. There has never been
undelete for UFS, for more details you can check the archives (this comes
up from time to time) specifically:
http://archives.neohapsis.com/archives/vendor/1999/0023.html.

Basically, if it's gone, it's gone.

- Jeff


-- 

Jeff Jirsa
[EMAIL PROTECTED]

-- 


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



KVM Switches over IP ...

2003-01-19 Thread Marc G. Fournier

Anyone have any experience with, and recommends for, these?  I'd like to
be able to better manage my remote FreeBSD boxes, especially when it comes
to doing upgrades and being able to get back to the previous kernel ...

from what I've been able to find, its not going to be cheap, but havng no
experience with them, some feedback from those using would be helpful ...
one thing I'd really like is to be able to make better use of DDB
remotely, if that is possible?

Thanks ...

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



Re: Deleted files - recovery

2003-01-19 Thread bastill
Though you might like to see the results of some relevant web-surfing.

For data recovery on Windows and Ext2 file systems:
R-Tools http://www.r-tt.com/

Tool to check and undelete partitions (not data) on:
- FAT12 FAT16 FAT32
- Linux
- Linux SWAP (version 1 and 2)
- NTFS (Windows NT)
- BeFS (BeOS)
- UFS (BSD)
- Netware
- RaiserFS
http://www.cgsecurity.org//testdisk.html

The general opinions on unerasing are that its basically not possible on a ufs
 system, use AdvFS if this ability is required. 
However there is a utility at:
ftp://gatekeeper.dec.com/pub/sysadm/recover.tar.Z
[I found this did not resolve for me, but the URL below, did]
http://www.ccl.net/cca/software/UNIX/recover-files-after-rm/index.shtml

Which may be able to trace remnants of files so long as the
disk has not been written to. So I'll be playing with that.

There is an undelete function in FBSD.  This suggests that native FBSD data
recovery should be possible.  Writing the program or script to achive that end
is beyond my abiity I'm afraid.

--
Brian

---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



perl question about @INC

2003-01-19 Thread David Banning
I got the error running a perl script;

Can't locate Getopt/Simple.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 
. /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at ./adddir.pl line 28.
BEGIN failed--compilation aborted at ./adddir.pl line 28.

su-2.03# locate Simple.pm
/usr/local/lib/perl5/site_perl/5.005/LWP/Simple.pm
 
Where is the @INC alluded to in the error message and how would
I go about adding the real location of the file it is seeking?

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



Re: perl question about @INC

2003-01-19 Thread Joe Marcus Clarke
On Sun, 2003-01-19 at 23:32, David Banning wrote:
 I got the error running a perl script;
 
 Can't locate Getopt/Simple.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach 
/usr/libdata/perl/5.00503) at ./adddir.pl line 28.
 BEGIN failed--compilation aborted at ./adddir.pl line 28.
 
 su-2.03# locate Simple.pm
 /usr/local/lib/perl5/site_perl/5.005/LWP/Simple.pm
  
 Where is the @INC alluded to in the error message and how would
 I go about adding the real location of the file it is seeking?

Usually scripts use Getopt::Std or Getopt::Long for command line option
parsing.  However, there is a third party Getopt::Simple:

http://search.cpan.org/author/RSAVAGE/Getopt-Simple-1.45/Simple.pm

There doesn't appear to be a port of this module to FreeBSD, however. 
You'd have to download and build the module.

Joe

 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



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


Re: Long msdos names

2003-01-19 Thread Jonathan Chen
On Sun, Jan 19, 2003 at 09:22:16PM -0500, JoeB wrote:
 The mount_msdos has a -l option to force the use of msdos long
 names.
 Below is my fstab file and mount points /a  /c are msdos file
 types.
 Is there some way in the fstab file to specify long msdos names?

[...]
 /dev/fd0  /a  msdos  rw,noauto  0 0
 /dev/ad0s1/c  msdos  rw,noauto  0 0

Change these lines to:

/dev/fd0  /amsdos  rw,noauto,longnames  0 0
/dev/ad0s1/cmsdos  rw,noauto,longnames  0 0

-- 
Jonathan Chen [EMAIL PROTECTED]
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller

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



Compilation Error for Nvidia Geforce4 Drivers

2003-01-19 Thread Dilshod
Hello,


I've just successfully installed the latest FreeBSD 5.0 but I'm having 
problems configuring  my Nvidia Geforce4 video card. I've downloaded the 
drivers from nvidia's web site but having trouble compiling it, though 
minimal requrements are satisfied.

Here is the error message I get:

xera# make setup
   === module
   cc -O -pipe -mcpu=pentiumpro
   -I/usr/home/dt/downloads/NVIDIA_FreeBSD-1.0-3203/module/../src
   -D__KERNEL__ -D
   NV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3203
   -DNV_UNIX   -DNV_BSD   -DNVCPU_X86  -D_KER
   NEL -Wall -Wredundant-decls -Wnested-externs
   -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Win
   line -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE
   -nostdinc -I-  -I/usr/home/dt/downloads/NVIDIA_Fre
   eBSD-1.0-3203/module/../src -I. -I@ -I@/dev -I@/../include
   -fno-common  -mno-align-long-strings -mpreferred
   -stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
   -Wnested-externs -Wstrict-prototypes  -Wmissing-pr
   ototypes -Wpointer-arith -Winline -Wcast-qual 
   -fformat-extensions -ansi -c /usr/home/dt/downloads/NVIDIA_F
   reeBSD-1.0-3203/module/../src/nvidia_ctl.c
   In file included from
   /usr/home/dt/downloads/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:14:
   /usr/home/dt/downloads/NVIDIA_FreeBSD-1.0-3203/src/nv-freebsd.h:31:2:
   #error This driver does not support F
   reeBSD 5.0/-CURRENT!
   *** Error code 1

   Stop in /usr/home/dt/downloads/NVIDIA_FreeBSD-1.0-3203/module.
   *** Error code 1

   Stop in /usr/home/dt/downloads/NVIDIA_FreeBSD-1.0-3203.



Any help is appreciated.



PS.If you have Nvidia card and have working XF86Config, please forward 
config information for the device.


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


error during make buildworld

2003-01-19 Thread Mantas Kriauciunas
I am updating from 4.5-RELEASE to current version of freebsd through
cvsup.
I am following file /usr/src/UPDATING and one book about freebsd that I
have.
The problem occurs during make buildworld (/usr/obj is cleared).

Hare goes:
--
 

mkdep -f .depend -a  -DNLIST_AOUT -DNLIST_ELF32
/usr/src/usr.sbin/crunch/crunchide/crunchide/exec_elf32.c
/usr/src/usr.sbin/crunch/crunchide/exec_elf32.c:44: sys/endian.h: No
such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/usr.sbin/crunch/crunchide.
*** Error code 1

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

--
Any Ideas?

Where do I get those files?




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



Re: Compilation Error for Nvidia Geforce4 Drivers

2003-01-19 Thread randall ehren
 reeBSD-1.0-3203/module/../src/nvidia_ctl.c
 In file included from
 /usr/home/dt/downloads/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:14:
 /usr/home/dt/downloads/NVIDIA_FreeBSD-1.0-3203/src/nv-freebsd.h:31:2:
 #error This driver does not support F
 reeBSD 5.0/-CURRENT!
 *** Error code 1

  http://www.thirteenandtwo.org/nvidia/faq.html

Q: Can I run this driver under -CURRENT?

A: The NVIDIA FreeBSD driver is not officially supported under -CURRENT! Don't
bitch if it doesn't work. If you want to try though, comment out lines 24
through 34 in src/nv-freebsd.h or enclose the same lines in an #if 0/endif
directive.

 seems to work fine on my geforce2 gts w/ 5-current

 -randall

--
:// randall s. ehren :// voice 805.893.5632
:// systems administrator:// isber|survey|avss.ucsb.edu
:// institute for social, behavioral, and economic research


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