Re: vim doesn't preserve the terminal content

2007-11-02 Thread Pete Slagle
Yuri wrote:

 I use vim both on Linux and FreeBSD.
 On Linux after I exit vim original screen content is restored.
 On FreeBSD vim leaves the last content viewed in vim.
 
 How do I make vim preserve the screen?
 
 Thanks,
 Yuri

This behavior is controlled by xterm settings.

Try holding the control key and middle-clicking with the mouse on an
xterm window. You should see an Enable Alternate Screen Switching option.

See 'man 1 xterm' or http://www.x.org/archive/X11R6.8.0/doc/xterm.1.html


___
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: Absolute path name of a file given as parameter

2007-04-12 Thread Pete Slagle
Aitor San Juan wrote:

 I have developed a shell script that, among other things, shows the filename
 that was specified as a parameter.
 
 However, when I invoke the script and the file is located in the current 
 working
 directory, it just shows: ./my_input_filename
 
 I'd like the script to show the full path name of the input file. I wonder
 whether there is or not an equivalent to %~f1 (Windows Batch file 
 programming).
 This parameter extension expands parameter %1 ($1 in shell scripting jargon) 
 to a
 Fully qualified path name.

man (1) realpath

For example:

 #!/bin/sh
 echo The full path of the file name is $(realpath $1)


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


Re: Daylight savings time / 6.1 and 4.11

2007-01-20 Thread Pete Slagle
Matthew Seaman wrote:

 [You could make /etc/localtime a link or a symlink to the appropriate
 file under /usr/share/zoneinfo, but only if /etc and /usr/share/zoneinfo
 happen to be on the same filesystem (ie. on the root filesystem), which
 is not the case in the  default install of FreeBSD]

As you suggest, making /etc/localtime a symlink ensures that the current
/usr/share/zoneinfo file is always the one that actually gets used.
That's an easy and significant benefit. So, why not do this on all
boxes, even those that have / and /usr under separate filesystems?

Granted, localtime will be unreadable whenever /usr is not mounted, but
is that really a problem? Typically it will only be an issue at
boot-time and in single user mode.  The current time and file system
times will be displayed in UTC, but this is only a small temporary
inconvenience for the operator. Cron might not do its work as expected,
but it is unlikely to be running in circumstances where /usr is not
mounted.  Perhaps some log files might be affected, but if /usr isn't
mounted, then /var probably isn't either.

Have I missed some big potential problem that might outweigh the benefit
of using the symlink even when /etc/localtime and /usr/share/zoneinfo
are on separate filesystems?


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


Re: 3Com 3c905B-COMBO and 10base2/BNC

2006-11-04 Thread Pete Slagle
Karol Kwiatkowski wrote:

 anyone got 3Com 3c905B-COMBO network card (Fast EtherLink XL PCI)
 working with 10base2/BNC?
 
 I just bought one and I can't figure it out. It has BNC connector and
 should be supported according to man xl page.

You did use T-connectors with 50 ohm terminators at both ends of the
coax, right?  (Just checking the obvious.)

IIRC. you can use the 3Com setup/diagnostic program for the card to
force it to use a particular media selection and store that setting in
non-volatile memory on the card. Not certain about this, it's been a
while . . .

You can also boot the 3Com diagnostic diskette (it runs MS-DOS) to do a
loopback test of a pair of cards. Since that eliminates FreeBSD from the
test, it should give you a better idea whether your problem is with the
hardware or the xl driver.





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


Re: cvsup*.au.freebsd.org ??

2006-10-31 Thread Pete Slagle
James Long wrote:

 Date: Tue, 31 Oct 2006 11:21:32 +1100
 From: Alan Garfield [EMAIL PROTECTED]
 Subject: Re: cvsup*.au.freebsd.org ??
 To: Norberto Meijome [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain

 I also find that the cvsup6.au.freebsd.org is totally useless. It
 doesn't carry src-all and this effectively makes fastest_cvsup useless
 for me because when I do 'make update' in /usr/src it selects cvs6 and
 fails.
 
 In the short term, firewall off cvsup6 and re-run fastest_cvsup to use
 the second-fastest server.

Edit fastest_cvsup. It's just a Perl script -- it's simple to change it
to check whatever list of servers you want.

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


Re: VMWare

2006-10-13 Thread Pete Slagle
Bill Moran wrote:

 In response to Davison, Robert [EMAIL PROTECTED]:
 
 I'm looking to run VMware on my FreeBSD box and note that version 3 is in 
 the ports.

 I've not tried running Linux software ontop of FreeBSD, but how easy is it 
 to download the free VMware Server software off their site and install so I 
 get the most recent version, and more importantly a free one.

 Is it just a case of downloading and installing the binary through the usual 
 route or is it a bit more complex ?
 
 What's wrong with your email?  I got a bunch of HTML at the end?
 
 Anyway, VMWare is a special case.  It's got hooks deep into the Linux
 network drivers that (as far as I know) are a showstopper that prevents
 VMWare from running under the Linuxulator.
 
 If you learn differently, I'd love to hear it, but it's not possible
 as far as I know.

Every time I attend a trade show at which VMware has a booth, I always
stop by to ask about any plans for supporting VM hosting on FreeBSD, and
to encourage the thought.

No one has ever given the slightest indication that this is even
remotely likely to happen in the foreseeable future.

The usual reason given is that FreeBSD's market share does not come
close to justifying the VMware company resources that would be required
to support it. Couldn't hurt to keep bugging 'em though.


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


Re: Ruby gaining weight? [RESOLVED]

2006-10-03 Thread Pete Slagle
Alex Zbyslaw wrote:
 Pete Slagle wrote:
 Recent versions of ruby18 seem to take more than 145 MB of virtual
 memory to build with portupgrade or make install clean.

 Karol Kwiatkowski wrote less than a week ago:
 # cd /usr/ports/lang/ruby18
 # make -DNOPORTDOCS install


That put me on the right track, thanks!

Karol's example works well for the initial installation of ruby. When
upgrading, this invocation:

  portupgrade -m '-DNOPORTDOCS' ruby

does the equivalent thing. Both save a tremendous amount of time and
disk activity.

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


Ruby gaining weight?

2006-10-02 Thread Pete Slagle
Recent versions of ruby18 seem to take more than 145 MB of virtual
memory to build with portupgrade or make install clean.

I have several classic boxes running bind and a mail MTA on 4.11 that
are memory-limited, but otherwise work well. The main boards are maxed
out at 64 MB of RAM, and they have 128 MB of swap. The ruby build fails
 as swap space becomes exhausted.

Sure, I could reorganize the hard drives on these boxes to add more
swap, but nothing else needs more that a few KB. Moreover, rebuilding
the hard drives is to be avoided since these machines are part of a
basic infrastructure that has been stable for years.

Is ruby really that piggy, or do I just have a configuration issue?


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


Re: Exim As MTA

2006-09-25 Thread Pete Slagle
B. Cook wrote:

 I am running Exim as a sendmail replacement, and I keep getting a 
 Message failure - message too big in my inbox for root. (looks like 
 from daily run output)

 I do want to see the mail due to the messages in the queue.. but how do 
 I get it not to show me rejected mail?

To set the maximum message size the Exim will process, put something like

   message_size_limit = 50M
   return_size_limit = 1M

in Exim's configuration file, /usr/local/etc/exim/configure

See http://exim.org/ for full details.



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


Re: Do I need to completely disable sendmail?

2006-09-24 Thread Pete Slagle
Rob Gabaree wrote:

 I have a remote server that I don't plan on using for email as I have  
 another server to handle that.  My question is.. is it a bad idea to  
 _completely_ disable sendmail on that machine? 

Yes.

You probably want to allow the server to send you administrative mail
that it generates itself, but not let it receive any from outside.

To do that:

(1) Use the default settings for sendmail by not specifying any . Delete
all lines containing sendmail from /etc/rc.conf. This will allow
outgoing mail only.

(2) Put a line in /etc/aliases that defines who receives root's e-mail
for the server. Point it to your actual e-mail address. For example,

  root: [EMAIL PROTECTED]

(3) Reboot.

That's it. Now the box can send you it's status information, but it
won't listen for any incoming mail.


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


Re: Poutupgrade unsafe

2006-09-14 Thread Pete Slagle
Olivier Nicole wrote:

 I know the mistake was on my side, I was not carefull enough when
 using portupgrade on a production machine but...
 
 Yesterday I froze our system for about one hour when I used
 portupgrade to upgrade Samba. It was a very minor upgrade (from 3.0.10
 to 3.0.23c,1 I think), but it happens that in between the 2 versions
 the location of the password file for Samba has been changed.
 
 I beleive that the port maintener has a very good reason why to change
 this directory, but portupgrade would build and install the new Samba
 silently (if the message at the begining of the makefile did ever
 show, it was drawn into the flow of portupgrade messages) resulting
 the new Samba did not accept any connection.
 
 I think that such modification should be considered as critical and
 portupgrade should stop and request acknowledgement before it keeps on
 installing. I am not sure the mechanism exists in portupgrade, but I
 see it as a very usefull enhancement.

This one bit me too, but we have only ourselves to blame; there was a
clear (well, pretty clear) warning of the change in /usr/ports/UPDATING.

You would never forget to check UPDATING before running portupgrade
would you?  :)

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


Re: Extensions and Themes in Firefox

2006-09-12 Thread Pete Slagle
[EMAIL PROTECTED] wrote:

 uninstall firefox
 
 then make sure linux binary compatibility is enabled, the easiest way 
 to do that is with sysinstall.  (read the handbook for more info on 
 this step)
 
 Now cd into /usr/ports/www
 and look at any port whose name starts with linux
 
 the ones I found most helpful where:
 linux-firefox
 linux-flashplugin7
 linuxpluginwrapper
 
 you might also want to look at
 linux-mplayer-plugin if you use mplayer for windows media files

Another,(possibly heretical) approach is to take 10 minutes to slap
Ubuntu (or the like) on your desktop box. Out of the gate it easily runs
Firefox, multimedia, cutting edge video drivers, wi-fi, and a bunch of
apps that are troublesome to configure on FreeBSD.

You can then install VMware Server (also painless) and run a local
FreeBSD VM for quick desktop access when you need the Real Thing. It's
easy to SSH and VNC back and forth and open X windows between the two
systems and have the best of both worlds.

Don't get me wrong; I far prefer working in FreeBSD to any other system,
and spend most of my time there. But life is just easier when you have
more tools close to your work area. It's simple to set up, and has been
rock solid for me.

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


Efficacy vs. friendliness [Was: How to fix init - /etc/ttys?]

2006-09-07 Thread Pete Slagle
Gary Kline wrote:

   SOAPBOX
   Anyway, this is to the entire list:  A week or so ago
   I loaned my 5.3 set to a non-geek friend who had occasionally
   been using RH.  He brought the box of discs back and said it
   was too hard to install; that RH had a much easier installation
   process.  True.  So I gave him my old Ubuntu boot disk.  He's
   happy with it.  ---I realize how much smaller the FBSD hacker
   base is Still,  having a GUI-ish intro makes sense in 
   gaining new converts.  I'm still here  because this Berkeley
   distro really *is* solid.  One fatal trap in 11 years I
   can handle.
SOAPBOX

It's a test. If your friend thinks FreeBSD is difficult to install, then
he is probably better served by something else. There are many choices.
All is well.

The idea that FreeBSD should be altered to better compete in a
popularity contest for new users comes up regularly on this list, but
that idea is suspect.

Many FreeBSD users see it as a feature, an advantage, that no
GUI-ish-ness impedes access to the O/S. Which is not to say that the
GUI-ish stuff isn't available, but the beauty is that it isn't in the
way when you don't need or want it.

Changing FreeBSD to be more friendly to new users would inevitably
make it less appealing to the experienced users who value concision,
efficiency, and direct control (who comprise it primary user base) and
thus is to be resisted.

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


6.1 recommended instead of 5.x for new installations [was: Efficacy vs. friendliness]

2006-09-07 Thread Pete Slagle
jdow wrote:

 I noticed that FreeBSD 5.x was somewhat quicker than that to get up,
 running, and up to date.

I can't think of a good reason to use FreeBSD 5.x for a new
installation; 6.1 contains so many reliability and performance
improvements that it is the clear choice over 5.5.

(Upgrades are of course a more complicated question.)

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


Re: Anyone Using the New Free Mulberry Mail Client?

2006-09-01 Thread Pete Slagle
RW wrote:

 There used to be a port of Cyrusoft's Mulberry mail client that installed the 
 Linux rpm version; then Cyrusoft went bankrupt and the port dissappeared.
 
 Mulberry is now available for free as a standalone Linux binary:
 
  http://www.mulberrymail.com
 
 Has anyone got this working?  If you just run the binary it opens and can be 
 be configured to read an imap  mailbox, but a lot of the error and warning 
 pop-up boxes are missing text and buttons. There are probably other problems, 
 but without the error messages it's hard to say.

Is this relevant?

http://trac.mulberrymail.com/mulberry/wiki/linuxproblems

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


Re: Time zone isn't displaying right one with 'tzsetup'

2006-08-23 Thread Pete Slagle
Greg 'groggy' Lehey wrote:

 On Tuesday, 22 August 2006 at 23:45:19 -0400, Robert Gabaree wrote:
 Hi,

 I tried to update my new server to the new time zone by running
 'tzsetup' and selecting Eastern.  However, instead of showing 11:45,
 it shows 6:45 - 5 hours later.  I even tried to do a 'cp /usr/share/
 zoneinfo/EST5EDT /etc/localtime but it didn't help.  What can I do
 to fix it?
 
 That depends on whether you're running ntpd or not.  If you are, your
 best bet is to stop ntpd and run ntpdate, specifying the same server,
 then restart ntpd.
 
 If you're not running ntpd, just set the date:
 
   date 08232355
 
 See the man page for the format.
 
 Greg

Also, instead of copying EST5EDT to /etc/localtime you can use a
symlink. That way when EST5EDT gets updated you will automatically use
the new version.

So,

  su
  cd /etc
  ln -s /usr/share/zoneinfo/EST5EDT localtime
  exit

Obviously, substitute the appropriate zoneinfo file if you are not on US
Eastern time.






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


Re: IMAP server alternatives

2006-07-11 Thread Pete Slagle
Nagy László wrote:

 Are there any alternative IMAP servers that have good support (e.g. 
 working mailing list, up-to-date documentation), and can share IMAP 
 folders between users?

I was a satisfied courier-imap user for several years. A few months ago
I switched to dovecot because it is faster in my installation.
(Transition was easy using maildir with both.)

Both have active developers.

 courier -- uses the maildir format, but I'm not sure about sharing

Works great, bullet-proof in my experience.

 dovecot -- early stages of development, can I trust in this?

Also works great. Easier configuration than courier-imap. Significantly
more responsive than courier-imap with Thunderbird clients here using
IMAP only. Seems very solid; zero problems in first few months of use.





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


Re: Xfce 4.4 beta2 released!

2006-07-10 Thread Pete Slagle
Benedikt Meurer wrote:

 We are glad to announce that Xfce 4.4 beta2 (4.3.90.2) is now available
 for download.

Thank you for all your great work on XFCE!

Do you know if anyone is making available a FreeBSD port for 4.4 beta2?











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


Sunbird native port does nothing?

2006-07-06 Thread Pete Slagle
On March 2, 2006 Eric Schuele wrote:

 Anyone using the deskutils/sunbird (not deskutils/linux-sunbird)?

[...]

 I did the normal make install clean in the appropriate dir (everything
 went well).  Running it for the first time, I see the process in top,
 and it writes a bit to the console, but then exits.  All subsequent
 attempts to run it result in the following at the console:
 
 Starting calendar alarm service
 error creating table cal_calendars -- probably already exists
 error creating table cal_calendars_prefs -- probably already exists
 observer added
 observer removed
 
 and the process exits.


All the above still seems to be the case, and I did not see a reply to
the original post, hence this retry.

A process is started

 /usr/X11R6/libexec/gconfd-2 32

with no apparent effect which sits around until killed.

Anyone know how to make it do something useful?


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


Re: Implementing IMAP advice for first timer

2006-05-24 Thread Pete Slagle

Eric wrote:


I recommend checking out dovecot as well. i switched from courier to
dovecot recently and couldnt be happier.


What motivated you to switch, and how do you find that dovecot improves 
on courier-imap?


Just curious, I have been considering trying dovecot, but courier works 
well enough that I haven't.



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


Re: Implementing IMAP advice for first timer

2006-05-23 Thread Pete Slagle

Noah wrote:


Well I want to get IMAP running on my FreeBSD box and would like to have a
safe, non service-interrupting strategy to implementing it.  I am leaning
toward installing cyrus imapd.  I have some questions about how to get things
working.


I like courier-imap. The set-up is easy and it has been 100% reliable 
for me on a bunch of different servers. It has never lost a message or 
dropped a core file. It uses maildir format out of the box, which I view 
as a significant advantage.


Installing it from ports (/usr/ports/mail/courier-imap) is pretty 
straightforward, and most settings can be left at the default, at least 
until you get comfortable with it. There is lots'o'doc at at 
http://www.inter7.com/courierimap/courierimap.html should you need it.


I first set it up years ago, it's in use all day every day, and the only 
thing I've ever had to do it to it is portupgrade.


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


Re: GDM sessions....

2006-04-23 Thread Pete Slagle

Eric Schuele wrote:

I have GDM installed and working.  I *do not* have gnome installed.  I 
was hoping GDM would do as XDM and just run my .xsession.  But it does 
not.  I would simply like it to be an XDM replacement.


I use KDM for this. Configuration is quite flexible.


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


Re: Realtek 8201 driver on FreeBSD?

2006-04-18 Thread Pete Slagle

Mass Milan wrote:

I actually have an ASUS P5RD1-VM, but I am unable to figure out how to 
get the NIC working.
With Linux, it is pretty straightforward to make it working, but with 
FreeBSD it is not the same game.


I don't know if you have solved the problem you posted on the web.
If it is the case, I would appreciate your help.


Sorry, but I can't help. I got diverted to more rewarding projects and 
never got the NIC working. I gave that particular mobo to someone else.




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


Re: mouse scroll up problem

2006-04-16 Thread Pete Slagle

[EMAIL PROTECTED] wrote:

I have FreeBSD 6.0-RELEASE and optical Microsoft IntelliMouse Explorer, 
USB native, plugged to PS/2 port via it's own USB-PS/2 adaptor.


When I scroll my mouse wheel up in X11 it acts like scroll up + left 
button one/double-click. For example, in Opera, Firefox. In MS Windows 
mouse works correctly.


boot message:
psm0: model IntelliMouse Explorer, device ID 4

xorg.conf fragment:
Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  Buttons 5
Option  ZAxisMapping 4 5
EndSection

/etc/rc.conf fragment:
moused_enable=YES
moused_type=auto
moused_port=/dev/psm0
moused_flags=-F 200 -r high -a 2.5 -l 1
mousechar_start=3


I am running the same mouse in the same way on the same release. Here is 
what is working for me:


Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Device /dev/sysmouse
Option  Protocol sysmouse
Option  ZAxisMapping 4 5
EndSection

moused_enable=YES # don't use type auto with KVM
moused_nondefault_enable=NO
moused_type=ps/2 -l 2 # -l 2 for scroll (fails in _flags)
moused_flags=

[end]


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


Re: Proper Method of Time Sync?

2006-04-15 Thread Pete Slagle

[EMAIL PROTECTED] wrote:


rc.conf:
ntpd_sync_on_start=YES# Sync time on ntpd startup, even if 
offset is high

ntpd_flags=-A -p /var/run/ntpd.pid


Just curious, why disable authentication (with -A)?


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


Re: stop/start services

2006-04-12 Thread Pete Slagle

Matthew Seaman wrote:


eoghan wrote:


I asked a question about stopping/starting tomcat, but I suppose I didnt
ask it right.
What I should have asked is:
How do I stop/start services that I have enabled in my rc.conf, such as
mysql, tomcat etc. I have tried from my rc.d/ with tomcat but it will
not work for me...


Like this:

/usr/local/etc/rc.d/tomcat.sh start

If that doesn't print out anything then double check what's in /etc/rc.conf
If the service apparently starts up, but then you find it's not running
a few seconds later, then check any log files that application uses -- it's
quite often the case that there's a configuration fubar somewhere that is
causing the service to give up.


Service instead of daemon?   Our assimilation by the Borg proceeds apace.




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


Re: BST instead of GMT

2006-04-07 Thread Pete Slagle

I am looking for a way to get my FreeBSD 5.3 box to show my local
time as BST (British Summer Time) as apposed to GMT.


su
cd /etc
rm -f localtime
ln -s /usr/share/zoneinfo/Europe/London localtime





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


How to examine FreeBSD source changes with CVS?

2006-04-04 Thread Pete Slagle

I seek education about FreeBSD source control spelunking.

I noticed that GENERIC was updated recently in 6-STABLE, and I would 
like to see what changed. More generally, how does one examine diffs in 
the FreeBSD source as it changes?


Could some kind soul demonstrate how to do that with CVS? Or point me to 
the right FM (as in RTFM). Or suggest a better method.



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


Re: How to examine FreeBSD source changes with CVS? - SOLVED

2006-04-04 Thread Pete Slagle

Erik Norgaard wrote:


Pete Slagle wrote:

I seek education about FreeBSD source control spelunking.

I noticed that GENERIC was updated recently in 6-STABLE, and I would
like to see what changed. More generally, how does one examine diffs in
the FreeBSD source as it changes?

Could some kind soul demonstrate how to do that with CVS? Or point me to
the right FM (as in RTFM). Or suggest a better method.


check here, I think:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/GENERIC


Thanks Erik, that's exactly what I needed.

For anyone else interested:

In the general case, going to http://www.freebsd.org/cgi/cvsweb.cgi and 
following the tree to the source file of interest shows a list of all 
versions since primordial releases.  Diffs (in color no less) are only a 
click away.


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


Re: Thunderbird and Firefox dead after portupgrade

2006-03-30 Thread Pete Slagle

Donald J. O'Neill wrote:

On Thursday 30 March 2006 17:53, Albert Shih wrote:

 Le 30/03/2006 à 14:42:10-0800, Micah a écrit

[EMAIL PROTECTED] wrote:

1.5.0.1_2 was commited last night, so it's probably a recent
breakage. I just found a bug report on it at
http://www.freebsd.org/cgi/query-pr.cgi?pr=95100
So we have four confirmed cases of firefox not working.

five...but not for firefox...for thunderbird (well I don't use it at
all...;-) )

Same problem when I try to laucnh thunderbird, nothing append, no
error..

Regards.

using : FreeBSD 6.1-PRERELEASE


This happened to me also, until I remembered this has happened before 
and what to try. 

Login as root, start the GUI (mine is KDE), open a terminal program and 
start firefox from there. After that, I had no problems. It's working 
fine.


Surprisingly, this worked perfectly for me with FreeBSD 6.1-PRERELEASE, 
although I didn't take the time to figure out why.


I didn't even restart the GUI, I just ran Firefox and Thunderbird from a 
xterm window as root, and then exited them.  All fixed.



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


Realtek 8201 driver?

2006-03-27 Thread Pete Slagle

Short version:

Does anyone have an ASUS P5RD1-VM on-board NIC or the Realtek 8201 chip 
working with 6-stable?  If so, which driver did you use?



Details:

I needed another quick and cheap box, so the other day I bought a ASUS 
P5RD1-VM motherboard on sale for almost nothing and booted up the 
6.0-RELEASE CD. (I'll upgrade it to stable when I get the network 
interface working.)


There is a built-in NIC which is apparently a Realtek RTL8201CL PHY, 
although `pciconf -lv` says Acer Labs perpetrated it. In either case, 
it's not listed on the hardware compatibility list and it isn't found at 
boot time by a GENERIC kernel:


   pci0: network, ethernet at 27.0 (no driver attached)

The link light is on and the BIOS assigns it an IRQ so it does seem to 
be enabled and working at the firmware level.


I googled around for quite awhile and found a lot of questions about the 
8201, but no answers and no indication that there is a FreeBSD driver 
for it.


So, does anyone have any pointers about which, if any, driver might work 
with this motherboard's built-in ethernet interface?






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


Re: Starting privoxy at startup

2006-03-26 Thread Pete Slagle

Oliver Iberien wrote:


I can start privoxy manually with
/usr/local/sbin/privoxy /usr/local/etc/privoxy/config

I added this to /etc/rc.conf:
privoxy_enable=YES
privoxy_flags=/usr/local/etc/privoxy/config

but that does not seem to do it. I tried putting a link in /etc/rc.d/ to the 
privoxy.sh in /usr/local/etc/rc.d, but that didn't do it, either. How do I 
get it to start?


When I installed privoxy from ports a shell script was placed in 
/usr/local/etc/rc.d, which does the job.  Mine is mode 555.  I'll e-mail 
you a copy if you want. I wouldn't link from /etc/rc.d -- bad mojo.


I put the following two variables in /etc/rc.conf, and privoxy finds 
it's configuration files in the directory /usr/local/etc/privoxy/ 
without any help. There is more than one configuration file, and they 
are substantially self documenting.


  privoxy_enable=YES
  privoxy_flags=-- user privoxy





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


Re: Cheap FreeBSD hosting?

2006-03-24 Thread Pete Slagle

Nathan Vidican wrote:

Personally, I go the dedicated server route; you can get a decent 
dedicated or semi-dedicated FreeBSD server for less than $50 if you want 
cheap... average rate runs about $100/month for a dedicated server though.


Although I have goggled and have been keeping an eye out, I have not 
seen any prices at the $50 level. Can you provide links to sub-$100 
dedicated offerings?


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


Re: 6.1-BETA 4 stable for normal use?

2006-03-22 Thread Pete Slagle

On Tue, Mar 21, 2006 at 09:04:32PM -0800, Rakhesh Sasidharan wrote:

Hi,

I'd like to try out FreeBSD and was wondering whether
I should start with 6.1-BETA4 or 6.0? Its just for
home use anyways, more as a way to fool around with
FreeBSD a bit, so was wondering if 6.1-BETA4 would
suffice for the purpose ... is it stable enough or
would it give me issues? 


Yes, it's quite stable and has many fewer bugs than 6.0.

Kris


Not only has 6.1-BETA4 been rock solid, it also (subjectively, I admit) 
feels significantly snappier than 6.0 on a frequently used but aging 
desktop box* when heavily multitasking.


* single 550 MHz CPU, two SCSI-3 drives, 512 MB RAM




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


Re: where is mergemaster?

2006-03-14 Thread Pete Slagle

I have also had problems with my path
not being set correctly in single user mode.


This can be caused by not having /root/.profile linked to your / directory.

Mergemaster used to ask about correcting this, but it doesn't seem to do 
so lately.



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


Re: setting the root email address

2006-03-05 Thread Pete Slagle

Matthew Seaman wrote:

Kövesdán Gábor wrote:

Steel City Phantom wrote:


one of my servers was set up by some guys in china.  i have gotten
everything figured out save one, somehow they got cron job results to
email to my business account.  i can't for the life of me figure out
how they did that.  where in bsd do i set another email address for root?

See /etc/aliases, you must find something like this:

root:   yourmail

If you want to change that, you should run newaliases after modifying that.


And if it's not set in /etc/mail/aliases, try checking for a /root/.forward 
file.


And if you still don't find it, look in /etc/crontab. I have sometimes
seen cron jobs that pipe directly into mail, i.e.,

  foo | mail -sZounds! [EMAIL PROTECTED]

Pete






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


Re: OT-EXIM

2006-03-03 Thread Pete Slagle

Jean-Paul Natola wrote:


I ran portupgrade on BSD and afterwards exim is failing to start,



How can I go about reinstalling it, I do have my config files backed up so if
need me I can copy them back.


$ su
# /usr/local/etc/rc.d/exim.sh stop
# killall exim
# cd /usr/ports/mail/exim
# make deinstall
# make install clean
# cp /your_backup_location/configure /usr/local/etc/exim/configure
# echo 'sendmail_enable=NONE'  /etc/rc.conf
# echo 'exim_enable=YES'  /etc/rc.conf
# /usr/local/etc/rc.d/exim.sh start
# exit

Good luck,
Pete



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


Re: New Logo

2005-11-03 Thread Pete Slagle
The thought occurs that the annoying religious fundamentalists are those 
that revere an amateurishly drawn cartoon. (Of all things.)


Idol worship, sect-like fulmination, and blind allegiance to mere 
symbols representing obscure events in ancient history were never more 
in evidence.


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