Re: dhcpd related issue - not giving up

2009-11-02 Thread Dánielisz László
Sorry, I misspell it, (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent 
[ethernet] - actually this is my rl1 interface on BSD





From: Liontaur liont...@gmail.com
To: freebsd-questions@freebsd.org
Sent: Mon, November 2, 2009 3:24:10 AM
Subject: Re: dhcpd related issue - not giving up

2009/11/1 Dánielisz László laszlo_daniel...@yahoo.com

 I also though that maybe the rl NIC can be wrong, I will try another
 branded NIC as soon as it will be possible, until than I looked for arp an
 socksat right after dhcp request, these are my results:
 mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1
 no answer

 bsd# tcpdump -i rl1 -n port 67 or port 68
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
 19:14:38.604545 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request
 from 00:23:32:dc:72:19, length 250
 19:24:06.600131 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request
 from 00:23:32:dc:72:19, length 250

 bsd# arp -a
 ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] - this is my
 MacBook
 ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] - this is
 the layer 3 switch


So your switch and your rl1 interface have the same IP? That can't be good,
can't see why it would affect things when the switch isn't in action though.

# sockstat -4l | grep dhcp
 dhcpddhcpd  4747  7  udp4   *:67  *:*

 mac# arp -a
 public_ip.pool.hdsnet.hu (public_ip) at 4a:55:88:7c:44:4f on tap0
 ifscope [ethernet]
 bsd (192.168.1.1) at 0:13:8f:86:2f:64 on en1 ifscope [ethernet]



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

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




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


Re: dhcpd related issue - not giving up

2009-11-02 Thread Dánielisz László
I tried about 10 conf, here is the actual one:

# cat /usr/local/etc/dhcpd.conf
authoritative;
ddns-update-style none;

subnet 192.168.1.0 netmask 255.255.255.0 {
  option routers 192.168.1.1;


pool {
   option domain-name-servers cns01.hdsnet.hu;
   max-lease-time 300;
   range 192.168.1.200 192.168.1.253;
   allow unknown-clients;
 }
}








From: Tim Judd taj...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Mon, November 2, 2009 6:03:51 AM
Subject: Re: dhcpd related issue - not giving up

On 11/1/09, Dánielisz László laszlo_daniel...@yahoo.com wrote:
 It's the only one on the network.

Doesn't mean that it will answer.

I saw your previous posts which has the authoritative declaration.

Authoritative (from my experience) means that if a client had
previously gotten an address, a non-authoritative server won't correct
the client's lease.  Think of a roaming laptop or a PDA with wifi.

An authoritative server will say No, that won't work, then the
client will release any knowledge of the previous IP, and search for
new dhcp servers.



Since you weren't getting leases when your firewall was disabled, I
would lean toward a misconfigured dhcpd.conf.  I don't think I've seen
in the same post:
  ifconfig rl1
  cat /usr/local/etc/dhcpd.conf


Please provide these.  Thanks.

 
 From: Tim Judd taj...@gmail.com
 To: Dánielisz László laszlo_daniel...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 Sent: Sun, November 1, 2009 5:41:58 PM
 Subject: Re: dhcpd related issue - not giving up

 snip

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








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


LinkedIn Messages, 11/02/2009

2009-11-02 Thread LinkedIn Communication
LinkedIn





 REMINDERS: 
Invitation Reminders: 
 * View Invitation from lokesh bevara 
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1518943135_2/39vdjcNcPgVe34RckALqnpPbOYWrSlI/svi/
 





PENDING MESSAGES:

There are a total of 66 messages awaiting your response. Visit your InBox now: 
http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/inb/


--

Don't want to receive email notifications? Adjust your message settings:
https://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/prv/

LinkedIn values your privacy. At no time has LinkedIn made your email address 
available to any other LinkedIn user without your permission. (c) 2009, 
LinkedIn Corporation.

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


command to dump entire server config

2009-11-02 Thread Mark Powell

Hi,
  I seem to recall a command was added recently to FreeBSD which provides 
a dump of the entire server config, in one go.

  A google for this yields nothing.
  Anyone tell me this timesaving command?
  Cheers.

--
Mark Powell - UNIX System Administrator - The University of Salford
Information  Learning Services, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 6843  Fax: +44 161 295 6624  www.pgp.com for PGP key
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dhcpd related issue - not giving up

2009-11-02 Thread Ian Smith
In freebsd-questions Digest, Vol 283, Issue 2, Message: 4
On Mon, 2 Nov 2009 02:04:31 -0800 (PST)
Dánielisz László laszlo_daniel...@yahoo.com wrote:

  Sorry, I misspell it, (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 
  permanent [ethernet] - actually this is my rl1 interface on BSD

Ok.  Chomping heavily .. I've just reviewed this thread through four 
digests, rather a top-posting, multi-tail-quoting mess.  Please trim 
quotes to the necessary then add your response; we've seen the rest.

   mac# $ dhcping -h 00:23:32:dc:72:19 -s 192.168.1.1
   no answer
  
   bsd# tcpdump -i rl1 -n port 67 or port 68
   tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
   listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
   19:14:38.604545 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request
   from 00:23:32:dc:72:19, length 250
   19:24:06.600131 IP 192.168.1.234.68  192.168.1.1.67: BOOTP/DHCP, Request
   from 00:23:32:dc:72:19, length 250

You could perhaps usefully add 'or arp' to that tcpdump.

Like your earlier tcpdump; the Mac's asking and 192.168.1.1 is not 
responding.  I don't think anyone's asked yet what you get from:

  # netstat -finet -an | grep 67

ie, is dhcpd really listening?  something like ..
udp4   0  0  192.168.1.1.67*.*

If not, there's your problem .. if so, looks like your firewall might be 
blocking those packets from reaching 192.168.1.1 (OR its responses back)

If dhcpd is running, even if it's misconfigured, I'd expect to see some 
response if it's receiving requests.

   bsd# arp -a
   ? (192.168.1.234) at 00:23:6c:86:41:d9 on rl1 [ethernet] - this is my
   MacBook
   ? (192.168.1.1) at 00:13:8f:86:2f:64 on rl1 permanent [ethernet] - this is
   the layer 3 switch
  
  
  So your switch and your rl1 interface have the same IP? That can't be good,
  can't see why it would affect things when the switch isn't in action though.
  
  # sockstat -4l | grep dhcp
   dhcpddhcpd  4747  7  udp4   *:67  *:*

Yeah sockstat's always useful too; both it and netstat -a will show udp 
port 67 listening if dhcpd's running (right).

From a later message ..

  pool {
 option domain-name-servers cns01.hdsnet.hu;
 max-lease-time 300;
 range 192.168.1.200 192.168.1.253;
 allow unknown-clients;
   }
  }

.. it seems from the arp -a above that the Mac already has 192.168.1.234 
which is within that range?  However, concentrate on getting as far as 
seeing return responses from dhcpd on port 67 to clients with tcpdump, 
with your firewall momentarily disabled if need be ..

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

RE: issues with email migration

2009-11-02 Thread David Patton
This morning, I tried adding this to rc.conf and moved my link for /www from
local to the nfs .

rpc_lockd_enable=YES
rpc_statd_enable=YES

and I experienced the same issues I had before. It would seem that postfix
and other assorted mail programs have no issue with accessing /mail on an
nfs share but everything residing in /www don't seem to like it at all.

I have no choice but to leave this as it is and set up a similar arrangement
on my new server.

Thank you to everyone who responded.

-Original Message-
From: Tim Judd [mailto:taj...@gmail.com] 
Sent: Saturday, October 31, 2009 10:51 AM
To: da...@farmington.k12.mo.us
Cc: freebsd-questions@freebsd.org
Subject: Re: issues with email migration

On 10/31/09, da...@farmington.k12.mo.us da...@farmington.k12.mo.us wrote:
 only one issue with that. The server in question is an emc clereon(sorry
 not at work to look at the specifics) and at this point the only access I
 have to it is a web interface and am unable to access a command line.

 Also a stupid question my plan is to set up another server to access the
 nfs share to provide better email service.

 would this impact it in any way?


snip replies

Not if file locking and the daemons take care of everything like they
should.  Remember, file locking is mandatory for some things,
especially mbox files, password files, or anything else that requires
exclusive access to a file.

If two systems try to access the same locked file, the 2nd will be
told it won't be able to get an exclusive lock, because the 1st
already has it locked.

You're on the right track.  Keep it going.





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


Re: command to dump entire server config

2009-11-02 Thread APseudoUtopia
On Mon, Nov 2, 2009 at 7:25 AM, Mark Powell m.s.pow...@salford.ac.uk wrote:
 Hi,
  I seem to recall a command was added recently to FreeBSD which provides a
 dump of the entire server config, in one go.
  A google for this yields nothing.
  Anyone tell me this timesaving command?
  Cheers.


Maybe dump(8) is what you're looking for? I don't know of any command
to dump the configuration of a server. Although, it still may exist, I
just don't know of it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: command to dump entire server config

2009-11-02 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Powell wrote:
 Hi,
   I seem to recall a command was added recently to FreeBSD which
 provides a dump of the entire server config, in one go.
   A google for this yields nothing.
   Anyone tell me this timesaving command?
   Cheers.
 

Hi Mark,

Check out the SysInfo script - I think that's what you saw:
http://bit.ly/bkHb0

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK7uzp0sRouByUApARAlAcAKCFLBndE1TEird0G10cIQyr2dvQPgCfVsLf
lCvl45mct1ZTdxrDuuh6K0E=
=7zia
-END PGP SIGNATURE-

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


Re: command to dump entire server config

2009-11-02 Thread Mark Powell

On Mon, 2 Nov 2009, APseudoUtopia wrote:


On Mon, Nov 2, 2009 at 7:25 AM, Mark Powell m.s.pow...@salford.ac.uk wrote:

Hi,
 I seem to recall a command was added recently to FreeBSD which provides a
dump of the entire server config, in one go.
 A google for this yields nothing.
 Anyone tell me this timesaving command?
 Cheers.


Maybe dump(8) is what you're looking for? I don't know of any command
to dump the configuration of a server. Although, it still may exist, I
just don't know of it.


  Thanks for the response.
  Why is it that you always discover something just after posting? :(
  It was the port sysutils/sysinfo that I was thinking of.
  Apologies for the noise.
  Cheers.

--
Mark Powell - UNIX System Administrator - The University of Salford
Information  Learning Services, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 6843  Fax: +44 161 295 6624  www.pgp.com for PGP key___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: command to dump entire server config

2009-11-02 Thread Mark Powell

On Mon, 2 Nov 2009, Greg Larkin wrote:

Check out the SysInfo script - I think that's what you saw: 
http://bit.ly/bkHb0


That's the fella.
  Cheers.

--
Mark Powell - UNIX System Administrator - The University of Salford
Information  Learning Services, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 6843  Fax: +44 161 295 6624  www.pgp.com for PGP key
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Eclipse Java 1.5

2009-11-02 Thread Alex Huth
Hi!

I want to change my laptop system from Debian to FreeBSD. After installing 8.0
RC2 in a virtual machine i have tried to install eclipse and changed the Java
version in the makefile to 1.5, but it still want to install the 1.6 jdk.

I need the 1.5 version for several reasons, for example VPN account.

How can i solve the problem? Is java 1.5 also available if i install it on
AMD64? On debian this is a Problem.

Thx

Alex

Never be afraid to try something new.
Remember, amateurs built the ark.
Professionals built the Titanic. — unknow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Eclipse Java 1.5

2009-11-02 Thread Adam Vande More
On Mon, Nov 2, 2009 at 9:37 AM, Alex Huth a.h...@tmr.net wrote:

 Hi!

 I want to change my laptop system from Debian to FreeBSD. After installing
 8.0
 RC2 in a virtual machine i have tried to install eclipse and changed the
 Java
 version in the makefile to 1.5, but it still want to install the 1.6 jdk.

 I need the 1.5 version for several reasons, for example VPN account.

 How can i solve the problem? Is java 1.5 also available if i install it on
 AMD64? On debian this is a Problem.

 Thx

 Alex

 Never be afraid to try something new.
 Remember, amateurs built the ark.
 Professionals built the Titanic. — unknow
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


Does /usr/ports/java/jdk15 not work for you?

Can you not install both and tell eclipse to use the 15 jdk?

You can try editing /usr/ports/java/eclipse/Makefile to JAVA_VERSION=   1.5
but I have no idea if that will work.

jdk15 does work on amd64

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


Re: issues with email migration

2009-11-02 Thread Tim Judd
On 11/2/09, David Patton da...@farmington.k12.mo.us wrote:
 This morning, I tried adding this to rc.conf and moved my link for /www from
 local to the nfs .

 rpc_lockd_enable=YES
 rpc_statd_enable=YES

Adding them alone just tells the system at startup to start these.



 and I experienced the same issues I had before. It would seem that postfix
 and other assorted mail programs have no issue with accessing /mail on an
 nfs share but everything residing in /www don't seem to like it at all.


Did you start statd and lockd by hand before trying the /www again?



 I have no choice but to leave this as it is and set up a similar arrangement
 on my new server.

 Thank you to everyone who responded.

 -Original Message-
 From: Tim Judd [mailto:taj...@gmail.com]
 Sent: Saturday, October 31, 2009 10:51 AM
 To: da...@farmington.k12.mo.us
 Cc: freebsd-questions@freebsd.org
 Subject: Re: issues with email migration

 On 10/31/09, da...@farmington.k12.mo.us da...@farmington.k12.mo.us wrote:
 only one issue with that. The server in question is an emc clereon(sorry
 not at work to look at the specifics) and at this point the only access I
 have to it is a web interface and am unable to access a command line.

 Also a stupid question my plan is to set up another server to access the
 nfs share to provide better email service.

 would this impact it in any way?


 snip replies

 Not if file locking and the daemons take care of everything like they
 should.  Remember, file locking is mandatory for some things,
 especially mbox files, password files, or anything else that requires
 exclusive access to a file.

 If two systems try to access the same locked file, the 2nd will be
 told it won't be able to get an exclusive lock, because the 1st
 already has it locked.

 You're on the right track.  Keep it going.






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


Re: dhcpd related issue - not giving up

2009-11-02 Thread Tim Judd
On 11/2/09, Dánielisz László laszlo_daniel...@yahoo.com wrote:
 I tried about 10 conf, here is the actual one:

 # cat /usr/local/etc/dhcpd.conf
 authoritative;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.1;


 pool {
option domain-name-servers cns01.hdsnet.hu;
max-lease-time 300;
range 192.168.1.200 192.168.1.253;
allow unknown-clients;
  }
 }


It looks awkward...
  I don't recall ever seeing a pool inside a subnet declaration like this.
A subnet declaration can use all the declaration in your pool.

Pure curiousity, because I am not looking up the config syntax..
comment out (or delete) the pool { and } lines only.  which bring the
statements to the subnet clause.


restart dhcpd, and retry

IIRC, pools are only useful if you have two pool definitions.

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


RE: issues with email migration

2009-11-02 Thread David Patton
Yes sir, I added them to the rc.conf, changed the links to point where I
wanted them and rebooted, same issues.

I cant waste anymore time with what I wanted to do. I will leave /mail on
the nfs share and just build a new server. I have 2 days and hopefully I
will keep my job.

Wish me luck...



-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Tim Judd
Sent: Monday, November 02, 2009 10:10 AM
To: David Patton
Cc: freebsd-questions@freebsd.org
Subject: Re: issues with email migration

On 11/2/09, David Patton da...@farmington.k12.mo.us wrote:
 This morning, I tried adding this to rc.conf and moved my link for /www
from
 local to the nfs .

 rpc_lockd_enable=YES
 rpc_statd_enable=YES

Adding them alone just tells the system at startup to start
these.



 and I experienced the same issues I had before. It would seem that postfix
 and other assorted mail programs have no issue with accessing /mail on an
 nfs share but everything residing in /www don't seem to like it at all.


Did you start statd and lockd by hand before trying the /www again?



 I have no choice but to leave this as it is and set up a similar
arrangement
 on my new server.

 Thank you to everyone who responded.

 -Original Message-
 From: Tim Judd [mailto:taj...@gmail.com]
 Sent: Saturday, October 31, 2009 10:51 AM
 To: da...@farmington.k12.mo.us
 Cc: freebsd-questions@freebsd.org
 Subject: Re: issues with email migration

 On 10/31/09, da...@farmington.k12.mo.us da...@farmington.k12.mo.us
wrote:
 only one issue with that. The server in question is an emc clereon(sorry
 not at work to look at the specifics) and at this point the only access I
 have to it is a web interface and am unable to access a command line.

 Also a stupid question my plan is to set up another server to access the
 nfs share to provide better email service.

 would this impact it in any way?


 snip replies

 Not if file locking and the daemons take care of everything like they
 should.  Remember, file locking is mandatory for some things,
 especially mbox files, password files, or anything else that requires
 exclusive access to a file.

 If two systems try to access the same locked file, the 2nd will be
 told it won't be able to get an exclusive lock, because the 1st
 already has it locked.

 You're on the right track.  Keep it going.






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





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


anybody manage to get Xorg to work with LG flat panel W2361

2009-11-02 Thread PJ
I have posted to Xorg, but I find this list most reassuring and
competent ;-)
I have searched the web, followed the instructions in the manual, the
man pages and suggestions on the web.
Nothing, nada. And I see there is a lot of frustration out there and not
solutions discernible.
I can post the config files...
If anyone has any ideas, I'd appreciate it... but please, don't waste
your time telling me to read the manual or search the web... I have done
all that and if there is something I have missed - maybe hal (that seems
to be the most absurd addition to Xorg as it seems to produce no visible
advantages but only problems) maybe someone will have an idea what was
my blind spot?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Eclipse Java 1.5

2009-11-02 Thread Ruben de Groot
On Mon, Nov 02, 2009 at 10:03:30AM -0600, Adam Vande More typed:
 On Mon, Nov 2, 2009 at 9:37 AM, Alex Huth a.h...@tmr.net wrote:
 
  Hi!
 
  I want to change my laptop system from Debian to FreeBSD. After installing
  8.0
  RC2 in a virtual machine i have tried to install eclipse and changed the
  Java
  version in the makefile to 1.5, but it still want to install the 1.6 jdk.
 
  I need the 1.5 version for several reasons, for example VPN account.
 
  How can i solve the problem? Is java 1.5 also available if i install it on
  AMD64? On debian this is a Problem.
 
  Thx
 
  Alex
 
  Never be afraid to try something new.
  Remember, amateurs built the ark.
  Professionals built the Titanic. ? unknow
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 
 
 Does /usr/ports/java/jdk15 not work for you?
 
 Can you not install both and tell eclipse to use the 15 jdk?
 
 You can try editing /usr/ports/java/eclipse/Makefile to JAVA_VERSION=   1.5
 but I have no idea if that will work.

I've been bitten by this as well. Of course eclipse works well with java 
versions 
1.6, as it does on all other platforms.

Such restrictions in the Makefiles (= instead of =) are really a showstopper 
for 
people who just want to get things done.

Ruben

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


Re: anybody manage to get Xorg to work with LG flat panel W2361

2009-11-02 Thread Roland Smith
On Mon, Nov 02, 2009 at 12:47:47PM -0400, PJ wrote:
 I have posted to Xorg, but I find this list most reassuring and
 competent ;-)
 I have searched the web, followed the instructions in the manual, the
 man pages and suggestions on the web.
 Nothing, nada. And I see there is a lot of frustration out there and not
 solutions discernible.

Most modern monitors Just Work IMO, just specify the resolution you want. The
X server should then be able to get the required modeline from the monitor.

How you you know it isn't working? Do you get back to the command prompt?
Note that by default you get a black screen with the current Xorg. You have to
put commands in ~/.xinitrc to set a background, launch a window manager etc.

 I can post the config files...

Better post the Xorg logfile, /var/log/Xorg.0.log

 If anyone has any ideas, I'd appreciate it... but please, don't waste
 your time telling me to read the manual or search the web... I have done
 all that and if there is something I have missed - maybe hal (that seems
 to be the most absurd addition to Xorg as it seems to produce no visible
 advantages but only problems) maybe someone will have an idea what was
 my blind spot?

Find out what the native resolution is for this monitor, it should be
1920x1080 according to 
http://milo.com/lg-23-widescreen-flat-panel-lcd-hd-monitor-black#

Put that in the Display subsection of your Screen
section in /etc/X11/xorg.conf, like this:

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
   Depth24
   Modes1920x1080
EndSubSection
SubSection Display
   Depth16
   Modes1920x1080
EndSubSection
EndSection

Make sure that the Device and Monitor names match yours. :-)

And check if your video card is capable of driving this monitor. Your
/var/log/Xorg.0.log should give you some clues there.

Good luck!

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpYfpTF59Xwj.pgp
Description: PGP signature


How to set up WEP network on 8.0 in rc.conf?

2009-11-02 Thread Yuri

I use this working script to start WEP network:
ifconfig wlan0 create wlandev ath0
ifconfig wlan0 ssid xyz abc weptxkey 1 deftxkey 1 wepmode on wepkey 
0xXX up

dhcpcd wlan0

How do I write an equivalent line into rc.conf?
Section 31.3.3.1.4 in 
http://www.freebsd.org/doc/en/books/handbook/network-wireless.html 
suggests this:


# ifconfig /ath0/ ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 \
   inet /192.168.1.100/ netmask /255.255.255.0/


So I wrote:
ifconfig_ath0=ssid xyz\ abc weptxkey 1 deftxkey 1 wepmode on wepkey 
0xXX DHCP

and it doesn't work.

This line:
ifconfig wlan0 create wlandev ath0
became necessary in 8.0 and it creates wlan0 device, which is missing 
when I use the above line in rc.conf.

There's also a space in ssid.

So what would be the correct rc.conf in my case?

Yuri

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


Re: dhcpd related issue - not giving up

2009-11-02 Thread Dánielisz László
Thank you for your advice, I tried to restart dhcpd a few times and I also 
tried about 10+ dhcpd.conf-s.
Right now it's reinstalling the port.





From: Tim Judd taj...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Mon, November 2, 2009 5:16:58 PM
Subject: Re: dhcpd related issue - not giving up

On 11/2/09, Dánielisz László laszlo_daniel...@yahoo.com wrote:
 I tried about 10 conf, here is the actual one:

 # cat /usr/local/etc/dhcpd.conf
 authoritative;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.1;


 pool {
option domain-name-servers cns01.hdsnet.hu;
max-lease-time 300;
range 192.168.1.200 192.168.1.253;
allow unknown-clients;
  }
 }


It looks awkward...
  I don't recall ever seeing a pool inside a subnet declaration like this.
A subnet declaration can use all the declaration in your pool.

Pure curiousity, because I am not looking up the config syntax..
comment out (or delete) the pool { and } lines only.  which bring the
statements to the subnet clause.


restart dhcpd, and retry

IIRC, pools are only useful if you have two pool definitions.

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




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


Re: anybody manage to get Xorg to work with LG flat panel W2361

2009-11-02 Thread PJ
Roland Smith wrote:
 On Mon, Nov 02, 2009 at 12:47:47PM -0400, PJ wrote:
   
 I have posted to Xorg, but I find this list most reassuring and
 competent ;-)
 I have searched the web, followed the instructions in the manual, the
 man pages and suggestions on the web.
 Nothing, nada. And I see there is a lot of frustration out there and not
 solutions discernible.
 

 Most modern monitors Just Work IMO, just specify the resolution you want. The
 X server should then be able to get the required modeline from the monitor.

 How you you know it isn't working? Do you get back to the command prompt?
   
No.  The only way is by hitting the SysRq/PrintScreen key if the
AllowEmptyInput is not off, otherwise you have to reboot.
 Note that by default you get a black screen with the current Xorg.
Yes, but you are supposed to see the x for the mouse.  Doesn't happen...
as I mentioned, on one try when doing ctl/alt/del the X appeared and
then - shutdown.
  You have to
 put commands in ~/.xinitrc to set a background, launch a window manager etc.
   
I use fluxbox and for some years now, I have never had to put anything
into .xinitrc except startfluxbox of just plain fluxbox and it
always worked.
   
 I can post the config files...
 

 Better post the Xorg logfile, /var/log/Xorg.0.log

   
 If anyone has any ideas, I'd appreciate it... but please, don't waste
 your time telling me to read the manual or search the web... I have done
 all that and if there is something I have missed - maybe hal (that seems
 to be the most absurd addition to Xorg as it seems to produce no visible
 advantages but only problems) maybe someone will have an idea what was
 my blind spot?
 

 Find out what the native resolution is for this monitor, it should be
 1920x1080 according to 
 http://milo.com/lg-23-widescreen-flat-panel-lcd-hd-monitor-black#
   
I was aware of all that plus all the timings etc that one can find in
the log. I tried all that and nothing clicks.
 Put that in the Display subsection of your Screen
 section in /etc/X11/xorg.conf, like this:

 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth 24
 SubSection Display
Depth24
Modes1920x1080
 EndSubSection
 SubSection Display
Depth16
Modes1920x1080
 EndSubSection
 EndSection

 Make sure that the Device and Monitor names match yours. :-)

 And check if your video card is capable of driving this monitor. Your
 /var/log/Xorg.0.log should give you some clues there.
I also have tried with the monitor in digital mode as well as in
analog... neither works.
It seems to me that the options for flatpanel must be activated... bin
there, done that...
And that is because I saw those kinds of directions activated under the
display management in XP. O:-)
So, here's my log:

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-RELEASE i386
Current Operating System: FreeBSD grendl.my.domain 7.2-RELEASE FreeBSD
7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 21 August 2009  12:40:03PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon Nov  2 11:07:26 2009
(++) Using config file: xorg.conf1
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
built-ins
(**) ModulePath set to /usr/local/lib/xorg/modules
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x7a0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on freebsd
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(--) PCI:*(0...@1:0:0) nVidia Corporation NV31 [GeForce FX 5600] rev 161,
Mem @ 

Re: dhcpd related issue - solved

2009-11-02 Thread Dánielisz László
One of my friend brings the solution, it was reinstalling 
ports/net/isc-dhcp31-server instead of ports/net/isc-dhcp30-server.
Now everything work fine!

$ sudo dhcping -v -h 00:23:6c:86:41:e3 -s 192.168.1.1
Got answer from: 192.168.1.1


# tcpdump -i rl1 -n port 67 or port 68
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on rl1, link-type EN10MB (Ethernet), capture size 96 bytes
20:54:15.403871 IP 192.168.1.202.68  192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:e3, length 250
20:54:15.404320 IP 192.168.1.1.67  255.255.255.255.68: BOOTP/DHCP, Reply, 
length 300
20:54:15.409016 IP 192.168.1.202.68  192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:e3, length 244
20:55:19.960973 IP 192.168.1.202.68  192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
20:55:19.963275 IP 192.168.1.1.67  192.168.1.202.68: BOOTP/DHCP, Reply, length 
300
20:57:49.958270 IP 192.168.1.202.68  192.168.1.1.67: BOOTP/DHCP, Request from 
00:23:6c:86:41:d9, length 300
20:57:49.960509 IP 192.168.1.1.67  192.168.1.202.68: BOOTP/DHCP, Reply, length 
300

Thanks for all of you to your help!
Laci






From: Dánielisz László laszlo_daniel...@yahoo.com
To: Tim Judd taj...@gmail.com
Cc: freebsd-questions@freebsd.org
Sent: Mon, November 2, 2009 8:49:15 PM
Subject: Re: dhcpd related issue - not giving up

Thank you for your advice, I tried to restart dhcpd a few times and I also 
tried about 10+ dhcpd.conf-s.
Right now it's reinstalling the port.





From: Tim Judd taj...@gmail.com
To: Dánielisz László laszlo_daniel...@yahoo.com
Cc: freebsd-questions@freebsd.org
Sent: Mon, November 2, 2009 5:16:58 PM
Subject: Re: dhcpd related issue - not giving up

On 11/2/09, Dánielisz László laszlo_daniel...@yahoo.com wrote:
 I tried about 10 conf, here is the actual one:

 # cat /usr/local/etc/dhcpd.conf
 authoritative;
 ddns-update-style none;

 subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.1;


 pool {
option domain-name-servers cns01.hdsnet.hu;
max-lease-time 300;
range 192.168.1.200 192.168.1.253;
allow unknown-clients;
  }
 }


It looks awkward...
  I don't recall ever seeing a pool inside a subnet declaration like this.
A subnet declaration can use all the declaration in your pool.

Pure curiousity, because I am not looking up the config syntax..
comment out (or delete) the pool { and } lines only.  which bring the
statements to the subnet clause.


restart dhcpd, and retry

IIRC, pools are only useful if you have two pool definitions.

thanks...  hope this works.



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


Re: Eclipse Java 1.5

2009-11-02 Thread Chuck Robey
Alex Huth wrote:
 Hi!
 
 I want to change my laptop system from Debian to FreeBSD. After installing 8.0
 RC2 in a virtual machine i have tried to install eclipse and changed the Java
 version in the makefile to 1.5, but it still want to install the 1.6 jdk.
 
 I need the 1.5 version for several reasons, for example VPN account.


This surprises me a bit, as I'd understood that the differences between 1.5 and
1.6 were strictly limited to bugfixes, and changed the interface not at all.
Reason that this might make some difference to you is that, at least for me
(using FreeBSD-current) the jdk16 port and eclipse, from ports, are absolutely
rock stable.

Do you really have some reports saying that jdk16 doesn't work in your 
situation?


 How can i solve the problem? Is java 1.5 also available if i install it on
 AMD64? On debian this is a Problem.
 
 Thx
 
 Alex
   
 Never be afraid to try something new.
 Remember, amateurs built the ark.
 Professionals built the Titanic. — unknow
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: anybody manage to get Xorg to work with LG flat panel W2361

2009-11-02 Thread Polytropon
On Mon, 02 Nov 2009 16:21:18 -0400, PJ af.gour...@videotron.ca wrote:
 No.  The only way is by hitting the SysRq/PrintScreen key if the
 AllowEmptyInput is not off, otherwise you have to reboot.

Reboot isn't needed to fix things - that's a misbelief
from Windows land. :-) Simply SSH into the box and kill
X.



 Yes, but you are supposed to see the x for the mouse.  Doesn't happen...
 as I mentioned, on one try when doing ctl/alt/del the X appeared and
 then - shutdown.

Strange. Ctrl+Alt+Del isn't supposed to have an effect in
X, if I remember correctly. Ctrl+Alt+Backspace should kill
the X server, but doesn't obviously work when no input is
accepted. There's the DontZap setting in xorg.conf.



 I use fluxbox and for some years now, I have never had to put anything
 into .xinitrc except startfluxbox of just plain fluxbox and it
 always worked.

That's correct. Your ~/.xinitrc should at leas contain
an interpreter command, and then the commands you want to
run, e. g.

#!/bin/sh
[ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
xsetroot -solid rgb:3b/4c/7a
exec fluxbox

Note that the fluxbox call is to be preceeded by exec.



 It seems to me that the options for flatpanel must be activated... bin
 there, done that...

Separate options? For flat panel? I must have slept for many
centuries...



Let's have a look at the log:

 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
 'vmmouse' will be disabled.
 (WW) Disabling Mouse0
 (WW) Disabling Keyboard0

Okay, no input for you.

I can't see any further warnings (WW) or errors (EE) in this
log. Seems that X is up and running, and nothing more?

Check .xinitrc and .xsession respectively.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem installing dvdauthor...

2009-11-02 Thread Peter Harrison
Sunday,  1 November 2009 at 23:43:26 +0100, usleepl...@gmail.com said:
 Dear Peter,
 
 On Sat, Oct 31, 2009 at 8:18 PM, Peter Harrison
 peter.piggy...@virgin.netwrote:
 
  Hi all,
 
  Can anyone advise what I'm doing wrong trying to install
  multimedia/dvdauthor. Here's the end of the error:
 
  if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR=\/usr/local/etc\
  -I/usr/local/include/libxml2 -I/usr/local/include
  -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
  -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
  -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP -MF
  .deps/subreader.Tpo -c -o subreader.o subreader.c; \
 then mv -f .deps/subreader.Tpo .deps/subreader.Po; else rm -f
  .deps/subreader.Tpo; exit 1; fi
  subreader.c: In function 'sub_read_line_aqt':
  subreader.c:661: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c:661: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c: In function 'sub_read_line_subrip09':
  subreader.c:717: warning: comparison with string literal results in
  unspecified behaviour
  subreader.c: In function 'sub_fribidi':
  subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this
  function)
  subreader.c:1082: error: (Each undeclared identifier is reported only once
  subreader.c:1082: error: for each function it appears in.)
  subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this
  function)
  subreader.c:1102: warning: passing argument 3 of 'fribidi_log2vis' from
  incompatible pointer type
  gmake[2]: *** [subreader.o] Error 1
  gmake[2]: Leaving directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  gmake[1]: *** [all] Error 2
  gmake[1]: Leaving directory
  `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
  gmake: *** [all-recursive] Error 1
  *** Error code 1
 
  This is on:
 
  FreeBSD laptop.piggybox 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Oct 10
  13:54:52 BST 2009 r...@laptop.piggybox:/usr/obj/usr/src/sys/LAPTOP
   i386
 
  With a ports tree updated last night.
 
  What am I missing?
 
 
 i don't think you are missing anything:  i have a slighty older ports tree
 from september, and it fails as well.
 
 i assume the port is broken. ( i will take a look if i can identitfy the
 problem )

Thanks - good to know it's not just me. I'll drop a line to the maintainer.

Peter.


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


Re: anybody manage to get Xorg to work with LG flat panel W2361

2009-11-02 Thread Roland Smith
On Mon, Nov 02, 2009 at 04:21:18PM -0400, PJ wrote:
 I also have tried with the monitor in digital mode as well as in
 analog... neither works.

Do you mean with a VGA and DVI connector?

 It seems to me that the options for flatpanel must be activated... bin
 there, done that...

Why?

 And that is because I saw those kinds of directions activated under the
 display management in XP. O:-)

And since when is XP a good example of how to configure X? ;-)

 So, here's my log:
 
 X.Org X Server 1.6.1
 Release Date: 2009-4-14
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 7.2-RELEASE i386
 Current Operating System: FreeBSD grendl.my.domain 7.2-RELEASE FreeBSD
 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
 Build Date: 21 August 2009  12:40:03PM
  
 (==) Log file: /var/log/Xorg.0.log, Time: Mon Nov  2 11:07:26 2009
 (++) Using config file: xorg.conf1
 (==) ServerLayout X.org Configured
 (**) |--Screen Screen0 (0)
 (**) |   |--Monitor Monitor0
 (**) |   |--Device Card0
 (**) |--Input Device Mouse0
 (**) |--Input Device Keyboard0
 (==) Automatically adding devices
 (==) Automatically enabling devices

 (**) ModulePath set to /usr/local/lib/xorg/modules
 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
 'vmmouse' will be disabled.
 (WW) Disabling Mouse0
 (WW) Disabling Keyboard0

This could be the reason why you are not seeing a mouse cursor...

Try adding

Option AutoAddDevices  off

to your ServerLayout section, and remove any AllowEmptyInput lines. Or
install and configure and start sysutils/hal before starting Xorg. For myself
I find it easier to build the Xorg server without hal support and use the
option shown above, so I don't have to deal with hald.

 (--) NV(0): Virtual size is 1920x1080 (pitch 1920)
 (**) NV(0): *Driver mode 1920x1080: 138.5 MHz, 66.6 kHz, 59.9 Hz
 (II) NV(0): Modeline 1920x1080x59.9  138.50  1920 1968 2000 2080  1080

It looks like a correct resolution is found and activated.

As an aside, and not related to your problem, you might want to try the
xf86-video-nouveau instead of nv. It is under heavier development and is
working toward supporting 3D accelleration and supporting newer chips.

 (II) Initializing built-in extension DAMAGE
 (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so
 (II) GLX: Initialized DRISWRAST GL provider for screen 0

Normally, you'd expext to see some stuff from the mouse and keyboard drivers
last in the logfile... Since theay are missing, and seeing the warning printed
above, your problem isn't what it seems to be. I think the server gets stuck
because it can't find a keyboard and mouse. That would explain why you don't
see a cursor.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpCd41HuBrV3.pgp
Description: PGP signature


WPA: specify alternate config file in rc.conf

2009-11-02 Thread Chad Perrin
If I want to start wpa_supplicant directly, and specify a particular
configuration file, I can do something like this:

wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf

How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf
ifconfig line, rather than just going with the default
/etc/wpa_supplicant.conf file?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpk8er4HpGLG.pgp
Description: PGP signature


please help me make sense of top's CPU output

2009-11-02 Thread Chris Stankevitz
Hello,

I recently performed a CPU intensive task with Xorg.  When I completed the task 
and Xorg no longer was using the CPU, I got this result from top:

===

last pid:  1201;  load averages:  0.24,  0.10,  0.09up 0+00:29:42
63 processes:  1 running, 62 sleeping
CPU:  1.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.0% idle
Mem: 161M Active, 67M Inact, 68M Wired, 1240K Cache, 41M Buf, 1676M Free
Swap: 4060M Total, 4060M Free

  PID USERNAME THR PRI NICE   SIZERES STATE  C   TIMECPU
 1017 cstankevitz1 1040   366M   331M select 0   3:25 35.89% Xorg

===

Note that the CPU row reports 99% idle.
Note that the CPU column reports 36% Xorg

I have two questions:

1. Why do these two numbers seem to not agree?  One reports the CPU is not 
being used, the other reports Xorg is using the CPU.

2. How can I change my system so that these two numbers seem to agree?

Thank you,

Chris

PS: conky does the same thing -- I assume this means the seemingly disagreeing 
numbers are coming from the FreeBSD kernel.





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


Ideas For Change launches in closed beta today

2009-11-02 Thread IdeasForChange . TV

We are very proud to have finalized the first step in building this platform 
that will become an active tool to improve our world.

Against all good advice that we should build first and then connect the world, 
we decided that we are nothing without your knowledge. Without your input. And 
we said that we wanted to build this project from a different angle. We have 
the tools, we have the team, we have some funding but we need you guys to 
engage and tell us what your community needs. How we can help.

We will build the biggest online community on sustainable topics, we will give 
you access and the keys to build your own subgroups both closed and public. But 
without taking this first step to ask for your opinion we would be working with 
old obsolete models.

The films you see are just a fragment of what will come, the texts are just a 
start. If you need a login please ask us, if you want to contribute otherwise, 
sponsor a subcategory or need anything more please don´t hesitate to ask.

So please enjoy, spread the word and engage!

The Ideas For Change Global Team

Visit the web site IdeasForChange.TV



To unsubscribe, please reply with the word unsubscribe. Sorry if we bothered 
you!


Project and website by Dabber.tv



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


Re: please help me make sense of top's CPU output

2009-11-02 Thread Dan Nelson
In the last episode (Nov 02), Chris Stankevitz said:
 I recently performed a CPU intensive task with Xorg.  When I completed the
 task and Xorg no longer was using the CPU, I got this result from top:
 
 ===
 
 last pid:  1201;  load averages:  0.24,  0.10,  0.09up 0+00:29:42
 63 processes:  1 running, 62 sleeping
 CPU:  1.0% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.0% idle
 Mem: 161M Active, 67M Inact, 68M Wired, 1240K Cache, 41M Buf, 1676M Free
 Swap: 4060M Total, 4060M Free
 
   PID USERNAME THR PRI NICE   SIZERES STATE  C   TIMECPU
  1017 cstankevitz1 1040   366M   331M select 0   3:25 35.89% Xorg

The CPU column in the process list is a decaying average (more useful to the
kernel scheduler than an instantaneous value).  You'll see it slowly drop to
0 over 10-15 seconds.

Junior Hacker Project: add an instantaneous-CPU value (calculated by
subtracting successive ki_runtime values) to the list of things top
calculates and toggle it and weighted-CPU when pressing C.  The toggling
code is already there; it just toggles between two different weighted-cpu
values at the moment.

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


Re: anybody manage to get Xorg to work with LG flat panel W2361

2009-11-02 Thread Roland Smith
On Mon, Nov 02, 2009 at 02:34:55PM -0700, Reed Loefgren wrote:

  Did you ever run X with hal installed? 

No. X always worked fine for me without hal, so I don't see a compelling
reason to use it. I'll keep disabling it as long as I can.

  But these days digikam can't talk worth a damn to
  my digital camera and it used to fine. 

I've used gtkam but not digikam. These days I just use the command line
program gphoto2 to copy pictures from my camera to my computer. That is fast
and efficient. And it produces an error message when there is something wrong
on the USB bus. 

Maybe digikam has a logfile where you can check for errors? Or a --verbose
flag that lets you see errors when starting it from a temninal.

 I am wondering if my use of hal
  might be the culprit, but I never log when I change things and don't want
  to accuse if I don't have cause.

According to /usr/ports/sysutils/hal/Makefile, hal is built without USB
support (configure flag --disable-usb) on FreeBSD. So I would be suprised if
it is a cause of USB problems. But since I know squat about hald, I could be
talking out of my ass right now. :-)

 I also don't want to re-re-compile, as a
  test, all the stuff that I re-compiled when I started using hal. Have you
  noticed any USB issues on your machine that you can't blame hal for
  (because you don't use it)?

Not really. Some umass devices cannot handle full-speed data transfers, but
that seems to be a feature of a crappy USB chipset in the device in question.

The USB stack in 8.x seems to be an improvement over the one in 7.x though.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp04dBjTyOeV.pgp
Description: PGP signature


Re: WPA: specify alternate config file in rc.conf

2009-11-02 Thread Paul B Mahol
On 11/2/09, Chad Perrin per...@apotheon.com wrote:
 If I want to start wpa_supplicant directly, and specify a particular
 configuration file, I can do something like this:

 wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf

 How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf
 ifconfig line, rather than just going with the default
 /etc/wpa_supplicant.conf file?

Look into /etc/defaults/rc.conf for hint.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: WPA: specify alternate config file in rc.conf

2009-11-02 Thread jhell


On Mon, 2 Nov 2009 17:27, onemda@ wrote:

On 11/2/09, Chad Perrin per...@apotheon.com wrote:

If I want to start wpa_supplicant directly, and specify a particular
configuration file, I can do something like this:

wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf

How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf
ifconfig line, rather than just going with the default
/etc/wpa_supplicant.conf file?


Look into /etc/defaults/rc.conf for hint.



This is not a option in rc.conf default or otherwise ATM.

The proper place to look for changing this: etc/rc.d/wpa_supplicant where 
it is hard-written to the start-up script/routine. This should probably be 
something that is handled in the default rc.conf through 
wpa_supplicant_flags and a default set for them to start from so it can at 
least be changed on a per use basis. I could have swore this was already 
in place in earlier sources.


Best regards.

--

 Mon Nov  2 18:49:34 2009 -0500

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


Support for Hauppauge 950Q USB tuner

2009-11-02 Thread Bob McIsaac
Can the 950Q HDTV tuner be made to work with FreeBSD?  The device is 
identified by dmesg but of course the Hauppauge firmware must be somehow 
transfered to the device and then something like the Linux dvb-apps must 
be used for tuning and streaming.


My intent is use the 950 with Zotac IONITX mobo which has Intel ION and 
Nvidia chipsets. Mplayer must have vdpau enabled.  I am not fond of 
MythTv, in case anyone is wondering.

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


xen or virtualbox or vmware ?

2009-11-02 Thread Peter
iH,
   Trying to setup a new 'virtual' environment.
Goal is to run freebsd in a virtual environment for ease of management and
just because I've finally got _new_ hardware that isn't ~7++ years old.

So far thinking of going
  netbsd - xen - freebsd/whatever [if it'll work]
or would the following be better?
  linux - xen - freebsd/whatever
or
  freebsd - virtualbox - freebsd/whatever
or [don't really care for]
  linux - vmware workstation - freebsd/whatever
[my generic hardware doesn't work with esx[i]]

Has anyone done something similar, especially the xen type of setup or
would one recommend a freebsd and virtualbox ?
What dom0 have you found to work best with xen?

Just looking for thoughts/ideas/experience.

]Peter[

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


Re: xen or virtualbox or vmware ?

2009-11-02 Thread Glen Barber
Hi

On Mon, Nov 2, 2009 at 8:15 PM, Peter fb...@peterk.org wrote:
 iH,
   Trying to setup a new 'virtual' environment.
 Goal is to run freebsd in a virtual environment for ease of management and
 just because I've finally got _new_ hardware that isn't ~7++ years old.

 So far thinking of going
  netbsd - xen - freebsd/whatever [if it'll work]
 or would the following be better?
  linux - xen - freebsd/whatever
 or
  freebsd - virtualbox - freebsd/whatever
 or [don't really care for]
  linux - vmware workstation - freebsd/whatever
    [my generic hardware doesn't work with esx[i]]

 Has anyone done something similar, especially the xen type of setup or
 would one recommend a freebsd and virtualbox ?
 What dom0 have you found to work best with xen?

 Just looking for thoughts/ideas/experience.

If your end result is to run FreeBSD, why not use jails?

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


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


Re: xen or virtualbox or vmware ?

2009-11-02 Thread Adam Vande More
On Mon, Nov 2, 2009 at 7:15 PM, Peter fb...@peterk.org wrote:

 iH,
   Trying to setup a new 'virtual' environment.
 Goal is to run freebsd in a virtual environment for ease of management and
 just because I've finally got _new_ hardware that isn't ~7++ years old.

 So far thinking of going
  netbsd - xen - freebsd/whatever [if it'll work]
 or would the following be better?
  linux - xen - freebsd/whatever
 or
  freebsd - virtualbox - freebsd/whatever
 or [don't really care for]
  linux - vmware workstation - freebsd/whatever
[my generic hardware doesn't work with esx[i]]

 Has anyone done something similar, especially the xen type of setup or
 would one recommend a freebsd and virtualbox ?
 What dom0 have you found to work best with xen?

 Just looking for thoughts/ideas/experience.

 ]Peter[


Building my own similar setup right now actually.  I've got an OpenSolaris,
NetBSD, and FreeBSD cd burned and ready to go.  In days gone by, you'd
answer use Xen of course.  However, VBox has made a great deal of progress
lately making my decision more difficult.  At this point, I'm leaning
towards OpenSolaris because of Dom0 support and ZFS.  At work I use Debian
Lenny w/ Xen and ganeti which is good.  However, I'm used to better
documentation and a more consistent layout which IMO the Penguin sucks at,
and I mean get ready for a world class donkey punch because if you're not
already a skilled user you'll need to become one to figure out any sort of
non-standard customization you might want.  Also have to use grub when
running xen.  Grub config is pretty easy but full of gotchas.

As also mentioned, jails are great and way more efficient than either xen or
vbox, but sometimes you can't run fbsd.

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


Re: xen or virtualbox or vmware ?

2009-11-02 Thread Peter
 Hi

 On Mon, Nov 2, 2009 at 8:15 PM, Peter fb...@peterk.org wrote:
 iH,
   Trying to setup a new 'virtual' environment.
 Goal is to run freebsd in a virtual environment for ease of management
 and
 just because I've finally got _new_ hardware that isn't ~7++ years old.

 So far thinking of going
  netbsd - xen - freebsd/whatever [if it'll work]
 or would the following be better?
  linux - xen - freebsd/whatever
 or
  freebsd - virtualbox - freebsd/whatever
 or [don't really care for]
  linux - vmware workstation - freebsd/whatever
    [my generic hardware doesn't work with esx[i]]

 Has anyone done something similar, especially the xen type of setup or
 would one recommend a freebsd and virtualbox ?
 What dom0 have you found to work best with xen?

 Just looking for thoughts/ideas/experience.

 If your end result is to run FreeBSD, why not use jails?

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


 --
 Glen Barber

Have jails now, wanted to try something new - and prolly run
freebsd/windows/linux/whatever on that box also for the fun of it.

]Peter[

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


is there difference between VTY and vty in sysinstall?

2009-11-02 Thread aa


hi

i'm unclear that the sysintall show Go to VTY4 now by typing ALT-F4 when I 
press 2 CDROM/DVD Use the live filesystem CDROM/DVD under Fixit menu. 
however, i scroll the screen up to see booting message, it shows: 
/stand/sysinstall running as init on vty0. as such, if  vty0 is coresponding to 
keystroke 'ALT-F1' then , is it that vty4 coresponding to 'ALT-F5'? or is there 
defference between VTY(uppercase) and vty(lowercase)?

 dmesg snippet 
...
Trying to mount root from ufs:/dev/md0
/stand/sysinstall running as init on vty0
...

 press ALT-F4 or sysinstall call it 'VTY4' 
...
Good Luck!

Fixit# tcsh
# echo $tty
ttyv3
#

  
_
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TLswm=1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: am I the only one, wrt gcc44 -- it is failing and I can't build octave or much else

2009-11-02 Thread Kenneth Freidank
Here are partial listings of my config files.  Add these entries to your config 
files and see if that does the trick.  I can't be 100% sure that everything is 
required, but it is what I have, and it works.  Attached is the xorg.conf file 
I generated.  Place it in the directory /etc/X11/.  When you have done these 
things, make sure your user belongs to the group wheel, then login.  To start 
X, give the command:
  startx
You should get 3 windows, one of them labeled login in the title bar.  If you 
type exit while inside this window, then return, that will end your X 
session.  You will have some fatal error messages in your console window when 
X finishes.

Also, make sure you have installed the nvidia drivers per my other postings.  
You can check if you have the package installed by typing:
  pkg_info | grep nvidia
You should see at a minimum:
  nidia-driver-185.18.29 NVidia graphics card binary drivers for hardware 
OpenGL ren

You have to build this packages and install it.  This process is documented in 
the NetBSD documents and my other postings for installing FreeBSD on a Compaq 
Presario CQ60.


File /etc/rc.conf

linux_enable=YES
moused_enable=YES
keyrate=fast
saver=star
hald_enable=YES
dbus_enable=YES
vesa_load=YES

File /boot/loader.conf

nvidia_load=YES




-Original Message-
From: Henry Olyer henry.ol...@gmail.com
Sent: Oct 26, 2009 2:53 AM
To: freebsd-questions@freebsd.org
Cc: Kenneth kennet...@earthlink.net, Chris Whitehouse cwhi...@onetel.com
Subject: am I the only one, wrt gcc44 -- it is failing and I can't build   
octave or much else

'everything; is dying in /usr/ports/lang/gcc44

I know, (in all likelihood,) I'll have to scratch this area and do a
complete re-install.  Fine.  The thing is, I didn't change anything to mess
this area up in the first place.

I've just been going to various directories in /usr/ports and saying, make
install clean and now this...  I was trying to put up octave when this
happened.

So I could use a little help here, please...

I also want/need to run X, and my X session (just put up,) doesn't yet let
me move the mouse.  I installed hal and dbus but what do I do now?

And where or where do I put the ServerFlags entry in my xorg.conf file.
 I'm sorry, I just don't know these things...




===  Building for gcc-4.4.2.20091006
echo stage3  stage_final
gmake[1]: Entering directory `/usr/ports/lang/gcc44/work/build'
gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build'
rm -f stage_current
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build'
gmake[2]: Leaving directory `/usr/ports/lang/gcc44/work/build'
gmake[2]: Entering directory `/usr/ports/lang/gcc44/work/build'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/libiberty'
gmake[4]: Entering directory
`/usr/ports/lang/gcc44/work/build/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/ports/lang/gcc44/work/build/libiberty/testsuite'
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/libiberty'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/ports/lang/gcc44/work/build/intl'
gmake[3]: Entering directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty'
gmake[4]: Entering directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty/testsuite'
gmake[3]: Leaving directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/libiberty'
gmake[3]: Entering directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/usr/ports/lang/gcc44/work/build/build-i386-portbld-freebsd7.2/fixincludes'
gmake[3]: Entering directory `/usr/ports/lang/gcc44/work/build/zlib'
true AR_FLAGS=rc CC_FOR_BUILD=cc CFLAGS=-g -fkeep-inline-functions
CXXFLAGS=-g -fkeep-inline-functions CFLAGS_FOR_BUILD=-O2
-fno-strict-aliasing -pipe -I/usr/l
ocal/include CFLAGS_FOR_TARGET=-g -O2 -fno-strict-aliasing -pipe
-I/usr/local/include INSTALL=/usr/bin/install -c -o root -g wheel
INSTALL_DATA=install  -o root -
g wheel -m 444 INSTALL_PROGRAM=install  -s -o root -g wheel -m 555
INSTALL_SCRIPT=install  -o root -g wheel -m 555 LDFLAGS= LIBCFLAGS=-g
-O2 -fno-strict-aliasin
g -pipe -I/usr/local/include LIBCFLAGS_FOR_TARGET=-g -O2
-fno-strict-aliasing -pipe -I/usr/local/include MAKE=gmake
MAKEINFO=makeinfo --no-split --split-size=5000
000 --split-size=500 --split-size=500 PICFLAG=
PICFLAG_FOR_TARGET= SHELL=/bin/sh EXPECT=expect RUNTEST=runtest
RUNTESTFLAGS= exec_prefix=/usr/loca
l infodir=/usr/local/info/gcc44 libdir=/usr/local/lib/gcc44
prefix=/usr/local