Re: differences in supported filesystems between FreeBSD versions

2005-08-11 Thread Glenn Dawson

At 10:44 PM 8/11/2005, Dmitry Mityugov wrote:

Hello,

I have a small FreeBSD machine at home used as a file server and a
gateway to the Internet. Currently when a new version of FreeBSD is
released (and I have enough time), I copy all the data to another
machine, reinstall FreeBSD from scratch, and copy the data back.


That seems like an awful lot of effort for little to no benfit.


I
just realized that I probably can keep the data on a separate drive
and just reinstall the OS without moving the data back and forth, but
I am not sure how safe it is. Is it safe to use a HDD partitioned and
formatted by one version of FreeBSD with a newer version? I know there
was UFS2 introduced in FreeBSD 5, are there any plans to make any
changes to supported file systems in the foreseeable future?


Even if there were, if the file systems you are using now are working, 
there isn't much reason to change them.


UFS2 expanded some fields from 32 bits to 64, and added or changed a few 
features, but the two are still very similar.


-Glenn



Thank you in advance for your answers

--
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

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


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


differences in supported filesystems between FreeBSD versions

2005-08-11 Thread Dmitry Mityugov
Hello,

I have a small FreeBSD machine at home used as a file server and a
gateway to the Internet. Currently when a new version of FreeBSD is
released (and I have enough time), I copy all the data to another
machine, reinstall FreeBSD from scratch, and copy the data back. I
just realized that I probably can keep the data on a separate drive
and just reinstall the OS without moving the data back and forth, but
I am not sure how safe it is. Is it safe to use a HDD partitioned and
formatted by one version of FreeBSD with a newer version? I know there
was UFS2 introduced in FreeBSD 5, are there any plans to make any
changes to supported file systems in the foreseeable future?

Thank you in advance for your answers

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

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


Re: Problems with DNS

2005-08-11 Thread Glenn Dawson

At 10:07 PM 8/11/2005, perikillo wrote:

   HI all.

 I have one freebsd box running 5.3, i get my IP from one internal
DHCP running NT 4.0, here we have one PDC on NT 4.0, to get to the
outside we pass thru one http proxy and one firewall, i have my user
and password for the proxy, i want to get outside, i install manually
the cvsup program, i download that one from another machine and burn
the file on that machine because i cannot made my freebsd box reach
internet.

 I already setup this variables:

 /root/.cshrc
setenv HTTP_PROXY http://myuser:[EMAIL PROTECTED]:3128
setenv FTP_PROXY http://myuser:[EMAIL PROTECTED]:3128

 /etc/make.conf

FETCH_ENV= HTTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080
FETCH_ENV= FTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080

i have my NIC setup on /etc/rc.conf to get the IP from my DHCP
server, and found my lease on /var/db/dhcp.lease

There i see my info, my domain, i create my /etc/resolv.conf and
input my domain:

nameserver MYDOMAIN   

attempting fastcgi with php

2005-08-11 Thread David Banning
I am interested in lowering my memory consumption while using php with
apache. 

I am told by others and by the fastcgi website that fastcgi carries
"a smaller memory footprint". I would like to use it to run my php
scripts. I seem to have fastcgi installed and operational. At least
I have run the script;

-
#!/usr/bin/perl
use FCGI;

while( FCGI::accept() >= 0 )
{
print( "Content-Type: text/plain", "\n\n" );
print( "Hello World in Perl", "\n" );
}
-

which seems to work.

I have no idea how to tell whether fastcgi is executing php scripts, 
or if they are executed the plain old way, without fastcgi help.
The configuration of fastcgi in apache shows;

AddHandler fastcgi-script .fcgi .fpl

which seems to indicate that -only- .fcgi and .fpl scripts are
executed by fastcgi. That doesn't seem very useful. Doesn't fastcgi
execute plain .cgi and .pl and .php scripts also?

I have looked on the fastcgi website and on the apache website,
and at the fastcgi and php documentation and not found my answer.

How can I test that php scripts are being executed/assisted by fastcgi

A phpinfo() of my php and apache configuration is available at;

http://skytracker.ca/test.php

Any pointers would be helpful -

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


Re: 5.4 -- bridging, ipfw, dot1q

2005-08-11 Thread Dan Mahoney, System Admin

On Thu, 11 Aug 2005, Glenn Dawson wrote:


At 09:08 PM 8/11/2005, Dan Mahoney, System Admin wrote:
Okay, here's the situation.  PLEASE let me know if there's a better place 
to ask.  (isp@, kernel@, something)


I'm setting up a bridging firewall where the packets are passing through on 
dot1q trunks.


The bridge works.  Packet counts work (so I assume the bridge at least sees 
the packets).


Problem is, any "reasonable" rules (such as those which actually say to 
block traffic by ip or port or anything) aren't working at all.  Not even 
logging counts.


Setting the "bridged" flag doesn't seem to help.


Which "bridged" flag would that be?


In the ipfw rule in question (which the ipfw command turns into layer2)

i.e.

fw# ipfw add 310 count ip from any to 56.199.242.178 bridged
00310 count ip from any to 56.199.242.178 layer2

fw# ipfw show
00200  00 deny udp from any to any dst-port 1433
0030097147200 deny tcp from any to any dst-port 1433
00310  00 count ip from any to 56.199.242.178 layer2
00330  144629234  70747652177 count ip from any to any layer2
00340  00 count ip from any to 56.199.242.82 layer2
003501146497505249814 count ip from any to 55.125.224.0/19 via em1
00360  154009046  73153382415 allow log logamount 100 ip from any to any
65535 1078777549 484619628567 allow ip from any to any

(such a rule would report zero traffic, even when trafshow, snort, tcpdump 
all show there's a ton).


My only guess is that ipfw doesn't have the brains to look beyond the VLAN 
tags.  Is this the case?  Is this supported under 4.x, or is there any way 
AT ALL that I can get this to work?


What version are you using?  You mention 4.x here, but your subject line 
suggests 5.4.


Yes, I'm running 5.4, but asking if it may have been supported earlier on 
in the OS (with ipfw1 -- since I know it lacks the ability to even really 
do many mac-like things).


As a note, snort and trafshow and everything else work fine analyzing the 
bridge traffic, it seems only the kernel has an issue.


Do you have the net.link.ether.bridge_ipfw sysctl set to 1?


fw# sysctl -a|grep net|grep ipfw
net.link.ether.bridge.ipfw: 1
net.link.ether.bridge.ipfw_drop: 0
net.link.ether.bridge.ipfw_collisions: 1021
net.link.ether.bridge_ipfw: 1
net.link.ether.ipfw: 0

Need anything else?

-Dan

--

"The first annual 5th of July party...have you been invited?"
"It's a Jack Party."
"Okay, so Long Island's been invited."

--Cali and Gushi, 6/23/02


Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


Problems with DNS

2005-08-11 Thread perikillo
   HI all.

 I have one freebsd box running 5.3, i get my IP from one internal
DHCP running NT 4.0, here we have one PDC on NT 4.0, to get to the
outside we pass thru one http proxy and one firewall, i have my user
and password for the proxy, i want to get outside, i install manually
the cvsup program, i download that one from another machine and burn
the file on that machine because i cannot made my freebsd box reach
internet.

 I already setup this variables:

 /root/.cshrc
setenv HTTP_PROXY http://myuser:[EMAIL PROTECTED]:3128
setenv FTP_PROXY http://myuser:[EMAIL PROTECTED]:3128

 /etc/make.conf

FETCH_ENV= HTTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080
FETCH_ENV= FTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080

i have my NIC setup on /etc/rc.conf to get the IP from my DHCP
server, and found my lease on /var/db/dhcp.lease

There i see my info, my domain, i create my /etc/resolv.conf and
input my domain:

nameserver MYDOMAIN   

Re: 5.4 -- bridging, ipfw, dot1q

2005-08-11 Thread Glenn Dawson

At 09:08 PM 8/11/2005, Dan Mahoney, System Admin wrote:
Okay, here's the situation.  PLEASE let me know if there's a better place 
to ask.  (isp@, kernel@, something)


I'm setting up a bridging firewall where the packets are passing through 
on dot1q trunks.


The bridge works.  Packet counts work (so I assume the bridge at least 
sees the packets).


Problem is, any "reasonable" rules (such as those which actually say to 
block traffic by ip or port or anything) aren't working at all.  Not even 
logging counts.


Setting the "bridged" flag doesn't seem to help.


Which "bridged" flag would that be?


My only guess is that ipfw doesn't have the brains to look beyond the VLAN 
tags.  Is this the case?  Is this supported under 4.x, or is there any way 
AT ALL that I can get this to work?


What version are you using?  You mention 4.x here, but your subject line 
suggests 5.4.



As a note, snort and trafshow and everything else work fine analyzing the 
bridge traffic, it seems only the kernel has an issue.


Do you have the net.link.ether.bridge_ipfw sysctl set to 1?

-Glenn



--

"Of course she's gonna be upset!  You're dealing with a woman here Dan, 
what the hell's wrong with you?"


-S. Kennedy, 11/11/01

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


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


Re: How to use Webmin in FreeBSD?

2005-08-11 Thread Derrick MacPherson

Kenny wrote:

I have installed Webmin successfully from ports. During the
installation, there was no error occurred.

After the installation, I tried to use Webmin. I typed the following
address in the Opera navigation bar:

http://localhost:1/

Then, I was told by my Opera that there was an error while loading. It
could not connect to the remote host.


Did you run the setup script?

/usr/local/lib/webmin/setup.sh

have this in your rc.conf?
webmin_enable="YES"

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


RE: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Ted Mittelstaedt

Sendmail, of course.

Postfix and qmail and the others were written by people
aiming to simplify the MTA because they either couldn't
understand Sendmail or were too lazy to do so.  Or they
were catering to people like this.

Sendmail was written by a huge crew of people along the way
as they came across weird mail handling issues that they
needed to solve.  As a result it is extremely flexible and
can be used to do anything imaginable.  As a result of this
there are naturally far more switches to set.  However, most
of these switches are set in a default position that you
would normally never change.

If you are serious about handling mail vs just playing
around with a mailserver in your home or something, then
sooner or later, sure as atomic decay, your going to run
into a problem in mail handling that you may swear that
is the stupidest thing imaginable and why would anyone ever
want to do it - but your going to have to do it.  With
Sendmail it is just a matter of toggling a few switches.
With the other ones it's a matter of going into weird contortions
and gryrations to get them to do weird things, if they can
do it at all.

If you were to modify qmail to do all the things Sendmail
can do, you would have a result just as complex as Sendmail.
Same goes for the rest of them.  So, the configuration complexity
of Sendmail, far from being a detriment as some other people
have inferred, is in reality exactly what you want in an MTA.
And keep in mind that the Sendmail people have worked out
schemes to greatly simplify that complexity, for at least for
typical types of scenarios, using prewritten templates.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Tom Norris
>Sent: Thursday, August 11, 2005 2:40 PM
>To: freebsd-questions@freebsd.org
>Subject: Any suggestions for a MTA for a new admin?
>
>
>I have finally made the jump from paying people to host my websites to
>doing it myself (setting up apache, perl, php, postgresql, and all that
>fun stuff.)  Now I want to migrate my e-mail addresses over to
>a FreeBSD
>4.11 machine that lives in a data center.  Can any of you recommend a
>good MTA (and maybe a book) for someone that knows relatively
>few things
>about the big scary world of e-mail transport?
>
>Just to throw it out there, one of the things I need to do is to have
>the MTA route mail for a few different domains that are pointed towards
>the machine on different ip addresses.  Is that possible?
>
>
>Thanks,
>Tom Norris
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.338 / Virus Database: 267.10.6/69 - Release Date: 8/11/2005
>
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.6/69 - Release Date: 8/11/2005

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


RE: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-11 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of lars
>Sent: Thursday, August 11, 2005 8:39 AM
>Cc: freebsd-questions@freebsd.org
>Subject: Re: Anyone successfully running FreeBSD on a HP Proliant DL385?
>
>Ok, thanks for the info.
>Do you happen to know whether the iLO has a monitoring/reporting
>function that would notice this and notify me?
>

No.  I assume that the HP Linux driver has this sort of functionality
in it - but maybe not.  Not even the Windows driver for the RAID card
can do this.

HP has used an agent/manager model with these systems.  The drivers
for the hardware in the system all talk to a HP management server that
you run on a separate PC.  THAT system is what sends the
pages/notifications.
And of course it's Windows-only.  I would guess the Linux driver has
been enhanced to talk to this but I don't know as I don't use Linux.

>Unfortunately we can't go through a VAR.

Why not?  I know of no industry that is legally barred from purchasing
from a VAR.

>And which VAR would guarantee us FreeBSD will run perfectly?

Any one of them that wanted to make a sale would do so.

>I doubt any would or could.

You are wrong.

>But that doesn't matter anyway.
>

Yeah, right.  OK, well then listen up.  By not going through a VAR -
which is HP's preferred channel for selling servers, by the way -
you bear the ENTIRE responsibility for specing the Compaq server
yourself - which also means if you buy it and it doesen't work, you
are going to have to deal with wherever you get it from to return it
and exchange for a different model.

THAT is what the value of a VAR is.  A HP VAR that sells a lot of servers
isn't going to get flack from HP if they need to exchange a server
for a different model.

Like I said, you need to think long and carefully before dispensing
with a VAR to save the couple hundred bucks by buying it off the website.

>> Ted
>Thank yor for your replies, so far.
>
>I take you have some experience with ProLiants and FreeBSD.
>Are you pleased with this combination?
>

I have booted FreeBSD on a DL360 but not extensively tested it.
I have booted it on a ML360.  I have run it and do
run it on the older Proliant hardware which uses the older RAID
driver and it works fine on that.  And I run both Windows and
Solaris x86 on the newer Proliants.  The Proliant gear is top
notch, there is no more reliable server gear available from
anybody.

  Others who have posted to the list before do run it on the
Proliant hardware, most with no problems, some with a few problems,
some with lots of problems. I do not recall a post from anyone
running it on a DL385 on this list.  The fact is that HP/Compaq
in their server line is getting like General Motors where they
have the same basic cars in every model line, just different brands
on the nameplates and minor styling differences.

I also must point out that I run it on clone gear, and on other
manufacturers gear like HP Netservers, Gateway, Dell, Toshiba, NEC, etc.
Most of the time it works, some times it doesen't.

It would of course be nice if someone setup a "system certification"
program for FreeBSD.  The problem is that such a program is only useful
if your certifying brand new gear.  And there is too much of it and it's
too expensive for anyone to do this.  With the older gear, typically
people get it very cheap, so if it doesen't run FreeBSD then they
just move on to the next machine, thus a certification program is
of little use to them.

Ted
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.6/69 - Release Date: 8/11/2005

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


5.4 -- bridging, ipfw, dot1q

2005-08-11 Thread Dan Mahoney, System Admin
Okay, here's the situation.  PLEASE let me know if there's a better place 
to ask.  (isp@, kernel@, something)


I'm setting up a bridging firewall where the packets are passing through 
on dot1q trunks.


The bridge works.  Packet counts work (so I assume the bridge at least 
sees the packets).


Problem is, any "reasonable" rules (such as those which actually say to 
block traffic by ip or port or anything) aren't working at all.  Not even 
logging counts.


Setting the "bridged" flag doesn't seem to help.

My only guess is that ipfw doesn't have the brains to look beyond the VLAN 
tags.  Is this the case?  Is this supported under 4.x, or is there any way 
AT ALL that I can get this to work?


As a note, snort and trafshow and everything else work fine analyzing the 
bridge traffic, it seems only the kernel has an issue.


--

"Of course she's gonna be upset!  You're dealing with a woman here Dan, 
what the hell's wrong with you?"


-S. Kennedy, 11/11/01

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

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


How to use Webmin in FreeBSD?

2005-08-11 Thread Kenny
I have installed Webmin successfully from ports. During the
installation, there was no error occurred.

After the installation, I tried to use Webmin. I typed the following
address in the Opera navigation bar:

http://localhost:1/

Then, I was told by my Opera that there was an error while loading. It
could not connect to the remote host.


God! What'swrong?

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


Re: Browser ?

2005-08-11 Thread Vulpes Velox
Choosing something that uses MH or Maildir is nice as well.

On Thu, 11 Aug 2005 15:52:25 -0400
nawcom <[EMAIL PROTECTED]> wrote:

> theres lots of solutions. i personally would just use plain ol mail
> with sendmail and fetchmail to manage the sending and retrieval.
> 
> 
> Björn König wrote:
> 
> > Carstea Catalin wrote:
> >
> >> I don't want x server and kde but i want a good browser to
> >> downlod my email from mail box (gmail). Can u help me how ( ori
> >> what browser to use)?
> >
> >
> > If you're looking for a text mode browser then try 'w3m' and
> > 'links', but I would use an email program like 'mutt' for reading
> > mails. You can fetch mails from several mail accounts with
> > 'fetchmail'.
> >
> > Björn
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to 
> > "[EMAIL PROTECTED]"
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Help on bash script?

2005-08-11 Thread Xu Qiang
dpk wrote:
> It will work with either 'let' or within an 'arithmetic expansion':
> 
> $[++var]
> let ++var
> 
> By the way, there is another syntax, from the man page, that seems to
> operate identically:
> 
> $((++var)) and $((var+1))

With "let ++var", the result is still 0, it isn't incremented. With $[++var], 
the result is "0: command not found".
"$((++var))" is to the same effect as "let ++var". 

$((var+1)) works. But the value of var can't be incremented. 

thanks, 
Xu Qiang


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


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User
It never even occurred to me that you could try using a USB flash drive to 
install from -- that
would be a very interesting approach.
 
Not sure how much a USB flash drive would cost, but I got a Panasonic 
USB2.0/Firewire CD-RW/DVD+/-RW (DVRS706) for $99 at jandr.com, so that should 
be good to boot from
and will come in handy later for other things, and I can always have a boot CD 
as a backup.
 
- Steve in Brooklyn

Nikolas Britton <[EMAIL PROTECTED]> wrote:
On 8/11/05, Maude User wrote:
> I didn't realize it would be slow using a null-cable modem - thanks for that 
> info.
> 
> I guess I should borrow a monitor and keyboard to do the install faster.
> 
> 

I'm personally liking the usb flash drive thingy idea I mentioned
earlier if you have no floppy or cd-rom drives. Not sure if this will
even work btw, never tried it.

What you would do is download the the 20MB bootonly.iso CD-ROM image
and mound it (this step my not be needed) with mdconfig:
"mdconfig -a -t vnode -f 5.4-RELEASE-i386-bootonly.iso -u 0"
Use "mount_cd9660 /dev/md0 /mnt" and you can change the config files
on the fake cd for console redirection to serial port, 'echo
"/boot/loader -h" > boot.config', etc.

Next you would dd the image onto the usb flash drive:
"dd if=/dev/md0 of=/dev/da0 bs=1M"

Now remove the usb flash drive from your laptop and plug it into the
server, tell the server to boot from the usb flash drive, the
filesystem on the flash drive would be cd9660 and hopefully boot like
a normal CD-ROM. If your flash drive was big enough you could load the
entier disc1.iso cd onto it, what happened to the miniinst.iso that
was only 270MB? I guess you could strip all the packages off the
disc1.iso to make a miniinst.iso disk?

What do you guys think, would this method work? the only hang up's I
can think of is making your usb flash drive think it's a CD-ROM and if
the FreeBSD install discs will work when it thinks its a hard drive,
da0 for usb storage I'll have to try it tomarrow

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


RE: Help on bash script?

2005-08-11 Thread dpk
On Fri, 12 Aug 2005, Xu Qiang wrote:

> This is my test script:
>
> -
> #!/bin/bash
>
> var=0
> var=$[3]
>
> vari=0
> ++vari
>
> echo $var
> echo $vari
> -
>
> The result is:
> ./test.sh: ++vari: command not found
> 3
> 0
>
> So the manual of bash is incorrect?
>
> Regards,
> Xu Qiang

It will work with either 'let' or within an 'arithmetic expansion':

$[++var]
let ++var

By the way, there is another syntax, from the man page, that seems to
operate identically:

$((++var)) and $((var+1))
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Help on bash script?

2005-08-11 Thread Xu Qiang
This is my test script: 

-
#!/bin/bash

var=0
var=$[3]

vari=0
++vari

echo $var
echo $vari
-

The result is: 
./test.sh: ++vari: command not found
3
0

So the manual of bash is incorrect? 

Regards,
Xu Qiang


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


RE: Help on bash script?

2005-08-11 Thread Xu Qiang
dpk wrote:
> On Fri, 12 Aug 2005, Xu Qiang wrote:
>> 1. The way of incrementing the variable NCOREFILES. Why does it use
>> the formula of "NCOREFILES=$[ $NCOREFILES + 1 ]", and not the direct
>> way of "NCOREFILES=$NCOREFILES+1"?
> 
> If that was done, NCOREFILES would end up looking like:
> 
> +1+1+1+1+1+1+1
> 
> as bash does not automatically differentiate between numeric and
> string variables. What the funky looking construct does is convince
> bash to treat it as a numeric/arithmetic expression.

Strangely, there is no mention of this assignment usage in the book "Learning 
the bash shell, 2nd ed" by O'Reilly at my hand. :(

And "man bash" didn't talk of it either. However, it mentioned for arithmetic 
evaluation, we can use 
 id++ id--
  variable post-increment and post-decrement
   ++id --id
  variable pre-increment and pre-decrement

If it is correct, then I can also increment NCOREFILES by: 
++NCOREFILES. 

But I doubt it...

Regards,
Xu Qiang


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


Re: [nycbug-talk] Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-11 Thread Maude User
Thanks for this info. 
 
The handbook chapter on BIOS (see below) doesn't mention "USB" but it says the 
machine 
can boot from "Removable Devices" so it sounds like your first suggestion about 
booting from 
removable drives would work. 
 
It also says something about PXE so it looks like your second suggestion would 
also work.
 
Thanks,
-- Steve
 
PS - More detail below about this server's specs (link below) -- it's a Tyan 
GS12 motherboard:
 
--> Integrated LAN controller (Intel 82547GI CSA & 82541GI PCI 10/100/1000 GbE 
LAN controllers) with two RJ-45 LAN connectors
--> Supports Intel P4 processor 800/533 MHz FSB
--> Supports up to 2 IDE HDD devices (Serial ATA and Ultra ATA/100 connectors)
--> Supports RAID 0, 1
--> One 32-bit/33 MHz PCI v2.3 slot
--> Four USB 2.0 ports
--> Phoenix BIOS on 4Mb Flash ROM; UCR and PXE (LAN remote boot); SM BIOS
2.3.1 (backward compatible w/ DMI 2.0)

http://www.tyan.com/products/html/gs12b5103_spec.html

In the handbook (link to PDF below), the BIOS chapter says:
 
> The Boot Menu allows you to set the priority of the booting devices:
>  - Removable Devices
>  - Hard Drive
>  - CD-ROM
>  - IBA GE Slot 0208 v1216 (LAN Intel 82547GI)
 
ftp://ftp.tyan.com/manuals/m_gs12b5103_100.pdf

Jim Brown <[EMAIL PROTECTED]> wrote:
* Maude User [2005-08-11 20:15]:
> Hello -
> 
> I want to install FreeBSD 5.3 onto a rackmount server that came with two SATA 
> hard drives 
> (it came with no CD or floppy). I will borrow a keyboard and monitor because 
> I was informed
> today on this list that a "headless install" from my laptop over a null-modem 
> cable would slow.
> 
> I was going to buy a cheap USB floppy drive today (I saw prices from $30 to 
> $50) but at jandr.com in NYC today I saw a USB CD-RW/DVD+/-RW on sale for $99 
> (Panasonic DVRS706) so I got that instead, figuring it was "more bang for the 
> buck". 
> 
> Can I install FreeBSD 5.3 from this USB CD drive? 
> 
> If not, what sort of CD drive can I install from?


While I don't know the specfic equipment in your question, the general response
is that it is the BIOS that determines 'bootability' i.e. whether a device
can be used as a boot device. Check the BIOS setting first, there may
be a setting for booting from USB. If not, try 'removable drives' if it is 
shown.

If that fails, you might be able to boot from a network device using PXE 
booting.
Check the handbook (and your BIOS documentation) regarding PXE boot support.

If all that fails, try removing the hard disk and placing it in another 
compatible
system which has a bootable CD ROM.

And if *that* fails, post again. I'll be really interested to hear your curs^w 
comments.

Best Regards,
Jim B.



-
 Start your day with Yahoo! - make it your home page 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cpan/bsdpan/ports need help - Checked by AntiVir -

2005-08-11 Thread Denny White




Denny White wrote:



I had read where it was better to use ports than cpan
modules. I had originally used cpan because of updating
the virus data files for f-prot, before I knew I could
do it with portupgrade. I got tired of seeing ports held
by user & had trouble trying to force some of them to
upgrade, so I took out the bsdpan portion from:


From /usr/local/etc/pkgtools.conf


  HOLD_PKGS = [
'bsdpan-*',
  ]
Now I can't do anything with cpan, including installing some
ports. Here's the output from cpan:

Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm
in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7 .) @ (eval 4) line 1.

Begin failed--compilation aborted at /usr/local/lib/perl5/5.87/BSDPAN/
ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.
Begin failed--compilation aborted at /usr/local/lib/perl5/5.8.7/CPAN.pm
line 16.

Compilation failed in require at /usr/local/bin/cpan line 119.
Begin failed--compilation aborted at /usr/local/bin/cpan line 119.

Below are the ports that got upgraded when this whole fiasco
started, due to my ignorance about perl, cpan, and ports and
their interdependencies:

total 10994
drwxr-xr-x9 root  wheel   512 Aug 11 08:19 ..
-rw-r--r--1 root  wheel  10726400 Aug 11 02:07 pkgdb.db
drwxr-xr-x  246 root  wheel  7168 Aug 11 02:07 .
drwxr-xr-x2 root  wheel   512 Aug 11 02:04 p5-Time-HiRes-1.72,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:03 p5-CGI.pm-3.10_1,1
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 txt2html-2.41
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-PathTools-3.09
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 
p5-ExtUtils-CBuilder-0.12

drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-ExtUtils-ParseXS-2.07
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-Module-Build-0.26.11
drwxr-xr-x2 root  wheel   512 Aug 11 02:02 p5-Archive-Tar-1.23_1
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Test-Pod-1.20
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 
bsdpan-Test-Builder-Tester-1.01

drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Storable-2.15
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Pod-Simple-3.02
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-Pod-Escapes-1.04
drwxr-xr-x2 root  wheel   512 Aug 11 00:57 bsdpan-MD5-2.03

Any help greatly appreciated on how to fix this.
Denny White

GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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






Today nawcom had this to say:
the bsdpan-PathTools is how the ports are named when not building from the 
ports collection (from what i understand). my only solution (and it shouldn't 
take too much time) is to deinstall it and build from ports.


If you look above in the original message from me, you'll see
the list of ports that were installed when I overrode the setting
in pkgtools.conf, i.e., to not hold bsdpan stuff. That's what
hosed cpan for me. Now I'm stuck with that & no matter what I try
to do with cpan, I get the output that's listed above in the
original part of this message. There are some ports that won't
even install now, using portupgrade, due to this problem. I really
don't know where to go from here, unless maybe it's to cvsup RELENG_5
instead of just RELENG_5_4 & try rebuilding everything. 
Denny White


GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A

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


RE: Help on bash script?

2005-08-11 Thread Xu Qiang
Giorgos Keramidas wrote:
> On 2005-08-12 10:16, Xu Qiang <[EMAIL PROTECTED]> wrote:
>> Btw, can we "export" a value in the sub-shell back to the parent?
> 
> Only through `backquote subtitution', as the child process cannot
> affect the environment of the parent process.
> 
>   value=`shell command`
>   value=$(shell command)

Ah, yes, I mistakened it. The "export" mechanism is to preserve the value from 
the parent to the child, not the other direction, as described in the book "The 
Unix Programming Environment" by Brian Kernighan and Rob Pike. 

Thanks,
Xu Qiang


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


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Nikolas Britton
On 8/11/05, Maude User <[EMAIL PROTECTED]> wrote:
> I didn't realize it would be slow using a null-cable modem - thanks for that 
> info.
> 
> I guess I should borrow a monitor and keyboard to do the install faster.
> 
> 

I'm personally liking the usb flash drive thingy idea I mentioned
earlier if you have no floppy or cd-rom drives. Not sure if this will
even work btw, never tried it.

What you would do is download the the 20MB bootonly.iso CD-ROM image
and mound it (this step my not be needed) with mdconfig:
"mdconfig -a -t vnode -f 5.4-RELEASE-i386-bootonly.iso -u 0"
Use "mount_cd9660 /dev/md0 /mnt" and you can change the config files
on the fake cd for console redirection to serial port, 'echo
"/boot/loader -h" > boot.config', etc.

Next you would dd the image onto the usb flash drive:
"dd if=/dev/md0 of=/dev/da0 bs=1M"

Now remove the usb flash drive from your laptop and plug it into the
server, tell the server to boot from the usb flash drive, the
filesystem on the flash drive would be cd9660 and hopefully boot like
a normal CD-ROM. If your flash drive was big enough you could load the
entier disc1.iso cd onto it, what happened to the miniinst.iso that
was only 270MB? I guess you could strip all the packages off the
disc1.iso to make a miniinst.iso disk?

What do you guys think, would this method work? the only hang up's I
can think of is making your usb flash drive think it's a CD-ROM and if
the FreeBSD install discs will work when it thinks its a hard drive,
da0 for usb storage I'll have to try it tomarrow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with p5-IO-Socket && system perl on 4.x

2005-08-11 Thread Bill Moran

Can anyone confirm or deny?

It looks like portupgrading p5-IO-Socket on FreeBSD 4.x breaks things unless
the user manually replaces perl 5.005 with a more recent version of perl.

I have a client who tripped across this while portupgrading MRTG.

Anyone who can confirm or deny this?  I haven't had time to investigate it
carefully, but if it's a problem, shouldn't the port require perl 5.6 or
5.8?

[Note: not currently subscribed]

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help on bash script?

2005-08-11 Thread Giorgos Keramidas
On 2005-08-12 10:16, Xu Qiang <[EMAIL PROTECTED]> wrote:
> Btw, can we "export" a value in the sub-shell back to the parent?

Only through `backquote subtitution', as the child process cannot affect
the environment of the parent process.

value=`shell command`
value=$(shell command)

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


Re: wizard mode docs

2005-08-11 Thread Chris Hill

On Fri, 12 Aug 2005, Giorgos Keramidas wrote:


On 2005-08-11 16:09, Randy Schultz <[EMAIL PROTECTED]> wrote:

Hey all,
Is there any documentation on wizard mode?  I'm just wondering what
the scan function does.


What is "wizard mode" supposed to be?


He's probably talking about sysinstall.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Help on bash script?

2005-08-11 Thread Xu Qiang
dpk wrote:
> On Fri, 12 Aug 2005, Xu Qiang wrote:
> As soon as you used the pipe, to the while, you entered a sub-shell.
> There's no way (that I'm aware of anyways) to get the sub-shell's
> variables sent back up to the parent.

Thanks for your detailed analysis and a solution. Yes, I didn't notice the 
pipe's effect. 
Btw, can we "export" a value in the sub-shell back to the parent?

thanks,
Xu Qiang


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


Re: Help on bash script?

2005-08-11 Thread dpk
On Fri, 12 Aug 2005, Xu Qiang wrote:

> Hi, all:
>
> I don't know if this is the right list to ask this question. But since I
> didn't find a bash script mail list and you guys are always so helpful,
> then...
>
> Here are an excerpt of a bash script:
>
> ---
>
> #!/bin/bash
> # saveLogs.sh - Bourne Again Shell script
> ...
>   find / -type f -name core -print | while read COREFILE ; do
>   NCOREFILES=$[ $NCOREFILES + 1 ] # a bit strange - xq
>   echo $NCOREFILES # xq
> ...
> ---
> ...
> 1. The way of incrementing the variable NCOREFILES. Why does it use the
> formula of "NCOREFILES=$[ $NCOREFILES + 1 ]", and not the direct way of
> "NCOREFILES=$NCOREFILES+1"?

If that was done, NCOREFILES would end up looking like:

+1+1+1+1+1+1+1

as bash does not automatically differentiate between numeric and string
variables. What the funky looking construct does is convince bash to treat
it as a numeric/arithmetic expression.

> 2. What confused me most is the value of the variable NCOREFILES
> ($NCOREFILES). Say there is just 1 core file, then because the initial
> value of NCOREFILES is 0, it will be incremented to 1. Yes, this is the
> value in the do-while loop. But outside the loop and if-block, the value
> of NCOREFILES is reverted back to 0 - its initial value.
>
> It is a local variable, so any modification to it should be valid as
> long as we are still in the scope of the function, right? I am really
> lossed at this phenomenon.

As soon as you used the pipe, to the while, you entered a sub-shell.
There's no way (that I'm aware of anyways) to get the sub-shell's
variables sent back up to the parent.

You could do something along the lines of:

for cf in `find -X -type f -name core -print`
do
# do stuff with "$cf"
NCOREFILES=$[ $NCOREFILES + 1 ]
done

(the -X helps prevent problems when faced with spaces embedded in the
path)

By the way, on FreeBSD systems, the default core filename format is
"%N.core" (see "man core") where %N is the name of the program that
dumped. You'd need to expand your find with -name \*.core . If you wanted
to get really fancy, you could parse "sysctl kern.corefile" to find out
the current filename format and use that in your find, but most people
leave that sysctl at its default, so it probably wouldn't be necessary.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wizard mode docs

2005-08-11 Thread dpk
On Thu, 11 Aug 2005, Randy Schultz wrote:

> Hey all,
>
> Is there any documentation on wizard mode?  I'm just wondering what the
> scan function does.

Looking at the source, I would guess that it counts how many 512 byte
blocks there are on a device. It prints B: at the beginning and G: at the
end of the device, I believe. It appears to be capable of handling
multiple beginnings and ends, but I'm not sure how that works (would a
read of the full disk device, at the end of a slice, not read a full 512
bytes? I don't know.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with Seagate hdd

2005-08-11 Thread Jim Campbell

Efren Bravo wrote:


When the installer start it raise this error:

ata0-master: Failure - ATA-IDENTIFY timed out

thanks...



I have experienced the same error message for every release I
have tried since FreeBSD 4.11.  I have concluded that my
particular VIA controller on the system board isn't supported
by later releases.  (I have tried more than one brand of HD and
they all behave the same.)

In correspondence earlier with Soren, he stated that my
particular controller is supported by later releases, but it just
doesn't work.

On the positive side, 4.11 is serving admirably for my
purposes.

Jim Campbell

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


Help on bash script?

2005-08-11 Thread Xu Qiang
Hi, all: 

I don't know if this is the right list to ask this question. But since I didn't 
find a bash script mail list and you guys are always so helpful, then...

Here are an excerpt of a bash script: 

---

#!/bin/bash
# saveLogs.sh - Bourne Again Shell script
...
#
# FindAndSaveCoreFiles()
#   Search the entire filesystem for corefiles, saving each in
#   $SAVE_DIR. On Linux, we only need to search in ESS_LOG_DIR.
#
CollectCoreFiles()
{
local NEWNAME=""
local NCOREFILES=0

local OS=`uname`
if [ "$OS" == "Linux" ]; then
...
else
#
# find each corefile, record in $CORELOG, and move to a uniquely
# named file in $SAVE_DIR
#
# Look for files named "core" (Lynx default)
#
find / -type f -name core -print | while read COREFILE ; do
NCOREFILES=$[ $NCOREFILES + 1 ] # a bit strange - xq
echo $NCOREFILES # xq

NEWNAME="${HOSTNAME}esscore${NCOREFILES}_${TIMESTAMP}"
# record mapping so people can go back and figure out
# where they came from
echo -e $NEWNAME "was" `ls -l $COREFILE` >> 
$SAVE_DIR/$CORELOG
mv $COREFILE $SAVE_DIR/$NEWNAME

echo "There are $NCOREFILES core files." # xq
done

fi

# What confused me most is the value $NCOREFILES outside 
# the do-while loop (but still in this function) reverted 
# back to its initial value, which seems contradictory to 
# our concept of local variables. - xq
#echo $NCOREFILES 

return 0
}

---

The purpose of this script is to find the core files in the system and move 
them to elsewhere for later analysis. 

I am confused about the following issues: 

1. The way of incrementing the variable NCOREFILES. Why does it use the formula 
of "NCOREFILES=$[ $NCOREFILES + 1 ]", 
and not the direct way of "NCOREFILES=$NCOREFILES+1"?

2. What confused me most is the value of the variable NCOREFILES ($NCOREFILES). 
Say there is just 1 core file, then because the initial value of NCOREFILES is 
0, it will be incremented to 1. Yes, this is the value in the do-while loop. 
But outside the loop and if-block, the value of NCOREFILES is reverted back to 
0 - its initial value. 

It is a local variable, so any modification to it should be valid as long as we 
are still in the scope of the function, right? I am really lossed at this 
phenomenon. 

Looking forward to any possible help, 

thanks, 
Xu Qiang


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


Re: wizard mode docs

2005-08-11 Thread Chuck Swiger

Randy Schultz wrote:

Hey all,

Is there any documentation on wizard mode?  I'm just wondering what the
scan function does.


#scan

You look around the Mazes of Menace, hoping to gain some clue about the 
mysterious wizard mode.


#engrave Elbereth

You feel safe!

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


tunneling / IPSec

2005-08-11 Thread Aaron Peterson
I've recently been through the relatively simple process of setting up
IPSec IP in IP tunnels between two FreeBSD boxes using gif interfaces
for the tunneling portion, native IPSec and the racoon port.

Best I can tell, this only works between two devices whose IP
addresses are directly accessable to each other (no NAT).

I'm wondering if there is an easy way to make this same tunnel work
through NAT, and/or if there is some other easy to implement
alternative that works through NAT.  I was thinking of tunneling the
encrypted IP packets over a TCP connection maybe.  But my thoughts
aren't always the right ones :-)  Is there a pseudo-interface that
allows tunneling over a tcp connection in a similar way to the gif
interface?

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


Re: [nycbug-talk] Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-11 Thread Jim Brown
* Maude User <[EMAIL PROTECTED]> [2005-08-11 20:15]:
> Hello -
>  
> I want to install FreeBSD 5.3 onto a rackmount server that came with two SATA 
> hard drives 
> (it came with no CD or floppy). I will borrow a keyboard and monitor because 
> I was informed
> today on this list that a "headless install" from my laptop over a null-modem 
> cable would slow.
>  
> I was going to buy a cheap USB floppy drive today (I saw prices from $30 to 
> $50) but at jandr.com in NYC today I saw a USB CD-RW/DVD+/-RW on sale for $99 
> (Panasonic DVRS706) so I got that instead, figuring it was "more bang for the 
> buck". 
>  
> Can I install FreeBSD 5.3 from this USB CD drive? 
> 
> If not, what sort of CD drive can I install from?


While I don't know the specfic equipment in your question, the general response
is that it is the BIOS that determines 'bootability' i.e. whether a device
can be used as a boot device.  Check the BIOS setting first, there may
be a setting for booting from USB.  If not, try 'removable drives' if it is 
shown.

If that fails, you might be able to boot from a network device using PXE 
booting.
Check the handbook (and your BIOS documentation) regarding PXE boot support.

If all that fails, try removing the hard disk and placing it in another 
compatible
system which has a bootable CD ROM.

And if *that* fails, post again.  I'll be really interested to hear your curs^w 
comments.

Best Regards,
Jim B.

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


CD Burning Error

2005-08-11 Thread Josh Paetzel
I have recently aquired a DVD+-RW drive.  I am running into some 
problems when trying to burn CD-Rs (I haven't tried a DVD yet)

  *I've tried -s 24 as well*
gimpy# burncd -f /dev/acd0 -s 48 data 6.0-BETA2-i386-disc1.iso fixate
next writeable LBA 0
writing from file 6.0-BETA2-i386-disc1.iso size 460518 KB
written this track 460518 KB (100%) total 460518 KB
fixating CD, please wait..
burncd: ioctl(CDRIOCFIXATE): Input/output error

Trying to use the CD gives:

gimpy# mount /cdrom
cd9660: /dev/acd0: Input/output error

gimpy# grep acd0 /etc/fstab
/dev/acd0   /cdrom  cd9660  ro,noauto   0 0

gimpy# uname -a
FreeBSD gimpy.tcbug.org 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #5: Thu 
Aug 11 19:49:26 CDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GIMPY  i386

gimpy# dmesg | grep acd
acd0: DVDR  at ata1-master PIO4
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x02 ascq=0x00 
error=4

I've tried with UDMA33 and PIO4, I've also tried ATAPICAM and k3b in 
both UDMA33 and PIO4

-- 
Thanks,

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


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Jerahmy Pocott


On 12/08/2005, at 6:23 AM, Maude User wrote:



Hello --

I recently installed FreeBSD 5.3 on my laptop and now I want to  
install it

onto a rackmount server (hardware specs below).

I hate to ask a silly question but here goes: Do I need to get a  
USB CD-ROM
drive (and keyboard and monitor) for the server in order to install  
FreeBSD...
or is there some way I can install onto the rackmount server from  
the laptop?
(There's no CD-ROM on the rackmount server, but the laptop has a CD- 
RW/DVD+-RW.)


It is possible your BIOS will actually direct display to a serial  
console.. I'm not sure if
yours does, so if it doesn't you will probably need a keyboard/ 
monitor if you want
to configure your BIOS, of course if you are happy with the defaults  
you should be

able to do it all with a laptop or other system..

You will want to set your boot floppies to use the serial console,  
which you can

read about doing here:

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


You will need a null modem cable to do this, also you will need to  
make sure the
cable is plugged into si0 on the server (com1).. I noticed that the  
server has an LCD
display which is possibly driven via a serial port, this could occupy  
si0 already.. Getting
it to boot the serial console on a different port to si0 is more  
complex, so hopefully

you won't have to..

From this point on the laptop will act like the keyboard and monitor  
for the system and
you can install.. I would recommend using an NFS mount on your local  
network to install
the files from since it would be the fastest (without installing a CD  
drive), otherwise use
ftp, which will be pretty slow (depending on your internet  
connection) but the only other

viable method for you really..

Let me know if you have any queries, it is usually pretty straight  
forward though =)

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


Re: Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-11 Thread nawcom

does the server have usb bios support?
Im guessing no but hell i might be wrong.

you can always install bsd on the hard drive a via a different computer.

-Ben
Maude User wrote:


Hello -

I want to install FreeBSD 5.3 onto a rackmount server that came with two SATA hard drives 
(it came with no CD or floppy). I will borrow a keyboard and monitor because I was informed

today on this list that a "headless install" from my laptop over a null-modem 
cable would slow.

I was going to buy a cheap USB floppy drive today (I saw prices from $30 to $50) but at jandr.com in NYC today I saw a USB CD-RW/DVD+/-RW on sale for $99 
(Panasonic DVRS706) so I got that instead, figuring it was "more bang for the buck". 

Can I install FreeBSD 5.3 from this USB CD drive? 


If not, what sort of CD drive can I install from?

Thanks.

- Steve
Brooklyn NYC


-
Start your day with Yahoo! - make it your home page 
___

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



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


Can I install FreeBSD 5.3 from a USB CD drive?

2005-08-11 Thread Maude User
Hello -
 
I want to install FreeBSD 5.3 onto a rackmount server that came with two SATA 
hard drives 
(it came with no CD or floppy). I will borrow a keyboard and monitor because I 
was informed
today on this list that a "headless install" from my laptop over a null-modem 
cable would slow.
 
I was going to buy a cheap USB floppy drive today (I saw prices from $30 to 
$50) but at jandr.com in NYC today I saw a USB CD-RW/DVD+/-RW on sale for $99 
(Panasonic DVRS706) so I got that instead, figuring it was "more bang for the 
buck". 
 
Can I install FreeBSD 5.3 from this USB CD drive? 

If not, what sort of CD drive can I install from?
 
Thanks.
 
- Steve
Brooklyn NYC


-
 Start your day with Yahoo! - make it your home page 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User
I didn't realize it would be slow using a null-cable modem - thanks for that 
info.
 
I guess I should borrow a monitor and keyboard to do the install faster.


Nikolas Britton <[EMAIL PROTECTED]> wrote:
On 8/11/05, Maude User wrote:
> Thank you for your quick answer! In the link you sent, there is a chapter 
> about doing a "headless install" -- and my rackmount server is certainly 
> "headless".
> 
> My laptop is so new it doesn't appear to have a serial port, but I think I 
> can get a USB-to-serial adapter for connecting the null modem cable.
> 

I'd not do the serial connection thing for two reasons:
1. more then likely you'll have to buy a null modem cable and
USB-to-serial adapter.
2. It will be very slow, think 56K modem...

Based on what I've read about your system it doesn't have console
redirection so at some point in time you will need to put a monitor
and keyboard on this system to setup the RAID (you bought two drives)
and the BIOS before you can install FreeBSD, yes? I find it hard to
believe you don't have access to an old monitor and kb for an hour to
install FreeBSD. If you can get the monitor and kb do a network
install from the boot floppies, you do have a floppy drive installed
yes? if you don't find one or an old CD-ROM drive and crack the case,
no? You could try bootp or a USB thumb/flash drive thingy (dd
if=floppy.img of=/dev/da0 bs=foo). Their are better ways to waste ones
time then to try a laplink serial install.

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


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Nikolas Britton
On 8/11/05, Maude User <[EMAIL PROTECTED]> wrote:
> Thank you for your quick answer! In the link you sent, there is a chapter 
> about doing a "headless install" -- and my rackmount server is certainly 
> "headless".
> 
> My laptop is so new it doesn't appear to have a serial port, but I think I 
> can get a USB-to-serial adapter for connecting the null modem cable.
> 

I'd not do the serial connection thing for two reasons:
1. more then likely you'll have to buy a null modem cable and
USB-to-serial adapter.
2. It will be very slow, think 56K modem...

Based on what I've read about your system it doesn't have console
redirection so at some point in time you will need to put a monitor
and keyboard on this system to setup the RAID (you bought two drives)
and the BIOS before you can install FreeBSD, yes? I find it hard to
believe you don't have access to an old monitor and kb for an hour to
install FreeBSD. If you can get the monitor and kb do a network
install from the boot floppies, you do have a floppy drive installed
yes? if you don't find one or an old CD-ROM drive and crack the case,
no? You could try bootp or a USB thumb/flash drive thingy (dd
if=floppy.img of=/dev/da0 bs=foo). Their are better ways to waste ones
time then to try a laplink serial install.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Derrick MacPherson
On Thu, 2005-08-11 at 17:40 -0400, Tom Norris wrote:
> I have finally made the jump from paying people to host my websites to 
> doing it myself (setting up apache, perl, php, postgresql, and all that 
> fun stuff.)  Now I want to migrate my e-mail addresses over to a FreeBSD 
> 4.11 machine that lives in a data center.  Can any of you recommend a 
> good MTA (and maybe a book) for someone that knows relatively few things 
> about the big scary world of e-mail transport?
> 
> Just to throw it out there, one of the things I need to do is to have 
> the MTA route mail for a few different domains that are pointed towards 
> the machine on different ip addresses.  Is that possible?

Exim rocks I've used it for about 8 years.. Postfix is excellent I've
looked at it and it seems pretty easy to work with, I think some may
like it better as it can be administered through webmin (exim you
can't), especially if you want to give some admin privileges. Sendmail's
configuration is not trivial.

I much prefer using Maildir to store mail, works much better when
dealing with a lot of users with a lot of mail.

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


Re: fsck says "UNEXPECTED SOFT UPDATE INCONSISTENCY"

2005-08-11 Thread Glenn Dawson

At 03:49 PM 8/11/2005, Jerahmy Pocott wrote:



THE FOLLOWING DISK SECTORS COULD NOT BE READ: 66322510,



Sounds like a HW issue to me.



Anyway to confirm this? It is not a very old drive and the filesystem
is still readable,
I suppose it could have developed some bad sectors..


If you have another machine you can boot from, or another disk, you can 
install the smartmontools port (/usr/ports/sysutils/smartmontools) and use 
that to see what the status of the drive is.


-Glenn



Is there a way to flag them as bad without formating the drive?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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


Re[2]: Newbie Q: No login prompt on startup

2005-08-11 Thread dpk
On Fri, 12 Aug 2005, Hexren wrote:

> The next time that happens try ^C.
> If the startup process hangs in bringing up a daemon you cann kill
> that like any other foreground running process. Maybe that was what
> hit you at least it sound a lot like that to me.
>
> Hexren

Also, try ^T. ^T should tell you what program is running, and, on
occasion, might give you additional information. Try it next time you're
waiting for the automatic fsck to finish, for an example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: Newbie Q: No login prompt on startup

2005-08-11 Thread Hexren
>  >>Hello all,
>  >>
>  >>I just finished installing FreeBSD 5.4 on my PC.  When i boot it
>  >>normally all of the startup scripts finish, no errors are displayed but
>  >>afterwards a login prompt fails to appear. If i boot in single user mode
>  >>I get my '#' prompt right off the bat and can edit files. What is going
>  >>on? Does my machine think I have a terminal connected to the serial
>  >>port? What config file do i need to edit?
>  >>
>  >>I used standard install method from CD. I'm running an Nforce2 chipset
>  >>and my HDD is SATA, but FreeBSD seems to be dealing with these just fine.
>  >>
>  >>Thank you,
>  >>Eric

>> what system security level did you set the os to?

> The system was set to the default security level.

>> I'd check /etc/ttys and make sure you have this line:
>> 
>> ttyv0   "/usr/libexec/getty Pc" cons25  on  secure

> That line was in my ttys.

>> 
>> exactly as above. At the very least, with 'on' and 'secure' in the line.
>> What's the last thing displayed on the screen, and what happens if you 
>> press enter?

> Pounding the keyboard does nothing, i even have a console mouse. The 
> last thing being displayed it
>   "Starting sshd daemon"

> I decided i was wasting more time trying to get into the system than it 
> would take to just reinstall it, and so i did leaving every option on 
> default. Now I've got things up and running! I got X11 setup right off 
> the bat and i'm about to delve into wireless networking.

> Thank you all for your help!
> Eric

-

The next time that happens try ^C.
If the startup process hangs in bringing up a daemon you cann kill
that like any other foreground running process. Maybe that was what
hit you at least it sound a lot like that to me.

Hexren

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


Re: Newbie Q: No login prompt on startup

2005-08-11 Thread Garrett Cooper

Eric Lance wrote:


>>Hello all,
>>
>>I just finished installing FreeBSD 5.4 on my PC.  When i boot it
>>normally all of the startup scripts finish, no errors are displayed but
>>afterwards a login prompt fails to appear. If i boot in single user 
mode

>>I get my '#' prompt right off the bat and can edit files. What is going
>>on? Does my machine think I have a terminal connected to the serial
>>port? What config file do i need to edit?
>>
>>I used standard install method from CD. I'm running an Nforce2 chipset
>>and my HDD is SATA, but FreeBSD seems to be dealing with these just 
fine.

>>
>>Thank you,
>>Eric


what system security level did you set the os to?



The system was set to the default security level.


I'd check /etc/ttys and make sure you have this line:

ttyv0   "/usr/libexec/getty Pc" cons25  on  secure



That line was in my ttys.



exactly as above. At the very least, with 'on' and 'secure' in the line.
What's the last thing displayed on the screen, and what happens if 
you press enter?



Pounding the keyboard does nothing, i even have a console mouse. The 
last thing being displayed it

 "Starting sshd daemon"

I decided i was wasting more time trying to get into the system than 
it would take to just reinstall it, and so i did leaving every option 
on default. Now I've got things up and running! I got X11 setup right 
off the bat and i'm about to delve into wireless networking.


Thank you all for your help!
Eric


   Is your network interface setup correctly :)? Try removing all 
network related services from /etc/rc.conf if you are unsure, then type 
in /sbin/ifconfig -a and send the information output in a reply email.

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


Re: Newbie Q: No login prompt on startup

2005-08-11 Thread Eric Lance

>>Hello all,
>>
>>I just finished installing FreeBSD 5.4 on my PC.  When i boot it
>>normally all of the startup scripts finish, no errors are displayed but
>>afterwards a login prompt fails to appear. If i boot in single user mode
>>I get my '#' prompt right off the bat and can edit files. What is going
>>on? Does my machine think I have a terminal connected to the serial
>>port? What config file do i need to edit?
>>
>>I used standard install method from CD. I'm running an Nforce2 chipset
>>and my HDD is SATA, but FreeBSD seems to be dealing with these just fine.
>>
>>Thank you,
>>Eric


what system security level did you set the os to?


The system was set to the default security level.


I'd check /etc/ttys and make sure you have this line:

ttyv0   "/usr/libexec/getty Pc" cons25  on  secure


That line was in my ttys.



exactly as above. At the very least, with 'on' and 'secure' in the line.
What's the last thing displayed on the screen, and what happens if you 
press enter?


Pounding the keyboard does nothing, i even have a console mouse. The 
last thing being displayed it

 "Starting sshd daemon"

I decided i was wasting more time trying to get into the system than it 
would take to just reinstall it, and so i did leaving every option on 
default. Now I've got things up and running! I got X11 setup right off 
the bat and i'm about to delve into wireless networking.


Thank you all for your help!
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wizard mode docs

2005-08-11 Thread Giorgos Keramidas
On 2005-08-11 23:42, Alex Zbyslaw <[EMAIL PROTECTED]> wrote:
> Giorgos Keramidas wrote:
> >On 2005-08-11 16:09, Randy Schultz <[EMAIL PROTECTED]> wrote:
> >>Hey all,
> >>Is there any documentation on wizard mode?  I'm just wondering what
> >>the scan function does.
> >
> >What is "wizard mode" supposed to be?
>
> A way to hack very old sendmail's.
> But probably not in this case...

Well, in my case, especially when I run madly from something, "wizard
mode" or even better "Rincewind mode", is a bit different.

But I guess we have to let Randy Schultz describe what *HE* means :)

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Bob Johnson
On 8/11/05, Tom Norris <[EMAIL PROTECTED]> wrote:
> I have finally made the jump from paying people to host my websites to 
> doing it myself (setting up apache, perl, php, postgresql, and all that 
> fun stuff.)  Now I want to migrate my e-mail addresses over to a FreeBSD 
> 4.11 machine that lives in a data center.  Can any of you recommend a 
> good MTA (and maybe a book) for someone that knows relatively few things 
> about the big scary world of e-mail transport?
> 

My list of candidates would be Courier, Postfix, or sendmail.  I've
never used Postfix, but I'm going to be giving it a test drive soon. 
Exim should probably be a candidate, but I haven't ever looked at it. 
Cyrus has some merit as an enterprise mail server, but is probably
overkill for most users.

Stay away from Gmail.  It is nasty in more ways than one.

Courier includes an IMAP and POP server as well as an MTA, works well,
is very featurefull and  reasonably customizable.  Documentation is
pretty good.  Its structure and philosophy are similar to Gmail, but
implemented much better (If you are thinking about Gmail, use Courier
instead).  I like it as an all-in-one mail server solution. 
http://www.courier-mta.org

Postfix is very featurefull, very customizable, and very popular, so
it ought to be easy to get help. http://www.postfix.org

Sendmail is built in to FreeBSD, is much more secure and much more
flexible than the older versions that drove people to write the others
in the first place, so it is a valid candidate. 
http://www.sendmail.org/ also see http://www.acme.com/mail_filtering/
for an example of what can be done with it.

> Just to throw it out there, one of the things I need to do is to have 
> the MTA route mail for a few different domains that are pointed towards 
> the machine on different ip addresses.  Is that possible?

That should be possible with any of them.

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Laurence Sanford



On Thu, 11 Aug 2005, Tom Norris wrote:

Something else just occured to me.  Am I going to need a separate pop3 
daemon, or does postfix do that too?



I've always used qpopper, but that's just me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fsck says "UNEXPECTED SOFT UPDATE INCONSISTENCY"

2005-08-11 Thread Jerahmy Pocott




THE FOLLOWING DISK SECTORS COULD NOT BE READ: 66322510,




Sounds like a HW issue to me.



Anyway to confirm this? It is not a very old drive and the filesystem  
is still readable,

I suppose it could have developed some bad sectors..

Is there a way to flag them as bad without formating the drive?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Alex Zbyslaw

Tom Norris wrote:

Something else just occured to me.  Am I going to need a separate pop3 
daemon, or does postfix do that too?



No, it doesn't (and shouldn't).

popa3d, qpopper.

Or maybe you need imap :-)

--Alex

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Mike Hernandez
On 8/11/05, Tom Norris <[EMAIL PROTECTED]> wrote:
> Something else just occured to me.  Am I going to need a separate pop3
> daemon, or does postfix do that too?
> 
> 
> Thanks again,
> Tom Norris

You'll need something else for pop/imap.. you might try courier or dovecot... 

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Alex Zbyslaw

Giorgos Keramidas wrote:


On 2005-08-11 18:00, Tom Norris <[EMAIL PROTECTED]> wrote:
 


Hexren wrote:
   


I'll say exim *let the holly wars start*
 


So, should I use vi, emacs, or pico to edit the config files ;)
   



You missed nano, joe, jed and /usr/bin/ee.  Not to mention vim :P

 


jove, ex, ed.

--Alex

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


Re: wizard mode docs

2005-08-11 Thread Alex Zbyslaw

Giorgos Keramidas wrote:


On 2005-08-11 16:09, Randy Schultz <[EMAIL PROTECTED]> wrote:
 


Hey all,
Is there any documentation on wizard mode?  I'm just wondering what
the scan function does.
   



What is "wizard mode" supposed to be?
 


A way to hack very old sendmail's.

But probably not in this case...

--Alex

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Tom Norris
Something else just occured to me.  Am I going to need a separate pop3 
daemon, or does postfix do that too?



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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Giorgos Keramidas
On 2005-08-11 18:00, Tom Norris <[EMAIL PROTECTED]> wrote:
> Hexren wrote:
> >I'll say exim *let the holly wars start*
>
> So, should I use vi, emacs, or pico to edit the config files ;)

You missed nano, joe, jed and /usr/bin/ee.  Not to mention vim :P

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


Re: wizard mode docs

2005-08-11 Thread Giorgos Keramidas
On 2005-08-11 16:09, Randy Schultz <[EMAIL PROTECTED]> wrote:
> Hey all,
> Is there any documentation on wizard mode?  I'm just wondering what
> the scan function does.

What is "wizard mode" supposed to be?

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


Re: Long Uptime

2005-08-11 Thread lars
[EMAIL PROTECTED] wrote:
> Missing patches?, Most people I know can apply patches with out rebooting
> a FreeBSD.
> 
FreeBSD-SA-05:19.ipsec
FreeBSD-SA-05:17.devfs
FreeBSD-SA-05:15.tcp
FreeBSD-SA-05:13.ipfw
FreeBSD-SA-05:09.htt [REVISED]
FreeBSD-SA-05:08.kmem [REVISED]
FreeBSD-SA-05:07.ldt
FreeBSD-SA-05:06.iir
FreeBSD-SA-05:04.ifconf
etc.

"Recompile your kernel as described in
http://www.freebsd.org/handbook/kernelconfig.html> and reboot the
system."

>>Planned downtime for maintenance is ok.
>
> It is , but this is bragging rights were talking here.
Right.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Josh Hansen
Tom Norris wrote:
> Hexren wrote:
> 
> 
>>I'll say exim *let the holly wars start*
> 
> 
> 
> So, should I use vi, emacs, or pico to edit the config files ;)
>

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Tom Norris

Hexren wrote:


I'll say exim *let the holly wars start*



So, should I use vi, emacs, or pico to edit the config files ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re[2]: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Hexren


> On Thu, 11 Aug 2005, Tom Norris wrote:

>> I have finally made the jump from paying people to host my websites to doing 
>> it myself (setting up apache, perl, php, postgresql, and all that fun 
>> stuff.) 
>> Now I want to migrate my e-mail addresses over to a FreeBSD 4.11 machine 
>> that 
>> lives in a data center.  Can any of you recommend a good MTA (and maybe a 
>> book) for someone that knows relatively few things about the big scary world 
>> of e-mail transport?
>>
>> Just to throw it out there, one of the things I need to do is to have the 
>> MTA 
>> route mail for a few different domains that are pointed towards the machine 
>> on different ip addresses.  Is that possible?
>>
> You'll want to look at postfix, and no further. The documentation, and 
> configuration files are in plain english.
> ___

-

I'll say exim *let the holly wars start*

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Elliot Finley
Or Exim.  I've heard good things about Postfix, but I don't think it has
anything over Exim.

- Original Message - 
From: "Laurence Sanford" <[EMAIL PROTECTED]>
To: "Tom Norris" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, August 11, 2005 3:26 PM
Subject: Re: Any suggestions for a MTA for a new admin?


>
>
> On Thu, 11 Aug 2005, Tom Norris wrote:
>
> > I have finally made the jump from paying people to host my websites to
doing
> > it myself (setting up apache, perl, php, postgresql, and all that fun
stuff.)
> > Now I want to migrate my e-mail addresses over to a FreeBSD 4.11 machine
that
> > lives in a data center.  Can any of you recommend a good MTA (and maybe
a
> > book) for someone that knows relatively few things about the big scary
world
> > of e-mail transport?
> >
> > Just to throw it out there, one of the things I need to do is to have
the MTA
> > route mail for a few different domains that are pointed towards the
machine
> > on different ip addresses.  Is that possible?
> >
> You'll want to look at postfix, and no further. The documentation, and
> configuration files are in plain english.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
>
> ***
> EMERY TELCOM SPAM FILTERING CHECK: Innocent
> ***
> If you consider this e-mail to be spam, please click on the URL below.
> Emery Telcom's free spam detector service will be adjusted accordingly for
future e-mails.
>
http://postmaster.etv.net:8080/reclassify?user=6566696e6c6579776f726b406566696e6c65792e636f6d&signature=42fbc684547279197914356&result=496e6e6f63656e74
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.6/69 - Release Date: 8/11/2005
>
>

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


Re: Any suggestions for a MTA for a new admin?

2005-08-11 Thread Laurence Sanford



On Thu, 11 Aug 2005, Tom Norris wrote:

I have finally made the jump from paying people to host my websites to doing 
it myself (setting up apache, perl, php, postgresql, and all that fun stuff.) 
Now I want to migrate my e-mail addresses over to a FreeBSD 4.11 machine that 
lives in a data center.  Can any of you recommend a good MTA (and maybe a 
book) for someone that knows relatively few things about the big scary world 
of e-mail transport?


Just to throw it out there, one of the things I need to do is to have the MTA 
route mail for a few different domains that are pointed towards the machine 
on different ip addresses.  Is that possible?


You'll want to look at postfix, and no further. The documentation, and 
configuration files are in plain english.

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


Any suggestions for a MTA for a new admin?

2005-08-11 Thread Tom Norris
I have finally made the jump from paying people to host my websites to 
doing it myself (setting up apache, perl, php, postgresql, and all that 
fun stuff.)  Now I want to migrate my e-mail addresses over to a FreeBSD 
4.11 machine that lives in a data center.  Can any of you recommend a 
good MTA (and maybe a book) for someone that knows relatively few things 
about the big scary world of e-mail transport?


Just to throw it out there, one of the things I need to do is to have 
the MTA route mail for a few different domains that are pointed towards 
the machine on different ip addresses.  Is that possible?



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


Re: Problem with Seagate hdd

2005-08-11 Thread Glenn Dawson

At 01:14 PM 8/11/2005, Efren Bravo wrote:

Hi,

>>The problem is most likely the hard drive controller on your motherboard.
I don't think so, 'cause I've installed winXP on it.
My hdd has two partitions, one of them is WinXP.

>>What motherboard do you have?
http://www.biostar.com.tw/products/mainboard/board.php?name=U8668-D%20v7.x


The ATA controller on that board appears to be supported...



>>Are you using the controller that's built in to the motherboard?
Yes, I suppose.


um, either you are or you aren't.  If you aren't, it's entirely possible 
that the controller you are using isn't supported.




>>What version of FreeBSD are you trying to install?
5.4-RC4-i386


Why are you using a release candidate instead of the release?

-Glenn



At 12:36 PM 8/11/2005, Efren Bravo wrote:


Hi,

I tried to install freebsd in a pc with a seagate ST340014A (40Gb 
Barracuda7200.7) hdd but the installer doesn't find the drivers. I've 
checked http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK but 
it doesn't have any seagate hdd reference.
Is it possible to install freebsd into seagate ST340014A (40Gb 
Barracuda7200.7)?




Thanks




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


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


wizard mode docs

2005-08-11 Thread Randy Schultz
Hey all,

Is there any documentation on wizard mode?  I'm just wondering what the
scan function does.

--
 Randy([EMAIL PROTECTED])  715-726-2832 email bodhisattva <*>

 "There is no fire like passion, there is no shark like hatred,
 there is no snare like folly, there is no torrent like greed."

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


Vs: Re: sorry for the idiot question, bu

2005-08-11 Thread juha . vaskisuo

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


Re: Long Uptime

2005-08-11 Thread estover
> Dmitry Mityugov wrote:
Apart from that, I must agree with Dave Horsfall - please provide an
 IP.
>>>
>>>Is there a critical patch that you believe those machines would need?
>>>Anything more serious than a potential denial of service attack?
> Yes, I recommend all patches.
> DOS is enough for me.
>
>> Indeed. If the machine is properly firewalled, what kind of attack
>> other than DoS can break it?
> All those on vulnerabilites that were fixed in patches after the last one
> applied.
>
> A firewall may or may not help you.
>
> If the attack is on a jail to which you allow access through your
> firewall,
> you've had it, e.g..
>
> Or someone sends you a specially crafted file that exploits a
> vulnerability
> described in FreeBSD-SA-05:11.gzip and/or FreeBSD-SA-05:14.bzip2.asc.
> That's DOS, that kind of attack is serious enough for me to try to avoid.
>
> Or someone gains root privileges via the vulnerability described in
> FreeBSD-SA-05:16.zlib, FreeBSD-SA-05:17.devfs or FreeBSD-SA-05:18.zlib.
>
> I mean it's great FreeBSD can sustain such a long uptime.
> But, IMHO, it's nothing to brag about, since it simultaneously indicates
> missing patches, which I find worse.
Missing patches?, Most people I know can apply patches with out rebooting
a FreeBSD.
> Planned downtime for maintenance is ok.
It is , but this is bragging rights were talking here.
>
> Kind regards,
> lars.
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>

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


Re: Problem with Seagate hdd

2005-08-11 Thread Chad Leigh -- Shire.Net LLC


On Aug 11, 2005, at 2:14 PM, Efren Bravo wrote:




>>What version of FreeBSD are you trying to install?
5.4-RC4-i386



get a  more up to date version like 5.4 release

Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Re: Long Uptime

2005-08-11 Thread Kent Stewart
On Thursday 11 August 2005 12:09 pm, Matt Kosht wrote:
> >On 8/11/05, Peter Giessel <[EMAIL PROTECTED]> wrote:
> > There are uptimes greater than 4 years listed here:
> > http://uptime.netcraft.com/up/today/top.avg.html
>
> A Windows 2000 server with over 1000 days of uptime. Whoever hacked
> it must be doing a good job as sysadmin  ;)

Not possible for a good sysadmin. There have been numerous updates by 
Microsoft that require a reboot to finish the install. Anything over 
2-3 months has a sysadmin that has not been adding their security 
fixes. 

Kent

-- 
Kent Stewart
Richland, WA

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


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User
Thank you for your quick answer! In the link you sent, there is a chapter about 
doing a "headless install" -- and my rackmount server is certainly "headless".
 
My laptop is so new it doesn't appear to have a serial port, but I think I can 
get a USB-to-serial adapter for connecting the null modem cable.
 
I am very impressed with the flexibility of FreeBSD.
 
Per olof Ljungmark ... wrote:


Start here:

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

You can do it in many ways. Good luck and welcome.


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


Re: freebsd utilization bandwidth statistics

2005-08-11 Thread Glenn Dawson

At 01:04 PM 8/11/2005, Noah wrote:



Hi ther,e

is there a Program out there that can be used to graphically show how much
bandwidth is being used for specific applications or ports?


ntop can do that, it's in ports.

-Glenn



thanks in advance,

Noah

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


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


Problem with Seagate hdd

2005-08-11 Thread Efren Bravo

When the installer start it raise this error:

ata0-master: Failure - ATA-IDENTIFY timed out

thanks...


Efren Bravo wrote:


Hi,

>>The problem is most likely the hard drive controller on your 
motherboard.

I don't think so, 'cause I've installed winXP on it.
My hdd has two partitions, one of them is WinXP.

>>What motherboard do you have?
http://www.biostar.com.tw/products/mainboard/board.php?name=U8668-D%20v7.x 



>>Are you using the controller that's built in to the motherboard?
Yes, I suppose.

>>What version of FreeBSD are you trying to install?
5.4-RC4-i386

At 12:36 PM 8/11/2005, Efren Bravo wrote:


Hi,

I tried to install freebsd in a pc with a seagate ST340014A (40Gb 
Barracuda7200.7) hdd but the installer doesn't find the drivers. I've 
checked http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK 
but it doesn't have any seagate hdd reference.
Is it possible to install freebsd into seagate ST340014A (40Gb 
Barracuda7200.7)?





Thanks





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





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


what is wrong for my ipfw? and how intruder can do it?

2005-08-11 Thread ann kok
Hi all

I am using freebsd 4.11 as router and run ipfw
I has ipfw rules to restrict ssh access from all
interfaces 

eg: ipfw add 22 deny log tcp from any to x.x.x.x/32 22


The firewall rule is fine when testing from outside
and can get info from /var/log/security
Deny TCP x.x.x.x:20411 x.x.x.x:22 in via dc0


But I don't know that ip can bypass the ipfw firewall
rule and can access the computer. 
Finally it was blocked by tcpwrapper. I got this from
/var/log/messages


Aug 09 06:10:29 firewall sshd[51057]: refused connect
from x.x.x.137 (x.x.x.137)

what is wrong for my ipfw? and how intruder can do it?

do you have any ideas?

Thank you

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


Re: Newbie needs help setting up rackmount server

2005-08-11 Thread Per olof Ljungmark

Maude User wrote:

Hello --

I recently installed FreeBSD 5.3 on my laptop and now I want to install it
onto a rackmount server (hardware specs below).

I hate to ask a silly question but here goes: Do I need to get a USB CD-ROM
drive (and keyboard and monitor) for the server in order to install FreeBSD...
or is there some way I can install onto the rackmount server from the laptop?
(There's no CD-ROM on the rackmount server, but the laptop has a CD-RW/DVD+-RW.)




Start here:

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

You can do it in many ways. Good luck and welcome.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Newbie needs help setting up rackmount server

2005-08-11 Thread Maude User

Hello --

I recently installed FreeBSD 5.3 on my laptop and now I want to install it
onto a rackmount server (hardware specs below).

I hate to ask a silly question but here goes: Do I need to get a USB CD-ROM
drive (and keyboard and monitor) for the server in order to install FreeBSD...
or is there some way I can install onto the rackmount server from the laptop?
(There's no CD-ROM on the rackmount server, but the laptop has a CD-RW/DVD+-RW.)

The rackmount server consists of the following:

> Motherboard: Tyan GS12 single-processor 1U rackmount barebones server with:
--> ICH-5R & Intel 875P chipsets (I understand FreeBSD 5.x is ok with these)
--> Supports Intel P4 processor 800/533 MHz FSB
--> Supports up to 2 IDE HDD devices (Serial ATA and Ultra ATA/100 connectors)
--> Supports RAID 0, 1
--> Integrated LAN controller (Intel 82547GI CSA & 82541GI PCI 10/100/1000 GbE 
LAN
controllers) with two RJ-45 LAN connectors
--> One 32-bit/33 MHz PCI v2.3 slot
--> Four USB 2.0 ports
--> Phoenix BIOS on 4Mb Flash ROM; UCR and PXE (LAN remote boot); 
SM BIOS 2.3.1 (backward compatible w/ DMI 2.0)
---> Programmable 2-line LCD display with drivers for FreeBSD

> Processor: Intel "Northwood" 2.8GHz 533MHz FSB Socket 478 Pentium 4
(no hyperthreading)

> Memory: 2 x Micron 1024MB DDR400 ECC Registered PC3200 400MHz 184pin RAM

> Hard drives: 2 x Western Digital 250GB Serial ATA hard drives

Here's some further info about this Tyan motherboard:
http://www.tyan.com/products/html/gs12b5103_spec.html
ftp://ftp.tyan.com/manuals/m_gs12b5103_100.pdf
http://www.dansdata.com/ttransport.htm

Thanks for any help.

-- Steve
Brooklyn, NYC


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


Process debugging

2005-08-11 Thread Vinicius Pavanelli Vianna
Hi folks :)

I have studying the accounting system on FreeBSD but have one question,
is there a way to do active accounting on a process basis? like
collecting live information about threads, memory, cpu usage, syscalls
and other stuff to something like a rrd database so i can check what
happened when a process crashed or when the load came high on the systems?
I had a crash other day on mysql and don't know what happened since it
stopped to respond, i know this is much like some bug on mysql, but
collecting this information i can know what happened, since this is a
production server, i think it's not possible to simple start debugging
it, and mysql didn't crashed or dumped core :/

Any information would be welcome, don't know if i could express what i
need very well

Thanks in advance,

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


Problem with Seagate hdd

2005-08-11 Thread Efren Bravo

Hi,

>>The problem is most likely the hard drive controller on your 
motherboard.

I don't think so, 'cause I've installed winXP on it.
My hdd has two partitions, one of them is WinXP.

>>What motherboard do you have?
http://www.biostar.com.tw/products/mainboard/board.php?name=U8668-D%20v7.x

>>Are you using the controller that's built in to the motherboard?
Yes, I suppose.

>>What version of FreeBSD are you trying to install?
5.4-RC4-i386

At 12:36 PM 8/11/2005, Efren Bravo wrote:


Hi,

I tried to install freebsd in a pc with a seagate ST340014A (40Gb 
Barracuda7200.7) hdd but the installer doesn't find the drivers. I've 
checked http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK 
but it doesn't have any seagate hdd reference.
Is it possible to install freebsd into seagate ST340014A (40Gb 
Barracuda7200.7)?




Thanks




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


Re: How to use Bochs?

2005-08-11 Thread Roland Smith
On Thu, Aug 11, 2005 at 12:43:16PM -0700, Glenn Dawson wrote:
> At 07:53 AM 8/11/2005, Kenny wrote:
> >I have installed Bochs successfully from ports.
> >At first, I planned to install Windows in Bochs, but soon I found that
> >Bochs needed to be configured before functioning properly.

You should try qemu instead of bochs. It's generally faster.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpXuOPavrHFe.pgp
Description: PGP signature


freebsd utilization bandwidth statistics

2005-08-11 Thread Noah


Hi ther,e

is there a Program out there that can be used to graphically show how much
bandwidth is being used for specific applications or ports?

thanks in advance,

Noah

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


Re: Problem with Seagate hdd

2005-08-11 Thread lars
Efren Bravo wrote:
> Hi,
> 
> I tried to install freebsd in a pc with a seagate ST340014A (40Gb
> Barracuda7200.7) hdd but the installer doesn't find the drivers.
Yes, most HDDs don't need special drivers.
FreeBSD can communicate with ATA drives with the standard kernel.

> I've
> checked http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK but
> it doesn't have any seagate hdd reference.
Because it's not necessary.

> Is it possible to install freebsd into seagate ST340014A (40Gb
> Barracuda7200.7)?
Yes, absolutely.

Your problem maybe lies within a misconfiguration in your cabling or BIOS,
defective hardware, torn cabling and/or failing drive, maybe,
or a mistake on your side using the installer.

lars.





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


Re: Problem with Seagate hdd

2005-08-11 Thread Glenn Dawson

At 12:36 PM 8/11/2005, Efren Bravo wrote:

Hi,

I tried to install freebsd in a pc with a seagate ST340014A (40Gb 
Barracuda7200.7) hdd but the installer doesn't find the drivers. I've 
checked http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK but 
it doesn't have any seagate hdd reference.
Is it possible to install freebsd into seagate ST340014A (40Gb 
Barracuda7200.7)?


The problem is most likely the hard drive controller on your motherboard.

What motherboard do you have?

Are you using the controller that's built in to the motherboard?

What version of FreeBSD are you trying to install?

-Glenn



Thanks


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


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


Re: Browser ?

2005-08-11 Thread nawcom
theres lots of solutions. i personally would just use plain ol mail with 
sendmail and fetchmail to manage the sending and retrieval.



Björn König wrote:


Carstea Catalin wrote:

I don't want x server and kde but i want a good browser to downlod my 
email from mail box (gmail). Can u help me how ( ori what browser to 
use)?



If you're looking for a text mode browser then try 'w3m' and 'links', 
but I would use an email program like 'mutt' for reading mails. You 
can fetch mails from several mail accounts with 'fetchmail'.


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



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


Re: How to use Bochs?

2005-08-11 Thread Glenn Dawson

At 07:53 AM 8/11/2005, Kenny wrote:

I have installed Bochs successfully from ports.
At first, I planned to install Windows in Bochs, but soon I found that
Bochs needed to be configured before functioning properly.

How to configure? I have no idea. I visited the homepage of Bochs just
now, but with no gains.


They have links to a FAQ and the user manual on the home page 
http://bochs.sourceforge.net/


The manual looks fairly complete.  What more do you need?

-Glenn


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


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


Problem with Seagate hdd

2005-08-11 Thread Efren Bravo

Hi,

I tried to install freebsd in a pc with a seagate ST340014A (40Gb 
Barracuda7200.7) hdd but the installer doesn't find the drivers. I've 
checked http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK but 
it doesn't have any seagate hdd reference. 

Is it possible to install freebsd into seagate ST340014A (40Gb 
Barracuda7200.7)?


Thanks


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


Re: Browser ?

2005-08-11 Thread Björn König

Carstea Catalin wrote:

I don't want x server and kde but i want a good browser to downlod my email 
from mail box (gmail). Can u help me how ( ori what browser to use)?


If you're looking for a text mode browser then try 'w3m' and 'links', 
but I would use an email program like 'mutt' for reading mails. You can 
fetch mails from several mail accounts with 'fetchmail'.


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


Re: Need help with Pancho

2005-08-11 Thread Glenn Dawson

At 05:46 AM 8/11/2005, Phusion wrote:

I've got some questions about pancho (tftp server). When I install it
from the ports, how can I make it automatically start on boot?
Normally with ports it puts a shell script in /usr/local/etc/rc.d/. I
tried to start it by doing the following with no success.

/usr/local/bin/pancho --config /usr/local/etc/pancho.conf

Also, I want to just make it a tftp server. Here is my pancho.conf file.

[global]
LogFile=/var/log/pancho.log
ForkLimit=5
StylePattern=::HOST::.::DATE::-confg
StyleDate=%Y%m%d
TftpPath=/tftp

Let me know, what I am doing wrong. Thanks.


Why not use the tftp server that's part of the base system?

-Glenn



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


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


Re: about VPN solution

2005-08-11 Thread Glenn Dawson

At 04:15 AM 8/11/2005, vladone wrote:

IPSEC not work on Win98 systems, and is not a very apreciated
solution!


You can use mpd which is in ports (/usr/ports/net/mpd) to set up a PPTP 
server that will work with the windows VPN client.


-Glenn



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


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


Re: Group size

2005-08-11 Thread Dan Nelson
In the last episode (Aug 11), [EMAIL PROTECTED] said:
> On Thu, 11 Aug 2005 [EMAIL PROTECTED] wrote:
> |
> | I'm in troble here. Is there any limit to the size o each group
> | in /etc/groups. I'm moving from a BSDI machine where I used to
> | authenticate some services based on groups, but Freebsd 5.4
> | seem to be limiting it to arround 1300 characters. Sorry if
> | it's a known issue but it's urgent.
> |
>   It seem that this thread is talking about the same problem, but
> there were no reply.
> 
> http://lists.freebsd.org/pipermail/freebsd-bugs/2003-May/000889.html

I can't see anything in /usr/src/lib/libc/gen/getgrent.c that would
limit the number of characters in /etc/group.  The code uses the
fgetln() function which has no maximum size limits, and previous code
looks like it had a hardcoded 256KB character limit on each line.

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


Re: Long Uptime

2005-08-11 Thread lars
Dmitry Mityugov wrote:
>>>Apart from that, I must agree with Dave Horsfall - please provide an IP.
>>
>>Is there a critical patch that you believe those machines would need?
>>Anything more serious than a potential denial of service attack?
Yes, I recommend all patches.
DOS is enough for me.

> Indeed. If the machine is properly firewalled, what kind of attack
> other than DoS can break it?
All those on vulnerabilites that were fixed in patches after the last one 
applied.

A firewall may or may not help you.

If the attack is on a jail to which you allow access through your firewall,
you've had it, e.g..

Or someone sends you a specially crafted file that exploits a vulnerability
described in FreeBSD-SA-05:11.gzip and/or FreeBSD-SA-05:14.bzip2.asc.
That's DOS, that kind of attack is serious enough for me to try to avoid.

Or someone gains root privileges via the vulnerability described in
FreeBSD-SA-05:16.zlib, FreeBSD-SA-05:17.devfs or FreeBSD-SA-05:18.zlib.

I mean it's great FreeBSD can sustain such a long uptime.
But, IMHO, it's nothing to brag about, since it simultaneously indicates
missing patches, which I find worse.
Planned downtime for maintenance is ok.

Kind regards,
lars.



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


Re: Browser ?

2005-08-11 Thread Giorgos Keramidas
On 2005-08-11 12:14, Carstea Catalin <[EMAIL PROTECTED]> wrote:
> I don't want x server and kde but i want a good browser to downlod my email
> from mail box (gmail). Can u help me how ( ori what browser to use)?

Gmail supports POP3 access, so you don't really need a browser to read
and/or post email messages.

I know that this isn't quite what you asked, but judging from my past
experience with browser-based mailers, you should really use a real
mailer.  The mutilations performed on the message text by web-based
mailers are absolutely horrible.

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


Re: Realtek RTL8169 on FreeBSD 5.4: no carrier.

2005-08-11 Thread Julien Gabel
>>>I recently installed FreeBSD 5.4 on an ABIT AA-8 DuraMax and all went
>>>well.  All hardware detected properly and everything was running great,
>>>until I got to configuring my network.  ifconfig shows my onboard
>>>gigabit LAN as "status: no carrier"
>>>
>>>I can successfully ping localhost and the IP that was assigned to re0
>>>(192.168.1.31).
>>>
>>>when I plug an ethernet cable from my FreeBSD box to my router, I get
>>>"status: no carrier."  Oddly, when I plug an ethernet cable from my
>>>FreeBSD box to my laptop's LAN port, I get "status: active".  The lights
>>>on the ethernet jack indicate the same.
>>>
>>>Additionally, if I manually set the media with the following command:
>>># ifconfig re0 media 10baseT/UTP mediaopt full-duplex
>>>The status magically switches to "active" and I can use my ethernet!
>>>
>>>I know that there are known problems with RealTek chipsets, but it is
>>>listed in the 5.4 supported hardware list.
>>>
>>>Bottom line is that the onboard LAN is detected, installed, and working
>>>properly, but it seems as if the driver can't properly detect when a
>>>cable is plugged into the jack.
>>>
>>>I was hoping someone could help.
>>>
>>>uname -a:
>>>--
>>>FreeBSD db.domain.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8
>>>10:21:06 UTC 2005
>>>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
>>>
>>>ifconfig:
>>>--
>>>re0: flags=8843 mtu 1500
>>>options=18
>>>inet 192.168.1.31 netmast 0xff00 broadcast 192.168.1.255
>>>inet6 ...
>>>ether 00:50:8d:eb:e5:be
>>>media: Ethernet autoselect (none)
>>>status: no carrier
>>>lo0: flags=8049 mtu 16384
>>>inet 127.0.0.1 netmask 0xff00
>>>inet6 ::1 prefixlen 128
>>>inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
>>>
>>>
>>>Relevant dmesg:
>>>--
>>>re0:  port 0xee00-0xeeff mem
>>>0xfbfff000-0xfbfff0ff irc 16 at device 1.0 on pci1
>>>miibus0:  on re0
>>>rgephy0:  on miibus0
>>>rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
>>>1000baseTX-FDX, auto
>>>re0: Ethernet address: 00:50:8d:eb:e5:be
>>>
>>>
>>>pciconf -lv:
>>>--
>>>[EMAIL PROTECTED]:1:0: class=0x02 card=0x1039147b chip=0x816910ec 
>>>rev=0x10
>>>hdr=0x00
>>>vendor = 'Realtek Semiconductor'
>>>device = 'RTL8169 Gigabit Ethernet Adapter
>>>class = network
>>>subclass = ethernet
>>>
>>>pciconf -r pci1:1:0 0:0xff
>>>--
>>>816910ec 02b7 0210 2008
>>>ee01 fbfff000  
>>>   1039147b
>>> 00dc  40200110
>>>   
>>>   
>>>   
>>>   
>>>   
>>>   
>>>   
>>>   
>>>   
>>>   f7c20001
>>>   
>>>   


>> Regrettably, i always encountered this problem.  I spoke about that since
>> the middle of 2004, and didn't really receive feedback on this.  I try a
>> lot of things but none worked better than the other.
>>
>> To not forget about it, i filled a bug report on this particular problem,
>> see PR kern/80005 for more details.
>>
>> The last thing i want to give another try is to upgrade to RELENG_6,
>> since i currently follow the RELENG_5 branch.  But i am not *very*
>> confident about that...
>>
>> Sorry not to have better answer to give you.


> what irq information for re0 is listed when you do "vmstat -i"?

I get this one:
 $ vmstat -i
 interrupt  total   rate
 irq1: atkbd0  10  0
 irq8: rtc   11094577127
 irq11: acpi0   13495  0
 irq13: npx01  0
 irq14: ata0   197330  2
 irq15: ata1   85  0
 irq17: fwohci0 1  0
 irq19: re0 10079  0
 irq20: ohci0   1  0
 irq21: ohci1   2  0
 irq22: ohci2 225  0
 irq0: clk8667646 99
 Total   19983452230

Is there any problem here?

> theres known issues for gigabit devices like this. I know some people
> have fixed the "no carrier" issue (with broadcom gigabit) by using the
> windows ndis driver. perhaps you can give that a try?

Yes, at the beginning of this year.  Without much success.

> before using the ndis driver give this patched mod a try:
>  http://people.freebsd.org/~wpaul/re/

I tried these the past, but don't remember this solved anything.

> another common issue with gigabit de

Browser ?

2005-08-11 Thread Carstea Catalin
I don't want x server and kde but i want a good browser to downlod my email 
from mail box (gmail). Can u help me how ( ori what browser to use)?
tks
-- 
Carstea Catalin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Long Uptime

2005-08-11 Thread Matt Kosht
>On 8/11/05, Peter Giessel <[EMAIL PROTECTED]> wrote:
> There are uptimes greater than 4 years listed here:
> http://uptime.netcraft.com/up/today/top.avg.html

A Windows 2000 server with over 1000 days of uptime. Whoever hacked it
must be doing a good job as sysadmin  ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: two dc cards on 5.4

2005-08-11 Thread Frank Shute
On Thu, Aug 11, 2005 at 11:07:45PM +0930, Malcolm Kay wrote:
>
> On Thu, 11 Aug 2005 07:47 pm, Matthew Seaman wrote:
> > On Wed, Aug 10, 2005 at 05:33:30PM -0700, Sean Murphy wrote:
> > > Sean Murphy wrote:
> > > >dave wrote:
> > > >>Hi,
> > > >>Thanks for your reply. I'll give that a shot. My
> > > >> problem is the dc0 card
> > > >>gets it's ip via dhcp, can i still use media and mediaopt
> > > >> with dhcp? Thanks.
> > > >>Dave.
> > > >>
> > > >>___
> > > >>freebsd-questions@freebsd.org mailing list
> > > >>http://lists.freebsd.org/mailman/listinfo/freebsd-question
> > > >>s To unsubscribe, send any mail to
> > > >>"[EMAIL PROTECTED]"
> > > >
> > > >try this in your rc.conf
> > > >
> > > >ifconfig_dc0="DHCP"
> > > >ifconfig_dc0="100baseTX mediaopt full-duplex"
> > > >
> > > >ifconfig_dc1="DHCP"
> > > >ifconfig_dc1="100baseTX mediaopt full-duplex"
> > >
> > > *Correction*
> > >
> > > ifconfig_dc0="DHCP"
> > > ifconfig_dc0="media 100baseTX mediaopt full-duplex"
> > >
> > > ifconfig_dc1="DHCP"
> > > ifconfig_dc1="media 100baseTX mediaopt full-duplex"
> >
> > Unfortunately, that won't work.  /etc/rc.conf is part of a
> > shell script, and all of those variable=value lines within it
> > are literally assignments to shell variables.  Thus all you're
> > doing with those lines is setting 'ifconfig_dcX' to the value
> > "DHCP" and then immediately resetting it to the value "media
> > 100baseTX mediaopt full-duplex".
> >
> > On recent FreeBSD 6.x you can just combine the lines:
> >
> > ifconfig_dc0="DHCP media 100baseTX mediaopt full-duplex"
> >
> > (I can't remember if that also works on 5.x -- you'll need to
> > read /etc/network.subr to find out).
> 
> It would seem that the "DHCP" value causes a call to 'dhclient'
> rather than 'ifconfig' and dhclient.conf(5) suggests that this is
> where the options for a DHCP interface should reside.
> 
> Malcolm Kay

I think you are correct. The original poster could try:

ifconfig_dc0="DHCP"

in rc.conf and:

interface "dc0" {
media "media 10baseT/UTP";
}

in /etc/dhclient.conf.

Disclaimer: this is for ISC dhcp (I'm running 4.11, so you have to
check the manpage).

> 
> >
> > In any case, and certainly for older FreeBSD versions you can
> > always create a /etc/start_if.dc0 script, which will be run
> > immediately before the ifconfig(8) command generated out of
> > /etc/rc.conf.  In your case, the script should look like:
> >
> > #!/bin/sh
> >
> > ifconfig dc0 media 100baseTX mediaopt full-duplex
> >
> > but you can put any arbitrary commands in there that you want.
> >  Ditto for the dc1 interface, except call the script
> > /etc/start_if.dc1 (if that isn't bleedingly obvious...)  There
> > are corresponding /etc/stop_if.XXN scripts that can be created
> > to do arbitrary stuff on interface shutdown as well.
> >
> >Cheers,
> >
> >Matthew
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
 

-- 

 Frank 


echo "f r a n k @ e s p e r a n c e - l i n u x . c o . u k" | sed 's/ //g'

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


Re: Group size

2005-08-11 Thread scuba
Replying to myself as a followup,

It seem that this thread is talking about the same problem, but
there were no reply.

http://lists.freebsd.org/pipermail/freebsd-bugs/2003-May/000889.html

- Marcelo Souza


On Thu, 11 Aug 2005 [EMAIL PROTECTED] wrote:

|Hi all,
|
|   I'm in troble here.
|   Is there any limit to the size o each group in /etc/groups.
|   I'm moving from a BSDI machine where I used to authenticate some
|services based on groups, but Freebsd 5.4  seem to be limiting it to
|arround 1300 characters.
|   Sorry if it's a known issue but it's urgent.
|
|
|- Marcelo
|
|
|___
|freebsd-questions@freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "[EMAIL PROTECTED]"
|


- Marcelo


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


Re: Long Uptime

2005-08-11 Thread Peter Giessel
There are uptimes greater than 4 years listed here:
http://uptime.netcraft.com/up/today/top.avg.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Long Uptime

2005-08-11 Thread Dmitry Mityugov
On 8/11/05, Bob Johnson <[EMAIL PROTECTED]> wrote:
> On 8/11/05, lars <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> > > Nice, I to have a machine that is not to far behind you, its been up for 1
> > year
> > > and 4 months.
> > >
> > > I use it to show potential customers the power and stability of the
> > FreeBSD
> > > System. I dont ever recall any windows server staying up that long. =)
> > >
> > > -Pablo
> > I could send you some mails that advertise creams that could help with that
> > ;-)
> >
> > Apart from that, I must agree with Dave Horsfall - please provide an IP.
> 
> Is there a critical patch that you believe those machines would need?
> Anything more serious than a potential denial of service attack?

Indeed. If the machine is properly firewalled, what kind of attack
other than DoS can break it?

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

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


Re: Group size

2005-08-11 Thread Marcelo Souza
Hi,

On Thu, 11 Aug 2005, nawcom wrote:

|i know that all the system limits are defined in sys/syslimits.h. by
|default, the max number of groups is 16(NGROUPS_MAX) , but i dont see
|any variable declaring the max amount of users in a group.
|
|are you using some script to mass group users or something (trying to
|understand why you need to manage users in a group)

Yes, it´s used to allow/deny some access to users by a radius
server.
But even the "id" comand doesn´t show the user in that group.


|-Ben
|
|
|[EMAIL PROTECTED] wrote:
|
|>Hi all,
|>
|>  I'm in troble here.
|>  Is there any limit to the size o each group in /etc/groups.
|>  I'm moving from a BSDI machine where I used to authenticate some
|>services based on groups, but Freebsd 5.4  seem to be limiting it to
|>arround 1300 characters.
|>  Sorry if it's a known issue but it's urgent.
|>
|>
|>- Marcelo
|>
|>
|>___
|>freebsd-questions@freebsd.org mailing list
|>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|>To unsubscribe, send any mail to "[EMAIL PROTECTED]"
|>
|>
|
|___
|freebsd-questions@freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "[EMAIL PROTECTED]"
|


- Marcelo


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


Re: Group size

2005-08-11 Thread scuba
Hi,

It´s not the problem.
I have two large groups, one of them have more then 500 users in
it. It´s is used by a legacy radius software to authenticate the users.
The poblem is that beyond some position in the group list the
system doesn´t show the user in that group. i.e:

The user "nonono" is listed in one of those groups, but the
comand:  id nonono doesn´t show that group. Another user at the begining
of the group is ok.

- Marcelo Souza

On Thu, 11 Aug 2005, Jason Morgan wrote:

|On Thu, Aug 11, 2005 at 01:14:28PM -0300, [EMAIL PROTECTED] wrote:
|> Hi all,
|>
|>  I'm in troble here.
|>  Is there any limit to the size o each group in /etc/groups.
|>  I'm moving from a BSDI machine where I used to authenticate some
|> services based on groups, but Freebsd 5.4  seem to be limiting it to
|> arround 1300 characters.
|>  Sorry if it's a known issue but it's urgent.
|>
|Are some of your users in many different groups? The kernel variable
|kern.ngroups sets the number of groups a user can belong to. Could that
|be an issue? I don't believe there is a limit to the number of users in
|a group. I know there was in the past, but I believe it was removed.
|
|Jason
|___
|freebsd-questions@freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "[EMAIL PROTECTED]"
|


- Marcelo


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


Re: Long Uptime

2005-08-11 Thread nawcom
hehe don't try and show off your uptime, im sure there are some people 
around here who will make it their lifetime goal to halt your server!


:-P

(that doesnt include me, im a nice guy)

-Ben

Bob Johnson wrote:


On 8/11/05, lars <[EMAIL PROTECTED]> wrote:
 


[EMAIL PROTECTED] wrote:
   


Nice, I to have a machine that is not to far behind you, its been up for 1
 


year
   


and 4 months.

I use it to show potential customers the power and stability of the
 


FreeBSD
   


System. I dont ever recall any windows server staying up that long. =)

-Pablo
 


I could send you some mails that advertise creams that could help with that
;-)

Apart from that, I must agree with Dave Horsfall - please provide an IP.
   



Is there a critical patch that you believe those machines would need? 
Anything more serious than a potential denial of service attack?


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



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


  1   2   >