burncd issues

2003-12-27 Thread Eric F Crist
Hey all,

This is the first time I've tried burning CDs or DVDs from freebsd.  I have 
read through what I thought was the pertinent information on the archives and 
typed the following command to burn a simple pdf file (an old email from the 
KDE print system, which is readable from the hard drive) to the CDRW drive on 
my laptop:

# burncd -f /dev/acd0c -s max data /home/user/email-test.pdf fixate

The cdrw drive works for a few seconds, I get some output from burncd that 
indicates everything is OK and I eject the CDR, noting the burned tracks that 
are visible with the right reflection of light.

However, I get the following error when I try to execute the following two 
commands:

# mount -t cd9660 /dev/acd0c /cdrom
or
# mount /cdrom

Output: cd9660: /dev/acd0c: Invalid argument

Is there a different option I should give burncd or mount?  Please let me 
know.  Also, from 4.9, are there any other major issues I should know about 
burning a DVD?  5.x?

TIA

Eric Crist
AdTech Integrated Systems, Inc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: burncd issues

2003-12-27 Thread Ion-Mihai Tetcu
On Sat, 27 Dec 2003 01:23:04 -0600
Eric F Crist <[EMAIL PROTECTED]> wrote:

> Hey all,
> 
> This is the first time I've tried burning CDs or DVDs from freebsd.  I have 
> read through what I thought was the pertinent information on the archives and 
> typed the following command to burn a simple pdf file (an old email from the 
> KDE print system, which is readable from the hard drive) to the CDRW drive on 
> my laptop:
> 
> # burncd -f /dev/acd0c -s max data /home/user/email-test.pdf fixate

Perhaps you missed the isofs step ? From that command line it seems you
burned directly the file itself, co is no wonder that mount can
recognise the file-system format.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

> The cdrw drive works for a few seconds, I get some output from burncd that 
> indicates everything is OK and I eject the CDR, noting the burned tracks that 
> are visible with the right reflection of light.
> 
> However, I get the following error when I try to execute the following two 
> commands:
> 
> # mount -t cd9660 /dev/acd0c /cdrom
> or
> # mount /cdrom
> 
> Output: cd9660: /dev/acd0c: Invalid argument
> 
> Is there a different option I should give burncd or mount?  Please let me 
> know.  Also, from 4.9, are there any other major issues I should know about 
> burning a DVD?  5.x?



-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


compile errors / cinepaint

2003-12-27 Thread epilogue
hello all,

i am running FBSD4.9 and am wondering if any other 4.* users have had luck
building the/usr/ports/graphics/cinepaint port?  when i try, i get several
error messages (see below).

i've hacked away at this to the end of my very limited ability (suspect
correct change in guash-config.h may yield solution) and have
searched both google and the fbsd mailing list archives without any luck. 
i would appreciate it if someone could point me in the right direction.


thanks!
epi

---
gcc -g -O2 -o .libs/guash guash.o icons.o ../../lib/.libs/libcinepaint.so
-L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E
-lgmodule12 -lglib12 -lintl -lXi -lXext -lX11 -lm -lc  -Wl,--rpath
-Wl,/usr/local/lib
guash.o: In function `run':
guash.o(.text+0x236): undefined reference to `gimp_procedural_db_get_data'
guash.o(.text+0x3b0): undefined reference to `gimp_procedural_db_set_data'
guash.o: In function `guash_build_thumbnail_from_gimage':
guash.o(.text+0xb6a): undefined reference to `gimp_layer_is_floating_sel'
guash.o(.text+0xfd2): undefined reference to `gimp_image_parasite_find'
guash.o(.text+0x107a): undefined reference to `gimp_parasite_free'
guash.o: In function `guash_get_image_from_file':
guash.o(.text+0x116d): undefined reference to `gimp_image_undo_disable'
guash.o: In function `guash_open_image_file':
guash.o(.text+0x1c4e): undefined reference to `gimp_image_undo_enable'
guash.o: In function `thumbnail_save_as_jpeg_thumbnail':
guash.o(.text+0x7caf): undefined reference to `gimp_image_undo_disable'
guash.o: In function `timer_start_guash':
guash.o(.text+0x9d7c): undefined reference to `gimp_procedural_db_set_data'
gmake[2]: *** [guash] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/cinepaint/work/cinepaint-0.18-1/plug-ins/guash'
gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/ports/graphics/cinepaint/work/cinepaint-0.18-1/plug-ins' gmake: ***
[all-recursive] Error 1*** Error code 2

Stop in /usr/ports/graphics/cinepaint.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Trouble Compiling 5.2

2003-12-27 Thread Matthew Juszczak
(Sorry if this post comes through multiple times.  Had some reverse DNS
problems and I just fixed them, but I'm not sure if the 3 other messages
I sent will go through to the list after being originally denied.)

My question is ... anyone know whats wrong with the following?

roadrunner# make buildkernel KERNCONF=roadrunnerkern
"Makefile.inc1", line 739: warning: String comparison operator should be
either == or !=
"Makefile.inc1", line 739: Malformed conditional ((!defined(NO_RESCUE)
||  defined(RELEASEDIR)) &&  (${TARGET_ARCH} != ${MACHINE_ARCH} ||
${BOOTSTRAPPING} < 501101))
"Makefile.inc1", line 739: Missing dependency operator
"Makefile.inc1", line 741: if-less endif
"Makefile.inc1", line 741: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.


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


Re: Can't traceroute to my box

2003-12-27 Thread Uwe Doering
Frank DeChellis wrote:
Hi.

I am new to FreeBSD.  I have been using NetBSD for about 9 years.  I have
FreeBSD v. 4.8 Release #1 running.  Everything is smooth expect for one
thing.
I can't traceroute to the box.  I can do a traceroute -I to it, but not a
regular traceroute, which tells me something about UDP, but I don't know
where to look.
IS there a file somewhere that is closing certain UDP ports that respond to
traceroute?
Apart from the usual suspect (firewall filtering out the incoming UDP 
and/or outgoing ICMP packets), what does

  sysctl net.inet.udp.blackhole

show?  If it is _not_ 0 it means that UDP ports that are not in use 
don't generate a response, which implies that the normal 'traceroute' 
won't work.  This feature is intended to make the life of (port 
scanning) hackers even more miserable than it must be already.  There is 
a related variable for TCP as well (net.inet.tcp.blackhole).

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Does it possible VPS with FreeBSD ?!

2003-12-27 Thread Vahric MUHTARYAN
Hi Everybody , 

Maybe you know Ensim , Vmware have a software ( Virtul Private
Server ) which you can divide computer into seperate portions and everybody
can manage their portions like his server ... One main computer and several
virtual server on this computer ?! 

Does any body know amy software or build in function on (Free)BSD ?!



Thanks ,
Vahriç , 

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


5.2 Kernel Errors

2003-12-27 Thread Matthew Juszczak
Any ideas on this one?

Right after a cvsup to 5.2

roadrunner# cd /usr/src
roadrunner# make buildkernel KERNCONF=roadrunnerkern
"Makefile.inc1", line 739: warning: String comparison operator should be
either == or !=
"Makefile.inc1", line 739: Malformed conditional ((!defined(NO_RESCUE)
||  defined(RELEASEDIR)) &&  (${TARGET_ARCH} != ${MACHINE_ARCH} ||
${BOOTSTRAPPING} < 501101))
"Makefile.inc1", line 739: Missing dependency operator
"Makefile.inc1", line 741: if-less endif
"Makefile.inc1", line 741: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.
roadrunner#

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


SFTP Access Restrictions

2003-12-27 Thread Matthew Juszczak
Hello,

I was wondering if there is a way to setup permissions through SFTP that
are "higher" than the actual account's permissions.  Sort of the like
the features available with ftp through /etc/ftpchroot.  Right now I
have about 10 users who's shell is set to sftp-server, so the only thing
they can do is sftp in.

Any help would be appreciated.  Thanks!

-Matt Juszczak

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


Compile Error

2003-12-27 Thread Matthew Juszczak
Hello,

I'm getting the following errors when trying to do make buildworld:

roadrunner# make buildkernel KERNCONF=roadrunnerkern
"Makefile.inc1", line 739: warning: String comparison operator should be
either == or !=
"Makefile.inc1", line 739: Malformed conditional ((!defined(NO_RESCUE)
||  defined(RELEASEDIR)) &&  (${TARGET_ARCH} != ${MACHINE_ARCH} ||
${BOOTSTRAPPING} < 501101))
"Makefile.inc1", line 739: Missing dependency operator
"Makefile.inc1", line 741: if-less endif
"Makefile.inc1", line 741: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src.
roadrunner#

This is just after a CVS to the latest code.  Any ideas?

Thanks!

-Matt

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


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-27 Thread Matthew Seaman
On Sat, Dec 27, 2003 at 12:34:17AM -0500, Peter Leftwich wrote:

> The problem I now have is that I would like to mount_msdos a regular floppy
> then copy ("cp" or "cpio?") a file from it called ld-elf.so.1 to the
> mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk.
> 
> Typing just "mount" is not found.  Oddly enough, typing "help" or "cd /bin"
> then "./help" says "Permission denied."  I cannot locate a "mount" binary,
> however, I found "mount_nfs" and "mount_mfs" so would either of those work
> for mounting both an msdos floppy then my 4.7 partition?  Then must I use
> cpio to copy "A:\ld-elf.so.1" over to the 4.7 partition??

You can write the file direct to the floppy device /dev/fd0 as if it
was a tape.  No need to mount any sort of filesystem.  Since you have
cpio(1) available use:

# cd /usr/libexec
# echo ./ld-elf.so.1 | cpio -o > /dev/fd0

Then to extract the file:

# cd /usr/libexec
# cpio -i < /dev/fd0

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: VIA Tech Mini-ITX

2003-12-27 Thread Richard Kaestner
On Friday 26 December 2003 22:39, Marc Wiz wrote:
> On Fri, Dec 26, 2003 at 10:06:43PM +0100, Harald Schmalzbauer wrote:
> Content-Description: signed data
>
> > On Friday 26 December 2003 21:59, Anclo wrote:
> > > I'm considering to build a small VIA Tech Mini-ITX system using the C3
> > > 800 MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a
> > > gateway/router.
> > >
> > > Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd
> > > like to use it to run 4.9-RELEASE.
> > >
> > > Any advice would be appreciated - I'd hate to find out that there is no
> > > FreeBSD driver for the built-in network card...
> >
> > I'm using a older C3 800 miniITX without any problem.
> > AFAIK even the latest miniITX has the "VIA Rhine" chipset for ethernet.
> > Also the PLE266 should work, but of course you cannot use the mpeg2
> > decoder. Don't know any OS which could make use of it.
>
> There are patches for Linux to use the hardware MPEG-2 decoder.
>
> Check out http://www.linitx.org
>
> I have the board with the 1 Ghz chip but haven't tried FreeBSD yet.

works fine - X gives (still) some problems

>
> Marc

-- 
Mit freundliche Gruessen

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


Re: Moving from a single to dual CPU setup

2003-12-27 Thread Gerard Samuel
On Friday 26 December 2003 07:32 pm, Gerard Samuel wrote:
> Ill report back on my findings...
>

Ok, Im throwing in the towel.  Im guessing bad motherboard.
Its definately hanging in random places...
Thanks for your help.

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


Re: Does it possible VPS with FreeBSD ?!

2003-12-27 Thread anubis
On Sat, 27 Dec 2003 07:00 pm, Vahric MUHTARYAN wrote:
> Hi Everybody ,
>
>   Maybe you know Ensim , Vmware have a software ( Virtul Private
> Server ) which you can divide computer into seperate portions and everybody
> can manage their portions like his server ... One main computer and several
> virtual server on this computer ?!
>
>   Does any body know amy software or build in function on (Free)BSD ?!
>
>
>
> Thanks ,
> Vahriç ,
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Look at freebsd jails
man 8 jail


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


1024x768 on a toshiba 8100 tecra in a text (Non X) Console screen

2003-12-27 Thread List Man
First of all the best wishes for all of you.

I have seen people puzzling with the following before but
never saw a definitive answer on the topic.

I have FreeBSD 5.2 on a toshiba tecra 8100 with the following in
/boot/loader.conf.

snd_pcm_load="YES"   # Digital sound subsystem
snd_ds1_load="YES"   # ds1
vesa_load="YES"  # Set this to YES to load the vesa module
#
splash_bmp_load="YES"# Set this to YES for bmp splash screen!
bitmap_load="YES"# Set this to YES if you want splash screen!
bitmap_name="/boot/daemon.bmp"   # Set this to the name of the bmp or pcx file
#
console="vidconsole" # Set the current console

I want to be able to use my full screen in text (Not X) mode. Right now the 
standard resolution is 640x480 and I would like to get it to 1024x768.

When I do a "vidcontrol -i mode" I get plenty of resolution options
presented.

One of them : 
261 (0x105) 0x000f G 1024x768x8 18x16  0xa 64k 64k 0xf000 8192k

"vidcontrol -g 1024x768x8" will not give me error messages but the screen resolution
doesn't change.

This is a piece of my dmesg output :
VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc0a01c82 (122)
VESA: S3 Incorporated. M7 BIOS

In case some of you might wonder where you can get splash screens, this is where I got
mine : http://www.baldwin.cx/splash/.


Greetings,

LJ

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


Re: Compile Error

2003-12-27 Thread Kris Kennaway
On Thu, Dec 25, 2003 at 05:17:56PM -0500, Matthew Juszczak wrote:
> Hello,
> 
> I'm getting the following errors when trying to do make buildworld:
> 
> roadrunner# make buildkernel KERNCONF=roadrunnerkern

No, you're doing buildkernel, not buildworld.  Follow the upgrade
directions listed in the handbook and in UPDATING and you won't run
into this.

Kris


pgp0.pgp
Description: PGP signature


Re: Out of memory error

2003-12-27 Thread Kris Kennaway
On Fri, Dec 26, 2003 at 02:54:21PM -0700, Elliot Finley wrote:
> 4.8-R
> 
> I have a process that needs to keep about 700MB of data in RAM.  It crashes
> when it gets to about 512MB.  I've looked for a sysctl variable to tune, but
> none of them jumped out at me.  Same with man tuning'
> 
> Any pointers would be appreciated.

Post more information about your system configuration.

Kris


pgp0.pgp
Description: PGP signature


Re: Dynamic DNS Updates

2003-12-27 Thread Richard Bejtlich
Hello Evan,

If you decide to use a provider like dyndns.org, you
can use the ipcheck port (http://ipcheck.sf.net) to
keep your IP address and hostname in sync.

Sincerely,

Richard Bejtlich
http://www.taosecurity.com

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: burncd issues

2003-12-27 Thread Eric F Crist
On Saturday 27 December 2003 01:30 am, Ion-Mihai Tetcu wrote:
> On Sat, 27 Dec 2003 01:23:04 -0600
>
> Eric F Crist <[EMAIL PROTECTED]> wrote:
> > Hey all,
> >
> > This is the first time I've tried burning CDs or DVDs from freebsd.  I
> > have read through what I thought was the pertinent information on the
> > archives and typed the following command to burn a simple pdf file (an
> > old email from the KDE print system, which is readable from the hard
> > drive) to the CDRW drive on my laptop:
> >
> > # burncd -f /dev/acd0c -s max data /home/user/email-test.pdf fixate
>
> Perhaps you missed the isofs step ? From that command line it seems you
> burned directly the file itself, co is no wonder that mount can
> recognise the file-system format.
>
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
>
> > The cdrw drive works for a few seconds, I get some output from burncd
> > that indicates everything is OK and I eject the CDR, noting the burned
> > tracks that are visible with the right reflection of light.
> >
> > However, I get the following error when I try to execute the following
> > two commands:
> >
> > # mount -t cd9660 /dev/acd0c /cdrom
> > or
> > # mount /cdrom
> >
> > Output: cd9660: /dev/acd0c: Invalid argument
> >
> > Is there a different option I should give burncd or mount?  Please let me
> > know.  Also, from 4.9, are there any other major issues I should know
> > about burning a DVD?  5.x?

That worked!  Thank you so very much for pointing that out for me.

Eric Crist
AdTech Integrated Systems, Inc

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


Re: burncd issues

2003-12-27 Thread Ion-Mihai Tetcu
On Sat, 27 Dec 2003 07:58:43 -0600
Eric F Crist <[EMAIL PROTECTED]> wrote:

> On Saturday 27 December 2003 01:30 am, Ion-Mihai Tetcu wrote:
> > On Sat, 27 Dec 2003 01:23:04 -0600
> >
> > Eric F Crist <[EMAIL PROTECTED]> wrote:
> > > Hey all,
> > >
> > > This is the first time I've tried burning CDs or DVDs from freebsd.  I
> > > have read through what I thought was the pertinent information on the
> > > archives and typed the following command to burn a simple pdf file (an
> > > old email from the KDE print system, which is readable from the hard
> > > drive) to the CDRW drive on my laptop:
> > >
> > > # burncd -f /dev/acd0c -s max data /home/user/email-test.pdf fixate
> >
> > Perhaps you missed the isofs step ? From that command line it seems you
> > burned directly the file itself, co is no wonder that mount can
> > recognise the file-system format.

>  > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
> 
> That worked!  Thank you so very much for pointing that out for me.

no problem ;)



-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


disklabel question

2003-12-27 Thread Jason
hey folks, I just migrated my freebsd server from a couple of 
older/smaller scsi disks to a new ide controller with a bigger ATA133 
disk. I have all the partitions moved over to the new drive..
the /etc/fstab on the new drive is updated. The bootmanager is installed 
on the new drive.. but when I boot, I get

Invalid partition
No /boot/loader

>>FreeBSD/i386 BOOT
Default: 0:ad(0,a)/kernel
boot:

At the "boot:" prompt if I enter "0:ad(4,e)/kernel", it boots fine.

here is the old vs the new
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/da0s1a   126M53M63M45%/
/dev/da0s1f   252M21M   211M 9%/tmp
/dev/da0s1e   252M   124M   108M53%/var
/dev/da1s1e   3.9G   2.7G   946M74%/usr
procfs4.0K   4.0K 0B   100%/proc

new:
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad4s1e   984M   534M   372M59%/
/dev/ad4s1f36G   2.2G31G 6%/usr
procfs4.0K   4.0K 0B   100%/proc


so Im thinking I need to do something with disklabel but I want to make 
sure that I dont destroy my "so far working" efforts.

regards,
Jason

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


Re: Where does NIC driver lies in freebsd kernel ?

2003-12-27 Thread Lowell Gilbert
manish gautam <[EMAIL PROTECTED]> writes:

> 1.  Where does source code of NIC driver lies on my freebsd 4.7 kernel ?

That depends on which driver you're using.
I have an Intel Pro/100 card, so I use the fxp driver, for which the
device-specific driver is at /usr/src/sys/dev/fxp, and the miibus
generic support is at /usr/src/sys/dev/mii.

> 2.  Can you please provide me some examples of implementing netgraph
>  nodes ( if possible send some helpful links also )

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


need description of IPFILTER sysctl's

2003-12-27 Thread fbsd_user
Here is the list of ipfilter sysctl's in FreeBSD.
Looking for documentation on their meanings.

net.inet.ipf.fr_flags: 1073741824
net.inet.ipf.fr_pass: 513
net.inet.ipf.fr_active: 0
net.inet.ipf.fr_tcpidletimeout: 864000
net.inet.ipf.fr_tcpclosewait: 480
net.inet.ipf.fr_tcplastack: 480
net.inet.ipf.fr_tcptimeout: 480
net.inet.ipf.fr_tcpclosed: 120
net.inet.ipf.fr_tcphalfclosed: 14400
net.inet.ipf.fr_udptimeout: 240
net.inet.ipf.fr_udpacktimeout: 24
net.inet.ipf.fr_icmptimeout: 120
net.inet.ipf.fr_icmpacktimeout: 12
net.inet.ipf.fr_defnatage: 1200
net.inet.ipf.fr_ipfrttl: 120
net.inet.ipf.ipl_unreach: 13
net.inet.ipf.fr_running: 1
net.inet.ipf.fr_authsize: 32
net.inet.ipf.fr_authused: 0
net.inet.ipf.fr_defaultauthage: 600
net.inet.ipf.fr_chksrc: 0
net.inet.ipf.ippr_ftp_pasvonly: 0
net.inet.ipf.fr_minttl: 3
net.inet.ipf.fr_minttllog: 1

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


Re: need learning direction suggestions on using editors

2003-12-27 Thread Jez Hancock
On Sat, Dec 27, 2003 at 01:56:24AM -0500, parv wrote:
> in message <[EMAIL PROTECTED]>, wrote Jez Hancock
> thusly...
> >
> > On Thu, Dec 25, 2003 at 04:48:11PM +0800, Zhang Weiwu wrote:
> 
> (something about increasing vi knowledge & moving to vim or emacs)
> 
> > The major benefits of vi over vim are multiple buffers and the concept
> ^^^
> ^^^
> > of windows.
> 
> Surely Zhang meant that vim has major benefits over (n)vi, not the other
> way around, given the vim's virtues being extolled.  Right Zhang?
Slip of the fingers - you *know* what I meant!!! :P :P


-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: need description of IPFILTER sysctl's

2003-12-27 Thread Jez Hancock
On Sat, Dec 27, 2003 at 09:11:36AM -0500, fbsd_user wrote:
> Here is the list of ipfilter sysctl's in FreeBSD.
> Looking for documentation on their meanings.
Googling for some of the values might be the only option.  There are a
lot of sysctl flags that are quite obscure and only known seemingly to
the coders that wrote the source code for the OS.

This URL:

http://people.freebsd.org/~adrian/sysctl.descriptions

is ok for a few flags, but unfortunately doesn't list the ipf flags.

You could also try grepping for the flags in /usr/src and seeing if
there are any hints there.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Stuck on GDM and GNOME 2.4

2003-12-27 Thread Monah Baki
Hi all,

I installed from ports gnome 2.4 and gdm on Freebsd 4.9. I copied factory-gdm.conf to 
gdm.conf, I also copied gdm.sh.sample to gdm.sh.
I still can't start gdm I get the following error messages:

Dec 27 10:03:15 trinity gdm[193]: Failed to start X server several times in a short 
time period; 
disabling display :0
Dec 27 10:08:05 trinity gdm[252]: gdm_slave_xioerror_handler: Fatal X error - 
Restarting :0

One thing I noticed in the mailing list is not to start gdm at boot time. Which file 
is needed for 
that so that I can disable it.


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


Re: 4.9, 5.1 boot failure after install

2003-12-27 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> Hello,
> 
> I had 4.9 release working and did a clean install of 5.1 release over 
> the 4.9 and ended up with boot failure after install. Using allBSD 
> partition and standard MBR I get a missing operating system error. If I 
> use the FreeBSD boot I just get "default F1" and a beep. Now trying to 
> install the 4.9 gives the same results.
> 
> I'm using a Mylex DAC960ptl (accelraid 250) with the primary disk 
> setup as JBOD. I set the bootable disk as active but everytime I go 
> back to config fdisk the flag is not set. 
> 
> I then upgraded and flashed the RAID card, reformatted the disks and 
> tried a 4.9 install, again with the same results.
> 
> Is there an issue with the DAC card geometry or BIOS? Or a subtle 
> quirk that isn't documented yet?

Sounds more like you're not using the option to actually write out the
results to disk.  (W)rite, maybe?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dynamic DNS Updates

2003-12-27 Thread MikeM
On 12/27/2003 at 2:10 PM Gautam Gopalakrishnan wrote:

|On Fri, Dec 26, 2003 at 05:59:49PM -0800, Evan Sayer wrote:
|>  FreeBSD-
|> I would like to know how to make my server running 4.9 update my 
|> networks Dynamic Ip  address on my domains DNS servers.  My ip is 
|> always changing because it's dynamic, so a domain is essentially 
|> pointless unless i can get this up and running.  You could say i want 
|> my domain to function as though it were assigned to a Static IP.  I 
|> have been googleing for hours, and i can't understand any of it.  
|> Please be advised, i am somewhat new to FreeBSD.
|
|
|You could sign up with a subdomain provider such as www.dyndns.org,
|www.no-ip.com, www.dhs.org, www.homedns.org, etc. They would have
|clients which update the ip address in their dns servers once it
|changes in your machine.
 =


Another provider of such service is www.zoneedit.comThey will do 5
domains for free.  I like the geographic and software diversity of their
name servers.



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


Re: Backup Server

2003-12-27 Thread Lowell Gilbert
samy lancher <[EMAIL PROTECTED]> writes:

> I have a 4.5 FreeBSD server. It is our Email, web and database server. I would like 
> to setup a backup server so that when the main server goes down the backup server 
> takes over its job.
> Could some one please tell me the best way to setup a backup server and also suggest 
> some good documentation.

This kind of thing can be quite tricky.  If you want it to be
invisible to the users, it will be a huge amount of work.  In most
situations, you're better off just having a spare machine ready to
take over and letting the users know that the backup won't be fully up
to date.

Beyond that, you really have to identify the vulnerability scenarios
you're trying to ameliorate.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't login to X environment

2003-12-27 Thread Lowell Gilbert
Trey Sizemore <[EMAIL PROTECTED]> writes:

> I'm running 5.2 RC-1 on a P2-400 with 512MB RAM using XFree86 4.3 and
> KDE 3.1.4 with KDM login manager.  I'm having some difficultly
> starting X and I'm not sure if it's KDM or maybe something as simple
> as fonts.

The way to cut down on the possibilities would be to disable kdm and
see if it happens with startx.  And check whether a simpler window
manager has any effect.  Etc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: secure telnet

2003-12-27 Thread Lowell Gilbert
"fbsd_user" <[EMAIL PROTECTED]> writes:

> What is SRA? 

Secure RPC Authentication, I think. 
RFC1416, might be compliant with 2941 as well.

> Is the id and password passed as clear text?

No.

> Where is the documentation on SRA?

The RFCs describe the protocol.  I don't see why there would be any
user interface involved, so I don't know what other kind of
documentation would be useful.

> Where is the documentation on using these 
> options to make telnet secure?

I don't think there is any in the FreeBSD system or documentation
tree.  For secure remote login, ssh(1) is superior in every way, even
if you use null encryption on the session.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Backup Server

2003-12-27 Thread Nick Tonkin
On 27 Dec 2003 10:15:06 -0500, Lowell Gilbert 
<[EMAIL PROTECTED]> wrote:

samy lancher <[EMAIL PROTECTED]> writes:

I have a 4.5 FreeBSD server. It is our Email, web and database server. 
I would like to setup a backup server so that when the main server goes 
down the backup server takes over its job.
Could some one please tell me the best way to setup a backup server and 
also suggest some good documentation.
You could try the Equalizer series of load balancing appliances from 
Coyote Point software (www.coyotepoint.com). They are designed for network 
load balancing but they have an automatic failover mode so that machine 
'B' takes over immediately when machine 'A' is unavailable.

Of course keeping your content synchronized between two machines is a 
different kettle of fish. In the application in which we used the 
Equalizers. IIRC we used rsync to keep a fairly live database up to date 
(we had to because we used the devices for load balancing primarily so 
they were actually both in used concurrently). This seems like it would be 
quite involved if you wanted to keep an e-mail server for several users 
ready to fail over.

Oh, BTW, the equalizer is a software-based device that runs FreeBSD 
internally. Also worth noting is that the support we got from Coyote Point 
was exemplary.

HTH,

-nick
--
_
Nick Tonkin   {|8^)>
information management systems
and custom software development
http://www.tonkinresolutions.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting login.conf doesn't limit my users

2003-12-27 Thread Lowell Gilbert
Alexander <[EMAIL PROTECTED]> writes:

> after setting a new login classes in login.conf the users still don't get
> limited and worse - they can change the limits by themselves !
> 
> How do I restrict that ?
> 
> I'm using FreeBSD 4.9-STABLE. Most of the users are using bash. They
> are in the login class that should put them the limits and I ran cap_mkdb
> /etc/login.conf after adding the new class. The users login via sshd.
> 
> P.S. The FBSD handbook and the login.conf manpage doesn't help much. They
> only say that I should put the limits I want in login.conf and everything
> should be done. Do I miss something ?

Well, for one thing sshd(8) doesn't use login(1) by default,
so login.conf won't affect it at all.  You can change that
in login.conf(5), but doing so may have other consequences
(I haven't had enough coffee today to remember what they
could be; maybe checking mailing list archives would help).  

I think I'll go see if there's any coffee left...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SFTP Access Restrictions

2003-12-27 Thread Lowell Gilbert
Matthew Juszczak <[EMAIL PROTECTED]> writes:

> I was wondering if there is a way to setup permissions through SFTP that
> are "higher" than the actual account's permissions.  Sort of the like
> the features available with ftp through /etc/ftpchroot.  Right now I
> have about 10 users who's shell is set to sftp-server, so the only thing
> they can do is sftp in.

Please be just a bit more precise.  What do you want your setup to do
that its current arrangement isn't doing?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4.9, 5.1 boot failure after install

2003-12-27 Thread danl
Hi,

I've tried both methods. Letting the install program WRITE to FDISK 
upon completion and writing directly after making the partitions and 
setting the labels. Writing during the install gives the prompt that on 
new installs the routine will write later, do I really want to do it now. 
When I click yes I get the prompt that it is successfully written.

I assume that when I return to fdisk it will show a current setting (ie. 
active or not). Is the install operating on a ramdisk doing a final write 
on completion? I read one place that a person had the same problem 
and installed redhat successfully then reinstalled FreeBSD and the 
geometry was changed in fdisk. Is there a geometry issue?

thanks,
Dan


To: [EMAIL PROTECTED]
Copies to:  [EMAIL PROTECTED]
Send reply to:  [EMAIL PROTECTED]
Subject:Re: 4.9, 5.1 boot failure after install
From:   Lowell Gilbert <[EMAIL PROTECTED]>
Date sent:  27 Dec 2003 10:11:21 -0500

> [EMAIL PROTECTED] writes:
> 
> > Hello,
> > 
> > I had 4.9 release working and did a clean install of 5.1 release over 
> > the 4.9 and ended up with boot failure after install. Using allBSD 
> > partition and standard MBR I get a missing operating system error. If I 
> > use the FreeBSD boot I just get "default F1" and a beep. Now trying to 
> > install the 4.9 gives the same results.
> > 
> > I'm using a Mylex DAC960ptl (accelraid 250) with the primary disk 
> > setup as JBOD. I set the bootable disk as active but everytime I go 
> > back to config fdisk the flag is not set. 
> > 
> > I then upgraded and flashed the RAID card, reformatted the disks and 
> > tried a 4.9 install, again with the same results.
> > 
> > Is there an issue with the DAC card geometry or BIOS? Or a subtle 
> > quirk that isn't documented yet?
> 
> Sounds more like you're not using the option to actually write out the
> results to disk.  (W)rite, maybe?


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


Re: disklabel question

2003-12-27 Thread Josh Paetzel
On Sat, Dec 27, 2003 at 09:02:37AM -0500, Jason wrote:
> hey folks, I just migrated my freebsd server from a couple of 
> older/smaller scsi disks to a new ide controller with a bigger ATA133 
> disk. I have all the partitions moved over to the new drive..
> the /etc/fstab on the new drive is updated. The bootmanager is installed 
> on the new drive.. but when I boot, I get
> 
> Invalid partition
> No /boot/loader
> 
> >>FreeBSD/i386 BOOT
> Default: 0:ad(0,a)/kernel
> boot:
> 
> At the "boot:" prompt if I enter "0:ad(4,e)/kernel", it boots fine.
> 
> here is the old vs the new
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/da0s1a   126M53M63M45%/
> /dev/da0s1f   252M21M   211M 9%/tmp
> /dev/da0s1e   252M   124M   108M53%/var
> /dev/da1s1e   3.9G   2.7G   946M74%/usr
> procfs4.0K   4.0K 0B   100%/proc
> 
> new:
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad4s1e   984M   534M   372M59%/
> /dev/ad4s1f36G   2.2G31G 6%/usr
> procfs4.0K   4.0K 0B   100%/proc
> 
> 
> so Im thinking I need to do something with disklabel but I want to make 
> sure that I dont destroy my "so far working" efforts.
> 
> regards,
> Jason

I believe a look through /boot/defaults/loader.conf should set you on the path 
to booting goodness. :)

Josh Paetzel

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


Can I Boot From ad1? How?

2003-12-27 Thread Drew Tomlinson
I have a 4.9 system that has two identical 850 MB drives and a 4 GB drive.
The system boots from one of the 850 MB drives (ad0s1a) and uses a 50 MB
slice (?) for root.  The rest of this drive is unused.  The 4 GB drive
(ad2s1e) contains /usr.  The other standard filesystems such at /var, /tmp,
etc. are symlinked to /usr/* as suggested in The Complete FreeBSD for simple
systems.

Anyway, the system is sometimes inaccessible due to a flurry of hard errors
on ad0.  The only way into the system is to power off/on and then let fsck
sort things out.  Then the system will run fine for days and even weeks but
it will eventually happen again.  I suspect a complete disk failure is
eminent.

Thus, I would like to use ad1 (the unused 850 MB drive) in place of ad0 but
instead of limiting the root partition to 50 MB, I'd like to just use the
whole disk.  I have followed instructions from man and web pages in an
attempt to get this going.  I used /stand/sysinstall to fdisk and added the
boot flag.  Here's the current fdisk output:

blacksheep# fdisk -s ad1
/dev/ad1: 6616 cyl 4 hd 63 sec
PartStartSize Type Flags
   1:   0 1667232 0xa5 0x80

Then I used /stand/sysinstall to disklabel and newfs.  Here's the current
disklabel output:

blacksheep# disklabel ad1
# /dev/ad1c:
type: ESDI
disk: ad1s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 4
sectors/cylinder: 252
cylinders: 6616
sectors/unit: 1667232
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  166723204.2BSD 2048 1638490   # (Cyl.0 - 6615)
  c:  16672320unused0 0 # (Cyl.0 - 6615)

Next, I mounted ad1s1a and used the dump/restore example from the FAQ to
copy the contents of ad0s1a to ad1s1a.  Now for the test...

I read the boot man page and surmised that the way to boot from ad1 was to
use '1:ad(0,a)/kernel' at the boot prompt but I get this error:

Disk error 0x1 (lba=0x47a14bc0)
Invalid format

I've never attempted anything like this before so it's very possible I'm
missing something basic.  Any ideas?

Thanks,

Drew

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


Problems with Perl's Image::EXIF on 4.9-STABLE

2003-12-27 Thread Wayne Pascoe
Hi all,

I'm trying to install perl's Image::EXIF module on FreeBSD 4.9-STABLE.
I'm using perl 5.8.2 installed from ports.

I've installed libexif from /usr/ports/graphics/libexif and tried to
install Image::EXIF from CPAN.

make test fails with 
# Using Test.pm version 1.24
Can't load 'blib/arch/auto/Image/EXIF/EXIF.so' for module Image::EXIF:
blib/arch/auto/Image/EXIF/EXIF.so: Undefined symbol "gpstags" at
/usr/local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229.
 at test.pl line 10
 Compilation failed in require at test.pl line 10.

Skipping the test and forcing the install leaves me with a non-working
module. Trying to use it, I get :

$ perl -e 'use Image::EXIF; print "hello\n";'
Can't load
'/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Image/EXIF/EXIF.so' for
module Image::EXIF:
/usr/local/lib/perl5/site_perl/5.8.2/mach/auto/Image/EXIF/EXIF.so:
Undefined symbol "gpstags" at
/usr/local/lib/perl5/5.8.2/mach/DynaLoader.pm line 229.
 at -e line 1
 Compilation failed in require at -e line 1

It looks like ld cannot use the EXIF.so file because of an undefined
symbol. I can't find any other dependencies listed for this module, and
I'm not exactly sure what this LD error message means.

Cany anyone advise me on a fix for this ? 

Thanks in advance,

-- 
Wayne Pascoe
Give me enough medals, and I'll win any war.
- Napolean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't find k3b setup program

2003-12-27 Thread Trey Sizemore
I have installed k3b from ports, but I can't find the k3b setup program
to run so I can initialize the CD-RW and CD drives on my machine.

If anyone is running k3b, could you tell me the location of the program?

Thanks.

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


low level disk partition (NTFS) backup and restore

2003-12-27 Thread Jesse Guardiani
Howdy list,

I've got a slight problem that I'm not sure how to solve, but I'm
fairly sure FreeBSD is capable of helping me solve. Here's the
situation:

I have an IBM Thinkpad A30p with a 40Gb HDD. This drive contains
a 10 Gb NTFS partition holding Windows XP and a 30 Gb partition
holding FreeBSD 5.2-RC1.

Also, I have a desktop machine at home running Windows 98 SE on a
20 Gb hard disk. Now, as many of you know, Win 98 SE isn't a very
nice Operating System. I'd _love_ to put FreeBSD on that computer,
but unfortunately I can't. My wife is going to school and may need
MS Office someday soon. And I own an external Backpack CDRW parallel
drive that isn't support by FreeBSD (and Linux is out of the question).

So, what I want to do is copy the 10 Gb NTFS partition from my laptop
to the Win 98 SE computer's hard disk drive. I don't use Win XP on my
laptop much, so I'll delete it once I can verify that it's successfully
installed on the Win 98 SE machine.

I've scoured the internet, and so far I can't find a way to do this
from Windows (wow, big surprise). Win XP's "ntbackup" utility doesn't
provide any way to restore on a non Win XP machine, AFAICT. Is there
some way I can do this using tools like 'dd' and gzip?

Here are the things I'd like to accomplish:

1.) Low level (including MBR, if possible) compressed copy of my
NTFS partition to external USB 30 Gb hard drive.

2.) Boot FreeBSD Fixit media CDROM on Win 98 SE computer. Mount external
USB drive containing compressed copy of NTFS partition.

3.) Decompress and write NTFS partition from external USB drive to Win 98 SE
computer's hard disk drive.

4.) Run some kind of partitioning tool (BootItNG?) to make sure the (former)
Win 98 SE machine's partition tables are correct.

Does this sound do-able? What commands would I use to backup and restore
the NTFS partition?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Can't find k3b setup program

2003-12-27 Thread Antoine Jacoutot
On Saturday 27 December 2003 17:59, Trey Sizemore wrote:
> I have installed k3b from ports, but I can't find the k3b setup program
> to run so I can initialize the CD-RW and CD drives on my machine.
>
> If anyone is running k3b, could you tell me the location of the program?

I think there's none. k3bsetup is Linux only I guess.

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


Re: Can't find k3b setup program

2003-12-27 Thread Trey Sizemore
On Sat, 2003-12-27 at 12:16, Antoine Jacoutot wrote:
> On Saturday 27 December 2003 17:59, Trey Sizemore wrote:
> > I have installed k3b from ports, but I can't find the k3b setup program
> > to run so I can initialize the CD-RW and CD drives on my machine.
> >
> > If anyone is running k3b, could you tell me the location of the program?
> 
> I think there's none. k3bsetup is Linux only I guess.

If that's the case, any pointers on getting k3b setup correctly on my
machine.  I have atapicam enabled in my kernel for my CD drives.

-Trey

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


RE: secure telnet

2003-12-27 Thread fbsd_user
I there any way to tell the FBSD telnet server launched by inetd to
only accept SRA secure logins?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Lowell Gilbert
Sent: Saturday, December 27, 2003 10:28 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: secure telnet

"fbsd_user" <[EMAIL PROTECTED]> writes:

> What is SRA?

Secure RPC Authentication, I think.
RFC1416, might be compliant with 2941 as well.

> Is the id and password passed as clear text?

No.

> Where is the documentation on SRA?

The RFCs describe the protocol.  I don't see why there would be any
user interface involved, so I don't know what other kind of
documentation would be useful.

> Where is the documentation on using these
> options to make telnet secure?

I don't think there is any in the FreeBSD system or documentation
tree.  For secure remote login, ssh(1) is superior in every way,
even
if you use null encryption on the session.

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


Re: Can't find k3b setup program

2003-12-27 Thread Antoine Jacoutot
On Saturday 27 December 2003 18:31, Trey Sizemore wrote:
> If that's the case, any pointers on getting k3b setup correctly on my
> machine.  I have atapicam enabled in my kernel for my CD drives.

The port has a pkg-message file for it.

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


Re: Can't find k3b setup program

2003-12-27 Thread Trey Sizemore
On Sat, 2003-12-27 at 12:26, Antoine Jacoutot wrote:
> On Saturday 27 December 2003 18:31, Trey Sizemore wrote:
> > If that's the case, any pointers on getting k3b setup correctly on my
> > machine.  I have atapicam enabled in my kernel for my CD drives.
> 
> The port has a pkg-message file for it.


One last question.  I assume the following line in the pkg-message means
that I need to edit the two lines in my /etc/fstab file:

2. Your CD and DVD drives must have a mount point in /etc/fstab. They
have to be accessed through their atapicam device. I.e. the drives have
to be addressed by /dev/cd0c instead of /dev/acd0c.

to read:

/dev/cd0/cdrom  cd9660  ro,noauto   0   0
/dev/cd1/cdrom1 cd9660  ro,noauto   0   0

I notice there is currently no 'slice' for the CD drives in my fstab
(for example, mine is /dev/acd0 and not /dev/acd0c)

Thanks.



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


Re: Can't find k3b setup program

2003-12-27 Thread Antoine Jacoutot
On Saturday 27 December 2003 19:15, Trey Sizemore wrote:
> I notice there is currently no 'slice' for the CD drives in my fstab
> (for example, mine is /dev/acd0 and not /dev/acd0c)

That is normal.
Here's mine (scsi drives) under 5.2-RC:

/dev/cd0/cdrom  cd9660  ro,noauto   0   0
/dev/cd1/cdrom1 cd9660  ro,noauto   0   0

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


installation with a usb keyboard

2003-12-27 Thread Geoff S. Garen
I'm trying to install FreeBSD 4.9-stable with a usb keyboard. At the initial 
installation prompt (press enter to boot...), my keyboard works. I can even pause the 
boot loader to call up a command prompt. However, once the installation kernel boots, 
my keyboard doesn't work anymore.

Is there a fix to this?

>From reading stuff on the web, I've discovered two suggestions:

(1) Use a PS/2 keyboard for installation - your USB keyboard will work when 
installation is finished.

This doesn't help me because my computer has only USB ports.

(2) Enable "legacy / AT keyboard emulation" in BIOS.

This doesn't help me because I don't have that option in BIOS. More importantly, it 
seems to be on by default, which explains my ability to use the keyboard at the 
initial prompt. However, according to some older posts, it turns off by default once 
the FreeBSD kernel loads, because the kernel recognizes USB devices, so the BIOS 
senses that AT emulation isn't necessary. This seems like a supreme irony: because 
FreeBSD supports USB devices, my USB device doesn't work.

The last posts on this topic were March 2002. Has anything happened since then? Does 
anyone know a work-around? If FreeBSD supports USB devices, why doesn't it support 
them during installation?

Any help much appreciated.

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


What logs etc do I need to checkfrequently?

2003-12-27 Thread Joachim Dagerot
As you with good memories know, I lost 3000 pictures of my first sons
first year this month. I did have a RAID-5 system with fresh disks,
however, shit happens and I have a feeling that this could have been
avoided if I read my log files better.

So basically, 

a) I get a mail each time my a cron-event fires, this happens every 30
min so the mailbox are quite loaded, not very funny going through.

b) The file messages contained information that my raid-system was
about to blow, I didn't see this because I never read that file. Also
it appears to only log information after a reboot.
The vinum history file seems to only hold information about the vinum
setup, not the health of the volumes.

Questions:

a1) Is it possible to only get a mail with critical information, where
and what do I need to do to achieve this?

b1) Where will information about ongoing disk-problems appear? How can
I see that there is a flaky disk in a non-rebooted system?


In addition to the questions above, is there something else I need to
tune/install/setup/configurare to get a very reliable system that
report critical data to me but where non-critical data is filtered
out?

Thank in advance, my FreeBSD setup is getting more and more mature
now, only thanks to this list.

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


Re: Compile Error

2003-12-27 Thread Matt Juszczak
I was following the instructions (I believe).  This is after I have done:

mergemaster -p
make buildworld

When I said "I'm getting the following errors..." in my original email, I
meant to say make buildkernel, not make buildworld.  I was tired, sorry
;-(

Thanks,

Matt

> On Thu, Dec 25, 2003 at 05:17:56PM -0500, Matthew Juszczak wrote:
>> Hello,
>>
>> I'm getting the following errors when trying to do make buildworld:
>>
>> roadrunner# make buildkernel KERNCONF=roadrunnerkern
>
> No, you're doing buildkernel, not buildworld.  Follow the upgrade
> directions listed in the handbook and in UPDATING and you won't run
> into this.
>
> Kris
>

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


Re: SFTP Access Restrictions

2003-12-27 Thread Matt Juszczak
> Matthew Juszczak <[EMAIL PROTECTED]> writes:
>
>> I was wondering if there is a way to setup permissions through SFTP that
>> are "higher" than the actual account's permissions.  Sort of the like
>> the features available with ftp through /etc/ftpchroot.  Right now I
>> have about 10 users who's shell is set to sftp-server, so the only thing
>> they can do is sftp in.
>
> Please be just a bit more precise.  What do you want your setup to do
> that its current arrangement isn't doing?
>

I would like users who use sftp to be restricted to their home directory
only.  Is there a way to do this without setting up a "jail" of sorts?  In
regular ftp, I know the file /etc/ftpchroot allows access control (as well
as in the actual ftp config file, for instance proftpd allows you to set
options to restrict users to their home directory only).

Thanks!

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


Re: What logs etc do I need to checkfrequently?

2003-12-27 Thread MikeM
On 12/27/2003 at 7:40 PM Joachim Dagerot wrote:

|As you with good memories know, I lost 3000 pictures of my first sons
|first year this month. I did have a RAID-5 system with fresh disks,
|however, shit happens and I have a feeling that this could have been
|avoided if I read my log files better.
|
|So basically, 
|
|a) I get a mail each time my a cron-event fires, this happens every 30
|min so the mailbox are quite loaded, not very funny going through.
|
|b) The file messages contained information that my raid-system was
|about to blow, I didn't see this because I never read that file. Also
|it appears to only log information after a reboot.
|The vinum history file seems to only hold information about the vinum
|setup, not the health of the volumes.
|
|Questions:
|
|a1) Is it possible to only get a mail with critical information, where
|and what do I need to do to achieve this?

/usr/ports/security/logcheck





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


Re: Invalid Partition - help on setting up loader

2003-12-27 Thread Dorin H

--- Joseph <[EMAIL PROTECTED]> wrote:
> Hi list. Merry Christmas!!
> 
> This is my first post on a Freebsd Mailing List, so
> don't be too harsh on me if my ettiquette isn't
> acceptable.
> 
> Ok, I guess I'll get to the heart of this post:
> 
> I'm trying to figure out how to boot 5-releng-1
> alongside my 4-stable slice.
> 
> After a surprisingly successful buildworld/kernel,
> installworld, I used /stand/sysinstall to
> fdisk/disklabel the appropriate partitions. By the
> way, both slices exist on the same disk.
> 
> Booting to stable was fine, however, booting to
> current gave me:
> 
> invalid partion
> 
> I was, however, able to get it to work, when I
> pointed the boot to 0:ad(2,e)/boot/loader (which is
> the location of my current's root partition.)
> 

The FreeBSD boot process wants to use "a" partition
from active slice by default.  You can try set rootdev
in /boot/loader.conf to your / partition.  Please see
the archives, this issues have been discussed before.
If the error persists, check which slice is marked
active in PT.  
HTH,
/Dorin.
 
> I'm happy with how my current installation went, but
> I may have missed a crucial step along the way.
> 
> Any advice welcome
> 
> [edit] I was referred here from the newbies list. Go
> figure.
> If this isn't a newb question, what is?
> 

PS. Running 5.x and 4.x on same disk is not just a
walk in the park :). Good luck

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


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Two little CVS questions

2003-12-27 Thread Doug Lee
1.  How do I check in a revision with the file date instead of the
current date (like cvs import -d, only there's no such option for cvs
co)?

2.  Do any utilities already exist for appending one repo (,v) file to
another, or even intelligently merging repo files so that you get a
history containing all revisions from both?

These issues are coming up a lot as I try to move a lot of projects
into CVS without losing what history we have of their development.
This tends to involve massive directory searches, file sorts by date,
intelligently organized file copying and cvs imports, etc... but an
oversight amid all that would be MUCH easier to fix if I could do the
above things.


-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
Bartimaeus Group   [EMAIL PROTECTED]   http://www.bartsite.com
"If you refuse to be made straight when you are green,
you will not be made straight when you are dry." {African}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting login.conf doesn't limit my users

2003-12-27 Thread Jez Hancock
On Sat, Dec 27, 2003 at 10:36:17AM -0500, Lowell Gilbert wrote:
> Alexander <[EMAIL PROTECTED]> writes:
> 
> > after setting a new login classes in login.conf the users still don't get
> > limited and worse - they can change the limits by themselves !
> > 
> > How do I restrict that ?
> > 
> > I'm using FreeBSD 4.9-STABLE. Most of the users are using bash. They
> > are in the login class that should put them the limits and I ran cap_mkdb
> > /etc/login.conf after adding the new class. The users login via sshd.
> > 
> > P.S. The FBSD handbook and the login.conf manpage doesn't help much. They
> > only say that I should put the limits I want in login.conf and everything
> > should be done. Do I miss something ?
> 
> Well, for one thing sshd(8) doesn't use login(1) by default,
> so login.conf won't affect it at all.  You can change that
> in login.conf(5), but doing so may have other consequences
> (I haven't had enough coffee today to remember what they
> could be; maybe checking mailing list archives would help).  
I don't think this is true - whether or not login is called is dependent
on the shell set for each user - I may be wrong though :P.

All I *do* know is that I use sshd to login regularly and the login
capabilities I set in /etc/login.conf do take effect ok.

To the OP - it may help if you paste in the contents of your login caps
file /etc/login.conf or detail exactly what it is you're trying to
cap/restrict.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Stuck on GDM and GNOME 2.4

2003-12-27 Thread Joe Marcus Clarke
On Sat, 2003-12-27 at 09:31, Monah Baki wrote:
> Hi all,
> 
> I installed from ports gnome 2.4 and gdm on Freebsd 4.9. I copied factory-gdm.conf 
> to 
> gdm.conf, I also copied gdm.sh.sample to gdm.sh.
> I still can't start gdm I get the following error messages:
> 
> Dec 27 10:03:15 trinity gdm[193]: Failed to start X server several times in a short 
> time period; 
> disabling display :0
> Dec 27 10:08:05 trinity gdm[252]: gdm_slave_xioerror_handler: Fatal X error - 
> Restarting :0

From where was gdm installed?  When did it start to fail?  What happens
when you try to start X using startx?  What messages do you have in
/var/log/XFree86.0.log?  How about /var/log/:0.log?  What is the uid/gid
of the gdm user?  What are the permissions on /usr/X11R6/etc/gdm?  On
/usr/X11R6/share/gnome/gdm?

> 
> One thing I noticed in the mailing list is not to start gdm at boot time. Which file 
> is needed for 
> that so that I can disable it.

Under normal circumstances, gdm can be started at boot time without any
problems.  However, if you wish to disable this, just remove the
/usr/X11R6/etc/rc.d/gdm.sh file.

Joe

> 
> 
> Thank you.
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Screensaver issue

2003-12-27 Thread Jesse Sheidlower

I recently spent some time with portupgrade, fixing a bunch of
messed-up dependencies and ensuring that my GNOME was fully
updated to 2.4. When I was done, most things were pretty much
the same, but now my screen turns off after about five minutes
or so. This is not apparently related to xscreensaver, which 
is set not to go on until 30 minutes pass.

Are there other screensavers that might be running, or some
other explanation for the screen turning off after such a short
time? Any mouse movement or keyboard touch turns it on again.

I'm running 4.8-STABLE on an IBM ThinkPad X series, if it matters.

Thanks.

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


Re: Two little CVS questions

2003-12-27 Thread John Mills
Doug -

In case it's helpful ...
On Sat, 27 Dec 2003, Doug Lee wrote:

 ...
 
> 2.  Do any utilities already exist for appending one repo (,v) file to
> another, or even intelligently merging repo files so that you get a
> history containing all revisions from both?

I moved more than 1000 files from Source Integrity to CVS. All but about
80 came through with their histories retained. For the others I had to
make them "born again" as of the transition time. I used scripts found
from this pointer:

jm> Questions:
jm> 
jm>  1) Can I port my histories in some useful way?

ad> Given the way SI works, probably.
ad> http://mail.gnu.org/pipermail/info-cvs/2000-April/005974.html

If that is a dead link, I can come up with copies of the scripts, or my 
minor variations on them.

If you are moving from VSS to CVS, you may find something helpful here
[Disclaimer - I didn't try this.]:


Date: Thu, 22 Aug 2002 08:16:39 -0700
From: Chuck Karish <[EMAIL PROTECTED]>
Newsgroups: comp.software.config-mgmt
Subject: Re: How to Import History files from VSS to CVS

Use vcp.  It exports each change from VSS into a platform-independent 
XML format called RevML, then imports from RevML into CVS.

http://maillist.perforce.com/mailman/listinfo/revml


You may want to post your question in that newsgroup, too.

HTH.

 - John Mills
   [EMAIL PROTECTED]



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


Re: Out of memory error

2003-12-27 Thread Mikko Työläjärvi
On Fri, 26 Dec 2003, Elliot Finley wrote:

> 4.8-R
>
> I have a process that needs to keep about 700MB of data in RAM.  It crashes
> when it gets to about 512MB.  I've looked for a sysctl variable to tune, but
> none of them jumped out at me.  Same with man tuning'
>
> Any pointers would be appreciated.

You'll need to tweak MAXDSIZ, see LINT.  The default value seems to be
picked up from /sys//include/vmparam.h, and is 512MB on i386.

There is a corresponding kernel tunable (at least in 4.9) called
"kern.maxdsiz" you can put in /boot/loader.conf.

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


RE: Screensaver issue

2003-12-27 Thread fbsd_user
Check your PC's bios for power saving on monitor option. Turn it
off.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jesse
Sheidlower
Sent: Saturday, December 27, 2003 5:21 PM
To: [EMAIL PROTECTED]
Subject: Screensaver issue


I recently spent some time with portupgrade, fixing a bunch of
messed-up dependencies and ensuring that my GNOME was fully
updated to 2.4. When I was done, most things were pretty much
the same, but now my screen turns off after about five minutes
or so. This is not apparently related to xscreensaver, which
is set not to go on until 30 minutes pass.

Are there other screensavers that might be running, or some
other explanation for the screen turning off after such a short
time? Any mouse movement or keyboard touch turns it on again.

I'm running 4.8-STABLE on an IBM ThinkPad X series, if it matters.

Thanks.

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

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


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-27 Thread Peter Leftwich
On Sat, 27 Dec 2003, Matthew Seaman wrote:
> On Sat, Dec 27, 2003 at 12:34:17AM -0500, Peter Leftwich wrote:
> > The problem I now have is that I would like to mount_msdos a regular floppy
> > then copy ("cp" or "cpio?") a file from it called ld-elf.so.1 to the
> > mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk.
> > Typing just "mount" is not found.  Oddly enough, typing "help" or "cd /bin"
> > then "./help" says "Permission denied."  I cannot locate a "mount" binary,
> > however, I found "mount_nfs" and "mount_mfs" so would either of those work
> > for mounting both an msdos floppy then my 4.7 partition?  Then must I use
> > cpio to copy "A:\ld-elf.so.1" over to the 4.7 partition??
>
> You can write the file direct to the floppy device /dev/fd0 as if it
> was a tape.  No need to mount any sort of filesystem.  Since you have
> cpio(1) available use:
> # cd /usr/libexec

Now, will the command above change to my live system's /usr/libexec
directory, or a "pretend" one that exists only in RAM (ie. the way that the
emergency holographic shell exists in a "/ramdisk" if you will)?

> # echo ./ld-elf.so.1 | cpio -o > /dev/fd0

When you say "write the file direct" do you mean that my system's "/" root
directory may also be directly written to, without having to first mount it??!

> Then to extract the file:
> # cd /usr/libexec
> # cpio -i < /dev/fd0
>   Cheers,
>   Matthew
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH UK

My apologies.  This all seems a little scary, and does not sound proper...

--
Peter Leftwich
President & Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to find package name

2003-12-27 Thread parv
in message <[EMAIL PROTECTED]>, wrote
Dorin H thusly...
>
> --- fbsd_user <[EMAIL PROTECTED]> wrote:
> > What is the sure fired way to get the correct spelling  of the
> > package name to use with pkg_add -r  command?
> > 
> 
> If you have installed ports, and you know the port name (which you can
> find easily), you can go to /usr/ports/<> and cat/sed
> distinfo file.  HIH,

And to get that portpath relatively painless...

  listpkg | less


  where listpkg is...

http://www103.pair.com/parv/comp/src/perl/listpkg
http://www103.pair.com/parv/comp/src/perl/listpkg.pod



  - Parv

-- 

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


Recording RTT and RTO values

2003-12-27 Thread Tanmay Ganacharya
Hello,
I am currently using FreeBSD 4.8. I am want to record RTT and RTO values of
a tcp connection.
Could anyone please tell me which variables in which files hold the current
RTT and RTO values.
Once known I can put printfs and print these values.
Also if there is any other easier way of finding these values please do let 
me know.
Thanks in advance,
Regards,
Tanmay Ganacharya

_
Cricket crazy? Catch the latest action. http://server1.msn.co.in/sp03/gprs/ 
Now on your mobile!

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


Recording RTT and RTO values

2003-12-27 Thread Tanmay Ganacharya
Hello,
I am currently using FreeBSD 4.8. I am want to record RTT and RTO values of
a tcp connection.
Could anyone please tell me which variables in which files hold the current
RTT and RTO values.
Once known I can put printfs and print these values.
Also if there is any other easier way of finding these values please do let 
me know.
Thanks in advance,
Regards,
Tanmay Ganacharya

_
Cricket crazy? Catch the latest action. http://server1.msn.co.in/sp03/gprs/ 
Now on your mobile!

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


Can't login to machine any more!

2003-12-27 Thread Trey Sizemore
Just recently I can no longer login to my machine. When I get to the gdm 
screen and enter my username and password I get:

"The system administrator has disabled your account."

This happens with both my normal account and THE ROOT ACCOUNT!

Is this recoverable and, if so, how?

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


Dual Boot WinXP + FreeBSD

2003-12-27 Thread Julio Cesar
Hello everyone
This is my first post here and I wanted to say that I looked for this info everywhere 
but didn´t find that´s why I´m making this simple question. I´m right now using Win XP 
but till yesterday I used to run a dual boot system (RedHat 9/XP) but I decided to 
send RH to Hell and replace it to FreeBSD but when the instalation begun, I realized 
it couldn´t read mu NTFS drives so I thought the instalation wouldn´t work, then I ask 
you guys:

1. Can I have another dual boot on my machine with XP (NTFS) and FreeBSD?
2. Where can I read more about the process of instalation to keep my XP partition 
alive?

Thank You

 Julio Cesar
  MCP ID #3092980
  PGP KEY ID 0x7086BA80
  (81) 9139-0024
  [EMAIL PROTECTED] 

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


Re: Can't login to machine any more!

2003-12-27 Thread Micheal Patterson


- Original Message - 
From: "Trey Sizemore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 27, 2003 6:10 PM
Subject: Can't login to machine any more!


> Just recently I can no longer login to my machine. When I get to the gdm
> screen and enter my username and password I get:
>
> "The system administrator has disabled your account."
>
> This happens with both my normal account and THE ROOT ACCOUNT!
>
> Is this recoverable and, if so, how?
>
> Thanks.

You should be able to boot up in single user mode and correct this problem.
I'm not sure what would cause it though.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: Can't login to machine any more!

2003-12-27 Thread Trey Sizemore
Micheal Patterson wrote:

- Original Message - 
From: "Trey Sizemore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 27, 2003 6:10 PM
Subject: Can't login to machine any more!

 

Just recently I can no longer login to my machine. When I get to the gdm
screen and enter my username and password I get:
"The system administrator has disabled your account."

This happens with both my normal account and THE ROOT ACCOUNT!

Is this recoverable and, if so, how?

Thanks.
   

You should be able to boot up in single user mode and correct this problem.
I'm not sure what would cause it though.
 

Logged into single user mode and ran:

#grep root /etc/passwd

It showed the shell to be /bin/sh

Did a reboot and tried to login with gdm again and got the same message.

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


Re: Can't login to machine any more!

2003-12-27 Thread Micheal Patterson


- Original Message - 
From: "Trey Sizemore" <[EMAIL PROTECTED]>
To: "Micheal Patterson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, December 27, 2003 6:40 PM
Subject: Re: Can't login to machine any more!


> Micheal Patterson wrote:
>
> >- Original Message - 
> >From: "Trey Sizemore" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Saturday, December 27, 2003 6:10 PM
> >Subject: Can't login to machine any more!
> >
> >
> >
> >
> >>Just recently I can no longer login to my machine. When I get to the gdm
> >>screen and enter my username and password I get:
> >>
> >>"The system administrator has disabled your account."
> >>
> >>This happens with both my normal account and THE ROOT ACCOUNT!
> >>
> >>Is this recoverable and, if so, how?
> >>
> >>Thanks.
> >>
> >>
> >
> >You should be able to boot up in single user mode and correct this
problem.
> >I'm not sure what would cause it though.
> >
> >
> >
> >
> Logged into single user mode and ran:
>
> #grep root /etc/passwd
>
> It showed the shell to be /bin/sh
>
> Did a reboot and tried to login with gdm again and got the same message.

Sorry, missed the gdm part. Thought you were locked out of shell.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: Dynamic DNS Updates

2003-12-27 Thread Cordula's Web
> If you decide to use a provider like dyndns.org, you
> can use the ipcheck port (http://ipcheck.sf.net) to
> keep your IP address and hostname in sync.

Or use ddclient: /usr/ports/dns/ddclient
Works perfectly for me (with dyndns.org).

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: Question about static libraries and compression

2003-12-27 Thread Daniela
On Wednesday 24 December 2003 13:24, Sergey 'DoubleF' Zaharchenko wrote:
> On Tue, 23 Dec 2003 18:32:04 +
>
> Daniela <[EMAIL PROTECTED]> probably wrote:
> > I have a problem with linking:
> > When I invoke make, I always give it the -DNOSTATIC option on the
> > commandline to save space. However, this doesn't work. My system still
> > builds static libraries. Or are the binaries linked dynamically, and the
> > static libs are there for nothing? I guess it's safe to delete them,
> > right?
>
> If you *know* no user will ever need them (he is not going to write
> programs which link statically), then it's all right.

The main problem is, I tell the system to link everything dynamically 
(-DNOSTATIC), but my system doesn't do it. The binaries are still linked 
statically. Did I do something wrong? I always thought it's the -DNOSTATIC 
option.


> > Everything is self-compiled, I do not use binary packages at all.
> >
> > Also, I read that the kernel can execute gzipped a.out binaries directly,
> > can the same thing be done for ELF? I need a really small system, because
> > I want
>
> gzexe.
>
> > to boot and run it from CD-ROM.
>
> Try putting the programs in a crunchbox, as it is done on most
> boot-floppies. Man crunchgen, chrunchide, etc.

I think compression and dynamic linking (when I get it to work) will suffice.
Thanks for your help.
It's almost done, just a few minor changes and we're ready to go.


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


Linksys WMP11 WIFI PCI

2003-12-27 Thread Ben Dover
  Does anyone know if this PCI wireless network card can be utilized in 
FreeBSD 4.9.  I can't find it in the supported hardware list but there is a 
note that ISA cards are supported the same as the pccards.  Being that 
Linksys makes a WPC11 I was hoping that the WMP11 was just a PCI version of 
the pccard version and the driver would work.
  I have installed the WMP11 and put pccard_enable="YES" in rc.conf but the 
card is not recognized.  Any help or suggestions would be appreciated.

_
Tired of slow downloads? Compare online deals from your local high-speed 
providers now.  https://broadband.msn.com

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


FTP Problem

2003-12-27 Thread gffds fsdff
I tried to logon to FreeBSD remotely, and it said, after PASS (hidden) 
(WS_FTP), 530 Login Failed. When I came back, I tried it again, except I 
made a new username. It seems only to work in the internal network, and not 
the external. Is their a reason why this is, is their a way to fix it? Do I 
need to set something?

_
Working moms: Find helpful tips here on managing kids, home, work —  and 
yourself.   http://special.msn.com/msnbc/workingmom.armx

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


RE: FTP Problem

2003-12-27 Thread fbsd_user
You post is lacking details about what and from where you are doing
things from. I will try to guess at what you are trying to say.

You have pc with FBSD as gateway with LAN behind it. You have FTP
enabled in inted for auto launch on request. Lan users can FTP into
their /home directories.  Your FBSD gateway has static public ip
address with registered domain name pointing to it. From another pc
with ms/windows system you gained access to the public internet and
used the free shareware FTP program WS_FTP to login to your account
on your FBSD gateway box and FTP into your home directory and it
would not work.

This sounds like your firewall does not have rules to allow FTP
access from the public internet, or you have WS_FTP configured to
use active FTP instead of passive FTP.

Next time you post try to be more descriptive in describing your
problem. Your lucky my ESP is in holiday mode so I could reach your
meaning. Ha ha ha

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of gffds fsdff
Sent: Saturday, December 27, 2003 9:11 PM
To: [EMAIL PROTECTED]
Subject: FTP Problem

I tried to logon to FreeBSD remotely, and it said, after PASS
(hidden)
(WS_FTP), 530 Login Failed. When I came back, I tried it again,
except I
made a new username. It seems only to work in the internal network,
and not
the external. Is their a reason why this is, is their a way to fix
it? Do I
need to set something?

_
Working moms: Find helpful tips here on managing kids, home, work -
and
yourself.   http://special.msn.com/msnbc/workingmom.armx

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

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


ghostview missing libc.so.4?

2003-12-27 Thread chip
I just installed ghostview and when I try to open a .ps file I get the 
error that libc.so.4 is missing. If this is a dependency then why wasn't 
it installed with ghostscript or ghostview? What do I need to do to fix 
this? There is no one port for libc.so.4.
Thanks,
Chip

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


Re: Dual Boot WinXP + FreeBSD

2003-12-27 Thread Jud
On Sat, 27 Dec 2003 21:14:24 -0300, Julio Cesar <[EMAIL PROTECTED]>  
wrote:

Hello everyone
This is my first post here and I wanted to say that I looked for this  
info everywhere but didnÂt find thatÂs why IÂm making this simple  
question. IÂm right now using Win XP but till yesterday I used to run a  
dual boot system (RedHat 9/XP) but I decided to send RH to Hell and  
replace it to FreeBSD but when the instalation begun, I realized it  
couldnÂt read mu NTFS drives so I thought the instalation wouldnÂt work,  
then I ask you guys:

1. Can I have another dual boot on my machine with XP (NTFS) and FreeBSD?
2. Where can I read more about the process of instalation to keep my XP  
partition alive?

Thank You

 Julio Cesar
  MCP ID #3092980
  PGP KEY ID 0x7086BA80
  (81) 9139-0024
  [EMAIL PROTECTED]
Everywhere, apparently, other than the Frequently Asked Questions link on  
the home page of the FreeBSD web site.  :)

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOADER>

You will also find many good answers to your question that have appeared  
in this mailing list if you search at http://freebsd.rambler.ru/>.

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


Re: Dynamic DNS Updates

2003-12-27 Thread Jud
On Sun, 28 Dec 2003 02:02:53 +0100 (CET), Cordula's Web  
<[EMAIL PROTECTED]> wrote:

If you decide to use a provider like dyndns.org, you
can use the ipcheck port (http://ipcheck.sf.net) to
keep your IP address and hostname in sync.
Or use ddclient: /usr/ports/dns/ddclient
Works perfectly for me (with dyndns.org).
That makes two votes on both counts (ddclient and www.dyndns.org).

Jud

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


Re: ghostview missing libc.so.4?

2003-12-27 Thread paul beard
On Dec 27, 2003, at 8:17 PM, chip wrote:

I just installed ghostview and when I try to open a .ps file I get the 
error that libc.so.4 is missing. If this is a dependency then why 
wasn't it installed with ghostscript or ghostview? What do I need to 
do to fix this? There is no one port for libc.so.4.

This is what I have for libc (which I think is pretty darn integral to 
your system): what does ls -l /usr/lib/libc.so* show?

lrwxr-xr-x  1 root  wheel   9 Nov 22 23:04 /usr/lib/libc.so -> 
libc.so.4
-r--r--r--  1 root  wheel  578964 Nov 22 23:04 /usr/lib/libc.so.4

--
Paul Beard

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


Re: Dynamic DNS Updates

2003-12-27 Thread paul beard
On Dec 26, 2003, at 5:59 PM, Evan Sayer wrote:

I would like to know how to make my server running 4.9 update my 
networks Dynamic Ip  address on my domains DNS servers.  My ip is 
always changing because it's dynamic, so a domain is essentially 
pointless unless i can get this up and running.  You could say i want 
my domain to function as though it were assigned to a Static IP.  I 
have been googleing for hours, and i can't understand any of it.  
Please be advised, i am somewhat new to FreeBSD.

If you have a domain, I think you need to look into something like 
zoneedit.com: the dyndns and no-ip,org solutions, at least for free, 
don't cover domains outside their own namespace. With zoneedit you can 
have up to 5 domains for free. To keep them in sync with your dynamic 
host, you could use zoneclient.py (http://zoneclient.sourceforge.net/).

It's worked fine for me so far (touch simulated woodgrain).

--
Paul Beard

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


Re: What logs etc do I need to checkfrequently?

2003-12-27 Thread Chuck Swiger
Joachim Dagerot wrote:
As you with good memories know, I lost 3000 pictures of my first sons
first year this month. I did have a RAID-5 system with fresh disks,
however, shit happens and I have a feeling that this could have been
avoided if I read my log files better.
I'm sorry that you lost data.

While you may have been able to notice the problem with the RAID-5 array in 
time to do something, what you ought to do to avoid losing more data sometime 
in the future involves making good backups-- not poring over the system log 
files, not configuring RAID.

So basically, 

a) I get a mail each time my a cron-event fires, this happens every 30
min so the mailbox are quite loaded, not very funny going through.
If you can, change the cron task to not generate output unless there is a 
problem that you should know about.  Failing that, append "> /dev/null 2>&1" 
to the line in your crontab, which will discard the output, meaning you won't 
get mail from cron.

a1) Is it possible to only get a mail with critical information, where
and what do I need to do to achieve this?
My comments above should help you reduce the amount of junk mail you get from 
cron.

b1) Where will information about ongoing disk-problems appear?  How can
I see that there is a flaky disk in a non-rebooted system?
/var/log/messages.  The system will complain quite noticably in the face of 
hardware errors, and should log one or more lines for every bad sector it runs 
into.

On the other hand, depending on the hard drive to fail gradually is risky: 
hard drives can fail catestrophically without giving significant warning. 
Some failure modes-- stiction in particular-- can sometimes be worked around 
on a temporary basis long enough to recover data without heroic measures (ie, 
paying a data recovery company a few grand).

It's important to realize that while RAID modes which provide fault-tolerance 
do improve availability (ie, they can save your data if a drive goes), RAID is 
not a substitute for backups.  In particular, RAID-5 or RAID-1 doesn't help a 
bit if someone deletes or overwrites a file

In addition to the questions above, is there something else I need to
tune/install/setup/configurare to get a very reliable system that
report critical data to me but where non-critical data is filtered
out?
/etc/syslog.conf defines the configuration of system logging, and it is worth 
reviewing that to understand what is being logged and where.

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


Re: Can't login to machine any more!

2003-12-27 Thread Matt Juszczak
Maybe you can find something here?

http://mail.gnome.org/archives/gnome-doc-list/2001-July/msg00170.html

>
>
> - Original Message -
> From: "Trey Sizemore" <[EMAIL PROTECTED]>
> To: "Micheal Patterson" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, December 27, 2003 6:40 PM
> Subject: Re: Can't login to machine any more!
>
>
>> Micheal Patterson wrote:
>>
>> >- Original Message -
>> >From: "Trey Sizemore" <[EMAIL PROTECTED]>
>> >To: <[EMAIL PROTECTED]>
>> >Sent: Saturday, December 27, 2003 6:10 PM
>> >Subject: Can't login to machine any more!
>> >
>> >
>> >
>> >
>> >>Just recently I can no longer login to my machine. When I get to the
>> gdm
>> >>screen and enter my username and password I get:
>> >>
>> >>"The system administrator has disabled your account."
>> >>
>> >>This happens with both my normal account and THE ROOT ACCOUNT!
>> >>
>> >>Is this recoverable and, if so, how?
>> >>
>> >>Thanks.
>> >>
>> >>
>> >
>> >You should be able to boot up in single user mode and correct this
> problem.
>> >I'm not sure what would cause it though.
>> >
>> >
>> >
>> >
>> Logged into single user mode and ran:
>>
>> #grep root /etc/passwd
>>
>> It showed the shell to be /bin/sh
>>
>> Did a reboot and tried to login with gdm again and got the same message.
>
> Sorry, missed the gdm part. Thought you were locked out of shell.
>
> --
>
> Micheal Patterson
> Network Administration
> TSG Incorporated
> 405-917-0600
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

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


Re: ghostview missing libc.so.4?

2003-12-27 Thread Chip Wiegand
Mine has libc.so.5. No wonder the app is failing, it specifically wants 
.4 and is too dumb to work with anything newer. I'm getting real 
frustrated with this again, I'd like to move away from MS but it's not 
easy to do when the apps I need don't even work properly.
--
Chip

paul beard wrote:

On Dec 27, 2003, at 8:17 PM, chip wrote:

I just installed ghostview and when I try to open a .ps file I get 
the error that libc.so.4 is missing. If this is a dependency then why 
wasn't it installed with ghostscript or ghostview? What do I need to 
do to fix this? There is no one port for libc.so.4.

This is what I have for libc (which I think is pretty darn integral to 
your system): what does ls -l /usr/lib/libc.so* show?

lrwxr-xr-x  1 root  wheel   9 Nov 22 23:04 /usr/lib/libc.so -> 
libc.so.4
-r--r--r--  1 root  wheel  578964 Nov 22 23:04 /usr/lib/libc.so.4

--
Paul Beard

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

.

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


Re: ghostview missing libc.so.4?

2003-12-27 Thread paul beard
On Dec 27, 2003, at 10:27 PM, Chip Wiegand wrote:

Mine has libc.so.5. No wonder the app is failing, it specifically 
wants .4 and is too dumb to work with anything newer. I'm getting real 
frustrated with this again, I'd like to move away from MS but it's not 
easy to do when the apps I need don't even work properly.
You could fake it out with a symlink, but the Real Solution may be to 
rebuild whatever that file is part of, which I assume means a 
buildworld.

I'm only running 4.9: I assume you're on 5.x if you have a higher file 
number?
--
Paul Beard

paulbeard [at] mac.com

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