Re: SSHD configuration file placement.

2003-09-27 Thread Matthew Seaman
On Fri, Sep 26, 2003 at 10:24:42PM -0400, [EMAIL PROTECTED] wrote:
 Good day fellow FreeBSDer's
 
 I am trying to switch over from the /usr/ports/security/openssh version
 of sshd, to the one that comes with the base system. Being a cvsup server,
 I always have the freshest source, so for example, if I wanted to update
 sendmail, I could easily cd /usr/src/usr.sbin/sendmail, make install,
 killall -HUP sendmail and I am done. So, I am trying to do that for my
 good friend sshd. It works great, and puts the new fresh binary where its
 supposed to be. So whats the problem? For starters, and I think I know the
 answer to this one but please confirm in your reply, The port version of
 it puts a script in /usr/local/etc/rc.d/ to start it with the system. Do I
 remove that, and simply add, sshd_enable=YES to rc.conf like almost
 everything else? (I think so.) And the REAL problem is when I do perform a
 make install for sshd, its putting the new binary where it belongs fine,
 but /etc/ssh is EMPTY. Thus, the server wont start. I have looked
 *everywhere* (except where I need to be looking.) Where can I get those
 config files from? Thanks!

I think you have pretty much a workable plan.  You don't say whether
you've got console access to this machine -- I assume you do, by
reading between the lines, and that makes doing this modification a
lot easier.

To answer you questions:

Yes, you should remove the .../etc/rc.d script used to start up
the port version of sshd.  Generally a port will install a sample
version of any sort of config file which you should copy into
place and edit to enable the service.  That's so that a package
update *won't* trash your current setup, but if you're going to
eradicate the package entirely, then you'll have to delete those
files by hand.

Yes, enable the base version of sshd by adding the variable
assignments to /etc/rc.conf, like all system daemons.

The contents of /etc/ssh can mostly be copied from the port's
version in /usr/local/etc/ssh -- one thing that will be
particularly handy to copy over are the host public and private
keys.  If you don't copy these from /usr/local/etc/ssh, then the
next time you reboot the system new host keys will be
automatically generated.  That's fine and dandy, but any other
machines that people have ssh'd into your system from will have
cached a copy of the old public key, and seeing the new keys will
cause them to emit all sorts of alarming security warnings.

Once you've copied over what you want, run mergemaster to merge in
any of the system specific differences in the config files -- I
think that's pretty much just the 'VersionAddendum' in
sshd_config.

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: can't connect after update to openssh-portable 3.6.1p2-5

2003-09-27 Thread Dag-Erling Smørgrav
Jon Noack [EMAIL PROTECTED] writes:
 [...]

I am not responsible for the OpenSSH ports.

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


JBoss3 Port on FreeBSD 4.8

2003-09-27 Thread Mike C.
Hello all,

After searching for help/forums on the net, I'm still scratching my head
trying to figure out why jboss3ctl start always gets stuck at the
[WebService] Creating stage.

I've set the server directory/files ownership to www as suggested by
other users who had similar problem.  I'm using FreeBSD's native build of
JDK-1.4.1 from the Port Collection.

If I started JBoss3.2.1 with bin/run.sh -c minimal, it would start
smoothly.  It seems Deplyer is having problem with WebService components.

Has anyone got JBoss3.2.1 to work on FreeBSD 4.8?  Any help will be
greatly appreciated!

Thank you all!

Mike C.

# log/stderr.log does not contain any error message
# log/stdout.log output is as follows:

17:01:53,704 INFO  [Server] Starting JBoss (MX MicroKernel)...
17:01:53,706 INFO  [Server] Release ID: JBoss [WonderLand] 3.2.1 (build: 
CVSTag=JBoss_3_2_1 date=200305041533)
17:01:53,706 INFO  [Server] Home Dir: /usr/local/jboss3.2
17:01:53,706 INFO  [Server] Home URL: file:/usr/local/jboss3.2/
17:01:53,707 INFO  [Server] Library URL: file:/usr/local/jboss3.2/lib/
17:01:53,708 INFO  [Server] Patch URL: null
17:01:53,708 INFO  [Server] Server Name: default
17:01:53,708 INFO  [Server] Server Home Dir: /usr/local/jboss3.2/server/default
17:01:53,708 INFO  [Server] Server Home URL: file:/usr/local/jboss3.2/server/default/
17:01:53,709 INFO  [Server] Server Data Dir: /usr/local/jboss3.2/server/default/data
17:01:53,709 INFO  [Server] Server Temp Dir: /usr/local/jboss3.2/server/default/tmp
17:01:53,709 INFO  [Server] Server Config URL: 
file:/usr/local/jboss3.2/server/default/conf/
17:01:53,709 INFO  [Server] Server Library URL: 
file:/usr/local/jboss3.2/server/default/lib/
17:01:53,709 INFO  [Server] Root Deployemnt Filename: jboss-service.xml
17:01:53,713 INFO  [Server] Starting General Purpose Architecture (GPA)...
17:01:53,983 INFO  [ServerInfo] Java version: 1.4.1-p3,Sun Microsystems Inc.
17:01:53,983 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.4.1-p3-domainadmin_27_sep_2003_11_43,Sun Microsystems Inc.
17:01:53,983 INFO  [ServerInfo] OS-System: FreeBSD 4.8-RELEASE,i386
17:01:54,027 INFO  [ServiceController] Controller MBean online
17:01:54,101 INFO  [MainDeployer] Creating
17:01:54,131 INFO  [MainDeployer] Created
17:01:54,133 INFO  [MainDeployer] Starting
17:01:54,133 INFO  [MainDeployer] Started
17:01:54,216 INFO  [JARDeployer] Creating
17:01:54,241 INFO  [JARDeployer] Created
17:01:54,242 INFO  [JARDeployer] Starting
17:01:54,242 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]
17:01:54,243 INFO  [JARDeployer] Started
17:01:54,253 INFO  [SARDeployer] Creating
17:01:54,286 INFO  [SARDeployer] Created
17:01:54,287 INFO  [SARDeployer] Starting
17:01:54,287 INFO  [MainDeployer] Adding deployer: [EMAIL PROTECTED]
17:01:54,309 INFO  [SARDeployer] Started
17:01:54,309 INFO  [Server] Core system initialized
17:01:54,325 INFO  [MainDeployer] Starting deployment of package: 
file:/usr/local/jboss3.2/server/default/conf/jboss-service.xml
17:01:56,721 INFO  [Log4jService] Creating
17:01:56,725 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
17:01:56,952 INFO  [Log4jService] Created
17:01:56,955 INFO  [WebService] Creating

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


Re: JBoss3 Port on FreeBSD 4.8

2003-09-27 Thread Antony T Curtis
On Sat, 2003-09-27 at 10:31, Mike C. wrote:
 Hello all,
 
 After searching for help/forums on the net, I'm still scratching my head
 trying to figure out why jboss3ctl start always gets stuck at the
 [WebService] Creating stage.
 
 I've set the server directory/files ownership to www as suggested by
 other users who had similar problem.  I'm using FreeBSD's native build of
 JDK-1.4.1 from the Port Collection.

My experience says that the only native JVM which runs JBoss is JDK1.3.1
The 1.4.1 JDK still has a few problems.

-- 
Antony T Curtis BSc Unix Analyst Programmer
http://homepage.ntlworld.com/antony.t.curtis/


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


Re: preventing 'watchdog timeout'

2003-09-27 Thread Stephen L Martin
What I do is hit Ctrl-C. This is probably not the best way but it works...

-Stephen


 If I boot FreeBSD 5.1-RELEASE with no cable attached to the NIC, I get a
 slew of dc0: watchdog timeout errors. Sometimes, I want to boot and
 run the system without being physically connected to the network. Is
 there any way to get rid of the timeout errors short of disabling
 networking all together?

 C. Ulrich
 --
 http://bityard.net



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


Re: JBoss3 Port on FreeBSD 4.8

2003-09-27 Thread Thorsten Greiner
* Antony T Curtis [EMAIL PROTECTED] [2003-09-27 15:05]:
 My experience says that the only native JVM which runs JBoss is JDK1.3.1
 The 1.4.1 JDK still has a few problems.

Not true. Both JBoss 3.0.x and 3.2.1 run fine under native JDK 1.4.1
on 5.1-CURRENT.

Regards
-Thorsten

-- 
Faith is the quality that enables you to eat blackberry jam on a picnic
without looking to see whether the seeds move.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JBoss3 Port on FreeBSD 4.8

2003-09-27 Thread Brian Bobowski
On September 27, 2003 09:08 am, Thorsten Greiner wrote:
 * Antony T Curtis [EMAIL PROTECTED] [2003-09-27 15:05]:
  My experience says that the only native JVM which runs JBoss is JDK1.3.1
  The 1.4.1 JDK still has a few problems.

 Not true. Both JBoss 3.0.x and 3.2.1 run fine under native JDK 1.4.1
 on 5.1-CURRENT.

 Regards
 -Thorsten

Could be different under 4.8?

I myself have had trouble getting anything Java to work under 5.1-CURRENT, but 
it may be that JDK 1.4.1 won't work quite right under 4.8 - perhaps there'd 
be some kernel options to set, perhaps it just doesn't get along.

-BB

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


Re: Problem upgrading QT still. (everything else upgrades)

2003-09-27 Thread Steven Lake
Cool, that worked!  Thanks!  :)  Silly me never thought about 
trying that.  0=)

At 06:27 PM 9/26/2003 -0700, Kent Stewart wrote:
On Friday 26 September 2003 05:57 pm, Steve Lake wrote:
   Still getting issues upgrading QT on my box.  I'm to understand it's
 fixed for the most part for others, but it's not for me.  When I try
 to upgrade QT or do a make on it I get the following error:

 ===  qt-3.2.1 is marked as broken: You have QT2 headers installed!
 Installing this port will result in conflicts between QT3 and QT2!.

   Uh, ok.  Anyone know how to fix this?  Never encountered an error
 like this and Google has on info on this.  I've looked already.  Any
 help is welcome.  Thanks.
What does pkg_info | grep qt show. The make file thinks you have qt-2
installed. It has found ${X11BASE}/include/qt2/qapp.h. If you have
pkg_delete'ed qt-2, then, you should be able to just rm qapp.h and try
again.
Kent

--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dump, tar or pax?

2003-09-27 Thread Dick Hoogendijk
Up 'till now I used dump/restore to make a backup of my system.
Someone pointed out to me however that this was not the wisest thing to
do, given the fact that is is a level-0 dump so it needs to be restored
onto a clean (newfs) filesystem.

## dump -h0 -0f - /usr | ssh host cat  /usr3/pooh/fbsd-usr.dump 

I always thought having this backup was safe. Just make a minimal
install of FreeBSD ans restore the backup would be fine.
As I understand now, this is not the case, because the filesystem has to
be new for a restore (level-0) to work.

I'm told that instead of the dump/restore option it's better to use TAR
with a rule like:

## tar cvzfl - /usr | ssh host cat  destination

I understand that there will be problems with named pipes and device
nodes that are handled correctly by dump/restore and not by tar.
This should not be a problem, I'm told. Is this true?

Is dump/restore for a level-0 (system backup) not the wisest thing to
use and should I really consider using TAR? Is the calling argument
above the right one? Or should I use PAX? If so, with which options?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with cups

2003-09-27 Thread Pieter Hustinx
Hi,

I'm trying to install a HP deskjet 930c printer.
I'm running FreeBSD 4.8, with cups 1.1.19 and hpijs 1.4.1.
With cups, i have added my printer, and printed a test page.
When i print wit lpr, it don't work.
# lpstat -p
printer dj930 is idle.
When i looked in /var/log/lpd-errs, I see there are errors:
lpd[364]: /dev/lp: No such file or directory

I've edit /etc/printcap, so i can print black/white.
How can I use cups without errors?

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


Re: Sendmail vs. Postfix...

2003-09-27 Thread Guy Van Sanden
I'm sorry, it wasn't for me.
I installed postfix from ports and stopped sendmail, postfix still didn't start though 
(it had port 25 open, but didn't respond to it).
Eventually I reverted to sendmail.

I'm on FreeBSD 5.0 BTW.

I do have postfix running fine on Linux, I might add.

On Wed, 2003-09-24 at 21:43, synrat wrote:
 what do you mean postfix is hard to setup ?
 It's fully functional after the installation, you can send e-mail
 right away
 and you only need a few changes to main.cf to accept e-mail.
 The file is very well commented, save the changes, and run
 'postfix reload' as root.
 
 On Wed, 24 Sep 2003, Payne wrote:
 
  Hey,
 
  Quick question. How hard is it to set up Postfix. I am getting tried of
  Sendmail. Is it hard to set up Postfix to access passwords  so that the
  only mail can be sent.
 
  Chuck
 
 
  ___
  [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]

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


Re: dump, tar or pax?

2003-09-27 Thread Jerry McAllister
 
 Up 'till now I used dump/restore to make a backup of my system.
 Someone pointed out to me however that this was not the wisest thing to
 do, given the fact that is is a level-0 dump so it needs to be restored
 onto a clean (newfs) filesystem.

Somebody is confused or confusing you.
The man page is also misleading on this.

You can restore a level 0 dump anywhere - preferably an empty
directory.Just go where there is room.  
  - do a mkdir
  - cd in to the new directory
  - do restore -xf restore_device  where restore_device is wherever
you will read your level 0 dump from.
  - answer no when it asks to set ownership of ..

Or you can selectively restore any individual file directory
or group of files or directories from a leval 0 dump.  
   - cd to the base of the filesystem that was dumped
such as 'cd /usr' for a /usr dump
   - do  restore ivf restore_device
   - cd around to find the files and/or directories you want to restore
   - type add file_name for each file or directory you want restored
 NOTE:  restores of directories are recursive and get the directory
and all its contents
   - Answer appropriately when it asks which tape to start on - 
probably 1   Although with multiple tape sets it can be 
 faster to start with the last tape in the set

It is only if you are trying to recreate a whole file system that you
should create a new file system and newfs it before doing the restore.

So, dump/restore is generally the best way to do backups and
restores.   Other utilities have quirks.

The only problem with dump is that it must act on a whole file system.
So, if you want to copy only one directory or a few files on to some
media to transfer somewhere, then tar can be more useful.   But, once
the dump has been made, you can restore any combination of files
and directories anywhere from that dump.  No problem.

The only other reason to resort to tar is if you are going from
one OS to another.   In many cases dump/restore gets picky going
from one OS to another - and I don't mean FreeBSD 3.4 to FreeBSD 4.8.
That works fine.  I mean from SunOS to AIX or something like that.   
Tar seems more forgiving in those circumstances.

 
 ## dump -h0 -0f - /usr | ssh host cat  /usr3/pooh/fbsd-usr.dump 

I generally use dd instead of cat, but essentially right.

jerry

 
 I always thought having this backup was safe. Just make a minimal
 install of FreeBSD ans restore the backup would be fine.
 As I understand now, this is not the case, because the filesystem has to
 be new for a restore (level-0) to work.
 
 I'm told that instead of the dump/restore option it's better to use TAR
 with a rule like:
 
 ## tar cvzfl - /usr | ssh host cat  destination
 
 I understand that there will be problems with named pipes and device
 nodes that are handled correctly by dump/restore and not by tar.
 This should not be a problem, I'm told. Is this true?

A good reason to stick with dump/restore.

 
 Is dump/restore for a level-0 (system backup) not the wisest thing to
 use and should I really consider using TAR? Is the calling argument
 above the right one? Or should I use PAX? If so, with which options?

No, stick with dump/restore.

jerry

 
 -- 
 dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
 ++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
 ___
 [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]


problem with shh

2003-09-27 Thread Kristjan
HI!

I forgot to put in ssh conf that you can login as root.
And i didnt make any users. 
What could i do ?

The server is far far away from me. Please help. There sure has to be some kind of a 
bug or exploit :/
FBSD 4.8
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


iso-8x16 and mc

2003-09-27 Thread Dick Hoogendijk
I know I can set keymap=us.iso and font8x16=iso-8x16 in /etc/rc.conf
and have accented letters. Nice. As a European I kind of need this.
However, doing so, I loose a nice directory screen in Midnight
Commander. The 'lines' are gone. Yeah I know I can run mc w/ the -a
option to disable the graphic chars, but I was wandering: is it not
possible to change some kind of compile option in mc to have graphic
chars AND the iso-8x16 font?

Or is the only way to accomplish this a hack of the keymaps file?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem when compiling kernel

2003-09-27 Thread spc
Hello, I am inexperienced in this of the UNIX, and have installed FreeBSD
(4,8 stable), but when attempt to do a customized kernel, with himself not
to compile it.  I have reinstalled the sources, I have checked the integrity
of the CDs with MD5, I have tried to compile with the options generic, and
nothing.  The message that I obtain is the following one (with the generic
option):

 Sept 27 8:24:52 /kernel:pid 66564 (cc1), uid0:
 exited on signal 10 (core dumped)
 cc: Internal compiler error: program cc1 gor fatal signal 10
 *** Error code 1
 Stop in usr/obj/usr/src/sys/GENERIC.
 * Error code 1
 Stop in usr/src/
 #{standard input}: assembler messages:
 {standard input}:2158: Warning: end of file no at end of a line; newlinew
 inserted

Somebody can help me?.
(Excuse my badly English).

Greetings from Spain

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


Re: qmail-qfilter

2003-09-27 Thread Frank Tegtmeyer
Alin-Adrian Anton [EMAIL PROTECTED] writes:

 Otherwise, mail works fine. With qfilter, only forwarding is not
 working, everything else works. Without qfilter, everything including
 forwarding works.

Try to unset the QMAILQUEUE environment variable when forwarding and
see if this helps. This also avoids double processing of the filter for
one message.

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


can FreeBSD run dos

2003-09-27 Thread fred
I am new to different OS's .
Can this Os run Wordperfect 5.1 for dos??? 


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


Sil680 RAID Support while installing 5.1-Release

2003-09-27 Thread Travis Troyer
I just purchased a Sil680 IDE RAID controller, and have setup
a striped RAID array.  When I boot from the 5.1 installation
CD-ROM, FreeBSD does not recognize them as one disk.  I
checked the hardware notes, and Sil680 UDMA6 is listed. 
Seeing Sil680 listed, I assumed that the RAID capabilities
would also be supported.  I read something posted awhile back
referring to the Sil680 controller, saying it was supported,
but dangerous unless using 5.1-Current.  Does anybody know
anything about the current status of this?  Is there anyway to
get the FreeBSD installation to recognize my RAID array, or
should I just buy another controller?

Thanks,

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


Re: Kernel Config won't start...

2003-09-27 Thread Andreas Kohn
On Fri, 2003-09-26 at 22:39, Enoch Chan wrote:
 I have tried to install FreeBSD 5.0 and 5.1 from a burned CD
 ... Both CD won't boot to kernel config. I tried to go to the loader
 prompt and type in boot -c but it won't work. It just boot right 
 into sysinstall.

Hi, 

there is no boot -c anymore in FreeBSD 5. To set options for specific
devices or to disable some, you set hints in the boot loader, for
example

set hint.acpi.0.disabled=1
boot

To disable ACPI support and continue booting.

To find out more about the installation of FreeBSD, read the
Installation Guide at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html

(Section 2.3.2 deals with Kernel configuration)

HTH,
-- 
Andreas Kohn [EMAIL PROTECTED]

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


Sendmail complains about server name

2003-09-27 Thread lrnobs
I just installed FreeBSD 4.8.  The screen that asks for ip addresses and
server name required me to type in a server name of some sort.  I put in
BSDSRVR1 as the name.  That screen was content with the answer, but each
time I start the computer SENDMAIL complains that the name is no good and
then sleeps two or three times before trying again.  It eventually
continues and boots ok.

I was adding a user and one of the prompts wanted to send an initial email
to the user.  I accepted the default yes.   SENDMAIL again complained about
the name I chose and went to sleep again for a minute.  I hit a key and was
able to continue.

This is an internal SAMBA server so I don't have a name of the style
www.xxx like I saw in the example.

What is it that it doesn't like?

Thanks,

Larry Nobs



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


Re: Sendmail complains about server name

2003-09-27 Thread Matthew Seaman
On Sat, Sep 27, 2003 at 10:19:29AM -0500, lrnobs wrote:
 I just installed FreeBSD 4.8.  The screen that asks for ip addresses and
 server name required me to type in a server name of some sort.  I put in
 BSDSRVR1 as the name.  That screen was content with the answer, but each
 time I start the computer SENDMAIL complains that the name is no good and
 then sleeps two or three times before trying again.  It eventually
 continues and boots ok.
 
 I was adding a user and one of the prompts wanted to send an initial email
 to the user.  I accepted the default yes.   SENDMAIL again complained about
 the name I chose and went to sleep again for a minute.  I hit a key and was
 able to continue.
 
 This is an internal SAMBA server so I don't have a name of the style
 www.xxx like I saw in the example.
 
 What is it that it doesn't like?

It's exactly the fact that you don't have a name like 'foo.bar.int'
with dots in it, funnilly enough.

sendmail(8) really, really wants to be able to look itself up in the
DNS -- after all, in order for anyone to send you e-mail across the
internet, you've got to be able to be found in the DNS...

Now, clearly this is an internal mail server, so you don't actually
need to enter your servers' name into any sort of DNS.  (Although
running an internal DNS is actually a pretty useful thing to do, and
not as hard as you might think.)  But you will need to invent a domain
style name -- something like 'bsdsrv1.mydomain.internal' and enter
that into /etc/hosts. You should put it on the same line as the
'bsdsrv1' -- something like:

192.168.0.1 bsdsrv1 bsdsrv1.mydomain.internal

This will mean that your internal e-mails will default to
'[EMAIL PROTECTED]', but that is something you can
tweak the sendmail configuration to change.

Note that the hostname on Unix systems is not case sensitive, and is
traditionally all lower case.  It's also the case that the Netbios
name that a windows machine may use need have nothing to do with the
actual hostname, although it does get very confusing if you don't
synchronise the different names.

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: Sil680 RAID Support while installing 5.1-Release

2003-09-27 Thread Gabriel Ambuehl
Hi Travis Troyer,
you wrote.

TT I just purchased a Sil680 IDE RAID controller, and have setup
TT a striped RAID array.  When I boot from the 5.1 installation
TT CD-ROM, FreeBSD does not recognize them as one disk.  I
TT checked the hardware notes, and Sil680 UDMA6 is listed. 
TT Seeing Sil680 listed, I assumed that the RAID capabilities
TT would also be supported.  I read something posted awhile back
TT referring to the Sil680 controller, saying it was supported,
TT but dangerous unless using 5.1-Current.  Does anybody know
TT anything about the current status of this?  Is there anyway to
TT get the FreeBSD installation to recognize my RAID array, or
TT should I just buy another controller?

I was wondering about the online Sil 3112 SATA RAID controller on my
Gigabyte 7VAXP board. The 5.1 RELEASE boot CD crashes saying it
couldn't write to root (which is weird, considering it usually should
be able to write to memfs??).




Regards,
Gabriel

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


Best way to modify /etc/ppp/ppp.secrets on the fly?

2003-09-27 Thread Brett Glass
I need to write a program or script that modifies /etc/ppp/ppp.secrets on the fly to 
add, change, and remove passwords. One thing I do NOT want is for replacement of the 
file to interfere with a login that's occurring at the same time. What's the best way 
to slip a new version of the file in without messing up an instance of userland PPP 
that might check it at just the wrong moment?

--Brett Glass

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


Re: Problem with cups

2003-09-27 Thread Khairil Yusof
On Sat, 2003-09-27 at 21:33, Pieter Hustinx wrote:

 With cups, i have added my printer, and printed a test page.
 When i print wit lpr, it don't work.
 # lpstat -p
 printer dj930 is idle.
 When i looked in /var/log/lpd-errs, I see there are errors:
 lpd[364]: /dev/lp: No such file or directory

This is an issue with base lp tools conflicting with cups lp tools.

Meaning that cups has it's own lpr, but since /usr/bin is ahead of
/usr/local/bin.. the system lpr will be run (which doesn't call the cups
scheduler).

You should not need to edit the /etc/printcap file either, you should
edit your printer settings from the cups web admin.

The steps I did to get cups working well with my HP PSC 2110 are:

1. install cups, foomatic-rip, hpijs from ports
2. download foomatic ppd for your printer from www.linuxprinting.org
3. put this in /usr/local/share/cups/model
4. make symbolic link for foomatic-rip to /usr/local/libexec/cups/filter
   #ln -s /usr/local/bin/foomatic-rip \
/usr/local/libexec/cups/filter/foomatic-rip
5. cd /usr/bin and mv lp utils lpr, lpq etc. as lpr.bak or whatever
   you like.
6. restart cupsd
7. setup your printer with cups (eg black and white, quality etc.)

8. Ok set to go (hopefully) :)

There is a PR patch around I think which automates this for hpijs port,
but it wasn't committed and doesn't apply cleanly anymore.

--
Optimized, readable, on time; Pick any two. 

FreeBSD 5.1-CURRENT i386 
11:10PM up 1 day, 2:37, 1 user, load averages: 0.30, 0.31, 0.25


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


VNC ssh tunneling problem: getsockopt TCP_NODELAY error

2003-09-27 Thread Gilles JOLITON
Dear,

I met the same problem and manage to solve it (thanks for your help) by replacing 
Connection/SSH/Tunnels/Destination/localhost:59XX by 
Connection/SSH/Tunnels/Destination/127.0.0.1:59XX.

regards,

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


Re: Message format *again*

2003-09-27 Thread Chuck Swiger
Greg 'groggy' Lehey wrote:
[ ... ]
I don't see anything in the standards that defines this format, so I
suppose the answer should be yes.  On a more practical basis, I
don't know of any UNIX-based MUA which treats this correctly, and none
of the messages I looked at it had this attribute.  In addition, I
can't see how format=flowed can distinguish between computer output
(which should be quoted unchanged, possibly with very long lines) and
text, which RFC 2822 recommends to be 78 characters or less.  It also
makes it almost impossible to quote.
Netscape/Mozilla is the most common MUA which uses format=flowed.  Mozilla 
certainly meets the UNIX-based MUA requirement, as it is available as a 
FreeBSD port.  This message should be an example of that MIME content-type, and 
the raw ASCII representation should be fine for 80-column viewing.

Quoting email written in format=flowed should also be okay, although not 
perfect, since Mozilla sometimes has a habit of prepending a space before a 
quoted line inconsistently, resulting in output like:

 Original Message 
Subject: Re: Mask IP:port with Domain Name
Date: Fri, 27 Jun 2003 11:46:20 -0400
From: Chuck Swiger [EMAIL PROTECTED]
To: John DeStefano [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Message-id: [EMAIL PROTECTED]
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=us-ascii
John DeStefano wrote:
 Chuck Swiger wrote:
 There's no way to avoid the port number in the URL, then.  Consider
 switching to a provider that lets you host local services...
 
 Does that then nullify your previous recommendations?
Nope.  It just means that you can only get one of the two things you asked for.

 Can you recommend any such providers?

Of dynamic DNS?  Yes: www.dyndns.org.

 By hosting local services, do you mean DNS?

No, I meant being able to run Apache on port 80.  You said you didn't want to
see IP or port number; the former can be solved by dynamic DNS, the latter can't
be solved if your ISP blocks port 80.
[ ... ]
--
Mozilla tries to special-case the reformatting of quoted text to avoid breaking 
quotation levels, but it displays   andthe same-- as a single colored 
vertical bar so it's not possible for a user to notice the issue during composition.

For a detailed review of various test cases, please consult:

http://bugzilla.mozilla.org/show_bug.cgi?id=199776

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


Re: Problem with cups

2003-09-27 Thread Todd Stephens
On Saturday 27 September 2003 12:38 pm, Khairil Yusof wrote:

  The steps I did to get cups working well with my HP PSC 2110 are:

  1. install cups, foomatic-rip, hpijs from ports

When you say foomatic-rip from ports, is this the foomatic-db port?  I 
cannot find a port for foomatic-rip (which I thought was just a Perl 
script anyway).  I eventually gave up on foomatic with my Epson C82 and 
used the straight Epson C82 driver from the gimp-print collection.

-- 
Todd Stephens

A witty saying proves nothing. -Voltaire

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


auto-patching the system

2003-09-27 Thread Walter C. Pelissero
I keep my src tree updated with cvsup, but I start to accumulate
patches to kernel or programs that I'd like to include automatically
each time I recompile the kernel (pretty often) or I do a make world
(much less often).

Those are usually patches that have been already put forward to the
attention of the maintainers with a send-pr, but got forgotten or
simply ignored possibly because considered not interesting.

At the moment I simply manually copy the modified files into the
source tree before recompiling, but, of course, next time I do a
cvsup, the changes are gone, requiring me to repeat the process next
time I compile (and likely forgetting some stuff).

Is there already any pre-canned way to include those patches at
compile time?  (A parallel source tree, for instance.)

Cheers,

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


Re: Problem with cups

2003-09-27 Thread Khairil Yusof
On Sun, 2003-09-28 at 01:01, Todd Stephens wrote:

 When you say foomatic-rip from ports, is this the foomatic-db port?  I 
 cannot find a port for foomatic-rip (which I thought was just a Perl 
 script anyway).  I eventually gave up on foomatic with my Epson C82 and 
 used the straight Epson C82 driver from the gimp-print collection.

Whoops.. my bad. 

This was actually installed with patches to hpijs from this PR:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/54156

I wonder why it wasn't committed since July.

You need to install the foomatic-db port..

But you can download foomatic-rip from www.linuxprinting.org and yes it
is just a perl script to configure options to control printer driver
options and filters.

For Epson printers.. gimp-print already gives you the best results and
it's already configured automatically by the port install of gimp-print
if you already have cups.

For hpijs though, it isn't.

--
Optimized, readable, on time; Pick any two. 

FreeBSD 5.1-CURRENT i386 
1:18AM up 1 day, 4:45, 3 users, load averages: 0.66, 0.80, 0.67


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


Re: Kernel Config won't start...

2003-09-27 Thread Andreas Kohn
[please include the list, and do not send HTML mail]

On Sat, 2003-09-27 at 19:03, Enoch Chan wrote:
 Heh, that's funny.. I got that from the FAQ, which proves that it is a
 bit outdated.. lol. I have tried that anyway and it didn't work. So
 how can I start the kernel config tool described in the installation
 part of the manual? 
 The wierd thing is that the manual says that the user should start the
 kernel config tool before installation, but it never tells us how...
 And then it just start talking about how to use it... 

As I said before, the configuration editor of FreeBSD 4 is no longer
existant in FreeBSD 5. 

Taken directly from
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html

Note: From FreeBSD versions 5.0 and later, userconfig has been
depreciated in favor of the new device.hints(5) method. For more
information on device.hints(5) please visit Section 7.5

Please read that section if you think that you have to modify the
default settings. But the basic idea is that you do not have to modify
settings for most of the installs.


 Also, I have reinstalled FreeBSD like 10 times and still can't get X
 to work. It said it can't read extended io from /dev/io... I believe
 that might have something to do with the kernel config problem... I am
 not really sure about that. Can you help me on that too?? I posted the
 error log in the freebsd questions list before. If you can't find it,
 lemme know and I will send it to you right away!!! :)
  
Found by googling:
http://www.essenz.com/support/comp.unix.bsd.freebsd.misc/Oct/19/206982.html

Please try to lower your security level as described in the manual,
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/security.html#SECURELEVEL


 Enoch
 
 Andreas Kohn [EMAIL PROTECTED] wrote:
 On Fri, 2003-09-26 at 22:39, Enoch Chan wrote:
  I have tried to install FreeBSD 5.0 and 5.1 from a burned CD
  ... Both CD won't boot to kernel config. I tried to go to
 the loader
  prompt and type in boot -c but it won't work. It just boot
 right 
  into sysinstall.
 
 Hi, 
 
 there is no boot -c anymore in FreeBSD 5. To set options for
 specific
 devices or to disable some, you set hints in the boot loader,
 for
 example
 
 set hint.acpi.0.disabled=1
 boot
 
 To disable ACPI support and continue booting.
 
 To find out more about the installation of FreeBSD, read the
 Installation Guide at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-start.html
 
 (Section 2.3.2 deals with Kernel configuration)
 
 HTH,
 -- 
 Andreas Kohn 
 
 __
 Do you Yahoo!?
 The New Yahoo! Shopping - with improved product search
-- 
Andreas Kohn [EMAIL PROTECTED]

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


Re: Multiple USB ethernet devices on one usb port (with hub)?

2003-09-27 Thread Andrew Thomas
--- Ian Dowse [EMAIL PROTECTED] wrote:
 There is definitely one problem that stops you from using two
 identical USB ethernet devices, but I don't know if it's the only
 one: the axe driver uses a static (global) stucture for some
 per-interface data, so it clobbers this state with two interfaces.
 
 I had said to Bill Paul (cc'd) that I would suggest a patch to fix
 this, but I never managed to get my two USB ethernet interfaces in
 the same place at the same time to test them! Would you be able to
 try out the following patch to see if it helps? Just apply it in
 /usr/src and rebuild the kernel.

To follow up on this...

I tried Ian's changes to no avail.  I applied the patches and rebuilt
the kernel.  Upon rebooting with both netgear fa120 ethernet devices
attached (with the new axe driver), both devices are recognized, one
is configured and nothing works (i.e., in spite of the one device
being configured, it is dead).

Thanks for the help Ian.

I wonder if anyone else has any ideas.  Or, maybe I should head over
to the 'current' group and try there?

Andy

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to modify /etc/ppp/ppp.secrets on the fly?

2003-09-27 Thread Marc Ramirez
On Sat, Sep 27, 2003 at 10:36:59AM -0600, Brett Glass wrote:

 I need to write a program or script that modifies
 /etc/ppp/ppp.secrets on the fly to add, change, and remove
 passwords. One thing I do NOT want is for replacement of the file to
 interfere with a login that's occurring at the same time. What's the
 best way to slip a new version of the file in without messing up an
 instance of userland PPP that might check it at just the wrong
 moment?

This is the way I do things like this; note that this does not do any
locking on the file (man 1 lockf).

#!/bin/sh -e

REALNAME=/etc/ppp/secrets
TEMPNAME=/etc/ppp/secrets.$$

trap echo Error occurred 12; rm -f $TEMPNAME EXIT INT

cp $REALNAME $TEMPNAME

# do your stuff to $TEMPNAME

trap  INT # don't interrupt the FS ops
unlink $REALNAME
ln $TEMPNAME $REALNAME
unlink $TEMPNAME

trap EXIT INT

-- 
Marc Ramirez
Blue Circle Software Corporation
513-688-1070 (main)
513-382-1270 (direct)
http://www.bluecirclesoft.com
http://www.mrami.com (personal)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Burn an ISO image

2003-09-27 Thread Darryl Hoar
Well,
after the bug of the day drill, I'm replacing windows with Freebsd.
I want to install the most recent stable version of 4.8.

I downloaded the mini.iso (as per the instructions), but I am
still on windows (with the Roxio burner software - yeah crap).
How do I burn the iso image to CD such that I can boot up
the install ?

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


Re: Problem with cups

2003-09-27 Thread Todd Stephens
On Saturday 27 September 2003 01:29 pm, Khairil Yusof wrote:

  For Epson printers.. gimp-print already gives you the best results
 and it's already configured automatically by the port install of
 gimp-print if you already have cups.

  For hpijs though, it isn't.

I see.  I have noticed that my results without foomatic were just as 
good as they were with foomatic under Linux.  Thank you for the 
clarification.

-- 
Todd Stephens

Good people do not need laws to tell them to act responsibly, 
while bad people will find a way around the laws. - Plato

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


Re: Burn an ISO image

2003-09-27 Thread Todd Stephens
On Saturday 27 September 2003 02:00 pm, Darryl Hoar wrote:

  I downloaded the mini.iso (as per the instructions), but I am
  still on windows (with the Roxio burner software - yeah crap).
  How do I burn the iso image to CD such that I can boot up
  the install ?

Does Windows associate the .iso extension with your burning software?  I 
did it with Nero and Adaptec both by just right-clicking the .iso 
file and selecting burn new cd from image or something similar to 
that wording.


-- 
Todd Stephens

Good people do not need laws to tell them to act responsibly, 
while bad people will find a way around the laws. - Plato

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


Re: Burn an ISO image

2003-09-27 Thread Kent Stewart
On Saturday 27 September 2003 11:00 am, Darryl Hoar wrote:
 Well,
 after the bug of the day drill, I'm replacing windows with Freebsd.
 I want to install the most recent stable version of 4.8.

 I downloaded the mini.iso (as per the instructions), but I am
 still on windows (with the Roxio burner software - yeah crap).
 How do I burn the iso image to CD such that I can boot up
 the install ?

 thanks,
 Darryl

Most of the time, you just have to double click the iso and it will fire 
up Roxio in the burn image mode. I don't use Roxio anymore but IIRC 
there was a burn image option on the file menu section.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Java on FreeBSD

2003-09-27 Thread Khairil Yusof
On Fri, 2003-09-26 at 03:01, Kai Grossjohann wrote:

 Maybe it's the wrong way to get Java on a FreeBSD system?
 Or, even more likely, I did something stupid.

CC_VER = gcc (GCC) 3.3.1 [FreeBSD] Copyright (C) 2003 Free Software 

You're running FreeBSD5.1-CURRENT which is using gcc 3.3.1 which has
issues with compiling jdk14.

Patchset 4 is supposed to be out soon (around 4.9 release I think) and
this is supposed to fix this problem as well as add applet support.

You can help by trying the experimental (current) patchset and reporting
bugs to java@, especially if you're interested in getting java to run on
current.


--
Optimized, readable, on time; Pick any two. 

FreeBSD 5.1-CURRENT i386 
2:20AM up 1 day, 5:48, 3 users, load averages: 0.44, 0.38, 0.42


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


Re: can FreeBSD run dos

2003-09-27 Thread Jud
On Sat, 27 Sep 2003 09:51:50 -0500, fred [EMAIL PROTECTED] wrote:

I am new to different OS's .
Can this Os run Wordperfect 5.1 for dos???
It might be possible with Wine, but you would need a FAT partition, so 
that would definitely be the long way round - you might as well install 
Win9x in the FAT partition and run WordPerfect on DOS directly.  FreeBSD 
has several good free word processing programs of its own that you may 
want to look at - see URL: http://www.freebsd.org/ports/editors.html.

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


cvsup + portupgrade Now no Gnome login

2003-09-27 Thread stan
I cvsup'd today (main and ports), then did a portupgrade -aRR, and now I
can't get loged intot a session using gdm.

I've rebooted the machine, and blown awa ~/.g[cn]* in my user home
directory. Still no luck. I tried the Gnome failsafe session, still no
luck. Looks like it doesn't even _try_ to start Gnome, and I get a console
message about 

 gdm_slave_session_start: Execution of PostLogin script returned  0. Aborting.


What can I do to fix this?

BTW it looks like this upgraded me from Gnome 2.2 to 2.4. Is there a
conversion step I missed?
-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


May I Pick Your Brain Please?

2003-09-27 Thread Janet L. Bergman, Ph.D.
I have a WDC WD400BB-75AUA1 40 Gig hard drive - original equipment
supplied by Dell in my workstation 220.

Can I replace it with a Western Digital Caviar WD1200JB Special Edition
, 120 GB Hard Drive, which has DMA/ATA-100 (Ultra) interface?
Thanks for your expert advice!

Walt Bergman

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


RE: iso-8x16 and mc

2003-09-27 Thread Charles Howse
 I know I can set keymap=us.iso and font8x16=iso-8x16 in 
 /etc/rc.conf
 and have accented letters. Nice. As a European I kind of need this.
 However, doing so, I loose a nice directory screen in Midnight
 Commander. The 'lines' are gone. Yeah I know I can run mc w/ the -a
 option to disable the graphic chars, but I was wandering: is it not
 possible to change some kind of compile option in mc to have graphic
 chars AND the iso-8x16 font?
 
 Or is the only way to accomplish this a hack of the keymaps file?

Regarding your Midnight Commander question, they have a mailing list at:

  http://mail.gnome.org/mailman/listinfo/mc

They are quick to answer. :-) 


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


Re: auto-patching the system

2003-09-27 Thread Erik Trulsson
On Sat, Sep 27, 2003 at 07:11:49PM +0200, Walter C. Pelissero wrote:
 I keep my src tree updated with cvsup, but I start to accumulate
 patches to kernel or programs that I'd like to include automatically
 each time I recompile the kernel (pretty often) or I do a make world
 (much less often).
 
 Those are usually patches that have been already put forward to the
 attention of the maintainers with a send-pr, but got forgotten or
 simply ignored possibly because considered not interesting.
 
 At the moment I simply manually copy the modified files into the
 source tree before recompiling, but, of course, next time I do a
 cvsup, the changes are gone, requiring me to repeat the process next
 time I compile (and likely forgetting some stuff).
 
 Is there already any pre-canned way to include those patches at
 compile time?  (A parallel source tree, for instance.)

There are probably more than one way to keep local patches to the
source, but the way I do it is:

Use cvsup to get a local copy of the whole cvs repository (instead of
just a checked out source tree). 
Then use cvs to check out the source tree from the local repository.
Unlike cvsup, cvs knows how to handle local modifications.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


System hangs on boot with USB mouse pluged in

2003-09-27 Thread stan
As of a fairly recent cvsup, my laptop has developed an anoying feature
If I leave the USSB mouse pluged in, it hangs hard during the boot procees,
requiring me to power cycle it. If I boot it WP the mouse pluged in, and
plug it in _after_ the USN detection (at boot) is doen, the it recognizes
the mouse, and it works corectly.

It did not have this prolem untill I cvsup'd recently. The mouse is the
only USB device that I'm uisng. The keyboard s PS/2.

Any ideas?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can not find libintl.so.4?

2003-09-27 Thread Darren Pilgrim
I have a desktop running 5.1+KDE.  Building a port (finance/gnucash)
failed when the install of a fresh gettext build failed due to there
being an older version already present.  To fix this, I cd into
devel/gettext, run make deinstall  make reinstall.

But now I have programs and other libs refusing to load (PHP, cyrus,
sylpheed, et al).  I get errors stating that libintl.so.4 could not be
found.  A check of/usr/local/lib shows a libintl.so.5 with libintl.so
symlinked to it, but no libintl.so.4.  Symlinking libintl.so.4 to .5
seems to have at least made it possible for everything to load again.

I'm wondering, though, why this happened?  Is there is a more correct
way to fix the problem?  Is this risk taken when one upgrades a
massively interdependent set of installed ports?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 + WaveLAN compatiable PCMCIA problems

2003-09-27 Thread Daniel Hawton
I have an Orinoco Gold which is supposidely a WaveLAN compatiable card.
It has been detected by FreeBSD 5.1.  I execute ifconfig functions to 
set the proper settings for my home, and then run dhclient wi0 to obtain 
an ip address for it from my home DHCPd server.  When I do, I get the 
following errors:
wi0: wi_cmd: busy bit won't clear
wi0: init failed
wi0: failed to allocate 2372 bytes on NIC
wi0: tx buffer allocation error (error 12)
wi0: interface not running

This is a GENERIC kernel, every document I read didn't say anything 
about recompiling the kernel, so I didn't think I had to.

Any help would be much appreciated,
thanks in advance,
Daniel
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Amd64 and FreeBSD performance

2003-09-27 Thread SKU
Greetings!

Can anyone using a Amd64 and FreeBSD comment on the performance times
during buildworlds?   I currently buildworld 2-3 times a day and am looking
for a system that can complete these tasks much quicker.

Thanks for any insight that you can share!

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


Re: Security patches and -p#

2003-09-27 Thread Bill Moran
Matthew Seaman wrote:
On Fri, Sep 26, 2003 at 12:28:07PM -0400, Bill Moran wrote:

Hey,

I'm a bit confused, and it may just be a typo.

I recently updated a bunch of servers to patch the arp problem recently
announced:
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03%3A14.arp.asc
Now, with the chaos in my life, plus getting physically ill during the last
few days, I've not been 100% sure I finished the upgrade on all these 
machines,
so I went around checking uname -a to make sure.

Every single machine I upgraded says 4.8-RELEASE-p5

Now, the security advisory claims the problem is fixed in 4.8-RELEASE-p10.

I know that I completely updated at least _some_ of these machines ;)

Anyway.  Is there a typo somewhere?  Or am I misunderstanding the
bulliten?
It depends on how you obtained the updated source code.  If you used
cvsup(1) to track the RELENG_4_8 branch, then you would have received
inter-alia patches to sys/conf/newvers.sh and other files that control
what the system says it's version number is.
Well, I forgot to provide that information, but every one of these
systems has been updated by cvsupping to RELENG_4_8, so I would
have expected the version to update to p10.
Are other people who track RELENG_4_8 seeing this?  Or is just me?

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System hangs on boot with USB mouse pluged in

2003-09-27 Thread Kent Stewart
On Saturday 27 September 2003 01:04 pm, stan wrote:
 As of a fairly recent cvsup, my laptop has developed an anoying
 feature If I leave the USSB mouse pluged in, it hangs hard during
 the boot procees, requiring me to power cycle it. If I boot it WP the
 mouse pluged in, and plug it in _after_ the USN detection (at boot)
 is doen, the it recognizes the mouse, and it works corectly.

 It did not have this prolem untill I cvsup'd recently. The mouse is
 the only USB device that I'm uisng. The keyboard s PS/2.

 Any ideas?

Are you running 4.9-prerelease? If so, you are following the wrong list 
and Ian Dowse posted a patch to -stable for kern_fork.c that made my 
system boot.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: May I Pick Your Brain Please?

2003-09-27 Thread Jens Rehsack
Janet L. Bergman, Ph.D. wrote:
I have a WDC WD400BB-75AUA1 40 Gig hard drive - original equipment
supplied by Dell in my workstation 220.
Uh, great.

Can I replace it with a Western Digital Caviar WD1200JB Special Edition
, 120 GB Hard Drive, which has DMA/ATA-100 (Ultra) interface?
It depends on your expectation.

Thanks for your expert advice!
Your welcome.

Walt Bergman
Jens

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


opera (native)

2003-09-27 Thread Dick Hoogendijk
Am I right to say that the opera from ports (v7.20) does not support
java? It is disabled in the preferences and can't be set to enabled.

Is it possible to get an opera for FreeBSD _with_ java support or is it
not worth the try? Unstable, not working, or whatever..??

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Port installation methods

2003-09-27 Thread Todd Stephens
Is there any benefit to using the standard 'make' method of installing 
ports over the 'portinstall' command (or portupgrade -N), or 
vice-versa?


-- 
Todd Stephens

Good people do not need laws to tell them to act responsibly, 
while bad people will find a way around the laws. - Plato

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


Re: Problem with cups

2003-09-27 Thread Glenn Johnson
On Sun, Sep 28, 2003 at 01:29:54AM +0800, Khairil Yusof wrote:

 On Sun, 2003-09-28 at 01:01, Todd Stephens wrote:

  When you say foomatic-rip from ports, is this the foomatic-db port?
  I cannot find a port for foomatic-rip (which I thought was just a
  Perl script anyway).  I eventually gave up on foomatic with my Epson
  C82 and used the straight Epson C82 driver from the gimp-print
  collection.

 Whoops.. my bad.

 This was actually installed with patches to hpijs from this PR:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/54156

I sent that PR in, a long time ago.

 I wonder why it wasn't committed since July.

Please send an e-mail to Doug Barton [EMAIL PROTECTED] about this. I
have been trying to gently prod him to commit the patches but it has
gone nowhere.

 You need to install the foomatic-db port..

I do not think that is true. The OP said he had a 930c and the ppd for 
that is installed with the _patched_ hpijs.

-- 
Glenn Johnson
[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 hear audio CDs (Asus P4P800 / Soundmax)

2003-09-27 Thread Vitalis
On Wed, 2003-09-24 at 23:40, Pav Lucistnik wrote:
 V st, 24. 09. 2003 v 20:56, Vitalis pe:
 
   How about using xmms-cdread in ${PORTSDIR}/audio/xmms-cdread?
   With this module xmms can read the CDDA discs as data via IDE bus.
 
  Thanks for your answer. I've just installed the port, but when I launch
  xmms, I get this message:
  /usr/X11R6/lib/xmms/Input/libcdread.so: Undefined symbol
  playlist_generate_shuffle_list
  
  and the plug-in does not appear in xmms configuration.
  
  Any idea?
 
 It's broken with xmms-1.2.8. The patch that fixes this was committed 10
 hours ago by edwin. Update your ports collection and give it a new try.
 
 But, rather than work around your problem, try to solve it. Are you sure
 your CD-ROM drive and sound chip are connected by audio cable?

After multiple checks and handlings of the analog cable, sounds from my
audio CD magically came to my ears; I'll change it ASAP since it seems
seriously corrupted.

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


MBR problem

2003-09-27 Thread Vitalis
Hello,

There are 2 partitions on my hard drive, one for FreeBSD and the other
one for XP. I had to reinstall Windows and of course it blew the MBR up.
I've reinstalled FreeBSD's boot manager with:
boot0cfg -B ad0

Now when I boot, the manager lists the 2 OS, but when I choose to boot
FreeBSD, nothing happens.

Any idea?


#FreeBSD 5.1-CURRENT

bash-2.05b# fdisk ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
 
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)
 
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 117210177 (57231 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 117210240, size 117226305 (57239 Meg), flag 80 (active)
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

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


Re: Problem when compiling kernel

2003-09-27 Thread Kris Kennaway
On Sat, Sep 27, 2003 at 07:30:17PM +0200, spc wrote:
 Hello, I am inexperienced in this of the UNIX, and have installed FreeBSD
 (4,8 stable), but when attempt to do a customized kernel, with himself not
 to compile it.  I have reinstalled the sources, I have checked the integrity
 of the CDs with MD5, I have tried to compile with the options generic, and
 nothing.  The message that I obtain is the following one (with the generic
 option):
 
  Sept 27 8:24:52 /kernel:pid 66564 (cc1), uid0:
  exited on signal 10 (core dumped)
  cc: Internal compiler error: program cc1 gor fatal signal 10

This is a FAQ and usually indicates bad hardware (RAM, CPU fan,
motherboard, etc).

Kris


pgp0.pgp
Description: PGP signature


Re: Can not find libintl.so.4?

2003-09-27 Thread Kris Kennaway
On Sat, Sep 27, 2003 at 01:10:27PM -0700, Darren Pilgrim wrote:
 I have a desktop running 5.1+KDE.  Building a port (finance/gnucash)
 failed when the install of a fresh gettext build failed due to there
 being an older version already present.  To fix this, I cd into
 devel/gettext, run make deinstall  make reinstall.
 
 But now I have programs and other libs refusing to load (PHP, cyrus,
 sylpheed, et al).  I get errors stating that libintl.so.4 could not be
 found.  A check of/usr/local/lib shows a libintl.so.5 with libintl.so
 symlinked to it, but no libintl.so.4.  Symlinking libintl.so.4 to .5
 seems to have at least made it possible for everything to load again.
 
 I'm wondering, though, why this happened?  Is there is a more correct
 way to fix the problem?  Is this risk taken when one upgrades a
 massively interdependent set of installed ports?

This is a FAQ.  portupgrade -R gettext, or see the archives for
extensive discussion.

Kris


pgp0.pgp
Description: PGP signature


Re: Amd64 and FreeBSD performance

2003-09-27 Thread Kris Kennaway
On Sat, Sep 27, 2003 at 04:18:31PM -0400, SKU wrote:
 Greetings!
 
 Can anyone using a Amd64 and FreeBSD comment on the performance times
 during buildworlds?   I currently buildworld 2-3 times a day and am looking
 for a system that can complete these tasks much quicker.

Ask on the amd64 mailing list.

Kris


pgp0.pgp
Description: PGP signature


Re: Can not find libintl.so.4?

2003-09-27 Thread Toni Schmidbauer
On Sat, Sep 27, 2003 at 01:10:27PM -0700, Darren Pilgrim wrote:
 I'm wondering, though, why this happened?  Is there is a more correct
 way to fix the problem?  Is this risk taken when one upgrades a
 massively interdependent set of installed ports?

i would recommend /usr/ports/sysutils/portupgrade. it handles all
the dependencies for you.

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


ARP Question - Maybe?

2003-09-27 Thread Drew Tomlinson
I'm trying to get a Linksys WET11 Wireless Ethernet Bridge working with a
D-Link 530 NIC that uses the rl driver.  I have configured the bridge and
gotten it to work with a Windows XP box if I tell the bridge to use MAC
address cloning.  However I can not get it working on my 4.8 FBSD box.

I'm not really sure but I suspect my problem might be with ARP?  The rl0
interface is configured as 192.168.100.2 and the bridge is connected to this
interface.  The bridge is configured with an IP address of 192.168.100.225
but as I understand it, this is only the address to use when connecting to
the web based configuration utility. I have a Linksys access point with IP
of 192.168.100.1.

Anyway, after attempting connections to these three addresses, my arp table
looks like this:

? (192.168.100.1) at (incomplete) on rl0 [ethernet]
? (192.168.100.2) at 00:05:5d:d0:ba:67 on rl0 permanent [ethernet]
? (192.168.100.225) at (incomplete) on rl0 [ethernet]

I can not get any response from any device beyond the rl0 interface.  I
setup ipfw to log all traffic to that interface and can see the traffic
going out:

Sep 27 15:18:04 blacksheep /kernel: ipfw: 50 Accept ICMP:8.0 192.168.100.2
192.168.100.1 out via rl0

Sep 27 15:24:00 blacksheep /kernel: ipfw: 50 Accept ICMP:8.0 192.168.100.2
192.168.100.225 out via rl0

Can anyone educate me on arp and if it's my problem, tell me what I might
need to add to my arp table to get things going?

Thanks,

Drew


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


Re: ARP Question - Maybe?

2003-09-27 Thread Nathan Kinkade
On Sat, Sep 27, 2003 at 03:31:16PM -0700, Drew Tomlinson wrote:
 I'm trying to get a Linksys WET11 Wireless Ethernet Bridge working with a
 D-Link 530 NIC that uses the rl driver.  I have configured the bridge and
 gotten it to work with a Windows XP box if I tell the bridge to use MAC
 address cloning.  However I can not get it working on my 4.8 FBSD box.
 
 I'm not really sure but I suspect my problem might be with ARP?  The rl0
 interface is configured as 192.168.100.2 and the bridge is connected to this
 interface.  The bridge is configured with an IP address of 192.168.100.225
 but as I understand it, this is only the address to use when connecting to
 the web based configuration utility. I have a Linksys access point with IP
 of 192.168.100.1.
 
 Anyway, after attempting connections to these three addresses, my arp table
 looks like this:
 
 ? (192.168.100.1) at (incomplete) on rl0 [ethernet]
 ? (192.168.100.2) at 00:05:5d:d0:ba:67 on rl0 permanent [ethernet]
 ? (192.168.100.225) at (incomplete) on rl0 [ethernet]
 
 I can not get any response from any device beyond the rl0 interface.  I
 setup ipfw to log all traffic to that interface and can see the traffic
 going out:
 
 Sep 27 15:18:04 blacksheep /kernel: ipfw: 50 Accept ICMP:8.0 192.168.100.2
 192.168.100.1 out via rl0
 
 Sep 27 15:24:00 blacksheep /kernel: ipfw: 50 Accept ICMP:8.0 192.168.100.2
 192.168.100.225 out via rl0
 
 Can anyone educate me on arp and if it's my problem, tell me what I might
 need to add to my arp table to get things going?
 
 Thanks,
 
 Drew

I had this problem recently.  Turns out that ipfw when used in
conjunction with bridging (net.link.ether.bridge_ipfw=1) that your
default rule must be to allow all.  You can mitigate this by making your
last rule something like:

deny { tcp or udp } from any to any

This should basically block pretty much any traffic that you are
probably worried about.  To test that this is the problem, disable the
firewall temporarily, maybe with something like:

# sysctl net.link.ether.bridge_ipfw=0

then try your network.  if it works, the re-enable ipfw by setting the
above parameter back to 1.  then take a look at your arp cache expiry
with `arp -an' and make note as to wether the net breaks again as soon
as the arp entry expires.

you can set ipfw to use a default rule of accepting by adding this
option to you kernel config:

options IPFIREWALL_DEFAULT_TO_ACCEPT

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: Port installation methods

2003-09-27 Thread Alex de Kruijff
On Sat, Sep 27, 2003 at 04:59:50PM -0400, Todd Stephens wrote:
 Is there any benefit to using the standard 'make' method of installing 
 ports over the 'portinstall' command (or portupgrade -N), or 
 vice-versa?

If you've just installed a fresh FreeBSD system then there isn't much
difference. I offten use the make method in this case. But I switch to
portinstall and portupgrade if I a) have updated /usr/ports and b) have
installed any port or package. The reason for this is that portinstall
and portupgrade have a better port management system. This package/port
detects for you changes. With out the portupgrade package you will find
that multiple version of the same packages will be registered and only
one is installed. (There is only one installed because each override the
other fysicaly in /usr/local and /usr/X11R6 but not in the regerstry.)

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can FreeBSD run dos

2003-09-27 Thread Alex de Kruijff
On Sat, Sep 27, 2003 at 09:51:50AM -0500, fred wrote:
 I am new to different OS's .
 Can this Os run Wordperfect 5.1 for dos??? 

You can use vmware2 (version 3 works only for FreeBSD 5.x) to run a
vertual machine. This way you could run your old programs.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: opera (native)

2003-09-27 Thread Alex de Kruijff
On Sat, Sep 27, 2003 at 10:49:02PM +0200, Dick Hoogendijk wrote:
 Am I right to say that the opera from ports (v7.20) does not support
 java? It is disabled in the preferences and can't be set to enabled.

You have to install java first and then point Opera to the rigth
directory. You sould be able to enable it afther doing this. Then you
have to restart opera to get it to work.

 Is it possible to get an opera for FreeBSD _with_ java support or is it
 not worth the try? Unstable, not working, or whatever..??

Opera 6 works with Java. Opera 7.20 beta 4 didn't seem to work with Java.
I know run Opera 7.20 beta 12 but havend tried it jet.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with shh

2003-09-27 Thread Alex de Kruijff
On Sat, Sep 27, 2003 at 05:09:55PM +0300, Kristjan wrote:
 HI!
 
 I forgot to put in ssh conf that you can login as root.
 And i didnt make any users. 
 What could i do ?
 
 The server is far far away from me. Please help. There sure has to be some kind of a 
 bug or exploit :/
 FBSD 4.8

The OpenBSD team is fairly accurate about this. So there's not much
change of this. There was a Security Advosory for SSH but there isn't
much change you could use this.

You best changes in fixing this would be:
1. Go back
2. Ask someone else to fix it for you. If you didn't change the console
from secure to insecure he could gain acces by booting directly in to
single use mode. He could then add a user in and put this in to the
wheel group. This would be a fix. If you did change the console mode
you would have to compromise the password.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: floppydisk sized freebsd

2003-09-27 Thread Alex de Kruijff
On Thu, Sep 25, 2003 at 02:11:49PM -0500, charles pelletier wrote:
 so i've got a laptop w/o a cdrom and i want to install bsd on it. before 
 anyone asks, no, i don't have a reliable INET connection. I took a look at 
 the floppy-freebsd page but i'm still not convinced on it. is there a 
 reliable version in existence or should i not even bother at this point.

There are two distribution based of FreeBSD (not couting the apple
version). It obviuse that the floppy version can't offer you the same as
FreeBSD it self of the CDrom version.

floppy version:
http://www.picobsd.org

CDrom version:
http://www.freesbie.org

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Burning a boot CD

2003-09-27 Thread Alex de Kruijff
On Fri, Sep 26, 2003 at 10:29:01AM -0400, Long Le wrote:
 Hi all,
 
 Does anyone know how to burn/clone a boot CD on a FreeBSD machine?
 
 Thanks,
 Long

There is a special seciton in the FreeBSD handbook that covers this.
http://www.freebsd.org/handbook/

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


if_axe in 4.x?

2003-09-27 Thread Andrew Tappert

I have a D-Link DUB-E100 USB Ethernet Adapter that I'd like to make work on 
a FreeBSD 4.7-RELEASE box.  Is this possible?  I see that a driver for it, 
if_axe, has been written for 5.x.  The man page for it dates it just after 
the release of 4.8, but actually says FreeBSD 4.8 at the bottom.  I 
guessed from this that it might have been back-ported to 4.x, but when I do
cvs co -rRELENG_4 src/sys/dev/usb, I don't see it.

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


Which USB2.0 ATA device Enclosure ?

2003-09-27 Thread ivan georgiev
Hello all,

Can someone tell me if the RATOC USB2.0 ATA Enclosure works on freebsd 
( I am running RELENG_5_1). If not which one does.

Thanks,
Ivan

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


RE: Burn an ISO image

2003-09-27 Thread Anthony Carmody
I used roxio to make my 5.1 discs. windows had not associated .iso with roxio,
but opening the image once in roxio using 'disc image or saved project' then
browse to the .iso files using find 'all files, *.*' etc. it'll pick them up
then.

= -Original Message-
= From: [EMAIL PROTECTED]
= [mailto:[EMAIL PROTECTED] Behalf Of
= Todd Stephens
= Sent: Sunday, 28 September 2003 3:59 AM
= To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
= Subject: Re: Burn an ISO image
=
=
= On Saturday 27 September 2003 02:00 pm, Darryl Hoar wrote:
=
=   I downloaded the mini.iso (as per the instructions), but I am
=   still on windows (with the Roxio burner software - yeah crap).
=   How do I burn the iso image to CD such that I can boot up
=   the install ?
=
= Does Windows associate the .iso extension with your burning
= software?  I
= did it with Nero and Adaptec both by just right-clicking the .iso
= file and selecting burn new cd from image or something
= similar to
= that wording.
=
=
= --
= Todd Stephens
=
= Good people do not need laws to tell them to act responsibly,
= while bad people will find a way around the laws. - Plato
=
= ___
= [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: MBR problem

2003-09-27 Thread Dan Strick
On Sat, 27 Sep 2003, [EMAIL PROTECTED] wrote:
 There are 2 partitions on my hard drive, one for FreeBSD and the other
 one for XP. I had to reinstall Windows and of course it blew the MBR up.
 I've reinstalled FreeBSD's boot manager with:
 boot0cfg -B ad0

 Now when I boot, the manager lists the 2 OS, but when I choose to boot
 FreeBSD, nothing happens.

 Any idea?

 #FreeBSD 5.1-CURRENT

 bash-2.05b# fdisk ad0
 *** Working on device /dev/ad0 ***
 parameters extracted from in-core disklabel are:
 cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=232581 heads=16 sectors/track=63 (1008 blks/cyl)

 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
 start 63, size 117210177 (57231 Meg), flag 0
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
 The data for partition 2 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 117210240, size 117226305 (57239 Meg), flag 80 (active)
 beg: cyl 1023/ head 0/ sector 1;
 end: cyl 1023/ head 254/ sector 63

I don't see any smoking guns.  I know the basic concept, booting via
an MBR installed with boot0cfg on a FreeBSD 5.1 system with XP in the
first slice works, works.  I did it just a couple of days ago.

I do see a potential problem.  The boot0 MBR will by default use the
legacy CHS int-13 BIOS services, even if the extended services are
available.  (At least this is how I read the source code.  This is
contrary to at least some of the boot0/boot0cfg documentation.)

Your XP slice is just a teensy bit larger than 1024*255*63 sectors long,
pushing the bootstrap program in your FreeBSD slice just beyond the point
at which it could be successfully loaded with a legacy int-13 disk read.

If possible, do boot0cfg -v ad0 and see if the packet option is set.
If not, see if setting it with boot0cfg -v -o packet ad0 fixes your
problem.  I expect that you are using a modern motherboard whose BIOS
implements the modern EDDS int-13 disk functions, perhaps the Asus
P4P800 you just mentioned in a previous posting to freebsd-questions.

Caveat: I have not yet tried the boot0cfg packet option and don't
know for sure that it works.  I also wonder how the boot0 program worked
for you before you installed XP.  I gather that it did and that suggests
your problem is something else.  Still, it is worth a try.

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


Re: if_axe in 4.x?

2003-09-27 Thread Marc Wiz
On Sat, Sep 27, 2003 at 05:44:32PM -0700, Andrew Tappert wrote:
 
 I have a D-Link DUB-E100 USB Ethernet Adapter that I'd like to make work on 
 a FreeBSD 4.7-RELEASE box.  Is this possible?  I see that a driver for it, 
 if_axe, has been written for 5.x.  The man page for it dates it just after 
 the release of 4.8, but actually says FreeBSD 4.8 at the bottom.  I 
 guessed from this that it might have been back-ported to 4.x, but when I do
 cvs co -rRELENG_4 src/sys/dev/usb, I don't see it.

This is kind of funny because I just received this adapter in the mail.

I have 4.9 RELENG_4 running.

I just plugged it in and here is the output of dmesg:

ugen0: D-Link 10/100 ethernet adapter, rev 2.00/0.01, addr 2

Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install hang

2003-09-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Monty wrote:

Just bought 4.6 stable w/security update disks (4 disk set)
Have tried to install with no success.
Kernel boots fine and have tried kernel params both auto and manual. 
Goes to Probing Hardware(This may take awhile) screen and ceases 
progress. I let it sit for 2 hours the last time with no results.

Well, check your hardware, since this is where it stops.
Bad RAM could cause this symptom, easily.  If you've
more than one chip, try each in turn.
Have you checked your setup against the Supported
Hardware list at www.freebsd.org?  This link might
get you there...I'm in the middle of 'portupgrade' at
the moment and my connection's so burdened I'm
not even sure this mail will go out... !
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html

HTH,

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


Re: cvsup + portupgrade Now no Gnome login

2003-09-27 Thread Frank Knobbe
On Sat, 2003-09-27 at 14:17, stan wrote:
 I cvsup'd today (main and ports), then did a portupgrade -aRR, and now I
 can't get loged intot a session using gdm.
 
 I've rebooted the machine, and blown awa ~/.g[cn]* in my user home
 directory. Still no luck. I tried the Gnome failsafe session, still no
 luck. Looks like it doesn't even _try_ to start Gnome, and I get a console
 message about 
 
  gdm_slave_session_start: Execution of PostLogin script returned  0. Aborting.


Heh... same thing happened to me. Here is what you need to do:

cd into /usr/X11R6/etc/gdm. There you find your gdm.conf. After the
cvsup, you have (or have a newer version of) factory-gdm.conf. A
comparison showed wha'ts missing. Go ahead and edit gdm.conf. Search for
PostSessionScriptDir. You should see a path assigned to it. You should
also see a definition of PreSessionScriptDir. What you don't see is
PostLoginScriptDir. Go ahead and add to that section following line:
 
  PostLoginScriptDir=/usr/X11R6/etc/gdm/PostLogin/

Then restart gdm (/usr/X11R6/etc/rc.d/gdm.sh stop and 
/usr/X11R6/etc/rc.d/gdm.sh start) and you should be good to go.

Hope this helps,
Frank




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


Re: Message format *again* (was: Why mplayer in FreeBSD 5.1 behave not so good as Debian in my computer?)

2003-09-27 Thread Greg 'groggy' Lehey
On Saturday, 27 September 2003 at  0:32:22 -0500, Dan Nelson wrote:
 In the last episode (Sep 27), Greg 'groggy' Lehey said:
 [Format recovered--see http://www.lemis.com/email/email-format.html]
 On Friday, 26 September 2003 at 14:26:38 -0500, Eugene Lee wrote:
 On Fri, Sep 26, 2003 at 04:48:49AM -0700, Kris Kennaway wrote:

 1) Please wrap your lines at 70 characters so your emails may be
 easily read

 Just curious, is format=flowed disallowed here?

 I don't see anything in the standards that defines this format, so I
 suppose the answer should be yes.  On a more practical basis, I
 don't know of any UNIX-based MUA which treats this correctly, and
 none of the messages I looked at it had this attribute.  In addition,
 I can't see how format=flowed can distinguish between computer
 output (which should be quoted unchanged, possibly with very long
 lines) and text, which RFC 2822 recommends to be 78 characters or
 less.  It also makes it almost impossible to quote.

 So yes, it's disallowed in the sense that it's discouraged, and
 that a number of people, myself included, tend to delete such
 messages unread.  Follow the URL below for more details.

 RFC2646 defines format=flowed, and does a pretty good job of explaining
 the wrapping, joining, and quoting rules.

Hmm, interesting.  I've added it to
http://.lemis.com/email/email-rfc.html.  I suppose there are other
places where I should refer to it as well.

 The nice thing about correctly-generated format=flowed text is that
 it looks just like regular text, so a MUA that doesn't understand
 flowed text can still display perfectly readable output.  Paragraphs
 are wrapped at 72 chars, and a trailing space is added at the wrap
 point as a hint that the next line is a logical continuation.  Lines
 not ending in a space are not flowed, so it's easy to specify what
 text will be flowed and what won't.

Yes, if the MUA (and the user) adhere to the conventions.  I've taken
a look at the messages I've received recently with format=flowed, and
they're all  80 characters long.  That's the intention of the RFC, of
course, but it happens so regularly that I wonder whether my MTA is
reformatting.  That doesn't appear to be right, though.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
NOTE: Due to the currently active Microsoft-based worms, I am limiting
all incoming mail to 131,072 bytes.  This is enough for normal mail,
but not for large attachments.  Please send these as URLs.


pgp0.pgp
Description: PGP signature


strange issues with 4.9-Prerelease

2003-09-27 Thread GET EUID
Hi,

[please Cc me when you reply.  I'm not on the list]

I have recently purchased this machine with the
following specs:

ASUS P4P800-VM with onboard NIC (fxp0)
2.4Ghz P4
1 GB RAM
Intel 10/100B NIC

I've installed 4.9-prerelease on the box [last cvsup
was tonight]

Basically, when I boot the box from home , I get this
error saying: syslogd: no address assoicated with
hostname  but then everything else seems to be
working
okay, including the networking on both NICs...etc.  

The strange problem is that if I move the machine
to the colo, the onboard NIC would not work and I
saw this in dmesg: fxp0: MII without any PHY
and the fxp1 was not even detected.  syslogd would
either core dump or gave the same error as the above.

But as soon as I move the machine back, everything
started to work okay except syslogd error message
still would appear

Any hints? Likely a hardware issue or 4.9 pre release
issue or something funny with the power provided
by the colo?

Thanks!

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can FreeBSD run dos

2003-09-27 Thread Vulpes Velox
On Sat, 27 Sep 2003 09:51:50 -0500
fred [EMAIL PROTECTED] wrote:

 I am new to different OS's .
 Can this Os run Wordperfect 5.1 for dos??? 

Dosbox may work... but seriously... it is probally best to leave old DOS apps
where they are... dead... I suggest something like AbiWord2...

btw why interested in such a old program?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]