I know this should be easy, but I cannot get it to work right. Basically,
I have a list of items, and I need to place each one on a separate line.
Here is the script I am using.
#!/bin/sh
FILENAMES="test1 test2 test3"
FILELIST=""
for filename in ${FILENAMES}
do
FILELIST="${FILELIST}${file
> On Sep 28, 2007, at 11:34 AM, [EMAIL PROTECTED] wrote:
>> Here is the script I am using.
>> #!/bin/sh
>> FILENAMES="test1 test2 test3"
>> FILELIST=""
>> for filename in ${FILENAMES}
>> do
>> FILELIST="${FILELIST}${filename}"$'\n\r'
>> echo ${FILELIST}
>> done
>>
>> And, here is th
> On 2007-09-28 18:34, [EMAIL PROTECTED] wrote:
>> I know this should be easy, but I cannot get it to work right.
>> Basically, I have a list of items, and I need to place each one on a
>> separate line.
>>
>> Here is the script I am using.
>> #!/bin/sh
>> FILENAMES="test1 test2 test3"
>> FILELIST=
I have a question regarding ipf and ipnat. I have a firewall with two
public IP addresses. One of the IP addresses is for incoming Internet
traffic only and the other is for incoming e-mail. I'm not sure why my
ISP has done, this, but they have.
In otherwords, all incoming http traffic (port 80
Everyone,
I'm sure this is easy, and I am making it harder than it is.
I am being supplied a list of files, and need to create the files and
directories to hold them, but I cannot figure out how to take the string
apart.
For example, I am given
/usr/local/scripts/firewall.sh
I need to create t
>
> See the `dirname' and `basename' commands:
>
> $ dirname "/usr/local/scripts/firewall.sh"
> /usr/local/scripts
> $
>
> $ basename "/usr/local/scripts/firewall.sh"
> firewall.sh
> $
>
> Be careful about properly quoting the filenames though (note how the
> fir
Ladies and Gentlemen,
I am using the following command to perform backups each evening.
/usr/local/gtar/bin/tar -C /usr/home/photos --listed-incremental \
/var/db/photos.snar -cvf - ./ | /usr/local/bin/gpg --encrypt --recipient \
"recipient" | dd of=/dev/nsa0 obs=128K
Since I am having tar write
>
> redirect stderr with "2>" operator
>
Using the following command,
# /usr/local/gtar/bin/tar -cvf - /home/hallja 2 > /var/log/test.txt |
/usr/local/bin/gpg --encrypt "recipient" | dd of=/dev/nsa0 obs=128k
I receive an error meesage stating, "Ambiguous output redirect."
Any additional suggestio
I am in the process of moving my phone system DHCP from my Mitel 3300 to a
FreeBSD so I can parse the DHCP file. In order to make Mitel's option 125
work correctly, I have to specify some vendor specific options. I believe
this is option 124 if I understand the Mitel documentation correctly.
I h
Ladies and Gentlemen,
I am attempting to connect a FreeBSD server, 8.1-RELEASE to a Juniper
J2320 router running the JUNOS operating system.
The Juniper router I am connecting to has a public IP address of 1.2.3.4.
The provider has not given me a private IP address and has stated it is
not n
Ladies and Gentlemen,
First, please excuse this extremely long post. I have tried to include
all of the information I thought was relevant, and may have included too
much.
I have established an IPSec connection to our vendor using transport mode.
However, I am having problems successfully
>From : claudiu vasadi
To : jh...@socket.net
Subject : Re: IPSec routing (long post)
Date : Sat, 21 May 2011 18:45:07 +0200
Some additional points:
> - have you been following the FreeBSD handbook on this ? ->
> http://www.freebsd.org/doc/en_U
I am attempting to get TLS with Postfix working and I have run into a
problem and nothing I have tried seems to resolve the problem.
When a TLS connection is started, I see the following in /var/log/maillog
Jun 3 17:38:13 mo-bak-s1 postfix/smtp[41281]: certificate verification
failed for abc.
I am working with a vendor and they are wanting me to send them ip
addresses via option 74 in DHCP (irc-server). After I defined this in my
dhcpd.conf file, the option is still not being sent. However, I am not
receiving a request for this option.
I have done a bunch of Googling this morning
>From : Chuck Swiger
To : jh...@socket.net
Subject : Re: DHCP Question
Date : Tue, 14 Jun 2011 11:28:00 -0700
> You want:
>
>option dhcp-parameter-request-list uint16;
>
> This option, when sent by the client, specifies
I am attempting to upgrade my server from 8.0 to 8.2 Release by upgrading
the source code and recompiling the kernel. I am using cvs to download
the source code. Following are the entries in my cvs-supfile.
The system is an HP server. Following is the system information.
FreeBSD 8.0-RELEASE
> Based on this configuration, you grabbed CURRENT, and not 8.2.
>
> Have a look here and alter your configuration, and rebuild.
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
>
> Hope this helps
> -jgh
>
THANK YOU! I don't know how long I had looked at that and did no
I have run into a weird situation, and I do not know if the problem lies
on my side of the connection or my vendors.
The tunnel comes up only after the vendor sends traffic to me. My side of
the tunnel shows up and using tcpdump, I see packets flowing out the
correct interface, to the correct
> I find wireshark helpful in these cases as it nicely decodes what
> options are being set. Your racoon conf is set to obey. Its possible
> they are proposing something different to you that you accept, where as
> what you are proposing might not be acceptable
>
> ---Mike
My vendor came b
I am seeing a couple of things that are concerning me.
First, I am not seeing any traffic over the gif interface, except return
traffic. For example if I ping from one of my sites (e.g.
10.129.30.0/24), I do not see any traffic on the gif interface.
Second, I am seeing the following error m
> IP-IP interface ? (GIF). If you are using that, then you will need very
> different policies on both sides. You should mention these little
> "details" when posting your configs. Can you please post your FULL
> configuration / topology. Othe
What does their policy look like ? Are they really setting up an IP-IP
> tunnel on their side too ? Or just a regular ESP IPSEC tunnel. If they
> are not setting up an IP-IP tunnel, than get rid of the gif interface.
>
I have sent them an email, and I am waiting hear from them. I do have the
co
> Yes, post that to the list.
>
I am not sure if this is the entire configuration or not, but this is what
they have posted.
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto map rackmap 201 match address 201
Thank you for all your help!! IT WORKS!!!
One final question. If I want to clean up my racoon configuration file,
instead of using sainfo anonymous can the following be used instead?
sainfo address 10.129.0.0/16 any address 192.168.100.0/22 any
Thank you again for all your help!
Jay
---
I have run into a problem that I cannot find the answer to using Google
and I am hoping someone has seen this before.
I am connecting to a Windows 2008 server running cwRsync as a daemon. One
of my six sites will not connect to the server. No error messages are
seen in the cwRsync log file o
Ladies and Gentlemen,
The organization I work for has a need to log information from the phone
system. The phone system has a serial port output.
Since I already have a FreeBSD server in place at this location, I was
wondering if it is possible to send the information from the phone system,
to t
Recently, I upgraded from FreeBSD 4.8 to FreeBSD 6.0. And, I upgraded mpd
from version 3.17 to 3.18.
After the upgrade, several sites began experiencing problems maintaining
their connections (especially under high traffic loads). When I put the
4.8 server back in place, everything began working
I have been running BIND for several years in the Regional Offices I
maintain and the problem in one office has me confused and I'm not sure
where to look.
Under FreeBSD 4.8 BIND was making zone transfers normally. In my network,
Windows 2000 is the master and bind is the salve. Recently, the se
> On Wed, Feb 08, 2006 at 12:45:02PM -, [EMAIL PROTECTED] wrote:
>> Under FreeBSD 4.8 BIND was making zone transfers normally. In my
>> network,
>> Windows 2000 is the master and bind is the salve. Recently, the server
>> was upgraded to FreeBSD 6.0, and suddenly BIND stopped making zone
>> t
In the near future, I will be doing FreeBSD server upgrades. I am looking
for a utility with will allow me to read a FreeBSD drive, in a USB chasis
connected to my Windows PC.
I have found some utilities which will allow me to accomplish this on a
desktop computer, using IDE interfaces, but nothi
I have developed a boot image for a CD to be used on servers througout the
organization I work for. Everything is working great, except for one
small problem.
When I boot from the CD I created, I receive a message stating "newsyslog:
malformed 'at' value".
/var/log/wtmp 640 5 * @01T0
I am trying to connect a remote office to the corporate office using
pptpclient.
However, I am not able to connect, and I am seeing the following message
in /var/log/ppp.log
tun0: Warning: CHAP 0X81 not supported without DES.
>From what I have read, my understanding is that I am missing the DE
Recently, I purchased several Western Digital External Hard Drives to be
used for backup purposes. The test unit I purchased worked out of the
box, but I am having problems getting the newer ones to work.
When they are plugged in to a FreeBSD 5.3 or 5.4 server, I receive the
following messages:
The actual enclosure is made by Western Digital.
If I run usbdevs I receive the following output.
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 2: External HDD, Western Digital
I'm guessing the device would be /dev/da0s1.
Thanks for your help.
J
What I have found is that if I boot with the USB HDD attached to the
system, the system will hang when starting to mount the file systems.
However, if I connect the drive after the system is booted, everything is
fine. da0 appears, etc.
What should I be looking at to make the system boot with th
> On 11/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> The actual enclosure is made by Western Digital.
>>
>> If I run usbdevs I receive the following output.
>>
>> addr 1: UHCI root hub, Intel
>> addr 1: UHCI root hub, Intel
>> addr 1: EHCI root hub, Intel
>> addr 2: External HDD, Western
Is there a way to test a remote server to determine if certain processes
are running?
For example, can server 1 check server 2, which is at a remote location,
to ensure squid is running?
I have not been able to figure out how to do this, or if it is even possible.
Thanks,
Jay
> In the last episode (Oct 02), [EMAIL PROTECTED] said:
>> Is there a way to test a remote server to determine if certain
>> processes are running?
>>
>> For example, can server 1 check server 2, which is at a remote
>> location, to ensure squid is running?
>>
>> I have not been able to figure out
We have a corporate server which allows incoming connections on port 443
for checking e-mail. There is a possibility that soon, part of the data
center will be moved to a new location. Unfortunately, due to corporate
politics and the way the corporate network is setup, it is not possible to
chang
All of my FreeBSD servers boot from CD, and we are going to be having
several temporary employees coming and going over the next 6-12 months.
Is it possible to move the user/group databases from their location in
/etc (which is read only on my CDs) to another location?
I have read the man page co
> At 03:52 PM 9/7/2007, [EMAIL PROTECTED] wrote:
>>All of my FreeBSD servers boot from CD, and we are going to be having
>>several temporary employees coming and going over the next 6-12 months.
>>Is it possible to move the user/group databases from their location in
>>/etc (which is read only on m
>> At 03:52 PM 9/7/2007, [EMAIL PROTECTED] wrote:
>>>All of my FreeBSD servers boot from CD, and we are going to be having
>>>several temporary employees coming and going over the next 6-12 months.
>>>Is it possible to move the user/group databases from their location in
>>>/etc (which is read only
>
> On Sep 7, 2007, at 2:51 PM, [EMAIL PROTECTED] wrote:
>
>>> At 03:52 PM 9/7/2007, [EMAIL PROTECTED] wrote:
All of my FreeBSD servers boot from CD, and we are going to be
having
several temporary employees coming and going over the next 6-12
months.
Is it possible to move
Is it possible to use ntpd as a client as well as a server?
I have my firewall setup to get updates from the Internet which it does
without any problem. However, I am not seeing any clients syncrhonizing
with the firewall.
The firewall ntp.conf files contains the following.
server ntp-2.mcs.anl
I have a need to temporarily capture data from our phone system via the
serial port on one of my FreeBSD servers.
What would be the best way to do this?
Thanks,
Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listi
I am working with oone of my vendors and they are asking for a secure
telnet program on my FreeBSD box.
Can anyone recommend a port for the secure telnet program, or a source
where I can obtain one?
I was able to make rlogin work (from my laptop), but I was not able to use
rlogion from the FreeBS
> [EMAIL PROTECTED] wrote:
>> I am working with one of my vendors and they are asking for a secure
>> telnet program on my FreeBSD box.
>>
>
> [EMAIL PROTECTED] wrote:
>
> > What's wrong with ssh?
>
> Indeed. Perhaps you can tell us what client the vendor is using; it
> seems likely that most pro
>From what I have read, I think the Ultrium tape drive is completely
compatible with FreeBSD. If I am understanding the specs correctly, it
uses hardware compression to compress data. And, again if I am
understanding everything correctly, I should be able to use the mt command
to tell the tape dr
I have run into a rather weird problem, that I am not sure how to correct.
I have created a bootable CD for my FreeBSD systems which is approximately
234 MB in size. While deploying the image, I found an error I would like
to correct. All I am doing is adding a symlink to a folder in the /home
d
I have written a script to determine if processes are running. I am
using, as an example,
ps -ax | grep -c postgrey
Ocassionally, I am receiving a notification a process is not running (and
it varies which process I receive notifications for). And, when checking,
the process actually is running
> In the last episode (Nov 27), [EMAIL PROTECTED] said:
>> I have written a script to determine if processes are running. I am
>> using, as an example,
>>
>> ps -ax | grep -c postgrey
>>
>> Ocassionally, I am receiving a notification a process is not running
>> (and it varies which process I recei
I have purchased a new Proliant G5 server with the E200i RAID controller.
FreeBSD is not recognizing the the drives. The ciss module for the
controller is not loaded. Do I need to do something special to make
FreeBSD recognize the controller?
Thanks,
Jay
___
I have installed FreeBSD 6.2 on an HP Proliant G5 server with an E200i
Smart Controller installed. The installation was flawless.
When I reboot the server after the installation, the boot loader screen is
displayed. I press F1 and the system beeps and comes back to the boot
loader prompt.
What
Both of those checked OK. Is it possible I have specified the C/H/S
incorrectly during setup?
Thanks,
Jay
> At 10:49 AM 4/26/2007, [EMAIL PROTECTED] wrote:
>>I have installed FreeBSD 6.2 on an HP Proliant G5 server with an E200i
>>Smart Controller installed. The installation was flawless.
>>
> At 12:52 PM 4/26/2007, [EMAIL PROTECTED] wrote:
>>Both of those checked OK. Is it possible I have specified the C/H/S
>>incorrectly during setup?
>>
>>Thanks,
>
> What is your type and model hard drive? Did you specify the geometry when
> you ran sysinstall?
>
> How did you partition and slice
> At 01:16 PM 4/26/2007, [EMAIL PROTECTED] wrote:
>> > At 12:52 PM 4/26/2007, [EMAIL PROTECTED] wrote:
>> >>Both of those checked OK. Is it possible I have specified the C/H/S
>> >>incorrectly during setup?
>> >>
>> >>Thanks,
>> >
>> > What is your type and model hard drive? Did you specify the g
I have been able to make the system boot. I had to change one of the
Array options to "Max Boot enabled 8gb". I found this in an older post
concerning a different controller, but it worked.
Specifically, my server is an ML350 with the E200i controller.
Thanks to everyone for your help.
Jay
> On Thu, Apr 26, 2007 at 06:31:05PM -, [EMAIL PROTECTED] wrote:
>
>> > At 01:16 PM 4/26/2007, [EMAIL PROTECTED] wrote:
>> >> > At 12:52 PM 4/26/2007, [EMAIL PROTECTED] wrote:
>> >> >>Both of those checked OK. Is it possible I have specified the
>> C/H/S
>> >> >>incorrectly during setup?
>> >>
I am in the process of creating a bootable CD for the offices I maintain
to hopefully make upgrades easier in the future.
At this point in time /dev/ad0s1a (where the root partition is located)
has 13% of 512 MB.
When I create the ISO image, it is twice the size it was under FBSD 6.1.
Comparing
I am trying to calculate how much of the space on my tape has been used.
This is what I have done, and I want to make sure I barking up the right
tree before going too far.
Move the tape to the end of the data. (mt eod).
Find the logical block location of the drive (mt rdspos).
/dev/nsa0: logic
Is it possible to create a bootable CD with a custom kernel for FreeBSD?
I maintain several servers in remote locations and rather than drive
whenever there is an update, I would prefer to just simply send the
offices a bootable CD with the new software. So, all they would have to
do is restart
Ladies and Gentlemen,
I want to check the understanding of jails.
My understanding is a jail uses the existing kernel configuration and
cannot use its own kernel configuration.
Is this correct?
Thanks,
Jay
___
freebsd-questions@freebsd.org mailing
I am in the process of debugging a script and I would like to have the
output of stdout redirected to a file.
After reading about redirection on the Internet, I was under the
impression the following would redirect stdout to a file, but I cannot
seem to get it to work.
tar -cvzf root.tgz /root >
> Hello, jhall.
>
> On 21 ??? 2007 ?., 17:49:28 you wrote:
>
> jvn> tar -cvzf root.tgz /root > /dev/null 2>/home/jay/tarlog
>
> jvn> I'm sure it is something simple I am doing wrong, but I am not seeing
> it.
>
> what i
> At 08:49 AM 12/21/2007, [EMAIL PROTECTED] wrote:
>>I am in the process of debugging a script and I would like to have the
>>output of stdout redirected to a file.
>>
>>After reading about redirection on the Internet, I was under the
>>impression the following would redirect stdout to a file, but
> In that case you only redirecting STDERR to file. As you've been
> already told STDOUT will be redirected with
>
> $ command 1>file
>
> or
>
> $ command > file
>
> adding 2>&1 will also redirect STDERR to this file
>
When I run this as a non-root user it works fine. But, when running it as
roo
> # command >& file
>
> this will redirect both STDERR and STDOUT to file
>
> --
> Best regards,
> Michael mailto:[EMAIL PROTECTED]
>
>
Thank you to everyone for their help. I have this working now.
Jay
___
freebsd-questions
I'm hoping I have missed something simple, but I am experiencing a problem
compiling OpenLDAP.
My BerkeleyDB files are in a non-standard location and I trying to set
CPPFLAGS and LDFLAGS to point to the correct location.
I am logged in as a normal user, and I am using the following commands to
se
Ladies and Gentlemen,
Please accept my appologies for the lack of information in my previous post.
I am running FreeBSD 6.2, TikiWiki 1.9.9, mysql 5.0, php-5.2.5. Images
are being saved in the mysql database. The images are being saved, but no
thumbnails are being generated.
After working with
Ladies and Gentlemen,
Please excuse the off topic post.
I have installed TikiWiki, but I have not been able to get the software to
generate thumbnails at all. The images are always displayed at their
original size.
This happens with gd from the ports collection, or compiling from source.
Any s
I am working on getting a FreeBSD system to boot from a USB memory stick.
Would it be possible to install the operating system using the following:
cd /usr/src
make DESTDIR=/mnt/usbdisk world
boot0cfg -v -B -o noupdate da0
Or, is there an easier way to do this?
Thanks,
Jay
__
I am trying to setup a remote FreeBSD server to allow me to dial in and
check the network in case the WAN link goes does. I accomplished this
with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0. I am
dialing using WIndows XP to establish a PPP connection
I am using the second metho
The modem is answering the call. However, it looks like the ppplogin
script is not being called. No information for tun1 is showing up in the
log file.
Permissions on ppplogin are 650 and the owners are root:network.
If I run ppplogin from the command line, tun1 information shows up in the
log
> Hello jhall!
>
> Sun, Jun 11, 2006 at 03:34:14AM - you wrote:
>
>> > Hello jhall!
>> >
>> > Fri, Jun 09, 2006 at 06:07:26PM - you wrote:
>> >
>> >> incoming:
>> >>set device /dev/cuad0
>> >>set if
> Hello jhall!
>
> Sun, Jun 11, 2006 at 07:03:35PM - you wrote:
>
>> OK. I added the -unit to ppplogin with no luck.
>>
>> ppplogin now contains
>>
>> #!/bin/sh
>> /usr/sbin/ppp -direct -untit1 incoming
>^ a typ
If this is a double post, please excuse me. I just realized I sent my
initial question to the wrong address.
Today, I received my Ultrium 1/8 920 autoloader. I just realized the tape
drive can be assigned an IP address so it can be backed up to over the
network. And, I would like to explore
> Depends a little on what sort of software is on the tape drive.
> But, probably you can either use dump(8)/restore(8) or tar with
> no problem. They can dump/restore to/from remote devices/files.
>
No software on the drive.
Jay
___
freebsd-ques
Ladies and Gentlemen,
I have a need to encapsulate option 125 for my phone system on my isc-dhcp
server.
Following is a snippet from my dhcpd.conf file.
option space MITEL;
option MITEL.Option-125 code 125 = string;
subnet 1.2.3.0 netmask 255.255.255.0 {
range 1.2.3.100 1.2.3.200;
option ro
I have a need to stream video from my server room to wherever I am via the
web. Basically, I need to be able to see the temperature sensor in the
room when an alarm is indicated, and I need to be able to see what mode
the A/C is in.
I have found some articles regarding streaming video, but nothin
Ladies and Gentlemen,
I an attempting to decrypt a file using the following command line.
/usr/local/bin/gpg --output /usr/local/scripts/test. --no-default-keyring
--secret-keyring 09-2010.sec --keyring 09-2010.pub --always-trust
--decrypt --recipient wed_sep_1_00_01_00_cdt_2...@abc.org
/usr/l
80 matches
Mail list logo