Re: Does WINE work on FreeBSD amd64 ?

2010-12-26 Thread Jonathan Chen
On Mon, Dec 27, 2010 at 02:02:58AM -0500, Xn Nooby wrote:
 The wiki page seems to say that wine is a 32-bit port, and 32-bit
 ports do not work well on amd64.  This would imply that 32-bit Windows
 programs would not run on 32-bit wine on a FreeBSD 8.1 amd64 system.
 Is this a correct interpretation?
 
 Does anyone know if there are any plans to get 32 or 64 bit windows
 programs running under wine on FreeBSD amd64?
 
 http://wiki.freebsd.org/Wine

Well, if you look further down the page, you can see how to get a 32-bit
wine on an amd64 system. I followed the instructions, and I can get it
to play Starcraft and EVE-Online. You just got to make sure that the
32-bit executable is on your path.
-- 
Jonathan Chen j...@chen.org.nz
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
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: fetching mail (but not fetchmail)

2010-12-24 Thread Jonathan Chen
On Thu, Dec 23, 2010 at 10:27:32PM -0500, Chris Brennan wrote:
 Bit of an odd question. But I will try. Is it possible to set up some
 mechanism (in freebsd or maybe gentoo (doesn't matter to me)) to pop/imap
 into my mail location and download everything as storage and then I imap to
 my local machine to read my mail. I realize I can pop/imap directly into my
 mail, the goal of this exorcise is to store my mail on one of my local
 servers and not my windows machine which can change at a moment's notice. (I
 just don't like the idea of permanent/long-term storage in Windows :/ )

I've got a fetchmail + procmail combination, where fetchmail retrieves
it from a remote POP3 server and procmail is the local MDA which
converts it to Maildir format (which can be read by my local
IMAP server).

My ~/.fetchmailrc looks like this:
poll pop3.vodafone.co.nz protocol pop3
username myusername
password mypassword
mda /usr/local/bin/procmail
sslproto 

And ~/.procmailrc looks like:
#
#
# Trailing / for Maildir
MAILDIR=$HOME/Maildir/
DEFAULT=$HOME/Maildir/
...

Hope that helps.
-- 
Jonathan Chen j...@chen.org.nz
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
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: PCI Parallel Port I/O card

2010-11-28 Thread Jonathan Chen
On Thu, Nov 25, 2010 at 9:05 PM, Jonathan Chen j...@chen.org.nz wrote:
 Hi,

 I've got a system which has a PCI I/O card with a parallel port
 on it. I'd like my 8-STABLE/amd64 machine to recognise this card.

 The relevant bits of pciconf -lcv is:

    no...@pci0:4:6:0:   class=0x070103 card=0x2000a000 chip=0x98659710 
 rev=0x00 hdr=0x00
        vendor     = 'MosChip Semiconductors (Was: Netmos Technology)'
        class      = simple comms
        subclass   = parallel port
        cap 01[48] = powerspec 2  supports D0 D3  current D0

 However, a verbose boot reveals:
    ppc0: cannot reserve I/O port range
    ppc0: Parallel port failed to probe at irq 7 on isa0

For the archives:

It appears there isn't any to configure the card to be recognised
out-of-box. I had to add an entry in sys/dev/ppc_pci.c with the
matching chip number, and recompile the kernel. Currently, it is
recognised as:

ppc1: MosChip NM9865 1284 Printer port port
0xdc00-0xdc07,0xd880-0xd887 mem
0xfe8ff000-0xfe8f,0xfe8fe000-0xfe8fefff irq 21 at device 6.0 on
pci4

If I had multi-I/O ports on the card, I would have had to modify
sys/dev/puc/puc_data.c instead.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
___
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


PCI Parallel Port I/O card

2010-11-25 Thread Jonathan Chen
Hi,

I've got a system which has a PCI I/O card with a parallel port
on it. I'd like my 8-STABLE/amd64 machine to recognise this card.

The relevant bits of pciconf -lcv is:

no...@pci0:4:6:0:   class=0x070103 card=0x2000a000 chip=0x98659710 rev=0x00 
hdr=0x00
vendor = 'MosChip Semiconductors (Was: Netmos Technology)'
class  = simple comms
subclass   = parallel port
cap 01[48] = powerspec 2  supports D0 D3  current D0

However, a verbose boot reveals:
ppc0: cannot reserve I/O port range
ppc0: Parallel port failed to probe at irq 7 on isa0

which is due to /boot/device.hints of:
hint.ppc.0.at=isa
hint.ppc.0.irq=7

How can I configure my system to recognise the parallel port on the
PCI bus?

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
  Opportunities are seldom labeled
___
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: new user questions. (Before I back myself into a corner!)

2010-11-24 Thread Jonathan Chen
On Tue, Nov 23, 2010 at 08:41:17PM -0600, Kevin Kinsey wrote:
[...]
 Have a FTP server, so I can automate some of the web page graphics 
 updates, from other systems that generate the data, and can FTP files 
 across the LAN, also of course for general web page maintenance needs.
 
 The base system ftpd is run from inetd, a super server which can serve
 several small protocols.  Have a look at /etc/inetd.conf.  The first real 
 line:
 
 #ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -l
 
Uncomment that (remove the 'hash'), and save it (you'll have to be root
 again, of course).

An easier solutions would be to enable the ftp server in standalone
mode via /etc/rc.conf:

ftpd_enable=YES

-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: Where to send coredump?

2010-11-19 Thread Jonathan Chen
2010/11/20 Коньков Евгений kes-...@yandex.ru:
 Hi, Freebsd-questions.

 I ran FreeBSD 9-Current.
 System sometimes page faults.
 Does FBSD comunity need core dumps? If so where I can put dumps for
 you?

-CURRENT is 'bleeding-edge'; and if you're using it you should be
subscribing to freebsd-curr...@freebsd.org. Your kernel-fu should be
of a sufficient level before contemplating this branch. In general,
stack traces are more useful than raw-core dumps; but patches are more
than welcome.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
___
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: strange behaviour on FreeBSD 7.1

2010-11-18 Thread Jonathan Chen
2010/11/18 Коньков Евгений kes-...@yandex.ru:
 Hi.

 Sometimes system goes to this situation: 0% idle and no processes take CPU 
 time

 #top -SIHP
 last pid: 62813;  load averages:  4.17,  3.64,  2.16   up 28+06:44:02  
 20:41:41
 155 processes: 7 running, 129 sleeping, 19 waiting
 CPU: 99.3% user,  0.0% nice,  0.7% system,  0.0% interrupt,  0.0% idle
 Mem: 177M Active, 27M Inact, 124M Wired, 13M Cache, 60M Buf, 148M Free
 Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse

  PID USERNAME   PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND

 #top
 last pid: 62852;  load averages:  4.10,  3.67,  2.22   up 28+06:44:36  
 20:42:15
 172 processes: 4 running, 168 sleeping
 CPU: 99.6% user,  0.0% nice,  0.4% system,  0.0% interrupt,  0.0% idle
 Mem: 203M Active, 27M Inact, 125M Wired, 13M Cache, 60M Buf, 121M Free
 Swap: 2048M Total, 51M Used, 1997M Free, 2% Inuse

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
 62817 root         36  -8    0 29696K 23276K piperd   0:00  7.62% perl5.8.8

If you look at the last pid between the 2 top-output snippets, you
can see that approx 40 processes came and went in-between. This
indiciates that you probably have some script running that's spawning
a large number of short-lived processes.
-- 
Jonathan Chen j...@chen.org.nz
___
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: BUG: wrong log messages

2010-11-18 Thread Jonathan Chen
2010/11/19 Коньков Евгений kes-...@yandex.ru

 Hi, Freebsd-questions.

 Nov 18 20:27:54 meta-up kernel:
 Nov 18 20:29:11 meta-up kernel: 110ip11f0w: ipfw: 102 102D enyD enTyCP  
 T1C9P 192.168.2.173:4425 192.168.168.155:445 out via re0
 Nov 18 20:32:30 meta-up kernel: 110 iefw: 102 Deny UDP 192.168.2.90:54625 
 192.168.1.33:59306 out via re0
 Nov 18 20:33:55 meta-up kernel: 1u0 ipa re0
 Nov 18 20:42:07 meta-up kernel:
 Nov 18 20:47:34 meta-up kernel: 111010iippffww::  110022  DDeennyy  
 UUDDPP  118982..9136.86.23..41931::1500030698  11929.21.61868..
 21..91073::1417464787  oouutt  vviiaa  rree00


This particular bug of overlapping output from multiple-core machines
has been around for years. I don't think it's going to get fixed
anytime soon.
--
Jonathan Chen j...@chen.org.nz
___
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: Could not chdir to home directory

2010-08-26 Thread Jonathan Chen
On Thu, Aug 26, 2010 at 11:11:40PM +0530, Nita Pavitran wrote:
 Hi,
 
 I get the following error message and I seem to be in the root directory
 instead of the home directory:
 
 Could not chdir to home directory /homes/nitap: Permission denied
  uname -a
 FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
 Mon Oct 25 16:23:23 PDT 2004
 r...@bigpink.juniper.net:/usr/src/sys/compile/bigpink  i386
 
  
 Please let me know how I can get to my home directory.

Check the output of:
ls -ld /
ls -ld /homes
ls -ld /homes/nitap

-- 
Jonathan Chen j...@chen.org.nz
--
  You can get farther with a kind word and a gun
  than you can with a kind word alone - Al Capone
___
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: virtualbox

2010-08-07 Thread Jonathan Chen
On Fri, Aug 06, 2010 at 06:19:51PM +0200, Samuel Martín Moro wrote:
 Very powerfull, indeed
 too bad vrdp doesn't work on OSE...

It works great with the VNC server replacement. I've got this running
on 8-STABLE/amd64.
-- 
Jonathan Chen j...@chen.org.nz
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
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: FreeBSD and Broadband network connection

2010-07-22 Thread Jonathan Chen
On Thu, Jul 22, 2010 at 10:36:27AM -0700, subbu 4u wrote:
 Hi,
   My name is Subburaj from India, I bought a broadband internet connection 
 and 
 tried to connect with Freebsd system, I edited the /etc/ppp/ppp.conf with my 
 username, password and i.p address that my ISP gave me but its not going 
 through.  I tried to troubleshoot with freebsd handbook and also with forums 
 but 
 its not working but my internet connection is working with windows 7 systems. 
  
 The freeBSD were able to detect my ethernet card as vr0 and also my external 
 modem is working with freebsd but there is no connection when I ping.  Kindly 
 help.

If you have an external modem, this will mean that your probably nat'ing
from your modem. ie: your modem establishes the connection with your
ISP.

If this is the case, all you have to do is establish your vr0 network
with your modem, and set it as the default route.

If this is not the case, you will need to provide the list with more
details as to the internal network structure; ie IP addresses, etc.
-- 
Jonathan Chen j...@chen.org.nz
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
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: Is it safe to modify a port's makefile

2010-07-05 Thread Jonathan Chen
On Mon, Jul 05, 2010 at 07:43:24PM -0700, Caleb Stein wrote:
 I asked this question a while ago, and I received a few confusing  
 answers.  Here is my question again:  The Wine port will only build on  
 i386.  I have amd64.  I want to install Wine.  Is it safe to modify  
 Makefile to allow it to build on amd64?
 Please, just answer yes or no.

Yes you can try, but it won't work. You'll hit a point where it will
complain about an illegal assembler instruction.

What will work is detailed at:
  http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d
-- 
Jonathan Chen j...@chen.org.nz
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
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: Is it safe to modify a port's makefile

2010-07-05 Thread Jonathan Chen
On Mon, Jul 05, 2010 at 07:54:45PM -0700, Caleb Stein wrote:
 Thank you, just the kind of answer I was looking for.  Now is the  
 opportunity for a more detailed answer.  After reading that page, it  
 seemed like those instructions would either install i386 over amd64, or  
 make your amd64 think it's i386.  Now, I may be wrong, but I sure don't  
 want my amd64 turning into or thinking it's an i386.

The instructions are for building wine/i386 on a amd64 environment.
You will end up with i386 binaries, but the base will be under
/compat/i386. Provided your kernel has COMPAT_FREEBSD32, it will be
able to run wine/i386 in /compat/i386/usr/local/bin.

All your amd64 binaries will still be there from / downwards.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 Nyuck, nyuck, nyuck - Curly
___
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: i386 wine on amd64 - DRI a lost cause?

2010-07-03 Thread Jonathan Chen
On Fri, Jul 02, 2010 at 09:04:43AM +0200, David Naylor wrote:
 On Friday 02 July 2010 01:35:05 xorquew...@googlemail.com wrote:
  On 2010-07-01 22:16:26, David Naylor wrote:
   Have you tried the packages from http://people.freebsd.org/~ivoras/wine/
   
   They worked for me with nvidia and intel.
  
  Thanks, but as I mentioned in the hackers@ thread (and possibly this one),
  it's actually DRI that's the problem. I can't even run 32-bit glxinfo
  reliably in the chroot. libGL often receives EFAULT when doing various
  ioctls on /dev/dri/card0 and sometimes crashes outright.
 
 That is interesting as I am able to play Warcraft 3 on an intel laptop.  I 
 don't think it is using software rendering.  Wine runs without crashing and 
 does require libGL to launch the game.
 
 I have also played Command and Conquer 3 on nvidia (but the proprietry nvidia 
 driver does not use dri).  

I'm got (unjailed) wine/i386 on amd64, and it plays DirectX 9 games
with no problems; eg EVE-Online. I'm using the nvidia-drivers, which
have to be installed on the 32-bit base, as well as the 64-bit driver
on the /usr/local
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
j...@chen.org.nz |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
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: what is /usr/sbin/nmbd

2010-06-19 Thread Jonathan Chen
On Sat, Jun 19, 2010 at 07:33:16AM -0700, Caleb Stein wrote:
 I constantly get messages telling me that it couldn't be executed.

nmbd is part of the samba suite. However, in FreeBSD it lives in
/usr/local/sbin. The fact that something is trying to execute it says
that you've got some Linux shell script running without your
knowledge. Check to see if you machine has got any funny scripts in
/tmp or /var/tmp, indicating some incursion.
-- 
Jonathan Chen j...@chen.org.nz
--
 Beer. Now there's a temporary solution.
   - Homer Simpson
___
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: ipfw natd rules not loading on startup

2010-05-14 Thread Jonathan Chen
On Sat, May 15, 2010 at 02:33:10AM +0200, umage wrote:
 I performed a kernel+world update of my freebsd router, RELENG_8 branch,
 apparently from the version 6 months ago to current. I use ipfw and a
 shell script that gets loaded at startup. I noticed after rebooting that
 ipfw did not load two rules, both of type divert natd. However, if I
 run the script manually, or call it from the end of /etc/rc, it will add
 these rules as well. Currently I am using a workaround.

Best to ask -STABLE. There's been some breakage of ipfw since end of
April. I'm unsure as to whether they've all be resolved yet.

Cheers.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
j...@chen.org.nz |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Eclipse causes segmentation fault in Java

2010-05-13 Thread Jonathan Chen
On Thu, May 13, 2010 at 11:10:42PM +0200, Ondrej Majerech wrote:
 Hey,
 
 I have a fresh FBSD 8-Stable/AMD64 installation and I want to run 
 Eclipse. This is what I get:
 
 [starlight] ~  eclipse
 realpath: : No such file or directory
 #
 # An unexpected error has been detected by Java Runtime Environment:
 #
 #  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
 #
 # Java VM: Java HotSpot(TM) 64-Bit Server VM 
 (1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)
 # Problematic frame:
 # C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
 #
 # An error report file with more information is saved as hs_err_pid11170.log
 #
 # Please submit bug reports to freebsd-j...@freebsd.org
 #

At a guess, you recently upgraded to GNOME 2.30; and since it's been
crashing. I just started seeing this myself since I updated yesterday.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
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: DNS not working since May 6 2010

2010-05-07 Thread Jonathan Chen
On Fri, May 07, 2010 at 09:02:13AM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 06/05/2010 21:40:02, Jonathan Chen wrote:
 
  I've got a small DNS server on my home network, and ever since May 6,
  2010 (co-incidentally DNSSEC root sign day), lookups on freebsd.org have
  started failing. eg:
 
 Uh, the DURZ was installed on j.root; the last one of the root servers
 to get it.  Besides, .org was DNSSEC signed way back in June 2009. That
 is not causing your problem here.
 

Hmm, I ran across an DNSSEC article in The Register, which lead me to:

   http://labs.ripe.net/content/testing-your-resolver-dns-reply-size-issues

Working thru' it, I tweaked my named.conf's edns-udp-size option and
it started working again. So it looks like it was related to the final
set of root servers being enabled.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 When all else fails, RTFM
___
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


DNS not working since May 6 2010

2010-05-06 Thread Jonathan Chen

Hi,

I've got a small DNS server on my home network, and ever since May 6, 2010 
(co-incidentally DNSSEC root sign day), lookups on freebsd.org have started 
failing. eg:


  ~,8:36am dig www.freebsd.org a

  ;  DiG 9.6.1-P3  www.freebsd.org a
  ;; global options: +cmd
  ;; connection timed out; no servers could be reached

Lookups on other domains still appear to work, Google, OpenBSD, NetBSD, 
etc. Is anyone else seeing this? How do I fix it?


Cheers.
--
Jonathan Chen jonathan.c...@solnetsolutions.co.nz


Attention:
This email may contain information intended for the sole use of
the original recipient. Please respect this when sharing or
disclosing this email's contents with any third party. If you
believe you have received this email in error, please delete it
and notify the sender or postmas...@solnetsolutions.co.nz as
soon as possible. The content of this email does not necessarily
reflect the views of Solnet Solutions Ltd.

___
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: Gaming

2010-04-29 Thread Jonathan Chen
On Thu, Apr 29, 2010 at 11:20:28PM +0400, Mikle Krutov wrote:

[...]
 I've played on my nvidia workstation (8400gs) Actually, the only 
 tricky thing about games - installing wine on amd64, everything other 
  works just as good as it does in linux.

I agree. There's a wiki entry detailing the process:

http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d

There are a few problems with the network interfaces on the 32-64 bit
bridge; which will intefere with some network related games (eg: EVE
Online), but on the whole the experience is very positive.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
If everything's under control, you're going too slow
  - Mario Andretti
___
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: diablo-jdk not installing correctly

2010-04-25 Thread Jonathan Chen
On Sun, Apr 25, 2010 at 07:34:19PM -0400, herbey zepeda wrote:

[...]
 I am concerned because according to the literature diablo is supposed to
 be the maintained jdk for FreeBSD. And I realize that I am having to
 download version 7.1 when we are already on version 8.0 of FreeBSD to make
 java work
 
 My question is: is Java in FreeBSD an experimental/academic package? Should
 I rather go with the linux compatibility way?

There has been no movement with the diablo-jdk for ages; java/openjdk6
is better maintained and would be a better choice.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
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: ntpdate problem

2010-03-13 Thread Jonathan Chen
On Sat, Mar 13, 2010 at 01:19:54PM -0600, Programmer In Training wrote:
 On 03/13/10 13:08, RW wrote:
 snip
ntpd_sync_on_start=YES
 snip
  you can run ntpdate at boot with
  
 ntpdate_enable=YES
  
  the rc script gets the servers from ntp.conf
 
 Can you have both in rc.conf without abusing the ntp server(s) or should
 it just be one or the other? I'd like my clock to be as accurate as
 possible when I start up the system.

Yes. I have both enabled on my multi-boot laptop to account to huge
jumps in time when coming back from Windows.
-- 
Jonathan Chen j...@chen.org.nz
--
char *p=char *p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
___
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: libswt on amd64 freebsd 8.0

2010-02-17 Thread Jonathan Chen
On Wed, Feb 17, 2010 at 11:07:51AM -0800, Dino Vliet wrote:
 Hi folks,
 My current machine is a amd64 system running freebsd 8.0. For a java 
 application I need libswt and wanted to know if there is a native version for 
 freebsd amd64. Also I need to know which port install this library, so what I 
 should install to get it.

x11-toolkits/swt

-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: which java on 8-release

2010-02-04 Thread Jonathan Chen
On Thu, Feb 04, 2010 at 05:25:57PM -0700, Steve Franks wrote:
 Hi,
 
 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?

You need to install compat7 and diablo-6. This will enable you to
build your 'seed' openjdk6 port; which you can package and transfer to
other hosts. You can remove compat7 and diablo-6 once openjdk6 has
been installed; as openjdk6 can be used to rebuild itself during
upgrades.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Please help me

2010-01-20 Thread Jonathan Chen
On Wed, Jan 20, 2010 at 01:10:48PM +0630, komyo gyi wrote:
 hi,
 
   yesterday i have modify squid.conf file.i have use vi editior.but i
  cannot delete in text message. following error ^? appear.How to do it?.
  please help me.

Looks like you're hitting the Delete key. That's not a valid vi
command. You need to be in command mode and hit the 'x' key.
-- 
Jonathan Chen j...@chen.org.nz
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
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: Starting sshd, ssh connections

2009-12-29 Thread Jonathan Chen
On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
 On a newly installed FreeBSD7.2, when booting it takes a long time to get
 past Starting sshd..
 I'm using the PC only in a private network. The IP of the PC is 192.168.75.8
 # ssh r...@192.168.75.8
 or  # ssh r...@127.0.0.1
 take both 15 seconds to display
 Password: ...
 At setup, I did specify a hostname, a domainname, a default_router
 (192.168.75.14) and
 DNS server 192.168.254.100 (in the future to be replace by non-private IPs),
 
 but since I am testing only in a private network and only with IP adresses
 (no hostnames)
 these are not used.
 So what is causing that delay at Start of sshd and use of ssh?

Reverse DNS lookup. Make sure you have PTR entries for all IPs in use.
-- 
Jonathan Chen j...@chen.org.nz
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
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: Starting sshd, ssh connections

2009-12-29 Thread Jonathan Chen
On Tue, Dec 29, 2009 at 08:19:03PM +0100, n dhert wrote:
 There is an entry in /etc/hosts for the hostname and hostnam.domainname for
 its IP
 So far this is the only IP used (besides 127.0.0.1). /etc/resolv.conf
 containts the domainname
 and a nameserver line (nameserver 192.168.254.100)
 What else would be needed?

I suspect your problem is that 192.168.75.8 doesn't resolve to a hostname.
You could possibly put that into /etc/hosts, or put a PTR entry for it in
your DNS.
-- 
Jonathan Chen j...@chen.org.nz
--
  If you're right 90% of the time, why quibble about the remaining 3%?
 
   On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
   On a newly installed FreeBSD7.2, when booting it takes a long time to get
   past Starting sshd..
   I'm using the PC only in a private network. The IP of the PC is
  192.168.75.8
   # ssh r...@192.168.75.8
   or  # ssh r...@127.0.0.1
   take both 15 seconds to display
   Password: ...
___
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: error when updating ports in 8.0

2009-12-10 Thread Jonathan Chen
On Thu, Dec 10, 2009 at 06:44:16PM -0500, Tsu-Fan Cheng wrote:
 Hi,
Just update to release 8.0 a few days ago, then when update ports by
 csup, error occurs:
 
 Fatal error 'kse_create() failed
 ' at line 469 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 0)
 

At a guess, your userland and kernel are out of sync.
-- 
Jonathan Chen j...@chen.org.nz
--
  The things we know best are the things we haven't been taught.
 - Marquis de Vauvenargues
___
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: Downloading and Burning Free BSD

2009-12-10 Thread Jonathan Chen
On Thu, Dec 10, 2009 at 09:46:38PM -0800, Roger Agraviador wrote:
 I clicked the ISO link and I was brought to a directory, this to be exact (
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/)
 
 Once I have downloaded all Iso Images do I burn the 'boot only.iso' file on
 one DVD or CD only? or do I burn that along with 'disc1.iso', and how do I
 go about burning the rest of the files in that directory once I have
 downloaded them?

You should burn the disc1.iso at a minimum. The boot-only.iso is for
testing. The other iso images contain packages that you may want to
install.
-- 
Jonathan Chen j...@chen.org.nz
--
I don't want to achive immortality through my works..
 I want to achieve it through not dying - Woody Allen
___
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: Firefox 3.5 and Epiphany crashing since the GNOME 2.28 update

2009-12-01 Thread Jonathan Chen
On Tue, Dec 01, 2009 at 01:44:00AM -0500, Curly Brace wrote:
 Hi all, I'm on 8.0/amd64, and my GNOME 2.28 update went off with no
 problems, but now Firefox 3.5 and Epiphany 2.28 crash when visiting
 certain pages, such as the Welcome to firefox first-start page.
 Firefox leaves Segmentation fault (core dump) in the console when it
 crashes, and Epiphany is silent. I've removed the Totem 2.28 plugins
 (thinking them to be the cause), removed Moonlight, removed Java,
 removed nspluginwrapper Flash10, and finally
 removed /usr/local/lib/browser_plugins altogether.
 
 This seems very similar to the Firefox 3.5 HTML5 video crash FreeBSD 7
 users experience until they kldload sem, but I'm on 8.0 and sem is
 loaded by default.

Did you remember to rebuild all your ports?
-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: ntpdate on FreeBSD 8.0

2009-11-30 Thread Jonathan Chen
On Mon, Nov 30, 2009 at 06:13:24AM -0600, ajtiM wrote:
 On Sunday 29 November 2009 21:38:04 Warren Block wrote:
  On Sun, 29 Nov 2009, ajtiM wrote:
   I have new installed FreeBSD 8.0 and in rc.conf I have:
  
   ntpdate_enable=YES
   ntpdate_hosts=ntp1.cs.wisc.edu
  
   When I boot computer I get a message there are no this host but when I
   run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
  
   I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
   settings on FreeBSD8.0 are the same as I had on 7.2.
  
  Might you have a Realtek network card?
  
  -Warren Block * Rapid City, South Dakota USA
  
 
 Yes, I have realtek card too but it is not active. DHCP is on sk0 and as I 
 wrote I never had problems with that. Maybe is different now?

Try using:
ifconfig_sk0=SYNCDHCP 

which makes sure sk0 comes back with an address from DHCP before
proceeding.
-- 
Jonathan Chen j...@chen.org.nz
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
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: ifconfig - GUI interface available?

2009-11-26 Thread Jonathan Chen
On Thu, Nov 26, 2009 at 04:09:26PM +0100, herbert langhans wrote:
 Hi Daemons,
 I use my laptop in different wifi networks. To choose the ssid, passwords and 
 such necessities I have to use the all-knowing and confusing 'ifconfig'.
 
 Question: Is there a GUI replacement for ifconfig? Where I can scan, choose 
 the ssid and do other basic things? I havent found anything in the ports 
 collection..
 

There's no GUI for ifconfig that I know of, but there *is* a GUI for
managing wi-fi networks in the ports:

http://www.freshports.org/net-mgmt/wifimgr/

See if it helps.
-- 
Jonathan Chen j...@chen.org.nz
--
The reason why worry kills more people than work is that more people
 worry than work. - Robert Frost
___
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: upgrading firefox

2009-11-21 Thread Jonathan Chen
On Sun, Nov 22, 2009 at 04:13:01AM +, Steven Seipel wrote:
 I have freebsd 7.2 with gnome. It has firefox 2.0.0.20. What will I need to 
 do to upgrade to firefox 3.anything? I have tried pkg_add -r with  all the 
 versions listed on the ports page but it is always unable to fetch them. 
 When I just typed pkg_add -r firefox it told me I already have version 
 2.0.0.20 installed. So what do I do to get a more recent version?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html

-- 
Jonathan Chen j...@chen.org.nz
--
 Power corrupts, Absolute Power is pretty neat
___
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: ELF library not found error

2009-11-18 Thread Jonathan Chen
On Wed, Nov 18, 2009 at 11:49:47AM -0600, Peter Steele wrote:
 Presumably (and I am speculating), the 8.0 packages are not yet finalized 
 and therefore inconsistent.  Perhaps you will have better luck after the 
 official 8.0 Release?
 
 I was thinking the same thing--too much version mismatching going on. I'm 
 going to take your suggestion though and compile all of the ports we want to 
 use, and then convert them back into packages. I tried that with one port 
 that was failing and this solved the problem. 
 

When you do a major upgrade (ie: 6 to 7, or 7 to 8), one of the final
steps recommended is to recompile all ports. The compatX packages are
a stop gap until your transition is complete, and can/should be
removed once all your ports have been updated.

If you choose not to recompile/refectch all your ports, you are faced
with the possibility of library and port dependancy breakages as each
installed port updates to newer and possibly incompatible versions.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
A little learning is a dangerous thing but a lot of ignorance is
 just as bad.  - Bob Edwards
___
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: Virtual box to do cross-browser testing

2009-11-16 Thread Jonathan Chen
On Mon, Nov 16, 2009 at 11:02:59AM -0500, John Almberg wrote:
 Anyone have experience using Sun's Virtual Box on FreeBSD? I am 
 looking for a way to run virtual Windows machines to do cross-browser 
 testing...

I've been using it to do some .NET programming, and it's been pretty
good. No major problem, aside from the lack of CPU cycles the odd time
or so.
-- 
Jonathan Chen j...@chen.org.nz
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
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: ask for help on a strange question

2009-11-03 Thread Jonathan Chen
On Tue, Nov 03, 2009 at 11:08:25PM +0800, Jove James wrote:
 Hi friend,
 
 I've set up a FreeBSD virtual machine with VmWare Player. After configuring
 networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I
 got command not found error:
 
 jove# pwd
 /opt/lampp
 jove# ls
 RELEASENOTESerror   lampp   logssbin
 backup  etc lib modules share
 bin htdocs  libexec phpmyadmin  tmp
 cgi-bin icons   licensesphpsqliteadmin  var
 jove# ./lampp start
 ./lampp: Command not found.

Assuming that lampp is a script with the exec bit set, you may want
to check that the first line references a script-interpreter that
exists, eg #!/usr/bin/perl.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
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: korean english on same box?

2009-11-01 Thread Jonathan Chen
On Sun, Nov 01, 2009 at 07:56:24PM -0700, Steve Franks wrote:
 My Korean mother-in-law is visiting USA for the first time.  I don't
 know the first thing about what it will take to make it so she can
 email home, so I'm hoping someone on the list is familiar with this?

I had a similar situation with Japanese in-laws. Fortunately, I'm
using GNOME, which has localisation for Japanese. I had to tweak their
~/.dmrc and add/alter:

Language=ja_JP.UTF-8

Once they got past the English gdm login, they were presented with a
Japanese lanaguage desktop.

The ports which I had to install were:

www/firefox35
www/firefox35-i18n
mail/thunderbird
mail/thunderbird-i18n
japanese/scim-anthy

I'm guessing that you'll have to do something similar for Korean,
adding to ~/.dmrc:

Language=ko-KR.UTF-8

and installing korean/scim-hangul; as well as firefox and thunderbird
and their internationalisation support.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
If everything's under control, you're going too slow
  - Mario Andretti
___
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: Security blocking question

2009-10-09 Thread Jonathan Chen
On Fri, Oct 09, 2009 at 02:45:51PM -0700, Aflatoon Aflatooni wrote:

[...]
 Is there a way that I could configure the server so that if there are for 
 example X attempts from an IP address then for the next Y hours all the SSH 
 requests would be ignored from that IP address? 
 There are only a handful of people who have access to that server.

If there are only a handful, then I'd suggest that you put a whitelist
of IP addresses in your firewall config.
-- 
Jonathan Chen j...@chen.org.nz
--
A little learning is a dangerous thing but a lot of ignorance is
 just as bad.  - Bob Edwards
___
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: / almost out of space just after installation

2009-10-07 Thread Jonathan Chen
On Tue, Oct 06, 2009 at 11:28:00PM -0700, Chris Stankevitz wrote:
 Hello,
 
 I just installed FreeBSD. After I installed it, I was surprised to find only 
 26M of space on /.  I used the auto-defaults during the Disklabel portion of 
 the install.
 
 [cstankev...@crs-m6300 ~]$ df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad4s1a496M430M 26M94%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad4s1e496M 14K456M 0%/tmp
 /dev/ad4s1f113G1.9G102G 2%/usr
 /dev/ad4s1d2.9G7.9M2.6G 0%/var
 
 Q1: Is 26M free space on / after installing FreeBSD normal?
 

The amount used (ie: 430M) looks about right. On my FreeBSD-7.2-STABLE/amd64,
running a GENERIC kernel with a minimal /etc, my / filesystem is using
443M. However, this has a /boot/kernel and a /boot/kernel.old, both of
which chews up 210M each.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
  If you're right 90% of the time, why quibble about the remaining 3%?
___
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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)

2009-09-24 Thread Jonathan Chen
On Thu, Sep 24, 2009 at 06:35:27PM +, Jeronimo Calvo wrote:
 Hi all!
 
 Im still having following issue with VirtualBox: (not able to launch
 it when installed from source with option: VBOX_WITH_HARDENING = 0)
 
 log:
 
 # cd /usr/ports/emulators/virtualbox/
 # ls
 Makefilefiles   pkg-message work
 distinfopkg-descr   pkg-plist
 # make install
 # exit
 exit
 $ VirtualBox
 bash: VirtualBox: command not found

Try /usr/local/bin/VirtualBox
-- 
Jonathan Chen j...@chen.org.nz
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
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: evince paper size

2009-09-21 Thread Jonathan Chen
On Mon, Sep 21, 2009 at 09:31:54AM -0600, Warren Block wrote:
[...]
 If evince just had A4 as a default, it could be patched.  But it appears 
 to get the A4 size from gnome, somehow.

How about setting your locale in ~/.dmrc? eg:

[Desktop]
Session=default
Language=en_NZ.UTF-8
Layout=us

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 In mathematics you don't understand things.
   You just get used to them.
 - Johann von Neumann
___
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: Virtualbox does not lunch (FREEBSD 7.2 STABLE)

2009-09-17 Thread Jonathan Chen
On Thu, Sep 17, 2009 at 06:36:08PM +, Jeronimo Calvo wrote:
 Hi folks!
 
 I do have a problem when launching VirtualBox (installed from source),
 when launched as a normal user it doesnt lunch. Takes few secs... but
 nothing happens...

Did you kldload vboxdrv.ko?
-- 
Jonathan Chen j...@chen.org.nz
--
 A person should be able to do a small bit of everything,
specialisation is for insects
___
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: VLC from ports collection

2009-09-13 Thread Jonathan Chen
On Sun, Sep 13, 2009 at 03:49:49PM +0200, Roy Stuivenberg wrote:
 Hello,
 
 My install VLC did stop with remark
 
 Port marked as IGNORE: multimedia/vlc:
 
 In the makefile i found this line
 
 .if ${PERL_LEVEL}  500800
 BROKEN= Does not compile with perl ${PERL_VERSION}
 .endif
 
 Can I (and if so who) edit this option?  [FreeBSD 7.2 stable - gnome2]

The obvious solution is for you to upgrade perl. Is there a specific
requirement for the perl version you're on?

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
If everything's under control, you're going too slow
  - Mario Andretti
___
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: source code licensing questions

2009-07-27 Thread Jonathan Chen
On Mon, Jul 27, 2009 at 11:58:14AM +0300, son goku wrote:

[...]
 Browsing the web about the BSD license just made me confused. Seems like to
 understand these licensing issues you must be a lawyer.

Basically the BSD licence is: do what you like, but:

1. don't say you did it all by yourself.
2. you can't blame us for anything.
3. Include the COPYRIGHT notice.

 I got the following questions regarding source license:
 1.Do I need to open the source code for my product if I use the BSD kernel
 as part of the product?

No.

 2.If I do some kernel changes, do I need to open those changes as well?

No.

 3.What about Dtrace, if I use DTrace will I need to open code that use it?

The CDDL licence seems to imply that you do.

 4.Suppose the answer for 1-3 is no, s there any other reason why I need to
 open the code.

Only if you feel like it.

-- 
Jonathan Chen j...@chen.org.nz
--
  Jesus saves.
   Allah forgives.
 Cthulu thinks you'd make a nice sandwich.
___
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: MS Project file viewer

2009-07-22 Thread Jonathan Chen
On Wed, Jul 22, 2009 at 05:07:41PM +0200, Matthias Apitz wrote:
 El d?a Wednesday, July 22, 2009 a las 12:54:20PM +0100, Craig Butler escribi?:
 
  openproj work great for me and is available in ports.
 
 Thanks for the hint; I've installed it and it works; but on printing it
 crashes with te messages below on stderr; any idea?
 
   matthias
 
 Exception in thread AWT-EventQueue-0 java.lang.NullPointerException:
 null attribute
 at
 sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147)
 at
 sun.print.ServiceDialog$OrientationPanel.updateInfo(ServiceDialog.java:2121)
 at
 sun.print.ServiceDialog$PageSetupPanel.updateInfo(ServiceDialog.java:1263)
 at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437)
 at
 sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195)
 at sun.print.ServiceDialog.init(ServiceDialog.java:124)
 at javax.print.ServiceUI.printDialog(ServiceUI.java:188)
 at
 sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:855)
 at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421)
 at com.projity.print.GraphPageable.print(Unknown Source)
 at com.projity.pm.graphic.frames.GraphicManager.print(Unknown
 Source)
 at

This is a Java  CUPS interaction bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656

Workaround available at:

http://www.pikopong.com/blog/2008/09/09/java-printing-fix-for-linux-with-cups/


Hope this helps.
-- 
Jonathan Chen j...@chen.org.nz
--
 When you don't know what you are doing, do it neatly.
___
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: portupgrade question

2009-07-08 Thread Jonathan Chen
On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
 THat's the point !
 
 isnt that -R implied by -N ?
 
 From the portupgrade  man page 
 
 
 [...]
 -N
 --new
   Install a new port/package when a specified package is not installed. 
 Prior
   to the installation a new port/package, all the required packages are
   upgraded.

No. Since the dependant package *is* installed. It's just not up
to date.
-- 
Jonathan Chen j...@chen.org.nz
--
A little learning is a dangerous thing but a lot of ignorance is
 just as bad.  - Bob Edwards
___
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: portupgrade question

2009-07-08 Thread Jonathan Chen
On Wed, Jul 08, 2009 at 10:20:41PM +0100, RW wrote:
 On Thu, 9 Jul 2009 08:00:28 +1200
 Jonathan Chen j...@chen.org.nz wrote:
 
  On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote:
   THat's the point !
   
   isnt that -R implied by -N ?
   
   From the portupgrade  man page 
   
   
   [...]
   -N
   --new
 Install a new port/package when a specified package is not
   installed. Prior to the installation a new port/package, all the
   required packages are upgraded.
  
  No. Since the dependant package *is* installed. It's just not up
  to date.
 
 I don't understand what you're are saying here. My reading of the
 manpage is the same as Dan's: when you install kdeadmin with
 portupgrade -N, everything that kdeadmin requires will be upgraded i.e.
 brought up to date. 

My mistake. It may be a regression with portupgrade; or just that the
feature in the second sentence has never been implemented due to the
overlap with -R
-- 
Jonathan Chen j...@chen.org.nz
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
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: JDK6 for FreeBSD-64?

2009-07-02 Thread Jonathan Chen
On Thu, Jul 02, 2009 at 11:51:13AM -0700, Peter Steele wrote:
 Is there an alternative to Diablo JDK for FreeBSD-64? We've been using
 this port for a while and it works fine, but some of the tools available
 in Java distributions for other platforms are not fully implemented in
 the Diablo port. We're particularly interested in the memory profiling
 tool jmap.

There's java/jdk16 and the java/openjdk6 ports. However, I don't know
whether they support jmap or not.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
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: JDK6 for FreeBSD-64?

2009-07-02 Thread Jonathan Chen
On Thu, Jul 02, 2009 at 02:32:54PM -0700, Peter Steele wrote:
 There's java/jdk16 and the java/openjdk6 ports. However, I don't know
 whether they support jmap or not.
 
 The jmap tool in java/jdk16 doesn't appear to be complete either. Has
 anyone successfully built openjdk6 for FreeBSD?

Yes. However the GUI support under openjdk6 is iffy.

 % java -version
 openjdk version 1.6.0-internal
 OpenJDK Runtime Environment (build 1.6.0-internal-root_24_may_2009_16_24-b00)
 OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode)

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
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: Terminal / vim / shortcuts

2009-06-13 Thread Jonathan Chen
On Sat, Jun 13, 2009 at 08:18:02PM -0400, Daniel Underwood wrote:
 I edit python code in vim using Terminal on xfce.  I find myself, not
 surprisingly, having to exit insert mode and save changes frequently
 (when making code changes and wishing to test the immediate effects of
 the changes in a separate terminal).  This requires pressing 4 keys:
 esc, :, w, and enter.  How can I configure a shortcut (ideally
 using an F# key) that will perform this sequence of 4 key-presses?

Dunno about vim, but for vi, I'd put the following into ~/.exrc
map #5 ^[:w^M

where ^[ is esc, and ^M is enter. This maps the keys to F5.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 A person should be able to do a small bit of everything,
specialisation is for insects
___
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: ghostscript8 - errors when compiling from ports

2009-05-13 Thread Jonathan Chen
On Wed, May 13, 2009 at 05:54:09PM +0200, Zbigniew Komarnicki wrote:
 On Wednesday 13 of May 2009 12:08:55 you wrote:
 
  just a guess, looks like a problems with cups-base, try to update it first.
  I recommend ports-mgmt/portmaster.
 
 Thank you for help :-)
 
 I upgraded all my installed ports, by 
 # portmaster -a
 
 but this error still remain. I also reinstall the cups-base port by
 # portmaster -rf print/cups-base
 
 but still with no success. Here is the output:
 

Here's the thing: Ghostscript has a hidden (and apparently broken)
dependency on cups (ie, it's not in the Makefile). If you (forcibly)
deinstall cups-base and cups-client, you will be able to install ghostscript
cleanly. Then when that succeeds, you reinstall cups-client (first) and
then cups-base.

Hope that helps.
-- 
Jonathan Chen j...@chen.org.nz
--
   Do not take life too seriously.
   You will never get out of it alive.
___
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: clear old output in login screen?

2009-05-03 Thread Jonathan Chen
On Sun, May 03, 2009 at 11:46:30AM -0700, jw wrote:
 Currently, if I log in, do some work, then log out (from plain TTY, no
 X/SSH/etc), the output of my previous session is still readable above
 the new login:  prompt. One can use scroll lock to view even more.
 
 How do I get it to clear the screen (and the scroll buffer) when the
 login prompt gets redisplayed?

If you're using tcsh, you can put the following into ~/.logout:

clear

-- 
Jonathan Chen j...@chen.org.nz

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
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: Firefox3 and dependencies on firefox2,libxul,xulrunner

2009-04-23 Thread Jonathan Chen
On Thu, Apr 23, 2009 at 09:01:57PM +0300, l...@lena.kiev.ua wrote:
[...]
 Is Gecko a really necessary dependence of librsvg2 and mplayer-plugin
 if they are invoked only from firefox3?  For what?
 
 7.1-PRERELEASE (Oct 20) i386, linux_base-f8-8_11.

You need to replace your xulrunner references in pkgtools.conf with
libxul. Then, you can:

portupgrade -f -r -o www/libxul xulrunner

-- 
Jonathan Chen j...@chen.org.nz
--
  Opportunities are seldom labeled
___
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: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Jonathan Chen
On Sat, Apr 11, 2009 at 07:57:36AM +, Da Rock wrote:
[...]
 
 I thought it sounded like dns too. But I was under the impression that only a 
 reverse lookup was used against the Server name sent by postfix. I have 
 specifically requested a ptr record in the arpa zone, and I can run a 
 resolveip successfully here.
 
The reverse lookup is done against the IP connecting to FreeBSD mail
servers. If you post your IP to the list (and it's really no big deal),
we can easily check if it's okay.
-- 
Jonathan Chen j...@chen.org.nzOnce is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
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: Dump/Restore

2009-04-09 Thread Jonathan Chen
On Thu, Apr 09, 2009 at 10:50:49AM +0300, Daniels Vanags wrote:
 Please Help! After dump-restore /dev, /proc, /usr/compat/linux/proc - is
 empty, system fealure to boot. Please guide me, how to dump/restore
 devfs.

These are pseudo file systems, and are dynamically managed by the
system. You aren't expected to back them up.

If you're system failed to boot, how did you inspect the filesystem?
-- 
Jonathan Chen j...@chen.org.nz
--
   Do not take life too seriously.
   You will never get out of it alive.
___
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: Execute and lock a user into a program upon login

2009-03-13 Thread Jonathan Chen
On Sat, Mar 14, 2009 at 02:18:27AM +0100, Polytropon wrote:

[..]
 If the user's shell is csh (FreeBSD's standard dialog shell), you
 could achieve the goal:
 
   ~/.login
   vtysh
   logout
 
 Only problem: I don't know how the shell will act when the user
 terminates the vtysh application (^C)...

Change the contents of ~/.login to:

exec vtysh

This overlays the shell with vtysh. When it exits, the session will
be closed.
-- 
Jonathan Chen j...@chen.org.nz

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
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: reclaiming /var capacity?

2009-03-11 Thread Jonathan Chen
On Wed, Mar 11, 2009 at 03:23:50PM -0400, jamgill wrote:
 On Wed, Mar 11, 2009 at 3:04 PM, Yuri Pankov yuri.pan...@gmail.com wrote:
 
  On Wed, Mar 11, 2009 at 02:30:08PM -0400, j. wrote:
   Where did my capacity go and how can I get it back?
  
   deathray# du -sh /var
70M/var
  
  
   deathray# df -h /var
   FilesystemSizeUsed   Avail Capacity  Mounted on
   /dev/da0d 248M214M 15M94%/var
  
  
   Thanks,
  
   --j.
 
  http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF
 
 
 
 Thanks, Yuri.   According to the FAQ you linked, wouldn't a good smattering
 of sync ; sync ; sync ; sync ; sync cause the the two to reflect the sizes
 accurately?

This will do nothing if a process has an open file descriptor on a
deleted file. Use fstat(1) or lsof to help hunt down the offending
process.
-- 
Jonathan Chen j...@chen.org.nz
--
 When all else fails, RTFM
___
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: PHP5 and ldap

2009-02-24 Thread Jonathan Chen
On Tue, Feb 24, 2009 at 07:38:05PM +0100, Pieter Donche wrote:
 what the hell is a library 'bump' ??

A library bump occurs when the interface to the shared library has changed.
This requires a rebuild of dependant applications as the method
invocations or the structures used in method invocations to the library have
changed. Failure to rebuild may result in sporadic crashes, data
corruption and General Bad Things (tm).
-- 
Jonathan Chen j...@chen.org.nz
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-18 Thread Jonathan Chen
On Wed, Feb 18, 2009 at 07:18:03AM -0800, GESBBB wrote:
 I am using this snippet of code in a bash script that is run via CRON.
 ?
 ?
 snippet
 # See if we are running via CRON
 ??? if [ ! -t 0 ]
 ? then
 # Use the BASH RANDOM function to generate a random number between 0  32767
 ??? RESTING=$((RANDOM/60))
 ??? sleep ${RESTING}
 ??? fi
 /snippet
 ?
 ?
 It runs fine from the console; however, when run via CRON, it outputs this 
 error message.
 ?
 Tput: No terminal type specified and no TERM environmental variable.

Bash is looking up the user's bash startup-scripts, and one of the
script commands assumes that it's running on a terminal.
-- 
Jonathan Chen j...@chen.org.nz
--
 In mathematics you don't understand things.
   You just get used to them.
 - Johann von Neumann
___
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: top output question

2009-02-17 Thread Jonathan Chen
On Wed, Feb 18, 2009 at 09:35:27AM +0200, Omer Faruk Sen wrote:
 Hi,
 
 I see process like postgres what is the meaning of  in top output
 I couldn't find it in the manual page.

It's been swapped out.
-- 
Jonathan Chen j...@chen.org.nz
--
  Opportunities are seldom labeled
___
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: Firefox and Java?

2009-01-21 Thread Jonathan Chen
On Wed, Jan 21, 2009 at 11:11:58AM -0800, Kurt Buff wrote:
 Can't seem to get this working - trying to use a java client for our
 SSL VPN appliance, and am getting told by the browser that Java isn't
 enabled.
 
 I see /usr/local/lib/browser_plugins/libjavaplugin_oji.so, so
 according to the googling I've been doing that's correct. Any thoughts
 on how to proceed?

The default firefox3 doesn't use the standard browser plugin
location. You have to:

# cd /usr/local/lib/firefox3/plugins
# ln -s /usr/local/lib/browser_plugins/libjavaplugin_oji.so .

-- 
Jonathan Chen j...@chen.org.nz
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
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: Slow startup of Gnome - error from gnome-keyring-daemon

2009-01-14 Thread Jonathan Chen
On Wed, Jan 14, 2009 at 04:48:59PM +0100, Ewald Jenisch wrote:
 Hi,
 
 After installing a new system with 7.1 from scratch, upgrading
 kernel/system as well as ports to the current version I configured
 X-win (X -configure) and finally fired up gnome.
 
 First of all, Gnome takes a LOT of time to get up - it takes almost 5
 minutes (!) till I get the icons for Computer, Trash and the icon
 for my home folder displayed.
 
 In /var/log/messages I see tons of the following messages:
 
 Jan 14 16:44:17 mybox gnome-keyring-daemon[977]: error connecting to D-BUS 
 system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No 
 such file or directory
 Jan 14 16:44:17 mybox gnome-keyring-daemon[977]: Scheduling hal init retry
 Jan 14 16:44:47 mybox gnome-keyring-daemon[977]: error connecting to D-BUS 
 system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No 
 such file or directory
 Jan 14 16:44:47 mybox gnome-keyring-daemon[977]: Scheduling hal init retry
 Jan 14 16:45:17 mybox gnome-keyring-daemon[977]: error connecting to D-BUS 
 system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No 
 such file or directory
 Jan 14 16:45:17 mybox gnome-keyring-daemon[977]: Scheduling hal init retry
 Jan 14 16:45:47 mybox gnome-keyring-daemon[977]: error connecting to D-BUS 
 system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No 
 such file or directory
 Jan 14 16:45:47 mybox gnome-keyring-daemon[977]: Scheduling hal init retry

The obvious question is:
Have you got hald running?

Make sure your /etc/rc.conf has:
gnome_enable=YES

-- 
Jonathan Chen j...@chen.org.nz
--
 Nyuck, nyuck, nyuck - Curly
___
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: Slow startup of Gnome - error from gnome-keyring-daemon

2009-01-14 Thread Jonathan Chen
On Wed, Jan 14, 2009 at 07:13:36PM +0100, Ewald Jenisch wrote:
 On Thu, Jan 15, 2009 at 06:56:13AM +1300, Jonathan Chen wrote:
  
  The obvious question is:
  Have you got hald running?
  
  Make sure your /etc/rc.conf has:
  gnome_enable=YES
 
 Hi,
 
 Didn't know that I need 'gnome_enable=YES' in my /etc/rc.conf. 

This is a shorthand for starting a set of (possibly annoying) services
required by GNOME.
-- 
Jonathan Chen j...@chen.org.nz
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
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: logout and login after compilation

2009-01-07 Thread Jonathan Chen
On Thu, Jan 08, 2009 at 01:19:05AM +0100, Stefan Miklosovic wrote:
 hi
 
 If I something install from ports, I cant use that command
 directly. It says to me that command not found.
 
 Do I have to always log in and log out before use of
 command? Is there some other way?
 
 my shell is csh, 7.1-RELEASE

Use the command 'rehash'.
-- 
Jonathan Chen j...@chen.org.nz
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
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: Open with O_APPEND fails

2008-12-27 Thread Jonathan Chen
On Sun, Dec 28, 2008 at 05:46:39AM +0100, Mitar wrote:
 Hi!
 
 On Sun, Dec 28, 2008 at 5:10 AM, Mel
 fbsd.questi...@rachie.is-a-geek.net wrote:
  open(2) will succeed but write(2) will fail with EBADF as documented (and I
  verified this behavior). Still no EACCES as you and the bugreporter are
  seeing.
 
 Where is documented that write would fail if file is opened only with
 O_APPEND? Just O_APPEND should also open file for writing as appending
 is also writing. It cannot be used without write semantics so file
 has to be open also for writing.

If I recall correctly, this behaviour has been standard on UNIX-like
OS's for a *very* long time now. If you are seeing a write allowed
with just O_APPEND on Linux, it would very likely be a Linux only
feature.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
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: nessus report

2008-12-19 Thread Jonathan Chen
On Fri, Dec 19, 2008 at 09:57:09PM -0800, Richard Yang wrote:
 i havent tried nmap yet, but you said it also detected the remote, though no
 port is open?

ICMP doesn't require any open ports.
-- 
Jonathan Chen j...@chen.org.nz
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: eclipse-3.2.2 issue with diablo-jdk-1.5.0 in FreeBSD-7.0

2008-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2008 at 11:57:21AM +, dhaneshk k wrote:
 
  Hi ;
 
  I installed  eclipse(3.2.2) from  ports , in my FreeBSD-7.0 RELEASE box , 
 where diablo-jdk-15.0 installed 
  
 but when I start   eclipsegetting a splash message  as follows ... 
 
 
 #eclipse  
 
 
 JVM terminated. Exit code=1

Build a native JVM, java/jdk15 or java/jdk16, and use that instead.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My unqualified host name

2008-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote:
 Hello!
 
 I got the following error message on boot:
 
 nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for 
 retry
 
 Do you have any idea?

Is the name nyana the DNS or in /etc/hosts?
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrade path from 5.5

2008-09-07 Thread Jonathan Chen
On Sat, Sep 06, 2008 at 01:26:04PM -0400, Michael P. Soulier wrote:
 So if some ports aren't supported on 5.5, I'd better get my aging
 gateway upgraded.
 
 This begs the question of the correct path. I'm tempted to do a fresh
 install of 7.0 and then restore, but mergemaster does a better job of
 making sure the config files are both updated, and that nothing is
 lost.
 
 Would the correct path be 5.5 - 6.3 - 7.0?

I would personally be tempted to do a fresh install of 7.0, and then
boot single user, copy over old config files and then run a
mergemaster.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  The things we know best are the things we haven't been taught.
 - Marquis de Vauvenargues
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 3 problems - SLOW...

2008-07-13 Thread Jonathan Chen
On Sun, Jul 13, 2008 at 06:24:50PM -0600, Keith Seyffarth wrote:
 
 Has anyone else had problems with Firefox 3 installed from the ports
 being massively slow?
 
 Unlike on Windows, where the load time for the application is much
 slower (takes roughly twice as long as FF2 did), but once the
 application is loaded, it seems to be about the same, on my BSD box,
 the application loads in a little under half the time, but each page
 load takes much, much longer (8 minutes for the google firefox start
 page, 16 minutes for the welcome to Firefox 3 page, 10 minutes for the
 mozillazine home page, 6 minutes for each mozallazine forum page). On
 top of this, once the page is loaded, it take 90-120 seconds before
 you can interact with a page, and even then, interaction is slow - 5
 seconds between clicking in the scroll bar and the window moving, 15
 seconds between clicking a link and the browser acknowledging the
 click...

I did experience this, and I had to tweak the following settings in
about:config before the experience became usable:

network.http.pipelining: true
network.http.pipelining.maxrequests: 10
network.http.pipelining.ssl: true

The image loading and display code seems to have changed significantly,
and some unintended behaviour seems to have been introduced. (I also
get ugly black boxes images if there is an resized image in the loaded
page.)

Hope this helps.
-- 
Jonathan Chen [EMAIL PROTECTED]

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: internet slowdown

2008-06-18 Thread Jonathan Chen
On Tue, Jun 17, 2008 at 10:05:14PM -0700, prad wrote:
 On Mon, 16 Jun 2008 08:23:32 -0400
 Bill Moran [EMAIL PROTECTED] wrote:
 
  Is the console responsive when this happens?
 
 when it bogs it takes ages to even ssh into the server.

You do realise that this particular symptom usually points to reverse-lookup
errors. I would examine your DNS server logs.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multiple ntpd processes

2008-06-12 Thread Jonathan Chen
On Thu, Jun 12, 2008 at 02:17:46PM -0700, Nerius Landys wrote:
 I'm running FreeBSD 7.0, and I have 'ntpd_enable=YES' in my /etc/rc.conf.
 Every time I reboot my server, I get two ntpd processes:
 
 [EMAIL PROTECTED] ps -U root | grep ntpd
   PID  TT  STAT  TIME COMMAND
   571  ??  Ss 0:00.12 /usr/sbin/ntpd -c /etc/ntp.conf -p
 /var/run/ntpd.pid
   686  ??  S  0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p
 /var/run/ntpd.pid

This is normal. ntpd spawns a secondary process to check timesyncs on
startup. Have a look at the parent-child links with ps l. It goes
away after it has decided which time-source to use.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 In mathematics you don't understand things.
   You just get used to them.
 - Johann von Neumann
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Effects of CPUTYPE

2008-06-04 Thread Jonathan Chen
On Wed, Jun 04, 2008 at 11:14:14PM +0100, Mark Ovens wrote:

 Trying to identify why I should be having all these problems I've been 
 looking for anything that may be specific to my machine. One thing I've 
 come up with is the fact that I have CPUTYPE?=athlon-mp in 
 /etc/make.conf on both 6.3 and 7.0.

In my personal opinion, the small gain you get is more than
overwhelmed by the big pain you get from setting CPUTYPE.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunity does not knock,
   it presents itself when you beat down the door - W.E. Channing
___
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 /usr/local/bin/gsc ?

2008-06-02 Thread Jonathan Chen
On Mon, Jun 02, 2008 at 11:53:47AM +0100, Anton Shterenlikht wrote:
 Hi
 
 What is /usr/local/bin/gsc ?

If you have portupgrade, pkg_which(1) can tell you. gsc is actually
gs, which is ghostscript.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Jonathan Chen
On Sun, May 25, 2008 at 11:04:40PM +0100, Mark Ovens wrote:
 Currently using a Radeon 8500LE but since u/g to xorg 7.3 I've had 
 nothing but trouble with X hanging/crashing/locking-up.
 
 From what I've read, the state of the radeon drivers leaves much to be 
 desired and although some people seem to have trouble with nVidia cards 
 they appear to be a better choice.
 
 So, after over a decade of brand-loyalty to ATI (when I started with 
 FreeBSD back in the mid-90's ATI cards were the only ones I could find 
 that would run X at better than VGA resolution) I'm going to switch to 
 nVidia.

Heh. I was just thinking about going the other way. One of the main
problems with the nVidia on X is that the xorg-nvidia driver is very
basic; this can be demonstrated by going to a Javascript heavy page (eg
http://www.xwiki.org) using firefox. The X-server just slows to crawl
when trying to scroll the site. The behaviour is not exhibited with
xorg-intel driver, as a counter-example.

Support for the nVidia on FreeBSD from the vendor is also incomplete:
  http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
The feature request from nVidia appears to have stalled for the time
being (more correctly: I couldn't locate news on any updates to on the
'Net).

In short, nVidia cards are usable, but performance can be exceptionally
bad.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Jonathan Chen
On Sun, May 25, 2008 at 09:55:39PM -0400, Chuck Robey wrote:

[...]
 So, could you
 tell me, are your comments about the Nvidia card driver performance dealing 
 with
 the Nvidia-supplied driver and OpenGL libs they have, as expressed in the
 FreeBSD-ports supplied (from Nvidia code) Nvidia driver??  I have them 
 compiled
 under FreeBSD-current, because a friend recommended them as the best 
 available,
 is that wrong?  Is there better?  I am not aware of any pure-public driver for
 those cards, but I just am not very well up on their details, so I want to be
 sure of your meaning, making sure I have you right here..

I've got a nVidia card on a FreeBSD-7/amd64 system, and so the
only driver I can use is the xorg-nvidia driver. The driver from the
nVidia is not an option for me. If you have an i386 system, the
driver from nVidia is *MUCH* faster than the xorg driver. Queries to
nVidia about the possiblity of an amd64 compatibile driver led me
to the kernel-feature list that they would like to have before being
able to release a driver form amd64 hosts.

HTH.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple instances of BIND at startup

2008-05-22 Thread Jonathan Chen
On Thu, May 22, 2008 at 08:13:03AM -0400, Steve Bertrand wrote:
 
 The match-destination inspects the DNS address used by the client to
 query to determine which view to use. Would this suit your purpose?
 
 Well, yes, it would suit the purpose, but my fear was exactly that of 
 what Matthew states below about 'leaking'.
 
 I believe that the problem is this: even if configured to be an
 authoritative server, BIND will respond to a query about zones
 outside what it has authoritative data for with data from its cache
 if that data is present.  As there is only one cache per instance of
 BIND, enabling any sort of recursive capability on a server that is
 otherwise meant to be entirely authoritative can lead to data leaking
 between the authoritative and recursive parts.  This opens up the
 possibility of tricking a server into caching false data and responding
 with it as if it was authoritative.

If this were true, the view feature would be broken. I've just tried
this with a client-based ACL, and there doesn't appear to any
cache-leaking across views. Any counter-examples would be welcome.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple instances of BIND at startup

2008-05-21 Thread Jonathan Chen
On Wed, May 21, 2008 at 06:52:36PM -0400, Steve Bertrand wrote:

 Again, I'd rather do this without jails if possible, and at the same 
 time, be able to use the built in FBSD startup scripts if possible.

Can you not make use of BIND 9's view features? Possibly each view
using a match-destinations block to map to either the authoritative
or the caching services.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple instances of BIND at startup

2008-05-21 Thread Jonathan Chen
On Wed, May 21, 2008 at 08:01:50PM -0400, Steve Bertrand wrote:
 Jonathan Chen wrote:
 On Wed, May 21, 2008 at 06:52:36PM -0400, Steve Bertrand wrote:
 
 Again, I'd rather do this without jails if possible, and at the same 
 time, be able to use the built in FBSD startup scripts if possible.
 
 Can you not make use of BIND 9's view features? Possibly each view
 using a match-destinations block to map to either the authoritative
 or the caching services.
 
 Well, from what I read (I can't remember where), if I use views to do 
 this with only a single instance running, the problem arises that even 
 though the 'external' (requests for authoritative answers) clients can 
 and will get responses from the caching side of the server if the result 
 they are after is already cached.

I didn't quite parse this, could you please elaborate?

 I want the two services to be completely disparate, and more precise, 
 I'd like to have the recursive instance to have to query the 
 authoritative instance for a result from the same box.

The same result can be achieved by using the same master zone file in
your caching and authoritative views. Not quite what you wanted, but the
end result should be the same.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 A person should be able to do a small bit of everything,
specialisation is for insects
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple instances of BIND at startup

2008-05-21 Thread Jonathan Chen
On Wed, May 21, 2008 at 10:21:05PM -0400, Steve Bertrand wrote:

[...]
 My authoritative name server (service, eventually cluster) will 
 eventually house about 500 domains, which I want only recursive DNS 
 servers that come from the root .tld down to see (no caching).
 
 The caching name server (service, and eventually cluster) will see tens 
 of thousands of our clients requests (we are an ISP) to use as their DNS 
 lookup, which will perform recursive lookups that we are not 
 authoritative for.
 
 I'm sorry, I don't know how to put it into other words, other than I 
 want complete separation from dns authoritative and dns caching services 
 to be disparate.

Let's say your authoritative server is listening on IP-A, and your
caching server is listening on IP-B; both ip-addresses are on the same
host. We can have a named instance listening on both addresses, with
multiple views like:

/*
Used by root .tld.
 */
view authoritative
{
match-destination
{
IP-A;
};
recursion no;

zone my.authoritative.org
{
type master;
...
};

}

/*
Use by our client requests.
 */
view caching
{
match-destination
{
IP-B;
};
recursion yes;

zone my.authoritative.org
{
type master;
...
};

}

The match-destination inspects the DNS address used by the client to
query to determine which view to use. Would this suit your purpose?
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Nyuck, nyuck, nyuck - Curly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Shell scripting - suppressing and eliminating error messages

2008-05-20 Thread Jonathan Chen
On Tue, May 20, 2008 at 05:36:26PM -0500, Paul Schmehl wrote:
 I'm using the following construction in a pkg-deinstall script for a port I 
 maintain:
 
 if ( ${BATCH} ); then

This should read:

if [ -n ${BATCH} ] ; then

-- 
Jonathan Chen [EMAIL PROTECTED]
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Now what would you expect this to print out?

2008-05-19 Thread Jonathan Chen
On Mon, May 19, 2008 at 01:49:35AM -0700, Garrett Cooper wrote:
 Riddle for the day for folks that have source trees... what would you expect
 this to print out (ask yourself the question and then execute the command)?
 
  find /usr/src -name Makefile -or -name '*.mk' -print
 
 The expected output and what actual output differed in my mind, but maybe
 somebody else can shed some light on the logic behind what happened

It's a problem that catches many young players with find(1). One has
to remember from reading the man-page that all directives have an
implicit AND operator on it; and that includes the -print directive.
So to get what you want, you have to introduce brackets:

find /usr/src \( -name Makefile -or -name '*.mk' \) -print

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  If you're right 90% of the time, why quibble about the remaining 3%?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: JRE problem after installing linux-sun-jre1.6.0

2008-05-17 Thread Jonathan Chen
On Fri, May 16, 2008 at 05:15:42PM +0200, bsd wrote:
 Hello,
 
 
 I have installed linux-sun-jre1.6.0 and I have an error stating
 
 # java -version
 /usr/local/linux-sun-jre1.6.0/bin/java: error while loading shared  
 libraries: libjli.so: cannot open shared object file: No such file or  
 directory
 
 
 What do you suggest me to make that work properly - I just need to  
 have a little java app working?

Use the ports. Install java/jdk16.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunity does not knock,
   it presents itself when you beat down the door - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thanks and another problem ...

2008-05-15 Thread Jonathan Chen
On Thu, May 15, 2008 at 04:32:37PM -0400, John Wynstra wrote:
 Thanks for the solution to my Firefox/Thunderbird woes.  All cured now.  
 The answer was to add prefs to Thunderbird to allow Firefox in as 
 suggested by Tore Lund.  Since these preferences do not exist already 
 they need to be added manually to a file.
 
 Now I am trying to build Open Office for access to word files.  The make 
 install dies at the point where the java files need to be manually 
 installed.  I did that but this version of Open Office requires older 
 versions of java.

I built openoffice and jdk15 just last week without any problems. There
was no requirement for an older version of java, just jdk15. Have
you updated your ports tree?

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thanks and another problem ...

2008-05-15 Thread Jonathan Chen
On Thu, May 15, 2008 at 09:58:22PM -0400, John Wynstra wrote:
 I cleaned up and reran the make install ...
 +++
 ===   openoffice.org-2.3.1 depends on file: /usr/local/bin/perl5.8.8 - 
 found
 ===  Patching for openoffice.org-2.3.1

You need to update your ports tree. The current version is 2.4.0_5.

Please consult the Handbook on how to keep your ports-tree up to date:

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

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade question

2008-05-13 Thread Jonathan Chen
On Tue, May 13, 2008 at 11:05:02PM +, AN wrote:
 I installed openoffice 2.4.0 from ports with:
 make -DWITHOUT_MOZILLA install clean
 
 Now, when I do a portupgrade it tries to install mozilla:
 
 To build OOo, you should have a lot
 of free diskspace (~ 11GB) and memory (~ 2GB).
 If you want SDK and/or solver, please type make sdk and/or make solver
 = mozilla-source-1.7.5.tar.gz doesn't seem to exist in
 /usr/ports/distfiles/openoffice.org2.
 = Attempting to fetch from
 http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.
 mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
 fetch: transfer interrupted
 
 How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
 option from the command line? What is the correct way to do this?

The way I prefer to do it is to install ports-mgmt/portconf, and then
have an entry in /usr/local/etc/ports.conf of:

  editors/openoffice.org-*: WITHOUT_MOZILLA

portconf will ensure that the WITHOUT_MOZILLA flag is passed to make(1)
when you do a manual port install, or through portupgrade, or through
portmaster.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS Problem

2008-05-01 Thread Jonathan Chen
On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote:
 before i post here i already check the /etc/resolve.conf and this is what's
 inside of it
 
 domain name myplace.com.ph
 name server   101.1.21.1
 name server192.168.1.62
 

The problems with what you've just posted are:

1. the file is /etc/resolv.conf, not /etc/resolve.conf
2. your contents are wrong, they should look like:
domain myplace.com.ph
nameserver 101.1.21.1
nameserver 192.168.1.62

-- 
Jonathan Chen [EMAIL PROTECTED]
--
  The things we know best are the things we haven't been taught.
 - Marquis de Vauvenargues
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account?

2008-04-29 Thread Jonathan Chen
On Tue, Apr 29, 2008 at 10:07:44AM +, O. Hartmann wrote:
 Hello out there,
 my question may sound a bit weird, but the situation is as follows:
 
 I use OpenLDAP 2.4 for authetication purposes within our lab's net and 
 every user's account is of the objectclass 'posixAccount'. As we know, 
 this class does not contain the attribute 'host', which belongs to 
 structural class 'account' and both posixAccount and account  are of 
 type structural and therefore can not be mixed.

Is there really such a rule? There's an of examples in
O'Reilly's LDAP System Administration that has a mixed
account + posixAccount objectClasses for a node to implement
the situation of: One User and a Group of Hosts.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tracking base system and kernel updates/vulnerabilities

2008-04-17 Thread Jonathan Chen
On Thu, Apr 17, 2008 at 08:20:00AM +0200, Anselm Strauss wrote:

[...]
 - Can I somehow determine the version of the base system without  
 running uname on the kernel (I could have a release base system but  
 run a stable kernel for example)? Sure, I could take the indirect way  
 over freebsd-update again, but is there some sort of version  
 information stored in the base system?

Not really. Incidentally, running a userland out-of-sync with the
kernel is asking for Bad-Things(tm) to happen.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting CPUTYPE and CFLAGS in make.conf

2008-04-09 Thread Jonathan Chen
On Wed, Apr 09, 2008 at 11:35:51AM -0700, David Allen wrote:

[...]
 Thank you for your reply.   It's starting to make a lot more sense.
 Just to confirm, then, if there's no CPUTYPE set,  I can then set up
 a build server on an Opteron box, for example, to build world, kernel
 and ports binaries that can then be installed on my Thinkpad or
 a PIII box?

Yes, provided they use the same architectures, eg: i386
-- 
Jonathan Chen [EMAIL PROTECTED]

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2008-04-04 Thread Jonathan Chen
[Please do not remove Cc: freebsd-questions]

On Fri, Apr 04, 2008 at 02:19:32PM +0800, Ruel Luchavez wrote:
 I'm using the Mozilla Thunderbird, same setting i did to the other users
 it always complain :
 
 An error occurred while trying to send email. The mail server responded:
 5.7.1 [EMAIL PROTECTED]
 Sender address rejected.Please check the message..
 
 what should be the problem..I'm pretty sure its not the recipient address..

You still haven't supplied enough details to the list for us to
diagnose the problem. As such, my uninformed guess is that your SMTP
host has been configured to reject the sender address you've supplied from
the client you're on. If you supply us with more information, we might be
able to help you fix this. In particular, we still need:

1. What is the MTA you're using.
2. Show us the configuration file.
3. The MTA mail-logs.

-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Email problem

2008-04-03 Thread Jonathan Chen
On Fri, Apr 04, 2008 at 01:33:48PM +0800, Ruel Luchavez wrote:
 Hi..
 
 I am having trouble in my email server I spend many hours but i cant fix it,
 hopeu can help me guys
 One of the account i created cant send email in any email address like
 gmail.com I created it the same settings
 with my other account but it doesnt work...is ther a problem on my sever on
 this?

Of course there's a problem on your server - otherwise it'd be
working. However, if you want help from us, you have to provide us
with details:

1. what mail software are you using
2. what is your configuration file like.
3. what your logs are saying.

-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Timezone problem

2008-03-23 Thread Jonathan Chen
On Sun, Mar 23, 2008 at 04:05:39PM -0400, fred wrote:

[...]
 The value of timezone should be 14400 which is the difference between my
 timezone (EDT) and UTC in seconds. This problem only appeared when we went
 from EST to EDT (daylight saving time) on march 9th. Anyone knows why I am
 getting 134513672 ?

The obvious question is:

Have you updated your system for latest daylight savings changes?

-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Different languages in the same applications under kde konsole

2008-03-19 Thread Jonathan Chen
On Wed, Mar 19, 2008 at 11:45:48PM +0100, vittorio wrote:
 I run  freebsd 7.0 and kde 3.5.8, both in Italian.
 Now it happens that if I launch either gimp or abiword from the kde konsole 
 the two applications speak Italian while if I launch them from the icons 
 (that I created) on the desktop they switch to English.
 
 Why is that and what can I do for making the applications speak Italian?

It's probably an environment setting setting that you've got for your
shell that you haven't got withing X. Check for and set $LANG, $LC_ALL
in ~/.xsession.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: daylight savings time

2008-03-18 Thread Jonathan Chen
On Tue, Mar 18, 2008 at 07:31:01PM -0700, Nerius Landys wrote:

[...]
 I have NTP running and I verified that it works by setting the clock to be
 off by one hour and one minute (basically nudge the time by one minute) and
 the clock synchronizes itself to be accurate to the minute and second but
 off by one hour.
 
 Does anyone know how to fix this?  Is there some sort of updated time zone
 data that I need?  Thanks in advance.

The port misc/zoneinfo is what you need.

Alternatively, you can tweak the zoneinfo file in /usr/src/share/zoneinfo
yourself and zic(8) it; and then copying/linking the appropriate compiled
zoneinfo file to /etc/localtime.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: traceroute problems

2008-03-10 Thread Jonathan Chen
On Mon, Mar 10, 2008 at 11:30:05PM +0100, Wojciech Puchar wrote:

[...]
 traceroute uses UDP packets, no special port numbers.

traceroute(8) indicates that the default UDP port number used is
udp/33434, incrementing for each hop out.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When all else fails, RTFM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-06 Thread Jonathan Chen
On Thu, Mar 06, 2008 at 12:48:49PM -0500, Steven Friedrich wrote:

[...]
 My question was which port should I use and so far, it appears the answer 
 is 
 jdk15, but it appears it depends on diablo-jdk.
 
 You might take a look at:
 http://www.freebsdfoundation.org/downloads/java.shtml
 
 But it appears that it only helps as long as your're using prior to FreeBSD 7.
 I believe these guys are telling me that if I'm running FreeBSD 7 (and I am), 
 that I need to use jdk15 (but it appears that it installs/depends on 
 diablo-jdk.

The diablo-jdk is a build dependancy for the jdk15 port. Once the
jdk15 port has been installed you can safely remove the diablo-jdk.
IIRC, the diablo-jdk on FreeBSD-7 also has a run-dependancy on
misc/compat6 port.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted.  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make.conf CPUTYPE Xeon Conroe?

2008-03-05 Thread Jonathan Chen
On Wed, Mar 05, 2008 at 09:55:48AM -0800, Nerius Landys wrote:
  I'm running FreeBSD 7.0 on a server with an Intel Xeon Dual-Core 3060
 Conroe (2.4GHz) CPU.
 I'm wondering what I should set CPUTYPE to in my /etc/make.conf.
 The file /usr/share/examples/etc/make.conf has this information:
 
 #   (Intel CPUs)core2 core nocona pentium4m pentium4 prescott
 #   pentium3m pentium3 pentium-m pentium2
 #   pentiumpro pentium-mmx pentium i486 i386
 
 I guess those are the possibilities.  Which one should I choose for my
 processor?

I would suggest that you *NOT* set the CPUTYPE. The gains are are
minimal compared to the pain you will have if you also use the ports
system.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LDAP user authentication?

2008-03-05 Thread Jonathan Chen
On Wed, Mar 05, 2008 at 03:34:59PM -0800, perikillo wrote:
   Hi Jon.
 
   Look i'm in your situation, searching for documents about this
 authentication stuff, i have follow this threat, i just want to know
 if u already have done this and what was your results.

I've got LDAP auth set up, and it works fine for me; it's been in
place since December 2007.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When all else fails, RTFM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which jdk port should I use?

2008-03-05 Thread Jonathan Chen
On Wed, Mar 05, 2008 at 10:05:34PM -0500, Steven Friedrich wrote:
 I have two installed:
 diablo-jdk-1.5.0.07.01_9
 jdk-1.5.0.14p8,1

The native JDK is the one to use in most cases; eg: if you're
running FreeBSD-7, eclipse won't work properly unless you're using the
native jdk.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   4   5   6   >