Re: su'ing not sourcing .bash_profile

2009-04-24 Thread Patrick Mahan
Because .bash_profile is only seen on login, not on 'su'. Put it in .bashrc which is read when the shell is invoked. See 'man bash' Patrick Daniel Underwood presented these words - circa 4/24/09 12:43 PM- When I am logged in as a non-root user and I try to become root by entering su and

Re: Long Day's Journey into Bleep

2011-06-09 Thread Patrick Mahan
On 6/8/11 5:56 PM, Gary Kline wrote: Well, people, It's been a long, long century. I've been down for 5 days. Couldn't understand _why_ I couldn't ping anywhere [expect the Server itself]. Finally, tho, it became more and more likely that my FreeBSD was fine ... even tho I kept

Re: kernel Panic not dumping to swap

2011-08-12 Thread Patrick Mahan
On 8/9/11 10:33 PM, Daryl Sayers wrote: I have a FreeBSD 8.2-STABLE (64bit) system with 4G mem installed. I have had a few kernel panics over the last few weeks and would like to capture a core dump. I have added the following to /etc/rc.conf dumpdev=AUTO dumpdir=/var/crash The

RE: Problems with keyboard on the loader menu

2011-12-08 Thread Patrick Mahan
servers for remote access and VGA is used for the physical access). Our keyboards are USB. This is with FreeBSD 8.0 AMD64 Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely

RE: CUPS and IPP/JD/LPD

2011-12-08 Thread Patrick Mahan
-Original Message- From: Ryan Coleman [mailto:edi...@d3photography.com] Sent: Thursday, December 08, 2011 9:24 AM To: Patrick Mahan Cc: FreeBSD Questions Subject: Re: CUPS and IPP/JD/LPD Definitely Postscript. With CUPS, I'm don't remember off the top of my head, but I believe

BIOS configuration for a Gigabyte GA-X58A-UD3R and i7 Intel processor

2012-01-02 Thread Patrick Mahan
All, I am putting together a DIY system using a Gigabyte motherboard and the Intel i7. I plan on running FreeBSD 9.0 as the based OS. I have a Seagate 1 TB Barracuda for the hard drive connected to one of the sata controllers. I've got a couple of questions regarding the SATA setup. The

Re: BIOS configuration for a Gigabyte GA-X58A-UD3R and i7 Intel processor

2012-01-02 Thread Patrick Mahan
On 1/2/12 12:31 PM, Patrick Mahan wrote: All, I am putting together a DIY system using a Gigabyte motherboard and the Intel i7. I plan on running FreeBSD 9.0 as the based OS. I have a Seagate 1 TB Barracuda for the hard drive connected to one of the sata controllers. I've got a couple

Problems building world with 9.0 RC3

2012-01-09 Thread Patrick Mahan
All, I am having an issue with getting buildworld to work for me. It is failing while building zfs - cc -DADARA_OS -I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libzpool/common

RE: Problems building world with 9.0 RC3 [SOLVED]

2012-01-10 Thread Patrick Mahan
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Patrick Mahan Sent: Monday, January 09, 2012 4:28 PM To: freebsd-questions@freebsd.org Subject: Problems building world with 9.0 RC3 All, I am having an issue

Usage of '@cwd' and '@srcdir' in a package list

2012-02-07 Thread Patrick Mahan
All, Need a little direction on package creation. This issue is hitting me on both 8.0, 8.2 and 9.0 FreeBSD (amd64) releases. I'm trying to create a package using pkg_create with the intention of installing under /usr/local. However, my build environment is private (not under /usr/ports or

Attempting to use the kernel debugger over the serial port not working (well)

2010-09-24 Thread Patrick Mahan
All, Cannot seem to find anything on the net to collaborate my experience with remote KGDB over a serial port. Here is my setup - +--+-+--- | | |

RE: serial config handbook: /boot.conf or /boot.config

2011-02-01 Thread Patrick Mahan
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Paul Macdonald Sent: Tuesday, February 01, 2011 7:24 AM To: freebsd-questions@freebsd.org Subject: serial config handbook: /boot.conf or /boot.config I'm

RE: same function name in multiple archives - bad idea?

2011-02-01 Thread Patrick Mahan
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Anton Shterenlikht Sent: Tuesday, February 01, 2011 9:08 AM To: freebsd-questions@freebsd.org Subject: same function name in multiple archives - bad idea? Is it

RE: serial config handbook: /boot.conf or /boot.config

2011-02-01 Thread Patrick Mahan
It's at the root - # echo /boot.conf -P Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official

Having problems with my ports configuration

2008-02-29 Thread Patrick Mahan
System Info: Compaq Presario (AMD Athlon CPU) 256 Mbytes RAM 80 Gig IDE system disk FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006 I am having problems with my current installed ports. Last week the drive where /usr/ports is upon (80 Gig IDE) start generating READ errors on the

Re: Having problems with my ports configuration

2008-02-29 Thread Patrick Mahan
Mel presented these words - circa 2/29/08 1:56 PM- On Friday 29 February 2008 21:25:06 Patrick Mahan wrote: System Info: Compaq Presario (AMD Athlon CPU) 256 Mbytes RAM 80 Gig IDE system disk FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006 I am having problems with my

Re: Having problems with my ports configuration

2008-02-29 Thread Patrick Mahan
Shaun Amott presented these words - circa 2/29/08 6:45 PM- On Fri, Feb 29, 2008 at 12:25:06PM -0800, Patrick Mahan wrote: One of the issues that came out of this was it seemed that the ports database (/var/db/pkg/pkgdb.db) was corrupt. So I tried to rebuild it by deleting it and setting

Re: traceroute problems

2008-03-10 Thread Patrick Mahan
Jonathan Chen presented these words - circa 3/10/08 7:38 PM- On Mon, Mar 10, 2008 at 11:30:05PM +0100, Wojciech Puchar wrote: [...] traceroute uses UDP packets, no special port numbers. traceroute(8) indicates that the default UDP port number used is udp/33434, incrementing for each hop

Re: newbie internet connection question

2008-03-11 Thread Patrick Mahan
Paul Schmehl presented these words - circa 3/11/08 1:02 PM- --On Tuesday, March 11, 2008 19:25:31 + Andy Watts [EMAIL PROTECTED] wrote: Hi People l downloaded FreeBSD 6.3 the other day out of curiosity.. The installation started ok but it all went wrong when it came to connecting to

Re: newbie internet connection question

2008-03-11 Thread Patrick Mahan
Mel presented these words - circa 3/11/08 6:10 PM- On Wednesday 12 March 2008 01:46:40 Patrick Mahan wrote: Paul Schmehl presented these words - circa 3/11/08 1:02 PM- --On Tuesday, March 11, 2008 19:25:31 + Andy Watts [EMAIL PROTECTED] wrote: My router's address is 192.168.1.1

Re: Network programming question

2008-03-13 Thread Patrick Mahan
Andrew Falanga presented these words - circa 3/13/08 9:10 AM- Hi, I'd like to know why the inet_pton(3) doesn't fill in the address family of the proper structure passed into it. I'm at a complete loss for why. Here's the prototype: int inet_pton(int af, const char * restrict src, void *

Re: Network programming question

2008-03-13 Thread Patrick Mahan
Andrew Falanga presented these words - circa 3/13/08 11:11 AM- On Thu, Mar 13, 2008 at 11:45 AM, Patrick Mahan [EMAIL PROTECTED] wrote: Andrew Falanga presented these words - circa 3/13/08 9:10 AM- Hi, See man inet_pton . . . for details. Briefly, inet_pton() doesn't understand

Re: DNS troubles

2008-07-21 Thread Patrick Mahan
to the DNS servers. But your problem is not locally with Bind. Patrick Mahan ex-Window Washer Thanks, -Jim Stapleton /etc/resolve.conf domain var-dev.net nameserver 4.2.2.1 nameserver 4.2.2.2 nameserver 4.2.2.3

Re: problems with a C script, exiting with signal 10

2008-08-07 Thread Patrick Mahan
Jordi Moles Blanco presented these words - circa 8/7/08 3:13 AM- Hi, I've got this home-made script, written in C, on a Freebsd 7.0 server with different versions of postfix: 2.3,2,4 and 2.5 The problem is that, while most of the time it works like a charm, sometimes it crashes and

Re: joining 2 files together ?

2008-08-07 Thread Patrick Mahan
beni presented these words - circa 8/7/08 8:34 AM- Hi, I am trying to find the equivalent for the old dos copy file1+file2 command (copy myfile1.txt+myfile2.txt copies the contents in myfile2.txt and combines it with the contents in myfile1.txt). But the standard freebsd cp doesn't seem to

Re: How to set TCP parameter?

2008-08-19 Thread Patrick Mahan
EdwardKing presented these words - circa 8/19/08 6:17 PM- How to set TCP parameters,such as tcp_time_wait_interval? You should use 'sysctl'. See 'man 8 sysctl'. However, I don't see any time wait variables available via sysctl. Are you trying to modify the time spent in the TIME_WAIT

Re: How to set TCP parameter?

2008-08-20 Thread Patrick Mahan
or receive. It is possible that your client is dropping the packet itself. Good luck, Patrick Thanks. - Original Message - From: Patrick Mahan [EMAIL PROTECTED] To: EdwardKing [EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 12:06 PM Subject: Re: How to set TCP parameter

Re: How to view TCP advertised window by using tcpdump?

2008-09-05 Thread Patrick Mahan
EdwardKing presented these words - circa 9/3/08 10:15 PM- I use TCP client to connect daytimesesrver which port is 13,I want to know how to use tcpdump to view TCP advertised window? Where is the TCP advertised window in the tcpdump result? Thanks When you run tcpdump, for tcp packets,

Re: mail server DNS configuration questions

2008-09-09 Thread Patrick Mahan
Andrew Falanga presented these words - circa 9/6/08 6:28 PM- Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Patrick Mahan
See comments interspaced below - Gary Kline wrote: On Mon, Oct 19, 2009 at 01:48:42AM -0400, Brad Mettee wrote: Gary Kline wrote: Guys, maybe this can't be done reading in a file with fgets(buffer[128], fp), then calling skiptags(), conditionally, to while () past ',' and ''. [snipped]

Re: need C help, passing char buffer[] by-value....

2009-10-19 Thread Patrick Mahan
Gary Kline wrote: On Mon, Oct 19, 2009 at 11:09:19AM -0700, Patrick Mahan wrote: See comments interspaced below - Gary, Let me restate your problem: You want to read through a file containing tags delimited by and to skip these tags if the user has run your command with the -N flag

Problems dumping to a SCSI device.

2010-05-17 Thread Patrick Mahan
Platform: HP 350DL FreeBSD version: FreeBSD 8.0 (amd64) Beginning of /var/run/dmesg.boot Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a

Burning a the 8.1 release DVD iso

2010-09-08 Thread Patrick Mahan
the issues regarding needing to load atapicam.ko module. Any help or educational experience is appreciated. Thanks, Patrick Mahan Adara Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Burning a the 8.1 release DVD iso

2010-09-08 Thread Patrick Mahan
Manolis Kiagias wrote: On 08/09/2010 9:44 μ.μ., Patrick Mahan wrote: I am wanting to burn the 8.1 DVD iso image onto a DVD-R disc. Previously, I did this on my Macbook Pro using OSX, but alas, my HD died on the Macbook so I am trying to do this on my Sony Vaio desktop system. Platform