(email) server connection problem : Help

2011-06-20 Thread Mark Moellering

I am Running a mail server (postfix / dovecot) on FreeBSD 8.1

I have 6 different domain names configured with 6 different ip addresses.

I cannot log into the server via either ssl for email or ssh on the two 
domains that are .org and .info

The connection is refused.  Here is an example copied from a console;

shell$ ssh -l LoginName mail.anadarkohs60.com
The authenticity of host 'mail.domain_4.com(xx.yy.zzb.174)' can't be 
established.

DSA key fingerprint is {snip}
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
shell$ ssh -l LoginName mail.domain_3.org
ssh: connect to host mail.domain_3.org port 22: Connection refused
shell$

My guess is that it might be sshguard but I see nothing in the logfiles. 
I can ping to the TLD, mx records, etc check out.  Everything works 
except for my .org and .info domain


Any help is greatly appreciated.  I hope it is one of those simple 
things I missed.


Thanks in advance

Mark Moellering
734.644.4757


Here is my hosts file;

 current version
::1 localhost
127.0.0.1   localhost   mail.main_domain.net
xx.yy.zza.69mail.main_domain.net  mail
xx.yy.zzb.100   mail.domain_1.com
xx.yy.zzb.249   mail.domain_2.com
xx.yy.zzb.62mail.domain_3.org
xx.yy.zzb.174   mail.domain_4.com
xx.yy.zzb.180   mail.domain_5.info
===
# $FreeBSD: src/etc/hosts,v 1.16.34.1.4.1 2010/06/14 02:09:06 kensmith Exp $
#
# Host Database

Here is my pf.conf

#PF Firewall Configuration File

#Definitions
interface=rl0
table attacks persist file /etc/attackers
table sshguard persist

scrub in all

#lock all traffic out of the server
block in on $interface

#block ssh and other attacks using sshguard
block in quick on $interface from sshguard to any label ssh attack

#allow ping, et al
pass in on $interface proto icmp from any to $interface

#allow in ssh , syslogd , ntp, http and https
pass in on $interface proto tcp from any to $interface port 22
pass in on $interface proto udp from any to $interface port 514
pass in on $interface proto udp from any to $interface port 123
#pass in on $interface proto tcp from any to $interface port 80
#pass in on $interface proto tcp from any to $interface port 443

# allow outgoing connections
pass out on $interface proto { tcp, udp, icmp } all keep state

# allow e-mail / smtp (port 25)
pass in on $interface proto tcp from any to $interface port 25
pass in on $interface proto tcp from any to $interface port 110
pass in on $interface proto tcp from any to $interface port 995
pass in on $interface proto tcp from any to $interface port 587
pass in on $interface proto tcp from any to $interface port 465

#Block addresses trying to break in
block drop in on $interface from attacks to any


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


Re: (email) server connection problem : Help

2011-06-20 Thread Chuck Swiger
On Jun 20, 2011, at 10:05 AM, Mark Moellering wrote:
 I cannot log into the server via either ssl for email or ssh on the two 
 domains that are .org and .info
 The connection is refused.  Here is an example copied from a console;
 
 shell$ ssh -l LoginName mail.anadarkohs60.com
 The authenticity of host 'mail.domain_4.com(xx.yy.zzb.174)' can't be 
 established.
 DSA key fingerprint is {snip}
 Are you sure you want to continue connecting (yes/no)? no
 Host key verification failed.

By telling it no here, you've instructed SSH to treat the host key as invalid; 
the connection will be closed.

 shell$ ssh -l LoginName mail.domain_3.org
 ssh: connect to host mail.domain_3.org port 22: Connection refused
 shell$

There's no such domain as mail.domain_3.org in the public DNS.

Presumably you've changed this information; all I can conclude is that 
whichever IP address the actual name resolves to isn't running SSH (or it's not 
listening on that particular IP, or a firewall is blocking it, etc).

Regards,
-- 
-Chuck

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


Re: (email) server connection problem : Help

2011-06-20 Thread Mark Moellering

On 20-Jun-11 2:00 PM, Chuck Swiger wrote:

On Jun 20, 2011, at 10:05 AM, Mark Moellering wrote:

I cannot log into the server via either ssl for email or ssh on the two domains 
that are .org and .info
The connection is refused.  Here is an example copied from a console;

shell$ ssh -l LoginName mail.anadarkohs60.com
The authenticity of host 'mail.domain_4.com(xx.yy.zzb.174)' can't be 
established.
DSA key fingerprint is {snip}
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.

By telling it no here, you've instructed SSH to treat the host key as invalid; 
the connection will be closed.


shell$ ssh -l LoginName mail.domain_3.org
ssh: connect to host mail.domain_3.org port 22: Connection refused
shell$

There's no such domain as mail.domain_3.org in the public DNS.

Presumably you've changed this information; all I can conclude is that 
whichever IP address the actual name resolves to isn't running SSH (or it's not 
listening on that particular IP, or a firewall is blocking it, etc).

Regards,


I changed it but here are the actual hostnames:

 current version
::1 localhost
127.0.0.1   localhost   mail.class-creator.net
69.41.171.69mail.class-creator.net  mail
69.41.172.100   mail.saline1990.com
69.41.172.249   mail.pioneer86.com
69.41.172.62mail.grissomhigh1981.org
69.41.172.174   mail.anadarkohs60.com
69.41.172.180   mail.porthuronhighschool.info
===

DNS checks out.
I think I am running ssl.  I am checking postfix and dovecot.  The odd 
thing is the ssh.  I looked at some old troubleshooting tips and ran 
netstat -anf inet and this is what it returned


Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
tcp4   0 52 69.41.171.69.2268.40.255.141.54052
ESTABLISHED
tcp4   0  0 69.41.171.69.3306  68.40.255.141.53928
ESTABLISHED
tcp4   0  0 69.41.171.69.3306  68.40.255.141.53927
ESTABLISHED
tcp4   0  0 69.41.171.69.3306  68.40.255.141.53925
ESTABLISHED

tcp4   0  0 *.22   *.*LISTEN
tcp4   0  0 *.587  *.*LISTEN
tcp4   0  0 *.25   *.*LISTEN
tcp4   0  0 *.995  *.*LISTEN
tcp4   0  0 *.110  *.*LISTEN
tcp4   0  0 *.3306 *.*LISTEN
udp4   0  0 127.0.0.1.123  *.*
udp4   0  0 69.41.172.180.123  *.*
udp4   0  0 69.41.172.174.123  *.*
udp4   0  0 69.41.172.62.123   *.*
udp4   0  0 69.41.172.249.123  *.*
udp4   0  0 69.41.172.100.123  *.*
udp4   0  0 69.41.171.69.123   *.*
udp4   0  0 *.123  *.*
udp4   0  0 *.514  *.*


Thanks for your help

Mark

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


Re: (email) server connection problem : Help -- SOLVED

2011-06-20 Thread Mark Moellering

I want to thank everyone who helped me with this.
It turned out that due to an administrative error, our hosting company 
had the ip addresses I was having trouble with routed to the wrong 
server.  Everything is working now.


Thanks again,

Mark Moellering
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem! Help me!

2008-04-12 Thread kostis papa
Hello,
I have a problem with installation.
I choose country, keyboard and then I can  not  continue  installation,
because  it says No disks found! Please verify that your disk controller is
being .
My pc is new (core 2 quad, sata 500-SeaGate)
I have installed the windowsXP and ubuntu-Linux (I didn't have any problem)
and I would like to install freebsd!
I have read the documentation and I don't know what can I do
Please help me!
Thank you very much!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem! Help me!

2008-04-12 Thread Matthias Apitz
El día Saturday, April 12, 2008 a las 05:25:34PM +0300, kostis papa escribió:

 Hello,
 I have a problem with installation.
 I choose country, keyboard and then I can  not  continue  installation,
 because  it says No disks found! Please verify that your disk controller is
 being .
 My pc is new (core 2 quad, sata 500-SeaGate)
 I have installed the windowsXP and ubuntu-Linux (I didn't have any problem)
 and I would like to install freebsd!
 I have read the documentation and I don't know what can I do
 Please help me!
 Thank you very much!

Look into the output of 'dmesg' of the Ubuntu to see what kind of
controller you have in that box and how the disk is seen by Ubuntu;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No disks found during install (was: Problem! Help me!)

2008-04-12 Thread Manolis Kiagias

kostis papa wrote:

Hello,
I have a problem with installation.
I choose country, keyboard and then I can  not  continue  installation,
because  it says No disks found! Please verify that your disk controller is
being .
My pc is new (core 2 quad, sata 500-SeaGate)
I have installed the windowsXP and ubuntu-Linux (I didn't have any problem)
and I would like to install freebsd!
I have read the documentation and I don't know what can I do
Please help me!
Thank you very much!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

Please try to choose an informative subject for your message.

The problem is exactly that: The disk controller is not detected (a 
suitable driver cannot be found)
Try changing some BIOS settings: New motherboards often have an AHCI 
mode for the disks. Try setting this to some other setting (like 
standard, compatible...)
It would help if you could tell us the exact name and model of the 
motherboard, someone on the list may have had some success with it and 
could share his settings.

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


Chown PRoblem..HELP PLEASE

2008-04-11 Thread Ruel Luchavez
Hi ALL,

i make a new directory in my server using mkdir [name of folder], then when
i wan to view the folder i use ll and this is the view:

drwxrwxrwx 2 root wheel 512 Apr 11 11:05 [name of folder]

when i want to change the owner[root] into a certain name (ex.ruel) using
the command:

chown -R ruel:wheel ...path/[name folder]

I allways got and error:

chown:ruel: Invalid argument

what went wrong here guys? what could be my error? can you HELP me on this?
PLEASE...

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


Re: Chown PRoblem..HELP PLEASE

2008-04-11 Thread Jon Radel
Ruel Luchavez wrote:
 Hi ALL,
 
 i make a new directory in my server using mkdir [name of folder], then when
 i wan to view the folder i use ll and this is the view:
 
 drwxrwxrwx 2 root wheel 512 Apr 11 11:05 [name of folder]
 
 when i want to change the owner[root] into a certain name (ex.ruel) using
 the command:
 
 chown -R ruel:wheel ...path/[name folder]
 
 I allways got and error:
 
 chown:ruel: Invalid argument
 
 what went wrong here guys? what could be my error? can you HELP me on this?
 PLEASE...

Before the user ruel can own a directory, the user ruel must exist.
Does he?  The command cat /etc/passwd will give you a list of every
existing user. The adduser script is useful for adding users, if this
indeed the problem.

Incidentally, I find it hard to believe that the name of your directory
is so embarrassing that you can't share it.  By sanitizing such things,
rather than reporting exactly what you typed and exactly what the
response is, you seriously risk editing out clues.  If you already knew
what was important as a clue, you probably wouldn't need to ask the
question.

--Jon Radel


smime.p7s
Description: S/MIME Cryptographic Signature


Policy Based Routing problem help me

2007-07-25 Thread Narek Gharibyan
 

Hi all,

I have a firewall/router with FreeBSD 6.2 installed on it. 2 ISP connection
and 2 LAN connections. I need to do a policy-based routing. All I need that
packets coming from one ISP interface return to that interface (incoming
connections' source based routing) and the other hand do a IP based routing
from the LAN (Some packets will goes out via ISP 1 some others via ISP 2
depending on IPs requested). I tried to do that with ipfw fwd but it didn't
work any way (e.g. with ip.forwarding enabled or no). Even I've disabled my
static routes, default gw. Just it do nothing. Sample configs are

ipfw add fwd ISP_gw from ${my lan} to any via ${eif}
ipfw add fwd ISP_gw from ${my lan} to any out via ${eif}
ipfw add fwd ISP_gw from any to any xmit ${eif}

Ipfw add fwd ISP_gw from any to any via ${eif} out

I don't use nat, proxy. Just need to route.
 

Please help

 

Regards,

Narek

 

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


Re: Policy Based Routing problem help me

2007-07-25 Thread Christopher Cowart
On Thu, Jul 26, 2007 at 01:26:17AM +0500, Narek Gharibyan wrote:
 I have a firewall/router with FreeBSD 6.2 installed on it. 2 ISP connection
 and 2 LAN connections. I need to do a policy-based routing. All I need that
 packets coming from one ISP interface return to that interface (incoming
 connections' source based routing) and the other hand do a IP based routing
 from the LAN (Some packets will goes out via ISP 1 some others via ISP 2
 depending on IPs requested). I tried to do that with ipfw fwd but it didn't
 work any way (e.g. with ip.forwarding enabled or no). Even I've disabled my
 static routes, default gw. Just it do nothing. Sample configs are
 
 ipfw add fwd ISP_gw from ${my lan} to any via ${eif}
 ipfw add fwd ISP_gw from ${my lan} to any out via ${eif}
 ipfw add fwd ISP_gw from any to any xmit ${eif}
 
 Ipfw add fwd ISP_gw from any to any via ${eif} out
 
 I don't use nat, proxy. Just need to route.

Have you compiled your kernel with the following options?
|  options IPFIREWALL_FORWARD
|  options IPFIREWALL_FORWARD_EXTENDED

I found that this kind of forwarding silently failed until I enabled the
EXTENDED option in addition to the typical option.

`man ipfw' briefly mentions these two kernel options in the fwd section.

-- 
Chris Cowart
Lead Systems Administrator
Network  Infrastructure Services, RSSP-IT
UC Berkeley


signature.asc
Description: Digital signature


Re: squid problem help

2005-10-18 Thread Ivailo Tanusheff
I suspect you are trying to run squid two times.
The second time you recieve http port is already allocated (the first 
squid) and the log file is locked (the first squid again.
If you want to use squid -k ... commands run rm 
/usr/local/squid/var/logs/squid.pid as root and restart squid :)

Ivailo Tanusheff
Senior System administrator
ProCredit Bank (Bulgaria) AD





Efren Bravo [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
10/17/2005 08:30 PM

To
freebsd-questions@freebsd.org
cc

Subject
squid problem help






Hi,

I've those errors when I try to start squid from /etc/rc.conf. I've a
squid user and group.

rc.conf
---
if [ -f /usr/local/squid/sbin/squid ]; then
echo -n ' Squid'
/usr/local/squid/sbin/squid
fi

squid.conf
--
http_port 192.168.190.10:3128 
cache_effective_user squid 
cache_effective_group squid

Console errors
--
(squid) cannot open HTTP port
(squid) cannot open /usr/local/squid/var/logs/access.log for writting, the
parent directory must be writeable for user 'squid'

Directories
---
proxy# ll /usr/local/squid/var
total 4
drwxr-xr-x  18 squid  squid  512 Oct 17 12:12 cache
drwxr-xr-x   2 squid  squid  512 Oct 17 12:10 logs

proxy# ll /usr/local/squid/var/logs
total 52
-rw-r--r--  1 squid  squid  13479 Oct 17 12:10 access.log
-rw-r--r--  1 squid  squid  15482 Oct 17 12:12 cache.log
-rw-r--r--  1 root   squid  4 Oct 17 12:12 squid.pid
-rw-r--r--  1 squid  squid  19330 Oct 17 12:10 store.log

#dmesg
pid 689 (squid), uid 2: exited on signal 6

Nevertheless the squid works, I don't understand what happens
Could you help me?

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: squid problem help

2005-10-18 Thread Efren Bravo
I suspect you are trying to run squid two times.
The second time you recieve http port is already allocated (the first
squid) and the log file is locked (the first squid again.
If you want to use squid -k ... commands run rm
/usr/local/squid/var/logs/squid.pid as root and restart squid :)

Yes, you are right, I realized I was running the squid two times, the
first as squid user and the second as root. I don't understand why it was
happening, Squid only was called from /etc/rc.conf. At the end I
reinstalled it from www/squid port as told me Andrew P. and it works
fine  
  
Thanks...


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


squid problem help

2005-10-17 Thread Efren Bravo
Hi,

I've those errors when I try to start squid from /etc/rc.conf. I've a
squid user and group.

rc.conf
---
if [ -f /usr/local/squid/sbin/squid ]; then
echo -n ' Squid'
/usr/local/squid/sbin/squid
fi

squid.conf
--
http_port 192.168.190.10:3128 
cache_effective_user squid 
cache_effective_group squid

Console errors
--
(squid) cannot open HTTP port
(squid) cannot open /usr/local/squid/var/logs/access.log for writting, the
parent directory must be writeable for user 'squid'

Directories
---
proxy# ll /usr/local/squid/var
total 4
drwxr-xr-x  18 squid  squid  512 Oct 17 12:12 cache
drwxr-xr-x   2 squid  squid  512 Oct 17 12:10 logs

proxy# ll /usr/local/squid/var/logs
total 52
-rw-r--r--  1 squid  squid  13479 Oct 17 12:10 access.log
-rw-r--r--  1 squid  squid  15482 Oct 17 12:12 cache.log
-rw-r--r--  1 root   squid  4 Oct 17 12:12 squid.pid
-rw-r--r--  1 squid  squid  19330 Oct 17 12:10 store.log

#dmesg
pid 689 (squid), uid 2: exited on signal 6

Nevertheless the squid works, I don't understand what happens
Could you help me?

Thanks


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


Re: squid problem help

2005-10-17 Thread Andrew P.
On 10/17/05, Efren Bravo [EMAIL PROTECTED] wrote:
 Hi,

 I've those errors when I try to start squid from /etc/rc.conf. I've a
 squid user and group.

 rc.conf
 ---
 if [ -f /usr/local/squid/sbin/squid ]; then
 echo -n ' Squid'
 /usr/local/squid/sbin/squid
 fi

 squid.conf
 --
 http_port 192.168.190.10:3128
 cache_effective_user squid
 cache_effective_group squid

 Console errors
 --
 (squid) cannot open HTTP port
 (squid) cannot open /usr/local/squid/var/logs/access.log for writting, the
 parent directory must be writeable for user 'squid'

 Directories
 ---
 proxy# ll /usr/local/squid/var
 total 4
 drwxr-xr-x  18 squid  squid  512 Oct 17 12:12 cache
 drwxr-xr-x   2 squid  squid  512 Oct 17 12:10 logs

 proxy# ll /usr/local/squid/var/logs
 total 52
 -rw-r--r--  1 squid  squid  13479 Oct 17 12:10 access.log
 -rw-r--r--  1 squid  squid  15482 Oct 17 12:12 cache.log
 -rw-r--r--  1 root   squid  4 Oct 17 12:12 squid.pid
 -rw-r--r--  1 squid  squid  19330 Oct 17 12:10 store.log

 #dmesg
 pid 689 (squid), uid 2: exited on signal 6

 Nevertheless the squid works, I don't understand what happens
 Could you help me?

 Thanks


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



Wow.

Have you tried installing www/squid port, adding
squid_enable=YES to /etc/rc.conf and running
/usr/local/etc/rc.d/squid.sh start?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem Help!

2005-03-23 Thread Dixit, Viraj
Hi,

In my haste I edited my rc.conf file and knowing well that if I make a mistake 
I will get hung the system at that point. I need an expert help to get me out 
of this situation. I spent days building the system, I don't want to do the 
whole thing again. I must have forgot a quote in my rc.conf file and now when 
the system got rebooted it's asking for pathaname for the shell. I am not sure 
of the next step. Help!!
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem Help!

2005-03-23 Thread Peter Risdon
On Wed, 2005-03-23 at 12:41 -0800, Dixit, Viraj wrote:
 Hi,
 
 In my haste I edited my rc.conf file and knowing well that if I make a 
 mistake I will get hung the system at that point. I need an expert help to 
 get me out of this situation. I spent days building the system, I don't want 
 to do the whole thing again. I must have forgot a quote in my rc.conf file 
 and now when the system got rebooted it's asking for pathaname for the shell. 
 I am not sure of the next step. Help!!
 Thanks

Well, while we're waiting for an expert to reply, try hitting enter when
it prompts for the pathname for a shell. You'll get the sh shell. Next
type:

mount -a

Then 

vi /etc/rc.conf

and fix the typo.

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

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


Re: Problem Help!

2005-03-23 Thread Daniel Gerzo
Hello Viraj,

Wednesday, March 23, 2005, 9:41:05 PM, you made these points:

 Hi,

 In my haste I edited my rc.conf file and knowing well that if I
 make a mistake I will get hung the system at that point. I need an
 expert help to get me out of this situation. I spent days building
 the system, I don't want to do the whole thing again. I must have
 forgot a quote in my rc.conf file and now when the system got
 rebooted it's asking for pathaname for the shell. I am not sure of
 the next step. Help!!
 Thanks

well, if you are prompted to the path name of the shell, you have to
type there full path-name e.g. /bin/sh. this is necessary to get to
the single user mode in next step. then, you will have to edit
/etc/rc.conf again and fix your typo. save  exit  reboot.

-- 
Best Regards,

+--==/\/\==--+   (__)  FreeBSD
|  DanGer [EMAIL PROTECTED]  |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
|   http://danger.rulez.sk   |  .\._/_)To
+--==\/\/==--+ Serve

[ Is baldness the sign of a man who came out on top? ]


Re: Sound problem, help.

2004-09-18 Thread Jan C. Meyer
 [...] what i wonder for is, its mention in handbook that
 it suppoze to be device sound...but sound it gives an error.

If I've understood correctly, the sound drivers have been 
renamed after 5.2.1R. Does your copy of the handbook 
correspond to 5.1R?

 and the error msg in KDE says:
 aRts control tool, (sorry- aRts had to restart)
  when i try to run the command artsd from shell, it just hang.!

It's supposed to - I was hoping you'd get some informative 
error message, but oh well...
What is the output of this, then:
artswrapper  ; artsshell status ; artsshell terminate

   I really would appreciate it if you could help :(

Can't make any promises - I'm just guessing from a hunch, 
because I used to have a superficially similar problem.

Regards,
 -Jan Christian Meyer

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


Sound problem, help.

2004-09-17 Thread Long Story
hello Everyone,
 Well, i dunt know if this is a strange problem, or only strange for me.
 Im on FreeBSD 5.1R, with kde3.3, i have read the handbook
 about enabling the sound support, and it says for 5.x systems
 we need to compile the kernel with  options sound..!
 when i do try that it gives me error that (sound) is not regonized!
 so i recompiled with options pcm!
 cdcontrol comand works from command line, and when i startx
 my kde, there is NO sound and it gives me an error says
 aRts controll error, or aRts server error. and it had to restart.
  do i need to add any more lines to my kernel?
  Why sound not working under KDE?
  any hint please?
  this is the sound output from pciconf
  [EMAIL PROTECTED]:31:5: class=0x040100 card=0x32dd4005 chip=0x24458086 rev=0x12 
hdr=0x00
   vendor   = 'Intel Corporation'
   device   = '82801BA/BAM (ICH2/ICH2-M) AC'97 Audio Controller'
   class= multimedia
   subclass = audio

 Thanks much in advance.
 marwan
_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: Sound problem, help.

2004-09-17 Thread Jan Christian Meyer
[...] so i recompiled with options pcm!
I trust that this is *device* pcm you are referring to...
[...] when i startx my kde, there is NO sound and it gives me an
error  says aRts controll error, or aRts server error.
Could you please post the entire and exact error message(s) you are 
getting? Also, what happens if you try to run artsd from a shell?

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


Re: Sound problem, help.

2004-09-17 Thread Long Story

Hello Jan,
  Yes, sorry it was ofcourse device pcm,
  but what i wonder for is, its mention in handbook that
  it suppoze to be device sound...but sound it gives an error.
  and the error msg in KDE says:
 aRts control tool, (sorry- aRts had to restart)
 when i try to run the command artsd from shell, it just hang.!
 and the output of pciconf -v -l is
 [EMAIL PROTECTED]:31:5: class=0x040100 card=0x32dd4005 chip=0x24458086 rev=0x12 
hdr=0x00
   vendor   = 'Intel Corporation'
   device   = '82801BA/BAM (ICH2/ICH2-M) AC'97 Audio Controller'
   class= multimedia
   subclass = audio

 I really would appreciate it if you could help :(
 marwan
[...] so i recompiled with options pcm!
I trust that this is *device* pcm you are referring to...
[...] when i startx my kde, there is NO sound and it gives me an
error  says aRts controll error, or aRts server error.
Could you please post the entire and exact error message(s) you are 
getting? Also, what happens if you try to run artsd from a shell?

Sincerely,
 -Jan Christian Meyer
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Then i boot FreeBSD 4.7, not work values in /etc/sysctl.confsee file - sysctl.jpg. How solve this problem? ## help me ;/

2003-03-27 Thread Martin Karlsson
* kinder2000 [EMAIL PROTECTED] [2003-03-26 23.10 +1000]:
 Hi, !

Hi,

 Then i boot FreeBSD 4.7, not work  values in  /etc/sysctl.conf
 at console i se this messages:
 
 Warring: net.ipv4.icmp_ignore_bogus_error_responses=1 does not exist
 Warring: net.ipv4.conf.all.log_martians=1 does not exist
 Warring: net.ipv4.conf.all.accept_source_route=0 does not exist
 Warring: net.ipv4.tcp_syncookies=1 does not exist
 Warring: net.ipv4.conf.all.send_redirects=0 does not exist
 Warring: net.ipv4.conf.all.accept_redirects=0 does not exist
 Warring: net.ipv4.tcp_fin_timeout=30 does not exist
 Warring: net.ipv4.tcp_keepalive_time=1800 does not exist
 Warring: net.ipv4.tcp_window_scaling=0 does not exist
 Warring: net.ipv4.tcp_sack=0 does not exist
 Warring: net.ipv4.tcp_timestamps=0 does not exist
 Warring: net.ipv4.tcp_max_syn_backlog=2048 does not exist
 Warring: net.ipv4.conf.all.forwarding=0 does not exist
 Warring: net.ipv4.icmp_echo_ignore_broadcasts=1 does not exist
 
 How solve this problem?
 I found articles about anti DoS/Flood atacks.
 But it not work ;/

Do the values to sysctl you list below exist? Have you checked?

The command sysctl -a lists all currently (non-opaque) values. Pipe it
through a pager such as less(1).

Read the sysctl(8) man-page for more info.

 sysctl.conf
 ==
 net.ipv4.conf.all.send_redirects=0
 net.ipv4.conf.all.accept_redirects=0
 net.ipv4.conf.all.accept_source_route=0
 net.ipv4.conf.all.mc_forwarding=0
 net.ipv4.icmp_echo_ignore_broadcasts=1
 net.ipv4.icmp_ignore_bogus_error_responses=1
 net.ipv4.conf.all.log_martians=1
 net.ipv4.conf.all.rp_filter=1

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


Re[2]: Then i boot FreeBSD 4.7, not work values in/etc/sysctl.conf see file - sysctl.jpg. How solve this problem? ##help me ;/

2003-03-27 Thread kinder2000
Hi, Martin!

28  2003 ., 3:53:06:

MK * kinder2000 [EMAIL PROTECTED] [2003-03-26 23.10 +1000]:
 Hi, !

MK Hi,

 Then i boot FreeBSD 4.7, not work  values in  /etc/sysctl.conf
 at console i se this messages:
 
 Warring: net.ipv4.icmp_ignore_bogus_error_responses=1 does not exist
 Warring: net.ipv4.conf.all.log_martians=1 does not exist
 Warring: net.ipv4.conf.all.accept_source_route=0 does not exist
 Warring: net.ipv4.tcp_syncookies=1 does not exist
 Warring: net.ipv4.conf.all.send_redirects=0 does not exist
 Warring: net.ipv4.conf.all.accept_redirects=0 does not exist
 Warring: net.ipv4.tcp_fin_timeout=30 does not exist
 Warring: net.ipv4.tcp_keepalive_time=1800 does not exist
 Warring: net.ipv4.tcp_window_scaling=0 does not exist
 Warring: net.ipv4.tcp_sack=0 does not exist
 Warring: net.ipv4.tcp_timestamps=0 does not exist
 Warring: net.ipv4.tcp_max_syn_backlog=2048 does not exist
 Warring: net.ipv4.conf.all.forwarding=0 does not exist
 Warring: net.ipv4.icmp_echo_ignore_broadcasts=1 does not exist
 
 How solve this problem?
 I found articles about anti DoS/Flood atacks.
 But it not work ;/

MK Do the values to sysctl you list below exist? Have you checked?

MK The command sysctl -a lists all currently (non-opaque) values. Pipe it
MK through a pager such as less(1).

MK Read the sysctl(8) man-page for more info.

 sysctl.conf
 ==
 net.ipv4.conf.all.send_redirects=0
 net.ipv4.conf.all.accept_redirects=0
 net.ipv4.conf.all.accept_source_route=0
 net.ipv4.conf.all.mc_forwarding=0
 net.ipv4.icmp_echo_ignore_broadcasts=1
 net.ipv4.icmp_ignore_bogus_error_responses=1
 net.ipv4.conf.all.log_martians=1
 net.ipv4.conf.all.rp_filter=1

MK HTH

Thank's!

I read in inet unofficial FreeBSD faq. I think author mistakes in it.

But i have questions about how to make kernel with my values? Not in
/etc/sysctl.conf? 

I compile kernel with:
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
values in sysctl is:
net.inet.ip.fw.verbose: 1
net.inet.ip.fw.verbose_limit:100

But how i can enable in kernel this value?
net.inet.tcp.syncookies: 1


sysctl -a
=

kern.ostype: FreeBSD
kern.osrelease: 4.7-RELEASE
kern.osrevision: 199506
kern.version: FreeBSD 4.7-RELEASE #0: Mon Mar 24 06:38:54 GMT 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/FOX2

kern.maxvnodes: 6663
kern.maxproc: 756
kern.maxfiles: 1512
kern.argmax: 65536
kern.securelevel: -1
kern.hostname: bsd.localdomain
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 1, tickadj = 5, profhz = 1024, stathz = 128 }
kern.posix1version: 199309
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 0
kern.boottime: { sec = 1048784896, usec = 314708 } Thu Mar 27 17:08:16 2003
kern.domainname: 
kern.osreldate: 47
kern.bootfile: /kernel
kern.maxfilesperproc: 1360
kern.maxprocperuid: 680
kern.dumpdev: 
kern.ipc.maxsockbuf: 262144
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.max_linkhdr: 16
kern.ipc.max_protohdr: 40
kern.ipc.max_hdr: 56
kern.ipc.max_datalen: 156
kern.ipc.nmbclusters: 1248
kern.ipc.semmap: 30
kern.ipc.semmni: 10
kern.ipc.semmns: 60
kern.ipc.semmnu: 30
kern.ipc.semmsl: 60
kern.ipc.semopm: 100
kern.ipc.semume: 10
kern.ipc.semusz: 92
kern.ipc.semvmx: 32767
kern.ipc.semaem: 16384
kern.ipc.shmmax: 33554432
kern.ipc.shmmin: 1
kern.ipc.shmmni: 192
kern.ipc.shmseg: 128
kern.ipc.shmall: 8192
kern.ipc.shm_use_phys: 0
kern.ipc.mbuf_wait: 32
kern.ipc.mbtypes: 15 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
kern.ipc.nmbufs: 4992
kern.ipc.mcl_pool_max: 0
kern.ipc.mcl_pool_now: 0
kern.ipc.maxsockets: 1512
kern.dummy: 0
kern.ps_strings: 3217031152
kern.usrstack: 3217031168
kern.logsigexit: 1
kern.fallback_elf_brand: -1
kern.init_path: /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall
kern.module_path: /;/boot/;/modules/
kern.acct_suspend: 2
kern.acct_resume: 4
kern.acct_chkfreq: 15
kern.cp_time: 35 0 484 12 3230
kern.timecounter.method: 0
kern.timecounter.hardware: TSC
kern.openfiles: 37
kern.kq_calloutmax: 4096
kern.ps_arg_cache_limit: 256
kern.ps_argsopen: 1
kern.randompid: 0
kern.maxusers: 46
kern.ps_showallprocs: 1
kern.shutdown.poweroff_delay: 5000
kern.shutdown.kproc_shutdown_wait: 60
kern.sugid_coredump: 0
kern.coredump: 1
kern.corefile: %N.core
kern.quantum: 10
kern.ccpu: 1948
kern.fscale: 2048
kern.devstat.numdevs: 1
kern.devstat.generation: 1
kern.devstat.version: 4
kern.disks: ad0
kern.log_wakeups_per_second: 5
kern.log_console_output: 1
kern.msgbuf: 
kern.msgbuf_clear: 0
kern.nselcoll: 0
kern.consmute: 0
kern.filedelay: 30
kern.dirdelay: 29
kern.metadelay: 28
kern.minvnodes: 1665
kern.chroot_allow_open_directories: 1
vm.loadavg: { 0.14 0.04 0.01 }
vm.v_free_min: 229
vm.v_free_target: 1028
vm.v_free_reserved: 112
vm.v_inactive_target: 1542
vm.v_cache_min: 1028
vm.v_cache_max: 2056
vm.v_pageout_free_min: 34
vm.pageout_algorithm: 0
vm.swap_enabled: 1
vm.swap_async_max: 4
vm.swap_idle_threshold1: 2
vm.swap_idle_threshold2: 10
vm.v_free_severe: 

Re: Re[2]: Then i boot FreeBSD 4.7, not work values in/etc/sysctl.conf see file - sysctl.jpg. How solve this problem? ##help me ;/

2003-03-27 Thread Martin Karlsson
* kinder2000 [EMAIL PROTECTED] [2003-03-28 11.24 +1000]:

 But i have questions about how to make kernel with my values? Not in
 /etc/sysctl.conf? 
 
 I compile kernel with:
 options IPFIREWALL
 options IPFIREWALL_VERBOSE
 options IPFIREWALL_VERBOSE_LIMIT=100
 values in sysctl is:
 net.inet.ip.fw.verbose: 1
 net.inet.ip.fw.verbose_limit:100
 
 But how i can enable in kernel this value?
 net.inet.tcp.syncookies: 1

I don't think you can, as I believe there is no such value. I'm afraid I
can't be of much help with this, but perhaps there are other options that
suit your needs? Check the file LINT which I believe you should have in
/usr/src/sys/i386/conf/ If not, you'll find it in the CVS repository,
which is browseable:
URL:http://www.freebsd.org/cgi/cvsweb.cgi/

HTH,

Martin Karlsson
-- 
The crimes hereinafter set out are punishable as crimes under;
international law: [. . .] Planning, preparation, initiation or waging
of a war of aggression or a war in violation of international treaties,
agreements or assurances; -Principles of the Nuremberg Tribunal,1950
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Then i boot FreeBSD 4.7, not work values in /etc/sysctl.conf seefile - sysctl.jpg. How solve this problem? ## help me ;/

2003-03-26 Thread kinder2000
Hi, !

Then i boot FreeBSD 4.7, not work  values in  /etc/sysctl.conf
at console i se this messages:

Warring: net.ipv4.icmp_ignore_bogus_error_responses=1 does not exist
Warring: net.ipv4.conf.all.log_martians=1 does not exist
Warring: net.ipv4.conf.all.accept_source_route=0 does not exist
Warring: net.ipv4.tcp_syncookies=1 does not exist
Warring: net.ipv4.conf.all.send_redirects=0 does not exist
Warring: net.ipv4.conf.all.accept_redirects=0 does not exist
Warring: net.ipv4.tcp_fin_timeout=30 does not exist
Warring: net.ipv4.tcp_keepalive_time=1800 does not exist
Warring: net.ipv4.tcp_window_scaling=0 does not exist
Warring: net.ipv4.tcp_sack=0 does not exist
Warring: net.ipv4.tcp_timestamps=0 does not exist
Warring: net.ipv4.tcp_max_syn_backlog=2048 does not exist
Warring: net.ipv4.conf.all.forwarding=0 does not exist
Warring: net.ipv4.icmp_echo_ignore_broadcasts=1 does not exist

How solve this problem?
I found articles about anti DoS/Flood atacks.
But it not work ;/


sysctl.conf
==
net.ipv4.conf.all.send_redirects=0
net.ipv4.conf.all.accept_redirects=0
net.ipv4.conf.all.accept_source_route=0
net.ipv4.conf.all.mc_forwarding=0
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.conf.all.log_martians=1
net.ipv4.conf.all.rp_filter=1

ifconfig -a
==
 lnc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 192.168.15.130 netmask 0xff00 broadcast 192.168.15.255
   ether 00:50:56:fa:59:0f
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00
dmesg
==
Copyright (c) 1992-2002 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 4.7-RELEASE #0: Mon Mar 24 06:38:54 GMT 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/FOX2
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 899951716 Hz
CPU: AMD Athlon(tm) Processor (899.95-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x642  Stepping = 2
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
  AMD Features=0xc044b18,AMIE,DSP,3DNow!
real memory  = 100663296 (98304K bytes)
avail memory = 95420416 (93184K bytes)
Preloaded elf kernel kernel at 0xc027a000.
Preloaded userconfig_script /boot/kernel.conf at 0xc027a09c.
Using $PIR table, 9 entries at 0xc00fdf30
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX host to PCI bridge (AGP disabled) on motherboard
pci0: PCI bus on pcib0
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: Intel 82371AB/EB (PIIX4) USB controller at 7.2 irq 9
chip1: Intel 82371AB Power management controller at device 7.3 on pci0
pci0: unknown card (vendor=0x, dev=0x) at 7.4
pci0: unknown card (vendor=0x, dev=0x) at 7.5
pci0: unknown card (vendor=0x, dev=0x) at 7.6
pci0: unknown card (vendor=0x, dev=0x) at 7.7
pci0: VGA-compatible display device at 15.0
lnc0: PCNet/PCI Ethernet adapter port 0x1080-0x109f irq 9 at device 16.0 on pci0
lnc0: PCnet-PCI II address 00:50:56:fa:59:0f
lnc0: driver is using old-style compatibility shims
orm0: Option ROMs at iomem 0xc-0xc5fff,0xdc000-0xd on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: failed to get data.
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, 
default to deny, logging limited to 5 packets/entry by default
ad0: 4095MB VMware Virtual IDE Hard Drive [8322/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a

my kernel config (1 463 754 kernel, 79RAM free after boot OS)
==

machine i386
cpu I686_CPU
ident   SELIND
maxusers0

options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SYSVSHM