The FreeBSD Diary: 2003-05-18 - 2003-06-07

2003-06-08 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  
and/or The FreeBSD Diary . 

These are the articles posted during this period:

21-May : Postfix - virtual domains (part II)
 A bit more detail on the options
 http://freebsddiary.org/postfix-virtual-domains.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

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


Re: error on gdm2 build

2003-06-08 Thread David Banning
> > The error below seems to start with;
> >
> > /usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_BDF_Property'
> >
> > I have tried to reinstall libfontconfig, but it makes no difference.
> 
> Try a portupgrade -rf freetype2.  That will take a _long_ time, but it
> will force you to rebuild all the font and X and GNOME related ports.
> Something, somewhere, is out-of-date, and this should take care of it.
 
Nope. That command gives me the same error. I also tried a;

portupgrade -f -P -R fontconfig

to hopefully reinstall everything that libfontconfig relies on.
I get the same error if I attempt to install fontconfig from the ports,
but I _can_ install it fine as a package. Either way, I _still_ get the
same error on building gdm2. I updated my ports, but that brought no change
either.

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


Re: Newbie question

2003-06-08 Thread David Banning
On Sat, Jun 07, 2003 at 09:28:06PM -0500, Brent E. Waldrep wrote:
> First thing, I know very little about Free BSD and Unix and Lunix
> 
> I have just got a server off Ebay, and would like to install Free BSD on it.
> However, I'm getting stuck on the very first step, The bootable floppy disk.
> 
> I have downloaded both mfsroot.flp and kern.flp, svaed them on a machine
> using win95. From there I go into MSDOS and at the c:\windows prompt type in
> fdimage kern.flp a: and is says bad command.

In my opinion, it is a lot easier to install for newbies if you use
the cdroms. You can download and burn copies yourself or buy some.

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


l27

2003-06-08 Thread Amalia Lafuente
moU3
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Timestamp weirdness in apache and sendmail in FBSD 4.6-stable

2003-06-08 Thread Scott Crain
The gist of the problem is that in some heavy use applications, I see 
timestamps swap between GMT time and the local CST(CDT) time in the 
logs, mainly. This is really pretty nasty when you're trying to do 
decent web stats, as it throws the time calculations out of whack, and 
ends up making you use 6-8 hours of logs each time.

Any idea what would cause this? It's a pretty heavily worked machine, 
running a loaded down mysql server along with a huge stack of web 
traffic, and a pretty small mail load in comparison.

While the examples show the timezones alternating one-to-one, it's not 
this way in practice. it's more an occasional thing that happens. these 
ARE however consecutive logged lines.

Here's some log excerpts to show what it's doing:

apache: note the -0500 and + swapping.

149.houston-10rh16rt.tx.dial-access.att.net - - [19/May/2003:01:04:02 
-0500] "GE
T /parts/pix-dark.gif HTTP/1.1" 304 - 
"http://www.megatokyo.com/index.php?strip_
id=362" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 95; AT&T CSM6.0)"

12-231-92-251.client.attbi.com - - [19/May/2003:06:04:02 +] "GET 
/parts/mt2-
head-top.gif HTTP/1.1" 304 - 
"http://www.megatokyo.com/index.php?strip_id=400"; "
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 
1.0.3705)"

12-231-92-251.client.attbi.com - - [19/May/2003:01:04:02 -0500] "GET 
/parts/spac
er.gif HTTP/1.1" 304 - "http://www.megatokyo.com/index.php?strip_id=400"; 
"Mozill
a/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705)"

host-66-81-242-125.rev.o1.com - - [19/May/2003:06:04:02 +] "GET 
/index.php?s
trip_id=198 HTTP/1.1" 200 50889 
"http://www.megatokyo.com/index.php?strip_id=197
" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"

---

sendmail: in this case, it's sm-mta logging one timestamp, and sendmail 
logging the other... that I think I can work out. =) just had to paste 
it into another window to see it. I'll leave the excerpt here, though.

Jun  8 00:00:47 Makoto sm-mta[29137]: ruleset=check_relay, 
arg1=12-206-108-189.c
lient.attbi.com, arg2=12.206.108.189, 
relay=12-206-108-189.client.attbi.com [12.
206.108.189], reject=550 5.7.1 Mail from  12.206.108.189 rejected. See 
http://sp
amcop.net/bl.shtml?12.206.108.189

Jun  8 05:04:20 Makoto sendmail[29232]: h5854FZI029232: from=www, 
size=1127, cla
ss=0, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>, relay=
[EMAIL PROTECTED]

Jun  8 00:04:25 Makoto sm-mta[29234]: h5854K6u029234: 
from=<[EMAIL PROTECTED]
.Com>, size=1319, class=0, nrcpts=1, 
msgid=<[EMAIL PROTECTED]
egatokyo.Com>, proto=ESMTP, daemon=MTA, [EMAIL PROTECTED] [127.0.0.1]

Jun  8 05:04:25 Makoto sendmail[29232]: h5854FZI029232: 
[EMAIL PROTECTED]
, ctladdr=www (80/80), delay=00:00:10, xdelay=00:00:05, mailer=relay, 
pri=30192,
relay=localhost.my.domain. [127.0.0.1], dsn=2.0.0, stat=Sent 
(h5854K6u029234 Me
ssage accepted for delivery)



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


no mail

2003-06-08 Thread Doron Shmaryahu
Hi,

my messages keep getting rejected from freebsd mailing list with the details below:

The original message was received at Sun, 8 Jun 2003 10:46:46 +0200 (SAST) from [EMAIL 
PROTECTED]

   - The following addresses had permanent fatal errors - [EMAIL PROTECTED]
(reason: 550 Error: Message content rejected)

   - Transcript of session follows -
... while talking to mx1.freebsd.org.:
>>> DATA
<<< 550 Error: Message content rejected
554 5.0.0 Service unavailable


could anyone explain this to me ??

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


Re: no mail

2003-06-08 Thread K Anderson


Doron Shmaryahu wrote:
Hi,

my messages keep getting rejected from freebsd mailing list with the details below:

The original message was received at Sun, 8 Jun 2003 10:46:46 +0200 (SAST) from [EMAIL PROTECTED]

   - The following addresses had permanent fatal errors - [EMAIL PROTECTED]
(reason: 550 Error: Message content rejected)
   - Transcript of session follows -
... while talking to mx1.freebsd.org.:
DATA

<<< 550 Error: Message content rejected
554 5.0.0 Service unavailable
could anyone explain this to me ??

[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Hmmm, I get these some times from my regular ISP at certain times of the 
day. What it means is the service is unavailable. It could be anything. 
A down email server, a down news server or a busy news or mail server.

You can confirm this the next time it happens by telnetting to the email 
server in question and manually trying to send an email to it.

HTH

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


4.8 to 5.0

2003-06-08 Thread Doron Shmaryahu
Hi,

 

I have been considering upgrading my machine from 4.8 – 5.0. Is it a easy buildworld 
or can anyone give me advice on any problems before upgrading.

 

Thanks

 

Doron Shmaryahu

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


Re: undo a rm -rf

2003-06-08 Thread Antoine Jacoutot

> I just did a rm -rf and forgot the *.png portion that I wanted on it, lol,
2 years of using freebsd and I've never done anything this stupid.  Is there
a way to get my data back? Please respond to this email address.

Yes, wel I did this stupid thing to like a month ago or so.
I did get back a lot of files using a software called "The Coroner Toolkit".
You need plenty of space and time but it works for most of the files.
I don't remember the URL, but make a search on Google and you'll find the
software page.

Antoine


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


GRUB 0.92 on FreeBSD 5.x

2003-06-08 Thread leon j. breedt
hi,

is it a new feature of 5.x disallowing direct writes to the device nodes
/dev/ad*?

getting weird behaviour trying to use the GRUB 0.92 port on all versions
of 5.x i've used so far (currently on 5.1-RELEASE).

the problem being that i can't see any disks in the 'grub' shell. the
'device' command works, and then a subsequent command like 'root' still
fails with "No such disk".

i've tracked down the problem to a call in the GRUB source where its
trying to open(2) the device node /dev/ad0 with O_RDWR which fails with
EPERM, which causes GRUB to delete the drive from its device map without
any warning, just silent failure.

i am running the 'grub' executable as root though.  

when i patch that section of the source file (asmstub.c, function
get_diskinfo()) to accept EPERM and only open in read-only mode,
suddenly i can see my drives. but obviously anything wanting to modify
the drive, like 'setup', fails.

is my only recourse to install GRUB from floppy when using it from
FreeBSD?

please cc me on replies, i'm not subscribed to -questions.

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


Ghost HD

2003-06-08 Thread FBSD_User
The question of using the Norton Ghost program to make an single
flat
image file of an hard drives partition containing FBSD has been
asked
many times on this list. UP until now the answer has all ways been
that
the benefits of using Ghost on a MS/win partition can not be
achieved
when used on a FBSD slice because the ghost created image file
contains all the unused space as well as the used space.

Jacob S. Barrett had the idea of zeroing out the unused space before
running ghost, so ghost will compress all the zero filled space
resulting in an image file size and elapse run time comparable to
what
you would achieve on a MS/win partition. This is a great work
around.



Before running the Ghost program from native booted ms/dos you have
to run this command on FBSD before shutting FBSD down.


dd if=/dev/zero of=filler bs=1m ; rm filler


Below is the original thread



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Dan
Nelson
> Sent: Friday, October 04, 2002 10:33 AM
> To: Jacob S. Barrett
> Cc: [EMAIL PROTECTED]
> Subject: Re: Block Zeroing Tool
>
> In the last episode (Oct 04), Jacob S. Barrett said:
>
>>Is there a tool for FreeBSD that zeros the unallocated blocks on a
>>filesystem?
>>
>>The company I work for has an image on demand system for our lab
>>machines.  This system relies on ghost which only supports file by
>>file imaging on certain file systems.  I want to take disk images
of
>>certain FreeBSD installations.  Ghost will only take sector by
sector
>>images of FreeBSD partitions.  Since it is doing this it stores
all
>>the "junk" unused blocks as well.  This makes for a very large
image
>>even with high compression.  If I can zero out the unused blocks
>>before taking the image with high compression the image size
should
>>be much smaller.
>>
>>So, is there utility to zero out those blocks?  Does this make
sense?
>>Is there a better way to take images of FreeBSD machines?

>
>
> dd if=/dev/zero of=filler bs=1m ; rm filler
>
>
>
> I also have tried to use ghost to make image backups of FBSD,
> but the image is the same size as the FBSD slice.
> Have you tested the solution posted above to zero out the unused
> disk space in the FBSD slice so ghost will only image bkup real
data?
> Did it work like you hoped?
>

Yes I have tested it,  and it works great.  Be sure to turn
compression
on to high to get the best results.  Here is what I saw after
zeroing
the unallocated blocks using the dd command.

FreeBSD partition size: 11G
Allocated space: 6G
Ghost image size: 3.4G

Before zeroing out the images on this box were between 8-9G.
Needless
to say our IT guy is much happier that my box isn't chewing up 9G
per
image on the system anymore.  And I am happy that imaging this
machine
only takes an hour now rather than 4.

-Jake

--
Jacob S. Barrett
[EMAIL PROTECTED]
www.amduat.net

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


[FBSD5] es1373 - Creative PCI : recognized, but no audio output atall

2003-06-08 Thread Matthieu Bonavita
This is not my first problem about soundcards under BSD.
I was using a SB16 Vibra ISA , and I found a more recent PCI es1373 (Ensoniq , SB128). 
I hoped real PCI PnP would help me. 

This time, listening to MP3/sound videos doesnt slow dramatically down my computer, 
but I just don't get any output at all. (nor CD audio)

I followed the handbook (device pcm) in kernel.

> cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0xdc00 irq 11 (1p/1r/0v channels duplex default)

In dmesg :
pcm0:  port 0xdc00-0xdc3f irq 11 at device 14.0 on pci0

Anyone has a clue ? 
The soundcard worked well 2 years ago, no reason it would be dead.
I tested inverting the CD Audio cable, unsuccessfully.

That is (probably) my latest big problem with FreeBSD (I run 5-RELEASE)

Thanks.


Matthieu Bonavita
GPG Key : http://membres.lycos.fr/almacinnis/pubkey.asc
Running on : FreeBSD 5.0-RELEASE-p7 i386
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mount additional hard drive (ufs)

2003-06-08 Thread Martin Schweizer
Hello

I installed a second hard drive (ufs) and mount it (like described in the 
handbook) but if I reboot it isn't anymore mounted? After a reboot I have to 
re-mount the second hard drive again and all works fine. What do I forget?

-- 

Regards

Martin Schweizer
<[EMAIL PROTECTED]>

PC-Service M. Schweizer; Gewerbehaus Schwarz; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;



pgp0.pgp
Description: PGP signature


Re: Mount additional hard drive (ufs)

2003-06-08 Thread Jack L. Stone
At 05:48 PM 6.8.2003 +0200, Martin Schweizer wrote:
>Hello
>
>I installed a second hard drive (ufs) and mount it (like described in the 
>handbook) but if I reboot it isn't anymore mounted? After a reboot I have to 
>re-mount the second hard drive again and all works fine. What do I forget?
>
>-- 
>
>Regards
>
>Martin Schweizer

Put the mount point in /etc/fstab

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB Flash Memory Drives support under FreeBSD

2003-06-08 Thread Vladik Kozin
Are such devices as for instance, IBM MagicKey, PQI Intelligent Stick, 
USBdrive, ThumbDrive and other USB Flash Memory Drives, supported by FreeBSD. 
I know most of them are supported by Linux, so one doesn't have to install 
any drivers before use. 
I've checked Hardware Notes for both 4.8 and 5.0 Releases - nothing 
approprate :(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mount additional hard drive (ufs)

2003-06-08 Thread Michael E. Mercer
On Sun, 2003-06-08 at 11:48, Martin Schweizer wrote:
> Hello
> 
> I installed a second hard drive (ufs) and mount it (like described in the 
> handbook) but if I reboot it isn't anymore mounted? After a reboot I have to 
> re-mount the second hard drive again and all works fine. What do I forget?

add an entry to /etc/fstab


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


ipfw / dummynet using a timing mechanism?

2003-06-08 Thread Thomas S. Crum
Hello List,

I am running dummynet on freebsd to limit bandwidth.  I was wondering if
there is a way to set up dummynet, presumably with ipfw, that would
allow something of a rate fallback based on seconds.  For example, user
A begins a download and is piped at 10mb/s through dummynet.  After 5
seconds if that connection is still active it would be sent to a
different pipe, say at 5mb/s.  After another period of time it would be
sent to yet another slower pipe, and so on.  Any thoughts, configs,
answers are appreciated. Tom


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


Re: error on gdm2 build

2003-06-08 Thread Joe Marcus Clarke
On Sun, 8 Jun 2003, David Banning wrote:

> > > The error below seems to start with;
> > >
> > > /usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_BDF_Property'
> > >
> > > I have tried to reinstall libfontconfig, but it makes no difference.
> >
> > Try a portupgrade -rf freetype2.  That will take a _long_ time, but it
> > will force you to rebuild all the font and X and GNOME related ports.
> > Something, somewhere, is out-of-date, and this should take care of it.
>
> Nope. That command gives me the same error. I also tried a;
>
> portupgrade -f -P -R fontconfig
>
> to hopefully reinstall everything that libfontconfig relies on.
> I get the same error if I attempt to install fontconfig from the ports,
> but I _can_ install it fine as a package. Either way, I _still_ get the
> same error on building gdm2. I updated my ports, but that brought no change
> either.

Can you send the output of pkg_info?

Joe

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

PGP Key : http://www.marcuscom.com/pgp.asc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB Flash Memory Drives support under FreeBSD

2003-06-08 Thread Scott Mitchell
On Sun, Jun 08, 2003 at 07:48:36PM +0400, Vladik Kozin wrote:
>   Are such devices as for instance, IBM MagicKey, PQI Intelligent Stick,
> USBdrive, ThumbDrive and other USB Flash Memory Drives, supported by
> FreeBSD.  I know most of them are supported by Linux, so one doesn't have
> to install any drivers before use.
>   I've checked Hardware Notes for both 4.8 and 5.0 Releases - nothing
> approprate :(

Hi Vladik,

funnily enough, this has just been discussed over on the -stable list.  The
consensus seems to be that most USB mass storage devices will just work --
especially those that don't need any special drivers on Windows or (better
yet) Linux.  This has certainly been my experience with various memory card
readers and 'pen drives'.

Some devices might need a 'quirk' entry adding to the kernel to cope with
their particular weirdness.  These are pretty easy to add if you don't mind
rebuilding your kernel.

I fully agree that the existing documentation isn't as helpful as it could
be.  I was going to put together some changes to make it clearer what is
actually supported, which you have now reminded me about :-)

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GRUB 0.92 on FreeBSD 5.x

2003-06-08 Thread Joshua Oreman
On Sun, Jun 08, 2003 at 01:59:11PM +0100 or thereabouts, leon j. breedt seemed to 
write:
> hi,
> 
> is it a new feature of 5.x disallowing direct writes to the device nodes
> /dev/ad*?
> 
> getting weird behaviour trying to use the GRUB 0.92 port on all versions
> of 5.x i've used so far (currently on 5.1-RELEASE).
> 
> the problem being that i can't see any disks in the 'grub' shell. the
> 'device' command works, and then a subsequent command like 'root' still
> fails with "No such disk".
> 
> i've tracked down the problem to a call in the GRUB source where its
> trying to open(2) the device node /dev/ad0 with O_RDWR which fails with
> EPERM, which causes GRUB to delete the drive from its device map without
> any warning, just silent failure.
> 
> i am running the 'grub' executable as root though.  
> 
> when i patch that section of the source file (asmstub.c, function
> get_diskinfo()) to accept EPERM and only open in read-only mode,
> suddenly i can see my drives. but obviously anything wanting to modify
> the drive, like 'setup', fails.
> 
> is my only recourse to install GRUB from floppy when using it from
> FreeBSD?

I think so. GEOM makes it impossible to write to disks that are currently
"in use". Best bet is to boot from a floppy.

-- Josh

> 
> please cc me on replies, i'm not subscribed to -questions.
> 
> thanks
> leon
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error on gdm2 build

2003-06-08 Thread David Banning
On Sun, Jun 08, 2003 at 12:05:51PM -0400, Joe Marcus Clarke wrote:
> On Sun, 8 Jun 2003, David Banning wrote:
> 
> > > > The error below seems to start with;
> > > >
> > > > /usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_BDF_Property'
> > > >
> > > > I have tried to reinstall libfontconfig, but it makes no difference.
> > >
> > > Try a portupgrade -rf freetype2.  That will take a _long_ time, but it
> > > will force you to rebuild all the font and X and GNOME related ports.
> > > Something, somewhere, is out-of-date, and this should take care of it.
> >
> > Nope. That command gives me the same error. I also tried a;
> >
> > portupgrade -f -P -R fontconfig
> >
> > to hopefully reinstall everything that libfontconfig relies on.
> > I get the same error if I attempt to install fontconfig from the ports,
> > but I _can_ install it fine as a package. Either way, I _still_ get the
> > same error on building gdm2. I updated my ports, but that brought no change
> > either.
> 
> Can you send the output of pkg_info?

Here it is;

AbiWord-gnome-1.0.3 An open-source, cross-platform WYSIWYG word processor
Hermes-1.3.2Fast\ pixel\ formats\ conversion\ libraryImageMagick-5.5.5   Image 
processing tools (interactive optional--misc/display 
Mesa-3.4.2_1A graphics library similar to SGI's OpenGL
ORBit-0.5.17High-performance\ CORBA\ ORB\ with\ support\ for\ the\ C\ l
ORBit2-2.6.2High-performance CORBA ORB with support for the C language
XFree86-4.3.0,1 X11/XFree86\ core\ distribution\ \(complete,\ using\ mini/m
XFree86-FontServer-4.3.0_1 XFree86-4 font server
XFree86-Server-4.3.0_8 XFree86-4 X server and related programs
XFree86-documents-4.3.0 XFree86-4\ documentationXFree86-font100dpi-4.3.0 XFree86-4\ 
bitmap\ 100\ dpi\ fontsXFree86-font75dpi-4.3.0 XFree86-4\ bitmap\ 75\ dpi\ 
fontsXFree86-fontCyrillic-4.3.0 XFree86-4\ Cyrillic\ 
fontsXFree86-fontDefaultBitmaps-4.3.0 XFree86-4\ default\ bitmap\ 
fontsXFree86-fontEncodings-4.3.0 XFree86-4\ font\ encoding\ 
filesXFree86-fontScalable-4.3.0 XFree86-4\ scalable\ fontsXFree86-libraries-4.3.0_5 
XFree86-4 libraries and headers
Xaw3d-1.5   A 3-D Athena Widget set that looks like Motif
Xft-2.1.2   A client-sided font API for X applications
a2ps-letterdj-4.13_1 Formats an ascii file for printing on a postscript printer
aXe-6.1.2_1 Simple to use text editor for X
aalib-1.4.r5_1  An ascii art library
abook-0.4.17_1  An addressbook program with mutt mail client support
acme-2.0.4  Tool to make multimedia keys work on laptops
acroread4-4.05  View, distribute and print PDF documents
adzapper-0.4.0  A filtering proxy that can block ads from being displayed
aft-5.0793  A document preparation system using an Almost Free Text inp
amaya-4.3.2 The W3C's testbed web editor/browser
antiword-0.33   An application to display Microsoft(tm) Word files
apache+mod_ssl-1.3.27+2.8.14 The Apache 1.3 webserver with SSL/TLS functionality
apel-mule-10.4  A Portable Emacs Library for mule
apsfilter-6.1.1 Magic print filter with auto file type recognition and dupl
archivemail-0.6.1   Search mailbox files and archive or delete mail older than 
aspell-0.50.3_1 Spelling\ checker\ with\ better\ suggestion\ logic\ than\ i
at-spi-1.1.8An\ Assistive\ Technology\ Service\ Provider\ Interfaceatk-1.2.2   
A GNOME accessibility toolkit (ATK)
autoconf-2.53_1 Automatically configure source code on many Un*x platforms
autoconf213-2.13.000227_5 Automatically configure source code on many Un*x platforms 
avifile-0.7.34.20030319,2 AVI\ player/converter\ with\ numerous\ codecs,\ including\ 
biew-5.3.2  Binary vIEWer + editor for binary, hexadecimal and dis-asm 
bison-1.75  A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10 Bitstream\ Vera\ TrueType\ font\ collectionbluefish-0.6
HTML editor designed for the experienced web designer
boehm-gc-6.2.a4_2   Garbage\ collection\ and\ memory\ leak\ detection\ for\ C\ 
bonobo-1.0.22   The\ component\ and\ compound\ document\ system\ for\ GNOME
bonobo-activation-2.2.1.1_1,1 An object activation framework for GNOME 2.0
british-ispell-3.1_1 An interactive spelling checker for multiple languages
bugbuddy2-2.2.104   A bug reporting tool for GNOME 2
bzip2-1.0.1 A block-sorting file compressor
cgi-lib-1.4_1   ANSI C Library for CGI Programming
crack-5.0   The "Sensible" Unix Password Cracker
cups-1.1.10.1   The Common UNIX Printing System
cups-base-1.1.18.0_5 The Common UNIX Printing System: headers, libs, & daemons
custom-emacs-1.9962 The Custom Library for emacs
custom-mule-1.9962  The Custom Library for mule
cvsup-without-gui-16.1h General network file distribution system optimized for CVS 
cwtext-0.93 Morse Code Generator
daemontools-0.76_3  "Service monitoring and logging utilities by djb"
db3-3.3.11,1The\ Berkeley\ DB\ package,\ revision\ 3dil

Re: measure energy

2003-06-08 Thread george donnelly
[Kliment Andreev wrote ([EMAIL PROTECTED]) on 6/8/03 12:45 AM]

>> I am getting some weird crashes and i'd like to be able to rule out power
>> loss.
> 
> How many HDDs do you have?

4, 3x36GB SCSI's in a  RAID5 array and 1x80gb IDE

> How many cards are installed?

just 1

> How powerfull is your power supply?

i'm not sure, its a leased server

> If you have AMD and 250W power supply, probably that's
> the reason. Also, check the memory modules but they usually throw sig 11.

would this show up in messages? because i have had the machine go down twice
on one day without anything unusual show up in /var/log/messages


<-->
george donnelly - http://www.zettai.net/ - "We Love Newbies" :)
Zope Hosting - Dynamic Website Design - Search Engine Promotion
Yahoo, AIM: zettainet - MSN: [EMAIL PROTECTED] - ICQ: 51907738

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


Re: any limit to # of RAID cards on a FreeBSD box?

2003-06-08 Thread Chuck Swiger
BSD baby wrote:
If I have 4 PCI slots available on a motherboard,

is there any reason why I couldn't hook up FOUR
3ware IDE RAID cards?  (twe driver)
Will FreeBSD (4.8) be able to address them all, 
or is there some kind of limit?
FreeBSD should be able to address all of the devices, but most Intel hardware 
doesn't have the PCI bus throughput to utilize that many effectively.  Basicly, 
you want a seperate PCI channel for each RAID card if you can get it.

--
-Chuck


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


Re: How do I set up a ssh tunnel between two FreeBSD systems ?

2003-06-08 Thread Jim Mock
On Saturday, June 7, 2003, at 09:36  PM, Josh Brooks wrote:
Hello,
Hi,

I have read the ssh man page and am not getting the results I think I 
should.  some background:

serverA is the client

serverB is running sendmail on port 25

I want to telnet to serverA on port 34 and get a response from the 
sendmail daemon running on serverB.

I tried this:

ssh -L 34:serverB:25 [EMAIL PROTECTED]

^^^ seems to be what the man page instructs me to do ...

But when I run that command, it asks me for a password, and I log into 
serverB just like any other time I ssh there to log in.

So that's that - the above command line does nothing but log me into 
serverB.  If I port scan serverA, nothing is running on port 34.  So 
basically it's a total bust.

I am running this ssh command on serverA as root.

So what am i doing wrong ?
Take a look at http://soupnazi.org/freebsdzine/200104/tunnel.php for an 
article I wrote a few a years ago about this.

- jim

--
jim mock[EMAIL PROTECTED]|opendarwin}.org[EMAIL PROTECTED]|FreeBSD}.org
http://soupnazi.orgeditor-in-chief, BSD Newshttp://bsdnews.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


network installation help (ADSL, HUB, WinXP)

2003-06-08 Thread Kaya Koch
Hi,

I've just installed FreeBSD 5.0 (minimal), here is some info of my system:

1.6GHz P4, 512MB RAM

2 hdd's:

hdd1 : 1 partition = Win XP Pro
hdd2 : 2 "slices", first is FreeBSD, second is FAT32
installation went smoothly, installed Boot Manager ok, can boot into both 
Win XP and FreeBSD without problems

network config:

we have a home LAN, 3 computers (including mine, all with Win XP) connected 
to a hub, and the hub is connected to an ADSL modem. Ie:

INTERNET - ADSL MODEM -- HUB -- COMPUTERS

hub is:

Surecom 8 Port 10/100M Ethernet Mini Switch (EP-808SX)

my ethernet card is:

3Com 3C920 Integrated Fast Ethernet (3C905C-TX Compatible)

ADSL modem is:

Alcatel SpeedTouch Home

with Win XP, the network works fine, each computer can connect to the 
internet without problems. The IP addresses for the computers on the LAN are 
autoconfigured, same goes with the connection to the internet. Connection is 
through WAN Miniport (PPPOE).

okay, so here is where I need some help:

1) Firstly, is it possible to setup freebsd in a similar way to how my XP is 
currently set up, ie. can I connect to the LAN, and access shared 
directories in the other computers?

2) To connect to the internet using XP, I have to create a connection to my 
ISP (iiNet in Australia) and have to execute the "Connect to iiNet" 
shortcut, ie. my computer is not connected to the internet at all times. How 
do I go about setting up a connection to the internet in freebsd? (Is it 
okay to use a hub, instead of connecting directly to the ADSL modem?)

The way I am currently installing new packages to freebsd is : boot XP, 
download packages to FAT32 partition on second hdd, reboot, boot into 
freebsd, mount the FAT32, copy the package over to freebsd, install the 
package. As you can imagine, this takes sooo long...

any help is appreciated,

-Kaya

_
Hotmail is now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/signup.asp

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


Re: 4.8 to 5.0

2003-06-08 Thread Jim Mock
On Sunday, June 8, 2003, at 02:12  AM, Doron Shmaryahu wrote:
Hi,

I have been considering upgrading my machine from 4.8 – 5.0. Is it a 
easy buildworld or can anyone give me advice on any problems before 
upgrading.
You're better off waiting a week or two until 5.1-RELEASE is out.

- jim

--
jim mock[EMAIL PROTECTED]|opendarwin}.org[EMAIL PROTECTED]|FreeBSD}.org
http://soupnazi.orgeditor-in-chief, BSD Newshttp://bsdnews.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: measure energy

2003-06-08 Thread Chuck Swiger
george donnelly wrote:
is there a utility for measuring how much energy is available to the
machine? for example where i can watch, sort of like tail-ing a log and see
how much energy a server is getting, whether its enough etc.
Newer machines support hardware monitoring of voltage levels, fan speeds, etc. 
See whether you can get one of the motherboard monitors running, and see whether 
 the voltage rails from the power supply are sagging out of tolerance when you 
put a heavy load on-- say 10% for most, or going outside of 5% for Vcore.

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


Re: no mail

2003-06-08 Thread Chuck Swiger
Doron Shmaryahu wrote:
[ ... ]
   - Transcript of session follows -
... while talking to mx1.freebsd.org.:
DATA
<<< 550 Error: Message content rejected
554 5.0.0 Service unavailable
could anyone explain this to me ??
Yes; contact <[EMAIL PROTECTED]> and ask them about the problem.  They'll 
probably want to see the Message-ID: or even the entire message with full 
headers to track down the issue.

-Chuck

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


racoon problem with transport mode

2003-06-08 Thread Tobias Roth
Hi

I want to set up an ipsec transport connection between two freebsd
hosts, 192.168.0.1 (host A) and 192.168.0.66 (host B). It seems like
the connection is set up correctly in only one direction:

B# ping -c 1 192.168.0.1

A# setkey -lD
No SAD entries. [a couple of those]
0300 esp L 09d18b19 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
0301 esp L 09d18b19 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
3302eesp L 09d18119 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
0303 esp L 09d18b19 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
0304 esp L 09d18b19 ???/??? #255 1921168.0.66 -> #255 192.168.0.1
No SAD entries. [from now on, only those]

B# setkey -lD
No SAD entries. [again a couple of those]
0255 esp L 051798e8 ???/??? #255 192.168.0.1 -> #255 192.168.0.66
0256 esp L 051798e8 ???/??? #255 192.168.0.1 -> #255 192.168.0.66
0257 esp M 09d18b19   0/big #255 192.168.0.66 -> #255 192.168.0.1
0257 esp M 051798e8   0/big #255 192.168.0.1 -> #255 192.168.0.66
[from now on, the last two lines get repeated]

A# cat racoon.log [only interesting parts]
INFO: isakmp.c:1358:isakmp_open(): 192.168.0.1[500] used as isakmp
  port (fd=5)
INFO: isakmp.c:894:isakmp_ph1begin_r(): respond new phase 1
  negotiation: 192.168.0.1[500]<=>192.168.0.66[500]
INFO: isakmp.c:899:isakmp_ph1begin_r(): begin Aggressive mode.
NOTIFY: oakley.c:2040:oakley_skeyid(): couldn't find the proper
pskey, try to get one by the peer's address.
INFO: isakmp.c:2412:log_ph1established(): ISAKMP-SA established
  192.168.0.1[500]-192.168.0.66[500] spi:591b8a7c82d7c22f:
  2146f0ef2fc89438
INFO: isakmp.c:1049:isakmp_ph2begin_r(): respond new phase 2
  negotiation: 192.168.0.1[0]<=>192.168.0.66[0]
ERROR: pfkey.c:210:pfkey_handler(): pfkey UPDATE failed:
   Invalid argument
ERROR: pfkey.c:210:pfkey_handler(): pfkey ADD failed:
   Invalid argument
ERROR: pfkey.c:741:pfkey_timeover(): 192.168.0.66 give up to get
   IPsec-SA due to time up to wait.

B# cat racoon.log
INFO: isakmp.c:1358:isakmp_open(): 192.168.0.66[500] used as isakmp
  port (fd=5)
INFO: isakmp.c:1684:isakmp_post_acquire(): IPsec-SA request for
  192.168.0.1 queued due to no phase1 found.
INFO: isakmp.c:798:isakmp_ph1begin_i(): initiate new phase 1
  negotiation: 192.168.0.66[500]<=>192.168.0.1[500]
INFO: isakmp.c:803:isakmp_ph1begin_i(): begin Aggressive mode.
INFO: vendorid.c:128:check_vendorid(): received Vendor ID:KAME/racoon
NOTIFY: oakley.c:2040:oakley_skeyid(): couldn't find the proper
pskey, try to get one by the peer's address.
INFO: isakmp.c:2412:log_ph1established(): ISAKMP-SA established
  192.168.0.66[500]-192.168.0.1[500] spi:591b8a7c82d7c22f:
  2146f0ef2fc89438
INFO: isakmp.c:942:isakmp_ph2begin_i(): initiate new phase 2
  negotiation: 192.168.0.66[0]<=>192.168.0.1[0]
INFO: pfkey.c:1110:pk_recvupdate(): IPsec-SA established:
  ESP/Transport 192.168.0.1->192.168.0.66 spi=85432552(0x51798e8)
INFO: pfkey.c:1322:pk_recvadd(): IPsec-SA established:
  ESP/Transport 192.168.0.66->192.168.0.1 spi=164727577(0x9d18b19)


When I flush the SPD, pinging from both sides works. Though when I ping
from A to B instead from B to A as above (with the SPs set), I get a
.ping: sendto: No such file or directory.

My racoon.conf files look correct to me:

A# cat racoon.conf [heavily snipped]
path pre_shared_key "/usr/local/etc/psk.txt"
listen
{
isakmp 192.168.0.1 [500];
}
remote anonymous
{
[snip]
}
sainfo anonymous
{
[snip]
}

and on B the same except the listen part. The stuff I snipped is also
identical on both hosts, it has been taken from Dru Lavignes onlamp
tutorial (great work, btw!).

psk.txt has correct privileges and looks like this on both hosts:

192.168.0.66 secretkey
192.168.0.1  secretkey

A# setkey -DP [snipped a bit]
192.168.0.66[any] 192.168.0.1[any] any
in ipsec
esp/transport/192.168.0.66-192.168.0.1/require
192.168.0.1[any] 192.168.0.66[any] any
out ipsec
esp/transport/192.168.0.1-192.168.0.66/require


Ok, I think that's all information that is important. I don't really
know where to look for the problem, is it a problem at phase 2, or is
phase 1 briefly established and then somehow collapses, and therefor
the problem is at phase 1? Can I rule out a routing problem, due to
the fact that with a flushed SPD, pinging works? The firewall is set
to let everything pass, btw. Is it a problem that both hosts are on
the same subnet?

Any help is apreciated, and please tell me if you need more information.

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


Webalizer

2003-06-08 Thread Ian Barnes
Hi,

I am having these installation issues with webalizer, being built from the
latest cvsup.



graphs.o: In function `year_graph6x':
graphs.o(.text+0xd0f): undefined reference to `gdImagePng'
graphs.o: In function `month_graph6':
graphs.o(.text+0x1a72): undefined reference to `gdImagePng'
graphs.o: In function `day_graph3':
graphs.o(.text+0x20c2): undefined reference to `gdImagePng'
graphs.o: In function `pie_chart':
graphs.o(.text+0x2688): undefined reference to `gdImagePng'
/usr/local/lib/libgd.so: undefined reference to `iconv_open'
/usr/local/lib/libgd.so: undefined reference to `iconv_close'
/usr/local/lib/libgd.so: undefined reference to `iconv'
*** Error code 1

Stop in /usr/ports/www/webalizer/work/webalizer-2.01-10.
*** Error code 1

Stop in /usr/ports/www/webalizer.
[EMAIL PROTECTED] /usr/ports/www/webalizer #



Hope someone can help.

Regards
Ian

P.S. Im running BSD 4.8, with latest apache.


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


Changing to a PS/2 keyboard after install

2003-06-08 Thread Gary Schenk
FreeBSD fuzz.socal.rr.com 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Sun Jun  8 
11:47:48 PDT 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/FUZZ  
i386

I installed FreeBSD on this machine which came with a USB keyboard and 
mouse. The keyboard has problems, and for various reasons, I'd like to 
replace it with a PS/2 keyboard. Only problem is I can't figure out how 
to do it.

Getting a PS/2 mouse running was easy through sysinstall.

Just plugging in the new keyboard did not work. After searching the web 
and mailing lists, I  thought that recompiling the kernel with  the 
following lines would work:

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1  # flags 0x1
device  psm0at atkbdc? irq 12

I commented out the flag 0x1 and recompiled and rebooted. That did not 
work either.

As of now the only way I can see to get the PS/2 keyboard working is to 
reinstall. That seems like overkill. Does anyone have any ideas?

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


ping: sendto: Can't assign requested address

2003-06-08 Thread DanB
I can ping from the outside world but from the local machine I get ping:
sendto: Can't assign requested address. Any ideas?

Dan


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


Reliable USB NIC?

2003-06-08 Thread Scott Mitchell
I know it sounds like an oxymoron, but I'm looking for a reliable USB NIC
that's supported by FreeBSD 4.8 or -STABLE.  It's going to be attached to
my cable modem (currently 512kbps down, 128kbps up, transferring a few
hundred MB daily) so speed is not really relevant.  What I do need is
something that will stay up for months -- essentially the time between
kernel upgrades -- without needing any attention from me.  Sadly it has to
be USB, since the machine it's going in only has room for 1 PCI card, and
that's occupied by the wireless adapter.

Hmm, I guess 'not too expensive' and 'available in the UK' should be on
that list too :-)

Does such a beast exist?

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting X error when loading X

2003-06-08 Thread Lowell Gilbert
Steven Lake <[EMAIL PROTECTED]> writes:

>   I'm getting the following error when loading X via the command
> "Startx".
> 
> Xlib: extension "GLX" missing on display ":0:0"

Are you supposed to have GLX on your card?  
You can always deconfigure it.

>   I'm also seeing a lot of segment faults in KDE since that started
> to appear.  Anyone know why this is being caused and how to fix this?
> Thanks.

Are you sure they're connected?  What are you doing when the bad
accesses occur?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.0-RELEASE and radiusclient-0.3.2

2003-06-08 Thread Lowell Gilbert
"Phil Yuska" <[EMAIL PROTECTED]> writes:

> Howdy,
> 
> When trying to execute radlogin I keep getting this error message:
> 
> radlogin[13740]: rc_own_ipaddress: couldn't get own IP address
> 
> I'm stumped, the hostname and ip address both resolve via nslookup and
> dig
> The radiusclient package was built using the ports collection.
> 
> The system in question is running the following:
> 
> FreeBSD 5.0-RELEASE #0: Fri Jan 17 20:03:38 GMT 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC sparc64
> 
> Any ideas how to correct this problem?

Make sure you've got the loopback address (127.0.0.1 for IPv4) in your /etc/hosts.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Startup files

2003-06-08 Thread Ken Thompson
Where do I put things to load during boot, things like loading modules and 
starting kdm?? Poked about some and am working my way through the complete 
bsd #3 as well as the "book" which I downloaded, but I haven't found 
reference to the above, yet..
Thanks to all in advance.
-- 
Ken Thompson WA7SYR
Payette, Idaho
Email: [EMAIL PROTECTED]

Linux- Coming Soon To A Desktop Near You
Registered Linux User #183936

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


Re: Startup files

2003-06-08 Thread Florian Ponroy
On Sun, Jun 08, 2003 at 03:10:13PM -0600, Ken Thompson wrote:
> Where do I put things to load during boot, things like loading modules and 
> starting kdm?? Poked about some and am working my way through the complete 
> bsd #3 as well as the "book" which I downloaded, but I haven't found 
> reference to the above, yet..
> Thanks to all in advance.

All the executable scripts located in /usr/local/etc/rc.d/ will be
executed during bootup.

Florian

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


Re: Startup files

2003-06-08 Thread Tobias Roth
On Sun, Jun 08, 2003 at 03:10:13PM -0600, Ken Thompson wrote:
> Where do I put things to load during boot, things like loading modules and 
> starting kdm?? Poked about some and am working my way through the complete 
> bsd #3 as well as the "book" which I downloaded, but I haven't found 
> reference to the above, yet..
> Thanks to all in advance.

things you install from the ports or through packages get started from
/usr/local/etc/rc.d/ . Things in the base system get configured to start
in /etc/rc.conf and ge tstarted by scripts in /etc/rc.d (for 5.0 and later).
kdm gets started through /etc/ttys (I think... maybe there is also a
different method). Modules can be loaded from /boot/loader.conf.

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


Newbie wirless install question

2003-06-08 Thread Scott Miller
Hi List,

I am attempting to install FreeBSD on my Dell Inspiron 8100 laptop.  I am
using partition magic (boot magic) and Windows 2000 Pro on the machine
already.  The install goes fine.  When selected, the machine boots into
FreeBSDand I can access my router and the Internet through the built-in
10/100 NIC.  X windows, sound and my wireless card are not working.  I want
to solve these one at a time starting with wireless.


I am using a NETGEAR MA401 PCMCIA card and a MR314 wireless router with 128
bit encryption.  Both pieces of equipment work under windows.  After I boot
into freebsd I use ifconfig to set the SSID and the wepkey.  The link light
on the card is solid (this usually means the card is configured and
connected correctly).

However, I cannot even ping my router.  I have read the man page for
wlconfig but, I have been unable to correctly apply it to situation.

I consider myself an experienced computer user but, I am brand new to
FreeBSD, detailed instructions and explainations would be appreciated.

Please help.


Thank you,

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


Re: error on gdm2 build

2003-06-08 Thread Joe Marcus Clarke
On Sun, 8 Jun 2003, David Banning wrote:

> On Sun, Jun 08, 2003 at 12:05:51PM -0400, Joe Marcus Clarke wrote:
> > On Sun, 8 Jun 2003, David Banning wrote:
> >
> > > > > The error below seems to start with;
> > > > >
> > > > > /usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_BDF_Property'
> > > > >
> > > > > I have tried to reinstall libfontconfig, but it makes no difference.
> > > >
> > > > Try a portupgrade -rf freetype2.  That will take a _long_ time, but it
> > > > will force you to rebuild all the font and X and GNOME related ports.
> > > > Something, somewhere, is out-of-date, and this should take care of it.
> > >
> > > Nope. That command gives me the same error. I also tried a;
> > >
> > > portupgrade -f -P -R fontconfig
> > >
> > > to hopefully reinstall everything that libfontconfig relies on.
> > > I get the same error if I attempt to install fontconfig from the ports,
> > > but I _can_ install it fine as a package. Either way, I _still_ get the
> > > same error on building gdm2. I updated my ports, but that brought no change
> > > either.
> >
> > Can you send the output of pkg_info?
>
> Here it is;

Remove your freetype22 port, then remove any libfreetype.so.x libraries in
either /usr/local/lib or /usr/X11R6/lib.  Then, reinstall freetype22.
That should set you straight.

Joe

>
> AbiWord-gnome-1.0.3 An open-source, cross-platform WYSIWYG word processor
> Hermes-1.3.2Fast\ pixel\ formats\ conversion\ libraryImageMagick-5.5.5   
> Image processing tools (interactive optional--misc/display
> Mesa-3.4.2_1A graphics library similar to SGI's OpenGL
> ORBit-0.5.17High-performance\ CORBA\ ORB\ with\ support\ for\ the\ C\ l
> ORBit2-2.6.2High-performance CORBA ORB with support for the C language
> XFree86-4.3.0,1 X11/XFree86\ core\ distribution\ \(complete,\ using\ mini/m
> XFree86-FontServer-4.3.0_1 XFree86-4 font server
> XFree86-Server-4.3.0_8 XFree86-4 X server and related programs
> XFree86-documents-4.3.0 XFree86-4\ documentationXFree86-font100dpi-4.3.0 XFree86-4\ 
> bitmap\ 100\ dpi\ fontsXFree86-font75dpi-4.3.0 XFree86-4\ bitmap\ 75\ dpi\ 
> fontsXFree86-fontCyrillic-4.3.0 XFree86-4\ Cyrillic\ 
> fontsXFree86-fontDefaultBitmaps-4.3.0 XFree86-4\ default\ bitmap\ 
> fontsXFree86-fontEncodings-4.3.0 XFree86-4\ font\ encoding\ 
> filesXFree86-fontScalable-4.3.0 XFree86-4\ scalable\ fontsXFree86-libraries-4.3.0_5 
> XFree86-4 libraries and headers
> Xaw3d-1.5   A 3-D Athena Widget set that looks like Motif
> Xft-2.1.2   A client-sided font API for X applications
> a2ps-letterdj-4.13_1 Formats an ascii file for printing on a postscript printer
> aXe-6.1.2_1 Simple to use text editor for X
> aalib-1.4.r5_1  An ascii art library
> abook-0.4.17_1  An addressbook program with mutt mail client support
> acme-2.0.4  Tool to make multimedia keys work on laptops
> acroread4-4.05  View, distribute and print PDF documents
> adzapper-0.4.0  A filtering proxy that can block ads from being displayed
> aft-5.0793  A document preparation system using an Almost Free Text inp
> amaya-4.3.2 The W3C's testbed web editor/browser
> antiword-0.33   An application to display Microsoft(tm) Word files
> apache+mod_ssl-1.3.27+2.8.14 The Apache 1.3 webserver with SSL/TLS functionality
> apel-mule-10.4  A Portable Emacs Library for mule
> apsfilter-6.1.1 Magic print filter with auto file type recognition and dupl
> archivemail-0.6.1   Search mailbox files and archive or delete mail older than
> aspell-0.50.3_1 Spelling\ checker\ with\ better\ suggestion\ logic\ than\ i
> at-spi-1.1.8An\ Assistive\ Technology\ Service\ Provider\ Interfaceatk-1.2.2 
>   A GNOME accessibility toolkit (ATK)
> autoconf-2.53_1 Automatically configure source code on many Un*x platforms
> autoconf213-2.13.000227_5 Automatically configure source code on many Un*x platforms
> avifile-0.7.34.20030319,2 AVI\ player/converter\ with\ numerous\ codecs,\ including\
> biew-5.3.2  Binary vIEWer + editor for binary, hexadecimal and dis-asm
> bison-1.75  A parser generator from FSF, (mostly) compatible with Yacc
> bitstream-vera-1.10 Bitstream\ Vera\ TrueType\ font\ collectionbluefish-0.6
> HTML editor designed for the experienced web designer
> boehm-gc-6.2.a4_2   Garbage\ collection\ and\ memory\ leak\ detection\ for\ C\
> bonobo-1.0.22   The\ component\ and\ compound\ document\ system\ for\ GNOME
> bonobo-activation-2.2.1.1_1,1 An object activation framework for GNOME 2.0
> british-ispell-3.1_1 An interactive spelling checker for multiple languages
> bugbuddy2-2.2.104   A bug reporting tool for GNOME 2
> bzip2-1.0.1 A block-sorting file compressor
> cgi-lib-1.4_1   ANSI C Library for CGI Programming
> crack-5.0   The "Sensible" Unix Password Cracker
> cups-1.1.10.1   The Common UNIX Printing System
> cups-base-1.1.18.0_5 The Common UNIX Printing System: headers,

Re: set of ethernet adress on boot

2003-06-08 Thread RCW
Yes, that is possible.  You need to put a file with the following name in
/etc:  start_if.

If you do a quick / in vi after loading rc.network, you'll see that
it looks for such a file during the initialization of the interfaces.

hope this helps
r
-- 
Message: 1
Date: Sat, 7 Jun 2003 13:30:10 -0500
From: Dan Nelson <[EMAIL PROTECTED]>
Subject: Re: set of ethernet adress on boot
To: Adam Maas <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

In the last episode (Jun 07), Adam Maas said:
> > > +-- Moritz Fromwald [freebsd] [06-06-03 20:32 +0200]:
> > > | Is it possible to set the ethernet adress automatically at boot
time
> > > before | dhclient attempts to contact a DHCP? | thx & regards | |
> > > moritz fromwald
> > >  yes. btw, why r u running dhclient if u r using static
> > >  ip?
> >

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


Security Run Output E-Mails

2003-06-08 Thread Jasvinder S. Bahra
Hey folks,

I'm wondering if you can help me. I have a basic knowledge on UNIX and freebsd, and 
together with the advice of some friends, resources on the internet and an absolutely 
ridiculous amount of toil and sweat, i've managed to put together a somewhat secure 
firewall/gateway machine.

Now, at regular intervals, e-mails are sent to me by the machine...

HOST.DOMAIN.TLD security run output
HOST.DOMAIN.TLD daily run output
HOST.DOMAIN.TLD weekly run output
HOST.DOMAIN.TLD monthly run output

Now, I receive these e-mail regularly at differing times each day (as appropriate). 
For example, the security and the daily ones are sent a couple of minutes after 
03:00am in the morning. The weekly one is sent a couple of minutes after 04:00am. The 
monthly one... 05:00am.

What i want to know is *where* are these script execution times defined? If I want to 
change the monthly run output script to run at 05:30am (for example), where would I go?

Thanks for your time.

Jazz


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


Re: 4.8 to 5.0

2003-06-08 Thread Kris Kennaway
On Sun, Jun 08, 2003 at 10:26:43AM -0700, Jim Mock wrote:
> On Sunday, June 8, 2003, at 02:12  AM, Doron Shmaryahu wrote:
> >Hi,
> >
> >I have been considering upgrading my machine from 4.8 ? 5.0. Is it a 
> >easy buildworld or can anyone give me advice on any problems before 
> >upgrading.
> 
> You're better off waiting a week or two until 5.1-RELEASE is out.

And then reading the 5.1 early adopter's guide, the release notes and5B
errata, the upgrade instructions in the handbook, and
/usr/src/UPDATING.

Kris


pgp0.pgp
Description: PGP signature


Re: Security Run Output E-Mails

2003-06-08 Thread Jens Rehsack
On 6/9/2003 12:50 AM, Jasvinder S. Bahra wrote:
> Hey folks,
> 
> I'm wondering if you can help me. I have a basic knowledge on UNIX and freebsd, and 
> together with the advice of some friends, resources on the internet and an 
> absolutely ridiculous amount of toil and sweat, i've managed to put together a 
> somewhat secure firewall/gateway machine.

I'm wondering you never read the handbook as it's recommented by your
login message motd(5).

> Now, at regular intervals, e-mails are sent to me by the machine...
> 
> HOST.DOMAIN.TLD security run output
> HOST.DOMAIN.TLD daily run output
> HOST.DOMAIN.TLD weekly run output
> HOST.DOMAIN.TLD monthly run output
> 
> Now, I receive these e-mail regularly at differing times each day (as appropriate). 
> For example, the security and the daily ones are sent a couple of minutes after 
> 03:00am in the morning. The weekly one is sent a couple of minutes after 04:00am. 
> The monthly one... 05:00am.
> 
> What i want to know is *where* are these script execution times defined? If I want 
> to change the monthly run output script to run at 05:30am (for example), where would 
> I go?

See crontab(5), crontab(1) and cron(8)

> Thanks for your time.

Jens

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


Re: error on gdm2 build

2003-06-08 Thread David Banning
> 
> Remove your freetype22 port, then remove any libfreetype.so.x libraries in
> either /usr/local/lib or /usr/X11R6/lib.  Then, reinstall freetype22.
> That should set you straight.

I don't know how you figured it out, but it worked.

Thanks for sticking with me on this -

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


loading the official nvidia driver at startup

2003-06-08 Thread Jeff Blaufuss
I recently installed the official nvidia driver (version 1.0.3203) from 
the ports collection my FreeBSD 4.8-RELEASE machine.  Is there a way to 
load the nvidia.ko module at startup?  I've tried putting 
nvidia_load="YES" in my /boot/loader.conf file, which was suggested in a 
message I found in the archives of freebsd-questions, but it didn't work 
for me.  The module doesn't get loaded, and I still have to run "kldload 
nvidia" to get things to work.

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


Re: loading the official nvidia driver at startup

2003-06-08 Thread Tuc
> 
> I recently installed the official nvidia driver (version 1.0.3203) from 
> the ports collection my FreeBSD 4.8-RELEASE machine.  Is there a way to 
> load the nvidia.ko module at startup?  I've tried putting 
> nvidia_load="YES" in my /boot/loader.conf file, which was suggested in a 
> message I found in the archives of freebsd-questions, but it didn't work 
> for me.  The module doesn't get loaded, and I still have to run "kldload 
> nvidia" to get things to work.
> 
Do you have :

linux_load="YES"
nvidia_load="YES"


I think you need the Linux loaded there too.

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


Re: loading the official nvidia driver at startup

2003-06-08 Thread Jeff Blaufuss
Tuc wrote:

I recently installed the official nvidia driver (version 1.0.3203) from 
the ports collection my FreeBSD 4.8-RELEASE machine.  Is there a way to 
load the nvidia.ko module at startup?  I've tried putting 
nvidia_load="YES" in my /boot/loader.conf file, which was suggested in a 
message I found in the archives of freebsd-questions, but it didn't work 
for me.  The module doesn't get loaded, and I still have to run "kldload 
nvidia" to get things to work.

   

	Do you have :

linux_load="YES"
nvidia_load="YES"
	I think you need the Linux loaded there too.

		Tuc/TTSG Internet Services, Inc.

Thanks, that worked.

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


Boot(1,2) issue on 4.8 Compaq System

2003-06-08 Thread Ed Powers
Greets.

I have a newly upgraded 4.8 system that I can no longer boot without
convincing.  I don't beleive the trouble arose due to the upgrade, which always
occurs without an issue at all.  The problem occured when I made alterations to
the Compaq BIOS settings that changed the order in which my drives are probed
and booted.

The following is the setup:

First Controller- Seagate 4G- Boot and Root
(Embedded)

Second Controller   - Compaq 18G- Data (Vinum RAID 5)
(Embedded)Compaq 18G
  Compaq 18G
  Compaq 18G

Firing up the system shows the Seagate probed first, then the four drives in
the array. Originally things wee the other way around, but the Compaq BIOS
setup reversed this and I seem to be unable to get the system working again
the "old" way.  I decided I didn't really care what controller went first, so
long as the machine boots and does it's job.  Alas, I can't seem to find a way
to make it happy anymore.

The system goes through boot0 by grabbing mbr appropriately off of the seagate
(the only disk listed that has an mbr).  Then at boot1,2 I get the
"Invalid Partition" error showing that it was unable to find root / kernel  at
0:da(0,a)/kernel

Because at this stage of the boot process da0 is still the first compaq drive
in the array - NOT the seagate.  If I manually enter 4:da(0,a)/kernel the
system boots and the system works ok - aside from all the issues that arise
from not using the loader to boot a kernel.

The thing is, when the system does come up is sees the disks at I would expect
it to:

# camcontrol devlist
at scbus0 target 0 lun 0 (pass0,da0)
  at scbus1 target 0 lun 0 (pass1,da1)
  at scbus1 target 1 lun 0 (pass2,da2)
  at scbus1 target 2 lun 0 (pass3,da3)
  at scbus1 target 3 lun 0 (pass4,da4)
   at scbus2 target 4 lun 0 (pass5,sa0)

# df | grep /$
/dev/da0s1a 64462   42230   1707671%/

I have altered the disklabels of each of the devices to reflect new positions,
so they too appear as how I think they should:

# foreach d (0 1 2 3 4)
  foreach? disklabel -r da$d | grep disk:
  foreach? end
disk: da0s1
disk: da1s1
disk: da2s1
disk: da3s1
disk: da4s1

So, I think the question is why is boot1,2 still thinking that my drives are
configured as they were originally (with the seagate at da4) but yet the BIOS
is providing the correct order and the OS - once it is installed - is also
seeing the config correctly.

Thanks...
Ed Powers

-- 
___
Get your free Verizonmail at www.verizonmail.com

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


Re: error on gdm2 build

2003-06-08 Thread Charles Young
Hi David,

In your recent message you had some issues with FT_GET_BDF_Property in fontconfig:

> The error below seems to start with;
> /usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_BDF_Property'

Can I ask if you have at sometime built some XFree86 components from source?

I'd check for extra versions of XFT and freetype that have been installed in 
/usr/X11R6/lib/ 

Perhaps you might try a find in /usrX11R6/ for libraries that are older than your last 
major build of XFree86 + components.

I had the same issue some time ago with a freetype2 library that I'd forgotten was 
installed when I built XFree86.4.2.93 manually. Later builds from ports did not 
overwrite the library.

good luck,
Charles

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


newbie: webalizer V2.01-10 DNSChildren query

2003-06-08 Thread admin
OS: freeBSD 4.8 Stable

How can I stop webazolver and webalizer asking for the DNSChildren when the -N
switch is defined in the command line and the DNSChildren is defined in the
webalizer.conf file?

 snip 

webazolver -N 20 -D /usr/local/etc/webalizer/dns_cache.db $i

Webalizer V2.01-10 (FreeBSD 4.8-STABLE) English
Using logfile /usr/local/www/logs/sub60.sffreaks.org/access_log (clf)
DNS Lookup (20):

the -N switch is defined why is this query happening?

- snip -

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


Re: error on gdm2 build

2003-06-08 Thread Jud
On Mon, 9 Jun 2003 12:59:14 +1000, Charles Young <[EMAIL PROTECTED]> 
wrote:

Hi David,

In your recent message you had some issues with FT_GET_BDF_Property in 
fontconfig:

The error below seems to start with;
/usr/X11R6/lib/libfontconfig.so: undefined reference to 
`FT_Get_BDF_Property'
Can I ask if you have at sometime built some XFree86 components from 
source?

I'd check for extra versions of XFT and freetype that have been installed 
in /usr/X11R6/lib/

Perhaps you might try a find in /usrX11R6/ for libraries that are older 
than your last major build of XFree86 + components.

I had the same issue some time ago with a freetype2 library that I'd 
forgotten was installed when I built XFree86.4.2.93 manually. Later 
builds from ports did not overwrite the library.

good luck,
Charles
Same experience here.  (One of these days DRI for Radeon 9500/9700 *will* 
appear in XFree CVS/snapshots a couple of weeks before the ports are 
updated, and then all the problems will have been worth it???;)

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


Re: USB Flash Memory Drives support under FreeBSD

2003-06-08 Thread Vladik Kozin
On Sunday 08 June 2003 20:28, you wrote:
> On Sun, Jun 08, 2003 at 07:48:36PM +0400, Vladik Kozin wrote:
> > Are such devices as for instance, IBM MagicKey, PQI Intelligent Stick,
> > USBdrive, ThumbDrive and other USB Flash Memory Drives, supported by
> > FreeBSD.  I know most of them are supported by Linux, so one doesn't have
> > to install any drivers before use.
> > I've checked Hardware Notes for both 4.8 and 5.0 Releases - nothing
> > approprate :(
>
> Hi Vladik,
>
> funnily enough, this has just been discussed over on the -stable list.  The
> consensus seems to be that most USB mass storage devices will just work --
> especially those that don't need any special drivers on Windows or (better
> yet) Linux.  This has certainly been my experience with various memory card
> readers and 'pen drives'.
>
> Some devices might need a 'quirk' entry adding to the kernel to cope with
> their particular weirdness.  These are pretty easy to add if you don't mind
> rebuilding your kernel.

I surely never mind doing this :) Once you've got a working source for your 
kernel, you'll never get into big problems, cause each time you need to add 
only a few strings. So, you always can say which strings happened to become a 
problem.

>
> I fully agree that the existing documentation isn't as helpful as it could
> be.  I was going to put together some changes to make it clearer what is
> actually supported, which you have now reminded me about :-)
>
> Cheers,
>
>   Scott

Thanks for you answer. I was going to buy one of those 'pen drives' for 
myself. Nothing seems to prevent me from doing this now :) I believe its 
always a good idea to check the compatibility of the hardware one's going to 
buy with the OS used.
Best regards. Vladik
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: error on gdm2 build

2003-06-08 Thread David Banning
> >
> >I'd check for extra versions of XFT and freetype that have been installed 
> >in /usr/X11R6/lib/

Yes, that may have been it. I deinstalled freetype2 and deleted
libfreetype.so.x libraries as suggested by Joe Marcus Clarke.
That did it. After a make install of gdm2 it installed fine.

Thanks for the suggestions, guys -

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


ADSL: Using mpd(8) for PPPoE

2003-06-08 Thread Rob
Listfolks,

I'm trying to connect a Netgear DM602 modem to my FreeBSD 4.8 firewall.
I haven't used PPP over Ethernet before, and I'm not making much
progress.

The Handbook[1] talks about using ppp(8) and netgraph modules. Renaud
Waldura has written an excellent tutorial[2] on this, and I also found a
guide[3] to using ppp with Telstra (which is my provider).

But there seems to be a question about whether ppp(8) is the best
approach. The benchmarks for 'usermode PPPoE' at [4] are very
disappointing, and they mention mpd as a better option. And when reading
about FreeBSD+ADSL in Austria[5], I came across this comment:

  Another way to setup such a connection is using the netgraph-system
  and the mpd package, which is a little more "BSD style" and is (in
  my experience) more stable than pptp-client.

So I looked at /usr/ports/net/mpd and it handles all the ppp traffic in
kernel using netgraph, which seems like a good approach. The
documentation is very thorough and there's lots of sample
configurations.

I copied the samples for PPPoE, changed the username and interface, and
this was the result when I started it up:

  Multi-link PPP for FreeBSD, by Archie L. Cobbs.
  Based on iij-ppp, by Toshiharu OHNO.
  mpd: pid 245, version 3.13 ([EMAIL PROTECTED] 16:04 22-Mar-2003)
  [PPPoE] ppp node is "mpd245-PPPoE"
  [PPPoE] using interface ng0
  [PPPoE] IPCP: peer address cannot be zero
  [PPPoE] IFACE: Open event
  [PPPoE] IPCP: Open event
  [PPPoE] IPCP: state change Initial --> Starting
  [PPPoE] IPCP: LayerStart
  [PPPoE:PPPoE] [PPPoE] bundle: OPEN event in state CLOSED
  [PPPoE] opening link "PPPoE"...
  [PPPoE] link: OPEN event
  [PPPoE] LCP: Open event
  [PPPoE] LCP: state change Initial --> Starting
  [PPPoE] LCP: LayerStart
  [PPPoE] device: OPEN event in state DOWN
  [PPPoE] exec: /sbin/ifconfig rl0 up
  [PPPoE] Cannot send a netgraph message: rl0::No such file or directory
  [PPPoE] device is now in state OPENING
  [PPPoE] device: DOWN event in state OPENING
  [PPPoE] device is now in state DOWN
  [PPPoE] link: DOWN event
  [PPPoE] LCP: Down event
  [PPPoE] device: OPEN event in state DOWN
  [PPPoE] pausing 4 seconds before open
  [PPPoE] device is now in state DOWN
  [PPPoE] device: OPEN event in state DOWN
  [PPPoE] pausing 1 seconds before open
  [PPPoE] device is now in state DOWN
  [PPPoE] device: OPEN event in state DOWN
  [PPPoE] Cannot send a netgraph message: rl0::No such file or directory
  [PPPoE] device is now in state OPENING
  [PPPoE] device: DOWN event in state OPENING
  [PPPoE] device is now in state DOWN
  [PPPoE] link: DOWN event
  [PPPoE] LCP: Down event
  [PPPoE] device: OPEN event in state DOWN
  [PPPoE] pausing 6 seconds before open
  [PPPoE] device is now in state DOWN
  ^Cmpd: caught fatal signal int
  mpd: fatal error, exiting
  [PPPoE] IPCP: Down event
  [PPPoE] IFACE: Close event
  [PPPoE] IPCP: Close event
  [PPPoE] IPCP: state change Starting --> Initial
  [PPPoE] IPCP: LayerFinish
  mpd: process 245 terminated

There is definitely a rl0 interface, which I configured to be on the
same subnet as the modem:

  rl0: flags=8843 mtu 1500
   inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
   ether 00:c1:28:00:e6:0b
   media: Ethernet autoselect (100baseTX )
   status: active

I also tried it with the interface unconfigured (in case mpd(8) wants to
do this itself) with the same result.

I've spent the last day searching google, and can't figure out where the
problem is, let alone how to fix it. If anyone actually has it up &
running, I would really appreciate your suggestions.

Thanks.
Rob.

[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html
[2] http://renaud.waldura.com/doc/freebsd/pppoe/
[3] http://logicsquad.net/freebsd/PPPoE-how-to.html
[4] http://www.jraitala.net/comp/articles/2002/pppoe/
[5] http://mailbox.univie.ac.at/~le/freebsd+adsl-howto.html

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


Re: ADSL: Using mpd(8) for PPPoE

2003-06-08 Thread Adam
On Mon, 2003-06-09 at 01:27, Rob wrote:
> But there seems to be a question about whether ppp(8) is the best
> approach. The benchmarks for 'usermode PPPoE' at [4] are very
> disappointing, and they mention mpd as a better option. And when reading
> about FreeBSD+ADSL in Austria[5], I came across this comment:
> 
>   Another way to setup such a connection is using the netgraph-system
>   and the mpd package, which is a little more "BSD style" and is (in
>   my experience) more stable than pptp-client.

I'm actually very glad you brought this up. I also am very unimpressed
with ppp, and have been considering mpd for quite a while. I have not
had time to delve into it yet, but I would certainly appreciate whatever
information you'd like to donate in terms of experiences, problems,
solutions, reading material, etc.

Also, you might subscribe to the freebsd-net mailing list. That one
might be more suited to discussing this topic in detail.

Good luck!
-- 
Adam <[EMAIL PROTECTED]>

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


Re: ADSL: Using mpd(8) for PPPoE

2003-06-08 Thread Kris Kennaway
On Mon, Jun 09, 2003 at 02:57:45PM +0930, Rob wrote:
> Listfolks,
> 
> I'm trying to connect a Netgear DM602 modem to my FreeBSD 4.8 firewall.
> I haven't used PPP over Ethernet before, and I'm not making much
> progress.
> 
> The Handbook[1] talks about using ppp(8) and netgraph modules. Renaud
> Waldura has written an excellent tutorial[2] on this, and I also found a
> guide[3] to using ppp with Telstra (which is my provider).
> 
> But there seems to be a question about whether ppp(8) is the best
> approach. The benchmarks for 'usermode PPPoE' at [4] are very
> disappointing, and they mention mpd as a better option. And when reading
> about FreeBSD+ADSL in Austria[5], I came across this comment:
> 
>   Another way to setup such a connection is using the netgraph-system
>   and the mpd package, which is a little more "BSD style" and is (in
>   my experience) more stable than pptp-client.
> 
> So I looked at /usr/ports/net/mpd and it handles all the ppp traffic in
> kernel using netgraph, which seems like a good approach. The
> documentation is very thorough and there's lots of sample
> configurations.

ppp(8) also uses netgraph for PPPoE.  Anyway, are you sure you need to
worry about mpd?  My Pentium 120 router handles my 1.5MBit ADSL at
full speed with ppp(8)'s pppoe.

Kris


pgp0.pgp
Description: PGP signature


Re: ADSL: Using mpd(8) for PPPoE

2003-06-08 Thread Rob
If I can't get mpd(8) to work, I won't have a choice :-)

The difference between them (as far as I can tell) is that mpd keeps all
the actual packet handling out of userland, so there's less overhead.
I've only got 512k/128k ADSL on a Pentium 166, so it doesn't sound like
ppp(8) will be a bottleneck, based on your experience.

I'm trying mpd because it looks like the 'cleaner' approach - on the
other hand, it seems to be the minority choice in terms of general
usage.

- Original Message -
From: "Kris Kennaway" <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 3:05 PM

ppp(8) also uses netgraph for PPPoE.  Anyway, are you sure you need to
worry about mpd?  My Pentium 120 router handles my 1.5MBit ADSL at
full speed with ppp(8)'s pppoe.

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


Shell line parse needed

2003-06-08 Thread Derrick Ryalls
Thanks to help from here I have MRTG setup on a 4.7 server, but now I
need help with parsing console info.  I want a script to report CPU
utilization by a specific process.  When I type this:

top | grep hlds

it gives me:

60905 root10   0 54960K 49736K nanslp   1:26  0.00%  0.00% hlds

What I need is to get the last whole number before hlds, which should be
cpu utilization.  For instance, if the line was:

60905 root10   0 54960K 49736K nanslp   1:26  4.61%  5.23% hlds

I would need the script to report:

5

If no matching process is found, it should report 0.

I was thinking of writing a C prog for this since that is the language I
can use, but I am certain this could be a very small shell script.

Thanks in advance.

-Derrick


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


Ghost images?

2003-06-08 Thread Remington L.
I am looking for software that has the capabilities of Norton Ghost for
FreeBSD. I am having problems finding such an application. Does one exist?


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


Re: Shell line parse needed

2003-06-08 Thread Steve Sapovits
On Sun, 08 Jun 2003 23:02:42 -0700
Derrick Ryalls <[EMAIL PROTECTED]> wrote:

> Thanks to help from here I have MRTG setup on a 4.7 server, but now I
> need help with parsing console info.  I want a script to report CPU
> utilization by a specific process.  When I type this:
> 
> top | grep hlds
> 
> it gives me:
> 
> 60905 root10   0 54960K 49736K nanslp   1:26  0.00%  0.00% hlds
> 
> What I need is to get the last whole number before hlds, which should be
> cpu utilization.  For instance, if the line was:
> 
> 60905 root10   0 54960K 49736K nanslp   1:26  4.61%  5.23% hlds
> 
> I would need the script to report:
> 
> 5

This gets you the 5 if the process is running:

top | grep hlds | awk '{printf "%d\n", $10}'

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


Sound Blaster Live DD5.1

2003-06-08 Thread Thomas T. Veldhouse
I have recently purchased a Dell Dimension 8250 which contains a Creative
Labs SoundBlaster Live! DD 5.1 card.  My previous SoundBlaster Live! card
was detected in FreeBSD 4.7, but this one is not detected in this machine
using FreeBSD 5.1 RELEASE (cvsup to it).  No pcm devices show during boot.
Is there a way to give the kernel a hint?  There is no way to shut of PNP in
the BIOS, as Dell as not added this option.

Windows XP is showing:

I/O Range: DC40-DC5F
IRQ: 18

Thanks in advance,

Tom Veldhouse


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


Re: Sound Blaster Live DD5.1

2003-06-08 Thread Emil A Eklund
I believe the soundblasters in dell machines are special in some kind, I
have a dell as well and the SB Live that came with it works fine under
windows, but does not work at all under FreeBSD, however I had an old
Live (exact same spec as the one that came with the machine) and it
works just fine, I have no idea what's different about the dell ones.

/Emil A Eklund

On Sun, 2003-06-08 at 17:41, Thomas T. Veldhouse wrote:
> I have recently purchased a Dell Dimension 8250 which contains a Creative
> Labs SoundBlaster Live! DD 5.1 card.  My previous SoundBlaster Live! card
> was detected in FreeBSD 4.7, but this one is not detected in this machine
> using FreeBSD 5.1 RELEASE (cvsup to it).  No pcm devices show during boot.
> Is there a way to give the kernel a hint?  There is no way to shut of PNP in
> the BIOS, as Dell as not added this option.
> 
> Windows XP is showing:
> 
> I/O Range: DC40-DC5F
> IRQ: 18
> 
> Thanks in advance,
> 
> Tom Veldhouse
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re: Sound Blaster Live DD5.1

2003-06-08 Thread Scott Long
Emil A Eklund wrote:
I believe the soundblasters in dell machines are special in some kind, I
have a dell as well and the SB Live that came with it works fine under
windows, but does not work at all under FreeBSD, however I had an old
Live (exact same spec as the one that came with the machine) and it
works just fine, I have no idea what's different about the dell ones.
/Emil A Eklund

On Sun, 2003-06-08 at 17:41, Thomas T. Veldhouse wrote:

I have recently purchased a Dell Dimension 8250 which contains a Creative
Labs SoundBlaster Live! DD 5.1 card.  My previous SoundBlaster Live! card
was detected in FreeBSD 4.7, but this one is not detected in this machine
using FreeBSD 5.1 RELEASE (cvsup to it).  No pcm devices show during boot.
Is there a way to give the kernel a hint?  There is no way to shut of PNP in
the BIOS, as Dell as not added this option.
Windows XP is showing:

I/O Range: DC40-DC5F
IRQ: 18
Thanks in advance,

Tom Veldhouse

Dell has a bad habit of using unique PCI-ID's for hardware that it buys
from others.  Can both of you do 'pciconf -lv' and post the output?  It
might very well be as easy as just adding the Dell IDs to the driver.
Scott

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


Re: Sound Blaster Live DD5.1

2003-06-08 Thread Emil A Eklund
Here goes

I currently have both the dell soundblaster and a boxed soundblaster in
the machine so you should see both.

If there's anything else you'll need let me know.

/Emil

On Sun, 2003-06-08 at 19:00, Scott Long wrote:
> Emil A Eklund wrote:
> > I believe the soundblasters in dell machines are special in some kind, I
> > have a dell as well and the SB Live that came with it works fine under
> > windows, but does not work at all under FreeBSD, however I had an old
> > Live (exact same spec as the one that came with the machine) and it
> > works just fine, I have no idea what's different about the dell ones.
> > 
> > /Emil A Eklund
> > 
> > On Sun, 2003-06-08 at 17:41, Thomas T. Veldhouse wrote:
> > 
> >>I have recently purchased a Dell Dimension 8250 which contains a Creative
> >>Labs SoundBlaster Live! DD 5.1 card.  My previous SoundBlaster Live! card
> >>was detected in FreeBSD 4.7, but this one is not detected in this machine
> >>using FreeBSD 5.1 RELEASE (cvsup to it).  No pcm devices show during boot.
> >>Is there a way to give the kernel a hint?  There is no way to shut of PNP in
> >>the BIOS, as Dell as not added this option.
> >>
> >>Windows XP is showing:
> >>
> >>I/O Range: DC40-DC5F
> >>IRQ: 18
> >>
> >>Thanks in advance,
> >>
> >>Tom Veldhouse
> >>
> 
> Dell has a bad habit of using unique PCI-ID's for hardware that it buys
> from others.  Can both of you do 'pciconf -lv' and post the output?  It
> might very well be as easy as just adding the Dell IDs to the driver.
> 
> Scott
> 
[EMAIL PROTECTED]:0:0:  class=0x06 card=0x01421028 chip=0x25608086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0:  class=0x060400 card=0x chip=0x25618086 rev=0x01 
hdr=0x01
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE Brookdale Host-to-AGP Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:29:0: class=0x0c0300 card=0x01421028 chip=0x24c28086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) USB UHCI Controller #1'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:1: class=0x0c0300 card=0x01421028 chip=0x24c48086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) USB UHCI Controller #2'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:2: class=0x0c0300 card=0x01421028 chip=0x24c78086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) USB UHCI Controller #3'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:7: class=0x0c0320 card=0x01421028 chip=0x24cd8086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) USB EHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:30:0: class=0x060400 card=0x chip=0x244e8086 rev=0x81 
hdr=0x01
vendor   = 'Intel Corporation'
device   = '82801BA/CA/DB (ICH2/3/4) Hub Interface to PCI Bridge (244E)'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:31:0: class=0x060100 card=0x chip=0x24c08086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) LPC Interface Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:31:1: class=0x01018a card=0x01421028 chip=0x24cb8086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) UltraATA/100 EIDE Controller'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:31:3: class=0x0c0500 card=0x01421028 chip=0x24c38086 rev=0x01 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) SMBus Controller'
class= serial bus
subclass = SMBus
[EMAIL PROTECTED]:0:0:  class=0x03 card=0x80971043 chip=0x028110de rev=0xa1 
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'GeForce4 Ti 4200 with AGP 8x [NV28]'
class= display
subclass = VGA
[EMAIL PROTECTED]:0:0:  class=0x040100 card=0x10031102 chip=0x00061102 rev=0x00 
hdr=0x00
vendor   = 'Creative Labs'
device   = 'emu10k1x Soundblaster Live! 5.1'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:0:1:  class=0x098000 card=0x10031102 chip=0x70041102 rev=0x00 
hdr=0x00
vendor   = 'Creative Labs'
class= input device
[EMAIL PROTECTED]:1:0:  class=0x040100 card=0x00201102 chip=0x00021102 rev=0x04 
hdr=0x00
vendor   = 'Creative Labs'
device   = 'EMU10K1 Audio Chipset (SB Live!)'
class= multimedia
subclass = audio
[EMAIL PROTECTED]:1:1:  class=0x098000 card=0x00201102 chip=0x70021102 rev=0x01 
hdr=0x00
vendor   = 'Creative Labs'
device   = 'PCI Gameport Joystick'
class= input device
[EMAIL PROTECTED]:8:0:  class=0x02 card=0x01421028 chip=0x10398086 rev=0x81 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) PRO/100 VE Network Connect