mimencode so it occurred to me
that some other application might exist which is in the ports
that does basically the same thing.
Is there anything which will take a raw email message
and spit out linear strings which can be processed like normal
text?
Thank you.
Martin McCormick
*traceroute: sendto: Permission denied
traceroute: wrote 192.168.1.125 52 chars, ret=-1
I also did try:
sysctl net.inet.udp.blackhole=0
then 1 and even 2 with no change.
What else should I look at? The firewall rules are
otherwise working as they should.
Thank you.
Martin
The executable in question is a C program whos file
permissions are 4755 and the file belongs to root so all files
it opens are also owned by root and that works properly, but
what I need is for this application to first open a few files owned by
the caller and then later, upgrade back to
jb writes:
Get familiar with this document:
http://www.cs.berkeley.edu/~daw/papers/setuid-usenix02.pdf
Then verify its validity on your target and current OS.
Thank you. I had read the man page several times and like most
man pages, it is a summary and one can miss some of the finer
points
it?
None of the documentation on kill (1) shows a signal 0
nor does kill -l.
Something tells me this is a bad idea these days, but I
still need an easy way to see if XYZ process is still alive.
Thank you.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information
Robert Bonomi writes:
'man 2 kill' tells all.
I believe that is the first or second time I have used
Section 2. I appreciate the reminder. It looks like ps -p ###
/dev/null appears to do what I need without producing output
ps -p 54321 /dev/null date ran the date command if there was
Robert Bonomi writes:
'man 2 kill' tells all.
I believe that is the first or second time I have used
Section 2. I appreciate the reminder. It looks like ps -p ###
/dev/null appears to do what I need without producing output
ps -p 54321 /dev/null date ran the date command if there was
...; \
${CP} -rf ${PACKAGESDIR} ${WRKDIR}/mfs/packages; \
${TOUCH} ${WRKDIR}/.packages_done; \
echo done; \
fi
#added by Martin McCormick
@if [ -d ${FILESDIR} ]; then \
echo -n Copying custom files ...; \
cd ${FILESDIR
Many thanks! The for loop was what was needed.
Polytropon writes:
Just a sidenote: If you're not using bash-specific functionality
and intend to make your script portable, use #!/bin/sh instead.
I always start out that way for that very reason. I needed some
random number functions and
the
redirection would pickup the standard output.
Thanks for ideas.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
be the only one in the
world who is still using nmh, but it is useful when you want
scripts to send mail, etc.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any
Is there anything like strace for AMD64 FreeBSD?
Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Is there anything like strace for AMD64 FreeBSD?
Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Bruce Cran writes I should try truss. I would just quote the
text, but I need to first find out what is broken in the reply
sequence and truss may point out what is failing.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http
The ISO image is the FreeBSD9.0 bootonly CDROM for amd64
systems. I added loader.conf to /boot in order to activate a
serial console and this along with socat appears to be working
as it should. This is great because remote desktop is not an
option.
The VM boot starts normally
in the
future.
Thank you for any good suggestions.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http
Polytropon writes:
That's correct. However, unlike a Braille readout which
gives tactile information (through the reader's hands),
synthetic voice cannot easily accomodate to the reader's
habits and reading speed. Scanning text is not possible
as the generated voiced text is played in linear
which has
worked in the past to let one modify loader.conf but I got a
bunch of errors this time about files that couldn't be created
so maybe this is not the recommended headless installation
technique any longer.
Any ideas?
Thank you very much
Martin McCormick WB5AGZ
of the Linux screen readers, we're talking about
a talking terminal for less than 100 US Dollars. We'll just have
to see what happens.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
I've got some code which I wrote about 6 or 8 years ago that
apparently doesn't get along right now with FreeBSD9.0. In the
problem code, there is a loop that uses fgets to read a line
from a file. It runs properly until the 2708TH iteration and
then it dumps core with a segmentation fault.
char
to variables based
on the contents of the lines. It is something that worked okay
up to FreeBSD8.X but now causes a segmentation fault.
Martin McCormick writes:
I've got some code which I wrote about 6 or 8 years ago that
apparently doesn't get along right now with FreeBSD9.0. In the
problem code
created the original archive?
Thank you.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
about trying
it again if we can't solve this mystery. We can't seem to
duplicate the problem. Any ideas are appreciated.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
trace so
hopefully somebody can give us an idea as to how this happened.
Thank you again.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail
I started to run freebsd-update to upgrade a 8.x system
to 9.0-RELEASE
# freebsd-update -r 9.0-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done.
Fetching metadata index... done.
Matthew Seaman writes:
That's a known problem and fixable by first updating your 8.2-RELEASE
machine to the latest patch level before trying the update to 9.0
It appears to be working now. Thank you.
___
freebsd-questions@freebsd.org mailing
Peter Andreev writes:
#include netinet/in.h
Many thanks. That made the FreeBSD version work just as
well.
As soon as I saw netinet.h, I realized it wasn't in the
original code as the Linux libraries apparently accomplish the
same thing without that header.
Martin
Michael Sierchio writes:
Does the same user exist on the remote system, with the same uid, etc.?
Yes.
If you're using rsync with ssh as the transport, and connecting to the
remote machine as the backups user, that's who will own the files on
its local filesystem...
I thought rsync had some
Rsync is a great utility, but is there a way to preserve
ownership and permissions if rsync remotely logs in to a backup
server as a normal user?
The recovery process is run by root but copies all the
files from the backup server as a normal user and uses its root
capabilities to
of, the less head-scratching and
frustration there is.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Damien Fleuriot writes:
SOLUTION:
You need a way to reply using a specific route depending on which IP was
requested by the internet user at 50.50.50.50
If they queried 100.100.100.53, you need to route through 100.100.100.1.
If they queried 200.200.200.53, you need to route through
Following up on a question I wrote Friday June 17, a
person from this list kindly referred me to the FreeBSD
Handbook and the sections on configuring Ethernet interfaces. It
has an excellent example as to how to set the default gateway
from the command line. I tried it and it worked. Can a
Matthew Seaman writes:
Yes. It's common in the sense that a lot of people think its something
that should work, and get confused when it doesn't prove simple to set up.
Thank you. I think I may have stumbled on to what I need
to do discussed in the Handbook under the multi-homed host
I would like to say that I got it working, but after
looking at the duel-homed host section of the Handbook, I am
still stuck. A Google search turned up a thread from a couple of
years ago that almost echoed my exact words. We've got a system
with network interfaces on two disjointed
The system in question has its primary NIC on one particular
network and a default route to the gateway on that network and
all of that works fine.
I needed the system to communicate fully on two
different networks so we enabled the second interface card and
it works on that second
The system in question has its primary NIC on one particular
network and a default route to the gateway on that network and
all of that works fine.
I needed the system to communicate fully on two
different networks so we enabled the second interface card and
it works on that second
per...@pluto.rain.com writes:
Being a university, okstate.edu has students, most of whom are
not in the CIS department or in any way under control of the CIS
department's sysadmin. Need I say more?
Spot on. About 25,000 students and some of them respond to
phishing attempts and make other
preserve present smtp functionality?
Many thanks. What a mess needing to send one message to one
person is turning in to.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
Ruben de Groot writes:
There is the Mail::IMAPClient perl module (or Net::IMAP::Simple,
perl's about choice ;-) )
Many thanks as this may come up again. In actuality, I was able
to end up using simple SMPT mail to use our Exchange gateway. I
just set that gateway as a smarthost which I thought
The /etc/mail/sendmail.cf file very clearly tells one
not to edit it directly so I edited the
/etc/mail/my.name.domain.mc file as stated in documentation to
cause this system to send all out-bound mail through a smart host.
The .mc file part that adds the smart host looks like:
Thanks to all. Somehow, I missed the make install. I will give
it another try and it will probably work as it should.
This is a great list and everybody is very nice even to those of
us who have been running FreeBSD for many years but are trying
new things.
Greg Larkin writes:
Try these
Lowell Gilbert writes:
The secure mode disables log files, but it also changes several other
behaviours, so you may not find it to be an improvement. The code
supports changing those secure features separately, but only by
editing the source; if you go that way, it will probably be much
This is a minor problem but I use more to read Email messages
from nmh. If one forgets what screen one is in, it is possible
to start typing and create a log file of the message in which
ever mailbox directory one is reading out of.
The man page for more is actually linked to less even
of find examples but very little use
of -prune in those examples.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr
Can one use the -prune directive multiple times in a
find command to specify a list of directories not to descend?
It would be like
find . -name * -prune dir1 -prune dir2 -print
or whatever you wanted find to do, but that does not work or I
wouldn't be asking. Find appears to
Is there a safe site to find the rsync package for
FreeBSD6.3? We still have a few 6.3 systems around because the
commercial backup client we have for an enterprise-wide solution
will not install on FreeBSD8.1?
This is one of those times when we are fighting the war
with what we
Devin Teske writes:
ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELE
ASE/packages/All
Have fun.
Thanks. I was on the right server but took a wrong turn.
___
freebsd-questions@freebsd.org mailing list
that one stray space before the first asterisk.
I removed it and everything started working.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail
suggestions.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
this condition often and when we do, it's hopefully for very
short periods, but the disruption is total.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions
to be read anywhere.:-)
Has anybody else had the same problem on a 64-bit
version of pgp?
I am glad I discovered this before anything crytical
happened.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http
Dan Nelson writes:
Does gnupg (ports/security/gnupg) work? I think you'll have a hard time
trying to get people to fix bugs in pgp; the source tree that the pgp port
uses is 14 years old.
Wow! I thought that was just the first copywrite date.
gnugp installs gpg-2 which is almost the right
it is
possible that I have the wrong php and another php has the
mysql_connect routine so at this time, I am all ears.
Thanks for any suggestions.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo
Glen Barber writes:
Are you sure mssql_connect() isn't a typo? The rest of your email
states mysql_connect().
Wow! I've been doing too much of this this week. It's
actually the other way around. The problem is with
mssql_connect and my references to mysql were based on a bit of
Greg Larkin writes:
You referred to C code at the top of your message,
That was actually incidental. I was thinking about what had
happened when I transplanted some home-grown C code in to 8.1
and had to clean up some of my lazy habits to make it work
again. So far, nothing I haven't been able
' requires 'pkg-config-0.23_1', but
'pkg-config-0.25' is installed
This looks like it could be harmless enough as pkg-config-0.25
is newer but I thought I would ask before creating any more
possible monsters. Is this something to fix or can I forget it?
Thank you.
Martin McCormick
as simply as
possible.
Thanks.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
scripts not to use /dev/acdx as they are CDROM devices, but
system drives can actually take many different names depending
on whether they are RAIDs SCSI IDE, etc.
Any good suggestions are appreciated.
Martin McCormick
___
freebsd-questions
with
corruption or maybe a new drive, gpart list executes silently
and prints nothing on the output.
As I said, you answered my question so many thanks. The
new question might best be put:
Okay, if nothing is there, where did gpart look to see nothing?
Martin McCormick
the script destroy itself after
launching since it never needs to run after that one time.
Thanks.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd
be
scratching your head all day trying to figure out why the job
isn't getting done. I use and like both FreeBSD and Linux but
some things are easier in one than the other.
Again, many thanks.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department
Matthew Seaman writes:
# pkg_create -b pkg-config-0.23_1
pkg-config is an indirect dependency for bind -- it's required by
security/openssl and textproc/libxml2 either of which bind are optional
dependencies for dns/bind97.
Thank you. This put me on the right track. When I used
and can not seem to find anything to save from the port that
contains that string or any part there of.
There is obviously some other little file I need to save
from somewhere, but I am not sure what to look for.
Thanks.
Martin McCormick
___
freebsd
I missing the
name of the package? If there is no package of bind97, this is not
a huge setback but it will make each installation take longer
before named starts to work.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http
should not be happening.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
since I completely
forgot about making sure it didn't get in to the new system.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions
after installing the patched kernel.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
b. f. writes:
Why on earth are you tinkering with your kernels in order to change
sudo output? You should instead be editing configuration files
associated with sudo and related base system utilities, or patching
sudo.
Absolutely. I couldn't remember if this happened with the
original kernel
to look at?
Thank you.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I have a large number of home-grown applications that
run under FreeBSD 6.3 and earlier. As we transition to
FreeBSD8.0, is there a good single package to add which will
provide the right libraries to allow these older binaries to run
without surprises?
Thank you.
Martin McCormick WB5AGZ
Chuck Swiger writes:
Yes, you want:
/usr/ports/misc/compat6x
It installs the libraries from FreeBSD-6.x under a compatibility location
so that your older binaries should run without needing to be
recompiled
Perfect. Thanks.
___
with configurations
that work. It is just time to modernize and at least configure
bind in the recommended way so as to take full advantage of the
clever design.
It does still give the message that the working
directory is not writable.
Martin McCormick
ten years and the force back to root ownership has
always been a factor when the system is rebooted.
Thank you.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
seems to exist in the
FreeBSD form of tar. I tried a Linux system's tar man page and
it is not there but both support the -X path/filename for a list
of exclusion patterns.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
.
I think the --exclude directive has worked before but
--include is either not doing anything or works completely
differently that what I was expecting.
Any ideas are appreciated.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department
the flush.
Doing the same command from a local or even a serial
console works fine and the new rules are installed.
Thanks and maybe I have been using the wrong technique
for reloading firewall rules all along.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information
I have just answered part of my own question. If you
background the process as in
sh /etc/rules.fw
it works. You still get knocked off the remote connection but
the backgrounded process continues to run without a controlling
terminal and completes.
The only remaining part of
Mark writes:
You could use nohup
That's is a very good idea.
Thanks.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd
via imap
to retrieve the messages.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
. I
should forward this message to the Mac and there, I can use
safari to handle that message.
Those are the only messages that will need to go through
popd so I need a simple way to feed them in so the Mac can get
them out.
Thanks.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
struggling to get out.
In my script, this is not a problem because the mfsboot
CDROM for 32-bit boxes chokes on a 64-bit platform and will not
boot. When on a 64-bit system, it boots like gang busters and
since it installs its own OS, there is no question at all.
Thank you all.
Martin
Is there a FreeBSD command similar to the Linux arch
command?
I have built a fairly decent Bourne shell script to run
just after installing mfsbsd on a target system. It figures out
the likely boot drive, formats it and then begins to build a
FreeBSD system on it. The script could
release should make absolutely
no difference.
That is what I suspected but I wanted to start on the
right foot so I thought I would check.
Thank you.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http
and we reboot to
take advantage of the new patches.
Thank you.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http
mfsbsd that tells you to just use scp to get the
image over to the target system and then, as root, use dd to
apply it to the boot device. That is not possible unless one
first boots from some other medium.
Martin McCormick
___
freebsd-questions@freebsd.org
is to completely rebuild the system
anyway, this would be the last gasp of the present system as it
gets ready to reboot, hopefully with mfsbsd and all hard drives
dismounted.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org
and
produces a new ttyUSBx device, the brand is not that critical.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http
Chuck Swiger writes:
Data centers use that for serial connections to stuff like Cisco routers
and other terminal applications all the time. However, if the device is
truly RS-232 rather than 422/423, it's nominally out of spec past 50
meters
and possibly won't go past 9600 baud.
I
I have hit one of these impenetrable walls in which nothing
seems to work but I know it should. I have tried several
versions of /boot.config to no avail. The idea is exactly the
same principle as described in depenguinator which is software
that lets one use grub in Linux to install FreeBSD on a
Partition 4 has a type of 165 or standard
FreeBSD.
I think I am calling the bootloader wrong since the very
same mfsboot image works properly when applied to /dev/ad0. The
only difference is that one now has the same partition
configuration on /dev/ad0 instead of ad0s1b
Martin McCormick
The boot.config file I thought would boot mfsbsd on what
was the swap partition is not working. On this particular
drive, ad0s1a is the normal FreeBSD partition and ad0s1b is
swap. The idea is to use dd to write the mfsboot.img file to
/dev/ad0s1b and then boot from there. My boot.config
:
dd if=mfsboot.img of=/dev/ad0
After that, the reboot will launch mfsbsd and the rest
appears to be manageable.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
way to tell the existing
system to boot from /dev/ad0s1b next time? That would solve the
problem completely.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any
.
Since you start with no actual drives mounted, you can
reformat the hard drive to however you need it, but you can't
reboot again until there is a working system back on the hard
drive or you just get a warm, humming paperweight. That's when
you need the rescue CD.
Martin McCormick WB5AGZ
/zoneinfo/America/Chicago
copied, not linked, to /etc/localtime.
The goal is to run the script I will build under mfsbsd
and then boot the system in working order as if it had been
installed via sysinstall by someone sitting at a console.
Martin McCormick WB5AGZ Stillwater, OK
Systems
haven't figured out
why but it appears that ftp gets ahead of the ability to store
the files. Whatever it happening, it is now more right than
wrong.
Again, thanks for all your help.
Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department
in single-user mode
from the CDROM. I greatly appreciate all the help and welcome
any new ideas, but it appears to be back to the drawing board
for remotely-done upgrades.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http
]qj
Whatever it is that differs between using mfs to run sysinstall
and the CDROM to also run sysinstall is not obvious, at least to
me.
Sorry for the length of this message and I hope all the
little boxes and box parts didn't wreck anybody's terminal.
Martin McCormick
, but sysinstall can't seem to do the
installation. This does not make sense, but that is the score
right now.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail
drive and where it is.
I have never been so confused about something that
seemed so straight-forward. Thanks for your help.
Martin McCormick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
1 - 100 of 340 matches
Mail list logo