Re: jail login and replication problems

2006-07-06 Thread Glenn Dawson

At 03:41 PM 7/6/2006, patrick wrote:

Hi Dan,

Did you ever find a solution to this problem? I've had the exact same
problem, and have tried various different things to resolve it... all
to no avail. It's really annoying have to remake the jail from scratch
every time, as I'd much rather do the configuration once, and use it
as a cookie-cutter for future jails.


If you build the template jail in it's own partition and then 
dump(8) it to a file, you can then restore(8) it to where ever it 
needs to be and it will work fine.


If you don't have an empty partition to use, you can use mdconfig(8) 
to create a vnode backed memory disk to build the template jail in.


I just finished putting together a system with about 20 jails that 
were replicated that way.  They all worked fine.


-Glenn



Patrick

On 7/26/05, Dan Rue [EMAIL PROTECTED] wrote:

Greetings,

I am setting up multiple jails on a machine.  The first jail, everything
works fine.  If I add a user, that user can log in.  If I tar cvzpf the
jail, tar xvzpf to create a new one, some people can log into the new
jail, and some can not.

The user that can log in to the new one was the first user created (me),
but any subsequent users can not log into new jails..

The symptom is right after accepting the password via ssh, the
connection will just get dropped.  I could not find any good error
messages using ssh..  But if I enable telnet and try to telnet in, I
receive this error in /var/log/messages:

Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/home/user3/.login_conf: Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/etc/login.conf: Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/home/user3/.login_conf: Permission denied
Jul 26 16:11:46 jail3 login: _secure_path: cannot stat 
/etc/login.conf: Permission denied


The permissions on those files are fine.

So what would cause that error in jails that have been replicated using
tar, but only to some users?  I'm stumped..

Here's my rc.conf exerpt:

jail_enable=YES
jail_list=jail3
jail_socket_unixiproute_only=NO
jail_sysvipc_allow=YES  # allow shared mem on all jails

jail_jail3_rootdir=/jails/jail3
jail_jail3_hostname=jail3.example.com
jail_jail3_ip=10.0.0.203
jail_jail3_procfs_enable=YES
jail_jail3_devfs_enable=YES
jail_jail3_devfs_ruleset=devfsrules_jail

tia,
Dan
___
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: FreeBSD in the DS?

2006-05-13 Thread Glenn Dawson

At 04:52 PM 5/13/2006, Alex Johnson wrote:

I am aware that FreeBSD's claim to fame is that it has been ported to
anything with a processor.


I think you're thinking of NetBSD, not FreeBSD.

-Glenn


So, I am wondering if it'd be possible to
get my hands on a method for modding the DS's boot EPROM to load a
FreeBSD operating system, and with it  a means for storing or
retrieving data along the lines of a GBA cart which runs to an ATAPI
ribbon cable or the like. I could easily see a touch-screen keyboard
interface, with most programs displayed on the other screen. If such a
thing is possible, please help me find one.
___
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: Hacked? How can I tell what process is sending packets from a particular port (udp/55613)?

2006-04-30 Thread Glenn Dawson

At 01:52 PM 4/30/2006, boink wrote:

Dear FreeBSD,

I see outbound packets from udp/55613, one every 5 seconds, to a
single non-routable (10) IP, with destination port increasing by 1
with each packet, with expected ICMP Destination net unreachables from
an upstream router.

AFAIK, there's no reason for this and I don't like it - how can I tell
which process is sending the packets?


sockstat -c should give you the info you need.

-Glenn



With thanks in advance,
boink
___
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: su to root not prompting for a password

2006-04-17 Thread Glenn Dawson

At 09:45 AM 4/17/2006, James Riendeau wrote:

I upgraded to 6.1 RC-1 from 5.4, and when I su to root, it's not
prompting for a password.  I created a new account, and it does the
same thing there.  If the user is in the wheel group, it drops to the
# prompt.  If not, it echos the BAD SU attempt error message.  I
think it has something to do with PAM, but the documentation is not
exactly written for those of us who don't have MS/Ph.D.'s in computer
science.  Does anyone know how to fix this?  I thought I followed all
the directions in /usr/src/UPDATING, but I must have done something
wrong, probably while using mergemaster.


You likely installed the default passwd file, which has no password for root.

Assign a password to root and you'll be fine.

-Glenn



My apologies if this has already been asked, but the search function
on lists.freebsd.org won't let me access other search result pages
beyond the first, and google didn't help.

Many thanks,

James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [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: Newbie question -- which files to back up?

2006-04-16 Thread Glenn Dawson

At 09:58 PM 2/22/2006, Andy Reitz wrote:

Hi Oliver,

At a minimum, you will probably want to back up the following directories:

/etc
/usr/local/etc
/home

That will get all of the configuration files for FreeBSD and the 
software thar you installed from ports.


Actually, no.  If you want to backup the software installed from 
ports you will typically need /usr/local.


The contents of /var/db would also be desirable so that you know 
which ports are installed on the machine among other things.


-Glenn

 The last directory will det all of your user's data. Some other 
applications might put data in other places, however, so you might 
want to research the applications that you are running to make sure 
you don't miss any important data.


-Andy.
___
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: Newbie question -- which files to back up?

2006-04-16 Thread Glenn Dawson

At 09:08 AM 4/16/2006, Oliver Iberien wrote:

On Sunday 16 April 2006 09:00, Glenn Dawson wrote:
 At 09:58 PM 2/22/2006, Andy Reitz wrote:
 Hi Oliver,
 
 At a minimum, you will probably want to back up the following directories:
 
  /etc
  /usr/local/etc
  /home
 
 That will get all of the configuration files for FreeBSD and the
 software thar you installed from ports.

 Actually, no.  If you want to backup the software installed from
 ports you will typically need /usr/local.

 The contents of /var/db would also be desirable so that you know
 which ports are installed on the machine among other things.

 -Glenn

   The last directory will det all of your user's data. Some other
  applications might put data in other places, however, so you might
  want to research the applications that you are running to make sure
  you don't miss any important data.
 
 -Andy.

Thanks for all this information. Can /usr/local and /var/db just be copied
directly back in after recovery, or (if it's more complicated that that)
would there be a tutorial on this somewhere?


Generally speaking, /usr/local is empty after a clean install, so 
simply replacing its contents should be ok.  Though keep in mind that 
some ports put things outside /usr/local so they may not work until 
other things are restored.


/var/db/pkg is the dir you want for restoring the database of 
installed ports/packages.  The other things in /var/db you will 
probably want to put back as needed instead of all at once.


-Glenn



Oliver
___
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: /boot at beginning of drive

2006-04-16 Thread Glenn Dawson

At 12:40 PM 4/16/2006, Brendan Grossman wrote:

Hello

I'm trying to install FreeBSD with the following partition scheme...

/boot 100mb (50mb too small? Install fails with filesystem full error)
swap 1gb
/tmp 100mb
/ remainder

However after I install and boot, it says it can't find /boot/kernel/kernel

The version is 6.0. Am I missing sometihng obvious? Does it need to mount /
first? If so, how?


/boot has to be in the / file system.

There's a rather lengthy thread about this a few months back if you 
search the archives.


-Glenn



Cheers
Brendan

___
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: spelling error on your site.

2006-04-10 Thread Glenn Dawson

At 09:19 PM 4/9/2006, Dan Moses wrote:

There is a spelling error in the word Fantastico in our listing on your ISP
page.  Can you please correct it?


The correct list to post this to would be [EMAIL PROTECTED]



Integrity  http://www.integrityhost.com/ Host
Integrity Host provides shared hosting, VPS (Virtual Private Servers), and
fully managed dedicated servers that run on multiple versions of FreeBSD.
cPanel and Fnastastico are available and bandwidth allocation is generous.

should say

Integrity  http://www.integrityhost.com/ Host
Integrity Host provides shared hosting, VPS (Virtual Private Servers), and
fully managed dedicated servers that run on multiple versions of FreeBSD.
cPanel and Fanstastico are available and bandwidth allocation is generous.
24x7 live support for single sites and resellers.


Are you sure you want to trade one typo for another?

-Glenn




Please confirm when the correction is made.

Thanks,

Dan Moses
Integrity Host
___
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: show port's deps

2006-04-01 Thread Glenn Dawson

At 10:48 AM 4/1/2006, Luke Dean wrote:



Hi, how can i know what the dependencies are for a particular port?

try:
# make pretty-print-run-depends-list
  - or -
# make pretty-print-build-depends-list


Where do you guys find these interesting and useful make targets?


man ports

-Glenn


I've searched the manpages for make and make.conf and the Makefiles 
themselves, but I don't see anything like 
pretty-print-build-depends-list, yet it works.

___
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: Why are so many people using 4.x?

2006-03-29 Thread Glenn Dawson

At 04:17 AM 3/29/2006, Vaaf wrote:

At 22:34 28.03.2006, Joseph Vella wrote:
I notice a lot of references to version 4.x.  Is there any 
overwhelming reason

why its use seems to be still popular.  I'm wanting to set up a server (just
for play) on my home network using a PII machine.  Am I better off using an
older version for such old equipment?  If so, do any particular versions
stand out?


FreeBSD, and UNIX for that matter, is based off 30-year-old concepts.
Noboy can deny this. That being said, you can compare the development
of FreeBSD to building a skyscraper on shallow grounds. Naturally, the more
you build the more building is likely to collapse.


Your analogy is horribly flawed.

The fact that something has been around for a while and is still in 
widespread use, speaks very much to it's strengths, and very little 
to it's weaknesses.



This is now the case with
the old FreeBSD (in which a couple of smart guys decided to savior into
DragonFly) versus the new FreeBSD. I think the same thing is happening
with Windows versus Vista. As OS development progresses, this little
theory of mine will become more and more obvious. If anyone on this list can
contribute with facts and observations to strenghten this theory, I would
really appreciate it.


Besides being flame bait, I think you'll find little support for your 
little theory on this list.


-Glenn



Thank you all,
Vaaf

___
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: virtusertable blocking seems to have no effect

2006-03-29 Thread Glenn Dawson

At 06:17 AM 3/29/2006, Mikhail Teterin wrote:

On Wednesday 29 March 2006 12:35 am, Glenn Dawson wrote:
= I saw that, but you had that part right...I thought the only
= problem was with getting the reject message to work properly.
=
= Anyway...
=
= This is what I typically do:
=
= [EMAIL PROTECTED]   localaccount1
= [EMAIL PROTECTED]   localaccount2
= @bar.com  error:nouser 550 No such user here

Glenn, this is exactly what I have according to my initial posting
in this thread.


Exactly, which is why I didn't think there was a problem with most of 
it, as re-stated above, and now again, here.



I took the example from sendmail's cf/README:

= Here is (almost) what I have in the virtusertable:
=
=   [EMAIL PROTECTED]  foo
=   [EMAIL PROTECTED]bar
=   @example.com  error:5.7.0:550 No spam, thanks

Unfortunately, as I write in that initial posting, although it does have
some effect, it does not seem sufficient:

= I can see the No spam,thanks messages logged in the maillog
= (without the space after coma, for some reason), but there is
= no reject=550 message logged (which interferes with my other
= software)


What does other software refer to in this case?


and some of these messages seem to pass through
= (although others are intercepted by other anti-spam defenses).
=
= For example, here are the only two log entries, that a spam
= message generates:
=
= Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: 
[EMAIL PROTECTED]... No spam,thanks
= Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: 
from=[EMAIL PROTECTED], size=3305, class=0, nrcpts=0, 
proto=ESMTP, daemon=MTA, relay=example.example.net [xx.x.xx.xxx]

=
= Despite the No spam,thanks the message was accepted.


I don't see anything in the log entries above to indicate that the 
message was accepted at all.  What makes you think that it was?


On a general note, you may want to include the delay_checks 
feature.  That will allow sendmail to get most of the info about a 
message before seeing if it should be rejected or not.  If nothing 
else it allows you to have more meaningful log info on rejected mail.


-Glenn


=
= What am I doing wrong? Thanks!

Yours,

-mi
___
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: Changing prompt

2006-03-28 Thread Glenn Dawson

At 02:29 AM 3/28/2006, Vaaf wrote:

At 12:24 28.03.2006, Rodrigo G. Tavares de Souza wrote:

Hi,

  How could I show the path on prompt or see colored files when I 
make a ls command?


Best Regards,
Rodrigo Souza
Sao Paulo - Brazil
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Try to install /usr/ports/shells/zsh, and use this as your /etc/zshrc:

###  BEGIN

umask 022

alias vi='vim'
alias j='jobs -l'
alias h='history'
alias ls='ls -G'
alias cd..='cd ..'
alias cd...='cd ../..'
alias cd='cd ../../..'
alias cd.='cd ../../../..'
alias cd..='cd ../../../../..'
alias cd/='cd /'
alias wf='w -f'
alias ws='w -s'
alias df='df -h'
alias ftp='lftp'
alias pfdump='tcpdump -n -e -ttt -r /var/log/pflog'
alias pfmonitor='tcpdump -n -e -ttt -i pflog0'
alias pfreload='pfctl -F all  pfctl -f /etc/pf.conf'
alias pfshow='pfctl -vvsr'

autoload -U compinit
compinit -C

zstyle ':completion:*' completer _complete _prefix
zstyle ':completion::prefix-1:*' completer _complete
zstyle ':completion:incremental:*' completer _complete _correct
zstyle ':completion:predict:*' completer _complete
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path ~/.zsh/cache/$HOST
zstyle ':completion:*' expand 'yes'
zstyle ':completion:*' squeeze-slashes 'yes'
zstyle ':completion::complete:*' '\'
zstyle ':completion::complete:*:tar:directories' file-patterns '*~.*(-/)'
zstyle ':completion:*:complete:-command-::commands' ignored-patterns '*\~'
zstyle ':completion:*:matches' group 'yes'
zstyle ':completion:*:options' description 'yes'
zstyle ':completion:*:options' auto-description '%d'
zstyle ':completion:*:history-words' stop verbose
zstyle ':completion:*:history-words' remove-all-dups yes
zstyle ':completion:*:history-words' list false
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

PROMPT=$'%{\e[01;36m%}(%{\e[22;36m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;36m%}%m%{\e[01;36m%})%{\e[01;36m%}%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;36m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;36m%})%{\e[01;30m\e[00m%}\n%{\e[01;36m%}('
PROMPT+=$'%{\e[22;36m%}%#%{\e[01;30m%}:%{\e[22;36m%}%~%{\e[01;36m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '

if [[ `whoami` = root ]] then
PROMPT=$'%{\e[01;31m%}(%{\e[22;31m%}%n%{\e[01;30m%}@'
PROMPT+=$'%{\e[22;31m%}%m%{\e[01;31m%})%{\e[01;31m%}%{\e[01;31m%}('

PROMPT+=$'%{\e[22;31m%}%D{%H:%M}%{\e[01;30m%}+%{\e[22;31m%}%D{%m/%d/%y}'
PROMPT+=$'%{\e[01;31m%})%{\e[01;30m\e[00m%}\n%{\e[01;31m%}('
PROMPT+=$'%{\e[22;31m%}%#%{\e[01;30m%}:%{\e[22;31m%}%~%{\e[01;31m%})'
PROMPT+=$'%{\e[01;30m\e[00m%} '
fi

###  END

This is truly a beautiful prompt.


Yikes.

If you're using /bin/csh that comes with FreeBSD, the following will 
do what you asked about:


set prompt=%/ 
setenv CLICOLOR

For more info, see the prompt variable in the csh(1) man page, and 
the environment section of the ls(1) man page.


-Glenn



Enjoy,
Vaaf

___
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: virtusertable blocking seems to have no effect

2006-03-28 Thread Glenn Dawson

At 06:54 PM 3/28/2006, Mikhail Teterin wrote:

צ×ÔÏÒÏË 28 ÂÅÒÅÚÅÎØ 2006 18:55, Derek Ragona ÎÁÐÉÓÁ×:
 Block that in /etc/mail/access instead, use this syntax:
 @example.comERROR:550  No spam, thanks

 Note the leading space and use of double quotes.

Nope, that went back to saying User unknown instead of No spam...


I use this in my virtusertable:

[EMAIL PROTECTED]  error:nouser 550 No such user here

but you should be able to change the message half of that with no trouble.

That generates the following in my sendmail logs:

Mar 28 18:43:08 foo sendmail[11056]: 
k2T2g3Le011056: [EMAIL PROTECTED]... No such user here
Mar 28 18:43:11 foo sendmail[11056]: 
k2T2g3Le011056: lost input channel from 
200-100-163-150.dial-up.telesp.net.br [200.100.163.150] to MTA after rcpt
Mar 28 18:43:11 foo sendmail[11056]: 
k2T2g3Le011056: from=[EMAIL PROTECTED], size=0, 
class=0, nrcpts=0, proto=SMTP, daemon=MTA, 
relay=200-100-163-150.dial-up.telesp.net.br [200.100.163.150]



-Glenn




Thanks!

-mi

 At 01:22 PM 3/28/2006, Mikhail Teterin wrote:
 Hi!
 
 I host a domain with a handful of real addresses. I noticed, that
 spammers are using a variety of random-generated names @mydomain and wish
 to block such addresses with No spam responses instead of User
  unknown.
 
 Here is (almost) what I have in the virtusertable:
 
  [EMAIL PROTECTED]  foo
  [EMAIL PROTECTED]bar
  @example.com  error:5.7.0:550 No spam, thanks
 
 I can see the No spam,thanks messages logged in the maillog (without the
 space after coma, for some reason), but there is no reject=550 message
 logged (which interferes with my other software) and some of these
 messages seem to pass through (although others are intercepted by other
 anti-spam defenses).
 
 For example, here are the only two log entries, that a spam message
  generates:
 
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
 [EMAIL PROTECTED]... No spam,thanks
 Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026:
 from=[EMAIL PROTECTED], size=3305, class=0, nrcpts=0, proto=ESMTP,
 daemon=MTA, relay=example.example.net [xx.x.xx.xxx]
 
 Despite the No spam,thanks the message was accepted.
 
 What am I doing wrong? Thanks!
 
  -mi
 ___
 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: virtusertable blocking seems to have no effect

2006-03-28 Thread Glenn Dawson

At 09:26 PM 3/28/2006, Mikhail Teterin wrote:

On Tuesday 28 March 2006 10:09 pm, Glenn Dawson wrote:
= I use this in my virtusertable:
= [EMAIL PROTECTED]  error:nouser 550 No such user here
=
= but you should be able to change the message half of that with no trouble.

Please, review this thread from the beginning. I want some of the foos to be
accepted and forwarded, but all other @bar.com addresses to trigger a no-spam
response.


I saw that, but you had that part right...I thought the only problem 
was with getting the reject message to work properly.


Anyway...

This is what I typically do:

[EMAIL PROTECTED]   localaccount1
[EMAIL PROTECTED]   localaccount2
@bar.com  error:nouser 550 No such user here

Note that the order of the entries is important, the catch-all has to 
be at the end.  Organizationally, I typically keep all the @bar.com 
type entries at the end of the file and group the others before those 
in whatever way makes the most sense.


-Glenn



-mi


---

Go that way, really fast.  If something gets in your way, turn.

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


Re: mysql-server50 lacks supports for innodb ???

2006-03-27 Thread Glenn Dawson

At 04:51 AM 3/27/2006, Ian Lord wrote:

At 07:47 2006-03-27, Ian Lord wrote:

At 02:47 2006-03-27, Glenn Dawson wrote:

At 10:22 PM 3/26/2006, Ian Lord wrote:

Hi,

I just installed mysql-server50 port for the ports databases directory...

I compiled it using defaults

make
make install

and InnoDB is not available...

What's wrong with the port ???


I have mysql50-server built and installed with the defaults, and 
it has support for innodb.


What did you do to determine that your install does not have support?


I really don't know... It's a clean machine, just reinstalled 
freebsd and then I did a make and make install

in the ports /usr/ports/database/mysql50-server/

Obviously, I didn't use the without_innodb flag

When I try to create a innodb table by using
create table foo (bar mediumint(8)) ENGINE=InnoDB;

If I do a
show create table foo;
+---+--+
| Table | Create Table |
+---+--+
| foo  | CREATE TABLE `foo` (
  `bar` mediumint(8) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 |
+---+--+

The innodb is not there it defaults back to myisam

Anyone knows what could be wrong ?


I just did a
mysql show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because 
skip-innodb is defined


So I see the server is really skipping innodb... just strange that 
the default install does this !
I'll try to figure out what config file I need to modify so this 
doesnt happen...


What does output from:

show engine innodb status;

show?

-Glenn


Thanks for your help

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


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


Re: mysql-server50 lacks supports for innodb ???

2006-03-26 Thread Glenn Dawson

At 10:22 PM 3/26/2006, Ian Lord wrote:

Hi,

I just installed mysql-server50 port for the ports databases directory...

I compiled it using defaults

make
make install

and InnoDB is not available...

What's wrong with the port ???


I have mysql50-server built and installed with the defaults, and it 
has support for innodb.


What did you do to determine that your install does not have support?

-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: need help

2006-03-17 Thread Glenn Dawson

At 04:30 AM 3/17/2006, Michael S wrote:

I've tried both. fsck_ffs /dev/ad0s1a also exits because of bad superblocks.


Have you tried to use any of the



On 3/17/06, Glenn Dawson [EMAIL PROTECTED] wrote:
 At 09:46 PM 3/16/2006, Andrew Pantyukhin wrote:
 On 3/17/06, Michael S [EMAIL PROTECTED] wrote:
   Hi.
  
   I am relatively new to FreeBSD, have been running it since 5.1.
   Nothing like what I experienced today had happened previously.
   My machine crashed and I wasn't able to boot it back, the boot
   processes wasn't able to find the kernel. I then booted with the 6.0
   Release CD and went into the FIXIT mode.
   I wasn't able to mount /dev/ad0s1a (I have an IDE drive), I then tried
   fsck_ffs /dev/ad0s1 and the message was:
   CAN'T READ BLCK 128
   ioctl Inappropriate ioctl for device
   fsck_ffs: /dev/ad0s1 can't read disk label.
  
   That machine was 6.0 p-1 (patched once) with slightly modified kernel.
  
   Is my data lost? Can anything be done still?
   Any help would be appreciated.
  
   Michael
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
 The bad news is that at least some data is lost and the
 HDD is toast. You might also want to try and mount the
 partitions read-only (this way they don't have to be clean).
 Some data might still be accessible.

 I think he would have much greater success by fsck'ing /dev/ad0s1a
 instead of /dev/ad0s1.  (note the lack of an 'a' in the device name
 in the output above.

 -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]


___
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

2006-03-17 Thread Glenn Dawson

At 04:30 AM 3/17/2006, Michael S wrote:

I've tried both. fsck_ffs /dev/ad0s1a also exits because of bad superblocks.


Have you tried to use any of the alternate super blocks?



On 3/17/06, Glenn Dawson [EMAIL PROTECTED] wrote:
 At 09:46 PM 3/16/2006, Andrew Pantyukhin wrote:
 On 3/17/06, Michael S [EMAIL PROTECTED] wrote:
   Hi.
  
   I am relatively new to FreeBSD, have been running it since 5.1.
   Nothing like what I experienced today had happened previously.
   My machine crashed and I wasn't able to boot it back, the boot
   processes wasn't able to find the kernel. I then booted with the 6.0
   Release CD and went into the FIXIT mode.
   I wasn't able to mount /dev/ad0s1a (I have an IDE drive), I then tried
   fsck_ffs /dev/ad0s1 and the message was:
   CAN'T READ BLCK 128
   ioctl Inappropriate ioctl for device
   fsck_ffs: /dev/ad0s1 can't read disk label.
  
   That machine was 6.0 p-1 (patched once) with slightly modified kernel.
  
   Is my data lost? Can anything be done still?
   Any help would be appreciated.
  
   Michael
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
 The bad news is that at least some data is lost and the
 HDD is toast. You might also want to try and mount the
 partitions read-only (this way they don't have to be clean).
 Some data might still be accessible.

 I think he would have much greater success by fsck'ing /dev/ad0s1a
 instead of /dev/ad0s1.  (note the lack of an 'a' in the device name
 in the output above.

 -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]


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


Re: ipfw and burstable rates

2006-03-16 Thread Glenn Dawson

At 07:48 PM 3/16/2006, Rob W. wrote:
Is this possible, I have searched on Google for an answer and have 
not gotten a straight forward one.


Is what possible?



Any help is appreciated.
___
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: need help

2006-03-16 Thread Glenn Dawson

At 09:46 PM 3/16/2006, Andrew Pantyukhin wrote:

On 3/17/06, Michael S [EMAIL PROTECTED] wrote:
 Hi.

 I am relatively new to FreeBSD, have been running it since 5.1.
 Nothing like what I experienced today had happened previously.
 My machine crashed and I wasn't able to boot it back, the boot
 processes wasn't able to find the kernel. I then booted with the 6.0
 Release CD and went into the FIXIT mode.
 I wasn't able to mount /dev/ad0s1a (I have an IDE drive), I then tried
 fsck_ffs /dev/ad0s1 and the message was:
 CAN'T READ BLCK 128
 ioctl Inappropriate ioctl for device
 fsck_ffs: /dev/ad0s1 can't read disk label.

 That machine was 6.0 p-1 (patched once) with slightly modified kernel.

 Is my data lost? Can anything be done still?
 Any help would be appreciated.

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



The bad news is that at least some data is lost and the
HDD is toast. You might also want to try and mount the
partitions read-only (this way they don't have to be clean).
Some data might still be accessible.


I think he would have much greater success by fsck'ing /dev/ad0s1a 
instead of /dev/ad0s1.  (note the lack of an 'a' in the device name 
in the output above.


-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: port updates

2006-03-15 Thread Glenn Dawson

At 02:34 AM 3/15/2006, Markus Mayer wrote:

Hi all,
got a question about port updates.
I run a FreeBSD Box 5.4 release. I use the
server for webapps with php and mysql enabled,
also samba an ssh is running. Everything works fine
and stable.
Now i update the ports on my machine via CVSup and check the
installed packages for newer versions.

Now my question:
Do i run in trouble if i update my installed packages
like apache, php or mysql ? or does it work without problems.
Is it necessary to backup my config files and databases ?
Or what is the best way to get my apps up to date ?


The portupgrade port is a great tool.  It's in /usr/ports/sysutils/portupgrade

Generally speaking you don't have to worry about your config files 
getting clobbered, but you should always have a backup of those things anyway.


The handbook has a section on upgrading ports here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html#PORTS-UPGRADING

-Glenn



Thx for your help
Markus

_
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie 
gleichzeitig im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!


___
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: make installkernel doesn't work?

2006-03-13 Thread Glenn Dawson

At 12:41 AM 3/13/2006, Cstdenis wrote:

Nope
%grep ident /usr/src/sys/amd64/conf/GENERIC
ident   GENERIC

and its more than that. After reinstalling the kernel I still have SMP
support.


What's in /boot/loader.conf ?

Also, verify that the kernel you built is actually in /boot/kernel/kernel.

Assuming it's there, what happens if you stop the boot at the loader 
prompt and manually load the kernel you want?


-Glenn



- Original Message -
From: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, March 12, 2006 11:53 PM
Subject: Re: make installkernel doesn't work?


 Maybe you set your ident to something else:

 $ grep ident /usr/src/sys/i386/conf/GENERIC

 or whatever your arch is.
 ___
 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: Adding partition

2006-03-13 Thread Glenn Dawson

At 12:27 PM 3/13/2006, Jerry McAllister wrote:


 Good Day,

 There is free space at the end of my disk and I want to move
 /usr/ports do a dedicated partition.

 # disklabel /dev/ad10s1
 # /dev/ad10s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
a:  102400004.2BSD 2048 16384 64008
b:  2252800 44032000  swap
c: 3686274270unused0 0   # raw
d:  2048000  10240004.2BSD 2048 16384 28552
e: 2048  30720004.2BSD 2048 16384 28552
f: 2048 235520004.2BSD 2048 16384 28552

 I want to add a g partition with 10 GByte to end.

 When I enter disklabel -e /dev/ad10s1 vi opens and I add
 the following line to the end:

g: 2048 440320004.2BSD 2048 16384 28552

 Upon saving I get an error that partitions c and g overlap.
 As far as I have read this is on purpose. How can I avoid the
 error message?

I don't know why it would say that c and g overlap, but you have
forgot to include the space used for swap in the offset.
Your offset should really be 46284800.

I have heard that some people think you should put your swap at the
highest address, but I don't think that applies in any significant
way to modern drives.I could be wrong on that, though.


On some current drives, I've seen differences in sustained throughput 
of up to 2 to 1 when comparing the beginning of the disk and the end 
of the disk.  The beginning of the disk being faster.


-Glenn


Anyway, using the partition labels out of order does lead to confusion
and errors in calculations - in my experience.

By the way, did you notice that you can use '*' in the offset field and
bsdlabel (or disklabel since 4.xx) will calculate it for you.   You can
even put a '*' in the last partition (highest address) size AND offset
fields and bsdlabel will calculate it for you.

I also wonder at your keeping such a large chunk of the FreeBSD slice
unallocated that way.   Now, if you had reduced the slice, I would think
you were saving it for another OS.   But it is already in FreeBSD space
so just put it all in g:   But, to each their own.

jerry


 I tried it via sysinstall but didn't work either. When saving
 the new disklabels I get Unable to write data to disk ad10.
 I assume that is because ad10 is currently mounted?

 Thank you!

 Markus


 ___
 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: dd - cloning a disk.

2006-03-12 Thread Glenn Dawson

At 03:29 PM 3/11/2006, Joseph Vella wrote:

On Saturday 11 March 2006 14:43, Wojciech Puchar wrote:
 
  Here is a simple (I think!) question for the I/O savy among you:
 
  If I had two identical disks, say, 73 GB Seagate 10K SCSIs, one 
completely

  operational fully setup FreeBSD with all the trimmings, and the other
blank,
  or perhaps loaded but no longer usable, is 'dd' and appropriate tool to
  completely clone the Good disk to the not so good 
disktherefor making

the
  second disk identical to the first? Bootable and all?

 yes

 dd if=/dev/firstdisk of=/dev/seconddisk bs=64k

 and yes it is bootable, but if you boot from second disk, FreeBSD kernel
 will mount root from first disk anyway, unless you will reconfigure it.


Would this also work to copy CDs?  If so, does it matter what os 
and/or format

they would have?


You can get an image of a data cd with:

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

You can then use burncd to make a copy.  Also note that the block 
size is important here.


-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: What is the meaning of following message

2006-03-12 Thread Glenn Dawson

At 03:28 PM 3/12/2006, Jeffrey wrote:

I am getting the following message:

inetd[624]: ssh/tcp: bind: Address already use

Anyone could tell me what is the meaning of this message?


It means that you are running sshd as a daemon _and_ starting it from 
inetd.  You can't do both.


-Glenn



Thanks,

Jeffrey
___
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: Newbie FreeBSD/Linux Question

2006-03-08 Thread Glenn Dawson

At 12:46 PM 3/8/2006, Lawrence Petrykanyn wrote:

Hi!

I am a newbie trying to compile the program JACK that is required 
for the midi sequencer Rosegarden.  This program (JACK) is not 
available through the ports collection and is intended for a Linux 
system.  I am running FreeBSD 5.4 with linux compatibility 
supported.  Below is is the readme file for JACK and I have chosen 
to follow the second option.  I have created the /mnt/ramfs 
directory and edited my /etc/stab file as directed.  What I don't 
understand is the last instruction of the second option listed 
below, the line that says,


add --with-default-tmpdir=/mnt/ramfs to the JACK configure line 
when you build it.


I tried make --with-default-tmpdir=/mnt/ramfs and received a 
message informing me that this is not correct Make syntax.


Am I supposed to edit the config file(s) that accompany the source 
code?  If so, which one(s), config.h.in, configure, configure.ac or 
one of the files in the config directory of this package?


This is probably a very simple matter, but I have googled around and 
cannot find an answer.  Any comments, suggestions or advice would be 
greatly appreciated.


Assuming you're building from source, and following their directions
found here: http://jackit.sourceforge.net/docs/faq.php#a7
you would supply that option to the configure script that you run 
before doing a make.


-Glenn



Thanks,
Lawrence

JACK README

Welcome to JACK, the Jack Audio Connection Kit.

Please see the website (http://jackit.sf.net/) for more information.

NOTE: If you are using reiserfs or ext3fs or anything except ext2fs
for the directory where JACK puts its temporary files (/tmp by
default), then the JACK team recommends that you do *one* of the
following:



Mount a tmpfs on /tmp.  You should have a lot of swap space available
in case some programs try to write very large files there.
In your /etc/fstab add a line:

  none/tmptmpfs   defaults0   0

You'll probably want to reboot here, or kill X then 'mount /tmp'.

 OR 

Alternatively, you can do this without affecting your /tmp:

# mkdir /mnt/ramfs

[edit /etc/fstab and add the following line]
none   /mnt/ramfs  tmpfs  defaults  0 0

Then add --with-default-tmpdir=/mnt/ramfs to the JACK configure
line when you build it.  No clients need to be recompiled.

--

Failure to do one of these could lead to extremely poor performance from JACK,
since its normal operation will cause bursts of disk I/O that are
completely unnecessary. This suggestion can also be used by ext2fs
users if they wish.

___
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: Apache auth question

2006-03-06 Thread Glenn Dawson

At 03:56 AM 3/6/2006, Scott Sipe wrote:


I am dealing with a company LAN that lives behind an OpenBSD based
firewall+NAT machine. All internal machines have 10.x.x.x addresses.

One of the internal machines acts as an intranet webserver. Everyone
in the building should be able to access it.

I would ALSO like to expose it to the outside, and have outside
requests authenticate. So everyone with a 10.x.x.x still has no
limits, and external addresses after authenticating with a username/ 
password have full access. Is this possible to do with apache2 config

files?


Something like this should do what you want:

Directory /docroot
AuthType basic
AuthName foo
AuthUserFile /path/to/htpasswds
Order Deny,Allow
Deny from all
Require valid-user
Allow from 10.0.0.0/16
Satisfy any
/Directory




Scott
___
freebsd-questions@freebsd.org mailing 
listhttp://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: Terminal Not Providing login: Prompt

2006-03-04 Thread Glenn Dawson

At 03:04 PM 3/4/2006, Jason C. Wells wrote:

When I use 'tip' I seem to bee connected, but I get no login prompt.

$ tip sio0
connected

and nothing else.


Did you enable ttyd0 in /etc/ttys?

-Glenn


If I telnet to the receiving host and redirect a file to the serial 
line, I do see data being transmitted.  The formatting is a bit off though.


(remote)$ cat /etc/issue
(remote)$Hello there!
(remote)$
(remote)$This is a serial line terminal.

(remote)$ cat /etc/issue  /dev/ttyd0
(local)Hello there!
(local)
(local)  This is a serial line terminal.
   ^^
   extra spaces are garbage output

Every document I have read assumes that your terminal will just 
work.  I am connecting a FreeBSD host to a FreeBSD host using 
default 9600 baud settings and things aren't working well.  It's 
probably pretty hard to determine the fix for my problem via 
email.  Can anyone point me to a reference that is comprehensive 
regarding unix serial communications and terminals?


Or am I making this harder than it should be?

Thanks,
Jason C. Wells




___
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: Terminal Not Providing login: Prompt

2006-03-04 Thread Glenn Dawson

At 06:17 PM 3/4/2006, Jason C. Wells wrote:

Glenn Dawson wrote:

What sort of cable are you using?  Does it have all the control 
lines connected? or just tx/rx data?


(forgive me if this sounds like nitpicking)



This marks the first time I ever busted out my multimeter to work on
FreeBSD.  :)  Here is a pin to pin map of the DB9 connectors that I am
using:


Connectors or adapters?  What about the cable itself?  Or, does the 
info below cover everything that's linking the two serial ports?


-Glenn



1,6-4
2-3
3-2
4-1,6
5-5
7-8
8-7
9-null

According to a couple online pinout maps this is a proper null modem
cable.  If I understand your question correctly, this cable has all the
control lines connected.

Later,
Jason C. Wells

___
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: script(1) Why does it output in CR/LF?

2006-02-28 Thread Glenn Dawson

At 02:30 AM 2/28/2006, Kristian Vaaf wrote:


Hello.

I am just curious why the files I generate with script(1) output in CR/LF
forcing me to run dos2unix on them everytime?


Script just captures the output of your shell, and your shell has to 
send crlf in order to get the cursor back to the beginning of a line.


-Glenn



Isn't this a bit stupid?

Thanks,
Vaaf

___
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: Samba Print server

2006-02-21 Thread Glenn Dawson

At 12:32 AM 2/21/2006, Graham North wrote:

This is supposed to be simple...?
My file shares work fine, I can browse and access files without 
problem.   But printer Access denied unable to connect  It is 
driving me bonkers!

My nobody account looks okay.  My hosts file is okay.
lpr works when on the print server machine - it will print.   Windows can't.
If anyone can give me some suggestions...?


You may need guest ok = yes for the printer share.  Unless of course 
you tried that already.


-Glenn



Here is my smb.conf file.

# smb.conf20060220 - re-write - simplify
#
# NOTE: Whenever you modify this file you should run the command testparm
# to check that you have not many any basic syntactic errors.
#
#=== Global Settings =
[global]

   workgroup = DELNORTE
   encrypt passwords = yes
   server string = www_server
   browseable = yes
   printing = bsd
#print command = lpr -s -P %p %s; rm %s
   hosts allow = 192.168.1.100 192.168.1.101 192.168.1.102 
192.168.1.103 #local network


   wins support = no

# Share Definitions ==
[gn]
   comment = Soleado WebServer
   path = /home/gn
   browseable = yes
   valid users = gn
   writeable = yes

[wqs]
   comment = WQS  WebServer
   path = /home/wqs
   browseable = yes
   writeable = yes
   valid users = gn wqs


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[ljet4l]
   comment = HP4L
   path = /var/spool/samba
   printable = yes
   public = yes
#valid users = nobody
#use client driver = yes

  Thanks to anyone who can help me out of my misery!
Cheers, Graham/

--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca




No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 2/17/2006

___
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: qpopper load heavily the machine ?

2006-02-21 Thread Glenn Dawson

At 12:20 PM 2/21/2006, Derek Ragona wrote:
There are two options to running qpopper, on demand from inet, or 
running all the time in server mode.


What you're referring to above is what qpopper calls standalone mode.

What qpopper calls server mode is something completely different.

See pages 40-42 in the qpopper docs:
http://www.eudora.com/download/eudora/qpopper/4.0/free/final/Qpopper.pdf

-Glenn

  Running it from inet can cause a load as inet will exec qpopper 
on demand.  I run qpopper in server mode with out seeing much load 
on 5.X servers.


Hope this helps.

-Derek

At 09:07 AM 2/21/2006, Frank Bonnet wrote:

Hello

I've experienced a problem with qpopper which seems to load
the machine , I've replaced it with popa3d and the load have
been impressively lowered.

Any infos about this ?
--
Frank Bonnet
- Memory fault - where am I? -
___
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: Configuring multiple interface card in one box

2006-02-21 Thread Glenn Dawson

At 12:24 PM 2/21/2006, Hèrvé Simplice van der Eijk wrote:

hallo sir,

I have the privilge to use freebsd 5.4 release
I have 3 network interface card installed in my box

fxp0 with ip address 192.168.0.1 ether mac address: 00:90:27:ce:c3:00
xl0 with ip address 192.168.0.2 ether mac address: 00:10:4b:8c:9b:73
vx0 with ip address 192.168.0.3 ether mac address: 00:20:af:f7:5f:83

and default router is 192.168.0.10

Problem:
pop up message
feb 21 17:43:53 sun kernel: arp 192.168.0.10 is 
on fxp0 but got reply from 46:04:ed:10:08:33 on xl0
feb 21 17:44:58 sun kernel: arp 192.168.0.10 is 
on fxp0 but got reply from 46:04:ed:10:08:33 on vx0


please can somebody tell me what's going on and how I can fix it


Don't run three network cards on the same network in the same system.

-Glenn



thank you in advanced.

_
Nieuw op MSN Messenger 7.5: Dynamische 
achtergronden http://www1.imagine-msn.com/Messenger/Audio.aspx


___
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: Quick question on newfs

2006-02-20 Thread Glenn Dawson

At 02:43 PM 2/20/2006, mal content wrote:

I was setting up encrypted swap with GELI and accidentally
blew away my /tmp partition with:

# dd if=/dev/random of=/dev/ad0s1e bs=1m

Understandably, it will no longer allow me to mount /tmp,
so how do I use newfs to recreate the partition? I want to
be absolutely sure before entering any disk modifying
commands (just like I was absolutely sure last time...).

I'm guessing it's as simple as:

# newfs /dev/ad0s1e


That will do it.

-Glenn



cheers,
a1

(ps: please CC as I'm not on the list)
___
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: incorrect superblock error when mounting partition

2006-02-19 Thread Glenn Dawson

At 01:45 AM 2/19/2006, Dave wrote:

Hello,
   I've got a 10 gb ide drive that has critical data on one of it's 
partitions /dev/ad1e. This drive was originally gmirrored in 
another box it worked fine, it was the master drive. Now i've 
installed this drive as a slave in another 6.0 box, and now it 
shows up as ad1 with the partition i want being ad1e. I did a mount 
-o ro /dev/ad1e /mnt and i'm getting an error Incorrect 
superblock from mount. I then tried fsck /dev/ad1e and got the 
same error msg. These partitions were formatted with ufs2 as their 
filesystem. I then ran bsdlabel ad1 and got a printout of my label, 
this showed up which gives me hope that this data can be retrieved. 
An error i'm getting says that the c: partition does not cover the 
entire disk and that may result in utilities not working. Any help appreciated.

   Some urgency!


Are you sure you don't want ad1s1e?

Also, posting the output from the following commands would go a long 
way in helping you figure out what to do:


fdisk /dev/ad1
bsdlabel /dev/ad1
bsdlabel /dev/ad1s1

And possibly:
bsdlabel /dev/ad1s2
bsdlabel /dev/ad1s3
bsdlabel /dev/ad1s4
depending on what fdisk shows.

-Glenn


Thanks.
Dave.

___
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: shutdown not shutting down :-(

2006-02-19 Thread Glenn Dawson

At 02:23 AM 2/19/2006, Matias Surdi wrote:

Hi, Linux-user, FreeBSD-newbie posting here.

I've a recent installation of FreeBSD, and when I do

# shutdown now

It starts the shutdown process but it hangs promting for the shell path.

I think that this could be something related to the order in which 
partitions are unmounted.


Any idea?


that's exactly what shutdown now is supposed to do.

If you want the machine to power off you can use
shutdown -p now
or if you just want it to halt but stay on you can use
shutdown -h now

the shutdown(8) man page has all the details.

-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: Bandwidth Problems with Freebsd 5.x

2006-02-18 Thread Glenn Dawson

At 06:42 AM 2/18/2006, ptitoliv wrote:

Hello everybody,

I am writing here because I have a problem with network on freebsd 5.3
and 5.4. The machines are pluged in a 100 Mbit/s with via rhine network
cards. On this same LAN  I have a Debian Sarge computer. When I try to
transferts big files beetween the FreeBSD and the Debian, I see that I
have an assymetric bandwith :

From Debian to BSD : No problem. The bandwitdh is OK : About 8 MBytes/s
which is normal for a LAN I guess.
From BSD to Debian : The bandwidth is quite awful = Beetween 300
KBytes/s to 1Mbyte/s.


What are you using to transfer the files? ftp, scp, nfs, something else?

-Glenn



Network have been changed and the problem is still the same. So I
thought it was a network problem. Then I installed an other FreeBSD on a
different computer and plugged it in a completely different network and
the problem is still here. That's why I think there is a thing to
configure on the BSD system but I don't know why.

That's why I am looking here for someone who knows this problem and who
will be able to help me.

Thank you for your answers

Best Regards,
ptitoliv
___
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: [Total OT] Trying to improve some numbers ...

2006-02-16 Thread Glenn Dawson

At 02:32 PM 2/16/2006, Daniel A. wrote:

 What exactly do you want to measure to make what decision?

 Do you want to find out how much [%] your OS is available
 whithout load just patching it with the latest SA 
recommended   patches?


 Do you want to find out how much [%] your OS is available
 [can serve 100 FTP users simultaneously at wire speed
 with this NIC]
 just patching it with the latest SA recommended patches?

 Do you want see how long an unpatched OS version can keep it up
 without any patches or interaction whatsoever?

 etc.

None of the above.
It measures your internet-penis.
The guy who has had his FreeBSD 3.3 box up running since the dawn of
times, has the longest internet-penis in the world.



And all this time I thought IP stood for Internet Protocol...




 ___
 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: no boot or boot loop

2006-02-16 Thread Glenn Dawson

At 10:37 PM 2/16/2006, Ron Whyte wrote:

hello FreeBSD,

I have tried several versions of FreeBSD and have not been able to get any
of them to run on my system.
Linux and M$ runs fines - I hate M$
But every BSD either hangs on splash screen or - it enters a continuous
splash screen- reboot loop.
I have tried every option I can find to no reward.


A little more info regarding what you tried would help.  No way for 
us to know what you can find :)


Model numbers are good too.  What Motherboard do you have? what BIOS? etc..

Having said that, the first thing I would suggest is disable ACPI and 
see if that makes a difference.


-Glenn


I get no error messages
I have tried 3 different hard drives thinking it might be a messed MBR but
even a fresh drive makes no difference
What is missing?
please help

my system is running an AMD Duron at 1.3 MHz with 380megs ram

R Glen Whyte
___
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:(cisco serial (up, up) but cannot ping its interface from within.

2006-02-13 Thread Glenn Dawson

At 10:13 PM 2/13/2006, Mark Jayson Alvarez wrote:

Hi,

 In sh ip int br a particular serial interface shows to be both 
line and protocol up but I cannot ping the interface from within 
the router itself. When I tried pinging from the outside, I can ping it...

 Any idea what seems to be misconfigured in our router???


What does this have to do with FreeBSD?

You might have better luck posting to a mailing list for Cisco products.

-Glenn



 Thanks..


-
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews,  
more on new and used cars.

___
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: cvsup question - use just one supfile?

2006-02-12 Thread Glenn Dawson

At 04:25 AM 2/12/2006, Joel Hatton wrote:

Hi,

I've been sup'ing a few different trees for a little while now, and I'm
wondering: is it possible to do all at once with the same supfile?
Something like:

*default host=CHANGE_THIS.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default release=cvs tag=RELENG_5_4
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix

this can't be the correct syntax, but is this practicable?


You need a different prefix for each tag.  You'll still want to set 
your defaults, then override them as necessary, like this:


src-all prefix=/foo tag=RELENG_5
src-all prefix=/bar tag=RELENG_6


-Glenn



thanks,
-- Joel Hatton --
Security Analyst| Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
The University of Queensland| WWW: www.auscert.org.au
Qld 4072 Australia  | Email:   [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: Need help User Statistics with Finger

2006-02-07 Thread Glenn Dawson

At 05:12 PM 2/7/2006, Sean Murphy wrote:
I need to gather mail statistics what users are checking there 
mail.  I know finger shows the Mail Last Read but where does 
finger get that information from?


atime of the users mail spool file.

-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: 80 pin SCSI hard drives.

2006-01-16 Thread Glenn Dawson

At 06:21 PM 1/16/2006, je killen wrote:
I've obtained two SCSI hard drives made by Maxtor that have 80 pin 
connectors and no power connector port.
This isn't necessarily relevant to FreeBSD accept that i'm planning 
on using them in a FreeBSD installation.
I'm only aware of 50 pin SCSI and 68 pin SCSI. I've tried to contact 
Maxtor to get advice on a PCI adapter

and cables to use with these units but haven't gotten a reply.
Can any one give me some info on how to set these drives up hardware wise?
 Or if they can be used, maybe I made a mistake getting them, but 
they are 18GB 15 k drives and were $75 apiece
from Tiger Direct. two of them will give me 36 GB to use for a web 
server  /usr and /var partitions. And  ill use SATA

drives for RAID back up.


You need an adapter to use those drives.  Something like this:
http://www.bixnet.com/sca80pinscsi.html

If you look around a bit you can probably find some cheaper.  The 
link above was from a quick search, but there are a lot of places 
that sell the adapters.


-Glenn



Thank you in advance.
JK
___
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: Enabling atapi-cam and other kernel features

2006-01-07 Thread Glenn Dawson

At 08:04 AM 1/7/2006, Alistar Erlas wrote:

Recently, I read in the FreeBSD handbook, that in
order to use the atapi-cam support, it has to be
compiled into the kernel. Why not include the
atapi-cam support in a module that can simply be
loaded by the user without rebooting the machine?


test60# ls -l /boot/kernel/atapicam.ko
-r-xr-xr-x  1 root  wheel  16892 Dec 31 00:21 /boot/kernel/atapicam.ko



 It
seems like it would be much eisier and less of a
hassle that way. It seems like recompiling the kernel
(I have done it before) is an awful lot of work


How is it a lot of work?  All you have to do is 
edit your kernel config, cd to /usr/src and do make buildkernel installkernel



 just
to be able to use some features of the DVD drive which
most new computers have these days. The user should be
able to add new hardware support to the kernel and
reconfigure as much of it as possible without
recompiling it, or even rebooting it. This is
especially true in troubleshooting where quick changes
may be needed and where recompiling each time a
setting is changed becomes quite awkward. Allowing
more run time configuration would both make FreeBSD
more configurable and expert friendly as well as
easier to use for everyone. I think in order to make
software easy to use, it needs to be highly
configurable, and not require a recompile just to add
hardware support.


Most things don't require a reboot.  I count 440 
available modules in /boot/kernel, which makes it 
very easy to add support for something that's not already compiled in.


-Glenn



Thank you.



__
Yahoo! DSL ­ Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com

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


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


Re: Can't build mplayer-skins: checksum missing error

2006-01-04 Thread Glenn Dawson

At 06:47 AM 1/4/2006, Jesse Sheidlower wrote:


I'm trying to build mplayer-skins as part of an upgrade of GNOME.
I am unable to get around a weird error with a supposedly missing
checksum in mplayer. After I choose my options (the default skin
only), I get:

=== Options unchanged
=== Vulnerability check disabled, database not found
=== Extracting for mplayer-skins-1.1.2_1
= No MD5 checksum recorded for mplayer/.
= No suitable checksum found for mplayer/.
*** Error code 1

In multimedia/mplayer/distinfo I do have what appears to be MD5 and
SHA256 checksums. I have cvsupped my ports tree, distcleaned both
the mplayer and the mplayer-skins ports, and removed and rebuilt
mplayer, all with no effect.

What else can I try? And, if there answer is nothing, is there
anything I can do so that I can get on with the rest of my GNOME
upgrade and come back to this later?


Is GREP_OPTIONS defined in your environment?  If it is, certain 
options will cause the error you are seeing.


-Glenn



Thanks.

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


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


Re: error with kernel building

2006-01-04 Thread Glenn Dawson

At 02:11 PM 1/4/2006, Nguyen Danh Hieu wrote:
Could someone tell me what's wrong with my configuration plz here 
are erros with command  make


You have the wlan device commented out but the ural devices requires it.

You also have the da device commented out, but there are other 
devices that require it that are still included.


-Glenn

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


Re: FreeBSD 6.0: Problem with network, doesn't use default gateway

2006-01-03 Thread Glenn Dawson

At 07:18 AM 1/3/2006, Christer Folkesson wrote:

Hi, this is my first message to the mailing-list. I hope that I have included
enough information about the problem.

The problem is that my FreeBSD 6.0 (release) won't use the default route
(gateway). So I can't access anything on the internet.

Hardware and network equipment:
Dell latitude D810 (Pentium M 2.0 GHz, 1.5 GB of primary memory, broadcom
gigabit/fast/normal ethernet controller).
The broadcom chip uses the bge driver. I have looked in the man page for that
and no troubles or something like that is mentioned.
IPv4 address: 192.168.0.228 /25

The gateway is a netgear RP614 broadband router. IPv4: 192.168.0.199 /25

Also a windows 2003 server is acting as DNS-server for my network.

FreeBSD shares the computer with windows XP pro SP2 using dual boot.
In windows it works fine so this convince me that it's a software problem in
FreeBSD.

As said, it works perfectly fine inside the LAN, but not outside.


I include a dmesg output (at the bottom) if that is of any importance and also
output from ifconfig, netstat -nr, ping and traceroute.
I was logged in as root while testing this.
Notice that because I'm using an internal DNS-server I can do lookups.
Obviously that wouldn't have been possible with the DNS-server provided by my
ISP.


I don't see anything obviously wrong with the configuration info you 
sent below.  The problem you are having is more likely in the router 
you are using, but without that configuration info, it's impossible to tell.


Are you using dhcp to assign IP addresses?  If so, is the router 
doing that job or something else?


Since you mentioned that it works when you boot into windows, are the 
network settings the same? (IP, netmask, default route ,etc) or is 
windows configured to use something different?


How is NAT configured in the router?  Does it's configuration cover 
the 192.168.0.228 address?


-Glenn





alcoy# ifconfig
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING
  inet6 fe80::214:22ff:fee1:41be%bge0 prefixlen 64 scopeid 0x1
  inet 192.168.0.228 netmask 0xff80 broadcast 192.168.0.255
  ether 00:14:22:e1:41:be
  media: Ethernet autoselect (100baseTX full-duplex )
  status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
  inet6 ::1 prefixlen 128
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
  inet 127.0.0.1 netmask 0xff00
alcoy# netstat -nr
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.0.199  UGS 0   52   bge0
127.0.0.1  127.0.0.1  UH  0   52lo0
192.168.0.128/25   link#1 UC  00   bge0
192.168.0.199  00:09:5b:10:de:14  UHLW2  190   bge0   1182
192.168.0.210  00:05:5d:0c:f8:23  UHLW1   29   bge0

Internet6:
Destination   Gateway
Flags  Netif Expire
::1   ::1
UH  lo0
fe80::%bge0/64link#1
UC bge0
fe80::214:22ff:fee1:41be%bge0 00:14:22:e1:41:be
UHL lo0
fe80::%lo0/64 fe80::1%lo0
U   lo0
fe80::1%lo0   link#2
UHL lo0
ff01::/32 ::1
U   lo0
ff02::%bge0/32link#1
UC bge0
ff02::%lo0/32 ::1
UC  lo0
alcoy# traceroute ping.sunet.se
traceroute to ping.sunet.se (130.242.80.31), 64 hops max, 40 byte packets
1  sentinel (192.168.0.199)  0.524 ms  0.518 ms  0.515 ms
2  * * *
^C
alcoy# ping sentinel
PING router.aqualize.tk (192.168.0.199): 56 data bytes
64 bytes from 192.168.0.199: icmp_seq=0 ttl=250 time=0.669 ms
64 bytes from 192.168.0.199: icmp_seq=1 ttl=250 time=0.679 ms
64 bytes from 192.168.0.199: icmp_seq=2 ttl=250 time=0.673 ms
64 bytes from 192.168.0.199: icmp_seq=3 ttl=250 time=0.673 ms
^C
--- router.aqualize.tk ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.669/0.673/0.679/0.004 ms
alcoy#








Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: DELL   CPi R  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.15-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0x6d8  Stepping = 8
Features=0xafe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE 


Features2=0x180EST,TM2
AMD Features=0x10NX
real memory  = 1610448896 (1535 MB)
avail memory = 1569087488 (1496 MB)
ioapic0: Changing APIC ID to 1
ioapic0 Version 2.0 irqs 0-23 on motherboard
npx0: [FAST]
npx0: 

Re: forwarding http requests with ipfw

2005-12-31 Thread Glenn Dawson

At 11:25 PM 12/30/2005, Robert Collins wrote:


- Original Message - From: Glenn Dawson [EMAIL PROTECTED]
To: Robert Collins [EMAIL PROTECTED]; 
freebsd-questions@freebsd.org

Sent: Saturday, December 31, 2005 1:46 AM
Subject: Re: forwarding http requests with ipfw



At 10:34 PM 12/30/2005, Robert Collins wrote:

At 09:07 PM 12/30/2005, Robert Collins wrote:
I've got a situation where I've got an internal host using a 
private ip/domainname. Let's say for the sake of this discussion 
the host is privatehost.internal.freebsd.org. privatehost isn't 
running a webserver. But I would like machines on the 
internal.freebsd.org network to query privatehost as if it was. 
When one of these machines queries privatehost I would like 
privatehost to forward those requests to my webserver, 
www.freebsd.org, so that it can handle the request. In order to 
accomplish that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


ipfw list looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 
80. ipfw show shows that packets are matching my rule, but 
tcpdump never shows any packets going out to 216.136.204.117. 
tcpdump on 216.136.204.117 also shows that no packets are being 
recieved. I did a tcpdump on lo0 just for kicks, and that didn't 
show anything. It seems as if the packets are just disappearing. 
Someone on #freebsdhelp suggested doing a sysctl -w 
net.inet.ip.forwarding=1 but that didn't help the situation. Is 
there something minor I'm missing here...or am I totally off in 
my understanding of how ipfw fwd works?


To quote the ipfw man page:

The fwd action does not change the contents of the packet at 
all.  In particular, the destination address remains unmodified, 
so packets forwarded to another system will usually be rejected 
by that system unless there is a matching rule on that system to capture them.


You probably need to re-think what you are trying to do.


My understanding of this portion of the man page is that the 
machine receiving the packet, in this case www.freebsd.org, needs 
to be prepared to recive a packet whose destination address is not 
it's own. If I am correct in my interpretation then this part of 
the man page is irrelivent to my problem. My question is not, why 
is www.freebsd.org not receiving the packet. My question is, why 
is privatehost.internal.freebsd.org not sending the packet.


What tcpdump rules are you using to look for packets leaving 
privatehost?  Same question for packets arriving at 216.136.204.117?


On both machines I tried tcpdump -n port 80. privatehost says:

02:15:32.542383 IP 10.1.35.10.1732  10.1.35.72.80: S 
2200576146:2200576146(0) win 65535 mss 1460,nop,nop,sackOK


There is no output for 216.136.204.117. I've also tried  tcpdump -n 
host 216.136.204.117 on privatehost. That rule doesn't produce any output.


What's happening here is that since the dest address is not changed, 
the packet never leaves the machine with the fwd rule.


If you want to see it, make your fwd rule look like this:

fwd 216.136.204.117 log tcp from any to me dst-port 80

then tail -f /var/log/security when you try to browse to privatehost.

-Glenn



-rcollins
___
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: forwarding http requests with ipfw

2005-12-30 Thread Glenn Dawson

At 09:07 PM 12/30/2005, Robert Collins wrote:
I've got a situation where I've got an internal host using a private 
ip/domainname. Let's say for the sake of this discussion the host is 
privatehost.internal.freebsd.org. privatehost isn't running a 
webserver. But I would like machines on the internal.freebsd.org 
network to query privatehost as if it was. When one of these 
machines queries privatehost I would like privatehost to forward 
those requests to my webserver, www.freebsd.org, so that it can 
handle the request. In order to accomplish that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


ipfw list looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 80. 
ipfw show shows that packets are matching my rule, but tcpdump 
never shows any packets going out to 216.136.204.117. tcpdump on 
216.136.204.117  also shows that no packets are being recieved. I 
did a tcpdump on lo0 just for kicks, and that didn't show anything. 
It seems as if the packets are just disappearing. Someone on 
#freebsdhelp suggested doing a sysctl -w net.inet.ip.forwarding=1 
but that didn't help the situation. Is there something minor I'm 
missing here...or am I totally off in my understanding of how ipfw fwd works?


To quote the ipfw man page:

The fwd action does not change the contents of the packet at 
all.  In particular, the destination address remains unmodified, so 
packets forwarded to another system will usually be rejected by that 
system unless there is a matching rule on that system to capture them.


You probably need to re-think what you are trying to do.

-Glenn



Thanks
-rcollins
___
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: forwarding http requests with ipfw

2005-12-30 Thread Glenn Dawson

At 10:34 PM 12/30/2005, Robert Collins wrote:

At 09:07 PM 12/30/2005, Robert Collins wrote:
I've got a situation where I've got an internal host using a 
private ip/domainname. Let's say for the sake of this discussion 
the host is privatehost.internal.freebsd.org. privatehost isn't 
running a webserver. But I would like machines on the 
internal.freebsd.org network to query privatehost as if it was. 
When one of these machines queries privatehost I would like 
privatehost to forward those requests to my webserver, 
www.freebsd.org, so that it can handle the request. In order to 
accomplish that I have done the following:


My kernel was compiled with these options:
options IPFIREWALL
options IPFIREWALL_FORWARD
options IPFIREWALL_FORWARD_EXTENDED


ipfw list looks like this:
00100 allow ip from any to any via lo0
00110 deny ip from any to 127.0.0.0/8
00120 deny ip from 127.0.0.0/8 to any
1 fwd 216.136.204.117 tcp from any to me dst-port 80
65000 allow ip from any to any
65535 deny ip from any to any

The problem I am having is that it seems the packets never leave 
privatehost. tcpdump shows packets coming in destined for port 80. 
ipfw show shows that packets are matching my rule, but tcpdump 
never shows any packets going out to 216.136.204.117. tcpdump on 
216.136.204.117  also shows that no packets are being recieved. I 
did a tcpdump on lo0 just for kicks, and that didn't show 
anything. It seems as if the packets are just disappearing. 
Someone on #freebsdhelp suggested doing a sysctl -w 
net.inet.ip.forwarding=1 but that didn't help the situation. Is 
there something minor I'm missing here...or am I totally off in my 
understanding of how ipfw fwd works?


To quote the ipfw man page:

The fwd action does not change the contents of the packet at 
all.  In particular, the destination address remains unmodified, so 
packets forwarded to another system will usually be rejected by 
that system unless there is a matching rule on that system to capture them.


You probably need to re-think what you are trying to do.


My understanding of this portion of the man page is that the machine 
receiving the packet, in this case www.freebsd.org, needs to be 
prepared to recive a packet whose destination address is not it's 
own. If I am correct in my interpretation then this part of the man 
page is irrelivent to my problem. My question is not, why is 
www.freebsd.org not receiving the packet. My question is, why is 
privatehost.internal.freebsd.org not sending the packet.


What tcpdump rules are you using to look for packets leaving 
privatehost?  Same question for packets arriving at 216.136.204.117?


-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: Disadvantages of running software through compat5x?

2005-12-12 Thread Glenn Dawson

At 02:55 AM 12/12/2005, Ashley Moran wrote:

I have only one machine left running 5.4, but unfortunately it's a live web
and database server (tight budget!) so I don't like tinkering with it too
much.

I was going to reinstall it with 6.0 and I just wondered if there was any
reason why you shouldn't run a production server on the compat5x port for any
length of time.  I can't afford the downtime to remove all the ports and
re-install them.


Unless there's something specific you need that 6.0 has and 5.4 
doesn't, I'd say leave the machine the way it is.  An upgrade like 
that on a production system is just inviting problems.


-Glenn



Ashley
___
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: pkg_add blocked by IPFirewall

2005-12-12 Thread Glenn Dawson

At 09:40 PM 12/12/2005, Jose Borquez wrote:
I am attempting to install cvsup using pkg_add -r but I keep getting 
the following error:


Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/cvsup-without-gui.tbz: 
No route to host
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/cvsup-without-gui.tbz' 
by URL


I know that it is being blocked by my firewall.  What are the tcp 
and udp ports that I need to open up for pkg_add to get the package?


The control connection for ftp is tcp on port 21.  As long as you 
have FTP_PASSIVE_MODE=YES in your environment, that's all you should need.


However, the message no route to host suggests you have a routing problem.

-Glenn



Thank you in advance.
Jose

___
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: Regular Expression Trouble

2005-12-09 Thread Glenn Dawson

At 02:12 PM 12/9/2005, Martin McCormick wrote:

After reading  a bit about extended regular expressions and
having a few actually work correctly in sed scripts, I tried one in
egrep and it isn't working although there are no errors.

I was hoping to get only the A records from a dns zone file so
the expression I used is:

egrep [[:space:]IN[:space:]A[:space:]] zone_file h0

Had it worked, all that would have appeared in the h0 file was
all the A or Address records.  Instead, I get those plus almost
everything else in the file.  It is obviously not filtering correctly.
Plain grep produces a 0-length output file so that is not too useful
either.  Putting double quotes around the RE didn't help either.

It seems to match almost everything.

Thanks for any good ideas.


try:

egrep IN[^[:alnum:]]+A zone_file

-Glenn



Martin McCormick WB5AGZ  Stillwater, OK
OSU Information Technology Department Network Operations Group
.-- -... . .- --. --..
___
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: console characters/keyboard

2005-12-07 Thread Glenn Dawson

At 07:17 PM 12/7/2005, Aaron Peterson wrote:

I have been working with a database recently that contained values
with special characters.  A lower case n with a tilde over it for
instance.  Anyway, during the conversion of the database from mysql to
sqlite these special characters got corrupted.  I ended up fixing them
by hand since there weren't many, but during the process I realized
these things:

1) My console does not print these characters, but empty box 
characters instead


2) I have no good way of entering these characters (that I know of)
with my standard keyboard layout and language settings.

So the obvious questions follow:

1) Can I somehow alter my console or add fonts so these characters are
displayed properly

2) I ended up writing a perl program and giving it html entities to
decode back to the special character and insert into the database, but
this is very roundabout.  How can I set my FreeBSD box up to be able
to enter such characters manually?


You can produce whatever character you like by using the alt key and 
the number pad.


Hold down alt and type the ascii value (in base 10) on the number 
pad.  When you release the alt key, the character will be sent as if 
it had been typed.  Note that this only works with the number pad.


-Glenn


Thanks in advance for any assistance,
Aaron
___
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: sylpheed --compose + attachment??

2005-12-04 Thread Glenn Dawson

At 05:06 AM 12/4/2005, Johan Spee wrote:

In sylpheed a new message to [EMAIL PROTECTED] can be opened from the 
command line like this:

# sylpheed --compose [EMAIL PROTECTED]

I would like to do something similar with an attachment. But when I try this:
# sylpheed --compose somefile.txt
the 'somefile.txt' part is interpreted as an address.

I cannot find any information on other command-line parameters for 
sylpheed. Can this be done?


sylpheed --help

will give you a list of available command line options.

--attach is the one you're looking for.

-Glenn



thanks,

--
Johan Spee

___
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: devices are automatically created at boot(how about pseudo devices e.g; carp)?

2005-12-01 Thread Glenn Dawson

At 07:32 PM 12/1/2005, Mark Jayson Alvarez wrote:

Hi,
   Do I have to  write a script that contains let's say:
 #!/bin/sh
 ifconfig carp0 create


 then add a line in my rc.conf that looks like this:
 ifconfig_carp0=vhid 1 pass mypasswd 192.168.0.1/24

 or is there a place where I can do them both at the same time?


from the carp man page:

A carp interface can be created at runtime using the ifconfig carpN
create command or by configuring it via cloned_interfaces in the
/etc/rc.conf file.


so, using something like:

cloned_interfaces=carp0

in your rc.conf would create the device at boot time.  From there, 
you would just configure it like any other network interface.


-Glenn



 thanks



-
 Yahoo! Personals
 Single? There's someone we'd like you to meet.
 Lots of someones, actually. Try Yahoo! Personals
___
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: disk problem

2005-11-30 Thread Glenn Dawson

At 01:28 AM 11/30/2005, Yavuz Maslak wrote:

Hello

I wanted to install freeBSD6.0 on my machine. formerly windows2000 
was running on it. But I could not install freebsd. Because it gave 
an error about harddisk.


My harddisk is Western Digital WD400  40Gbyte capacity.

I got the error message on the screen as below

ATA0_MASTER : FAILURE - ATA_IDENTIFY TIME OUT

What shall I do ?


Is your drive jumpered correctly?  You will get that error if you 
have a drive jumpered as slave when there is no master.


-Glenn






___
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 enable NCQ?

2005-11-30 Thread Glenn Dawson

At 05:32 PM 11/30/2005, Wojciech Puchar wrote:

my drive does have this, i selected it while buying.

at least it's supposed to have? is something that must be done to 
enable NCQ, or this is not NCQ-capable drive? (i was cheated)


According to the western digital web site, the model you have does 
not support NCQ.


-Glenn



Protocol  Serial ATA v1.0
Serial ATA II
device model  WDC WD1600JS-60MHB1
serial number WD-WCANM1342924
firmware revision 10.02E02
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported   312581808 sectors
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
Native Command Queuing (NCQ)   no   -   0/0x00
Tagged Command Queuing (TCQ)   no   no  0/0x00
SMART  yes  yes
microcode download yes  yes
security   no   no
power management   yes  yes
advanced power management  no   no  0/0x00
automatic acoustic management  no   no  0/0x00  0/0x00
___
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: faster ssh session?

2005-11-30 Thread Glenn Dawson

At 07:09 PM 11/30/2005, Foo Ji-Haw wrote:

Hello all,

I have a well and working setup of FBSD 5.4. Nothing much to 
complain about, but I hope to resolve this oddity.


put

UseDNS no

in your /etc/ssh/sshd_config

-Glenn


If I were to open a SSH connection to the box from an IP that cannot 
be reverse dns queried, the box takes a little while before giving 
the username prompt. Is there a way to turn off reverse dns query? 
This happens to the smtp service (running on inetd) as 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]


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


Re: MX freebsd

2005-11-26 Thread Glenn Dawson

At 09:58 AM 11/26/2005, Greg Maruszeczka wrote:

Glenn Dawson wrote:
 At 04:53 PM 11/25/2005, Beecher Rintoul wrote:

 On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
  dick hoogendijk writes:
   Any idea how long it takes until the MX freebsd mailservers know that
   my mail relay has changed? It's three days ago now that I changed
 my MX
   records and still mail for nagual.st is routed to my old mx
   mailservers.
  
  dig nagual.st mx
 
  ;;; QUESTION SECTION:
  ;nagual.st. IN  MX
 
  ;; ANSWER SECTION:
  nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
  nagual.st.  86400   IN  MX  20 mx2.mailhop.org.
 
  bc
 
  86400/3600
  24
 
 
  Should only take a day based on the results above.
 
  The command to see your XM settings is
  dig url mx

 Did you update the serial number when you changed the MX record?
 Servers downline will not see the changes otherwise.


 Actually, the serial number is only used by the slave servers for a
 particular zone to decide whether or not a zone transfer is needed.


I don't think that's entirely true. The serial number is also used by
named internally to determine whether to reload your zones, and hence,
to make the actual change in memory. AFAIK if you don't update the
serial number the change won't take effect.

To confirm this I just ran `rndc reload` and then checked
/var/log/messages on my closest available OBSD name server. Reloaded
named.conf but NOT my zone files. Then I changed the serial on one of my
primary zone files and ran `rndc reload` again. This time syslog records
that both named.conf and that zone have been reloaded.


Did you actually make a change to one of the zone files? or did you 
just look at logs?


If you make a change to one of the zone files without changing the 
serial number, and then do rndc reload, the changes will be reflected 
in queries sent to that named process.


To quote the fourth edition of DNS and BIND page 432:

When you reload the primary, it loads the updated zone file 
regardless of whether you've changed the serial number.


-Glenn



Of course, the serial number change ALSO signals to slaves that they
need to update their copies.
___
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: Running mrtg on FreeBSD

2005-11-26 Thread Glenn Dawson

At 03:33 PM 11/26/2005, matt . wrote:

Heya folks,

I hope this question isn't too MRTG-centric in-so-far-as I should be posting
it to the MRTG list (which I have and received no response)

My quandry:

I don't want MRTG run as root, however creating a crontab in /var/cron for
the mrtg user yeilds errors every time it tries to run.

mrtg user entry:

mrtg:*:10103:10103::0:0:MRTG Stats Collector:/nonexistent:/sbin/nologin

mrtg directory permissions:

cd /usr/local/etc
drwxr-xr-x   2 mrtg   wheel 512 Nov 23 15:10 mrtg

My output directory:
drwxr-xr-x  2 mrtg  wheel  512 Nov 23 14:18 mrtg

crontab entry:

*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg

Error:

2005-11-24 17:55:00 -- Started mrtg with config
'/usr/local/etc/mrtg/mrtg.cfg'
2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-24 17:55:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-24 17:55:00 -- ERROR: Can't Execute '/rateup'


The line above indicates your problem.  mrtg is looking for rateup in 
/ instead of /usr/local/bin which is where it would normally be.


Did you install mrtg from ports?

You might want to try running mrtg with --debug=cfg,dir and see if 
that gives an indication of why it can't find the rateup binary.


-Glenn



If I run the same cron job as root, it works just dandy.  Even O'Reilly's
Essential SNMP states it's not necessary to run mrtg as root:

Quote from section 13.1:

The next step is to make sure MRTG runs every five minutes. There's no need
for MRTG to be run by root; any user will do. Add a line like the following
to the *crontab* entry for the appropriate user.

I've experienced this problem on 4.11 and 6.0.  I have seen it working on
another 4.11 box, however I can't figure out how they did it :-/

Is there perhaps something FreeBSD-specific I'm overlooking?  thanks!

kind regards,

matt
___
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: Running mrtg on FreeBSD

2005-11-26 Thread Glenn Dawson

At 05:24 PM 11/26/2005, matt . wrote:

I created a symlink pointing /rateup to /usr/local/bin/rateup.  MRTG is now
working, however there I see these warnings in the log:

2005-11-26 20:20:00 -- Started mrtg with config
'/usr/local/etc/mrtg/mrtg.cfg'
2005-11-26 20:20:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 720.
2005-11-26 20:20:00 -- Use of uninitialized value in concatenation (.) or
string at /usr/local/bin/mrtg line 744.

So, in summary so far, if I run the cron job as root, it works nicely with
no complaints.

If I run it out of the box as mrtg (meaning after installing from ports and
not makeing any funky symlinks for rateup) it complains it can't fine
'/rateup', which makes sense because it's not there.  If I add the symlink,
the cron job will run but with the above complaints.

Is there possibly a bug in the latest MRTG port?


I don't think it's a bug in the port.  I've installed it many times 
recently and not had any problems.


What version of Perl are you using?  Version of FreeBSD?

It looks as if the FindBin perl module is failing to find the correct 
location of the mrtg script, which then causes it to look for rateup 
in the wrong place.


-Glenn



matt


On 11/26/05, matt . [EMAIL PROTECTED] wrote:


 On 11/26/05, matt . [EMAIL PROTECTED] wrote:
 
 
 
  Trying this now...I'll letcha now.  Thanks!
 


 Still seeing the same error.  I created /usr/local/www/mrtg owned by
 mrtg:mrtg.  I run the following in mrtg's crontab:

 */5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg
 --debug=cfg,dir --logging /var/log/mrtg.log

 And I see the debug check the config and dir structures ok:

 2005-11-26 19:58:00 -- --dir: ensure path IN:  '/usr/local/www/mrtg'
 2005-11-26 19:58:00 -- --dir: ensure path OUT: '/usr/local/www/mrtg/'
 2005-11-26 19:58:00 -- --dir: imagehtml =
 2005-11-26 19:58:00 -- Use of uninitialized value in concatenation (.) or
 string at /usr/local/bin/mrtg line 720.
 2005-11-26 19:58:00 -- Use of uninitialized value in concatenation (.) or
 string at /usr/local/bin/mrtg line 720.
 2005-11-26 19:58:00 -- ERROR: Can't Execute '/rateup'

 Still trying to execute /rateup.  This works flawlessly when run by root.
 I don't get it.

 Here is line 720 of /usr/local/bin/mrtg:

 ((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e
 ${FindBin::Bin}${MRTG_lib::SL}rateup.exe)) or
  (($MRTG_lib::OS eq 'NW') and (-e SYS:/Mrtg/bin/rateup.nlm)) or
  (-x ${FindBin::Bin}${MRTG_lib::SL}rateup)) or
die ERROR: Can't Execute
 '${FindBin::Bin}${MRTG_lib::SL}rateup'\n;


 matt


___
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: MX freebsd

2005-11-25 Thread Glenn Dawson

At 04:53 PM 11/25/2005, Beecher Rintoul wrote:

On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
 dick hoogendijk writes:
  Any idea how long it takes until the MX freebsd mailservers know that
  my mail relay has changed? It's three days ago now that I changed my MX
  records and still mail for nagual.st is routed to my old mx
  mailservers.
 
 dig nagual.st mx

 ;;; QUESTION SECTION:
 ;nagual.st. IN  MX

 ;; ANSWER SECTION:
 nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
 nagual.st.  86400   IN  MX  20 mx2.mailhop.org.

 bc

 86400/3600
 24


 Should only take a day based on the results above.

 The command to see your XM settings is
 dig url mx

Did you update the serial number when you changed the MX record?
Servers downline will not see the changes otherwise.


Actually, the serial number is only used by the slave servers for a 
particular zone to decide whether or not a zone transfer is needed.


-Glenn



Beech

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \
---














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


Re: How do I use the 3dm2 CLI without a web browser ?

2005-11-25 Thread Glenn Dawson

At 09:26 PM 11/25/2005, Joe Schmoe wrote:

Hi,


expletive(s) deleted

3ware has a command line utility, it's not in ports, but you can 
download it from their web site.


You didn't mention which 3ware product you are using, or which 
version of FreeBSD you have, but I suspect that this will probably work:

http://www.3ware.com/support/download_9.2.1.1.asp?SNO=525

-Glenn


Thanks in advance!



__
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
___
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: server IM

2005-11-16 Thread Glenn Dawson

At 01:07 PM 11/16/2005, Efren Bravo wrote:

Hi,

I would like to hear your suggestions about what
free server messenger would be better for a small
LAN (LAN's client has windows O.S.)


Try the jabber server.  It's in /usr/ports/net/jabberd

-Glenn



Thanks...

Efren Bravo.





__
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
___
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: Status of 6.0 for production systems

2005-11-11 Thread Glenn Dawson

At 07:47 PM 11/11/2005, Michael Vince wrote:


I prefer the idea of the FreeBSD team aiming at only the latest
hardware, all I use is brand new server equipment.
I don't like the idea that FreeBSD features and performance development
could be hampered by the core guys trying to make stuff work on old
hardware, in fact if it was a fact that a lot more performance and
features could be in 6.x if they dropped support for everything below
1ghz for x86 I would be happy



Supporting older hardware is not some bad decision made by core, it is
a general design and philosophy point of not only FreeBSD, but unix
and the community in general. That is a very selfish statement, and
rather rediculous actually, that the tens of thousands of people
running older hardware (example: Yahoo! - pentium of about half that
speed serving hundreds of thousands of http requests per day)  should
upgrade to 1ghz machines because that's what you use. Even Windows
runs on less than that.

But you are always welcome to make your own version that supports only that.

I said it in terms of an over the top example to maximize a trigger 
of thoughts in this area of topic, such as an example of movement as 
those more in the realms of what MS do with what their standard is 
in hardware support for modern operating systems, luckily I am just 
'some guy' on the mailing list and have little what so ever say to 
what happens on FreeBSD.


I don't believe its a very selfish statement at all. When I say get 
rid of old hardware the one of the largest flow of thoughts that go 
through my mind is the support future world energy needs. Most 
scientists tell you that there will be a world energy crisis 
sometime in the future and people should be prepared to pay money 
money for the energy they use.
Its energy crisis web sites are all over the Internet. While some 
people fear a nuclear attack from terrorists or nuclear war in 
general if you want to fear a day of doom some people will tell you 
there is something even more terrifying and just as destructive 
coming our way, that is running out of cheap energy, hard to 
understand? I recommend to any one using a PC for the single use of 
a home gateway or using power in ways that aren't ideal but simply 
because energy is cheap simply because they can get away with it the 
get the DVD  'The End of Suburbia'. It will tell you that as the 
world hits its energy peak the cost of fuel will always go up in the 
world market every time there is any kind of issue and barely go 
back down (as it has lately). They claim the cost of moving around 
in suburbia will get so expensive that the value of the suburban 
house will fall through the floor and ruin a lot of lives since most 
people put their life savings investing in their home assuming it 
will increase in value over time.

http://www.endofsuburbia.com/
http://www.energycrisis.com/

While most people aren't using a pentium 1 to run a water sprinkler 
system, there are a countless amount of people using machines for 
things that aren't ideally power efficient. A lot of people using 
old PCs and Internet gateways in their home network and nothing 
else. This is a 24 hour PC running just to provide Internet where a 
basic Netgear home router 500ma device can do it just as well, 
(5volts * 0.5amp = 2.5watts), a lot of people use FreeBSD as a 
server in some way on a network and need to keep it somewhat up to 
date for security reasons this also means 24 hour running. A lot of 
people on the FreeBSD mailing lists like the idea of getting rid of 
their clunky old PC routers and still using a good firewall like 
Packet Filter by using the MIPS based linksys WRT54G router that 
could run FreeBSD, while there is no port for this on FreeBSD the 
closest front for this would be NetBSD.


So, it's better to buy a shiny new piece of low power equipment, than 
to use an older yet perfectly suitable piece of equipment that needs 
more power to operate?  I wonder how long it would take for the 
additional power consumed by the older equipment to equal the amount 
of power it took to design, build, distribute and market the shiny 
new piece of low power equipment... the second law of thermodynamics 
comes to mind...




Its really a case of the dark side of the force is clouds your vision.
Most people who have a properly functioning conscious mind who setup 
a PC as nothing more then a gateway for a small band of traffic feel 
a bit of guilt when they do it while others are just ignorant or 
work under the theme of what they can get away with is OK. Lets just 
continue this line of thought, how about the rich and powerful 
nations go dropping barrels of nuclear waste out of airplanes on 
poor nations, this is something they could probably 'get away with' 
but its not right thing to do.


A lot of people wondered how Steve Jobs could dare change over to Intel chips.
In Steve Jobs keynote speech announcing the big move Intel chips was 
just about entirely stated as 

Re: filesystem full error

2005-11-06 Thread Glenn Dawson

At 04:59 PM 11/6/2005, Dave Webster wrote:

Hi,
I'm trying to: pkg_add -r openoffice and I get the following:

/var: write failed, filesystem is full
mkdir: /var/db/pkg/ORBit-0.5.17_2: No space left on device
pkg_add: can't record package infor '/var/db/pkg/ORBit-0.5.17_2', you're
on your own!

That last part is particularily chilling - if I'm on my own, I'm hooped!

Here's the result of df -h:

Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a248M 93M135M41%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad0s1e248M294K228M 0%/tmp
/dev/ad0s1f 72G 25G 42G37%/usr
/dev/ad0s1d248M 62M166M27%/var
linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/proc


You probably ran out of inodes.  What does df -i show?

-Glenn



Any suggestions on what I should do?
thanx in advance,
Dave


___
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: read grey text

2005-11-04 Thread Glenn Dawson

At 04:47 AM 11/4/2005, Efren Bravo wrote:

Hi,

When fbsd is booting, it shows an error in bright
white inside the gray but I'm not able to read it.

Where can I read this gray text or better the error in
bright white?


dmesg has a copy of what was shown during boot.

you can also hit the scroll-lock key and then use 
page-up/page-down to scroll though the text while it's still on the screen.


-Glenn



Thanks...



__
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
___
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: Buildworld fails for 6.0-RC1

2005-11-02 Thread Glenn Dawson

At 04:24 AM 11/2/2005, Doug Poland wrote:

On 11/2/05, Eric F Crist [EMAIL PROTECTED] wrote:
 Something you could try in this instance is deleting everything
 under /usr/src:

 #cd /usr/src  rm -rf ./

 Then re-sup your source tree.

giving that a try now, thanks...


I've had a few builds fail recently.  Deleting the contents of 
/usr/obj fixed it for me.  You might want to try that as well.


-Glenn



--
Regards,
Doug
___
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: Buildworld fails for 6.0-RC1

2005-11-02 Thread Glenn Dawson

At 05:28 AM 11/2/2005, Doug Poland wrote:

On 11/2/05, Doug Poland [EMAIL PROTECTED] wrote:
 On 11/2/05, Eric F Crist [EMAIL PROTECTED] wrote:
  Something you could try in this instance is deleting everything
  under /usr/src:
 
  #cd /usr/src  rm -rf ./
 
  Then re-sup your source tree.
 
 giving that a try now, thanks...

Nope, still have the cap_mkdb error.  How frustrating...

=== share/tabset (all)
uudecode  /usr/src/share/tabset/3101.uu
uudecode  /usr/src/share/tabset/9837.uu
uudecode  /usr/src/share/tabset/aa.uu
uudecode  /usr/src/share/tabset/aed512.uu
uudecode  /usr/src/share/tabset/beehive.uu
uudecode  /usr/src/share/tabset/diablo.uu
uudecode  /usr/src/share/tabset/dtc382.uu
uudecode  /usr/src/share/tabset/hp700-wy.uu
uudecode  /usr/src/share/tabset/ibm3101.uu
uudecode  /usr/src/share/tabset/std.uu
uudecode  /usr/src/share/tabset/stdcrt.uu
uudecode  /usr/src/share/tabset/tandem653.uu
uudecode  /usr/src/share/tabset/teleray.uu
uudecode  /usr/src/share/tabset/vt100.uu
uudecode  /usr/src/share/tabset/vt100-w.uu
uudecode  /usr/src/share/tabset/wyse-adds.uu
uudecode  /usr/src/share/tabset/xerox1720.uu
uudecode  /usr/src/share/tabset/xerox1730.uu
uudecode  /usr/src/share/tabset/xerox1730-lm.uu
uudecode  /usr/src/share/tabset/zenith29.uu
=== share/termcap (all)
gzip -cn /usr/src/share/termcap/termcap.5  termcap.5.gz
TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src 
/usr/src/share/termcap/reorder
cap_mkdb -l termcap
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]
*** Error code 1

Stop in /usr/src/share/termcap.
*** Error code 1

Stop in /usr/src/share.
*** Error code 1

Unless someone has another idea, I'll try installworld via NFS from a
working RC1 machine.


The -l option was added in 6.x.  This probably isn't the right way 
to do it, but...


try this:

cd /usr/src/usr.bin/cap_mkdb/  make  make install

then try and buildworld again..

-Glenn




--
Regards,
Doug
___
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: Quick Routing Question

2005-11-01 Thread Glenn Dawson

At 06:34 AM 11/1/2005, Jason Morgan wrote:

On Tue, Nov 01, 2005 at 09:03:11AM -0500, Steve Bertrand wrote:


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Fabian Keil
  Sent: Tuesday, November 01, 2005 5:58 AM
  To: Jason Morgan
  Cc: FreeBSD Questions
  Subject: Re: Quick Routing Question
 
  Jason Morgan [EMAIL PROTECTED] wrote:
 
   I am setting up a wireless subnet and, while the gateway (FreeBSD
   system) is communicating fine with the wireless router, my other
   subnet is not able to connect to the wireless router. Here is a
   diagram of my network, I think it's fairly typical.
  
  
Wired Subnet (10.0.0.x)
   /
  /
   Internet -- FreeBSD Machine
  \
   \
Wireless Subnet (192.168.1.x)
  
  
   The 'wired' interface on the FreeBSD machine has an IP of 10.0.0.1,
   with the 'wireless' IP being 192.168.1.1.  Now, the FreeBSD machine
   and the wireless router (192.168.1.2) communicate fine as does the
   wired subnet; however, I am not able to connect from a
  10.0.0.x client
   to the wireless router. After running traceroute, etc, it
  seems that
   the FreeBSD machine is simply not routing the data from one
  subnet to
   the other. I've verified that it's not the firewall
  blocking packets.
   How do I get these subnets to communicate?
 
  Did you put gateway_enable=YES in rc.conf?
  Did you read
  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nethttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/net  
  work-routing.html?


Yes, the FreeBSD machine has been acting as a router/gateway/firewall
for the wired network for quite some time. I did look at the handbook,
that's usually my first stop.


 Also, what does:

 # netstat -rn

 ...output?

# netstat -rn

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
default70.183.13.193  UGS 024701xl0
10/24  link#3 UC  00   fxp0
10.0.0.1   00:d0:b7:44:f9:c6  UHLW0  903lo0
10.0.0.2   00:50:8d:e5:a5:41  UHLW0   322468   fxp0572
10.0.0.4   00:e0:98:04:01:f6  UHLW0 1131   fxp0   1140
70.183.13.192/26   link#2 UC  00xl0
70.183.13.193  00:13:5f:00:f0:ee  UHLW10xl0   1188
70.183.13.213  00:50:04:cf:52:8a  UHLW0   18lo0
127.0.0.1  127.0.0.1  UH  00lo0
192.168.1  link#1 UC  00dc0

Internet6:
Destination   Gateway  Flags Netif Expire
::1   ::1  UH lo0
fe80::%dc0/64 link#1   UC dc0
fe80::204:5aff:fe42:5084%dc0  00:04:5a:42:50:84UHLlo0
fe80::%xl0/64 link#2   UC xl0
fe80::250:4ff:fecf:528a%xl0   00:50:04:cf:52:8aUHLlo0
fe80::%fxp0/64link#3   UC fxp0
fe80::2d0:b7ff:fe44:f9c6%fxp0 00:d0:b7:44:f9:c6UHLlo0
fe80::%lo0/64 fe80::1%lo0  U  lo0
fe80::1%lo0   link#4   UHLlo0
ff01::/32 ::1  U  lo0
ff02::%dc0/32 link#1   UC dc0
ff02::%xl0/32 link#2   UC xl0
ff02::%fxp0/32link#3   UC fxp0
ff02::%lo0/32 ::1  UC lo0


Also, made one small error in my initial post.  The wireless router has
IP 192.168.1.1 and the server's 'wireless' interface is 192.168.1.2
(going to switch these as soon as I get access to the wireless router
settings).

I've tried setting static routes between various interfaces on the
FreeBSD machine, it hasn't worked, but I may be doing it wrong. I
thought routed should take care of this dynamically, but I'm a bit
unsure about that.


This sounds a lot like the freebsd machine does not know how to route 
packets to the other side of the wireless router.


Just to confirm how things are connected, ignoring the wired net 
for a moment, it sounds like you have something like this:



internet -- A -- freebsd machine -- B -- wireless router/AP -- C -- 
wireless device


You mention that the addresses in use for what I have marked as 'B' 
above, are 192.168.1.1 and 192.168.1.2.  What about the other side of 
the wireless router/AP?  What IP's are being used for the wireless 
devices?  If those IP's are not in the same net as 'B' you'll need a 
static route in the freebsd machine so it knows to send packets for 
the 'C' network to the wireless router/AP.


However, if the wireless router/AP is acting as a bridge, and the 
same 

Re: Swap space

2005-11-01 Thread Glenn Dawson

At 07:13 AM 11/1/2005, Vladimir Tsvetkov wrote:

 Hi,

 I just bought 4 servers with 4 gigs of ram, the documentation
 proposes to use 2 to 3 times the amount of ram for swap... I don't
 think 12 gigs of swap would be useful lol, but do I really need to
 put 4 gigs of ram. (It might be useful for kernel dump but...)

 What do you guys do with swap space in this scenario ?


It depends on how big is the address space for your machines.
32-bit machines can address 4GB of memory, so it's reasonable to use 2
or 3 times the amount of RAM space (if you hawe 256MB or 512MB - the
swap should be 768MB or 1GB), but if you have 32bit machines with 4GB
of memory there is no need to use more than 4GB for swap.


That's not entirely true.  Each process gets a 4GB (virtual) address 
space to operate in.  With default settings, 1GB of that space is 
used for the kernel, and the remaining 3GB is available for the 
process to use.  If you have several processes that require close to 
their 3GB limit, they could quite easily consume 4GB of swap, and more.


-Glenn


64-bit machines can address 2^64 bytes which is a very big address
space, so you should use the guidelines in the documentation (FreeBSD
Handbook).

Best regards,
Vladimir
___
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: Is Device pooling / HZ option Documented anywhere

2005-11-01 Thread Glenn Dawson

At 07:18 AM 11/1/2005, Sunil Sunder Raj wrote:

Hi,
Is  Device pooling / HZ option documented anywhere. I am in the 
process of upgrading my firewall to freebsd 5.4 tuned for network 
performance. Need further information regarding Device pooling / HZ.


the polling(4) man page is a good place to start...

-Glenn



-Sunil Sunder Raj


___
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: tarring over ssh question - pulling from the source to tarfiles

2005-11-01 Thread Glenn Dawson

At 11:20 PM 11/1/2005, user wrote:


Hello,

Sometimes I have a bunch of data that I want to transfer from source to
destination over ssh, but I want to tar it up on the way over (that is, I
don't have enough space on the source to create a tarball of the data and
then just scp the tarball over...)

I do that like this:

tar cf - /files | ssh [EMAIL PROTECTED] cat 
/usr/home/user/file_data2.tar

or if I want to split it into multiple files:

tar cf - /files | ssh [EMAIL PROTECTED] split - -b 1024m
/usr/home/user/file_data2.tar

This works just fine.

-

My question is, what if I want to initiate this process from the
destination machine ?  In the above example, I am on the source machine,
and I ssh to the destination, making the tar files as it goes.

What if, instead, I am logged into the destination machine, and I want to
do the same thing - all from the destination machine ?

That is, I know that there is a directory /files on the source that I
want, and I have a login to ssh them to me, but I do not want to logon to
the source - I want to suck /files to me, but also tar them up on the way.

Is that possible ?  rsync/rdist are not available.  I need to do this over
ssh and tar, as in the above examples.


rsync would be a much better choice for your needs.

-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: make.conf - question

2005-10-31 Thread Glenn Dawson

At 01:53 AM 10/31/2005, Vladimir Dvorak wrote:

Hello,

where can I found ALL parameters suited for /etc/make.conf ? For
example, I wanted install some software from ports without X11, but

man 5 make.conf

doesn`t include WITHOUT_X11 option.

Fortunatelly I found this page

http://www.gsp.com/cgi-bin/man.cgi?section=5topic=make.conf

and included some necessary parameters into my make.conf.

Ok, I found this

--- man make.conf ---
The purpose of make.conf is not to run commands or perform compilation
 actions directly.  Instead, it is included by the various makefiles in
 /usr/src, /usr/ports and /usr/doc which conditionalize their internal
 actions according to the settings found there.
--- cut ---

in man page, but im not sure where exactly should I look ?


As stated above, make.conf applies to building things in /usr/src 
/usr/ports and /usr/doc.  Anything you can control with environment 
variables when building in those dirs can be added to make.conf.


If you're looking for general settings that can be changed in ports 
for example, you'll find info in the ports(7) man 
page.  Additionally, individual ports my have additional settings.


-Glenn



(OS: 5.4-RELEASE FreeBSD 5.4-RELEASE )

Thank you,

Vladimir

___
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: File system check fails on boot

2005-10-31 Thread Glenn Dawson

At 02:06 AM 10/31/2005, Edward Lichtner wrote:

Hi all,
There's fire in the house... I recently inserted a USB memory stick and my
5.4 Stable machine rebooted suddenly. I now get the following on boot :

Starting file system checks :
/dev/ad0s3a: UNKNOWN FILE TYPE I=2900154
/dev/ad0s3a: UNEXPECTED SOFT UPDATE INCONSISTENCY: RUN fsck MANUALLY.
Automatic file system check failed; help!
Oct. 30 20:14:53 init: /bin/sh on /etc/rc terminated abnormally, going to
single user mode

When I run fsck, I get the folllowing :

** Phase 1 - Check Blocks and Sizes
UNKNOWN FILE TYPE I=2900154
UNEXPECTED SOFT UPDATE INCONSISTENCY

CLEAR? [yn]

** Phase 2 - Check Pathnames
DUP/BAD I=2900154 OWNER=root MODE=100644
SIZE=93 MTIME=Mar 25 04:13 2004
FILE=/usr/ports/net/ldapbrowser/distinfo

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn]

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
LINK COUNT DIR I=2 OWNER=root MODE=40755
SIZE=512 MTIME=Oct 30 17:20 2005 COUNT 21 SHOULD BE 20
ADJUST? [yn]

UNREF FILE I=471058 OWNER=root MODE=100644
SIZE=72 MTIME=Oct 30 19:03 2005
RECONNECT? [yn]

CLEAR? [yn]

I then get similar messages for a dozen files, then :

** Phase 5 - Check Cyl groups
SUMMARY INFORMATION BAD
SALVAGE? [yn]

BLK(S) MISSING IN BIT MAPS
SALVAGE? [yn]

FREE BLK COUNT(S) WRONG IN SUPERBLK
SALVAGE? [yn]

And so on... Should I just answer yes to all questions and hope for the
best, or is there a better way of saving the day ? Needless to say, my whole
system is on /dev/ad0s3a.


Anytime a file system is not unmounted properly you'll get some 
quantity of errors from fsck the next time the system tries to mount 
it.  If there was no activity on the file system, fsck can typically 
deal with things on it's own.  When there were open files and some 
level of activity on the file system, you'll get the types of errors 
that you are seeing now. Most of the time, just saying yes to 
everything will work just fine, and you can move on.  fsck -y will 
keep you from having to actually type 'y' at each prompt, which is 
handy because sometimes there are a lot of those prompts.



Also, what could have caused the problem ? I recently updated my kernel to
include HFS support. Could it be linked ?


There's a port that will allow you to read hfs filesystems.  It's in 
/usr/ports/emulators/hfs


-Glenn


Thanks all,
Edward


___
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: swat

2005-10-25 Thread Glenn Dawson

At 11:52 AM 10/25/2005, eoghan wrote:

Hello
I have followed the manual for setting up SWAT.
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html
I have checked my /etc/services and it has
swat901/tcp
and I have commented in the line in /etc/inetd.conf
swatstreamtcpnowait/400root 
/usr/local/ sbin/swatswat


The path might be correct, but the extra space after /usr/local/ is 
going to cause trouble.


-Glenn


my paths to my swat file is correct.
I restarted too.
But when I go to http://localhost:901 i just get a connection refused
message.
Samba is up and running.
Im using freeBSD 5.3
swat version 3.0.20
Any things I should consider?
Thank you
Eoghan
___
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: samba question

2005-10-24 Thread Glenn Dawson

At 02:36 AM 10/24/2005, Owen Jeremiah wrote:

If I remember correctly, you have to start inetd to run smbd and nmbd. Check
FreeBSD handbook for further details about configuring samba.


Samba doesn't care about inetd.

Adding samba_enable=YES to rc.conf is sufficient. (assuming you 
built samba from ports)


-Glenn



Regards,
OJ
___
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: Stopping the logging to console from pf ?

2005-10-20 Thread Glenn Dawson

At 04:18 AM 10/20/2005, kilim wrote:


Hello Erik,

and thanks for the fast reply !

On Thu, Oct 20, 2005 at 12:53:53PM +0200, Erik Norgaard wrote:
 On Thu, 20 Oct 2005, kilim wrote:

 I'd like to stop pf logging to the console.

sniped

 have you tried to set this in rc.conf?

 pflog_enable=YES

I've set this in /etc/rc.conf at the very beginning.

 pflog_logfile=/var/log/pflog

That is the default option in /etc/defaults/rc.conf.

But just to be 'crazy' I've now set it in /etc/rc.conf.

 then restart pflog

Did that, no luck.

BTW I'm running 5.4 stable.

Anything else I can try ?


You could set kern.consmute=1 using sysctl and see if that does the 
trick.  Keep in mind that will also silence quite a few other things.


-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: Installing 2nd CPU on SMP board

2005-10-19 Thread Glenn Dawson

At 01:44 PM 10/19/2005, Doug Poland wrote:

Hello,

I've inherited an SMP machine for which I've no documentation and don't
have convenient access to the hardware itself.  The computer has a
single Xeon 2.8GHz CPU and I'd like to purchase another CPU.  Question
is, can I simply match another Xeon of the same speed and expect it to
work?  If I need more info, will dmesg(8) tell me what I need to know?


You definitely need to match the speed of the existing 
processor.  It's also a very good idea to match Intel's sSpec number.


Intel's processor spec finder has more info on the sSpec numbers:
http://processorfinder.intel.com/scripts/default.asp

-Glenn



Sorry if this is too off-topic for -questions.  Please point me at the
appropriate list if necessary.

--
Regards,
Doug
___
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: Installing 2nd CPU on SMP board

2005-10-19 Thread Glenn Dawson

At 03:57 PM 10/19/2005, Kurt Buff wrote:

Charles Swiger wrote:
 On Oct 19, 2005, at 4:44 PM, Doug Poland wrote:

 I've inherited an SMP machine for which I've no documentation and  don't
 have convenient access to the hardware itself.  The computer has a
 single Xeon 2.8GHz CPU and I'd like to purchase another CPU.  Question
 is, can I simply match another Xeon of the same speed and expect it to
 work?


 You want to get the same speed, FSB, and family number of Xeon, and  it
 is preferable to get the same stepping number if possible.

 If I need more info, will dmesg(8) tell me what I need to know?


 If you understand how to translate the dmesg display into processor
 steppings, sure.


It's better to match the sSpec numbers...those include the stepping, 
and not all processors of the same stepping have the same sSpec.


-Glenn



 See pages 16-17 of:

 http://download.intel.com/design/Xeon/specupdt/24967849.pdf


Ya know, if you have the money, it's probably just faster/easier to buy
two new matching CPUs that are known to work with the board, strip out
the old one and put the new ones in.

Just a (lazy) thought...

Kurt
___
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: Installing 2nd CPU on SMP board

2005-10-19 Thread Glenn Dawson

At 04:48 PM 10/19/2005, Chuck Swiger wrote:

Glenn Dawson wrote:

At 03:57 PM 10/19/2005, Kurt Buff wrote:

[ ... ]

You want to get the same speed, FSB, and family number of Xeon, and  it
is preferable to get the same stepping number if possible.
It's better to match the sSpec numbers...those include the 
stepping, and not all processors of the same stepping have the same sSpec.


Intel's documentation for dual-proc and multiproc compatibility is 
based on family ID and stepping #, not on the s-spec #.


The family ID is akin to a major version number, and the stepping is 
akin to a minor version number.  You can get the family ID and 
stepping from dmesg, you cannot get the sSpec number via that 
directly.  For example:


CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf43  Stepping = 3
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs

If you hunt down the right Xeon document:

http://download.intel.com/design/Xeon/specupdt/30240216.pdf

...and search for 0xf43, you get:


The point I was trying to make is that if you use the sSpec number, 
you can't go wrong.


0xf43 leads to sSpec SL7ZF _and_ SL8ZQ

-Glenn



S-Spec CoreStepping CPUID CoreFreq FSB L2_cache 
SL7ZF  N0   0F43h 3800 2 MB 604-pin micro-PGA

--
-Chuck

___
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: Install Question

2005-10-19 Thread Glenn Dawson

At 06:57 PM 10/19/2005, Kevin Yates wrote:

Hello,

 I have a question to which I am hoping there is a simple solution.
I've got an old notebook (IBM Thinkpad 560X) and I'd like to install
FreeBSD. I don't have a CD-ROM, floppy drive, or bootable PCMCIA
drive. My hard drive has nothing on it at the moment.

 Can I image something onto the hard drive in order to install FreeBSD
over FTP, serial, or directly from the hard drive?  I have removed the
hard drive and have the proper adapters to connect it to a regular
desktop PC. What to do next?


Do the install on a desktop machine, then put the disk back in the 
laptop.  It should boot and run just fine assuming that the drivers 
you need are in the generic kernel.  If they aren't, you might have 
to build a new kernel before it will work in the laptop.


-Glenn



Thanks!
Kevin
[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: one way network issue

2005-10-18 Thread Glenn Dawson

At 03:47 PM 10/18/2005, Mohan Singh wrote:

I recently upgraded a FreeBSD box from 4.10 to 4.11 (nuke and install method).

The settings in /etc are identical to the way it was (I went over it
with vim -d to double check).

Externally (router/firewall, etc.), nothing has changed.

But on the new install of the machine, I cannot ping or access it from
a different subnet.

There is no firewall enable anywhere, and like I said, externally,
nothing has changed in terms of routing or anything like that.

What could be the matter?


Sounds like it doesn't know what it's default route is.

-Glenn



I can get on from a different subnet by ssh'ing into a machine on the
same subnet of the upgraded box and then ssh'ing into the same box,
but I'd like to figure out what is the problem.
___
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: What are the likely causes of reboots?

2005-10-10 Thread Glenn Dawson

At 09:33 AM 10/10/2005, Paul Schmehl wrote:
--On Monday, October 10, 2005 09:57:29 -0600 Chad Leigh -- 
Shire.Net LLC [EMAIL PROTECTED] wrote:


Set it up to record the kernel crash dump when it crashes so you can  see
what it says...

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ 
kerneldebug.html
I've got a bit of a problem.  I didn't configure this box, and swap 
is only 250MB.  Physical memory is a gig.  Is there a workaround 
that would allow me to write a core file to somewhere else?  (And 
why is /var/crash the default if dumps can't be written to the file system?)


The dumps go into the swap area.  On the next boot they get copied 
into the crash dir.


-Glenn



Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
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: Best Way to Mount a File-Backed Memory Disk at Boot-Time?

2005-10-09 Thread Glenn Dawson

At 06:16 PM 10/9/2005, David Marshall wrote:

Hi,

I've got a system with a file-backed memory disk that needs to be run
through mdconfig and then mounted at boot-time?  What's the best way
to do this?

Is putting a script into /usr/local/etc/rc.d the best?


make an entry in fstab that looks something like:

md /mount/point mfs rw,-F/path/to/backing/store 0 0

-Glenn



TIA!
___
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: chm file conversion?

2005-10-08 Thread Glenn Dawson

At 05:50 PM 10/8/2005, Colin Percival wrote:

Vizion wrote:
 As per subject - does anyone know of any utils for converting microsofts
 compiled help files for use on freebsd?

I've found converters/chmview to be useful in the past.


arCHMage will extract the contents and give you regular html files.

It's in /usr/ports/textproc/archmage

-Glenn



Colin Percival
___
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: disk errors help!!

2005-10-06 Thread Glenn Dawson

At 06:55 PM 10/6/2005, RYAN vAN GINNEKEN wrote:
My freebsd 4.11 system has been subjected to a power failure and 
seems to have many disk errors something about soft updates and not 
being able to read certain sectors it comes up with the standard 
single user pick your shell command and tells me to run fsck 
manually.  I have run it several times but the system keeps comming 
with ad0s4 marked dirty which is my /usr partition.  Sometimes i get 
a resetting device ata0 timeout error.  What should i do of course i 
have no current backups for this system and the most important thing 
is retrieving my users data it would be great if i could get the 
system to boot up but if i have to reinstall no biggy as long as i 
can get most of my data back.


ps  i promise to do remote backups nightly for the rest of my life.


Sounds like you definitely have some problems.

If you have somewhere to put it, you can use dd with 
conv=noerror,sync to get an image of the drive, less the damaged 
areas (which get filled in with nul's by the sync option).  Once you 
have the image, you can use it as a backing store for md(4), fsck 
that, mount it and get whatever you can from what's left.


-Glenn




--
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

--

If you eat a live frog in the morning, nothing worse will happen to 
either of you for the rest of the day.


___
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: Enabling cgi scripts in apache

2005-10-05 Thread Glenn Dawson

At 09:31 PM 10/5/2005, Garrett Cooper wrote:

Hi,
Just having problems again enabling cgi script execution in
apache. The script exists, it's the right set of permissions, and the
perl interpreter is reference correctly, as well as the following
line in the httpd.conf file:

AddHandler cgi-script .cgi


Without being able to see the config, the name of the script, the 
contents of the script,  or the directory it's in, the simple stuff 
comes to mind.


Does the AddHandler directive actually apply to the directory that 
contains the script?


Does the script end in .cgi ?

What shows up in your apache error log?

What error shows up in the browser when you try to browse to the script?

-Glenn


I also restarted the server, so I'm not sure what I'm missing
out on. Any ideas?
Versions:

[EMAIL PROTECTED] perl --version

This is perl, v5.8.6 built for i386-freebsd-64int
(with 2 registered patches, see perl -V for more detail)

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic
License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access
to the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.

[EMAIL PROTECTED] httpd -v
Server version: Apache/1.3.33 (Unix)
Server built:   Apr  4 2005 01:29:24

Thanks for the help in advance!
-Garrett
___
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: Problems with Tor, SSH packages

2005-10-02 Thread Glenn Dawson

At 02:52 PM 10/2/2005, Alistar Erlas wrote:

Strangely enough, the SSH problem seems to only happen
on some user accounts but not others. The Tor problem
seems to exist on all user accounts.

--- Alistar Erlas [EMAIL PROTECTED] wrote:

 I have recently fetched the Tor package from
 5-stable,
 and I have run into some odd problems. Whenever I
 try
 to start Tor, I get the following result:

 tor
 Oct 02 21:25:37.550 [notice] Tor v0.1.0.14. This is
 experimental software. Do not rely on it for strong
 anonymity.
 Oct 02 21:25:37.551 [notice] Configuration file
 '/usr/local/etc/tor/torrc' not present, using
 reasonable defaults.
 Oct 02 21:25:37.551 [notice] Initialized libevent
 version 1.1a using method kqueue
 Segmentation fault

 It is unusual for it to segmentation fault like that
 and it indicates there is something wrong.

 Also, I have seen similar behaviour with SSH, where
 if
 I also get a segmentation fault when I attempt to
 start it.

 ssh -l  myaccount localhost
 Segmentation fault


I have no experience with Tor, but if you have several things that 
crash with segfaults it's usually a good indicator that you might 
have some hardware problems.





 I also noticed that there is no screen utility in
 the
 stable packages either.


Screen is in /usr/ports/misc/screen

-Glenn



 Any help with these issues is greatly appreciated,
 thank you.



 __
 Yahoo! Mail - PC Magazine Editors' Choice 2005
 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]





__
Yahoo! Mail - PC Magazine Editors' Choice 2005
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]


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


Re: buildworld

2005-10-01 Thread Glenn Dawson

At 02:00 PM 10/1/2005, =?ISO-8859-2?Q?Radek_V=E1lko?= wrote:

Hi!

I'm little bit new in FreeBSD and I would like to know more about 
buildworld process. I really tryed to find this information but I 
wasn't successful. My question is what everything is exactly build 
during this process. For examle if I have minimal installation of 
FREEBSD 5.2.1 and I will synchronize my source tree to 5-stable and 
then do make buildworld what happend? Is the new system again only 
minimal or full installation?


The build man page will give you info on what targets you can 
build.  Also, section 20 in the handbook gives details on updating 
your system from source.

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

-Glenn



Best regards and thanks in advance for replay!

Radek
___
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: comparing permissions in an archive

2005-10-01 Thread Glenn Dawson

At 02:29 PM 10/1/2005, Vizion wrote:

Hi

Someone must know a simple way to do this:

I regulalrly need to compare the permissions of two largely similar archives
stored in two seperate paths.

Most of the files are of the same name and relative path but  there may be
miscellaneous additional files present or absent in each archive.

I want:
1.  to be able to produce a list of the full path and name of those 
files that

share an identical path from their respective archive roots, but have
different permissions.

2. After examining the list I would like to be able to adjust the permissions
so that files of the same path and name in one selected archive are afjusted
to match the permissions of their equivalent file in the other archive.

Does anyone have a simple solution?


take a look at mtree, it should be able to do what you need.

-Glenn



thanks

david


--
40 yrs navigating and computing in blue waters.
English Owner  Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after
completing engineroom refit.
___
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: Checksum failed

2005-10-01 Thread Glenn Dawson

At 03:36 PM 10/1/2005, Hamza Eraldi wrote:

Hi, I am just trying to start using PMA,
After a long installation, it gave the error below.
The distinfo file for php-4.4.0 is up to data but i am getting that
'checksum failed' error in anyway:

===   Returning to build of phpMyAdmin-2.6.4.1
===   phpMyAdmin-2.6.4.1 depends on file:
/usr/local/lib/php/20020429/zlib.so - not found
===Verifying install for /usr/local/lib/php/20020429/zlib.so in
/usr/ports/archivers/php4-zlib
===  Extracting for php4-zlib-4.4.0
= Checksum mismatch for php-4.4.0.tar.bz2.
===  Refetch for 1 more times files: php-4.4.0.tar.bz2
= php-4.4.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from
ftp://ftp7.us.freebsd.org/pub/FreeBSD/distfiles/.
= Checksum mismatch for php-4.4.0.tar.bz2.
===  Giving up on fetching files: php-4.4.0.tar.bz2
Make sure the Makefile and distinfo file
(/usr/ports/archivers/php4-zlib/../../lang/php4/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type make NO_CHECKSUM=yes [other args]


The correct checksum should be:
MD5 (php-4.4.0.tar.bz2) = e85b606fe48198bfcd785e5a5b1c9613

If that's whats in your distinfo file for that port then you probably 
got a corrupted version of the file.


If it's not what's in the distinfo you have, then you probably just 
need to update your ports.


-Glenn



--
http://www.fastmail.fm - Does exactly what it says on the tin

___
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: Modem doesn't answer the phone

2005-09-29 Thread Glenn Dawson

At 03:39 PM 9/29/2005, Chris Hill wrote:

On Thu, 29 Sep 2005, Efren Bravo wrote:


I need your help about incoming connections through the modem.

My modem is a External CNet C56k v.92 Data/Fax Modem and it is 
unable to answer the phone. I made a test with an old Motorola 
V.3292 modem and it works well. The CNet modem works fine on Win2k 
Advanced Server.


Where could be the problem, on fBSD box or on the modem?
What can I do?


You probably have to tell the modem to auto-answer incoming calls. 
The command is ATA, according to 
http://www.modemhelp.net/basicatcommand.shtml. I'd put this in a 
modem initialization script somewhere, but I haven't used a modem 
since 3.1 so I'm not sure exactly where that would go.


Actually, ata will tell the modem to pick up the phone and answer now.

ats0=1 will tell the modem to auto answer when the phone rings.

atw will typically tell the modem to write the current settings to 
nvram so that they are available the next time it's turned on.


-Glenn



HTH.

--
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]


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


Re: screen dead process

2005-09-29 Thread Glenn Dawson

At 08:08 PM 9/29/2005, Dave wrote:

Hello,
   I was working on a 5.4 box using screen to ssh to several other 
boxes when my connection to the primary box was killed. I 
reconnected and not expecting screen to have survived i did a 
screen -r and got the msg that there is a screen on pid 3241 on 
hostname.pty0 or something similar then it said there are no screen 
sessions to be resumed. I'd like to get this screen session back if possible.

Thanks.
Dave.


screen -rd

-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: Bye-bye beastie ...

2005-09-28 Thread Glenn Dawson

At 12:52 PM 9/28/2005, Kiffin Gish wrote:

Glenn Dawson wrote:


At 12:52 PM 9/26/2005, Kiffin Gish wrote:

I would like to have a different bootup screen appearing which 
looks more professional (sorry), e.g. removing that awful looking 
beastie thingie on the side.


What's the best way to do this?

(Sorry to all those beastie lovers out there, but really)



You can put beastie_disable=YES in your /boot/loader.conf to turn 
it off. Replacing it with something else is a bit trickier. You 
would need to replace /boot/beasier.4th.


-Glenn



--
Kiffin Gish
Gouda, The Netherlands

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



Are you sure this belongs in the loader.conf file and not somehwere 
else. I get all kinds of error messages and the menu never comes up, 
just skipping past to the login prompt.


glenn# grep beastie /boot/defaults/loader.conf
#beastie_disable=NO   # Turn the beastie boot menu on and off

-Glenn



--
Kiffin Gish
Gouda, The Netherlands

___
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: strange routing (?) issues with a jail

2005-09-28 Thread Glenn Dawson

At 04:08 PM 9/28/2005, tsuraan wrote:

I have a freebsd 5.3 machine, with a jailed off machine running in it.
 Let's call them host and slave (they have seperate IP addresses and
hostnames).  Within the slave, I have sshd and apache running.  In the
host, I just have sshd running.   From within the slave machine, I can
connect to localhost ports 80 and 22, with the expected results.  From
within the host machine, I can connect to the slave's ports 80 and 22
correctly as well.  From outside that machine, I can only connect to
port 22 on the slave.  Attempts to connect to port 80 on the slave
time out.

The slave is running apache version 1.33+modssl from ports.  I have it
configured with a basic vhosting setup, and it seems to work perfectly
from within the physical machine the jail is running on.  Pf is
totally disabled, and it's a fresh install with no strange services
running or unnecessary packages installed.  Can anyone give a hint as
to why someone external would be unable to connect to port 80, but
able to connect to port 22?


Are the IP's for the host and the jail on the same network?  A look 
at the relevant portions of rc.conf from both the host and the jail 
would be most helpful in troubleshooting the problem.


You'll also want to make sure that sshd in the host is being told to 
listen only to it's IP.  If you don't and there's no sshd running in 
the jail, you'll get a connection to the host instead of the jail.


-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: mysql port install

2005-09-27 Thread Glenn Dawson

At 02:19 AM 9/27/2005, eoghan wrote:

Peter Clutton wrote:


It just the way it got pasted. I grabbed it from samba (yep, got that
working :) )... theres no actual spaces in the file. Im not sure what
David means? If i run pkg_info | grep mysql i see version 4.1.14 for


  I had exactly the same problem you are having until i enabled it in
rc.conf with mysql_enable=YES .
 Every time i started the mysql-server.sh i got the socket error. As soon as
i enabled it in rc.conf , it worked fine.


I have tried this, thanks. However im getting a This: not found 
message/error. Im going to do a fresh install soon as I managed to 
mess things up badly i think :) Im getting to know more and more 
what im doing though (i think).

Thanks to everyone who replied.


You should try and solve the problem if you can.  It's the best way to learn.

Have you tried running the startup script like this:

sh /usr/local/etc/rc.d/mysql-server.sh start

-Glenn


Eoghan


---

was it the same cat? 


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


Re: Which freebsd for newer server?

2005-09-27 Thread Glenn Dawson

At 06:16 PM 9/27/2005, Jason Lieurance wrote:

Hello,

I have a dell poweredge 1425sc 1U server that's a few months old. It 
has dual zeons
w/HT. I tried at the time to install freebsd 5.3 and 5.4 on it but 
it would have a
fatal error with both randomly while running. I posted here and of 
the very few

responses to fix my problem, someone said turn off HT which did not solve the
problem. It's not any of the hardware because I loaded debian and it 
ran fine but I
want freebsd on it. I would think the lastest version 5.4 would work 
with new new
hardware but I'm thinking not and its really disappointing. Any 
suggestions for SMP

with new new hardware, 4.11 perhaps?


If you have new hardware and 5.x is giving you trouble, you're likely 
to have more trouble if you go back to 4.x.


6.0 is in beta right now.  You might want to try that and see how 
well it works on your hardware.


-Glenn



--
Jason


___
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[3]: SSI error message

2005-09-26 Thread Glenn Dawson

At 02:26 AM 9/26/2005, Gerard Seibert wrote:


Thanks, that worked. I wanted to change the format to %b %d, %Y but it
does not display. I thought about using a non breaking space %#160; but
that does not work either. If I leave any spaces in the format, it will
not display.  I will work on that problem at some future date.


If you want spaces, this will work:

!--#exec cmd=/bin/date +%m\ %d\ %y --

-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]


  1   2   3   >