Need help with tspc

2005-06-17 Thread David LeCount
I connect to the IPv6 Internet through Freenet6, whose
program is tspc. It's supposed to set up my interfaces
and everything so I can use ipv6-over-udp. It works
the first time after rebooting my computer, but if I
have an IP change or something to that effect, it
won't work when I run it again. I'm guessing it
probably isn't clearing out the old configuration
completely, most likely the tun0 interface. It looks
like the script is running "ifconfig tun0 destroy"
which doesn't work when I run it manually, nor does
"ifconfig tun0 deletetunnel". In fact, I can't figure
out how to reset the tun0 interface at all. I think
this will likely fix it. On the other hand, the log
file says the script is completing successfully. Here
is the error in the log file:

2005/06/18 00:35:52 tspc: TunMainLoop: Error writing
to tun device
2005/06/18 00:35:52 tspc: tspMain: Error is 5:
TUNNEL_ERROR

This has been going on since I got on DSL and I'm sick
of it. Any help is appreciated.

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


Re: sysinstall: label editor:unable to write data

2005-06-17 Thread Per olof Ljungmark

Björn König wrote:

Jerry McAllister wrote:


Björn König wrote:

Partitions (slices) will be written to the first sector of the hard 
disk 



I meant the information about partitions of course.



Probably you meant slices.



I meant partitions, in FreeBSD term slices; that the reason why I put it 
in brackets behind. I'm sorry if I confused someone.


No, I'm fine, the sysctl command was the missing piece. Thank you for 
your kind help.


Per olof

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


Re: Advice replacing Xorg with XFree86_4

2005-06-17 Thread Lars Kristiansen



--On Friday, June 17, 2005 08:09:23 PM -0700 Kent Stewart 
<[EMAIL PROTECTED]> wrote:



On Friday 17 June 2005 07:53 pm, Everett Batey wrote:

Two weeks of fighting with Xorg on FreeBSD_4 ..

CAN ANYONE tell me the steps for hopefully
  deleting Xorg and
  replacing with XFree86_4.


If you read /usr/ports/Updating and go back to 20040723, you will see some 
recommended ways for going the other way. Maybe that will help.



That runs fine with my KM3M-V on board video ..

PLEASE,  I hate to think of leaving BSD after this
many years on my servers.


You pkg_delete anything that starts with xorg-* and imake. Change
make.conf to have
X_WINDOW_SYSTEM=xfree86-4

You might be able to get away with just installing XFree86-4.5.0,1 and
imake but I have a tendancy to think Murphy will get involved. If that
happens, you will need to bebuild most/all of your ports that use
XFree86.

If you didn't do that when you installed xorg, that could be part of
your problem.

FWIW, xorg doesn't work well on my FreeBSD-4.x systems. I installed it,
got tired of not being able to switch between the Spanish keyboard
layout and English and reinstalled everything that had been built with
XFree86. I had packages on an almost identical computer, so it wasn't a
big deal and did a package install of everything.

Other than the layout, it worked just fine, so, you have other problems.

Kent


Thank you


--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"




--
Med vennlig hilsen
Lars Kristiansen

A D V E N T U R A S
Tlf: 22 20 59 90
Fax: 22 20 59 91
[EMAIL PROTECTED]
http://www.adventuras.no

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


abiword (or even Ooo) and more fonts.

2005-06-17 Thread Gary Kline

Folks,

Once upon a time (like when I ran v 4.x) I somehow managed to
have a bunch of ttf-derived fonts that somehow worked with
abiword.  Is there anything in x11-fonts that would give me
access to more than the standard fonts?  (Just for my rare
snail letters that would use something fun or offbeat.)

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: english version???

2005-06-17 Thread Chris
Timothy McLouth wrote:
> I downloaded FreeBsd 5.4 disc1.iso and disc2.iso i then burned a copy of 
> these files to a bootable CD..  When i tried to install the OS, the cd booted 
> to a DOS A:\> prompt but nothing further happened..i found a program i 
> beleive wwmu.exe and tried to execute that but the program and instructions 
> were written in German or sonmething close but definatly not english.  Is 
> there an american version written in english of this installation??  I 
> downloaded FreeBSD 5.4 from an american ftp site. All of the readme text 
> files were written in english.  Only when running i beleive it was the 
> program wwmu.exe did the German language appear.  What am i doing wrong?
> Thanks for your time,
> Timothy
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> 

Try burning the files AS an ISO image. Not just burn the files to a CD.

-- 
Best regards,
Chris

The man who has no more problems is out of the game.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Advice replacing Xorg with XFree86_4

2005-06-17 Thread Kent Stewart
On Friday 17 June 2005 07:53 pm, Everett Batey wrote:
> Two weeks of fighting with Xorg on FreeBSD_4 ..
>
> CAN ANYONE tell me the steps for hopefully
>   deleting Xorg and
>   replacing with XFree86_4.
> That runs fine with my KM3M-V on board video ..
>
> PLEASE,  I hate to think of leaving BSD after this
> many years on my servers.

You pkg_delete anything that starts with xorg-* and imake. Change 
make.conf to have
X_WINDOW_SYSTEM=xfree86-4

You might be able to get away with just installing XFree86-4.5.0,1 and 
imake but I have a tendancy to think Murphy will get involved. If that 
happens, you will need to bebuild most/all of your ports that use 
XFree86. 

If you didn't do that when you installed xorg, that could be part of 
your problem.

FWIW, xorg doesn't work well on my FreeBSD-4.x systems. I installed it, 
got tired of not being able to switch between the Spanish keyboard 
layout and English and reinstalled everything that had been built with 
XFree86. I had packages on an almost identical computer, so it wasn't a 
big deal and did a package install of everything.

Other than the layout, it worked just fine, so, you have other problems.

Kent
>
> Thank you

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


english version???

2005-06-17 Thread Timothy McLouth
I downloaded FreeBsd 5.4 disc1.iso and disc2.iso i then burned a copy of these 
files to a bootable CD..  When i tried to install the OS, the cd booted to a 
DOS A:\> prompt but nothing further happened..i found a program i beleive 
wwmu.exe and tried to execute that but the program and instructions were 
written in German or sonmething close but definatly not english.  Is there an 
american version written in english of this installation??  I downloaded 
FreeBSD 5.4 from an american ftp site. All of the readme text files were 
written in english.  Only when running i beleive it was the program wwmu.exe 
did the German language appear.  What am i doing wrong?
Thanks for your time,
Timothy

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


Re: Advice replacing Xorg with XFree86_4

2005-06-17 Thread Greg 'groggy' Lehey
On Friday, 17 June 2005 at 19:53:50 -0700, Everett Batey wrote:
> Two weeks of fighting with Xorg on FreeBSD_4 ..
>
> CAN ANYONE tell me the steps for hopefully
>   deleting Xorg and
>   replacing with XFree86_4.

pkg_delete and pkg_add should be your friends.  You're liable to find
it hard going if you have *any* software installed that references X.

> That runs fine with my KM3M-V on board video ..

Interesting.  In general Xorg seems to work better.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
The virus contained in this message was not detected.

Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpi0ixxBHHt3.pgp
Description: PGP signature


Advice replacing Xorg with XFree86_4

2005-06-17 Thread Everett Batey
Two weeks of fighting with Xorg on FreeBSD_4 .. 

CAN ANYONE tell me the steps for hopefully 
  deleting Xorg and 
  replacing with XFree86_4.  
That runs fine with my KM3M-V on board video ..

PLEASE,  I hate to think of leaving BSD after this 
many years on my servers.

Thank you

-- 
Ev Batey -- WA6CRE -- [EMAIL PROTECTED]
  805 340-6471
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SMP and networking under FreeBSD 5.3

2005-06-17 Thread Joe
Okay, back on topic.

I've changed my rules in ipfw, and no longer get the hostname ..
messages.  

Now natd does not start and it complains 'unable to bind divert
socket, and then cant assign requested address'.  I'm using:

natd_enable="YES"
natd_interface="dc0"
natd_flags="-dynamic -d -log_ipfw_denied -log_denied"

Rules get set, natd does not start.

Interesting thing is that if I restart ipfw at the end of
/etc/rc  ( /etc/rc.d/ipfw start ) natd starts.

Hmm, I'm confused on this one.  

Joe

--- Alex Zbyslaw <[EMAIL PROTECTED]> wrote:

> Joe wrote:
> 
> >Thanks Alex, 
> >
> >   Below are my rules.  I have removed the IP addresses and
> >replaced with x.x.x.x in most cases.  Also some ports have
> been
> >turned to y's instead of the actual port. 
> >  
> >
> I don't want to go into the details of your firewall; all I
> can offer is 
> general advice for you to apply if you wish.  There are plenty
> resources 
> out there from the various man pages to the handbook. 
> Firewalls can be 
> trickier than they look and NAT makes them significantly more 
> complicated to fathom correctly.  I don't claim to be any kind
> of expert 
> and everything I know started life being written by someone
> else :-)  
> Any mistakes are most likely my own!  I will say that it is
> worth making 
> sure you understand your own firewall. 
> 
> At one point you suggested that you wanted to make your
> firewall script 
> start later so that you had access to your IP address.  I
> think you are 
> on to a loser there because there is not particular time when
> DHCP 
> finally gets the IP address.  If your provider is down, it
> might take 
> minutes, hours or even days.  You could keep polling in some
> way to see 
> if you had an IP address and not running your rules script
> until you 
> did, but it would seem better to just write rules which work
> even 
> without the IP address.  Plus, that would also not work if you
> ever had 
> a second external interface (e.g. an old-fashioned modem)
> which needed 
> firewalling irrespective of the status of your ethernet
> interface.
> 
> Although a firewall often need to know the actual addresses of
> hosts 
> other than itself there is, as far as I can figure out, no
> logical 
> reason for it to need to know it's own IP address if you have
> the "me" 
> construct.  (If, like my machine, your firewall is just
> another computer 
> on a small network that is allowed to do exactly the same
> things as any 
> other host on that network, then it needn't even use "me". 
> This makes 
> life much easier because it interferes less with NAT).
> 
> If you have "me" then you can always distinguish between your
> firewall 
> and the rest of your network.
> 
> Take the non-NAT case first:
> 
> allow all from me to any out xmit ext_if
> allow all from any to me in recv ext_if
> 
> These rules could only be triggered by packets addressed
> directly to 
> your firewall.  If you follow it with e.g.
> 
> deny all from any to any out via ext_if
> deny all from any to any in via ext_if
> 
> then you close off your internal network.
> 
> NAT makes things more complicated, because before or after
> NATing 
> (depending on the direction) packets from your network can
> look like 
> they originate on your machine or are destined for it.
> 
> 
> E.g.
> 
> allow all from me to any out xmit ext_if
> 
> must come before the NAT rule because after NAT-ing all your
> internal 
> packets are going out ext_if.
> 
> whereas
> 
> allow all from any to me in recv ext_if
> 
> must come after the NAT rule to be sure that it is actually
> your 
> firewall which is the recipient.
> 
> If all you have is a small network, then there may be no
> reason to 
> differentiate your firewall from any other machine.  In this
> case, it is 
> perfectly sufficient to  write rules based on the ext_if
> alone.
> 
> So I have rules like:
> # Allow connections initiated from internal network
> ipfw add allow tcp from any to any out xmit ext_if setup
> 
>  # Allow TCP through if setup succeeded
> ipfw add pass tcp from any to any via ext_if established
> 
> The only IP addresses in my whole firewall are the limited
> number of 
> hosts which can initiate some kind of connection into my
> network
> 
> e.g.
> 
> ipfw add allow tcp from x.x.x.x to any ssh setup
> 
> (x.x.x.x not because I need to hide the IP but because I can't
> be 
> bothered to find it in the firewall script :-))
> 
> NB that rule says any for recipient because it was written
> before me 
> existed.  But since my network is NATed, it would always be a
> packet 
> header for my firewall and could only get elsewhere if I
> explicitly 
> forwarded it.  There's no mention of the interface because a
> prior rule 
> has already allowed internal connections which would match. 
> Looking at 
> it now, I might get picky and put an interface spec in there
> just to be 
> completist.
> 
> It's often said that there is no security in obscurity, and
> while I 
> don

Re: A question about dwnloading Ports

2005-06-17 Thread 子耗
I was sorry because I did not express what I wanna do. I just wanna
get the source codes in net cafe, and then, I could copy it to my
mobile harddisk, which could let me take home and install it. The
computers in net cafe is installed with Windows instead of any kinds
of unix-like OS, and it has a considerable bindwidth, which could let
me download at the speed of 1MB/s.

I could not visit any websites and urls outside China in our dormitory
because we use CERN. So, I have to copy what i need in net cafe.
What's more, I have a 40GB mobile harddisk which maybe enough for
contain the source codes or pre-compiled packages

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


Re: XFree86 port broke for Matrox G550

2005-06-17 Thread Dejan Lesjak
On Friday 17 of June 2005 01:42, Steven Friedrich wrote:
> -autoconfig didn't produce good results for me.  I have a dualhead setup
> and it gave me only a single display.  I invoked it by "startx --
> -autoconfig".

Ah, I was wandering, because there were some improvements made to 
autoconfiguring but as it seems it's not entirely there yet.

> I also read the readme for mga and I can't really determine what the best
> config for my G550 is.  Currently, I'm using Xinerama and it disables DRI
> on both heads.  I don't know how to configure it for the "DualHead
> Multi-Display - Merged feature" the readme refers to.

I believe that part of docs is only clarifying that on cards other than G450 
and G550 you can't have dual head at all. I don't have an Matrox myself so I 
can't be of much more help I'm afraid.


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


Re: Random resets - N440BX

2005-06-17 Thread Samuel Clements

Larry Gadallah wrote:

Hello all:

Hi!


Now I'm experiencing random reboots, no core dumps or log messages and
I'm trying to figure out what's gone wrong. I've dug up a few notes
indicating that power supply or RAM are suspect. Does anyone know if
going from P-IIs to P-IIIs would cause that much more stress on what
should be a very solid system?


Check to make sure the PBA rev of your board supports the PIII's
http://support.intel.com/support/motherboards/server/n440bx/sb/cs-014901.htm

Also, as with most all Intel server hardware make sure you have the 
latest BMC and BIOS loaded...



Thanks in advance...

You're welcome!
  -Sam

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


Random resets - N440BX

2005-06-17 Thread Larry Gadallah
Hello all:

I have a long running and (so far) very solid Intel N440BX motherboard
in an Intel Columbus case, dual P-II 400 Mhz, 512M of ECC RAM, two
Fujitsu SCSI-2 drives, etc. For the past 3-4 years, I've run FreeBSD
3.5 through 4.11 on this box, until about a month ago when I noticed
that it was down.

On investigation, I found out that one of the P-II fansinks had fallen
off its CPU. Needless to say, the associated CPU self-destructed. I
bought a couple of P-III 550 Mhz CPUs and put them in, and everything
was fine, or so I thought.

Now I'm experiencing random reboots, no core dumps or log messages and
I'm trying to figure out what's gone wrong. I've dug up a few notes
indicating that power supply or RAM are suspect. Does anyone know if
going from P-IIs to P-IIIs would cause that much more stress on what
should be a very solid system?

Thanks in advance...
-- 
Larry Gadallah,
lgadallah AT gmail DOT com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gnome_upgrade.sh & Firefox

2005-06-17 Thread Anthony M. Agelastos

On Jun 16, 2005, at 7:45 PM, Björn König wrote:


Hello Anthony,

I suggest to try it without optimizations first. I had problems  
with many ports using -march=pentium3 or even -mtune=pentium3.


Björn


Hello all,

I tried 2 separate cases... one with optimizing for i686 and one for  
no cputype optimization... neither of them worked (I used the - 
restart option so I didn't have to wait a day for each of these). Did  
I do something wrong? Should I have restarted it from scratch? Should  
I have manually cleaned Firefox? Thank you for your help.


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


Acrobat Reader 7 plugin for Mozilla

2005-06-17 Thread Alejandro Pulver
Hello,

I have installed linuxpluginwrapper on my FreeBSD 5.4, and when Mozilla
starts it outputs the following error:

LoadPlugin: failed to initialize shared library
/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so
[Shared object "libc.so.6" not found, required by "nppdf.so"] 

Here is the relevant lines from my "/etc/libmap.conf":

# Acrobat with Opera
[/usr/X11R6/lib/browser_plugins/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

# Acrobat5 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
#[/usr/local/Acrobat5/Browsers/intellinux/nppdf.so]
#libc.so.6  pluginwrapper/acrobat.so

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror
[/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

How can I solve this?

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


Re: Vexing IPF problem

2005-06-17 Thread horio shoichi
On Fri, 17 Jun 2005 08:12:45 -0700 (PDT)
DH <[EMAIL PROTECTED]> wrote:
> I'm having a problem with IPF blocking packets that appear should be let 
> through.
>  
> I've sent quite a bit of time going through the Handbook, man pages, etc & I 
> must be missing something so any help is greatly appriciated.
>  
> uname -a freebsd 4.11-release #0
>  
> SMP kernel, dual PIII processor, 512 MB ECC RAM, SCSI HDs
>  
> execerpt from rule set:
>  
> Kernel compiled with "default allow" until I finish getting the ruleset 
> rewritten.
>  
> Rule #1 block in log from any to any
>  
> pass in quick on lo0
> pass out quick on lo0
>  
> block in log quick on fxp0 from any to any with ipopts
> block in log quick proto tcp from any to any with short
> ...
> pass in log first proto tcp from any to any port = 80 flags S keep state
> pass in log first proto tcp from any port = 80 to any flags S keep state
> pass out log first proto tcp from any to any port = 80 flags S keep state
>  
>  
> netstat -m = 129/576/16384
> 9% of mb_map in use
>  
> Proxy Server - Squid 2.5.stable10
>  
>  
> The behavior I'm seeing is out going connections to websites on port 80 are 
> being passed
> but the in bound traffic is being blocked.  The ipflog entries look like this:
>  
>  
> my ip = s   theirs = d
>  
> @0:390 p s.s.s.s,3601 -> d.d.d.d,80 PR tcp len 20 60 -S K-S OUT
>  
> @0:1 b d.d.d.d,80 -> s.s.s.s,3601 PR tcp len 20 43 -AR IN
>  
>  
>   
> Thanks in advance to those giving their time to lend a hand, I know you time 
> is valuable.
>  
> Please CC my address in your reply.
>  
> David Hutchens III
> Network Technician
>  
>  
>  
> 
>   
> -
> Yahoo! Sports
>  Rekindle the Rivalries. Sign up for Fantasy Football
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Any reason you avoid 'quick' keywords in rules around 390 ?

Also, from my vague memory 'first' should not be necessary with 'quick'.


horio shoichi

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


Re: Blocking ports from upgrade

2005-06-17 Thread Mark Frank
* On Fri, Jun 17, 2005 at 01:48:12PM -0700 Glenn Dawson wrote:
> At 01:45 PM 6/17/2005, Steven Lake wrote:
> >Just curious about how to block portupgrade from upgrading 
> >certain files when you cvsup your ports and tell it to upgrade 
> >everything?  I've got a few programs that refuse to work with the newer 
> >version so I have to copy the older version back in to make it work 
> >again.  I'd like to just block it from upgrading those programs until I 
> >absolutely must upgrade.  Is there some way to mark them as being port 
> >that should be ignored?  Thanks in advance for the info.
> 
> 
> Looks like the -x option to portupgrade will do the trick.
 
A more permanent solution is HOLD_PKGS in /usr/local/etc/pkgtools.conf

Mark
-- 
"The fix is only temporary...unless it works." - Red Green
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


disk cache tuning

2005-06-17 Thread Eugene L. Vorokov
Hello.

I have a box with FreeBSD 5.4, where disk subsystem is a bottleneck.
It runs several applications which access huge number of files, usually small.
They do not require a lot of memory, network I/O is also not very intensive.

I have read tuning(7), enabled softupdates, noatime and such. But I have an
impression that most of the memory (1Gb) is not really used, while it could be
used for disk cache. top(1) reports about 800Mb as inactive, and
reading 200-300Mb
of information from disk still causes a lot of disk activity.

How can I increase the amount of memory used for disk cache without touching
other subsystems ? As far as I understand, simply increasing MAXUSERS is not
a good idea, because it will also increase NMBCLUSTERS and such, which I do
not really want.

Please Cc: me as I'm not on this list.

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


Re: Booting with multiple RAID1 configs

2005-06-17 Thread Titus von Boxberg

Here is what I did, and the subsequent effect:

(Remember, ad4 and ad6 (promise drives) make up the bootable ar0):

# after 2 brand new drives installed:

- atacontrol create RAID1 ad0 ad2
...at which point it said it was successful, and designated the new RAID
config as ad1.

After reboot, the server comes up, identifies ad0, ad2, ad4 and ad6 as
expected. Then it tries to load up the ar driver. It clearly says ar0
has 2 disks, ad0 and ad2, and ad1 now has ad4 and ad6, which is
backwards from how it should be.

Then it baffs with a mountroot error, and no manner of trying to point
to any disk or array is successful. Mountroot errors 16 and 22 come up.

I pull the new drives back off the motherboard IDE connections, box goes
back to exactly how it was before this mess started.


You might use loader(8) to set the root device ("rootdev" variable) 
explicitly to ar1s1a. Then you should also update fstab to reflect the 
numbering change.

I don't know of any way to change the ata numbering scheme.
Mainboard controllers always seem to be probed (and numbered)
first. I think there is no way to get your original raid
back to ar0 if you also use your mainboard controllers.

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


Re: Blocking ports from upgrade

2005-06-17 Thread Glenn Dawson

At 01:45 PM 6/17/2005, Steven Lake wrote:
Just curious about how to block portupgrade from upgrading 
certain files when you cvsup your ports and tell it to upgrade 
everything?  I've got a few programs that refuse to work with the newer 
version so I have to copy the older version back in to make it work 
again.  I'd like to just block it from upgrading those programs until I 
absolutely must upgrade.  Is there some way to mark them as being port 
that should be ignored?  Thanks in advance for the info.



Looks like the -x option to portupgrade will do the trick.

-Glenn


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


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


Re: Error with make buildworld

2005-06-17 Thread Andreas Rudisch
On Fri, 2005-06-17 at 15:41 -0500, Dan Braun wrote:
> I'm trying to run make buildworld to upgrade FreeBSD 5.0 to 5.4.  When I run
> make buildworld I get the following error:
> "/etc/make.conf", line 1: Need an operator
> make: fatal errors encountered cannot continue

Would it not be much easier to backup all important data and do a normal
installation?

Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





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


Re: Error with make buildworld

2005-06-17 Thread Kris Kennaway
On Fri, Jun 17, 2005 at 03:41:07PM -0500, Dan Braun wrote:
> I'm trying to run make buildworld to upgrade FreeBSD 5.0 to 5.4.  When I run
> make buildworld I get the following error:
> 
>  
> 
> "/etc/make.conf", line 1: Need an operator
> 
> make: fatal errors encountered cannot continue
> 
>  
> 
> Basically, I have no idea what to do with this, the log file doesn't tell me
> anything different than this, so I don't know where to go from here.

You made a change to /etc/make.conf (probably line 1 ;-) that
introduced a syntax error.

Kris


pgpUStgBEHfTD.pgp
Description: PGP signature


Blocking ports from upgrade

2005-06-17 Thread Steven Lake
Just curious about how to block portupgrade from upgrading certain 
files when you cvsup your ports and tell it to upgrade everything?  I've got a 
few programs that refuse to work with the newer version so I have to copy the 
older version back in to make it work again.  I'd like to just block it from 
upgrading those programs until I absolutely must upgrade.  Is there some way to 
mark them as being port that should be ignored?  Thanks in advance for the info.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error with make buildworld

2005-06-17 Thread Dan Braun
I'm trying to run make buildworld to upgrade FreeBSD 5.0 to 5.4.  When I run
make buildworld I get the following error:

 

"/etc/make.conf", line 1: Need an operator

make: fatal errors encountered cannot continue

 

Basically, I have no idea what to do with this, the log file doesn't tell me
anything different than this, so I don't know where to go from here.

 

Any advice would be much appreciated.  Thanks

 

Dan 

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


Re: OT: Procmail crashing with FreeBSD

2005-06-17 Thread Matt Juszczak

Can you see your message at
http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/date.html
?


Yep :) I was able to see it, thanks.

Does anyone know why the machine keeps doing a kernel trap 12?

Someone suggested that it could be hyperthreading, but I've got:

orion# sysctl machdep.hyperthreading_allowed
machdep.hyperthreading_allowed: 0

I've never experienced this kind of instability with FreeBSD before and I 
dont know why the machine keeps dieing.. any suggestions?


Thanks!

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


RE: Booting with multiple RAID1 configs

2005-06-17 Thread Steve Bertrand
> Please clarify.  You said you added two new disks to the 
> 'regular ide chain' and then created another RAID1 config for 
> those disks.
> 
> Are the new drives connected to the Promise RAID controller, 
> or the motherboard's IDE controllers?
> 

The original RAID, 2 ide drives connected to the Promise card, which
right from the beginning were labelled ar0 by FreeBSD. They show up
initially in dmesg as ad4 and ad6.

2 new IDE drives were added today, Primary Master on IDE1 and Secondary
Master on IDE2 chain (motherboard IDE).

> It sounds like you connected them to the other channel on the 
> Promise card.  The card should label the channels "IDE 1" and 
> "IDE 2" or something similar.

Nope, that is not the case. On the promise card, both channels (1 and 2)
have been in use with the ar driver from the start. The new drives are
both connected to the motherboard IDE connection.

> Did you perhaps have your original drives plugged onto the "IDE 2"  
> channel and add the new drives to the "IDE 1" channel?

Nope :) see above.

> That's about the only thing I can think of that would make 
> the new drives take priority over the old drives.

Yeah, I understand what you mean, but that's not the case.

Here is what I did, and the subsequent effect:

(Remember, ad4 and ad6 (promise drives) make up the bootable ar0):

# after 2 brand new drives installed:

- atacontrol create RAID1 ad0 ad2
...at which point it said it was successful, and designated the new RAID
config as ad1.

After reboot, the server comes up, identifies ad0, ad2, ad4 and ad6 as
expected. Then it tries to load up the ar driver. It clearly says ar0
has 2 disks, ad0 and ad2, and ad1 now has ad4 and ad6, which is
backwards from how it should be.

Then it baffs with a mountroot error, and no manner of trying to point
to any disk or array is successful. Mountroot errors 16 and 22 come up.

I pull the new drives back off the motherboard IDE connections, box goes
back to exactly how it was before this mess started.

I tried to do an atacontrol delete on the new array, but of course it
can't find it because the drives are unplugged. Are there any config
files that store this information?

Sorry for the long winded post. Hopefully it was a little more clear!

STeve

> 
> If that's the case, just switch IDE cables plugging into the 
> Promise controller.
> 
> Thanks,
> 
> Ken Ebling
> 
> 

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


Re: Strange fdisk behavior on 5.4-STABLE

2005-06-17 Thread Jerry McAllister
> 
> I have a hard drive in my laptop with a 30GB FreeBSD partition and a 
> few gigabytes of unused space (40GB hard drive).
> I wanted to make another FreeBSD partition but when I run fdisk I get 
> this following error:
> fdisk: cannot open disk /dev/ad0: No such file or directory
> 
> /dev/ad0 does exist and fdisk has no problem printing the partition table, 
> but when run with -u it pretends
> the disk doesn't exist.

Well, are you trying to make fdisk write to the slice table of
a drive that you have mounted - the one with ad0s1 on it which is
probably where you are booted?   That isn't allowed.   
Try it from a fixit disk boot.   That is disk 1 in the 5.xxx ISO set.

jerry

> I had no problems partitioning a USB flash drive.
> 
> Any suggestions?
> 
> Baldur
> 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange fdisk behavior on 5.4-STABLE

2005-06-17 Thread Baldur Gislason
I have a hard drive in my laptop with a 30GB FreeBSD partition and a few 
gigabytes of unused space (40GB hard drive).
I wanted to make another FreeBSD partition but when I run fdisk I get this 
following error:
fdisk: cannot open disk /dev/ad0: No such file or directory

/dev/ad0 does exist and fdisk has no problem printing the partition table, but 
when run with -u it pretends
the disk doesn't exist.
I had no problems partitioning a USB flash drive.

Any suggestions?

Baldur

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


Re: Booting with multiple RAID1 configs

2005-06-17 Thread Ken Ebling


On Jun 17, 2005, at 2:36 PM, Steve Bertrand wrote:


Hey all,

I've been running my 4.11 box on a Promise RAID one card with no
difficulty.

Today I added 2 new disks to the regular IDE chain, and used  
atacontrol

to create a second RAID1 configuration for those 2 new disks. After I
created with atacontrol, it successfully told me an 'ar1' had been
created. (ar0 is the promise card).


Please clarify.  You said you added two new disks to the 'regular ide  
chain' and then created another RAID1 config for those disks.


Are the new drives connected to the Promise RAID controller, or the  
motherboard's IDE controllers?


It sounds like you connected them to the other channel on the Promise  
card.  The card should label the channels "IDE 1" and "IDE 2" or  
something similar.


Did you perhaps have your original drives plugged onto the "IDE 2"  
channel and add the new drives to the "IDE 1" channel?


That's about the only thing I can think of that would make the new  
drives take priority over the old drives.


If that's the case, just switch IDE cables plugging into the Promise  
controller.


Thanks,

Ken Ebling

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


Re: filter by program?

2005-06-17 Thread Alex Zbyslaw

John Conner wrote:


I was just wondering if it was possible to add program
filtering into an IPF firewall? For example if traffic
is allowed out on port 80 then it may only travel
through this port if, for example, it is coming from
firefox etc. It seems like a pretty useful feature but
as of yet I have been unable to find any documentation
that covers such a filtering rule. 

IPF, IPFW and PF are all *packet* filters (hence the P in all of them).  
Packets have no idea which application they originated from or which 
application is going to receive them.  If you aren't sure what a packet 
is, then you could start with man ip, tcp and udp, move on to relevant 
RFCs or find a book on networking.  I'm sure you could get 
recommendations here if you asked (and who knows, if you searched the 
archive you might find some).


What you are asking for is *application* level filtering which is 
generally much harder because the protocols involved are more 
complicated.  To achieve the specific example you mention (allow 
Firefox, disallow everything else) you might be able to achieve 
something like that by forcing all your clients to use a proxy server 
and using that to filter out connections you do not want.  Whether 
anyone has written a proxy server that filters on the client type seems 
doubtful.  That kind of info is easy to spoof (see Opera) and quite what 
the point would be, I cannot see.  If you don't want browsers other than 
Firefox running then delete them from your systems ;-)


--Alex


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


RE: filter by program?

2005-06-17 Thread fbsd_user
NO

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John Conner
Sent: Friday, June 17, 2005 9:36 AM
To: freebsd-questions@freebsd.org
Subject: ipf: filter by program?


Hello all,

I was just wondering if it was possible to add program
filtering into an IPF firewall? For example if traffic
is allowed out on port 80 then it may only travel
through this port if, for example, it is coming from
firefox etc. It seems like a pretty useful feature but
as of yet I have been unable to find any documentation
that covers such a filtering rule. Any
feedback/suggestions would be much appreciated,

Thanks,

John



___
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Booting with multiple RAID1 configs

2005-06-17 Thread Steve Bertrand
Hey all,

I've been running my 4.11 box on a Promise RAID one card with no
difficulty.

Today I added 2 new disks to the regular IDE chain, and used atacontrol
to create a second RAID1 configuration for those 2 new disks. After I
created with atacontrol, it successfully told me an 'ar1' had been
created. (ar0 is the promise card).

However, after reboot, FBSD is trying to configure the new disks as ar0,
and the originals as ar1, causing a mountroot problem.

Manually typing ufs:/dev/ar1s1a fails as well with "Root Mount Failed:
22".

This can be fixed simply by removing the 2 new disks.

In the docs, I found how to boot by telling the os something like this:

1:ad(2,a)kernel, however I don't want to boot from an individual disk.
It must be the promise card.

I'd appreciate it if someone can help me sort this out!

Steve

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


Re: Making a custom FreeBSD iso

2005-06-17 Thread Frank Staals

Chris Huff wrote:



Hi:

Im trying to get a couple of scripts of mine onto a bootable FreeBSD 
5.4 install cd. Im going about this as follows.


Im ripping the iso image from the cd with dd

dd if=/dev/acd0 of=file.iso bs=2048

Then, Im mounting the iso image

mdconfig -a -t vnode -f /usr/iso-orig/file.iso -u 0

mount -t cd9660 /dev/md0 /iso

..and copying its contents to disk with cp -R


Now, all of the sudden, the /rescue dir grows from 3.5M to 455M so 
after i copy my scripts to the extracted iso filesystem on my hard 
disk and try to make an iso I cannot burn the ISO because its way too 
big. Can anyone help me with this?


Im trying to get some kind of autoinstall going ( above just 
install.cfg with sysinstall ).




Thanks
--CH



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



You might want to try 'live-cd' its the same program which is used to 
create the FreeBSD livecd's ( FreeSBIE ) you should check in 
sysutils/livecd and then just follow the 'wizzard' http://liveucd.sf.net 
for more info


Good luck

--
-Frank Staals


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


BSD and: great timeline of UNIX developments and BSD ancestry

2005-06-17 Thread Hanno Krusken
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

By reading some out of the OpenSolaris forum, it look's like ther can be
a changs to bring FreeBSD tight together with OpenSolaris in futuer
The comment I like is:

"For a great timeline of UNIX developments and ancestry", check out:


The original SunOS was based on BSD Unix (4.1). Solaris 2.0 (a.k.a.
SunOS 5.x) was the merge between SunOS and the SVR4 sources from AT&T.
The merge heavily favored the SVR4 source, so today it's fundamentally a
SVR4 system, though it's obviously diverged in a number of areas. You
can still find pieces of BSD influence around as well (we even run SunOS
4.x binaries unmodified on Solaris 10). For a great timeline of UNIX
developments and ancestry, check out:

http://www.levenez.com/unix/

And yes, by the transitive property:

OpenSolaris -> Solaris Nevada -> Solaris 10 ... -> Solaris 2.0 -> SVR4

On Wed, Jun 15, 2005 at 10:39:48AM -0600, James Falknor wrote:
> To whomever,
> From what I understand, Solaris was based upon Unix SysV Rev.4 from
> A.T.&T.
>
> Is Solaris 10 based on Unix SysV Rev.4?
>
> Since OpenSolaris Source Code is based on Solaris 10, then is
> OpenSolaris Source Code based on Unix SysV Rev.4?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCsxC8BG3FBOpOS2oRAhBHAKC22/4eLaLBu5mcslpGoltYlef0JwCeIW8t
/MYvUoQEGgRYzSJXv58KTrY=
=rDCa
-END PGP SIGNATURE-




___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Making a custom FreeBSD iso

2005-06-17 Thread Chris Huff


Hi:

Im trying to get a couple of scripts of mine onto a bootable FreeBSD 5.4 
install cd. Im going about this as follows.


Im ripping the iso image from the cd with dd

dd if=/dev/acd0 of=file.iso bs=2048

Then, Im mounting the iso image

mdconfig -a -t vnode -f /usr/iso-orig/file.iso -u 0

mount -t cd9660 /dev/md0 /iso

..and copying its contents to disk with cp -R


Now, all of the sudden, the /rescue dir grows from 3.5M to 455M so after 
i copy my scripts to the extracted iso filesystem on my hard disk and 
try to make an iso I cannot burn the ISO because its way too big. Can 
anyone help me with this?


Im trying to get some kind of autoinstall going ( above just install.cfg 
with sysinstall ).




Thanks
--CH



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


Sun is Open Sourcing Solaris OS / FreeBSD future ?

2005-06-17 Thread Hanno Krusken
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

By going email reading, I just tripped over the add of Sun-Solaris mail:

Dose it means that we may can expect that the Linux and all the BSD
community together with SUN, will grow far more together to build an
even saver and bigger competition against Billi's Window-winding game-junk ?
Can we may expect some sort of new global joint venture opportunity for
the best OS in the world ? may a beta release in 2010 as let's call it
"FreeSUN_BSD_Open-XXX_PRERELENG-0.98-p1" in witch case all the "xview"
depended ports may work again ?

Hanno / in the future

Sun is Open Sourcing Solaris OS
Today, June 14, 2005, is Opening Day for OpenSolaris.
http://www.opensolaris.org/

Initially, the OpenSolaris project will provide the core kernel,
libraries and commands that are currently distributed with the Solaris
OS. Over time, it is expected that additional parts of the Solaris OS
will be made available through the project.

The main difference between the OpenSolaris project and the Solaris
Operating System is that the OpenSolaris project does not provide an
end-user product or complete distribution. Instead it is an open source
code base, build tools necessary for developing with the code, and an
infrastructure for communicating and sharing related information.
Support for the code will be provided by the community; Sun offers no
formal support for the OpenSolaris product in either source or binary form.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCswazBG3FBOpOS2oRAgipAJ0WmNZJGlKCobsAvyLEVV/r2UEQrgCgqJg4
iUgSBKGC/6zK97WrotW0xko=
=uqm1
-END PGP SIGNATURE-




___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


"The Complete FreeBSD": errata and addenda

2005-06-17 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

"The Complete FreeBSD" has been through a total of five editions, including its
predecessor "Installing and Running FreeBSD".  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


How to get best results from FreeBSD-questions

2005-06-17 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2004/09/19 02:40:48 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for "[EMAIL PROTECTED]").  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed t

Re: Vexing IPF problem

2005-06-17 Thread John Conner
David,

If you just REM'd the ipopts rule the firewall will
stop at the next line:

block in log quick proto tcp from any to any with
short

Try commenting out both these lines as the "quick" in
the second rule would also cause the firewall to
reject incoming traffic. Using "quick" tells the
firewall to stop traversing the rule set. In this case
it will have read the above rule and ignored the other
"in" rules.

Hope this helps,

John

--- DH <[EMAIL PROTECTED]> wrote:

> Hello John, 
>  
> The "opts" rule is actually rule # 4  - Rule #1 is: 
> block in log from any to any
>  
> and the log indicates the return packet is getting
> blocked at rule 1:  [EMAIL PROTECTED]:1.
>  
> Just for the heck of it I did try your suggestion &
> REM'd out the "ipopts" rule but this had no effect.
>  
>  
>  
> Thanks for the rsvp
> 
> David Hutchens III
> Network Technician
> 
> John Conner <[EMAIL PROTECTED]> wrote:
> Hello David,
> 
> Im not expert on IPF but on first inspeciton it
> would
> look like the problem is in your first fxp0 rule:
> 
> block in log quick on fxp0 from any to any with
> ipopts
> 
> To the best of my knowledge when quick is added the
> firewall does not look at any of the other rules. If
> this is the case having quick in the above rule
> would
> cause the firewall to block every incoming packet.
> Hope this helps
> 
> John
> 
> --- DH wrote:
> 
> > I'm having a problem with IPF blocking packets
> that
> > appear should be let through.
> > 
> > I've sent quite a bit of time going through the
> > Handbook, man pages, etc & I must be missing
> > something so any help is greatly appriciated.
> > 
> > uname -a freebsd 4.11-release #0
> > 
> > SMP kernel, dual PIII processor, 512 MB ECC RAM,
> > SCSI HDs
> > 
> > execerpt from rule set:
> > 
> > Kernel compiled with "default allow" until I
> finish
> > getting the ruleset rewritten.
> > 
> > Rule #1 block in log from any to any
> > 
> > pass in quick on lo0
> > pass out quick on lo0
> > 
> > block in log quick on fxp0 from any to any with
> > ipopts
> > block in log quick proto tcp from any to any with
> > short
> > ...
> > pass in log first proto tcp from any to any port =
> > 80 flags S keep state
> > pass in log first proto tcp from any port = 80 to
> > any flags S keep state
> > pass out log first proto tcp from any to any port
> =
> > 80 flags S keep state
> > 
> > 
> > netstat -m = 129/576/16384
> > 9% of mb_map in use
> > 
> > Proxy Server - Squid 2.5.stable10
> > 
> > 
> > The behavior I'm seeing is out going connections
> to
> > websites on port 80 are being passed
> > but the in bound traffic is being blocked. The
> > ipflog entries look like this:
> > 
> > 
> > my ip = s theirs = d
> > 
> > @0:390 p s.s.s.s,3601 -> d.d.d.d,80 PR tcp len 20
> 60
> > -S K-S OUT
> > 
> > @0:1 b d.d.d.d,80 -> s.s.s.s,3601 PR tcp len 20 43
> > -AR IN
> > 
> > 
> > 
> > Thanks in advance to those giving their time to
> lend
> > a hand, I know you time is valuable.
> > 
> > Please CC my address in your reply.
> > 
> > David Hutchens III
> > Network Technician
> > 
> > 
> > 
> > 
> > 
> > -
> > Yahoo! Sports
> > Rekindle the Rivalries. Sign up for Fantasy
> > Football
> > ___
> > freebsd-questions@freebsd.org mailing list
> >
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> > 
> 
> 
> 
> 
> 
> 
>
___
> 
> Yahoo! Messenger - NEW crystal clear PC to PC
> calling worldwide with voicemail
> http://uk.messenger.yahoo.com
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 




___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Vexing IPF problem

2005-06-17 Thread DH
Nuke & pave unfortunately is not a desireable option - there are a hair over 1k 
rules in the total rule set ( 99 % are address blocks of "evil doers" ).   I'm 
observing the blocking behavior relative to addresses that are not specifically 
blocked.
 
Looking at the log entries it looks as though the inbound ACK packet gets 
dropped after the ogoing connection request is made.

 
Thank You for your rsvp.
 
David Hutchens III
Network Technician

fbsd_user <[EMAIL PROTECTED]> wrote:
1. Best thing is scrap your firewall rules and use the IPF rules
listed in the firewall/ipfilter section of the official handbook.
2. There are a lot of spoof packets using port 80 on the public
internet and that may be what you are seeing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of DH
Sent: Friday, June 17, 2005 11:13 AM
To: freebsd-questions@freebsd.org
Subject: Vexing IPF problem


I'm having a problem with IPF blocking packets that appear should be
let through.

I've sent quite a bit of time going through the Handbook, man pages,
etc & I must be missing something so any help is greatly
appriciated.

uname -a freebsd 4.11-release #0

SMP kernel, dual PIII processor, 512 MB ECC RAM, SCSI HDs

execerpt from rule set:

Kernel compiled with "default allow" until I finish getting the
ruleset rewritten.

Rule #1 block in log from any to any

pass in quick on lo0
pass out quick on lo0

block in log quick on fxp0 from any to any with ipopts
block in log quick proto tcp from any to any with short
...
pass in log first proto tcp from any to any port = 80 flags S keep
state
pass in log first proto tcp from any port = 80 to any flags S keep
state
pass out log first proto tcp from any to any port = 80 flags S keep
state


netstat -m = 129/576/16384
9% of mb_map in use

Proxy Server - Squid 2.5.stable10


The behavior I'm seeing is out going connections to websites on port
80 are being passed
but the in bound traffic is being blocked. The ipflog entries look
like this:


my ip = s theirs = d

@0:390 p s.s.s.s,3601 -> d.d.d.d,80 PR tcp len 20 60 -S K-S OUT

@0:1 b d.d.d.d,80 -> s.s.s.s,3601 PR tcp len 20 43 -AR IN



Thanks in advance to those giving their time to lend a hand, I know
you time is valuable.

Please CC my address in your reply.

David Hutchens III
Network Technician





-
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"



David Hutchens III
Network Technician
DRS Surveillance Support Systems - A division of DRS Technologies.

-
Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A question about dwnloading Ports

2005-06-17 Thread Kris Kennaway
On Fri, Jun 17, 2005 at 03:42:13PM +0200, Arek Czereszewski wrote:
> U??ytkownik ?? napisa??:
> 
> >I am a new user to Freebsd. I do not have a high speed connection, so
> >I could not install softwares from ports directly. It takes me a lot
> >of time. I wonder how to download the whole ports, so that I could
> >download it in Net Cafe, and save it to my moible harddisk and then, I
> >could install softwares after I get home. It is of no use to download
> >the ports trees only. I need to download all the source codes the
> >first time, and I could use cvs system to update it.
> >
> 
> If you want for example install mc
> # cd /usr/ports/misc/mc
> # make fetch-recursive
> ===> Fetching all distfiles for mc-4.6.0_15 and dependencies
> 
> 
> And you have mc with  dependencies.
> All downloaded files you have in:
> /usr/ports/distfiles/

Since bandwidth is a concern you probably want to download the
packages instead of source files, which will often be larger.

You really don't want to download the full set of sources for the
ports collection, which is larger than 20 GB.

Kris


pgpwCAjTqr7V4.pgp
Description: PGP signature


RE: (starbucks) "ssid = tmobile" and 5.x (hit-n-miss)

2005-06-17 Thread Jonathan M. Slivko
Hello Bill,

H. that's odd. I guess the WiFi card works perfectly elsewhere?
-- Jonathan

--
  Jonathan M. Slivko - [EMAIL PROTECTED]
"Linux: The Choice for the GNU Generation"
  - http://www.linux.org/ -

Don't fear the penguin.
  .^.
  /V\
/(   )\
 ^^-^^
   He's here to help. 

-Original Message-
From: Bill Schoolcraft [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 17, 2005 12:43 AM
To: [EMAIL PROTECTED]
Cc: 'Bill Schoolcraft'; 'bsd'
Subject: RE: (starbucks) "ssid = tmobile" and 5.x (hit-n-miss)

At Thu, 16 Jun 2005 it looks like Jonathan M. Slivko composed:

> Hello,
>
> Have you tried watching the wifi session in debug mode and see if it's
> erroring somewhere? (i.e. their WiFi network doesn't like your laptop
since
> it's running *BSD, I know that my starbucks connection doesn't like my
> laptop sometimes). It could also be that the WiFi network is scanning for
> the WiFi client on the machine, and when it doesn't find it - it won't
allow
> it to log on.
>
> -- Jonathan

Thanks Jonathan,

No, I have not tried wifi in debug mode, will have to find how
to do so and try it.  I do tail /var/log/messages and in some
cases actually see the connection get created to the AP, it's
then that I launch my browser and all is well.  If I launch my
browser prior to seeing the ack from the AP I seem to mess the
parade up.

I have found that if I wait till I'm in "X" and have a root
xterm going "then" insert my card I can watch the full ballet
between the nic and the AP and have my browser ready to launch.

Then all is well.


-- 
Bill Schoolcraft
PO Box 210076
San Francisco, CA 94121
"UNIX, A Way of Life."
http://billschoolcraft.com

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


Re: A question about dwnloading Ports

2005-06-17 Thread Randy Pratt
On Fri, 17 Jun 2005 15:42:13 +0200
Arek Czereszewski <[EMAIL PROTECTED]> wrote:

> Użytkownik å­?è?? napisaÅ?:
> 
> > I am a new user to Freebsd. I do not have a high speed connection, so
> > I could not install softwares from ports directly. It takes me a lot
> > of time. I wonder how to download the whole ports, so that I could
> > download it in Net Cafe, and save it to my moible harddisk and then, I
> > could install softwares after I get home. It is of no use to download
> > the ports trees only. I need to download all the source codes the
> > first time, and I could use cvs system to update it.
> > 
> 
> If you want for example install mc
> # cd /usr/ports/misc/mc
> # make fetch-recursive
> ===> Fetching all distfiles for mc-4.6.0_15 and dependencies
> 
> 
> And you have mc with  dependencies.
> All downloaded files you have in:
> /usr/ports/distfiles/
> 

If the original poster is just looking for a list of sites that
have the distribution files he's interested in, then

# cd /usr/ports//
# make fetch-recursive-list

would give a list of all sites that have the distribution files.

Its not a very user readable list and a small script might be
helpful:

find_dist_files.sh:
=begin-script=
#!/bin/sh
#Make a list of distfiles needed for a port

tempfile="/tmp/distfiles_list.txt"

make fetch-recursive-list > ${tempfile}

while read line; do
  for i in ${line}; do
echo ${i} | grep "^http"
echo ${i} | grep "^ftp"
  done
  echo
done < ${tempfile}

rm ${tempfile}
=end-of-script===

Make the script excutable and in your path, cd to the port
directory you're interested in and run the script.  It'll
give a list of all distribution files needed for a port which
could be redirected to a file to take to some other location
for retrieval, for ex:

cd /usr/ports/www/zope-simpleblog
find_dist_files.sh > mylist.txt

I'm sure there's a multitude of ways to do this but it should give
you some ideas.

HTH,

Randy


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


Re: Out of memory on FreeBsd 5.4

2005-06-17 Thread scuba
Hi,

Thank you, but in this case the problem was with an wrong limit
set on mimedefang.

On Fri, 17 Jun 2005, Per olof Ljungmark wrote:

|[EMAIL PROTECTED] wrote:
|.
|.
|> Jun 16 16:18:19 host1 mimedefang-multiplexor[7689]: Slave 1 stderr: Out of
|> memory during "large" request for 69632 bytes, total sbrk() is 27547648
|> bytes at
|> /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm
|> line 2262.
|
|Got this reply from Dan Nelson when I asked (almost) the same question:
|
|According to that output, perl was already using 464MB, and a malloc
|request for 64MB failed, which is reasonable since the default hard
|datasize limit on FreeBSD is 512MB.  To raise it, put this in
|/boot/loader.conf and reboot:
|
|kern.maxdsiz="1024M"
|
|HTH
|___
|freebsd-questions@freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "[EMAIL PROTECTED]"
|


- Marcelo


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


Re: Vexing IPF problem

2005-06-17 Thread John Conner
Hello David,

Im not expert on IPF but on first inspeciton it would
look like the problem is in your first fxp0 rule:

block in log quick on fxp0 from any to any with ipopts

To the best of my knowledge when quick is added the
firewall does not look at any of the other rules. If
this is the case having quick in the above rule would
cause the firewall to block every incoming packet.
Hope this helps

John

--- DH <[EMAIL PROTECTED]> wrote:

> I'm having a problem with IPF blocking packets that
> appear should be let through.
>  
> I've sent quite a bit of time going through the
> Handbook, man pages, etc & I must be missing
> something so any help is greatly appriciated.
>  
> uname -a freebsd 4.11-release #0
>  
> SMP kernel, dual PIII processor, 512 MB ECC RAM,
> SCSI HDs
>  
> execerpt from rule set:
>  
> Kernel compiled with "default allow" until I finish
> getting the ruleset rewritten.
>  
> Rule #1 block in log from any to any
>  
> pass in quick on lo0
> pass out quick on lo0
>  
> block in log quick on fxp0 from any to any with
> ipopts
> block in log quick proto tcp from any to any with
> short
> ...
> pass in log first proto tcp from any to any port =
> 80 flags S keep state
> pass in log first proto tcp from any port = 80 to
> any flags S keep state
> pass out log first proto tcp from any to any port =
> 80 flags S keep state
>  
>  
> netstat -m = 129/576/16384
> 9% of mb_map in use
>  
> Proxy Server - Squid 2.5.stable10
>  
>  
> The behavior I'm seeing is out going connections to
> websites on port 80 are being passed
> but the in bound traffic is being blocked.  The
> ipflog entries look like this:
>  
>  
> my ip = s   theirs = d
>  
> @0:390 p s.s.s.s,3601 -> d.d.d.d,80 PR tcp len 20 60
> -S K-S OUT
>  
> @0:1 b d.d.d.d,80 -> s.s.s.s,3601 PR tcp len 20 43
> -AR IN
>  
>  
>   
> Thanks in advance to those giving their time to lend
> a hand, I know you time is valuable.
>  
> Please CC my address in your reply.
>  
> David Hutchens III
> Network Technician
>  
>  
>  
> 
>   
> -
> Yahoo! Sports
>  Rekindle the Rivalries. Sign up for Fantasy
> Football
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Vexing IPF problem

2005-06-17 Thread fbsd_user
1. Best thing is scrap your firewall rules and use the IPF rules
listed in the firewall/ipfilter section of the official handbook.
2. There are a lot of spoof packets using port 80 on the public
internet and that may be what you are seeing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of DH
Sent: Friday, June 17, 2005 11:13 AM
To: freebsd-questions@freebsd.org
Subject: Vexing IPF problem


I'm having a problem with IPF blocking packets that appear should be
let through.

I've sent quite a bit of time going through the Handbook, man pages,
etc & I must be missing something so any help is greatly
appriciated.

uname -a freebsd 4.11-release #0

SMP kernel, dual PIII processor, 512 MB ECC RAM, SCSI HDs

execerpt from rule set:

Kernel compiled with "default allow" until I finish getting the
ruleset rewritten.

Rule #1 block in log from any to any

pass in quick on lo0
pass out quick on lo0

block in log quick on fxp0 from any to any with ipopts
block in log quick proto tcp from any to any with short
...
pass in log first proto tcp from any to any port = 80 flags S keep
state
pass in log first proto tcp from any port = 80 to any flags S keep
state
pass out log first proto tcp from any to any port = 80 flags S keep
state


netstat -m = 129/576/16384
9% of mb_map in use

Proxy Server - Squid 2.5.stable10


The behavior I'm seeing is out going connections to websites on port
80 are being passed
but the in bound traffic is being blocked.  The ipflog entries look
like this:


my ip = s   theirs = d

@0:390 p s.s.s.s,3601 -> d.d.d.d,80 PR tcp len 20 60 -S K-S OUT

@0:1 b d.d.d.d,80 -> s.s.s.s,3601 PR tcp len 20 43 -AR IN



Thanks in advance to those giving their time to lend a hand, I know
you time is valuable.

Please CC my address in your reply.

David Hutchens III
Network Technician





-
Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Re: sysinstall: label editor:unable to write data

2005-06-17 Thread Björn König

Jerry McAllister wrote:

Björn König wrote:

Partitions (slices) will be written to the first sector of the hard disk 


I meant the information about partitions of course.


Probably you meant slices.


I meant partitions, in FreeBSD term slices; that the reason why I put it 
in brackets behind. I'm sorry if I confused someone.


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


Vexing IPF problem

2005-06-17 Thread DH
I'm having a problem with IPF blocking packets that appear should be let 
through.
 
I've sent quite a bit of time going through the Handbook, man pages, etc & I 
must be missing something so any help is greatly appriciated.
 
uname -a freebsd 4.11-release #0
 
SMP kernel, dual PIII processor, 512 MB ECC RAM, SCSI HDs
 
execerpt from rule set:
 
Kernel compiled with "default allow" until I finish getting the ruleset 
rewritten.
 
Rule #1 block in log from any to any
 
pass in quick on lo0
pass out quick on lo0
 
block in log quick on fxp0 from any to any with ipopts
block in log quick proto tcp from any to any with short
...
pass in log first proto tcp from any to any port = 80 flags S keep state
pass in log first proto tcp from any port = 80 to any flags S keep state
pass out log first proto tcp from any to any port = 80 flags S keep state
 
 
netstat -m = 129/576/16384
9% of mb_map in use
 
Proxy Server - Squid 2.5.stable10
 
 
The behavior I'm seeing is out going connections to websites on port 80 are 
being passed
but the in bound traffic is being blocked.  The ipflog entries look like this:
 
 
my ip = s   theirs = d
 
@0:390 p s.s.s.s,3601 -> d.d.d.d,80 PR tcp len 20 60 -S K-S OUT
 
@0:1 b d.d.d.d,80 -> s.s.s.s,3601 PR tcp len 20 43 -AR IN
 
 
  
Thanks in advance to those giving their time to lend a hand, I know you time is 
valuable.
 
Please CC my address in your reply.
 
David Hutchens III
Network Technician
 
 
 


-
Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Subversion upgrade problems (1.1.3 to 1.2.0)

2005-06-17 Thread Ron Gilbert
I have been running subversion 1.1.3 for about a month with no 
problems.  I just upgraded to 1.2.0 and now I can't connect the the 
server anymore.  I am using svnserve on FreeBSD 5.4.


When I try and connect, I get:

svn: Can't connect to host 'xx.net': Connection refused

I have tried connecting from my XP machine and from the local machine 
and I get the same error.  I can connect from the local machine using 
file://.  I have tried creating a new repository and a new project to 
make sure it is not a compatibility issue with my 1.1.3 repositories, 
but I get the same error.  I've tried anon-access as well as 
auth-access with the same results.


I have verified that the server is running (via ps).  I can't see any 
place that svnserve is writing error logs.  I am starting svnserve via:


svnserve -d -r /home/svn/repository

I've tried running svnserve using --foreground and nothing is printed 
to the screen.


I sounds like the connection is never even getting to svnserve.  Did 
something change from 1.1.3?  Port?  Nothing has changed on the 
machine.  It was working.  I upgraded (using ports) and now it doesn't 
work.


Any suggestions?

Ron






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


Re: FreeBSD/UNIX backups to DVD+RW

2005-06-17 Thread Ean Kingston
On June 17, 2005 10:34 am, James Riendeau wrote:
> What I was doing did work fine for me; I just couldn't add multiple dumps
> to the same disk.  It turns out this was the wrong way to do it.  I'm not
> sure how a 32K block size would help.  The -B4589840 I used tells dump that
> the 'tape' it will be writing to can hold 4589840 kb (4.37 Gs), the size of
> a standard dvd.
>
> Unfortunately, growisofs provides direct access to the DVD and dump does
> not use a ISO compliant file format, so growisofs cannot find the end of
> the last session (who knew? :).  I was told the way to do this properly is
> to dump a partition to a file in say /tmp/fullbackup/, gzip it, and repeat
> until I have all the partitions.  Then write /tmp/fullbackup to the dvd:
>
> (Note, I added -B10485760 to limit backups to 10 G's.  You have to give
> dump some -B value or it will attempt to write out a catalog of standard
> size tapes.  You should adjust this value to whatever meets your needs.)
>
> # dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/usr.dumpfull /usr
> # gzip /tmp/fullbackup/usr.dumpfull
> # dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/var.dumpfull /var
> # gzip /tmp/fullbackup/var.dumpfull
> # dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/home.dumpfull /home
> # gzip /tmp/fullbackup/home.dumpfull
> # dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/root.dumpfull /
> # gzip /tmp/fullbackup/root.dumpfull
> # growisofs -speed=4 -Z /dev/cd0 -J -R /tmp/fullbackup
>
> If you're pressed for space, you can do the above, but write each file to
> the dvd before removing the gzipped dump file and creating the next one.
> The first file would be written with the -Z (new session) option, then the
> rest with the -M (append) option instead.  If this still takes too much
> space, I suppose you could try to pipe the dump directly to gzip, but I
> couldn't figure out how.  If anybody knows, please reply.

dump  -0 -uL -C16 -B10485760 -f - $fs | gzip > $fs.dumpfull.gz

Of course, after you gzip the dump image, it should be smaller than it was so 
you can actually fiddle with the -B option to get the gzipped file as close 
to a full DVD as possible.

>
> To do a restore, I found the following works:
>
> - Recreate the partition (in my case this would involve playing with
> gmirror first in the event of catastrophic disk/system failure)
> - cd into the mounted partition (ex, cd /usr)
> - mount the backup dvd and restore:
>
> # cd /usr
> # mount -t cd9660 /dev/ /cdrom
> # restore -rfv -P 'gunzip -c /cdrom/usrfullbackupfilename.gz'
>
> But don't take my word for it, you should always do a test restore (into
> /tmp if necessary if you haven't any blank hard drives handy) before a
> catastrophic event happens to make sure the process works smoothly.
>
> Thanks to all those who replied,
>
> - James Riendeau
>
> I'm posting this to the list for posterity's sake.  In case someone else
> has this problem, they will have full instructions at their disposal,
> provided they can find it.
>
> On 6/17/05 4:56 AM, "Wojciech Puchar" <[EMAIL PROTECTED]> wrote:
> >> I'm trying to setup backups to the DVD-RW drive on our new server before
> >> it goes into production.  I've got the DVD-RW drive working, and I
> >> figured out how to dump to it:
> >>
> >> # dvd+rw-format /dev/cd0
> >> # dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z
> >> /dev/cd0=/dev/fd/0' /usr
> >
> > with both DVD+RW and DVD-RW i was able to write DIRECTLY to /dev/ under
> > NetBSD if only blocks were 32k
> >
> > should be possible with FreeBSD too.
> >
> >> A test restore comes out clean:
> >>
> >> # restore -Nxvb /dev/cd0
> >>
> >> The problem is most of the partitions are tiny (< 1G) and I would like
> >> to fit more then one partition on each DVD.  I figured just passing -M
> >> (append data) instead of -Z (new session) would do it:
> >>
> >> # dump -0 -uL -C16 -a -P 'growisofs -speed=4 -M /dev/cd0=/dev/fd/0'
> >> /home
> >>
> >> But growisofs fails with :-( /dev/cd0 doesn't look like isofs..., and of
> >> course dump fails with "Broken pipe".
> >>
> >> Any clues to how to get this to work?  (Webpage link is sufficient if
> >> there is something out there.  I couldn't find one.)
> >>
> >> I'm fairly new to the FreeBSD/UNIX world, so please be gentle.
> >>
> >> Thanks,
> >>
> >> -james
> >>
> >>
> >>
> >> ___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "[EMAIL PROTECTED]"
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.
_

Re: FreeBSD/UNIX backups to DVD+RW

2005-06-17 Thread James Riendeau
What I was doing did work fine for me; I just couldn't add multiple dumps to
the same disk.  It turns out this was the wrong way to do it.  I'm not sure
how a 32K block size would help.  The -B4589840 I used tells dump that the
'tape' it will be writing to can hold 4589840 kb (4.37 Gs), the size of a
standard dvd.

Unfortunately, growisofs provides direct access to the DVD and dump does not
use a ISO compliant file format, so growisofs cannot find the end of the
last session (who knew? :).  I was told the way to do this properly is to
dump a partition to a file in say /tmp/fullbackup/, gzip it, and repeat
until I have all the partitions.  Then write /tmp/fullbackup to the dvd:

(Note, I added -B10485760 to limit backups to 10 G's.  You have to give dump
some -B value or it will attempt to write out a catalog of standard size
tapes.  You should adjust this value to whatever meets your needs.)

# dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/usr.dumpfull /usr
# gzip /tmp/fullbackup/usr.dumpfull
# dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/var.dumpfull /var
# gzip /tmp/fullbackup/var.dumpfull
# dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/home.dumpfull /home
# gzip /tmp/fullbackup/home.dumpfull
# dump -0 -uL -C16 -B10485760 -f /tmp/fullbackup/root.dumpfull /
# gzip /tmp/fullbackup/root.dumpfull
# growisofs -speed=4 -Z /dev/cd0 -J -R /tmp/fullbackup

If you're pressed for space, you can do the above, but write each file to
the dvd before removing the gzipped dump file and creating the next one.
The first file would be written with the -Z (new session) option, then the
rest with the -M (append) option instead.  If this still takes too much
space, I suppose you could try to pipe the dump directly to gzip, but I
couldn't figure out how.  If anybody knows, please reply.

To do a restore, I found the following works:

- Recreate the partition (in my case this would involve playing with gmirror
first in the event of catastrophic disk/system failure)
- cd into the mounted partition (ex, cd /usr)
- mount the backup dvd and restore:

# cd /usr
# mount -t cd9660 /dev/ /cdrom
# restore -rfv -P 'gunzip -c /cdrom/usrfullbackupfilename.gz'

But don't take my word for it, you should always do a test restore (into
/tmp if necessary if you haven't any blank hard drives handy) before a
catastrophic event happens to make sure the process works smoothly.

Thanks to all those who replied,

- James Riendeau

I'm posting this to the list for posterity's sake.  In case someone else has
this problem, they will have full instructions at their disposal, provided
they can find it.  

On 6/17/05 4:56 AM, "Wojciech Puchar" <[EMAIL PROTECTED]> wrote:

>> I'm trying to setup backups to the DVD-RW drive on our new server before it
>> goes into production.  I've got the DVD-RW drive working, and I figured out
>> how to dump to it:
>> 
>> # dvd+rw-format /dev/cd0
>> # dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/cd0=/dev/fd/0'
>> /usr
>> 
> 
> with both DVD+RW and DVD-RW i was able to write DIRECTLY to /dev/ under
> NetBSD if only blocks were 32k
> 
> should be possible with FreeBSD too.
> 
>> A test restore comes out clean:
>> 
>> # restore -Nxvb /dev/cd0
>> 
>> The problem is most of the partitions are tiny (< 1G) and I would like to
>> fit more then one partition on each DVD.  I figured just passing -M (append
>> data) instead of -Z (new session) would do it:
>> 
>> # dump -0 -uL -C16 -a -P 'growisofs -speed=4 -M /dev/cd0=/dev/fd/0' /home
>> 
>> But growisofs fails with :-( /dev/cd0 doesn't look like isofs..., and of
>> course dump fails with "Broken pipe".
>> 
>> Any clues to how to get this to work?  (Webpage link is sufficient if there
>> is something out there.  I couldn't find one.)
>> 
>> I'm fairly new to the FreeBSD/UNIX world, so please be gentle.
>> 
>> Thanks,
>> 
>> -james
>> 
>> 
>> 
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>> 

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


RE: Invoking rc.conf changes w/o rebooting

2005-06-17 Thread John Brooks
> 
> On Fri, 17 Jun 2005 14:50:23 +0100
> "walker, mick" <[EMAIL PROTECTED]> wrote:
> 
> > You can drop to ren level 1 using the command init 1.
> > 
> 
> No, there is no need for such an action. A simple entry as the one
> listed in pkg-message is enough to set up webmin for starting at boot
> time and run time.
> Cheers
>
 
(assuming a startup script was installed in /usr/local/etc/rc.d and
   is named "webmin.sh" and is executable)

(also assuming you have added the correct entries to /etc/rc.conf
   in this case 'webmin_enable="yes"')

you should be able to start it up with
   /usr/local/etc/rc.d/webmin.sh start

(that is assuming that the assumptions are correct ;-)

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


Re: Invoking rc.conf changes w/o rebooting

2005-06-17 Thread Jonathan Arnold

walker, mick wrote:

Adi Pircalabu  scribbled on 17 June 2005
13:57:



On Fri, 17 Jun 2005 14:50:23 +0100
"walker, mick" <[EMAIL PROTECTED]> wrote:



You can drop to ren level 1 using the command init 1.



No, there is no need for such an action. A simple entry as the one
listed in pkg-message is enough to set up webmin for starting at boot
time and run time.
Cheers


[Sorry forgot to copy the list in]
Thanks I stand corrected.

However this did not work for me for some reason, after installing sasl
authd, however my previously mentioned method did.


Yes, same here for my webmin.  I added it to the rc.conf and then tried
to use it and webmin wouldn't work.  I rebooted and all was well. Good test
for rebooting remotely anway.

Thanks for everyone's help over the last couple of days.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/

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


Re: (starbucks) "ssid = tmobile" and 5.x (hit-n-miss)

2005-06-17 Thread Christopher Black

Andrew L. Gould wrote:

On Thursday 16 June 2005 11:36 pm, Bill Schoolcraft wrote:


At Thu, 16 Jun 2005 it looks like Andrew L. Gould composed:


Try adding "ssid tmobile" to the ifconfig arguments in
/etc/rc.conf.  If adding it to your rc.conf file doesn't work for
you, try removing the wi0 stuff from rc.conf and  execute the
following as root:

ifconfig wi0 ssid tmobile
dhclient wi0

You'll need to make sure that the default gateway and nameservers
are obtained from the DHCP server.

I hope this helps.


Thanks Andrew,

Yes, I've done the manual command but would like to try the
rc.conf options, so I'd be looking at:

ifconfig_wi0="ssid tmobile"
ifconfig_wi0="DHCP"

Does that look correct?

Thanks



I'm not sure whether all ifconfig arguments need to be on the same line.  
If it doesn't work, try:

ifconfig_wi0="ssid tmobile DHCP"

The other option is to put the manual commands in an executable file at:
/usr/local/etc/rc.d/tmobile.sh

That way the manual commands would be executed automatically at bootup.  
Caveat:  The delayed network configuration may interfere with the 
loading of firewall rules; so you may need to add a line to the script 
to load your firewall rules after wi0 is up.


Best of luck,

Andrew Gould


I believe it should be:

ifconfig_wi0="DHCP"
ifconfig_wi0_flags="ssid tmobile"

HTH

--
Christopher Black
Chief Security Engineer
Secure Crossing
22750 Woodward, Ferndale, MI 48220
Tel 800-761-4299

www.securecrossing.com
[EMAIL PROTECTED]


signature.asc
Description: OpenPGP digital signature


RE: Invoking rc.conf changes w/o rebooting

2005-06-17 Thread walker, mick

Adi Pircalabu  scribbled on 17 June 2005
13:57:

> On Fri, 17 Jun 2005 14:50:23 +0100
> "walker, mick" <[EMAIL PROTECTED]> wrote:
> 
>> You can drop to ren level 1 using the command init 1.
>> 
> 
> No, there is no need for such an action. A simple entry as the one
> listed in pkg-message is enough to set up webmin for starting at boot
> time and run time.
> Cheers
[Sorry forgot to copy the list in]
Thanks I stand corrected.

However this did not work for me for some reason, after installing sasl
authd, however my previously mentioned method did.

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


Re: (starbucks) "ssid = tmobile" and 5.x (hit-n-miss)

2005-06-17 Thread Andrew L. Gould
On Thursday 16 June 2005 11:36 pm, Bill Schoolcraft wrote:
> At Thu, 16 Jun 2005 it looks like Andrew L. Gould composed:
> > Try adding "ssid tmobile" to the ifconfig arguments in
> > /etc/rc.conf.  If adding it to your rc.conf file doesn't work for
> > you, try removing the wi0 stuff from rc.conf and  execute the
> > following as root:
> >
> > ifconfig wi0 ssid tmobile
> > dhclient wi0
> >
> > You'll need to make sure that the default gateway and nameservers
> > are obtained from the DHCP server.
> >
> > I hope this helps.
>
> Thanks Andrew,
>
> Yes, I've done the manual command but would like to try the
> rc.conf options, so I'd be looking at:
>
> ifconfig_wi0="ssid tmobile"
> ifconfig_wi0="DHCP"
>
> Does that look correct?
>
> Thanks

I'm not sure whether all ifconfig arguments need to be on the same line.  
If it doesn't work, try:
ifconfig_wi0="ssid tmobile DHCP"

The other option is to put the manual commands in an executable file at:
/usr/local/etc/rc.d/tmobile.sh

That way the manual commands would be executed automatically at bootup.  
Caveat:  The delayed network configuration may interfere with the 
loading of firewall rules; so you may need to add a line to the script 
to load your firewall rules after wi0 is up.

Best of luck,

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


Re: Invoking rc.conf changes w/o rebooting

2005-06-17 Thread Adi Pircalabu
On Fri, 17 Jun 2005 14:50:23 +0100
"walker, mick" <[EMAIL PROTECTED]> wrote:

> You can drop to ren level 1 using the command init 1.
> 

No, there is no need for such an action. A simple entry as the one
listed in pkg-message is enough to set up webmin for starting at boot
time and run time.
Cheers

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: applying the vesa patch to stable for high console resolution

2005-06-17 Thread Didier Wiroth
Hi, 
Sorry but I don't know.
You should ask the freebsd-current list.
Regards
Didier

-Original Message-
From: Remington L [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 16, 2005 21:06
To: Didier Wiroth; freebsd-stable@freebsd.org;
freebsd-questions@freebsd.org
Subject: [SPAM-PAL] Re: applying the vesa patch to stable for high
console resolution

Yet another thing to ask. I have a wide screen laptop where the VBIOS
does not report correct resolutions, has the system taken steps to
correct this?
 ~Its an Intel i915GM, 15.4", native windows of 1200x800


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


Re: applying the vesa patch to stable for high console resolution

2005-06-17 Thread Didier Wiroth
Hi,
I actually don't know.
As far as I've read (current-list) the patch comes from dragonflybsd
which is a continuation of the 4.x kernel, perhaps it already might
work.
You might try the syscon* patches on a freebsd4.x test box and see if it
works.
Didier

-Original Message-
From: Igor Pokrovsky [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 16, 2005 19:28
To: Didier Wiroth
Cc: freebsd-stable@freebsd.org; freebsd-questions@freebsd.org
Subject: [SPAM-PAL] Re: applying the vesa patch to stable for high
console resolution

On Mon, Jun 13, 2005 at 10:46:26PM +0200, Didier Wiroth wrote:
> Hi,
> 
> USE AT YOUR OWN RISK!
> 
> this for the freebsd5 branch only

How about RELENG_4? Is it possible to port it there?

-ip

--
Never put all your eggs in your pocket.


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


RE: Invoking rc.conf changes w/o rebooting

2005-06-17 Thread walker, mick
Jonathan Arnold  scribbled on 17 June 2005
13:48:

> I just upgraded webmin and it says it now needs :
> 
> webmin_enable="yes"
> 
> in the rc.conf. Do I need to reboot in order to have this
> take effect, or is there some way I can get the same effect
> without rebooting?

You can drop to ren level 1 using the command init 1.

Then set your shell and type 'exit'.
The system will then boot back into multiuser mode and reread all rc
scripts.

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


Re: sysinstall: label editor:unable to write data

2005-06-17 Thread Jerry McAllister
> 
> I am trying to modify the da0s1 slices on a harddisk under 5.4 using 
> /usr/sbin/sysinstall.
> I delete an existing slice and create two new ones in the old freed 
> space. When writing the changes I get:
> 
> ERROR: Unable to write data to disk da0!

Yes, you are not allowed to do that to mounted disk space.

You will need to boot from a different disk to work on da0s1.

jerry

> 
> There are no naming conflicts
> Single user and multiuser no difference
> There are only two existing slices mounted, / and /tmp no separate 
> slices for /var /usr and so on.
> What am I missing here?
> Thanks,
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Invoking rc.conf changes w/o rebooting

2005-06-17 Thread Jonathan Arnold

I just upgraded webmin and it says it now needs :

webmin_enable="yes"

in the rc.conf. Do I need to reboot in order to have this
take effect, or is there some way I can get the same effect
without rebooting?

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/

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


Re: sysinstall: label editor:unable to write data

2005-06-17 Thread Jerry McAllister
> 
> Björn König wrote:
> 
> > Partitions (slices) will be written to the first sector of the hard disk 
> 
> I meant the information about partitions of course.

Probably you meant slices.
Slices are the primary divisions of the disk in FreeBSD - identified
as 1-4.   Partitions are divisions with each slice - identified as a-h.

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

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


Re: A question about dwnloading Ports

2005-06-17 Thread Arek Czereszewski

Użytkownik 子耗 napisał:


I am a new user to Freebsd. I do not have a high speed connection, so
I could not install softwares from ports directly. It takes me a lot
of time. I wonder how to download the whole ports, so that I could
download it in Net Cafe, and save it to my moible harddisk and then, I
could install softwares after I get home. It is of no use to download
the ports trees only. I need to download all the source codes the
first time, and I could use cvs system to update it.



If you want for example install mc
# cd /usr/ports/misc/mc
# make fetch-recursive
===> Fetching all distfiles for mc-4.6.0_15 and dependencies


And you have mc with  dependencies.
All downloaded files you have in:
/usr/ports/distfiles/


Best regards
Arek
--
Arek Czereszewski   | jid: aro(at)chrome.pl
arek(at)wup-katowice.pl |  gg: 1349941
"UNIX is like a wigwam:
no windows, no gates, apache inside."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipf: filter by program?

2005-06-17 Thread John Conner
Hello all,

I was just wondering if it was possible to add program
filtering into an IPF firewall? For example if traffic
is allowed out on port 80 then it may only travel
through this port if, for example, it is coming from
firefox etc. It seems like a pretty useful feature but
as of yet I have been unable to find any documentation
that covers such a filtering rule. Any
feedback/suggestions would be much appreciated,

Thanks,

John



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Connecting My ADSL MODEM To My FreeBSD Pc.

2005-06-17 Thread Stephan Weaver

Hello Friendly FreeBSD people.

Let me get straight to the point.

I am implimenting a FreeBSD Based Firewall.

I have an ADSL Speedtouch 5200 Modem/Router, Currently Plugged into my 
Switch.


I want to connect the ADSL modem to my FreeBSD Firewall;
So that the FreeBSD Firewall will be creating a PPP connection directly to 
my ISP.

E.g., my vr0 interface will have a PUBLIC Internet Address (IF Possible?).


My Isp Uses PPPoA, i used the instructions from the handbook;
Using 'mpd'.
I set the ADSL router in 'bridge' mode and connect the Ethernet cable
from the Dsl Router/Modem to my FreeBSD Firewall. ON the Interface vr0.


But i have little success getting the results i want. [The Firewall doesn't 
connect to my ISP]



Anyone willing to give me a clue?

---
Config stuff.
rc.conf
--
#FireWall Stuff
#---

inetd_enable="NO"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
check_quotas="NO"

gateway_enable="YES"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"

ipfilter_enable="YES"
ipfilter_flags=""
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Dsn"

#vr0 Connects to DSL MODEM
ifconfig_vr0="inet 192.168.0.1  netmask 255.255.255.0"
#-
mpd.conf
default:
   load adsl

adsl:
   new -i ng0 adsl adsl
   set bundle authname USER**
   set bundle password PASS***[changed]
   set bundle disable multilink

   set link no pap acfcomp protocomp
   set link disable chap
   set link accept chap
   set link keep-alive 30 10

   set ipcp no vjcomp
   set ipcp ranges 0.0.0.0/0 0.0.0.0/0

   set iface route default
   set iface disable on-demand
   set iface enable proxy-arp
   set iface idle 0

   open

-

mpd.links
--
adsl:
   set link type pptp
   set pptp mode active
   set pptp enable originate outcall
   set pptp self 192.168.0.1
   set pptp peer 192.168.0.254



192.168.0.1 = vr0 interface [ firewall ]
192.168.0.254 = dsl modem/router.

Empty /etc/ipnat.rules; empty /etc/ipf.rules

Regards,
Stephan Weaver.

[EMAIL PROTECTED]

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: A question about dwnloading Ports

2005-06-17 Thread Dmitry Mityugov
On 6/17/05, 子耗 <[EMAIL PROTECTED]> wrote:
> I am a new user to Freebsd. I do not have a high speed connection, so
> I could not install softwares from ports directly. It takes me a lot
> of time. I wonder how to download the whole ports, so that I could
> download it in Net Cafe, and save it to my moible harddisk and then, I
> could install softwares after I get home. It is of no use to download
> the ports trees only. I need to download all the source codes the
> first time, and I could use cvs system to update it.
> 
> Thanks for your reply.
> 
> P.S.: I am not a native English user, and my Englishi is not good
> either. You could ask me for further information if I did not describe
> the question accurately.

There are distributions that include prebuilt ports, like this:
http://www.bsdmall.com/fr54po.html. If you live in Russia, there is a
nice distribution from linuxcenter.ru on 2 DVDs.

-- 
Dmitry

"We live less by imagination than despite it" - Rockwell Kent, "N by E"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A question about dwnloading Ports

2005-06-17 Thread Greg Barniskis

子耗 wrote:

I am a new user to Freebsd. I do not have a high speed connection, so
I could not install softwares from ports directly. It takes me a lot
of time. I wonder how to download the whole ports, so that I could
download it in Net Cafe, and save it to my moible harddisk and then, I
could install softwares after I get home. It is of no use to download
the ports trees only. I need to download all the source codes the
first time, and I could use cvs system to update it.



I don't think you will be able to update ports source code with CVS, 
only the core FreeBSD sources. Someone may have a recipe for mass 
downloading the ports distfiles, but I've never thought about doing 
that so I can't comment.


You might consider buying the CD or DVD release sets from 
freebsdmall.com. They come with many additional ports packages.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


tripwire

2005-06-17 Thread Stephen P. Cravey
I'm having trouble gettign tripwire to update the database. When I run:
tripwire --update -v
I get the following:

Tripwire(R) 2.3.1.2 for BSD

Tripwire 2.3 Portions copyright 2000 Tripwire, Inc. Tripwire is a
registered trademark of Tripwire, Inc. This software comes with
ABSOLUTELY NO WARRANTY; for details use --version. This is free software
which may be redistributed or modified only under certain conditions;
see COPYING for details. All rights reserved.
Opening configuration file: /usr/local/etc/tripwire/tw.cfg
This file is encrypted.

Opening key file: /usr/local/etc/tripwire/site.key
Opening key file: /usr/local/etc/tripwire/foo.bar.org-local.key
Opening database file: /var/db/tripwire/foo.bar.org.twd
This file is encrypted.
Opening report file:
/var/db/tripwire/report/foo.bar.org-20050617-073542.twr
### Error: File could not be opened.
### Filename:
#/var/db/tripwire/report/foo.bar.org-20050617-073542.twr ## No such
#file or directory ## Exiting...



I have verified that the file:
/var/db/tripwire/report/foo.bar.org-20050617-073542.twr
can be written by root (duh), but i cannot figure out why I'm getting
the error. Ideas?

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


A question about dwnloading Ports

2005-06-17 Thread 子耗
I am a new user to Freebsd. I do not have a high speed connection, so
I could not install softwares from ports directly. It takes me a lot
of time. I wonder how to download the whole ports, so that I could
download it in Net Cafe, and save it to my moible harddisk and then, I
could install softwares after I get home. It is of no use to download
the ports trees only. I need to download all the source codes the
first time, and I could use cvs system to update it.

Thanks for your reply.

P.S.: I am not a native English user, and my Englishi is not good
either. You could ask me for further information if I did not describe
the question accurately.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sysinstall: label editor:unable to write data

2005-06-17 Thread Björn König

Björn König wrote:

Partitions (slices) will be written to the first sector of the hard disk 


I meant the information about partitions of course.

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


Re: sysinstall: label editor:unable to write data

2005-06-17 Thread Björn König

Per olof Ljungmark wrote:
I am trying to modify the da0s1 slices on a harddisk under 5.4 using 
/usr/sbin/sysinstall.
I delete an existing slice and create two new ones in the old freed 
space. When writing the changes I get:


ERROR: Unable to write data to disk da0!


Partitions (slices) will be written to the first sector of the hard disk 
which is called the MBR as you probably know. FreeBSD has a mechanism to 
prevent that you overwrite, change or destroy your MBR accidentally. You 
need to run


  sysctl kern.geom.debugflags=16

to deactivate this mechanism temprorarily. Another way would be to boot 
from a Live CD, e.g. disc1 (disc2 for 5.3 and older) and then make the 
changes.


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


sysinstall: label editor:unable to write data

2005-06-17 Thread Per olof Ljungmark
I am trying to modify the da0s1 slices on a harddisk under 5.4 using 
/usr/sbin/sysinstall.
I delete an existing slice and create two new ones in the old freed 
space. When writing the changes I get:


ERROR: Unable to write data to disk da0!

There are no naming conflicts
Single user and multiuser no difference
There are only two existing slices mounted, / and /tmp no separate 
slices for /var /usr and so on.

What am I missing here?
Thanks,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Software Raid

2005-06-17 Thread [EMAIL PROTECTED]
On Fri, 17 Jun 2005 13:23:07 -0700
Philip Wege <[EMAIL PROTECTED]> wrote:

> Is there a way to do software raid setup using freebsd ? and if so
> where do you set it up ?
> 
> Version 5.3

here's a RAID-1 howto : http://people.freebsd.org/~rse/mirror/

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


Software Raid

2005-06-17 Thread Philip Wege
Is there a way to do software raid setup using freebsd ? and if so where
do you set it up ?

Version 5.3


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


RE: Release build problem

2005-06-17 Thread Tom Skoglund
Here are the attachments inlined.

-Tom


Release.sh:
===

#!/bin/sh

export HERE=$(realpath $(dirname $0))

export BUILDNAME="5.4-COMSECURE"
export CHROOTDIR="/home/release"
STAGEDIR="${CHROOTDIR}/R/stage"
BASEDIR="${STAGEDIR}/trees/base"
DISTDIR="${STAGEDIR}/dists"
CDROMDIR="${CHROOTDIR}/R/cdrom"
PACKAGEDIR="${CDROMDIR}/disc1/packages"
CLIENTDIR="${CDROMDIR}/disc1/client"
export CVSROOT="/home/cvsup/freebsd/cvs"

# For the FreeBSD 5.2 based release
#export CVSCMDARGS="-D'2004/08/01 00:00:00 GMT'"

# For the FreeBSD 5.4 based release
export RELEASETAG="RELENG_5_4_0_RELEASE"
export PORTSRELEASETAG="RELEASE_5_4_0"

export DISC1_LABEL="ComSecure_INSTALL"
export DISC1_NAME="install"
export DISC2_LABEL="ComSecure_LIVE"
export DISC2_NAME="live"

# Tweak the release
# NB: Remember to update to the correct FreeBSD release
export LOCAL_PATCHES="$(echo ${HERE}/patches-5.4/patch-*)"
export LOCAL_SCRIPT="$(echo ${HERE}/scripts/script-*)"
chmod a+rx ${LOCAL_SCRIPT}
export FIXCRYPTO=""
export KERNELS="COMSECURE"
export NODOC="YES"
export NOPORTREADMES="YES"
export NO_FLOPPIES="YES"

# Save some time
export WORLD_FLAGS=-j3
export KERNEL_FLAGS=-j3

pdate() {
date +">>> %F %T"
}

set -e
trap pdate EXIT

if [ ! -d "${BASEDIR}" ] ; then
pdate
echo ">>> make release"
cd /usr/src/release
make release
fi

pdate
echo ">>> Writing loader.conf"
:> "${BASEDIR}/boot/loader.conf"
echo 'beastie_disable="YES"'>> "${BASEDIR}/boot/loader.conf"
echo 'autoboot_delay=3' >> "${BASEDIR}/boot/loader.conf"
echo 'kernel="COMSECURE"'   >> "${BASEDIR}/boot/loader.conf"
echo 'kern.ipc.nmbclusters=262144'  >> "${BASEDIR}/boot/loader.conf"
echo 'hz=2048'  >> "${BASEDIR}/boot/loader.conf"

pdate
echo ">>> Writing make.conf"
cat ${CHROOTDIR}/etc/make.conf   > "${BASEDIR}/etc/make.conf"
echo "KERNCONF   = COMSECURE"   >> "${BASEDIR}/etc/make.conf"
echo 'KODIR  = /boot/${KERNCONF}'   >>
"${BASEDIR}/etc/make.conf"
echo>> "${BASEDIR}/etc/make.conf"
echo "# work around bug in sysinstall"  >> "${BASEDIR}/etc/make.conf"
echo "NO_RESCUE  = YES" >> "${BASEDIR}/etc/make.conf"
echo "WITH_POSTGRESQL= YES" >> "${BASEDIR}/etc/make.conf"

pdate
echo ">>> Writing libmap.conf"
:> "${BASEDIR}/etc/libmap.conf"
echo "# KSE is still unreliable">> "${BASEDIR}/etc/libmap.conf"
echo "libpthread.so.1   libthr.so.1">> "${BASEDIR}/etc/libmap.conf"
echo "libpthread.so libthr.so"  >> "${BASEDIR}/etc/libmap.conf"
echo "libc_r.so.5   libthr.so.1">> "${BASEDIR}/etc/libmap.conf"
echo "libc_r.so libthr.so"  >> "${BASEDIR}/etc/libmap.conf"

pdate
rm -rf "${CDROMDIR}"
mkdir -p "${PACKAGEDIR}"
sh -e "${HERE}/packages.sh" "${PACKAGEDIR}"
if [ -f "${HERE}/ComSecureClient.jar" ]; then
mkdir -p "${CLIENTDIR}"
cp "${HERE}/ComSecureClient.jar" "${CLIENTDIR}"
fi

# force 'make rerelease' to re-roll the tarballs
rm -f "${CHROOTDIR}/usr/obj/usr/src/release/release.7"
rm -f "${CHROOTDIR}/usr/obj/usr/src/release/release.8"
rm -f "${CHROOTDIR}/usr/obj/usr/src/release/cdrom.1"
rm -f "${CHROOTDIR}/usr/obj/usr/src/release/iso.1"

pdate
echo ">>> make rerelease"
cd /usr/src/release
#make rerelease -DMAKE_ISOS CVSPREFIX="echo"
export RELEASENOUPDATE="YES"
make rerelease -DMAKE_ISOS 

pdate
echo ">>> Release build complete"


Packages.sh:


#!/bin/sh

ports="mmsc zsh"

here="$(realpath $(dirname $0))"
mmscdir="$(realpath ${here}/..)"
portsdir="/usr/ports"
pkgdir="$(realpath ${1:-${here}/packages})"

set -e

rm -rf "${pkgdir}"
mkdir -p "${pkgdir}"

# Create package dirs if missing
if [ ! -d "${portsdir}/packages/All" ] ; then
mkdir "${portsdir}/packages/All"
fi
if [ ! -d "${portsdir}/packages/Latest" ] ; then
mkdir "${portsdir}/packages/Latest"
fi


deplist() {
pkg=$(basename $(realpath "${portsdir}/packages/Latest/${1}.tbz"))
pkg=${pkg%.tbz}
if [ -f "${portsdir}/packages/All/${pkg}.tbz" ] ; then
echo "${pkg}"
pkg_info -qr "${portsdir}/packages/All/${pkg}.tbz" | \
awk '/[EMAIL PROTECTED]/ { print $2 }'
fi
}

pkglist() {
for port; do
deplist "${port}"
done | \
sort -u
}

echo ">>> Locating packages"
packages=$(pkglist $ports)
echo "${packages}"
echo ">>> Copying packages"
cd ${portsdir}/packages
for pkg in ${packages}; do
find . -name "${pkg}.tbz" -print
done | \
tar cf - ${pkgfiles} -T /dev/stdin | \
tar xvf - -C ${pkgdir}

echo ">>> Generating ${pkgdir}/INDEX"
for pkg in ${packages} ; do
echo "d ${pkg}" 1>&2
origin=$(pkg_info -qo ${pkgdir}/All/${pkg}.tbz)
if [ -d "${mmscdir}/ports/$(basename ${origin})" ] ; then
cd "${mmscdir}/ports/$(basename ${origin})"
make describe
elif [ -d "${portsdir}/${origin}" ] ; then
cd "${portsdir}/${o

Re: FreeBSD/UNIX backups to DVD+RW

2005-06-17 Thread Wojciech Puchar

I'm trying to setup backups to the DVD-RW drive on our new server before it
goes into production.  I've got the DVD-RW drive working, and I figured out
how to dump to it:

# dvd+rw-format /dev/cd0
# dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/cd0=/dev/fd/0'
/usr



with both DVD+RW and DVD-RW i was able to write DIRECTLY to /dev/ under 
NetBSD if only blocks were 32k


should be possible with FreeBSD too.


A test restore comes out clean:

# restore -Nxvb /dev/cd0

The problem is most of the partitions are tiny (< 1G) and I would like to
fit more then one partition on each DVD.  I figured just passing -M (append
data) instead of -Z (new session) would do it:

# dump -0 -uL -C16 -a -P 'growisofs -speed=4 -M /dev/cd0=/dev/fd/0' /home

But growisofs fails with :-( /dev/cd0 doesn't look like isofs..., and of
course dump fails with "Broken pipe".

Any clues to how to get this to work?  (Webpage link is sufficient if there
is something out there.  I couldn't find one.)

I'm fairly new to the FreeBSD/UNIX world, so please be gentle.

Thanks,

-james



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


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


RE: Release build problem

2005-06-17 Thread walker, mick
-Original Message-
From: Tom Skoglund [mailto:[EMAIL PROTECTED]
Sent: 17 June 2005 09:31
To: freebsd-questions@freebsd.org
Subject: Release build problem


Hi,

I have inherited the responsibility for creating the releases for an
application we develop. I have studied the release script we have been
using and of course release(7), but still some small problems remain.

The entire world/kernel build process seems to work fine, but creating
the CD's and ISO's fail. It has only created one cdrom dir (disc1) and
tries to start making the ISO for the bootonly disc, and of course
fails. I could of course fix this manually, or tweak the release
makefile to my needs, but I'd really want this script to work.

I have attached a couple of scripts and part of a release log. This log
does not contain any info from the world/kernel build phase.

Any help would be much appreciated.


-Tom


Tom,

The attachment didnt come through here, could you copy and paste them into
the body of your email please?

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


Release build problem

2005-06-17 Thread Tom Skoglund
Hi,

I have inherited the responsibility for creating the releases for an
application we develop. I have studied the release script we have been
using and of course release(7), but still some small problems remain.

The entire world/kernel build process seems to work fine, but creating
the CD's and ISO's fail. It has only created one cdrom dir (disc1) and
tries to start making the ISO for the bootonly disc, and of course
fails. I could of course fix this manually, or tweak the release
makefile to my needs, but I'd really want this script to work.

I have attached a couple of scripts and part of a release log. This log
does not contain any info from the world/kernel build phase.

Any help would be much appreciated.


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

RE: web calendar program recommendation

2005-06-17 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Chad Leigh --
>Shire.Net LLC
>Sent: Thursday, June 16, 2005 11:46 PM
>To: Ted Mittelstaedt
>Cc: FreeBSD Questions
>Subject: Re: web calendar program recommendation
>
>
>
>On Jun 17, 2005, at 12:20 AM, Ted Mittelstaedt wrote:
>
>>
>>
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED]
>>> [mailto:[EMAIL PROTECTED] Behalf Of Bob Bomar
>>> Sent: Thursday, June 16, 2005 9:18 AM
>>> To: Noah; [EMAIL PROTECTED]
>>> Subject: Re: web calendar program recommendation
>>>
>>>
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> Noah wrote:
>>> | FreeBSD-4.11 R3
>>> |
>>> |
>>> | I am looking for a really nice calendar program that I can
>>> run from a web
>>> | interface.  That has the ability to import my calendar from my
>>> palm.
>>> |
>>> | horde is nice but I cant import any of my palm calendars.
>>> |
>>> | neither can webcalendar unless there is some recent update in
>>> the past 3
>>> | months that does it now.
>>> |
>>> | evolution is nice but I think this is X only and not for the
>>> web.  please
>>> | correct me if I am wrong.
>>> |
>>> | Please pass along any recommendations.
>>>
>>> I use deskutils/phpicalendar.  iCal on my Mac is able to
>>> sync with it.
>>> There are several out there.  Another that
>>> I have used is Web Calendar, http://www.k5n.us/webcalendar.php.
>>> Its pretty good.q
>>>
>>>
>>
>> The problem isn't the applications.  The problem is that Palm in it's
>> infinite stupidity does not support any of the standardized calendar
>> syncing formats.  And your also confused because the ical on a Mac
>> isn't the same thing as IETF's standard  RFC2445 spec iCAL.
>
>Uhh, I have not tried to interoperate but Apple iCal uses .ics files
>when publishing or sending invites.  Those seem to be the same as
>your RFC 2445 spec iCAL.  Your linuxmafia link below even shows this...
>

Perhaps you are right and the iCal app in MacOS X can output
RFC-compliant
.ics files.  But the syncing program that talks from MacOS X's iCal and
the Palm Pilot doesen't speak iCAL data files, it speaks it's own
proprietary
format.

>
>>
>> Palm claims support of ical for their handhelds but they are talking
>> about the ical application on a Mac.  They aren't talking about the
>> standards-based RFC, which is what Horde and all the other calendaring
>> applications support.
>
>Now, palm may synch directly to the Apple iCal data and not to an ics
>file, I don't know, so in that way you would be right.  But Apple
>iCal seems to use the "standard" iCAL format for communications.
>

But he wants an app on FreeBSD not on MacOS X.  Apple hasn't provided
source
for it's iCal app, and Palm certainly hasn't provided source for the
syncer program that goes from a Palm Pilot to the MacOS X, so this is
still just as bad as syncing to Palm Desktop on a windows box then
outputting
in comma-delimited, then pulling that into Horde (or equivalent)

Ted

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


Re: pdksh cli as vi

2005-06-17 Thread Jochen Keil

User Bodza wrote:

> the same effect. after loggin in it's not working but if
> i give the set -o vi from the shell it's ok.

You have to put
> set -o vi
into your ~/.kshrc.

To make sure kshrc makes use of it you also have to put
> ENV=~/.kshrc"
> export ENV"
into your ~/.profile.

Most shells will use emacs mode as default. In my opinion you'll have to 
change the source code to get a different default setting for pdksh.


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


Re: web calendar program recommendation

2005-06-17 Thread Andrew L. Gould
On Thursday 16 June 2005 08:38 am, Noah wrote:
> FreeBSD-4.11 R3
>
>
> I am looking for a really nice calendar program that I can run from a
> web interface.  That has the ability to import my calendar from my
> palm.
>
> horde is nice but I cant import any of my palm calendars.
>
> neither can webcalendar unless there is some recent update in the
> past 3 months that does it now.
>
> evolution is nice but I think this is X only and not for the web. 
> please correct me if I am wrong.
>
> Please pass along any recommendations.
>
> Thanks in advance,
>
> Noah

If you're just trying to get remote access to your calendar using a web 
browser, you could use any palm-syncable software and tightvnc.  You 
can find tightvnc in the ports.  Tightvnc has a small web server that 
allows access to your desktop from a remote internet browser.  

Unfortunately, this does not facilitate remote syncing of your palm 
device.

To view tightvnc from a web browser, point your url to your desktop 
machine using port 5800 +  the display number.

Example:
I sync my palm pilot using the jpilot port.  I invoke tightvnc on 
display 1 on my desktop at hostname.com using:
vncserver :1

To run my desktop from a remote browser, I would point my browser to:
http://hostname.com:5801
Then I run jpilot on my desktop.

I hope this helps.

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