OpenOffice 1.1.3 package

2004-10-03 Thread Markie
Hi all

I just installed OpenOffice 1.1.3, via a package, on -CURRENT from a few
days ago.

pkg_add complained about not being able to find XFree86 and imake 4.3.0 (I
think) and perl - which is odd because I do have perl installed - so I
used -f to force it. However, when I try and run openoffice-1.1.3 or
openoffice-1.1.3-setup it just sits there using 100% CPU time in
soffice.bin or setup.bin; I have to kill the process off using -KILL.

Is this a known problem? I also tried compiling from source on 5.3-BETA5
before I updated to CURRENT and that failed, although I forgot to look why.

Thanks

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


xorg DPMS weirdness with laptop

2004-10-03 Thread Markie
I had to patch the trident driver which does the whole turn off backlight
thing for the CyberBlade (which is what my laptop, unfortuantly, has) and
this works with xset dpms force off/suspend/standby. However, if I just
leave it alone it's still doing it's old behavior of making the screen
black but leaving the backlight on.

Any ideas as to why this might be? I have Options DPMS in my xorg.conf...
maybe i'm forgetting something stupidly simple :-) No doubt the case.

Thanks

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


Re: OpenOffice 1.1.3 package

2004-10-03 Thread Markie

- Original Message - 
From: Kris Kennaway [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, October 03, 2004 7:56 PM
Subject: Re: OpenOffice 1.1.3 package

On Sun, Oct 03, 2004 at 11:24:34AM +0100, Markie wrote:
 Hi all

 I just installed OpenOffice 1.1.3, via a package, on -CURRENT from a few
 days ago.

 pkg_add complained about not being able to find XFree86 and imake 4.3.0
(I
 think) and perl - which is odd because I do have perl installed - so I
 used -f to force it.

This must be an old package, because 4.3.0 hasn't been in the ports
collection for some months now.

Kris

Do you think that might be the cause of my infinate 100% CPU loop thing?
Should I try hunting around for something done using X.org instead?

Sorry if the formatting is a bit crummy. Outlook Express

Thanks

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


Kernel Compile slow on 5.x series?

2004-10-02 Thread Markie
Has anyone else noticed that the 5.x series kernel compile times take much
longer than that of the 4.x series? My friends 233MHz machine running 4.x
finished a kernel compile before my 500MHz machine running 5.x a while
back. It seems to take forever? Is there a reason for this, or is it just
me seeing this problem?

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


Re: Kernel Compile slow on 5.x series?

2004-10-02 Thread Markie
- Original Message - 
From: Simon Barner [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, October 02, 2004 2:45 PM
Subject: Re: Kernel Compile slow on 5.x series?

Markie wrote:
 Has anyone else noticed that the 5.x series kernel compile times take
much
 longer than that of the 4.x series? My friends 233MHz machine running
4.x
 finished a kernel compile before my 500MHz machine running 5.x a while
 back. It seems to take forever? Is there a reason for this, or is it
just
 me seeing this problem?

FreeBSD 5 uses GCC 3.x as system compiler, whereas 4 is based on GCC
2.y.

Due to enhenced code optimization, support for modern language features
and other things the _compilation_ times increased considerably in the
newk
version of the compiler (the resulting code is often much faster).

Fortunately, things are getting better with the most recent compilers from
the GCC 3.x series.

Simon


Oh right, that's fair enough then :-) Thanks very much!

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


installworld touch: not found

2004-09-29 Thread Markie
Hi,

I just got this error when I went to installworld on my laptop. Google came
up with an incorrect time/date and unmounted NFS, but my date and time are
correct and I am not using NFS. I changed newvers.sh to /usr/bin/touch
instead and it's working, is this safe to do? Will I encounter any weird
problems? Never had this problem before...

Thanks..

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


Re: installworld touch: not found

2004-09-29 Thread Markie

- Original Message - 
From: kent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Markie [EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 9:48 PM
Subject: Re: installworld touch: not found


| On Wednesday 29 September 2004 01:35 pm, Markie wrote:
|  Hi,
| 
|  I just got this error when I went to installworld on my laptop. Google
came
|  up with an incorrect time/date and unmounted NFS, but my date and time
are
|  correct and I am not using NFS. I changed newvers.sh to /usr/bin/touch
|  instead and it's working, is this safe to do? Will I encounter any
weird
|  problems? Never had this problem before...
|
| I won't comment on what you did as a fix.

Oops! I guess it wasn't the greatest idea in the world then? You can call
me stupid, I don't mind :) It seems to be running fine... but if I really
shouldn't have done that can I just do another buildworld?

|
| Another possibility is that you are running a cmos clock with local time.
You
| need to run adjkerntz -i before you do anything. See /usr/src/UPDATING

What am I looking at in UPDATING? I don't see anything recent related to
adjkerntz... but I just ran it anyway. Should it have changed my time or
date? It didn't seem to do much?

|
| Kent
|
| -- 
| Kent Stewart
| Richland, WA
|
| http://users.owt.com/kstewart/index.html

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


Re: reload rc.conf during boot process

2004-09-21 Thread Markie
- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 2:24 PM
Subject: Re: reload rc.conf during boot process


| On 2004-09-21 14:18, Markie [EMAIL PROTECTED] wrote:
|  Giorgos Keramidas [EMAIL PROTECTED] wrote:
|  |  After running my program in the rc.d mount script I then did a
|  | 
|  |  . /etc/rc.conf
|  | 
|  |  but rc.conf doesn't get reloaded.
|  |
|  | The /etc/rc script is a ``driver script'' that loads rc.conf before
teh
|  | mount script has a chance to run.  Even if you reload rc.conf in the
|  | mountd script this cannot affect the parent process that runs
/etc/rc.
| 
|  Oh I think I see what you're saying, it's kind of like variable scope,
|  right? When I do . /etc/rc.conf in mountcritlocal that's loading the
file,
|  but only for that script? It's not actually replacing the variables at
all,
|  right?
|
| They're environment variables and that's how environment variables work
in
| UNIX.  Environment variables can be changed in a process and this will
affect
| all the processes spawned off by the one with the changed environment but
it
| won't affect processes higher up the hierarchy.
|
| The `/etc/rc' script starts `/etc/rc.d/mountd' after setting some of
these
| variables (by running . /etc/rc.conf as usual).  The mountd process
inherits
| the environment of /etc/rc and can make changes to its environment as
much as
| it wants.  The changes don't affect the parent process (the /etc/rc
| invocation).
|

That's basically what I was trying to say :-) I didn't know environment
variables worked like that though, thanks for the info!

|  I saw load_rc_config 'XXX' in early.sh or something, just a minute ago!
|  Does the XXX do anything?
|
| Not much.  It's just a placeholder to shuttup the checks near the
beginning of
| `load_rc_config'.  Passing an invalid `command name' to load_rc_config
lets us
| load /etc/rc.conf and any other config file listed in $source_rc_confs
| without having to re-invent load_rc_config every time.
|

Alright, fair play!

|  I don't actually have rc.conf.d either, as far as I can tell?
|
| This shouldn't be a problem.  Don't worry about it.
|
|  My idea was so I could try out FreeBSD on my laptop and keep it usable
on
|  the University network, [...]
|
| Yeah, I figured it was something of this sort :)
|

:-) it also gives me something to try and learn. It was good fun actually
hacking up my first, possibly semi-useful, small little program in C! Now I
know a little bit about how the RC scripts work too! It's pretty amazing
what shell script programming can do!

I was just looking at that diff you attached. I think I understand it near
enough, but just before the esac is that like a default: style part? So if
nothing matches, i.e if the script isn't called selectcf, then it'll just
run the script and not reload rc.conf? Wouldn't I need a run_rc_script
before the unset _rc_conf_loaded, to actually run my selectcf script? :-)

| - Giorgos
|

Thanks for the super quick reply!

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


Re: reload rc.conf during boot process

2004-09-21 Thread Markie

- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 2:51 PM
Subject: Re: reload rc.conf during boot process


| On 2004-09-21 14:40, Markie [EMAIL PROTECTED] wrote:
|  I was just looking at that diff you attached. I think I understand it
near
|  enough, but just before the esac is that like a default: style part? So
if
|  nothing matches, i.e if the script isn't called selectcf, then it'll
just
|  run the script and not reload rc.conf? Wouldn't I need a run_rc_script
|  before the unset _rc_conf_loaded, to actually run my selectcf script?
:-)
|
| It's there already.  I've just used a trick with md5(1) to check if the
| file rc.conf changes and you missed it because it's hidden between two
| other lines.  Just above the body of the if-block you're reading I had
| added the following:
|
| % + _sum_before=`md5 /etc/rc.conf`
| % + run_rc_script ${_rc_elem} ${_boot}
| % + _sum_after=`md5 /etc/rc.conf`
|

Oh yeah! Clever stuff! I figured I had just missed something... stupid me
:-) Cheers!

Just tested that out and it seems to work, it didn't start up sshd with my
test config! I had a little problem(?) with rcorder though, I think. I
specified

# REQUIRE: mountcritlocal

and from what I read, I was expecting my script to come up somewhere very
near mountcritlocal, but it actually appeared after sendmail.. which is
miles away. I solved it for now by putting

# BEFORE: ipfilter

aswell, because really I want it always after mountcritlocal. I'm a bit
confused as to why with # REQUIRE: mountcritlocal it was being run so late.
Did I misread something?

Anyway! With the BEFORE line it works great! Exactly how I wanted it!
Thanks alot!!

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


Re: reload rc.conf during boot process

2004-09-21 Thread Markie
- Original Message -
From: Giorgos Keramidas [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 21, 2004 6:05 PM
Subject: Re: reload rc.conf during boot process


| On 2004-09-21 15:04, Markie [EMAIL PROTECTED] wrote:
|  Just tested that out and it seems to work, it didn't start up sshd with
my
|  test config! I had a little problem(?) with rcorder though, I think. I
|  specified
| 
|  # REQUIRE: mountcritlocal
| 
|  and from what I read, I was expecting my script to come up somewhere
very
|  near mountcritlocal, but it actually appeared after sendmail.. which is
|  miles away. I solved it for now by putting
| 
|  # BEFORE: ipfilter
| 
|  aswell,
|
| Cool!  This is AFAIK the Right Way(TM) to add things in a specific place
| in the rcorder list.
|

Alright that's cool :) So long as ipfilter doesn't change in the order, so
it's not straight after mountcritlocal, for whatever reason I will be
alright.

|  Thanks alot!!
|
| You're welcome :)
|

Thank you :)

I've setup a slave NIS server on my test machine and done some ypsetme
stuff in rc.conf.uea so it only tries to use itself as the NIS server (I
think, seems to work!). Only problem left now the NFS home directory stuff,
looks like I might have to be replacing fstab and copying my home directory
across every so often or something :) Maybe I could try make the little
menu thing a port if it's any use to laptop users, or maybe it's a little
bit too hackish for that.

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


reload rc.conf during boot process

2004-09-20 Thread Markie
Is it possible to do this somehow?

I was trying my hand out at C and made a cool little menu for myself. It
looks for files in /etc/ which are named rc.conf.x and lists them in
the menu. Then, when you select one on boot, it copies the selected
configuration file to rc.conf. I put my program in... the rc.d mount
script, so that the disk is mounted writeable at the time and my C program
is able to issue cp (bad way I know) to replace rc.conf. After running my
program in the rc.d mount script I then did a

. /etc/rc.conf

but rc.conf doesn't get reloaded. The file is being copied over, as when I
reboot it starts using the copied over configuration. I am not sure if .
/etc/rc.conf is supposed to load a file in? I just saw it in some other
script and assumed that's what it was doing.

Thanks in advance

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


Re: Swap file errors on 4 GB drive.

2004-09-05 Thread Markie
|- Original Message -
|From: W. D. [EMAIL PROTECTED]
|To: [EMAIL PROTECTED]
|Sent: Sunday, September 05, 2004 7:36 AM
|Subject: Swap file errors on 4 GB drive.
|

|Hi folks,
|

Hi

|I tried to install FreeBSD 4.9 on a computer with
|a 4 GB drive, but it killed the kernel when it
|got a swap file error.
|

I have it installed on a 4GB drive.

|I put in an 8 GB drive an everything went smoothly.
|

Perhaps your 4GB drive had bad sectors?

|Any ideas on how to avoid error when installing
|to smaller drives?
|
|By the way, I've been refining some notes of mine
|and consolidated them into a procedure to install
|FreeBSD.  Your constructive comments would be
|appreciated:
|http://www.US-Webmasters.com/FreeBSD/Install/
|
|
|
|Start Here to Find It Fast!T -
http://www.US-Webmasters.com/best-start-page/
|$8.77 Domain Names - http://domains.us-webmasters.com/
|
|___
|[EMAIL PROTECTED] mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Better way to get interface assigned to default route?

2004-09-04 Thread Markie
Hi all,

I just now replaced my 350MHz PII home server back to the old 133MHz PI to
see if my crashing problems went away. I have noticed that dhclient-script
does a `netstat -rn | grep ^default | awk {'print $6'}` to get the
interface that the default route is on, in my case my dsl modem is on fxp1.
Since this is a slow machine however, this takes a very long time for it to
do that command as I seem to have quite alot of...routing entries I guess
they are?

So, simple question really... does anyone else know a better way this can
be done, or is this the only way? If it's the only way i'll just change
dhclient-script so it's fixed as fxp1 and doesn't do the whole netstat -rn
thing to try and get that...

Thanks.

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


Re: Better way to get interface assigned to default route?

2004-09-04 Thread Markie
Stupid me forgot to forward it back to the list, hit the wrong button.
Sorry :-D

- Original Message -
From: Markie [EMAIL PROTECTED]
To: Remko Lodder [EMAIL PROTECTED]
Sent: Saturday, September 04, 2004 6:15 PM
Subject: Re: Better way to get interface assigned to default route?


| - Original Message -
| From: Remko Lodder [EMAIL PROTECTED]
| To: Markie [EMAIL PROTECTED]
| Cc: [EMAIL PROTECTED]
| Sent: Saturday, September 04, 2004 5:23 PM
| Subject: Re: Better way to get interface assigned to default route?
|
|
| | Hi Markie,
| |
| | Markie wrote:
| |
| |  Hi all,
| | 
| |  I just now replaced my 350MHz PII home server back to the old 133MHz
PI
| to
| |  see if my crashing problems went away. I have noticed that
| dhclient-script
| |  does a `netstat -rn | grep ^default | awk {'print $6'}` to get the
| |  interface that the default route is on, in my case my dsl modem is on
| fxp1.
| |  Since this is a slow machine however, this takes a very long time for
| it to
| |  do that command as I seem to have quite alot of...routing entries I
| guess
| |  they are?
| |
| | Okay it seems to me that you want to use DHCP in order to get your ass
| | (machine) in the internet. That seems rather logically, only i use the
| | dhclient interface command (dhclient rl0 for example). To me it
sounds
|
| Suggesting I do `dhclient fxp1`? That's exactly my problem though :-)
That
| uses /sbin/dhclient-script to do all of it's work, right? dhclient-script
| tries to figure out the interface... or something to do with a default
| route by doing that netstat -rn command.
|
| dhclient-script snippet...
| 
| if [ x$alias_subnet_mask != x ]; then
|   alias_subnet_arg=netmask $alias_subnet_mask
| fi
|
| # Get the interface to which our default route is bound to.
| if [ -x /usr/bin/netstat ]; then
|if_defaultroute=`/usr/bin/netstat -rn \
|| /usr/bin/grep ^default \
|| /usr/bin/awk '{print $6}'`
| else
| if_defaultroute=x
| fi
|
| if [ x$reason = xMEDIUM ]; then
|   eval ifconfig $interface $medium
|   eval ifconfig $interface inet -alias 0.0.0.0 $medium /dev/null 21
|   sleep 1
|   exit_with_hooks 0
| fi
| ---
|
| See it? Basically I am after some sort of command that might be able to
get
| the interface with the default route assigned but quicker than
netstat -rn
| since I have alot of routing table entries. Like I said, if there's no
| other way I will just have to fix it so it's if_defaultroute = fxp1.
|
| I've already had to make some changes to the script to get it to work
with
| my modem anyway so it won't hurt me :-) I was just wondering if there was
| any other nice way of doing it so that say if I changed the internet
| interface to a vx card I wouldn't have to try and remember to change that
| to vx0 (I _will_ forget I made the change :-)
|
| | rather silly to do a netstat -rn command, checkup the default route
| | interface and then add dhcp stuff into it.. since dhcp sets these
| | default route for me..
| |
| | Perhaps you can try and see if that works quicker :)
| |
| | Cheers
| |
| |
|
| Thanks
|
| | --
| | Kind regards,
| |
| | Remko Lodder   |[EMAIL PROTECTED]
| | Reporter DSINet|[EMAIL PROTECTED]
| | Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
|

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


Re: Better way to get interface assigned to default route?

2004-09-04 Thread Markie

- Original Message -
From: Remko Lodder [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Sent: Saturday, September 04, 2004 11:17 PM
Subject: Re: Better way to get interface assigned to default route?


| Markie wrote:
|
|  Suggesting I do `dhclient fxp1`? That's exactly my problem though :-)
That
|  uses /sbin/dhclient-script to do all of it's work, right?
dhclient-script
|  tries to figure out the interface... or something to do with a default
|  route by doing that netstat -rn command.
| 
|  dhclient-script snippet...
|  
|  if [ x$alias_subnet_mask != x ]; then
|alias_subnet_arg=netmask $alias_subnet_mask
|  fi
| 
|  # Get the interface to which our default route is bound to.
|  if [ -x /usr/bin/netstat ]; then
| if_defaultroute=`/usr/bin/netstat -rn \
| | /usr/bin/grep ^default \
| | /usr/bin/awk '{print $6}'`
|  else
|  if_defaultroute=x
|  fi
| 
|  if [ x$reason = xMEDIUM ]; then
|eval ifconfig $interface $medium
|eval ifconfig $interface inet -alias 0.0.0.0 $medium /dev/null
21
|sleep 1
|exit_with_hooks 0
|  fi
|  ---
| 
|  See it? Basically I am after some sort of command that might be able to
get
|  the interface with the default route assigned but quicker than
netstat -rn
|  since I have alot of routing table entries. Like I said, if there's no
|  other way I will just have to fix it so it's if_defaultroute = fxp1.
| 
|  I've already had to make some changes to the script to get it to work
with
|  my modem anyway so it won't hurt me :-) I was just wondering if there
was
|  any other nice way of doing it so that say if I changed the internet
|  interface to a vx card I wouldn't have to try and remember to change
that
|  to vx0 (I _will_ forget I made the change :-)
| 
|

Hi Remko :-)

| Well, how come there is a default route if you use dhcp afterwards? my
| default route is delivered through dhcp.. so i cannot reside on a
| default entry because i dont have any... That's why i think that the
| default grep is a little bit weird actually, since most hosts dont have
| any routes at all at that point in time and then start dhclient iface
|

I'm no expert on it all, but... the command is in the code and it's
certainly executing that command :-) I see it in top taking up alot of CPU
time every few minutes! I imagine it's doing it every few minutes because
my modem likes to send dhcp updates frequently, so if my connection drops
or ip changes I don't have to wait an hour... day...however long for the
interface to be updated.

| And to be  more exact:
|
| in /etc/rc.conf i have
| ifconfig_em0=DHCP which starts ``dhclient em0'' for me... i never used
| dhclient-script, and didn't read it carefully yet to understand it.
|

Yeah, I have ifconfig_fxp1=DHCP :-) dhclient uses dhclient-script to do
all of it's work, I guess you could call dhclient a wrapper of sorts?

Like I said, I had to make some changes to this script, although I have
never execute it directly, to stop FreeBSD from locking up on an IP address
change and to actually even get it to be able to communicate with my modem
(ADSLNation X-Modem CE), something along the lines of deleting the default
route straight after it had added it, and then readding it; don't ask me
why this solved the problem but it did! If anyone is interested in that I
can mail the changes I made and describe my setup or something. Infact, to
back that up further here's a snippet from the dhclient-script man page :-D

-
dhclient-script(8)
dhclient-script(8)

NAME
   dhclient-script - DHCP client network configuration script

DESCRIPTION
   The  DHCP  client  network configuration script is invoked from time
to
   time by dhclient(8).
-

I guess you probably just don't notice because you have a fast machine and
not many routing table entries?

| Perhaps this explains a bit...
|
| or i just dont get the question yet { have a long weekend, tired etc ;) }

:-) No worries, I am very grateful for your reply!

|
| Cheers dude!
|
| --
| Kind regards,
|
| Remko Lodder   |[EMAIL PROTECTED]
| Reporter DSINet|[EMAIL PROTECTED]
| Projectleader Mostly-Harmless  |[EMAIL PROTECTED]

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


Re: Hiding SSH version string

2004-07-23 Thread Markie
- Original Message -
From: Aaron Dalton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 23, 2004 5:36 PM
Subject: Hiding SSH version string


| I've read a number of times that people hide their ssh version string so that
| attackers don't know what version you are running.  I've read the
| documentation and can't seem to figure out how to do this.  Can somebody
| explain to me how this is done?  Thank you so much!

The hackers are likely to just try whatever exploit anyway. They'll even
probably be thinking Oh, they're hiding their version... probably quite old
:-) Best just to keep up to date.

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

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


ACPI Blacklist question

2004-07-11 Thread Markie
Hello,

I'm not sure whether I should have posted this to questions or current (since
it's an issue with a recent current) or some other list, but hear me out and
perhaps point me in the right direction?

I recently upgraded a play about box from an older current to one .. a day
before the preemption issues arose. All is well, except I found the box would no
longer shutdown automatically using shutdown -p and hitting the power button
would just put the box into a sort of suspend or sleep state.

Well, just now I looked at dmesg and came across this message ACPI disabled by
blacklist.  Contact your BIOS vendor... I believe this is most likely the
cause. I can't remember exactly what BIOS or motherboard is in there but I can
have a look if that is needed. Can anyone tell me why it's been blacklisted
anyway? I didn't used to have any problems with it at all on the older CURRENT.
In fact I was quite impressed that I could turn it off, cleanly, by just hitting
the power button! I'll mess around and see if I can get ACPI loaded anyway
somehow and see if there's any ill effects with it.

Well anyway, thanks in advance!


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


Re: ACPI Blacklist question

2004-07-11 Thread Markie

- Original Message -
From: Markie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 11, 2004 7:24 PM
Subject: ACPI Blacklist question


| Hello,
|
| I'm not sure whether I should have posted this to questions or current (since
| it's an issue with a recent current) or some other list, but hear me out and
| perhaps point me in the right direction?
|
| I recently upgraded a play about box from an older current to one .. a day
| before the preemption issues arose. All is well, except I found the box would
no
| longer shutdown automatically using shutdown -p and hitting the power button
| would just put the box into a sort of suspend or sleep state.
|
| Well, just now I looked at dmesg and came across this message ACPI disabled
by
| blacklist.  Contact your BIOS vendor... I believe this is most likely the
| cause. I can't remember exactly what BIOS or motherboard is in there but I can
| have a look if that is needed. Can anyone tell me why it's been blacklisted

I meant why it MIGHT have been blacklisted, oops!

| anyway? I didn't used to have any problems with it at all on the older
CURRENT.
| In fact I was quite impressed that I could turn it off, cleanly, by just
hitting
| the power button! I'll mess around and see if I can get ACPI loaded anyway
| somehow and see if there's any ill effects with it.

I set hint.acpi.0.disabled=0 in /boot/device.hints and it seems fine, just
like with the previous current. It shutdown via the power button and switches
off automatically again anyway :-)

|
| Well anyway, thanks in advance!
|
|
| ___
| [EMAIL PROTECTED] mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Point n' print Samba

2004-07-09 Thread Markie
- Original Message -
From: Briggaman, Jason [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 09, 2004 1:52 PM
Subject: Point n' print Samba


| Has anyone successfully gotten Samba to act as a point'n print print
| server within a Windows 2000 domain or know of any good HOWTOs? I'm
having

I have got it working, although it was a long time ago and I can't remember
exactly how I did it or any HOWTO's I used, so I can only really point you
at some configuration really.

I am using CUPS, I have heard you can do it with apsfilter or something and
it's better? but it works fine for me so I left it with CUPS (you may have
to recompile samba with CUPS support?). After CUPS is installed you should
first edit /usr/local/etc/cups/mime.types and mime.convs. Right at the
bottom of each of these files is a commented out raw filter. You'll need to
uncomment both of these lines for raw printing! Start cupsd and setup a raw
printer with the web based configuration, http://localhost:631 I think
that's all you have to do for CUPS.

Then you'll need to edit smb.conf located in /usr/local/etc and include, as
global options

   load printers = yes
   printcap = cups
   printcap name = cups
   printing = cups
   printer admin = @admin

You'll want to change the printer admin from the admin group probably. Then
you'll need to make two shares along the lines of

[printers]
   comment = Printers
   path = /var/spool/samba
   guest ok = yes
   public = yes
   writeable = no
   printable = yes
   printer admin = @admin

[print$]
   comment = Printer Driver Download
   path = /samba/printerdriver
   browsable = yes
   guest ok = yes
   read only = yes
   write list = @admin

Again, you'll want to change the @admin groups and probably the path for
the print$ share then restart samba. Here's a bit I can't quite remember
but i'm sure someone on the list will be able to fill it in. You'll need to
install the printer drivers into the print$ share, I seem to remember doing
this by going to \\computername . You should see a printers folder in
there! Possibly using the Add Printer thing in there, if not then I guess
you could try \\computername\printers (that seems to come up with some
sorta wizard).

Oh! I just saw something which I never saw before but sounds like what you
need to install the printer drivers to the server. If you goto
\\computername and then double clicks the printers folder, right click in
here and goto Server Properties. Click the Drivers tab and then hit the Add
button. Seems to be what you need. Providing all goes well and you see the
windows drivers now in \\computername\print$ you should be able to setup
the clients using the printer wizard and they *should* get the drivers from
the server automatically now!

Sorry it's all so rough, I really can't remember what I did exactly. If
none of that seems to work then you could always try searching for samba
cups on google. Maybe someone else can help more!

| troubles getting the win2k clients to download the drivers from the print
| server.
|
| thanks
|
|
| **
| This e-mail message, including any attachment(s), is intended only for
the
| use of the individual or entity to which it is addressed and may contain
| information that is privileged and/or confidential.
| Lightship Telecom / www.lightship.com
|
| ___
| [EMAIL PROTECTED] mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: IPFIREWALL_FORWARD sysctl variable

2004-07-09 Thread Markie

- Original Message -
From: Steve Bertrand [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 09, 2004 4:22 PM
Subject: IPFIREWALL_FORWARD sysctl variable


| Before I install a new kernel and have to reboot a machine, I thought I'd
| ask if there was a sysctl variable that can toggle the IPFIREWAL_FORWARD
| option.
|

There's net.inet.ip.forwarding but i'm not sure if it's read only or even
perhaps if it exists/works without that in the kernel.

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

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


Re: Harddisk UDMA ICRC error... from kernel at bootup. What does it mean?

2004-06-16 Thread Markie
- Original Message - 
From: Bill Moran [EMAIL PROTECTED]
To: Rob [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 12:26 PM
Subject: Re: Harddisk UDMA ICRC error... from kernel at bootup. What does
it mean?


| Rob [EMAIL PROTECTED] wrote:
|  Hi,
| 
|  A friend of mine switched from Windows XP to FreeBSD, because I
garanteed that FreeBSD
|  would be faster. I also want to optimize performance as much as
possible. I'm therefore
|  worried about the following messages from the kernel at bootup:
| 
|  [...snip...]
|  ad0: 16448MB WDC WD172AA [33420/16/63] at ata0-master UDMA66
|  ad1: 76319MB WDC WD800JB-00CRA1 [155061/16/63] at ata0-slave UDMA66
|  acd0: CD-RW HL-DT-ST RW/DVD GCC-4320B at ata1-master PIO4
|  Mounting root from ufs:/dev/ad0s1a
|  ad1s5c: UDMA ICRC error reading fsbn 93787664 of 46885768-46885895
(ad1s5 bn 93787664; cn 5838 tn 3 sn 5) retrying
|  ad1s5c: UDMA ICRC error reading fsbn 93787664 of 46885768-46885895
(ad1s5 bn 93787664; cn 5838 tn 3 sn 5) retrying
|  ad1s5c: UDMA ICRC error reading fsbn 93787664 of 46885768-46885895
(ad1s5 bn 93787664; cn 5838 tn 3 sn 5) retrying
|  ad1s5c: UDMA ICRC error reading fsbn 93787664 of 46885768-46885895
(ad1s5 bn 93787664; cn 5838 tn 3 sn 5) falling back to PIO mode
| 
|  ---
| 
|  Both harddisks are on the same IDE 40-pin cable as master and slave.
|  ad0 is the FreeBSD formatted harddisk; one slice and several FreeBSD
partitions.
|  ad1 is from a former Windows XP installation, with two partitions:
ad1s5 (ntfs) and ad1s6 (msdos).
| 
|  I don't understand much of the lines above.
|
| Super-simplified: it's telling you it gets checksum erros when it tries
to
| talk to the drives at ATA66 speed, so it slows down and is then
successful.
|
|  The last line says it falls back to PIO mode due to errors with ad1s5c.
|  What does that mean? Will it use the slow 16.6 MB/s data exchange from
disk to host?
|
| Yes.  Windows is probably already running at this speed, but it just
doesn't
| bother to inform you.
|
|  Does this then also imply that both disks use PIO/slow data exchange
speed?
|  (remember: both disks are on the same cable to the motherboard).
|
| Yes.
|
|  What can I do to get things better and faster?
|
| Get an 80 conductor cable (probably).

Shouldn't they be able to use ATA33 on a 40 pin cable atleast? Try
atacontrol?

|
|  And also: is this UDMA ICRC error because it's a Windows/DOS
partition?
|  Would formatting to FreeBSD filesystem solve the problem?
|
| No, it's more likely because of the 40 pin cable.
|
| -- 
| Bill Moran
| Potential Technologies
| http://www.potentialtech.com
| ___
| [EMAIL PROTECTED] mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: Home server upgrade 4.9 - 5.2.1, drop in hard diskornetworkperformance?

2004-04-25 Thread Markie

- Original Message - 
From: Eric Crist [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Sent: Saturday, April 24, 2004 1:27 AM
Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard
diskornetworkperformance?


| On Friday 23 April 2004 09:04, you wrote:
|
| [snip]
|
|  I just now swapped the old 3com card in the servers box with the intel
card
|  from that one and well... it seems to be working fine! Is this a bad
driver
|  or bad hardware? I still have a routing problem, before I can do
anything
|  with the internet after a new connection I have to do the following:
| 
|  route delete default
|  route add new internet ip
|  route -n add default -iface new internet ip
| 
|  but with this modem it appears you have to do this on openbsd and
netbsd
|  too. I am going to hunt down a way to do it automatically :o) I will
also
|  test the transfer rate stuff again to make sure it wasn't just that old
|  card doing something nasty although I doubt it'd be that
| 
|  I will keep you informed for what it's worth :o)
|
| This is pretty simple.  Simply add the following line to the /etc/rc.conf
| file:
|
| default_route=ip.address.here.please
|
| HTH

I don't have a static IP address? :o)

Just got back home from a gig today to find the box had locked up again
with 2 icmp redirect messages on the console and an ATA timeout thing

Apr 23 20:54:28 bone kernel: icmp redirect from 80.145.155.146: 0.0.0.0 =
217.4.98.129
Apr 24 19:13:21 bone kernel: icmp redirect from 195.36.246.89:
192.168.2.100 = 217.5.98.154
Apr 24 23:49:35 bone kernel: ad2: TIMEOUT - WRITE_DMA retrying (2 retries
left) LBA=1663

Just like that... i'm not sure if it's the timeout that caused the lockup
this time or not. I thought swapping the network cards had fixed it..
well.. I dunno, maybe this is something different?

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


Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk ornetworkperformance?

2004-04-23 Thread Markie


| -Original Message-
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED] Behalf Of Markie
| Sent: Thursday, April 22, 2004 6:15 PM
| To: [EMAIL PROTECTED]
| Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk
| ornetworkperformance?
|
|
| - Original Message -
| From: Markie [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
| Sent: Thursday, April 22, 2004 10:53 PM
| Subject: Home server upgrade 4.9 - 5.2.1, drop in hard disk or
| networkperformance?
|
|
| | Hello everyone!
| |
| | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after
| having a
| few
| | problems with modems and random hard lockups(?).
| |
| | Well, first off the upgrade didn't solve this and I can still
| reliably
| make
| | the box freeze with a new modem I bought which I hoped would cure
| the
| | problem... when infact it's 10x worse with that modem :o) Has
| anyone got
| | any ideas as to what could be causing this? The network card for
| the
| | internal side is an fxp card and the network card the modem is
| attached
| to
| | is an older 10megabit vx card (3com Etherlink III).
| |
| | I can't really think of any other information to provide right now
| but I
| | really would be grateful for some prompting of more info and a bit
| of
| help!
| | My last few emails to questions about the hard lock ups didn't get
| any
| | replies if I remember rightly :o)
| |
| | Aside from that, I just copied a 400 meg file over samba and it
| really
| did
| | seem incredibly slow compared to when it was running 4.9. It took
| agess
| | to untar the backup 1.5gig file too! Is there anything I am
| supposed to
| | tweak here?
| | I am thinking about just reinstalling 4.9 again but I would like
| to avoid
| | that if I can, as it would be alot of time wasted :o) I don't have
| any
| | numbers for this unfortuantly either, it just feels and seems a
| hell of
| | alot slower! For instance, when I was copying this file and tried
| to ssh
| in
| | from my windows machine it just sat there for ages doing
| (apparently)
| | nothing!
| |
| | Thanks!
| |
|
| Well I was just using bmon from ports to monitor the speed and
| copying a
| file to the box over samba is dramatically slower than copying from
| it:
|
| Copying a 1.5gig backup tar from the freebsd machine to my box is
| around
| 6-7 meg a second
| Copying a 600 odd meg file to the freebsd machine from my box is
| around
| only 1-2 meg a second!
|
| I do seem to remember having this kind of problem ages ago when I
| used
| Linux. Before installing 5.2.1 I did enable plug and play in BIOS
| (it hung
| with that turned on using 4.9, not with 5.2.1 though) so I will try
| disabling that either later or tomorrow morning to see if that fixes
| my
| issue! Could it be that which is causing it?
|
| Other than that I don't think I have had any major issues with the
| install
| yet :o) Well... except for it didn't solve my hard lockup problem
| like I
| hoped it would have. Seems like it isn't a hard disk performance
| drop
| though :o)
|

- Original Message - 
From: JJB [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Sent: Friday, April 23, 2004 1:33 PM
Subject: RE: Home server upgrade 4.9 - 5.2.1, drop in hard disk
ornetworkperformance?


| Release 5.x uses an new file system which many people have reported
| noticeable performance problems and hard disk sector lock outs. Keep
| in mind that all the 5.x version are full of new experimental code.
| If performance and reliability is requirement you need on your
| servers then only use the stable versions of FreeBSD. 4.9 is the
| current production stable version, 4.10 beta is available now and in
| 2 weeks 4.10 is scheduled to be released becoming the official
| current production stable version.

Yeah I realise that. I just find it a bit strange that it pulls off the
machine normal speeds but sending something over to it is really slow. I
don't remember it being so slow on 4.9! And the untar was slow from one
drive to the other... on seperate channels too (and that was before I
turned off write caching :o)

I am now playing about trying to figure out why the box keeps locking up on
me with my new modem :o( I compiled a kernel with invarients and witness
and stuff in but... it just locks up totally! I would appreciate it if
anyone could help me out or suggest anything at all!

At the moment I am thinking perhaps the card is just bad or something. An
old PCI 3COM Etherlink III 590 or something along those lines. I am about
to try it on my other 5.x box with just one intel card to see if it'll lock
that up too. Expect more moaning from me :o)

Thanks for your reply!!

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


Re: Home server upgrade 4.9 - 5.2.1, drop in hard diskornetworkperformance?

2004-04-23 Thread Markie

- Original Message - 
From: Markie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, April 23, 2004 2:21 PM
Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard
diskornetworkperformance?


|
|
| | -Original Message-
| | From: [EMAIL PROTECTED]
| | [mailto:[EMAIL PROTECTED] Behalf Of Markie
| | Sent: Thursday, April 22, 2004 6:15 PM
| | To: [EMAIL PROTECTED]
| | Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk
| | ornetworkperformance?
| |
| |
| | - Original Message -
| | From: Markie [EMAIL PROTECTED]
| | To: [EMAIL PROTECTED]
| | Sent: Thursday, April 22, 2004 10:53 PM
| | Subject: Home server upgrade 4.9 - 5.2.1, drop in hard disk or
| | networkperformance?
| |
| |
| | | Hello everyone!
| | |
| | | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after
| | having a
| | few
| | | problems with modems and random hard lockups(?).
| | |
| | | Well, first off the upgrade didn't solve this and I can still
| | reliably
| | make
| | | the box freeze with a new modem I bought which I hoped would cure
| | the
| | | problem... when infact it's 10x worse with that modem :o) Has
| | anyone got
| | | any ideas as to what could be causing this? The network card for
| | the
| | | internal side is an fxp card and the network card the modem is
| | attached
| | to
| | | is an older 10megabit vx card (3com Etherlink III).
| | |
| | | I can't really think of any other information to provide right now
| | but I
| | | really would be grateful for some prompting of more info and a bit
| | of
| | help!
| | | My last few emails to questions about the hard lock ups didn't get
| | any
| | | replies if I remember rightly :o)
| | |
| | | Aside from that, I just copied a 400 meg file over samba and it
| | really
| | did
| | | seem incredibly slow compared to when it was running 4.9. It took
| | agess
| | | to untar the backup 1.5gig file too! Is there anything I am
| | supposed to
| | | tweak here?
| | | I am thinking about just reinstalling 4.9 again but I would like
| | to avoid
| | | that if I can, as it would be alot of time wasted :o) I don't have
| | any
| | | numbers for this unfortuantly either, it just feels and seems a
| | hell of
| | | alot slower! For instance, when I was copying this file and tried
| | to ssh
| | in
| | | from my windows machine it just sat there for ages doing
| | (apparently)
| | | nothing!
| | |
| | | Thanks!
| | |
| |
| | Well I was just using bmon from ports to monitor the speed and
| | copying a
| | file to the box over samba is dramatically slower than copying from
| | it:
| |
| | Copying a 1.5gig backup tar from the freebsd machine to my box is
| | around
| | 6-7 meg a second
| | Copying a 600 odd meg file to the freebsd machine from my box is
| | around
| | only 1-2 meg a second!
| |
| | I do seem to remember having this kind of problem ages ago when I
| | used
| | Linux. Before installing 5.2.1 I did enable plug and play in BIOS
| | (it hung
| | with that turned on using 4.9, not with 5.2.1 though) so I will try
| | disabling that either later or tomorrow morning to see if that fixes
| | my
| | issue! Could it be that which is causing it?
| |
| | Other than that I don't think I have had any major issues with the
| | install
| | yet :o) Well... except for it didn't solve my hard lockup problem
| | like I
| | hoped it would have. Seems like it isn't a hard disk performance
| | drop
| | though :o)
| |
|
| - Original Message - 
| From: JJB [EMAIL PROTECTED]
| To: Markie [EMAIL PROTECTED]
| Sent: Friday, April 23, 2004 1:33 PM
| Subject: RE: Home server upgrade 4.9 - 5.2.1, drop in hard disk
| ornetworkperformance?
|
|
| | Release 5.x uses an new file system which many people have reported
| | noticeable performance problems and hard disk sector lock outs. Keep
| | in mind that all the 5.x version are full of new experimental code.
| | If performance and reliability is requirement you need on your
| | servers then only use the stable versions of FreeBSD. 4.9 is the
| | current production stable version, 4.10 beta is available now and in
| | 2 weeks 4.10 is scheduled to be released becoming the official
| | current production stable version.
|
| Yeah I realise that. I just find it a bit strange that it pulls off the
| machine normal speeds but sending something over to it is really slow. I
| don't remember it being so slow on 4.9! And the untar was slow from one
| drive to the other... on seperate channels too (and that was before I
| turned off write caching :o)
|
| I am now playing about trying to figure out why the box keeps locking up
on
| me with my new modem :o( I compiled a kernel with invarients and witness
| and stuff in but... it just locks up totally! I would appreciate it if
| anyone could help me out or suggest anything at all!
|
| At the moment I am thinking perhaps the card is just bad or something. An
| old PCI 3COM Etherlink III 590 or something along those lines. I am about
| to try it on my

Home server upgrade 4.9 - 5.2.1, drop in hard disk or network performance?

2004-04-22 Thread Markie
Hello everyone!

I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after having a few
problems with modems and random hard lockups(?).

Well, first off the upgrade didn't solve this and I can still reliably make
the box freeze with a new modem I bought which I hoped would cure the
problem... when infact it's 10x worse with that modem :o) Has anyone got
any ideas as to what could be causing this? The network card for the
internal side is an fxp card and the network card the modem is attached to
is an older 10megabit vx card (3com Etherlink III).

I can't really think of any other information to provide right now but I
really would be grateful for some prompting of more info and a bit of help!
My last few emails to questions about the hard lock ups didn't get any
replies if I remember rightly :o)

Aside from that, I just copied a 400 meg file over samba and it really did
seem incredibly slow compared to when it was running 4.9. It took agess
to untar the backup 1.5gig file too! Is there anything I am supposed to
tweak here?
I am thinking about just reinstalling 4.9 again but I would like to avoid
that if I can, as it would be alot of time wasted :o) I don't have any
numbers for this unfortuantly either, it just feels and seems a hell of
alot slower! For instance, when I was copying this file and tried to ssh in
from my windows machine it just sat there for ages doing (apparently)
nothing!

Thanks!

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


Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk or networkperformance?

2004-04-22 Thread Markie

- Original Message - 
From: Markie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 10:53 PM
Subject: Home server upgrade 4.9 - 5.2.1, drop in hard disk or
networkperformance?


| Hello everyone!
|
| I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after having a
few
| problems with modems and random hard lockups(?).
|
| Well, first off the upgrade didn't solve this and I can still reliably
make
| the box freeze with a new modem I bought which I hoped would cure the
| problem... when infact it's 10x worse with that modem :o) Has anyone got
| any ideas as to what could be causing this? The network card for the
| internal side is an fxp card and the network card the modem is attached
to
| is an older 10megabit vx card (3com Etherlink III).
|
| I can't really think of any other information to provide right now but I
| really would be grateful for some prompting of more info and a bit of
help!
| My last few emails to questions about the hard lock ups didn't get any
| replies if I remember rightly :o)
|
| Aside from that, I just copied a 400 meg file over samba and it really
did
| seem incredibly slow compared to when it was running 4.9. It took
agess
| to untar the backup 1.5gig file too! Is there anything I am supposed to
| tweak here?
| I am thinking about just reinstalling 4.9 again but I would like to avoid
| that if I can, as it would be alot of time wasted :o) I don't have any
| numbers for this unfortuantly either, it just feels and seems a hell of
| alot slower! For instance, when I was copying this file and tried to ssh
in
| from my windows machine it just sat there for ages doing (apparently)
| nothing!
|
| Thanks!
|

Well I was just using bmon from ports to monitor the speed and copying a
file to the box over samba is dramatically slower than copying from it:

Copying a 1.5gig backup tar from the freebsd machine to my box is around
6-7 meg a second
Copying a 600 odd meg file to the freebsd machine from my box is around
only 1-2 meg a second!

I do seem to remember having this kind of problem ages ago when I used
Linux. Before installing 5.2.1 I did enable plug and play in BIOS (it hung
with that turned on using 4.9, not with 5.2.1 though) so I will try
disabling that either later or tomorrow morning to see if that fixes my
issue! Could it be that which is causing it?

Other than that I don't think I have had any major issues with the install
yet :o) Well... except for it didn't solve my hard lockup problem like I
hoped it would have. Seems like it isn't a hard disk performance drop
though :o)

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

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


Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk ornetworkperformance?

2004-04-22 Thread Markie

- Original Message - 
From: Markie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 11:14 PM
Subject: Re: Home server upgrade 4.9 - 5.2.1, drop in hard disk
ornetworkperformance?


|
| - Original Message - 
| From: Markie [EMAIL PROTECTED]
| To: [EMAIL PROTECTED]
| Sent: Thursday, April 22, 2004 10:53 PM
| Subject: Home server upgrade 4.9 - 5.2.1, drop in hard disk or
| networkperformance?
|
|
| | Hello everyone!
| |
| | I just upgraded my home server frmo 4.9-R-p3 to 5.2.1-R after having a
| few
| | problems with modems and random hard lockups(?).
| |
| | Well, first off the upgrade didn't solve this and I can still reliably
| make
| | the box freeze with a new modem I bought which I hoped would cure the
| | problem... when infact it's 10x worse with that modem :o) Has anyone
got
| | any ideas as to what could be causing this? The network card for the
| | internal side is an fxp card and the network card the modem is attached
| to
| | is an older 10megabit vx card (3com Etherlink III).
| |
| | I can't really think of any other information to provide right now but
I
| | really would be grateful for some prompting of more info and a bit of
| help!
| | My last few emails to questions about the hard lock ups didn't get any
| | replies if I remember rightly :o)
| |
| | Aside from that, I just copied a 400 meg file over samba and it really
| did
| | seem incredibly slow compared to when it was running 4.9. It took
| agess
| | to untar the backup 1.5gig file too! Is there anything I am supposed to
| | tweak here?
| | I am thinking about just reinstalling 4.9 again but I would like to
avoid
| | that if I can, as it would be alot of time wasted :o) I don't have any
| | numbers for this unfortuantly either, it just feels and seems a hell of
| | alot slower! For instance, when I was copying this file and tried to
ssh
| in
| | from my windows machine it just sat there for ages doing (apparently)
| | nothing!
| |
| | Thanks!
| |
|
| Well I was just using bmon from ports to monitor the speed and copying a
| file to the box over samba is dramatically slower than copying from it:
|
| Copying a 1.5gig backup tar from the freebsd machine to my box is around
| 6-7 meg a second
| Copying a 600 odd meg file to the freebsd machine from my box is around
| only 1-2 meg a second!
|
| I do seem to remember having this kind of problem ages ago when I used
| Linux. Before installing 5.2.1 I did enable plug and play in BIOS (it
hung
| with that turned on using 4.9, not with 5.2.1 though) so I will try
| disabling that either later or tomorrow morning to see if that fixes my
| issue! Could it be that which is causing it?
|
| Other than that I don't think I have had any major issues with the
install
| yet :o) Well... except for it didn't solve my hard lockup problem like I
| hoped it would have. Seems like it isn't a hard disk performance drop
| though :o)
|

Ok, well, I just rebooted and put plug and play os back to disabled but
it's the same... so I guess this must have something to do with it being a
newer version of samba (same config as before though) or freebsd? Anyone
else seem anything like this before?

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


Re: Configuring Compaz Wireless Optical Wheel Mouse

2004-04-18 Thread Markie

- Original Message - 
From: Gerard Seibert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, April 18, 2004 12:43 PM
Subject: Re: Configuring Compaz Wireless Optical Wheel Mouse


 On Sunday, April 18, 2004 6:10:43 AM Markie [EMAIL PROTECTED]
wrote:

 |Date: Sun, 18 Apr 2004 00:59:32 +0100
 |From: Markie [EMAIL PROTECTED]
 |Subject: Re: Configuring Compaq Wireless Optical Wheel Mouse
 |To: [EMAIL PROTECTED], FreeBSD Questions
 | [EMAIL PROTECTED]
 |Message-ID: [EMAIL PROTECTED]
 |Content-Type: text/plain; charset=iso-8859-1
 |
 |Try /dev/ums0 :)
 |
 |- Original Message - 
 |From: Gerard Seibert [EMAIL PROTECTED]
 |To: FreeBSD Questions [EMAIL PROTECTED]
 |Sent: Sunday, April 18, 2004 12:28 AM
 |Subject: Configuring Compaq Wireless Optical Wheel Mouse
 |
 |
 | I am trying to configure a COMPAQ Wirless Optical Mouse to work with
KDE
 |on
 | FreeBSD 5.2.1. so far I have not been very successful. This is a USB
 |mouse.
 |
 | I can get the mouse pointer to work in FreeBSD and KDE without any
 |problem.
 | However, I can not get the wheel to work anywhere.
 |
 | This is the output of the 'dmesg.today' file:
 |
 | [EMAIL PROTECTED] /var/log $ cat dmesg.today
 | Copyright (c) 1992-2004 The FreeBSD Project.
 | Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
 | The Regents of the University of California. All rights
reserved.
 | FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
 | [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 | Preloaded elf kernel /boot/kernel/kernel at 0xc0a0e000.# Identifier
and
 | driver
 | Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc0a0e0cc.
 | Preloaded elf module /boot/kernel/sn# Identifier and driver
 | d_ess.ko at 0xc0a0e178.
 | Preloaded elf module /boot/kernel/snd_sbc.ko at 0xc0a0e224.
 | Timecounter i8254 frequency 1193182 Hz quality 0
 | CPU: Pentium II/Pentium II Xeon/Celeron (397.33-MHz 686-class CPU)
 |   Origin = GenuineIntel  Id = 0x651  Stepping = 1
 |

|Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMO
V,
 |PAT,PSE36,MMX,FXSR
 | real memory  = 402653184 (384 MB)
 | avail memory = 381427712 (363 MB)
 | Pentium Pro MTRR support enabled
 | npx0: [FAST]
 | npx0: math processor on motherboard
 | npx0: INT 16 interface
 | pcibios: BIOS version 2.10
 | Using $PIR table, 5 entries at 0xc00fa040
 | pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on
 |motherboard
 | pci0: PCI bus on pcib0
 | pci_cfgintr: 0:4 INTA BIOS irq 11
 | pci_cfgintr: 0:20 INTD BIOS irq 11
 | agp0: Intel 82443BX (440 BX) host to PCI bridge mem
 |0x4400-0x47ff at
 | device 0.0 on pci0
 | pcib1: PCI-PCI bridge at device 1.0 on pci0
 | pci1: PCI bus on pcib1
 | pci_cfgintr: 0:1 INTA routed to irq 4
 | pcib1: slot 0 INTA is routed to irq 4
 | pci1: display, VGA at device 0.0 (no driver attached)
 | rl0: RealTek 8139 10/100BaseTX port 0x2400-0x24ff mem
 |0x4110-0x411000ff
 | irq 11 at device 4.0 on pci0
 | rl0: Ethernet address: 00:50:ba:40:6d:e1
 | miibus0: MII bus on rl0
 | rlphy0: RealTek internal media interface on miibus0
 | rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 | isab0: PCI-ISA bridge at device 20.0 on pci0
 | isa0: ISA bus on isab0
 | atapci0: Intel PIIX4 UDMA33 controller port 0x20a0-0x20af at device
20.1
 |on
 | pci0
 | ata0: at 0x1f0 irq 14 on atapci0
 | ata0: [MPSAFE]
 | ata1: at 0x170 irq 15 on atapci0
 | ata1: [MPSAFE]
 | uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x2080-0x209f
irq 11
 |at
 | device 20.2 on pci0
 | usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
 | usb0: USB revision 1.0
 | uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 | uhub0: 2 ports with 2 removable, self powered
 | ums0: MOUSE SYSTEM U+P RF Mouse Receiver, rev 1.10/0.00, addr 2,
iclass
 |3/1
 | ums0: 5 buttons and Z dir.
 | piix0: PIIX Timecounter port 0xee80-0xee8f at device 20.3 on pci0
 | Timecounter PIIX frequency 3579545 Hz quality 0
 | orm0: Option ROM at iomem 0xc-0xc on isa0
 | pmtimer0 on isa0
 | atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
 | atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
 | kbd0 at atkbd0
 | fdc0: Enhanced floppy controller (i82077, NE72065 or clone) at port
 | 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
 | fdc0: FIFO enabled, 8 bytes threshold
 | fd0: 1440-KB 3.5 drive on fdc0 drive 0
 | ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
 | ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 | ppc0: FIFO with 16/16/15 bytes threshold
 | ppbus0: Parallel port bus on ppc0
 | plip0: PLIP network interface on ppbus0
 | lpt0: Printer on ppbus0
 | lpt0: Interrupt-driven port
 | ppi0: Parallel I/O on ppbus0
 | sc0: System console at flags 0x100 on isa0
 | sc0: VGA 16 virtual consoles, flags=0x300
 | sio0: configured irq 4 not in bitmap of probed irqs 0
 | sio0: port may not be enabled
 | sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 | sio0: type 16550A
 | sio1: configured irq 3

Re: Configuring Compaq Wireless Optical Wheel Mouse

2004-04-17 Thread Markie
Try /dev/ums0 :)

- Original Message - 
From: Gerard Seibert [EMAIL PROTECTED]
To: FreeBSD Questions [EMAIL PROTECTED]
Sent: Sunday, April 18, 2004 12:28 AM
Subject: Configuring Compaq Wireless Optical Wheel Mouse


 I am trying to configure a COMPAQ Wirless Optical Mouse to work with KDE
on
 FreeBSD 5.2.1. so far I have not been very successful. This is a USB
mouse.

 I can get the mouse pointer to work in FreeBSD and KDE without any
problem.
 However, I can not get the wheel to work anywhere.

 This is the output of the 'dmesg.today' file:

 [EMAIL PROTECTED] /var/log $ cat dmesg.today
 Copyright (c) 1992-2004 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel /boot/kernel/kernel at 0xc0a0e000.# Identifier and
 driver
 Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc0a0e0cc.
 Preloaded elf module /boot/kernel/sn# Identifier and driver
 d_ess.ko at 0xc0a0e178.
 Preloaded elf module /boot/kernel/snd_sbc.ko at 0xc0a0e224.
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Pentium II/Pentium II Xeon/Celeron (397.33-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x651  Stepping = 1

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR
 real memory  = 402653184 (384 MB)
 avail memory = 381427712 (363 MB)
 Pentium Pro MTRR support enabled
 npx0: [FAST]
 npx0: math processor on motherboard
 npx0: INT 16 interface
 pcibios: BIOS version 2.10
 Using $PIR table, 5 entries at 0xc00fa040
 pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on
motherboard
 pci0: PCI bus on pcib0
 pci_cfgintr: 0:4 INTA BIOS irq 11
 pci_cfgintr: 0:20 INTD BIOS irq 11
 agp0: Intel 82443BX (440 BX) host to PCI bridge mem
0x4400-0x47ff at
 device 0.0 on pci0
 pcib1: PCI-PCI bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 pci_cfgintr: 0:1 INTA routed to irq 4
 pcib1: slot 0 INTA is routed to irq 4
 pci1: display, VGA at device 0.0 (no driver attached)
 rl0: RealTek 8139 10/100BaseTX port 0x2400-0x24ff mem
0x4110-0x411000ff
 irq 11 at device 4.0 on pci0
 rl0: Ethernet address: 00:50:ba:40:6d:e1
 miibus0: MII bus on rl0
 rlphy0: RealTek internal media interface on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 isab0: PCI-ISA bridge at device 20.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel PIIX4 UDMA33 controller port 0x20a0-0x20af at device 20.1
on
 pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata0: [MPSAFE]
 ata1: at 0x170 irq 15 on atapci0
 ata1: [MPSAFE]
 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x2080-0x209f irq 11
at
 device 20.2 on pci0
 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
 usb0: USB revision 1.0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 ums0: MOUSE SYSTEM U+P RF Mouse Receiver, rev 1.10/0.00, addr 2, iclass
3/1
 ums0: 5 buttons and Z dir.
 piix0: PIIX Timecounter port 0xee80-0xee8f at device 20.3 on pci0
 Timecounter PIIX frequency 3579545 Hz quality 0
 orm0: Option ROM at iomem 0xc-0xc on isa0
 pmtimer0 on isa0
 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 fdc0: Enhanced floppy controller (i82077, NE72065 or clone) at port
 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/15 bytes threshold
 ppbus0: Parallel port bus on ppc0
 plip0: PLIP network interface on ppbus0
 lpt0: Printer on ppbus0
 lpt0: Interrupt-driven port
 ppi0: Parallel I/O on ppbus0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 sio0: configured irq 4 not in bitmap of probed irqs 0
 sio0: port may not be enabled
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 sio4: U.S. Robotics 56K Voice INT at port 0x2f8-0x2ff irq 3 on isa0
 sio4: type 16550A
 unknown: PNP0401 can't assign resources (port)
 unknown: PNP0501 can't assign resources (port)
 sbc0: ESS ES1869 (Compaq OEM) at port
0x330-0x331,0x388-0x38b,0x220-0x22f
 irq 5 drq 3,1 on isa0
 pcm0: ESS 18xx DSP on sbc0
 unknown: PNP0700 can't assign resources (port)
 unknown: PNP0303 can't assign resources (port)
 unknown: PNP0c02 can't assign resources (port)
 Timecounter TSC frequency 397331698 Hz quality 800
 Timecounters tick every 10.000 msec
 GEOM: create disk ad0 dp=0xc3b55260
 ad0: 7665MB QUANTUM Bigfoot TX8.0AT [15574/16/63] at ata0-master UDMA33
 

lpt0 stopped working after upgrading

2004-03-19 Thread Markie
Hello,

I recently upgraded to the latest -CURRENT and afterwards my printer would
no longer print over Samba via CUPS. At first I thought it was a CUPS/Samba
problem so I deinstalled and recompiled both of those but the problem still
remains.

CUPS recieves the print jobs ok and tries to print but in the web interface
it says something along the lines of parallel port busy, retrying in 30
seconds... and indeed trying echo hello  /dev/lpt0 says device busy. I
deleted the printer from CUPS yesterday to discover that lpt0 is no longer
in the drop down list where you select where the printer is attached (serial
0 and 1, parallel etc). I have unplugged the printer lead and tried too and
I get the same device busy, but maybe that's supposed to happen if there's
nothing plugged in? Also on boot the printer gets recognised properly with
the lead in.

I have also tried disabling ACPI in BIOS as I read somewhere that this may
solve the problem, but it's the same :o)

Can anyone help me? Should I post this to the current list instead?
Thanks

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


Yet another panic... using /dev/speaker this time

2004-03-07 Thread Markie
Well I think I have worked around my other panic that I posted a few days
ago by updating the modems firmware, atleast it doesn't panic under the
situation it did last time. I still believe the bug exists somewhere though
and i'm sure I could still reproduce it if anyone is interested.

Just now I was playing about with /dev/speaker for a script I want to beep.
I did an `echo a  /dev/speaker` and it worked, but I decided I wanted it
longer or some kind of pattern. I followed this by an `echo aaa 
/dev/speaker` and it worked :o) I then went on to read the man page and
found out about raising and lowering octaves and pauses, so next I tried
`echo aPa  /dev/speaker` and indeed there was a pause. However, when I
tried `echo aPa  /dev/speaker` (which I think is wrong anyhow but never
mind) my SSH session froze and I knew something had gone wrong.

Unfortuantly the monitor had become unplugged from when I was fiddling about
so I didn't get to see anything on screen, but I did get a coredump for what
it's worth. It isn't from a debugging kernel either, if need be I can load a
debugging kernel and see if I can reproduce it. ( I am beginning to think I
never should have upgraded :o) )

Anyway, here goes nothing:

---
IdlePTD at phsyical address 0x00361000
initial pcb at physical address 0x002bb620
panicstr: getnewbuf: locked buf
panic messages:
---
panic: lockmgr: pid 8486, not exclusive lock holder 7018 unlocking

syncing disks... panic: getnewbuf: locked buf
Uptime: 3d13h40m34s

dumping to dev #ad/0x20001, offset 65664
dump ata0: resetting devices .. done
95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71
70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46
45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
---
#0  0xc015bea2 in dumpsys ()
(kgdb) bt
#0  0xc015bea2 in dumpsys ()
#1  0xc015bc6c in boot ()
#2  0xc015c0a0 in poweroff_wait ()
#3  0xc0183d4f in getnewbuf ()
#4  0xc01849cf in geteblk ()
#5  0xc0182b8d in bwrite ()
#6  0xc018869f in vop_stdbwrite ()
#7  0xc01884b5 in vop_defaultop ()
#8  0xc0183006 in bawrite ()
#9  0xc01965b0 in spec_fsync ()
#10 0xc0214d48 in ffs_sync ()
#11 0xc018d74b in sync ()
#12 0xc015ba06 in boot ()
#13 0xc015c0a0 in poweroff_wait ()
#14 0xc0155e48 in lockmgr ()
#15 0xc0183698 in brelse ()
#16 0xc0260bea in spkrclose ()
#17 0xc019687f in spec_close ()
#18 0xc021cb06 in ufsspec_close ()
#19 0xc021d101 in ufs_vnoperatespec ()
#20 0xc01921a7 in vn_close ()
#21 0xc0192afe in vn_closefile ()
#22 0xc0150eb8 in fdrop ()
---Type return to continue, or q return to quit---
#23 0xc0150dfc in closef ()
#24 0xc0150931 in fdfree ()
#25 0xc015381a in exit1 ()
#26 0xc015368d in sys_exit ()
#27 0xc0255361 in syscall2 ()
#28 0xc02466f5 in Xint0x80_syscall ()
#29 0x28084887 in ?? ()
#30 0x28082185 in ?? ()
#31 0x2808182f in ?? ()
#32 0x280812bf in ?? ()
#33 0x2808101a in ?? ()
#34 0x280940e3 in ?? ()
#35 0x28096958 in ?? ()
#36 0x8048502 in ?? ()
#37 0x8048442 in ?? ()
(kgdb)
---

I'm not sure if this should goto hackers or current or bugs or... what, so
i'll send it to all of them (although I am not subscribed to hackers and
current or bugs anymore). It's a 4.9-R-p3 machine... sorry if I am annoying
you all :o)

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


FreeBSD nat machine semi-crashing? with lots of connections going through it and a change of IP address

2004-02-28 Thread Markie
Hi all

I am having a few problems with a FreeBSD gateway machine, as you may have
guessed. A little bit of background info:

I was running 4.8-R-pcan't remember for a long while, all running smooth.
Whilst it was up I had cvsupped to 4.8-R-p18 was it? I think... anyhow, my
brother tripped over the adsl line and it got unplugged so I took that
oppertunity to installworld and installkernel and reboot. This is where my
troubles seemed to have begun...

Everything seemed normal until out of the blue the box appeared to have
locked up on me and it was pretty close to a point where for whatever reason
I got disconnected. It was a rather old 133MHz and I had a 350MHz machine
laying around which I was going to swap over with it. I did that, just stuck
the two network cards and hard disk into that PC booted up and it worked
first go (I'm impressed :)) left it for a while, turned the modem off and
back on and it locked up again very shortly after s I updated to
4.9-R-p2 to see if that would fix it, nope!

Next up I tried swapping the outside ethernet card attached to the modem
with a nicer fxp card, it was using an old 3com etherlink III card before
that, but I had the same problem still! So i've come to believe it's got
nothing to do with the hardware at all now? Anyway, I kept messing about and
stuck a graphics card in and plugged a monitor in and noticed that just
before it locked up I got flooded with icmp redirect messages
lotsand it then occured to me that all this time I had overnet running
on my windows machine which makes alot of connections, 30 to server things
and then 1 for each download source person I think? So I closed that and
repeated the tests and it didn't do it! As soon as I ran it again though,
boom!

I know it's a bit sad like, perhaps I shouldn't be bothered about it.
but it's annoying me since I figured out what it is! Anyway, after fiddling
and making it 'crash' (it never panics, just seemed to lockup) I starting
hitting the keyboard ... mainly out of stress :) and hit the scroll lock key
and noticed the cursor disappeared as if it was going to let me scroll on
the console, pressed the up arrow or page up and it just went into a long
continous beep. The next time I tried ctrl + break and it said something
along the lines of 'no debugger in kernel'. So I went on to compile this
kernel debugger... although I am not sure how useful it's going to be. I
managed to force it to panic when it apparently freezes up and got a umm
backtrace? from the core dump too:

panic messages:
---
panic: from debugger

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x10
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc02313e1
stack pointer   = 0x10:0xc02a275c
frame pointer   = 0x10:0xc02a27b4
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = Idle
interrupt mask  = tty
panic: from debugger
Uptime: 12m1s

dumping to dev #ad/0x20001, offset 65664


kgdb) bt
#0  0xc015f5f2 in dumpsys ()
#1  0xc015f3bc in boot ()
#2  0xc015f809 in panic ()
#3  0xc011fa89 in db_panic ()
#4  0xc011fa27 in db_command ()
#5  0xc011faee in db_command_loop ()
#6  0xc0121cc7 in db_trap ()
#7  0xc024b312 in kdb_trap ()
#8  0xc025af4c in trap ()
#9  0xc024b561 in Debugger ()
#10 0xc02464a6 in scgetc ()
#11 0xc0242b65 in sckbdevent ()
#12 0xc023a217 in atkbd_intr ()
#13 0xc0267458 in atkbd_isa_intr ()
#14 0xc01c0b27 in ipfw_chk ()
#15 0xc01c3316 in ip_input ()
#16 0xc01c3997 in ipintr ()
#17 0xc024d679 in swi_net_next ()


I'm not to sure what else to say but I sure hope someone can help me out
here, please? :o) Any more info needed just ask!

Thanks!

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


Re: konsole crashing on 5.2-RC

2003-12-17 Thread Markie
- Original Message -
From: Shantanoo Mahajan [EMAIL PROTECTED]
To: Kent Stewart [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 15, 2003 6:39 PM
Subject: Re: konsole crashing on 5.2-RC


 +++ Kent Stewart [15-12-03 10:03 -0800]:
 | On Monday 15 December 2003 09:54 am, Shantanoo Mahajan wrote:
 |  Hello,
 | 
 |  I cvsupped to 5.2-RC. Initially installed 5.0-RELEASE. then upgraded
 |  to 5.1-RELEASE-p11 and then to 5.2-RC
 | 
 |  # uname -sr
 |  FreeBSD 5.2-RC
 | 
 |  And now when I tried to run konsole in KDE, it is giving me the
 |  following error
 | 
 |  -From backtrace
 |  0x28f6922f in poll () from /lib/libc.so.5
 |  #0  0x28f6922f in poll () from /lib/libc.so.5
 |  #1  0x28f0da51 in _thread_kern_sched_state_unlock () from
 |  /usr/lib/libc_r.so.5 #2  0x28f0d445 in _thread_kern_scheduler () from
 |  /usr/lib/libc_r.so.5 ---
 | 
 |  And on the ttyv0 followin message is displayed.
 | 
 |  Warning: pid 633 used static ldt allocation.
 |  See the i386_set_ldt man page for more info
 | 
 | 
 |  Followed following method for making world
 | 
 |  # cd /usr/src
 |  # make buildworld
 |  # make kernel
 |  # reboot
 |  # cd /usr/src
 |  # make installworld
 |  # mergemaster -p
 | 
 |
 | I thought the mergemaster -p was for in front of the installworld to
catch
 | things like new users and group. You normally run
 | mergemaster -i after.

 Thanks a lot
 I did mergemater -i and the changes were made to the system.
 even after doing this, the problem is as it is :-(

  dmesg | tail
 Warning: pid 747 used static ldt allocation.
 See the i386_set_ldt man page for more info
 Warning: pid 752 used static ldt allocation.
 See the i386_set_ldt man page for more info
 Warning: pid 756 used static ldt allocation.
 See the i386_set_ldt man page for more info
 Warning: pid 755 used static ldt allocation.
 See the i386_set_ldt man page for more info
 Warning: pid 757 used static ldt allocation.
 See the i386_set_ldt man page for more info

 |
 | Kent
 |
 |  no changes were made by mergemaster.
 |  Shantanoo
 |
 | --
 | Kent Stewart
 | Richland, WA
 |
 | http://users.owt.com/kstewart/index.html

I had this problem too, though I don't think I got those warnings from it...
they were appearing, because of mysql, however. That was shortly followed by
filesystem corruption, a fresh install of 5.1 seemed to fix the konsole
crash problem for me, I am now cvsupped to 5.2-C and it still works...

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


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


Re: Logitech MX Duo troubles (fast RF wireless keyboard and mouse)

2003-11-17 Thread Markie
- Original Message -
From: kirt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 3:15 PM
Subject: Logitech MX Duo troubles (fast RF wireless keyboard and mouse)


 i recently had a small child (my daughter) jump into my lap while drinking
a
 mr. pibb which then ended up pouring almost directly into my old keyboard.
 while i have attemtpted to clean that keyboard out (washed it thoroughly),
i'm
 still waiting for it to dry before testing it.  so, in the mean time, i
 thought i'd go ahead and get a new keyboard.  since staples and the other
 local computer stores don't carry my keyboard of choice, i settled for
the
 next best thing, which was the logitech MX duo (which is the logitech
elite
 wireless keyboard and the MX700 mouse).  both of these work perfectly in
 windows, even through my KVM (an IoGear miniview USB KVM model G-CS104U).
but,
 when i use the KVM to switch to the freebsd box, it notices the USB
devices
 like this...

 uhub3: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr 2
 uhub3: 4 ports with 4 removable, self powered
 ukbd0: Logitech USB Receiver, rev 1.10/21.00, addr 3, class 3/1
 kbd0 at ukbd0
 ums0: Logitech USB Reveiver, rev 1.10/21.00, addr 3, class 3/1
 ums0: 7 buttons and Z dir

 then, the keyboard will work, although it has a tendency to feel laggy
and
 sometimes repeats letters if i'm typing quickly, and the mouse doesn't
work at
 all.  so... i need to figure out why the keyboard is laggy to begin with
(even
 though it is perfectly responsive in windows) and why the mouse doesn't
even
 show up.   thanks in advance...  ;D

 kirt
 ___

What version of freebsd are you running? I have the same mouse and a belkin
2 port e series switch and it's quite the opposite. Works good both ways but
after I switch from Windows - Freebsd then back to Windows again it feels
laggy in Windows until I unplug it and plug it back in again. I am using the
PS2 convertor.

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


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


Re: Logitech MX Duo troubles (fast RF wireless keyboard and mouse)

2003-11-17 Thread Markie

- Original Message -
From: kirt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 17, 2003 6:54 PM
Subject: Re: Logitech MX Duo troubles (fast RF wireless keyboard and mouse)


 On Tue, Nov 18, 2003 at 06:45:58AM -, Markie wrote:
   i recently had a small child (my daughter) jump into my lap while
drinking
  a
   mr. pibb which then ended up pouring almost directly into my old
keyboard.
   while i have attemtpted to clean that keyboard out (washed it
thoroughly),
  i'm
   still waiting for it to dry before testing it.  so, in the mean time,
i
   thought i'd go ahead and get a new keyboard.  since staples and the
other
   local computer stores don't carry my keyboard of choice, i settled
for
  the
   next best thing, which was the logitech MX duo (which is the logitech
  elite
   wireless keyboard and the MX700 mouse).  both of these work perfectly
in
   windows, even through my KVM (an IoGear miniview USB KVM model
G-CS104U).
  but,
   when i use the KVM to switch to the freebsd box, it notices the USB
  devices
   like this...
  
   uhub3: Texas Instruments TUSB2046 hub, class 9/0, rev 1.10/1.25, addr
2
   uhub3: 4 ports with 4 removable, self powered
   ukbd0: Logitech USB Receiver, rev 1.10/21.00, addr 3, class 3/1
   kbd0 at ukbd0
   ums0: Logitech USB Reveiver, rev 1.10/21.00, addr 3, class 3/1
   ums0: 7 buttons and Z dir
  
   then, the keyboard will work, although it has a tendency to feel
laggy
  and
   sometimes repeats letters if i'm typing quickly, and the mouse doesn't
  work at
   all.  so... i need to figure out why the keyboard is laggy to begin
with
  (even
   though it is perfectly responsive in windows) and why the mouse
doesn't
  even
   show up.   thanks in advance...  ;D
  
   kirt
   ___
 
  What version of freebsd are you running? I have the same mouse and a
belkin
  2 port e series switch and it's quite the opposite. Works good both ways
but
  after I switch from Windows - Freebsd then back to Windows again it
feels
  laggy in Windows until I unplug it and plug it back in again. I am using
the
  PS2 convertor.
 
 i'm using FreeBSD 5.1 p10, but since my KVM is USB only i have it plugged
in
 using the USB port.  I otherwise love the keyboard and mouse, but if i
can't
 use it with FreeBSD i'll probably take it back, since i only use my
windows
 box for playing games and such, and do most of my real work on my BSD box.
 not being able to type at a sufficient speed is a tremendous pain.

 i have noticed one thing, that in windows if i'm holding a key down and i
 press another key, it stops the held down key, prints the currently hit
key
 and then stops.  for example... kg

 in FreeBSD if i'm holding down a key and press another key it prints the
 pressed key once and then resumes spitting out the still held down key,
for
 example kgkkk

 is there a way to get freebsd to use the first (windows) behavior? as i
think
 that will help with the slight bit of lag i'm getting in BSD causing
 characters to double print.

 -kirt

Ahh, I think someone else had this problem fairly recently with a USB
keyboard thinking about it, possibly on the hackers list. Possibly fixed
in -CURRENT *but I am not sure!* You may want to give -CURRENT a shot or
perhaps try 4.9? Sorry I am not much help :oP I am pretty sure I remember
your keyboard problem being mentioned on either questions or hackers though.

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


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


Re: Samba Change Password from Windows using ctrl-alt-delete

2003-10-07 Thread Markie
Just like to say that I have this same problem too :o) Posted it to the
Samba list and here quite a while ago but.. no answer! 4.8 and Samba 2.2.8a
here too, I am going to try 3.0 soon.

- Original Message -
From: List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 7:23 PM
Subject: Samba Change Password from Windows using ctrl-alt-delete


 I have seen this question posted a number of times without an answer,
 and there's a bug from June in the ports database regarding this issue.
 Running 4.8 and samba 2.2.8a.

 I receive the following error when trying to change a samba password
 from a windows client: The system cannot change your password now
 because the domain is not available.

 Samba logs indicate:
 [2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(92)
netbios connect: name1=CPUXSV01 name2=IPAQDK
 [2003/10/07 11:00:09, 2] smbd/reply.c:reply_special(111)
netbios connect: local=cpuxsv01 remote=ipaqdk
 [2003/10/07 11:00:09, 0] lib/util_sec.c:assert_gid(114)
Failed to set gid privileges to (0,1001) now set to (1001,1001)
 uid=(0,1001)
 [2003/10/07 11:00:09, 0] lib/util.c:smb_panic(1094)
PANIC: failed to set gid

 Any help would be appreciated,

 Clay

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


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


Re: Two X sessions on one machine???

2003-09-04 Thread Markie
- Original Message -
From: KroNiC~BSD [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 5:06 AM
Subject: Two X sessions on one machine???


 Is it possible to have more that one X session running on the same
 machine? The problem is if i want to create a remote X connection to my
 linux machine via my Freebsd machine i have to kill the current running
 LOCAL X session first.then i can from the freebsd machine # X
 -query 192.168.0.6
 and get a X session on the linux machine.

 On my Freebsd box, with a local X session , i would like to open a
 terminal ...aterm or xterm and then somehow in that terminal create a X
 session to the linux machine.

 I have tried this but get the following error:

 freeebsd# X -query 192.168.0.62

 Fatal server error:
 Server is already active for display 0
 If this server is no longer running, remove /tmp/.X0-lock
 and start again.


 When reporting a problem related to a server crash, please send
 the full server output, not just the last messages.
 Please report problems to [EMAIL PROTECTED]



 i assume the error is local because my current running local X session is
 on display 0 .

 is it possible for me to do this as i would like to remotly connect to 3
 machines via X but still have use of my local machine


 Thanks in advance.
 --
   KroNiC~BSD
   [EMAIL PROTECTED]

 --
 http://www.fastmail.fm - mmm... Fastmail...

http://linux.about.com/library/bl/open/newbie/blnewbie4.3.6.htm

Looks about right, I remember doing this a long time ago but couldn't
remember how. Thanks for making me get some motivation to make myself look
it up :o)

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


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


Re: The VI editor

2003-08-30 Thread Markie
- Original Message -
From: Joshua Oreman [EMAIL PROTECTED]
To: mats [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, August 30, 2003 5:44 AM
Subject: Re: The VI editor


 [Please break your lines at a manageable length -- 72 is good]

 On Sat, Aug 30, 2003 at 04:30:10AM +0200 or thereabouts, mats wrote:
  Hi
 
  I have trouble using vi and vim under freebsd, under linux red hat
  it was working perfect. The trouble is that the arrow-keys doesn't
  work when I'm in insert mode. I have heard that it's important to
  use the right terminalprogram. In vim it's ok with the fancy swedish
  letters with dots over, but the arrow-keys doesn't work.

 FreeBSD comes with the standard vi, not vim. (unless you install the vim
port)

 So the arrow keys work in command mode, but not in insert mode?
 That's a feature, not a bug.(TM)

 If the arrow keys didn't work at all, then I would say check $TERM. But as
it
 is, it's probably a design decision in FBSD vi more than anything. Try the
 vim port, if you haven't already.

 -- Josh

Strange, they work for me in both vi and vim, in 'insert mode'.

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


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


Re: no root login after changing shell

2003-08-27 Thread Markie

- Original Message -
From: Charles Howse [EMAIL PROTECTED]
To: 'thomas may' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 4:57 PM
Subject: RE: no root login after changing shell


 i wanted to change the shell for user root to bash.
 in the freebsd online handbook i found this command:

 # echo /usr/local/bin/bash  /etc/shells


 but what i didnt know at this moment, that i have to install bash
 before.
 so i logged of as user root and get now on login the following error:

 su: /usr/local/bin/bash: No such file or directory

 can anybody please help me ...
 thanx

Type 'boot -s' at the 10 second count down to boot to single user mode, it
should ask you for the shell you want to use I think, the default being
/bin/sh so you should be able to hit enter. You'll have to mount your
partitions read/write, something like `mount -rw /`, if /usr is a seperate
partition I think you will also need to mount this for vi and such... you
should then be able to type `chsh -s /bin/tcsh` (on second thoughts maybe
you don't need vi for this) to change the shell for root back, reboot and
login (unless I missed something out) :o)


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


Re: Removing default installed BIND

2003-08-18 Thread Markie
I posted a message a while back, you can actually use the Makefile
flag -DPORT_REPLACES_BASE_BIND9 to overwrite the base system bind8 :)
There's similar flags for OpenSSH and OpenSSL aswell.

No portupgrade (unsure, not had to install things without portupgrade for a
long while):
# make -DPORT_REPLACES_BASE_BIND9 install clean

Portupgrade:
# portinstall -m '-DPORT_REPLACES_BASE_BIND9' bind9

With the portupgrade tools you can also look at /usr/local/etc/pkgtools.conf
(I think) and look at MAKE_ARGS. Mine looks like this

 MAKE_ARGS = {
'security/openssh-portable' = '-DOPENSSH_OVERWRITE_BASE',
'security/openssl' = '-DOPENSSL_OVERWRITE_BASE',
'net/bind9' = '-DPORT_REPLACES_BASE_BIND9'
  }

Basically portupgrade/install will look at this and automatically add the
flags to the ports, so typing `portinstall bind9` with them in MAKE_ARGS,
will have the same effect of using `portinstall -m '-DBLA' bind9`. This is
especially handy when upgrading the ports as it will automatically overwrite
the base again.

I'm not sure what sort of cruft and old, unused files by bind9, would be
left over from bind8, if any. I had a look at some of the bind8 Makefiles
for the base system at /usr/src/contrib/bind/ for any deinstall targets,
which would be quite useful, but there were none. Probably for good reasons.
You will also want to do NOBIND=true in /etc/make.conf so you don't
overwrite bind9 in a buildworld.

If anyone has good reasons not to use -DPORT_REPLACES_BASE_BIND9 I wouldn't
mind knowing, it's been working fine with me for a long while!

[EMAIL PROTECTED]:/home/mrboo$ which named
/usr/sbin/named
[EMAIL PROTECTED]:/home/mrboo$ /usr/sbin/named -v
BIND 9.2.2

Markie :o)

- Original Message -
From: Jacob Vennervald Madsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: FreeBSD Mailing lists [EMAIL PROTECTED]
Sent: Monday, August 18, 2003 3:51 PM
Subject: Re: Removing default installed BIND


 Is BIND9 not stable since BIND8 is the default?

 On Mon, 2003-08-18 at 16:43, Daniel Bye wrote:
  On Mon, Aug 18, 2003 at 04:25:00PM +0200, Jacob Vennervald Madsen wrote:
   Hi
  
   I have a FreeBSD 4.8 box which I want to setup as a DNS server.
   By default BIND8 is installed but I want to use BIND9. How do I remove
   the old BIND version?
 
  The easiest thing to do is install BIND9 from the ports, and set
  named_program=/usr/local/sbin/named in /etc/rc.conf.  This won't
remove
  the version in the base system, but it will cause the newer version to
be
  started at boot time.
 
  If you really want to delete the default version, find and delete any
  BIND-related files (the packing list for the ports version of BIND8 may
be
  helpful here) before you install the port of BIND9.  You should probably
  also set `NO_BIND=true' in /etc/make.conf, so that you don't end up
building
  them again at your next buildworld.
 
  I have only attempted this once, though, and found the effort was not
  rewarded with any real sense of achievement.
 
   It doesn't seem to be a package.
 
  It's not.  It comes as part of the base system.
 
  Dan
 
  --
  Daniel Bye
 
  PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
  PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
   _
ASCII ribbon campaign ( )
   - against HTML, vCards and  X
  - proprietary attachments in e-mail / \
 --
 Venlig hilsen / Best regards,
 Jacob Vennervald
 System Developer
 Proventum Solutions ApS
 Tuborg Boulevard 12
 2900 Hellerup
 Denmark
 Phone: +45 36 94 41 66
 Mobile: +45 61 68 58 51


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


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


Re: install rel. 4.8

2003-08-14 Thread Markie
If you made the partitions UFS2 then you're going to have to do a clean
install. I'm not sure what the default is in 5.1,in the 5.0 install it was
still UFS1. If they're UFS1 then it's probably possible (someone else will
have to point out how to do it) but I think it's be much cleaner to do a
clean install.

Are you having specific or big problems with 5.1?

- Original Message -
From: mess-mate [EMAIL PROTECTED]
To: freebsd-questions-en [EMAIL PROTECTED]
Sent: Saturday, August 09, 2003 2:28 PM
Subject: install rel. 4.8


 Hi,
 I've installed rel.5.1. as a newbie I'm.
 But I encounter to many problems with it .
 So, is there a way to install (downdate :)) to the rel. 4.8 ??
 Thanks
 mess-mate
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC

2003-08-14 Thread Markie
Hi,

I have had this error once before, though it seemed to freeze/panic the
machine, I think it may have been related to Apache or PHP since I was doing
a 'stress test' at the time. I would guess that you can up PMAP_SHPGPERPROC
in the kernel, perhaps a sysctl.

Markie

- Original Message -
From: admin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 2:23 PM
Subject: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC



 FreeBSD 4.8 Stable

 Hi there,

 I am seeing the following log entry in my /var/log/messages

 any clue what I can do to cure this issue?


  snip 

 Aug 12 03:00:55 /kernel: pmap_collect: collecting pv entries -- suggest
 increasing PMAP_SHPGPERPROC


 - snip 
 - noah

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


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


Re: Restricting ICMP

2003-08-14 Thread Markie
lol. Must just be one of those days, eh? I can't get enough of them :o)

- Original Message -
From: Mark [EMAIL PROTECTED]
To: Andy Farkas [EMAIL PROTECTED]; Markie
[EMAIL PROTECTED]
Cc: Ruben de Groot [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 2:42 PM
Subject: Re: Restricting ICMP


 - Original Message -
 From: Andy Farkas [EMAIL PROTECTED]
 To: Markie [EMAIL PROTECTED]
 Cc: Mark [EMAIL PROTECTED]; Ruben de Groot [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Wednesday, August 13, 2003 3:20 PM
 Subject: Re: Restricting ICMP


   Is it? I thought it was setuid root for a reason :o)
  
   I just woke up, so it may well be I am just being stupid :o)
 
  Well, I didn't know ping needed suid. I stand corrected and
  apologise for any misleadings.
 
  /me is the stupid one... time to go to bed :)


 If it makes you feel any better, I feel rather stupid too. :) Here I was,
 thinking: Hmm, chmod g+s, as means of allowing only folks in wheel
access,
 is not going to work; whereas the glaringly obvious solution: to remove
 execution-bits from o using chmod 4550, for some bizarre reason, escaped
 me. :)

 /me, feeling stupid too.

 - Mark



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


Re: yes! (Re: frustrating *dumb* problem getting php toworkunderapache)

2003-08-14 Thread Markie
Haha! Like it! :o)

- Original Message -
From: Stuart Whelan - Simulation Hardware LTD [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:31 PM
Subject: RE: yes! (Re: frustrating *dumb* problem getting php to
workunderapache)


  THANKS MUCH! you brightened up my day. ok, now what kind of
  beer should i attach? (just make sure you have the plug-in. :)
 

 FreeBSD supports FTP (Fermented Transfer Protocol) natively. :)

 Cheers,
 Stuart Whelan
 Technical Lead
 Simulation Hardware LTD

 DDI:  +64  3 3778866
 Mobile:   +64 27 2828074

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.507 / Virus Database: 304 - Release Date: 4/08/2003


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


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


Re: yes! (Re: frustrating *dumb* problem getting php to workunderapache)

2003-08-14 Thread Markie

- Original Message -
From: tb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:28 PM
Subject: yes! (Re: frustrating *dumb* problem getting php to work
underapache)


 [EMAIL PROTECTED] (Tue 08/12/03 at 10:01 PM +0100):

  As it sounds like you've done everything alright, could I suggest you
try
  creating a page, for now index.php and inside putting the following

 yeah, i was trying php scripts in .php files. i know, it
 never hurts to ask...

  You'll want to do this with
 
  LoadModule php4_modulelibexec/apache/libphp4.so
  AddModule mod_php4.c
  AddType application/x-httpd-php .php
 
  In the apache configuration...

 BINGO! in three out of three (actually, more like ten out of ten)
 of my test config files, i had two out of three of those lines.

 i knew it was dumb mistake. otoh, i don't think i saw a single
 FAQ that said 'HEY STUPID -- you need *three* new configs to
 get this to work. so now i know. i'll make a note of it in my
 httpd.conf and put it up somewhere.

 THANKS MUCH! you brightened up my day. ok, now what kind of
 beer should i attach? (just make sure you have the plug-in. :)

 cheers,
 t

No problem :o)
There's also this one if you need it

AddType application/x-httpd-php-source .phps

Then files with the .phps extension will display the source code highlighted
and things :o)

I always thought that installing php put all three lines in for you, or
maybe I did add them myself... it's been a long time since I had to deal
with setting up Apache ;)

I can legally drink beer now too (only just 18 years old did you know),
anything will do :o) Some money is attached :o) (Can you tell I am still a
kid?)
£5 :o)___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Restricting ICMP

2003-08-14 Thread Markie

- Original Message -
From: Andy Farkas [EMAIL PROTECTED]
To: Mark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 1:01 PM
Subject: Re: Restricting ICMP


 Mark wrote:

  I am just not very fond of the idea of local users starting ICMP wars
over
  the net, using my server :) I have already had an instance where a
web-user
  did an excessive ping attack on one of his buddies. And, naturally, I
want
  to prevent that. The chmod u-s idea mentioned here, was a good idea.
Except
  that, prefereably, I'd like all of wheel to have access, and the rest
not.
  And that may be harder to implement.

 If your users play up, put your BOFH hat on and lart them.

 chmod'ing /sbin/ping is useless - users can compile their own version of
 ping.

Is it? I thought it was setuid root for a reason :o)

[EMAIL PROTECTED]:/home/mrboo$ ls -l /sbin/ping
-r-sr-xr-x  1 toor  wheel  469492 Aug 11 14:57 /sbin/ping

No but really, copy ping to your user home, as a user, from
/usr/src/sbin/ping and compile it yourself...

[EMAIL PROTECTED]:/home/mrboo/ping$ make
Warning: Object directory not changed from original /usr/home/mrboo/ping
cc -O -pipe -march=pentium2 -DIPSEC-Wsystem-headers -Werror -Wall -Wno-f
ormat-y2k -Wno-uninitialized  -c ping.c
./ping
cc -O -pipe -march=pentium2 -DIPSEC-Wsystem-headers -Werror -Wall -Wno-f
ormat-y2k -Wno-uninitialized   -o ping ping.o -lm -lipsec
bonegzip -cn ping.8  ping.8.gz
[EMAIL PROTECTED]:/home/mrboo/ping$ ./ping bone
ping: socket: Operation not permitted
[EMAIL PROTECTED]:/home/mrboo/ping$

I just woke up, so it may well be I am just being stupid :o)

 Make your users aware that abusing ping (and other net resources) will get
 them kicked and banned from your system.

 --

  :{ [EMAIL PROTECTED]

 Andy Farkas
 System Administrator
Speednet Communications
  http://www.speednet.com.au/



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


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


Re: frustrating *dumb* problem getting php to work under apache

2003-08-14 Thread Markie
Hi,

As it sounds like you've done everything alright, could I suggest you try
creating a page, for now index.php and inside putting the following

?php
echo Hello World;
?

Fire up your nearest browser, point it to index.php. Does it display Hello
World or do you see the raw code as you described before. If you're a
programmer, know some PHP or have a proper pre-written script that you're
trying to get to run here, please forgive me, the thought just occured that
you might be thinking if the file extension is .php then it will be executed
(even without the ?php ?) which isn't the case.

You'll want to do this with

LoadModule php4_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php

In the apache configuration...

Markie

- Original Message -
From: tb [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 9:49 PM
Subject: Re: frustrating *dumb* problem getting php to work under apache


 [EMAIL PROTECTED] (Tue 08/12/03 at 02:24 PM -0600):

  humm, that does sound frustrating and you seem to be doing everything
right.

 thanks. :) i know that newbie questions can be as frustrating for
 (i guess) 'oldbies' as the problems the newbies are having, so a
 fast, positive answer is nice.

  Did you install php or mod_php?

 mod_php

  Are you restarting apache after you change your httpd.conf?

 oh yes. w/ and w/o ssl -- same problem.

  Are your php pages .php or .php3 or .php4?

 hm, i hadn't tried that. i just duped the and addes those
 etensions -- same problem. :/

 i'm gonna feel really stupid when this get solved. but i'll
 attach a beer to my thank-you mail to whoever helps!

 cheers,
 t


  -Original Message-
  From: tb [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 12, 2003 1:54 PM
  To: [EMAIL PROTECTED]
  Subject: frustrating *dumb* problem getting php to work under apache
 
 
  hi, all --
 
  i know this is a FAQ; in fact, it's *such* a FAQ that i've found dozens
  and dozens and dozens of FAs -- none of which have worked for me. and i
  *really* have tried before asking here. :/ and if i got djbdns, qmail
  and procmail working with maildir, i can't be too hopeless. or lazy. :)
 
  the goal: apache + php (under 4.8). the facts: apache, mysql, and php
  installed nicely. the problem: php doesn't render -- browsers either
  krash (konqueror), show php code, or ask me if i want DL the unknown
  document. php renders fine when i look at other sites, and i get the
  same (i.e., raw code) results looking at my host from an OSX box, so
  it's a server-config problem. as things stand, my httpd.conf is plain-
  vanilla *except for these two lines...
 
   AddType application/x-httpd-php .php
   AddType application/x-httpd-php-source .phps
 
  ...at ~line 634 (maybe relevant because of the order in which various
  items load?). however, httpd.conf is plain-vanilla now because i have
  a lng set of backed-up variations on it, which have included ex-
  periments like subsets of...
 
   LoadModule php_module modules/mod_php.so
   LoadModule php3_modulemodules/libphp3.so /* for PHP 3
*/
   LoadModule php4_modulemodules/libphp4.so /* for PHP 4
*/
   LoadModule perl_modulemodules/libperl.so
 
  ...both inside and outside of IfDefine SSL [...] /IfDefine. and
  i've tried lots of other stuff besides.
 
  what i have now is an install that works, except for this one pathetic
  problem, basd on the instrux here -- which worked perfectly:
   http://www.freebsdforums.org/forums/showthread.php?threadid=12419
 
  i've hunted through /var/log for klews about why it's not working.
 
  i'd be happy to provide all kind of infodumps, but it seemed like a
  clear statement of the problem might be a good way to begin. for now,
  the basics:
 
  uname -a
   FreeBSD ... 4.8-RELEASE-p1 FreeBSD 4.8-RELEASE-p1 #0: Sat Aug  9
   22:22:39 EDT 2003  ...:/usr/src/sys/compile/EKB030809  i386
-- custom-compiled for pcm support on an i810 :)
 
  httpd -v
   Server version: Apache/1.3.27 (Unix)
   Server built:   Aug 12 2003 13:28:32
 
  httpd -l
   Compiled-in modules:
 http_core.c
 mod_so.c
   suexec: disabled; invalid wrapper /usr/local/sbin/suexec
 
  php -v
   PHP 4.3.1 (cli) (built: Aug 12 2003 13:36:26)
   Copyright (c) 1997-2002 The PHP Group
   Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
 
  openssl version
   OpenSSL 0.9.7a Feb 19 2003
 
  any advice would be much appreciated!
 
  thanks,
  t
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: Missing TIFF library?

2003-08-14 Thread Markie
Hi,

Don't know much about libraries but is it possible that the graphics/tiff
port puts libtiff in a non standard place and the configure script isn't
picking it up? (Or rather follows hier and the configure script is broken ;)

Just a guess. Good luck!
Markie

- Original Message -
From: Daniela [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:47 PM
Subject: Missing TIFF library?


 Hi,

 I'm desperately trying to port Moonlight3D to FreeBSD, but I can't even
get it
 to run on my system. Its configure script complains:
 checking for library libtiff... libtiff couldn't be used to compile

 I thought the installation of graphics/tiff from the ports could solve the
 problem, but it's already installed.
 What's wrong here?

 Regards,
 Daniela


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


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


Re: Bash / Promise Controller

2003-08-04 Thread Markie
- Original Message -
From: Stefan Malte Schumacher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 04, 2003 1:20 PM
Subject: Bash / Promise Controller



 I am new to Freebsd and have some questions concerning the settings of the
 bash shell under FreeBSD and the Kernel Configuration.

 1. I have been using the bash under linux for years and I would like to
 configure in such a way under freebsd that it resembles my linux-settings
as
 close as possible. I have already installed the bash as default shell, but
I
 am stilg some things. I wolike ike to have colored ls-output and in jed
 nothing seems to be working. I cant acess the Menu with Alt+Key, Backspace
 does not work and I cant scroll down with page up /down. I also would like
 to be able to browse for example ls output with Shift-Page-Up/Down. How
can
 I achive this ? I have just noticed another weird phenomen : When I use
jed
 via ssh arrow key down scrolls down until jed itselfs vanished in the
upper
 part of the screen.


 2.
 I am currently creating a custom kernel config. ( I have read the manual
in
 the handbook). But I still have some questions : What is with the modules
?
 Are options I comment out in the kernel automatically compiled as modules
?
 And does the GENERIC-File include all the possible kernel options ? I am a
 bit confused because I have not found an option for my Promise 133TX2.
 The Standard-Kernel recognizes it just fine. I also did not find even
 limited choices for sound card support.

 Thanks in Advance

Hi,

I'm not sure about your first question but in answer to your second
questions... modules are built for every device by default, not just devices
which don't exist in your kernel config. As for your second question, no :)
GENERIC is just the config file for the GENERIC kernel, you will need to
look at LINT in the kernel config directory for all available options
(/usr/src/sys/i386/conf/LINT), if you're using 5.x I think you have to do
`make LINT` from /usr/src/sys/i386/ in order to get this file?

Hope that clears things up a bit.
I'm sure someone here will know the answers to your first questions :)

Markie

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


Re: getting rid of openssl port

2003-08-04 Thread Markie
- Original Message -
From: Johan De Messemaeker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 04, 2003 1:44 PM
Subject: Re: getting rid of openssl port


 On Monday 04 August 2003 13:48, Toomas Aas wrote:
  Hello!
 
  What is the easiest way to get rid of OpenSSL port? Do I need to remove
  everything that depends on openssl port, remove the port and then
reinstall
  everything? Or is there a less painful way? Actually everything is not
  that much in my case, it really is just apache13-modssl port on one
machine
  and cyrus-imapd port on the other machine, but it still implies *some*
  downtime of HTTPD and IMAP server. --

 Use portupgrade (/usr/ports/sysutils/portupgrade). Nice and easy.

 Regards, Johan


Hi Johan,

Another option is to define OPENSSL_OVERWRITE_BASE when building the openssl
port, this will install the port version where the base system openssl would
usually be. If not using portupgrade you would do something like
make -DOPENSSL_OVERWRITE_BASE, if using portupgrade you have two options:
portinstall -m '-DOPENSSL_OVERWRITE_BASE' openssl or you can edit the
MAKE_ARGS variable in /usr/local/etc/pkgtools.conf so it reads something
like

MAKE_ARGS = {
'security/openssl' = '-DOPENSSL_OVERWRITE_BASE',
'misc/some-other-port' = '-DMAKE_ARGUMENTS'
}

and then just run portinstall openssl (or portupgrade) and it'll
automagically add the flags. This is what I do with OpenSSH and OpenSSL.

Just an idea :p
Markie

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


Re: cmd to run after installing a new FreeBSD package

2003-06-18 Thread Markie
# rehash

:)

- Original Message -
From: Paul Hamilton [EMAIL PROTECTED]
To: Freebsd-Questions [EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 4:14 PM
Subject: cmd to run after installing a new FreeBSD package


 Hi all,

 I read this here in the list, and (I think), read it somewhere in
 Urban-TieMann's FreeBSD Unleashed, great book.

 There is a FreeBSD command that you should run after installing a package,
 which will 'refresh' the path.  After running this command, you will have
 access to the new package command (ie. lynx).  It saves you having to
logout
 and relog back in.

 I have used it once, but it was some time ago and have forgotten it :-(

 Any Hints...


 Cheers,

 Paul Hamilton


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


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


Re: Firebird broken?

2003-06-01 Thread Markie
I had this problem too, if it's not that you don't have SYSVIPC in your
kernel then it's fairly easy to get rid of...

# ipcs -s
Semaphores:
T ID KEYMODE   OWNERGROUP
xx   xxxx   xx   xxxx
# ipcrm -s id from above

- Original Message -
From: Socketd [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 31, 2003 12:39 AM
Subject: Firebird broken?


 Hi all

 When installing Firebird (1.0.2) on my FreeBSD 4.8 server I get:

 source/interbase/bin/gbak -c misc/metadata.gbak
 source/refDatabases/jrd/metadata.gdb
 can't format message 12:256 -- message system code -4operating system
 directive semget failed
 can't format message 12:256 -- message system code -4No such file or
 directory
 can't format message 12:256 -- message system code -4can't format
 message 12:33 -- message system code -4
 can't format message 12:169 -- message system code -4can't format
 message 12:83 -- message system code -4
 *** Error code 1

 Stop in /usr/ports/databases/firebird/work/firebird-1.0.2.908.
 *** Error code 1

 Hope someone can help.

 Please cc to me as I am not on the list.

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


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


Re: how to aggregate rules using ipfw2 ?

2003-03-30 Thread Markie
Hi!

I remember having difficulty getting this to work when I first got IPFW2,
turns out it wouldn't accept it because there _has_ to be a space between
the { and }.

For example...

ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 }

not

ipfw add allow ip from any to {192.168.0.0/16 or 10.0.0.0/8}

Markie

- Original Message -
From: Ilia E. Chipitsine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 3:18 PM
Subject: how to aggregate rules using ipfw2 ?


 Dear Sirs,

 how can I aggregate rules ...

 ipfw add allow ip from any to 192.168.0.0/16
 ipfw add allow ip from any to 10.0.0.0/8

 ... into the single rule, probably using { .. or .. } syntax?
 I read man page, tried few combination, but them don't work for me.

 Cheers,
 Ilia Chipitsine

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


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


Re: Bind 9

2003-03-30 Thread Markie
You can also overwrite the base bind by defining PORT_REPLACES_BASE_BIND9
like so...

cd /usr/ports/net/bind9
make -DPORT_REPLACES_BASE_BIND9
make install
make clean

or using portinstall or portupgrade

portinstall -m '-DPORT_REPLACES_BASE_BIND9' bind9
portupgrade -m '-DPORT_REPLACES_BASE_BIND9' bind9

should do it (I think :))
There are similar defines for OpenSSH and OpenSSL too,
OPENSSL_OVERWRITE_BASE and OPENSSH_OVERWRITE_BASE :)

Markie

- Original Message -
From: Tim van den Elsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 4:20 PM
Subject: Re: Bind 9


 On Sun, 30 Mar 2003 09:55:15 -0500 (EST)
 [EMAIL PROTECTED] wrote:

  This may be a silly question but I need some help so here it is.
I
  installed bind 9 and I am unable to find it. I installed FreeBSD 4.4
  upgraded to 4.7 stable. I have bind 8 installed. I want to run bind 9
  for security reasons. I installed in from ports. I can't find it. I
  thought that it simply replaced the executable /usr/sbin/named. But the
  last change date it has is from the initial install. The named.conf file
  has not changed, and I can't find a directory specifying bind 9. Anybody
  able to help me out here?

 Programs installed via ports are always placed in /usr/local/ and configs
to /usr/local/etc/
 The same for binaries :) /usr/local/sbin/named

 Regards,

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


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


Re: how to aggregate rules using ipfw2 ? Follow-up, Why Aggregate?

2003-03-30 Thread Markie
More efficient in the way of typing (less of it) :) and I find it easier to
read. That's just my personal opinion though.
Can't say whether there's any speed improvement though, because I just don't
know.

Markie

- Original Message -
From: Joe Sotham [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED];
[EMAIL PROTECTED]
Cc: @
Sent: Sunday, March 30, 2003 5:55 PM
Subject: Re: how to aggregate rules using ipfw2 ? Follow-up, Why Aggregate?



 Markie said:

 snip
  ipfw add allow ip from any to { 192.168.0.0/16 or 10.0.0.0/8 }

 Why aggregate?  Is it more efficient?

 --
 Joe Sotham
 
 If the only prayer you say in your entire life is Thank You,
 that will suffice.
 - Meister Eckhart


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


Re: rw on ntfs volume

2003-02-18 Thread Markie
I see. Well I have no idea then, sorry, i've tried writing to NTFS on
FreeBSD and Linux and it just wasn't happening :)
How different is the old NT4 version of NTFS to the Windows 2000 NTFS5 or
whatever its called? Which are you using?
Maybe that'd make a difference :s

Just a thought!
Markie :)

- Original Message -
From: Jan Grant [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 8:02 PM
Subject: Re: rw on ntfs volume


 On Mon, 17 Feb 2003, Markie wrote:

  You lost me there :)
  Please forgive me if i'm being stupid and just don't understand at all
:)
  It says files have to be non resident? and non resident files are bigger
  than 1k you say?
  But making a plain new file or folder would be smaller than 1k wouldnt
it?
  So they'd be.. resident files and wouldnt write? :s
  That's the impression i'm getting at the moment anyway :)

 NTFS filesystems _may_, under certain circumstances, create resident
 files of the type described. You won't be able to modify these.

 Filesystems mounted with mount_ntfs can't modify resident files. If you
 create a small file it will be nonresident, and you should be able to
 edit it (providing you don't fall foul of the other NTFS writing
 restrictions).


 --
 jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
 Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
 The Java disclaimer: values of 'anywhere' may vary between regions.


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




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



Re: Creative Audigy soundblaster support

2003-02-17 Thread Markie
Hi!
This is my first ever post on a mailing list so forgive me if i've done
something stupidly wrong and make a mess of things :)
I would like to try out the patch if I may? :) Been waiting for (non paid)
Audigy support for a while. I came across another Audigy/Audigy2 patch in
the freebsd-hackers list too, yet to try that one. Is this the same one? :)

Good work! :)
Markie

- Original Message -
From: Alec [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 9:58 AM
Subject: Fw: Creative Audigy soundblaster support


 Hi again
 I sent my code to FreeBSD developers and I believe they're considering it
 and going to include changes in next release.
 But it takes some time and I know how it's hard to work in silence... :)
 So I can provide my ugly, but workable, drivers for everybody; just ask me
 via e-mail (i dont have public web resource).

 Best regards
 Regards,
  Alexander Kurilovich

 - Original Message -
 From: Alec [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 29, 2003 7:29 PM
 Subject: Creative Audigy soundblaster support


  Hi everybody!
 
  I rewrite SBLive driver included in FreeBSD 4.7 for supporting Creative
  Audigy soundcard.
  It's still not good, but at least I can listen to mp3s on my BSD4.7 via
  Audigy with digital output.
  I consider it could be  helpfull for other guys who have Audigy and have
 to
  buy outside drivers, but I dont know what to do.. :)
 
  Regards,
   Alexander Kurilovich
 

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



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



Re: rw on ntfs volume

2003-02-17 Thread Markie
As far as I am aware ntfs isn't writeable on FreeBSD, or Linux and probably
anything else due to lack of proper documentation?

Markie

- Original Message -
From: admin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 3:51 AM
Subject: rw on ntfs volume


 I thought that at least minimal
 write support was available for ntfs under FreeBSD?
 I'm following -CURRENT... did I miss
 something from the mount_ntfs man page?

 when a simple mkdir foo complains that  .  doesn't exist seems unusual.

 # su -
 # mkdir -p /mnt/w2k_d
 # chown root:wheel /mnt/w2k_d
 # chmod 777 /mnt/w2k_d
 # mount -t ntfs -o rw /dev/ad0s5 /mnt/w2k_d
 # cd /mnt/w2k_d
 # mount | grep w2k
 /dev/ad0s5 on /mnt/w2k_d (ntfs, local)

 # df -k w2k_d
 Filesystem 1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad0s5  69754198 47186058 2256814068%/mnt/w2k_d

 # touch foo  (a file which doesn't exist)
 touch: foo: No such file or directory

 # touch ra (a file which does exist)
 touch: ra: Operation not supported

 # mkdir foo
 mkdir: .: No such file or directory

 suggestions??



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



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



Re: rw on ntfs volume

2003-02-17 Thread Markie
You're right :) Sorry.

file must be nonresident and must not contain any sparces (uninitialized
areas);

What does this mean? :) big words for a 17 year old :$

Markie

- Original Message -
From: Daxbert [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, February 17, 2003 12:04 PM
Subject: Re: rw on ntfs volume


   I thought that at least minimal
   write support was available for ntfs under FreeBSD?
   I'm following -CURRENT... did I miss
   something from the mount_ntfs man page?
  
   when a simple mkdir foo complains that  .  doesn't exist seems
unusual.
  
   # su -
   # mkdir -p /mnt/w2k_d
   # chown root:wheel /mnt/w2k_d
   # chmod 777 /mnt/w2k_d
   # mount -t ntfs -o rw /dev/ad0s5 /mnt/w2k_d
   # cd /mnt/w2k_d
   # mount | grep w2k
   /dev/ad0s5 on /mnt/w2k_d (ntfs, local)
  
   # df -k w2k_d
   Filesystem 1K-blocks UsedAvail Capacity  Mounted on
   /dev/ad0s5  69754198 47186058 2256814068%/mnt/w2k_d
  
   # touch foo  (a file which doesn't exist)
   touch: foo: No such file or directory
  
   # touch ra (a file which does exist)
   touch: ra: Operation not supported
  
   # mkdir foo
   mkdir: .: No such file or directory
  
   suggestions??
  
  
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
  
 
 
  As far as I am aware ntfs isn't writeable on FreeBSD, or Linux and
probably
  anything else due to lack of proper documentation?
 

 The man page for mount_ntfs seems to indicate otherwise

 ...
 WRITING
  There is limited writing ability.  Limitations: file must be
nonresident
  and must not contain any sparces (uninitialized areas); compressed
files
  are also not supported.
 ...






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



Re: Creative Audigy soundblaster support

2003-02-17 Thread Markie
:D! Finally got round to subscribing to some mailing lists too :) Quite cool
:) Keep me busy over the half term off college I suspect :)
Have you tried this driver out too? Just like to know if there's any cracky
and popping noises with these drivers like I got from the OSS ones whenever
I last used them :)

Thanks :)
Markie

- Original Message -
From: Pierrick Brossin [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: Alec [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, February 17, 2003 12:07 PM
Subject: Re: Creative Audigy soundblaster support


 Quoting Markie [EMAIL PROTECTED]:

  Hi!
  This is my first ever post on a mailing list so forgive me if i've done
  something stupidly wrong and make a mess of things :)
  I would like to try out the patch if I may? :) Been waiting for (non
paid)
  Audigy support for a while. I came across another Audigy/Audigy2 patch
in
  the freebsd-hackers list too, yet to try that one. Is this the same one?
:)

 Hi Markie! (saw you on freebsdforums :D)

 Alec is/will work(ing) on a webpage for his driver which I'm gonna put on
my
 server so people can download it easily...

 Cya

 --
 Pierrick Brossin
 IT Swiss - QUARK Media House
 6a Puits Godet, 2000 Neuchatel, Switzerland
 Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]



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



Re: rw on ntfs volume

2003-02-17 Thread Markie
I think I get that :) Thanks.
So maybe its not working because you're making things smaller than 1k? like
new files?
have you tried copying something big to the mount instead of making new
files? :)


- Original Message -
From: Jan Grant [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: Daxbert [EMAIL PROTECTED]; freebsd-questions
[EMAIL PROTECTED]
Sent: Monday, February 17, 2003 4:21 PM
Subject: Re: rw on ntfs volume


 On Mon, 17 Feb 2003, Markie wrote:

  You're right :) Sorry.
 
  file must be nonresident and must not contain any sparces (uninitialized
  areas);
 
  What does this mean? :) big words for a 17 year old :$

 Nonresident: Bigger than a kilobyte :-) A resident file is an
 optimisation. Roughly by analogy, it'd be like storing the contents of a
 (small) file directly in the inode, rather than in data blocks pointed
 to by the inode. Most files are likely to be nonresident. If you create
 a file it'll be nonresident.

 Most resident data appears to crop up using NTFS' forked file ability,
 which isn't generally something you hear a lot about.

 Not having any spaces: this is what's called a sparse file - eg, you
 write some bytes, seek forward a gigabyte, and write some more. NTFS has
 the ability to record this file with a hole in the middle, so it
 doesn't require a GB of disk storage. Most files are unlikely to be
 sparse.



 --
 jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
 Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
 Axioms speak louder than words.




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



Re: rw on ntfs volume

2003-02-17 Thread Markie
You lost me there :)
Please forgive me if i'm being stupid and just don't understand at all :)
It says files have to be non resident? and non resident files are bigger
than 1k you say?
But making a plain new file or folder would be smaller than 1k wouldnt it?
So they'd be.. resident files and wouldnt write? :s
That's the impression i'm getting at the moment anyway :)

Markie

- Original Message -
From: Jan Grant [EMAIL PROTECTED]
To: Markie [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 7:23 PM
Subject: Re: rw on ntfs volume


 On Mon, 17 Feb 2003, Markie wrote:

  I think I get that :) Thanks.
  So maybe its not working because you're making things smaller than 1k?
like
  new files?
  have you tried copying something big to the mount instead of making new
  files? :)

 mount_ntfs filesystems don't create resident files.

 --
 jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
 Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
 If it's broken really badly - don't fix it either.




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