Re: too many video drivers

2009-03-31 Thread mdh

--- On Tue, 3/31/09, Adam Vandemore amvandem...@gmail.com wrote:
 From: Adam Vandemore amvandem...@gmail.com
 Subject: Re: too many video drivers
 To: FreeBSD freebsd-questions@freebsd.org
 Date: Tuesday, March 31, 2009, 3:39 PM
 Tsu-Fan Cheng wrote:
  Hi,
 I am rebuilding ports and realize that i have too
 many input/video
  drivers for x-win installed. i know i need nv driver
 since my graphic
  card is from nvidia, and i want to deinstall all
 others. but i am not
  sure if its safe to do so, e.g. i am confused by
 xf86-video-chips
  since i don't know what kind of chip
 that stands for. can someone
  tell me which are basics and which are safe to remove?
 thanks!!
  
  TFC

 Depending on what versions of things you use the
 nvidia-driver port and
 /usr/ports/x11-drivers/xf86-video-nouveau may be
 replacements for the nv driver.  Honestly I'm not really
 sure what the xf86-video-chips
 port does, but I don't think it's related to nvidia
 and is perhaps for older video chipsets.

x11/nvidia-driver is the driver released by nvidia.  It doesn't work on 
architectures other than i386 and has some other limitations (breaks certain 
components of KDE4, for one other thing - see the 'black windows bug'.)  It 
does support 3d acceleration using the nvidia GPU, though.  

The x11-drivers/xf86-video-nv port is the open source Xorg driver for nvidia 
chipsets.  It doesn't support 3d acceleration using the GPU.  

Neither is a perfect solution, and the disparity has been an issue for years 
now...

- mdh



  
___
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: Question about entry in auth.log

2008-11-15 Thread mdh
--- On Sat, 11/15/08, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 From: Jeremy Chadwick [EMAIL PROTECTED]
 Subject: Re: Question about entry in auth.log
 To: Lisa Casey [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, November 15, 2008, 2:37 AM
 On Fri, Nov 14, 2008 at 10:00:13PM -0500, Lisa Casey wrote:
 
 The individual in Romania *was not* able to log in as
 michael.  The
 message you saw was sshd saying Someone's trying
 to SSH in as user
 michael; SSH key negotiation failed, and now I'm asking
 them to type in
 their password manually.
 
 It's not a prank.  Shady online individuals have
 written scripts/tools
 that repetitively beat on sshd, trying to find an account
 they can log
 in as.  They're simply scanning for valid accounts, and
 they also often
 try many passwords over and over (common things, such as
 the username as
 a password).
 
 Welcome to the Internet circa 2008.  :(
 
 So how do I solve this problem?
 
 The easiest way: change sshd to listen on a port *other*
 than 22.  Many
 people pick .  This relieves 99% of the pain, but
 requires you to
 tell your users/co-workers/peers My box listens on
 port  for ssh,
 not 22.
 
 A secondary way: programs which monitor logs and add
 firewall block
 rules when they see too many brute force attempts coming
 from an IP
 address:
 
 ports/security/blocksshd
 ports/security/sshblock
 ports/security/sshguard
 (I think I forgot one more, but those are the main three)

I've considered writing an sshd patch for OpenSSH to add bad-authentication 
throttling to it, such that where X number of invalid attempts featuring at 
least Y different usernames in Z seconds from the same IP causes sshd to ignore 
that IP outright for a given time.  This would prevent syslog spam and not 
require any third-party applications.  I've written a socket abstraction 
library that supports throttling of this sort internally, and it's actually 
very easy to implement on its own.  Implementing it in OpenSSH may be more or 
less difficult depending on whether there's any central function that is called 
*every* time an authentication attempt fails.  

If a few folks respond saying I'd sure like that patch!, I would likely 
become more motivated to do so sooner.  

- mdh



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


Re: host -6 failure

2008-11-10 Thread mdh
--- On Sun, 11/9/08, David Horn [EMAIL PROTECTED] wrote:
 From: David Horn [EMAIL PROTECTED]
 Subject: Re: host -6 failure
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Sunday, November 9, 2008, 8:34 PM
 On Sun, Nov 9, 2008 at 3:13 AM, mdh
 [EMAIL PROTECTED] wrote:
  --- On Sat, 11/8/08, David Horn
 [EMAIL PROTECTED] wrote:
  From: David Horn [EMAIL PROTECTED]
  Subject: Re: host -6 failure
  To: [EMAIL PROTECTED]
  Cc: freebsd-questions@freebsd.org
  Date: Saturday, November 8, 2008, 8:10 PM
  On Sat, Nov 8, 2008 at 7:55 PM, mdh
  [EMAIL PROTECTED] wrote:
   --- On Sat, 11/8/08, David Horn
  [EMAIL PROTECTED] wrote:
   From: David Horn
 [EMAIL PROTECTED]
   Subject: Re: host -6 failure
   To: [EMAIL PROTECTED]
   Cc: freebsd-questions@freebsd.org
   Date: Saturday, November 8, 2008, 7:25 PM
   On Fri, Nov 7, 2008 at 2:18 PM, mdh
   [EMAIL PROTECTED] wrote:
Howdy folks,
I'm having a little trouble
 understanding
  a
   problem that the `host` command in
 RELENG_7_0
  (very recent)
   is having.
   The '-6' on the command line for
 host(1)
  forces an
   IPv6 only
   connection to your nameserver, not
 necessarily a
    query for the
   hostname in question.  In this case, your
  nameservers
   listed in the
   warnings are IPv4 nameservers that
 host(1) is
  attempting to
   connect to
   using an ipv4 mapped ipv6 address (which
 by
  default is
   disabled in the
   kernel) In other words, don't use
 host -6 for
  this
   scenario.
  
   Yet as I pointed out, the second nameserver
 in my
  resolv.conf is ::1 - so shouldn't it work with
 that?
  It's clearly trying to contact the first and
 third
  nameservers listed.  If the behavior I'm
 experiencing is
  the proper behavior, then let me pose this
 question: when
  would anyone conceivably want to use the -6
 option, and why
  does it exist?  My intent was to force a query to
 hit the
  nameserver on ::1 rather than 127.0.0.1.
   
domain  mydomain
search  mydomain
nameserver  127.0.0.1
nameserver  ::1
nameserver  IP.IP.IP.8
   
The DNS server running on localhost
 is
  authoritative
   for mydomain.  I can ping it via
 localhost using
  both v4 and
   v6, and I can also ping the external v4
 and v6
  addresses
   just fine remotely.
   
As I said, I'm new to IPv6, but
 this
  behavior
   seems to be counterintuitive.  Am I just
 doing it
  wrong?
   
  
   For diagnosing your own nameservers, you
 are
  better off
   using the
   dig(1) utility.
  
   Example:
  
dig ipv6.google.com  @::1
  
   This causes a dns query for an IPv6
 address (aka
    query) for the
   hostname of ipv6.google.com
 using the
   nameserver on the IPv6
   localhost loopback address (::1), and
 will give a
  very nice
   verbose
   output.  man dig for more details.
  
   That is more useful, but still doesn't
 stifle my
  desire to stomp a potential bug in the base
 system.
 
  Right after sending, I realized that I did not
 tell you all
  of the answer
 
  host(1) will successfully query ::1 when named is
 setup to
  listen on
  ::1 in named.conf, and ::1 is listed in
 /etc/resolv.conf (I
  just ran a
  test on my box to be sure that it works this way
 with the
  -6 switch)
 
  Example line from /etc/namedb/named.conf:
 
  listen-on-v6{ ::1; any; };
 
  And of course you need to restart named after the
 config
  change(
  /etc/rc.d/named restart)
 
  To make sure that it is listening on the IPv6
 loopback
  address:
 
  netstat -anW -f inet6
 
  I do not remember the minimum version of bind (aka
 named)
  required for
  IPv6 off the top of my head, but I am running
 9.4.2-P2 on
  my IPv6
  machine.
 
  All of the conditions for success are true, however it
 fails.  My DNS server software is responsing on ::1 port 53
 (tcp and udp), and ::1 is the second nameserver listed in
 resolv.conf.  Still, host -6 fails as previously stated... 
 According to what you've said so far, this leads me to
 believe that it ought to work as expected, and not error out
 in the way I'm seeing.
 
  Am I missing something here?  Is my lack of general
 IPv6 knowledge causing me to blindly assume something
 incorrectly?
 
 If all of the conditions for success were true, you would
 *not* be
 having a problem.  You are likely missing something simple.
 I suggest that you read about about general IPv6 network
 troubleshooting, and bind.  The handbook has some good
 information
 here:
 
 http://www.freebsd.org/doc/en/books/handbook/network-dns.html
 http://www.freebsd.org/doc/en/books/handbook/network-ipv6.html
 http://www.freebsd.org/doc/en/books/developers-handbook/ipv6.html
 
 You have yet to provide any new diagnostic output.  What
 was the result of:
 
  netstat -anW -f inet6

Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp6   0  0  *.53  *.*  
 LISTEN
tcp6   0  0  *.22

Re: host -6 failure

2008-11-09 Thread mdh
--- On Sat, 11/8/08, David Horn [EMAIL PROTECTED] wrote:
 From: David Horn [EMAIL PROTECTED]
 Subject: Re: host -6 failure
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, November 8, 2008, 8:10 PM
 On Sat, Nov 8, 2008 at 7:55 PM, mdh
 [EMAIL PROTECTED] wrote:
  --- On Sat, 11/8/08, David Horn
 [EMAIL PROTECTED] wrote:
  From: David Horn [EMAIL PROTECTED]
  Subject: Re: host -6 failure
  To: [EMAIL PROTECTED]
  Cc: freebsd-questions@freebsd.org
  Date: Saturday, November 8, 2008, 7:25 PM
  On Fri, Nov 7, 2008 at 2:18 PM, mdh
  [EMAIL PROTECTED] wrote:
   Howdy folks,
   I'm having a little trouble understanding
 a
  problem that the `host` command in RELENG_7_0
 (very recent)
  is having.  
  The '-6' on the command line for host(1)
 forces an
  IPv6 only
  connection to your nameserver, not necessarily a
   query for the
  hostname in question.  In this case, your
 nameservers
  listed in the
  warnings are IPv4 nameservers that host(1) is
 attempting to
  connect to
  using an ipv4 mapped ipv6 address (which by
 default is
  disabled in the
  kernel) In other words, don't use host -6 for
 this
  scenario.
 
  Yet as I pointed out, the second nameserver in my
 resolv.conf is ::1 - so shouldn't it work with that? 
 It's clearly trying to contact the first and third
 nameservers listed.  If the behavior I'm experiencing is
 the proper behavior, then let me pose this question: when
 would anyone conceivably want to use the -6 option, and why
 does it exist?  My intent was to force a query to hit the
 nameserver on ::1 rather than 127.0.0.1.
  
   domain  mydomain
   search  mydomain
   nameserver  127.0.0.1
   nameserver  ::1
   nameserver  IP.IP.IP.8
  
   The DNS server running on localhost is
 authoritative
  for mydomain.  I can ping it via localhost using
 both v4 and
  v6, and I can also ping the external v4 and v6
 addresses
  just fine remotely.
  
   As I said, I'm new to IPv6, but this
 behavior
  seems to be counterintuitive.  Am I just doing it
 wrong?
  
 
  For diagnosing your own nameservers, you are
 better off
  using the
  dig(1) utility.
 
  Example:
 
   dig ipv6.google.com  @::1
 
  This causes a dns query for an IPv6 address (aka
   query) for the
  hostname of ipv6.google.com using the
  nameserver on the IPv6
  localhost loopback address (::1), and will give a
 very nice
  verbose
  output.  man dig for more details.
 
  That is more useful, but still doesn't stifle my
 desire to stomp a potential bug in the base system.
 
 Right after sending, I realized that I did not tell you all
 of the answer
 
 host(1) will successfully query ::1 when named is setup to
 listen on
 ::1 in named.conf, and ::1 is listed in /etc/resolv.conf (I
 just ran a
 test on my box to be sure that it works this way with the
 -6 switch)
 
 Example line from /etc/namedb/named.conf:
 
 listen-on-v6{ ::1; any; };
 
 And of course you need to restart named after the config
 change(
 /etc/rc.d/named restart)
 
 To make sure that it is listening on the IPv6 loopback
 address:
 
 netstat -anW -f inet6
 
 I do not remember the minimum version of bind (aka named)
 required for
 IPv6 off the top of my head, but I am running 9.4.2-P2 on
 my IPv6
 machine.

All of the conditions for success are true, however it fails.  My DNS server 
software is responsing on ::1 port 53 (tcp and udp), and ::1 is the second 
nameserver listed in resolv.conf.  Still, host -6 fails as previously stated... 
 According to what you've said so far, this leads me to believe that it ought 
to work as expected, and not error out in the way I'm seeing.  

Am I missing something here?  Is my lack of general IPv6 knowledge causing me 
to blindly assume something incorrectly?  

Thanks, Matt



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


Re: host -6 failure

2008-11-08 Thread mdh
--- On Sat, 11/8/08, David Horn [EMAIL PROTECTED] wrote:
 From: David Horn [EMAIL PROTECTED]
 Subject: Re: host -6 failure
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, November 8, 2008, 7:25 PM
 On Fri, Nov 7, 2008 at 2:18 PM, mdh
 [EMAIL PROTECTED] wrote:
  Howdy folks,
  I'm having a little trouble understanding a
 problem that the `host` command in RELENG_7_0 (very recent)
 is having.  This is by and large my first time working with
 IPv6, which I've been meaning to learn for some time. 
 First off, I've got my zone file configured to return a
  record for x1.mydomain and named isn't complaining.
  However, when I run `host -6 x1.mydomain`, host returns the
 following output:
 
  ([EMAIL PROTECTED]) [/etc/namedb]: host -6 x1.mydomain
 
 /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179:
 internal_send: :::127.0.0.1#53: Invalid argument
 
 /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179:
 internal_send: :::IP.IP.IP.8#53: Invalid argument
 
 /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179:
 internal_send: :::127.0.0.1#53: Invalid argument
 
 /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179:
 internal_send: :::IP.IP.IP.8#53: Invalid argument
  ;; connection timed out; no servers could be reached
 
 The '-6' on the command line for host(1) forces an
 IPv6 only
 connection to your nameserver, not necessarily a
  query for the
 hostname in question.  In this case, your nameservers
 listed in the
 warnings are IPv4 nameservers that host(1) is attempting to
 connect to
 using an ipv4 mapped ipv6 address (which by default is
 disabled in the
 kernel) In other words, don't use host -6 for this
 scenario.

Yet as I pointed out, the second nameserver in my resolv.conf is ::1 - so 
shouldn't it work with that?  It's clearly trying to contact the first and 
third nameservers listed.  If the behavior I'm experiencing is the proper 
behavior, then let me pose this question: when would anyone conceivably want to 
use the -6 option, and why does it exist?  My intent was to force a query to 
hit the nameserver on ::1 rather than 127.0.0.1.  

 
 Most recent versions of the host(1) command will do both
 A (IPv4
 host record), and  (IPv6 host record)
 lookups for you
 automatically.  For example:
 
  host www.kame.net
 www.kame.net has address 203.178.141.194
 www.kame.net has IPv6 address
 2001:200:0:8002:203:47ff:fea5:3085
 
 
  IP.IP.IP.8 is my ISP's DNS server, and is a third
 option just in case the localhost DNS server crashes or goes
 batty while I'm out drinking or somesuch.  Here's my
 resolv.conf, which shows ::1 listed as the second nameserver
 entry - however, it seems host -6 never even tries it.
 
  domain  mydomain
  search  mydomain
  nameserver  127.0.0.1
  nameserver  ::1
  nameserver  IP.IP.IP.8
 
  The DNS server running on localhost is authoritative
 for mydomain.  I can ping it via localhost using both v4 and
 v6, and I can also ping the external v4 and v6 addresses
 just fine remotely.
 
  As I said, I'm new to IPv6, but this behavior
 seems to be counterintuitive.  Am I just doing it wrong?
 
 
 For diagnosing your own nameservers, you are better off
 using the
 dig(1) utility.
 
 Example:
 
  dig ipv6.google.com  @::1
 
 This causes a dns query for an IPv6 address (aka
  query) for the
 hostname of ipv6.google.com using the
 nameserver on the IPv6
 localhost loopback address (::1), and will give a very nice
 verbose
 output.  man dig for more details.

That is more useful, but still doesn't stifle my desire to stomp a potential 
bug in the base system.  

 
 Good Luck.
 
 BTW, if you have not already setup an IPv6 tunnel to the
 internet, I
 highly recommend SixXS's (www.sixxs.net) free tunnels
 (and the
 sixxs-aiccu port), or you can look at Hurricane Electric
 (www.he.net),
 and some other tunnel brokers as well.

Actually this system is located at HE.  :)

Thanks,
- mdh



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


Re: How to upgrade to KDE4

2008-11-07 Thread mdh
--- On Fri, 11/7/08, Andrew Falanga [EMAIL PROTECTED] wrote:
 From: Andrew Falanga [EMAIL PROTECTED]
 Subject: Re: How to upgrade to KDE4
 To: RW [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Friday, November 7, 2008, 9:49 AM
 On Wed, Nov 5, 2008 at 3:26 PM, RW
 [EMAIL PROTECTED] wrote:
  On Wed, 05 Nov 2008 06:52:06 -0800
  [EMAIL PROTECTED] wrote:
  the only
  thing that updated was the meta-port (I did a
 portupgrade -r too).
 
  Aside from the fact that there are separate kde
 meta-ports,
  portupgrade -r kde... updates the metaport and
 everything that depends
  on the metaport, not everything the metaport depends
 on.
 
 Thanks for the clarification.  I think I had things
 backwards.
 
 Also, as I'd like to go to KDE 4, should I do a make
 deinstall in
 kdebase, or perhaps pkg_delete for the kde packages before
 installing?
  I know that the first respondent said the two versions
 could be run
 in tandem, and while I've got plenty of disk space for
 this, it also
 seems quite error prone.  What would be the recommended
 course?

KDE3 and KDE4 co-habitate just fine.  You'll likely need KDE3 installed for 
some apps which don't use KDE4 libs yet.  I am pretty sure ktorrent is what 
installed kde3 on my system when I upgraded recently.  There are plenty of 
others, though.  KDE4 installs under /usr/local/kde4, while KDE3 installs under 
/usr/local at this time (assuming you haven't changed port bases yourself.)  
Because of this, you'll likely want to remember to add 
/usr/local/kde4/{bin,sbin} to your shell search paths, and remember to use kdm 
from KDE4 as your login manager (this tricked me at first, and I was wondering 
for a bit why I was still getting a KDE3 login manager until I realized that 
KDE4 went under /usr/local/kde4/).  I would not say that it is error prone at 
all.  Everything has, so far, worked out of the box just fine save a couple of 
KDE4 bugs I've tweaked, none of which are bad enough to prevent me from working 
normally in KDE4 or to make me want to dump KDE4.  

- mdh



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


host -6 failure

2008-11-07 Thread mdh
Howdy folks,
I'm having a little trouble understanding a problem that the `host` command in 
RELENG_7_0 (very recent) is having.  This is by and large my first time working 
with IPv6, which I've been meaning to learn for some time.  First off, I've got 
my zone file configured to return a  record for x1.mydomain and named isn't 
complaining.  However, when I run `host -6 x1.mydomain`, host returns the 
following output:

([EMAIL PROTECTED]) [/etc/namedb]: host -6 x1.mydomain
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: 
internal_send: :::127.0.0.1#53: Invalid argument
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: 
internal_send: :::IP.IP.IP.8#53: Invalid argument
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: 
internal_send: :::127.0.0.1#53: Invalid argument
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1179: 
internal_send: :::IP.IP.IP.8#53: Invalid argument
;; connection timed out; no servers could be reached

IP.IP.IP.8 is my ISP's DNS server, and is a third option just in case the 
localhost DNS server crashes or goes batty while I'm out drinking or somesuch.  
Here's my resolv.conf, which shows ::1 listed as the second nameserver entry - 
however, it seems host -6 never even tries it.  

domain  mydomain
search  mydomain
nameserver  127.0.0.1
nameserver  ::1
nameserver  IP.IP.IP.8

The DNS server running on localhost is authoritative for mydomain.  I can ping 
it via localhost using both v4 and v6, and I can also ping the external v4 and 
v6 addresses just fine remotely.  

As I said, I'm new to IPv6, but this behavior seems to be counterintuitive.  Am 
I just doing it wrong?  

Thanks, Matt



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


Re: what is your programming language on freebsd?

2008-11-06 Thread mdh
--- On Thu, 11/6/08, Foo JH [EMAIL PROTECTED] wrote:
 From: Foo JH [EMAIL PROTECTED]
 Subject: what is your programming language on freebsd?
 To: freebsd-questions@freebsd.org
 Date: Thursday, November 6, 2008, 11:10 AM
 Hi there,
 
 Earlier I was asking for some help getting XSP/ mod_mono on
 FreeBSD. I
 may be asking in the wrong mailing list, but my impression
 is that mono
 on FreeBSD is generally not a popular idea.

I am not sure what leads you to believe that.  Mono in general isn't as popular 
as, say, GNU's compiler collection.  That said, it runs just fine on FreeBSD.  
There are motivated folks working to get more ports added, such as for 
monodevelop.  

There's a google group for this, though, it's called bsd-sharp.  You may want 
to try there if you have problems related to Mono on FreeBSD and there aren't 
any helpful answers forthcoming on the seemingly-appropriate freebsd.org list.  

 
 To pose my questions to the developers in the FreeBSD
 community:
 1. What programming language(s) do you deploy on FreeBSD?

I've worked with C, Perl, C# (mono), and Ruby.  

There are very few programming languages that you can't use to write code that 
is intended to run on FreeBSD.  Most of these are anachronistic languages that 
no longer serve a useful purpose on any reasonably modern system, having been 
defunct for 20 or more years.  

 2. Is FreeBSD more optimised in performance for any
 particular language?

No more than any other OS.  Some languages may be better optimized than others, 
but you can't really optimize an OS to a language.  

 3. Is FreeBSD even a popular choice as a development
 platform, or is it
 better suited as a special-purpose OS (eg. mail server, DNS
 server)?

FreeBSD is a fine development platform.  In fact, it offers some things that 
developers like that other systems don't have.  kqueue is very nice, and there 
are also little things such as the reallocf() function that are helpful as 
well.  

- mdh



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


Re: recommendation word processer for xfce

2008-11-06 Thread mdh
OpenOffice.org 3.  There's a port.  

- mdh

--- On Thu, 11/6/08, FBSD1 [EMAIL PROTECTED] wrote:
 From: FBSD1 [EMAIL PROTECTED]
 Subject: recommendation word processer for xfce
 To: [EMAIL PROTECTED] ORG freebsd-questions@FreeBSD.ORG
 Date: Thursday, November 6, 2008, 8:40 PM
 Looking for word processer that runs on xfce and can output
 document in
 ms/word format.
 
 Thanks for your help.



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


Re: Unable to mount / in read - write mode

2008-11-04 Thread mdh
--- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote:
 From: Popof Popof [EMAIL PROTECTED]
 Subject: Unable to mount / in read - write mode
 To: FreeBSD Questions freebsd-questions@freebsd.org
 Date: Tuesday, November 4, 2008, 1:57 PM
 Hi,
 I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
 I don't know where but I made a mistake and I am always
 booting on the 6.0
 kernel.
 The problem is that I have an error during boot process:
 
 mount option rw is unknown
  mount: /dev/ad0s2a : Invalid argument
  Mounting root filesystem rw failed, startup aborted
  Boot interrupted
 
 
 Its seems that tools have correctly upgraded (man mount let
 me see that I
 use the FreeBSD 7 version of mount) but not the kernel.
 
 Does someone has an idea to allow me to use my filesystem
 in read write mode
 ?

This seems to be a problem with the mount command.  Why do you feel the kernel 
may be at fault?  If the kernel can get to mount, then it has obviously already 
mounted / (though possibly in read-only mode, which is something you should let 
us know...)
There is also not necessarily a corrolation between a man page and the actual 
binary.  Check the binary's modification time and such for better detail here.  
Beyond that, try running the mount command manually from the command line after 
booting from a CD or in single-user mode, if single-user mode works.  

- mdh



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


Re: Is KDE4 usable on FreeBSD?

2008-11-03 Thread mdh
--- On Mon, 11/3/08, Mark Moellering [EMAIL PROTECTED] wrote:
 From: Mark Moellering [EMAIL PROTECTED]
 Subject: Re: Is KDE4 usable on FreeBSD?
 To: freebsd-questions@freebsd.org
 Date: Monday, November 3, 2008, 12:08 PM

 The other problems I had dealt with thrid-party programs. 
 There is no (at least as of a few months ago) K3B for KDE-4
 and no FreeBSD port of Ktorrent for KDE-4.  I tried the
 linux port but had lots of problems.
 Also, to start you need to give an explicit path, something
 like /usr/local/kde-4/bin/startkde in the .xinitrc file. 
 (at least I could never get anything else to work)
 I ultimately changed back to the 3.5.9(?) version from
 packages.  I am using an intel quad core running amd64
 FreeBSD 7.0 Release

The standard ports for ktorrent and k3b work just fine.  They use the KDE3 
libraries, but there's nothing to stop them from running great under a KDE4 
desktop.  I use them both regularly with KDE4 as my desktop.  In order for them 
to use the KDE4 libraries, the authors of those applications will have to come 
up with new versions for KDE4.  That has nothing to do with FreeBSD.  

I also use a lot of GTK based applications as well, and these run on a KDE 
desktop as well.  The X UI library used by an application does not matter to 
the desktop environment/wm application except that you may get a little more 
integration given certain combinations in terms of them pulling theming data 
from the same sources, etc.  

- mdh



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


Re: Java and FreeBSD

2008-11-03 Thread mdh
--- On Mon, 11/3/08, Spiros Papadopoulos [EMAIL PROTECTED] wrote:
 From: Spiros Papadopoulos [EMAIL PROTECTED]
 Subject: Java and FreeBSD
 To: freebsd mailing list freebsd-questions@freebsd.org
 Date: Monday, November 3, 2008, 1:26 PM
 Hi,
 
 It is now more than eight months that i am not able to use
 FreeBSD. FreeBSD
 
 version 6.1 was the last.
 
 Back then trying to work with Eclipse and java on FreeBSD
 was quite tricky.
 
 Can anyone please tell me what the current status is? For
 example can i use
 
 ports to install everything and start working with Eclipse
 straight away...?
 Or
 
 is Linux a better option?
 
 What versions of FreeBSD and Eclipse would you recommend?
 Please feel free
 
 to provide with as much information as you want.

My advice is to install the following ports in the following order:  

java/jdk16
java/eclipse-devel

eclipse-devel worked much better for me than did java/eclipse.  I also had 
trouble without getting jdk16 installed first.  It's been a while now, so I'm 
not exactly sure what all, but I think if you install those ports in that 
order, Eclipse will work for you.  You may also want to make a symlink from 
/usr/local/eclipse to /usr/local/eclipse-devel - this allows the Eclipse plugin 
ports to install properly.  Without it, they will not.  I've got several (Perl, 
Ruby, and a couple of others) installed from ports against eclipse-devel and 
they work fine once that symlink is in place.  

- mdh



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


Re: FreeBSD 7.1 - Status

2008-11-02 Thread mdh
--- On Sun, 11/2/08, David Naylor [EMAIL PROTECTED] wrote:
 From: David Naylor [EMAIL PROTECTED]
 Subject: FreeBSD 7.1 - Status
 To: freebsd-questions@freebsd.org
 Date: Sunday, November 2, 2008, 2:47 AM
 Hi,
 
 According to the Release Schedule for FreeBSD 7.1 it is a
 few months behind.  
 I know that FreeBSD 7.1 will not be released until it is
 working properly, 
 and bug free however I am wondering what the hold ups are. 
 
 
 If someone could take the time to answer me I would
 appreciate it.
 
 Regards
 
 David

Generally speaking, the easiest way to find out when a release is really likely 
to get out the door is probably to check the GNATS system for major bugs and 
follow the goings-on over on the stable, hackers, and other 
development-oriented mailing lists.  There hasn't been an RC for 7 yet, so it 
still has a ways to go.  6.4-R will probably be out the door in a matter of 
weeks, as RC2 just got tagged a couple of days ago.  Hint: look for kensmith 
commits to newvers.sh for a much quicker heads-up on activity than you'll get 
from the schedule on the website.  ;)

- mdh



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


Re: Is KDE4 usable on FreeBSD?

2008-11-01 Thread mdh
--- On Sat, 11/1/08, Wojciech Puchar [EMAIL PROTECTED] wrote:
 From: Wojciech Puchar [EMAIL PROTECTED]
 Subject: Re: Is KDE4 usable on FreeBSD?
 To: Yuri [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Saturday, November 1, 2008, 11:34 AM
  I tried using it but Desktop view window that was
 initially created when I first launched kde4 doesn't
 appear with the second launch.
  I believe KDE4 isn't ready yet.
  
  Anyone can use it without major annoyances?
 
 the question should be Is KDE usable at all on any
 OS?
 the answer is no, it's crappy imitation of windoze.
 
 If someone needs windoze like soft, just buy windows vista.
 
 For someone who need unix, FreeBSD is a good choice.

I rather like KDE4.  I don't find that it's like Windows at all, given that 
Windows is an operating system and KDE4 is a development framework, application 
suite, and window manager.  There're hefty differences there, not the least of 
which being that KDE4 isn't an operating system kernel.  In general, I've found 
it to be well-maintained (some of the window managers I've used in the past 
went defunct when the 1-2 developers actively working on them got bored or 
whatever), nicely designed, attractive appearance-wise, and easy to configure.  
Let's face it, spending a whole bunch of hours over the course of a few weeks 
writing a perfect afterstep config was really cool when I was a young'un and 
didn't have a life to worry about, but nowadays I just want to get on with what 
needs doing.  KDE allows me to accomplish just that, efficiently, and without 
leaving me unable to toggle/modify/configure certain things as GNOME does.  

- mdh



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


Re: Is KDE4 usable on FreeBSD?

2008-11-01 Thread mdh
 way.  The other turned out to be an nvidia binary driver bug which is not in 
any way specific to KDE or even FreeBSD (Linux Compiz users seem to be the 
largest afflicted community).  

At the end of the day, when you find bugs in closed-source software, you call 
the vendor and file a ticket.  With open-source software, since you aren't 
paying anything, you ought to deal with bugs through the community.  Bug 
trackers for KDE exist.  So do mailing lists.  There's a community there with 
people - usually unpaid volunteers - who are willing to help debug the 
software, just as commercial software vendors have paid support staff for such 
issues.  If you don't like free UNIX-like systems, you can buy a nice Sun box 
and get Solaris support from Sun.  In fact, Sun's support has been really good 
in my vast experience, so I'd even go so far as to recommend this if what you 
want is that level of support.  Even Sun releases bugs sometimes though.  This 
is why they, like those of us in the open-source world, release patches.  

This whole argument just strikes me as a lot of meaningless complaining in lieu 
of actually productively trying to identify and fix bugs.  

- mdh



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


Re: FreeBSD on Eeepc 1000h

2008-11-01 Thread mdh
--- On Sat, 11/1/08, Sven Aluoor [EMAIL PROTECTED] wrote:
 From: Sven Aluoor [EMAIL PROTECTED]
 Subject: FreeBSD on Eeepc 1000h
 To: freebsd-questions@freebsd.org
 Date: Saturday, November 1, 2008, 6:43 PM
 Hi folks
 
 I tried netinstall of stable and current. Both versions of
 the
 installer dont have driver for my NIC.
 
 How to get ethernet working?
 
 lscpi on Debian Lenny:
 03:00.0 Ethernet controller: Attansic Technology Corp. L1
 Gigabit
 Ethernet Adapter (rev b0)
 
 kind regards
 Sven

If I recall correctly, the eeepc 1000H has an Attansic L1E, not an L1, ethernet 
controller chipset.  FreeBSD RELENG_7 has support for the L1 and the L2, but 
I've heard that the L1E doesn't work yet.  You should do some searching for a 
driver, it's possible one of our fine developers is looking for helping testing 
one they're working on.  ;)

- mdh



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


Re: Cannot login to root account on FreeBSD 7.0

2008-10-31 Thread mdh
--- On Fri, 10/31/08, Pramod Dematagoda [EMAIL PROTECTED] wrote:
 From: Pramod Dematagoda [EMAIL PROTECTED]
 Subject: Re: Cannot login to root account on FreeBSD 7.0
 To: Jeremy Chadwick [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Friday, October 31, 2008, 10:53 AM
 On Fri, 2008-10-31 at 07:09 -0700, Jeremy Chadwick wrote:
  On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod
 Dematagoda wrote:
   But now I've faced a big problem, I can no
 longer seem to login to the
   root account where whenever I supply the proper
 credentials to the login
   screen, I always get thrown back to the login
 screen. This started
   happening after I installed D-bus and HAL through
 the FreeBSD ports
   which were built upon Xorg 1.5.1 which I had
 built myself previously, so
   I am wondering if something I did may have caused
 the problem.
  
  Reboot the machine and at the FreeBSD beastie/loader
 menu, hit 4 to
  boot into single-user mode.  Once there, do:
  
  # mount -a
  # mount -o rw -u /
  # passwd root
  
  And change the password.  reboot and you
 should be good to go.
  
 Hey Jeremy, 
 
 Thanks for looking into the problem, but unfortunately your
 solution did
 not work, I changed the root password to something else,
 however I still
 cannot login to root once I boot FreeBSD normally.
 
 Regards,
 Pramod Dematagoda

Try going through those steps again (single user mode, the mount commands) and 
then looking at your system logs in /var/log.  The logs should have failed 
authentication messages that explain what's going wrong.  

- mdh



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


Re: Cannot login to root account on FreeBSD 7.0

2008-10-31 Thread mdh
--- On Fri, 10/31/08, Pramod Dematagoda [EMAIL PROTECTED] wrote:
 From: Pramod Dematagoda [EMAIL PROTECTED]
 Subject: Re: Cannot login to root account on FreeBSD 7.0
 To: Mel [EMAIL PROTECTED]
 Cc: FreeBSD ML freebsd-questions@freebsd.org
 Date: Friday, October 31, 2008, 11:09 AM
 On Fri, 2008-10-31 at 16:00 +0100, Mel wrote:
  On Friday 31 October 2008 15:53:23 Pramod Dematagoda
 wrote:
   On Fri, 2008-10-31 at 07:09 -0700, Jeremy
 Chadwick wrote:
On Fri, Oct 31, 2008 at 06:59:04PM +0530,
 Pramod Dematagoda wrote:
 But now I've faced a big problem, I
 can no longer seem to login to the
 root account where whenever I supply
 the proper credentials to the
 login screen, I always get thrown back
 to the login screen. This
 started happening after I installed
 D-bus and HAL through the FreeBSD
 ports which were built upon Xorg 1.5.1
 which I had built myself
 previously, so I am wondering if
 something I did may have caused the
 problem.
   
Reboot the machine and at the FreeBSD
 beastie/loader menu, hit 4 to
boot into single-user mode.  Once there, do:
   
# mount -a
# mount -o rw -u /
# passwd root
   
And change the password.  reboot
 and you should be good to go.
  
   Hey Jeremy,
  
   Thanks for looking into the problem, but
 unfortunately your solution did
   not work, I changed the root password to
 something else, however I still
   cannot login to root once I boot FreeBSD
 normally.
  
  There should be in indication in /var/log/messages or
 /var/log/auth.log.
  
 I checked /var/log/messages, and I found something
 interesting, it seems
 that csh exits with signal 11(core dumped) right after a
 root login,
 there is nothing out of the ordinary in auth.log. But now
 what do I do
 to fix the problem, change the shell?

Yeowzers.  
Change it to /bin/sh for now.  Once you're back up, it'd be interesting to 
debug this.  Would you like to?  
- mdh



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


Re: Cannot login to root account on FreeBSD 7.0

2008-10-31 Thread mdh
--- On Fri, 10/31/08, Pramod Dematagoda [EMAIL PROTECTED] wrote:
 From: Pramod Dematagoda [EMAIL PROTECTED]
 Subject: Re: Cannot login to root account on FreeBSD 7.0
 To: [EMAIL PROTECTED]
 Cc: FreeBSD ML freebsd-questions@freebsd.org
 Date: Friday, October 31, 2008, 12:00 PM
 On Fri, 2008-10-31 at 08:19 -0700, mdh wrote:
  --- On Fri, 10/31/08, Pramod Dematagoda
 [EMAIL PROTECTED] wrote:
   From: Pramod Dematagoda
 [EMAIL PROTECTED]
   Subject: Re: Cannot login to root account on
 FreeBSD 7.0
   To: Mel
 [EMAIL PROTECTED]
   Cc: FreeBSD ML
 freebsd-questions@freebsd.org
   Date: Friday, October 31, 2008, 11:09 AM
   On Fri, 2008-10-31 at 16:00 +0100, Mel wrote:
On Friday 31 October 2008 15:53:23 Pramod
 Dematagoda
   wrote:
 On Fri, 2008-10-31 at 07:09 -0700,
 Jeremy
   Chadwick wrote:
  On Fri, Oct 31, 2008 at 06:59:04PM
 +0530,
   Pramod Dematagoda wrote:
   But now I've faced a big
 problem, I
   can no longer seem to login to the
   root account where whenever I
 supply
   the proper credentials to the
   login screen, I always get
 thrown back
   to the login screen. This
   started happening after I
 installed
   D-bus and HAL through the FreeBSD
   ports which were built upon
 Xorg 1.5.1
   which I had built myself
   previously, so I am wondering
 if
   something I did may have caused the
   problem.
 
  Reboot the machine and at the
 FreeBSD
   beastie/loader menu, hit 4 to
  boot into single-user mode.  Once
 there, do:
 
  # mount -a
  # mount -o rw -u /
  # passwd root
 
  And change the password. 
 reboot
   and you should be good to go.

 Hey Jeremy,

 Thanks for looking into the problem,
 but
   unfortunately your solution did
 not work, I changed the root password
 to
   something else, however I still
 cannot login to root once I boot
 FreeBSD
   normally.

There should be in indication in
 /var/log/messages or
   /var/log/auth.log.

   I checked /var/log/messages, and I found
 something
   interesting, it seems
   that csh exits with signal 11(core dumped) right
 after a
   root login,
   there is nothing out of the ordinary in auth.log.
 But now
   what do I do
   to fix the problem, change the shell?
  
  Yeowzers.  
  Change it to /bin/sh for now.  Once you're back
 up, it'd be interesting to debug this.  Would you like
 to?  
  - mdh
 
 I found something a bit more interesting, csh crashes
 regardless of the
 user account to which it is used for, so something is wrong
 with csh
 itself and not the root account.
 
 Regards,
 Pramod Dematagoda

First, please post the output of `uname -a`.  It'd be useful to know when you 
grabbed sources last, if you've built your own world at all, as well.  This 
information is necessary before we continue.  Also please post the output from 
the commands `ls -l /bin/csh` and `md5 /bin/csh`.  

While in sh, if you type /bin/csh to run csh, does it crash, or does it seem 
proper?  If it seems proper, try and few commands and see if it still does.  
If it crashes, let's try some debugging.  You should have a csh.core file, 
probably in /root.  Run the command `gdb /bin/csh /root/csh.core` (replacing 
/root/csh.core to whatever path csh.core is in, if it's not in /root), and post 
the output to this list along with everything else I've asked for.  

Do that now.  If that still doesn't work, I'm going to tell you to... 

Build it for debugging.  cd to the directory /usr/src/bin/csh, and run the 
following commands: `CFLAGS='-ggdb' make`, then run `make install`.  Once 
that's done, try /bin/csh again and if it crashes again, run `gdb /bin/csh` - 
when it crashes this time

If you do not have a directory called /usr/src/bin/csh, you'll need to cvsup 
your src.  Check through /usr/share/examples/cvsup/stable-supfile and the 
handbook section on updating sources via cvsup.  Once that's done, go back and 
run the commands in the following paragraph.  

Clearly, something is very wrong here.  

Note to others:
-rw-r--r--  1 root  wheel   4895 Mar 19  2006 /usr/src/bin/csh/Makefile
-rw-r--r--  1 root  wheel   6882 May 16  2007 /usr/src/bin/csh/config.h
-rw-r--r--  1 root  wheel   2964 May 16  2007 /usr/src/bin/csh/config_p.h
-rw-r--r--  1 root  wheel  28287 Apr  6  2004 /usr/src/bin/csh/host.defs
-rw-r--r--  1 root  wheel   1873 Feb 19  2006 /usr/src/bin/csh/iconv.h
-rw-r--r--  1 root  wheel   2391 Feb 19  2006 /usr/src/bin/csh/iconv_stub.c

Those are the file modification times for the csh sources, so even if he's 
running an older -RELEASE there shouldn't be any incompatibility issues with 
the latest source tree.  

- mdh



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


Re: Cannot login to root account on FreeBSD 7.0

2008-10-31 Thread mdh
Right - sorry, my bad on that one.  But do substitute -ggdb for your -g, as 
that'll give us GDB-specific debugging symbols.  

- mdh

--- On Fri, 10/31/08, Mel [EMAIL PROTECTED] wrote:
  Build it for debugging.  cd to the directory
 /usr/src/bin/csh, and run the
  following commands: `CFLAGS='-ggdb' make`,
 then run `make install`.
 
 
 No, we don't do that. We run:
 make DEBUG_FLAGS=-g clean all install
 
 because:
 a) setting CFLAGS omits CFLAGS from the bsd build system
 and that's not 
 advised
 b) setting DEBUG_FLAGS disables strip on install (strip
 strips the debug 
 symbols)
 
 -- 
 Mel
 
 Problem with today's modular software: they start with
 the modules
 and never get to the software part.



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


Re: improvement idea of man page of strfile

2008-10-30 Thread mdh
--- On Thu, 10/30/08, Zhang Weiwu [EMAIL PROTECTED] wrote:
 From: Zhang Weiwu [EMAIL PROTECTED]
 Subject: improvement idea of man page of strfile
 To: freebsd-questions@FreeBSD.org
 Date: Thursday, October 30, 2008, 10:47 AM
 Original text:
 
 OTHER USES
 
What can you do with this besides printing sarcastic
 and obscene mes-
sages to the screens of lusers at login or logout?
 
There are some other possibilities.  
 
1  Include strfile.h into a news reading/posting
 program, to gener-
   ate random signatures.  Tin(1) does something
 similar, in a much
   more complex manner.
 
2  Include it in a game.  While strfile
 doesn't support 'fields' or
   'records', there's no reason that
 the text strings can't be con-
   sistent: first line, a die roll; second line,
 a score; third and
   subsequent lines, a text message.
 
3  Use it to store your address book.  Hell,
 some of the guys I
   know would be as well off using it to decide
 who to call on Fri-
   day nights (and for some, it wouldn't
 matter whether there were
   phone numbers in it or not).
 
4  Use it in 'lottery' situations.  If
 you're an ISP, write a
   script to store login names and GECOS from
 /etc/passwd in str-
   file format, write another to send
 'congratulations, you've won'
   to the lucky login selected.  The prize might
 be a month's free
   service, or if you're AOL, a month free
 on a real service
   provider.

Erm, I don't see this text in strfile(8) on RELENG_7 which is reasonably 
recent.  Where did you get your man page from?  
- mdh



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


Re: Firewalls in FreeBSD?

2008-10-30 Thread mdh
--- On Wed, 10/29/08, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 From: Jeremy Chadwick [EMAIL PROTECTED]
 Subject: Re: Firewalls in FreeBSD?
 To: Terry Sposato [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED], Polytropon [EMAIL PROTECTED], Freebsd questions 
 freebsd-questions@freebsd.org
 Date: Wednesday, October 29, 2008, 11:25 PM
 On Thu, Oct 30, 2008 at 01:36:58PM +1100, Terry Sposato
 wrote:

  It is most likely caused by your ruleset not being
 stateful. If packets 
  are going out certain sessions and your firewall
 isn't then allowing back 
  in you would see the issue you are seeing. I am not
 sure how this is 
  accomplished via ipfw as I use pf but there would be a
 tonne of 
  documentation out there on how to make your rules
 stateful.
 
 Are you sure about that?  Read his statement once more:
 
 For example, I load up a client (game) and it
 connects out on XYZ
 port.  The server will send data back on ABC.
 
 I assume based on this, the following is happening:
 
 - 192.168.x.x:a sends packet to gameserver:xyz
 
 - NAT gateway translates packet (where natgw is
 a public WAN IP)
 
   192.168.x.x:a -- natgw:b --
 gameserver:xyz
 
 - gameserver sees packet to port xyz, and initiates new
 connection
   to natgw:abc
   
 - NAT gateway drops packet destined to WAN IP port abc,
 because the
   gameserver:abc connection is *new*, and does not relate
 to the
   previous NAT'd gameserver:xyz connection.
 
 If this is **truly** how the protocol works (the OP will
 need to be
 absolutely 100% positive of that fact; I recommend he
 reconfirm how it
 works), then the only solution is to set up a port forward
 on the NAT
 gateway for port abc to point to 192.168.x.x.
 
 This also means that only one computer on the LAN will be
 capable of
 playing this game.  Not much one can do about that, other
 than write
 the authors of the game and explain that their protocol is
 absolutely
 disgusting.

Does the game support IPv6?  This may be a work-around for you, since you can 
get a relatively large chunk of IPs for free via any one of a number of tunnel 
brokers.  If possible, ask your IP provider if they provide native IPv6 
transport first.  A few do, in North America and Europe, and a surprising lot 
do in Asia, especially Japan and South Korea.  If you're on a North American 
consumer ISP, chances are a tunnel broker is your only option for v6 
connectivity, however.  

If the game doesn't support IPv6, however, then you are likely stuck with 
playing with port forwarding from the public routable address, however.  It 
stinks, so feel free to lobby your ISP, the game's designers, and any other 
involved parties, about supporting IPv6 connectivity.  

In essence, a problem like the one Mr. Chadwick is eluding to is one of the 
primary motivating forces behind the adoption of IPv6 to begin with.  

- mdh



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


Re: ports missing their packages.

2008-10-29 Thread mdh
--- On Wed, 10/29/08, FBSD1 [EMAIL PROTECTED] wrote:
 From: FBSD1 [EMAIL PROTECTED]
 Subject: ports missing their packages.
 To: [EMAIL PROTECTED] ORG freebsd-questions@FreeBSD.ORG
 Cc: [EMAIL PROTECTED]
 Date: Wednesday, October 29, 2008, 4:09 AM
 It's my understanding that a port maintainer has to
 install the port for
 real any time a change is made to the port make files or a
 update to the
 source of the software to test and verify the changes work
 as wanted.
 Creating the package after this is just one command and a
 ftp upload to the
 package server. Why are maintainers being given approval to
 apply their
 changes without creating the required package? This is just
 lax management
 on the part of the people who do the authorizing of the
 changes. Missing
 packages increases user frustration level and makes FreeBSD
 look like its
 being mis-managed.

Very few port maintainers have access to simply upload a package to the ftp 
servers.  This just isn't how the system works.  During the process of checking 
to ensure that a port was built or updated sanely, we do create a package, just 
to ensure that that make target works as expected.  Port maintainers are not 
the ones responsible for the entire system, only for maintaining a few files 
which folks get in the ports tree.  

 
 An alternate solution to this problem is to allow users to
 upload missing
 packages to the package server direct or to a staging ftp
 server so port/pkg
 management staff can review first and them populate the
 production package
 server.

Yeah, that's sane.  Nobody will ever just upload something that demands to be 
run as root, then changes the root password, enables telnet, and hops on IRC to 
notify the person who uploaded it, or something.  

The system does work.  It just doesn't provide instant gratification.  If you 
really need things to happen in real-time, email the FreeBSD Foundation and 
find out how much cash it'd take for additional hardware to make that a 
reality, then send them that much cash.  

- mdh



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


Re: SUN Fire V 250

2008-10-27 Thread mdh
--- On Mon, 10/27/08, Arek Czereszewski [EMAIL PROTECTED] wrote:
 From: Arek Czereszewski [EMAIL PROTECTED]
 Subject: SUN Fire V 250
 To: Liste FreeBSD freebsd-questions@freebsd.org
 Date: Monday, October 27, 2008, 9:21 AM
 Hi,
 
 On next week I will get SUN Fire v250 machine.
 I thinking about installation FreeBSD on this machine.
 Have someone experience with FreeBSD on this machine?

I would advise signing up for the sparc64 mailing list.  I haven't worked with 
FreeBSD on a V250 myself, nor am I familiar with the exact components in it, so 
I can't say offhand.  Someone on the sparc64 list probably can though.  

- mdh



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


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread mdh
--- On Sun, 10/26/08, David Christensen [EMAIL PROTECTED] wrote:
 From: David Christensen [EMAIL PROTECTED]
 Subject: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find 
 -lgio-2.0
 To: Freebsd-Questions freebsd-questions@freebsd.org
 Date: Sunday, October 26, 2008, 2:10 PM
 freebsd-questions:
 
 If I understand the above, the linker is unable to find the
 file 
 gio-2.0.  STFW I found something similar:
 

The answer is to upgrade your devel/glib20 port to the latest version, then try 
to install or upgrade libgiofam, then install the other software.  
- mdh



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


Re: FreeBSD-7.1, BETA2 or PRERELEASE

2008-10-24 Thread mdh
--- On Fri, 10/24/08, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 From: Jeremy Chadwick [EMAIL PROTECTED]
 Subject: Re: FreeBSD-7.1, BETA2 or PRERELEASE
 To: Masoom Shaikh [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Friday, October 24, 2008, 6:26 AM
 On Fri, Oct 24, 2008 at 03:07:32PM +0530, Masoom Shaikh
 wrote:
  Hi folks,
  y'day I csuped the src and built installed the
 kernel from RELENG_7
  I was expecting FreeBSD-BETA2 in output of `uname -a`
  it is still -PRERELEASE, is it by decision or I have
 to change something ?
 
  I greped /usr/src for PRERELEASE but cud not locate
 it. I guess release
  engineering team does that. comments ?
 
 This question keeps coming up.
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/184992.html
 
 RELENG_7 == PRERELEASE.  There is no BETA2 tag
 to follow.
 
 No one is sure at this point where the BETA2
 string has come from
 (meaning why it was idealised or why it's being used). 
 I'm of the
 belief that it's something Ken is hand-hacking in
 newvers.sh before
 building + making ISO releases and putting them up on the
 mirrors.
 And I am also of the opinion that this should stop, and we
 should simply
 name the releases PRERELEASE-MMDD to signify the build
 date.

It seems likely.  I've only ever seen -PRERELEASE and -STABLE, when tracking 
RELENG_[0-9] branch.  On the other hand, I have seen -RELEASE, -BETA, -RC, 
etc, when installing from media.  

Perhaps differentiating these isn't a bad idea, however, when it comes to uname 
output in PR's, despite the queries it generates over here.  A media install 
can always be safely assumed to be a given set of code, while if someone is 
tracking a branch via cvsup, the build time would show up in uname output, 
however the user may still need to be queried for rcsid's or asked to cvsup to 
the latest if the issue is considered to possibly be a base system and/or 
kernel code issue.  

It's probably worth discussion and consideration, though.  I don't know if/how 
useful the utility of the current naming conventions are to folks trying to 
solve potential code bug PRs.  

- mdh



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


Re: FreeBSD 6.3-RELEASE installing php-imap

2008-10-24 Thread mdh
--- On Fri, 10/24/08, Grant Peel [EMAIL PROTECTED] wrote:
 From: Grant Peel [EMAIL PROTECTED]
 Subject: FreeBSD 6.3-RELEASE installing php-imap
 To: freebsd-questions@freebsd.org
 Date: Friday, October 24, 2008, 9:31 AM
 Hi all,
 
 I have a script that required php-imap extension installed
 but I keep 
 running into a 2 snags when 'making' the port
 (mail/php-imap)...
 
 First, I have to use the -DFORCE_PKG_REGISTER so
 openssl_overwtite_base 
 won't kill the make, which seems to work,

Hmmm.  This sounds indicative of a more serious problem than just something you 
can work around quickly.  I'm not at all familiar with this port though.  

 
 and, most importantly,
 
 when the mail/imap-php port tried to actually do the build
 of the imap part, 
 it says it can't find (OpenSSLs) 'evp.h' file.
 I assume it is just failing 
 on the first file it can't find.

That is very odd.  cpp(1) looks in /usr/include by default, without any -I 
flags specified.  As you state below that you have evp.h in 
/usr/include/openssl/evp.h, I don't see why this would happen.  

 
 So, I guess the question is, when making the mail/imap-php
 port, is there a 
 way to pass the path for the OpenSSL libraries? My libs
 appear to be in two 
 places:
 
 server# locate evp.h
 /usr/include/openssl/evp.h
 /usr/src/crypto/openssl/crypto/evp/evp.h
 
 If I can pass the path, I assume I should use the
 /usr/include dir, but how?

You'd use a make command such as the following, in the port dir:
make CFLAGS='-I/usr/include' install clean
That shouldn't be necessary, though, for reasons stated above.  

 
 make -D--with-openssl=/usr/include/openssl  ???

No.  If you wanted to add configure args, you'd use CONFIGURE_ARGS in a similar 
manner to how my previous example used CFLAGS.  

 
 TIA,
 
 -Grant 

This is a strange situation.  Did your web search for similar issues turn up 
anything?  Is anyone else experiencing this?  If so, was there a PR on it?  If 
not, you may want to contact the port maintainer and see if they have any 
assistance, or file a PR if there is not one already.  Also, please post a 
reply to the list with your `uname -a` output.  

- mdh



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


Re: root | su

2008-10-24 Thread mdh
--- On Fri, 10/24/08, Manolis Kiagias [EMAIL PROTECTED] wrote:
 From: Manolis Kiagias [EMAIL PROTECTED]
 Subject: Re: root | su
 To: Jos Chrispijn [EMAIL PROTECTED]
 Cc: FreeBSD Questions freebsd-questions@freebsd.org
 Date: Friday, October 24, 2008, 2:25 PM
 Jos Chrispijn wrote:
  Is there a way of stopping root from su'ing to
 another user?
 
  Jos Chrispijn
 
 Root is supposed to be the almighty god on your machine
 (i.e. you...). 
 No point trying to limit the abilities of root (especially
 if physical 
 access is also provided).
 And seriously,  root is a role not a person. If you find
 yourself trying 
 to limit root's capabilities, you've probably
 surrendered the root 
 password to the wrong person. If you need to give someone
 limited root 
 access to a machine, just use security/sudo instead (with a
 carefully 
 crafted sudoers file).

That's one option.  Another is to implement jails, or virtualization via 
something like qemu.  

Since the person asking didn't give any details of what he wants to do, it's 
hard to say, but your point is correct regardless.  

- mdh



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


Re: root | su

2008-10-24 Thread mdh
--- On Fri, 10/24/08, Jos Chrispijn [EMAIL PROTECTED] wrote:
 From: Jos Chrispijn [EMAIL PROTECTED]
 Subject: Re: root | su
 To: 
 Cc: freebsd-questions@freebsd.org
 Date: Friday, October 24, 2008, 4:45 PM
  Since the person asking didn't give any details of
 what he wants to do, it's hard to say, but your point is
 correct regardless.  
 
 The idea behind my question is this:
 I am responsible for a server on which an(other) idiot
 keeps loggin in 
 as user root, allthough he has his own user account and is
 part of the 
 wheel group. To prevent this nub to change any other user
 account in God 
 mode, I am searching for a solutions on this.

Disable direct access via whatever remote access method you use as root.  Thus 
the other individual will have to login as themself, and su to root.  If you do 
not wish them to su to root, change the root password.  

- mdh



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


Re: Locked out of Root

2008-10-23 Thread mdh
--- On Thu, 10/23/08, Lowell Gilbert [EMAIL PROTECTED] wrote:
 From: Lowell Gilbert [EMAIL PROTECTED]
 Subject: Re: Locked out of Root
 To: APseudoUtopia [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Thursday, October 23, 2008, 7:44 AM
 APseudoUtopia [EMAIL PROTECTED] writes:
 
  I have one user (other than root and the other system
 users) on my
  box, and that user is _NOT_ in the wheel group. I also
 have root
  logins disabled via SSH. This is a remote server and
 all I have is SSH
  access.
 
  Is there any way that I can gain root? I know the root
 password and
  everything, but I just can't get to it. The user
 is not in the wheel
  group, and root login is disabled in SSH.
 
  Thanks for any help/advice.
 
 You'll need to reboot in single-user mode.
 E.g.,
 http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/admin.html#SU-WHEEL-GROUP

If he can get to the system console, why would he need to bother booting to 
single user mode?  He said he has the root password.  He should just be able to 
login normally, if he can get to the system console.  
- mdh



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


Re: Locked out of Root

2008-10-22 Thread mdh
He said his unprivileged user isn't in the wheel group.  

To answer the initial question, you'll need to login to the system on the local 
console.  You cannot get root access via the network unless you're running 
another remote access service besides ssh which will allow you to login as root 
directly.  

- mdh

--- On Wed, 10/22/08, Benjamin Lee [EMAIL PROTECTED] wrote:
 From: Benjamin Lee [EMAIL PROTECTED]
 Subject: Re: Locked out of Root
 To: APseudoUtopia [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Wednesday, October 22, 2008, 11:25 PM
 
 Login as the unprivileged user and run:
 
 $ su
 
 See su(1).



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


Re: KDE and yahoo IM

2008-10-19 Thread mdh
--- On Sun, 10/19/08, FBSD1 [EMAIL PROTECTED] wrote:
 From: FBSD1 [EMAIL PROTECTED]
 Subject: KDE and yahoo IM
 To: [EMAIL PROTECTED] ORG freebsd-questions@FreeBSD.ORG
 Date: Sunday, October 19, 2008, 8:00 AM
 Does anyone have yahoo instant messenger working on KDE
 desktop??

My suggestion would be to use Kopete or Pidgin.  These are KDE-based and Gtk+ 
based, respectively, instant messaging clients.  AFAIK, the official yahoo 
messenger client for FreeBSD has not been maintained for quite some while.  
- mdh


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


Re: Disable CTRL-ALT-DEL

2008-10-18 Thread mdh
--- On Sat, 10/18/08, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 From: Jeremy Chadwick [EMAIL PROTECTED]
 Subject: Re: Disable CTRL-ALT-DEL
 To: Manolis Kiagias [EMAIL PROTECTED]
 Cc: Olivier Nicole [EMAIL PROTECTED], freebsd-questions@freebsd.org, 
 Peter Boosten [EMAIL PROTECTED]
 Date: Saturday, October 18, 2008, 4:10 AM
 
  It seems you are right. Just checked on 6.3 and 7.0
 and it does not  
  exist. It does exist in 6.2, however.
 
 Hmm...
 
 # sysctl hw.syscons.kbd_reboot=0
 hw.syscons.kbd_reboot: 1 - 0
 # sysctl hw.syscons.kbd_reboot=1
 hw.syscons.kbd_reboot: 0 - 1
 # uname -a
 FreeBSD icarus.home.lan 7.1-PRERELEASE FreeBSD
 7.1-PRERELEASE #0: Thu Oct  2 03:04:20 PDT 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PDSMI_PLUS_RELENG_7_amd64
 amd64

It's definitly there in RELENG_7 as of this moment (just cvsup'd):

/usr/src/sys/dev/syscons/syscons.c:SYSCTL_INT(_hw_syscons, OID_AUTO, 
kbd_reboot, CTLFLAG_RW|CTLFLAG_SECURE, enable_reboot,

- mdh


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


Re: Problem with www/mod_cband

2008-10-17 Thread mdh
--- On Fri, 10/17/08, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 From: Jeremy Chadwick [EMAIL PROTECTED]
 Subject: Re: Problem with www/mod_cband
 To: David Karapetyan [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org, [EMAIL PROTECTED]
 Date: Friday, October 17, 2008, 1:53 PM
 On Fri, Oct 17, 2008 at 12:57:41PM -0400, David Karapetyan
 wrote:
  FreeBSD office19.resnet.nd.edu 7.0-RELEASE-p5 FreeBSD
 7.0-RELEASE-p5 #0: 
  Wed Oct  1 10:10:12 UTC 2008 
 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  i386
  
  Hello everyone. Every time I try to use the mod_cband
 module in my 
  apache22 webserver, apache segfaults upon restart.
 Things work fine when 
  I disable the module from httpd.conf. Is this module
 broken, and if so, 
  what comparable alternatives are there?
 
 Be aware that mod_cband has quite a horrible bug.  This is
 a Debian bug
 report, but the same problem applies to FreeBSD.  Be sure
 to read the
 entire bug, not just the original report.
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=418645
 
 Regarding alternatives: there aren't.  Bandwidth
 limiting is a
 long-standing feature of Apache that's missing, which
 is a huge
 disappointment.
 
 The best solution I've found on FreeBSD is to use pf(4)
 with ALTQ,
 and give each VirtualHost its own IP address, then
 rate-limit the IP
 address using pf(4).  Yes, I realise this is impractical
 for sites
 which have many vhosts and use name-based virtualhosts.
 
 Welcome to my world...

IMHO, that solution is considerably sexier than what mod_cband claims to do 
(having read only pkg-descr).  

It seems possible, however, that mod_cband's functionality could be replicated 
by a simple script that watches the access log files and makes an update to a 
.htaccess file for the virtualhost when the virtualhost in question exceeds a 
given bandwidth limit which would be configured in the script.  Think `tail 
-f`.  Functionality is handled outside of apache so no danger of crashes.  Just 
create the .htaccess in such a way that the end-user can't delete/modify it, 
and have it do a Redirect.  For robustness' sake, move any existing .htaccess 
file to .htaccess.X and move it back when the virtualhost is back in compliance 
or paid up or whatever.  

- mdh


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


Re: back to kde3

2008-10-17 Thread mdh
--- On Fri, 10/17/08, Gary Kline [EMAIL PROTECTED] wrote:
 From: Gary Kline [EMAIL PROTECTED]
 Subject: back to kde3
 To: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG
 Date: Friday, October 17, 2008, 5:39 PM
 People,
 
 I spent the past several days trying to insure that
 everythinge kde4 was
 properly set to run upon reboot.  But upon rebooting just
 now, I find
 myself back in kde3.  i Yanked the startup from /etc/ttys,
 so *must* have
 hit the old kdm[3] from root.

If you installed from ports, change the line in /etc/ttys from 
/usr/local/bin/kdm to /usr/local/kde4/bin/kdm
The KDE4 stuff is all installed under /usr/local/kde4 in order to not conflict 
with KDE3 installs.  
- mdh


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


Re: new install sunfire v100

2008-10-15 Thread mdh
--- On Wed, 10/15/08, Davenport, Steve M [EMAIL PROTECTED] wrote:
 From: Davenport, Steve M [EMAIL PROTECTED]
 Subject: new install sunfire v100
 To: freebsd-questions@freebsd.org
 Date: Wednesday, October 15, 2008, 1:53 PM
 I'm installing 7.0-RELEASE on a Sun Sunfire v100 server.
 I was able to
 boot the cd, and install through cd one. There is no
 framebuffer on the
 v100 (vt100 serial console interface only) so the install
 would not
 proceed past the first disk. I want to use this system as a
 nameserver
 and was able to download Bind 9.3.5-P2, compile, and run.
 My questions
 are:
  
 1) Can I manually complete the install process for items on
 CDs 23?
  
 2) In the /var/log/messages I see:
  
 Oct  9 19:50:53 steve3 kernel: acd0: CDRW
 CD-224E/P.9A at ata3-slave
 PIO4
 Oct  9 19:50:53 steve3 kernel: acd0: FAILURE - READ_BIG
 MEDIUM ERROR
 asc=0x11 as
 cq=0x00
 Oct  9 19:50:53 steve3 kernel: GEOM_LABEL: Label for
 provider acd0 is
 iso9660/Fr
 eeBSD_Install.
 Oct  9 19:50:53 steve3 kernel: acd0: FAILURE - READ_BIG
 MEDIUM ERROR
 asc=0x11 as
 cq=0x00
  
 What is causing these cd errors?
  
 Thanks for your assistance!

Hi Steve,
With regards to the install, the second and third CDs only include packages.  
You can just as easily run `sysinstall` from the command line while logged in 
as root and install additional packages from an HTTP or FTP server over the 
net, or use the CDs if they work alright.  Above and beyond that, you can also 
just (I prefer this, myself) build the software you want from ports and skip 
binary packages entirely for the most part.  
If your CD drive is functioning as you expect, those syslog errors can probably 
be safely ignored.  If the issue is in fact causing problems with reading CDs, 
you can perform your install of the additional packages via the net, and 
perhaps we can deal with the CD issue - unfortunately, I've never used a 
non-SCSI SPARC64 box with FreeBSD, so I don't know if I'll personally be able 
to help you too much there, but surely some folks here or on the sparc64 list 
would.  
As an aside, you may want to consider signing up for the FreeBSD sparc64 
mailing list.  
- mdh



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


Re: Interrupt storm detected on irq10:; throttling interrupt source

2008-10-15 Thread mdh
--- On Wed, 10/15/08, nazir [EMAIL PROTECTED] wrote:
 From: nazir [EMAIL PROTECTED]
 Subject: Interrupt storm detected on irq10:; throttling interrupt source
 To: freebsd-questions@freebsd.org
 Date: Wednesday, October 15, 2008, 8:44 PM
 Hi,
 
 I'm getting these on my HP-DL165 AMD Quad Qore
 
 interrupt storm detected on irq10:; throttling
 interrupt source

What is on IRQ 10?  You can determine this via the command:
`dmesg |grep irq` then look for the line for IRQ 10 which specifies what device 
is there.  It could be a driver problem, or it could be that the hardware there 
is bunk.  
- mdh



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


Re: How to get my Dad's Win2k system to access internet through my FreeBSD 6.2 system

2008-10-15 Thread mdh
--- On Thu, 10/16/08, Da Rock [EMAIL PROTECTED] wrote:
 From: Da Rock [EMAIL PROTECTED]
 Subject: Re: How to get my Dad's Win2k system to access internet through my 
 FreeBSD 6.2 system
 To: freebsd-questions@freebsd.org
 Date: Thursday, October 16, 2008, 1:04 AM

 grin Actually I'm not sure... I'm just an
 innocent bystander :)
 
 Throughout the thread there was mention of enabling nat in
 the rc.conf,
 so whichever that was...
 
 My consideration was just in general. Someone mentioned
 enabling nat,
 another said don't double nat, so I thought routed
 would be better. But
 it seems routed is not the way to go, but to keep
 gateway_enable:
 question remains as to whether to use nat or not (I suppose
 in any form;
 but if you can enlighten me with regard if one form of nat
 is better
 than another especially in the case of double nat then
 I'd appreciate
 the information).
 
 The main reason I'm bring up this issue is to clarify
 (and possibly the
 OP will then get a better picture too) of precisely how to
 accomplish
 the result required. And maybe increase my knowledge of the
 subject
 too :) thats always a good thing.

Essentially, you need three things to accomplish nat'ing via the way I'm going 
to describe.  There're several ways to do it, but I'll only cover one here, 
because to describe others, I'd need to go look up docs, which you're more than 
welcome to do for yourself if you don't like the way I'm going to touch on.  

First, you need gateway_enable set to yes in /etc/rc.conf.  This is universally 
true regardless of which method you use for nat'ing.  What this does is 
instruct the kernel that it has multiple interfaces, and that it must pass 
packets across them, acting as a router.  This has nothing to do with various 
route discovery protocols, it only sets a sysctl which tells the kernel to 
route packets across multiple interfaces.  The default behavior is for the 
kernel not to do so.  

Second, you'll need some way for your NAT to get packets.  In some cases, the 
NAT method is built into the way that it gets packets.  With the way I'm 
discussing here, it's not.  In this case, we'll use `ipfw`.  You'll need a 
kernel that supports ipfw for this to work, obviously.  The rule you'll need 
should look something like this:
divert 8668 ip4 from any to any via sis0
Where sis0 is your EXTERNAL network interface (ie, the one facing your cable 
modem, modem, or whatever else.)  The command to add this should look something 
like: `ipfw add rule number divert 8668 ip4 from any to any via interface` 
where rule number is the rule number you'll use (it should be a low one!) and 
interface is your external-facing network interface device.  

Third, you'll need natd itself.  natd can be enabled via - you guessed it - the 
rc.conf variable natd_enable.  That's not all, though.  You'll also need to (in 
rc.conf) set natd_interface to the interface you specified in the firewall 
rule, and you'll almost certainly want to set natd_flags to -u.  

So all in all, you'll need the ipfw rule, ipfw enabled in your kernel, and the 
following lines in rc.conf:
gateway_enable=YES
natd_program=/sbin/natd
natd_enable=YES
natd_interface=sis0
natd_flags=-u

You may also need to run dhclient or somesuch to get an address from your ISP, 
but that's a whole other story.  
Enjoy.  

- mdh



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


Re: An endian error

2008-10-14 Thread mdh
--- On Tue, 10/14/08, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 From: Jeremy Chadwick [EMAIL PROTECTED]
 Subject: Re: An endian error
 To: Unga [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Date: Tuesday, October 14, 2008, 8:50 AM
 On Tue, Oct 14, 2008 at 05:00:26AM -0700, Unga wrote:
  Hi all
  
  I'm trying to compile RELENG_7 kernel on i386.
  
  The make buildkernel develops an endian
 related error:
 
 I cannot reproduce this error on any of our i386 boxes or
 our amd64
 boxes.
 
 Is this kernel being built with the new gcc you've been
 messing around
 with in other threads?  I have to ask that question, for
 obvious
 reasons.

I wonder if that code is right - normally an endian check on FreeBSD entails 
comparing BYTE_ORDER with _BIG_ENDIAN and/or _LITTLE_ENDIAN to determine which 
is the case, which would seemingly imply that it is OK to have both of those 
defined.  
- mdh



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


Re: Problems with portupgrade or db

2008-10-14 Thread mdh
--- On Tue, 10/14/08, Marco Beishuizen [EMAIL PROTECTED] wrote:
 From: Marco Beishuizen [EMAIL PROTECTED]
 Subject: Problems with portupgrade or db
 To: FreeBSD-Questions [EMAIL PROTECTED]
 Date: Tuesday, October 14, 2008, 8:08 AM
 Hi,
 
 In an attempt to upgrade db42 to db47 I seem to have broken
 some
 things. If I try to portupgrade anything I get:
 
 ...
 #portupgrade -a
 ** Makefile possibly broken: www/gnome-user-share:
   /libexec/ld-elf.so.1: Shared object
 libdb-4.2.so.2 not found,
 required by libaprutil-1.so.3 [: -le: argument
 expected
   gnome-user-share-0.31_2
   : Your apache does not support DSO modules
   
 /usr/local/sbin/portupgrade:1468:in `get_pkgname':
 Makefile broken
 (MakefileBrokenError) from
 /usr/local/sbin/portupgrade:622:in `main'
   from /usr/local/sbin/portupgrade:613:in `each'
   from /usr/local/sbin/portupgrade:613:in `main'
   from /usr/local/sbin/portupgrade:588:in `catch'
   from /usr/local/sbin/portupgrade:588:in `main'
   from /usr/local/lib/ruby/1.8/optparse.rb:1303:in
 `call'
   from /usr/local/lib/ruby/1.8/optparse.rb:1303:in
 `parse_in_order' from
 /usr/local/lib/ruby/1.8/optparse.rb:1299:in
 `catch' ... 6 levels...
   from /usr/local/lib/ruby/1.8/optparse.rb:785:in
 `initialize'
   from /usr/local/sbin/portupgrade:229:in `new'
   from /usr/local/sbin/portupgrade:229:in `main'
   from /usr/local/sbin/portupgrade:2208
 ...
 
 If I try to reinstall db42 (or anything else) I get the
 same error
 message.
 What can I do to make things work again?
 
 Thanks in advance,
 
 Marco

Have you tried installing db42 from ports manually?  ie: (cd 
/usr/ports/databases/db42  make deinstall  make clean  make install  
make clean)

If that doesn't work, perhaps try installing the db42 pkg from the FreeBSD ftp 
servers?  Personally, I try to stay away from portupgrade or anything else that 
comes around claiming to make something easier that's already easy enough.  ;)

- mdh



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


RE: Installation Hangs

2008-10-12 Thread mdh
 Yes, you can remove the hard disk, put it in a different
 machine,
 install FreeBSD on it, then move the disk back.

At that point, if you don't need a graphical console, then a serial console 
might be a good work-around option.  
http://www.freebsd.org/doc/en/books/handbook/serialconsole-setup.html for more 
info.  
- mdh



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


Re: freebsd7 kde4 performance

2008-10-11 Thread mdh
--- On Sat, 10/11/08, Michal Kulczewski [EMAIL PROTECTED] wrote:
  [EMAIL PROTECTED] wrote:
  Hi Michael,
 
  Unfortunetly I've been having the same
 difficulty with KDE4. I've
  tried using both the nv driver as well as nvidia.
 
  My hardware is intel core2 duo 1.8ghz, nvidia 8600
 gs with 512
  dedicated memory and 2gigs of system memory.
 I've tried using 7.0, 7.1
  and 8.0(Current) with all malloc debugging
 features disabled as well
  as kernel debugging options turned off. I've
 also tried switching back
  to UFS filesystems from ZFS(root install) to no
 avail.
 
  In the end I ended up using kde3 due to endless
 headaches. I felt I'd
  share this in hopes someone has managed to get it
 to run reasonably well.
 
  Regards,
 
  Tom
 well, there is no much information available though. IMHO
 it's a pity
 that once fancy gui is available, freebsd users can not
 make use of it.
 I have to switch to gnome (somehow I don't like kde3).
 
 Cheers,
  Michal

Michal, can you describe in more detail just what is performing poorly?  Things 
like what effects, what actions you're taking, what your settings are that 
effect those actions, etc?  I'm running KDE4.1.1 from ports on 7-STABLE and 
have no performance problems at all with an AthlonX2, 2gigs of memory, and a 
GeForce6200 card using nvidia binary drivers.  One thing I have come up against 
was the nvidia black windows bug with OpenGL effects turned on, but turning 
them off doesn't signifigantly hinder my enjoyment of KDE4, or make it too much 
less sexy to be honest.  The performance was also fine even with them turned 
on; it simply caused that bug to occur which made it less usable.  
Generally speaking, I've found GNOME to run with more performance issues 
despite less bells and whistles than KDE every time on any system where I've 
tried it.  
If you provide some more information, maybe I can direct you to some setting 
tweaks, etc, but as I said it's working just lovely for me (and this is with a 
ton of apps open, by the way - several seamonkey windows, a bunch of kpdf, 
eclipse, many many konsole tabs, xmms, ktorrent, and more.  
One thing I am curious of is if you're running i386 FreeBSD, or another 
architecture (amd64, ia64, etc?)  
Take care.  
- mdh



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


Re: rsync or even scp questions....

2008-10-11 Thread mdh
--- On Sat, 10/11/08, Gary Kline [EMAIL PROTECTED] wrote:
   On the Ubuntu computer I am /home/kline; on my main
 computer,
   my home is /usr/home/kline.   The following sh script
 worked
   perfected when my home on tao [FBSD] was
 /home/kline:
 
 P
 #!/bin/sh
 
 PWD=`pwd`;
 echo This directory is [${PWD}];
 
 scp -qrp  ${PWD}/* ethos:/${PWD}
 ###/usr/bin/scp -rqp -i /home/kline/.ssh/zeropasswd-id
 ${PWD}/* \ klin
 [EMAIL PROTECTED]:/${PWD}
 
   Question #1: is there any /bin/sh method of getting rid of
 the
   /usr?  I switch off between my two computers
 especially when
   get mucked up, as with my upgrade to kde4.  (Otherwise, I
 do
   backups of ~kline as well as other critical directories.)
 
   Is there a way of automatically using rsync rather that my
   kwik-and-dirty /bin/shell script?
 
   thanks, people,
 
   gary

If what you wish to do is simply get rid of /usr in a string, you can use sed 
like so:
varWithoutUsr=`echo ${varWithUsr} |sed -e 's/\/usr//'`
After running this, where $varWithUsr is the variable containing a string like 
/usr/home/blah, the variable $varWithoutUsr will be equal to /home/blah.  I 
create simple scripts like this all the time to rename batches of files, for 
example.  

The easier way is probably just to not specify a dir to scp's remote path 
though, since it defaults to the user's home directory.  

- mdh



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


Re: uptime 2 years!

2008-10-09 Thread mdh
--- On Thu, 10/9/08, Chad Marshall [EMAIL PROTECTED] wrote:
 Maybe you should put someone in charge of answering emails
 who aren't  
 cocky and smug

This is a public mailing list.  No one is in charge of answering mails to it.  
When sending to -questions, you are emailing the community of people, most of 
whom are willing to help when they have time and knowledge.  

 I still believe in FreeBSD and it's a great OS.
 It's the nix I started  
 and learned with  but I think your community is full of
 conceited,  
 pompous asses,  the reason I don't like to associate
 with IT people.  
 I'd rather not give money to someone who has to insult
 me. 

No one on this list gets paid for helping others via it.  If you want paid 
support with no risk of potentially being offended by someone, you can actually 
pay for support through any one of many companies, or just hire a consultant.  

 If you go  
 to a restaurant and you get a rude waiter, what do you do?
 I don't go  
 back or give them a crap tip.

You're under some whacky and wholly mistaken impression that anyone here is 
getting tips.  We're here to help other users because that's how the community 
interoperates.  Others help me, I in turn help others.  If someone were rude to 
me or generally behaved poorly on the list, I may then be less inclined to 
answer a question they ask which I may know the answer to, or vice-versa.  

Take care, mdh



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


Re: uptime 2 years!

2008-10-09 Thread mdh



--- On Thu, 10/9/08, Eitan Adler [EMAIL PROTECTED] wrote:

 From: Eitan Adler [EMAIL PROTECTED]
 Subject: Re: uptime 2 years!
 To: freebsd-questions@FreeBSD.org
 Date: Thursday, October 9, 2008, 8:41 PM
 Lowell Gilbert wrote:
 [snip]
  And in theory it should be possible to change time_t
 to unsigned, and
  get another two-thirds of a century out of it...
  
 However this would break binary compatibility with anything
 compiled 
 before the change.
 
 -- 
 GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F
 24AB E9C2 CCD1
 ___
 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: uptime 2 years!

2008-10-09 Thread mdh
--- On Thu, 10/9/08, Eitan Adler [EMAIL PROTECTED] wrote:
 From: Eitan Adler [EMAIL PROTECTED]
 Subject: Re: uptime 2 years!
 To: freebsd-questions@FreeBSD.org
 Date: Thursday, October 9, 2008, 8:41 PM
 Lowell Gilbert wrote:
 [snip]
  And in theory it should be possible to change time_t
 to unsigned, and
  get another two-thirds of a century out of it...
  
 However this would break binary compatibility with anything
 compiled 
 before the change.

One thing to consider is that changing any signed value to an unsigned value 
then prevents functions which return that type from returning -1 (or otherwise 
0) to indicate an error condition.  Even if it doesn't affect anything at all 
in the base system, it could impact untold sums of software developed not in 
the base system. 
- mdh



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


Re: Mailman + Apache + Cookies + FreeBSD

2008-10-09 Thread mdh
--- On Thu, 10/9/08, Grant Peel [EMAIL PROTECTED] wrote:
 From: Grant Peel [EMAIL PROTECTED]
 Subject: Mailman + Apache + Cookies + FreeBSD
 To: freebsd-questions@freebsd.org
 Date: Thursday, October 9, 2008, 5:59 PM
 Hi all,
 
 I am not a fan of cross posting, but, I have to make a
 exception in this 
 case as I can't seem to nail down whether its the
 software or OS causing me 
 the problem.
 
 Software: Apache 2.2, Python 2.5, Mailmain 2.1.11
 OS: FreeBSD 6.2 Release #0
 
 Apache and Python were built from ports, Mailman was built
 from source.
 
 Problem: I can't stay logged into the Mailman web
 interface. Each time I 
 submit a form, I am logged out. When I do log in, If I look
 on my local 
 machine, I cant find a session cookie anywhere. It like is
 never set. And 
 the Mailman documentation clearly states that none of the
 changes will be 
 saved in that scenario.
 
 Question: are there any people out there who can point me
 in the right 
 direction? I assume that Python should be setting a cookie,
 but thats just a 
 guess ... could it be OS related?

In short, no, there's really no way that the OS could be at fault unless you 
had some weird TCP stack bug that caused it to drop the same packet every time, 
which someone else would've noticed by now.  ;)

The long answer is that Cookies are set by headers in the HTTP protocol 
response, and sent back to the server in the request headers of the clients 
subsequent requests.  Python doesn't set cookies, Apache does, but python can 
command Apache to do so, and Mailman can, as a python script, command python to 
do so.  Chances are mailman is what's misconfigured.  
- mdh



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


monodevelop compile-time problem

2008-09-27 Thread mdh
Howdy,
When trying to compile monodevelop on FreeBSD 7-STABLE, I get the following 
errors:
Making all in contrib
Making all in Mono.Cecil
Error expanding embedded variable.
*** Error code 1

Stop in /u/root/bld/monodevelop-1.0/contrib.
*** Error code 1

Stop in /u/root/bld/monodevelop-1.0.

This is similar to an error when I tried to compile mono-addins, however 
installing mono-addins from ports worked.  I'm using the latest 
mono/mono-addins/gtksourceview/gtk# from ports.  Unfortunately, there's no 
monodevelop port.  Has anyone successfully gotten monodevelop working?  I 
looked for patches in the mono-addins port to see if it changed anything that 
might fix this error, but found none.  Any help is, of course, much 
appreciated.  

Thanks, mdh



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


Re: MPlayer is broken on 71-PRERELEASE?

2008-09-27 Thread mdh
Maybe bump the shared memory sysctl's?  I've never had a problem with mplayer, 
and I've got the following in my sysctl.conf:

kern.ipc.shmmax=67108864
kern.ipc.shmall=32768

The xine install suggests this (which is why I have them set), and mplayer is a 
similar type of application, so it may help out there as well.  

- mdh

--- On Sat, 9/27/08, Yuri [EMAIL PROTECTED] wrote:

 From: Yuri [EMAIL PROTECTED]
 Subject: MPlayer is broken on 71-PRERELEASE?
 To: freebsd-questions@freebsd.org
 Date: Saturday, September 27, 2008, 4:07 PM
 When I am trying to play a regular DVD video I am getting a
 messages:
 X11 error: BadShmSeg (invalid shared segment parameter)%
 11.2% 9 0
 
 
 Similar messages are printed hen I tried to play some other
 media files.
 
 Seems like something is broken in MPlayer on
 FreeBSD-71-PRERELEASE.
 
 Few months ago it used to work fine.
 
 FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE
 #13: Sat Sep 
 13 22:42:11 PDT 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 mplayer-0.99.11_6
 
 Yuri
 ___
 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: SIP compatible phone program for unix

2008-03-30 Thread mdh

--- Wojciech Puchar [EMAIL PROTECTED]
wrote:

 anyone knows such - pure text mode prefered.

I'm not sure for the console, but there's Ekiga which
is an X11 app that supports SIP.  
- mdh



  

No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! 
users and friends. 
http://tc.deals.yahoo.com/tc/blockbuster/text1.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Laptop advice

2008-03-27 Thread mdh
--- David Kelly [EMAIL PROTECTED] wrote:

 On Thu, Mar 27, 2008 at 01:53:57PM -0400, Joe Demeny
 wrote:
  
  In the end, the best advice seems to be indeed to
 take the FreeBSD CD
  to the brick-and-mortar store...
 
 Or you could purchase an Apple Mac Book and have a
 commercially
 supported Unix pre-installed. Guess that would take
 all the fun out of
 it?

While I like Mac products and OSX is pretty cool, I
still find their laptops a bit pricey.  

By the by, has anyone tried FreeBSD on one of those
little Asus EEEpc sublaptops?  A real, tiny, i386
laptop for $300 (plus maybe a bit more for an
additional SD card to bump the storage some) seems
like a truly awesome deal.  



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 6.3 to 7.0, will this work?

2008-03-27 Thread mdh
--- Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 Hi,
 I am thinking upgrading my hardware to core2 duo
 to enjoy fbsd
 7.0, my old 6.3 runs on amd64 3400+. If I just buy a
 new m-board+core
 2 cpu, can my old installation boot up the system,
 and then allow me
 to recompile kernel and stuff? I thought about
 getting a new drive too
 to do a fresh install, but my bay is full and kinda
 on a budget, thank
 you!!

If you are running AMD64, then no it would not run on
an Intel core2 duo based system.  Maybe consider an
Athlon64 X2?  You could also just backup your data,
then do a fresh install of FreeBSD 7 for whatever
architecture you decide to build out with, and restore
your data from the backup.  
- mdh



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: from 6.3 to 7.0, will this work?

2008-03-27 Thread mdh

--- Roland Smith [EMAIL PROTECTED] wrote:

 On Thu, Mar 27, 2008 at 12:13:07PM -0700, mdh wrote:
  
  If you are running AMD64, then no it would not run
 on
  an Intel core2 duo based system.  Maybe consider
 an
 
 Yes it would. The Core 2 duo chips support the amd64
 instruction set.

Oh, I'm quite surprised then and had no idea.  I'm
sorry for giving wrong information.  

 
 Do make sure that you have the GENERIC kernel kernel
 installed, so you
 won't run into missing drivers etc.

Well, you can always trial-and-error it with kldload
after the fact too usually, since the most basic
drivers are very likely still a part of his kernel
(ata and friends, pci bus, etc)

 
 But before you buy anything, look over the
 motherboard's specs to see if
 all the components are supported.
 
  Athlon64 X2?  You could also just backup your
 data,
 
 Making a backup is always a good idea. :-)

For sure.  300-500 gig USB hard drives are inexpensive
enough nowadays that there's no excuse not to, and
fast enough that they can save you a lot of time.  I
used one when upgrading from 6.2 to 7 and find myself
leaving some not-often-used stuff like old movies and
whatnot on it, freeing up more hard drive space
anyway.  

- mdh



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: solved freebsd equiv of libdl.a (load shared libs)

2008-03-26 Thread mdh
--- Steve Franks [EMAIL PROTECTED] wrote:

 On Wed, Mar 26, 2008 at 2:39 PM, Steve Franks
 [EMAIL PROTECTED] wrote:
  I am porting a linux app which is looking for
 libdl.a (which I
   understand from googling is related to loading of
 shared libs).  The
   app makes a libusb-based shared lib.  FreeBSD
 uses shared libs, so I
   assume there is equivalent functionality
 somewhere.  I also see
   libdl.a in /compat/linux/lib, but I assume if I
 link a native FreeBSD
   app against this, fireworks will be the only
 result.  I further assume
   since I got no error from gcc, that some freebsd
 header actally points
   to the exact functions expected in libdl.a, so
 they are in there
   somewhere
 
   Steve
 
   --
   Steve Franks, KE7BTE
   Staff Engineer
   La Palma Devices, LLC
   http://www.lapalmadevices.com
   (520) 312-0089
 
 
 Looks like changing -ldl to -lc (libc.a) to the link
 step in my
 makefile did it.  No idea why they weren't picking
 that up...
 
 Steve

You don't need -lc.  C compilers link in libc
regardless.  You may also want to consider letting it
load dynamically at runtime rather than linking the
static .a file at compile-time.  

Chances are what it was looking for was dlopen() and
friends, which are in libc on FreeBSD.  They are a
part of libc on my Linux systems as well though, so
not sure why it'd be trying to link against another
library, though admittedly I know a lot more about
development for FreeBSD than for Linux.  
- mdh



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread mdh
--- Andriy Babiy [EMAIL PROTECTED] wrote:

  I'm trying to compile MPlayer but it just doesn't
 work because it
  depends on gio-fam-backend and that does not
 compile. It always stops
  with:
  /usr/bin/ld: cannot find -lgio-2.0
  gmake: *** [libgiofam.la] Error 1
  *** Error code 2
  
  Stop in /usr/ports/devel/gio-fam-backend.
  *** Error code 1
  
  Any ideas what I can do?
  
  Niels

I ran into this issue as well.  It seems to have more
to do with a change to the gio-fam-backend port
requiring something recently added to the glib port. 
This bug happened to me with glib 2.14 and I fixed it
by upgrading to glib 2.16 which is the version the
glib20 port currently installs.  This change in the
port must have happened recently, like in the past few
days.  

The fix is to upgrade your devel/glib20 port to the
latest, and then go for the gio-fam-backend port.  

 
 What does the output of uname and objformat look
 like?

This happened to me on 7.0-S, but I'd imagine it
probably occurs everywhere.  
I'd guess that libgio is a part of the glib20 port
that was not installed by 2.14 but is by 2.16. 
gio-fam-backend should probably do a dependency check
for it and if it isn't there, should upgrade
devel/glib20.  



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I add search paths to gcc

2008-03-21 Thread mdh
--- Eduardo Cerejo [EMAIL PROTECTED] wrote:

 My gcc is only looking in /usr/lib and /usr/include
 for libraries and hearders and I added the paths
 /usr/local/lib/ and /usr/local/include to my .cshrc
 file:
 
 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games
 /usr/local/sbin /usr/local/bin /usr/local/lib
 /usr/local/include $HOME/bin)

PATH in the environment is where your shell searches
for programs to run from the command line, system(),
etc.  This allows you to type, say, `sh` instead of
having to type out `/bin/sh` or risking having
`/home/somekiddie/sh` run instead when you type it.  

 
 but I still have to use gcc with -I and -L switch
 for a program to compile or else it will fail.  
 
 I'm using tcsh.

There are two ways to set up alternate places to find
libraries.  The first is ldconfig, and you can see
ports run this when you install a port containing
shared libraries for example.  The other is to use the
LD_LIBRARY_PATH environment variable to set alternate
paths at run-time.  

The 'ldconfig(1)' man page has more info for you.  

Take care, mdh



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to achive email hosting for several domains

2008-03-20 Thread mdh
--- Norberto Meijome [EMAIL PROTECTED] wrote:

 On Tue, 18 Mar 2008 15:29:29 +0100
 Roberto Nunnari [EMAIL PROTECTED] wrote:
 
  Now, everything works fine, but I'm a bit
 concerned with the
  webmail login.. I'd like [EMAIL PROTECTED] to login
 with a
  username equal to the email, but as the
 authentication in
  horde is handled by imp, I'm not sure how to
 proceed with that..
 
 Hi Roberto,
 I try to avoid that beast of horde...but most
 webmail products that I've seen
 (including Horde, if memory doesn't fail me), simply
 make an imap connection to
 your server and pass on whatever auth you give to
 it IOW, whatever works
 for imap works with webmail.
 
 anyway, it wouldn't be too hard to test, right?
 
 B

This is indeed how squirrelmail works, and I've found
it to be incredibly easy to roll squirrelmail out. 
Since people will be sending authentication
credentials, you may want to set it up on an
SSL-enabled web host so that they are not sent in the
clear.  Generally, I use dovecot which allows me to
listen on all IPs for imap/ssl connections, and
localhost only for imap non-ssl (for squirrelmail's
benefit), then have squirrelmail installed under an
ssl vhost, so that users can't send their credentials
over the internet in the clear.  

Take care, mdh



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


7.0-STABLE hanging while running Xorg with nv driver

2008-03-20 Thread mdh
Hello,
I recently upgraded a system to 7.0/amd64 from 6.2. 
More accurately, I freshly installed 7.0-R on it, then
csup'd to -STABLE.  This system worked fine using
nvidia.com's Xorg drivers with Xorg 6 on 6.2, and
after installing 7.0 and building -STABLE, things
seemed to be going well also.  Once I started Xorg
with kdm/KDE however, the system would (usually within
1-5 minutes after logging in) hang.  I tried gdm/gnome
with the same results.  This was using the nv driver
that was included with the system.  The hang would
occur after some level of activity had occured - once
during openoffice startup, once during seamonkey
startup, once after opening and then closing KDE's
control center and then opening an xterm... The exact
symptom was that the system (including network stack)
would hang - I couldn't ssh to it, or ping it, or even
toggle the caps lock/num lock LEDs on the keyboard. 
The mouse cursor was, however, still responsive on the
screen.  I found this very strange.  It's a USB mouse.
 Unfortunately because it hangs in this way, I can't
get a meaningful dump or anything of that sort.  
My next step was to start Xorg using the vga driver. 
I was unable to reproduce the hang using the vga
driver, however the max resolution and depth is of
course unbearable for even short-term use.  ;)  This
leads me to believe that the issue may be with the nv
driver.  I'm also getting an error out of Xorg, which
you can see in the attached xorg_err.txt file.  I also
have suspicions towards how acpi assigns the
interrupts and such to the video controller.  The
video controller is a GeForce 6200 in the PCIEx16
slot.  I have tried to start without acpi (both
turning it off in the bios and instructing FreeBSD's
boot loader not to load it, however it seems that
FreeBSD can't find anything without acpi now - it
couldn't mount root, or do other useful things.)

A few things that changed between my old build and my
current system...
* 7.0 seems to support (or more fully support) this
system's ACPI.  It's an nvidia nf4u chipset.  The
support was either non-existent or very limited in
6.2.  
* I was using i386 before, but went to amd64 with 7.0.
 
* I'm using the nv driver for Xorg instead of the ones
from nvidia.com.  
* Xorg 6 - Xorg 7, and all other software up

No hardware has changed.  

Thank you for any help you can provide.  - mdh



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJnexus0
  acpi0
cpu0 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU0
  acpi_perf0
  powernow0
  cpufreq0
cpu1 pnpinfo _HID=none _UID=0 at handle=\_PR_.CPU1
  acpi_perf1
  powernow1
  cpufreq1
acpi_button0 pnpinfo _HID=PNP0C0C _UID=0 at handle=\_SB_.PWRB
acpi_button1 pnpinfo _HID=PNP0C0E _UID=0 at handle=\_SB_.SLPB
pcib0 pnpinfo _HID=PNP0A08 _UID=1 at handle=\_SB_.PCI0
  pci0
unknown pnpinfo vendor=0x10de device=0x005e subvendor=0x1565 
subdevice=0x3402 class=0x058000 at slot=0 function=0
isab0 pnpinfo vendor=0x10de device=0x0050 subvendor=0x1565 
subdevice=0x3402 class=0x060100 at slot=1 function=0 handle=\_SB_.PCI0.VT86
  isa0
sc0
sio1
sio2
sio3
vga0
orm0
unknown pnpinfo vendor=0x10de device=0x0052 subvendor=0x1565 
subdevice=0x3402 class=0x0c0500 at slot=1 function=1 handle=\_SB_.PCI0.SMB0
ohci0 pnpinfo vendor=0x10de device=0x005a subvendor=0x1565 
subdevice=0x3402 class=0x0c0310 at slot=2 function=0 handle=\_SB_.PCI0.USB0
  usb0
uhub0
  ums0 pnpinfo vendor=0x1241 product=0x1166 devclass=0x00 
devsubclass=0x00 release=0x0200 sernum= intclass=0x03 intsubclass=0x01 at 
port=3 interface=0
ehci0 pnpinfo vendor=0x10de device=0x005b subvendor=0x1565 
subdevice=0x3402 class=0x0c0320 at slot=2 function=1 handle=\_SB_.PCI0.USB2
  usb1
uhub1
pcm0 pnpinfo vendor=0x10de device=0x0059 subvendor=0x1565 
subdevice=0x8211 class=0x040100 at slot=4 function=0 handle=\_SB_.PCI0.MACI
atapci0 pnpinfo vendor=0x10de device=0x0053 subvendor=0x1565 
subdevice=0x3402 class=0x01018a at slot=6 function=0 handle=\_SB_.PCI0.IDE0
  ata0
acd0
atapicam0
  ata1
acd1
atapicam1
atapci1 pnpinfo vendor=0x10de device=0x0054 subvendor=0x1565 
subdevice=0x5401 class=0x010485 at slot=7 function=0 handle=\_SB_.PCI0.SAT1
  ata2
ad4
  subdisk4
atapicam2
  ata3
ad6
  subdisk6
atapicam3
atapci2 pnpinfo vendor=0x10de device=0x0055 subvendor=0x1565 
subdevice=0x5401 class=0x010485 at slot=8 function=0 handle=\_SB_.PCI0.SAT2
  ata4
atapicam4
  ata5
atapicam5
pcib1

Re: my brother is making me learn FreeBSD...

2008-03-20 Thread mdh
It's been my experience that finding drivers for
hardware created for open source operating systems by
developers within the communities is quite easy, while
such community doesn't exist for windows and you are
100% reliant on the vendor to supply working drivers. 
If they supply crap drivers, go out of business and
stop providing any, etc, you are simply out of luck,
while with an open source model it is likely that
someone will have kept development going if the vendor
ever even did produce drivers for those systems. 
There's very little in the way of modern hardware that
isn't supported by FreeBSD.  The one time I ever ran
into unsupported hardware, a quick update of -STABLE
brought the necessary support in the driver.  

The fact is that political BS aside, for 90% of
workers, FreeBSD/KDE/openoffice/firefox will meet
their needs just as well as windows, and in fact if
you start with something like PC-BSD

--- Chad Perrin [EMAIL PROTECTED] wrote:

 On Thu, Mar 20, 2008 at 09:18:25AM +0100, Nejc
 Å koberne wrote:
  everything you run on windows can be run on
 Freebsd and more.
  
  Huh? AFAIK FreeBSD can not act as a domain
 controller for an Microsoft AD.
  And this is something you would need in a company
 full of Windows boxen.
 
 You're thinking of it from the wrong direction.
 
 FreeBSD can serve the same role to other Unix and
 Linux boxen that MS
 Windows can to other MS Windows systems.
 
 
 
  And don't tell me I can throw away Windows and
 install FreeBSD on hundreds
  of clients (with so varying hardware that even
 Windows has problems 
  sometimes).
 
 Why not?  There's hardware on which FreeBSD will run
 and MS Windows will
 not, y'know.  It goes both ways.
 
 -- 
 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org
 ]
 Isaac Asimov: Part of the inhumanity of the
 computer is that, once it is
 completely programmed and working smoothly, it is
 completely honest.
 ___
 freebsd-questions@freebsd.org mailing list

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



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best way to achive email hosting for several domains

2008-03-20 Thread mdh
You could have your imapd authenticate against
something other than /etc/passwd, and map the
usernames in said other authentication mechanism to
the appropriate mail boxes.  There's no real reason
nowadays to have a system user for every email user. 
Generally speaking, what you want likely doesn't
concern your webmail app at all so much as it does
your imapd.  I use dovecot and have found its
configuration to be extremely flexible while not
overwhelmingly complex.  You may want to check it out.
 I'm using it with a mysql backend as well as exim,
and they have no problem authenticating against the
same mysql tables very easily.  
Take care, mdh

--- Roberto Nunnari [EMAIL PROTECTED] wrote:

 Hi Norberto.
 
 
 Norberto Meijome wrote:
  On Tue, 18 Mar 2008 15:29:29 +0100
  Roberto Nunnari [EMAIL PROTECTED] wrote:
  
  Now, everything works fine, but I'm a bit
 concerned with the
  webmail login.. I'd like [EMAIL PROTECTED] to
 login with a
  username equal to the email, but as the
 authentication in
  horde is handled by imp, I'm not sure how to
 proceed with that..
  
  Hi Roberto,
  I try to avoid that beast of horde...but most
 webmail products that I've seen
  (including Horde, if memory doesn't fail me),
 simply make an imap connection to
  your server and pass on whatever auth you give to
 it IOW, whatever works
  for imap works with webmail.
 
 Yes.. That's how it works now.. horde simply
 delegates to imp that
 does the authentication to the imap server.. what I
 mean is that
 as users unix accounts are named like aaa01, aaa02,
 aab01, but
 they are mapped to email addresses like
 [EMAIL PROTECTED], 
 [EMAIL PROTECTED] and [EMAIL PROTECTED], I'd
 like to let
 the user authenticate to the webmail using the email
 address,
 and then have some piece of software map the email
 address to
 the local unix account before attempting the auth
 process..
 I found out that imp provides hook points to do this
 kind
 of things and maybe I'll go that direction, but I
 just
 would like to hear what other people are doing..
 maybe
 have aliases in /etc/passwd (ie different usernames,
 same UID/GID)?
 
 Best regards.
 Robi.
 
 
  
  anyway, it wouldn't be too hard to test, right?
  
  B
  _
  {Beto|Norberto|Numard} Meijome
  
  Unix is very simple, but it takes a genius to
 understand the simplicity.
 Dennis Ritchie
  
  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]
 
 ___
 freebsd-questions@freebsd.org mailing list

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



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: my brother is making me learn FreeBSD...

2008-03-20 Thread mdh
Sure, check out the icecast and darkice ports. 
Icecast is a server, darkice is a client.  There're
also some other useful ports like icegenerator
(automatic mp3 streaming client software).  
Take care, mdh

--- Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 Hello,
 
 2008/3/20, Nerius Landys [EMAIL PROTECTED]:
  You could make it a video game server.  That's why
 I set up a FreeBSD
   server.  I run games/iourbanterror, but there are
 other games you could run.
 
 And could FreeBSD be used to become a streaming
 internet radio
 station? Has anyone been doing something like that?
 I am very
 interested to hear and hopefully it is still within
 the topic here...
 
 Thanks!
 
 -- 
 Zbigniew Szalbot
 ___
 freebsd-questions@freebsd.org mailing list

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



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]