Not understanding VINUM docs

2003-03-08 Thread Jorge Mario G.
Hi

I have FreeBSD installed in a 2G HD (swap, /, /var, /usr)
Also I have 3 Hard Drives (/misc1 /misc2 /misc3)

now I would like to build a concadenated volume with those 3 harddrives
to make it like a 1 single drive

my question is do I need a basic FreeBSD installed on those hard dirves
for that kind of configuration??





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


(send)mailing from jail-host to jail

2003-03-08 Thread Josh Brooks

system A is a normal freeBSD system with two IP addresses.

system B is a jail on system A, using the second IP.

When I send mail from A to B, i get an error saying that the MX record
points back to myself.

Presumably this is because sendmail running on jail-host takes account of
both ips when it starts, and thinks both iPs belong to it.

So, how can I start sendmail on system A so that it only thinks of
itself as encompassing the first IP ?


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


Re: kernel configuration

2003-03-08 Thread P. U. Kruppa
On Sat, 8 Mar 2003, charles pelletier wrote:

> Okay, just to make sure this is correct (my first use of the newer more
> current kernel config)..
>
> The only steps involved are those listed in the handbook:
> Change to the /usr/src directory.
> # cd /usr/src
> Compile the kernel.
> # make buildkernel KERNCONF=MYKERNEL
> Install the new kernel.
> # make installkernel KERNCONF=MYKERNEL
Or just do these two steps in one:
# make kernel KERNCONF=MYKERNEL

Regards,

Uli.


>
> I don't have to do any other steps, as in those in the original method
> (make, make depend, etc)?
>
> Thanks for the input.
>
>
> Charles Pelletier
> Tech Coordinator
> St Luke's School
> Irving, TX
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

+---+
|Peter Ulrich Kruppa|
|  -  Wuppertal -   |
|  Germany  |
+---+

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


Re: Intel i810e graphic

2003-03-08 Thread YOU

Windows 3.11. Are you using that now? No probably not. Does 9X, 2000, or
any other new M$ breed work? That would be interesting.

Sometimes old hardware is sure nice to have around as a spare, but at
$200.00 for a decent monitor that includes all horiz/vert timings I'd say
maybe it's time to move on.

As a side, I consider having the opportunity to modify my monitor's scan
rates quite a bonus and something as the owner of the hardware/software
should be allowed to do. Not rely on some companies 'default should work
for everyone' profile.

I am using 815e and had similar difficulties to the ones you talked
about. After a few weeks of research I figured it out and am happy with
the results. Was I frustrated? Yes at the time. Is it FreeBSD/developers
fault or even XFree86? Nope. Notta.

I know that much more now and in fact have two video cards in my box
supporting two monitors off of the same X... All learned while working on
figuring out my 815e problems.

My 2 cents.

R.

On Sun, 9 Mar 2003, Miroslaw J. Wiechowski wrote:

> Just one more observation...
> 
> Somehow the old Windows 3.11 worked very well with my monitor
> in all avaliable resolutions 640x480, 800x600 and 1024x768.
> 
> I didn't have to know anything about timings, clocks, vertical 
> synchronisations, modelines etc. 
> 
> Regards
> mjw
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


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


Re: libstdc++.so.5 and linux compat

2003-03-08 Thread Rob
Try ln -s libstdc++.so libstdc++so.5

On Sat, Mar 08, 2003 at 05:45:35PM -0800, Remington L. wrote:
> I have a linux binary I wish to run on my FreeBSD 4.7 box. It has
> linux_base 7.1 installed. When I try to run the linux binary it says
> libstdc++.so.5 not found, but it is installed in the linux base. My
> question is how do I get it to see the so.5 file?
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


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


Re: DHCP Server "learning" name servers since server itself is dhcp'd??

2003-03-08 Thread David Kelly
On Saturday 08 March 2003 12:32 pm, Mikko Työläjärvi wrote:
>
> It is more elegant in perl, but dhclient-enter-hooks is a
> shellscript, so it felt easier to just add it there.

/etc/dhclient-enter-hooks needs to be created in any case if you wish to 
use named else it will write an /etc/resolv.conf containing the values 
given by the DHCP server. Something like this is all it takes to keep 
it from changing your resolv.conf:

#!/bin/sh
make_resolv_conf() {
}

Naturally, one could expand my null'ed make_resolv_conf() to 1) verify 
DNS servers have changed, and 2) write them in /etc/namedb/named.conf, 
then 3) "ndc restart"

My ISP has done something in the past year or so that dhclient thinks 
each and every lease renewal is practically a new lease. 
/etc/resolv.conf gets (actually, only "attempted" now) written on each 
renewal. /var/log/messages gets flooded with this:

Mar  8 21:14:29 grumpy dhclient: New Network Number: 24.214.34.0
Mar  8 21:14:29 grumpy dhclient: New Broadcast Address: 24.214.34.255

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.


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


python interpreter in vim6 port

2003-03-08 Thread Matt Navarre
hello,
Does anyone know how to get python (and perl for that matter) support compiled 
into the vim port? The Makefile has a line that says WITH_PYTHON=yes but 
looking at the output of configure the --enable-pythoninterp argument is not 
getting passed to configure. Is there some magic incantation of make to get 
python in there?

Also, merely out of curiosity why does script have ^Ms on the end of lines 
when viewed with vi? 

ok,
MCN

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


Epson Photo Stylus 1270 setup...

2003-03-08 Thread Alex(ander Sendzimir)
Could someone walk me through the process of getting this printer up and
running under fbsd? It's connected via USB. I know the connection is
good because the printer generates output. The output is garbage,
however. I don't know if I have printcap entry for this printer correct.
I'm installed gimp-print.

Thanks.

Alex



-- 
A L E X A N D E R   S E N D Z I M I RBattleface Computing

  This email is for the intended recipient only. If you are not
  the intended recipient, then please kill yourself. Since we
  have no way of verifying that you have killed yourself, you are
  on your honor.
  
  Our employees are carefully screened and don't correspond with
  dishonorable people. If you are found to be dishonorable, then
  please rekill yourself.
  
  Any employee found corresponding with a dishonorable person
  will be killed and then promptly fired. If you are a dishonor-
  able person, then please report to us the person from whom you
  have received this email and then kill yourself or rekill
  yourself whichever is appropriate.

   Custom Computing  -  Linux & Free BSD  - C, Perl, Python, WWW
[EMAIL PROTECTED]  |802 863 5502|  Colchester, VT 05446


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


screen power saving question

2003-03-08 Thread David Banning
I am having a problem where my monitor shuts down into power saving
mode, and does not always come back up when I hit the keyboard
or move the mouse.

I am running FreeBSD 4.7 with XFree86 4.3 and xfce window manager.
My question is;

What gives the the command to the monitor to go into power saving mode?
Is it my bios? Does XFree86 monitor the use of the keyboard/mouse?
Is is the window manager/xfce?
Or maybe it's even FreeBSD itself?

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


Re: Syslog problem

2003-03-08 Thread Chuck Rock
Well, that seemed to work. I don't know why, but it did.

Thank you!

Chuck

On Sat, 8 Mar 2003, Michael K. Smith wrote:

> Hello Chuck:
>
> On Sat, 8 Mar 2003, Chuck Rock wrote:
>
> > For the last few versions of FreeBSD, I have not been able to get my syslog
> > to log my dial-up pool from my Cisco router.
> >
> > I changed the syslog startup flags in rc.conf.
> >
> > I'm running it now as /usr/sbin/syslogd -a 207.206.185.1/27 -a
> > 209.83.132.1/27
> >
>
> This might be your issue, because you haven't specified the service after
> you subnet.  Try the following:
>
> /usr/sbin/syslogd -a 207.206.185.1/27:* -a 209.83.132.1/27:*
>
> Mike
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

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


Re: Syslog problem

2003-03-08 Thread Chuck Rock
Accordifn to the man page, that just specifies what port to listen on. By
default it's 514 syslog port.

I'll try it anyway. I'm up for anything at this point ;-)

Chuck

On Sat, 8 Mar 2003, Michael K. Smith wrote:

> Hello Chuck:
>
> On Sat, 8 Mar 2003, Chuck Rock wrote:
>
> > For the last few versions of FreeBSD, I have not been able to get my syslog
> > to log my dial-up pool from my Cisco router.
> >
> > I changed the syslog startup flags in rc.conf.
> >
> > I'm running it now as /usr/sbin/syslogd -a 207.206.185.1/27 -a
> > 209.83.132.1/27
> >
>
> This might be your issue, because you haven't specified the service after
> you subnet.  Try the following:
>
> /usr/sbin/syslogd -a 207.206.185.1/27:* -a 209.83.132.1/27:*
>
> Mike
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

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


4.7-STABLE, 4.8-RC! don't recognize 2nd SCSI disk

2003-03-08 Thread joe moore
I have a Compaq Prosignia 200 with 4.3 GB and 9.1 GB SCSI drives on a Compaq
SCSI controller sym0 (875). 4.7-RELEASE installs and runs fine. I cvsup'd to
stable (as of a few days ago) and now the second disk (da1) is no longer
recognized so /usr won't mount. If I boot from a 4.8-RC1 install CD the
fdisk utility in sysinstall doesn't see it either. Doing an "fdisk da1" with
4.7-STABLE yields a "da1 not configured" error. Any ideas?

TIA   ...jgm



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


Re: still can't resolve these system reboots... help please

2003-03-08 Thread Tuc
> > So the next question is how do I approach Dell to replace the
> > motherboard/cpu/memory? If I show them FreeBSD they'll laugh.
> 
> Can you find an intensive program to run under Windows that will reproduce
> it?
> Hell ... just install ActivePerl and write a perl script that does lots
> and lots of number crunching (it need not be anything useful) or install
> SETI and see if it crashes Windows.
> 
Tried SETI and WINTEST, neither would do it.

Tuc/TTSG Internet Services, Inc.

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


Re: Syslog problem

2003-03-08 Thread Michael K. Smith
Hello Chuck:

On Sat, 8 Mar 2003, Chuck Rock wrote:

> For the last few versions of FreeBSD, I have not been able to get my syslog
> to log my dial-up pool from my Cisco router.
>
> I changed the syslog startup flags in rc.conf.
>
> I'm running it now as /usr/sbin/syslogd -a 207.206.185.1/27 -a
> 209.83.132.1/27
>

This might be your issue, because you haven't specified the service after
you subnet.  Try the following:

/usr/sbin/syslogd -a 207.206.185.1/27:* -a 209.83.132.1/27:*

Mike


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


libstdc++.so.5 and linux compat

2003-03-08 Thread Remington L.
I have a linux binary I wish to run on my FreeBSD 4.7 box. It has
linux_base 7.1 installed. When I try to run the linux binary it says
libstdc++.so.5 not found, but it is installed in the linux base. My
question is how do I get it to see the so.5 file?



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


Re: Intel i810e graphic

2003-03-08 Thread Matt Navarre
On Saturday 08 March 2003 04:48 pm, Miroslaw J. Wiechowski wrote:
> It seems that the X-Windows configuration problem is caused
> not only by the Intel i810 chip, but also by the monitor,
> Targa Multiscan TM 1480, which is rather old and probably the
> system cannot ask it for necessary information.

Well, the system doesn't ask it for information. You need to put the 
appropriate horizontal and vertical sync rates in the Monitor section.

searching google didn't turn up the relevant info for this monitor though, Do 
you have the users manual? that should have the relevant info in it. There's 
also a Monitors file in /usr/X11R6/doc in XFree86 3.3.x, but it doesn't have 
info for your monitor and seems to have dissappeared in XFree 4.x

>
> I could achieve 640x480 display by putting "Modeline" in the
> monitor section, after some experimenting.
>
> However, mode 800x600 works badly, the image is shifted to the
> left and it cannot be helped with xidtune tweaing. I tried
> several configuration variants.
>
> Mode 1024X768 is impossible to get.
>
> Well, perhaps it's time to say goodbye to FreeBSD after such
> short acquaintance...
>
> Regards
> mjw
>
>
> Section "Monitor"
>Identifier   "Monitor0"
>VendorName   "Targa"
>ModelName"TM 1480 Multisync"
>HorizSync15.5 - 38
>VertRefresh  43 - 90
># Works ok, the pictire is properly centered
>Modeline  "640x480"   25.20  640  644  740  796   480 490 492 525 -hsync
> -vsync # The picture is shifted left which cannot be repaired with xvidtune
> Modeline  "800x600"   40.00  800  840  968 1056   600 601 605 628 +hsync
> +vsync EndSection
>
>
> Section "Device"
>Identifier  "Card0"
>Driver  "i810"
>VendorName  "Intel"
>BoardName   "i810e"
>BusID   "PCI:0:1:0"
>Option  "NoDDC" "True"
>VideoRam8192
> EndSection
>
>
> Section "Screen"
>Identifier "Screen0"
>Device "Card0"
>Monitor"Monitor0"
>SubSection "Display"
>  Depth 16
>  Modes"1024x768" "800x600" "640x480"
>EndSubSection
> EndSection
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


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


Re: Intel i810e graphic

2003-03-08 Thread Miroslaw J. Wiechowski
Just one more observation...

Somehow the old Windows 3.11 worked very well with my monitor
in all avaliable resolutions 640x480, 800x600 and 1024x768.

I didn't have to know anything about timings, clocks, vertical 
synchronisations, modelines etc. 

Regards
mjw



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


ata disk spindown timeout

2003-03-08 Thread Seunghun Lee
*** ata-disk.c.orig Tue Dec 17 12:46:56 2002
--- ata-disk.c  Sat Mar  8 14:50:01 2003
***
*** 87,95 
--- 87,97 
  static int ata_dma = 1;
  static int ata_wc = 1;
  static int ata_tags = 0; 
+ static int ata_suspend = 0;
  TUNABLE_INT("hw.ata.ata_dma", &ata_dma);
  TUNABLE_INT("hw.ata.wc", &ata_wc);
  TUNABLE_INT("hw.ata.tags", &ata_tags);
+ TUNABLE_INT("hw.ata.suspend", &ata_suspend);
  static MALLOC_DEFINE(M_AD, "AD driver", "ATA disk driver");
  
  /* sysctl vars */
***
*** 100,105 
--- 102,110 
   "ATA disk write caching");
  SYSCTL_INT(_hw_ata, OID_AUTO, tags, CTLFLAG_RD, &ata_tags, 0,
   "ATA disk tagged queuing support");
+ SYSCTL_INT(_hw_ata, OID_AUTO, suspend, CTLFLAG_RD, &ata_suspend, 0,
+  "ATA disk suspend timer (secs)");
+ 
  
  void
  ad_attach(struct ata_device *atadev)
***
*** 201,206 
--- 206,218 
ata_prtdev(atadev, "disabling service interrupt failed\n");
  }
  
+ if ( ata_suspend > 0 ) {
+ /* attempt suspend mode. The drive uses increments of ten seconds */
+ if (ata_command(atadev, 0xe2,
+   0, ata_suspend/10, 0, ATA_WAIT_INTR))
+ printf("ad%d: suspend mode failed\n", adp->lun);
+ }
+ 
  ATA_UNLOCK_CH(atadev->channel);
  
  devstat_add_entry(&adp->stats, "ad", adp->lun, DEV_BSIZE,
***
*** 888,893 
--- 900,912 
ata_umode(adp->device->param));
  else
ata_dmainit(atadev, ata_pmode(adp->device->param), -1, -1);
+ if ( ata_suspend > 0 ) {
+   /* attempt suspend mode. The drive uses increments of ten seconds */
+if (ata_command(atadev, 0xe2,
+0, ata_suspend/10, 0, ATA_WAIT_READY))
+   printf("ad%d: suspend mode failed\n", adp->lun);
+ }
+ 
  }
  
  void

=
--Seunghun Lee

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Re: dd *very* slow. Now 75x faster thanks to Kirk's suggestion!

2003-03-08 Thread S W
..snip..

> I dropped that idea, but I'd read a post somewhere about dd, I tried...
>
> dd if=/dev/ad2 of=/dev/da0
>
> ...now the IDE activity LED has been on solid for about 4hours
dd's performance is highly depending on the size of its buffers, which are
abysmally small (512 bytes) by default:
[EMAIL PROTECTED]:~$ dd if=/dev/zero of=/tmp/foo count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.74 secs (6916211 bytes/sec)
You can increase this by specifying your own buffer size:

[EMAIL PROTECTED]:~$ dd if=/dev/zero of=/tmp/foo count=1 bs=16384
1+0 records in
1+0 records out
16384 bytes transferred in 0.000173 secs (94654927 bytes/sec)
Before starting the full transfer, do something like:

dd if=/dev/ad2 of=/dev/da0 bs=512 count=16384

and keep doubling the size of the bs argument until the throughput values
stop increasing noticably, then use that value to duplicate your drive.  It
will still be somewhat slow, but I guarantee you can speed it up by at least
5 times.
--
Kirk Strauser
In Googlis non est, ergo non est.
<< attach3 >>
Here's the results of doubling the buffer size as you suggested:

BS  bytes/sec
512 60808 (default)
1024121614
2048240212
4096470312
8192898897
16384   1652020
32768   2848452
65536   4490871*
131072  3811765
262144  3438026...
iostat now reports a steady 4+MB/s (75x increase).

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

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


Re: Intel i810e graphic

2003-03-08 Thread Miroslaw J. Wiechowski
It seems that the X-Windows configuration problem is caused
not only by the Intel i810 chip, but also by the monitor,
Targa Multiscan TM 1480, which is rather old and probably the
system cannot ask it for necessary information.

I could achieve 640x480 display by putting "Modeline" in the
monitor section, after some experimenting.

However, mode 800x600 works badly, the image is shifted to the
left and it cannot be helped with xidtune tweaing. I tried 
several configuration variants.

Mode 1024X768 is impossible to get.

Well, perhaps it's time to say goodbye to FreeBSD after such
short acquaintance...

Regards
mjw


Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Targa"
   ModelName"TM 1480 Multisync"
   HorizSync15.5 - 38
   VertRefresh  43 - 90
   # Works ok, the pictire is properly centered
   Modeline  "640x480"   25.20  640  644  740  796   480 490 492 525 -hsync -vsync
   # The picture is shifted left which cannot be repaired with xvidtune
   Modeline  "800x600"   40.00  800  840  968 1056   600 601 605 628 +hsync +vsync 
EndSection


Section "Device"
   Identifier  "Card0"
   Driver  "i810"
   VendorName  "Intel"
   BoardName   "i810e"
   BusID   "PCI:0:1:0"
   Option  "NoDDC" "True"
   VideoRam8192
EndSection


Section "Screen"
   Identifier "Screen0"
   Device "Card0"
   Monitor"Monitor0"
   SubSection "Display"
 Depth 16
 Modes"1024x768" "800x600" "640x480"
   EndSubSection
EndSection



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


ata disk spindown timeout

2003-03-08 Thread Seunghun Lee
I'd like to suspend my ata disk.

I dug up this old patch in freebsd-mobile and applied to 5.0-RELEASE-p4 and put
hw.ata.suspend=1800 in my loader.conf

I attach the patch.

Two things: 1800 sec == 30 minutes. it suspends waaay before it's been 30
minutes. The same thing happens with 18000 also. I'd say it is at around 3
minutes or so.
Second, it spins right back up almost right after it spins down. I noatime in
all of my mounts. (/export in one disk, /nautilus in another, and a third disk
spliced up into /usr, /var, /, etc) Even for /export and /nautilus which no
process should be touching (and fstat doesn't show anything) the thing spins
back up with in maybe seconds. I mean for the third mentioned disk, i'd suspect
syslogd or some other thing, but since /export is spinning up as well, I didn't
investigate.

So does anyone know why it spins back up and why the timeout isn't working
quite correctly?

=
--Seunghun Lee

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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


Re: 3 IDE devices on Promise card + FreeBSD == not possible?

2003-03-08 Thread Len Conrad

I've been posting about this since the beginning on the year.  A few
times on freebsd-questions, once on freebsd-hackers, and submitted a PR
(http://www.freebsd.org/cgi/query-pr.cgi?pr=48165).
Are you sure that configuring the TX2 as "RAID 0" array is what you want to 
do, vs "SPAN" (aka JBOD)?

I would guess that under vinum, span/jbod would be best, but just guessing.

Len



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


RE: Mirroring/load-balance two servers

2003-03-08 Thread Jonas Fornander
> 
> The only problem with using DNS round robin like this, is 
> that, in this scenario when 1 server is down, on average 1 in 
> 3 requests to the web server will fail. But as previous 
> posters have commented DNS should respond with the same 3 
> addresses, but it will rotate the order each time, in the 
> version ( named 8.3.4-REL Sun Feb  9 01:23:18 GMT 2003 on 
> 4.7-STABLE of the same date ) I am using it appears to return 
> the addresses in some sort of random order at least it does 
> for me in my test.

In reality, what happens to the user that connects to the offline
server? Can he just refresh his browser and if he then gets one of the
other IP addresses then the page will display fine?

Jonas Fornander - System Administrator
Netwood Communications, LLC - www.netwood.net
Find out why we're better - 310-442-1530 


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


Re: Can't open /dev/fd0.720: Permission denied

2003-03-08 Thread Lee Harr
>Im having problems accessing my floppy.
>E.g. when using mtools Im getting the following
>message:
>
>   Can't open /dev/fd0.720: Permission denied
>   Cannot initialize 'A:'
ls  -l /dev/fd0.720
crw-r-  2 root  operator9,   7 Feb 12 14:30 /dev/fd0.720
uname -r
4.7-RELEASE-p4
User is root.

>Also at boot I don't see any fd devices getting
>detected.
>This is my kernel config:
>
>   device  fdc0at isa? port IO_FD1 irq 9 drq 2
>   device  fd0 at fdc0 drive 0
Ok, I guess we are back to this...

My kernel config uses irq 6 for fdc0. Did you change this for
a reason, or was this the default setting?
Did you check the physical connection to the drive? ie, make
sure the ribbon cable and power cable are connected well?
Do you have another floppy drive you can try in this system?
A bad ribbon cable can also cause problems.
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: A huge THANK YOU!!!!!

2003-03-08 Thread Kent Stewart
On Saturday 08 March 2003 07:01 am, Bill Moran wrote:
> [EMAIL PROTECTED] wrote:
> > Citeren Bill Moran <[EMAIL PROTECTED]>:
> >>scott mcclellan wrote:
> >>>Was there anything about ISO imaging anywhere that I just missed
> >>> or slipped over without actually reading? I didn't notice
> >>> anything on the FreeBSD site or handbook.
> >>
> >>Unfortunately, I think this is one of those things that it's just
> >>_assumed_ that everybody knows.  I've never seen a good
> >> explanation, anywhere of what an iso is and how it should be
> >> handled.
> >
> > If you mean making your own iso image then have a look at "Making
> > Customized Bootable FreeBSD CD/Floppies". As to buring it. I use
> > the same approce as the author of this. I use a Windows computer.
> > :o
>
> That's my point.  If you want to know how to create your own CDs and
> build bootable CDs and things like that, there are articles
> everywhere. However, if you're _very_ new and just want to burn an
> iso that you've downloaded, there's no basic introduction to what
> you're doing and how to go about it.
>

I'm not sure what is missing here. All of the cdburners that I am aware 
of have the ability to burn iso's. I went through one time and listed 
where the capability was found on the Windows based ones that I had  
used. I have standardized on Nero 5.5 and finding how to burn an iso 
image with Nero is one of the more dificult. You almost have to read 
the FAQ on their web page. On the rest of the Windows burners, you can 
almost double click the *.iso file and it will bring your CD-ROM burner 
program up in the burn-image mode.

The man page for burncd in the examples at the bottom tells you that the 
file written to a data CD is an iso image. It even points you to 
mkisofs, which is used to make the iso image.

> I need to do some writing.

One part that I found to be lite was what an iso image was. It is like 
most of the other extensions on computers. You either recognize them or 
you have problems. So, where would you write something that would 
bootstrap new users to where they understand this new extension. The 
terms ISO9660, Joliet, Rock Ridge, and etc also don't mean much to most 
people. They are also going to see things like ".c", ".o", and etc. but 
we don't tell them what they are for. 

You almost need a FAQ version of a book like "Computer File Extensions 
for Dummies". Some people I know have problems buying one of these 
Dummy books but they are about the only book series I know of that will 
take a newbie to where they can understand the terminology of the 
subject. Then, they can read a more technical book.

Kent
-- 
Kent Stewart
Richland, WA

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


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


Is Adaptec 2120S supported?

2003-03-08 Thread Christian Laursen
I've been trying to figure out whether the Adaptec 2120S raid controller
is supported by FreeBSD.

Adaptec do not list FreeBSD as a supported platform for the 2120S like
they do for e.g. 2110S.

Is it supported, and if it is, by which driver?

Thanks in advance?

-- 
Best regards
Christian Laursen

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


Re: leafnode

2003-03-08 Thread Kris Kennaway
On Sat, Mar 08, 2003 at 10:18:56AM +, Nicholas Wieland wrote:
> On Fri, Mar 07, 2003 at 11:55:23PM -0800, Kris Kennaway wrote:
> > 
> > Post your inetd.conf.
> 
> nntp  stream  tcp  nowait  usenet  /usr/libexec/tcpd  /usr/local/sbin/leafnode

And does the usenet user exist?  The default configuration is to use
the 'news' user.

Kris


pgp0.pgp
Description: PGP signature


Re: 4 Disk Pack

2003-03-08 Thread Bill Moran
Roger Rutz wrote:
I received the 4 disk pack of FreeBSD. I used the #1 CD to install The
Unix System. However, I do not know how to install the additional
applications from the remaininf 3 CD's.
There are three main methods of installing additional software under FreeBSD.

First is "distributions".  These are core parts of FreeBSD which can be
installed in different configurations.  XFree is one of these.  You can
add these during installation or after installation using /stand/sysinstall
by going to "Configure" -> "Distributions".
Second is packages.  These are third-party programs (not officially part of
the FreeBSD project) that can be added to the system.  Packages are
precompiled and ready-to-run, much like software in the Windows world.
You can install them by using /stand/sysinstall and going to "Configure" ->
"Packages".  Or you can download a package file and use pkg_add to install
it.  The first is simpler, as many packages require other packages before
they can be installed, and sysinstall does this for you.
The third (and my favorite) method is the ports system.  This is simply a
directory tree full of config files.  You change to the directory you want
and use the 'make' command.  The config file will tell make where to
download the source from and what to do to compile and install it.  Using
the ports is nice because you can edit the config file (called a "Makefile")
to customize exactly how the software is installed.  Using the ports takes
a lot of time, because the software is "compiled" from the original written
code before it is installed.  Depending on the speed of your computer, some
ports might take many, many hours to build and install.
Much more can be found here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
That is the FreeBSD handbook.  It is the best place to go to get your
questions answered.  It should also be on your newly installed FreeBSD
system in the /usr/share/doc/en/books/handbook directory.
If you have any more questions, don't hesitate to ask.

--
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: Intel i810e graphic

2003-03-08 Thread Matt Navarre
On Saturday 08 March 2003 12:45 pm, Miroslaw J. Wiechowski wrote:
> Message from Matt Navarre [19:44 2003-03-08]:
> >> Section "Device"
>
> [...]
>
> >>Identifier  "Card0"
> >>Driver  "i810"
> >>VendorName  "Intel"
> >>BoardName   "i810"
> >>BusID   "PCI:0:1:0"
> >> #  Option  "NoDDC" "True"
> >> #  Option  "NoInt10" "True"
> >>VideoRam8192
> >> EndSection
> >
> >Just as a data point my workstation needs the "Option "NoDDC" "True" line
> > to work. you also need agp support in the kernel, either compiled in or
> > loaded as as module.
> >
> >ok,
> >MCN
>
> Thank you very much for your help.
>
> I added the NoDDC option.
>
> First time I got _some_ picture. It's resolution was too low
> (800x600), the picture was much too high and moved to the left,
> leaving an empty room on the right side of the screen.
>
> The mouse didn't work properly - it reacted erroneously or did
> not react at all. After a while the whole system crashed.
>
> The next time the system crashed at once and gave a core dump.
>
> Third attempt: the situation repeats. Wrong picture, wrong
> resolution, mouse does not obey... but no crash...
> However I have to go to the console and kill X-Windows with
> Ctrl-C because I am not able to operate the graphical desktop.

You can also kill X with Ctrl-Alt-Backspace at the Xwindows desktop.

>
>
> Perhaps the contents of my XF86Config file will help:
> 

>
> Section "InputDevice"
>   Identifier  "Mouse0"
>   Driver  "mouse"
>   Option  "Protocol" "SysMouse"
>   Option  "Device" "/dev/sysmouse"
>  Option  "Resolution" "1200"
> EndSection

I had to goof around with the mouse part of my config to get my Micro$oft  
PS/2 intellimouse (Dell branded) to work.  here's the relevant section:

Section "InputDevice"

# Identifier and driver

Identifier  "Mouse1"
Driver  "mouse"
Option "Protocol""auto"
Option "Device"  "/dev/psm0"
EndSection

Are you running moused on the console? That's caused problems for me before.
>
> Section "Monitor"
>   Identifier   "Monitor0"
>   VendorName   "Targa"
>   ModelName"TM 1480 Multisync"
>  HorizSync15.5 - 38
>  VertRefresh  50 - 90
> EndSection

Make sure you've got the right specs for your monitor. Things either A) won't 
work or B) go very boom! if they're wrong.
>
> Section "Device"
>   Identifier  "Card0"
>   Driver  "i810"
>   VendorName  "Intel"
>   BoardName   "i810e"
>   BusID   "PCI:0:1:0"
>  VideoRam25000
>  Option  "NoDDC" "True"
> EndSection

hmm, that VideoRam 25000 line looks odd. I'm pretty sure XFree86 wants the 
video ram as a multiple of 1024. In my config file the VideoRam line is 
commented out. That might be something to try. See if you can find the amount 
of actuall vram used on your system.

Here's the section from my Dell OptiPlex GX110:
Section "Device"
Identifier  "intel i810"
Driver  "i810"
Option  "NoDDC"
#VideoRam4096
# Insert Clocks lines here if appropriate
EndSection

>
> Section "Screen"
>   Identifier "Screen0"
>   Device "Card0"
>   Monitor"Monitor0"
>   SubSection "Display"
>Depth 8
>Modes  "1024x768" "800x600" "640x480"
>   EndSubSection
>   SubSection "Display"
>Depth 16
>Modes  "1024x768" "800x600" "640x480"
>   EndSubSection
> EndSection
>

Another thing to try is getting all your specs (monitor, vram, mouse etc.) and 
using /usr/X11R6/bin/xf86config to reconfigure X. (Back up the old 
/etc/X11/XF86config file first).

ok,
mcn


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


FreeBSD + parallel port = virtual "printer"?

2003-03-08 Thread Nick Sayer
Does anyone have any experience trying to get the FreeBSD parallel port 
driver to emulate a printer? I have a device that outputs postscript 
print jobs to a printer, and I'd like to capture those jobs with a 
nearby FreeBSD machine and pass them into lpr.

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


kernel configuration

2003-03-08 Thread charles pelletier
Okay, just to make sure this is correct (my first use of the newer more
current kernel config)..

The only steps involved are those listed in the handbook:
Change to the /usr/src directory.
# cd /usr/src
Compile the kernel.
# make buildkernel KERNCONF=MYKERNEL
Install the new kernel.
# make installkernel KERNCONF=MYKERNEL

I don't have to do any other steps, as in those in the original method
(make, make depend, etc)?

Thanks for the input.


Charles Pelletier
Tech Coordinator
St Luke's School
Irving, TX



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


Re: core dump

2003-03-08 Thread Thomas Haug
you're right there tim, it is changing the place in the compile that it 
bombs at each time, doing the same buildworld, with the same source ! 
here some examples from NOW:

PS: i did a memtest "memtest 520m" (let it run for ~30min) with NO 
errors AND i did a cpuburn "burnP6" test for about ~15min with NO 
errors ?

Server Hardware:

Compaq Proliant ML310
2x DDR 256MB, PC-2100 ECC Registered,266MHz, CL2.5
Intel Pentium IV 2.4 GHz
Compaq SMART-Array 221 SCSI RAID Controller with 3 hd's (3x 18GB ==> RAID5)
1st try:
-
cc -O -pipe  -D_IEEE_LIBM -D_ARCH_INDIRECT=i387_  -c 
/usr/src/lib/msun/src/s_nextafter.c -o s_nextafter.o
cc -O -pipe  -D_IEEE_LIBM -D_ARCH_INDIRECT=i387_  -c 
/usr/src/lib/msun/src/s_nextafterf.c -o s_nextafterf.o
cc -O -pipe  -D_IEEE_LIBM -D_ARCH_INDIRECT=i387_  -c 
/usr/src/lib/msun/src/s_rint.c -o s_rint.o
cc -O -pipe  -D_IEEE_LIBM -D_ARCH_INDIRECT=i387_  -c 
/usr/src/lib/msun/src/s_rintf.c -o s_rintf.o
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1

Stop in /usr/src/lib/msun.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
-bash-2.05b#
-

2nd try:
-
usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine 
-I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_NO_IDEA -DL_ENDIAN 
-DNO_IDEA  -c 
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_mod.c 
-o conf_mod.So
cc: cpp0: Internal compiler error: program cc1 got fatal signal 4output 
pipe has been closed

*** Error code 1

Stop in /usr/src/secure/lib/libcrypto.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
-bash-2.05b#
-

3rd try:
-
cc -O -pipe  -DTERMIOS -DANSI_SOURCE 
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl 
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto 
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine 
-I/usr/obj/usr/src/secure/lib/libcrypto -DOPENSSL_NO_IDEA -DL_ENDIAN 
-DNO_IDEA  -c 
/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/a_bool.c 
-o a_bool.o
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1

Stop in /usr/src/secure/lib/libcrypto.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
-bash-2.05b#
-

-bash-2.05b# tail -3 /var/log/messages
Mar  8 21:25:13 ns1 /kernel: pid 28902 (cc1), uid 0: exited on signal 11 
(core dumped)
Mar  8 21:40:35 ns1 /kernel: pid 63920 (cc1), uid 0: exited on signal 4 
(core dumped)
Mar  8 21:48:11 ns1 /kernel: pid 92714 (cc1), uid 0: exited on signal 11 
(core dumped)
-bash-2.05b#



taxman wrote:
On Friday 07 March 2003 04:00 pm, Thomas Haug wrote:

Hi List members

Since a few weeks my box is core dumping when i'm doing a make
buildworld with
one of the following error msgs (changing always :-)):


If it is changing the place in the compile that it bombs at each time, doing 
the same buildworld, with the same source, then you have a *high* likelihood 
of hardware error of some sort.  Try doing the exact same buildworld two or 
three times in a row, does it bomb every time?  Same spot or different?
You didn't show enough of the error to let us know that
try using script to record the output of the build then you can include more 
of the error in your mail if needed.


Mar  5 21:54:17 ns1 /kernel: pid 34726 (cc1), uid 0: exited on signal 4
(core
dumped)
Mar  5 22:10:21 ns1 /kernel: pid 5383 (cc1), uid 0: exited on signal 11
(core
dumped)
Mar  5 22:10:21 ns1 /kernel: pid 5384 (as), uid 0: exited on signal 5 (core
dumped)
This box is running since a year, so its pritty new and i never had
problems
with it. Every appl is running fine, nothing is core dumping, just the make
buildworld does...


That could easily be because buildworld stresses your system more and in 
different ways than most other apps.

Tim




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


Re: Intel i810e graphic

2003-03-08 Thread Miroslaw J. Wiechowski
Message from Matt Navarre [19:44 2003-03-08]:

>> Section "Device"
[...]
>>  Identifier  "Card0"
>>  Driver  "i810"
>>  VendorName  "Intel"
>>  BoardName   "i810"
>>  BusID   "PCI:0:1:0"
>> #Option  "NoDDC" "True"
>> #Option  "NoInt10" "True"
>>  VideoRam8192
>> EndSection
>
>Just as a data point my workstation needs the "Option "NoDDC" "True" line to 
>work. you also need agp support in the kernel, either compiled in or loaded 
>as as module.
>
>ok,
>MCN

Thank you very much for your help.

I added the NoDDC option.

First time I got _some_ picture. It's resolution was too low
(800x600), the picture was much too high and moved to the left,
leaving an empty room on the right side of the screen.

The mouse didn't work properly - it reacted erroneously or did 
not react at all. After a while the whole system crashed.

The next time the system crashed at once and gave a core dump.

Third attempt: the situation repeats. Wrong picture, wrong
resolution, mouse does not obey... but no crash... 
However I have to go to the console and kill X-Windows with
Ctrl-C because I am not able to operate the graphical desktop.


Perhaps the contents of my XF86Config file will help:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "dbe"
# Load  "dri"
 Load  "ddc"
Load  "extmod"
# Load  "glx"
Load  "pex5"
Load  "record"
Load  "xie"
Load  "xtrap"
Load  "speedo"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "SysMouse"
Option  "Device" "/dev/sysmouse"
 Option  "Resolution" "1200"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Targa"
ModelName"TM 1480 Multisync"
 HorizSync15.5 - 38
 VertRefresh  50 - 90
EndSection

Section "Device"
Identifier  "Card0"
Driver  "i810"
VendorName  "Intel"
BoardName   "i810e"
BusID   "PCI:0:1:0"
 VideoRam25000
 Option  "NoDDC" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
   Depth 8
   Modes  "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
   Depth 16
   Modes  "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 

And here follows the relevant part of XFree86.0.log

.
(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.1.0
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(II) I810: Driver for Intel i810 chipset: i810, i810-dc100, i810e, i815,
i830M
(II) Primary Device is: PCI 00:01:0
(--) Chipset i810e found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1  0xffe0 - 0x (0x20) MX[B](B)
[1] -1  0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
[2] -1  0x000f - 0x000f (0x1) MX[B]
[3] -1  0x000c - 0x000e (0x3) MX[B]
[4] -1  0x - 0x0009 (0xa) MX[B]
[5] -1  0xdd00 - 0xdd0f (0x10) MX[B]E
[6] -1  0xdd10 - 0xdd1f (0x10) MX[B]E
[7] -1  0xde00 - 0xde07 (0x8) MX[B](B)
[8] -1  0xd800 - 0xdbff (0x400) MX[B](B)
[9] -1  0x - 0x (0x1) IX[B]
[10] -1 0x - 0x00ff (0x100) IX[B]
[11] -1 0xc000 - 0xc0ff (0x100) IX[B]E
[12] -1 0xdc00 - 0xdcff (0x100) IX[B]E
[13] -1 0xd800 - 0xd8ff (0x100) IX[B]E
[14] -1 0xd000 - 0x000

RE: Syslog problem

2003-03-08 Thread Chuck Rock
I also ran snort and found these packets coming into my FreeBSD box...

03/08-14:11:42.239335 207.206.185.1:54139 -> 207.206.185.2:514
UDP TTL:255 TOS:0x0 ID:15618 IpLen:20 DgmLen:131
Len: 111
3C 31 38 37 3E 36 30 35 34 38 38 3A 20 4D 61 72  <187>605488: Mar
20 20 38 20 31 34 3A 31 31 3A 34 32 2E 30 37 338 14:11:42.073
20 43 53 54 3A 20 25 4C 49 4E 4B 2D 33 2D 55 50   CST: %LINK-3-UP
44 4F 57 4E 3A 20 49 6E 74 65 72 66 61 63 65 20  DOWN: Interface
56 69 72 74 75 61 6C 2D 41 63 63 65 73 73 34 36  Virtual-Access46
2C 20 63 68 61 6E 67 65 64 20 73 74 61 74 65 20  , changed state
74 6F 20 64 6F 77 6E to down

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

03/08-14:11:42.239755 207.206.185.1:54139 -> 207.206.185.2:514
UDP TTL:255 TOS:0x0 ID:15619 IpLen:20 DgmLen:153
Len: 133
3C 31 38 39 3E 36 30 35 34 38 39 3A 20 4D 61 72  <189>605489: Mar
20 20 38 20 31 34 3A 31 31 3A 34 33 2E 30 37 338 14:11:43.073
20 43 53 54 3A 20 25 4C 49 4E 45 50 52 4F 54 4F   CST: %LINEPROTO
2D 35 2D 55 50 44 4F 57 4E 3A 20 4C 69 6E 65 20  -5-UPDOWN: Line
70 72 6F 74 6F 63 6F 6C 20 6F 6E 20 49 6E 74 65  protocol on Inte
72 66 61 63 65 20 56 69 72 74 75 61 6C 2D 41 63  rface Virtual-Ac
63 65 73 73 34 36 2C 20 63 68 61 6E 67 65 64 20  cess46, changed
73 74 61 74 65 20 74 6F 20 64 6F 77 6E   state to down

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

You can see I got the packets with local7 facility and one at Severity 3 and
one at Severity 5

The log files are still zero bytes.

Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chuck Rock
Sent: Saturday, March 08, 2003 1:24 PM
To: [EMAIL PROTECTED]
Subject: Syslog problem


For the last few versions of FreeBSD, I have not been able to get my syslog
to log my dial-up pool from my Cisco router.

I changed the syslog startup flags in rc.conf.

I'm running it now as /usr/sbin/syslogd -a 207.206.185.1/27 -a
209.83.132.1/27

The router is at .1 and configured to send it's logging messages to local7

syslog.conf is configured like this.

*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.*  /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info   /var/log/maillog
lpr.info/var/log/lpd-errs
cron.*  /var/log/cron
local0.*/var/log/local-0
local1.*/var/log/local-1
local2.*/var/log/local-2
local3.*/var/log/local-3
local4.*/var/log/local-4
local5.*/var/log/local-5
local6.*/var/log/local-6
local7.*/var/log/cisco
etc...

None of the syslg files for local facilities gets data.

-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-0
-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-1
-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-2
-rw-rw-r--  1 root  wheel  0 Mar  8 11:43 local-3
-rw-rw-r--  1 root  wheel  0 Mar  8 11:43 local-4
-rw-rw-r--  1 root  wheel  0 Mar  8 11:43 local-5
-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-6
-rw-rw-r--  1 root  wheel  0 Mar  8 11:35 cisco

Yet I do see data coming into this machine on the syslog port using tcpdump.

tcpdump -w dumpfile1 -vvv port 514

kira(403):[/var/log]-#tcpdump -r dumpfile1
12:23:05.378296 gw.54139 > kira.epconline.net.syslog: udp 103
12:23:05.378540 gw.54139 > kira.epconline.net.syslog: udp 125
12:23:23.597642 gw.54139 > kira.epconline.net.syslog: udp 101
12:23:24.629645 gw.54139 > kira.epconline.net.syslog: udp 123
12:23:38.321355 gw.54139 > kira.epconline.net.syslog: udp 101
12:23:39.349425 gw.54139 > kira.epconline.net.syslog: udp 123
12:23:43.137243 gw.54139 > kira.epconline.net.syslog: udp 125
12:24:06.577077 gw.54139 > kira.epconline.net.syslog: udp 103
12:24:06.577266 gw.54139 > kira.epconline.net.syslog: udp 125

Cisco config...
!
logging 207.206.185.2

gw(config)#logging facility local7

I did notice though while I was messing around with this stuff, this was
logged on one of my ssh sessions...

kira(416):[/etc]-#Mar 8 12:48:39.517 radiusd[6916]
/usr/local/sbin/radiusd:users testing and DEFAULT not found
Mar 8 12:48:39.519 radiusd[6916] Authenticate: gw1645, id=54: Neither User
Nor Default Name: testing

This is the logging information from the router which should be going to a
file in /var/log

I grep'd for radiusd from /var/log/* and go no results.

Does anyone have any ideas? Any suggestions? I really need to get my Cisco
logging working.

Thanks,
Chuck Rock
Internet Services Manager
EPC, Inc.
http://www.epcusa.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsu

Syslog problem

2003-03-08 Thread Chuck Rock
For the last few versions of FreeBSD, I have not been able to get my syslog
to log my dial-up pool from my Cisco router.

I changed the syslog startup flags in rc.conf.

I'm running it now as /usr/sbin/syslogd -a 207.206.185.1/27 -a
209.83.132.1/27

The router is at .1 and configured to send it's logging messages to local7

syslog.conf is configured like this.

*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.*  /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info   /var/log/maillog
lpr.info/var/log/lpd-errs
cron.*  /var/log/cron
local0.*/var/log/local-0
local1.*/var/log/local-1
local2.*/var/log/local-2
local3.*/var/log/local-3
local4.*/var/log/local-4
local5.*/var/log/local-5
local6.*/var/log/local-6
local7.*/var/log/cisco
etc...

None of the syslg files for local facilities gets data.

-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-0
-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-1
-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-2
-rw-rw-r--  1 root  wheel  0 Mar  8 11:43 local-3
-rw-rw-r--  1 root  wheel  0 Mar  8 11:43 local-4
-rw-rw-r--  1 root  wheel  0 Mar  8 11:43 local-5
-rw-rw-r--  1 root  wheel  0 Mar  8 11:45 local-6
-rw-rw-r--  1 root  wheel  0 Mar  8 11:35 cisco

Yet I do see data coming into this machine on the syslog port using tcpdump.

tcpdump -w dumpfile1 -vvv port 514

kira(403):[/var/log]-#tcpdump -r dumpfile1
12:23:05.378296 gw.54139 > kira.epconline.net.syslog: udp 103
12:23:05.378540 gw.54139 > kira.epconline.net.syslog: udp 125
12:23:23.597642 gw.54139 > kira.epconline.net.syslog: udp 101
12:23:24.629645 gw.54139 > kira.epconline.net.syslog: udp 123
12:23:38.321355 gw.54139 > kira.epconline.net.syslog: udp 101
12:23:39.349425 gw.54139 > kira.epconline.net.syslog: udp 123
12:23:43.137243 gw.54139 > kira.epconline.net.syslog: udp 125
12:24:06.577077 gw.54139 > kira.epconline.net.syslog: udp 103
12:24:06.577266 gw.54139 > kira.epconline.net.syslog: udp 125

Cisco config...
!
logging 207.206.185.2

gw(config)#logging facility local7

I did notice though while I was messing around with this stuff, this was
logged on one of my ssh sessions...

kira(416):[/etc]-#Mar 8 12:48:39.517 radiusd[6916]
/usr/local/sbin/radiusd:users testing and DEFAULT not found
Mar 8 12:48:39.519 radiusd[6916] Authenticate: gw1645, id=54: Neither User
Nor Default Name: testing

This is the logging information from the router which should be going to a
file in /var/log

I grep'd for radiusd from /var/log/* and go no results.

Does anyone have any ideas? Any suggestions? I really need to get my Cisco
logging working.

Thanks,
Chuck Rock
Internet Services Manager
EPC, Inc.
http://www.epcusa.com


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


Sending 'security run output' to another email address

2003-03-08 Thread WillyB
Hi folks..

I've got FreeBSD 4.7 running as my router to the net from local systems.

I am wanting the output from 'security run output' to be sent to my isp email 
address.

The problem is that it's sending the mail to me but bouncing because it's 
sending from FBSD.npgcable.com which fails the dns lookup the isp uses.

I tried masqerading as just npgcable.com and that sorta works.. I now get the 
bounced emails to this address.. I aliased root to admin account and admin 
account to my address here.

Is there a way to tell it to NOT use From: [EMAIL PROTECTED] ?  To just 
use From: [EMAIL PROTECTED]

Or maybe another way all together to get it to mail me here on my local net 
from the router with out going through the ISP?

I am useing the advice from the handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html
which is only halfway working.

Thanks for any further advice :)

WillyB


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


Re: "The Complete FreeBSD", second edition: errata and addenda

2003-03-08 Thread W. D.
Hi Greg,

I try these links:
ftp://ftp.lemis.com/pub/cfbsd/errata-1


ftp://ftp.lemis.com/pub/cfbsd/errata-2.ps
ftp://ftp.lemis.com/pub/cfbsd/errata-2.txt
ftp://ftp.lemis.com/pub/cfbsd/errata-2.ascii

ftp://ftp.lemis.com/pub/cfbsd/errata-3.ps
ftp://ftp.lemis.com/pub/cfbsd/errata-3.txt
ftp://ftp.lemis.com/pub/cfbsd/errata-3.ascii

but all I get is an invalid redirection to 192.109.197.82 with
an incrementing port number.

These web links work OK:
http://www.lemis.com/errata-1
http://www.lemis.com/errata-2.html
http://www.lemis.com/errata-3.html

Any idea what the problem is?

Start Here to Find It Fast!© -> http://www.US-Webmasters.com/best-start-page/


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


Re: Intel i810e graphic

2003-03-08 Thread Matt Navarre
On Saturday 08 March 2003 08:52 am, Albertus Magnus wrote:
> On Saturday 08 March 2003 06:33, Miroslaw J. Wiechowski wrote:
> > Hi,
> >
> > After several days of fighting the @!*# Intel i810 chip,
> > I wonder why I had this really BAD LUCK. There are hundreds
> > of various graphic cards but I got the only one that does
> > not work.

> I don't think the system installation program gives *anyone* a working
> configuration.  At least, I've always had to tweak the XF86Config file
> myself.  That being said, the i810 works fine, once it is set up
> properly.
>
> To get you started, here's the relevant section from my XF86Config file:
>
> Section "Device"
>   # from config.new:
> ### Available Driver options are:-
> ### Values: : integer, : float, : "True"/"False",
> ### : "String", : " Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "NoAccel" # []
> #Option "SWcursor"# []
> #Option "ColorKey"# 
> #Option "CacheLines"  # 
> #Option "Dac6Bit" # []
> #Option "DRI" # []
> #Option "NoDDC"   # []
> #Option "XvMCSurfaces"# 
>   ---end insertion 
>   Identifier  "Card0"
>   Driver  "i810"
>   VendorName  "Intel"
>   BoardName   "i810"
>   BusID   "PCI:0:1:0"
> # Option  "NoDDC" "True"
> # Option  "NoInt10" "True"
>   VideoRam8192
> EndSection

Just as a data point my workstation needs the "Option "NoDDC" "True" line to 
work. you also need agp support in the kernel, either compiled in or loaded 
as as module.

ok,
MCN


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


Re: DHCP Server "learning" name servers since server itself is dhcp'd??

2003-03-08 Thread Mikko Työläjärvi
On Sat, 8 Mar 2003, IAccounts wrote:

> > > Alternatively is there a way to dynamically tell BIND to get it's
> > > forwarders list from /etc/resolv.conf?

Here is a shell script snippet that I use on my laptop.  It gets
called from make_resolv_conf() in /etc/dhclient-enter-hooks, where I
make sure not to overwrite /etc/resolv.conf (it always points to
localhost).  Extracting nameserver addresses from resolv.conf is
trivial, though.

A prerequisite is that the "forwarders" clause in named.conf is on a
single line by itself, for example:

  forwarders { 192.168.250.254; };

8<
LOGGER=echo
named_conf=/etc/namedb/named.conf

# Args: one or more nameserver IPs
update_forwarders() {
address_list=
for nameserver in $* ; do
test X$nameserver = X127.0.0.1 && continue  # Stupid server...
address_list="$address_list $nameserver;"
done
address_list="{ $address_list };"
sed_command='/^options/,/^}/s/\([^#\/]*\)forwarders.*/\1forwarders'
sed_command="$sed_command $address_list/"
sed "$sed_command" $named_conf > $named_conf.dhcp
if cmp -s $named_conf $named_conf.dhcp; then :
else
$LOGGER "New DNS servers: $*"
if [ ! -f $named_conf.org ]; then
cp $named_conf $named_conf.org
fi
cp $named_conf.dhcp $named_conf
ndc reload
fi
return 0
}
8<

It is more elegant in perl, but dhclient-enter-hooks is a shellscript,
so it felt easier to just add it there.

  $.02,
  /Mikko


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


Re: Want to be a member of Free BSD

2003-03-08 Thread taxman
On Saturday 08 March 2003 09:11 am, Prashant Sarma wrote:
> Visit the following webpage.
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x29.h
>tml

In fact go up a level and read that entire document. 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions

By the way, Greg, what do you think of automailing that to every person that 
subscribes to -questions?

> ~Prashant

> On Sat, 8 Mar 2003, Md. Mohebullah wrote:
> > Dear Sir,
> > I want to be a member of your free BSD user group. Please suggest me how
> > come I become a member.

This is a mailing list, and joining it is part of being in the FreeBSD 
community.  Another is running and using FreeBSD, and another could be 
considered developing and contributing to it

Also, It is expected on these lists that to get help you have read the 
documentation first.  Try clicking through the main links on the FreeBSD page 
at www.freebsd.org to get a feel for whats what.  Then read the install docs, 
install and start using it for whatever you like.

> >
> > Thanks & regards.

You're welcome,

Tim


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


Re: mysql323-server -- can't connect remotely

2003-03-08 Thread Mark Edwards
Okay, I figured it out.  It had absolutely nothing to do with user 
permissions.  It was, amazingly, tcpwrappers that was causing the 
problem.  I discovered a ton of log entries like the following in my 
Security Output email:

Mar  7 00:22:11 lilbuddy inetd[968]: refused connection from 
192.168.1.1, service auth (tcp)

I edited /etc/hosts.allow and uncommented

ALL : ALL : allow

from the top of it.  Sure enough, mysql connections with a -h specified 
started working!  Now, I couldn't quite figure out why connections 
where being stopped.  The log entries seem to indicate it has something 
to do with auth, but here's the auth line from my /etc/hosts.allow:

auth : ALL : allow

I decided to add the following to /etc/hosts.allow:

mysqld: ALL : allow

That did it.  It works fine now.

Apparently this is normal, as I've now found some websites that mention 
needing to tweak /etc/hosts.allow for mysqld.  I'm amazed that this 
isn't in the mysql manual though.  Ridiculous.  Perhaps this is fairly 
new?

On Friday, March 7, 2003, at 03:18  PM, <[EMAIL PROTECTED]> wrote:

http://www.mysql.com/doc/en/Adding_users.html





I have /usr/ports/databases/mysql323-server installed, and it is up
and  running.  If I do:

mysql -h localhost
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 3.23.55
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

It works fine.  However, if I do:


mysql -h lilbuddy.antsclimbtree.com
ERROR 2013: Lost connection to MySQL server during query

Do you have an entry for 'lilbuddy.antsclimbtree.com' in the user and 
db
 tables in your mysql database?
That's what I get.  lilbuddy.antsclimbtree.com is the hostname of the
server machine, and I'm doing this from that machine.
Any idea what's wrong?  Thanks!

--
Mark Edwards
San Francisco, CA




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




--
Mark Edwards
San Francisco, CA
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: bash not automatically interactive

2003-03-08 Thread Matthew Seaman
On Sat, Mar 08, 2003 at 05:40:20PM +0100, Bas Essers wrote:

> i just installed bash2 from the ports collection and used "chsh" to make it
> my shell. and now when i log in i get bash but it doesn't run in interactive
> mode, only when i start another one with "bash -i", and that's also the only
> way to get bash to read ~/.bashrc. does anyone know what the problem is?
> should i create a different startup script or something? i don't have any
> standard .bashrc, /etc/login or .bash_login files. thanks

That's normal.  When bash(1) is started as a login shell, it reads the
first one out of ~/.bash_profile, ~/.bash_login or ~/.profile it can
find.  Otherwise, for non-login shells it reads ~/.bashrc

If you want ~/.bashrc to be read for all shells, you need to add
something like the following to ~/.bash_login:

if [ -f ${HOME}/.bashrc ] ; then
. ${HOME}/.bashrc
fi

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: 4 Disk Pack

2003-03-08 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Roger Rutz <[EMAIL PROTECTED]> typed:
> I received the 4 disk pack of FreeBSD. I used the #1 CD to install The
> Unix System. However, I do not know how to install the additional
> applications from the remaininf 3 CD's.

To see what's on the disks, insert one into the drive and run
/stand/sysinstall. Select "Configure", then "Packages", then
"CDROM". That will give you a GUI to list and install the packages on
that CD.

Alternatively, insert the CD and do a "mount /cdrom". Then
/cdrom/packages/All has all the packages on the cdrom in it, and you
can pick and choose which ones to install with pkg_add.

  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: Intel i810e graphic

2003-03-08 Thread Albertus Magnus
On Saturday 08 March 2003 06:33, Miroslaw J. Wiechowski wrote:
> Hi,
>
> After several days of fighting the @!*# Intel i810 chip,
> I wonder why I had this really BAD LUCK. There are hundreds
> of various graphic cards but I got the only one that does
> not work.
>
> The system installation program does not give me any
> working configuration. The best I could get was some
> ugly display with standard VGA, configured by XFree86 -configure.
>
> Then, after a lot of incredibly boring tinkering I got
> some kind of 800x600 display, too high and too much to
> the left. The xvidtune was working very bad. Did not
> react to mouse clicking for the most of the time and
> it was impossible to do anything meaningfull.
>
> Did anyone succeed with this Intel i810e chip and 1024x768
> resolution at all?
>
> Regards
> mjw

I don't think the system installation program gives *anyone* a working 
configuration.  At least, I've always had to tweak the XF86Config file 
myself.  That being said, the i810 works fine, once it is set up 
properly.  

To get you started, here's the relevant section from my XF86Config file:

Section "Device"
# from config.new:
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"   # []
#Option "SWcursor"  # []
#Option "ColorKey"  # 
#Option "CacheLines"# 
#Option "Dac6Bit"   # []
#Option "DRI"   # []
#Option "NoDDC" # []
#Option "XvMCSurfaces"  # 
---end insertion 
Identifier  "Card0"
Driver  "i810"
VendorName  "Intel"
BoardName   "i810"
BusID   "PCI:0:1:0"
#   Option  "NoDDC" "True"
#   Option  "NoInt10" "True"
VideoRam8192
EndSection

HTH
Albert



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


Re: FreeBSD (4.5-to-4.7) Binary Upgrade Mishap

2003-03-08 Thread Bob Perry

> > What did I miss?  Does one have to become an "expert" to work with this
OS?
>
> All I have to say is that people tell me that practice makes perfect
> (eventually, with help from these lists of course ;o)
>
> No one can know everything, so it's the frustration and anguish that makes
> success much more enjoyable. (Unless there are corporate mandates with
> superiors breathing down your neck, but that's another story)
>
> Just my $0.02.
>
> Steve>

I've received some valuable technical feedback and support from taxman and
others
(sorry, but I neglected to cc the group) and have decided to take the
opportunity to
try a source rebuild also.  If that doesn't work, then I'll reinstall.  The
key word here is opportunity and this is my opportunity to practice and
learn.

I wanted to focus on web design and web applications, so obviously, when
something like this happens it's easy to get frustrated.  However when a
situation calls for the systems administrator, reality dictates that I have
my systems admin act together.  So, on with the show and stop crying.

Your $0.02 is always welcome.  To a newbie, it's worth a lot more.

Bob



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


bash not automatically interactive

2003-03-08 Thread Bas Essers
hi
i just installed bash2 from the ports collection and used "chsh" to make it
my shell. and now when i log in i get bash but it doesn't run in interactive
mode, only when i start another one with "bash -i", and that's also the only
way to get bash to read ~/.bashrc. does anyone know what the problem is?
should i create a different startup script or something? i don't have any
standard .bashrc, /etc/login or .bash_login files. thanks

bas



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


Error When Upgrading cvsup-without-gui 16.1f

2003-03-08 Thread Drew Tomlinson
I attempted to use portupgrade to replace cvsup-without-gui 16.1f with 16.1g
but got the following error:

===>   cvsup-without-gui-16.1g depends on file:
/usr/local/lib/m3/pkg/tcp/FreeBSD4/libm3tcp.a - found
===>  Building for cvsup-without-gui-16.1g
mkdir FreeBSD4
--- building in FreeBSD4 ---
===> suptcp
m3build -DNOGUI
mkdir FreeBSD4
--- building in FreeBSD4 ---
new source -> compiling ../src/common/SupConnFD.i3
new source -> compiling ../src/common/SupTCP.i3
new source -> compiling ../src/POSIX/SupTCPPosix.i3
new source -> compiling ../src/POSIX/SupTCPHack.i3
new source -> compiling ../src/POSIX/SockOpt.i3
new source -> compiling ../src/common/StreamRd.i3
new source -> compiling ../src/common/StreamRdClass.i3
new source -> compiling ../src/common/StreamWr.i3
new source -> compiling ../src/common/StreamWrClass.i3
new source -> compiling ../src/common/TCPMisc.i3
new source -> compiling ../src/common/SupConnRW.i3
new source -> compiling ../src/POSIX/SupTCP.m3
new source -> compiling ../src/POSIX/SupTCPHackNull.m3
new source -> compiling ../src/POSIX/SockOptOther.m3
new source -> compiling ../src/common/StreamRdClass.m3
new source -> compiling ../src/common/StreamWrClass.m3
new source -> compiling ../src/common/SupConnRW.m3
compilation failed => not building library "libsuptcp.a"

m3build: quake error:
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui/work/cvsup-snap-16.1g/suptcp.
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui/work/cvsup-snap-16.1g.
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui/work/cvsup-snap-16.1g.
*** Error code 1

Stop in /usr/ports/net/cvsup-without-gui.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade65135.0
make
** Fix the problem and try again.

I searched Google but didn't find any relevant info.  Can someone tell me
how to fix this or point me to relevant info?

Thanks,

Drew


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


4 Disk Pack

2003-03-08 Thread Roger Rutz
I received the 4 disk pack of FreeBSD. I used the #1 CD to install The
Unix System. However, I do not know how to install the additional
applications from the remaininf 3 CD's.

Home E-mail:
[EMAIL PROTECTED] 


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


Re: leafnode

2003-03-08 Thread Scott A. Moberly

> On Fri, Mar 07, 2003 at 11:55:23PM -0800, Kris Kennaway wrote:
>>
>> Post your inetd.conf.
>
> nntp  stream  tcp  nowait  usenet
   news   (Unless you have added
usenet user)

>  /usr/libexec/tcpd

Not necessary tcp wrappers are built in

> /usr/local/sbin/leafnode

So:

nntp  stream  tcp  nowait  news /usr/local/sbin/leafnode leafnode

And make sure the spool directory is owned by news.

-- 
Scott A. Moberly
[EMAIL PROTECTED]

A bore is someone who persists in holding his own views after we have
enlightened him with ours.




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


Re: leafnode

2003-03-08 Thread Kirk Strauser
At 2003-03-08T03:48:44Z, Nicholas Wieland <[EMAIL PROTECTED]> writes:

> I've modified inetd.conf as explained in INSTALL and configured the
> server, inetd is running...

Did you restart inetd after changing inetd.conf?  I usually `killall -HUP inetd'
to make it reload.

Have you looked in /etc/hosts.allow to verify that service `leafnode' can be
accessed?
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: FreeBSD (4.5-to-4.7) Binary Upgrade Mishap

2003-03-08 Thread IAccounts
> What did I miss?  Does one have to become an "expert" to work with this OS?

All I have to say is that people tell me that practice makes perfect
(eventually, with help from these lists of course ;o)

No one can know everything, so it's the frustration and anguish that makes
success much more enjoyable. (Unless there are corporate mandates with
superiors breathing down your neck, but that's another story)

Just my $0.02.

Steve


>
> BTW, I did back up my 4.5 system before attempting the upgrade.
>
> Thanks.
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


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


Re: DHCP Server "learning" name servers since server itself isdhcp'd??

2003-03-08 Thread IAccounts
> > Alternatively is there a way to dynamically tell BIND to get it's
> > forwarders list from /etc/resolv.conf?
>
> This could be done pretty much the same way.  I thought I'd done it on
> my system, but as I look at named.conf, I don't seem to have ever
> finished the shell script to auto-generate the named.conf file.
> Bind 8 doesn't have a sufficiently powerful include mechanism to do
> this neatly.

I would be very interested in helping (or starting) some development for
this purpose. I already have created a perl script for generating zone
files and updating serial numbers, but give me until the beginning of the
workweek, and I can do this.

Very interesting concept that I would happily put forth time to develop.
Mail me off list with any other details that you would like considered.

My personal email is steve*at*northnetworks.ca

Steve

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


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


Dell Latitude C600 and Sound Recording - help!

2003-03-08 Thread s . phillips

A question for the gurus, or anyone with an idea on how to fix this... :)

I have just installed FreeBSD 4.8-RC1 (ISO from ftp.au.freebsd.org) on
my Dell Latitude C600 laptop a few days ago.  Everything works perfectly
except sound recording (playback is fine).  The sound hardware in the laptop
is OK, as I've tried it with Windows and Linux under which both recording 
and playback are OK.  I've checked and doublechecked mixer volumes, and
tried a variety of different sound recording software. 

The symptoms of the problem are as follows - I can plug a microphone in and
turn up the mixer volume to the Mic, and set the recording source to the Mic,
which causes the sound from my microphone to be echoed back onto the output
channel.  (So sound mixing is OK).  But in all cases but one if I try to make 
a recording I get silence - the remaining case being rawrec, which just locks
and requires a kill -9 to terminate.  The programs I have tried are:

- wavrec (from wavplay)
- wmrecord
- xwave
- glame
- gnomemeeting (the actual main reason why I want recording to work, BTW)
- rawrec (as mentioned above)

Dmesg output follows:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RC1 #0: Mon Mar  3 01:01:33 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel Pentium III (751.71-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383f9ff
real memory  = 134066176 (130924K bytes)
config> di sio1
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di fdc0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> en ata1
config> po ata1 0x170
config> ir ata1 15
config> f ata1 0
config> q
avail memory = 125231104 (122296K bytes)
Preloaded elf kernel "kernel" at 0xc051c000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc051c09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fbd70
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
agp0:  mem 0xf400-0xf7ff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 11
pcic0:  irq 11 at device 3.0 on pci0
pcic0: PCI Memory allocated: 0x8800
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pccard0:  on pcic0
pcic1:  irq 11 at device 3.1 on pci0
pcic1: PCI Memory allocated: 0x88001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pccard1:  on pcic1
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0x860-0x86f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port 0xdce0-0xdcff irq 11 at device 
7.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip0:  port 0x840-0x84f at device 7.3 on 
pci0
pci0:  (vendor=0x125d, dev=0x1998) at 8.0 irq 5
orm0:  at iomem 0xc-0xc on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
pccard: card inserted, slot 0
pccard: card removed, slot 0
ad0: 9590MB  [19485/16/63] at ata0-master UDMA33
acd0: CDROM  at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
pccard: card inserted, slot 0
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, 
default to deny, logging disabled
xe0 at port 0x2e8-0x2ef iomem 0xd-0xd0fff irq 11 slot 0 on pccard0
xe0: Xircom CEM56, bonding version 0x55, 100Mbps capable, with modem
xe0: DingoID = 0x444b, RevisionID = 0x1, VendorID = 0
xe0: Ethernet address 00:10:a4:f0:25:62
module_register: module pccard/xe already exists!
linker_file_sysinit "if_xe.ko" failed to register! 17
xe0: watchdog timeout; resetting card
pcm0:  port 0xd800-0xd8ff mem 0xf3ffe000-0xf3ff irq 5 at 
device 8.0 on pci0
pcm0: 
cd9660: Joliet Extension (Level 3)

I've spent hours playing with this to no avail.  If anyone can help me here, 
especially if it's just something I'm not quite getting right, that would be 
very much appreciated...


regards,

Simon.


-- 
Simon Phillips, Security Engineer, E-Secure Pty Ltd
Phone: +61 2 9438 3272 Fax: +61 2 9438 4986
PO BOX 375
St Leonards NSW 2065 Australia email: [E

Re: A huge THANK YOU!!!!!

2003-03-08 Thread Bill Moran
[EMAIL PROTECTED] wrote:
Citeren Bill Moran <[EMAIL PROTECTED]>: 
 
scott mcclellan wrote: 

Was there anything about ISO imaging anywhere that I just missed or 
slipped over without actually reading? I didn't notice anything on the 
FreeBSD site or handbook. 
Unfortunately, I think this is one of those things that it's just 
_assumed_ that everybody knows.  I've never seen a good explanation, 
anywhere of what an iso is and how it should be handled. 
If you mean making your own iso image then have a look at "Making 
Customized Bootable FreeBSD CD/Floppies". As to buring it. I use the 
same approce as the author of this. I use a Windows computer. :o 
That's my point.  If you want to know how to create your own CDs and
build bootable CDs and things like that, there are articles everywhere.
However, if you're _very_ new and just want to burn an iso that you've
downloaded, there's no basic introduction to what you're doing and how
to go about it.
I need to do some writing.

--
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: Can't open /dev/fd0.720: Permission denied

2003-03-08 Thread robert t g tan
ls  -l /dev/fd0.720
crw-r-  2 root  operator9,   7 Feb 12 14:30 /dev/fd0.720

uname -r
4.7-RELEASE-p4

User is root.

On 07/03/03 22:42 +, Lee Harr wrote:
> >Im having problems accessing my floppy.
> >E.g. when using mtools Im getting the following
> >message:
> >
> >   Can't open /dv/fd0.720: Permission denied
> 
> 
> I assume this is a typo, and the correct message is the
> one from the subject:
> Can't open /dev/fd0.720: Permission denied
> 
> What are the permissions on /dev/fd0.720 ?
> 
> ls -l /dev/fd0.720
> 
> I believe the default is
> crw-r-  2 root  operator9,   7 Jul  5  2002 /dev/fd0.720
> 
> which user is using mtools?
> which version of FreeBSD are you using?
> 
> 
> >   Cannot initialize 'A:'
> >
> >
> >Also at boot I don't see any fd devices getting
> >detected.
> >This is my kernel config:
> >
> >   device  fdc0at isa? port IO_FD1 irq 9 drq 2
> >   device  fd0 at fdc0 drive 0
> >
> 
> 
> I would expect something more like
> "device not configured"
> if that were the problem.
> 
> 
> 
> _
> Protect your PC - get McAfee.com VirusScan Online 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Robert 

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


Re: Sendmail config file

2003-03-08 Thread Peter Wu
IAccounts <[EMAIL PROTECTED]> writes:

> This same question was asked yesterday (I think), but I accidently deleted
> the thread, and it hasnt hit the archives yet.
>
> I have upgraded from 4.3 to 4.8, and a telnet to sendmail states
> 8.12.8/8.11.3.
>
> Someone had responded on how to upgrade just the .cf to reflect the new
> binary version. Could someone please either post the response, or send it
> to me personally?

As root:

   # cd /etc/mail   
   # make cf
   # make install
   # make restart

Hope this helps.

-- 
Peter Wu
Powered by FreeBSD 4.8-RC

This posting is provided "AS IS" with no warranties, and confers no rights.

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


Re: Want to be a member of Free BSD

2003-03-08 Thread Prashant Sarma

Visit the following webpage.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x29.html

~Prashant

On Sat, 8 Mar 2003, Md. Mohebullah wrote:

> Dear Sir,
>
> I want to be a member of your free BSD user group. Please suggest me how
> come I become a member.
>
> Your nice co-operation will highly appreciated.
>
> Thanks & regards.
>
> Md. Mohebullah
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


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


Want to be a member of Free BSD

2003-03-08 Thread Md. Mohebullah
Dear Sir,

I want to be a member of your free BSD user group. Please suggest me how 
come I become a member.

Your nice co-operation will highly appreciated.

Thanks & regards.

Md. Mohebullah

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Intel i810e graphic

2003-03-08 Thread akruijff
Citeren "Miroslaw J. Wiechowski" <[EMAIL PROTECTED]>: 
 
> Hi, 
>  
> After several days of fighting the @!*# Intel i810 chip, 
> I wonder why I had this really BAD LUCK. There are hundreds  
> of various graphic cards but I got the only one that does 
> not work. 
>  
> Regards 
> mjw 
 
I don't now if you read the X chapter of the handbook 
(www.freebsd.org/handbook), but there is a special section for the 
i810 chip. You need to enable something in the kernel or the loader or 
something. 
 
Alex 

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


Re: A huge THANK YOU!!!!!

2003-03-08 Thread akruijff
Citeren Bill Moran <[EMAIL PROTECTED]>: 
 
> scott mcclellan wrote: 
> > Was there anything about ISO imaging anywhere that I just missed 
> or 
> > slipped over without actually reading? I didn't notice anything on 
> the 
> > FreeBSD site or handbook. 
>  
> Unfortunately, I think this is one of those things that it's just 
> _assumed_ that everybody knows.  I've never seen a good 
> explanation, 
> anywhere of what an iso is and how it should be handled. 
 
If you mean making your own iso image then have a look at "Making 
Customized Bootable FreeBSD CD/Floppies". As to buring it. I use the 
same approce as the author of this. I use a Windows computer. :o 
 
Alex 

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


Intel i810e graphic

2003-03-08 Thread Miroslaw J. Wiechowski
Hi,

After several days of fighting the @!*# Intel i810 chip,
I wonder why I had this really BAD LUCK. There are hundreds 
of various graphic cards but I got the only one that does
not work.

The system installation program does not give me any
working configuration. The best I could get was some
ugly display with standard VGA, configured by XFree86 -configure.

Then, after a lot of incredibly boring tinkering I got
some kind of 800x600 display, too high and too much to
the left. The xvidtune was working very bad. Did not
react to mouse clicking for the most of the time and
it was impossible to do anything meaningfull.

Did anyone succeed with this Intel i810e chip and 1024x768 
resolution at all?

Regards
mjw



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


undefined reference to 'pthread_detach'

2003-03-08 Thread Aaron Walker
I was writing a little test threads program, and when I try to compile I
get this:

$gcc -o mttest mttest.c -lpthread
/tmp/cco18ppz.o: In function `thread_func':
/tmp/cco18ppz.o(.text+0xd2): undefined reference to `pthread_detach'

I don't understand why I am getting this since pthread.h is included and
I am including the library when compiling.  the code is below.. any one
have any ideas?

here is the code:
#include 
#include 
#include 
#include 

#define _REENTRANT
#define _POSIX_SOURCE

void * thread_func(void *);

int main(int argc, char **argv)
{
  int i, r, n, nthreads;
  pthread_t t;

  if(argc != 2) {
fprintf(stderr, "argc != 2\n");
exit(1);
  }

  n = atoi(argv[1]);
  nthreads = 0;

  for(i=0;i

slice extends beyond end of disk error on install

2003-03-08 Thread W. J. Williams
I keep getting the following error when trying to install FreeBSD 4.7



ad0: 9773MB  [19857/16/63] at ata0-master UDMA 33
Mounting root from ufs:/dev/md0c
md0s4: slice extends beyond end of disk: truncating from 5 to 8640
sectors
.

after this message the system just hangs.

I have low-level formatted the disk twice now, but still the same error.

Does anyone know what I am doing wrong?

Will

=
Will Williams

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


Re: Problem to mount an ext3 partition

2003-03-08 Thread Mica Telodico
 --- Fernando Gleiser <[EMAIL PROTECTED]> ha
scritto: > On Fri, 7 Mar 2003, Mica Telodico wrote:
> 
> >  --- Simon Barner <[EMAIL PROTECTED]> ha scritto: >
> >
> >
> > I've controlled yet , the partition is the right
> > partition. I've controlled in /stand/sysinstall in
> the
> > partiotion utility , an it mark the "ad0s2"
> partition
> > as an ext2fs partition. I don't know what to do
> :cry:
> > I need those datas , and I don't know how to reach
> > them. I've tried to do "fsck_ext2fs /dev/ad0s2"
> and it
> > says "BAD SUPERBLOCK: MAGIC NUMBER WRONG" I've
> added
> > the line "options EXT2FS" to my kernel
> configuration
> > and than I've recompiled , It must work, why it
> > doesn't work? Problems of Freebsd 5X  and Ext
> > filesystems??
> >
> 
> It should work. how was the ext3 partition called on
> linux? There are
> some tools which you can use to convert from ext2 to
> ext3 and back.
> Take a look at the tune2fs man page on a linux box.
> 
> 
>   Fer
> 
> >
> >
> >
>
__
> > Yahoo! Cellulari: loghi, suonerie, picture message
> per il tuo telefonino
> >
>
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> 
> > with "unsubscribe freebsd-questions" in the body
> of the message
> >
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of
> the message 



Hi, thank you all for yours answers , I've solved, the
problem was that the file system wasn't completly
clean, I've run fsck from my debian Installation disk
and after that the FS have mounted correctly :-)

Thanks again

Bye

__
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

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


Re: leafnode

2003-03-08 Thread Nicholas Wieland
On Fri, Mar 07, 2003 at 11:55:23PM -0800, Kris Kennaway wrote:
> 
> Post your inetd.conf.

nntp  stream  tcp  nowait  usenet  /usr/libexec/tcpd  /usr/local/sbin/leafnode

Thank you
Nicholas

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


Re: Port 3306 <-- Solved!! Thanks

2003-03-08 Thread keith
Yeah fair comment Ricardo
Thanks


> Hi Keith,
>
> Since you are on the matter, I would also recommend using your firewall
> to  stop unwanted requests to that port. For example, try instead of
> any,  allowing your webserver (in case of webdriven websites) and only
> servers that  need to have access to your database. You don't need
> anyone trying to play  around with your database. :)
>
> Cheers
> Ricardo
>
> On Thursday 06 March 2003 07:30 pm, [EMAIL PROTECTED] wrote:
>> > - Original Message -
>> > From: <[EMAIL PROTECTED]>
>> > To: <[EMAIL PROTECTED]>
>> > Sent: Thursday, March 06, 2003 7:12 PM
>> >
>> >
>> >> Hi all,
>> >> I have "Found" a rule in my ipf firewall rules file.
>> >> it allows in my agetway machine running webmin
>> >>etc etc. to port 3306 from > any.
>> >>
>> >> Now I may well have added this rule but I didn't
>> >>comment it (Not like me!) Any clues as to what
>> >>that port is for? Services file has no listing.
>> >>
>> >> Thanks
>> >> Keith Spencer
>> >>
>> >
>> > IIRC, that's MySQL.
>> >
>> > Kevin Kinsey
>> > DaleCo, S.P.
>> >
>> >
>> >
>> > To Unsubscribe: send mail to [EMAIL PROTECTED]
>> > with "unsubscribe freebsd-questions" in the body of the message
>>
>>
>>
>>
>> To Unsubscribe: send mail to [EMAIL PROTECTED]
>> with "unsubscribe freebsd-questions" in the body of the message
>>
>>
>
> --
> Ricardo Oliva
> Labs Systems Administrator
> UBC - Zoology Department
> Ph.: 604-822-3882
> E-mail: [EMAIL PROTECTED]




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