Re: Apache, php?

2007-06-19 Thread Norberto Meijome
On Tue, 19 Jun 2007 00:04:03 -0500
Jack Barnett [EMAIL PROTECTED] wrote:

 on the command line doing `php index.php` works.
 But if I use it though a web browser it just displays the php code.

enable mod_status and/or mod_info in Apache and double check that the php
module is loaded, and what its name is. I recall there beeing a version where
it wasn't mod_php4, so the IfModule directives wouldn't match and not load the
right configuration.

once you have the correct module name, change the ifModule lines accordingly
and reload apache.

_
{Beto|Norberto|Numard} Meijome

Without vision you may find that you make your way through life by bumping into
things.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


x11/xorg update.

2007-06-19 Thread Gary Kline

Guys,

My portupgrade -aP was stll going full tilt late this morning 
after my 27th cup of French roast, so good thing I  didn't wait.
After only 8 or 9 days, there's obv'ly been lots of mods.
Read: 'hard work' by volunteers.

The xorg.conf I created on 09jun07 was around 1K  bytes.  The 
new one is around 4 times that size.  My logs clued me in --
partly.  In /var/log/gdm/:0.log was the problem.  An (EE)
that said I was missing some required module.  I searched all 
*.ko files and even looked for the source.  NADA.  Then I
ran another X -configure.  That spat out a slew of warnings and
errors but it did create an xorg.conf.new.  It worked as a test
and today worked to bring up gdm without any errors. (!!)

I can find out my searching around what new kinds of features are
in xorg-7.x, but it looks like it has better probes at least.

So, to anybody who is dreading the xorg mess, there is hope.
FBSD is still the best open-src group in the {known:)} universe.

gary





-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: denyhosts and the threshold level

2007-06-19 Thread Zbigniew Szalbot
Hello,

Norberto Meijome wrote:
 On Mon, 18 Jun 2007 07:51:23 +0200
 Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 Failed password for root from 218.9.127.236 port 47414 ssh2 Jun 17
 19:56:00 lists sshd[8079]:
 Failed password for root from 218.9.127.236 port 47566 ssh2 Jun 17
 19:56:03 lists sshd[8081]:

 Of course, you have root logins via ssh disabled anyway.. right? ;)

Of course! But thanks for checking :) I see that denyhosts is blocking
hosts so I sleep better now :)

Zbigniew Szalbot

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


evolution question

2007-06-19 Thread Gary Kline

I have a couple questions about saving mail in ~/Mail 
the mailer part of this suite and one new question in the
calender/to-do part, so if there is a Q/A broard somewhere
does anybody here know about it?  

thanks,

gary

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: Apache, php?

2007-06-19 Thread Ivan Carey

Jack Barnett wrote:

FreeBSD 6.2
Apache 1.3.37 (from ports)
php 5.2.3 (from ports)

on the command line doing `php index.php` works.
But if I use it though a web browser it just displays the php code.

I installed it like this (extensions to)
http://www.mydigitallife.info/2006/04/14/installing-web-server-in-freebsd-60-with-apache-22-mysql-50-and-php-5-part-5/ 



The only difference is that I'm using 1.3 and not 2.x of Apache.

Apache config below
Installing 2.x isn't an option yet (test server, still need 1.3)

   fire2# grep -i php *
   httpd.conf:AddType application/x-httpd-php .php
   httpd.conf:AddType application/x-httpd-php-source .phps
   httpd.conf:IfModule mod_php3.c
   httpd.conf:IfModule mod_php4.c
   httpd.conf:DirectoryIndex index.php index.php3 index.html
   httpd.conf:IfModule !mod_php4.c
   httpd.conf:DirectoryIndex index.php3 index.html
   httpd.conf:IfModule !mod_php3.c
   httpd.conf:IfModule mod_php4.c
   httpd.conf:DirectoryIndex index.php index.html
   httpd.conf:IfModule !mod_php4.c
   httpd.conf:IfModule mod_php3.c
   httpd.conf: AddType application/x-httpd-php3 .php3
   httpd.conf: AddType application/x-httpd-php3-source .php3s
   httpd.conf:IfModule mod_php4.c
   httpd.conf: AddType application/x-httpd-php .php
   httpd.conf: AddType application/x-httpd-php-source .phps
   httpd.conf: AddType application/x-httpd-php .php
   httpd.conf: AddType application/x-httpd-php-source .phps






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


.


Hello Jack,
I have 2 servers running one with php4 and one with php5

In the php4 httpd.conf I have:
LoadModule php4_modulelibexec/apache/libphp4.so
AddModule mod_php4.c

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index.  Separate multiple entries with spaces.
#
IfModule mod_dir.c
   IfModule mod_php3.c
   IfModule mod_php4.c
   DirectoryIndex index.php index.php3 index.html
   /IfModule
   IfModule !mod_php4.c
   DirectoryIndex index.php3 index.html
   /IfModule
   /IfModule
   IfModule !mod_php3.c
   IfModule mod_php4.c
   DirectoryIndex index.php index.html
   /IfModule
   IfModule !mod_php4.c
   DirectoryIndex index.html
   /IfModule
   /IfModule
/IfModule

# LanguagePriority allows you to give precedence to some languages
   # in case of a tie during content negotiation.
   #
   # Just list the languages in decreasing order of preference. We have
   # more or less alphabetized them here. You probably want to change this.
   #
   IfModule mod_negotiation.c
   LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru 
ltz ca es sv tw

   /IfModule

   IfModule mod_php3.c
   AddType application/x-httpd-php3 .php3
   AddType application/x-httpd-php3-source .php3s
   /IfModule
   IfModule mod_php4.c
   AddType application/x-httpd-php .php
   AddType application/x-httpd-php-source .phps
   /IfModule


In the Apache2 using php5 I have in the httpd.conf
LoadModule php5_module libexec/apache2/libphp5.so

# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

I hope this helps you with your configuration,
Regards,
Ivan

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


Re: sendmail local problem...

2007-06-19 Thread Giorgos Keramidas
On 2007-06-18 11:57, Agus [EMAIL PROTECTED] wrote:
 Hi all,

 I am having trouble with my mailI only want it configured to
 deliver locally, which in one of my bsd did it by default...but in
 this bsd i am gettint messages deferred...  Connection refused by
 himalaya.x.x which is my router. It seems like sendmail is trying to
 relay it to my router...but is local mail

Show us the output of:

# grep sendmail /etc/defaults/rc.conf /etc/rc.conf

# ls -l /etc/mail/*.mc

It sounds like you have a misconfigured Sendmail installation.

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


Re: problem with sed command and csh

2007-06-19 Thread Giorgos Keramidas
On 2007-06-18 12:28, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 Last but not least, do you have use csh?  It's not recommend for
 scripting.

This must be the most sensible thing I've read in the entire thread.

Quoting rules aside, tcsh is a nice interactive shell, but there are far
too many annoyances in the expansion rules, and differences between what
one has to type in an interactive shell prompt and in a script.

If you have a choice, please use /bin/sh, bash or ksh :-)


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


Re: problem with sed command and csh

2007-06-19 Thread Giorgos Keramidas
On 2007-06-18 11:33, Olivier Regnier [EMAIL PROTECTED] wrote:
 I founded solution with awk command and that works well.

 cat /usr/local/etc/pkgtools.conf | awk '{ sub(/^[ \t]*MAKE_ARGS = {/, 
 \n\t\x27ports-mgmtp/portupgrade\x27 = 
 \x27WITH_BDB4=1\x27,\n\t\x27sysutils/fastest_csvsup\x27 = 
 \x27WITH_ROUNDTRIP=1\x27,\n\t\x27mail/nbsmtp\x27 = \x27WITH_IPV6=1 
 WITH_SSL=1\x27,\n); print; }'  /usr/local/etc/pkgtools.conf

I'm sure you really do *NOT* want to read and write to the same file in
a single shell pipeline.  Watch out for the cookie monster which feeds
on the remains of zeroed out files :-P

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


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Andy Fawcett
On Tuesday 19 June 2007 02:52:55 Mark Kirkwood wrote:
 Byron Campbell wrote:
  On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:
  AFAICS the symbol is defined in:
 
  /usr/local/lib/xorg/modules/drivers/ati_drv.so
 
  e.g:
 
  $ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
  b5c0 D ATIMemoryTypeNames_88800CX
 
  What does it show on your system (I'm wondering if your ati
  drivers have not been upgraded properly).
 
  Ah, good point. The output here is:
 
  00e940 D ATIMemoryTypeNames_88800CX

 Well - seems to be defined there hmmm. not sure why you are
 getting 'undefined symbol' in atimisc_drv.so in that case. I am
 wondering if the problem is tied up with amd64 specifically -
 hopefully someone else will have some ideas :-).

 In the meantime you could hack your xorg.conf to use 'vesa' driver
 and see if you can actually startup X - try adding modeline settings
 in there for your monitor if you still get 'out of range' (tho I must
 say I've *never* needed to put them in with Xorg...).

 Also worth trying might be borrowing a DVI cable (assuming your
 monitor has a DVI input) and seeing if X works with it connected
 instead of the VGA one.

I'm running the same board (Neo2-F) and card (9600) versions on amd64 at 
home, but with a CRT. When I get home this evening I will mail my 
xorg.conf to Byron directly to see if it helps.

Andy


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


Re: Upgrading x.org to 7.2 (to make other ports happy)

2007-06-19 Thread Alex Zbyslaw

Andrew Falanga wrote:


I just read my reply to this from the weekend.  Wow, it sounds like
I'm a complete idiot.  Ok, what I meant to say (had other things on my
mind this weekend) was that being unfamiliar with 'script' I thought
it was some sort of interpreter through which I had to run this
xorg-upgrade script mentioned in the UPDATING file.  As you can see,
my lack of understanding for script lead to a bad assumption.


The big clue is in the text description where it refers to script(1) 
i.e. a command with a manual page in section 1 of the manual!  It's 
always worth a quick man or apropos if you come across something you 
don't recognise.


--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/wpa_supplicant

2007-06-19 Thread Alvarez
First make the following script

ee /etc/wpa_supplicant.conf

Once you are in ee, then type:

network={
ssid=Your ssid
psk =whatever_your_key_is
{

after that, ee /etc/rc.conf and edit your if_config command (it depends if you 
use ndis0, ath0, etc)

then after that run /etc/rc.d/netif restart again. If you have any more 
problems, give me a dump of your messages and I can walk you through it.

On Mon, 18 Jun 2007 11:17:57 +0200
Olivier Regnier [EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Anytime i install FreeBSD for the first time on my laptop impossible to 
 connect itself to Internet. I must restart with this command :
 /etc/rc.d/netif restart. After, there are not problem.  Just the first 
 time.  What happened ?
 
 I use wpa_supplicant.
 
 Can you help me please ?
 
 Olivier.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Alvarez [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: stopping connect attacks in apache

2007-06-19 Thread Bob
On Jun 15, 2007, at 7:49 PM, Bob wrote:
 Every time my apache server slows down or has denial of service the
 access
 log is full this

 61.228.122.220 -  CONNECT 66.196.97.250:25 HTTP/1.0 200 7034 - -
 61.228.122.220 -  CONNECT 216.39.53.3:25 HTTP/1.0 200 7034 - -
 61.228.122.220 -  CONNECT 216.39.53.1:25 HTTP/1.0 200 7034 - -
 61.228.122.220 -  CONNECT 168.95.5.155:25 HTTP/1.0 200 7034 - -
 61.228.122.220 -  CONNECT 168.95.5.157:25 HTTP/1.0 200 7034 - -
 61.228.122.220 -  CONNECT 168.95.5.159:25 HTTP/1.0 200 7034 - -

IP 61.228.122.220 is using the HTTP CONNECT method to relay spam to
port 25 on the targets via your Apache server.

This almost certainly indicates that you've got mod_proxy loaded or
something similar via mod_perl/mod_php/whatever, as the CONNECT
attack would get a 405 Method not allowed error otherwise.

-Chuck

___

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chuck Swiger
Sent: Monday, June 18, 2007 1:02 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: stopping connect attacks in apache

The replies to my post came back saying that apache defaults to denying
CONNECT requests which I was not able to verify. That mod_proxy was causing
it. I have mod-proxy commented out.
That the CONNECT request is some how being spoofed through php  which I was
not able to verify.
My reading of php5 says it accepts all valid methods that apache hands it.
To me this indicates that apache is not denying CONNECT requests by default.
Reading a book I have titled 'Maximum Apache Security' it said to gain
explicit control over the Methods use the Limit or LimitExcept
declaratives with the 'Require valid-user' in the default  Directory /
definition in the http-conf file.

So in apache http-conf around line 340 I added the LimitExcept GET POST
Declarative like this to the default directory definition so it looks like
this.

Directory /
  Options FollowSymLinks
  AllowOverride None
 Order allow,deny
 Allow from all
 LimitExcept GET POST
Require valid-user
/LimitExcept
/Directory

Now the access log shows this

61.228.120.228 - - [17/Jun/2007:22:42:49 -0400] CONNECT
66.196.97.250:25 HTTP/1.0 500 602 - -

And the error.log shows this

   [Sun Jun 17 22:42:49 2007] [crit] [client 61.228.120.228]
configuration error:  couldn't perform authentication. AuthType not set!: /


  As you can see the CONNECT request is now being denied with a 500.
  The CONNECT requests have been stopped from attacking others.

  I post this solution so others can find it in the questions
archives.


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


RE: Apache access log shows these attack requests

2007-06-19 Thread Bob

The replies to my post came back saying that apache defaults to denying
CONNECT requests which I was not able to verify. That mod_proxy was causing
it. I have mod-proxy commented out.
That the CONNECT request is some how being spoofed through php  which I was
not able to verify.
My reading of php5 says it accepts all valid methods that apache hands it.
To me this indicates that apache is not denying CONNECT requests by default.
Reading a book I have titled 'Maximum Apache Security' it said to gain
explicit control over the Methods use the Limit or LimitExcept
declaratives with the 'Require valid-user' in the default  Directory /
definition in the http-conf file.

So in apache http-conf around line 340 I added the LimitExcept GET POST
Declarative like this to the default directory definition so it looks like
this.

Directory /
   Options FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
   LimitExcept GET POST
  Require valid-user
   /LimitExcept
/Directory

Now the access log shows this

61.228.120.228 - - [17/Jun/2007:22:42:49 -0400] CONNECT 66.196.97.250:25
HTTP/1.0 500 602 - -

And the error.log shows this

[Sun Jun 17 22:42:49 2007] [crit] [client 61.228.120.228] configuration
error:  couldn't perform authentication. AuthType not set!: /


As you can see the CONNECT request is now being denied with a 500.
The CONNECT requests have been stopped from attacking others.

I post this solution so others can find it in the questions archives.




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


Re: New files in setuid.today

2007-06-19 Thread Lowell Gilbert
Andrew Robinson [EMAIL PROTECTED] writes:

 I have some new file names in my /var/log/setuid.today file.  There
 are things on an external drive, pdfs, html documents, etc.  The only
 common factor that I can see is that all of them are 's' in the group
 permissions.  An example is:

 1766558 -rw-r-sr--  1 andrewr  andrewr 8076 Jul 24 19:38:17 2005
 /home/andrewr/0.svn/0.infrastructure/www_public/andrewpr.JPG

 Just checking the names of the files, I know what each one of them is
 (or is supposed to be!) and none of them are supposed to bne
 executable.

 Can anyone tell me how this might happen, and what I should do to
 clean it up?  

The first thing to do is to see whether the contents of the files are
intact or not.  If they are, then I would strongly suspect filesystem
corruption and start trying to clean up on that basis.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apparent IP configuration change . . .

2007-06-19 Thread Steve Bertrand
Frank Steinborn wrote:
 John Williams wrote:
 FreeBSD users:

 Until recently I've been running a very low-maintenance FreeBSD router
 with FBSD 6.2.

 The IP setup was a dynamic IP configuration with Verizon as my DSL
 provider in NJ. The connection was virtually trouble-free.

 I switched to a static IP about 10 days ago and the IP configuration no
 longer works.
 
 [ ... ]
 
 Here's what worked for the dynamic IP connection:

 verizon:
   set device PPPoE:rl0
   set authname xxx
   set authkey xxx
   add default HISADDR

 Here's what I've set up for the static IP connection:

 verizon:
   set device PPPoE:rl0
   set authname xxx
   set authkey xxx
   add default HISADDR
   set ifaddr 70.0.0.54 70.0.0.1 255.255.255.255 0.0.0.0
 
 You are suggesting the peer that your IP should be 0.0.0.0, but you
 will only accept 70.0.0.54. Moreover, you only accept peer as
 70.0.0.1. Are you sure that this is what you want? ppp(8) gives a
 wonderful overview of 'set ifaddr'.
  
 It's kind of hard to help without further information, it would be
 really nice to know the data you got from the provider about the
 static IP setup.
 
 Just a naive shoot in blue: Did you try without setting 'set ifaddr'
 at all? Probably your peer will negotiate the right setting with your
 ppp-client anyway.

I agree with this statement. Any ISP I have dealt with, including the
one I work at, a 'static' PPP IP address is actually configured within
the RADIUS authentication server, is directly associated with your
username and is not usually configured on the client premises equipment
as a 'standard' static IP address.

When your PPP client logs in using the supplied user/pass, the
Framed-IP-Address is sent back to you in response to your successful
login attempt.

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


Re: Upgrading x.org to 7.2 (to make other ports happy)

2007-06-19 Thread Andrew Falanga

On 6/19/07, Alex Zbyslaw [EMAIL PROTECTED] wrote:

The big clue is in the text description where it refers to script(1)
i.e. a command with a manual page in section 1 of the manual!  It's
always worth a quick man or apropos if you come across something you
don't recognise.



Yes.  Your point is taken.

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


Re: x11/xorg update.

2007-06-19 Thread Norberto Meijome
On Mon, 18 Jun 2007 23:50:38 -0700
Gary Kline [EMAIL PROTECTED] wrote:

   The xorg.conf I created on 09jun07 was around 1K  bytes.  The 
   new one is around 4 times that size.  My logs clued me in --
   partly.  In /var/log/gdm/:0.log was the problem.  An (EE)
   that said I was missing some required module. 

this probably was due to your old xorg.conf having the wrong paths in it. The
errors should be pretty obvious, otherwise using xorgcfg should make a good one
and you can, at least, use it to compare the differences.

good to hear u're back into X :) 

_
{Beto|Norberto|Numard} Meijome

He uses statistics as a drunken man uses lamp-posts ... for support rather
than illumination. Andrew Lang (1844-1912)

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Andy Harrison

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 6/18/07, Jason Hills  wrote:

Hello,

I would like to try adding a 3D Desktop feel to my laptop, but I am
new to this thing, and was not able to find how to install xgl or
aiglx. I installed Beryl and it complains about not finding AIGLX
display.

How should I start? What will I need to have installed and running,
and how to do proper testings when/if things go wrong?

I appreciate your help. I found some tutorials, say,
http://wiki.beryl-project.org/index.php/Install/FreeBSD, but it seems,
to me at least, that it is not an up-to-date resource.

Any directions will help.


I haven't done it on FreeBSD yet, but I've done it on a couple Linux
distros.  Aside from the glx module already suggestion, you may also
need to load the dri and vbe modules.

This option in your Device section is also important.

   Option AddARGBGLXVisuals True

If you're running an nvidia card, you also need to make sure you have
the latest development drivers for your card.  I'm running 1.0.9755 on
my machine, but I believe I had aixgl working on the 1.0.9746 version
that's in the ports collection.

- --
Andy Harrison
public key: 0x67518262
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGd9y1NTm8fWdRgmIRAt3XAKDi0J/d1dejk3DI74Ch+k0opbGpyQCdGKYR
e2vNMWVsUYP+nfnO7HC+azQ=
=dj/F
-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: Can No Longer Get To Virtual Consoles After -STABLE Update

2007-06-19 Thread Norberto Meijome
On Mon, 18 Jun 2007 07:30:17 -0400
Robert Huff [EMAIL PROTECTED] wrote:

 Norberto Meijome writes:
 
   Look for some threads in this list about ALT key and alternative
   keyboadd maps not working after the upgrade. There is a suuposed
   fiex, but I haven't tested it yet.
 
   On the advice of a third party, I added this:
 

hey :)

 Section ServerFlags
 Option  DontZap   false

enables killing your X server w/ ctrl-alt-backspace - not relevant

 Option  DontZoom  true

Ctrl-alt-[+/- num keys] for zoon - disabled, not relevant

 Option  AllowMouseOpenFailtrue

cant see this as being relevant

 
 #  XFree86 4.[34].x - Add DontVTSwitch to be false (for
 # console switching).
 
 Option  DontVTSwitch  false

fair enough, but as per xorg.conf manpage, the default is off / false anyway.

 Option  HandleSpecialKeys always
 
 #  Xorg 6.8.(2|99.903) - Add XkbDisable to be true (for
 # console switching).
 
 Option  XkbDisabletrue

exactly :) as per the other emails I refered, the issue is with Xkb extensions
when you have multiple / altnernative kb layouts

 EndSection
 
 
   at the end of my xorg.conf.
   This has fixed the ctl+alt+Fn problem.  There may be side
 effects, but so far I haven't triggered any of them.
 

yes, you can't use alternative keyboard layouts and switch between them. there
is a proposed work around (also in the archives) ,but I haven't tested it yet.

cheers,
B
_
{Beto|Norberto|Numard} Meijome

The people have always some champion whom they set over them and nurse into
greatness... This and no other is the root from which a tyrant springs; when he
first appears he is a protector. Plato

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Khairil Yusof
On Mon, 2007-06-18 at 20:17 -0300, Jason Hills wrote:
 Hello,
 
 I would like to try adding a 3D Desktop feel to my laptop, but I am
 new to this thing, and was not able to find how to install xgl or
 aiglx. I installed Beryl and it complains about not finding AIGLX
 display.

http://www.iosn.net/Members/kaeru/articles/freebsd/compiz-on-freebsd

This should help, it's for Compiz, but the AIGLX settings for xorg.conf
will work for Beryl too.

Cheers

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


Re: sendmail local problem...

2007-06-19 Thread Agus

2007/6/18, Jonathan Horne [EMAIL PROTECTED]:


On Monday 18 June 2007 09:57:27 Agus wrote:
 Hi all,

 I am having trouble with my mailI only want it configured to deliver
 locally, which in one of my bsd did it by default...but in this bsd i am
 gettint messages deferred...
 Connection refused by himalaya.x.x which is my router. It seems like
 sendmail is trying to relay it to my router...but is local mail

 any help will be great...
 my rc.conf doesnt mention sendmail...
 ps shows sendmail running...
 and messages to root for example get stuck in queue with deferred, cant
 connect himalaya...

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

if you do a 'host [yourdomain]', what does it say your MX record is.  you
need
this server to be able to find itself as the MX for the domain,
internally.

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



OKI see where you are going...great tip, thank you very much
As i have dynamic IP i have zoneedit as my DNS and mail
How can i add myself as MX? can i do it in my bsd or i have to change my
zoneedit records??

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


crontab error

2007-06-19 Thread Steve Franks

In my crontab the following:

@reboot /usr/local/sbin/ataidle -I 5 0 0

gives me:

cron: login_getclass unknown class 'ataidle'

on reboot.  What am I missing?

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


Portsnap

2007-06-19 Thread tradigan
Hi all,

I have just started using portsnap and I must say that I like it.. With
that said, I am noticing something here that maybe a configuration issue
on my end, but here is the deal:

I have a newly installed 6.2 box, and I ran portsnap fetch followed by
portsnap extract.. This updated the ports tree just fine..

Now, I know that /usr/ports/sysutils/portupgrade was moved to
/usr/ports/ports-mgmt/portupgrade.  This is visible when you use CVSup to
update the ports tree (ie: /usr/ports/sysutils/portupgrade does not
exist).  However with portsnap, the /usr/ports/sysutils/portupgrade
directory still exists.  Is there a way to get portsnap to remove ports
that were removed and/or moved?

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


Missing /dev/agpgart

2007-06-19 Thread Alberto Rizzi
I have a motherboard with a via PT880 and an agp video card Radeon 9600XT

I'm using 6-STABLE with device agp in the kernel configuration file
but the system doesn't create /dev/agpgart device

#dmesg | grep agp
returns nothing

#kldstat -v | grep agp
385 pci/agp_ali
386 pci/agp_amd
387 pci/agp_amd64
388 pci/agp_ati
389 pci/agp_i810
390 pci/agp_intel
391 pci/agp_nvidia
392 pci/agp_sis
393 pci/agp_via

#pciconv -lv
is at the end of the email

When I start the X server (both 6.9 and 7.2), radeon and drm modules get
loaded but there are errors in Xorg logs about missing /dev/agpgart

While Xorg is starting, I see these messages in /var/log/messages

May 26 15:02:24 hansolo kernel: error: [drm:pid877:radeon_cp_init]
*ERROR* radeon_cp_init called without lock held
May 26 15:02:24 hansolo kernel: error: [drm:pid877:drm_unlock] *ERROR*
Process 877 using kernel context 0

Xorg works without other problems, but without agp I can't use drm and
2D acceleration, but I have /dev/dri/card0


How can I solve the problem?


[EMAIL PROTECTED]:0:0:  class=0x06 card=0x02581849 chip=0x02581106 rev=0x00
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'PT880 CPU to PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:1:  class=0x06 card=0x12581849 chip=0x12581106 rev=0x00
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'PT880 CPU to PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:2:  class=0x06 card=0x22581849 chip=0x22581106 rev=0x00
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'PT880 CPU to PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:3:  class=0x06 card=0x32581849 chip=0x32581106 rev=0x00
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'PT880 CPU-to-PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:4:  class=0x06 card=0x42581849 chip=0x42581106 rev=0x00
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'PT880 CPU to PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:7:  class=0x06 card=0x72581849 chip=0x72581106 rev=0x00
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'PT880 CPU to PCI Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:1:0:  class=0x060400 card=0x0070 chip=0xb1981106 rev=0x00
hdr=0x01
vendor   = 'VIA Technologies Inc'
device   = 'ProSavageDDR P4X600 CPU to AGP Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:12:0: class=0x02 card=0x813911f6 chip=0x813910ec rev=0x10
hdr=0x00
vendor   = 'Realtek Semiconductor'
device   = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
class= network
subclass = ethernet
[EMAIL PROTECTED]:15:0: class=0x01018f card=0x31491849 chip=0x31491106
rev=0x80 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8237  VT6410 SATA RAID Controller'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:15:1: class=0x01018a card=0x05711849 chip=0x05711106
rev=0x06 hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82 EIDE Controller (All VIA Chipsets)'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:16:0: class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:1: class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:2: class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:3: class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT82x UHCI USB 1.1 Controller (All VIA Chipsets)'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:16:4: class=0x0c0320 card=0x31041849 chip=0x31041106 rev=0x86
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT6202 USB 2.0 Enhanced Host Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:17:0: class=0x060100 card=0x32271849 chip=0x32271106 rev=0x00
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8237 PCI-to-ISA Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:17:5: class=0x040100 card=0x97611849 chip=0x30591106 rev=0x60
hdr=0x00
vendor   = 'VIA Technologies Inc'
device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'

Re: crontab error

2007-06-19 Thread Bill Moran
In response to Steve Franks [EMAIL PROTECTED]:

 In my crontab the following:
 
 @reboot /usr/local/sbin/ataidle -I 5 0 0
 
 gives me:
 
 cron: login_getclass unknown class 'ataidle'
 
 on reboot.  What am I missing?

My guess is that you put that line in /etc/crontab, thus the format isn't
correct.

See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html

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


gmirror ate my disk

2007-06-19 Thread Steve Franks

So, I've got 2 gmirrors working fine for 6 months or so.  Didn't have
any issues.  One got full, however, so I decided to buy fresh disks
and make a new one.

Did exactly what I did the first time: fdisk/label/copy data to one
disk, add it to the mirror.  added another disk, got to DEGRADED 100%.
Gmirror seems to hang there forever unless you reboot -

Now, system won't boot (aka /bin/sh or pathname) - why? - mount
gives incorrect superblock for /dev/mirror/gm1.  Took gm1 out of
fstab, or course, then ran fsck, which echoed the concerns about
incorrect super block.  Rebooted, now fsck just says, Could not
determine filesystem type.  What's my best way to proceed?  It took
all *%#@ day to mirror up those 2 disks, and I'd rather not repeat
the process if there is something I can do to recover the data as is -
only if I can trust the mirror after recovery, of course.

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


Re: Portsnap

2007-06-19 Thread [LoN]Kamikaze
[EMAIL PROTECTED] wrote:
 Hi all,
 
 I have just started using portsnap and I must say that I like it.. With
 that said, I am noticing something here that maybe a configuration issue
 on my end, but here is the deal:
 
 I have a newly installed 6.2 box, and I ran portsnap fetch followed by
 portsnap extract.. This updated the ports tree just fine..
 
 Now, I know that /usr/ports/sysutils/portupgrade was moved to
 /usr/ports/ports-mgmt/portupgrade.  This is visible when you use CVSup to
 update the ports tree (ie: /usr/ports/sysutils/portupgrade does not
 exist).  However with portsnap, the /usr/ports/sysutils/portupgrade
 directory still exists.  Is there a way to get portsnap to remove ports
 that were removed and/or moved?

Actually it does that, but only if the files have been created by it. I think
the manual states that you should 'rm -rf /usr/ports' before using portsnap for
the first time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with printf in a shell script

2007-06-19 Thread Olivier Regnier

Hi everyone,

I want to insert text in my file, rc.conf : update_motd=NO
I tried printf in my shell script with this command :
printf update_motd=\NO\\  /etc/rc.conf
then, that works well in console but not with my shell script
I would like to insert a \n at the end :)

Can you help me please ?

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


Re: problem with printf in a shell script

2007-06-19 Thread Olivier Regnier

Olivier Regnier a écrit :

Hi everyone,

I want to insert text in my file, rc.conf : update_motd=NO
I tried printf in my shell script with this command :
printf update_motd=\NO\\  /etc/rc.conf
then, that works well in console but not with my shell script
I would like to insert a \n at the end :)

Can you help me please ?

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

Sorry :), i founded the solution :
printf 'update_motd=NO'

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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Tsu-Fan Cheng

hi,
 i have a silly question about beryl/compiz.. what is the relationship
between beryl and say, gnome??
thanks

TFC

On 6/19/07, Khairil Yusof [EMAIL PROTECTED] wrote:


On Mon, 2007-06-18 at 20:17 -0300, Jason Hills wrote:
 Hello,

 I would like to try adding a 3D Desktop feel to my laptop, but I am
 new to this thing, and was not able to find how to install xgl or
 aiglx. I installed Beryl and it complains about not finding AIGLX
 display.

http://www.iosn.net/Members/kaeru/articles/freebsd/compiz-on-freebsd

This should help, it's for Compiz, but the AIGLX settings for xorg.conf
will work for Beryl too.

Cheers

___
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: x11/xorg update.

2007-06-19 Thread Gary Kline
On Tue, Jun 19, 2007 at 11:17:43PM +1000, Norberto Meijome wrote:
 On Mon, 18 Jun 2007 23:50:38 -0700
 Gary Kline [EMAIL PROTECTED] wrote:
 
  The xorg.conf I created on 09jun07 was around 1K  bytes.  The 
  new one is around 4 times that size.  My logs clued me in --
  partly.  In /var/log/gdm/:0.log was the problem.  An (EE)
  that said I was missing some required module. 
 
 this probably was due to your old xorg.conf having the wrong paths in it. The
 errors should be pretty obvious, otherwise using xorgcfg should make a good 
 one
 and you can, at least, use it to compare the differences.


Ah, this is the new scriptthat creates xorg.conf, correct?
A bit easier than typing X -configure and messing with the 
/root files.  What I don't understand is all the output about
missing modules to stderr.  ...but  ... .

 
 good to hear u're back into X :) 
 

Me too!

gary


 _
 {Beto|Norberto|Numard} Meijome
 
 He uses statistics as a drunken man uses lamp-posts ... for support rather
 than illumination. Andrew Lang (1844-1912)
 
 I speak for myself, not my employer. Contents may be hot. Slippery when wet.
 Reading disclaimers makes you go blind. Writing them is worse. You have been
 Warned.

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


URGENT!!!

2007-06-19 Thread information22
SFNN- - -EXCELLENT BOTTOM PLAY!!!
CURRENT PRICE= .003
TARGET PRICE = 15 CENTS  
TARGET HOLD TIME = 9 MONTHS
ESTIMATED ROI= 4500%
 
BREAKING NEWS LINK
 
http://biz.yahoo.com/iw/070619/0267822.html
 
 
OTHER POWERFULL NEWS REGARDING SFNN
 
June 5th, 2007 http://biz.yahoo.com/iw/070605/0262151.html
 
April 24th, 2007   http://biz.yahoo.com/iw/070424/0243269.html
 
April 19th, 2007   http://biz.yahoo.com/iw/070419/0241316.html
 
April 13th, 2007   http://biz.yahoo.com/iw/070413/0238611.html
 
 
COMPANY’S WEBSITES:
 
 www.shearsonfinancialnetwork.com, 
www.sfnncorp.com
www.shearsonhomeloans.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with sed substitution

2007-06-19 Thread Olivier Regnier

Hi everyone,

I try to use sed with /etc/gettytab file. I would like to replace this 
text :

\r\n%s\%m ($h) (%t)\r\n\r by Hello world.
I tested with this command :
% sed -i.old -e 's/\r\n%s\%m ($h) (%t)\r\n\r/Hello world/'
but that doesn't work at all.
Can you help me please ?

Thank you :)


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


Configuring dhcp6

2007-06-19 Thread Andrew Falanga

Hello,

Has anyone on this list used dhcp6 from ports?  What's the magic
behind getting it to work?  I'm trying to configure for a very simple
environment and my hosts are getting anything.  My config file is
basically just the sample file from the port install with the
exceptions that the interface string has been changed and I'm using a
different IPv6 address block (per the RFC or IPv6 addressing, I'm
using fec0::).

Is there anything else?  I'm reading through the manual pages and the
dhcp6s program starts ok, that is, it starts without complaint and is
running (as sockstat attests to).  If anyone out there uses this, I'd
really appreciate any insights.

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


RE: Configuring dhcp6

2007-06-19 Thread Michael K. Smith - Adhost
Hello Andrew:

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Andrew Falanga
 Sent: Tuesday, June 19, 2007 10:01 AM
 To: freebsd-questions
 Subject: Configuring dhcp6
 
 Hello,
 
 Has anyone on this list used dhcp6 from ports?  What's the magic
 behind getting it to work?  I'm trying to configure for a very simple
 environment and my hosts are getting anything.  My config file is
 basically just the sample file from the port install with the
 exceptions that the interface string has been changed and I'm using a
 different IPv6 address block (per the RFC or IPv6 addressing, I'm
 using fec0::).
 
 Is there anything else?  I'm reading through the manual pages and the
 dhcp6s program starts ok, that is, it starts without complaint and is
 running (as sockstat attests to).  If anyone out there uses this, I'd
 really appreciate any insights.
 
Could you post your config for reference?  One thing that comes to mind
is to make sure your mask is set to a /64.  

Regards,

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


Re: Portsnap

2007-06-19 Thread Jonathan Horne
On Tuesday 19 June 2007 11:00:15 [LoN]Kamikaze wrote:
 [EMAIL PROTECTED] wrote:
  Hi all,
 
  I have just started using portsnap and I must say that I like it.. With
  that said, I am noticing something here that maybe a configuration issue
  on my end, but here is the deal:
 
  I have a newly installed 6.2 box, and I ran portsnap fetch followed by
  portsnap extract.. This updated the ports tree just fine..
 
  Now, I know that /usr/ports/sysutils/portupgrade was moved to
  /usr/ports/ports-mgmt/portupgrade.  This is visible when you use CVSup to
  update the ports tree (ie: /usr/ports/sysutils/portupgrade does not
  exist).  However with portsnap, the /usr/ports/sysutils/portupgrade
  directory still exists.  Is there a way to get portsnap to remove ports
  that were removed and/or moved?

 Actually it does that, but only if the files have been created by it. I
 think the manual states that you should 'rm -rf /usr/ports' before using
 portsnap for the first time.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

just in case you might be open to the notion of csup, you can do it like this 
quick and dirty, no file configurations:

csup -g -L 2 -h cvsup5.us.freebsd.org /usr/share/examples/cvsup/ports-supfile

if you know your preferred cvsup server, you can name that one instead.  and 
of course, copying your config somewhere and making your own custom edits is 
still the best way, but my example above would get you an immediate result, 
with the latest up-to-date tree, sans-editing.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: Configuring dhcp6

2007-06-19 Thread Andrew Falanga

On 6/19/07, Michael K. Smith - Adhost [EMAIL PROTECTED] wrote:

Could you post your config for reference?  One thing that comes to mind
is to make sure your mask is set to a /64.

Regards,

Mike



Sure,

# The followings are a sample configuration to provide a DNS server address
# for every client as well as to delegate a permanent IPv6 prefix
# 2001:db8:::/48 to a client whose DUID is 00:01:00:01:aa:bb.

option domain-name ipv6.isolated;
option domain-name-servers fec0::1;

# The followings are a sample configuration to provide an IPv6 address
# from an address pool 2001:db8:1:2::1000-2000 for 3600[s].
# Note. You have to send an RA to fxp0; otherwise a client cannot be sure
# about the prefix-length and the default router.  If you want to prevent
# stateless address configuration via RA, please set the autonomous-flag to
# OFF in your RA configuration.

interface sis0 {
address-pool isolated_pool 3600;
};

pool isolated_pool {
range fec0::11 to fec0::20 ;
};

As you can see, it's pretty much the
/usr/local/etc/dhcp6s.conf.sample.  You know, from making this post, I
see that because I decided against having any host directives in the
file, the one line that did have the subnet mask, or prefix, set to
/64 is now missing.

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


Interesting Change In ssh Behavior

2007-06-19 Thread Tim Daneliuk
I just recently update one 6.2 and one 4.11 machine to the latest stable
sources and built world.  Now, for some odd reason, I cannot tunnel X
via ssh from remote clients.  Did the defaults for sshd change lately
or is there some other culprit?

I have verified that the client machine in question can tunnel X just fine
to other machines on the net.

The symptom is that when I ssh into the FBSD machines, .Xauthority does not
get created and $DISPLAY is not getting set.  The ssh client in this case
is on a SUSE Desktop 10 machine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Interesting Change In ssh Behavior

2007-06-19 Thread Bill Campbell
On Tue, Jun 19, 2007, Tim Daneliuk wrote:
I just recently update one 6.2 and one 4.11 machine to the latest stable
sources and built world.  Now, for some odd reason, I cannot tunnel X
via ssh from remote clients.  Did the defaults for sshd change lately
or is there some other culprit?

First make sure that the sshd_config file on the server machine
has ``X11Forwarding yes'' set.

You should then be able to handle x11 using ``ssh -Y command''
instead of the old ``ssh -X command''.

If you want to be able to do this without requiring the ``-Y''
option, add ``ForwardX11Trusted yes'' to the ssh_config file on
the remote machine.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

No man's life, liberty, or property are safe while the legislature is in
session. -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with printf in a shell script

2007-06-19 Thread Garance A Drosihn

At 6:09 PM +0200 6/19/07, Olivier Regnier wrote:

Olivier Regnier a écrit :

Hi everyone,

I want to insert text in my file, rc.conf : update_motd=NO
I tried printf in my shell script with this command :
printf update_motd=\NO\\  /etc/rc.conf
then, that works well in console but not with my shell script
I would like to insert a \n at the end :)

Can you help me please ?



Sorry :), i founded the solution :
printf 'update_motd=NO'



If you want a newline character at the end of that, then wouldn't
you need:

   printf 'update_motd=NO\n'

Literally the two characters '\n' at the end of the string you're
printing?  By default, printf does not include a newline.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [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: problem with sed substitution

2007-06-19 Thread youshi10

On Tue, 19 Jun 2007, Olivier Regnier wrote:


Hi everyone,

I try to use sed with /etc/gettytab file. I would like to replace this text :
\r\n%s\%m ($h) (%t)\r\n\r by Hello world.
I tested with this command :
% sed -i.old -e 's/\r\n%s\%m ($h) (%t)\r\n\r/Hello world/'
but that doesn't work at all.
Can you help me please ?

Thank you :)


In place replacement isn't a wise idea. Output it to a temp file, then move it 
to the old filename if you wish.

-Garrett

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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Andy Harrison

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 6/19/07, Tsu-Fan Cheng  wrote:

hi,
  i have a silly question about beryl/compiz.. what is the relationship
between beryl and say, gnome??
thanks

TFC



In a gnome environment, beryl is a replacement for metacity, the
default gnome window manager.

- --
Andy Harrison
public key: 0x67518262
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGeC0wNTm8fWdRgmIRAkRNAKC7PFRJE77VaNCZuIBItzV0m5TT1gCgk92i
SolAnwqLO05jcYEB1vr8QnE=
=n0Za
-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: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Tsu-Fan Cheng

then can I install beryl without gnome??

TFC

On 6/19/07, Andy Harrison [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 6/19/07, Tsu-Fan Cheng  wrote:
 hi,
   i have a silly question about beryl/compiz.. what is the relationship
 between beryl and say, gnome??
 thanks

 TFC


In a gnome environment, beryl is a replacement for metacity, the
default gnome window manager.

- --
Andy Harrison
public key: 0x67518262
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGeC0wNTm8fWdRgmIRAkRNAKC7PFRJE77VaNCZuIBItzV0m5TT1gCgk92i
SolAnwqLO05jcYEB1vr8QnE=
=n0Za
-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: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Andy Harrison

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Answer: Yes.
Question: Is top posting bad?


On 6/19/07, Tsu-Fan Cheng  wrote:

then can I install beryl without gnome??

TFC


Probably, but beryl would not work.  metacity and beryl are just
window managers, they do not provide the rest of the desktop
environment.




- --
Andy Harrison
public key: 0x67518262

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGeDJNNTm8fWdRgmIRAmp+AJ9pZbbjv5+3b/fzY0TYUBbOMXAB+QCfVDnl
Paq4sALeW0Kc8dgjauPCew8=
=7CKB
-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: x11/xorg update.

2007-06-19 Thread Daniel Bye

Gary Kline wrote:

On Tue, Jun 19, 2007 at 11:17:43PM +1000, Norberto Meijome wrote:

On Mon, 18 Jun 2007 23:50:38 -0700
Gary Kline [EMAIL PROTECTED] wrote:

	The xorg.conf I created on 09jun07 was around 1K  bytes.  The 
	new one is around 4 times that size.  My logs clued me in --

partly.  In /var/log/gdm/:0.log was the problem.  An (EE)
	that said I was missing some required module. 

this probably was due to your old xorg.conf having the wrong paths in it. The
errors should be pretty obvious, otherwise using xorgcfg should make a good one
and you can, at least, use it to compare the differences.



Ah, this is the new scriptthat creates xorg.conf, correct?
	A bit easier than typing X -configure and messing with the 
	/root files.  What I don't understand is all the output about

missing modules to stderr.  ...but  ... .


Which modules does it say are missing? I went through a very similar 
situation earlier today, where the X log file reported that mouse and 
kbd modules were not found. A bit of dragging through the ports tree, 
and I found that they are installed as ports in their own right these 
days. I'm not certain why they didn't get installed as part of the huge 
Xorg upgrade as detailed in UPDATING, but installing them by hand made 
the errors go away.


So, the moral of the story is, I suppose, if you're happy that all your 
paths are correct in your xorg.conf, and that you have followed Kris' 
upgrade instructions, try looking for an individual port that installs 
the missing module.


HTH.

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


Re: Configuring dhcp6

2007-06-19 Thread Andrew Falanga

On 6/19/07, Michael K. Smith - Adhost [EMAIL PROTECTED] wrote:
 Could you post your config for reference?  One thing that comes to mind
 is to make sure your mask is set to a /64.

 Regards,

 Mike




Ok, I've got a couple of more questions.  Why does the port not
install the command dhcp6sctl?  This is mentioned in manual pages
like, dhcp6s(8), and so forth but doing a man dhcp6sctl returns that
no manual page exists.  Also, I can't find the command either.  Lastly
how do I generate this dhcp6sctlkey file that is also mentioned in the
manual pages?  On the system I'm running the server on, the syslog
spits out something that the file can't be found, and sure enough it's
not there.  It's supposed to be in /usr/local/etc.

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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread Tim Daneliuk
Bill Campbell wrote:
 On Tue, Jun 19, 2007, Tim Daneliuk wrote:
 I just recently update one 6.2 and one 4.11 machine to the latest stable
 sources and built world.  Now, for some odd reason, I cannot tunnel X
 via ssh from remote clients.  Did the defaults for sshd change lately
 or is there some other culprit?
 
 First make sure that the sshd_config file on the server machine
 has ``X11Forwarding yes'' set.
 

Nope, that's not it. I did set it manually and restarted sshd (even though I 
believe
this is the default).  Still no go...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Configuring dhcp6

2007-06-19 Thread Michael K. Smith - Adhost
 
 
 Ok, I've got a couple of more questions.  Why does the port not
 install the command dhcp6sctl?  This is mentioned in manual pages
 like, dhcp6s(8), and so forth but doing a man dhcp6sctl returns that
 no manual page exists.  Also, I can't find the command either.  Lastly
 how do I generate this dhcp6sctlkey file that is also mentioned in the
 manual pages?  On the system I'm running the server on, the syslog
 spits out something that the file can't be found, and sure enough it's
 not there.  It's supposed to be in /usr/local/etc.
 
 Andy

Did you look in /usr/local/sbin for dhcp6ctl?  Here's the pkg-plist
locations.

etc/dhcp6s.conf.sample
etc/dhcp6c.conf.sample
sbin/dhcp6c
sbin/dhcp6relay
sbin/dhcp6s
sbin/dhcp6ctl

Regards,

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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread Bill Moran
In response to Tim Daneliuk [EMAIL PROTECTED]:

 Bill Campbell wrote:
  On Tue, Jun 19, 2007, Tim Daneliuk wrote:
  I just recently update one 6.2 and one 4.11 machine to the latest stable
  sources and built world.  Now, for some odd reason, I cannot tunnel X
  via ssh from remote clients.  Did the defaults for sshd change lately
  or is there some other culprit?
  
  First make sure that the sshd_config file on the server machine
  has ``X11Forwarding yes'' set.
  
 
 Nope, that's not it. I did set it manually and restarted sshd (even though I 
 believe
 this is the default).  Still no go...

Are you using the -Y option to ssh when you connect?

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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread Tim Daneliuk
Bill Moran wrote:
 In response to Tim Daneliuk [EMAIL PROTECTED]:
 
 Bill Campbell wrote:
 On Tue, Jun 19, 2007, Tim Daneliuk wrote:
 I just recently update one 6.2 and one 4.11 machine to the latest stable
 sources and built world.  Now, for some odd reason, I cannot tunnel X
 via ssh from remote clients.  Did the defaults for sshd change lately
 or is there some other culprit?
 First make sure that the sshd_config file on the server machine
 has ``X11Forwarding yes'' set.

 Nope, that's not it. I did set it manually and restarted sshd (even though I 
 believe
 this is the default).  Still no go...
 
 Are you using the -Y option to ssh when you connect?
 

I've tried both -X and -Y - neither work.  This *used* to work, so I am trying 
to
determine if this is a me problem or if some default changed somewhere in the
source tree that may be causing me grief...

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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Tsu-Fan Cheng

so are there any alternatives I can choose besides gnome?? just feel that
gnome/kde is bloated, xfce4?? thanks!!

TFC

On 6/19/07, Andy Harrison [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Answer: Yes.
Question: Is top posting bad?


On 6/19/07, Tsu-Fan Cheng  wrote:
 then can I install beryl without gnome??

 TFC

Probably, but beryl would not work.  metacity and beryl are just
window managers, they do not provide the rest of the desktop
environment.




- --
Andy Harrison
public key: 0x67518262

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGeDJNNTm8fWdRgmIRAmp+AJ9pZbbjv5+3b/fzY0TYUBbOMXAB+QCfVDnl
Paq4sALeW0Kc8dgjauPCew8=
=7CKB
-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: Interesting Change In ssh Behavior

2007-06-19 Thread Tim Daneliuk
Tim Daneliuk wrote:


 What does ssh'ing with verbose mode show?


 
 I was just doing this as your email arrived.  This looks suspicious (!):
 
  Remote: No xauth program; cannot forward with spoofing
 
 
 This is on an old 4.11 system updated to latest stable.  xauth does indeed 
 exist in:
 
  /usr/X11R6/bin/xauth
 
 
 Very strange ...


And now  the answer:

   doing a 'strings sshd' returns the fact that it thinks (on this latest build 
of 4.11-STABLE) that
   xauth lives in /bin !

   I did an ln -s /usr/X11R6//xauth /bin/xauth  and everythingworks again.

So .. is this a bug or a new feature ?


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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread John Webster


--On Tuesday, June 19, 2007 15:15:25 -0500 Tim Daneliuk [EMAIL PROTECTED] 
wrote:

 Bill Moran wrote:
 In response to Tim Daneliuk [EMAIL PROTECTED]:
 
 Bill Campbell wrote:
 On Tue, Jun 19, 2007, Tim Daneliuk wrote:
 I just recently update one 6.2 and one 4.11 machine to the latest stable
 sources and built world.  Now, for some odd reason, I cannot tunnel X
 via ssh from remote clients.  Did the defaults for sshd change lately
 or is there some other culprit?
 First make sure that the sshd_config file on the server machine
 has ``X11Forwarding yes'' set.
 
 Nope, that's not it. I did set it manually and restarted sshd (even though 
 I believe
 this is the default).  Still no go...
 
 Are you using the -Y option to ssh when you connect?
 
 
 I've tried both -X and -Y - neither work.  This *used* to work, so I am 
 trying to
 determine if this is a me problem or if some default changed somewhere in 
 the
 source tree that may be causing me grief...


What does ssh'ing with verbose mode show?




pgpffg4nlF3cD.pgp
Description: PGP signature


Re: Configuring dhcp6

2007-06-19 Thread Andrew Falanga

On 6/19/07, Michael K. Smith - Adhost [EMAIL PROTECTED] wrote:

 

 Ok, I've got a couple of more questions.  Why does the port not
 install the command dhcp6sctl?  This is mentioned in manual pages
 like, dhcp6s(8), and so forth but doing a man dhcp6sctl returns that
 no manual page exists.  Also, I can't find the command either.  Lastly
 how do I generate this dhcp6sctlkey file that is also mentioned in the
 manual pages?  On the system I'm running the server on, the syslog
 spits out something that the file can't be found, and sure enough it's
 not there.  It's supposed to be in /usr/local/etc.

 Andy

Did you look in /usr/local/sbin for dhcp6ctl?  Here's the pkg-plist
locations.

etc/dhcp6s.conf.sample
etc/dhcp6c.conf.sample
sbin/dhcp6c
sbin/dhcp6relay
sbin/dhcp6s
sbin/dhcp6ctl

Regards,

Mike



Mike,

Very interesting, the name of the binary is different than the manual
pages say it is.  I was looking for dhcp6sctl no dhcp6ctl as is listed
above.  This would explain why I couldn't find it with either find or
whereis.

An excerpt from the manual pages:
dhcp6s(8)
SEE ALSO
dhcp6s.conf(5), dhcp6sctl(8), dhcp6c(8)

So, who maintains the software?  Or is this a ports issue?

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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread Tim Daneliuk
Tim Daneliuk wrote:
 Tim Daneliuk wrote:
 
 
 What does ssh'ing with verbose mode show?


 I was just doing this as your email arrived.  This looks suspicious (!):

  Remote: No xauth program; cannot forward with spoofing


 This is on an old 4.11 system updated to latest stable.  xauth does indeed 
 exist in:

  /usr/X11R6/bin/xauth


 Very strange ...
 
 
 And now  the answer:
 
doing a 'strings sshd' returns the fact that it thinks (on this latest 
 build of 4.11-STABLE) that
xauth lives in /bin !
 
I did an ln -s /usr/X11R6//xauth /bin/xauth  and everythingworks again.
 
 So .. is this a bug or a new feature ?
 

P.S. I realize that 4.x is no longer supported, but at the very least I'd 
expect this to mean that
it wouldn't change any further... hmmm 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Configuring dhcp6

2007-06-19 Thread Michael K. Smith - Adhost
Hello Andy:

 -Original Message-
 From: Andrew Falanga [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 19, 2007 1:39 PM
 To: Michael K. Smith - Adhost
 Cc: freebsd-questions
 Subject: Re: Configuring dhcp6
 
 On 6/19/07, Michael K. Smith - Adhost [EMAIL PROTECTED] wrote:
   
  
   Ok, I've got a couple of more questions.  Why does the port not
   install the command dhcp6sctl?  This is mentioned in manual
pages
   like, dhcp6s(8), and so forth but doing a man dhcp6sctl returns
 that
   no manual page exists.  Also, I can't find the command either.
 Lastly
   how do I generate this dhcp6sctlkey file that is also mentioned in
 the
   manual pages?  On the system I'm running the server on, the syslog
   spits out something that the file can't be found, and sure enough
 it's
   not there.  It's supposed to be in /usr/local/etc.
  
   Andy
 
  Did you look in /usr/local/sbin for dhcp6ctl?  Here's the pkg-plist
  locations.
 
  etc/dhcp6s.conf.sample
  etc/dhcp6c.conf.sample
  sbin/dhcp6c
  sbin/dhcp6relay
  sbin/dhcp6s
  sbin/dhcp6ctl
 
  Regards,
 
  Mike
 
 
 Mike,
 
 Very interesting, the name of the binary is different than the manual
 pages say it is.  I was looking for dhcp6sctl no dhcp6ctl as is listed
 above.  This would explain why I couldn't find it with either find or
 whereis.
 
 An excerpt from the manual pages:
 dhcp6s(8)
 SEE ALSO
  dhcp6s.conf(5), dhcp6sctl(8), dhcp6c(8)
 
 So, who maintains the software?  Or is this a ports issue?
 
 Andy

Here's the port info from the website.

http://www.freebsd.org/cgi/ports.cgi?query=dhcp6stype=all

It includes the maintainer and source information.

Regards,

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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread Tim Daneliuk
John Webster wrote:
 
 --On Tuesday, June 19, 2007 15:15:25 -0500 Tim Daneliuk [EMAIL PROTECTED] 
 wrote:
 
 Bill Moran wrote:
 In response to Tim Daneliuk [EMAIL PROTECTED]:

 Bill Campbell wrote:
 On Tue, Jun 19, 2007, Tim Daneliuk wrote:
 I just recently update one 6.2 and one 4.11 machine to the latest stable
 sources and built world.  Now, for some odd reason, I cannot tunnel X
 via ssh from remote clients.  Did the defaults for sshd change lately
 or is there some other culprit?
 First make sure that the sshd_config file on the server machine
 has ``X11Forwarding yes'' set.

 Nope, that's not it. I did set it manually and restarted sshd (even though 
 I believe
 this is the default).  Still no go...
 Are you using the -Y option to ssh when you connect?

 I've tried both -X and -Y - neither work.  This *used* to work, so I am 
 trying to
 determine if this is a me problem or if some default changed somewhere in 
 the
 source tree that may be causing me grief...
 
 
 What does ssh'ing with verbose mode show?
 
 

I was just doing this as your email arrived.  This looks suspicious (!):

 Remote: No xauth program; cannot forward with spoofing


This is on an old 4.11 system updated to latest stable.  xauth does indeed 
exist in:

 /usr/X11R6/bin/xauth


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


Re: [SOLVED] sendmail local problem...

2007-06-19 Thread Agus

2007/6/19, Agus [EMAIL PROTECTED]:


2007/6/18, Jonathan Horne [EMAIL PROTECTED]:

 On Monday 18 June 2007 09:57:27 Agus wrote:
  Hi all,
 
  I am having trouble with my mailI only want it configured to
 deliver
  locally, which in one of my bsd did it by default...but in this bsd i
 am
  gettint messages deferred...
  Connection refused by himalaya.x.x which is my router. It seems like
  sendmail is trying to relay it to my router...but is local mail
 
  any help will be great...
  my rc.conf doesnt mention sendmail...
  ps shows sendmail running...
  and messages to root for example get stuck in queue with deferred,
 cant
  connect himalaya...
 
  thankss
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 if you do a 'host [yourdomain]', what does it say your MX record
 is.  you need
 this server to be able to find itself as the MX for the domain,
 internally.

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


OKI see where you are going...great tip, thank you very much
As i have dynamic IP i have zoneedit as my DNS and mail
How can i add myself as MX? can i do it in my bsd or i have to change my
zoneedit records??

Thanks again...




OKthanks to Jonathan i started changing config and saw that /etc/hosts
had this:
127.0.0.1 localhost.my-domain.com
192.x.x.x machine.my-domain.com

So when i tried to send mails to localusers i got them stuck in queue with
deferred

Now i changed my /etc/hosts to this:
127.0.0.1 localhost
192.x.x.x machine

and thats it
Now it works
Is this ok?

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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread youshi10

On Tue, 19 Jun 2007, Tsu-Fan Cheng wrote:


so are there any alternatives I can choose besides gnome?? just feel that
gnome/kde is bloated, xfce4?? thanks!!

TFC

On 6/19/07, Andy Harrison [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Answer: Yes.
Question: Is top posting bad?


On 6/19/07, Tsu-Fan Cheng  wrote:
 then can I install beryl without gnome??

 TFC

Probably, but beryl would not work.  metacity and beryl are just
window managers, they do not provide the rest of the desktop
environment.




- --
Andy Harrison
public key: 0x67518262

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGeDJNNTm8fWdRgmIRAmp+AJ9pZbbjv5+3b/fzY0TYUBbOMXAB+QCfVDnl
Paq4sALeW0Kc8dgjauPCew8=
=7CKB
-END PGP SIGNATURE-


Yes -- there's nothing wrong with using XFCE4.4

-Garrett

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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread youshi10

On Tue, 19 Jun 2007, Tim Daneliuk wrote:


Tim Daneliuk wrote:



What does ssh'ing with verbose mode show?




I was just doing this as your email arrived.  This looks suspicious (!):

 Remote: No xauth program; cannot forward with spoofing


This is on an old 4.11 system updated to latest stable.  xauth does indeed 
exist in:

 /usr/X11R6/bin/xauth


Very strange ...



And now  the answer:

  doing a 'strings sshd' returns the fact that it thinks (on this latest build 
of 4.11-STABLE) that
  xauth lives in /bin !

  I did an ln -s /usr/X11R6//xauth /bin/xauth  and everythingworks again.

So .. is this a bug or a new feature ?


The /usr/X11R6 search path was removed recently in CURRENT. Coincidence?

-Garrett

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


Re: [SOLVED] sendmail local problem...

2007-06-19 Thread Robert Huff
Agus writes:

  OKthanks to Jonathan i started changing config and saw that /etc/hosts
  had this:
  127.0.0.1 localhost.my-domain.com
  192.x.x.x machine.my-domain.com
  
  So when i tried to send mails to localusers i got them stuck in queue with
  deferred
  
  Now i changed my /etc/hosts to this:
  127.0.0.1 localhost
  192.x.x.x machine
  
  and thats it
  Now it works
  Is this ok?

As I understand things, the format is:

IP addressfull canonical name alias1 alias2 alias3 ...

e.g.:

192.168.43.9machine.my-domain.com machine gumball print-server-3 ps3



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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Tore Lund
Andy Harrison wrote:
 Probably, but beryl would not work.  metacity and beryl are just
 window managers, they do not provide the rest of the desktop
 environment.

Uh, correct me if I am wrong.  I have not tried Beryl myself.  However,
as I understand it, Beryl would work, as a window manager.  Not everyone
needs or wants a desktop.
-- 
Tore

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


Re: Interesting Change In ssh Behavior

2007-06-19 Thread Tim Daneliuk
[EMAIL PROTECTED] wrote:
 On Tue, 19 Jun 2007, Tim Daneliuk wrote:
 
 Tim Daneliuk wrote:


 What does ssh'ing with verbose mode show?



 I was just doing this as your email arrived.  This looks suspicious (!):

  Remote: No xauth program; cannot forward with spoofing


 This is on an old 4.11 system updated to latest stable.  xauth does
 indeed exist in:

  /usr/X11R6/bin/xauth


 Very strange ...


 And now  the answer:

   doing a 'strings sshd' returns the fact that it thinks (on this
 latest build of 4.11-STABLE) that
   xauth lives in /bin !

   I did an ln -s /usr/X11R6//xauth /bin/xauth  and everythingworks
 again.

 So .. is this a bug or a new feature ?
 
 The /usr/X11R6 search path was removed recently in CURRENT. Coincidence?
 
 -Garrett

Yabut this is 4.x - nothing is supposed to be changing ... or so I thought...

Besides, on 6.x with xorg 7.2, the new path is in /usr/local.

I dunno how it ended up looking in /bin.  I've written up a PR, but given the
unsupported status of 4.x, I doubt anyone will bother, especially given the 
simple
workaround...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Andy Harrison

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 6/19/07, Tore Lund  wrote:

Uh, correct me if I am wrong.  I have not tried Beryl myself.  However,
as I understand it, Beryl would work, as a window manager.  Not everyone
needs or wants a desktop.


Yes, you could.  X will do whatever it's told.  I once found it
amusing to run tkdesk as my window manager, for example.  But it's
really not something I would advise to someone not experienced in
running X without a desktop environment.  Since beryl doesn't even
provide a menu to launch apps, nor does it default to starting a term
window, an inexperienced user probably would find themselves quickly
lost.


- --
Andy Harrison
public key: 0x67518262
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFGeGW1NTm8fWdRgmIRAomBAJ4r7Bo5eB7sS15440ysJ+IttvqIQgCg6/yR
BR/pcTqlwQ0RJLw/jloc89s=
=52nA
-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]


Openwebmail / Perl / SpeedyCGI ERROR (HELP !!)

2007-06-19 Thread Robert Davison
I have (had!) a working installation of Openwebmail on FreeBSD 6.2, that was 
untill I ran a portupgrade. When logging into openwebmail I now get a HTTP 500 
Internal Server Error.

My /var/log/http-error.log shows the following:

YOU HAVN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET!
FIX YOUR KERNEL, PUT C WRAPPER AROUND THIS SCRIPT, OR USE -u AND UNDUMP
speedy_backend[32940]: perl_parse error
speedy[32940]: Cannot spawn backend process
Premature end of script headers: openwebmail.pl

Can anyone explain what is going on.

I've tried recompiling perl (with suidperl enabled and disabled) recompiling 
speedyCGI and also openwebmail, but still get the above error.

I'm starting to pull out what little hair I have left.
   
-
 Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for 
your freeaccount today.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Byron Campbell
On Monday 18 June 2007 7:52:55 pm Mark Kirkwood wrote:
 Byron Campbell wrote:
  On Sunday 17 June 2007 10:23:19 pm Mark Kirkwood wrote:
  AFAICS the symbol is defined in:
 
  /usr/local/lib/xorg/modules/drivers/ati_drv.so
 
  e.g:
 
  $ nm ati_drv.so|grep ATIMemoryTypeNames_88800CX
  b5c0 D ATIMemoryTypeNames_88800CX
 
  What does it show on your system (I'm wondering if your
  ati drivers have not been upgraded properly).
 
  Ah, good point. The output here is:
 
  00e940 D ATIMemoryTypeNames_88800CX

 Well - seems to be defined there hmmm. not sure why you
 are getting 'undefined symbol' in atimisc_drv.so in that
 case. I am wondering if the problem is tied up with amd64
 specifically - hopefully someone else will have some ideas
 :-).

 In the meantime you could hack your xorg.conf to use 'vesa'
 driver and see if you can actually startup X - try adding
 modeline settings in there for your monitor if you still
 get 'out of range' (tho I must say I've *never* needed to
 put them in with Xorg...).

 Also worth trying might be borrowing a DVI cable (assuming
 your monitor has a DVI input) and seeing if X works with it
 connected instead of the VGA one.

 Cheers

 Mark

Thanks for the input Mark. I did a make deinstall / reinstall 
of both xorg-7.2 and xorg-drivers-7.2. 

Xorg -configure no longer reports the undefind symbol 
but I still get a black screen when testing the config, 
with out of range OSD when using a VGA to monitor cable, and 
just a black screen (no OSD message) with the DVI cable. 
Tried a second monitor also, same results. And under these 
conditions I can't Alt F2 etc. to console, but must hit 
the reset for a dirty reboot.

Xorg -configure now reports:

(++) Using config file: /root/xorg.conf.new
(WW) RADEON: No matching Device section for instance (BusID 
PCI:1:0:1) found
(**) RADEON(0): RADEONPreInit

Manually doing the config by running xorgcfg -textmode gives a 
different BusID in the xorg.conf file -- BusID PCI:1:0:0 

Andy's xorg.conf is identical to mine,  except for the Horz / 
Vert monitor scan frequencies of course. And I've tried the 
vesa driver with the same blank / black screen results.

I'm also getting a sporadic stray irq7 kernel message from 
time to time. Something weird is going on, huh?

Booted Knoppix-Live and it runs just fine. Copied its 
xorg.conf detected mode lines into FreeBSD xorg.conf but 
still no luck.

Thanks Andy, Mark for your help. But it looks like it is time 
for plan #2; Reinstall from scratch but no X, cvsup ports to 
latest and then do a fresh install of xorg-7.2. Maybe this 
weekend's project...

Best regards,
Byron 

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


Re: problem with sed substitution

2007-06-19 Thread Frank Shute
On Tue, Jun 19, 2007 at 06:58:17PM +0200, Olivier Regnier wrote:

 Hi everyone,
 
 I try to use sed with /etc/gettytab file. I would like to replace this 
 text :
 \r\n%s\%m ($h) (%t)\r\n\r by Hello world.
 I tested with this command :
 % sed -i.old -e 's/\r\n%s\%m ($h) (%t)\r\n\r/Hello world/'
 but that doesn't work at all.
 Can you help me please ?
 
 Thank you :)
 

You have to backslash escape the characters \()% 

So eg:

cat /etc/gettytab | \
sed -E 's/\\r\\n\%s\/\%m\ \(\%h\)\ \(\%t\)\\r\\n\\r/Hello world/'  ~/new_getty

PS: I checked it on my gettytab which looks like it's a bit different
to yours.

BTW, re_format(7) is worth a look.

-- 

 Frank 


echo f r a n k @ e s p e r a n c e - l i n u x . c o . u k | sed 's/ //g'

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


Re: x11/xorg update.

2007-06-19 Thread Norberto Meijome
On Tue, 19 Jun 2007 09:44:23 -0700
Gary Kline [EMAIL PROTECTED] wrote:

   Ah, this is the new scriptthat creates xorg.conf, correct?

Hi Gary,

man script 
(not related with X)

AFAIK, xorgcfg has been around since Xorg has existed. and before that, 
xfree86cfg (which has existed since 1995 at least). btw, if you replace 'cfg' 
with 'conf' you get a text-based version of the same tool, in case the 
autodetect doesnt work.

   A bit easier than typing X -configure and messing with the 
   /root files.  What I don't understand is all the output about
   missing modules to stderr.  ...but  ... .

It would do it if you start X by hand (as opposed to start it via /etc/ttys 
with XDM or via gdm/kdm)...it would put all the info in /var/log/Xorg.0.log too.

_
{Beto|Norberto|Numard} Meijome

Any intelligent fool can make things bigger and more complex... 
 It takes a touch of genius - and a lot of courage to move in the opposite 
direction.
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Mark Kirkwood

Byron Campbell wrote:


Xorg -configure now reports:

(++) Using config file: /root/xorg.conf.new
(WW) RADEON: No matching Device section for instance (BusID 
PCI:1:0:1) found

(**) RADEON(0): RADEONPreInit

Manually doing the config by running xorgcfg -textmode gives a 
different BusID in the xorg.conf file -- BusID PCI:1:0:0 



FWIW on the PCI busids:

PCI:1:0:0 is the primary port of your card, PCI:1:0:1 is the secondary - 
the warning is just because 'Xorg -configure' does not create a setup 
for dual monitors.


For the rest, well done on getting rid of the undefined symbols... shame 
it still does not work. Good luck for the reinstall!


Cheers

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


Re: FreeBSD 3D Desktop (XGL/AIGLX/...) how to start?

2007-06-19 Thread Khairil Yusof
On Tue, 2007-06-19 at 12:03 -0400, Tsu-Fan Cheng wrote:
 hi,
   i have a silly question about beryl/compiz.. what is the
 relationship between beryl and say, gnome?? 
 thanks

Beryl/Compiz are window managers. They control position, size,
minimised, maximised, virtual desktops etc. 

Window managers are one part of the Gnome Desktop, which includes other
parts like the file manager (which manages the folders on your desktop),
the control panel, basic applications like gedit etc.

Currently the default window manager is Metacity which is 2D, by using
Beryl/Compiz you are replacing this part.

Hope this answers your question.

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


Re: x11/xorg update.

2007-06-19 Thread Gary Kline
On Tue, Jun 19, 2007 at 08:33:07PM +0100, Daniel Bye wrote:
 Gary Kline wrote:
 On Tue, Jun 19, 2007 at 11:17:43PM +1000, Norberto Meijome wrote:
 On Mon, 18 Jun 2007 23:50:38 -0700
 Gary Kline [EMAIL PROTECTED] wrote:
 
The xorg.conf I created on 09jun07 was around 1K  bytes.  The 
new one is around 4 times that size.  My logs clued me in --
partly.  In /var/log/gdm/:0.log was the problem.  An (EE)
that said I was missing some required module. 
 this probably was due to your old xorg.conf having the wrong paths in it. 
 The
 errors should be pretty obvious, otherwise using xorgcfg should make a 
 good one
 and you can, at least, use it to compare the differences.
 
 
  Ah, this is the new scriptthat creates xorg.conf, correct?
  A bit easier than typing X -configure and messing with the 
  /root files.  What I don't understand is all the output about
  missing modules to stderr.  ...but  ... .
 
 Which modules does it say are missing? I went through a very similar 
 situation earlier today, where the X log file reported that mouse and 
 kbd modules were not found.


Yes, the err mentioned something about the mouse as well. I 
figured the file would stay in /var/log/dgm/ so I didn't save.  
I had planned to go back and grab the error output and re-create
the stderr's from the   X -configure.  But when everything had 
been portupgraded (-aP),  everything Just Worked.  The error file
was missing, and I launched full-tilt into getting thngs back up.


 A bit of dragging through the ports tree, 
 and I found that they are installed as ports in their own right these 
 days. I'm not certain why they didn't get installed as part of the huge 
 Xorg upgrade as detailed in UPDATING, but installing them by hand made 
 the errors go away.

For me, I had to re portupgrade -aP at least four times.  Maybe
last night was the 5th.  And the symlink script took several runs
before tehrer was in /usr, X11R6 - /usr/local  ...  
 
 So, the moral of the story is, I suppose, if you're happy that all your 
 paths are correct in your xorg.conf, and that you have followed Kris' 
 upgrade instructions, try looking for an individual port that installs 
 the missing module.

I will run xorgcfg (sp?) and another X -configure in, oh, 30
years.  Next time I powercycle the new server :-)  No missing 
modules tihs time, thankfully.

We've had it relatively easy, as users, I think.  I's beeen on
the other side, so hat's off to the ports guys.

gary

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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: x11/xorg update.

2007-06-19 Thread Andriy Babiy
  Gary Kline [EMAIL PROTECTED] wrote:
  The xorg.conf I created on 09jun07 was around 1K  bytes.  The
  new one is around 4 times that size.  My logs clued me in --
  partly.  In /var/log/gdm/:0.log was the problem.  An (EE)
  that said I was missing some required module.
 
  this probably was due to your old xorg.conf having the wrong paths in
  it. The errors should be pretty obvious, otherwise using xorgcfg
  should make a good one and you can, at least, use it to compare the
  differences.
 
    Ah, this is the new scriptthat creates xorg.conf, correct?
    A bit easier than typing X -configure and messing with the
    /root files.  What I don't understand is all the output about
    missing modules to stderr.  ...but  ... .

 Which modules does it say are missing? I went through a very similar
 situation earlier today, where the X log file reported that mouse and
 kbd modules were not found. A bit of dragging through the ports tree,
 and I found that they are installed as ports in their own right these
 days. I'm not certain why they didn't get installed as part of the huge
 Xorg upgrade as detailed in UPDATING, but installing them by hand made
 the errors go away.

 So, the moral of the story is, I suppose, if you're happy that all your
 paths are correct in your xorg.conf, and that you have followed Kris'
 upgrade instructions, try looking for an individual port that installs
 the missing module.

I had the same problem. But it was my mistake. Are you sure you had 
x11/xorg meta port installed before you started upgrading xorg? I didn't. 
After I got into trouble, I installed the meta port, so it added all the 
modules xorg was missing, and it fixed everything.

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


Re: x11/xorg update.

2007-06-19 Thread Gary Kline
On Wed, Jun 20, 2007 at 12:01:56PM +1000, Norberto Meijome wrote:
 On Tue, 19 Jun 2007 09:44:23 -0700
 Gary Kline [EMAIL PROTECTED] wrote:
 
  Ah, this is the new scriptthat creates xorg.conf, correct?
 
 Hi Gary,
 
 man script 
 (not related with X)


Right; did use it last time.
But them I fergot i was in script; finaaly I ^D out of it, then I
forgot what I'd named it... .
 
 AFAIK, xorgcfg has been around since Xorg has existed. and before that, 
 xfree86cfg (which has existed since 1995 at least). btw, if you replace 'cfg' 
 with 'conf' you get a text-based version of the same tool, in case the 
 autodetect doesnt work.
 
  A bit easier than typing X -configure and messing with the 
  /root files.  What I don't understand is all the output about
  missing modules to stderr.  ...but  ... .
 
 It would do it if you start X by hand (as opposed to start it via /etc/ttys 
 with XDM or via gdm/kdm)...it would put all the info in /var/log/Xorg.0.log 
 too.
 

Ok, that's why  nothing was in X.org.0.log, then last night.  I
kept trying the X disp manager or kdm, or gdm.  


I remrmber configuring X back in v2.0.5 ith xfree86conf.  and *cfg when
it'd work.
Yet another hassle last night was settingthe hardware of this Hitachi. 8
or 10 buttons and two hours of mucking-with, i'm pretty close.   There used
to be an GUI program to fine tune your CRT.  Sometime RSN I'm going to
buy an LCD display and lighten my carbon footprint by 50 tons/year!

(*mumble*)



 _
 {Beto|Norberto|Numard} Meijome
 
 Any intelligent fool can make things bigger and more complex... 
  It takes a touch of genius - and a lot of courage to move in the opposite 
 direction.
   Albert Einstein
 
 I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
 Reading disclaimers makes you go blind. Writing them is worse. You have been 
 Warned.

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: Missing /dev/agpgart

2007-06-19 Thread Norberto Meijome
On Tue, 19 Jun 2007 17:44:12 +0200
Alberto Rizzi [EMAIL PROTECTED] wrote:

 I have a motherboard with a via PT880 and an agp video card Radeon 9600XT
 
 I'm using 6-STABLE with device agp in the kernel configuration file
 but the system doesn't create /dev/agpgart device

Hi Alberto,
have you loaded radeon.ko ?

_
{Beto|Norberto|Numard} Meijome

Religion is what the common people see als true, the wise see as false, and 
the rulers see as useful.
  Seneca

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X fails after upgrade to xorg-7.2; FreeBSD AMD64 w/ Radeon 9600 Pro

2007-06-19 Thread Andy Fawcett
On Wednesday 20 June 2007 05:30:19 Mark Kirkwood wrote:
 Byron Campbell wrote:
  Xorg -configure now reports:
 
  (++) Using config file: /root/xorg.conf.new
  (WW) RADEON: No matching Device section for instance (BusID
  PCI:1:0:1) found
  (**) RADEON(0): RADEONPreInit
 
  Manually doing the config by running xorgcfg -textmode gives a
  different BusID in the xorg.conf file -- BusID PCI:1:0:0

 FWIW on the PCI busids:

 PCI:1:0:0 is the primary port of your card, PCI:1:0:1 is the secondary -
 the warning is just because 'Xorg -configure' does not create a setup
 for dual monitors.

 For the rest, well done on getting rid of the undefined symbols... shame
 it still does not work. Good luck for the reinstall!

One thing that *might* make a difference could be the drm stuff. I have it 
built into my kernel, you might be (auto)loading it as modules.

Relevant lines from my kernel config:

device  radeondrm
device  drm

Could be worth trying, if you don't already have it.

-- 
Andy Fawcett | [EMAIL PROTECTED]
 | [EMAIL PROTECTED]
In an open world without walls and fences,  | [EMAIL PROTECTED]
  we wouldn't need Windows and Gates.  -- anon  | [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Multi Monitors (More Than Two)

2007-06-19 Thread Adam St. George

Will FreeBSD be able to have a setup for 16 monitors?  Id love to finaly,
and fully switch to FreeBSD from Microsoft, but two things hold me back.
1. Multi monitors
2. Using/configuring Wine
If I can have a setup with 16 monitors, are there any threads, or websites
which could help me to do so?  I will be using Quadro Nvidia cards (4).

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: Multi Monitors (More Than Two)

2007-06-19 Thread Garrett Cooper

Adam St. George wrote:

Will FreeBSD be able to have a setup for 16 monitors?  Id love to finaly,
and fully switch to FreeBSD from Microsoft, but two things hold me back.
1. Multi monitors
2. Using/configuring Wine
If I can have a setup with 16 monitors, are there any threads, or 
websites

which could help me to do so?  I will be using Quadro Nvidia cards (4).

Thanks in advance.


1. SLI support and Crossfire support don't exist in Unix. How can you 
possibly setup 16 monitors? Even with splitters, it's not possible 
(unless you use PCI cards).

2. Wine has plenty of Howto's all over the net.

   Wondering though -- is this being done for a spanned TV display/LCD 
display in a restaurant or something?


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


Re: Multi Monitors (More Than Two)

2007-06-19 Thread Andrew Pantyukhin

On 6/20/07, Garrett Cooper [EMAIL PROTECTED] wrote:

Adam St. George wrote:
 Will FreeBSD be able to have a setup for 16 monitors?  Id love to finaly,
 and fully switch to FreeBSD from Microsoft, but two things hold me back.
 1. Multi monitors
 2. Using/configuring Wine
 If I can have a setup with 16 monitors, are there any threads, or
 websites
 which could help me to do so?  I will be using Quadro Nvidia cards (4).

 Thanks in advance.

1. SLI support and Crossfire support don't exist in Unix. How can you
possibly setup 16 monitors? Even with splitters, it's not possible
(unless you use PCI cards).


I'm not sure about SLI and Crossfire, but I'm sure that
Unix doesn't really need them to support that many monitors.
Whether you use one Xorg instance or multiple ones, you can
certainly use 16 monitors. The only issue could be nvidia's
binary drivers, but I hope they support their Quadro's.

Search for words like Xinerama and multiheading


2. Wine has plenty of Howto's all over the net.


Linux has better support for wine, but FreeBSD is not far
behind. E.g. many people are running 3D games under wine
in FreeBSD. Internet Explorer is happily running on PC-
BSD, which means it won't have much trouble on FreeBSD.

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