anyone tried KDE 3.1?

2003-01-08 Thread Andrew Y Ng
I'm highly interested in a few new features in KDE 3.1, like tabbed-browsing
support in Konqueror, and the new MS Exchange 2000 plugin for the konganizer.
if that stuff works well I don't need Linux at work (now I need it for Ximian
Connector).

I'm wondering if anyone here tried to compile KDE 3.1, maybe somebody from
the freebsd KDE team can give us some headsup for their progress?

thanks!

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C
fingerprint : 46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c 




msg14742/pgp0.pgp
Description: PGP signature


Re: help

2003-01-09 Thread Andrew Y Ng
undance ST201 (D-Link DFE-550TX)
> #device   tl  # Texas Instruments ThunderLAN
> #device   tx  # SMC EtherPower II (83c170 ``EPIC'')
> #device   vr  # VIA Rhine, Rhine II
> #device   wb  # Winbond W89C840F
> #device   wx  # Intel Gigabit Ethernet Card (``Wiseman'')
> #device   xl  # 3Com 3c90x (``Boomerang'', ``Cyclone'')
> 
> # ISA Ethernet NICs.
> # 'device ed' requires 'device miibus'
> deviceed0 at isa? port 0x280 irq 10 iomem 0xd8000
> deviceex
> deviceep
> devicefe0 at isa? port 0x300
> # Xircom Ethernet
> devicexe
> # PRISM I IEEE 802.11b wireless NIC.
> deviceawi
> # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
> # exists only as a PCMCIA device, so there is no ISA attachment needed
> # and resources will always be dynamically assigned by the pccard code.
> devicewi
> # Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
> # work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
> # mode (the factory default). If you set the switches on your ISA
> # card for a manually chosen I/O address and IRQ, you must specify
> # those parameters here.
> devicean
> # The probe order of these is presently determined by i386/isa/isa_compat.c.
> deviceie0 at isa? port 0x300 irq 10 iomem 0xd
> #device   le0 at isa? port 0x300 irq 5 iomem 0xd
> devicelnc0at isa? port 0x280 irq 10 drq 0
> devicecs0 at isa? port 0x300
> devicesn0 at isa? port 0x300 irq 10
> 
> # Pseudo devices - the number indicates how many units to allocate.
> pseudo-device loop# Network loopback
> pseudo-device ether   # Ethernet support
> pseudo-device sl  1   # Kernel SLIP
> pseudo-device ppp 1   # Kernel PPP
> pseudo-device tun # Packet tunnel.
> pseudo-device pty # Pseudo-ttys (telnet etc)
> pseudo-device md  # Memory "disks"
> pseudo-device gif # IPv6 and IPv4 tunneling
> pseudo-device faith   1   # IPv6-to-IPv4 relaying (translation)
> 
> # The `bpf' pseudo-device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> pseudo-device bpf #Berkeley packet filter
> 
> # USB support
> deviceuhci# UHCI PCI->USB interface
> deviceohci# OHCI PCI->USB interface
> deviceusb         # USB Bus (required)
> deviceugen# Generic
> deviceuhid# "Human Interface Devices"
> deviceukbd# Keyboard
> deviceulpt# Printer
> deviceumass   # Disks/Mass storage - Requires scbus and da
> deviceums # Mouse
> deviceuscanner# Scanners
> deviceurio# Diamond Rio MP3 Player
> # USB Ethernet, requires mii
> deviceaue # ADMtek USB ethernet
> devicecue # CATC USB ethernet
> devicekue # Kawasaki LSI USB ethernet
> devicepcm #
> devicesbc
> devicepcm0at isa? irq 10 drq 1 flags 0x0
> 
> options   PNPBIOS
> 


-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C
fingerprint : 46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c 




msg14827/pgp0.pgp
Description: PGP signature


Re: freebsd curiosity

2003-01-10 Thread Andrew Y Ng
On  0, "P. U. Kruppa" <[EMAIL PROTECTED]> wrote:
> And ... if you know Linux you can easily install and setup
> FreeBSD on your machine and find out everything yourself.

that's not really true, the RH installer is a lot easier to use for most ppl
than sysinstall. for some reason I prefer sysinstall though, probably because
I used to install NetBSD with their textbased installer and never had a
problem with it.

and James, also look into Gentoo, they got some interesting ideas, and Gentoo
developers and users are usually more knowlegeable than other disto. I have
RH8 at work and I hate it, it looks pretty with their Bluecurve theme and the
nice fonts with xft2, but it's so bloated, my fbsd laptop with half the MHz
count runs faster than this RH8 workstation. of the main disto's Debian is
probably the best. Gentoo is closer to BSD and I like it the most.

the biggest "problem" of running fbsd is probably the lack of support with
some commercial software like Ximian Connector, VMWare (as "host OS"), etc. 
but I don't need those on my personal laptop or servers and what are in the
port collection is more than sufficient.

check out the handbook and the FAQ on freebsd.org, you will find more than
enough information.

/ayn

> On Thu, 9 Jan 2003, James Hicks wrote:
> 
> > To whom it may concern,
> > My name is James. I'm a junior college graduate with an A.S. degree in
> > Computer Applications. I took a class in UNIX about a year ago. The os we
> > used was Mandrake Linux. I've learned to like Red Hat and have version 8.0
> > on my home machine. I have been doing a lot of reading in magazines like
> > pcmagazine and sought info online using sources like the freebsd homepage,
> > zdnet, cnet, etc. I'm hearing alot of your UNIX os. I have a few questions
> > about the system. First of all,  is freebsd a real UNIX? By that I'm asking
> > whether or not there is real UNIX code in it or is it a clone just like
> > linux is? Second, what type of file system does it use? Does it have a
> > journaling one like ext3? Do UNIX systems require any kind of defrag? I was
> > told by my UNIX instructor that freebsd had hardware recognition trouble. Is
> > this true and if so has it been fixed? I have also read that a lot of
> > sysadmins are nervous of putting mission critical apps on a enterprise linux
> > system and prefer to use freebsd. What is the problem that I'm hearing that
> > linux has? Do you believe the berkeley system to have code that has better
> > stability than the GNU systems? I look forward to your reply. Thanks
> >
> > James Hicks
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > _
> > Protect your PC - get McAfee.com VirusScan Online
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> 
> *-------*
> *Peter Ulrich Kruppa*
> *  -  Wuppertal -   *
> *  Germany  *
> *---*
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C
fingerprint : 46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c 




msg14975/pgp0.pgp
Description: PGP signature


Re: anyone tried KDE 3.1?

2003-01-10 Thread Andrew Y Ng
nice! I might give it a try this weekend!
thanks!

/ayn

On  0, Mark Rowlands <[EMAIL PROTECTED]> wrote:
> On Wednesday 08 January 2003 10:03 pm, Andrew Y Ng wrote:
> > I'm highly interested in a few new features in KDE 3.1, like
> > tabbed-browsing support in Konqueror, and the new MS Exchange 2000 plugin
> > for the konganizer. if that stuff works well I don't need Linux at work
> > (now I need it for Ximian Connector).
> >
> > I'm wondering if anyone here tried to compile KDE 3.1, maybe somebody from
> > the freebsd KDE team can give us some headsup for their progress?
> >
> > thanks!
> 
> dont know about the ms exchange plugin  but  packages of  kde3.1 rc3 are 
> available from fruitsalad.org
> 

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg14997/pgp0.pgp
Description: PGP signature


Re: anyone tried KDE 3.1?

2003-01-10 Thread Andrew Y Ng
On  0, Lauri Watts <[EMAIL PROTECTED]> wrote:
> It's ready to go when 3.1 is released.  The changelog is already on the KDE 
> website, so there's little point repeating it here :)

nice! i'm pretty excited for 3.1, prolly more so than fbsd 5.0... ;)

> The Kolab server (Exchange Server replacement) is a standalone, not part of 
> KDE proper, and is definitely high on the list for getting into ports, it is 
> however, still a work in progress, and I personally would prefer to wait 
> until it's not quite such a moving target.  It's going to take quite some 
> environment to test it, it's pretty hard to know if a groupware server is 
> working right without setting up a workgroup and using it, so that takes 
> time.  The client side groupware stuff is nearly there, sharing calendars is 
> perfect, and I can tell you that the the development versions for 3.2 are 
> supporting imap, and disconnected imap, sieve, ldap, and much more.  You can 
> read about all that stuff on KDE's own sites but it's really coming along 
> amazingly nicely if you're in need of groupware stuff.  

can i use the Exchange plugin without the Kolab server? my company uses MS
Exchange, as do most companies out there, sadly. I just need be able to get
the addressbook and calendar and request/accept meetings, etc... like what
Ximian Connector can do.

right now I got RH8 on my work machine, but Connector doesnt even work on
RH8, so I have to run Evo off another coworker's box to use it, and I still
havent been able to sync my palm coz it's a PITA to sync over ppp to a remote
machine running linux/evolution/pilot-link/gnome-pilot... (not even sure if
that's possible actually). anyway, i highly prefer being able to just run
fbsd here, for some reason rh8 is slow as hell and i have to reboot at least
once a week. could be XFree86 with xinerama though, but rh8 is bloated
anyhow.

> Once KDE 3.1 is out the door, we'll turn the package building cluster back to 
> doing CVS builds, and you're welcome to help test them, drop by the IRC 
> channel or on the mailing list, or keep an eye on our website (in my sig.)

sounds good, I'll check those out this weekend! Thanks so much for your
reply!

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg14999/pgp0.pgp
Description: PGP signature


Re: CD to MP3

2003-01-12 Thread Andrew Y Ng
I just use dagrab to grab the audio cd tracks to wav's, and just convert them
to shn's with shorten (i don't like MP3's, but try gogo if you wanna encode
MP3). I like this better than fancy GUI apps, if you're okay with using a
shell or writing simple scripts, u probably would prefer doing it in CLI
also...

/ayn


On  0, Dave McCoy <[EMAIL PROTECTED]> wrote:
> 
> I have been looking for an easy way to convert music cds to mp3 files. 
> The ports collection hasn't been much help on this subject. Does anyone 
> know of a plug-in for xmms or an easy utililty to acomplish this.
> 
> Thanks
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg15216/pgp0.pgp
Description: PGP signature


Re: FreeBSD 4.7-Release Won't Boot (Non-MIME)

2003-01-12 Thread Andrew Y Ng
are you able to boot the kernel on the drive from the cdrom? (by interrupting
the boot loader on the cdrom and specifying the hard drive and kernel)

play with your BIOS setting, maybe you have to enable large disk support or
something. do you see the boot0 prompt at all (i think it says something like
"F1: FreeBSD")?? if you tried to install without boot manager and it still
didn't boot up freebsd, it's almost like your BIOS doesn't know how to load
the MBR, so maybe your BIOS settings are messed up.

I had problems with boot0 before, the FreeBSD Handbook and the FAQ's
disk/fs/boot section were really helpful. also look into boot(8).

/ayn


On  0, Matt <[EMAIL PROTECTED]> wrote:
> Hi,
> My apologies for the re-post, I sent first MIME-Encoded by mistake,
> 
> Hi,
> I am attempting an installation of 4.7 Release made from ISO a few days
> ago on the following system: AMD Athlon 1400 Aopen AK77-333 MB Western
> Digital Caviar 20GB Hard Disk
> 
> The system boots from CD A OK, and runs through the install without any
> problems, upon reboot after the install is complete the system reports a
> disk error and FreeBSD will not boot from the hard drive, it does not
> begin loading FreeBSD or anything at all.  Other OS's have worked on the
> same hardware with no problems, I verified the C/H/S settings for the
> FDISK, and they are okay, I have tried installing with the FreeBSD boot
> manager, as well as with the old Dangerously Dedicared mode, to no avail.
> I'm not really sure where I can go from here.  I suspected a problem with
> the hard disk at first but I have run all the Western Digital diagnostics
> on it, and they come out clean.  It is running at ATA100 with the proper
> cabling, and FreeBSD detects this, it also appears that all of the install
> files DO copy to the drive, as I can use the system immediately after the
> install from the Emergency shell on VTY4, right now it is online as such
> running Seti@Home packets without any problems, any help would be MUCHLY
> appreciated, thanks!
> 
> Matt Rudderham
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg15266/pgp0.pgp
Description: PGP signature


Re: 64 bit support

2003-01-16 Thread Andrew Y Ng
What about x86-64? there is a webpage about it at freebsd's site, i
subscribed to the fbsd hackers list, but really haven't found much
information about it.

Linux runs just fine on Opteron over here, I don't have time to try to
install fbsd on our machines, but it should really be pretty trivial 
to port.

/ayn

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
Newisys, Inc. http://www.newisys.com


On  0, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 16, 2003 at 10:44:50AM -0600, Dan Nelson wrote:
> > In the last episode (Jan 16), shubha mr said:
> > > Hi,
> > > Does freeBSD support 64 bit?If so,which version of the
> > > OS supports the same?I would appreciate if anyone can
> > > let me know abt this soon.
> > 
> > 64-bit what?  FreeBSD runs on Alpha processors, which are 64-bit. 
> 
> And sparc64, and ia64, and supports 64-bit files, ...
> 
> Kris




msg15708/pgp0.pgp
Description: PGP signature


Re: Make World

2003-01-16 Thread Andrew Y Ng
have you rebuilt your kernel?  it sounds like your kernel is outdated.

also look into mergemaster(8), it's a nice tool when updating your system.

/ayn

On  0, Doron Shmaryahu <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I did a make world upgrade from 4.5 to 4.7 stable. I have done this a couple
> of times with no problems. This time there were no errors but when the
> machine rebooted it just says btx halted and a whole lot of other stuff. It
> sits there and does not boot. If I interrupt the boot process and load the
> kernel.GENERIC manually it boots fine. the only command's that seem to give
> errors are ps and top. The machine runs fine but I would obviously like to
> get rid of this problem.
> 
> I have tried reinstalling the kernel, also the generic kernel. I tried doing
> a make world again still the same thing !! Any suggestions would help
> 
> thanks
> 
> Doron Shmaryahu
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg15710/pgp0.pgp
Description: PGP signature


Re: Addition

2003-01-16 Thread Andrew Y Ng
can you give us `uname -a` outputs?

try recompiling your kernel. config the kernel, and do a make depend and
make install. that's the old school way of doing it. I think now you can cd
into /usr/src and do `make kernel`, it will build and install a new kernel
for you.


/ayn

On  0, Doron Shmaryahu <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> sorry the error from ps:
> 
> ps ax
> ps: proc size mismatch (61248 total, 1060 chunks)
> 
> and this is the last line of dmesg
> 
> link_elf: symbol fw_one_pass undefined
> 
> Thanks again
> 
> Doron Shmaryahu
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg15711/pgp0.pgp
Description: PGP signature


Re: [OT?/bug?] CUPS and port 631

2003-01-20 Thread Andrew Y Ng
I think the preferred method of starting cupds is in /etc/local/etc/rc.d,
this way we don't need inetd and thus we don't need a line in /etc/services.
plus maybe some ppl want to run it in some other port, port 631 for cups is
not as "fixed" as most other ports like the ones in /etc/services...

/ayn

On  0, Bill Moran <[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> Is there any reason why port 631 isn't listed as IPP in
> /etc/services?  Has the port number not been made official
> yet?
> No problems, I'm just curious as to whether there's a reason,
> or if this is an oversight?
> 
> -- 
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg16100/pgp0.pgp
Description: PGP signature


Re: VHDL / Verilog

2003-01-20 Thread Andrew Y Ng
we use linux tools from Synosys here, on RH servers/simfarm, I have not tried
to run them on FreeBSD with linux compat personally, coz setting up the
license and stuff gets anonying and I let the sysadmins worry about that...
and RH is the only thing supported here (except a few sun boxes for other
stuff that I don't do)...

anyway, the tools *should* run on freebsd with linux compatability.

a quick search on the ports found this also:
/usr/ports/cad/iverilog

u could give that a try...

/ayn

On  0, Matt Smith <[EMAIL PROTECTED]> wrote:
> Does anyone out there do any VLSI design on FreeBSD, using VHDL or
> Verilog, or some other tools?  At the moment, I own a Xilinx chip + XESS
> protoboard, and am looking for a complete solution to design and
> implementation.  The Windows tools provided by Xilinx are great, except
> that they only run on Windows.
> Any suggestions are greatly appreciated!
> Thanks,
> -Matt
> -- 
> Matt Smith <[EMAIL PROTECTED]>
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg16101/pgp0.pgp
Description: PGP signature


Re: mutt + filters

2003-01-23 Thread Andrew Y Ng
i use spamassassins for spam filtering, i update my sa to their CVS daily,
for more filtering I, like most ppl, use procmail. and i use mutt locally and
evolution with IMAP remotely. mutt can do IMAP as well now. I also have
squirrelmail setup with IMAP for web-based mail access, my squirrelmail is
also sync'ed with their CVS daily.

i let procmail do the filtering coz i dont use Mutt to check my mails all the
times...

/ayn

On  0, bryan cassidy <[EMAIL PROTECTED]> wrote:
> I am using FreeBSD 4.7-Stable, and want to switch back
> to mutt. The only reason I stopped using mutt is
> because I couldn't figure out how to setup the filters
> so I installed sylpheed with no problems. I'm getting
> kinda tired of sylpheed and want to switch back to
> mutt. I really like using mutt but i NEED my filters.
> I'm not going to even install mutt this second unless
> I find a doc on how to do it on freebsd or someone
> tells me EXACTLY how they did it (don't want to waste
> my time) If someone could please tell me how to do
> this I would really appreciate it very much. I know
> it's alot to ask  but I just can't figure it out :-(
> lol. Please Cc: [EMAIL PROTECTED] so I will get your
> replies (haven't got an e-mail client installed right
> now) Thanks in advance.
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg16469/pgp0.pgp
Description: PGP signature


Re: spam relay

2003-01-23 Thread Andrew Y Ng
i had a similar problem with my open relay (setup for the convenience of my
own users) back in college. here was what i did:

* FEATURE(access_db, hash -o /etc/mail/access)
* FEATURE(rbl)

I'm sure it's pretty outdated, so I went to sendmail.org and found:

anti-relaying page:
http://www.sendmail.org/tips/relaying.html

anti-spam cfg control:
http://www.sendmail.org/m4/anti_spam.html

hope this helps!

/ayn

On  0, Jan Voelker <[EMAIL PROTECTED]> wrote:
> All,
> 
> I think this is more freebsd related than just sendmail, but please forgive
> if I'm wrong,
> 
> I have a server with virtual hosts  using freebsd 4.0 and sendmail 8.9.3
> 
> and find the server domain user mail flooded with messages , definitely
> spam messages,
> 
> that appear to be relayed by "[EMAIL PROTECTED]"
> 
> I put "[EMAIL PROTECTED] 550" in /etc/mail/access and did makemap,
> 
> and this stops the emails. I'm not comfortable doing this even though it
> works because as you can see,
> 
> I have a general idea what I want to do but, really dont know proper way to
> handle this.
> 
> any advise would be great!
> 
> thanks
> 
> Jan
>  
> Jan
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg16471/pgp0.pgp
Description: PGP signature


Re: a question

2003-01-23 Thread Andrew Y Ng
I setup FreeBSD dual-boot on my dad's machine with a Samsung 170 flat panel
and it worked just fine. Just make sure you specify the right sync
frequencies in your XFree86 config file. and KDE looked *NICE* on the 17"
flat panel.

i think 5.0 has nv driver. I think just used the nv driver for his nv pci
card and it worked quite well.

/ayn

On  0, peter andrus <[EMAIL PROTECTED]> wrote:
> hi, i just bought a brand new system. I want to set it up as a dual boot 
> system with XP and FreeBSD. I would like to know where I can get an updated 
> list of supported hardware,especially flat panel monitors. I have a samsung 
> syncmaster 170MP, and I want to know if it is supported. also, i am curious 
> about my nvidia video card. thanks peter
> 
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg16507/pgp0.pgp
Description: PGP signature


Re: KDE 3.1 port?

2003-01-29 Thread Andrew Y Ng
I got KDE 3.1 installed and it's absolutely worth the wait! simply amazing! I
got the packages from fruitsalad and recompiled kdenetwork and kdegraphics to
get mozilla plugins and kamera/gphoto2 support. now I'm compiling kdepim3.

i looked into getting s/mime working with gpg in KMail, looks like it's some
work just to get the plugin to do s/mime, so i didn't feel like wasting too
much time as I use Mutt for my mails most of the time... let me know if there
is an easier way to get openpgp s/mime mails without doing all that stuff on
the kmail website... :) i dont think kmail came standard with x.509 support
either, but both of these are listed as the new features of KDE 3.1. hmm...

/ayn

On  0, Miguel Mendez <[EMAIL PROTECTED]> wrote:
> On 29 Jan 2003 09:46:41 -0500
> Tyler Parrott <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> >  I read this morning on freebsd.kde.org that the 3.1 port had been
> > released.  I cvsupped my ports tree and I still only seem to have up
> > to 3.0.5.  I'm using 5.0-RELEASE if that makes any difference.  Anyone
> > know where/how I might get the port or the .tgz?
> 
> It's in the ports tree already, cvsup again :) I know my computer is
> still compiling the beast :) If you prefer prebuilt packages, you can
> get them from the fruitsalad project: http://rabarber.fruitsalad.org/
> 
> Cheers,
> -- 
> Miguel Mendez - [EMAIL PROTECTED]
> GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
> EnergyHQ :: http://www.energyhq.tk
> Of course it runs NetBSD!



-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg17127/pgp0.pgp
Description: PGP signature


Re: Spam Assassin Configuration

2003-02-02 Thread Andrew Y Ng
this is how to use procmail to put mesgs with scores >= your threshold into a
folder:

:0:
* ^X-Spam-Status: Yes
your_spam_folder

I think if you want to do this system-wide, you can put this in
/etc/procmailrc.

/ayn

On  0, "Justin P. Michel" <[EMAIL PROTECTED]> wrote:
> Greetings,
> 
> Thanks to all who replied regarding installing the
> Sendmail/Procmail/SpamAssassin combination!  It appears to be working very
> well, and is marking spam nicely.
> 
> Now, I'd like to take it to another step.  Instead of delivering the
> messages that get marked as spam, is there a way to move them to a special
> mailbox/area/holding bin of some kind?  I'd like the server to do it
> automatically so that the clients won't get any spam at all.
> 
> I realize this isn't necessarily a FreeBSD only question, but I'm sure that
> others here have already done what I question.
> 
> Regards,
> 
> Justin P. Michel
> |- J Continuum
> |- 21071 - 640 River Street
> |- Thunder Bay, ON, Canada
> |- P7A 8A7
> |- http://www.jcontinuum.ca
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg17641/pgp0.pgp
Description: PGP signature


Re: Losless audio encoder

2003-02-02 Thread Andrew Y Ng
On  0, stan <[EMAIL PROTECTED]> wrote:
> Is there a good lossless audio encoder in the ports tree?

yes!
ports/audio/shorten
ports/audio/shntool

and a plugin for xmms in ports/audio/xmms-shn

/ayn
-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg17642/pgp0.pgp
Description: PGP signature


Re: Unattended portupgrades...

2003-02-03 Thread Andrew Y Ng
have u tried the '-y' flag? i've been wanting to try it but kept
forgetting...

/ayn


On  0, Andy Akins <[EMAIL PROTECTED]> wrote:
> Being a FreeBSD newbie, I have a simple question...
> 
> Got portupgrade. Pretty spiffy. But some of the apps (Ghostscript, PHP)
> require user input when they are made - so they stop the rebuild of my
> system. Is there a way that I can specify the answers to these inputs (I
> pick the defaults on all of them) and then can go to bed with the update
> running...and its done in the morning... :)
> 
> Thanks!
> 
>   Andy Akins
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg17762/pgp0.pgp
Description: PGP signature


Re: Sendmail, Spam Assassin, and Procmail

2003-02-03 Thread Andrew Y Ng
On  0, Kirk Strauser <[EMAIL PROTECTED]> wrote:
> At 2003-02-03T16:57:16Z, "Justin P. Michel" <[EMAIL PROTECTED]> writes:
> 
> > Spam Assassin is tagging the e-mail properly, however, it's still being
> > sent out to the clients.
> 
> This is OT to your question, but still: are you certain that you want to
> drop all mail that gets marked by SpamAssassin?  It works very well, but I
> still get a few false positives per month.  If any of my clients were
> outside of my immediate friends/family group (i.e., paying customers), then
> I would explicitly take no action on their incoming email other than to mark
> it, and give the clients instructions on setting up a filter on their email
> client.  That way, they take the responsibility for deciding to delete
> suspect email - you're only providing an estimation service.
> -- 
> Kirk Strauser

I agree with Kirk, SA works amazingly well for me and I haven't gotten a false
positive for a long long time, but that's because I trained the Bayesian
filters well, I also tuned my whitelist so important mails from my banks,
domain registrar, etc won't get marked as spam. but default SA gives quite a 
few false positive.

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg17763/pgp0.pgp
Description: PGP signature


Re: meta-port KDE twice??

2003-02-10 Thread Andrew Y Ng
have u tried pkgdb -F? it might unregister the older port for you...
portupgrade upgraded my KDE to 3.1 just fine 2 weeks ago.

/ayn


On  0, Dick Hoogendijk <[EMAIL PROTECTED]> wrote:
> After an upgrade to KDE3.1 I get the folowing results after giving:
> "pkg_info | grep kde"
> 
> kde-3.0.5 the "meta-port" for KDE
> kde-3.1   the "meta-port" for KDE
> 
> All works well, but this seems not to be OK. What happened? and how can
> I repair things? I don't dare to say "pkd_delete kde-3.0.5" I'm afraid
> I'll loose kde-3.1 too. Suggestions?
> 
> -- 
> dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
> ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg18748/pgp0.pgp
Description: PGP signature


Boot stuck at F1 after swapping drives

2002-11-20 Thread Andrew Y Ng
Hi all, I shutdown FreeBSD and changed my harddrive and
booted up Win2K this morning (needed Windoze for something
real quick). I put the FreeBSD harddrive back and it wouldn't
boot, it got stuck at the F1 boot0 prompt.  Like it couldn't
find the MBR or something. How do I get it to boot again?

This is weird. Maybe I didn't shut it down correctly this morning.

Thanks for any help!

p.s. please CC me on the replies as im not subscribed to this list

/ayn

--
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Boot stuck at F1 after swapping drives

2002-11-20 Thread Andrew Y Ng
On Thu, 21 Nov 2002, Giorgos Keramidas wrote:

> Check what BIOS thinks about the drive.  If you haven't set the disk
> type to "AUTO" and used the disk detection tools of BIOS when you
> swapped disks and used the Windows disk, you'll have to rerun the BIOS
> disk detection tool after changing the disks again.

it's set to AUTO. I was able to kindda boot to the harddrive with a
CDROM, but I then tried to reboot and got stuck in the Default: F1
prompt again. =(

> > This is weird. Maybe I didn't shut it down correctly this morning.
>
> Windows shouldn't really be able to affect FreeBSD, if they're not
> running off the same disk :)

I was thinking maybe I didn't shutdown my FreeBSD correctly, I did a
reboot and just turned it off after the system restarted. I did that coz
if i do shutdown the PC Card doesn't turn off when i hit the power
switch.

any idea? =(

andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Boot stuck at F1 after swapping drives

2002-11-20 Thread Andrew Y Ng
On Thu, 21 Nov 2002, Giorgos Keramidas wrote:
> What happens if you do press F1?  Just a beep?

yeah, it doesn't do anything...

> The next thing you can try is to boot off a FreeBSD CD-ROM and
> interrupt the loader as it starts to show the spinning character.
>
> Instead of letting it boot from 0:fd(0,a)/kernel which is IIRC the
> default kernel that the boot CD-ROM starts, press backspace to delete
> 0:fd(0,a)/kernel and write:
>
>   0:ad(0,a)/kernel
>
> That should boot from the disk.

right that worked, I can boot it that way, I tried the boot0cfg command
you gave me to write a new boot0 block to the disk, tried to reboot and
I still got stuck at the F1 prompt...

/ayn
--
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread Andrew Y Ng

On Wed, 2002-11-20 at 23:13, Andy Sparrow wrote:
> > yeah, i have BIOS in AUTO, I was able to boot to the harddrive with a
> > cdrom by using 0:da(0,a)/kernel, but the harddrive's boot0 booter
> > couldn't boot it on its own.
> > 
> > Since I can boot to it, the BIOS should have correct setting for the
> > drive right?
> 
> IME, it's entirely possible for FreeBSD to have a bogus idea of the 
> geometry which prevents booting from the drive (the last 5-6 large 
> drives I've set up on machines with old BIOS'es have done this if I 
> don't create an M$DOS partition from M$ FDISK first - you can even 
> delete it in 'sysinstall', it just forces the correct geometry when the 
> disk is read in 'sysinstall', IIUC), but you can load the boot stuff 
> just fine from (e.g.) CD-ROM and then boot the kernel off the drive...
> 
> I presume that this is because the BIOS can boot the CD, and the 
> CD-loaded boot stuff has the same bogus idea of the geometry, and can 
> then load the kernel

That makes sense.

> 
> However, if you have /ever/ booted FreeBSD directly from this HDD, then 
> this probably isn't what happened (the geometry shouldn't change, and it 
> was valid once).

and Yes, before I swapped drives, I was able to boot FreeBSD without any
problems.

> For some reason, some part of the boot stuff got lunched, and you 
> probably just need to re-write it. My firewall box did this once after a 
> power-cycle, I have no idea why.

Right, I think the power management stuff might've screwed up the MBR. I
tried rewriting it with boot0cfg per suggestions by Giorgos Keramidas,
but no luck.

> I don't recall what I did to get around this now, it was either
>  
>   disklabel -B da0s1 auto
> 
> or
>   boot0cfg -d 0x80
> 
> or something like that... 'man boot' would be a good place to start. :-)
> 
> Disclaimer: it's your disk, not mine. Take appropriate precautions, 
> including treating the above advice with some caution (I think I was on 
> 4.4-STABLE when I did the above, but it *was* some time ago)...
> 
> In particular, if I were in your position, I think I'd be inclined to 
> wait and see if someone chimes in with a response of 
> "NN!" to the above advice :->

Yeah, I booted it off with a CDROM, and I dont reboot my laptop very
often, so it's not that bad (not like it's a server or anything). I
hoping one of you guys would know what to do.

I'm wondering if I can just get rid of the booter, I only have one OS on
my FreeBSD drive, so it doesn't really make sense to have a booter with
only one option, I don't know, but when I had NetBSD I didn't even have
a booter. How do I get right of boot0?

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c





signature.asc
Description: This is a digitally signed message part


Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread Andrew Y Ng
I actually only have one partition and a swap partition, here are fdisk
and disklabel outputs, and it's an IDE drive. thanks!

ayn@aynlaptop:~>fdisk -s
/dev/ad0: 1836 cyl 255 hd 63 sec
PartStartSize Type Flags
   1:  6329495277 0xa5 0x80

ayn@aynlaptop:~>disklabel /dev/ad0
# /dev/ad0:
type: unknown
disk: amnesiac
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1836
sectors/unit: 29498112
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 294981120unused0 0 # (Cyl.0 -
1836*)


On Thu, 2002-11-21 at 17:36, David Schultz wrote:
Thus spake Andrew Y Ng <[EMAIL PROTECTED]>:
> Hi all, I shutdown FreeBSD and changed my harddrive and
> booted up Win2K this morning (needed Windoze for something
> real quick). I put the FreeBSD harddrive back and it wouldn't
> boot, it got stuck at the F1 boot0 prompt.  Like it couldn't
> find the MBR or something. How do I get it to boot again?

Make sure you've got boot0 on the primary master (assuming IDE) or
da0 (SCSI) and on no other drives.  Booting from one boot manager
on the BIOS boot disk to boot0 on another drive hasn't worked well
in my experience.

Also, make sure FreeBSD's idea of your drive geometry matches what
the BIOS thinks.  Posting disklabel and 'fdisk -s' output might
help.  (The fixit CD is your friend here.)
-- 

andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c





signature.asc
Description: This is a digitally signed message part


Fixed! //was Re: Boot stuck at F1 after swapping drive

2002-11-26 Thread Andrew Y Ng
Hi All,

I just want to give an update on the problem, I finally got more time to
look into it, and I found this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#BOOTMANAGER-RESTORE

That was all I needed, I booted my system with the install CDROM, went
into fdisk and type "w", it asked which boot manager I wanted to
install, I chose "standard MBR", and now my system boots without the
boot0 prompt, which is perfect coz NetBSD is the only OS on this hard
drive.

There is also the "A" option in fdisk to use the entire drive thus the
booter will ignore the geometry of the drive. But according to the
handbook that was not recommended.

Thanks everyone for the help!

-- 

andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c





signature.asc
Description: This is a digitally signed message part


Re: hosting more than one website on a cable connection (DHCP)... and using BIND

2002-12-12 Thread Andrew Y Ng
you can create a dynamic hostname with dyndns.org and update it with
ddclient, and create a CNAME entry for your machine and alias it to the
dyndns hostname at your DNS. (i have home.andrewng.com to point to my machine
behind a cable modem with a dynamic IP address)

you can just set the DNS to that dynamic hostname at the registrar.
you need one more DNS though, dyndns has a DNS hosting service, but I'm 
not sure if that is free...

this takes care of the having your own domains part... to resolve to
different machine, I think you can look into NAT and BIND, I have not done
that myself, but I'll probably be look into doing that soon. right now I'm
simply running sshd at a different port and have my firewall forward it to
the other machine... :)

/ayn


On  0, Bsd Neophyte <[EMAIL PROTECTED]> wrote:
> 
> Alright, this is what I want to do...
> 
> I have a cable connection that uses DHCP, giving me a lease for about 2
> minutes.  Usually the address stays the same, but at times it does change.
>  
> 
> I want to host two domain names to start.  I also would like to have the
> possiblity to host more.  I will have only one changing IP.
> 
> I also want to have subdomains.  I want each system at home to have a
> subdomain based on either one of the two domain's I'll have established. 
> So if I have blah.com as my primary domain, I want to be able to ssh to
> yadda.blah.com from any other location.  If I want to ssh to yawn.blah.com
> from any other location, it should be able to connect to that system,
> eventhough they are both sharing 1 ip address through Natting.
> 
> I've been told I can use these free third party domain name servers.  I've
> also been told that you need to keep a record with at least 2 domain name
> servers when hosting a domain name.  While, I can do this, I'd like to
> host at least one DNS at home.
> 
> Now, I'm completely confused if this can be done and if it can, then how
> to do it.
> 
> The FreeBSD handbook seems pretty straight-forward in setting up BIND. 
> However, I don't know how to distinguish more than one domain name when
> using only one IP address.  Also, is it possible for the home DNS and the
> third party DNS's to work in tandem?
> 
> Does any of this make sense?
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c





msg11893/pgp0.pgp
Description: PGP signature


Re: ftp xfer stalling at ~350MB

2002-12-17 Thread Andrew Y Ng
maybe your friend can use curl to upload that file instead?
curl also has a feature to resume a transfer at a given offset.

should be able to find windoze binaries at google.

/ayn

On  0, Nathan Kinkade <[EMAIL PROTECTED]> wrote:
> I have a friend who is trying to upload a large file across the Internet
> to my 4.7-STABLE box, but the transfer keeps stalling in the
> neighbourhood of 350MB.  I'm using the default ftpd.  My ftpd.log
> doesn't really show much.  However, it is interesting to note that just
> after the transfer stops the log does show a failed ftp login attempt
> from the remote host.  The message on my friends side is something to
> the effect of "connection closed by remote host."  Another strange thing
> is that long after the transfer has stopped I still show an active ftpd
> process for the upload, as if my FreeBSD machine still thinks that
> connection is up and is waiting for more data.  The remote side is an MS
> Win2000 box.  He has tried uploading the file with two different ftp
> clients with the same result.  I have seem flaky ftp behaviour between
> FreeBSD and MS Windows in the past, but I suppose that this could be an
> issue with my Cisco 678 CPE.  Has anyone seen anything like this, or
> have any ideas about where to start looking?
> 
> Thanks!
> Nathan
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C
fingerprint : 46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c 




msg12431/pgp0.pgp
Description: PGP signature


Re: About Evolution?

2002-12-22 Thread Andrew Y Ng
I compiled Evolution 1.2 from ports without any problem, been using it for a
long time on my freebsd laptop. they don't have Connector for freebsd though,
which is a big bummer...

/ayn


On  0, Mark-Nathaniel Weisman <[EMAIL PROTECTED]> wrote:
> Hey all,
>   Does anyone know if there is a ported copy of Evolution for FreeBSD? Or 
>LinNeighborHood? I need both of those apps to work, and I get tons of errors with 
>both of these apps when I try to install them under FreeBSD v4.5 with KDE. Any help?
> 
>   His Servant, 
>   Mark Weisman
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com

gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C
fingerprint : 46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c 




msg12925/pgp0.pgp
Description: PGP signature


Re: need some sendmail help

2003-02-13 Thread Andrew Y Ng
On  0, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> On 2003-02-13 15:21, Andrew Y Ng <[EMAIL PROTECTED]> wrote:
> > this might seem stupid, but for some reasons on one of my servers
> > running freebsd -stable, mail just doesn't work, I keep seeing:
> >
> > Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=ayn,
> > ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00,
> > mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0,
> > stat=Deferred: Connection refused by localhost.my.domain.
> 
> - What sendmail_xxx_enable options have you turned on in /etc/rc.conf?

ayn@NGBERT:/etc>grep sendmail rc.conf
sendmail_enable="YES"

> - What options have you configured in your /etc/mail/*.mc files?

ayn@NGBERT:/etc/mail>grep define *mc|grep -v dnl
freebsd.mc:define(`confCW_FILE', `-o /etc/mail/local-host-names')
freebsd.mc:define(`confBIND_OPTS', `WorkAroundBroken')
freebsd.mc:define(`confMAX_MIME_HEADER_LENGTH', `256/128')
freebsd.mc:define(`confNO_RCPT_ACTION', `add-to-undisclosed')
freebsd.mc:define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
ngbert.thelin.com.mc:define(`confCW_FILE', `-o /etc/mail/local-host-names')
ngbert.thelin.com.mc:define(`confBIND_OPTS', `WorkAroundBroken')
ngbert.thelin.com.mc:define(`confMAX_MIME_HEADER_LENGTH', `256/128')
ngbert.thelin.com.mc:define(`confNO_RCPT_ACTION', `add-to-undisclosed')
ngbert.thelin.com.mc:define(`confPRIVACY_FLAGS',
`authwarnings,noexpn,novrfy')

> - What are the contents of /etc/resolv.conf, /etc/host.conf and
>   /etc/hosts files?

ayn@NGBERT:/etc/mail>cat /etc/resolv.conf
search attbi.com
nameserver 63.240.76.19
nameserver 204.127.198.19

ayn@NGBERT:/etc/mail>cat /etc/host.conf
# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis

ayn@NGBERT:/etc/mail>cat /etc/host.conf
# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis

thanks!

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com




msg19438/pgp0.pgp
Description: PGP signature


Re: need some sendmail help

2003-02-13 Thread Andrew Y Ng
forgot /etc/hosts:
ayn@NGBERT:~>egrep -v \^# /etc/hosts
::1 localhost localhost.my.domain
127.0.0.1   localhost localhost.thelin.com eagan.homeunix.net
192.168.1.100 aynlaptop andrew
192.168.1.102 ngbert ngbert.thelin.com
12.109.66.145 andrewng.com
192.168.1.103 johnbert john

I think that ::1 line might've been the problem...
/ayn


On  0, Andrew Y Ng <[EMAIL PROTECTED]> wrote:
> On  0, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> > On 2003-02-13 15:21, Andrew Y Ng <[EMAIL PROTECTED]> wrote:
> > > this might seem stupid, but for some reasons on one of my servers
> > > running freebsd -stable, mail just doesn't work, I keep seeing:
> > >
> > > Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=ayn,
> > > ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00,
> > > mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0,
> > > stat=Deferred: Connection refused by localhost.my.domain.
> > 
> > - What sendmail_xxx_enable options have you turned on in /etc/rc.conf?
> 
> ayn@NGBERT:/etc>grep sendmail rc.conf
> sendmail_enable="YES"
> 
> > - What options have you configured in your /etc/mail/*.mc files?
> 
> ayn@NGBERT:/etc/mail>grep define *mc|grep -v dnl
> freebsd.mc:define(`confCW_FILE', `-o /etc/mail/local-host-names')
> freebsd.mc:define(`confBIND_OPTS', `WorkAroundBroken')
> freebsd.mc:define(`confMAX_MIME_HEADER_LENGTH', `256/128')
> freebsd.mc:define(`confNO_RCPT_ACTION', `add-to-undisclosed')
> freebsd.mc:define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
> ngbert.thelin.com.mc:define(`confCW_FILE', `-o /etc/mail/local-host-names')
> ngbert.thelin.com.mc:define(`confBIND_OPTS', `WorkAroundBroken')
> ngbert.thelin.com.mc:define(`confMAX_MIME_HEADER_LENGTH', `256/128')
> ngbert.thelin.com.mc:define(`confNO_RCPT_ACTION', `add-to-undisclosed')
> ngbert.thelin.com.mc:define(`confPRIVACY_FLAGS',
> `authwarnings,noexpn,novrfy')
> 
> > - What are the contents of /etc/resolv.conf, /etc/host.conf and
> >   /etc/hosts files?
> 
> ayn@NGBERT:/etc/mail>cat /etc/resolv.conf
> search attbi.com
> nameserver 63.240.76.19
> nameserver 204.127.198.19
> 
> ayn@NGBERT:/etc/mail>cat /etc/host.conf
> # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
> # First try the /etc/hosts file
> hosts
> # Now try the nameserver next.
> bind
> # If you have YP/NIS configured, uncomment the next line
> # nis
> 
> ayn@NGBERT:/etc/mail>cat /etc/host.conf
> # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
> # First try the /etc/hosts file
> hosts
> # Now try the nameserver next.
> bind
> # If you have YP/NIS configured, uncomment the next line
> # nis
> 
> thanks!
> 
> -- 
> andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
> 



-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg19439/pgp0.pgp
Description: PGP signature


need some sendmail help

2003-02-13 Thread Andrew Y Ng
this might seem stupid, but for some reasons on one of my servers running
freebsd -stable, mail just doesn't work, I keep seeing:

Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=ayn, ctladdr=ayn
(1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30023,
relay=localhost.my.domain., dsn=4.0.0, stat=Deferred: Connection refused by
localhost.my.domain.

I added localhost and stuff in the access database but still doesn't work...
I must be missing something obvious... I tried specifying smart host to be my
isp's smtp server but that didn't work either... i got a lot of stuff queued
up in the clientmqueue folder... :)

any help would be highly appreciated, thank you!

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com





msg19448/pgp0.pgp
Description: PGP signature


Re: need some sendmail help

2003-02-13 Thread Andrew Y Ng
i got rid of the localhost.my.domain. line in /etc/hosts now i don't get
connection refused anymore... i guess it looked at the hosts file and used
that name instead of just localhost, and I didn't have that in my access
database.

now I'm getting a user unknown error... heh..

thanks!

/ayn


On  0, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> On 2003-02-13 20:38, Andrew Y Ng <[EMAIL PROTECTED]> wrote:
> > On  0, Giorgos Keramidas <[EMAIL PROTECTED]> wrote:
> > > On 2003-02-13 15:21, Andrew Y Ng <[EMAIL PROTECTED]> wrote:
> > > > this might seem stupid, but for some reasons on one of my servers
> > > > running freebsd -stable, mail just doesn't work, I keep seeing:
> > > >
> > > > Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=ayn,
> > > > ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00,
> > > > mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0,
> > > > stat=Deferred: Connection refused by localhost.my.domain.
> > >
> > > - What sendmail_xxx_enable options have you turned on in /etc/rc.conf?
> >
> > ayn@NGBERT:/etc>grep sendmail rc.conf
> > sendmail_enable="YES"
> 
> This is where the problem lies.
> 
> You have only enabled mail submission through a network connection to
> port 25, but not submission of mail from local users.  I suggest that
> you read at least /etc/mail/README and the rc.sendmail(8) manpage.
> 
> Look at the description of sendmail_submit_enable in rc.sendmail(8)
> and in /etc/defaults/rc.conf.
> 
> - Giorgos

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com




msg19460/pgp0.pgp
Description: PGP signature


Re: boring old me, KDE revisited

2003-03-04 Thread Andrew Y Ng
we need more information to figure out what your problem is, I and many
others have built or upgraded KDE many many times and have working versions
of KDE. portupgrade works like a charm for me, either when using it to build
from ports (source), or setting the PACKAGESITE environment variable to point
to the KDE package site at fruitsalad.org (check 
http://rabarber.fruitsalad.org/ for fully qualified path) and specify the -P 
option to install binary package.

/ayn
-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com


On  0, Cliff Sarginson <[EMAIL PROTECTED]> wrote:
> I hae taken all adice given.
> I stil do not have a working KDE, 
> -- 
> Regards
>Cliff



pgp0.pgp
Description: PGP signature


Re: sendmail help

2003-03-31 Thread Andrew Y Ng
On  0, Kenzo <[EMAIL PROTECTED]> wrote:
> I did have NO_SENDMAIL=   true in my make.conf file.

maybe you did mergemaster and replaced stuff in /etc and /etc/mail?

/ayn

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com



pgp0.pgp
Description: PGP signature


Re: sendmail help

2003-03-31 Thread Andrew Y Ng
> I did a make world and this is what I get at the next reboot.
> 
> Starting standard daemons: inetd cron sshd sendmailsendmail:execing
> /usr/local/sbin/sendmail:No such file or directory
> 
> this is my  mailer.conf
> #
> # Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
> #
> sendmail/usr/local/sbin/sendmail
> send-mail   /usr/local/sbin/sendmail
> mailq   /usr/local/sbin/sendmail
> newaliases  /usr/local/sbin/sendmail

I have /usr/libexec/sendmail/sendmail instead.

> I originally replaced sendmail with postfix.
> and it used to work fine until after the make world.
> here is part of my rc.conf.
> 
> sendmail_enable="YES"
> sendmail_flags="-bd"
> sendmail_outbound_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_msp_queue_enable="NO"
> sshd_enable="YES"
> 
> If I change the mailer.conf file to
> sendmail/usr/sbin/sendmail
> send-mail   /usr/sbin/sendmail
> mailq   /usr/sbin/sendmail
> newaliases  /usr/sbin/sendmail
> and reboot, it hangs when it's trying to load the daemons.

I think the real sendmail is at /usr/libexec/sendmail/sendmail, not
/usr/sbin/sendmail, which points to mailwrapper

> what can I do to fix this?

if you want to continue to use postfix, try re-installing the postfix port,
it should fix it. (i haven't used postfix myself, but looks like the
pkg-install script would take care of replacing the sendmail setup)

if you don't want sendmail to be installed when you do a make world, put the
following line in /etc/make.conf:
NO_SENDMAIL=   true

/ayn

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com



pgp0.pgp
Description: PGP signature


Re: No sound in KDE3

2003-04-04 Thread Andrew Y Ng
what did u use to listen to MP3? if you use mpg123 and the link, make sure u
wrap it with `artsdsp`.

do you get sound without KDE? your kernel has psm compiled in it right?

/ayn

On  0, lars <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I can listen to CDs but not to mp3s e.a (DVDs...).
> I hear the loudspeakers pop when I start the system though.
> 
> The soundcard is a Guillemot Fortissimo II with a 
> Cirrus Logic CS4624 dsp (=^Crystal Audio I think).
> 
> In KDE3's soundcontrol I defined OSS and /dev/dsp -but still no sound.
> Yes, the volume's up ;-)
> 
> uname -a =
>  FreeBSD hostname 4.8-RC FreeBSD 4.8-RC #0: Mon Mar 24 01:04:11 CET
>  2003  [EMAIL PROTECTED]:/usr/src/sys/compile/MYKERNEL  i386
> 
> dsp =
>  lrwxrwxrwx   1 root  wheel   4 Mar  9 14:48 dsp -> dsp0
>  lrwxrwxrwx   1 root  wheel   6 Mar  9 14:48 dsp0 -> dsp0.0
>  crw-rw-rw-   1 root  wheel 30,   3 Mar 31 01:27 dsp0.0
>  crw-rw-rw-   1 root  wheel 30, 0x00010003 Mar 30 19:19 dsp0.1
>  crw-rw-rw-   1 root  wheel 30, 0x00020003 Mar  9 14:48 dsp0.2
>  crw-rw-rw-   1 root  wheel 30, 0x00030003 Mar  9 14:48 dsp0.3
>  lrwxrwxrwx   1 root  wheel   5 Mar  9 14:48 dspW -> dspW0
>  lrwxrwxrwx   1 root  wheel   7 Mar  9 14:48 dspW0 -> dspW0.0
>  crw-rw-rw-   1 root  wheel 30,   5 Mar 30 20:45 dspW0.0
>  crw-rw-rw-   1 root  wheel 30, 0x00010005 Mar  9 14:48 dspW0.1
>  crw-rw-rw-   1 root  wheel 30, 0x00020005 Mar  9 14:48 dspW0.2
>  crw-rw-rw-   1 root  wheel 30, 0x00030005 Mar  9 14:48 dspW0.3
> 
> /boot/loader.conf =
> # -- sysinstall generated deltas -- #
> userconfig_script_load="YES"
> linux_load="YES"
> nvidia_load="YES"
> #snd_cs4281_load="YES"
> 
> This is getting really frustrating since I tried all
> possible setting combinations in KDE3.
> 
> I hope someone can help.
> 
> Many thanks in advance,
> lars.
> ___________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com

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


Re: Regarding Running Program

2003-08-14 Thread Andrew Y Ng
either recompile it in FreeBSD, or try to use run it with Linux compatibility ...

re Debian GNU/Linux, check http://www.debian.org

/ayn


On  0, Bimal Patel <[EMAIL PROTECTED]> wrote:
> Respected Sir,
> 
> I am Bimal Patel from Ahmedabad/India. I've downloaded FreeBSD 
> 4.8-stable version from the web site www.freeBSD.org. I've installed the 
> specified OS to my computer.
> 
> I have a problem in running a program compiled by CC compiler on Red 
> Hat Linux 8.0 plateform. It is giving binary errors. Basically the program 
> sends mail to specified E-Mail address on the specified server. I don't 
> know what is the problem, because it runs nicely on the Red Hat Linux 8.0 
> plateform.
> 
> Someone told me to use "Debian box" tool. But I don't know what it is. 
> If you can guide me, I can solve this problem and go ahead. It's very 
> critical to me. I've stuck up at this moment because of such problem. I am 
> expecting a prompt reply from your side.
> 
> Thanking You,
> 
> Yours Sincerely,
> 
> Bimal Patel.
> 
> _
> Going on a holiday? Want to study abroad? 
> http://server1.msn.co.in/msnleads/citibankpersonalloan/citibankploanjuly03.asp?type=txt
>  
> Need a personal loan?
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com



pgp0.pgp
Description: PGP signature


Re: ps and top

2003-08-15 Thread Andrew Y Ng
just follow the instructions in /usr/share/{Makefile,UPDATING} to update
your system:

# For individuals wanting to upgrade their sources (even if only a
# delta of a few days):
#
# 1.  `cd /usr/src'   (or to the directory containing your source tree).
# 2.  `make buildworld'
# 3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# 4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
# 5.  `reboot'(in single user mode: boot -s from the loader prompt).
# 6.  `mergemaster -p'
# 7.  `make installworld'
# 8.  `mergemaster'
# 9.  `reboot'

/ayn

On  0, RYAN vAN GINNEKEN <[EMAIL PROTECTED]> wrote:
> how do i check to see if my sources are in sync
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com



pgp0.pgp
Description: PGP signature


Re: rsync install help

2003-09-05 Thread Andrew Y Ng
I would also look into keychain, this way u won't have to have a
passphrase-less ssh key...

i rsync a bunch of stuff in cron with ssh and keychain:
25  2   *   *   *   . ~/.ssh-agent-${HOSTNAME} && rsync -av /foo/* bar.foo.com:foo/

/ayn

On  0, Matthew Seaman <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 05, 2003 at 02:39:27PM -0400, Brent Bailey wrote:
> > Im using FBSD 4.8rc1 ..IM getting ready to install rsync to help with
> > mirroring to another redundant FBSD box. I was wondering if anyone could
> > point me a a good howto for this ?
> 
> Oooh... an easy one.
> 
> # cd /usr/ports/net/rsync
> # make install
>  
> > any and all help is greatly appreciated
> 
> Actually, I guess you aren't asking so much about how to install
> rsync(1), as how to do the mirroring to the second machine.
> 
> The thing to realise is that rsync on FreeBSD runs over ssh(1) by
> default.  Presumably you want the rsync job to happen automatically,
> which means you need to set up a mechanism by which ssh(1) can
> authenticate to the other machine without stopping to input a
> password.
> 
> That's explained here:
> 
> http://www.snailbook.com/faq/no-passphrase.auto.html
> 
> Once you've got the authentication bit working, then it's simply a
> matter of running something derived from this at regular intervals:
> 
> #!/bin/sh
> 
> remote="sparehost.example.com"
> 
> fslist="/ /usr /home"
> 
> for fs in $fslist ; 
> do
>   rsync -azx --delete ${remote}:${fs}/ ${fs}/
> done
> 
> Note that you'll need to run as root on both ends of the connection,
> which implies that you'll be allowing root access without a password
> from one machine to the other, so you need to pay attention to the
> features available in the authorized_keys file to ameliorate the
> damage possible should the key be stolen.
> 
>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH UK



-- 
andrew y ng  <[EMAIL PROTECTED]>  http://andrewng.com
independent computer consultants http://aynassociates.com



pgp0.pgp
Description: PGP signature