Re[2]: SSH

2005-07-14 Thread vladone
Hello Glenn,

Thursday, July 14, 2005, 2:28:06 AM, you wrote:

 At 03:50 AM 7/13/2005, Andrew Budiwaluyo wrote:
I can ssh (and access http) to my server from the
internet, but not from my internal network.

if i turn off the firewall it still won't work so i
think it's no from ipf.rules.

Help!

If I ssh from an internal machine, I get the login
prompt, but after typing a username, I am never asked
for a password...

 This sounds very much like the machine you're trying to login to can't do a
 reverse lookup on the IP address you're logging in from.

 -Glenn




__
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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

Try in sshd_config
UseDns no

I have in the past same problem!!

-- 
Best regards,
 vladonemailto:[EMAIL PROTECTED]

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


Re: DHCP assigned unregistered IP address

2005-07-14 Thread Alex Zbyslaw

Bob Hall wrote:


Tonight, during a thunderstorm, I shutdown the household FBSD internet
gateway. After the storm passed, I booted it up again, only to discover
that during the bootup, my ISP's DHCP server had assigned me a new IP
address. That wasn't a problem in itself, but the new address was
192.168.100.11, an unregistered address.
 


As suggested, the cable modem is probably the culprit.

If you do not need it's DHCP, can you talk to it by http?  Mine is 
192.168.100.1  and has a tickbox to turn DHCP on/off on its config 
page.  The trouble then is that you can have *no* IP address if you 
cable is down, but at least it's clear what's going on.


--Alex

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


Re: How do I build i386 arch on Athlon 64?

2005-07-14 Thread Alex Zbyslaw

Gary W. Swearingen wrote:


So how do I build a i386 system on the amd64 system?
 


Download the i386 iso and burn that onto CD.

--Alex

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


Re: DHCP assigned unregistered IP address

2005-07-14 Thread Glenn Dawson

At 10:29 PM 7/13/2005, Robert Huff wrote:


Glenn Dawson writes:

  Sounds like you have one of the motorola cable modems.  They will
  assign exactly that address if they are turned on and can't
  communicate with the cable companies network.

In such situations, my 3Com shows a red light in the
appropriate slot.  Do Motorolas not do this?


On the one I have (SB3100) the power light will blink under some 
circumstances, such as the ISP turning you off for not paying your bill.


You can also point your browser at http://192.168.100.1/ and get various 
bits of info from the unit itself. (that will work if you end up with an 
addr assigned by your ISP or from the motorola unit)


Documentation for the various models is here:
http://broadband.motorola.com/noflash/customer_docs/user.html

-Glenn




Robert Huff

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


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


Re: Soft-updates du df

2005-07-14 Thread Ivailo Tanusheff
Hilco Wijbenga [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
07/14/2005 12:01 AM

To
freebsd-questions@freebsd.org
cc

Subject
Soft-updates  du  df






Hi,

I've taken over the administration of a FreeBSD box and now I've run
into a problem that I could not solve by means of Google or the FreeBSD
mailinglist archives. I am quite familiar with (Gentoo) GNU/Linux but a
complete newbie when it comes to FreeBSD.

While I was doing some work I got an error about a device being full. As
it turned out /var was completely full. Not a big problem because there
were a few very big log files that I could throw away. Problem solved?
Apparently not because

[EMAIL PROTECTED] df -h /var
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad2s1d248M246M-18M   108%/var

even though

[EMAIL PROTECTED] du -hs /var
 43M/var

Shouldn't du and df roughly agree on the amount that's used/available?

/var is mounted using soft-updates

[EMAIL PROTECTED] mount
/dev/ad2s1a on / (ufs, local)
devfs on /dev (devfs, local, multilabel)
/dev/ad2s1e on /tmp (ufs, local, soft-updates)
/dev/ad2s1f on /usr (ufs, local, soft-updates)
/dev/ad2s1d on /var (ufs, local, soft-updates)
/dev/gvinum/raid on /raid (ufs, local, soft-updates)

According to what I found using Google regarding soft-updates this means
that my changes are not written to disk immediately? Does that have
anything to do with this?

It looks like I didn't really solve the problem because if I try to copy
a fairly big file (say 2MB) to the /var/log directory I get another 'No
space left on device' even though there should now be about 200MB
available. I can create small files though.

How do I get du and df to agree again? Or do I have a different problem?
Please let me know if I left out any important information.

Bye,
Hilco

___


You can force the updates to be written to the disk using sync (8) for the 
whole system or fsync on a specific files. Or you can just wait a while so 
the updates are written to thr disk.

Ivailo Tanusheff


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


using -t option with unix sort ?

2005-07-14 Thread Daniel Malaby

Hi All,

I am trying to sort a tab delimited file with sort. The problem I am
having is with the -t option. I do not know how to pass a tab.

Things I have tried:

sort -t \t
sort -t '\t'
sort -t \t
sort -t 0x09
sort -t '0x09'
sort -t 0x09
sort -t ^I
sort -t '^I'
sort -t ^I

Any suggestions would be much appreciated.

Thanks

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


Re: DHCP assigned unregistered IP address

2005-07-14 Thread Hornet
On 7/14/05, Robert Huff [EMAIL PROTECTED] wrote:
 
 Glenn Dawson writes:
 
   Sounds like you have one of the motorola cable modems.  They will
   assign exactly that address if they are turned on and can't
   communicate with the cable companies network.
 
 In such situations, my 3Com shows a red light in the
 appropriate slot.  Do Motorolas not do this?
 
 
 Robert Huff
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


When you try to go to any web site, is it redirection you to the same web page?
Also try 'dig @216.235.128.31 www.yahoo.com' and 'dig @216.235.128.31
www.freebsd.org' and if you get the same IP, you might need to
re-register with your ISP.

I had a similar problem, where their DHCP server got hosed and I
experienced the same issue.

Also :) did you pay your bill.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(no subject)

2005-07-14 Thread Mohd Radzi

Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)

how to do?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Apache 1.3 FreeBsd Port missing mod_auth_digest

2005-07-14 Thread Chris Roos

Hi,

I'm not entirely convinced this is the right place for this question as 
it may be an Apache issue rather than FreeBsd/Port issue.  Either way, I 
thought I'd start here first.


I've been running Apache 1.3 from the ports on FreeBsd 5.3R for quite a 
while.  I've even been running it with mod_digest to provide some basic 
password protection.  Unfortunately mod_digest doesn't work with IE. 
This hasn't really been a problem until now.  Now that it is an issue 
I've been looking to enable mod_auth_digest in place of mod_digest as 
this should work with IE too.  The problem is that I cannot find any 
reference of it in my install or in any of the patches applied to the 
Apache 1.3 port; as far as I can tell mod_auth_digest is nowhere to be 
found on my install.  I've also been trying to google for similar 
reports of this problem but currently to no avail.


Does anyone have any information on this?  It could well be the case 
that I'm missing something obvious that I just don't know about so any 
pointers to other resources I might check would also be appreciated.


Thanks in advance,

Chris

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


Re: (no subject)

2005-07-14 Thread Igor Robul

Mohd Radzi wrote:


Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)

how to do?
 


Read MySQL manual. Also set Subject of your mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mountmsdosfs(): disk too big still a problem?

2005-07-14 Thread Björn König

Kevin Kinsey wrote:


FAT32 still seems to be a good option
for cross-platform USB mass storage, for example, as NTFS isn't
really writable by FBSD either


What is not really? I never had problems with writing to an NTFS 
partition with FreeBSD as long as I don't use special features of NTFS; 
just creating and deleting files and directories. I think it's good 
enough for temporary data that is dispensable.


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


Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Björn König

Rick Preston wrote:

I was going to offer something more complicated, thanks for the tip. 
I came to realize that both our ideas require shutting down the

system.  What would be the safest way to do that with out causing
potential damage to the system, without root access?


Turn it off. It's not safe, but the only way that I know unless you 
don't have a user that is member of the group 'operator'. These users 
are allowed to use the 'shutdown' command with root privileges:


 ls -l /sbin/shutdown
-r-sr-x---  1 root  operator  10148 Jul 11 14:12 /sbin/shutdown

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


Re: using -t option with unix sort ?

2005-07-14 Thread Nelis Lamprecht
On 7/14/05, Daniel Malaby [EMAIL PROTECTED] wrote:
 Hi All,
 
 I am trying to sort a tab delimited file with sort. The problem I am
 having is with the -t option. I do not know how to pass a tab.

snip

 sort -t \t

/snip

 
 Any suggestions would be much appreciated.

remove the space between -t and \t and it should work

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


Re: using -t option with unix sort ?

2005-07-14 Thread Nelis Lamprecht
On 7/14/05, Nelis Lamprecht [EMAIL PROTECTED] wrote:
 On 7/14/05, Daniel Malaby [EMAIL PROTECTED] wrote:
  Hi All,
 
  I am trying to sort a tab delimited file with sort. The problem I am
  having is with the -t option. I do not know how to pass a tab.
 
 snip
 
  sort -t \t
 
 /snip
 
 
  Any suggestions would be much appreciated.
 
 remove the space between -t and \t and it should work

actually scratch that, it works either way. can you give a sample of the data ?

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


Re: Apache 1.3 FreeBsd Port missing mod_auth_digest

2005-07-14 Thread Glenn Dawson

At 01:52 AM 7/14/2005, Chris Roos wrote:

Hi,

I'm not entirely convinced this is the right place for this question as it 
may be an Apache issue rather than FreeBsd/Port issue.  Either way, I 
thought I'd start here first.


I've been running Apache 1.3 from the ports on FreeBsd 5.3R for quite a 
while.  I've even been running it with mod_digest to provide some basic 
password protection.  Unfortunately mod_digest doesn't work with IE. This 
hasn't really been a problem until now.  Now that it is an issue I've been 
looking to enable mod_auth_digest in place of mod_digest as this should 
work with IE too.  The problem is that I cannot find any reference of it 
in my install or in any of the patches applied to the Apache 1.3 port; as 
far as I can tell mod_auth_digest is nowhere to be found on my 
install.  I've also been trying to google for similar reports of this 
problem but currently to no avail.


Does anyone have any information on this?  It could well be the case that 
I'm missing something obvious that I just don't know about so any pointers 
to other resources I might check would also be appreciated.


According to this: http://httpd.apache.org/docs/mod/mod_auth_digest.html
if you have 1.3.8 or later the files required are included with the rest of 
apache.  They also list it as experimental.


Building it into apache should be as easy as adding the correct options to 
CONFIGURE_ARGS


-Glenn



Thanks in advance,

Chris

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


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


Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
This one is making me feel dumb...I've been using FreeBSD for at least
six years but I can't seem to figure this out...

I have two FreeBSD systems running 4.10/4.11 (these problems have
plagued me through several versions though).  On one system, arrows
and backspace work as expected, but on the other, left/right arrows in
vi cause havock (extra characters and a switch from command to insert
mode), and backspace in Lynx, Mutt, etc., backs up but leaves
characters intact instead of clearing them.  I have verified that the
following are identical on both systems:

- termcap (/etc symlink and /usr/share/misc/termcap and termcap.db).
- ~/.exrc.
- stty settings at run time and as set in ~/.login (I use tcsh).
- .screenrc (I also use screen 4.00.02 on both systems).
- /usr/local/etc/screenrc

I have also tried connecting to each system directly, via a serial
cable and via a Telnet client; and also connecting to each system
through an ssh session on the other one, inside a Screen session.
The results are always the same:  On one system, keys work as
expected, but on the other, they always work in the same wrong way.

Actually, I find that the problem only occurs when I'm inside a Screen
session on the troublesome system.  In other words, all variations
above work properly if I'm not in Screen on the troublesome system
(even if I'm connected to it through a Screen session running ssh on
the other system), but all above variations involving my being in a
Screen session on the troublesome system cause the problem.

In case it helps, here's sort of a truth table, where s2 is the
troublesome system:

Serial to s1: ok
Serial to s1 screen session: ok
Serial to s2: ok
Serial to s2 screen session: problem

Telnet to s1: ok
Telnet to s1 screen session: ok
Telnet to s2: ok
Telnet to s2 screen session: problem

Serial or Telnet through s1 screen session to s2: ok
Serial or Telnet through s1 screen session to s2 screen session: problem
Serial or Telnet through s2 screen session to s1: ok
Serial or Telnet through s2 screen session to s1 screen session: ok!


Any help will be most appreciated.  Please Cc me with replies.  I feel
like I'm missing something very basic here...


-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
BART Group [EMAIL PROTECTED]   http://www.bartsite.com
While they were saying among themselves it cannot be done, it was
done. --Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Matlab7 (R14)

2005-07-14 Thread Svein Halvor Halvorsen

* Rodolphe Conan [2005-07-13 08:31 -0700]
  I finally got Matlab 7 working!
  I have put the following in the startup m-file
  set(0,'DefaultFigureRenderer','ZBuffer',...
  'DefaultFigureRendererMode','Manual')
  Before to set these default properties, doing get(gcf,'Renderer') gave
  me None !


COuld you please provide me with a step-by-step guide on how to setup 
Matlab / on a FreeBSD 5.4 system? Is this DefaultFigureRenderer setting 
all you need to alter? And where do I put this configuration? 

I've installed Matlab 7 using:

/compat/linux/bin/sh /path/to/matlab/install


This gives me a seemingly working Matlab, except almost everything I try 
to di results in a freeze. I get the same /lib/libc.so.6: cannot execute 
binary file error as you reported, but this doesn't seem to cause any 
trouble. Java crashes all the time too. Did you change the bundles java? 
If so, how?



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


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Alex Zbyslaw

Doug Lee wrote:


This one is making me feel dumb...I've been using FreeBSD for at least
six years but I can't seem to figure this out...

I have two FreeBSD systems running 4.10/4.11 (these problems have
plagued me through several versions though).  On one system, arrows
and backspace work as expected, but on the other, left/right arrows in
vi cause havock (extra characters and a switch from command to insert
mode), and backspace in Lynx, Mutt, etc., backs up but leaves
characters intact instead of clearing them. 

One thing to check is that both keyboards are actually producing the 
same codes for your keys.  They probably are, but...


Just type cat and then press the arrow keys on each system.  Finish 
with Enter^D


Also, what does echo $term show?  Identical termcap files don't help 
if your terms are different :-)


Is there anything different about the .login or .cshrc between the machines?

--Alex

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


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Glenn Dawson

At 04:09 AM 7/14/2005, Doug Lee wrote:

This one is making me feel dumb...I've been using FreeBSD for at least
six years but I can't seem to figure this out...

I have two FreeBSD systems running 4.10/4.11 (these problems have
plagued me through several versions though).  On one system, arrows
and backspace work as expected, but on the other, left/right arrows in
vi cause havock (extra characters and a switch from command to insert
mode), and backspace in Lynx, Mutt, etc., backs up but leaves
characters intact instead of clearing them.  I have verified that the
following are identical on both systems:

- termcap (/etc symlink and /usr/share/misc/termcap and termcap.db).
- ~/.exrc.
- stty settings at run time and as set in ~/.login (I use tcsh).
- .screenrc (I also use screen 4.00.02 on both systems).
- /usr/local/etc/screenrc


Check TERM in the environment of a shell that's inside screen.  It should 
be 'screen'.  If it's not, or there's no entry for screen in termcap you'll 
have exactly the problem you are seeing.


-Glenn



I have also tried connecting to each system directly, via a serial
cable and via a Telnet client; and also connecting to each system
through an ssh session on the other one, inside a Screen session.
The results are always the same:  On one system, keys work as
expected, but on the other, they always work in the same wrong way.

Actually, I find that the problem only occurs when I'm inside a Screen
session on the troublesome system.  In other words, all variations
above work properly if I'm not in Screen on the troublesome system
(even if I'm connected to it through a Screen session running ssh on
the other system), but all above variations involving my being in a
Screen session on the troublesome system cause the problem.

In case it helps, here's sort of a truth table, where s2 is the
troublesome system:

Serial to s1: ok
Serial to s1 screen session: ok
Serial to s2: ok
Serial to s2 screen session: problem

Telnet to s1: ok
Telnet to s1 screen session: ok
Telnet to s2: ok
Telnet to s2 screen session: problem

Serial or Telnet through s1 screen session to s2: ok
Serial or Telnet through s1 screen session to s2 screen session: problem
Serial or Telnet through s2 screen session to s1: ok
Serial or Telnet through s2 screen session to s1 screen session: ok!


Any help will be most appreciated.  Please Cc me with replies.  I feel
like I'm missing something very basic here...


--
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
BART Group [EMAIL PROTECTED]   http://www.bartsite.com
While they were saying among themselves it cannot be done, it was
done. --Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 12:41:33PM +0100, Alex Zbyslaw wrote:
Doug Lee wrote:

 One thing to check is that both keyboards are actually producing the 
 same codes for your keys.  They probably are, but...

Yes they are.  The truth table (or approximation thereof) also shows
that it doesn't matter which system (/keyboard) I start from.

 Also, what does echo $term show?  Identical termcap files don't help 
 if your terms are different :-)

screen when in a Screen session, vt102 when not.  I've also tried
vt100 and even cygwin (with Cygwin being the point of origin of
course).

 Is there anything different about the .login or .cshrc between the machines?

Apart from different alias definitions, different prompts, and a
couple of other unrelated things (like shell variables set to point to
drives, for example), no.

--Alex

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
BART Group [EMAIL PROTECTED]   http://www.bartsite.com
Characters live to be noticed. People with character notice how
they live. -- Nancy Moser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache 1.3 FreeBsd Port missing mod_auth_digest

2005-07-14 Thread Chris Roos

Glenn Dawson wrote:

At 01:52 AM 7/14/2005, Chris Roos wrote:


Hi,

I'm not entirely convinced this is the right place for this question 
as it may be an Apache issue rather than FreeBsd/Port issue.  Either 
way, I thought I'd start here first.


I've been running Apache 1.3 from the ports on FreeBsd 5.3R for quite 
a while.  I've even been running it with mod_digest to provide some 
basic password protection.  Unfortunately mod_digest doesn't work with 
IE. This hasn't really been a problem until now.  Now that it is an 
issue I've been looking to enable mod_auth_digest in place of 
mod_digest as this should work with IE too.  The problem is that I 
cannot find any reference of it in my install or in any of the patches 
applied to the Apache 1.3 port; as far as I can tell mod_auth_digest 
is nowhere to be found on my install.  I've also been trying to google 
for similar reports of this problem but currently to no avail.


Does anyone have any information on this?  It could well be the case 
that I'm missing something obvious that I just don't know about so any 
pointers to other resources I might check would also be appreciated.



According to this: http://httpd.apache.org/docs/mod/mod_auth_digest.html
if you have 1.3.8 or later the files required are included with the rest 
of apache.  They also list it as experimental.


Building it into apache should be as easy as adding the correct options 
to CONFIGURE_ARGS


-Glenn

Ok.  I had already seen the apache page detailing the fact that it 
should already be available in the Apache distribution since 1.3.8, 
which is why I was confused when I couldn't find it.  The problem I have 
now is how would I find out what options are available to be added to 
CONFIGURE_ARGS?  Is this something I would find somewhere in the ports 
info or in the Apache docs?


Thanks for your help,

Chris

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


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 04:43:32AM -0700, Glenn Dawson wrote:
 Check TERM in the environment of a shell that's inside screen.  It should 
 be 'screen'.  If it's not, or there's no entry for screen in termcap you'll 
 have exactly the problem you are seeing.

screen it is, and here's the /etc/termcap entry for it (though I'm
sure this will be severely munged by including it as text here):

SC|screen|VT 100/ANSI X3.64 virtual terminal:\
:am:xn:ms:mi:G0:km:\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
:li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\
:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\
:AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\
:DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\
:ks=\E[?1h\E=:ke=\E[?1l\E:vb=\Eg:\
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\
:kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:@7=\E[4~:kP=\E[5~:\
:kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\
:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
:ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
BART Group [EMAIL PROTECTED]   http://www.bartsite.com
While they were saying among themselves it cannot be done, it was
done. --Helen Keller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache 1.3 FreeBsd Port missing mod_auth_digest

2005-07-14 Thread Glenn Dawson

At 04:47 AM 7/14/2005, Chris Roos wrote:

Glenn Dawson wrote:

At 01:52 AM 7/14/2005, Chris Roos wrote:


Hi,

I'm not entirely convinced this is the right place for this question as 
it may be an Apache issue rather than FreeBsd/Port issue.  Either way, I 
thought I'd start here first.


I've been running Apache 1.3 from the ports on FreeBsd 5.3R for quite a 
while.  I've even been running it with mod_digest to provide some basic 
password protection.  Unfortunately mod_digest doesn't work with IE. 
This hasn't really been a problem until now.  Now that it is an issue 
I've been looking to enable mod_auth_digest in place of mod_digest as 
this should work with IE too.  The problem is that I cannot find any 
reference of it in my install or in any of the patches applied to the 
Apache 1.3 port; as far as I can tell mod_auth_digest is nowhere to be 
found on my install.  I've also been trying to google for similar 
reports of this problem but currently to no avail.


Does anyone have any information on this?  It could well be the case 
that I'm missing something obvious that I just don't know about so any 
pointers to other resources I might check would also be appreciated.


According to this: http://httpd.apache.org/docs/mod/mod_auth_digest.html
if you have 1.3.8 or later the files required are included with the rest 
of apache.  They also list it as experimental.
Building it into apache should be as easy as adding the correct options 
to CONFIGURE_ARGS

-Glenn
Ok.  I had already seen the apache page detailing the fact that it should 
already be available in the Apache distribution since 1.3.8, which is why 
I was confused when I couldn't find it.  The problem I have now is how 
would I find out what options are available to be added to 
CONFIGURE_ARGS?  Is this something I would find somewhere in the ports 
info or in the Apache docs?


You can do make extract in the dir for the port.  Then you can go to the 
work dir, find configure and do ./configure --help

That will give you a list of available options.

-Glenn



Thanks for your help,

Chris

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


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


Re: Apache 1.3 FreeBsd Port missing mod_auth_digest

2005-07-14 Thread Chris Roos

Glenn Dawson wrote:

At 04:47 AM 7/14/2005, Chris Roos wrote:


Glenn Dawson wrote:


snip


Ok.  I had already seen the apache page detailing the fact that it 
should already be available in the Apache distribution since 1.3.8, 
which is why I was confused when I couldn't find it.  The problem I 
have now is how would I find out what options are available to be 
added to CONFIGURE_ARGS?  Is this something I would find somewhere in 
the ports info or in the Apache docs?



You can do make extract in the dir for the port.  Then you can go to the 
work dir, find configure and do ./configure --help

That will give you a list of available options.

That's great thanks Glenn.  I think I've spotted the option I need and 
the source file (mod_auth_digest.c) certainly appears in the work directory.


Cheers,

Chris


-Glenn



Thanks for your help,

Chris

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








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


Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Ivailo Tanusheff
This is described in FAQ.
Generally boot in single user mode, go to console and change the password 
:)

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD

tel. +359 2 921 7161
fax +359 2 921 7110
http://www.procreditbank.bg


Disclaimer: The information contained in this message is intended solely 
for the use of individual or entity to whom it is addressed and other 
authorized to receive it. It may contain confidential or legally 
privileged information. If you are not the intended recipient you are 
hereby notified that any disclosure, copying, distribution or taking any 
action in reliance on the contents of this message is strictly prohibited 
and may be unlawful. If you have received this communication in error, 
please notify us immediately by responding to this email and then delete 
it from your system. ProCredit Bank is neither liable for the proper and 
complete transmission of the information contained in this message nor for 
any delay in its receipt. 



Amandeep [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
07/14/2005 12:14 AM

To
freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org
cc

Subject
How to reset root passwd FreeBSdD4.7






Hi all,

Is there a way to reset the root passwd without reinstalling FreeBSD 4.7.

Thanks in advance

Aman

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

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


Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Aaron Peterson
On 7/14/05, Björn König [EMAIL PROTECTED] wrote:
 Rick Preston wrote:
 
  I was going to offer something more complicated, thanks for the tip.
  I came to realize that both our ideas require shutting down the
  system.  What would be the safest way to do that with out causing
  potential damage to the system, without root access?
 
 Turn it off. It's not safe, but the only way that I know unless you
 don't have a user that is member of the group 'operator'. These users
 are allowed to use the 'shutdown' command with root privileges:
 
   ls -l /sbin/shutdown
 -r-sr-x---  1 root  operator  10148 Jul 11 14:12 /sbin/shutdown
 
 Björn

I was under the impression that if you had physical access to the
console and a default init setup, ctrl-alt-delete would reboot even if
one wasn't logged in...  perhaps I'm mistaken though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.x raid...

2005-07-14 Thread Casper


 Hi,

 I have web server with one ata system disk and two sata disks for www 
stuff... I wanted to make that all www stuff is on one sata disk and 
mirror (backups) it to second disk if first sata brakes... So I have 
little experience with vinum (one samba server vinum raid5 working ok 
without problem) so I wanted to make on www server with vinum raid1...

But something not working:
dmesg:
ad4: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at 
ata2-master SATA150
ad6: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at 
ata3-master SATA150


#cat www.vinum
drive a device /dev/ad4c
drive b device /dev/ad6c
volume www
plex org raid1 512k
sd length 165g drive a
sd length 165g drive b

[EMAIL PROTECTED] vinum create -f www.vinum
   4: plex org raid1 512k
** 4 Invalid plex organization: Invalid argument
   5: sd length 165g drive a
** 5 Unnamed sd is not associated with a plex: Invalid argument
   6: sd length 165g drive b
** 6 Unnamed sd is not associated with a plex: Invalid argument
2 drives:
D a State: up   /dev/ad4c   A: 190782/190782 
MB (100 %)
D b State: up   /dev/ad6c   A: 190782/190782 
MB (100 %)


1 volumes:
V www   State: down Plexes:   0 Size:  0  B

0 plexes:
0 subdisks:

What is problem?

Casper

P.S. I have googled problem and found:
http://lists.freebsd.org/pipermail/freebsd-questions/2005-May/088698.html
there ppl is saying that they don`t like in 5.x vinum, any better 
sugestion? I have no coplains about vinum raid5 on 5.3 samba server, it 
works good.. :)


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


freecolor won't start because of BUS ERROR

2005-07-14 Thread PK

hi

I have a fresh installation of freeBSD 5.4 and did ports tree update.
I've installed freecolor from ports, but won't start:

# /usr/local/bin/freecolor -o
Bus error





___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


/dev/ufs

2005-07-14 Thread Heinrich Rebehn

Hi all,

I am trying to mount disks by label. The glabel(8) manpage suggests:

   tunefs -L data /dev/da4s1a
   mount /dev/ufs/data /mnt/data

I tried that, but i don't see a /dev/ufs at all. Does it have to be 
mounted? If so, how?


I use FreeBSD 5.4-RELEASE-p4

Thanks for any suggestions.

Heinrich
--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.x raid...

2005-07-14 Thread FreeBSD questions mailing list


On 14 jul 2005, at 15:27, Casper wrote:



 Hi,

 I have web server with one ata system disk and two sata disks for  
www stuff... I wanted to make that all www stuff is on one sata  
disk and mirror (backups) it to second disk if first sata brakes...  
So I have little experience with vinum (one samba server vinum  
raid5 working ok without problem) so I wanted to make on www server  
with vinum raid1...

But something not working:
dmesg:
ad4: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at ata2- 
master SATA150
ad6: 190782MB WDC WD2000JD-22HBB0/08.02D08 [387621/16/63] at ata3- 
master SATA150


#cat www.vinum
drive a device /dev/ad4c
drive b device /dev/ad6c
volume www
plex org raid1 512k
sd length 165g drive a
sd length 165g drive b

[EMAIL PROTECTED] vinum create -f www.vinum
   4: plex org raid1 512k
** 4 Invalid plex organization: Invalid argument
   5: sd length 165g drive a
** 5 Unnamed sd is not associated with a plex: Invalid argument
   6: sd length 165g drive b
** 6 Unnamed sd is not associated with a plex: Invalid argument
2 drives:
D a State: up   /dev/ad4c   A:  
190782/190782 MB (100 %)
D b State: up   /dev/ad6c   A:  
190782/190782 MB (100 %)


1 volumes:
V www   State: down Plexes:   0  
Size:  0  B


0 plexes:
0 subdisks:

What is problem?




'plex org raid1 512k' is invalid
you should use:
'plex org concat'


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum- 
examples.html

man vinum
man 4 vinum

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


Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Rick Preston
On 7/14/05, Aaron Peterson [EMAIL PROTECTED] wrote:
 On 7/14/05, Björn König [EMAIL PROTECTED] wrote:
  Rick Preston wrote:
 
   I was going to offer something more complicated, thanks for the tip.
   I came to realize that both our ideas require shutting down the
   system.  What would be the safest way to do that with out causing
   potential damage to the system, without root access?
 
  Turn it off. It's not safe, but the only way that I know unless you
  don't have a user that is member of the group 'operator'. These users
  are allowed to use the 'shutdown' command with root privileges:
 
ls -l /sbin/shutdown
  -r-sr-x---  1 root  operator  10148 Jul 11 14:12 /sbin/shutdown
 
  Björn
 
 I was under the impression that if you had physical access to the
 console and a default init setup, ctrl-alt-delete would reboot even if
 one wasn't logged in...  perhaps I'm mistaken though.

Hi Aaron,

Thanks for pointing that out.  I just tryed it on a test system and it
worked fine.

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


portmanager upgrade question

2005-07-14 Thread Bart Silverstrim
Is there a way to force a rebuild with new dependencies when you get 
errors like:

**
OLD ethereal-0.10.11_1 built with old dependency net-snmp-5.2.1_2, 
current dependency is net-snmp-5.2.1.2
OLD gtk-2.6.8 built with old dependency libxml2-2.6.19, current 
dependency is libxml2-2.6.20
OLD shared-mime-info-0.16_1 built with old dependency libxml2-2.6.19, 
current dependency is libxml2-2.6.20


status report finished

percentDone-=0 = 100 - ( 100 * ( QTY_outOfDatePortsDb-=4 / 
TOTAL_outOfDatePortsDb-=4 ) )
upgrade 0.2.9_4 info: ignoring ettercap-0.6.b_2,1, reason: failed 
during (2) make
checkForOldDepencies 0.2.9_4 skip: ethereal-0.10.11_1 has a dependency 
shared-mime-info-0.16_1 that needs to be updated first
checkForOldDepencies 0.2.9_4 skip: gtk-2.6.8 has a dependency 
shared-mime-info-0.16_1 that needs to be updated first
upgrade 0.2.9_4 info: ignoring shared-mime-info-0.16_1, reason: failed 
during (2) make


update of ports collection complete with either some errors, ignored 
ports or both


***
at the end of an upgrade cycle, like a recursive rebuild?  Or do other 
tools have to be used outside of portmanager?


Thanks,
-Bart

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


Re: /dev/ufs

2005-07-14 Thread Dan Nelson
In the last episode (Jul 14), Heinrich Rebehn said:
 I am trying to mount disks by label. The glabel(8) manpage suggests:
 
tunefs -L data /dev/da4s1a
mount /dev/ufs/data /mnt/data
 
 I tried that, but i don't see a /dev/ufs at all. Does it have to be
 mounted? If so, how?

Make sure you have the geom_label module loaded, or have options
GEOM_LABEL in your kernel config file.  It's also a bit sensitive; if
your filesystem doesn't completely fill the partition it's in, you
won't get a label, so if you have resized partitions and not yet run
growfs it won't show up.

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


FreeBSD 5.4 CD and Adaptec 2010s controller w/ RAID 10

2005-07-14 Thread M. L.

Hi list,

I'm having a strange problem while trying to install FreeBSD on a 
pentium 4 server with an adaptec 2010s controller with a built RAID 10. 
It goes fine until


it tries to read the CD (to install FreeBSD), at that point it starts 
spitting random numbers and letters in blocks, something like:


cc 99 cc aa dd 99 cc 99 cc aa dd 99 cc 99 cc aa dd 99
cc 99 cc aa dd 99 cc 99 cc aa dd 99 cc 99 cc aa dd 99
cc 99 cc aa dd 99 cc 99 cc aa dd 99 cc 99 cc aa dd 99
cc 99 cc aa dd 99 cc 99 cc aa dd 99 cc 99 cc aa dd 99
cc 99 cc aa dd 99 cc 99 cc aa dd 99 cc 99 cc aa dd 99


(letters/numbers are different)

and it never stops. If I destroy the RAID 10, FreeBSD will boot up 
fine and detect all 4 disks.. if I insert a Windows CD, it will go to 
Windows the installation screen, which leads me to believe it is a 
problem related with FreeBSD and the fact that there is a RAID 10 
created (remember, if I destroy the RAID it works fine and will go to 
sysinstall)


This is my first RAID installation on a FreeBSD system, so I might be 
missing something obvious.. Does anyone have a clue ?


Thanks in advance!



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


Re: portmanager upgrade question

2005-07-14 Thread Alistair Sutton
On 14/07/05, Bart Silverstrim [EMAIL PROTECTED] wrote:
 Is there a way to force a rebuild with new dependencies when you get
 errors like:
 **
 OLD ethereal-0.10.11_1 built with old dependency net-snmp-5.2.1_2,
 current dependency is net-snmp-5.2.1.2
 OLD gtk-2.6.8 built with old dependency libxml2-2.6.19, current
 dependency is libxml2-2.6.20
 OLD shared-mime-info-0.16_1 built with old dependency libxml2-2.6.19,
 current dependency is libxml2-2.6.20
 
 status report finished
 
 percentDone-=0 = 100 - ( 100 * ( QTY_outOfDatePortsDb-=4 /
 TOTAL_outOfDatePortsDb-=4 ) )
 upgrade 0.2.9_4 info: ignoring ettercap-0.6.b_2,1, reason: failed
 during (2) make
 checkForOldDepencies 0.2.9_4 skip: ethereal-0.10.11_1 has a dependency
 shared-mime-info-0.16_1 that needs to be updated first
 checkForOldDepencies 0.2.9_4 skip: gtk-2.6.8 has a dependency
 shared-mime-info-0.16_1 that needs to be updated first
 upgrade 0.2.9_4 info: ignoring shared-mime-info-0.16_1, reason: failed
 during (2) make
 
 update of ports collection complete with either some errors, ignored
 ports or both
 
 ***
 at the end of an upgrade cycle, like a recursive rebuild?  Or do other
 tools have to be used outside of portmanager?

Have you tried building shared-mime-info manually and seeing what the
error during make is/was?

It seems that once you figure out why shared-mime-info isn't building
and get it fixed/updated then portmanager will be able to carry on and
fix the rest of the ports.

Al
-- 
LJ: http://www.livejournal.com/users/everlone
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.x raid...

2005-07-14 Thread David Kelly
On Thu, Jul 14, 2005 at 03:55:38PM +0200, FreeBSD questions mailing list wrote:
 
 'plex org raid1 512k' is invalid
 you should use:
 'plex org concat'

Uh, he wants all data on one SATA drive and a mirror on the other. 
Therefore he does not want to concat but to mirror. The man page
examples often complicatate things by concating some drives then
mirroring the concated.

Vinum is flaky on 5.x, while gvinum works pretty good. Others have
suggested the future is brighter with the RAID functions in GEOM but I'm
not yet ready to experiment with my 300G gvinum slice.

I never quite figured out the manual method of configuring [g]vinum. The
SIMPLIFIED CONFIGURATION section of the manual got me running. I think
this how he would want to do it.

There isn't a gvinum man page. Gvinum (GEOM vinum) lacks complete vinum
functionality but I don't know what.

First, I don't think its wise to use partition c. Use sysinstall to
create the single largest partition possible and it'll be on d.
Partition c has special meaning and many times its used because the
device driver fakes a disk label with c when a real disk label is
missing. If the driver is always able to fake a correct and identical
label then you are fine, but its better to write a real one on disk.

Creating a gvinum mirror is as simple as this:

# gvinum mirror -v /dev/ad4d /dev/ad6d

Might need:
# gvinum start

Then edit /etc/rc.d./vinum and add the g to this line thusly:

start_cmd=gvinum start

Your new slice will probably be /dev/gvinum/vinum0, so edit /etc/fstab
appropriately.

The slice should be ready for newfs, and then mounting.

Be sure to add this to /etc/rc.conf:
start_vinum=YES

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Gary W. Swearingen
Doug Lee [EMAIL PROTECTED] writes:

 characters intact instead of clearing them.  I have verified that the
 following are identical on both systems:

You didn't mention these (albeit unlikely) things:
-- Different console driver (sc vs. vt) in kernel.
-- Different keymap (see /etc/default/rc.conf).
-- Different key bind settings in shell config files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Softupdates Question

2005-07-14 Thread Alex de Kruijff
On Tue, Jun 28, 2005 at 03:40:41PM -0400, Scott Sipe wrote:
 
 Hi,
 
 At work we're running some rather old accounting software that tells  
 us to disable oplocks and all caheing on our file server (and our  
 clients)--Samba/FreeBSD isn't officially supported (the only  
 platforms that are are Windows Server and Novell--yes, it's old) but  
 we've been running fine on this configuration.
 
 The software is sensitive to data caching issues etc, and corruption  
 is occasionally an issue.
 
 I have all oplocks disabled for the share in samba, and at the moment  
 I have softupdates disabled on the accounting software mount.
 
 My question is, does activating softupdates add any risk of data  
 loss? My guess is no, but I've wanted to play it safe. Our other  
 samba shares all have softupdates enabled and do fine, and speed is  
 becoming somewhat of an issue.

No there's no risk of data loss. 

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


Re: /dev/ufs

2005-07-14 Thread Heinrich Rebehn

Dan Nelson wrote:

In the last episode (Jul 14), Heinrich Rebehn said:


I am trying to mount disks by label. The glabel(8) manpage suggests:

  tunefs -L data /dev/da4s1a
  mount /dev/ufs/data /mnt/data

I tried that, but i don't see a /dev/ufs at all. Does it have to be
mounted? If so, how?



Make sure you have the geom_label module loaded, or have options
GEOM_LABEL in your kernel config file.  It's also a bit sensitive; if
your filesystem doesn't completely fill the partition it's in, you
won't get a label, so if you have resized partitions and not yet run
growfs it won't show up.


Hmm, it does not work:

[EMAIL PROTECTED] [~] # kldstat
Id Refs AddressSize Name
 19 0xc040 3c8ed4   kernel
 2   14 0xc07c9000 56270acpi.ko
 31 0xc3c38000 17000linux.ko
 41 0xc961 4000 geom_label.ko
 51 0xc918f000 2000 geom_vol_ffs.ko
[EMAIL PROTECTED] [~] # tunefs -L backup /dev/da1s1a
[EMAIL PROTECTED] [~] # tunefs -p /dev/da1s1a
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 1%
tunefs: optimization preference: (-o)  time
tunefs: should optimize for space with minfree  8%
tunefs: volume label: (-L) backup
[EMAIL PROTECTED] [~] # ls /dev/ufs
ls: /dev/ufs: No such file or directory

The filesystem is freshly newfs'ed and the partitions have not been resized.

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


Re: FreeBSD 5.x raid...

2005-07-14 Thread Casper



David Kelly wrote:

On Thu, Jul 14, 2005 at 03:55:38PM +0200, FreeBSD questions mailing list wrote:


'plex org raid1 512k' is invalid
you should use:
'plex org concat'



Uh, he wants all data on one SATA drive and a mirror on the other. 
Therefore he does not want to concat but to mirror. The man page

examples often complicatate things by concating some drives then
mirroring the concated.


Yep, thanx, I have changed:

drive a device /dev/ad4c
drive b device /dev/ad6c
volume www
plex org mirror
sd length 165g drive a
sd length 165g drive b

but:
 vinum create -f www.vinum
   4: plex org mirror
** 4 Invalid plex organization: Invalid argument
   5: sd length 165g drive a
** 5 Unnamed sd is not associated with a plex: Invalid argument
   6: sd length 165g drive b
** 6 Unnamed sd is not associated with a plex: Invalid argument
2 drives:
D a State: up   /dev/ad4c   A: 190782/190782 
MB (100%)
D b State: up   /dev/ad6c   A: 190782/190782 
MB (100%)


1 volumes:
V www   State: down Plexes:   0 Size:  0  B

0 plexes:
0 subdisks:



Vinum is flaky on 5.x, while gvinum works pretty good. Others have
suggested the future is brighter with the RAID functions in GEOM but I'm
not yet ready to experiment with my 300G gvinum slice.

I never quite figured out the manual method of configuring [g]vinum. The
SIMPLIFIED CONFIGURATION section of the manual got me running. I think
this how he would want to do it.

There isn't a gvinum man page. Gvinum (GEOM vinum) lacks complete vinum
functionality but I don't know what.

First, I don't think its wise to use partition c. Use sysinstall to
create the single largest partition possible and it'll be on d.
Partition c has special meaning and many times its used because the
device driver fakes a disk label with c when a real disk label is
missing. If the driver is always able to fake a correct and identical
label then you are fine, but its better to write a real one on disk.

Creating a gvinum mirror is as simple as this:

# gvinum mirror -v /dev/ad4d /dev/ad6d

Might need:
# gvinum start

Then edit /etc/rc.d./vinum and add the g to this line thusly:

start_cmd=gvinum start

Your new slice will probably be /dev/gvinum/vinum0, so edit /etc/fstab
appropriately.

The slice should be ready for newfs, and then mounting.

Be sure to add this to /etc/rc.conf:
start_vinum=YES



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


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 07:57:05AM -0700, Gary W. Swearingen wrote:
 You didn't mention these (albeit unlikely) things:
 -- Different console driver (sc vs. vt) in kernel.

Both are the same; not using pcvt.

 -- Different keymap (see /etc/default/rc.conf).

Not setting key maps.

 -- Different key bind settings in shell config files.

I don't think I'm setting that up at all, seeing as how I never
noticed one can. :-)

Thanks for checking corner cases though; surely the devil lies in the
details...

---
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
BART Group [EMAIL PROTECTED]   http://www.bartsite.com
The nice thing about standards is that there are so many of them
to choose from. -- Andrew Tanenbaum
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cloning FreeBSD installations

2005-07-14 Thread Peter
Hi all,

I've some PC with identical HW with FreeBSD 5.4. I'm looking for a way to
clone FreeBSD installations from one PC to another.
I've read in mailing list about script clone.sh. The script copies the MBR
and  disklabel from ad0 to ad1 and then creates the file systems and copies
data with dump and restore. The cloned configuration file /etc/rc.conf is
edited using 'sed' to update the ip address and hostname.

Have you this script or something similar? Is the possible send me that?

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


Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Alex Zbyslaw

Rick Preston wrote:


On 7/14/05, Aaron Peterson [EMAIL PROTECTED] wrote:
 


I was under the impression that if you had physical access to the
console and a default init setup, ctrl-alt-delete would reboot even if
one wasn't logged in...  perhaps I'm mistaken though.
   




Thanks for pointing that out.  I just tryed it on a test system and it
worked fine.
 

If you have ACPI working well enough, the hitting the power button shuts 
it down cleanly.  Works for me on 5.4.


--Alex

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


Re: FreeBSD 5.x raid...

2005-07-14 Thread David Kelly
On Thu, Jul 14, 2005 at 06:24:44PM +0300, Casper wrote:
 
 
 David Kelly wrote:
 On Thu, Jul 14, 2005 at 03:55:38PM +0200, FreeBSD questions mailing list 
 wrote:
 
 'plex org raid1 512k' is invalid
 you should use:
 'plex org concat'
 
 
 Uh, he wants all data on one SATA drive and a mirror on the other. 
 Therefore he does not want to concat but to mirror. The man page
 examples often complicatate things by concating some drives then
 mirroring the concated.
 
 Yep, thanx, I have changed:
 
 drive a device /dev/ad4c
 drive b device /dev/ad6c
 volume www
 plex org mirror
 sd length 165g drive a
 sd length 165g drive b
 
 but:
  vinum create -f www.vinum
4: plex org mirror
 ** 4 Invalid plex organization: Invalid argument
5: sd length 165g drive a

[snip]

You stopped reading too soon.

 I never quite figured out the manual method of configuring [g]vinum. The
 SIMPLIFIED CONFIGURATION section of the manual got me running. I think
 this how he would want to do it.

[...]

 First, I don't think its wise to use partition c. Use sysinstall to
 create the single largest partition possible and it'll be on d.
 Partition c has special meaning and many times its used because the
 device driver fakes a disk label with c when a real disk label is
 missing. If the driver is always able to fake a correct and identical
 label then you are fine, but its better to write a real one on disk.

Once again, do not use the 'c' partition.

 Creating a gvinum mirror is as simple as this:
 
 # gvinum mirror -v /dev/ad4d /dev/ad6d

Literally that one line above from the shell as root. No www.vinum
file is used.

Also vinum is unsupported and known broken for many in 5.x. My machine
is also one PATA and two SATA drives with both SATA on striped (not
mirrored) gvinum slice. Vinum gave me no end of problems last year in
that its configuration was often lost between reboots. Gvinum is less
complete but what is there does work. Gvinum has never failed for me.

 Your new slice will probably be /dev/gvinum/vinum0, so edit /etc/fstab
 appropriately.

Using the simplified interface where gvinum does all the plex
assignments one doesn't have the same control over how things are named.
Doesn't matter as one has the last say as to where the fs is mounted.

Use the simplified mirror command to create your configuration. Then use
list to save a copy elsewhere, such as in www.vinum, for emergency
reference.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cloning FreeBSD installations

2005-07-14 Thread lars

Peter wrote:

Hi all,

I've some PC with identical HW with FreeBSD 5.4. I'm looking for a way to
clone FreeBSD installations from one PC to another.
I've read in mailing list about script clone.sh. The script copies the MBR
and  disklabel from ad0 to ad1 and then creates the file systems and copies
data with dump and restore. The cloned configuration file /etc/rc.conf is
edited using 'sed' to update the ip address and hostname.

Have you this script or something similar? Is the possible send me that?

Thanks a lot,
Peter Macko

You can also use ghost4unix, check www.feyrer.de/g4u
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Spyware on FreeBSD?

2005-07-14 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gayn Winters
Sent: Wednesday, July 13, 2005 9:49 AM
To: [EMAIL PROTECTED]
Subject: Spyware on FreeBSD?


I was wondering if anyone had had any trouble with spyware on their
FreeBSD systems, or if we are too small a group of consumers for the
spyware vendors to attack?


we are too small a group of consumers for the spyware vendors to attack.
Keep in mind that spyware only works if you have a critical mass of
systems
that are configured absolutely identically, with the same software.

However, UNIX systems are vulnerable to custom attacks by crackers, if
you
are running versions of software that have been found to be insecure,
that
is why there are CERT advisories all the time on UNIX software.  But,
while a cracker could break into a system that was running an insecure
version of Apache, for example, there simply are not enough UNIX servers
on the Internet for an automated cracking program, like a typical Windows
virus, to propagate.  Also, you cannot depend on the same versions of
software being present even on UNIX hosts that are running the same
insecure version of Apache, so a successful crack almost always requires
an actual live body.

Things are much more divergent than in the days of the Morris Internet
Worm.

This is one of the areas that diversity = strength.  The fundamental
downfall
of Windows systems have always been that any attacker can assume that the
Windows system he is attacking is configured the same as 10,000 other
Windows systems out there, running the same software.

Ted

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


Re: Spyware on FreeBSD?

2005-07-14 Thread Lane
On Thursday 14 July 2005 11:18, Ted Mittelstaedt wrote:
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gayn Winters
 Sent: Wednesday, July 13, 2005 9:49 AM
 To: [EMAIL PROTECTED]
 Subject: Spyware on FreeBSD?
 
 
 I was wondering if anyone had had any trouble with spyware on their
 FreeBSD systems, or if we are too small a group of consumers for the
 spyware vendors to attack?

 we are too small a group of consumers for the spyware vendors to attack.
 Keep in mind that spyware only works if you have a critical mass of
 systems
 that are configured absolutely identically, with the same software.

 However, UNIX systems are vulnerable to custom attacks by crackers, if
 you
 are running versions of software that have been found to be insecure,
 that
 is why there are CERT advisories all the time on UNIX software.  But,
 while a cracker could break into a system that was running an insecure
 version of Apache, for example, there simply are not enough UNIX servers
 on the Internet for an automated cracking program, like a typical Windows
 virus, to propagate.  Also, you cannot depend on the same versions of
 software being present even on UNIX hosts that are running the same
 insecure version of Apache, so a successful crack almost always requires
 an actual live body.

 Things are much more divergent than in the days of the Morris Internet
 Worm.

 This is one of the areas that diversity = strength.  The fundamental
 downfall
 of Windows systems have always been that any attacker can assume that the
 Windows system he is attacking is configured the same as 10,000 other
 Windows systems out there, running the same software.

 Ted

 ___
I think that it is also plausible that the least savvy among FreeBSD users is 
far and away more savvy than the average windows user.  This sophistication 
alone must make the FreeBSD community a less attractive target for the 
spyware community.

Not only that, but since we don't have enough money to spend on proprietary 
software, we probably aren't attractive for various fraud schemes, etc. (just 
a joke, of course :)



lane
P.S. The portaudit database is a real friend, for those who are not yet using 
it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cloning FreeBSD installations

2005-07-14 Thread Steve Quinn
Peter Macko wrote

 Hi all,
 
 I've some PC with identical HW with FreeBSD 5.4. I'm looking for a way to
 clone FreeBSD installations from one PC to another.
 I've read in mailing list about script clone.sh. The script copies the MBR
 and  disklabel from ad0 to ad1 and then creates the file systems and copies
 data with dump and restore. The cloned configuration file /etc/rc.conf is
 edited using 'sed' to update the ip address and hostname.
 
 Have you this script or something similar? Is the possible send me that?
 
 Thanks a lot,
 Peter Macko


Hi Peter

I use G4U from http://www.feyrer.de/g4u/ quite a bit for backup's and cloning
It's very easy to setup and use

If you choose to go with G4U, take note of the advantages of Zeroing out 
unused blocks as it
makes a HUGE difference in backup file size

I talk about this in sickening detail on this page :-)
http://www.digitalissues.co.uk/html/os/misc/partimage.html#22

I hope this helps

Namaste

Steve Quinn


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysql-4.1.12 errors after portupgrade

2005-07-14 Thread Ken Gunderson
Hello:

This is driving me bonkers!  I portupgraded mysql41 to 4.1.12.  Now
mysql won't start from the rc.d/mysql-server.sh, either at startup or
when I run manually.  I didn't change any options in /etc/
rc.conf.local. Mysql error logs whine thusly:

[ERROR] Can't find messagefile '/usr/local/share/mysql/english/
errmsg.sys'

but the file is indeed present:

kobuk# ll /usr/local/share/mysql/english/errmsg.sys
-r--r--r--  1 root  wheel  16579 Jul 14 09:51 /usr/local/share/mysql/
english/errmsg.sys

To make matters even more interesting, I have an exactly identical
configuration running on another machine!  Only difference is hardware,
p4 vs p3 and being set thusly in /etc/make.conf.

Any ideas?

Please CC as I'm not subscribed to questions.  Thanks.

-- 
Best regards,

Ken Gunderson

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Re: Cloning FreeBSD installations

2005-07-14 Thread Marshall Pierce


On Jul 14, 2005, at 8:34, Peter wrote:


Hi all,

I've some PC with identical HW with FreeBSD 5.4. I'm looking for a  
way to

clone FreeBSD installations from one PC to another.
I've read in mailing list about script clone.sh. The script copies  
the MBR
and  disklabel from ad0 to ad1 and then creates the file systems  
and copies
data with dump and restore. The cloned configuration file /etc/ 
rc.conf is

edited using 'sed' to update the ip address and hostname.

Have you this script or something similar? Is the possible send me  
that?


Thanks a lot,
Peter Macko



Try the Frisbee package: http://www.emulab.net/software.php3
For what you need, it should be very easy to figure out how to use  
Frisbee from the
README. Frisbee is very fast at distributing OS images (read the  
USENIX paper on it,
if you're sufficiently interested), and scales extremely well when  
sending out an

image to multiple clients at once.

-Marshall Pierce

Re: Using Multiple Internet Connections with FreeBSD

2005-07-14 Thread John Barbieri
Thanks for the reply, but this isnt exactly what I was looking for.

This one is used to force packets out to a specific network depending on
the destination IP address and such.


I was looking for something that would allow for both rundunancy and
speed increase, similar to PPP multi-link or connection teaming (which,
from what ive read, can effecticly double bandwidth).

Thanks again

John

Philip Hallstrom wrote:

 To start off, I have a FreeBSD router running Nat and dhcp, it is
 currently the router for my LAN.

 I was wondering if there was a way to aggregate more then one internet
 connection using FreeBSD?

 That is, have 2 or 3 internet connections coming in on seperate NICs,
 and being able to have the box route and nat the packets accordingly to
 the lan, thus giving the experience of more bandwidth. Is it even
 possible?

 Has someone done it before? and if you have, do you have a webpage that
 you followed instructions from?


 I haven't done it, but I've saved the following email/posts that
 talked about this...  I've left them intact so you can see the context...

 good luck!

 From [EMAIL PROTECTED] Wed Dec 24 09:35:16 2003

 Date: Fri,  3 Nov 2000 18:46:34 -0600
 From: Gerd Knops [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: Simon Nielsen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Two ISP's. Two IP. One default route...

 Simon Nielsen wrote:

 Hello

 I currently have two internet connections though two different ISP's.
 One is a ADSL and another is shared with the rest of my dorm. The
 shared line is rather slow because many people are using it.

 I must have an IP on the shared connection since that's the only
 place where I can be sure to have a non changing IP for my DNS. But
 the ADSL is much faster so I would like to use that as much as
 possible.

 I can give my machine an IP on each connection but I can of course
 only set one default route. The default route is currently set to the
 ADSL. The problem is that when a connection is made to IP on the
 shared connection my computer uses the ADSL IP to respond and that
 does not work.

 Is there a solution to this? I thought about maybe it is possible to
 route differently when a connection is made on the shared connection
 but I can't find out how to do it.

 Yes, it can be done (though I have not found it documented anywhere).
 I really think there should be separate routing tables for each
 interface, but I don't know of any such feature in any Unix.

 However ipfw can be abused for the above task. Assuming:

 - ipfw is set to pass on default
 - your ADSL IP/network is a.a.a.a/aa
 - your shared IP/network is s.s.s.s/ss
 - your ADSL gateway is set as default route
 - your shared gateway is s.s.s.gw

 the following ipfw rules do the trick:

 # Pass anything that should go via normal routes
 # This rule is really just to speed up the bulk
 # of the packets
 add 1000 allow all from a.a.a.a to any
 # Pass anything to local addresses on ADSL network
 add 1010 allow all from any to a.a.a.a/aa
 # Pass anything to local addesses on shared network
 add 1020 allow all from any to s.s.s.s/ss
 # And here the trick: if the source address is the one
 # from the shared network, pass packets to the
 # gateway on the shared network
 add 1030 fwd s.s.s.gw all from s.s.s.s to any

 With the above connections will leave your system on the same route
 they entered it. Great for redundant mail and dns setup!

 If you already use ipfw you need to adapt the above rules accordingly.
 The important part is that packets coming from your host's shared
 address going to the 'outside' (and only those packets) are forwarded
 to the shared networks gateway.

 Gerd


 From [EMAIL PROTECTED] Wed Dec 24 09:35:23 2003

 Date: Sat, 4 Nov 2000 09:34:48 -0600 (CST)
 From: Mike Meyer [EMAIL PROTECTED]
 To: Simon Nielsen [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Two ISP's. Two IP. One default route...
 Resent-Date: Wed, 24 Dec 2003 10:35:16 -0800 (PST)
 Resent-From: Philip Hallstrom [EMAIL PROTECTED]
 Resent-To: Philip Hallstrom [EMAIL PROTECTED]
 Resent-Subject: Re: Two ISP's. Two IP. One default route...

 Simon Nielsen [EMAIL PROTECTED] types:

 I currently have two internet connections though two different ISP's.
 One is a ADSL and another is shared with the rest of my dorm. The shared
 line is rather slow because many people are using it.

 I must have an IP on the shared connection since that's the only place
 where I can be sure to have a non changing IP for my DNS. But the ADSL
 is much faster so I would like to use that as much as possible.


 Question: what are you using the static IP for? I.e. - who connects to
 it, and vice versa?

 I can give my machine an IP on each connection but I can of course only
 set one default route. The default route is currently set to the ADSL.
 The problem is that when a connection is made to IP on the shared
 connection my computer uses the ADSL IP to respond and that does not
 

Re: usr data/fax modem under 5.4

2005-07-14 Thread Alex Zbyslaw

dave wrote:


I've enabled sio2 and set it's irq to 2, also 4, 5, and
9, all of which give me the error:
configured irq x not in bitmap of probed irq's 0
under dmesg output i see the sio2 port, it's i/o address, and the fact that
fbsd sees the modem's uart as a 16550a which again if i remember right tells
me that i've got the sio2 port and i/o right, just the irq is wrong. Did i
miss something?
 


I'm no expert on this, but no-one else seems to be either :-)

Are you sure it doesn't work despite the message?  With an 
on-motherboard sio port I get


sio1: configured irq 4 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 on acpi0
sio1: type 16550A

and the port works just fine.  The not in probed bitmaps is some ACPI 
related cruft, IIUC.


I do, however, see the IRQ.  I do have

hint.sio.1.at=isa
hint.sio.1.port=0x3F8
hint.sio.1.irq=4

in device.hints, but I'm not really sure it was necessary.  Might well 
be for an actual ISA card, though.  Are you sure that none of the irq 
hints you tried showed you the IRQ in the COM port line?  I was 
distracted by the not in bitmap message for a while until I twigged that 
the thing *was* working.


--Alex


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


Re: using -t option with unix sort ?

2005-07-14 Thread Daniel Malaby



Nelis Lamprecht wrote:

On 7/14/05, Nelis Lamprecht [EMAIL PROTECTED] wrote:


On 7/14/05, Daniel Malaby [EMAIL PROTECTED] wrote:


Hi All,

I am trying to sort a tab delimited file with sort. The problem I am
having is with the -t option. I do not know how to pass a tab.


snip


sort -t \t


/snip


Any suggestions would be much appreciated.


remove the space between -t and \t and it should work



actually scratch that, it works either way. can you give a sample of the data ?

Regards,
Nelis


The sample data has 9 fields, I am trying to sort on the fifth field, 
here is what I have tried.


sort -t\t +4 -5 -o test.txt sample.txt

I did try removing the space and it did not work, I have also tried 
removing the -5. I think the spaces in the third field are confusing sort.


BTW this is being done on a PC running FBSD 4.11 prerelease #1

Thanks for your help and suggestions.

E00219085   GENERAL DYNAMICS5031802 E-GL/VX/B/R1.0  SFT CD, GL 
VXWORKS BOREALIS R1.006/30/05 1  $995.00 $995.00
E01619096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-AD600729C501  ARGUS 
PMC,2 DVI 16MB PERCHAN USB A/V12/01/0530  $2,312.00   
$69,360.00
E01619096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-DDX/SO/R4.0   SFT CD, 
DDX SOL 2.6-9 BOREALIS R4.0 12/01/0530  $74.00  $2,220.00
E01619096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-VIN/SO/R1.0   SFT CD, 
VID CAP SOL 2.6-9 BOREALIS R1.0 12/01/0530  $74.00  $2,220.00
E02119093   GANYMED COMPUTER GMBH   7103879 E-AD90073913011 GARNET PMC RIO8 
C2, REAR I/O 16MB   07/19/05 2  $1,848.00   $3,696.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  08/18/05 1  $846.00 $846.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  10/19/0519  $846.00 $16,074.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  09/20/05 2  $846.00 $1,692.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  11/17/05 7  $846.00 $5,922.00
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: DHCP assigned unregistered IP address

2005-07-14 Thread Bob Hall
Thanks for all the replies. Responses to everyone's comments and
suggestions:

1) It is a Motorola cable modem. (SB5100)

2) I can access 192.168.100.1 after modifying the firewall rules that
stop RFC1918 nets on the outside interface. (IPFW) There's no checkbox
to disable DHCP. I downloaded the modem user manual from the URL Glenn
Dawson posted, but I didn't find anything on this problem.

3) I did the (shutdown, disconnect modem 30 seconds, reboot) cycle about
three times, but it didn't do anything. The solution was
# dhclient -r
# dhclient rl0
Repeat until oip != 192.168.100.11. (I think it took four iterations,
but I wasn't counting.) This cleared the IP address on both the inner
and outer NICs. Maybe I should have specified the interface with the -r
flag, but it was easy to fix. 

4) The problem was solved by the time I saw the dig suggestion, so I
didn't have a chance to try it.

5) Bill was paid on time. :)

The modem web page contained this:
The SURFboard cable modem can be used as a gateway to the
Internet by a maximum of 32 users on a Local Area Network (LAN).
When the Cable Modem is disconnected from the Internet, users on
the LAN can be dynamically assigned IP Addresses by the Cable
Modem DHCP Server.
I take this to mean that the modem can't do NAT. It can only act as a
gateway for registered IP addresses, which it can't assign.

The config web page has two buttons:
Reset All Defaults
Restart Cable Modem
I can't find any documentation on the second. Would Restart Cable
Modem be equivalent to disconnecting the modem power for 30 seconds?
And Reset All Defaults would have released the unregistered IP
address? (Along with any other settings)

How do I find the outward facing IP address for the cable modem? Is
that the option routers line in dhclient.leases?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I build i386 arch on Athlon 64?

2005-07-14 Thread Gary W. Swearingen
I finally found a clue right there in /usr/src/Makefile, where
it talks about TARGET_ARCH.  But when I used it with i386, it seemed
to be compiling for the default gcc (386, I suppose), even when I
had CPUTYPE=athlon-xp in /etc/make.conf.  This seems to be doing
the job (though it's still building):

make TARGET_ARCH=i386 TARGET_CPUTYPE=athlon-xp make-target
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gnome upgrade killed mouse

2005-07-14 Thread Paul Schmehl
--On Wednesday, July 13, 2005 17:22:31 -0500 Greg Barniskis 
[EMAIL PROTECTED] wrote:


I understand that your mouse problem got solved, but just out of
curiosity, was it PS/2 and was there a KVM switch box in the mix? Are you
also tracking -STABLE?

It is a USB Logitech Wheel Mouse.  There's no KVM switch in the mix.  I use 
the USB ports on the monitor.  I'm tracking RELEASE.


A USB mouse attached directly to this system works perfectly, and the
PS/2 mouse in question works just fine with other boxes (Windows)
attached to the same KVM switch. I haven't yet tried to remove this
system from the KVM switch to see if it works OK in isolation, but I am
pretty sure the KVM setup was working well enough before the latest
5.4-STABLE and gnome updates were applied.


Interesting.

I don't even have a PS2 port on this box, so I can't test that.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DHCP assigned unregistered IP address

2005-07-14 Thread Sean Hafeez
Most cable modems have an RCF1918 on their external management  
address. This is not part of the routing you see. The modem bridges  
your NIC to the Cable headend interface - like a layer 2 ethernet. Do  
a TCPDUMP on your external interface. Here in Cox Cable land you will  
see packets from 10.x.x.x every once in a while. This is the traffic  
from you modem to the headend for management.





On Jul 14, 2005, at 10:56 AM, Bob Hall wrote:


Thanks for all the replies. Responses to everyone's comments and
suggestions:

1) It is a Motorola cable modem. (SB5100)

2) I can access 192.168.100.1 after modifying the firewall rules that
stop RFC1918 nets on the outside interface. (IPFW) There's no checkbox
to disable DHCP. I downloaded the modem user manual from the URL Glenn
Dawson posted, but I didn't find anything on this problem.

3) I did the (shutdown, disconnect modem 30 seconds, reboot) cycle  
about

three times, but it didn't do anything. The solution was
# dhclient -r
# dhclient rl0
Repeat until oip != 192.168.100.11. (I think it took four iterations,
but I wasn't counting.) This cleared the IP address on both the inner
and outer NICs. Maybe I should have specified the interface with  
the -r

flag, but it was easy to fix.

4) The problem was solved by the time I saw the dig suggestion, so I
didn't have a chance to try it.

5) Bill was paid on time. :)

The modem web page contained this:
The SURFboard cable modem can be used as a gateway to the
Internet by a maximum of 32 users on a Local Area Network (LAN).
When the Cable Modem is disconnected from the Internet, users on
the LAN can be dynamically assigned IP Addresses by the Cable
Modem DHCP Server.
I take this to mean that the modem can't do NAT. It can only act as a
gateway for registered IP addresses, which it can't assign.

The config web page has two buttons:
Reset All Defaults
Restart Cable Modem
I can't find any documentation on the second. Would Restart Cable
Modem be equivalent to disconnecting the modem power for 30 seconds?
And Reset All Defaults would have released the unregistered IP
address? (Along with any other settings)

How do I find the outward facing IP address for the cable modem? Is
that the option routers line in dhclient.leases?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]




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


Simple question

2005-07-14 Thread Tiago Sousa
Hello to all

 

In what concern to my previous mails I can summarize and simplify the
problem:

 

Why when I enable the ipv6_gateway_enable=YES in /etc/rc.conf the
following error occurs (I am using freebsd 5.4 and the last kame snap):

 

in6_if2idlen:unknown link type (34) 

in6_if2idlen:unknown link type (249)

in6_if2idlen:unknown link type (244)

 

I know these are only warnings but when they occur I can not ping other
computers (only direct attached links) and the computer doesn't make
forwarding of packets.

 

Anybody knows what is wrong?

I would appreciate any help.

Thanks.

 

Tiago Sousa

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


Kerberos support in sudo?

2005-07-14 Thread Danny Howard
Hello,

First off, I'll admit up front that PAM makes no sense to me whatever.
So, maybe the anser is in my PAM config.

I have a 5.3 system running in a Kerberos 5 environment.  I have
configured ssh to authenticate against Kerberos just fine.  And ksu
works just right too.  But sudo, I can not get working ... it just can't
confirm a password for a user when it is run.

I changed the /etc/pamd.d/system file to look like my /etc/pam.d/sshd
file.  That doesn't seem to help.

I went into the port and slipped --with-kerb5 into the CONFIGURE_ARGS,
and reinstalled sudo, but still, I got no love.

Anyone know how to get this working?

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


Re: FreeBSD 5.x raid...

2005-07-14 Thread David Kelly
On Thu, Jul 14, 2005 at 09:49:07AM -0500, David Kelly wrote:
 
 Uh, he wants all data on one SATA drive and a mirror on the other. 
 Therefore he does not want to concat but to mirror. The man page
 examples often complicatate things by concating some drives then
 mirroring the concated.

Speaking to the archives something that slipped by me is that normally
one creates two concat style plexes and _then_ mirrors the plexes. This
way the plex can be edited on a running system, drives substituted.

The simplified version of [g]vinum mirror command automagically
creates a configuration as described above even when only 2 drives are
involved.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Obtaining portsmanager meta package for alternate OS

2005-07-14 Thread Garrett Cooper

Hello,
   I was wondering if anyone could point me to the release notes or 
code so I could look up the dependencies for the portsmanager package 
and possibly compile it on Mac OS X Tiger.
   My FreeBSD machine is currently at home (sadly without an internet 
connection to the outside world :(), and I would like to keep it up to 
date by periodically fetching the ports 'source files'/packages and port 
snapshots. So I thought I could accomplish this via building the 
portsmanager package and running it off of my laptop at school since 
it's the only way I can accomplish my task at hand.
   However, with that in mind, I was wondering if there was a better 
way to fetch ports/packages without having to manhandle too many 
programs/scripts, or if anyone has discovered a better solution to this 
type of 'issue'.
   Thanks and your responses are greatly appreciated as solving this 
'problem' will help save me a great deal of time :)!

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


dangerous situation with shutdown process

2005-07-14 Thread Anatoliy Dmytriyev

Hello, everybody!

I have found unusual and dangerous situation with shutdown process:
I did a copy of 200 GB data on the 870 GB partition (softupdates is 
enabled) by cp command.
It took a lot of time when I did umount for this partition exactly after 
cp, but procedure finished correctly.
In case, if I did “shutdown –h(r)”, also exactly after cp, the shutdown 
procedure waited for “sync” (umounting of the file system) but sync 
process was terminated by  timeout, and fsck checked and did correction 
of the file system after boot.


System 5.4-stable, RAM 4GB, processor P-IV 3GHz.

How can I fix it on my system?


--
Anatoliy Dmytriyev
[EMAIL PROTECTED]


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


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Ben Jencks
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Doug Lee [EMAIL PROTECTED] writes:

 This one is making me feel dumb...I've been using FreeBSD for at least
 six years but I can't seem to figure this out...

 I have two FreeBSD systems running 4.10/4.11 (these problems have
 plagued me through several versions though).  On one system, arrows
 and backspace work as expected, but on the other, left/right arrows in
 vi cause havock (extra characters and a switch from command to insert
 mode), and backspace in Lynx, Mutt, etc., backs up but leaves
 characters intact instead of clearing them.  I have verified that the
 following are identical on both systems:

 - termcap (/etc symlink and /usr/share/misc/termcap and termcap.db).
 - ~/.exrc.
 - stty settings at run time and as set in ~/.login (I use tcsh).
 - .screenrc (I also use screen 4.00.02 on both systems).
 - /usr/local/etc/screenrc

 I have also tried connecting to each system directly, via a serial
 cable and via a Telnet client; and also connecting to each system
 through an ssh session on the other one, inside a Screen session.
 The results are always the same:  On one system, keys work as
 expected, but on the other, they always work in the same wrong way.

Did you start the screen session from within the local/telnet/ssh/serial
connection you're attempting to use it from? I've found that if you
start a screen session with one keyboard/OS/keymap/method of connection,
and attempt to use it from another, it screws up the special keys.
- -- 
Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC1rWypt3yYclAKVsRAoApAJwMQ25E500MVlHeisT54TGY2dMvFgCfZNYo
WCJprkJoyagshZcaZxJTqIE=
=kFKu
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Left/right arrow and backspace translation confusion

2005-07-14 Thread Doug Lee
On Thu, Jul 14, 2005 at 11:57:51AM -0700, Ben Jencks wrote:
 Did you start the screen session from within the local/telnet/ssh/serial
 connection you're attempting to use it from? I've found that if you
 start a screen session with one keyboard/OS/keymap/method of connection,
 and attempt to use it from another, it screws up the special keys.

A good question indeed, but I've actually tried that both ways too.
I've even tried a few games with detaching from a screen session,
changing TERM in the parent shell, and attaching again; though I don't
remember results very specifically for that.

-- 
Doug Lee   [EMAIL PROTECTED]http://www.dlee.org
BART Group [EMAIL PROTECTED]   http://www.bartsite.com
It's not easy to be crafty and winsome at the same time, and few accomplish
it after the age of six. --John W. Gardner and Francesca Gardner Reese
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dangerous situation with shutdown process

2005-07-14 Thread Kevin Oberman
 Date: Thu, 14 Jul 2005 20:38:15 +0200
 From: Anatoliy Dmytriyev [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Hello, everybody!
 
 I have found unusual and dangerous situation with shutdown process:
 I did a copy of 200 GB data on the 870 GB partition (softupdates is 
 enabled) by cp command.
 It took a lot of time when I did umount for this partition exactly after 
 cp, but procedure finished correctly.
 In case, if I did “shutdown –h(r)”, also exactly after cp, the shutdown 
 procedure waited for “sync” (umounting of the file system) but sync 
 process was terminated by  timeout, and fsck checked and did correction 
 of the file system after boot.
 
 System 5.4-stable, RAM 4GB, processor P-IV 3GHz.
 
 How can I fix it on my system?

SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or
the sysctl.

The problem is that disks lie about whether they have actually written
data. If the power goes off before the data is in cache, it's lost.

I am not sure if write-cache can be turned off on SCSI, but SCSI drives
seem less likely to lie about when the data is actually flushed to the
drive. 
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dangerous situation with shutdown process

2005-07-14 Thread Anatoliy Dmytriyev

Kevin Oberman wrote:


SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or
the sysctl.

The problem is that disks lie about whether they have actually written
data. If the power goes off before the data is in cache, it's lost.

I am not sure if write-cache can be turned off on SCSI, but SCSI drives
seem less likely to lie about when the data is actually flushed to the
drive. 
 



SCSI, Adaptec 2110S

--
Anatoliy Dmytriyev
[EMAIL PROTECTED]


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


Re: Obtaining portsmanager meta package for alternate OS

2005-07-14 Thread Michael C. Shultz
On Thursday 14 July 2005 11:37, Garrett Cooper wrote:
 Hello,
 I was wondering if anyone could point me to the release notes or
 code so I could look up the dependencies for the portsmanager package
 and possibly compile it on Mac OS X Tiger.

Try running configure then make just like any other linux program and see if 
it compiles, if it doesn't let me know what the error is.  I understand Mac 
OS X is based on FreeBSD, does it have FreeBSD's port infrastructure?
For example can you do things like:
make
make install
make package
make deinstall
???

If the above work diferently or /var/db/pkg/* is different then portmanager
won't work.  Would be interesting to know the similarities/differences between 
FreeBSD and Mac OS X ports infrastructure.

As far as portmanager's dependices, to run it requires libc and to compile
just needs standard autotools if I recall correctly.

 My FreeBSD machine is currently at home (sadly without an internet
 connection to the outside world :(), and I would like to keep it up to
 date by periodically fetching the ports 'source files'/packages and port
 snapshots. So I thought I could accomplish this via building the
 portsmanager package and running it off of my laptop at school since
 it's the only way I can accomplish my task at hand.
 However, with that in mind, I was wondering if there was a better
 way to fetch ports/packages without having to manhandle too many
 programs/scripts, or if anyone has discovered a better solution to this
 type of 'issue'.
 Thanks and your responses are greatly appreciated as solving this
 'problem' will help save me a great deal of time :)!
 -Garrett

To use portmanager this way you'll need a way to keep your ports tree
current and a way to get the current distfiles. If you can do these two things 
somehow then just drop the current distfiles into /usr/ports/distfiles and
update your ports tree and portmanager should run OK.

-Mike


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


Re: /dev/ufs

2005-07-14 Thread Dan Nelson
In the last episode (Jul 14), Heinrich Rebehn said:
 Hmm, it does not work:
 
 [EMAIL PROTECTED] [~] # kldstat
 Id Refs AddressSize Name
  19 0xc040 3c8ed4   kernel
  2   14 0xc07c9000 56270acpi.ko
  31 0xc3c38000 17000linux.ko
  41 0xc961 4000 geom_label.ko
  51 0xc918f000 2000 geom_vol_ffs.ko
 [EMAIL PROTECTED] [~] # tunefs -L backup /dev/da1s1a
 [EMAIL PROTECTED] [~] # tunefs -p /dev/da1s1a
 tunefs: volume label: (-L) backup
 [EMAIL PROTECTED] [~] # ls /dev/ufs
 ls: /dev/ufs: No such file or directory
 
 The filesystem is freshly newfs'ed and the partitions have not been
 resized.

Try unloding and reloading geom_label.ko; I don't know if it is smart
enough to realize that the tunefs command added a label.  If that
doesn't work you'll have to start adding G_LABEL_DEBUG calls to
/sys/geom/label/g_label_ufs.c and figure out exactly where it's
failing.
 
 Any more ideas?
 --Heinrich
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: dangerous situation with shutdown process

2005-07-14 Thread asym

At 15:19 7/14/2005, Wilko Bulte wrote:

On Thu, Jul 14, 2005 at 12:14:49PM -0700, Kevin Oberman wrote..
  Date: Thu, 14 Jul 2005 20:38:15 +0200
  From: Anatoliy Dmytriyev [EMAIL PROTECTED]
  Sender: [EMAIL PROTECTED]
 
  Hello, everybody!
 
  I have found unusual and dangerous situation with shutdown process:
  I did a copy of 200 GB data on the 870 GB partition (softupdates is
  enabled) by cp command.
  It took a lot of time when I did umount for this partition exactly after
  cp, but procedure finished correctly.
  In case, if I did “shutdown –h(r)”, also exactly after cp, the 
shutdown

  procedure waited for “sync” (umounting of the file system) but sync
  process was terminated by  timeout, and fsck checked and did correction
  of the file system after boot.
 
  System 5.4-stable, RAM 4GB, processor P-IV 3GHz.
 
  How can I fix it on my system?


The funny thing about all the replies here.. is that this guy is not saying 
that sync doesn't work.


He's saying that the timeout built into shutdown causes it to *terminate* 
the sync forcibly before it's done, and then reboot.


All finger pointing about IDE, SCSI, softupdates, and journals aside.. I 
think all he wants/needs is a way to increase that timer.


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


Re: Gnome upgrade killed mouse

2005-07-14 Thread Greg Barniskis

Paul Schmehl wrote:
--On Wednesday, July 13, 2005 17:22:31 -0500 Greg Barniskis 
[EMAIL PROTECTED] wrote:




I understand that your mouse problem got solved, but just out of
curiosity, was it PS/2 and was there a KVM switch box in the mix? Are you
also tracking -STABLE?

It is a USB Logitech Wheel Mouse.  There's no KVM switch in the mix.  I 
use the USB ports on the monitor.  I'm tracking RELEASE.


OK, thanks.

File this under well, whatever anyway. After tearing down the 
connections and plugging the box in (a) to another mouse and then 
(b) back to the KVM, the symptoms have (a) gone away and (b) stayed 
away. It was probably a bad reaction to the KVM, or maybe some of 
the cabling's going bad, but I couldn't get the problem to recur. If 
it ever does, I'll probably just remove this platform to a location 
where space constraints don't dictate a shared head.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mysql-4.1.12 errors after portupgrade

2005-07-14 Thread Tsampros Leonidas
On Thu, Jul 14, 2005 at 11:03:18AM -0600, Ken Gunderson wrote:
 Hello:
 
 This is driving me bonkers!  I portupgraded mysql41 to 4.1.12.  Now
 mysql won't start from the rc.d/mysql-server.sh, either at startup or
 when I run manually.  I didn't change any options in /etc/
 rc.conf.local. Mysql error logs whine thusly:
 
 [ERROR] Can't find messagefile '/usr/local/share/mysql/english/
 errmsg.sys'
 
 but the file is indeed present:
 
 kobuk# ll /usr/local/share/mysql/english/errmsg.sys
 -r--r--r--  1 root  wheel  16579 Jul 14 09:51 /usr/local/share/mysql/
 english/errmsg.sys
 
 To make matters even more interesting, I have an exactly identical
 configuration running on another machine!  Only difference is hardware,
 p4 vs p3 and being set thusly in /etc/make.conf.
 
Could you show us the mysql_* section of your /etc/rc.conf.local .

Also check the last lines of the /usr/local/etc/rc.d/mysql-server.sh
script and check which command is running when you pass the start
argument to the script.  I've found the exact same problem with yours
on the archives of this list. Here is the link:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/067311.html

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


Re: Using Multiple Internet Connections with FreeBSD

2005-07-14 Thread Александр Деревянко

John Barbieri wrote:


Howdy,


To start off, I have a FreeBSD router running Nat and dhcp, it is
currently the router for my LAN.

I was wondering if there was a way to aggregate more then one internet
connection using FreeBSD?


That is, have 2 or 3 internet connections coming in on seperate NICs,
and being able to have the box route and nat the packets accordingly to
the lan, thus giving the experience of more bandwidth. Is it even possible?


Has someone done it before? and if you have, do you have a webpage that
you followed instructions from?

Ive been searching around, but I have not been able to find a straight
answer. I was hoping you guys could help
 

As it seems for me, it is not directly possible. 
Teoretically, you can have a non-tree network topology,

but in that case all upstream routers must know both way,
how to access you host. Or you must have very smart
NAT daemon, to perform round-robin.


From my point of view, the easiest method can be the following,

assuming you need only outgoing web surf connection:

1. Run two different squid processes on the two different routers, with very 
small cache size on it. Configure them to access internet via different 
connections. Also, you will need to configure dnsservers processes accordingly, 
to use different connections also.
2. Run third squid internally in the lan 
with possible big cache, and configure it to perform round-robin.


In that case you will have scalability and availability.

Instead of having different routers, you can run squid processes in jails.

--
Best Regards,
Alexander Derevianko

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


Re: dangerous situation with shutdown process

2005-07-14 Thread Matthias Buelow
Jon Dama wrote:

Request Barriers under linux exist to prevent the low level kernel block
device layer from reordering write operations from the upper file system
layers.  Request Barriers consist of nothing more than tagging internal
queues within the Linux kernel itself.  They do nothing to resolve the
underlying failures of the hardware to provide proper semantics to the
block device layer.
but, Request Barriers are ultimately useless.  They can't resolve the
underlying problems with ide/sata and there are already exposed semantics
for scsi.

If you flush the cache at barriers, on-disk integrity of the journal
vs. metadata updates is guaranteed.

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


Re: using -t option with unix sort ?

2005-07-14 Thread Tsampros Leonidas
On Thu, Jul 14, 2005 at 10:47:50AM -0700, Daniel Malaby wrote:
 
 
 Nelis Lamprecht wrote:
 On 7/14/05, Nelis Lamprecht [EMAIL PROTECTED] wrote:
 
 On 7/14/05, Daniel Malaby [EMAIL PROTECTED] wrote:
 

sniiip

 E002  19085   GENERAL DYNAMICS5031802 E-GL/VX/B/R1.0  SFT CD, GL 
 VXWORKS BOREALIS R1.006/30/05 1  $995.00 $995.00
 E016  19096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-AD600729C501  ARGUS 
 PMC,2 DVI 16MB PERCHAN USB A/V12/01/0530  $2,312.00   
 $69,360.00
 E016  19096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-DDX/SO/R4.0   SFT CD, 
 DDX SOL 2.6-9 BOREALIS R4.0 12/01/0530  $74.00  $2,220.00
 E016  19096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-VIN/SO/R1.0   SFT CD, 
 VID CAP SOL 2.6-9 BOREALIS R1.0 12/01/0530  $74.00  $2,220.00
 E021  19093   GANYMED COMPUTER GMBH   7103879 E-AD90073913011 GARNET PMC RIO8 
 C2, REAR I/O 16MB   07/19/05 2  $1,848.00   $3,696.00
 E024  19080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
 VGA 16MB Q70  08/18/05 1  $846.00 $846.00
 E024  19080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
 VGA 16MB Q70  10/19/0519  $846.00 $16,074.00
 E024  19080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
 VGA 16MB Q70  09/20/05 2  $846.00 $1,692.00
 E024  19080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
 VGA 16MB Q70  11/17/05 7  $846.00 $5,922.00


Are you sure that these columns are tab delimited ? 

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


Cannot use cvsup

2005-07-14 Thread Brian John
Hello,
I can't use cvsup for some reason.  I just tried upgrading from 5.3 to
5.4.  When I try to use cvsup, it says this:
su-2.05b# cvsup
/libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by
cvsup

And if I try to re-add cvsup, it says this:
su-2.05b# cd /usr/ports/net/cvsup/
su-2.05b# make install
make: don't know how to make install. Stop

Can someone please help me with this?  I don't know what to do from here...

Thanks

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


Re: using -t option with unix sort ?

2005-07-14 Thread jdyke

Tsampros Leonidas wrote:

On Thu, Jul 14, 2005 at 10:47:50AM -0700, Daniel Malaby wrote:



Nelis Lamprecht wrote:


On 7/14/05, Nelis Lamprecht [EMAIL PROTECTED] wrote:



On 7/14/05, Daniel Malaby [EMAIL PROTECTED] wrote:




sniiip


E00219085   GENERAL DYNAMICS5031802 E-GL/VX/B/R1.0  SFT CD, GL 
VXWORKS BOREALIS R1.006/30/05 1  $995.00 $995.00
E01619096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-AD600729C501  ARGUS 
PMC,2 DVI 16MB PERCHAN USB A/V12/01/0530  $2,312.00   
$69,360.00
E01619096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-DDX/SO/R4.0   SFT CD, 
DDX SOL 2.6-9 BOREALIS R4.0 12/01/0530  $74.00  $2,220.00
E01619096   TGA INGENIERIA Y ELECTRONICS S  5881-2  E-VIN/SO/R1.0   SFT CD, 
VID CAP SOL 2.6-9 BOREALIS R1.0 12/01/0530  $74.00  $2,220.00
E02119093   GANYMED COMPUTER GMBH   7103879 E-AD90073913011 GARNET PMC RIO8 
C2, REAR I/O 16MB   07/19/05 2  $1,848.00   $3,696.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  08/18/05 1  $846.00 $846.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  10/19/0519  $846.00 $16,074.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  09/20/05 2  $846.00 $1,692.00
E02419080   DRS LAUREL TECHNOLOGIES 94358   E-AC7007121115A ECLIPSE3 PMC, 
VGA 16MB Q70  11/17/05 7  $846.00 $5,922.00




Are you sure that these columns are tab delimited ? 


likely not, but sort will grab each white space delimited column, so if
INGENIERIA Y ELECTRONICS is really a single value, you're not going to be able 
to sort that with say `cat file | sort +4`


i think i may have missed some of this thread, but this document would likely 
need some formatting with sed(1) before sort could do its magic.  with sed, 
using the substitute operator, you could grab the proper colmns, wrap them in 
quotes and pass that to sort.


the -t operator, passed a tab as in earier mails will not work as tab is still a 
blank to non blank transistion.


hth
jeff



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


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


FW: Re: BUS ERROR from freecolor

2005-07-14 Thread PK
 hi

I have Compaq Deskpro 4000, Processor Celeron 400MHz

# sysctl hw
hw.machine: i386
hw.model: Pentium II/Pentium II Xeon/Celeron
hw.ncpu: 1
hw.byteorder: 1234
hw.physmem: 527929344
hw.usermem: 424464384
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.realmem: 536870912
hw.aac.iosize_max: 65536
hw.an.an_dump: off
hw.an.an_cache_mode: dbm
hw.an.an_cache_mcastonly: 0
hw.an.an_cache_iponly: 1
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.atapi_dma: 0
hw.cardbus.debug: 0
hw.cardbus.cis_debug: 0
hw.cs.debug: 0
hw.cs.ignore_checksum_failure: 0
hw.cs.recv_delay: 570
hw.firewire.try_bmr: 1
hw.firewire.hold_count: 3
hw.firewire.fwmem.eui64_hi: 0
hw.firewire.fwmem.eui64_lo: 0
hw.firewire.fwmem.speed: 2
hw.firewire.fwe.stream_ch: 1
hw.firewire.fwe.tx_speed: 2
hw.firewire.fwe.rx_queue_len: 128
hw.firewire.sbp.auto_login: 1
hw.firewire.sbp.max_speed: -1
hw.firewire.sbp.exclusive_login: 1
hw.firewire.sbp.login_delay: 1000
hw.firewire.sbp.scan_delay: 500
hw.firewire.sbp.use_doorbell: 0
hw.firewire.sbp.tags: 0
hw.pccard.debug: 0
hw.pccard.cis_debug: 0
hw.cbb.start_memory: 2281701376
hw.cbb.start_16_io: 256
hw.cbb.start_32_io: 4096
hw.cbb.debug: 0
hw.pcic.intr_mask: 57016
hw.pci.enable_io_modes: 1
hw.pci.do_powerstate: 0
hw.pci.host_mem_start: 2147483648
hw.pci.irq_override_mask: 57080
hw.wi.txerate: 0
hw.wi.debug: 0
hw.xe.debug: 0
hw.intr_storm_threshold: 500
hw.availpages: 128889
hw.bus.devctl_disable: 0
hw.dc_quick: 1
hw.ste.rxsyncs: 0
hw.kbd.keymap_restrict_change: 0
hw.syscons.saver.keybonly: 1
hw.syscons.bell: 1
hw.syscons.sc_no_suspend_vtswitch: 0
hw.busdma.total_bpages: 33
hw.busdma.zone0.total_bpages: 1
hw.busdma.zone0.free_bpages: 1
hw.busdma.zone0.reserved_bpages: 0
hw.busdma.zone0.active_bpages: 0
hw.busdma.zone0.total_bounced: 0
hw.busdma.zone0.total_deferred: 0
hw.busdma.zone0.lowaddr: 0x
hw.busdma.zone0.alignment: 4096
hw.busdma.zone0.boundary: 0
hw.busdma.zone1.total_bpages: 32
hw.busdma.zone1.free_bpages: 32
hw.busdma.zone1.reserved_bpages: 0
hw.busdma.zone1.active_bpages: 0
hw.busdma.zone1.total_bounced: 0
hw.busdma.zone1.total_deferred: 0
hw.busdma.zone1.lowaddr: 0x
hw.busdma.zone1.alignment: 2
hw.busdma.zone1.boundary: 65536
hw.clockrate: 399
hw.instruction_sse: 0
hw.em0.debug_info: -1
hw.em0.stats: -1
hw.em0.rx_int_delay: 0
hw.em0.tx_int_delay: 66
hw.em0.rx_abs_int_delay: 66
hw.em0.tx_abs_int_delay: 66

greetings
piotr





___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
---BeginMessage---
On Thu, 2005-07-14 at 16:26 +0200, Simon Barner wrote:
 PK wrote:
  I have freeBSD 5.4 and newest ports tree update.
  I've installed freecolor from ports without errors,
  but if I try to start it, I get following error:
 
 Works fine here.
 
 Please report this to freecolor's maintainer (see the Makefile). This
 might be a 64bit issue, so tell him what platform you are seeing this
 error on.

He already has :)

It works for me also, and I even gave him a pre-compiled package that
was known to work on my system.

I hadn't thought about the 64 bit issue - PK, what platform are you
running this on? That said - it works on my sparc64...

Cheers,
Tim.

-- 
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984


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

Re: mysql-4.1.12 errors after portupgrade

2005-07-14 Thread Ken Gunderson
On Thu, 14 Jul 2005 23:40:06 +
Tsampros Leonidas [EMAIL PROTECTED] wrote:

 On Thu, Jul 14, 2005 at 11:03:18AM -0600, Ken Gunderson wrote:
  Hello:
  
  This is driving me bonkers!  I portupgraded mysql41 to 4.1.12.  Now
  mysql won't start from the rc.d/mysql-server.sh, either at startup or
  when I run manually.  I didn't change any options in /etc/
  rc.conf.local. Mysql error logs whine thusly:
  
  [ERROR] Can't find messagefile '/usr/local/share/mysql/english/
  errmsg.sys'
  
  but the file is indeed present:
  
  kobuk# ll /usr/local/share/mysql/english/errmsg.sys
  -r--r--r--  1 root  wheel  16579 Jul 14 09:51 /usr/local/share/mysql/
  english/errmsg.sys
  
  To make matters even more interesting, I have an exactly identical
  configuration running on another machine!  Only difference is hardware,
  p4 vs p3 and being set thusly in /etc/make.conf.
  
 Could you show us the mysql_* section of your /etc/rc.conf.local .
 
 Also check the last lines of the /usr/local/etc/rc.d/mysql-server.sh
 script and check which command is running when you pass the start
 argument to the script.  I've found the exact same problem with yours
 on the archives of this list. Here is the link:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/067311.html
 

Saw that too but don't think it's the same problem.  I repeat that this
is not a new MySQL install but an upgrade of a working system.  And the
config is identical to another working system, with exception that cpu
p4 vs p3 and fbsd 5.4p3 and 5.4p4, respectively.  

BUILD_OPTIMIZED=yes was passed during port make but get same results w/
o any flags.

Anhow, here's the config.  mysql-server.sh is straight out of the ports
distribution:


. /etc/rc.subr

name=mysql
rcvar=`set_rcvar`

load_rc_config $name

: ${mysql_enable=NO}
: ${mysql_limits=NO}
: ${mysql_dbdir=/var/db/mysql}
: ${mysql_args=}

mysql_user=mysql
mysql_limits_args=-e -U ${mysql_user}
pidfile=${mysql_dbdir}/`/bin/hostname`.pid
command=/usr/local/bin/mysqld_safe
command_args=--defaults-extra-file=${mysql_dbdir}/my.cnf --user=
${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile}
${mysql_args}  /dev/null  procname=/usr/local/libexec/mysqld
start_precmd=${name}_prestart mysql_install_db=/usr/local/bin/
mysql_install_db mysql_install_db_args=--ldata=${mysql_dbdir}

mysql_create_auth_tables()
{
eval $mysql_install_db $mysql_install_db_args /dev/null
[ $? -eq 0 ]  chown -R ${mysql_user}:${mysql_user}
${mysql_dbdir} }

mysql_prestart()
{
if [ ! -d ${mysql_dbdir}/mysql/. ]; then
mysql_create_auth_tables || return 1
fi
if checkyesno mysql_limits; then
eval `/usr/bin/limits ${mysql_limits_args}` 2/dev/null
else
return 0
fi
}

run_rc_command $1


/etc/rc.conf.local:

mysql_enable=YES
mysql_args=--bind-address=127.0.0.1

but get same results w/o the mysql_args

Possible that something with fbsd-p4 borked mysql??  Wouldn't think so
else we'd have heard from others

-- 
Best regards,

Ken Gunderson

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Re: dangerous situation with shutdown process

2005-07-14 Thread Jon Dama

if the FUA bit in the sata command header is properly respected.

if the flush cache command on an ata device is properly respected.

if the flush cache command on an ata device is implemented (it's optional)

if the flush cache command exists when the ata device was made (it isn't
in the earlier versions of the ata spec).

anyways, your comments about softupdates needing total ordering versus
journals needing partial ordering are wrong.  softupdates only requires
that you do not call 'biodone(x)' until 'x' has been committed to disk.
this is 100% compatiable with the specification feature set, IF those
semantics are actually present in the hardware.


please see the thread beginning with the following commit message for an
extensive discussion of these topics:

http://lists.freebsd.org/pipermail/cvs-src/2003-April/001002.html

-Jon

On Thu, 14 Jul 2005, Matthias Buelow wrote:

 Jon Dama wrote:

 Request Barriers under linux exist to prevent the low level kernel block
 device layer from reordering write operations from the upper file system
 layers.  Request Barriers consist of nothing more than tagging internal
 queues within the Linux kernel itself.  They do nothing to resolve the
 underlying failures of the hardware to provide proper semantics to the
 block device layer.
 but, Request Barriers are ultimately useless.  They can't resolve the
 underlying problems with ide/sata and there are already exposed semantics
 for scsi.

 If you flush the cache at barriers, on-disk integrity of the journal
 vs. metadata updates is guaranteed.

 mkb.

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


FreeBSD 4.11 + named + sandbox options

2005-07-14 Thread patrick
I've enabled the commented out named_flags=-u bind -g bind in my
rc.conf to start named in a sandbox, but whenever I do a
named.reload, I get the following message in my logs:

Jul 14 14:20:55 pompom named[34352]: couldn't create pid file
'/var/run/named.pid'

It doesn't really seem to be a big deal because doing a reload doesn't
create a new PID anyway, but it is nevertheless annoying to have these
messages showing up.

Is this a bug in ndc?

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


Re: mysql-4.1.12 errors after portupgrade

2005-07-14 Thread Tsampros Leonidas
On Thu, Jul 14, 2005 at 03:17:52PM -0600, Ken Gunderson wrote:
 On Thu, 14 Jul 2005 23:40:06 +
 Tsampros Leonidas [EMAIL PROTECTED] wrote:
 
  On Thu, Jul 14, 2005 at 11:03:18AM -0600, Ken Gunderson wrote:
   Hello:
   
   This is driving me bonkers!  I portupgraded mysql41 to 4.1.12.  Now

Did you use the -b flag when portupgading ? This keeps a backup of the
old packages at /var/tmp unless you've changed the TMPDIR
variable. Anyway if there is such a backup i would suggest examining
what changed (apart from the binaries) during the upgrade. Maybe we
are missing something preety obvious.

Hope I helped. 

   mysql won't start from the rc.d/mysql-server.sh, either at startup or
   when I run manually.  I didn't change any options in /etc/
   rc.conf.local. Mysql error logs whine thusly:
   
   [ERROR] Can't find messagefile '/usr/local/share/mysql/english/
   errmsg.sys'

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


Re: mysql-4.1.12 errors after portupgrade

2005-07-14 Thread Ken Gunderson
On Fri, 15 Jul 2005 00:34:12 +
Tsampros Leonidas [EMAIL PROTECTED] wrote:

 On Thu, Jul 14, 2005 at 03:17:52PM -0600, Ken Gunderson wrote:
  On Thu, 14 Jul 2005 23:40:06 +
  Tsampros Leonidas [EMAIL PROTECTED] wrote:
  
   On Thu, Jul 14, 2005 at 11:03:18AM -0600, Ken Gunderson wrote:
Hello:

This is driving me bonkers!  I portupgraded mysql41 to 4.1.12.  Now
 
 Did you use the -b flag when portupgading ? This keeps a backup of the
 old packages at /var/tmp unless you've changed the TMPDIR
 variable. Anyway if there is such a backup i would suggest examining
 what changed (apart from the binaries) during the upgrade. Maybe we
 are missing something preety obvious.
 
 Hope I helped. 

nope i didn't pass -b cuz i'd already updated sucessfully on the test
machine


-- 
Best regards,

Ken Gunderson

Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?

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


Re: trouble booting 5.4 installation media (repost)

2005-07-14 Thread Ito Kazumitsu
Hi,

On Fri May 27 02:27:35 PDT 2005, dave dmehler26 at woh.rr.com wrote:

 Didn't get a response so i'm going to try this again. I'm trying to do a
 fresh install of 5.4 on a test machine, which previously ran 5.3 just fine.
 I'm doing the install via a serial terminal as this box is headless and off
 of an nfs server which i've also prepared identically to 5.3. I have made
 the three floppies, boot.flp and the two kern*.flp disks, then mounted
 boot.flp and created a boot.config file on it with -h so i get output on
 serial port1. All this works fine, i am prompted to switch disks to the two
 kern* disks, again no problems. When i put in boot.flp after being prompted
 after kern2.flp i get a repeating error, which is below from sysinstall and
 the process goes no further. At first i thought it was a problem with the
 downloaded iso image, so i checked the md5 signatures, they matched, then i
 rewrote the floppy in question, on 4 different disks with the same result.
 
 Insert boot floppy and press Enter
 /acpi.ko text=0x414fc data=0x1dc4+0x112c syms=[0x4+0x7670+0x4+0x9d05]
 zf_read: fill error
 
 spec_getpages:(md0) I/O read failure: (error=5) bp 0xc94fb9ec vp 0xc1d42d68
size: 36864, resid: 36864, a_count: 36864, valid: 0x0
nread: 0, reqpage: 0, pindex: 459, pcount: 9
 vm_fault: pager read error, pid 1 (sysinstall)

I experienced the same problem while trying to install 5.4-RELEASE.
I also made many sets of floppy disks and got the same result.

I thought there must be some problem in 5.4-RELEASE, but Google search
for zf_read fill error made me convinced that the problem existed in
my floppy disks, and not in 5.4-RELEASE.

So I made boot.flp and kern*.flp on another machine. Then the installation
went without problem!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot use cvsup

2005-07-14 Thread Frank Steinborn
Brian John [EMAIL PROTECTED] schrieb:

 And if I try to re-add cvsup, it says this:
 su-2.05b# cd /usr/ports/net/cvsup/
 su-2.05b# make install
 make: don't know how to make install. Stop

Try to get a binary package from cvsup using pkg_add -r cvsup and if
it succeeds, cvsup a new portstree (yours seems to be broken, since make
install in /usr/ports/net/cvsup fails).

HTH,
steinex

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


Re: How do I build i386 arch on Athlon 64?

2005-07-14 Thread Gary W. Swearingen
[EMAIL PROTECTED] (Gary W. Swearingen) writes:

 make TARGET_ARCH=i386 TARGET_CPUTYPE=athlon-xp make-target

Well, that built OK, but the resulting kernel panic'd
(the same way) with or without the TARGET_CPUTYPE in there:

  Mounting root from ufs:/dev/ad0s4a
  exec /sbin/init : error 8
  ...
  init: not found in path
  panic: no init


I guess I'll try again after cvsup'ing and then give it up, get
an i386 CDROM, and try upgrading with that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dangerous situation with shutdown process

2005-07-14 Thread Lowell Gilbert
Jon Dama [EMAIL PROTECTED] writes:

 softupdates is perfectly safe with SCSI.
 
 its well known that ide and sata w/wo ncq fails to provide suitable
 semantics for softupdates
 
 however, journaling fairs no better, and request barriers do nothing to
 solve the problem.

I had assumed that the sequence of operations in a journal would be
idempotent.  Is that a reasonable design criterion?  [If it is, then
it would make up for the fact that you can't build a reliable
transaction gate.  That is, you would just have to go back far enough
that you *know* all of the needed journal is within the range you will
replay.  But even then, the journal would need to be on a separate
medium, one that doesn't have the lying to you about transaction
completion problem.]

 On Thu, 14 Jul 2005, Matthias Buelow wrote:
 
  Kevin Oberman wrote:
 
  SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or
  the sysctl.
 
  You do NOT want to do that. Not only will performance drop brutally
  (example: drop to 1/5th of normal write speed for sequential writes,
  probably worse for random writes) but it will also significantly
  reduce the lifetime of your disk. Modern disks are designed to be
  used with the write-back cache enabled, so don't turn it off.

I have no idea what designed to be used with the write-back cache
enabled could affect the operating life of the disk.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using -t option with unix sort ?

2005-07-14 Thread Csaba Henk
On Thu, Jul 14, 2005 at 10:47:50AM -0700, Daniel Malaby wrote:
 The sample data has 9 fields, I am trying to sort on the fifth field, 
 here is what I have tried.
 
 sort -t\t +4 -5 -o test.txt sample.txt
 
 I did try removing the space and it did not work, I have also tried 
 removing the -5. I think the spaces in the third field are confusing sort.

Well, if you are willing to accept a non-orthodox solution,

ruby -e 'puts $.readlines.sort_by {|x| x.split(/\t/)[4]}' sample.txt  test.txt

will do the job.

I guess there should be a succint way of doing this with perl, too.

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


mms is not s registered protocol

2005-07-14 Thread g_rus
In English and then in Spanish

I just read a portuguese page with instructions to fix this on Mozilla
http://www.vivaolinux.com.br/dicas/verDica.php?codigo=1392

In Mozilla browser writte in addres area: about:config

Then on the opened page click with the rigth buttom mouse and select
NEW, and then STRING

Then, put this in the box: network.protocol-handler.app.mms

Click OK, and in the next box writte the software that you want
Mozilla open the mms: Mplayer, Xine or aviplay, and click OK, and it
is all.

*

Acabo de leer una página en Portugues donde viene la solución a esto.
http://www.vivaolinux.com.br/dicas/verDica.php?codigo=1392

En el navegador de mozilla escribir en la linea de Direccion: about:config

Se abrira una página con mucha información, sobre la página, con el
boton derecho dar click y seleccionar NEW, seguido de STRING

En el siguiente cuadro que se abra escribir: network.protocol-handler.app.mms
Y dar aceptar. 

Despues en la siguiente caja que se abra, escribir el programa deseado
para abrir el MMS: Xine, Mplayer o avifile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot use cvsup

2005-07-14 Thread Michael C. Shultz
On Thursday 14 July 2005 13:54, Brian John wrote:
 Hello,
 I can't use cvsup for some reason.  I just tried upgrading from 5.3 to
 5.4.  When I try to use cvsup, it says this:
 su-2.05b# cvsup
 /libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by
 cvsup

 And if I try to re-add cvsup, it says this:
 su-2.05b# cd /usr/ports/net/cvsup/
 su-2.05b# make install
 make: don't know how to make install. Stop

 Can someone please help me with this?  I don't know what to do from here...

 Thanks

 /Brian

If you dont have X installed remember to set WITHOUT_X11=yes when you build 
it.

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


Re: 5.4-REL random reboots

2005-07-14 Thread Bas Essers
Just a little follow-up to conclude my problem.

I solved it by switching from a realtek NIC for my internet interface to a 
3COM NIC and i can run everything without these 'random' reboots now.

It's still strange to me though because this problem came up out of the 
blue.

Well it's all good now :)

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


Re: dangerous situation with shutdown process

2005-07-14 Thread Matthias Buelow
Lowell Gilbert [EMAIL PROTECTED] writes:

Jon Dama [EMAIL PROTECTED] writes:
 however, journaling fairs no better, and request barriers do nothing to
 solve the problem.

I had assumed that the sequence of operations in a journal would be
idempotent.  Is that a reasonable design criterion?  [If it is, then
it would make up for the fact that you can't build a reliable
transaction gate.  That is, you would just have to go back far enough
that you *know* all of the needed journal is within the range you will
replay.  But even then, the journal would need to be on a separate
medium, one that doesn't have the lying to you about transaction
completion problem.]

No, it needn't. It is sufficient that the journal entries for a block of
updates that are to follow are on disk before the updates are made.
That's all. This can be achieved by inserting a write barrier request in
between the journal writes and the actual data/metadata writes. The
block driver will, when it sees the barrier, a) write out all requests
in its queue that it got before the barrier, and b) flush the cache so
that they will not get intermixed by the drive with the following data
writes.

What could happen now when the power goes away at an inopportune moment?
[Note that I'm only talking about filesystem integrity, not general
data loss.]

* If power goes away before the journal is written, nothing happens.
* If the journal is partially written, and power goes away, it will
  be partially replayed at boot but the filesystem will be consistent.
* If power goes away, when the journal is fully written, but no
  metadata updates have been performed, they will be performed at
  boot and everything is as if the full request has completed before
  power went out.
* If power goes away when the journal is fully written, and parts of
  the metadata updates have been written, those updates will be performed
  twice (once more at reboot) but that won't matter since these operations
  are idempotent. The remaining metadata updates are then performed
  once, at reboot.

So where is the need for the journal to be on a seperate medium?
The only thing that matters is that no metadata updates will be written
before the journal has been written, and flushing the disk cache at a
barrier will ensure this. Note that the disk doesn't even have to flush
the cache when it receives that command, it only has to ensure that
it'll perform all requests before the flush in front of those that come
afterwards.

I have no idea what designed to be used with the write-back cache
enabled could affect the operating life of the disk.  

If you disable the write cache, you get a much higher weartear due
to much more seeking.
If I observe a 5x performance degradation when the cache is disabled,
for sequential writes (i.e., no cache overwriting effects), I would
think that I also have a factor 1 of increased seeking operations in
the drive, otherwise the performance degradation cannot be explained.
[Besides, the disk gets really loud when the cache is disabled.]

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


Re: lspci on freebsd

2005-07-14 Thread Jonathan Glaschke
On Thu, Jul 14, 2005 at 09:02:00AM +0930, Galdes, Andrew (ERHS) wrote:
 Hello all,
 
 I'm new to BSD. In linux i could run #lspci to see a list of the attached
 hardware. How can i do the same in FreeBSD 5?
 
 Thanks,
 -Andrew

Hello,

you can install pciutils, too.
Thats where lspci ist localted in FreeBSD.

Greets, Jonathan

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

-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot use cvsup

2005-07-14 Thread Gary W. Swearingen
Brian John [EMAIL PROTECTED] writes:

 su-2.05b# cvsup
 /libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by
 cvsup

Looks like cvsup port needs this port:
/usr/ports/x11-toolkits/libXaw

 And if I try to re-add cvsup, it says this:
 su-2.05b# cd /usr/ports/net/cvsup/
 su-2.05b# make install
 make: don't know how to make install. Stop

Looks like you haven't got a proper cvsup port, or maybe 
/usr/ports/Mk/bsd.port.mk or something it includes is
(something that defines install) is missing.

Maybe re-install ports (with /stand/sysinstall?)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4-REL random reboots

2005-07-14 Thread Casey Scott
 Just a little follow-up to conclude my problem.

 I solved it by switching from a realtek NIC for my internet interface to a
 3COM NIC and i can run everything without these 'random' reboots now.

 It's still strange to me though because this problem came up out of the
 blue.

 Well it's all good now :)

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


My rebooting issue has not occurred since I got rid of 3com NICs! The plot
thickens...

Casey

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


Re: Cannot use cvsup

2005-07-14 Thread Brian John
If I do pkg_add -r cvsup it says this:
su-2.05b# pkg_add -r cvsup
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/cvsup.tbz...
Done.
pkg_add: package 'cvsup-16.1h_2' or its older version already installed

Then if I try to run cvsup it says this:
su-2.05b# cvsup
/libexec/ld-elf.so.1: Shared object libXaw.so.8 not found, required by
cvsup

And if I try to add libXaw it says this:
su-2.05b# pkg_add -r libXaw
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/libXaw.tbz...
Done.
pkg_add: package 'libXaw-7.0.2' or its older version already installed

So I'm kind of stuck.  Does anyone know what I can do from here?

Thanks

/Brian

- Original Message -

 Brian John [EMAIL PROTECTED] schrieb:

  And if I try to re-add cvsup, it says this:
  su-2.05b# cd /usr/ports/net/cvsup/
  su-2.05b# make install
  make: don't know how to make install. Stop

 Try to get a binary package from cvsup using pkg_add -r cvsup and if
 it succeeds, cvsup a new portstree (yours seems to be broken, since make
 install in /usr/ports/net/cvsup fails).

 HTH,
 steinex

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



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


Re: Cannot use cvsup

2005-07-14 Thread Frank Steinborn
Brian John [EMAIL PROTECTED] schrieb:

 If I do pkg_add -r cvsup it says this:
 su-2.05b# pkg_add -r cvsup
 Fetching
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/cvsup.tbz...
 Done.
 pkg_add: package 'cvsup-16.1h_2' or its older version already installed

Deinstall cvsup at first using pkg_delete. Then rerun pkg_add.

bye,
steinex

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


Re: FreeBSD 5.x raid...

2005-07-14 Thread Casper


I can`t find gvinum man on my 5.4 and in google too :)
I`m thinking for my server better tool is gmirror?

Casper

David Kelly wrote:

On Thu, Jul 14, 2005 at 09:49:07AM -0500, David Kelly wrote:

Uh, he wants all data on one SATA drive and a mirror on the other. 
Therefore he does not want to concat but to mirror. The man page

examples often complicatate things by concating some drives then
mirroring the concated.



Speaking to the archives something that slipped by me is that normally
one creates two concat style plexes and _then_ mirrors the plexes. This
way the plex can be edited on a running system, drives substituted.

The simplified version of [g]vinum mirror command automagically
creates a configuration as described above even when only 2 drives are
involved.



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


Re: lspci on freebsd

2005-07-14 Thread Chuck Robey

Galdes, Andrew (ERHS) wrote:

Hello all,

I'm new to BSD. In linux i could run #lspci to see a list of the attached
hardware. How can i do the same in FreeBSD 5?


scanpci is part of Xorg and XFree86 both, I think.  It'll give you the 
info you're after.




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


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


Re: (KAME-snap 9155) Simple question

2005-07-14 Thread Keiichi SHIMA
Hello,

From: Tiago Sousa [EMAIL PROTECTED]
Date: Thu, 14 Jul 2005 19:24:49 +0100

 In what concern to my previous mails I can summarize and simplify the
 problem:
 
 Why when I enable the ipv6_gateway_enable=YES in /etc/rc.conf the
 following error occurs (I am using freebsd 5.4 and the last kame snap):
 
 in6_if2idlen:unknown link type (34) 
 
 in6_if2idlen:unknown link type (249)
 
 in6_if2idlen:unknown link type (244)

Because the interface length of the above if types (34 = IFT_PARA, 249
= IFT_IST, 244 = IFT_DUMMY) are not defined.

 
 I know these are only warnings but when they occur I can not ping other
 computers (only direct attached links) and the computer doesn't make
 forwarding of packets.
 
 Anybody knows what is wrong?

I don't think the above errors are the reason of your routing problem.
Just to make sure, did you specify any kind of routing daemon in your
rc.conf?  Maybe disclosing your routing table information (by netstat
-nr) may give us some hints to solve the problem.

---
Keiichi SHIMA
IIJ Research Laboratory [EMAIL PROTECTED]
KAME Project [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Examine IP packet

2005-07-14 Thread Olivier Nicole
Hi,

Could you recommend a tool that I can use to examine the validity of
the headers in an IP packet?

One of the things I need to check is the IP header checksum.

TIA.

Olivier

- --2874F43D48.1121392997/mx1.FreeBSD.org--
--- End of forwarded message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >