Re: memory test off of a 'DISK-ON-KEY' device ... ?

2005-09-12 Thread Chris Howells
On Tuesday 13 September 2005 05:03, Marc G. Fournier wrote:
> I'm trying to run some tests on a new server that I'm putting together,
> and would like to run some memory tests ... I found memtest86, but it runs
> on floppies, which doesn't help me, since I don't have a floppy drive on
> this thing :(

The bootable CD version?

-- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://www.chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org


pgpN68ammNbs0.pgp
Description: PGP signature


usb advice

2005-09-12 Thread Jeff D. Hamann
FreeBSD-ers,

I'm putting together a new amd64 system and would like to get some
feedback on using USB for devices. I have a machine with six USB ports
(two on the front) and I would like to use them much as I would on a
windows machine. The machine will sit (mostly) as a headless server and
only rarely will I need to connect directly to the machine (mostly I will
connect using SSH). When I do connect directly, I would love to be able to
simply plug in a mouse and keyboard into the two ports on the front of the
machine (automount?) and then yank them out when I'm done with my chores.
Is this even possible?

More importantly, I would like to utilize a USB hard drive connection
(maybe one of those hard drive cases for laptops) for creating a nightly
backup of the data on my hard drive. I could store much more data than
either tape drive of DVD drive and could rotate a couple of disks for
additional security. Can FreeBSD handle this or would I seimply need to
install the addtional hard drive within the machine itself and use it as a
backup? This isn't really an option since the backup would need to go off
site (vault storage).

I get the feeling that USB support on FreeBSD isn't grand and I'm working
with FreeBSD 6.0BETA4 right now and when I tried to automount a USB flash
drive, the machine rebooted when I pulled the drive out of the port.

Comments?

Jeff.


-- 
Jeff D. Hamann
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon 97339-1421
phone 541-754-1428
fax 541-752-0288
[EMAIL PROTECTED]
www.forestinformatics.com

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


Re: memory test off of a 'DISK-ON-KEY' device ... ?

2005-09-12 Thread Will Maier
On Tue, Sep 13, 2005 at 01:03:08AM -0300, Marc G. Fournier wrote:

> I'm trying to run some tests on a new server that I'm putting
> together, and would like to run some memory tests ... I found
> memtest86, but it runs on floppies, which doesn't help me, since I
> don't have a floppy drive on this thing :(

The Linuxes tend to run memtest86 from the hard drive; you can do
that on FreeBSD as well. See the following relevant messages:

http://lists.freebsd.org/pipermail/freebsd-hackers/2004-February/005799.html
http://lists.freebsd.org/pipermail/freebsd-hackers/2004-February/005800.html

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


Re: Unable to Replace Currently Running IPF Rules With IPF Command

2005-09-12 Thread Bob Perry
On Tue, 2005-09-13 at 00:24 -0400, Parv wrote:
> in message <[EMAIL PROTECTED]>, wrote Bob Perry
> thusly...
> >
> > On Mon, 2005-09-12 at 03:54 -0400, Parv wrote:
> > > in message <[EMAIL PROTECTED]>, wrote Bob
> > > Perry thusly...
> > > >
> > > > I notice that when I attempt to replace the currently running
> > > > ruleset, my system (FreeBSD 5.4 RELEASE) is unable to
> > > > recognize the file name.  For instance, the command, "ipf -Fa
> > > > -f /etc/ipf.rules" results in "26: unknown words at end: [/],
> > > > ipf: /etc/ipf.rules: parse error (1), quitting."
> ...
> > > The error seems to be w/ the (rule on) line 26 of
> > > /etc/ipf.rules.
> ...
> > I placed the / at the end of a line thinking it was needed to
> > continue the rule on the next line.  Guess you don't need it using
> > ascii text.
> 
> As i put a rule completely on one line, i cannot comment whethere
> splitting is possible or if there will not be any errors after
> splittling.
> 
> 
>   - Parv
> 
I'm certainly no expert with vi, but I didn't receive the error once I
removed the / at the end of the line.  I just continued typing as if the
screen would never end.  Whatever didn't fit on a line simply continued
through on the next line.

Bob

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


Fixing a MBR (and more) that ??? trashed

2005-09-12 Thread Gayn Winters
I recently installed Windows 2000 and FreeBSD 5.4 on an old HP Pavilion
XG836.  [The FreeBSD installation was a breeze (Kudos to the FBSD
hardware team), while w2k was a disaster!  But, that's another story...]
For reasons of space and cabling (it is a very small box) I put the CD
as the master and the HDD as the slave on a single IDE cable so that the
HDD was ad1.  I dual booted using the FreeBSD Boot Manager.

Life was good until I wanted to add another disk.  The w2k operating
system, when booted, saw the new hardware, "installed" it, and demanded
that I reboot.  OK, but when I did, the FreeBSD boot manager was
trashed. Its menu looked like:

F1 ???
F2 FreeBSD
F5
Default: F#

I could not boot either operating system. In fact the only keys that did
anything were ctrl-alt-del!  I removed the new hardware and using Fixit
on the 5.4 release CD, I tried 
boot0cfg -B ad1  
This recovered the boot manager, and allowed me to boot w2k, but FBSD
wouldn't boot.  Pressing F2 in the boot menu still did nothing.

Fdisk indicated that the two slices were ok, and the disklabel in
sysinstall showed that the partitions in ad1s2 were fine, but the
mounting information was apparently gone.  If I went into Fixit,
disklabel (bsdlabel) indicated that the label on ad1s2 was bad.  I was a
little surprised, since I assumed (perhaps incorrectly) that all the
corruption that w2k caused was in the Master Boot Record. I tried fixing
it with the disklabel in sysinstall without luck.  Back in Fixit mode, I
could execute bsdlabel -w ad1s2, I couldn't get bsdlabel -e ad1s2 to
work since I couldn't get an editor to run.  EDITOR was /mnt/stand/vi,
which didn't work and blanking EDITOR didn't work either.  Reinstalling
FreeBSD brought everything back.

Questions:
1.  What did/do I need to do to completely fix the Master Boot Record?
(Short of reinstalling FreeBSD!)
2.  Was the disk label on the FreeBSD slice ad1s2 really corrupted?  If
so, I tend to doubt that w2k did it; hence, the culprit would be ... me!
What did I do?
3.  I couldn't get sysinstall to fix this mess - even though I thought
it was fixing the FreeBSD partition mount points and applying a new BSD
Boot Manager.  I couldn't get these "fixes" to "commit".  Can sysinstall
fix this mess without reinstalling?
4.  How do I avoid this situation when I add another disk? (Other than
trash the w2k partition.)

TIA,

-gayn





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


RE: Web forum tools -recomendations please

2005-09-12 Thread Chris St Denis
Pre 2.0 has some major security problems that have no patches available.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Virus
Sent: Monday, August 29, 2005 10:26 AM
To: Vizion; freebsd
Subject: Re: Web forum tools -recomendations please

Vizion wrote:
> Hi
> 
> I need to install a community forum system running in a apache/freebsd 
> environment. Any software suggestions  ideas and or experiences to share?
> 
> All contributions appreciated
> 
> david 


Invisionboard.  It's wonderful.  Version 2.0 and prior are/were free if 
you can find a link to aquire it.  New versions are commercial.

http://www.invisionboard.com/


-- 
Matt Virus ("veer-iss")
http://www.mattvirus.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: pptp microsoft vpn

2005-09-12 Thread WOB

I had a thread on 8/31/2005 about getting VPN to work, maybe it will help:

  "Is there a way to connect to a Microsoft VPN?"

I had left the domain out of my login.  I ending up using pptpclient. 


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


Re: Unable to Replace Currently Running IPF Rules With IPF Command

2005-09-12 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Bob Perry
thusly...
>
> On Mon, 2005-09-12 at 03:54 -0400, Parv wrote:
> > in message <[EMAIL PROTECTED]>, wrote Bob
> > Perry thusly...
> > >
> > > I notice that when I attempt to replace the currently running
> > > ruleset, my system (FreeBSD 5.4 RELEASE) is unable to
> > > recognize the file name.  For instance, the command, "ipf -Fa
> > > -f /etc/ipf.rules" results in "26: unknown words at end: [/],
> > > ipf: /etc/ipf.rules: parse error (1), quitting."
...
> > The error seems to be w/ the (rule on) line 26 of
> > /etc/ipf.rules.
...
> I placed the / at the end of a line thinking it was needed to
> continue the rule on the next line.  Guess you don't need it using
> ascii text.

As i put a rule completely on one line, i cannot comment whethere
splitting is possible or if there will not be any errors after
splittling.


  - Parv

-- 

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


pptp microsoft vpn

2005-09-12 Thread Gunter Wambaugh
I am sending this again because I haven't gotten any responses.  I  
refuse to believe that everyone on this mailing list has the good  
fortune of NOT using M$ VPNs.  Someone out there is just as unlucky  
as I am.  All I am asking for is an example ppp.conf, or  
alternative.  It doesn't have to be explained or annotated.  Like I  
said previously: Throw me a freakin' bone here!



I am having trouble connecting to my work VPN from my freebsd box.   
I seem to be authenticating okay, but I can't ping/ssh any of the  
boxes at work using hostnames or ips.  I have been able to connect  
from by ibook (Running OSX Tiger), so I am confident that its not a  
router/firewall or credentials issue.  Could someone please, please  
throw me a bone?  My Gentoo friends are starting to laugh at me  
because they got it working with "no problems".  The VPN server is  
using MPPE and MPPC.


My ppp.conf with some changes to protect the lame:
WORK:
set authname gwambau
set authkey SNIPPED
set timeout 0
set ifaddr 0 0
add 192.168.2.0/24 HISADDR
alias enable yes
disable ipv6cp

pptp WORK.COM WORK

ifconfig:
tun1: flags=8010 mtu 1500
inet 192.168.2.230 --> 192.168.2.6 netmask 0x

daemon.log:
Sep 10 11:50:25 isengard ppp[929]: Phase: deflink: his = CHAP 0x81,  
mine = none
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Input: CHALLENGE (16  
bytes from watchguard)
Sep 10 11:50:25 isengard ppp[929]: Phase: Chap Output: RESPONSE  
(gwambau)
Sep 10 11:50:26 isengard ppp[929]: Phase: Chap Input: SUCCESS  
(S=C8136D3178689C6C3AA34D5FCE2EA8344262A4EF)

Sep 10 11:50:26 isengard ppp[929]: Phase: deflink: lcp -> open
Sep 10 11:50:26 isengard ppp[929]: Phase: bundle: Network
Sep 10 11:50:27 isengard pptp[933]: anon log[decaps_gre:pptp_gre.c: 
404]: buffering packet 9 (expecting 8, lost or reordered)
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change  
route failed: errno: Network is unreachable
Sep 10 11:50:27 isengard ppp[929]: Warning: ff02:5::/32: Change  
route failed: errno: Network is unreachable


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


Re: grab video and sound bktr

2005-09-12 Thread Gunter Wambaugh
Ok, so I confirmed that the sound from my tv card is fed into the  
line in on my sound card.  I set the recording source to line and  
adjusted the volume levels so that my mixer looks is thus:

Recording source: line
Mixer vol  is currently set to  50:50
Mixer pcm  is currently set to  51:51
Mixer speaker  is currently set to  75:75
Mixer line is currently set to 100:100
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to 100:100
Mixer ogainis currently set to  50:50
Mixer line1is currently set to 100:100
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Mixer videois currently set to  75:75

With that, I can run motv and use sox to grab the audio from the  
VHS.  But that still doesn't help me get both streams.  I have tried  
transcode and nuvrec (as root) with absolutely NO AUDIO.  I can't be  
the only one that has done this before!  Just show me a working cmd,  
or point me to a mailing list where someone might actually  
knowPLEASE.


On Sep 11, 2005, at 2:17 PM, Roshan wrote:


On 9/10/05, Gunter Wambaugh <[EMAIL PROTECTED]> wrote:


I have taken on the task of converting my Father's old VHS tapes to
DVD.   I have connected my VCR to my Hauppauge card.  I can watch a
tape and hear sound with fxtv, but when I try to record with nuvrec,
ffmpeg, or transcode, I get no sound whatsoever.  I have tried
several variations of each command (as root too).  I have googled and
I have searched the mailing lists but nothing helps.  Can someone
here help me out?

FreeBSD 5.4-RELEASE-p7 #1: Sat Sep 10 10:34:31 CDT 2005

bktr0:  mem 0x8610-0x86100fff irq 17 at device 9.0
on pci0
bktr0: Hauppauge Model 44371 D123
bktr0: Detected a MSP3435G-B6 at 0x80
bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c
stereo, remote control.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"





Do you have a direct cable that connects your sound card to your
tv-card ?  If this is the case, the sound is just mere analog data
that goes out of the grabber card to the sound card, which means the
processor has nothing to do with sound. The system knows nothing about
the sound stream.
have a look at the wiring inside your pc to confirm that.
R



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


Firefox & Java

2005-09-12 Thread Beecher Rintoul
I am attempting to get java working with firefox. I have both jdk 1.4 and 1.5 
installed. Per google, I symlinked libjavaplugin_oji.so 
to /usr/X11R6/lib/browser_plugins, but firefox doesn't work with either jdk. 
No errors, just comes up saying plugin required. What else do I need to do? 
I'd like to use 1.5 if possible.

TIA,

Beech
-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpCeP6bMqml5.pgp
Description: PGP signature


memory test off of a 'DISK-ON-KEY' device ... ?

2005-09-12 Thread Marc G. Fournier


I'm trying to run some tests on a new server that I'm putting together, 
and would like to run some memory tests ... I found memtest86, but it runs 
on floppies, which doesn't help me, since I don't have a floppy drive on 
this thing :(


I've been doing my BIOS updates using a bootable USB Disk-on-Key device, 
and am wondering if anyone knows of a way of either getting memtest86 to 
"write" to this device *or* something else I can run that would do 
similar?


I have FreeBSD 4.11 already installed, so if there is something *good* 
that I can just install from ports and run on the command line, that is 
cool too ...


Thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unable to Replace Currently Running IPF Rules With IPF Command

2005-09-12 Thread Bob Perry
On Mon, 2005-09-12 at 03:54 -0400, Parv wrote:
> in message <[EMAIL PROTECTED]>,
> wrote Bob Perry thusly...
> >
> > I notice that when I attempt to replace the currently running
> > ruleset, my system (FreeBSD 5.4 RELEASE) is unable to recognize
> > the file name.  For instance, the command, "ipf -Fa -f
> > /etc/ipf.rules" results in "26: unknown words at end: [/], ipf:
> > /etc/ipf.rules: parse error (1), quitting."
> 
> There is no problem w/ the system not recoginizing the file per se,
> as ipf(8) parses some of the rules before line 26.  The error seems
> to be w/ the (rule on) line 26 of /etc/ipf.rules.  Care to show what
> you have in there?
> 
> 
>   - Parv
> 
Parv,
Someone clearly does not know how to use his vi editor very well.  I
placed the / at the end of a line thinking it was needed to continue the
rule on the next line.  Guess you don't need it using ascii text.

Thanks for taking the time to respond to the question.

Bob Perry

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


RE: FreeBSD 4.11 minimal install man pages

2005-09-12 Thread David Christensen
Gary W. Swearingen wrote:
> See what "manpath" command gives you.  If bad, read it's manpage.

Thanks for your reply.  :-)


The machine has been acting flaky, so I downloaded and burned the hard drive
diagnostic ISO and found out that *both* of my Quantum LPS 240's are bad.  That
would explain the man page issue, plus everything else.


David

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


HP Pavillion laptop work with any version of FreeBSD?

2005-09-12 Thread WOB


I have never been able to get through an install of either 5.4 or 6.0 on 
my HP Pavillion zv5445us laptop.  Trying to install 5.4 would poweroff 
the latop, and 6.0 hangs during the install.  I have not tried 4.10, and 
was hoping I wouldn't have to.  I had tried earlier version of 5.x when 
they were out (5.3 I think).


I posted the error messages to the mobile list, and didn't get a 
response - I guess no one has this type of laptop. 

Has anyone had any luck with any version of FreeBSD on any version of HP 
Pavillion laptop?



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


Re: Shell scripting question

2005-09-12 Thread Paul Schmehl
--On Monday, September 12, 2005 13:17:05 -0700 David Kirchner <[EMAIL PROTECTED]> 
wrote:



On 9/12/05, Paul Schmehl <[EMAIL PROTECTED]> wrote:

How can I strip the leading character from the string so that I can test
to see if it's zero?


This'll strip the 0, while leaving other numbers intact:

$ X=09
$ echo ${X#0}
9


Thanks, David.  That's exactly what I needed, and now that you've pointed 
it out to me, I see (reading the specs) how that is it.  I just didn't 
understand what I was reading before you pointed it out.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.4 SSH Timeout help

2005-09-12 Thread Sean Murphy

Will Maier wrote:

On Mon, Sep 12, 2005 at 11:24:19AM -0700, Sean Murphy wrote:


I SSH into the server with no problem and I'm able to do work
however when I walk away from my desk SSH closes the session.  It
seems the timeout is 5 or 10 min how can I change this setting for
all of our users?



What shell are the users using? If they're using 'tcsh' or certain
other shells, they might be running up against the shell's
autologout option. See the man page for tcsh (1):

|  The first word is the number of minutes of inactivity before

|  automatic logout. The optional second word is the number of minutes
|  of inactivity before automatic locking. When the shell
|  automatically logs out, it prints `auto-logout', sets the variable
|  logout to `automatic' and exits. When the shell automatically
|  locks, the user is required to enter his password to continue
|  working. Five incorrect attempts result in automatic logout. Set to
|  `60' (automatic logout after 60 minutes, and no locking) by default
|  in login and superuser shells, but not if the shell thinks it is
|  running under a window system (i.e., the DISPLAY environment
|  variable is set), the tty is a pseudo-tty (pty) or the shell was
|  not so compiled (see the version shell variable). See also the
|  afsuser and logout shell variables.

There was no timeout option with the shell I was using (the bourne shell 
/bin/sh)  However I did find the problem.  The router was timing out NAT 
translations after 10 min of no packets transversing.  This corresponded 
to my timeout.  I fixed the problem by editing the /etc/ssh/sshd_config


Uncommenting the line

ClientAliveInterval 300

and restarted sshd

This fixed my problem.

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


Re: pkg_add -r not working

2005-09-12 Thread Josh Ockert

jean wrote:


Hi All,

I have newly installed FreeBSD, but seem to be having a problem with
pkg_add, when I use pkg_add -r then package name 
I get an error:


pkg_add -r nano
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest
/nano.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Lates
t/nano.tbz' by URL

but if I use pkg_add and then the url it seems to retrieve the packge
with no problems

pkg_add
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/editors/n
ano-1.2.5.tbz
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/editors/n
ano-1.2.5.tbz... Done.
pkg_add: warning: package 'nano-1.2.5' requires 'gettext-0.14.5', but
'gettext-0.13.1_1' is installed

any help would be appreciated 


Thanks

Jean

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

 

packages-5-stable is maintained, i dont think packages-5.3-release still 
exists.


i believe the handbook tells you how to change the base address of 
pkg_add -r

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


Re: pkg_add -r not working

2005-09-12 Thread Kris Kennaway

On Mon, Sep 12, 2005 at 09:06:59PM +0100, jean wrote:
> Hi All,
>  
> I have newly installed FreeBSD, but seem to be having a problem with
> pkg_add, when I use pkg_add -r then package name 
> I get an error:
>  
> pkg_add -r nano
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest
> /nano.tbz: File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Lates
> t/nano.tbz' by URL
>  
> but if I use pkg_add and then the url it seems to retrieve the packge
> with no problems
>  
> pkg_add
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/editors/n
> ano-1.2.5.tbz
> Fetching
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/editors/n
> ano-1.2.5.tbz... Done.
> pkg_add: warning: package 'nano-1.2.5' requires 'gettext-0.14.5', but
> 'gettext-0.13.1_1' is installed
>  
> any help would be appreciated 

Those are different URLs, of course.  5.3 packages are no longer on
the main ftp site for space reasons, so if you want them you'll have
to look on other mirrors (try http://mirrorlist.freebsd.org to get
started).

Kris


pgp88HM6uS3Ek.pgp
Description: PGP signature


Re: Shell scripting question

2005-09-12 Thread David Kirchner
On 9/12/05, Paul Schmehl <[EMAIL PROTECTED]> wrote:
> How can I strip the leading character from the string so that I can test to
> see if it's zero?

This'll strip the 0, while leaving other numbers intact:

$ X=09
$ echo ${X#0}
9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pkg_add -r not working

2005-09-12 Thread jean
Hi All,
 
I have newly installed FreeBSD, but seem to be having a problem with
pkg_add, when I use pkg_add -r then package name 
I get an error:
 
pkg_add -r nano
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest
/nano.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Lates
t/nano.tbz' by URL
 
but if I use pkg_add and then the url it seems to retrieve the packge
with no problems
 
pkg_add
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/editors/n
ano-1.2.5.tbz
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/editors/n
ano-1.2.5.tbz... Done.
pkg_add: warning: package 'nano-1.2.5' requires 'gettext-0.14.5', but
'gettext-0.13.1_1' is installed
 
any help would be appreciated 
 
Thanks
 
Jean
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shell scripting question

2005-09-12 Thread Paul Schmehl
--On Monday, September 12, 2005 20:37:22 +0200 Frank Mueller - emendis GmbH 
<[EMAIL PROTECTED]> wrote:



To get the date in the right format you could simply use

date +%H

That solves one-half of the problem.  I would still have to get the hour 
from the file into the correct format.  Otherwise I'll simply move the 
error message to a different variable.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Floppy MBR? Compaq Proliant 3000

2005-09-12 Thread Michael W. Holdeman
I have a compaq proliant 3000 E39 and have FreeBSD installed to a 40G IDE 
drive I installed. It lets me install anyithing I want but the BIOS/Firmware 
will not support booting from teh IDE HD's. I want to keep the SCSI array for 
clean data on this server. How do I go about actually booting with a floppy, 
or CD and just have the boot manager point to the IDE HD?

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem with 'make installkernel' over NFS on FreeBSD 5.4

2005-09-12 Thread Stuart Chalmers
Oops,

Forgot to mention that after mounting /usr/src and
/usr/obj on the client machine, that I had issued the
'shutdown' command, as per the Handbook

Thanks!


--- Stuart Chalmers <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am in the process of trying to do an update of
> kernel and world on an old machine (machine A),
> using
> a newer, faster, machine (machine B).  Machine B is
> set up as an NFS server for machine A.
> 
> The /etc/exports file on machine B inculdes:
> 
> /usr -maproot=root:0 -alldirs -network 192.168.0.0
> -mask 255.255.255.0.
> 
> Mahine A currently has address 192.168.0.197. 
> Machine
> B has /usr mounted on a device, not, say, /usr/src.
> 
> I have followed the following process.
> 
> While logged onto machine B:
> cvsup /usr/src
> cd /usr/src
> make buildworld
> make buildkernel KERNCONF=
> 
> Once this is complete, I then log onto machine A and
> mount /usr/src and /usr/obj via NFS.  The /etc/fstab
> contains:
> 
> 192.168.0.2:/usr/src  /usr/src  nfs  ro,-i,noauto
> 192.168.0.2:/usr/obj  /usr/obj  nfs  rw,-i,noauto
> 
> (Machine B has 192.168.0.2 assigned to it's internal
> interface).  The KERNCONF file is visible on machine
> A, and the /etc/make.conf files are pretty similar,
> speifically:
> 
> CPUTYPE?=pentium
> CFLAGS= -O2 -fno-strict-aliasing -pipe
> COPTFLAGS= -O2 -fno-strict-aliasing -pipe
> NOPROFILE=true
> COMPAT4X=true
> KERNCONF=
> 
> However, when I cd to (the NFS mounted) /usr/src on
> machine A and enter ...
> 
>
-->
shutdown
-->
>
> make installkernel KERNCONF=
> 
> ... the install fails.
> 
> From what I can see, the program /usr/bin/install
> core
> dumps with exit status 4.  Looking at the man page
> for
> install(1) it seems that there is an issue with
> fchflags(2) over NFS.
> 
> The questions are then, is my guess correct, and is
> there a work around?
> 
> Also, for info, I'm trying to install 5.4-RELEASE-P7
> onto A, while B has 5.4-RELEASE-p6 as it's kernel,
> but
> DOES have the FreeBSD-SA-05:20.cvsbug update.
> 
> Any help gratefully received ...
> 
> Thanks.
> 
> PS.  I did use machine B as the client and machine A
> as the server, mounted and installed using DESTDIR,
> but there were a whole lot of warnings about (I
> think)
> chflags which certainly didn't look right!
> 
> 
>   
>   
>   
>
___
> 
> Yahoo! Messenger - NEW crystal clear PC to PC
> calling worldwide with voicemail
> http://uk.messenger.yahoo.com
> 






___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which CPUTYPE?

2005-09-12 Thread Charles Swiger

On Sep 12, 2005, at 1:58 PM, Kiffin Gish wrote:
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1993.54 686- 
class CPU)


and for my web server, dmesg shows the same thing although is has a

AMD Sempron 1800BOX3100+

I see in the documentation that CPUTYPE=i686 is for older Pentium  
types, so

does that mean I should use CPUTYPE=i686 (even though dmesg shgows
'686-class CPU')

And my kernel file then? cpu I686_CPU or I586_CPU.

What should I use for my laptop? For my web server?


Both of your machines are 686-class machines, using -mpentium or - 
mpentiumpro would be fine.  There is an advantage to not compiling  
the kernel with 386 and 486 suppport, but after that the difference  
between 586 and 686 is fairly minimal


--
-Chuck


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


Re: 5.4 SSH Timeout help

2005-09-12 Thread Will Maier
On Mon, Sep 12, 2005 at 11:24:19AM -0700, Sean Murphy wrote:
> I SSH into the server with no problem and I'm able to do work
> however when I walk away from my desk SSH closes the session.  It
> seems the timeout is 5 or 10 min how can I change this setting for
> all of our users?

What shell are the users using? If they're using 'tcsh' or certain
other shells, they might be running up against the shell's
autologout option. See the man page for tcsh (1):

|  The first word is the number of minutes of inactivity before
|  automatic logout. The optional second word is the number of minutes
|  of inactivity before automatic locking. When the shell
|  automatically logs out, it prints `auto-logout', sets the variable
|  logout to `automatic' and exits. When the shell automatically
|  locks, the user is required to enter his password to continue
|  working. Five incorrect attempts result in automatic logout. Set to
|  `60' (automatic logout after 60 minutes, and no locking) by default
|  in login and superuser shells, but not if the shell thinks it is
|  running under a window system (i.e., the DISPLAY environment
|  variable is set), the tty is a pseudo-tty (pty) or the shell was
|  not so compiled (see the version shell variable). See also the
|  afsuser and logout shell variables.

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

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


Re: Shell scripting question

2005-09-12 Thread Frank Mueller - emendis GmbH

To get the date in the right format you could simply use

date +%H

Greetz,

Ice

Paul Schmehl schrieb:
I've written a script to check apache to make sure it's running *and* 
logging.  One of the variables I create is named DATEHOUR, and it's 
created by parsing the output of date in such a way that all I get is 
the hour (using awk and cut.)  I'm comparing DATEHOUR to LOGHOUR, which 
represents the the most recent hour that the log was written to


I've run in to a small problem I'm not sure how to solve.  When the hour 
is less than 10, the script generates an arithmetic expression error.


Here's part of the script so you can visualize what I'm trying to do:

PROG=/usr/local/sbin/apachectl
LOG=/var/log/httpd-access.log
PID=`/bin/ps -auxw | grep http | grep root | grep -v grep | awk '{print 
$2}'`

DATE=`date | awk '{print $4}' | cut -d':' -f1,2`
LOGDATE=`ls -lsa ${LOG} | awk '{print $9}'`
DATEHOUR=`echo ${DATE} | cut -d':' -f1`
LOGHOUR=`echo ${LOGDATE} | cut -d':' -f1`
DATEMIN=`echo ${DATE} | cut -d':' -f2`
LOGMIN=`echo ${LOGDATE} | cut -d':' -f2`
LOGGING=1

if [ $((DATEMIN)) -gt $((LOGMIN+15)) ]; then
 LOGGING=0
elif [ $((DATEHOUR)) -ne $((LOGHOUR)) ] && [ $((DATEMIN+60)) -gt 
$((LOGMIN+15)) ]; then

 LOGGING=0
fi

When DATEHOUR is less than 10 (01-09), the script generate an arithmetic 
expression, variable substition error.  I'm pretty certain it's because 
of the leading zero, so I'm trying to figure out how to strip that out.  
I thought that parameter expansion would do it, but I get some odd (to 
me) results.


Assume DATE is 09.

echo ${DATE:0,0}
09
echo ${DATE:0,1}
9
echo ${DATE:1,1}
9

I would have thought that 0,0 would return only the first character and 
1,1 would return only the second, but that is obviously not the case.


How can I strip the leading character from the string so that I can test 
to see if it's zero?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


--
Frank Mueller
eMail: [EMAIL PROTECTED]
Mobil: +49.177.6858655
Fax: +49.951.3039342

emendis GmbH
Hofmannstr. 89, 91052 Erlangen, Germany
Fon: +49.9131.817361
Fax: +49.9131.817386

Geschaeftsfuehrer: Gunter Kroeber, Volker Wiesinger
Sitz Erlangen, Amtsgericht Fuerth HRB 10116
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which CPUTYPE?

2005-09-12 Thread richard cinema
or if you can access a windows install, use "cpuz" do it

On 9/13/05, Kiffin Gish <[EMAIL PROTECTED]> wrote:
> 
> I'm a bit confused which CPUTYPE I should be using in the make.conf file.
> 
> For my Dell Inspiron 8200 laptop, dmesg shows the following:
> 
> CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1993.54 686-class CPU)
> 
> and for my web server, dmesg shows the same thing although is has a
> 
> AMD Sempron 1800BOX3100+
> 
> I see in the documentation that CPUTYPE=i686 is for older Pentium types, 
> so
> does that mean I should use CPUTYPE=i686 (even though dmesg shgows
> '686-class CPU')
> 
> And my kernel file then? cpu I686_CPU or I586_CPU.
> 
> What should I use for my laptop? For my web server?
> 
> Thanks a lot in advance.
> 
> --
> Kiffin Rex Gish
> Gouda, The Netherlands
> 
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which CPUTYPE?

2005-09-12 Thread richard cinema
try the "cpucaps",which is good for check your cpu abilities.

On 9/13/05, Kiffin Gish <[EMAIL PROTECTED]> wrote:
> 
> I'm a bit confused which CPUTYPE I should be using in the make.conf file.
> 
> For my Dell Inspiron 8200 laptop, dmesg shows the following:
> 
> CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1993.54 686-class CPU)
> 
> and for my web server, dmesg shows the same thing although is has a
> 
> AMD Sempron 1800BOX3100+
> 
> I see in the documentation that CPUTYPE=i686 is for older Pentium types, 
> so
> does that mean I should use CPUTYPE=i686 (even though dmesg shgows
> '686-class CPU')
> 
> And my kernel file then? cpu I686_CPU or I586_CPU.
> 
> What should I use for my laptop? For my web server?
> 
> Thanks a lot in advance.
> 
> --
> Kiffin Rex Gish
> Gouda, The Netherlands
> 
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Shell scripting question

2005-09-12 Thread Paul Schmehl
I've written a script to check apache to make sure it's running *and* 
logging.  One of the variables I create is named DATEHOUR, and it's created 
by parsing the output of date in such a way that all I get is the hour 
(using awk and cut.)  I'm comparing DATEHOUR to LOGHOUR, which represents 
the the most recent hour that the log was written to


I've run in to a small problem I'm not sure how to solve.  When the hour is 
less than 10, the script generates an arithmetic expression error.


Here's part of the script so you can visualize what I'm trying to do:

PROG=/usr/local/sbin/apachectl
LOG=/var/log/httpd-access.log
PID=`/bin/ps -auxw | grep http | grep root | grep -v grep | awk '{print 
$2}'`

DATE=`date | awk '{print $4}' | cut -d':' -f1,2`
LOGDATE=`ls -lsa ${LOG} | awk '{print $9}'`
DATEHOUR=`echo ${DATE} | cut -d':' -f1`
LOGHOUR=`echo ${LOGDATE} | cut -d':' -f1`
DATEMIN=`echo ${DATE} | cut -d':' -f2`
LOGMIN=`echo ${LOGDATE} | cut -d':' -f2`
LOGGING=1

if [ $((DATEMIN)) -gt $((LOGMIN+15)) ]; then
 LOGGING=0
elif [ $((DATEHOUR)) -ne $((LOGHOUR)) ] && [ $((DATEMIN+60)) -gt 
$((LOGMIN+15)) ]; then

 LOGGING=0
fi

When DATEHOUR is less than 10 (01-09), the script generate an arithmetic 
expression, variable substition error.  I'm pretty certain it's because of 
the leading zero, so I'm trying to figure out how to strip that out.  I 
thought that parameter expansion would do it, but I get some odd (to me) 
results.


Assume DATE is 09.

echo ${DATE:0,0}
09
echo ${DATE:0,1}
9
echo ${DATE:1,1}
9

I would have thought that 0,0 would return only the first character and 1,1 
would return only the second, but that is obviously not the case.


How can I strip the leading character from the string so that I can test to 
see if it's zero?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.4 SSH Timeout help

2005-09-12 Thread Sean Murphy

I am using FreeBSD 5.4

I SSH into the server with no problem and I'm able to do work however 
when I walk away from my desk SSH closes the session.  It seems the 
timeout is 5 or 10 min how can I change this setting for all of our users?



Thanks,

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


Which CPUTYPE?

2005-09-12 Thread Kiffin Gish
I'm a bit confused which CPUTYPE I should be using in the make.conf file.

For my Dell Inspiron 8200 laptop, dmesg shows the following:

CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1993.54 686-class CPU)

and for my web server, dmesg shows the same thing although is has a 

AMD Sempron 1800BOX3100+

I see in the documentation that CPUTYPE=i686 is for older Pentium types, so
does that mean I should use CPUTYPE=i686 (even though dmesg shgows
'686-class CPU')

And my kernel file then? cpu I686_CPU or I586_CPU.

What should I use for my laptop? For my web server?

Thanks a lot in advance.

-- 
Kiffin Rex Gish
Gouda, The Netherlands

 


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


Re: gcc broken in my userland

2005-09-12 Thread Kris Kennaway
On Mon, Sep 12, 2005 at 03:04:07PM +0200, [EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> i am running FreeBSD 5.4-RELEASE-p6. If i try ro upgrade a port, i receive
> a bus error from gcc.
> So i installed the gcc34 from the ports, did the changes in /etc/make.conf,
> and upgrading of the ports works fine.
> The problem is, how to build the world if the gcc in the base system is
> broken?
> I get this error:
> 
> cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c
> /usr/src/games/fortune/strfile/strfile.c
> /usr/src/games/fortune/strfile/strfile.c: In function `main':
> /usr/src/games/fortune/strfile/strfile.c:260: internal compiler error: Bus
> error
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
> 
>  So, how to fix the gcc in the basesystem?

Reinstall from backup or install media, or you may be able to repair
it by setting CC to point to the gcc34 binary and CXX to the g++34,
and doing a buildworld.  This is unsupported though and may not work,
and may make things worse.

Kris


pgpchJqCNeAJ5.pgp
Description: PGP signature


Re: Laptop questions

2005-09-12 Thread Derrill Guilbert

Jerry McAllister wrote:


in message <[EMAIL PROTECTED]>, wrote
Jerry McAllister thusly...
   


I have had good success using Partition Magic from PowerQuest to
manipulate disk slices including NTFS types.
 


Same here.


   


Unless you are working on a separate disk from the one you are
booting the machine you cannot run from the installed copy.   To
work on the main disk (most likely your case with a laptop), you
must make the boot floppies it tells about in the Partition Magic
documentation and then boot from them to do the disk slice
manipulation.
 


Well, i was able to manipulate the slices while Partition Magic 6.x
was running on MS Windows (XP, and probably Me, don't remember about
98), w/o use of floppies or CDs.
   



I could do some things, but not what I needed.   Using
the floppies made it all work and it was quite straightforward.
I was changing slice sizes (shrinking) and slice types.   So, ???

jerry

 


 - Parv
   

An all windows issue but, word of warning with Partition Magic. I was 
attempting to merge two slices into one larger with PM versions 7 and 
version 8, two different PCs (same version MSI MB and Maxtor hdd though, 
so I'm guessing the issue is one of them) and both failed. All NTFS, 
WinXP. Be sure to do your backups and whatnot - in both cases the larger 
second slice was lost completely and backups were the only thing that 
saved me. Ended up wipe and reload on both.


Funny thing is, my boss has reported great success with both versions on 
various MSI mbs. So, I dunno.


Derrill

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


Re: PL 5000 Random Reboots

2005-09-12 Thread Robert Slade
On Sun, 2005-09-11 at 09:56, Robert Slade wrote:
> Hi,
> 
> I have been having problems with random reboots when using the SMP
> Kernel on the above Quad processor machine. It occurs with bot 5.4 and
> 6.0B4. It does not happen with a single processor kernel, well not in
> the last 12 hours.
> 
> Searching the mailing list and google has thrown up a number of possible
> causes:
> 
> a. there was an issue with the SMP kernel under load in 5.3 but the
> errata says the fix was incorporated in 5.4;
> 
> b. there appears to be some problems with with the ACPI with some
> machines. Unfortunately, the SMP kernel needs ACPI so turning it off is
> not an option. 
> 
> c. there appears to be an issue with some network cards and USB with
> interupt 'storms'. The machine has 2 network cards both identified in
> dmesg as Compaq Netelligent 10/100, athough only one is in use. I am
> getting tl0: tx underrun -- increasing tx threshold to 512 bytes when
> using vncserver to run xwindows with KDE which maybe related.
> 
> It looks like the most likely cause is ACPI, SMP or both, but as ACPI
> relates to interups, the interup 'storm' issue could be impacting.
> However I do not know enough about the workings of ACPI etc to be able
> to judge this. It looks to me that there is a number of things I could
> do to isolate the problem:
> 
> 1. try building a kernel without SMP but with ACPI to see what effect
> that has. Question is is this possible with 6.0B4?
> 
> 2. if the above gives a problem try changing the network cards for
> another type.
> 
> 3. fix the underrun issue but I am not sure how to do that.
> 
> I would be grateful for any comments ideas on the way forward as the
> machine is quite slow without the SMP kernel.
> 
> Thanks
> 
> Rob  

I know replying to you own messages is a sign of something or other. I
have tried the machine with SMP disabled in the kernel and ACPI only. It
has been running for over 22 hours with any problems.

Next step - trying a new kernel with SMP enabled.

Rob

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


problem with 'make installkernel' over NFS on FreeBSD 5.4

2005-09-12 Thread Stuart Chalmers
Hi,

I am in the process of trying to do an update of
kernel and world on an old machine (machine A), using
a newer, faster, machine (machine B).  Machine B is
set up as an NFS server for machine A.

The /etc/exports file on machine B inculdes:

/usr -maproot=root:0 -alldirs -network 192.168.0.0
-mask 255.255.255.0.

Mahine A currently has address 192.168.0.197.  Machine
B has /usr mounted on a device, not, say, /usr/src.

I have followed the following process.

While logged onto machine B:
cvsup /usr/src
cd /usr/src
make buildworld
make buildkernel KERNCONF=

Once this is complete, I then log onto machine A and
mount /usr/src and /usr/obj via NFS.  The /etc/fstab
contains:

192.168.0.2:/usr/src  /usr/src  nfs  ro,-i,noauto
192.168.0.2:/usr/obj  /usr/obj  nfs  rw,-i,noauto

(Machine B has 192.168.0.2 assigned to it's internal
interface).  The KERNCONF file is visible on machine
A, and the /etc/make.conf files are pretty similar,
speifically:

CPUTYPE?=pentium
CFLAGS= -O2 -fno-strict-aliasing -pipe
COPTFLAGS= -O2 -fno-strict-aliasing -pipe
NOPROFILE=true
COMPAT4X=true
KERNCONF=

However, when I cd to (the NFS mounted) /usr/src on
machine A and enter ...

make installkernel KERNCONF=

... the install fails.

>From what I can see, the program /usr/bin/install core
dumps with exit status 4.  Looking at the man page for
install(1) it seems that there is an issue with
fchflags(2) over NFS.

The questions are then, is my guess correct, and is
there a work around?

Also, for info, I'm trying to install 5.4-RELEASE-P7
onto A, while B has 5.4-RELEASE-p6 as it's kernel, but
DOES have the FreeBSD-SA-05:20.cvsbug update.

Any help gratefully received ...

Thanks.

PS.  I did use machine B as the client and machine A
as the server, mounted and installed using DESTDIR,
but there were a whole lot of warnings about (I think)
chflags which certainly didn't look right!





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: centralized address book

2005-09-12 Thread Erik Norgaard

Jerod Prothe wrote:
My organization lost its Exchange server, and now users are wanting to 
have a common address book that they call all use, so anyone can start 
typing "Joe Blo.." and his address pops up in their mail client.  
They're all using Outlook and I was thinking - is this a job for 
openldap?  I haven't done an ldap installation before, but I thought 
this would be a good use for it.  Am I correct in assuming that?

Thanks.


Yes! And googling openldap + addressbook you get this article on onlamp:

  http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html

Have fun! :-)

But before you start, ask yourself: Are there other stuff you can pack 
into this directory? eg. user administration?


Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recompiled freebsd 5.4 cannot boot up with geom_mirror

2005-09-12 Thread Ng Pek Yong


--- Christian Hiris <[EMAIL PROTECTED]> wrote:

> On Saturday 10 September 2005 04:06:04, Ng Pek Yong
> wrote:
> > --- Christian Hiris <[EMAIL PROTECTED]> wrote:
> > > On Friday 09 September 2005 17:04:17, Ng Pek
> Yong
> > >
> > > wrote:
> > > > Hi,
> > > >
> > > > I am having some problem with geom_mirror on a
> > >
> > > freebsd
> > >
> > > > 5.4.
> > > >
> > > > I followed the steps described in
> > > > http://people.freebsd.org/~rse/mirror/
> > > > and got geom_mirror up on a stock freebsd 5.4,
> > > > including / partition itself.
> > > >
> > > > The problem came when I compiled the kernel.
> After
> > > > pulling in the latest source tree, compiling
> and
> > > > installing the new kernel, I find that the OS
> can
> > >
> > > no
> > >
> > > > longer bootup.
> > > >
> > > > I did with 2 kernel configurations. The 1st is
> > > > completely identical to the stock kernel
> config.
> > >
> > > The
> > >
> > > > 2nd has an extra  line "options GEOM_MIRROR".
> > > > Both failed to boot up although the errors are
> > > > different.
> > >
> > > You don't need "options GEOM_MIRROR" in your
> > > kernelconfig to run gmirror.
> > >
> > > > 1st config
> > > > --
> > > > The boot process got stucked when it tries to
> > >
> > > mount /
> > >
> > > > The error message is something like this
> > > > Mount root from ufs:/dev/mirror/gm0s1a
> > > > setrootbyname failed
> > > > ffs_mountroot: can't find rootvp
> > > > Root mount failed: 6
> > >
> > > Maybe there is a typo in your /etc/fstab. Enter
> a
> > > "?" here to get a list of
> > > all your geom devices. Then try to mount / from
> the
> > > correct device by
> > > entering "ufs:mirror/your_root_device" at the
> > > "mountroot>" prompt.
> >
> > I can boot up with kernel.old without problem, so
> > there is no typo.
> >
> > Anyway, I tried your method and list the devices.
> I
> > get something like
> >
> >   List of GEOM managed disk devices:
> > ad1s1f..ad1s1a ad0s1f..ad0s1a acd0 ad1s1 ad0s1
> ad1
> > ad0 fd0
> >
> > Obviously something is wrong here. I am supposed
> to
> > get  devices that look like 'gm0s1a' etc
> >
> > Let me emphasize again. I haven't modified
> anything to
> > the kernel, not even the kernel options. How could
> it
> > be so wrong then?
> 
> Did you run "make buildworld" before you run "make
> buildkernel"?
> Maybe kernel and world are out of sync on your
> system.
> 

Yes, that was the problem. 
Looks like I have a lot to learn about FreeBSD ;)

Thanks for helping!

Regards,
-PY

> Cheers,
> ch
> 
> -- 
> Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID
> 0x3BCA53BE 
> OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and
> http://pgp.mit.edu
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


centralized address book

2005-09-12 Thread Jerod Prothe
My organization lost its Exchange server, and now users are wanting to have a 
common address book that they call all use, so anyone can start typing "Joe 
Blo.." and his address pops up in their mail client.  They're all using Outlook 
and I was thinking - is this a job for openldap?  I haven't done an ldap 
installation before, but I thought this would be a good use for it.  Am I 
correct in assuming that?

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


Re: one answer

2005-09-12 Thread Bob Johnson
On 9/11/05, legalois <[EMAIL PROTECTED]> wrote:
> legalois wrote:
> > I've been using FreeBSD for quite a few years, and I've sometimes 
> > wondered but never asked before:
> > In the FreeBSD standard distribution, why is the user root always named 
> > Charlie?
> > There must be some bit of Unix lore or anecdote that explains it.
> 
> I found one answer, but not really an explanation.
> According to Wikipedia (http://en.wikipedia.org/wiki/Charlie_Root)
> The name of a famous American baseball player (1899-1970) "...gives rise 
> to the name used for many "root" system accounts under the UNIX 
> operating system."
> But that does not explain when, how or why?

When you find out, please update the Wikipedia entry!  You ought to be
able to track down who made that edit in Wikipedia, and ask them for
more details.

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


Re: tftpd does not respond to connections

2005-09-12 Thread cpghost
On Sat, Sep 10, 2005 at 10:01:23PM -0700, Aaron Glenn wrote:
> This has got me thoroughly stumped. On both stock FreeBSD 4.9 and
> FreeBSD 5.4 installs, tftpd does not and will not work. I uncomment
> out the first tftpd line found in /etc/inetd.conf, kill -HUP
> `/var/run/inetd.pid` and then attempt to connect to port 69. I've
> tried:
> 
> - telnetting to localhost and the IP assigned to the network
> interface, to no avail

You can't "connect" to a UDP server...

> - binding inetd to a specific IP with the -a switch and telnetting to
> that, to no avail
> - using the tftp client to both localhost and IP, both with inetd
> binding to all, and a specific IP
> 
> I've tried it on both a 4.9 box, and a 5.4 box, both -RELEASE. Clearly
> I'm missing something but I haven't seen any howto, man page, or
> document explaining the need to do anything beyond uncommenting the
> inetd.conf line and -HUP'ing the inetd process. In both cases (4.9 and
> 5.4), netstat shows the tftpd process, but never in a LISTEN state.

You mean something like this:
  udp4   0  0  net4801-2.tftp *.*
without the 'LISTEN' keyword? Perhaps because it's UDP?
Anyway, that's from a TFTPD server, which is used by diskless
clients. It works just fine.

> Please CC as I'm not subscribed to -questions (but at this rate I
> probably should be...)
> 
> regards,
> aaron.glenn

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox and Thunderbird

2005-09-12 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

alias firefox '/bin/rm ~/wherever/you/get/to/compreg.dat;
/usr/X11R6/bin/firefox'

and similar for thunderbird.
- -

I'm currently using your suggestion Alex and thunderbird w/ enigmail
works perfectly

Here's the log when I run the alias

Registering Enigmail account manager extension.
Enigmail account manager extension registered.
Registering Enigmail account manager extension.
Enigmail account manager extension registered.

Here's what my compreg.dat contains

[HEADER]
Version,0,5

[COMPONENTS]
rel:libjar50.so,1126524961000
rel:libxpinstall.so,1126529432000,libmozjs.so libxpcom.so libplds4.so
libplc4.so libnspr4.so libxpcom_compat.so libz.so
rel:nsCloseAllWindows.js,1020130519000
rel:libmyspell.so,1126529573000,libxpcom.so libplds4.so libplc4.so
libnspr4.so
rel:nsDownloadProgressListener.js,108395000
rel:libhtmlpars.so,112652549,libxpcom.so libplds4.so libplc4.so
libnspr4.so
rel:libwidget_gtk2.so,1126526029000,libxpcom.so libplds4.so libplc4.so
libnspr4.so libgkgfx.so libgtkxtbin.so libX11.so lib
rel:libgfxxprint.so,1126525579000
rel:libmailcomps.so,1126531061000,libxpcom_compat.so libxpcom.so
libplds4.so libplc4.so libnspr4.so
rel:libimport.so,1126530946000,libxpcom.so libplds4.so libplc4.so
libnspr4.so libxpcom_compat.so
rel:libimglib2.so,1126525709000,libjpeg.so libpng.so libz.so libgkgfx.so
libxpcom.so libplds4.so libplc4.so libnspr4.so
rel:mdn-service.js,1083194832000
rel:libgklayout.so,1126528207000,libgkgfx.so libxpcom.so libplds4.so
libplc4.so libnspr4.so libmozjs.so libgtk-x11-2.0.so l
rel:libpipboot.so,1126529047000
rel:libeditor.so,1126528692000,libgkgfx.so libxpcom.so libplds4.so
libplc4.so libnspr4.so libmozjs.so
rel:libdocshell.so,1126528329000,libmozjs.so libxpcom.so libplds4.so
libplc4.so libnspr4.so libgtk-x11-2.0.so libgdk-x11-2.
rel:libmozldap.so,1126529028000,libxpcom.so libplds4.so libplc4.so
libnspr4.so libldap50.so liblber50.so libprldap50.so
rel:nsExtensionManager.js,1126529321000
rel:libi18n.so,1126524948000,libxpcom.so libplds4.so libplc4.so libnspr4.so
rel:libxpcom_compat_c.so,1126524539000,libxpcom.so libplds4.so
libplc4.so libnspr4.so libxpcom_compat.so
abs:/home/mic/.thunderbird/no3kddh9.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so,111
rel:libcomposer.so,1126528723000,libxpcom.so libplds4.so libplc4.so
libnspr4.so
rel:libmail.so,1126530998000,libmozjs.so libxpcom.so libplds4.so
libplc4.so libnspr4.so libxpcom_compat.so
rel:libnecko2.so,1126525277000,libxpcom.so libplds4.so libplc4.so
libnspr4.so
rel:libuconv.so,1126524894000,libxpcom.so libplds4.so libplc4.so libnspr4.so
rel:libwalletviewers.so,1126529521000,libxpcom.so libplds4.so libplc4.so
libnspr4.so
rel:libaccessibility.so,1126529007000,libgkgfx.so libxpcom.so
libplds4.so libplc4.so libnspr4.so libgtk-x11-2.0.so libgdk-x
rel:libxremoteservice.so,1126529266000
rel:librdf.so,1126525418000,libxpcom.so libplds4.so libplc4.so libnspr4.so
rel:nsProxyAutoConfig.js,1094080046000
rel:libwebsrvcs.so,112652977,libxpcom.so libplds4.so libplc4.so
libnspr4.so libz.so libmozjs.so
rel:nsInterfaceInfoToIDL.js,1034718895000

I'm not sure if this is the problem
abs:/home/mic/.thunderbird/no3kddh9.default/extensions/{847b3a00-7ab1-11d4-8f02-006008948af5}/components/libenigmime.so,111

thanks,

Michael Louie Loria



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment: Google, Skype, Yahoo ID: michaellouieloria

iQEVAwUBQyWLVLXBHi2y3jwfAQrT8gf+O1TCT0b2WkxS0Oxv2xi/nDR/SWuWhK4p
QNQcQFUGrYX5KEWBJpWYa/7R38w50OpdRursNiGeeXq3GUWLZdieYv//Gdwntvxi
RAWOZGrNIgWvP4k6Zn1S94wGgSAzunY2if1J2edmCHyxWbsxe8jesSs7ZFO9uu8u
zEbztM22zWejzRJeLO74vbP+is3fWYv+wxkRrAIwLUqgkBAwaBCt7nPlZTr9X5ZJ
CLLi7q9YrthPNx54TJuyvCuLMIrFcoGcy4ogR2YpKJ1I69SScIS7I+HDEize9qaB
9AX7NjplV4bcYk7sT5Mi+C2LpLzXA3/nA63QaAl05BjpqttxAfenSA==
=BuCT
-END PGP SIGNATURE-


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.4-RELEASE and VMWare 3.2.1 build-2242

2005-09-12 Thread Matthias Apitz

Hi,

I've compiled the VMware support in 5.4R from the ports collection
/usr/ports/emulators/vmware3:

PORTNAME=   vmware3
PORTVERSION=3.2.1.2242

After installing and fixing a bug in /usr/local/etc/rc.d/001.vmware.sh
where is a line

   networking=

and later asked the variable with:

   if [ $networking -eq 1 ]; then
   

I've loaded the kernel modules and Linux procfs:

# kldstat
Id Refs AddressSize Name
 1   12 0xc040 5dde24   kernel
 21 0xc09de000 47e4 if_tap.ko
 31 0xc09e3000 d164 kqemu.ko
 4   14 0xc09f1000 56270acpi.ko
 55 0xc1484000 17000linux.ko
 61 0xc14dd000 8000 vmmon_up.ko
 71 0xc14e5000 2000 vmnet.ko
 81 0xc1504000 2000 rtc.ko
# kldunload acpi.ko
# kldload aio.ko
# mount_linprocfs linprocfs /compat/linux/proc
# /usr/local/etc/rc.d/001.vmware.sh start
# uname -a
FreeBSD almare.Sisis.de 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 
UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Then I can launch 'vmware', create a config of some VM but
on power-on it panic's the VMware with:

$ vmware
Setting TMPDIR=/var/tmp.
VMware PANIC: (ide0:0) NOT_IMPLEMENTED F(831):712
VMware PANIC: (VMX) AIO: NOT_IMPLEMENTED F(831):712

I googled a little bit around and found some hints about running
a tool from vmware-any-any-update93.tar.gz but this later only
paniced the FreeBSD kernel. Do I miss something?

The goal is that I want to switch over from SuSE 8.1 to FreeBSD
and if possible copy over as well my VWware disks from the old
installation to VMware on FreeBSD. Will this work?

matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/~guru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems making CD backups

2005-09-12 Thread Fabian Keil
Jonathon McKitrick <[EMAIL PROTECTED]> wrote:

> I'm trying to use a cron script with mkisofs and burncd every weekend.  But
> after taking a long time to do nothing, burncd never returns from burning and
> fixating the CD, and looking at the CD itself shows no recorded area
> reflecting.  Trying to mount the CD gives a 'device busy' error.
> 
> Is my CD-R just being difficult?  Or could I be doing something wrong?  Where
> should I start looking?  Or could I be doing something wrong?  Where should I
> start looking?

Try if cdrecord works better. 

Fabian
-- 
http://www.fabiankeil.de/


pgpWwOHXoH19N.pgp
Description: PGP signature


gcc broken in my userland

2005-09-12 Thread Axel . Gruner

Hi,

i am running FreeBSD 5.4-RELEASE-p6. If i try ro upgrade a port, i receive
a bus error from gcc.
So i installed the gcc34 from the ports, did the changes in /etc/make.conf,
and upgrading of the ports works fine.
The problem is, how to build the world if the gcc in the base system is
broken?
I get this error:

cc -O -pipe  -I/usr/obj/usr/src/i386/legacy/usr/include -c
/usr/src/games/fortune/strfile/strfile.c
/usr/src/games/fortune/strfile/strfile.c: In function `main':
/usr/src/games/fortune/strfile/strfile.c:260: internal compiler error: Bus
error
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

 So, how to fix the gcc in the basesystem?

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


make creates a make.core each time

2005-09-12 Thread james.power
Hi,

I was trying to install rote and anyterm. 

I tried to do a make on the /usr/ports/devel/rote
 I got the following error.

 
 [EMAIL PROTECTED] rote]# make
=> rote-0.2.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from
http://heanet.dl.sourceforge.net/sourceforge/rote/.
rote-0.2.6.tar.gz 100% of   60 kB  115 kBps
===>  Extracting for rote-0.2.6
=> Checksum OK for rote-0.2.6.tar.gz.
===>  Patching for rote-0.2.6
===>  Applying FreeBSD patches for rote-0.2.6
===>   rote-0.2.6 depends on executable: gmake - found
===>  Configuring for rote-0.2.6
configure: WARNING: you should use --build, --host, --target
checking for i386-portbld-freebsd4.11-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for initscr in -lncurses... yes
checking for forkpty in -lutil... yes
checking for memset... yes
checking for select... yes
checking for setenv... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking for pid_t... yes
checking return type of signal handlers... void
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rote-config
===>  Building for rote-0.2.6
cc -O -pipe  -Wall -fPIC -MM inject.c inject_csi.c rote.c rote_keymap.c
>.depends
cc -O -pipe  -Wall -fPIC   -c -o inject.o inject.c
inject.c: In function `cursor_line_down':
inject.c:30: `true' undeclared (first use in this function)
inject.c:30: (Each undeclared identifier is reported only once
inject.c:30: for each function it appears in.)
inject.c: In function `cursor_line_up':
inject.c:55: `true' undeclared (first use in this function)
inject.c: In function `put_normal_char':
inject.c:82: `true' undeclared (first use in this function)
inject.c: In function `new_escape_sequence':
inject.c:108: `true' undeclared (first use in this function)
inject.c: In function `cancel_escape_sequence':
inject.c:114: `false' undeclared (first use in this function)
inject.c: In function `handle_control_char':
inject.c:124: `true' undeclared (first use in this function)
inject.c:140: `false' undeclared (first use in this function)
gmake: *** [inject.o] Error 1
*** Error code 2

Stop in /usr/ports/devel/rote.

 Since then I get a make.core dump each time I try to do make even if I
issue the command in a directory without a Makefile.

My question is: How is the best way to new make binary?

Regards and thanks,

Jim 

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


Re: Laptop questions

2005-09-12 Thread Jerry McAllister
> 
> in message <[EMAIL PROTECTED]>, wrote
> Jerry McAllister thusly...
> >
> > I have had good success using Partition Magic from PowerQuest to
> > manipulate disk slices including NTFS types.
> 
> Same here.
> 
> 
> > Unless you are working on a separate disk from the one you are
> > booting the machine you cannot run from the installed copy.   To
> > work on the main disk (most likely your case with a laptop), you
> > must make the boot floppies it tells about in the Partition Magic
> > documentation and then boot from them to do the disk slice
> > manipulation.
> 
> Well, i was able to manipulate the slices while Partition Magic 6.x
> was running on MS Windows (XP, and probably Me, don't remember about
> 98), w/o use of floppies or CDs.

I could do some things, but not what I needed.   Using
the floppies made it all work and it was quite straightforward.
I was changing slice sizes (shrinking) and slice types.   So, ???

jerry

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


Problems making CD backups

2005-09-12 Thread Jonathon McKitrick

I'm trying to use a cron script with mkisofs and burncd every weekend.  But
after taking a long time to do nothing, burncd never returns from burning and
fixating the CD, and looking at the CD itself shows no recorded area
reflecting.  Trying to mount the CD gives a 'device busy' error.

Is my CD-R just being difficult?  Or could I be doing something wrong?  Where
should I start looking?  Or could I be doing something wrong?  Where should I
start looking?

I'm running 4.11 BTW.

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


Re: Firefox and Thunderbird

2005-09-12 Thread Alex Zbyslaw

Michael Louie Loria wrote:


I solve the problem by deleting compreg.dat but it is too tiresome to
delete compreg.dat everytime I had to open firefox and thunderbird.
 

I have no clue about the underlying problem but you could make life a 
little less frustrating before you find a fix with


alias firefox '/bin/rm ~/wherever/you/get/to/compreg.dat; 
/usr/X11R6/bin/firefox'


and similar for thunderbird.

Syntax may vary according to which shell you run, and you'd want to put 
the aliases in a suitable file which was loaded every time you logged in.


--Alex

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


building parallel builds of mysql40 and mysql41

2005-09-12 Thread Dan Mahoney, System Admin

Hey all,

I'm presently running mysql40-server from ports.  I'd like to jump up to 
mysql41-server.  However, Ive tried to build the port for the new one 
before the old one is deinstalled (just so the dbs dont have to be down 
during a long build) and the ports tree doesn't seem to like this.


Is there a way to override this?

-Dan

--

"You can't call yourself a dork if you don't use UNIX!"

-Dan Mahoney, May 1997

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Re: can't install /sysutils/dvd+rw-tools

2005-09-12 Thread bob self
My solution was to completely de-install gnome2 and it's associated 
ports. That removed about 100 ports.
It's hard to believe that gnome would take over the system so 
thoroughly. Fluxbox works fine for me.

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


Special Hardware Request: SAN-boot

2005-09-12 Thread mgedv online

dear list,

i wrote a similar mail a few weeks ago. today i can
specify more precisly what we want:

we are an ISP and search for working SAN solutions,
where we can setup SAN-storage disks as "root" disks
for freebsd installations which are detected as SCSI
devices by freebsd and where we can boot the OS off.

the controllers will be LSI Logic FC909 or FC919
depending on the price.

has anyone working experiences on configurations like that
or with other 1GB or 2GB FC-HBAs?

br & cu

ps: reply only to the list

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


Re: tcpdump problem

2005-09-12 Thread bannour souha

I tried using -XX and -s1500 like it was advised by
Peter, but the problem persists : I have the content
of the PPP Compressed packets, but I haven't the
content of the RTP packets not compressed.
 My work consists on compressing a video stream before
sending it and I capture the packets to analyse them.
 So, I want to have the compressed and not compressed
packets details. but I have only the content of the
compressed packets in hexa :(

 Souha
--- Gregory Nou <[EMAIL PROTECTED]> a écrit :

> 
> 
> bannour souha wrote:
> 
> > Hello,
> > 
> > I am working on PPPoE. I use FreeBSD 5.3.
> > I want to capture packets from the interfaces eth
> and
> >ppp. I used for that this command "tcpdump -e -i
> rl0
> >-n -s0 -w /home/dump_eth"
> >when I analyse the packets with ethereal, I have
> all
> >details, but when I read the content of the file
> >"dump_eth" with the command "tcpdump -r dump_zth",
> I
> >haven't the whole packet, that's mean, I obtain all
> >the information but I don't obtain the data.
> > Have you some idea? I want to have the content of
> the
> >packets in hexa to use it in my work.
> > Can you help me please?
> >
> > many thanks, 
> > Souha
> >
> >
> > 
> >  
> >
> Look at -X and -XX option in the man. IIRC, that
> should do the trick.
> 
> -- 
> Gregory
> 
> > 
> > 
>
>___
> 
> >Appel audio GRATUIT partout dans le monde avec le
> nouveau Yahoo! Messenger 
> >Téléchargez cette version sur
> http://fr.messenger.yahoo.com
> >___
> >freebsd-questions@freebsd.org mailing list
>
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> >  
> >
> 
> 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Antwort: Re: bus error on build/ portupgrade is doing nothing

2005-09-12 Thread Axel . Gruner

Hi,

>>bus error
>>I receive the following output on each port i try to upgrade.
>>So, i thought it could be a problem of RAM, after changing the RAM
>twice,
>>the problem ist still there, so what could be the problem?
>>
>>#portupgrade unzip
>>--->  Upgrading 'unzip-5.52_1' to 'unzip-5.52_2' (archivers/unzip)
>>--->  Building '/usr/ports/archivers/unzip'
>>===>  Cleaning for unzip-5.52_2
>>===>  Extracting for unzip-5.52_2
>>=> Checksum OK for unzip552.tar.gz.
>>===>  Patching for unzip-5.52_2
>>===>  Applying FreeBSD patches for unzip-5.52_2
>>===>  Configuring for unzip-5.52_2
>>===>  Building for unzip-5.52_2
>>NOTE:  use bsd target for non-Intel FreeBSD compiles (if any).
>>make unzips CC="cc" LD="cc" AS="cc" CF="-Wall -I. -DASM_CRC -DUNIX
>-DBSD -O
>>-pipe  -DUSE_UNSHRINK" AF="-Di386 -O -pipe  -DUSE_UNSHRINK"
>CRC32=crc_gcc
>>cc -c -Wall -I. -DASM_CRC -DUNIX -DBSD -O -pipe  -DUSE_UNSHRINK
>unzip.c
>>unzip.c: In function `unzip':
>>unzip.c:1032: internal compiler error: Bus error
>>Please submit a full bug report,
>>with preprocessed source if appropriate.
>>See http://gcc.gnu.org/bugs.html> for instructions.
>>*** Error code 1
>
>Does it always die at the same place in the build?  Typically when
>I've seen "internal compiler error", bad hardware is the
>culprit.  Especially if the build dies at different places each time.

It is always the same place where the build dies.
Also, trying to build the world, stops with a compiler error.
Ah, FreeBSD 5.4-RELEASE-p6.

>>(2) portupgrade does not build
>>Trying to update amavisd-new or apache with portupgrade does not
>work. It
>>just do nothing.
>>So, other ports are working to update, others not. So what could be
>the
>>problem?
>
>If you run portupgrade with -v, does it give any more detail?  Hard
>to say what the problem might be without more details.  Based on your
>first question, it's very likely to be a symptom of the same problem.

Uh, my fault. -v says that the port is up-to-date, but it is not.
Maybe a problem with the "INDEX".
I have this problem also on a machine which builds ports and world without
any error, so i do not think it is based on the same problem.





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


RFP from Mediaexpertts.com

2005-09-12 Thread Vaidheeswaran S
Hi,

This is Vaidhy(Vaidheeswaran) from India,running a small but 
well-organised,professional Multimedia development setup in Chennai, India.

Our content development team is pretty strong and we promise, we can deliver 
100% quality products.

We have delivered quiet a few projects for clients like 
Ximnet-Malaysia,Qubicmedia-Singapore & an Australian client.
And we served handful of local clients too. Our objective is, Quality & 
Prompt delivery of all projects at economical cost. 
We have been doing successfully doing the same for the past 4 years.

Experience in E-learning Industry:

We would like to growup with our clients. Just Outsource your projects to 
us. We will do the rest & the best. :-)

We are specilised on the below areas

CBT development

E-learning/ILT content development

2d & 3d animations

2d online & Offline game development using Macromedia products.

Web designing & development

Application development using Java,JSP,ASP & .net technologies.

Kids education & fun activities (Online & offline).

CD-Brouchure & Inlays


Below are some of the sample works that we developed.


http://www.geocities.com/umavai/games/1.swf
http://www.geocities.com/umavai/games/10.swf
http://www.geocities.com/umavai/games/11.swf
http://www.geocities.com/umavai/games/12.swf
http://www.geocities.com/umavai/games/14.swf 

http://www.geocities.com/umavai/games/asia1.dcr
http://www.geocities.com/umavai/games/asia2.dcr 
http://www.geocities.com/umavai/games/dog.dcr

http://www.geocities.com/umavai/games/skate.dcr 
http://www.geocities.com/umavai/games/maze.dcr 


Kindly note that we are in the process of developing a web site under the 
name "www.Media  Expertts.com ". I 
shall let you know once we are done. Looking for your support & 
encouragement to growup ourselves bigger. 

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


Is anxiety becoming too much for you? Valiu_m is just what you're looking for, locksmith thither

2005-09-12 Thread Mohammad Reza Derakhshan

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


Re: Laptop questions

2005-09-12 Thread Parv
in message <[EMAIL PROTECTED]>, wrote
Jerry McAllister thusly...
>
> I have had good success using Partition Magic from PowerQuest to
> manipulate disk slices including NTFS types.

Same here.


> Unless you are working on a separate disk from the one you are
> booting the machine you cannot run from the installed copy.   To
> work on the main disk (most likely your case with a laptop), you
> must make the boot floppies it tells about in the Partition Magic
> documentation and then boot from them to do the disk slice
> manipulation.

Well, i was able to manipulate the slices while Partition Magic 6.x
was running on MS Windows (XP, and probably Me, don't remember about
98), w/o use of floppies or CDs.


  - Parv

-- 

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


bus error on build/ portupgrade is doing nothing

2005-09-12 Thread Axel . Gruner

Hi,

two questions:

(1) bus error
I receive the following output on each port i try to upgrade.
So, i thought it could be a problem of RAM, after changing the RAM twice,
the problem ist still there, so what could be the problem?

#portupgrade unzip
--->  Upgrading 'unzip-5.52_1' to 'unzip-5.52_2' (archivers/unzip)
--->  Building '/usr/ports/archivers/unzip'
===>  Cleaning for unzip-5.52_2
===>  Extracting for unzip-5.52_2
=> Checksum OK for unzip552.tar.gz.
===>  Patching for unzip-5.52_2
===>  Applying FreeBSD patches for unzip-5.52_2
===>  Configuring for unzip-5.52_2
===>  Building for unzip-5.52_2
NOTE:  use bsd target for non-Intel FreeBSD compiles (if any).
make unzips CC="cc" LD="cc" AS="cc" CF="-Wall -I. -DASM_CRC -DUNIX -DBSD -O
-pipe  -DUSE_UNSHRINK" AF="-Di386 -O -pipe  -DUSE_UNSHRINK" CRC32=crc_gcc
cc -c -Wall -I. -DASM_CRC -DUNIX -DBSD -O -pipe  -DUSE_UNSHRINK unzip.c
unzip.c: In function `unzip':
unzip.c:1032: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

(2) portupgrade does not build
Trying to update amavisd-new or apache with portupgrade does not work. It
just do nothing.
So, other ports are working to update, others not. So what could be the
problem?

Thanks in advance.

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


Re: printer causing computer to reboot

2005-09-12 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Peter Matulis thusly...
>
> Hi, I am running FreeBSD 5.4.  I have upgraded my ports and recompiled the
> system and kernel.  I have a USB laser printer (Lexmark E310) that is 
> recognized
> automatically when attached.

(That allows use of parallel port too.)


> Occasionally when a print request is sent I receive a message in
> my /var/log/messages file (see first message in list below).  
> 
> kernel: usbd_setup_pipe: failed to start endpoint, IOERROR last
> message repeated 2 times
...
> kernel: ulpt0: using bi-directional mode
> kernel: usbd_setup_pipe: failed to start endpoint, IOERROR
> 
> Then the system rebooted.

I will leave this others to address as i have not used the printer
via USB at all.  Currently it is being used over ethernet through a
SMC router connected via parallel port.  I did not encounter any
problems when it was directly connected to any of the 2-3 computer
systems.


> Another issue is when I send a print request either a) nothing
> happens (maybe a log message is generated) or b) paper comes out
> with this at top left corner: "s: 1"

Could it be a incorrect printcap?  What kind of data (PS, PDF, plain
text), and how, are you trying to print?


  - Parv

-- 

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


Re: tcpdump problem

2005-09-12 Thread Peter Matulis
You do not have "all the details" with ethereal.  That's because you are 
*telling* tcpdump not
to sniff them.  You are instructing it to take just the headers with the '-s' 
switch (zero
payload: -s0).  Try 1500 instead of 0 and you will get what you desire.

--
Peter

--- bannour souha <[EMAIL PROTECTED]> wrote:

> 
>  Hello,
>  
>  I am working on PPPoE. I use FreeBSD 5.3.
>  I want to capture packets from the interfaces eth and
> ppp. I used for that this command "tcpdump -e -i rl0
> -n -s0 -w /home/dump_eth"
> when I analyse the packets with ethereal, I have all
> details, but when I read the content of the file
> "dump_eth" with the command "tcpdump -r dump_zth", I
> haven't the whole packet, that's mean, I obtain all
> the information but I don't obtain the data.
>  Have you some idea? I want to have the content of the
> packets in hexa to use it in my work.
>  Can you help me please?
> 
>  many thanks, 
>  Souha
> 
> 
>   
> 
>   
>   
> ___ 
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
> Téléchargez cette version sur http://fr.messenger.yahoo.com
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unable to Replace Currently Running IPF Rules With IPF Command

2005-09-12 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Bob Perry thusly...
>
> I notice that when I attempt to replace the currently running
> ruleset, my system (FreeBSD 5.4 RELEASE) is unable to recognize
> the file name.  For instance, the command, "ipf -Fa -f
> /etc/ipf.rules" results in "26: unknown words at end: [/], ipf:
> /etc/ipf.rules: parse error (1), quitting."

There is no problem w/ the system not recoginizing the file per se,
as ipf(8) parses some of the rules before line 26.  The error seems
to be w/ the (rule on) line 26 of /etc/ipf.rules.  Care to show what
you have in there?


  - Parv

-- 

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


tcpdump problem

2005-09-12 Thread bannour souha

 Hello,
 
 I am working on PPPoE. I use FreeBSD 5.3.
 I want to capture packets from the interfaces eth and
ppp. I used for that this command "tcpdump -e -i rl0
-n -s0 -w /home/dump_eth"
when I analyse the packets with ethereal, I have all
details, but when I read the content of the file
"dump_eth" with the command "tcpdump -r dump_zth", I
haven't the whole packet, that's mean, I obtain all
the information but I don't obtain the data.
 Have you some idea? I want to have the content of the
packets in hexa to use it in my work.
 Can you help me please?

 many thanks, 
 Souha






___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"