Re: SMP Compaq DL380 G1 - hangs on boot

2003-04-02 Thread Daxbert
Quoting David Muir Sharnoff <[EMAIL PROTECTED]>:
> 
> * On Wednesday 02 April 2003, Patrick O'Reilly wrote:
> * ... 
> * Hmmm.  I had the same thing on a similar platform once I built the kernel
> with 
> * SMP.  Also curious, though I have reverted to a non-SMP kernel for now
> while 
> * I get everything else set up.
> 
> I guess I should mention that I'm trying to boot an SMP kernel.  
> Non-SMP kernels work fine.  
> 

What OS have you configured in the BIOS via the Compaq System Configuation
Utility (SCU)?  I've always had to set the host to 'Linux', to get the SMP
kernel to not hang.

--daxbert

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


Re: SCSI AHC 2940

2003-03-17 Thread Daxbert
Quoting Pierrick Brossin <[EMAIL PROTECTED]>:

> So today I tried the following: use an IDE 8Gb HD to install FBSD 5.0
> and then plug the SCSI drive to create a partition and mount it.
> Everything went smooth until I started copying file to the mount point
> of the 9Gb SCSI HD.
> 
> I first copied /bin to /newhd and it did it without any trouble.
> I was really suprised that it was working so I decided to copy
> something bigger to make sure it was NOT working :)
> So I copied /usr to /newhd and it crashed. I was pretty sure the
> errors messages would be in /var/log/messages so I rebooted the
> computer and saw that I was completely wrong.
> 
> Actually it started copying file and ended with a bunch of errors
> followed by a disk syncing (like when you shut down your comp).
> 
> Now, is there a way to log the error messages so I can tell you
> exactly what I get so you can (maybe and hopefully) help me ?
> 

Do you have an extra computer, null modem cable?  If so, hook up the extra 
computer to the serial port of your freebsd box, enable logging via your 
terminal program of choice, then repeat whatever steps are needed.

Other things you may or may not have checked:

In my days of working with Adaptec SCSI cards, I came to the conclusion that 
termination was best handled manually. While the system is POST'ing you should 
see something about Adaptec yada yada. Hit Ctrl-A, to bring up the Adaptec BIOS 
settings, and make sure the termination is set properly.

Since you only have one drive, you should have termination enabled on both the 
card and the drive.

You should also be able to see the drive from within Adaptec's SCSI Tools.  
After setting the termination properly, run a verify media test.

 
--daxbert

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


Re: Sending mail to this list

2003-03-16 Thread Daxbert
Quoting "Paul D. Lathrop" <[EMAIL PROTECTED]>:

> I was attempting to send a different question to this list, when I ran 
> smack dab into a more pressing problem. When I sent the mail, it never 
> reached the list. Further investigation found this message in my mail 
> logs:
> 
> Mar 16 22:10:32 rackspace postfix/smtp[28417]: 8B00131673: 
> to=<[EMAIL PROTECTED]>, relay=mx1.freebsd.org[216.136.204.125], 
> delay=11, status=deferred (host mx1.freebsd.org[216.136.204.125] said: 
> 450 Client host rejected: cannot find your hostname, [65.61.155.146] 
> (in reply to RCPT TO command))

I believe your mail is being rejected by the freebsd.org server due to
'65.61.155.146' not having a reverse pointer.

According to ARIN, this IP is owned by Rackspace.  You should email 
[EMAIL PROTECTED] and ask that a proper reverse pointer be entered 
for your host.  (I presume the host at rackspace is what you're using
as your mail relay???)

--daxbert

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


Re: tcp wrappers/twist

2003-03-16 Thread Daxbert
Quoting Jer <[EMAIL PROTECTED]>:

> there used to be a way that one could use tcp wrappers and twist
> so that if per say
> 
> you telnet'd to 127.0.0.1 telnetd would run
> but if you telnet'd to 127.0.0.2 tcp_d would spawn another process

Have you looked here:

man hosts_options
   look for twist.

and 

man 5 hosts_access
   for the proper expansion escapes.


--daxbert

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


Re: /usr/src on a dedicated drive?

2003-03-16 Thread Daxbert
Quoting Brian McCann <[EMAIL PROTECTED]>:
>   Hey all.  I've got a problem on one of my systems (lack of drive
> space) that forced me to remove /usr/src.  However, I like that system
> to track the STABLE version.  I don't think it'd be a problem, but I'd
> like someone else to confirm this.  Would there be any problems if I put
> /usr/src on it's own disk?
> 

I've had no problems, and I NFS mount /usr/src from my network attached storage.


--daxbert

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


Re: five networks

2003-03-15 Thread Daxbert
Quoting Daxbert <[EMAIL PROTECTED]>:

> 
> example: tl0 and fxp0 as interfaces...
> 
> ifconfig_tl0="inet 192.168.1.10 netmask 255.255.255.0"
> ifconfig_fxp0="inet 192.168.2.1 netmask 255.255.255.0"
> defaultrouter="192.168.1.1"
> gateway_enable="YES"
> router_enable="NO"
> 

*-- Correction -- *
 
I usually avoid the '0' networks, and so... 
I mistakenly specified .1 as your DSL network.
 
> ifconfig_tl0="inet 192.168.1.10 netmask 255.255.255.0"

should be
ifconfig_tl0="inet 192.168.0.10 netmask 255.255.255.0"

> defaultrouter="192.168.1.1"

should be
defaultrouter="192.168.0.1"

--daxbert

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


Re: five networks

2003-03-15 Thread Daxbert
Quoting "W. J. Williams" <[EMAIL PROTECTED]>:

> 1. I would like to configure a separate network on five freebsd boxes.
> 
> 192.168.0
> 192.168.1
> 192.168.2
> 192.168.3
> 192.168.4
> 
> 
> 2.  My DSL router has network 192.168.0, I also have one of my fbsd boxes
> in this network (192.168.0.2)
> 
> 3.  I can add the other machines to the 192.168.0 network, no problem,
> using default router 192.168.0.1, broadcast 255.255.255.0,
> 
> 4.  I tried to configure 192.168.2.1 on one box, using
> gateway_enable="YES", router_enable="YES",
> defaultrouter=192.168.2.1doesnt work.
> 

defaultrouter is used to define the host's router of last resort.  It doesn't
configure any interfaces on the host. 

If you want a BSD host to act as a router, it's advised that you have more than
one NIC, and that you configure those NICs with valid IPs and netmasks for each
connected network.

example: tl0 and fxp0 as interfaces...

ifconfig_tl0="inet 192.168.1.10 netmask 255.255.255.0"
ifconfig_fxp0="inet 192.168.2.1 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
gateway_enable="YES"
router_enable="NO"

The defaultrouter assumes that you want to use the DSL router as the default
gateway for this host.

I've set router_enable to "NO", because from the nature of your question, and
the lack of complexity in your network, I doubt that you are actually running
any routing protocols (RIP, etc.) which would need routed running.  You'd be
better served with plain static routes on each gateway.  

You don't really provide enough info to help further.

--daxbert

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


Force core, then reload

2003-03-14 Thread Daxbert

I'm looking to force a FreeBSD process to core, write it's core dump to disk, 
then at a later date, reload the image, and resume from where it left off.

I know it's possible to force an application to core, but I'm not so certain 
about the reload and execute part.  Is this even remotely possible?

--daxbert

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


Re: portupgrade mess

2003-03-14 Thread Daxbert
Quoting Mike Meyer <[EMAIL PROTECTED]>:

> In <[EMAIL PROTECTED]>, Daxbert
> <[EMAIL PROTECTED]> typed:
> > Quoting Cliff Sarginson <[EMAIL PROTECTED]>:
> > > > BTW, any idea how I could reduce the size of the /usr/ports slice -
> it's 
> > > > max is about 2Gb and there is about 1.7 in use. It seems a bit bloated
> and
> > > > I certainly don't need all the stuff that is in there...
> > > Delete everything in "/usr/ports/distfiles".
> > > And before you go to bed one night do a "make clean" from "/usr/ports".
> > > It takes  some time...
> > Another option is to add the following to your make.conf
> > ( 5.x: /etc/make.conf  4.x: /etc/defaults/make.conf )
> 
> No! 4.x is /etc/make.conf as well. It just doesn't have one by
> default, whereas 5.x does. You should *never* edit anything in
> /etc/defaults.
> 
>-- 

Ok... so why in 5.x does make.conf no longer live in /etc/defaults as well?

--daxbert


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


Re: portupgrade mess

2003-03-13 Thread Daxbert
Quoting Cliff Sarginson <[EMAIL PROTECTED]>:

> > BTW, any idea how I could reduce the size of the /usr/ports slice - it's 
> > max is about 2Gb and there is about 1.7 in use. It seems a bit bloated and
> 
> > I certainly don't need all the stuff that is in there...
> > 
> Delete everything in "/usr/ports/distfiles".
> And before you go to bed one night do a "make clean" from "/usr/ports".
> It takes  some time...
> 
> 

Another option is to add the following to your make.conf
( 5.x: /etc/make.conf  4.x: /etc/defaults/make.conf )

WRKDIRPREFIX=   /usr/obj

This will cause all of your port builds to be 
directed to /usr/obj.  You can then nuke 
/usr/obj/usr/ports and only remove the work,
not the ports tree.

To take care of the distfiles problem...

# mkdir -o /usr/obj/usr/ports/distfiles
# mv /usr/ports/distfiles/* /usr/obj/usr/ports/distfiles # <--(optional)
# rm -rf /usr/ports/distfiles
# ln -s /usr/obj/usr/ports/distfiles /usr/ports/distfiles

This will get your distfile downloads out of 
/usr/ports as well.  However, there's probably 
a cleaner way to do this via a make.conf setting.

I do all of this because my ports tree is NFS mounted read-only as needed.

--daxbert




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


Re: Traceroute issues

2003-03-12 Thread Daxbert
Quoting Dragoncrest <[EMAIL PROTECTED]>:

> > > Hi all.  Got a really weird issue here.  Got a router that uses 
> > > simple nat
> > > that for some reason won't allow me to traceroute out of my freebsd box,
> > > but every other computer connected to the router can, and can traceroute
> > > with flying colors.  What might possibly be wrong with my machine that I
> > > can't traceroute anywhere?
> >
> >Could if be that the other hosts are using ICMP instead of UDP for
> traceroute?
> >
> ># traceroute -I 
> 
>  Already tried that.  I think it may be the version of Traceroute 
> I'm using.  When I enter that command, all I get is this.
> 
> traceroute [-Sdnrv] [-w wait] [-m max_ttl] [-M min_ttl] [-P proto]
>   [-p port#] [-q nqueries] [-t tos] [-s src_addr] [-g gateway]
>   host [data_size]
> 
>  Any futher suggestions?  :)

Is this a router or true stateful firewall?  Take a look at the logs to see if 
you see unusual high port udp packets being dropped.

What OS are the other hosts that are able to traceroute?  

Finally, download and install latest traceroute (ports?)

--dax

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


Re: Traceroute issues

2003-03-11 Thread Daxbert
Quoting Dragoncrest <[EMAIL PROTECTED]>:

>   Hi all.  Got a really weird issue here.  Got a router that uses simple nat 
> that for some reason won't allow me to traceroute out of my freebsd box, 
> but every other computer connected to the router can, and can traceroute 
> with flying colors.  What might possibly be wrong with my machine that I 
> can't traceroute anywhere?

Could if be that the other hosts are using ICMP instead of UDP for traceroute?

>From your FreeBSD host, try...

# traceroute -I 

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


Re: identifying my network address

2003-03-09 Thread Daxbert
Quoting Viktor Lazlo <[EMAIL PROTECTED]>:

> 
> On Sun, 9 Mar 2003, Daxbert wrote:
> 
> > DISPLAY=`who -m | awk '{print $6}' | sed -e 's/[(|)]//g'`:0.0
> >
> > I'm sure there's a shorter, cleaner way...but it works.
> 
> Since you're using awk anyways why not eliminate piping through sed:
> 
> DISPLAY=`who -m | awk '{ print $6":0.0" }'
> 

I used sed to remove the leading and trailing '(' ')' from around the hostname/ip.

They do need to be removed, right?

--dax

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


Re: identifying my network address

2003-03-09 Thread Daxbert
Quoting David Banning <[EMAIL PROTECTED]>:

> I am running an Xwindow on a windows box. I need a script to 
> tell me what my network address is so that I can set my DISPLAY
> varible correctly eg: 192.168.1.2:0.0   
> 
> Any idea what command would be useful for this purpose?
> 

DISPLAY=`who -m | awk '{print $6}' | sed -e 's/[(|)]//g'`:0.0

give that a shot...  

I'm sure there's a shorter, cleaner way...but it works.


--daxbert




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


What to do with a patch for 3Com OfficeConnect?

2003-03-09 Thread Daxbert
I've made a small patch to 
if_dc.c / if_dcreg.h / dc.4  
to support the 3Com OfficeConnect 10/100.  

What do I do now?  

MAINTAINERS didn't seem to have an entry 
related to NICs and so I'm not sure where to turn.

mbr / trhodes / semenu
are the 3 most recent modifiers of if_dcreg.h

Suggestions?


--daxbert


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


Re: identifying my network address

2003-03-09 Thread Daxbert
Quoting David Banning <[EMAIL PROTECTED]>:

> I am running an Xwindow on a windows box. I need a script to 
> tell me what my network address is so that I can set my DISPLAY
> varible correctly eg: 192.168.1.2:0.0   
> 
> Any idea what command would be useful for this purpose?

How are you connecting to the *nix box?  If you're using an SSH client, you
could just enable X11 port forwarding (on both the client and server), and let
SSH handle the DISPLAY variable assignemnt.  Not to mention, your X traffic can
then come back thru any ACLs/FW policies that might otherwise block standard
:60xx X traffic.

--daxbert

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


Re: can't sshd into box

2003-03-02 Thread Daxbert
Quoting Wayne <[EMAIL PROTECTED]>:

> I have installed 5.0 into a new Dell.  I have not set up anything
> special yet (no firewall, no natd, etc.).
> 
> I can ssh out to the world, but I can't get into the new box from the
> gateway FreeBSD box on the same home network.  The gateway box properly
> lists the new box in /etc/hosts.  Each box can ping the other by name
> and by ip.
> 
> I enabled telnet in inetd.conf, and I get rejected, also.
> 
> Is there a new default connecton protection that I must turn off, or
> something?  [/etc/hosts.allow  is the default setting, I see no answer
> there.]
>
> [EMAIL PROTECTED]:/home/wayne>telnet etaq3
> Trying 192.168.0.12...
> Connected to etaq3.etaq.com.
> Escape character is '^]'.
> Connection closed by foreign host.
> 
> [EMAIL PROTECTED]:/home/wayne>ping etaq3
> PING etaq3.etaq.com (192.168.0.12): 56 data bytes
> 64 bytes from 192.168.0.12: icmp_seq=0 ttl=64 time=0.402 ms


When you telnet to any tcp port and you receive 'Connected to ' followed by
an immediate Connection closed by foreign host, it almost always means
tcp_wrappers is blocking your connection.

FWIW - the 'Connected to' blurb means the 3-way TCP handshake was successful.

I thought the default install has tcp_wrappers "open".  Since it sounds like
it's not open, add the following line to the very top of /etc/hosts.allow to
effecctively disable tcp_wrappers:

ALL : ALL  : allow


As another test... do the following:

# telnet etaq3 22

Do you get an SSH banner immediately? eventually? never?

--daxbert

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


Re: The web-based bug interface is currently disabled.

2003-03-02 Thread Daxbert
Quoting Matthew Emmerton <[EMAIL PROTECTED]>:

> > On Sun, Mar 02, 2003 at 12:48:58PM -0500, Bill Moran wrote:
> > > Pedro F. Giffuni wrote:
> > > >>No, FreeBSD dislikes moronic skript kiddies spamming
> > > >>the PR database.
> > > >
> > > >OK, I'm screwed :(. It's difficult to find committers
> > > >interested in my ports (math/cad stuff) anyway. I
> > > >guess I'll just keep'em for myself for some more time.
> > >
> > > Or you could consider helping find a way to re-enable
> > > the www to send-pr while preventing script kiddies from
> > > abusing it.
> 
> Why not have a "pr-moderator" for each category (i386, kern, doc, etc), who
> approves each incoming PR.  Basically this person would act as a front-line
> defense against spammers, but it would also allow them to assign PRs to
> developers as they are submitted, rather than letting them sit in the PR
> database for weeks/months before anyone picks them up.
> 

I've never submitted a pr, but I've written scripts for bulk web submissions
(GET and POST for load testing web apps).   Did the previous web pr-interface
have any sort of verification process? (e.g. email to submitter)  Were there any
sanity checks?  (e.g. no more than X pr's per Y time)

Where would I look to find the *old* web pr interface?

--daxbert







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


Re: File system limits

2003-02-27 Thread Daxbert
Quoting Erik Trulsson <[EMAIL PROTECTED]>:

> On Fri, Feb 28, 2003 at 12:11:14AM +, How Can ThisBe wrote:
> > I'm working on a little experimental script and I'm wondering if there
> > is any kind of limit as to how many files or subdirectories a directory
> > can have.
> 
> Yes, there is a limit on how many subdirectories a directory can have.
> This is because there is a limit on how many hardlinks there can be to
> > 
> > I'm in the planing stages at the moment and I'm think that I may have
> > upto 4096 directories in a single directory, each of these 4096
> > directories could have upto 4096 sub directories...
> 
> That should not be a problem.  Depending on how you access these
> directories you *might* see some of the slowdown for large directories

FWIW-

At some point you might want to ask... should this be a filesystem? or a database?

If you're looking to stress test a FS that's one thing, but handling tens of
thousands of little bits of data is sometimes managed better with a simple
database.  

I've seen instances where a recursive script went *nuts* and created a directory
structure so deep it couldn't be removed with a simple rm -rf.  

--daxbert



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


Re: proftpd config question

2003-02-27 Thread Daxbert
Quoting David Banning <[EMAIL PROTECTED]>:

> > > I have proftpd running successfully on my site. The problem is that I
> > > don't want the initial login to take my to my -home- directory.
> > >
> > > I would like the opening directory to be my webpage directory.
> > > I scanned the man page and the proftpd.conf file but did not see any
> > > reference for this.
> > >
> >
> > The following should work...
> >
> > DefaultChdir ~/public_html
> 
> I tried your exact line, but it does not work for me. I also tried the
> absolute
> DefaultChdir /usr/local/www/data
> 
> I did try
> DefaultRoot /usr/local/www/data
> 
> which does work.  Now it gets more complicated because I would have most
> users go to their own directories, but when I log in, I want to go to the
> web folder.
> Is that possible?
> 

I guess I should have been more specific.

DefaultChdir ~/public_html

means, after any user has authenticated, change their directory to the
sub-directory "public_html" located in their home directory.

You're probably looking for this...

DefaultChdir /usr/local/www/data   your_group_name_here

this means, after a user in group your_group_name_here has authenticated, change
the working directory to /usr/local/www/data.  Just make sure the group
specified is one you belong to, but none of the other users.

for more info on proftpd directives:

http://proftpd.linux.co.uk/docs/directives/linked/by-name.html


--daxbert



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


Re: clear_tmp_enable

2003-02-27 Thread Daxbert
Quoting Paulo Roberto <[EMAIL PROTECTED]>:

> 
> Is there a way to put some extra configuration on rc.conf so
> clear_tmp_enable would only clean objects older than X days or so?
> 

Yes, but you'll have to roll your own.

If you're running FreeBSD-5, you can take a look at editing /etc/rc.d/cleartmp

For FreeBSD-4, you'll need to take a look at editing /etc/rc, near clear_tmp_enable.

--daxbert



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


Re: proftpd config question

2003-02-27 Thread Daxbert
Quoting David Banning <[EMAIL PROTECTED]>:

> I have proftpd running successfully on my site. The problem is that I
> don't want the initial login to take my to my -home- directory.
> 
> I would like the opening directory to be my webpage directory.
> I scanned the man page and the proftpd.conf file but did not see any
> reference for this.
> 

The following should work...

DefaultChdir ~/public_html

--daxbert


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


Re: I need big Help! (Not yet another newbie question!)

2003-02-26 Thread Daxbert
Quoting Murat <[EMAIL PROTECTED]>:

> I'm using freebsd 4.7 release with IBM dedicated server (P3-1133, 512 ram,
> 36 gigs hdd etc)
> 
> Everything was normal at this moment.
> When I try to upgrade my apache, with compiling PHP, Php-Accelerator, I
> noticed my Apache is using 150Mb ram from now on!
> Like this (a line from "top" command)
> 38016 nobody2   0   145M  8308K sbwait   0:04  0.00%  0.00%
> httpd
> 
> it should use 10-12 Mb usually, and increase when child proccess number
> increase.
> But Apache start with 145-150Mb ram usage, this stays exactly like that in
> top command
> But when proccess increase, my swap ram getting filled, and server
> slowdowns
> a lot

Can you show us the output of following commands both before and after starting
apache:

vmstat
swapinfo
top

I ask because, I too am running apache and see the same large memory consumption
reported by SIZE (in top).  However, it's *not* caused me any problems, and even
with 60 processes all reporting 145MB (145MB x 60 = 8.7GB) I use no swap.  

--daxbert



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


Re: 4.7 Upgrade issue

2003-02-26 Thread Daxbert
Quoting rew <[EMAIL PROTECTED]>:

> I'm trying to upgrade from FreeBSD 4.6-STABLE #0: Sat Jun 29 to RELENG_4_7
> 
> mkdir -p /tmp/install.55427
> for prog in [ awk cat chflags chmod chown date echo egrep find grep  ln make
> makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl  test true uname wc zic;
> do  cp `which $prog` /tmp/install.55427;  done
> usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
>cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
> *** Error code 64
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 

If the install is still failing for you...

It looks as if the 'which' command is failing to find the executables listed. 
Could root's path be improperly set?  Since you mentioned that this host was
remote.  Did you 'su' to root or 'su -'?  

Just a thought.

BTW, to find out which binary is missing, or can't be foundin the path, 
run this script.  
It will tell you what executable(s) is(are) the problem.


#!/bin/sh

for prog in [ awk cat chflags chmod chown date \
echo egrep find grep  ln make makewhatis mtree \
mv perl pwd_mkdb rm sed sh sysctl  test true \
uname wc zic;
do  echo "WHICH $prog:   ::`which $prog`::"; done


just look for the one with the empty value ''

--daxbert

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


Re: dump: skewed I/O, why?

2003-02-25 Thread Daxbert
Quoting Christian Weisgerber <[EMAIL PROTECTED]>:
> During a dump(8) of a filesystem on da0 to a holding file on da1,
> with nothing else going on, iostat(8) reports figures such as these:
> 
>  da0  da1  cd0  cd1 
>   KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s 
>  64.00 148  9.28  64.00  24  1.52   0.00   0  0.00   0.00   0  0.00 
>  64.00 138  8.61  61.67  24  1.47   0.00   0  0.00   0.00   0  0.00 
> 
> Why is the I/O ratio so skewed towards reading?  
> 
> And yes, this uses dump's recently introduced -C cache option.

It might be helpful to know what argument you're passing to dump
and how you are redirecting the output.

I normally redirect the output to a compression utility 
and then to disk... so, for me what you're seeing is normal.
However, I gather from your surprise that you're
not using a compression utility?

--daxbert

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


Re: Two nics installed, only one visible

2003-02-24 Thread Daxbert
Quoting Stacey Roberts <[EMAIL PROTECTED]>:

> On Mon, 2003-02-24 at 23:35, Daxbert wrote:
> > Quoting Stacey Roberts <[EMAIL PROTECTED]>:
> > 
> > > Intel Pro100S
> > > 3COM OfficeConnect (3CSOHO100B)
> > > 
> > > At installation, I had the Intel (fxp0) connected to the switch, and it
> > > was configured during the sysinstall stage. However, the 3COM nic never
> > > showed up after installation in dmesg (as far as I can tell, that is):
> > > 
> > > But the 3COM *is* picked up from scanpci:
> > > 
> > > pci bus 0x cardnum 0x0a function 0x00: vendor 0x10b7 device 0x9300
> > >  3COM  Device unknown
> > >  CardVendor 0x10b7 card 0x9300 (3COM, Card unknown)
> > > 
> > > Am I missing something?
> > > 
> > 
> > It would appear that from /usr/src/sys/pci/if_xlreg.h that the device id
> 0x9300
> > is not present.  Because a reference for 0x9300 doesn't exist, you will
> have an
> > unknown 'card', and it won't use the driver.
> > 
> 
> I was just doing a search around FreeBSD tech sites and actually, this
> *specific* nic - 3CSOHO100B-TX isn't actually listed. What *is* listed
> in the Handbook is:
> 
> 3cSOHO100-TX OfficeConnect adapter  <-- WHERE I WENT WRONG>>>>>>>>>>>>>>
> 
> In looking man xl(4) though, 3cSOHO100-TX OfficeConnect isn't even
> mentioned, far less for 3CSOHO100B-TX. So it appears that I've not done
> my homework on this one :-(
> 
> > I've never done this... but one option would be to edit if_xlreg.h and
> *add*
> > support for your card and recompile and install the new kernel.
> 
> Man.., I'd like to get this working.., but I'm not sure about editing
> those files - not a programmer, you see. Is the HURRICANE_SOHOTX
> actually the one to edit, for instance?
> 

In a previous email I mentioned my logic behind picking the HURRICANE SOHO,
because it was the only one which mentioned SOHO in the name.

I did some further research (google: 0x9300 SOHO) and found that this card isn't
 based on the HURRICANE chipset at all:

http://www.tux.org/hypermail/linux-vortex/2002-Dec/0054.html

the author mentions that it's a 'tulip' based card. Tulip is a DEC
ASIC. First make sure the de driver is enabled, and disable your existing xl
driver.  And hope for the best.

If it's still undetected... you'd need to hack into the tulip files... I'd
recommend this if you are comfortable with booting alternate kernels.  That way,
if you break the kernel it's not a big deal.

if_de.c and if_devar.h (both in /usr/src/sys/pci) are the files in question.

good luck

--daxbert

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


Re: Two nics installed, only one visible

2003-02-24 Thread Daxbert
Quoting Stacey Roberts <[EMAIL PROTECTED]>:

> On Mon, 2003-02-24 at 23:35, Daxbert wrote:
> > Quoting Stacey Roberts <[EMAIL PROTECTED]>:
> > 
> > > Intel Pro100S
> > > 3COM OfficeConnect (3CSOHO100B)
> > > 
> > > At installation, I had the Intel (fxp0) connected to the switch, and it
> > > was configured during the sysinstall stage. However, the 3COM nic never
> > > showed up after installation in dmesg (as far as I can tell, that is):
> > > 
> > > But the 3COM *is* picked up from scanpci:
> > > 
> > > pci bus 0x cardnum 0x0a function 0x00: vendor 0x10b7 device 0x9300
> > >  3COM  Device unknown
> > >  CardVendor 0x10b7 card 0x9300 (3COM, Card unknown)
> > > 
> > > Am I missing something?
> > > 
> > 
> > It would appear that from /usr/src/sys/pci/if_xlreg.h that the device id
> 0x9300
> > is not present.  Because a reference for 0x9300 doesn't exist, you will
> have an
> > unknown 'card', and it won't use the driver.
> > 
> 
> I was just doing a search around FreeBSD tech sites and actually, this
> *specific* nic - 3CSOHO100B-TX isn't actually listed. What *is* listed
> in the Handbook is:
> 
> 3cSOHO100-TX OfficeConnect adapter  <-- WHERE I WENT WRONG>>>>>>>>>>>>>>
> 
> In looking man xl(4) though, 3cSOHO100-TX OfficeConnect isn't even
> mentioned, far less for 3CSOHO100B-TX. So it appears that I've not done
> my homework on this one :-(
> 
> > I've never done this... but one option would be to edit if_xlreg.h and
> *add*
> > support for your card and recompile and install the new kernel.
> 
> Man.., I'd like to get this working.., but I'm not sure about editing
> those files - not a programmer, you see. Is the HURRICANE_SOHOTX
> actually the one to edit, for instance?
> 

In a previous email I mentioned my logic behind picking the HURRICANE SOHO,
because it was the only one which mentioned SOHO in the name.

I did some further research (google: 0x9300 SOHO) and found that this card isn't
 based on the HURRICANE chipset at all:

http://www.tux.org/hypermail/linux-vortex/2002-Dec/0054.html

the author mentions that it's a 'tulip' based card. Tulip is a DEC
ASIC. First make sure the de driver is enabled, and disable your existing xl
driver.  And hope for the best.

If it's still undetected... you'd need to hack into the tulip files... I'd
recommend this if you are comfortable with booting alternate kernels.  That way,
if you break the kernel it's not a big deal.

if_de.c and if_devar.h (both in /usr/src/sys/pci) are the files in question.

good luck

--daxbert

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


Re: Two nics installed, only one visible

2003-02-24 Thread Daxbert
Quoting Daxbert <[EMAIL PROTECTED]>:

> Quoting Stacey Roberts <[EMAIL PROTECTED]>:
> 
> > Intel Pro100S
> > 3COM OfficeConnect (3CSOHO100B)
> > 
> > At installation, I had the Intel (fxp0) connected to the switch, and it
> > was configured during the sysinstall stage. However, the 3COM nic never
> > showed up after installation in dmesg (as far as I can tell, that is):
> > 
> > But the 3COM *is* picked up from scanpci:
> > 
> > pci bus 0x cardnum 0x0a function 0x00: vendor 0x10b7 device 0x9300
> >  3COM  Device unknown
> >  CardVendor 0x10b7 card 0x9300 (3COM, Card unknown)
> > 
> > Am I missing something?
> > 
> 
> It would appear that from /usr/src/sys/pci/if_xlreg.h that the device id
> 0x9300
> is not present.  Because a reference for 0x9300 doesn't exist, you will have
> an
> unknown 'card', and it won't use the driver.
> 
> I've never done this... but one option would be to edit if_xlreg.h and *add*
> support for your card and recompile and install the new kernel.
> 
> The following line exists in /usr/src/sys/pci/if_xlreg.h (RELENG_4_7)
> 
> #define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646
> 
> maybe you could try changing this to:
> 
> #define TC_DEVICEID_HURRICANE_SOHO100TX 0x9300
> 
> NOTE: A *proper* solution would be to add a new line to if_xlreg.h and add
> support for this new device to if_xl.c.
> 
> But for now the 0x9300 hack is worth a shot...
> 

I should probably mention, the reason I chose to change 0x7646, is becuase it
was the only one with SOHO in the name.  If your new SOHO card isn't based on
the HURRICANE ASIC, the above hack will fail.  In which case you should research
which ASIC it is based on, and then make the change to one of the other DEVICEID
defines.


--daxbert


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


Re: Two nics installed, only one visible

2003-02-24 Thread Daxbert
Quoting Stacey Roberts <[EMAIL PROTECTED]>:

> Intel Pro100S
> 3COM OfficeConnect (3CSOHO100B)
> 
> At installation, I had the Intel (fxp0) connected to the switch, and it
> was configured during the sysinstall stage. However, the 3COM nic never
> showed up after installation in dmesg (as far as I can tell, that is):
> 
> But the 3COM *is* picked up from scanpci:
> 
> pci bus 0x cardnum 0x0a function 0x00: vendor 0x10b7 device 0x9300
>  3COM  Device unknown
>  CardVendor 0x10b7 card 0x9300 (3COM, Card unknown)
> 
> Am I missing something?
> 

It would appear that from /usr/src/sys/pci/if_xlreg.h that the device id 0x9300
is not present.  Because a reference for 0x9300 doesn't exist, you will have an
unknown 'card', and it won't use the driver.

I've never done this... but one option would be to edit if_xlreg.h and *add*
support for your card and recompile and install the new kernel.

The following line exists in /usr/src/sys/pci/if_xlreg.h (RELENG_4_7)

#define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646

maybe you could try changing this to:

#define TC_DEVICEID_HURRICANE_SOHO100TX 0x9300

NOTE: A *proper* solution would be to add a new line to if_xlreg.h and add
support for this new device to if_xl.c.

But for now the 0x9300 hack is worth a shot...

--daxbert

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


btxld fails in boot2 during buildworld for -current

2003-02-23 Thread Daxbert
I'm sorry if 'questions' isn't the proper list for this...
(let me know which list if this isn't the right one)
 
It seems that the btxld command run in boot2 is failing with
'-293 bytes available'
 
This first happened earlier yesterday (02/22/2003)
 
My last cvsup was at 02/23/2003 @ 0053 PST  (about 2 hours ago)
 
I nuked and re-cvs'd the /usr/src/sys/boot/i386 directory,
and I am still having the same problem.
 
Has anybody else had or having this problem?
 
The host is an Intel P4, 512MB RAM, Abit SR7-8X
 
# uname -a
FreeBSD host.dweebsoft.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Fri Feb 21
01:59:28 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386
 
 
# make buildworld
 

 
===> sys/boot/i386/boot2
cpp -elf -ffreestanding -Os -fno-builtin  -fno-guess-branch-probability
-fomit-frame-pointer -mno-align-long-strings  -mrtd  -DUFS1_AND_UFS2 
-I/usr/src/sys/boot/i386/boot2/../../common 
-I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall -Waggregate-return
-Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
-ffreestanding -mpreferred-stack-boundary=2   
/usr/src/sys/boot/i386/boot2/boot1.s |  as  --defsym FLAGS=0x80 -o boot1.o
ld -nostdlib -static -N --gc-sections -e start -Ttext 0x7c00 -o boot1.out boot1.o
objcopy -S -O binary boot1.out boot1
dd if=/dev/zero of=boot2.ldr bs=276 count=1 2>/dev/null
nm -t d boot1.out | awk '/([0-9])+ T xread/  { x = $1 - ORG1;  printf("#define
XREADORG %#x\n", REL1 + x) }'  ORG1=`printf "%d" 0x7c00`  REL1=`printf "%d"
0x700` > boot2.h
cc -elf -ffreestanding -Os -fno-builtin  -fno-guess-branch-probability
-fomit-frame-pointer -mno-align-long-strings  -mrtd  -DUFS1_AND_UFS2 
-I/usr/src/sys/boot/i386/boot2/../../common 
-I/usr/src/sys/boot/i386/boot2/../btx/lib -I.  -Wall -Waggregate-return
-Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
-ffreestanding -mpreferred-stack-boundary=2-S -o boot2.s.tmp
/usr/src/sys/boot/i386/boot2/boot2.c
sed -e '/align/d' -e '/nop/d' < boot2.s.tmp > boot2.s
rm -f boot2.s.tmp
as  -o boot2.o boot2.s
as  --defsym SIOPRT=0x3f8  --defsym SIOFMT=0x3  --defsym SIOSPD=9600 
/usr/src/sys/boot/i386/boot2/sio.s -o sio.o
ld -nostdlib -static -N --gc-sections -Ttext 0x2000 -o boot2.out 
/usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx
-l boot2.ldr  -o boot2.ld -P 1 boot2.bin
kernel: ver=1.01 size=780 load=9000 entry=9010 map=16M pgctl=1:1
client: fmt=bin size=1691 text=0 data=0 bss=0 entry=0
output: fmt=bin size=1f25 text=114 data=1e11 org=0 entry=0
-293 bytes available
*** Error code 1

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


HOWTO upgrade a FreeBSD production server

2003-02-22 Thread Daxbert
I'm hoping to get a few suggestions on a quick and safe method to upgrade a
FreeBSD production server.  To date, I've been doing the following:

On a like configured staging server, cvsup the src tree.  Then perform a
full build and install as outlined in /usr/src/Makefile.  After confirming that
the host operates as planned, I create a tarball of /usr/src and /usr/obj.

I then transfer and extract the tarball on the production server(s), where I then
perform installkernel / reboot / installworld.

I'd like to find something a little quicker that doesn't require so much free
space on the production server. I've looked at DESTDIR and creating a tarball of
that directory on the staging server, but I've had problems during extraction
with files and the 'schg' flag.

Any suggestions?

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


Re: 5.0 SMP

2003-02-19 Thread Daxbert
Quoting Brent Wiese <[EMAIL PROTECTED]>:

> Anyone using 5.0 on a multi-processor system?
> 
> Later 4.X versions seemed to be pretty stable but haven't seen anything
> about 5.0.
> 
> I have a chance to replace a very high load single proc server doing a
> lot of PHP crunching with a dual p3 550 and wondering if that's a
> smarter move than getting a newer p3 1ghz+. Its definitely cheaper since
> I already own the dual-proc...
> 

I've had issues with /stand/sysinstall failing to run and locking up the host on
Compaq 1850Rs while booting from the 5.0 CD.  I've not tried to further diagnose
the problem, as I'm still happy with 4.7 and other tasks have drawn my attention.

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



mdconfig, cd9660 and mount -o rw

2003-02-19 Thread Daxbert
I'm aware that under normal circumstances, cd9660 should 
always be read-only, but I was hoping I'd be able to make 
changes to an iso image, and then burn the modified image. 

The image is bootable, and I'm looking to avoid "breaking" 
the bootable nature of the CD by my inept use of mkisofs.

Here's what I've tried...

(as root)
# chown root:wheel /tmp/mycd.iso
# chmod 666 /tmp/mycd.iso
# mkdir /mnt/cd
# mdconfig -a -t vnode -f /tmp/mycd.iso -u 1
# mount -t cd9660 -o rw /dev/md1 /mnt/cd

This works, and /mnt/cd is the iso's filesystem.  
However, the rw argument is ignored. Any actions which would 
write to the iso image fail with "Read-only file system".  

The mount command also shows...

/dev/md1 on /mnt/cd (cd9660, local, read-only)

Suggestions? or should I just RTFM on mkisofs and bootable CDs

--daxbert



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



FreeBSD Media Player equivalent...

2003-02-18 Thread Daxbert
I've finally decided to run FreeBSD as my primary 
workstation environment.  Previously I have only
used it as a server platform.  I've managed to replace
most of the desktop utilities I need, but I need
a good replacement for Windows Media Player.

I'm looking for opinions here

I'd like an application that works well as 
a stream player (i.e. supports playing mp3/mpeg/avi/etc 
from a web site via mozilla) as well as 
playing dvd/vcd/divx/dvd/etc from the localhost.

I'm also looking for an application that has the concept 
of easy to install/manage codecs.  I'd like to avoid 
having to --enable via configure and re-compile each time 
I need a new codec.  

The GUI need not be pretty, but should not be kludgy, and 
adware would be a big minus. 

If the application supported network updates of both the
player and the codec w/o adware, I'd even be willing 
to throw some money towards a yearly subscription.

Suggestions?

--daxbert


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 Daxbert
> > 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: file system trouble

2003-02-14 Thread Daxbert
> The /home filesystem was full (121G partition on a 3ware escalade raid)
> So i deleted 7G, but df did not show any difference. The fs is mounted w/
> soft-updates. I issued a sync command, but still no change. The files were no
> longer shown in ls, but space was not freed. So i decided to reboot, to make
> sure that the deleted files are not still opened by some process.
> The shutdown went normal, but at the end it said:
> sysncing disks..
> 3321 3321 3321 3316 .
> giving up on 1 buffers.
> When rebooting, all fs were unclean and i had to wait the usual 20 minutes for
> fsck to complete.

I've seen the same 'df' situation when softupdates are enabled, but I've never tried 
to resolve the problem with a reboot.  I just
ignore the 'df' output, and proceed normally.  After some time passes, 'df' returns to 
reporting the expected values.  I've always
thought this was normal with softupdates.  However, I've not had your problem with the 
fsck, but then again...  I've not rebooted
soon after deleting 7GB of data from a file system.

What are you running?  4.6.2, 4.7, -current?


--daxbert


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



Re: FreeBSD and DSL CONNECTIVITY ISSUES,

2003-02-13 Thread Daxbert
> circa 2/13/03 4:02 AM, agmesctaykira <[EMAIL PROTECTED]> wrote:
>
> > Java applets
>
> Uh oh.
>
> > Customers are reporting issues such as:
>
> >> Recently I've noticed that your site operates very slowly.  When I am surfing
> >> at , the speed gradually decreases until it won't navigate at all
> >> anymore.  sometimes  even breaks my dsl connection somehow and I have to
> >> re-start my computer.  One one occasion it actually crashed my machine and
> >> caused it to re-boot.  These issues are not occurring when visiting other
> >> websites.  Any ideas?
>
> My guess is your Java code has something in it which causes some VMs to
> degenerate into badness. This is not to say your Java code has bugs, but
> many VMs do. I can't see how your server would be involved in this sort of
> problem. I'd gather data on the VMs installed on the machines of the folks
> who complain.
>

One option is to force the VM used by using the Sun Java plug-in.  It supports all of 
the popular platforms.  This helps in getting
most of your users on the *same page*.

http://java.sun.com/products/plugin/

--daxbert




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



Re: Silly question re: Apache NameVitualHost directive

2003-02-13 Thread Daxbert
>
> So, I should have the following...
>
> NameVirtualHost *
> 
> 
> 
> 
>
> And those will anser on all/any IPs that are resolving to the box?
>


I'm not sure about the '*' directive.  It may work.  On my hosts with multiple IPs, I 
tend to limit NameVirutalHosting to one or two
of the available IPs.  This is mostly due a personal preference to avoid SSL/HTTPS 
conflicts.


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



Re: Silly question re: Apache NameVitualHost directive

2003-02-13 Thread Daxbert
> I'm wondering why/how I can get multiple NameVirtualHost IP addresses to
> answer?
>
> For example, I have one IP listed in the NameVirtualHost directive (e.g.
> 11.22.33.44), in my VitualHost 'containers' I use that IP like so:
>  etc. For some reason, I've never been able to
> get a * to work on FreeBSD? Anyway, I have several Ips aliased on the
> NIC and I'd like to use them as separate NameVirtualHost addresses, so
> that I can also point domains to 11.22.33.55 and have them respond to
> the  directives. At the moment, I can't seem to
> get this working?

All you need is multiple NameVirtualHost directives in your httpd.conf

Example:

NameVirutalHost 11.22.33.44
NameVirutalHost 11.22.33.55
NameVirutalHost 11.22.33.66


Second, when you're doing NameVirtualHost, you should avoid using IP based names in 
virtualhost.  The purpose of Named hosts, is to
use the browser supplied host header to identify which virtual server to use.

Then when apache parses the   it will lookup the 
IP for the given name, and if it matches one
of the NameVirtualHosts, name based hosting will be used for that host.  You will get 
a warning if you have a NameVirtualHost
directive, and none of the Vhosts have a name which resolves to that IP.


--daxbert


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



Re: Off-topic question.

2003-02-13 Thread Daxbert
> Don't know if you have been seeing more and more of these messages in your
> surfing:
> 
> SERVER_RESPONSE_RESET
> 
> It's a message on a white screen with little else.
> 
> Searching web, cisco (I thought it was a router issue...),
> httpd.apache.org, etc didn't turn up any good results.
> 
> Not important, me and me friends were trying to figure out where it is
> coming from.

Are you by chance using a web proxy? or does your ISP use 
a transparent web proxy?

--daxbert



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



Why is there no JFS?

2003-02-12 Thread Daxbert
The inspiration for this email was from a thread in 
-questions: "Re: fsck takes very long after crash/reset"

Is anybody currently working on or does there exist
a JFS for FreeBSD?

I've read in the archives, the discussion about 
not really needing JFS because of the benefits of
softupdates. As well as some talk about BSD / GPL
license issues.

Is there not a JFS for FreeBSD becuase, Softupdates 
do the job just fine and nobody has the 
time or interest to work on this?

I'm not running FreeBSD 5.x. So I'm not able to take 
advantage of the background fsck. Can anybody comment 
on their success w/ the background fsck?

If a JFS were to be ported and/or developed for FreeBSD
what should it be based on? XFS, JFS, ReiserFS???

Who would be considered the "maintainer" for this type of
work?


--daxbert

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



Re: backup

2003-02-12 Thread Daxbert
> Hello-
> I would like to backup my cvs repository in case my system goes down or incase i
> want to move the repository. can i tar up the files in the root directory and
> save it on a cd?
> 
> I would also like to back up my mysql databases for the same reasons. can i tar
> those up for later use?
> 

Not sure about cvs... However, for mysql, you should use mysqldump.

# mysqldump -u {username} -p{password} {database} > ./{database}.`date 
+%Y%m%d-%H%M`.sql

This will give you a nice datestamped sql script 
to rebuild your database.  

However, this will only contain your database 
information and structure. You will also need a backup 
of the mysql database (users, permissions, etc).

# mysqldump -u root -p mysql > ./mysql.`date +%Y%m%d-%H%M`.sql

A final option is too just backup all of the databases in one shot.

# mysqldump -u root -p --all-databases > ./FULL.`date 
+%Y%m%d-%H%M`.sql

--daxbert

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



Re: Resolving or blocking eg. doubleclick.net?

2003-02-12 Thread Daxbert
> > On Wednesday 12 February 2003 11:17, Daxbert wrote:
> > 
> > > One option... cheat
> > >
> > > Make your dns server authoritative
> > > for doubleclick.net, and have no entries
> > > (or optionally your own web server as an * entry)
> > > in the zone file.
> > 
> > So, would that mean I should create an entry in named.conf like:
> > 
> > zone "doubleclick.net" {
> > type master;
> > file "doubleclick.net";
> > };
> > 
> > and then don't have a doubleclick.net ... or should I create an empty file? 
> > ... or?
> > 
> > > named stores it's cache in memory. You can get a dump
> > > of the current cache.. don't remember the exact syntax
> > > but it's in the man page.
> > 
> > Hmm, so every time I reboot I loose my cache? But still, if I visit eg. 
> > <http://www.politiken.dk> and wait untill it's loaded (ie. finished resolving 
> > doubleclick.net) and then hit reload it ought to go a lot quicker. But it 
> > doesn't, takes just as long. :-/
> > 
> > Bjarne
> 

about  "takes just as long"

Are you sure it's the DNS resolution that's slowing you down? and not the 
javascript download / cookie transfer / ad picture issues with doubleclick? 

If you use the empty zone trick, you should no longer have these delays. But pages
may not render as expected.  ( e.g. [x] images )

--daxbert


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



Re: Resolving or blocking eg. doubleclick.net?

2003-02-12 Thread Daxbert
> On Wednesday 12 February 2003 11:17, Daxbert wrote:
> 
> > One option... cheat
> >
> > Make your dns server authoritative
> > for doubleclick.net, and have no entries
> > (or optionally your own web server as an * entry)
> > in the zone file.
> 
> So, would that mean I should create an entry in named.conf like:
> 
> zone "doubleclick.net" {
> type master;
> file "doubleclick.net";
> };
> 
> and then don't have a doubleclick.net ... or should I create an empty file? 
> ... or?
> 
> > named stores it's cache in memory. You can get a dump
> > of the current cache.. don't remember the exact syntax
> > but it's in the man page.
> 
> Hmm, so every time I reboot I loose my cache? But still, if I visit eg. 
> <http://www.politiken.dk> and wait untill it's loaded (ie. finished resolving 
> doubleclick.net) and then hit reload it ought to go a lot quicker. But it 
> doesn't, takes just as long. :-/
> 
> Bjarne

I do this in named.conf...

zone "atdmt.com" {
type master;
file "db.empty_zone";
};

zone "doubleclick.net" {
type master;
file "db.empty_zone";
};

then, I have a single file called db.emtpy_zone

$TTL 36000
@   IN SOA  my.dns.server. email.address.i.use.in.zones. (
1 ; serial
36000  ; refresh 
18000  ; retry
1209600; expire
36000  ; minimum 
)
NS  my.dns.server.
*   A   1.1.1.1 ; 

NOTE: The  1.1.1.1 A record is optional.  
If you use this, you should point it to your
own web server. 




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



Re: Resolving or blocking eg. doubleclick.net?

2003-02-12 Thread Daxbert
> On Wednesday 12 February 2003 10:43, Frank Tegtmeyer wrote:
>
> > > 3) Since I'm only aiming for a dns-cache I'm right in assuming I should
> > > keep my hands away from all the zone-stuff?
> > Much better: follow the instructions in
> > http://cr.yp.to/djbdns/install.html and
> > http://cr.yp.to/djbdns/run-cache.html
> > and then forget any dns- and dns related security problems.
>
> Tried it, but really got confused trying to install it. Ended up having a
> service dir created all over my system. Never got it to work.
>
> But looks like I got bind working (my firewall blocked quiries), but it
> doesn't look like a dnscache is solving my problem. *Still* takes forever for
> my box to resolve eg. doubleclick.net. This is *REALLY* getting on my nerves
> to sit and wait ½-5 minutes for a page to load because some unresolvable
> server is blocking.
>
> Anyone know how to solve this issue?
>
> And where *does* named/bind store it's cache-data?
>
> Bjarne

One option... cheat

Make your dns server authoritative
for doubleclick.net, and have no entries
(or optionally your own web server as an * entry)
in the zone file.

named stores it's cache in memory. You can get a dump
of the current cache.. don't remember the exact syntax
but it's in the man page.

--daxbert



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



Re: machine resources slow to a crawl

2003-02-11 Thread Daxbert
> I just tried re-installing my squid files for the first time in a year.
> 
> My machine slowed down to a crawl. Even re-starting the machine doesn't
> help. Even running a simple ascii screen is slow. 
> 
> How might I track down what is eating up the resources of my machine?
> 
> I've shut down squid with no result.
> 

I usually start with top then move on to other utils like vmstat / iostat

--daxbert

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



Re: Help with racoon(kame)

2003-02-10 Thread Daxbert
>   Can someone please tell me how to install the racoon 
> software on freebsd4.7. I am kind of frustrated with racoon, because
> I cannot use ./configure and the make all commands runs but then 
> it comes back and prompts me for the patch file. And even after
> entering the path of the patch files, the compilation aborts.

Are you building from the ports tree?

The port (racoon-20020507a) works for me...

(as root)
# cd /usr/ports/security/racoon
# make
# make install

maybe you should post the specific error messages you're receiving. 

--daxbert


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



Re: FreeBSD Loader

2003-02-10 Thread Daxbert
> I did that. The bootloader comes up but it gives this error...
> 
> FreeBSD/i386 boot
> Default: 0:da(0,a)F1
> boot:
> 
> It does show the two slices that I created
> 
> F1 FreeBSD
> F2 FreeBSD
> 
> The root is on F2, F1 is the FreeBSD Swap.
> 
> I hope that,
> 
> Thanks,
> 
> Chuck Payne
> 
> -Original Message-
> From: Daxbert [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 10, 2003 4:10 PM
> To: Chuck Payne; [EMAIL PROTECTED]
> Subject: Re: FreeBSD Loader
> 
> 
> > I am trying to install FreeBSD 5.0, but everytime I install it and reboot
> > the FreeBSD bootloader won't boot FreeBSD, is there a trick that I need to
> > know to get this working? What do I need to read or do?
> >
> >
> > Chuck Payne
> 
> I've had this problem occur when I forget to
> set the partition as bootable/active during
> the "fdisk" portion of the install.
> 
> 
> You need to mark the partition as
> bootable (aka active) as well as
> install a bootloader to the MBR
> 
> --daxbert
> 

Here's silly question, why does swap appear as a bootable partition and for that 
matter it's own slice?  

How did you partition the drive? 

# fdisk /dev/da0 

should give the partition specs.

--daxbert




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



Re: FreeBSD Loader

2003-02-10 Thread Daxbert
> I am trying to install FreeBSD 5.0, but everytime I install it and reboot
> the FreeBSD bootloader won't boot FreeBSD, is there a trick that I need to
> know to get this working? What do I need to read or do?
> 
> 
> Chuck Payne

I've had this problem occur when I forget to 
set the partition as bootable/active during 
the "fdisk" portion of the install.


You need to mark the partition as 
bootable (aka active) as well as 
install a bootloader to the MBR

--daxbert






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



Re: TECO for FreeBSD?

2003-02-10 Thread Daxbert
> > Have you tried downloading v4.69 and compiling?
> 
> Compile the Windoze version on FreeBSD? That works???
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
source is source... it depends on how aggressive the developers
were on multi-platfrom compatability.

I did a goolge search for:  teco editor source

and the following link appeared in quite a few places: 

ftp://ftp.mindlink.net/pub/teco

--daxbert



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



Re: Instaling on a Compaq Proliant with SmartArray 221

2003-02-08 Thread Daxbert
> > I'm having problems with Compaq Hardware as well.
>
> I don't know if this helps you, but the Compaq SmartArray Adapters have
> a service partition which must be the boot-partition.
>
> Only installed linux on these machines so far. I know that you have to
> configure the boot-partition for your OS but don't remember if freebsd
> was an option.
>
Actually you don't.  The Compaq diagnostic partition doesn't have to be installed.  
I've installed W2K, Linux, and FreeBSD 4.x w/o
the diagnostic partition.  It can make your life easier, because you then don't need 
the Smart Start CD to make BIOS changes, but
that's about it.

My problem is with FreeBSD 5.0.  Obviously something has changed, which is keeping 
5.0's install CD, from booting on certain Compaq
hardware.

--daxbert


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



Re: Instaling on a Compaq Proliant with SmartArray 221

2003-02-07 Thread Daxbert
> I am a FreeBSD Newbie trying to install 5.0, but I will Install any 
> Version that will work, on a Compaq Proliant, Dual 550 MHz with 512 MB 
> RAM, Smart Array 221 RAID Controller with a RAID 5 Array (4 * 18.2GB) 
> drives.   The installation hangs after discovering the SCSI Tape Drive. 
>   With the following message:
> 
> Mounting root from ufs:/dev/md0
> /stand/sysinstall running as init on vty0
> panic: general protection fault
> 
> syncing disks, buffers remaining... panic: bdwrite: buffer is not busy
> Uptime: 20s
> 
> What tricks can I use to get this installed?
> 
> Any help is appreciated. 
> 
> Scott

I'm having problems with Compaq Hardware as well.

I'm mainly interested in how to generate the necessary 
debug/core information, so that others more skilled than 
myself may find the cause of this problem.  I'm not 
sure how to proceed given the boot media is read-only.

Compaq 1850R
Dual PIII 600Mhz *
512MB RAM
Adaptec 2940

*same problem happens with single cpu


I've placed the console output at the end of this email.  
I've clipped some of the boot data, the full output can 
be found here: http://ra.dweebsoft.com/console.html

Once the host fails, it locks hard.  Num-lock fails 
to toggle, and Ctrl-Alt-Del won't reboot the host.  
Also, even if no keys are struck, the host fails to 
reboot itself after the reported 15 seconds.

---
During the boot 
(prior to my specification of set console=comconsole) 
the following error is reported on the vga console

acpi: bad RSDP checksum (224)


FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a6.
Preloaded mfs_root "/boot/mfsroot" at 0xc0a600a8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 598185546 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (598.19-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  
Features=0x383f9ff
real memory  = 536854528 (511 MB)
avail memory = 510607360 (486 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
md0: Preloaded image  4423680 bytes at 0xc062679c
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
...
ahc0:  port 0x2400-0x24ff mem 0xc6ffe000-0xc6ffefff 
irq 5 at device 13.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
...
eisa0:  on motherboard
mainboard0:  on eisa0 slot 0
...
Timecounters tick every 10.000 msec
acd0: CDROM  at ata0-master PIO3
Waiting 15 seconds for SCSI devices to settle


Fatal trap 18: integer divide fault while in kernel mode
instruction pointer = 0x8:0xc0454102
stack pointer = 0x10:0xd6a0dce8
frame pointer = 0x10:0xd6a0dce8
code segment  = base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process  = 11 (idle)
trap number  = 18
panic: integer divide fault

syncing disks, buffers remaining... 
done
Uptime: 2s
Automatic reboot in 15 seconds - press a key on the console to abort
  


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



Re: monochrome monitor

2003-02-07 Thread Daxbert
> I have a monochrome monitor I'd like to plug
> in to a pentium-based FBSD router.  This worked
> fine on the old 386 computer it came from, but
> now that the 386 is dead, I'd still like to
> use it over a color monitor.  Pulling the VGA
> card and replacing it with the mono card and
> monitor does not work.  Any thoughts?  (I
> didn't find anything useful in the handbook
> or archives, but maybe I missed something.)
> 


Does your system's bios support older video?  Video selection is normally found on the 
"first" bios setup page.


--daxbert

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



Re: 5.25" Floppy

2003-02-07 Thread Daxbert
have you tried using:

/dev/fd0.1200  

I think 1.2MB is the normal size for a 5.25 dual sided floppy.  

--daxbert


- Original Message - 
From: "northern snowfall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 07, 2003 12:26 AM
Subject: 5.25" Floppy 


> Morning, all;
>  I'm trying to get a Mitsumi D509V3 1.2MB 5.25" floppy drive
>  to work on FreeBSD 4.2.6. The operating system reports the drive
>  is available and definitely makes contact with the drive (visual
>  confirmation: LED). The issue is during read/write from the
>  drive. Error message:
>  fd0c: hard error reading fsbn 0 (No status)
>  I have the proper drive type set in the BIOS. FreeBSD seems to
>  agree according to the dmesg:
>  fd0: <1200-KB 5.25" drive> on fdc0 drive 0
>  I've been doing simple read tests using:
>  dd if=/dev/fd0 count=1 bs=512 | hexdump ;
>  Any suggestions?
>  Don
>  
>  
> 
> 
> 
> 
> 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: about ifconfig

2003-02-02 Thread Daxbert
> I would like to know if this command 'ifconfig fxp0 media 100baseTX mediaopt
> full-duplex' remains effective even after reboots.
> And, how can I set full-duplex option for a particular interface while it is
> initializing at boot time ?
> 

No, it won't survive a cold start, 
and I doubt it would survive a reboot. 

In /etc/rc.conf, you should append
" media 100baseTX mediaopt full-duplex" 
to your existing ifconfig_fxp0.

example:

ifconfig_fxp0="inet a.b.c.d netmask w.x.y.z media 100baseTX mediaopt full-duplex"

If this is a DHCP interface, then it might be
best to add the media settings to either 
rc.local, or to /etc/start_if.fxp0

--daxbert

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



Re: Problems with IPSec

2003-01-22 Thread Daxbert
> I have a FreeBSD box running -STABLE which has had IPSec working with other
> hosts for quite some time without a problem.  I've just setup another
> FreeBSD box running 5.0-RC1 and am trying to establish a VPN tunnel but am
> not getting too far.  I'm using racoon and when attempting the negotiation
> with debugging enabled, the following message appears:
> 2003-01-20 12:00:23: ERROR: pfkey.c:207:pfkey_handler(): pfkey ADD failed:
> Invalid argument
> and the following message is logged via syslog:
> Jan 20 12:00:23 atlas kernel: key_mature: invalid AH key length 160 (128-128
> allowed)
> 
> The relevant section of racoon.conf which is identical on both boxes is:
> sainfo anonymous
> {
> pfs_group 1;
> lifetime time 86400 sec;
> encryption_algorithm 3des ;
> authentication_algorithm hmac_sha1 ;
> compression_algorithm deflate ;
> }
> 
> The box running -STABLE has been working fine with this configuration so I'm
> assuming the problem is with the box running 5.0-RC1.  Interestingly, I've
> also tried using des as the encryption algorithm and hmac_md5 as the
> authentication algorithm and I receive the following error message:
> racoon: failed to parse configuration file.
> 
> If anyone has any suggestions for a fix, or how I go about further
> diagnosing this problem, I'd love to hear from you.
> 
> Regards,
> 
> Scott.
> 

It looks like the AH key length needs to be forced to 128 bits???

From: 
http://www.qnx.com/developer/docs/momentics_nc_docs/neutrino/utilities/r/racoon.conf.html

"For algorithms that can take variable-length keys, algorithm names can be followed by 
a key length, like blowfish 448." 

Have you tried something along the lines of '3des 128' ?

Just a guess.

-Daxbert


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



Re: about system log

2003-01-21 Thread Daxbert
> 
> Can FreeBSD rotate the log file by the size,or some program can monitor the 
> size of the file.
> 
> Shen Chao
> 


Check out newsyslog and newsyslog.conf

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



CPU Affinity

2003-01-16 Thread Daxbert
What is the current state of CPU process affinity for SMP FreeBSD?  Are there any 
tools in user space akin to Solaris' pbind?

Thanks

Dax

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



Re: CVS INIT

2003-01-14 Thread Daxbert
> I could use a little help on this one,  
> Trying to run cvs for first time and 
> all I get is the following ,
> 
> !ThompsonToys# cvs (what I entered at command prompt)
> 
> (RESPONSE)
> Usage: cvs [cvs-options] command [command-options-and-arguments]
>   where cvs-options are -q, -n, etc.
> ...
> ThompsonToys# cvs login
> cvs login: No CVSROOT specified!  Please use the `-d' option
> cvs [login aborted]: or set the CVSROOT environment variable.
> 

check this link...

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




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



Re: mail

2003-01-14 Thread Daxbert
> i am doing:
> 
> Last login: Tue Jan 14 19:13:53 on ttyp2
> Welcome to Darwin!
> % mail <[EMAIL PROTECTED]>
> Missing name for redirect.
> % mail [EMAIL PROTECTED]
> Subject: not woking
> Thanks Adam and Daxbert for your help
> .
> EOT
> %
> 

avoid < and > on the command line.  They are used for redirecting input/output.  If 
you need to use them, quote them.

Daxbert





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



Re: mail

2003-01-14 Thread Daxbert
> On linux  I can use the mail program.  On darwin freeBSD the mail 
> program does not seem to work. Anyone have any clues?
> 
> Thanks Ken.
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
1)  a little more information than "does not seem to work" might be helpful in 
diagnosing your problem.

2) are you sending, or reading your local mail?

do the following:

# script

... do your mail stuff ...

# exit

post the created "typescript" file here.





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



Re: Re[2]: downloading problems from FreeBSD 4.7 STABLE

2003-01-14 Thread Daxbert
Have you checked the output of 

# netstat -s tcp

on both client and server to see if you are having tcp issues?

I'd follow up with a look at the errors on both the local and remote ethernet switches.


Dax


Tuesday, January 14, 2003 1:51 AM, you wrote:

> Hello Kent,
> 
> Monday, January 13, 2003, 14:00:29, you wrote:
> 
> > On Monday 13 January 2003 04:04 am, Metin de Dwaas wrote:
> >> what i dont understand is..
> >> that when i download from a machine on a 100Mbit connection i get
> >> like 115kb/s at home.
> >>
> >> but when i download from my own colocated machine i get like 3kb/s to
> >> 0.20kb/ LOL hahaha.. ok.. BUT the strange part is... that i asked a
> >> few friends of mine to download from that machine also... and they
> >> get their full 115kb/s.. so i think..
> >>
> >> 1. it isnt my connection because i can download with 115kb/s from
> >> another 100mbit machine..
> >> 2. it isnt the colo server because my friends CAN download with
> >> 115kb/s..
> >>
> >> what can possibly be the problem? anyone?
> >> oh yes... i have already tried to reinstall proftpd (well ok i know
> >> it sounds stupid... but hey.. i had to try something right? :-P)
> 
> > Check your DNS. This usually occurs when one machine doesn't have a DNS 
> > entry for the other machine and they basically time out.
> 
> Well they do not time-out. They just download with a slow speed. The
> remote server (which is my own) has a 100Mbit Full-Duplex connection.
> And should give like 10Mbyte p/s download speed on an similar connection.
> At home I have a 1Mbit connection. Which gives normally a download of
> 110kbyte p/s. And that's the speed I should have when I download from my
> own co-located server @ 100MBit. But it gives only 5kbyte p/s.
> 
> If i would have used a dns that could not resolve the host of my
> server, i couldn't even log in on ssh. So that's should not and
> could not be the problem. :(
> 
> I'm out of idea's what i could be.
> 
> > Kent
> 
> >>
> >>
> >> gr,
> >> Metin de Dwaas
> 
> 
> 
> 
> -- 
> Gr,
> dwaasje
> [EMAIL PROTECTED]
> 
> 
> 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: 4.7 Release hangs upon Sendmail startup.

2003-01-13 Thread Daxbert
>When I install BSD on a colo machine (actually 2 machines)
>And after the installation I reboot the machine..
>It hangs on the startup:

I've had problems like this when name resolution was broken.
Confirm name resolution is 'happy'. Check the following...

/etc/hosts
/etc/resolv.conf
no firewall issues blocking 53

You should be able to perform forward and reverse queries on
your hostname.

Dax


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