DNS Resolution

2010-11-19 Thread Jay Hall
I have a weird DNS problem I am hoping someone can help me with. I have server running FBSD 8.0. /etc/resolv.conf is set to use my ISP's DNS servers for name resolution. If run dig @ns3.socket.net .yyy. the INTERNAL ip address of the server is returned. If I run d...@ns3.socket.net

Re: DNS Resolution

2010-11-19 Thread Jay Hall
On Friday, November 19, 2010 07:25:10 pm Gary Gatten wrote: I ran into a similar situation where the ns was behind a Juniper SRX doing NAT. Said Juniper had a smart DNS piece (ALG) that does special stuff on DNS packets; max record length, special NAT, etc. I had to disable the DNS ALG to fix

Re: ttyu0 link down

2010-04-06 Thread Jay Hall
On Apr 6, 2010, at 1:14 AM, Sabine Baer wrote: Using cu -l /dev/ttyu0 I receive a message stating link down. ^ Shouldn't that be /dev/cua0 instead? $ less /etc/ttys|grep mgetty cuau0 /usr/local/sbin/mgettyunknown on insecure Sabine -- Good fences make

ttyu0 link down

2010-04-05 Thread Jay Hall
Ladies and Gentlemen, Earlier today, I had to dial into a server to check a link from both sides (a router was down). This evening, when I connected to the server I am not able to connect to the modem. From dmesg uart0: 16550 or compatible port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0:

Re: libiconv-1.11_1

2010-04-01 Thread Jay Hall
On Apr 1, 2010, at 10:36 AM, Lowell Gilbert wrote: Try kicking up the verbosity of your sshd and seeing what it tells you. Looks like the server is where the connection gets closed. As has already been suggested, you should update your ports to use the libiconv that new ports are already

libiconv-1.11_1

2010-03-31 Thread Jay Hall
Ladies and Gentlemen, Today, when I installed samba from ports, libiconv-1.11_1 was added to my system. Now, I have both libiconv-1.9.2_2 and libiconv-1.11_1 on my system. This prevents me from using ssh remotely to connect to the server. I am connecting from a Mac, OS X 10.5, but other

Re: libiconv-1.11_1

2010-03-31 Thread Jay Hall
On Mar 31, 2010, at 3:17 PM, Mikle wrote: Hello, In my ports tree there is only one version of libiconv, and compiling samba doesn't ask about any other versions (/usr/ports/converters/libiconv, version 1.13). Maybe you should update your ports? Also, i do not see why should libiconv

Re: Custom Kernel to Memory Stick

2010-03-30 Thread Jay Hall
On Mar 29, 2010, at 6:30 PM, Aiza wrote: This is the procedure you want to follow. http://forums.freebsd.org/showthread.php?t=11680 And for greater detail http://forums.freebsd.org/showthread.php?t=11715 Thanks for the links. I will give them a try. Jay

Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
Ladies and Gentlemen, I have been asked to explore the possibility of booting FreeBSD from a memory stick. This was not a problem; worked great when installed from the distribution CD. What would be the best way to get our custom configuration onto the memory stick? Thanks, Jay

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
On Mar 29, 2010, at 10:49 AM, Jay Hall wrote: What would be the best way to get our custom configuration onto the memory stick? Ladies and Gentlemen, This is what I have done, but now I cannot mount the memory stick. I create an image of the s1a partition where the kernel I want to copy

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
On Mar 29, 2010, at 10:49 AM, Jay Hall wrote: What would be the best way to get our custom configuration onto the memory stick? OK, I managed t get our custom configuration on to the memory stick using dump. After getting everything configured, what I thought was correctly, I am

Jails and Hardware security

2010-01-30 Thread Jay Hall
Is it possible to limit what hardware a jail has access to? I am wanting to limit access to the tape drive/autoloader in one jail, but allow another to have access to it. Is this as simple as deleting the appropriate entries in /dev? Thanks, Jay

Re: tty problem after upgrade to 8.0

2009-12-05 Thread Jay Hall
On Dec 5, 2009, at 12:47 AM, Fbsd1 wrote: this will point you in the correct direction http://www.freebsd.org/cgi/query-pr.cgi?pr=140918 Thank you. This fixed the problem. Jay ___ freebsd-questions@freebsd.org mailing list

tty problem after upgrade to 8.0

2009-12-04 Thread Jay Hall
Ladies and Gentlemen, I completed the upgrade to FreeBSD 8.0 this afternoon and have an error plaguing me that I cannot solve. When the system is booted, I am receiving the following error. Dec 5 20:43:30 getty[902]: open /dev/ttyd0: No such file or directory However, when I run ps -ax |

Source Code Update Question

2009-12-03 Thread Jay Hall
Ladies and Gentlemen, This is the first time I have tried to upgrade FreeBSD's source code, and I have done something wrong, but I am not sure what. I am upgrading from 6.2 to 8.0. First, I upgraded the source code, using csup /root/supfile. Here are the contents of /root/supfile. #

Re: gnu tar checkpoint variable expansion

2009-10-28 Thread Jay Hall
Try this: /usr/local/gtar-1.22/bin/tar -cf - ${WHATTOBACKUP} \ --checkpoint-action='echo=Checkpoint #%u' \ --checkpoint-action=exec=/usr/local/scripts/check_disk_usage.sh $ {DIR} The use of single quotes prohibits the expansion of environment variables. Use double qoutes instead.

gnu tar checkpoint variable expansion

2009-10-21 Thread Jay Hall
Ladies and Gentlemen, I am working with gnu tar checkpoints this morning can cannot seem to get variables to expand properly when they are passed as part of a checkpoint action. Following is how I am using gnu tar DIR=/home/test WHATTOBACKUP=/home/somedir /usr/local/gtar-1.22/bin/tar -cf

Re: gnu tar checkpoint variable expansion

2009-10-21 Thread Jay Hall
On Oct 21, 2009, at 8:55 AM, Matthew Seaman wrote: That's fairly basic shell syntax. Use double quotes on any string where you want variable interpolation. Cheers, Matthew I will try that again and let you know what happens. Thanks, Jay

Capturing netflows

2009-10-09 Thread Jay Hall
I have run into a need to capture netflows from the internal interface of my FreeBSD 6 server. The internal interface is em0 and the external interface is em1. I am using the following to setup the netflows. /usr/sbin/ngctl -f- SEQ mkpeer em0: netflow lower iface0 name:

rsync include and exclude

2009-10-07 Thread Jay Hall
Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything in the user's mail directory and everything in the user's documents directory. Everything else should be excluded. And,

Re: rsync include and exclude

2009-10-07 Thread Jay Hall
Thanks. That took care of the problem. Jay On Oct 7, 2009, at 3:02 PM, krad wrote: 2009/10/7 Jay Hall jh...@socket.net Ladies and Gentlemen, I am using rsync to backup some information and I am having some problem with including and excluding directories. I want to include everything

Re: Backup Size

2009-08-11 Thread Jay Hall
On Aug 11, 2009, at 12:09 PM, Roland Smith wrote: Just execute the tar command, and dump the output to /dev/null through dd: tar -cf - /etc |dd of=/dev/null tar: Removing leading '/' from member names 3160+0 records in 3160+0 records out 1617920 bytes transferred in 0.057690 secs (28045115

Re: freebsd-questions Digest, Vol 270, Issue 19

2009-08-10 Thread Jay Hall
On Aug 9, 2009, at 7:00 AM, freebsd-questions-requ...@freebsd.org wrote: I had no problems using that command line with GNU tar versions 1.14 and 1.22. I'd grab the source and upgrade if I were you: http://ftp.gnu.org/gnu/tar/tar-1.22.tar.gz I upgraded and everything is fine now.

Backup Size

2009-08-10 Thread Jay Hall
I am sure there is an easy explanation for this, but I cannot find it. I am backing up my /etc directory using the following command. tar -cvf - /etc | dd of=/dev/nsa1 obs=10240 When the command completes, I receive the following message. 3080+0 records in 154+0 records out 1576960 bytes

Re: Backup Size

2009-08-10 Thread Jay Hall
On Aug 10, 2009, at 12:09 PM, Roland Smith wrote: The fact that you are using tar also plays a part. Tar has some overhead to store information about the files it contains. Is it possible to calculate the amount of overhead tar will use? Thanks, Jay

Re: Backup Size

2009-08-10 Thread Jay Hall
Difficult. 512 bytes per entry + 1024 (EOF). See man 5 tar. But since files will be padded there is some extra overhead. Also, it is hard to calculate hard links and sparse files. Tar will handle these correctly (i.e. preserve hard links and detect sparse files and try not archive blocks

GNU Tar and -T option

2009-08-08 Thread Jay Hall
Has anyone had any luck using the -T option with GNU tar 1.16.1? I am using the following command line. /usr/local/gtar/bin/tar -c -T filelist -f - | dd of=/dev/nsa1 obs=128k And, I am receiving the following error message. This happens whether I use the -T option or --files-from=. If I

find question

2009-08-04 Thread Jay Hall
I am sure this is something I am doing that is obviously wrong, but I cannot figure it out. I am reading a list of directories from a file, and then listing all of the files in the directory to a file. Here is the code. #!/usr/local/bin/bash cat ${FILELIST} | while read LINE

Re: find question

2009-08-04 Thread Jay Hall
What is -type supposed to do? I've never used it before, never needed it. Type is used to specify the type of file to be found. f is a regular file. Jay ___ freebsd-questions@freebsd.org mailing list

Re: find question

2009-08-04 Thread Jay Hall
Ah yes, I do remember now. Plus, for once the syntax is almost self explanatory. So, did the OPs question get answered? I think I just found the problem. I am testing now. There was a blank line at the end of the file. ___

ipf rules question

2009-07-27 Thread Jay Hall
Ladies and Gentlemen, I think I am missing something. I am running a FreeBSD 6. server with ipf compiled into the kernel. Following are the headers from an email. From: oea...@brantbenun.com Subject: SUSPECTED SPAM REAL Doctors, REAL Science, REAL Results! Date:

Re: ipf rules question

2009-07-27 Thread Jay Hall
On Jul 27, 2009, at 4:40 PM, Chuck Swiger wrote: On Jul 27, 2009, at 2:27 PM, Jay Hall wrote: [ ... ] If I am looking at everything correctly all traffic coming into the system from the 82.0.0.0/8 network to port 25 on the mail server should be blocked. What am I missing? Otherwise

Re: Bash and arrays

2009-07-15 Thread Jay Hall
On Jul 15, 2009, at 12:53 AM, Dan Nelson wrote: In the last episode (Jul 15), Bryan Venteicher said: I thought I understood how arrays work in bash, but I have been proven wrong. I am reading lines from a file and placing them in an array. However, when I am finished, the array has a

Bash and arrays

2009-07-14 Thread Jay Hall
Ladies and Gentlemen, I thought I understood how arrays work in bash, but I have been proven wrong. I am reading lines from a file and placing them in an array. However, when I am finished, the array has a length of 0. Following is the code I am using. #!/usr/local/bin/bash COUNTER=0

Adaptec 29320ALP-R and tape drive

2009-07-07 Thread Jay Hall
I just installed an Adaptec 29320ALP-R in my FreeBSD 7.2 server. Connected to the card is an HP Ultrium 1/8 G2 tape drive. During the boot sequence, FreeBSD pauses to wait for the SCSI devices to settle. Then, I receive the following message (probe79:ahd0:0:4:0: Probable outgoing LQ CRC

Re: Adaptec 29320ALP-R and tape drive

2009-07-07 Thread Jay Hall
in the driver to see if it is possible to get things working in packetized mode. -- Justin Jay Hall wrote: I just installed an Adaptec 29320ALP-R in my FreeBSD 7.2 server. Connected to the card is an HP Ultrium 1/8 G2 tape drive. During the boot sequence, FreeBSD pauses to wait for the SCSI

FreeBSD wireless connection problems

2009-06-25 Thread Jay Hall
Ladies and Gentlemen, I have a development box which is connected to the wireless network via an Intellinet wireless bridge. Periodically, the development box will no longer pass data on the network. However, checking the access point, I can see the bridge is still associated with the

Inexpensive PCI-X SCSI Card

2009-06-22 Thread Jay Hall
I am looking for an inexpensive, but reliable, PCI-X SCSI card that will support an HP Autoloader. Any suggestions? Am I best to go with an HP card? Thanks, Jay ___ freebsd-questions@freebsd.org mailing list

Re: find command question

2009-04-10 Thread Jay Hall
It has to wait for completion to see the exit status. Thanks. I misunderstood what I read. Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

find command question

2009-04-09 Thread Jay Hall
When using the find command with the -exec option, does the find command wait for the command being executed to finish before returning the next result? For example, if I am using find -exec {} to copy files to tape, will find wait for the command to write the file to tape complete before

Controllers/Drives renumbered

2009-04-06 Thread Jay Hall
Earlier today, I installed a new HP SCSI (HP SmartArray 642)controller and an HP Drive Array in my company's HP ML 350 G5. The system drive which had been da0 became da1 and the new controller became da0. Unfortunately, I cannot rearrange the controllers in the system since one is PCI-X

ldapsearch question

2009-01-18 Thread Jay Hall
I am running the following against an Active Directory server. ldapsearch -D cn=admin_user,cn=users,dc=xx,dc=com -x -w password - h 10.129.10.42 -p 3268 -b 'dc=abc,dc=com' -s sub '(! (objectclass=computer))' '(!(mail=*))' dn mail I am trying to return only objects for which the mail

Re: ldapsearch question

2009-01-18 Thread Jay Hall
On Jan 18, 2009, at 9:53 PM, Olivier Nicole wrote: That's right, (!(mail=*)) means everything where mail is null. You would like to search for mail=*, meaning everything where mail is not null. I receive the same results using mail=*. Following is the latest ldapsearch command.

Re: ldapsearch question

2009-01-18 Thread Jay Hall
On Jan 18, 2009, at 10:32 PM, Dan Nelson wrote: Your search filter is currently (!(objectclass=computer)) , and you are asking for the attributes (!(mail=*)), dn, and mail to be returned. I think you want this: '((!(objectclass=computer))(mail=*))' i.e. (objectclass isn't computer) AND (mail

NFS or an alternative?

2009-01-12 Thread Jay Hall
I am in the process of redesigning my organization's network. And, since we will be using mostly Macintosh OS X clients, I am considering using NFS. However, I will need the ability to perform user/group authentication since users may not always log in from the same PC. Essentially, each

Bypassing Transparent Proxy

2008-07-31 Thread Jay Hall
Ladies and Gentlemen, A situation has arisen for which I need to bypass my transparent proxy server (Squid) for a ceratin IP address range. Following are the contents of my ipnat.rules file. map em1 192.d.e.f/24 - 0/32 map em1 from 10.a.b.c/24 to 69.147.83.33/32 - 0/32 rdr em0 0.0.0.0/0 port

Autoloader Compatability

2008-05-15 Thread Jay Hall
Ladies and Gentlemen, I am getting ready to start my journey into the world of tape autoloaders. At this point in time, I have an HP ML350-G5, and I am looking at an HP 1/8 G2 Tape Autoloader Ultrium 920. I did not find this device specifically listed on the compatability list. Where can

Re: Perl 5.8.8 Compile

2008-05-01 Thread Jay Hall
I received the same error with both make and gmake. Thanks, Jay On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: Jay Hall [EMAIL PROTECTED] writes: I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make it through the configuration just fine, but when I attempt

Perl 5.8.8 Compile

2008-04-30 Thread Jay Hall
I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make it through the configuration just fine, but when I attempt to run the make command, I receive the following error message. I am creating a custom install. The only parameter I am changing is the installation location.

mpd as a dial-up server

2005-04-05 Thread Jay Hall
I am in the process of adding dial-up capabilities to the FreeBSD servers I maintain so in the event of a problem, if the server starts, I can at least dial in and see what is wrong and hopefully correct the problem. I already have mpd in place for the VPN connections. Is it possible to use

Re: panic: ufs_dirbad

2004-10-11 Thread Jay Hall
. Jay Jay Hall wrote: Today, I have tried to install FBSD 4.10 on a Gateway 920 Server (Celeron 2.4 GHz, 128 MB RAM, 60 GB Maxtor DiamondMax Plus 9 HDD, two Intel Pro 10/100/1000 NICs). In order to make the server work correctly, I have to boot with hw.hasbrokenint12=1. After setting up the drive

panic: ufs_dirbad

2004-09-28 Thread Jay Hall
Today, I have tried to install FBSD 4.10 on a Gateway 920 Server (Celeron 2.4 GHz, 128 MB RAM, 60 GB Maxtor DiamondMax Plus 9 HDD, two Intel Pro 10/100/1000 NICs). In order to make the server work correctly, I have to boot with hw.hasbrokenint12=1. After setting up the drive (fdisk and

pptp and ppp

2003-09-16 Thread Jay Hall
might be wrong would be greatly appreciated. I'm sure this is something simple that I have overlooked. Thanks in advance for your assistance. Jay Hall ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: pptp and ppp

2003-09-16 Thread Jay Hall
hosts. Please let me know what additional information might be helpful Thanks, Jay Hall wrote: I have a FreeBSD server in one of the smaller offices I support using ppp and nat to provide an Internet connection to the people in the office. Now, they want to connect to the corporate network using