What ELSE do I need to add to make.conf to avoid X ?

2009-04-07 Thread Juri Mianovich

Just trying to install rrdtool on a server.

Do not want X.  Do not want X11.  Do not want Xorg.

So I did the right thing and added this to /etc/make.conf:

WITHOUT_X11=yes
WITHOUT_X=yes
WITH_X=NO
ENABLE_GUI=NO

and then 'make install' in the rrdtool directory.  The problem is, eventually I 
saw this:

===  Installing for pango-1.14.7
===   pango-1.14.7 depends on file: /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf - 
not found
===Verifying install for /usr/X11R6/lib/X11/fonts/TTF/luximb.ttf in 
/usr/ports/x11-fonts/xorg-fonts-truetype
===  Vulnerability check disabled, database not found
===  Extracting for xorg-fonts-truetype-6.9.0
= MD5 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz.
= SHA256 Checksum mismatch for xorg/X11R6.9.0-src1.tar.gz.
===  Refetch for 1 more times files: xorg/X11R6.9.0-src1.tar.gz 
xorg/X11R6.9.0-src1.tar.gz
===  Vulnerability check disabled, database not found
= X11R6.9.0-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg.
= Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.9.0/src/.
X11R6.9.0-src1.tar.gz   3% of   31 MB 8188  Bps 01h05m^C
fetch: transfer interrupted



Oops.  Looks like I was going to get X11 anyway.

So, what other options do I need to add to make.conf in order to install a 
simple stats/database tool without hundreds and hundreds of MB of x11 ?

Thanks.


  

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


bsd.gnome.mk is broken in 6.3-RELEASE ? Cannot update x11 ports ?

2008-11-10 Thread Juri Mianovich

Clean install of 6.3-RELEASE.

cvsup _only_ ports/x11, ports/x11-wm, ports/x11-servers

Now enter ports/x11/xorg and attempt a 'make install'

Eventually it bombs out with:

===Verifying install for /usr/local/libdata/pkgconfig/pixman-1.pc in 
/usr/ports/x11/pixman
Unknown modifier '9'

/usr/ports/Mk/bsd.gnome.mk, line 643: Malformed conditional 
(${_USE_GNOME_ALL:Mltverhack:9}==)
Unknown modifier '9'

Error expanding embedded variable.
*** Error code 2

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/x11/xorg.


I don't really care why.  I'm sure it's fascinating, whatever it is.  Can I 
just get a quick textual fix - some file to edit somewhere that fixes this ?

What _is_ fascinating is that I am the only person _ever_ to attempt cvsup'ing 
the x11 portions of the ports tree and then install xorg.  You'd think someone 
would have done this before now.

Thanks.


  

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


why can't I use $1 in .cshrc ?

2008-06-26 Thread Juri Mianovich

I am trying to use this alias in my root .cshrc file:

grep $1 /some/file

but .cshrc _refuses_ to expand $1 as a proper variable (in this case, the first 
argument to the alias...)

I _think_ it's because $1 is being interpreted as a argument to csh _itself_ 
when it runs .cshrc ... but maybe I'm wrong.

Anyway, how to make it work ?

Thanks.


  

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


where did the peak mbuf stat go ?

2007-11-09 Thread Juri Mianovich
FreeBSD 4.x, netstat -m:

70/4336/26624 mbufs in use (current/peak/max)

Never any doubt - if peak=max, I hit the limit.  Super
useful.  Furthermore, by watching the peak I can see
when I am getting close, rather than waiting for
denied requests to pile up after the fact.

FreeBSD 6.x, netstat -m:

524/826/1350 mbufs in use (current/cache/total)

So ... how do I see peak mbufs in FreeBSD 6.x ?

Thanks.


__
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]


Re: problems with old SSH client and

2007-11-08 Thread Juri Mianovich

--- James [EMAIL PROTECTED] wrote:

 On Wed, 2007-11-07 at 07:53 -0800, Juri Mianovich
 wrote:
 
  I have a machine with an older SSH client on it
 and I
  am trying to connect to my 6.2-RELEASE system.
  
 
 What operating system is the older machine running
 (I assume FreeBSD,
 and I assume 6.2 stable, but want to be sure).


The old system is DR DOS of some kind.

The new system is 6.2-RELEASE

The old system is the client, which cannot connect and
is having the problem.

The new system is just a plain old FreeBSD 6.2 system
and has no problems.



 
 What version of ssh is running on the older machine?
 


The old system is the client - and it shows:


SSH-1.5-OpenSSH_3.7.1p2

It would not connect at all, and we then connected
with a '-1' argument (after adding protocol one to the
servers sshd_config) and it now connects, but again, I
am getting this cipher error:


ssh -v -1 -c 3des [EMAIL PROTECTED]


and this is my verbose output:


  06 Oct - 17:43:35[] ()ssh's main 0 debug2:
  ssh_connect: needpriv 0^M  
  06 Oct - 17:43:37[] ()ssh's main 0 debug1:
  Connecting to hostname [10.10.10.10] port 22.^M   

  
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
  Connection established.^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
 identity
  file /etc/ssh/identity type -1^M  

  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
 Remote
  protocol version 1.99, remote software version
  OpenSSH_4.5p1^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
 match:
  OpenSSH_4.5p1 pat OpenSSH*^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug1: Local
  version string SSH-1.5-OpenSSH_3.7.1p2^M  

 
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
 Waiting
  for server public key.^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
 Received
  server public key (768 bits) and host key (1024
  bits).^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug3:
  check_host_in_hostfile: filename
  /etc/ssh/known_hosts^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug3:
  check_host_in_hostfile: match line 1^M

   
  06 Oct - 17:43:38[] ()ssh's main 0 debug3:
  check_host_in_hostfile: filename
  /etc/ssh/known_hosts^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug3:
  check_host_in_hostfile: match line 1^M

   
  06 Oct - 17:43:38[] ()ssh's main 0 debug1: Host
  'hostname' is known and matches the RSA1 host
 key.^M  
   
  06 Oct - 17:43:38[] ()ssh's main 0 debug1: Found
 key
  in /etc/ssh/known_hosts:1^M  
  06 Oct - 17:43:38[] ()ssh's main 0 fatal:
 Selected
  cipher type 3des not supported by server.^M   

   
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
 Calling
  cleanup 0x44598ec0(0x0)^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
 Calling
  cleanup 0x4458c630(0x0)^M  
  06 Oct - 17:43:38[] ()ssh's main 0 debug3:
  DecrementThreadCount() Thread count is now 1^M

   
  06 Oct - 17:43:38[] ()ssh's main 0 debug1:
  sshExit(0) calling SSH_Exit()^M


So it is saying that 3des is not supported by the
server (which is freebsd 6.2-release)  ...  what in
the world is wrong ?

__
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]


problems with old SSH client and

2007-11-07 Thread Juri Mianovich

I have a machine with an older SSH client on it and I
am trying to connect to my 6.2-RELEASE system.

I have changed the default line of:

Protocol 2

to:

Protocol 2,1

in /etc/ssh/sshd_config

and now, from another modern FreeBSD system, I can
successfully log in with this command:

ssh -1 -c 3des [EMAIL PROTECTED]

However, the older client, when using the exact same
command, gets this error:


06 Oct - 17:43:35[] ()ssh's main 0 debug2:
ssh_connect: needpriv 0^M  
06 Oct - 17:43:37[] ()ssh's main 0 debug1:
Connecting to hostname [10.10.10.10] port 22.^M   

06 Oct - 17:43:38[] ()ssh's main 0 debug1:
Connection established.^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug1: identity
file /etc/ssh/identity type -1^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Remote
protocol version 1.99, remote software version
OpenSSH_4.5p1^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug1: match:
OpenSSH_4.5p1 pat OpenSSH*^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Local
version string SSH-1.5-OpenSSH_3.7.1p2^M  
   
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Waiting
for server public key.^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Received
server public key (768 bits) and host key (1024
bits).^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug3:
check_host_in_hostfile: filename
/etc/ssh/known_hosts^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug3:
check_host_in_hostfile: match line 1^M
 
06 Oct - 17:43:38[] ()ssh's main 0 debug3:
check_host_in_hostfile: filename
/etc/ssh/known_hosts^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug3:
check_host_in_hostfile: match line 1^M
 
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Host
'hostname' is known and matches the RSA1 host key.^M  
 
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Found key
in /etc/ssh/known_hosts:1^M  
06 Oct - 17:43:38[] ()ssh's main 0 fatal: Selected
cipher type 3des not supported by server.^M   
 
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Calling
cleanup 0x44598ec0(0x0)^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug1: Calling
cleanup 0x4458c630(0x0)^M  
06 Oct - 17:43:38[] ()ssh's main 0 debug3:
DecrementThreadCount() Thread count is now 1^M
 
06 Oct - 17:43:38[] ()ssh's main 0 debug1:
sshExit(0) calling SSH_Exit()^M


any ideas ?

__
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]


ipfw rule question ... all possible interfaces ?

2007-11-04 Thread Juri Mianovich

Is there a way to tell ipfw:

all interfaces currently configured on this system ?

I have a laptop and at any time I could plug in a USB
NIC or plug in a pccard, in addition to the onboard
LAN and WIFI, either of which may or may not be
configured at boot time.

So the point is, the active, configured interfaces
changes regularly.

So if I have a rule like:

allow ip from any to any via iwi0

that won't work well, and neither will:

allow ip from any to any via iwi0,abc0

So is there any way to say all interfaces currently
configured and have that rule apply to new interfaces
automatically as they are added and subtracted from
the system ?

__
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]


oflag option in GNU dd - equivalent in FreeBSD dd ?

2007-10-22 Thread Juri Mianovich
I am used to using this command in Linux, using GNU
dd:

dd if=/blah of=/bleh oflag=append conv=notrunc

The problem is, FreeBSD 'dd' does not understand the
oflag argument.

Is there some equivalent in the FreeBSD 'dd' syntax
that I can use, or am I forced to install GNU utils ?



__
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]


Re: oflag option in GNU dd - equivalent in FreeBSD dd ?

2007-10-22 Thread Juri Mianovich

--- Dan Nelson [EMAIL PROTECTED] wrote:

 In the last episode (Oct 22), Juri Mianovich said:
  I am used to using this command in Linux, using
 GNU
  dd:
  
  dd if=/blah of=/bleh oflag=append conv=notrunc
  
  The problem is, FreeBSD 'dd' does not understand
 the
  oflag argument.
  
  Is there some equivalent in the FreeBSD 'dd'
 syntax
  that I can use, or am I forced to install GNU
 utils ?
 
 Why not cat /blah  /bleh ?  dd is usually used
 on raw device nodes,
 and appending doesn't make sense there.


I have a long, boring (but good) reason that I can't
use 'cat'.  I need to use 'dd'.

The syntax above will work perfectly if I use GNU dd,
but I'd like to simplify the setup and use the
built-in n'dd' if possible.

So ... is there a freebsd equivalent to the GNU:

dd if=/blah of=/bleh oflag=append conv=notrunc

syntax ?  Anyone ?

__
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]


help with text-append over SSH ?

2007-10-12 Thread Juri Mianovich

I have an account on a system where I cannot log in
over SSH, but I _can_ run a limited set of commands
remotely, over SSH.  (I am in a jail of some sorts).

I want to append the contents of a local text file to
the contents of a remote text file, over SSH.

Normally, I would do this locally with:

cat file1  file2

But again, file2 is remote, and I can't log in
there... I have access to the 'echo' command and the
'dd' command (among others) on the remote host ... so
for instance, I can do things like this:

ssh [EMAIL PROTECTED] rm -rf filename

So, with all that in mind, how do I append the
contents of a local file to a remote file, over SSH,
using either 'echo' or 'dd' ?

Thanks.


  

Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, 
and more!
http://tv.yahoo.com/collections/3658 

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


Re: help with text-append over SSH ? - dd: unknown operand

2007-10-12 Thread Juri Mianovich

--- Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2007-10-11 16:49, Juri Mianovich
 [EMAIL PROTECTED] wrote:
 
  I have an account on a system where I cannot log
 in over SSH, but I
  _can_ run a limited set of commands remotely, over
 SSH.  (I am in a
  jail of some sorts).
 
  I want to append the contents of a local text file
 to the contents of
  a remote text file, over SSH.
 
  Normally, I would do this locally with:
 
  cat file1  file2
 
  But again, file2 is remote, and I can't log in
 there... I have access
  to the 'echo' command and the 'dd' command (among
 others) on the
  remote host ... so for instance, I can do things
 like this:
 
  ssh [EMAIL PROTECTED] rm -rf filename
 
  So, with all that in mind, how do I append the
 contents of a local
  file to a remote file, over SSH, using either
 'echo' or 'dd' ?
 
 Try running:
 
 cat file1 | ssh [EMAIL PROTECTED] dd  file2


Thank you - I do indeed need to use 'dd' because I
don't have access to 'cat' in the chroot.

However, when I use your example, I get this error:

dd: unknown operand 

So I have something off a bit ... help ?


  

Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

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


allowing non-root to ipfw show ?

2007-09-04 Thread Juri Mianovich
Is there any way to allow a non-root user the ability
to view firewall rules with:

ipfw show

I would really like to allow some non-root users to
see certain count rules I have in place, but they
don't seem to be allowed to run 'ipfw' in any
capacity.

Suggestions ?


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



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