Re: suggested size of /var/mail

2008-01-28 Thread Wojciech Puchar


Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?


while considered bad/dangerous/whatever i ALWAYS make only 2 partitions:

swap and root

and NEVER have problems how to size a partitions.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Byung-Hee HWANG
On Mon, 2008-01-28 at 13:56 +0800, FreeBSD Daemon wrote:
 Dear list,
 
 I am currently setting up a server which should include email service.
 
 Are there any smart ways to decide how to size /var/mail.
 I plan to put it on a seperate partition ... or shouldn't I?
 
 TIA for any related tips!

i do not have consideration for making /var/mail partition.
i just forward all mail to another place istead of /var/mail ;;

[EMAIL PROTECTED]:~ du -sh /var/mail
2.0K/var/mail

Sincerely,

--
We have the peace and let me pay my respects to Don Corleone, whom we all 
have known over the years as a man of his word.
-- Emilio Barzini, Chapter 20, page 289

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


HELP: Motherboard Selection (ASUS)

2008-01-28 Thread David Naylor
Hi,

Late last year I bought a AS US P5N-E (force 650) motherboard.  It
didn't work with FreeBSD and SUMP (I can't blame FreeBSD has Linux and
Windows struggle to run on the board, and it is riddled with bugs).

I'm now hoping to convince AS US that I need a different motherboard,
does anyone know which AS US boards work (or don't work) with FreeBSD.
 I need SLID, quad core and 4 DIM MS.

One board I was considering was the AS US P5N32-E (with force 680i).
I know there was a problem with NF (but I can live with that, if it is
not already solved).

David

P.S. Thanks for the great RELENG 7 (I especially like tmpfs and SCHED_ULE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


www/flock port fails to install

2008-01-28 Thread Chad Perrin
When I try to install the Flock browser from the www/flock port, I get
the following error messages:

  ===  flock-0.7_7 has known vulnerabilities:
  = firefox -- multiple remote unspecified memory corruption
  vulnerabilities.
 Reference:
 
http://www.FreeBSD.org/ports/portaudit/f1f6f6da-9d2f-11dc-9114-001c2514716c.html
  = Please update your ports tree and try again.
  *** Error code 1

  Stop in /usr/ports/www/flock.
  *** Error code 1

  Stop in /usr/ports/www/flock.
  ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portinstall.80063.1 env make
  ** Fix the problem and try again.

Unfortunately, it's already up to date, according to my output from
portsnap:

  # portsnap fetch update
  Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
  Fetching snapshot tag from portsnap1.FreeBSD.org... done.
  Latest snapshot on server matches what we already have.
  No updates needed.
  Ports tree is already up to date.

Am I missing something here?  Is the linux-flock port the only Flock
browser port that is currently maintained, for some reason?  Why is the
www/flock port still there if it's uninstallable without overriding dire
warnings about the End Of The World As We Know It?  Have I done something
dumb to my system so that it won't update the Flock port to a version I
can install?

I'm on FreeBSD 6.2-RELEASE for i386 on this machine.  Thanks in advance
for your time.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Patrick J. LoPresti: Emacs has been replaced by a shell script which 1)
Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk
quota by 100K; and 3) RUNS ED!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


updating phpmyadmin problem

2008-01-28 Thread Fira
Hi list,
this morning I tried to upgrade my phpmyadmin. My previous version of
phpmyadmin is 2.9.1. After csup'ing, I 'make reinstall clean' in
phpmyadmin's port location. Everything's went fine. I checked ports db and
it showed that my phpmyadmin had upgraded into 2.11.4 version :

hosting:~ = pkg_info | grep MyAdmin
phpMyAdmin-2.11.4_1 A set of PHP-scripts to manage MySQL over the web


but, when I accessed the web interface, It still showed up as phpMyAdmin
2.9.1. I still confused 'till now. What step that I've mistaken? As
information, I used the default configuration in
/usr/local/www/phpmyadmin/libraries/config.default.php, as my
config.inc.phpstill empty (fresh installation) and I don't have
anything to be overriden,
though.

Thanks a lot for your response!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Predrag Punosevac

Wojciech Puchar wrote:


Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?


Your question is too serious to be answered in an email but I give a try.
First of all I would suggest that you read the pages 25-28 of the book 
Secure Architectures with OpenBSD by Brandon Palmer and Jose Nazario as  
the partition issue is discussed in detail. There is also an excellent 
how to http://www.kernel-panic.it/openbsd/mail/
by OpenBSD users group on the topic of secure mail server (they also 
have a slue of other nice articles http://www.openbsdsupport.org/).

I personally would stick with sendmail MTA but that is your call.

No back to the question of partition.

Personally no matter what I like to have separate

/
/swap
/tmp
/var
/usr
/home

I would size them as follows if I had 20 Gb RAM. First of all I would 
leave 2-3 Gb empty in the case that I run out of memory space on any 
particular partition. You can use disklabel or system install to add 
additional disk space where needed. The rest as follows


/swap is usually 2xRAM
I would go with / with 1Gb.
1Gb /tmp
/usr maybe 2Gb depend if you are going to use only sandmail or to use 
different MTA as all the programs are installed there.
You probably need to install IMAP server, MySQL, and Squirrel .  I would 
run spam assassin and Clamav on two other separate physical boxes. 
Probably PIII that you can get for $10 are good enough for that. So you 
need to make sure that there is enough space for all the programs in  /usr


For  /home very little .

/var as much as you have left because you do not want to run out of log 
files. At least 12-13Gb on the disk size of 20Gb but the disk space is 
so cheap so I would probably go with at least 160Gb total disk space 
even for the home server. That also depends how many users you are going 
to serve. I hope somebody smarter than me help you with that part.



I would crypt at least swap. After the configuration you can edit 
/etc/fstab and actually make / only readable. You can also see what else 
can be mounted only as readable thing but now we are moving further to 
the questions of security and that is whole another book.


Kind regards,

Predrag







while considered bad/dangerous/whatever i ALWAYS make only 2 partitions:

swap and root

and NEVER have problems how to size a partitions.
___
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: passive ftp transfer with pkg_add

2008-01-28 Thread Kris Kennaway

Norman Maurer wrote:

Am Montag, den 28.01.2008, 07:19 +0100 schrieb Zbigniew Szalbot:

Hello,

I have been trying to install KDE by using pkg_add -r kde but the
download is always failing. Reading man pkg_add I see a reference to
change the FTP mode to passive if the download constantly fails.
However, man does not say which file should be edited to change it. I
tried pkgtools.conf but I have not found anything about FTP transfer
mode in there.

Can you advise which file needs to be edited?

Also:

Note: If you wish to use passive mode ftp in such transfers, set the
 variable FTP_PASSIVE_MODE to some value in your environment.

What value should be set for FTP_PASSIVE_MODE? Any value?

Many thanks!

Zbigniew Szalbot


Yes just do something like that:

# export FTP_PASSIVE_MODE=true


Note that this is set automatically for the default login class 
(/etc/login.conf).  If you are not seeing it then either that file is 
not up-to-date or your user account is not in the default login class 
(see passwd(5)).


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


RE: HELP: Motherboard Selection (ASUS)

2008-01-28 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of David Naylor
 Sent: Monday, January 28, 2008 12:21 AM
 To: freebsd-questions@freebsd.org
 Subject: HELP: Motherboard Selection (ASUS)
 
 
 Hi,
 
 Late last year I bought a AS US P5N-E (force 650) motherboard.  It
 didn't work with FreeBSD and SUMP (I can't blame FreeBSD has Linux and
 Windows struggle to run on the board, and it is riddled with bugs).
 
 I'm now hoping to convince AS US that I need a different motherboard,
 does anyone know which AS US boards work (or don't work) with FreeBSD.
  I need SLID, quad core and 4 DIM MS.
 

Why don't you ask us when you have actually managed to get AS US
convinced?  It seems to me your chances of doing this now are
gone.  The Uniform Commercial Code only requires retailers to
offer a 30 day guarentee.  Assuming late last year meant sometime
in December, you should have returned the motherboard to the
retailer weeks ago.  And, AS US has no obligation to take the
board back and supply you with a different one under their warranty.

 One board I was considering was the AS US P5N32-E (with force 680i).
 I know there was a problem with NF (but I can live with that, if it is
 not already solved).
 

I think your nuts to consider AS US again.  You got burned once by them,
do you like getting slapped upside the head repeatedly?

The best chance you have of
salvaging this train wreck is selling the motherboard on Ebay for
50 cents on the dollar, and treating it as a learning experience.

In the future, don't buy a motherboard from an online retailer
unless you know it works.  And whether you buy one from an online
retailer or a local retailer, return it as soon as you find it
doesen't work.  And of course, test that it works before the 30
day return period is up.

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


Re: HELP: Motherboard Selection (ASUS)

2008-01-28 Thread Predrag Punosevac

Ted Mittelstaedt wrote:
  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of David Naylor
Sent: Monday, January 28, 2008 12:21 AM
To: freebsd-questions@freebsd.org
Subject: HELP: Motherboard Selection (ASUS)


Hi,

Late last year I bought a AS US P5N-E (force 650) motherboard.  It
didn't work with FreeBSD and SUMP (I can't blame FreeBSD has Linux and
Windows struggle to run on the board, and it is riddled with bugs).

I'm now hoping to convince AS US that I need a different motherboard,
does anyone know which AS US boards work (or don't work) with FreeBSD.
 I need SLID, quad core and 4 DIM MS.




Why don't you ask us when you have actually managed to get AS US
convinced?  It seems to me your chances of doing this now are
gone.  The Uniform Commercial Code only requires retailers to
offer a 30 day guarentee.  Assuming late last year meant sometime
in December, you should have returned the motherboard to the
retailer weeks ago.  And, AS US has no obligation to take the
board back and supply you with a different one under their warranty.

  

One board I was considering was the AS US P5N32-E (with force 680i).
I know there was a problem with NF (but I can live with that, if it is
not already solved).




I think your nuts to consider AS US again.  You got burned once by them,
do you like getting slapped upside the head repeatedly?

The best chance you have of
salvaging this train wreck is selling the motherboard on Ebay for
50 cents on the dollar, and treating it as a learning experience.

In the future, don't buy a motherboard from an online retailer
unless you know it works. 

Ted,
I love reading your comments as you are so knowledgeable but you should 
give a brake to a poor guy. He is already traumatized

by online experience so we need to conform him.

There is nothing wrong in buying thins from online retailers as you can 
usually save 30-50% in my experience but as Ted said you have to know 
what are you buying.


Tad's idea of Ebay is almost perfect. You can also try to get a read of 
your board on the Craigslist. My advice would be that you put the

price 10%-20% bigger of what you actually pay for for the board.

If the person knows what he is doing he would not buy from Ebay or 
Craigslist anyway.
I just looked the Tuscon's Craigslist and some moron is selling a mother 
board for $50 bucks. Instead of the picture of his mother board he gave  
a link  to  the Geeks' web-site where the same mother board is clearly 
priced $33.95. Including $8 shipping, that is still cheaper
than $50 which his asking price (If I remember well arithmetic from the 
kindergarten:-) ).


Cheers,
Predrag

P. S. Ted, I am so happy you didn't make a progress with that 
anti-Serbian filter you were working on so that I can still read your 
comments and learn. Kind regards from Arizona :-)



 And whether you buy one from an online
retailer or a local retailer, return it as soon as you find it
doesen't work.  And of course, test that it works before the 30
day return period is up.

Ted
___
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: passive ftp transfer with pkg_add

2008-01-28 Thread Zbigniew Szalbot
Hi there,

2008/1/28, Kris Kennaway [EMAIL PROTECTED]:
 Norman Maurer wrote:
  Am Montag, den 28.01.2008, 07:19 +0100 schrieb Zbigniew Szalbot:
  Hello,
 
  I have been trying to install KDE by using pkg_add -r kde but the
  download is always failing. Reading man pkg_add I see a reference to
  change the FTP mode to passive if the download constantly fails.
  However, man does not say which file should be edited to change it. I
  tried pkgtools.conf but I have not found anything about FTP transfer
  mode in there.
 
  Can you advise which file needs to be edited?
 
  Also:
 
  Note: If you wish to use passive mode ftp in such transfers, set the
   variable FTP_PASSIVE_MODE to some value in your environment.
 
  What value should be set for FTP_PASSIVE_MODE? Any value?
 
  Many thanks!
 
  Zbigniew Szalbot
 
  Yes just do something like that:
 
  # export FTP_PASSIVE_MODE=true

 Note that this is set automatically for the default login class
 (/etc/login.conf).  If you are not seeing it then either that file is
 not up-to-date or your user account is not in the default login class
 (see passwd(5)).

I do not have an access to this machine right now but I would think I
should have the default login class. However, I ran pkg_add -rvK kde
and I saw that while logging to the ftp server, the mode was set to
Active because at some point I saw a message that I may want to set it
to passive (I believe it was response from the FreeBSD FTP server).

I'll check when I get home. Anyway, I could not complete the download
of qt-3.3.38.tbz if I remember correctly (and I tried many times).
Interestingly enough, when I typed wget LINK TO FILE, I downloaded it
pretty fast. I then moved the file to /var/tmp but when I ran pkg_add
-r kde, it did not seem to notice the file has been downloaded before
and stopped again.

I am going to try to install kde from an iso CD.

Am I right in thinking that installing KDE via ports would take an
awful lot of time on a humble PIII 866 512RAM machine?

Thanks again!

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


Re: HELP: Motherboard Selection (ASUS)

2008-01-28 Thread Wojciech Puchar

Ted,
I love reading your comments as you are so knowledgeable but you should give 
a brake to a poor guy. He is already traumatized

by online experience so we need to conform him.

There is nothing wrong in buying thins from online retailers as you can 
usually save 30-50% in my experience but as Ted said you have to know what 
are you buying.




what i always do when have to buy a computer is to (after getting rough 
knowledge what will work in freebsd)


a) go to the shop and say about what i want to buy, telling in advance 
that it has to run freebsd, and i want to check it before buying.


in many shops they refuse to sell at all, but there are other shops :)

b) check everything with live cd+my laptop. disks, network, etc.

c) if it work - buy it, and ONLY complete machine, not parts.


may get slightly more expensive but no problems then
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: www/flock port fails to install

2008-01-28 Thread Pieter Baele

On Mon, 2008-01-28 at 02:48 -0700, Chad Perrin wrote:
 
 I'm on FreeBSD 6.2-RELEASE for i386 on this machine.  Thanks in
 advance
 for your time.

When there are (security) vulnerabilities, ports won't install.
You can override this, but I don't remember how.
(and I don't want to know it as I trust FreeBSD package maintainers ;-)

-- 
Pieter Baele [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: www/flock port fails to install

2008-01-28 Thread Chad Perrin
On Mon, Jan 28, 2008 at 06:41:46AM -0500, Gerard wrote:
 On Mon, 28 Jan 2008 11:57:07 +0100
 Pieter Baele [EMAIL PROTECTED] wrote:
 
  
  On Mon, 2008-01-28 at 02:48 -0700, Chad Perrin wrote:
   
   I'm on FreeBSD 6.2-RELEASE for i386 on this machine.  Thanks in
   advance
   for your time.
  
  When there are (security) vulnerabilities, ports won't install.
  You can override this, but I don't remember how.
  (and I don't want to know it as I trust FreeBSD package
  maintainers ;-)
 
 Place this in the /etc/make.conf file:
 
   DISABLE_VULNERABILITIES=yes
 
 Use at your own peril.

Considering there is a version 1.0.7 of Flock, and the security warning
is for versions  1.0.2, my preference would be to simply install a
secure version (preferably without having to rely on Linux compatibility
libraries).  Is this not currently possible in FreeBSD for some reason?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Phillip J. Haack: Productivity is not about speed. It's about velocity.
You can be fast, but if you're going in the wrong direction, you're not
helping anyone.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: www/flock port fails to install

2008-01-28 Thread Gerard
On Mon, 28 Jan 2008 11:57:07 +0100
Pieter Baele [EMAIL PROTECTED] wrote:

 
 On Mon, 2008-01-28 at 02:48 -0700, Chad Perrin wrote:
  
  I'm on FreeBSD 6.2-RELEASE for i386 on this machine.  Thanks in
  advance
  for your time.
 
 When there are (security) vulnerabilities, ports won't install.
 You can override this, but I don't remember how.
 (and I don't want to know it as I trust FreeBSD package
 maintainers ;-)

Place this in the /etc/make.conf file:

DISABLE_VULNERABILITIES=yes

Use at your own peril.

-- 
Gerard
[EMAIL PROTECTED]

PARTY:
A gathering where you meet people who drink
so much you can't even remember their names.



signature.asc
Description: PGP signature


Re: suggested size of /var/mail

2008-01-28 Thread Alphons Fonz van Werven

D G Teed wrote:


What sort of server is it - MX, apache, database server,


Actually, it IS in the OP...

OP has (or wants to have) a mail server and asks for suggestions regarding
the mail spool size. Simple as that. Apache has nothing to do with it.
Whether or not to have a seperate /usr/local has nothing to do with it.
The size of /usr has... ah well, we get the picture, don't we?

As for the answer, this depends on whether or not mail quota are enforced,
how many users there are and how large you expect the average and biggest
mailboxes to be (or allow to be).

Alphons

--
VISTA - Viruses Intruders Spyware Trojans Adware

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


Re: suggested size of /var/mail

2008-01-28 Thread D G Teed
No one qualified the context of the question.  Not the OP, nor the answers.
Amateurs are you all?

Details, details, details!

Is this for home, or for a hobby site, or the real world?  What is the
volume of use?  What sort of server is it - MX, apache,
database server, America's Army run in Linux compatibility mode, etc.?

No one can answer partitioning without knowing what you are doing, and where.

If it is a personal server, with very few or only one user on it, then
you might not even need a separate partition for /var.

If it is a production server of some sort, strongly related to that
gray cloud Internet thing, then having a different
partition for /var which can fill up with space or inodes
and you can still login to the system is the best way to go.

I've seen /var fill up a few times on various servers and this is
a good measure for a vat that can take the excess and then stop.
Anyone who says they never seen a problem with this has not
run something like a web server for more than 3 years in the
real world (by this, I mean a domain name that people around the
world know of).

As for how big, no one can guess.  You have to think about it.
If you've never done this install before, perhaps you'll need to
do it twice to get the partitioning right.

It certainly isn't like Solaris, where the copies of every patch you've
ever applied are archived for eternity, consuming up to 6GB or more.

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


maildrop with mysql

2008-01-28 Thread Reinhold
Hi,

I'm trying to setup maildrop to work with my postf, dovecot and mysql mail
server.
I installed maildrop successfully.
This is what I used to install it

cd /usr/ports/mail/maildrop; make WITH_AUTHLIB=yes WITH_MAILDIRQUOTA=yes
install clean
At the blue prompt I selected mysql and it installed with out any problems.

I then edited the /usr/local/etc/authlib/authmysqlrc file and added my
mysql info to it but when I run the following I get this error

echo test | maildrop -V 5 -d [EMAIL PROTECTED]
maildrop[44965]: Temporary authentication failure.

This is what I see in my maillog file
authdaemond: stopping authdaemond children
authdaemond: modules=authmysql, daemons=5
authdaemond: Installing libauthmysql
authdaemond: Installation complete: authmysql
Temporary authentication failure.

Here is the config files for authdaemonrc and authmysqlrc
cat /usr/local/etc/authlib/authdaemonrc

authmodulelist=authmysql
authmodulelistorig=authuserdb authvchkpw authpam authldap authmysql
authpgsql
daemons=5
authdaemonvar=/var/run/authdaemond
subsystem=mail
DEBUG_LOGIN=0
DEFAULTOPTIONS=wbnodsn=1
LOGGEROPTS=


and autmysqlrc

MYSQL_SERVERlocalhost
MYSQL_USERNAME  postuser
MYSQL_PASSWORD  changedpasswd
MYSQL_PORT  3306
MYSQL_OPT   0
MYSQL_DATABASE  postfix
MYSQL_USER_TABLEmailbox
MYSQL_CRYPT_PWFIELD MD5
MYSQL_CLEAR_PWFIELD clear
MYSQL_UID_FIELD 125
MYSQL_GID_FIELD 125
MYSQL_LOGIN_FIELD   username
MYSQL_HOME_FIELD'/usr/local/virtual'
MYSQL_NAME_FIELDname
MYSQL_MAILDIR_FIELD maildir

I want to use maildrop to move all the emails that gets flagged as spam to
be moved into the Junk mail folder.

Any help will be apeaciated
Thanks
Reinhold

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


Re: IP Aliasing

2008-01-28 Thread Wojciech Puchar


I am wondering if anyone has some experience in using it, and what I
want to know

1) is there an upper limit to configuring a number of alias addresses?


no idea, i have 37 without problems.



2) if an interface is configured with an alias address, then what
address is shown on the traffic leaving this interface? So, for
example, if I were to ping this machine on its primary address, I
expect to get a response from the primary address of the interface.
What happens if I ping an alias address, would I get a response from
this alias address (as source IP on packets?), or would I get a

yes you will get from the IP you pinged.


3) In the above scenario, all traffic leaving the interface
(regardless of the source IP on it) will have the same MAC address
(the one of the interface) - is that right?


yes.



4) Does anyone know if there are there any other network
characteristics or behaviour by which we can distinguish a machine
having more than one IP address (primary plus alias) configued on one
of its interface?


it depends how services are configured.
___
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 backup the users

2008-01-28 Thread Jerry McAllister
On Sun, Jan 27, 2008 at 05:59:18PM +0200, Ivan Rambius Ivanov wrote:

 Hello,
 
 I am running a small FreeBSD server and I have a a couple of users
 ssh'ing to it. I want to wipe the server out and reinstall FreeBSD on
 it, but I want to preserve the users' credentials. Can you please
 advise me how to back them up?

Just use dump(8) to back up the filesystem with the user home directories
and also back up where-ever you have the /etc/... file tree.   It is
all in /etc/passwd, /etc/group and /etc/master.passwd, plus wherever
you put home directories.

jerry

 
 Thank you in advance.
 
 Regards
 Rambius
 
 -- 
 Tangra Mega Rock: http://www.radiotangra.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]


IP Aliasing

2008-01-28 Thread Siraj Shaikh
I have a query reagrding IP aliasing in FreeBSD. I have read up on it,
this has been helpful: http://freebsd.peon.net/tutorials/6/

I am wondering if anyone has some experience in using it, and what I
want to know

1) is there an upper limit to configuring a number of alias addresses?

2) if an interface is configured with an alias address, then what
address is shown on the traffic leaving this interface? So, for
example, if I were to ping this machine on its primary address, I
expect to get a response from the primary address of the interface.
What happens if I ping an alias address, would I get a response from
this alias address (as source IP on packets?), or would I get a
response from the primary address configured for the interface?

3) In the above scenario, all traffic leaving the interface
(regardless of the source IP on it) will have the same MAC address
(the one of the interface) - is that right?

4) Does anyone know if there are there any other network
characteristics or behaviour by which we can distinguish a machine
having more than one IP address (primary plus alias) configued on one
of its interface?

Thanks!

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


Re: Sound problems on Thinkpad T43

2008-01-28 Thread Wojciech Puchar


Installed devices:
pcm0: Intel ICH6 (82801FB) at io 0x90040800, 0x90040400 irq 22 bufsz
16384  (1p/1r/1v channels duplex default)


looks ok but check in dmesg too



My mixer settings:

Mixer vol  is currently set to  30:30
Mixer pcm  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to  25:25
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to  25:25
Mixer igainis currently set to  25:25
Mixer ogainis currently set to  50:50
Mixer line1is currently set to  75:75
Mixer phin is currently set to  25:25
Mixer phoutis currently set to  25:25
Recording source: mic


what works on my thinkpad (but not T21, too snd_ich):

Mixer vol  is currently set to  80:80
Mixer pcm  is currently set to  80:80
Mixer speaker  is currently set to  50:50
Mixer line is currently set to  75:75
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to   0:0
Mixer igainis currently set to   0:0
Mixer ogainis currently set to  50:50
Mixer line1is currently set to  75:75
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Mixer videois currently set to  75:75

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


Re: old kernel's name

2008-01-28 Thread Zbigniew Szalbot
Thank you Manolis :)

I am trying to learn FreeBSD the hard way :)

Actually, everything is OK with my system now that I can boot it but I
cannot get X11 to install. I tried pkg_add -r kde (x is allready
installed as such) but the download fails. I even tried to install it
from a CD but I get an error about some error while copying a library
to HD and the installation process could not continue. It asked me to
check some screen for debugging purposes (but it was not obvious which
screen as I was in sysinstall). I will try to reproduce the problem
and report back as soon as I finish compiling custom kernel.

Thanks!

Zbigniew Szalbot

2008/1/28, Manolis Kiagias [EMAIL PROTECTED]:
 Zbigniew Szalbot wrote:
  Dear all,
 
  While updating FreeBSD, my custom kernel file was autoamtically saved
  (backed up) and system upgraded to 6.3. sysinstall  showed me the name
  of the custom kernel (something like kernel.prev or the like) but I
  cannot remember now what it was. :(
 
  As there is no kernel in /boot I need to load the old one. But I don't
  remember its name so cannot load it...
 
  Can you help?
 
  Thanks!
 
  Zbigniew Szalbot
 
 
 I don't know if I got this correctly, but are you trying to load your
 previous kernel from the boot loader prompt?

 In this case:

 unload -- No need if you have no kernel :)
 load /boot/kernel.old/kernel
 boot

 or (assumming you got GENERIC in boot):

 load /boot/GENERIC/kernel
 boot

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


Re: updating phpmyadmin problem

2008-01-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Fira wrote:
 Hi list,
 this morning I tried to upgrade my phpmyadmin. My previous version of
 phpmyadmin is 2.9.1. After csup'ing, I 'make reinstall clean' in
 phpmyadmin's port location. Everything's went fine. I checked ports db and
 it showed that my phpmyadmin had upgraded into 2.11.4 version :
 
 hosting:~ = pkg_info | grep MyAdmin
 phpMyAdmin-2.11.4_1 A set of PHP-scripts to manage MySQL over the web
 
 
 but, when I accessed the web interface, It still showed up as phpMyAdmin
 2.9.1. I still confused 'till now. What step that I've mistaken? As
 information, I used the default configuration in
 /usr/local/www/phpmyadmin/libraries/config.default.php, as my
 config.inc.phpstill empty (fresh installation) and I don't have
 anything to be overriden,
 though.

Very odd.  Are you sure that you haven't got some other copy of phpMyAdmin
on your system somewhere that your Apache is serving up?  Or that you don't
have some sort of agressive caching or PHP acceleration getting in the way?

You can sanity check what version of phpMyAdmin is installed at
/usr/local/www/phpMyAdmin by looking for the file 'RELEASE-DATE-2.11.4'

Cheers

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHnfTb3jDkPpsZ+VYRAxopAJ91yxURWNpKo8ENV1WFZ7J+PDuYDwCdEx1h
5xj/Z8wgmxuOBLKdGKcXFdM=
=VlmV
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: name server

2008-01-28 Thread Bill Moran
In response to chloe K [EMAIL PROTECTED]:

 Hi all
 
 I am using the name server in freebsd 6.1
 there are 2G memory but top is only using
 Mem: 207M Active, 420M Inact, 185M Wired, 112M Buf, 1158M Free
 
 How can I increase the box performance used for name server only?
 I want to use most of memory in cache name server

What makes you think it needs any more memory?  A caching nameserver isn't
a terribly memory-intensive unit.  In the past, I've run quite peppy
systems on a few hundred megs of RAM.

I expect the 207M is all the system actually needs.  Even if you figure
1K per entry, that's still 200,000 names it has cached.

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


Re: old kernel's name

2008-01-28 Thread Alex Zbyslaw

Zbigniew Szalbot wrote:


I even tried to install it
from a CD but I get an error about some error while copying a library
to HD and the installation process could not continue. It asked me to
check some screen for debugging purposes (but it was not obvious which
screen as I was in sysinstall). I will try to reproduce the problem
and report back as soon as I finish compiling custom kernel.
 

IIRC, you need to press ctl-alt-f4 (three keys - just like normal vty 
switching).  You can then use scroll-lock and page-up and page-down and 
arrow keys to see what's been said that feel off the screen already.


If it's not f4 you can just try with ctl-alt-f1, f2, f3 etc until you 
find the right screen!  And one of those should take you back to the 
sysinstall normal screen.  Don't forget to hit scroll-lock again 
(assuming you hit it a first time) to turn off scrolling or the 
vty-switch may not work.


hth,

--Alex

PS Re: your earlier question, I'm pretty sure you can use ls and cd to 
see what files you have if you can't remember the name of the kernel 
directory.  Depends exactly what point your boot got too, but it sounds 
like the right place for those to work.


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


name server

2008-01-28 Thread chloe K
Hi all

I am using the name server in freebsd 6.1
there are 2G memory but top is only using
Mem: 207M Active, 420M Inact, 185M Wired, 112M Buf, 1158M Free

How can I increase the box performance used for name server only?
I want to use most of memory in cache name server


eg: increase parameter sysclt.conf

thank you so much




   
-
Looking for the perfect gift? Give the gift of Flickr!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suggested size of /var/mail

2008-01-28 Thread Jerry McAllister
On Mon, Jan 28, 2008 at 01:56:39PM +0800, FreeBSD Daemon wrote:

 Dear list,
 
 I am currently setting up a server which should include email service.
 
 Are there any smart ways to decide how to size /var/mail.
 I plan to put it on a seperate partition ... or shouldn't I?

It depends totally on how many users you will have and how much mail they
are receiving and keeping in their inboxes.I have never created a 
separate file system for /var/mail on any server.   But, I have moved
it in to my large file system where home directories are made - which
has usually been '/home' and make a symlink to it so it can grow fairly
freely and can also easily have user quotas put on it - actually on
total usage per user and still just have quotas turned on in one
filesystem.

jerry


 
 TIA for any related tips!
 
 Zheyu
 ___
 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]


libiconv-1.11_1 error while installing KDE

2008-01-28 Thread Zbigniew Szalbot
Hello,

Trying to install KDE on 6.3-RELEASE machine.

I am selecting a CDROM iso file.

I get an error message:
Add of package libiconv-1.11_1 aborted, error code 1 -  │
   │Please check the debug screen for more info.

│Loading of dependent package libiconv-1.11_1 failed

Loading of dependent package flac-1.1.2_2 failed

Loading of dependent package akode-plugins-resampler-2.0.1,1 failed

Loading of dependent package akode-2.0.1,1 failed

Same happens when I try to install gnome.

Pressing Ctrl +Alt +F* does not reveal any information. At best it
presents me with a login prompt.

Can you advise me what to do? I really want to base X11 on FreeBSD
rather than install PCBSD or something like that but I do not see how
to do it.

Could space be the problem?

$ df
/dev/ad0s1a507630  142682  32433831%/
devfs   1   1   0   100%/dev
/dev/ad0s1e   2178510  613260 139097031%/var
/dev/ad0s1d  15231278 7983978 602879857%/usr
/dev/ad3s1c   965 3408396 547165038%/files

Thanks!

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

(no subject)

2008-01-28 Thread Bhuvaneswari Ramkumar

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


Re: (no subject)

2008-01-28 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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

I guess this one those ink blot tests.

- --
Aryeh M. Friedman
FloSoft Systems, Java Tool Developers
Developer, not business, friendly
http://www.flosoft-systems.com

Free software != Free beer

Blog:
 
http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHnkqlQi2hk2LEXBARAmBAAKDhRdeEwNgQsKFF18a91Bus46mopACgkEct
f6uDtz7wYlFadB43Boq2rs0=
=qg7j
-END PGP SIGNATURE-

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


Re: name server

2008-01-28 Thread Wojciech Puchar

I am using the name server in freebsd 6.1
there are 2G memory but top is only using
Mem: 207M Active, 420M Inact, 185M Wired, 112M Buf, 1158M Free

How can I increase the box performance used for name server only?
I want to use most of memory in cache name server


i don't think it will be any noticable difference between this box and 
pentium-100 with 64MB RAM ;)


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


Re: old kernel's name

2008-01-28 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Dear all,

While updating FreeBSD, my custom kernel file was autoamtically saved
(backed up) and system upgraded to 6.3. sysinstall  showed me the name
of the custom kernel (something like kernel.prev or the like) but I
cannot remember now what it was. :(

As there is no kernel in /boot I need to load the old one. But I don't
remember its name so cannot load it...

Can you help?

Thanks!

Zbigniew Szalbot

  
I don't know if I got this correctly, but are you trying to load your 
previous kernel from the boot loader prompt?


In this case:

unload -- No need if you have no kernel :)
load /boot/kernel.old/kernel
boot

or (assumming you got GENERIC in boot):

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


Re: Outgoing FTP connections with pf and ftp-proxy

2008-01-28 Thread Jonathan Horne
On Sunday 27 January 2008 03:31:21 pm NetOpsCenter wrote:
 Matthias Kellermann wrote:
  Hi list,
 
  I'm trying to get outgoing FTP sessions to work with pf and
  ftp/ftp-proxy in a NAT environment.
 
  My simple config on a test machine looks like this:
  --
  int_if = rl0
  localnet = 192.168.0.0/24
  tcp_services = { ssh, domain, www, https, ftp }
  udp_services = { domain }
 
  nat on $int_if from $localnet to any - ($int_if)
 
  rdr pass proto tcp from any to any port ftp - 127.0.0.1 port 8021
 
  block all
 
  pass from $localnet to any keep state
  pass proto udp to any port $udp_services keep state
 
  pass out proto tcp to any port $tcp_services keep state
 
  pass in proto tcp from any to any user proxy keep state
  pass in proto tcp from any to any port ssh keep state
  --
 
  FTP login works fine. But if I want to do a ls on the FTP server I get
  the following error on the client (no matter if NAT client or gateway):
 
  425 Failed to establish connection.
 
  Any idea whats wrong with my setup?
 
  Thanks,
  Matthias

 Aloha Matthias,

 I am having the same ftp problem on  servers that are on  an ATM 5 IP
 circuit.  There is no NAT involved with one of these. The outbound FTP
 goes out but I cant get the files to list when I go  inbound  from
 outside on an recognized IP.
 SSH on the same box works fine.
 It would make my day to get this working.

  ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
   + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
 All that's really worth doing is what we do for others.- Lewis Carrol


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

what about adding port 20 to your tcp_services definition (or perhaps pf will 
accept the word 'ftp-data') ?

hth,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd08 [EMAIL PROTECTED] dfwlp.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: www/flock port fails to install

2008-01-28 Thread Warren Block

On Mon, 28 Jan 2008, Gerard wrote:

On Mon, 28 Jan 2008 11:57:07 +0100
Pieter Baele [EMAIL PROTECTED] wrote:

On Mon, 2008-01-28 at 02:48 -0700, Chad Perrin wrote:


I'm on FreeBSD 6.2-RELEASE for i386 on this machine.  Thanks in
advance for your time.


When there are (security) vulnerabilities, ports won't install.
You can override this, but I don't remember how.
(and I don't want to know it as I trust FreeBSD package
maintainers ;-)


Place this in the /etc/make.conf file:

DISABLE_VULNERABILITIES=yes

Use at your own peril.


You might find an unsecure port has been installed without realizing it. 
That much peril isn't necessary.


If you must install a port with security vulnerabilities, you can define 
the flag on the command line at that time and only for that port:


make -DDISABLE_VULNERABILITIES install

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


old kernel's name

2008-01-28 Thread Zbigniew Szalbot
Dear all,

While updating FreeBSD, my custom kernel file was autoamtically saved
(backed up) and system upgraded to 6.3. sysinstall  showed me the name
of the custom kernel (something like kernel.prev or the like) but I
cannot remember now what it was. :(

As there is no kernel in /boot I need to load the old one. But I don't
remember its name so cannot load it...

Can you help?

Thanks!

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


Re: maildrop with mysql

2008-01-28 Thread Reinhold
To answer my own question, I had the authmysqlrc file set up wrong.

Its working now


On Mon, January 28, 2008 13:06, Reinhold wrote:
 Hi,


 I'm trying to setup maildrop to work with my postf, dovecot and mysql
 mail server. I installed maildrop successfully.
 This is what I used to install it


 cd /usr/ports/mail/maildrop; make WITH_AUTHLIB=yes WITH_MAILDIRQUOTA=yes
 install clean At the blue prompt I selected mysql and it installed with
 out any problems.

 I then edited the /usr/local/etc/authlib/authmysqlrc file and added my
 mysql info to it but when I run the following I get this error

 echo test | maildrop -V 5 -d [EMAIL PROTECTED] maildrop[44965]: Temporary
 authentication failure.

 This is what I see in my maillog file
 authdaemond: stopping authdaemond children
 authdaemond: modules=authmysql, daemons=5
 authdaemond: Installing libauthmysql
 authdaemond: Installation complete: authmysql
 Temporary authentication failure.


 Here is the config files for authdaemonrc and authmysqlrc
 cat /usr/local/etc/authlib/authdaemonrc

 authmodulelist=authmysql authmodulelistorig=authuserdb authvchkpw
 authpam authldap authmysql authpgsql daemons=5
 authdaemonvar=/var/run/authdaemond subsystem=mail DEBUG_LOGIN=0
 DEFAULTOPTIONS=wbnodsn=1
 LOGGEROPTS=



 and autmysqlrc

 MYSQL_SERVERlocalhost
 MYSQL_USERNAME  postuser
 MYSQL_PASSWORD  changedpasswd
 MYSQL_PORT  3306
 MYSQL_OPT   0
 MYSQL_DATABASE  postfix
 MYSQL_USER_TABLEmailbox
 MYSQL_CRYPT_PWFIELD MD5
 MYSQL_CLEAR_PWFIELD clear
 MYSQL_UID_FIELD 125
 MYSQL_GID_FIELD 125
 MYSQL_LOGIN_FIELD   username
 MYSQL_HOME_FIELD'/usr/local/virtual'
 MYSQL_NAME_FIELDname
 MYSQL_MAILDIR_FIELD maildir


 I want to use maildrop to move all the emails that gets flagged as spam
 to be moved into the Junk mail folder.

 Any help will be apeaciated
 Thanks
 Reinhold


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


Sound problems on Thinkpad T43

2008-01-28 Thread Alex Kloss
Hello all,

I have FreeBSD 6.3-STABLE running on a Thinkpad T43. It works
wonderfully, I love it so far. The only problem is that I can't get my
sound card to output any sound.

This is what pciconf says:

[EMAIL PROTECTED]:30:2:class=0x040100 card=0x05671014 chip=0x266e8086
rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = 'Intel Corporation  82830M/MG SDRAM Controller / Ho
AC '97 Audio Controller/ Sigmatel (SoundMAX Integrated Digital Audio)'
class  = multimedia
subclass   = audio

Now, the handbook says that this card is supported by the snd_ich
module. I first tried loading this module, but I couldn't get any
sound out of it at all. Then, I tried statically-compiling the module
into the kernel. This also didn't work.

I'm at a complete loss. Every resource I've found says that snd_ich
should support this card. In fact, I know that it supports the card,
because /dev/sndstat says so:

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Intel ICH6 (82801FB) at io 0x90040800, 0x90040400 irq 22 bufsz
16384  (1p/1r/1v channels duplex default)

My mixer settings:

Mixer vol  is currently set to  30:30
Mixer pcm  is currently set to  75:75
Mixer line is currently set to  75:75
Mixer mic  is currently set to  25:25
Mixer cd   is currently set to  75:75
Mixer rec  is currently set to  25:25
Mixer igainis currently set to  25:25
Mixer ogainis currently set to  50:50
Mixer line1is currently set to  75:75
Mixer phin is currently set to  25:25
Mixer phoutis currently set to  25:25
Recording source: mic

And uname -a:

FreeBSD mephistophilis 6.3-STABLE FreeBSD 6.3-STABLE #5: Sun Jan 20
14:00:12 EST 2008
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/MEPHISTOPHILIS  i386

(Apologies for the line-wrapping. GMail doesn't seem to play nicely
with long lines)

I've tried doing `cat somefile  /dev/dsp` to no avail, as per the
handbook. I've also used Mplayer on some MP3s I have, but this also
does not work.

Has anyone seen this problem before, or know how to fix it? I would
really love to keep using FreeBSD as a desktop machine, but I might
have to use Linux again if I can't get my sound working.

Thanks!

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


Re: Huawei 3g Modem

2008-01-28 Thread John Nielsen

Quoting David Schulz [EMAIL PROTECTED]:
i have a Huawei EC-325 Modem which is connected to my Computer 
running  FreeBSD 6.3 with a mini-USB Cable, and supposedly is 
supported by the  ubsa driver, as described here 
http://www.freebsd.org/cgi/man.cgi?query=ubsasektion=4manpath=FreeBSD+6.3-RELEASE 
.


I modified my /boot/loader.conf to yield the following:
ubsa_load=YES
ucom_load=YES

After rebooting, kldstat shows the above modules loaded.

When i re-insert my Huawei Modem, dmesg displays:
ucom0: Huawei Technologies Huawei Mobile, rev 1.01/0.00, addr 2


So the driver is attaching. That's good.


My ppp.conf looks like this:
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

set device /dev/cuaU0
set speed 230400
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\\ AT OK-AT-OK ATFE0V1X1D2C1S0=0 OK \\dATDT\\T TIMEOUT  
40 CONNECT

set timeout 180# 3 minute idle timer (the  default)
enable dns # request DNS info (for  resolv.conf)

three:
set phone \#77


Are you sure it's not #777?


set authname card
set authkey card
disable ipv6cp
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR

But when i run ppp -ddial three , ppp.log reports this output:

Jan 28 15:32:57 testbed ppp[824]: Phase: Using interface: tun0
Jan 28 15:32:57 testbed ppp[824]: Phase: deflink: Created in closed  state
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: ident user- 
ppp VERSION (built COMPILATIONDATE)
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set device 
/ dev/cuaU0

Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set speed  230400
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set dial  
ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5AT OK-AT-OK  
ATFE0V1X1D2C1S0=0 OK \dATDT\T TIMEOUT 40 CONNECT

Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set timeout  180
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: enable dns
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set phone #77
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authname  card
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authkey  
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: disable ipv6cp
Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set ifaddr  
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0

Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: add default  HISADDR
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: PPP Started (ddial mode).
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: bundle: Establish
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: closed -  opening
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: Connected!
Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: opening - dial
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Phone: #77
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: AT^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: ^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send:  ATFE0V1X1D2C1S0=0^M
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK
Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received:  
ATFE0V1X1D2C1S0=0^M^M

Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M


This all looks great and indicates that communication with the modem is 
indeed happening.



Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: ATDT#77^M
Jan 28 15:32:59 testbed ppp[825]: tun0: Chat: Expect(40): CONNECT
Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: ^M
Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: NO CARRIER^M
Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: Chat script failed
Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: dial - hangup
Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to  
set physical to speed 0

Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: Disconnected!
Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to  
set physical to speed 0
Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Connect time: 
 17 secs: 0 octets in, 0 octets out
Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: 0 packets in, 
 0 packets out
Jan 28 15:33:14 testbed ppp[825]: tun0: Phase:  total 0 bytes/sec,  
peak 0 bytes/sec on Mon Jan 28 15:32:57 2008

Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: hangup -  opening
Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Enter pause  
(30) for redialing.


Obviously things start to go south here, but it could just be a matter 
of tuning your ppp setup and verifying all your information. Running 
ppp in the foreground with a manual terminal session is a good place to 
start troubleshooting.


Additionally, after running ppp -ddial three, 

Re: suggested size of /var/mail

2008-01-28 Thread D G Teed
Oh, so there is no MX involved?  It just arrives from an external MX?
Or not?  Or are they using Cyrus?  Or not?  20 users?  15,000 users?
Should it be on a storage system capable of future expansion?

See what I mean?

On Jan 28, 2008 8:25 AM, Alphons Fonz van Werven
[EMAIL PROTECTED] wrote:
 D G Teed wrote:

  What sort of server is it - MX, apache, database server,

 Actually, it IS in the OP...

 OP has (or wants to have) a mail server and asks for suggestions regarding
 the mail spool size. Simple as that. Apache has nothing to do with it.
 Whether or not to have a seperate /usr/local has nothing to do with it.
 The size of /usr has... ah well, we get the picture, don't we?

 As for the answer, this depends on whether or not mail quota are enforced,
 how many users there are and how large you expect the average and biggest
 mailboxes to be (or allow to be).

 Alphons

 --
 VISTA - Viruses Intruders Spyware Trojans Adware


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


Re: Network configuration in FreeBSD

2008-01-28 Thread Nerius Landys

 I'm a newbie FreeBSD user, I've just installed the 5.5 version.
 I know this is a very silly question but I've searched the archives and
 any
 suggestions are welcome.

 I think my system is not connected to the internet or any external
 network,
 ping dosent work ( nor ftp or dig)

 When I try to do a post-install configuration and choose to enable the
 inetd
 daemon option from the sysinstall, it doesnt invoke the editor to change
 the
 inetd.conf at all, so I did a root-login and enabled ftp, even pftp and
 other services in the file as mentioned in the installation document.

 But still I'm unable to ftp to any server, the message I get is ftp:
 hostname or servname not known or not provided.

 Do you guys have any ideas ?


The standard install should have asked you if you want to configure your
network device.  The questions it would ask is which device to configure,
and whether to try to configure DHCP, and whether to try to configure IPv6.
It would then ask you, during install, whether to try to bring up the
network interface now?

If these questions were not part of the install, then something is not
right, and someone else on this board might help you.  My guess (I'm a
newbie too) is that perhaps the network device was not recognized by FreeBSD
5.5?

It's always possible to do network configuration post-install.  I'd find
some documentation on that in the handbook.  I think the file that
configures the network is rc.local or something.  But first make sure the
kernel recognized the network device.  You might have to put something in
/boot/loader.conf to load a kernel module for your network device?  But
inetd and ftp server and what not have nothing to do with your network
actually working, so you were barking up the wrong tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
Hi,

I'm a newbie FreeBSD user, I've just installed the 5.5 version.
I know this is a very silly question but I've searched the archives and any
suggestions are welcome.

I think my system is not connected to the internet or any external network,
ping dosent work ( nor ftp or dig)

When I try to do a post-install configuration and choose to enable the inetd
daemon option from the sysinstall, it doesnt invoke the editor to change the
inetd.conf at all, so I did a root-login and enabled ftp, even pftp and
other services in the file as mentioned in the installation document.

But still I'm unable to ftp to any server, the message I get is ftp:
hostname or servname not known or not provided.

Do you guys have any ideas ?

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


add your function

2008-01-28 Thread eyup yavas
add your fucntion (windows server and windows xp high speed internet connect
and internet speed highlist


http://www.raspppoe.com (new ppoe standart

Read   (Faq) read

free bsd web server supported function  thanxs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vista / FreeBSD dual boot

2008-01-28 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Siraj Shaikh wrote:
 I have got a machine which came with Vista pre-installed. Now I
 would like to install FreeBSD on it, and so that I can dual boot
 between the two.

 The machine did come with a rescue CD which has an image of Vista
 on it. I tried installing FreeBSD (Vista was already installed),
 but then got a problem with the boot loader I think. I could boot
 to FreeBSD fine, but couldnt to Vista. So I have reimaged the
 machine with Vista now.

 How do I go about installing FreeBSD (6.3) on it now? Anyone has
 done this already please?

Here is the procedure I used:

1. With fdisk write down the exact parameters of your FreeBSD and
vista parition s(start/end/size)
2. Nuke all your partitions (vista insists on it)
3. Install vista (set the size equal to your vista partion [note it
*MUST* be the first partition on the first boot device])
4. Download and install ezbcd on vista
5. Use the rescue CD to create the freebsd partition again
6. Reboot in vista and use ezbcd to create the correct boot records.

- --
Aryeh M. Friedman
FloSoft Systems, Java Tool Developers
Developer, not business, friendly
http://www.flosoft-systems.com

Free software != Free beer

Blog:
 
http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHnlPlQi2hk2LEXBARArPfAJ4/Vo4KoGEc5hA4J4y9kwyI9XPXFwCfRUew
mwURyDfHyCQNh1jfyXPROJU=
=vGRH
-END PGP SIGNATURE-

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


Vista / FreeBSD dual boot

2008-01-28 Thread Siraj Shaikh
I have got a machine which came with Vista pre-installed. Now I would
like to install FreeBSD on it, and so that I can dual boot between the
two.

The machine did come with a rescue CD which has an image of Vista on
it. I tried installing FreeBSD (Vista was already installed), but then
got a problem with the boot loader I think. I could boot to FreeBSD
fine, but couldnt to Vista. So I have reimaged the machine with Vista
now.

How do I go about installing FreeBSD (6.3) on it now? Anyone has done
this already please?

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


machine migration from 5.3 to 6.3

2008-01-28 Thread Josh Tremor
Okay, I had a freshly installed 6.3 on a machine (thanks Derek
Ragona), and my intention is to use this new installation as a direct
replacement of an older 5.3 box.  This means using the same host name,
IP address, and services.  I want to make sure I've crossed all the
t's.

I installed ilohamail and since I'm using mysql for the database, I
need to bring over the tables.  So I use mysqladmin to copy all
databases and their tables from the old box and restore them on my new
box.

Copy over my users' home directories, and copy the /etc/master.passwd
and /etc/passwd files.

I need to bring over the old httpd.conf file so my virtual hosts are
preserved.  Also bring over the related directories with content.

Run #hostname new.name to change the hostname, and edit the
/etc/rc.conf file to make the change permanent.  Edit the /etc/hosts
file also, or copy over the old one.

To change the address, vi the /etc/rc.conf file to edit the if_config
lines (disconnect the old box from the network, first) and run
#/etc/netstart

Now I'm really unsure of this step:  since this box is an important
dns host, couldn't I copy the entre /var/named structure over?  Or is
is best to create fresh ones?  It was well over two years ago when I
set bind/rndc up, and I remember not enjoying that.  I was hoping to
use the same zone records.


I'm the only one who ssh's in, so I don't care about those keys, but
my main concern is to have the mail/dns flowing the way it was before.
 The mail is handled by a third party's (Sophos) own postfix
implementation, and they have their own postgres database.

Is there anything I've missed, or am way off on?  Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network configuration in FreeBSD

2008-01-28 Thread Christopher Cowart
On Mon, Jan 28, 2008 at 04:29:49PM -0500, Bhuvaneswari Ramkumar wrote:
 I'm a newbie FreeBSD user, I've just installed the 5.5 version.
 I know this is a very silly question but I've searched the archives and any
 suggestions are welcome.
 
 I think my system is not connected to the internet or any external network,
 ping dosent work ( nor ftp or dig)
 
 When I try to do a post-install configuration and choose to enable the inetd
 daemon option from the sysinstall, it doesnt invoke the editor to change the
 inetd.conf at all, so I did a root-login and enabled ftp, even pftp and
 other services in the file as mentioned in the installation document.

This file affects running an ftp server, not an ftp client from the
command line.

 But still I'm unable to ftp to any server, the message I get is ftp:
 hostname or servname not known or not provided.
 
 Do you guys have any ideas ?

Send the list the output of the following commands:
# ifconfig -a
# netstat -rn

With that info, we can probably help you out better.

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


pgpdTB3co0zcU.pgp
Description: PGP signature


Kernel crash: doadump () at pcpu.h:165

2008-01-28 Thread Carey Jones

Hello,

I have been getting occasional reboots on my FreeBSD 6-STABLE  
machine.  I haven't figured out a pattern on it yet, but the most  
recent crash was during some pretty heavy NFS usage, and I see nfsd in  
the dump, so perhaps that has something to do with it.  Could anyone  
assist in deciphering the cause of this?  This is the first time it's  
crashed on me once I enabled debugging, so I can't say for sure  
whether or not this is common to all of them.


Thanks,


 -c

[EMAIL PROTECTED] ~ % uname -a
FreeBSD ark.bluetonic.org 6.3-STABLE FreeBSD 6.3-STABLE #4: Wed Jan 23  
19:10:47 CST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARK   
i386


[EMAIL PROTECTED] ...src/sys/ARK # kgdb kernel.debug /var/crash/vmcore.0
kgdb: kvm_nlist(_stopped_cpus):
kgdb: kvm_nlist(_stoppcbs):
[GDB will not be able to debug user-mode threads: /usr/lib/ 
libthread_db.so: Unde

fined symbol ps_pglobal_lookup]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and  
you are
welcome to change it and/or distribute copies of it under certain  
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for  
details.

This GDB was configured as i386-marcel-freebsd.

Unread portion of the kernel message buffer:
panic: free: address 0xca0f6300(0xca0f6000) has not been allocated.

Uptime: 18h38m31s
Dumping 1279 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 1279MB (327408 pages) 1263 1247 1231 1215 1199 1183 1167  
1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959 943 927  
911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655  
639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383  
367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95  
79 63 47 31 15


#0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc0553a74 in boot (howto=260) at /usr/src/sys/kern/ 
kern_shutdown.c:409

#2  0xc0553da6 in panic (
fmt=0xc0744037 free: address %p(%p) has not been allocated.\n)
at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xc0545ab5 in free (addr=0xca0f6300, mtp=0x0)
at /usr/src/sys/kern/kern_malloc.c:374
#4  0xc06701f3 in nfssvc_nfsd (td=0x0)
at /usr/src/sys/nfsserver/nfs_syscalls.c:544
#5  0xc066f455 in nfssvc (td=0xc522e300, uap=0xed9ced04)
at /usr/src/sys/nfsserver/nfs_syscalls.c:181
#6  0xc0711332 in syscall (frame=
  {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 0, tf_esi = 0,  
tf_ebp = -1077941464, tf_isp = -308482716, tf_ebx = 0, tf_edx =  
-1077936144, tf_ecx = 2, tf_eax = 155, tf_trapno = 12, tf_err = 2,  
tf_eip = 671902679, tf_cs = 51, tf_eflags = 582, tf_esp = -1077941492,  
tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:984
#7  0xc06fb5ef in Xint0x80_syscall () at /usr/src/sys/i386/i386/ 
exception.s:200

#8  0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 
___

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


Re: Network configuration in FreeBSD

2008-01-28 Thread Jerry McAllister
On Mon, Jan 28, 2008 at 04:29:49PM -0500, Bhuvaneswari Ramkumar wrote:

 Hi,
 
 I'm a newbie FreeBSD user, I've just installed the 5.5 version.
 I know this is a very silly question but I've searched the archives and any
 suggestions are welcome.
 
 I think my system is not connected to the internet or any external network,
 ping dosent work ( nor ftp or dig)
 
 When I try to do a post-install configuration and choose to enable the inetd
 daemon option from the sysinstall, it doesnt invoke the editor to change the
 inetd.conf at all, so I did a root-login and enabled ftp, even pftp and
 other services in the file as mentioned in the installation document.
 
 But still I'm unable to ftp to any server, the message I get is ftp:
 hostname or servname not known or not provided.
 
 Do you guys have any ideas ?

Well, the first thing is to learn about 'ifconfig'
Start with the handbook and the man pages.
From there, you will branch out to other network documentation.

Anyway, it sounds like you did not configure or start any
network device (NIC - Network Interface Card).

jerry

 
 Thanks
 Bhuvana
 ___
 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: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
ifconfig -a

em0:  flags ...lot of data .
status: active

( I'm guessing this is the ethernet interface)


netstat -rn

routing tables:
Internet :
127.0.0.1  ..followed by some IPs, flags(UH), etc ..

Internet6
expire followed by some hex-values and flags


would this do or more specifics needed ?



On Mon, Jan 28, 2008 at 4:42 PM, Christopher Cowart 
[EMAIL PROTECTED] wrote:

 On Mon, Jan 28, 2008 at 04:29:49PM -0500, Bhuvaneswari Ramkumar wrote:
  I'm a newbie FreeBSD user, I've just installed the 5.5 version.
  I know this is a very silly question but I've searched the archives and
 any
  suggestions are welcome.
 
  I think my system is not connected to the internet or any external
 network,
  ping dosent work ( nor ftp or dig)
 
  When I try to do a post-install configuration and choose to enable the
 inetd
  daemon option from the sysinstall, it doesnt invoke the editor to change
 the
  inetd.conf at all, so I did a root-login and enabled ftp, even pftp and
  other services in the file as mentioned in the installation document.

 This file affects running an ftp server, not an ftp client from the
 command line.

  But still I'm unable to ftp to any server, the message I get is ftp:
  hostname or servname not known or not provided.
 
  Do you guys have any ideas ?

 Send the list the output of the following commands:
 # ifconfig -a
 # netstat -rn

 With that info, we can probably help you out better.

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

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


Re: Network configuration in FreeBSD

2008-01-28 Thread Wojciech Puchar

I'm a newbie FreeBSD user, I've just installed the 5.5 version.
I know this is a very silly question but I've searched the archives and any
suggestions are welcome.


RTFM

begin with

/usr/share/doc/en_US.ISO8859-1/books/handbook/handbook.txt (or html what 
you prefer)



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


Re: restore(1) dumpfile to directory rather than filesystem -- possible? -- SOLVED

2008-01-28 Thread C Thala
 However, I don't have an actual live filesystem available to test this
 oncan I just restore to a directory on an existing fs to be sure?
 Is this even possible?

Never mind...to answer my own question, I had to use the add feature
in the interactive shell, i.e.:

$ restore -i -f dump
restore  add etc
restore  extract
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network configuration in FreeBSD

2008-01-28 Thread Brian

Bhuvaneswari Ramkumar wrote:

Hi,

I'm a newbie FreeBSD user, I've just installed the 5.5 version.
I know this is a very silly question but I've searched the archives and any
suggestions are welcome.

I think my system is not connected to the internet or any external network,
ping dosent work ( nor ftp or dig)

When I try to do a post-install configuration and choose to enable the inetd
daemon option from the sysinstall, it doesnt invoke the editor to change the
inetd.conf at all, so I did a root-login and enabled ftp, even pftp and
other services in the file as mentioned in the installation document.

But still I'm unable to ftp to any server, the message I get is ftp:
hostname or servname not known or not provided.

Do you guys have any ideas ?

Thanks
Bhuvana
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
Interesting that you chose 5.5 for a new install, most anyone would 
recommend something newer.  Having said that, is the ether interface 
enabled?  If you run sysinstall, and select post install config, then 
networking, then the interface in question, try to view/config it based 
on the parameters your isp gave you.  When you're done you should see 
some lines in /etc/rc.conf specific to your config.  Be careful with 
this file.



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


Re: (no subject)

2008-01-28 Thread Alphons Fonz van Werven

Aryeh M. Friedman wrote:


I guess this one those ink blot tests.


Nah. It's the Texas office of the FBI, trying to figure out if there
really isn't anything satanical about FreeBSD...

Alphons

--
VISTA - Viruses Intruders Spyware Trojans Adware

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


Re: redundancy in domain or hostname ?

2008-01-28 Thread Derek Ragona

At 06:36 PM 1/26/2008, Walter Jansen wrote:

The router connected to my server reports DNS inquiries like
myserver.example.com.example.com which obviously leads nowhere



The server is in a SOHO situation connected to a router which is connected
to DSL; the server runs 6.3 Release and will serve as mailserver for the few
in-house employees  and as a webserver. The domain example.com is
registered with Dyndns.org who also run the Custom DNS service.  The DNS
entries were checked with Dyndns.org staff and found in accordance with the
purpose.

During installation  of the server, the hostname myserver.example.com and
the domain name example.com were entered in the appropiate Sysinstall
dialog

.

/etc/hosts shows:



::1 localhost.example.com localhost

127.0.0.1   localhost.example.com localhost

192.168.1.13myserver.example.com myserver

192.168.1.13myserver.example.com.



192.168.1.13 is allocated to the server by the DHCP of the router; this IP
address is fixed though!!





Table /etc/resolv.com reads:



domain  example.com

nameserver  192.168.1.1  (my router's IP address





I postponed installation of Postfix and Apache as I feel that host- and
domainname should be configured correctly to prevent accumulating trouble.



Remarks a most appreciated.


The extra entries in /etc/hosts are for both IP6 and IP4 the hostname entry 
with the trailing dot: myserver.example.com. denotes it as a fully 
qualified domain name, FQDN.


If hostname shows the correct hostname with one domain, the problem is else 
ware.  If it is else ware, I suspect your router is adding the example.com 
to every lookup.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
I'm guessing it does detect the interface, network-device  all that, bcos
my ifconfig says the ethernet status is active. But still I'm unable to do
any kind of networking at all, even pings from other PCs to this one remain
unreachable. I'm wondering if I should configure something else in the
sysinstall or the rc.conf file.


On Mon, Jan 28, 2008 at 6:18 PM, Bhuvaneswari Ramkumar [EMAIL PROTECTED]
wrote:

 ifconfig -a

 em0:  flags ...lot of data .
 status: active

 ( I'm guessing this is the ethernet interface)


 netstat -rn

 routing tables:
 Internet :
 127.0.0.1  ..followed by some IPs, flags(UH), etc ..

 Internet6
 expire followed by some hex-values and flags


 would this do or more specifics needed ?




 On Mon, Jan 28, 2008 at 4:42 PM, Christopher Cowart 
 [EMAIL PROTECTED] wrote:

  On Mon, Jan 28, 2008 at 04:29:49PM -0500, Bhuvaneswari Ramkumar wrote:
   I'm a newbie FreeBSD user, I've just installed the 5.5 version.
   I know this is a very silly question but I've searched the archives
  and any
   suggestions are welcome.
  
   I think my system is not connected to the internet or any external
  network,
   ping dosent work ( nor ftp or dig)
  
   When I try to do a post-install configuration and choose to enable the
  inetd
   daemon option from the sysinstall, it doesnt invoke the editor to
  change the
   inetd.conf at all, so I did a root-login and enabled ftp, even pftp
  and
   other services in the file as mentioned in the installation document.
 
  This file affects running an ftp server, not an ftp client from the
  command line.
 
   But still I'm unable to ftp to any server, the message I get is ftp:
   hostname or servname not known or not provided.
  
   Do you guys have any ideas ?
 
  Send the list the output of the following commands:
  # ifconfig -a
  # netstat -rn
 
  With that info, we can probably help you out better.
 
  --
  Chris Cowart
  Network Technical Lead
  Network  Infrastructure Services, RSSP-IT
  UC Berkeley
 


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


Re: Vista / FreeBSD dual boot

2008-01-28 Thread Alphons Fonz van Werven

Siraj Shaikh wrote:


How do I go about installing FreeBSD (6.3) on it now? Anyone has done
this already please?


I had the exact same problem just a few days ago and two solutions were
quickly posted here:

1: http://www.clearchain.com/wiki/FreeBSD_%26_Windows_Vista

2: When installing FreeBSD and you are asked what boot manager to install
   select to not install anything. In this way your Vista boot will not be
   affected. If after this you find that at startup you are not given ANY
   choice but FreeBSD starts automatically, this is simply because it's
   partition is marked active. Boot with a CD like Norton Partition Magic
   or GParted and mark the Vista partition active. Boot Vista, then
   download and install the EasyBCD from http://neosmart.net/dl.php?id=1
   It is then trivial to add a stanza to Vista bootloader (!) to boot
   FreeBSD.

Hth,

Alphons

--
VISTA - Viruses Intruders Spyware Trojans Adware

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


Re: machine migration from 5.3 to 6.3

2008-01-28 Thread Derek Ragona

At 03:51 PM 1/28/2008, Josh Tremor wrote:

Okay, I had a freshly installed 6.3 on a machine (thanks Derek
Ragona), and my intention is to use this new installation as a direct
replacement of an older 5.3 box.  This means using the same host name,
IP address, and services.  I want to make sure I've crossed all the
t's.

I installed ilohamail and since I'm using mysql for the database, I
need to bring over the tables.  So I use mysqladmin to copy all
databases and their tables from the old box and restore them on my new
box.

Copy over my users' home directories, and copy the /etc/master.passwd
and /etc/passwd files.

I need to bring over the old httpd.conf file so my virtual hosts are
preserved.  Also bring over the related directories with content.

Run #hostname new.name to change the hostname, and edit the
/etc/rc.conf file to make the change permanent.  Edit the /etc/hosts
file also, or copy over the old one.

To change the address, vi the /etc/rc.conf file to edit the if_config
lines (disconnect the old box from the network, first) and run
#/etc/netstart

Now I'm really unsure of this step:  since this box is an important
dns host, couldn't I copy the entre /var/named structure over?  Or is
is best to create fresh ones?  It was well over two years ago when I
set bind/rndc up, and I remember not enjoying that.  I was hoping to
use the same zone records.


I'm the only one who ssh's in, so I don't care about those keys, but
my main concern is to have the mail/dns flowing the way it was before.
 The mail is handled by a third party's (Sophos) own postfix
implementation, and they have their own postgres database.

Is there anything I've missed, or am way off on?  Thanks.


Usually I tar up and move and untar /etc /usr/local /home and possibly /var 
depending on what you have there.


You don't need to disconnect the old box, you can just swap the ip's if you 
want between the boxes so both are still on your netowrk.  Swapping ip's 
requires a different /etc/rc.conf file and a hosts file that reflects the 
current ip and hostname.  This is easily done creating a second 
/etc/rc.conf file say /etc/rc.conf.new edit this file.  Do the same with 
/etc/hosts to /etc/hosts.new  To swap the ip's create a shell script such as:

=
#!/bin/sh

/bin/mv /etc/rc.conf /etc/rc.conf.old
/bin/mv /etc/rc.conf.new /etc/rc.conf
/bin/mv /etc/hosts /etc/hosts.old
/bin/mv /etc/hosts.new /etc/hosts
/sbin/reboot
=
Assuming you run this on both machines with the correctly edited files, 
each will reboot to the other's old IP.


That way if you need to copy things, you still can do so easily.

If you move filesystems between servers run mergemaster once you are done 
to see if you have any out of date or missing files as you are moving from 
5.x to 6.x.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Vista / FreeBSD dual boot

2008-01-28 Thread Oleksandr Rudyk
I have installed FBSD 7.0 RC1 several weeks ago on my Dell XPS laptop with
Vista.

During BSD install I select don't touch MBR, but anyway FBSD MBR overwrite
Vista MBR and I lost my Vista.
Then I booted with Vista rescue CD and restore Vista MBR sector. So I got
Vista again but no FBSD.
The last step was to install EasyBSD and add record for my FBSD partition.
After reboot I got Vista Loader menu with Windows and FreeBSD loader
options.

Hope this helps

2008/1/28, Alphons Fonz van Werven [EMAIL PROTECTED]:

 Siraj Shaikh wrote:

  How do I go about installing FreeBSD (6.3) on it now? Anyone has done
  this already please?

 I had the exact same problem just a few days ago and two solutions were
 quickly posted here:

 1: http://www.clearchain.com/wiki/FreeBSD_%26_Windows_Vista

 2: When installing FreeBSD and you are asked what boot manager to install
 select to not install anything. In this way your Vista boot will not
 be
 affected. If after this you find that at startup you are not given ANY
 choice but FreeBSD starts automatically, this is simply because it's
 partition is marked active. Boot with a CD like Norton Partition Magic
 or GParted and mark the Vista partition active. Boot Vista, then
 download and install the EasyBCD from http://neosmart.net/dl.php?id=1
 It is then trivial to add a stanza to Vista bootloader (!) to boot
 FreeBSD.

 Hth,

 Alphons

 --
 VISTA - Viruses Intruders Spyware Trojans Adware

 ___
 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: Sound problems on Thinkpad T43

2008-01-28 Thread Alex Kloss
Actually, I discovered that the Thinkpad has a hardware mixer
(controlled by three volume buttons above the keyboard) that FreeBSD
doesn't control. Apparently I had accidentally muted this mixer. Once
I unmuted it, my sound returned. Silly thing not to notice before
asking the list, but no harm done I suppose.

Thanks anyway everyone!

Alex Kloss

On Jan 28, 2008 1:58 PM, Mark D. Foster [EMAIL PROTECTED] wrote:

 Alex Kloss wrote:
  Ok, never mind. After changing my settings to those of Wojciech's, the
  sound still didn't work. I booted the system with a Fedora 7 Live CD
  and tried playing some music, but I didn't get any sound out of it
  then, either.
 
  It looks like the card on this Thinkpad has died. Shame, too, I just
  unboxed it three weeks ago.
 
  Thanks anyway!
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 Do you have it docked with the lid closed?
 Because on my T60 the sound doesn't work either when the system is
 docked. I have to open the lid and press on the volume buttons to get it
 working.
 Something (easy) to try perhaps.


 --
 Some days it's just not worth chewing through the restraints...
 Mark D. Foster, CISSP [EMAIL PROTECTED]  http://mark.foster.cc/



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


Re: Sound problems on Thinkpad T43

2008-01-28 Thread Alex Kloss
Ok, never mind. After changing my settings to those of Wojciech's, the
sound still didn't work. I booted the system with a Fedora 7 Live CD
and tried playing some music, but I didn't get any sound out of it
then, either.

It looks like the card on this Thinkpad has died. Shame, too, I just
unboxed it three weeks ago.

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


Re: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
I configured the ethernet interface in the post-install config with my IP
and net-mask, though I didnt know the gateway then. It gave me a warning
that I might not be able to access remote machines, but that still dosent
explain why it wont even ping the next node in my LAN. The rc.conf file does
have some lines, are we looking for something specific here or should I
key-in the gateway data b4 expecting anything else ?

On Mon, Jan 28, 2008 at 4:39 PM, Brian [EMAIL PROTECTED] wrote:

 Bhuvaneswari Ramkumar wrote:
  Hi,
 
  I'm a newbie FreeBSD user, I've just installed the 5.5 version.
  I know this is a very silly question but I've searched the archives and
 any
  suggestions are welcome.
 
  I think my system is not connected to the internet or any external
 network,
  ping dosent work ( nor ftp or dig)
 
  When I try to do a post-install configuration and choose to enable the
 inetd
  daemon option from the sysinstall, it doesnt invoke the editor to change
 the
  inetd.conf at all, so I did a root-login and enabled ftp, even pftp and
  other services in the file as mentioned in the installation document.
 
  But still I'm unable to ftp to any server, the message I get is ftp:
  hostname or servname not known or not provided.
 
  Do you guys have any ideas ?
 
  Thanks
  Bhuvana
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 Interesting that you chose 5.5 for a new install, most anyone would
 recommend something newer.  Having said that, is the ether interface
 enabled?  If you run sysinstall, and select post install config, then
 networking, then the interface in question, try to view/config it based
 on the parameters your isp gave you.  When you're done you should see
 some lines in /etc/rc.conf specific to your config.  Be careful with
 this file.


 Brian

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


restore(1) dumpfile to directory rather than filesystem -- possible?

2008-01-28 Thread C Thala
On a 6.2 system, I am making some backups using dump(1)

I would like to test the integrity of these dumpfiles by using
restore(1) to restore them.

However, I don't have an actual live filesystem available to test this
oncan I just restore to a directory on an existing fs to be sure?
Is this even possible?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network configuration in FreeBSD

2008-01-28 Thread Derek Ragona

At 05:38 PM 1/28/2008, Bhuvaneswari Ramkumar wrote:

I'm guessing it does detect the interface, network-device  all that, bcos
my ifconfig says the ethernet status is active. But still I'm unable to do
any kind of networking at all, even pings from other PCs to this one remain
unreachable. I'm wondering if I should configure something else in the
sysinstall or the rc.conf file.


On Mon, Jan 28, 2008 at 6:18 PM, Bhuvaneswari Ramkumar [EMAIL PROTECTED]
wrote:

 ifconfig -a

 em0:  flags ...lot of data .
 status: active

 ( I'm guessing this is the ethernet interface)


 netstat -rn

 routing tables:
 Internet :
 127.0.0.1  ..followed by some IPs, flags(UH), etc ..

 Internet6
 expire followed by some hex-values and flags


 would this do or more specifics needed ?




 On Mon, Jan 28, 2008 at 4:42 PM, Christopher Cowart 
 [EMAIL PROTECTED] wrote:

  On Mon, Jan 28, 2008 at 04:29:49PM -0500, Bhuvaneswari Ramkumar wrote:
   I'm a newbie FreeBSD user, I've just installed the 5.5 version.
   I know this is a very silly question but I've searched the archives
  and any
   suggestions are welcome.
  
   I think my system is not connected to the internet or any external
  network,
   ping dosent work ( nor ftp or dig)
  
   When I try to do a post-install configuration and choose to enable the
  inetd
   daemon option from the sysinstall, it doesnt invoke the editor to
  change the
   inetd.conf at all, so I did a root-login and enabled ftp, even pftp
  and
   other services in the file as mentioned in the installation document.
 
  This file affects running an ftp server, not an ftp client from the
  command line.
 
   But still I'm unable to ftp to any server, the message I get is ftp:
   hostname or servname not known or not provided.
  
   Do you guys have any ideas ?
 
  Send the list the output of the following commands:
  # ifconfig -a
  # netstat -rn
 
  With that info, we can probably help you out better.
 
  --
  Chris Cowart
  Network Technical Lead
  Network  Infrastructure Services, RSSP-IT
  UC Berkeley
 


__


You need to set the default gateway in /etc/rc.conf.  Without a default 
gateway, you will need to add a default route with the route command.


Without a route your machine will only be able to ping itself.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Network configuration in FreeBSD

2008-01-28 Thread Giorgos Keramidas
On 2008-01-28 18:18, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
 On Mon, Jan 28, 2008 at 4:42 PM, Christopher Cowart [EMAIL PROTECTED] wrote:
 
  Send the list the output of the following commands:
  # ifconfig -a
  # netstat -rn
 
  With that info, we can probably help you out better.

 ifconfig -a

 em0:  flags ...lot of data .
 status: active

 ( I'm guessing this is the ethernet interface)

 netstat -rn

 routing tables:
 Internet :
 127.0.0.1  ..followed by some IPs, flags(UH), etc ..

 Internet6
 expire followed by some hex-values and flags

 would this do or more specifics needed ?

Not really, no.  You are supposed to show the *exact* output of
commands, if you expect more useful answers.

Now, I understand that without networking, it may be tricky to capture
the output and post it in an email message.

If you have a floppy disk you can use the floppy to capture the output
of these commands, i.e. by mounting it:

# cd /root
# mount -t msdosfs /dev/fd0 /mnt
# ifconfig -a  /mnt/ifconfig.txt
# netstat -rn  /mnt/netstat.txt
# umount /mnt

If you have a USB flash drive, you can mount that too (assuming it has a
single FAT partition):

( plug the USB flash disk into a USB socket )

# cd /root
# mount -t msdosfs /dev/da0s1 /mnt
# ifconfig -a  /mnt/ifconfig.txt
# netstat -rn  /mnt/netstat.txt
# umount /mnt

( unplug the flash disk )

It will help immensely if you post the *exact* output of the commands
mentioned by Christopher.

- Giorgos

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


Re: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
ifconfig -a

em0:  flags ...lot of data .
status: active

( I'm guessing this is the ethernet interface)

lo0: similar stuff as em0

and my var/log/messages has a lot of data in it, I dont know if I'm
identifying a boot message accurately but there is a line that specifies the
location of a kernel boot file as /boot/kernel.I dont know if
this is just default message present here



On Mon, Jan 28, 2008 at 7:00 PM, Alphons Fonz van Werven 
[EMAIL PROTECTED] wrote:

 Bhuvaneswari Ramkumar wrote:

  I'm guessing it does detect the interface, network-device  all that,
 bcos
  my ifconfig says the ethernet status is active. But still I'm unable to
 do
  any kind of networking at all, even pings from other PCs to this one
 remain
  unreachable. I'm wondering if I should configure something else in the
  sysinstall or the rc.conf file.

 Hehe. Network problem solving often seems more about magic than about
 logic...

 Anyway, for starters, can you send me the output of ifconfig -a?
 Also, if your NIC got detected, there should be some boot messages in
 /var/log/messages. You might want to check on that.

 Alphons

 --
 VISTA - Viruses Intruders Spyware Trojans Adware


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


Re: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
ok here u go, the exact output of the the commands:

#ifconfig -a

em0: flags=8802BROADCAST, SIMPLEX, MULTICAST mtu 1500
options=bRXSCUM, TXSCUM, VLAN_MTU
ether :0d:56:f0:f1:ba
media:Ethernet autoselect (100baseTX full-duplex)
status: active

plip0:flags=108810POINTTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0:flags=8049UP, LOOPBACK,RUNNING,MULTICAST MTU 16384
inet 127.0.0.1 netmask 0xff00
inet ::1 prefixlen 128
inet6 fe80 :: 1% lo0 prefixlen 64 scopeid 0x3

On Mon, Jan 28, 2008 at 8:06 PM, Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2008-01-28 18:18, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
  On Mon, Jan 28, 2008 at 4:42 PM, Christopher Cowart 
 [EMAIL PROTECTED] wrote:
  
   Send the list the output of the following commands:
   # ifconfig -a
   # netstat -rn
  
   With that info, we can probably help you out better.
 
  ifconfig -a
 
  em0:  flags ...lot of data .
  status: active
 
  ( I'm guessing this is the ethernet interface)
 
  netstat -rn
 
  routing tables:
  Internet :
  127.0.0.1  ..followed by some IPs, flags(UH), etc ..
 
  Internet6
  expire followed by some hex-values and flags
 
  would this do or more specifics needed ?

 Not really, no.  You are supposed to show the *exact* output of
 commands, if you expect more useful answers.

 Now, I understand that without networking, it may be tricky to capture
 the output and post it in an email message.

 If you have a floppy disk you can use the floppy to capture the output
 of these commands, i.e. by mounting it:

# cd /root
# mount -t msdosfs /dev/fd0 /mnt
# ifconfig -a  /mnt/ifconfig.txt
# netstat -rn  /mnt/netstat.txt
# umount /mnt

 If you have a USB flash drive, you can mount that too (assuming it has a
 single FAT partition):

( plug the USB flash disk into a USB socket )

# cd /root
# mount -t msdosfs /dev/da0s1 /mnt
# ifconfig -a  /mnt/ifconfig.txt
# netstat -rn  /mnt/netstat.txt
# umount /mnt

( unplug the flash disk )

 It will help immensely if you post the *exact* output of the commands
 mentioned by Christopher.

 - Giorgos

 ___
 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: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
the netstat reads:

#netstat -nr

Routing tables

Internet:
Destination Gateway  Flags  REfs  Use Netif Expire
127.0.0.1 127.0.0.1   UH041 lo0


Internet 6

Destination  Gateway  Flags   Netif
Expire
::1::1   UH   lo0
fe80::%lo0/64   fe80::1%lo0U lo0
fe80::1%lo0   link#3 UHL lo0
ff01::/32::1  Ulo0
ff02 :: %lo0/32  ::1UC  lo0


On Mon, Jan 28, 2008 at 9:03 PM, Bhuvaneswari Ramkumar [EMAIL PROTECTED]
wrote:

 ok here u go, the exact output of the the commands:

 #ifconfig -a

 em0: flags=8802BROADCAST, SIMPLEX, MULTICAST mtu 1500
 options=bRXSCUM, TXSCUM, VLAN_MTU
 ether :0d:56:f0:f1:ba
 media:Ethernet autoselect (100baseTX full-duplex)
 status: active

 plip0:flags=108810POINTTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0:flags=8049UP, LOOPBACK,RUNNING,MULTICAST MTU 16384
 inet 127.0.0.1 netmask 0xff00
 inet ::1 prefixlen 128
 inet6 fe80 :: 1% lo0 prefixlen 64 scopeid 0x3


 On Mon, Jan 28, 2008 at 8:06 PM, Giorgos Keramidas 
 [EMAIL PROTECTED] wrote:

  On 2008-01-28 18:18, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
   On Mon, Jan 28, 2008 at 4:42 PM, Christopher Cowart 
  [EMAIL PROTECTED] wrote:
   
Send the list the output of the following commands:
# ifconfig -a
# netstat -rn
   
With that info, we can probably help you out better.
  
   ifconfig -a
  
   em0:  flags ...lot of data .
   status: active
  
   ( I'm guessing this is the ethernet interface)
  
   netstat -rn
  
   routing tables:
   Internet :
   127.0.0.1  ..followed by some IPs, flags(UH), etc ..
  
   Internet6
   expire followed by some hex-values and flags
  
   would this do or more specifics needed ?
 
  Not really, no.  You are supposed to show the *exact* output of
  commands, if you expect more useful answers.
 
  Now, I understand that without networking, it may be tricky to capture
  the output and post it in an email message.
 
  If you have a floppy disk you can use the floppy to capture the output
  of these commands, i.e. by mounting it:
 
 # cd /root
 # mount -t msdosfs /dev/fd0 /mnt
 # ifconfig -a  /mnt/ifconfig.txt
 # netstat -rn  /mnt/netstat.txt
 # umount /mnt
 
  If you have a USB flash drive, you can mount that too (assuming it has a
  single FAT partition):
 
 ( plug the USB flash disk into a USB socket )
 
 # cd /root
 # mount -t msdosfs /dev/da0s1 /mnt
 # ifconfig -a  /mnt/ifconfig.txt
 # netstat -rn  /mnt/netstat.txt
 # umount /mnt
 
 ( unplug the flash disk )
 
  It will help immensely if you post the *exact* output of the commands
  mentioned by Christopher.
 
  - Giorgos
 
  ___
  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: Network configuration in FreeBSD

2008-01-28 Thread Giorgos Keramidas
On 2008-01-28 21:03, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
 ok here u go, the exact output of the the commands:

Excellent!  Thank you :-)

 #ifconfig -a
 
 em0: flags=8802BROADCAST, SIMPLEX, MULTICAST mtu 1500
 options=bRXSCUM, TXSCUM, VLAN_MTU
 ether :0d:56:f0:f1:ba
 media:Ethernet autoselect (100baseTX full-duplex)
 status: active
 
 plip0:flags=108810POINTTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0:flags=8049UP, LOOPBACK,RUNNING,MULTICAST MTU 16384
 inet 127.0.0.1 netmask 0xff00
 inet ::1 prefixlen 128
 inet6 fe80 :: 1% lo0 prefixlen 64 scopeid 0x3

See the `active' status and the `media' description?  This means you
have a network cable connected and FreeBSD has autodetected that you are
using a full-duplex 100 Mbit/s link.

That's good :)

On 2008-01-28 21:10, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
 the netstat reads:
 
 #netstat -nr
 
 Routing tables
 
 Internet:
 Destination Gateway  Flags  REfs  Use Netif Expire
 127.0.0.1 127.0.0.1   UH041 lo0
 
 
 Internet 6
 
 Destination  Gateway  Flags   Netif
 Expire
 ::1::1   UH   lo0
 fe80::%lo0/64   fe80::1%lo0U lo0
 fe80::1%lo0   link#3 UHL lo0
 ff01::/32::1  Ulo0
 ff02 :: %lo0/32  ::1UC  lo0

Hmmm.  There seems to be something very 'odd' about your interfaces.

* There is no `lo0' loopback interface, which commonly uses the
  127.0.0.1 address.

* The 127.0.0.1 address is assigned to plip0 (IP over parallel
  port), which seems wrong.

* The em0 interface has no address.

Can you try the following commands, so see if you can *manually* set up
the interfaces?

1. Bringing down the 'plip0 interface
-

# ifconfig plip0 unplumb

This should bring down and delete the plip0 interface.  You don't really
need it when em0 starts working.

2. Bringing up the `lo0' loopback interface
---

# ifconfig lo0 inet 127.0.0.1/32 up

This will bring up the `lo0' interface, with the correct address.

3. Bringing up the em0 interface


Finally, try bringing up the `em0' interface with dhclient OR ifconfig.
You don't need *both*.  One of them should be sufficient...

3.1. Using a dynamic/automatic address for em0
--

If you are using DHCP (automatic address configuration, i.e. from a DSL
modem, or similar) it should be sufficient to run:

# dhclient em0

3.2. Using a static address for em0
---

If you are not using DHCP, and you have a `static' address, like the one
I use on the workstation I'm using to type this, you should be able to
use ifconfig like:

# ifconfig inet a.b.c.d/count up

where `a.b.c.d' is the IP address you want to assign, and `count' a
number like `24' or `28'.  The correct settings depends on how your
network is configured, but an example would look like:

# ifconfig em0 192.168.1.180/24 up

4. Check that em0 really got an address and is UP
---

Then you should see something like:

em0: flags=8802UP,BROADCAST, SIMPLEX, MULTICAST mtu 1500
options=bRXSCUM, TXSCUM, VLAN_MTU
ether :0d:56:f0:f1:ba
inet 192.168.1.180 netmask 0xff00 broadcast 192.168.1.255
media:Ethernet autoselect (100baseTX full-duplex)
status: active

5. Add the default router/gateway
-

If you see the UP flag in the first line, and you get the `inet' line
options correctly (address and netmask), the final step should be to
configure the `default router', i.e.:

# route add default 192.168.1.1

6. Saving it all in `/etc/rc.conf' for the next boot


If you get all the steps right, and you _do_ get connectivity going,
then you should be able to manually edit the file `/etc/rc.conf' and set
configure everything by using something similar to:

network_interfaces='lo0 em0'
ifconfig_lo0='inet 127.0.0.1/32'
ifconfig_em0='inet 192.168.1.180/24'
defaultrouter='192.168.1.1'

The syntax is really simple, but if you need an explanation of what it
all means, please feel free to ask :)

- Giorgos


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


XDVI, LaTeX, teTeX dependencies

2008-01-28 Thread Holger Jorra
Hi,

I know that this is not only a FreeBSD issue, but I don't know where else I 
should ask. First, this issue has been brought up here in a different way 3 
years ago, but there seems to be no solution, yet. [1]

I use Latex for documentation and presentations of my work. My problem is that 
I still haven't found a working DVI-Viewer in FreeBSD without installing the 
whole KDE-dependencies (KDVI). Latex compiles into dvi files. So either I use 
teTex (as the thread [1] recommends) but which is not supported anymore [2] 
and cannot use XDVI, or I install the latex-package and will not be able to 
use other Latex-tools like dvips and cannot print or share it.
To make it short:


===  Installing for xdvi-pl20_3

===  xdvi-pl20_3 conflicts with installed package(s): 
  teTeX-base-3.0_12
  teTeX-texmf-3.0_5

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1


AFAIK both packages want to install the file /usr/local/bin/latex.

So my questions are: Is there a way to bent the dependency of XDVI on teTex in 
general (maybe this is a developers issue, not porters - don't know) or is 
there another small Viewer I may use instead? The other way would be much 
more difficult, I think. Has anyone here a workaround for this? Is there a 
solution in the very near future?



Thanks a lot
Holger

[1]http://docs.freebsd.org/cgi/getmsg.cgi?fetch=584280+0+/usr/local/www/db/text/2005/freebsd-questions/20050522.freebsd-questions
[2]http://www.tug.org/tetex/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Aliasing

2008-01-28 Thread Olivier Nicole
 1) is there an upper limit to configuring a number of alias addresses?

I have a machine with 200+ IP without any problem.

 2) if an interface is configured with an alias address, then what
 address is shown on the traffic leaving this interface? So, for
 example, if I were to ping this machine on its primary address, I
 expect to get a response from the primary address of the interface.
 What happens if I ping an alias address, would I get a response from

By default exiting traffic is using the primary address (the one
defined with no keyword alias in the ifconfig). I think there is a way
to choose the exiting IP.

When a paket is responding, it use the same IP that was used in the
query (else any firewall would be confused in the way).

 3) In the above scenario, all traffic leaving the interface
 (regardless of the source IP on it) will have the same MAC address
 (the one of the interface) - is that right?

Right except maybe some NIC that allow several MAC addresses? That
could be used in hi availability?

 4) Does anyone know if there are there any other network
 characteristics or behaviour by which we can distinguish a machine
 having more than one IP address (primary plus alias) configued on one
 of its interface?

Once you cross a router, you don't see the MAC of the machine anymore,
MAC is local to your LAN anyway.

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


Re: XDVI, LaTeX, teTeX dependencies

2008-01-28 Thread Predrag Punosevac

Holger Jorra wrote:

Hi,

I know that this is not only a FreeBSD issue, but I don't know where else I 
should ask. First, this issue has been brought up here in a different way 3 
years ago, but there seems to be no solution, yet. [1]


I use Latex for documentation and presentations of my work. My problem is that 
I still haven't found a working DVI-Viewer in FreeBSD without installing the 
whole KDE-dependencies (KDVI). Latex compiles into dvi files. So either I use 
teTex (as the thread [1] recommends) but which is not supported anymore [2] 
and cannot use XDVI, or I install the latex-package and will not be able to 
use other Latex-tools like dvips and cannot print or share it.

To make it short:


===  Installing for xdvi-pl20_3

===  xdvi-pl20_3 conflicts with installed package(s): 
  teTeX-base-3.0_12

  teTeX-texmf-3.0_5

  They install files into the same place.
  Please remove them first with pkg_delete(1).
*** Error code 1


AFAIK both packages want to install the file /usr/local/bin/latex.

So my questions are: Is there a way to bent the dependency of XDVI on teTex in 
general (maybe this is a developers issue, not porters - don't know) or is 
there another small Viewer I may use instead? The other way would be much 
more difficult, I think. Has anyone here a workaround for this? Is there a 
solution in the very near future?



  

I think you made one of two mistakes.
It is possible that you use teTeX meta port in which case you already 
have xdvi, which came as a dependency.


Second possibility (most likely) is that you are trying to compile wrong 
version of xdvi. There is one for teTeX and there is

one for the older ports Latex and TeX.

You need http://www.freebsd.org/cgi/url.cgi?ports/print/xdvik/pkg-descr

Cheers,
Predrag




Thanks a lot
Holger

[1]http://docs.freebsd.org/cgi/getmsg.cgi?fetch=584280+0+/usr/local/www/db/text/2005/freebsd-questions/20050522.freebsd-questions
[2]http://www.tug.org/tetex/
___
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: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
Giorgos,

Thanks a lot for the excellent reply, yes I do have some questions about
this but before that:

the unplumb operation for pilp0 doesnt work.

ifconfig: SIOCIFDESTROY: Invalid argument

is the message I get for this.

Sincerely,
Bhuvana


On Mon, Jan 28, 2008 at 9:37 PM, Giorgos Keramidas [EMAIL PROTECTED]
wrote:

 On 2008-01-28 21:03, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
  ok here u go, the exact output of the the commands:

 Excellent!  Thank you :-)

  #ifconfig -a
 
  em0: flags=8802BROADCAST, SIMPLEX, MULTICAST mtu 1500
  options=bRXSCUM, TXSCUM, VLAN_MTU
  ether :0d:56:f0:f1:ba
  media:Ethernet autoselect (100baseTX full-duplex)
  status: active
 
  plip0:flags=108810POINTTOPOINT,SIMPLEX,MULTICAST mtu 1500
  lo0:flags=8049UP, LOOPBACK,RUNNING,MULTICAST MTU 16384
  inet 127.0.0.1 netmask 0xff00
  inet ::1 prefixlen 128
  inet6 fe80 :: 1% lo0 prefixlen 64 scopeid 0x3

 See the `active' status and the `media' description?  This means you
 have a network cable connected and FreeBSD has autodetected that you are
 using a full-duplex 100 Mbit/s link.

 That's good :)

 On 2008-01-28 21:10, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
  the netstat reads:
 
  #netstat -nr
 
  Routing tables
 
  Internet:
  Destination Gateway  Flags  REfs  Use Netif Expire
  127.0.0.1 127.0.0.1   UH041 lo0
 
 
  Internet 6
 
  Destination  Gateway  Flags   Netif
  Expire
  ::1::1   UH   lo0
  fe80::%lo0/64   fe80::1%lo0U lo0
  fe80::1%lo0   link#3 UHL lo0
  ff01::/32::1  Ulo0
  ff02 :: %lo0/32  ::1UC  lo0

 Hmmm.  There seems to be something very 'odd' about your interfaces.

* There is no `lo0' loopback interface, which commonly uses the
  127.0.0.1 address.

* The 127.0.0.1 address is assigned to plip0 (IP over parallel
  port), which seems wrong.

* The em0 interface has no address.

 Can you try the following commands, so see if you can *manually* set up
 the interfaces?

 1. Bringing down the 'plip0 interface
 -

# ifconfig plip0 unplumb

 This should bring down and delete the plip0 interface.  You don't really
 need it when em0 starts working.

 2. Bringing up the `lo0' loopback interface
 ---

# ifconfig lo0 inet 127.0.0.1/32 up

 This will bring up the `lo0' interface, with the correct address.

 3. Bringing up the em0 interface
 

 Finally, try bringing up the `em0' interface with dhclient OR ifconfig.
 You don't need *both*.  One of them should be sufficient...

 3.1. Using a dynamic/automatic address for em0
 --

 If you are using DHCP (automatic address configuration, i.e. from a DSL
 modem, or similar) it should be sufficient to run:

# dhclient em0

 3.2. Using a static address for em0
 ---

 If you are not using DHCP, and you have a `static' address, like the one
 I use on the workstation I'm using to type this, you should be able to
 use ifconfig like:

# ifconfig inet a.b.c.d/count up

 where `a.b.c.d' is the IP address you want to assign, and `count' a
 number like `24' or `28'.  The correct settings depends on how your
 network is configured, but an example would look like:

# ifconfig em0 192.168.1.180/24 up

 4. Check that em0 really got an address and is UP
 ---

 Then you should see something like:

em0: flags=8802UP,BROADCAST, SIMPLEX, MULTICAST mtu 1500
 options=bRXSCUM, TXSCUM, VLAN_MTU
ether :0d:56:f0:f1:ba
 inet 192.168.1.180 netmask 0xff00 broadcast
 192.168.1.255
 media:Ethernet autoselect (100baseTX full-duplex)
status: active

 5. Add the default router/gateway
 -

 If you see the UP flag in the first line, and you get the `inet' line
 options correctly (address and netmask), the final step should be to
 configure the `default router', i.e.:

# route add default 192.168.1.1

 6. Saving it all in `/etc/rc.conf' for the next boot
 

 If you get all the steps right, and you _do_ get connectivity going,
 then you should be able to manually edit the file `/etc/rc.conf' and set
 configure everything by using something similar to:

network_interfaces='lo0 em0'
ifconfig_lo0='inet 127.0.0.1/32'
ifconfig_em0='inet 192.168.1.180/24'
defaultrouter='192.168.1.1'

 The syntax is really simple, but if you need an explanation of what it
 all means, please feel free to ask :)

 - Giorgos



___

Re: Network configuration in FreeBSD

2008-01-28 Thread Bhuvaneswari Ramkumar
ok down works but delete dosent
I guess the 1st one is for disabling the plip interface and the second for
completely removing it , or let me know if I'm getting this wrong here.

ifconfig: 10ctl(SIOCDIFADDR) : cant assign requested address
is this bcos of the down I did before this command ?

once again, thanks for helping out.

Sincerely,
Bhuvana



On Mon, Jan 28, 2008 at 10:40 PM, Giorgos Keramidas 
[EMAIL PROTECTED] wrote:

 On 2008-01-28 22:33, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
  Giorgos,
 
  Thanks a lot for the excellent reply, yes I do have some questions about
  this but before that:
 
  the unplumb operation for pilp0 doesnt work.
 
  ifconfig: SIOCIFDESTROY: Invalid argument
 
  is the message I get for this.

 Ok, it should be sufficient to delete the assigned address from plip0:

# ifconfig plip0 down
# ifconfig plip0 delete

 Sorry for that; I don't use plip these days, and I couldn't test it :/


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


Re: Network configuration in FreeBSD

2008-01-28 Thread Giorgos Keramidas
On 2008-01-28 22:33, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:
 Giorgos,
 
 Thanks a lot for the excellent reply, yes I do have some questions about
 this but before that:
 
 the unplumb operation for pilp0 doesnt work.
 
 ifconfig: SIOCIFDESTROY: Invalid argument
 
 is the message I get for this.

Ok, it should be sufficient to delete the assigned address from plip0:

# ifconfig plip0 down
# ifconfig plip0 delete

Sorry for that; I don't use plip these days, and I couldn't test it :/

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


RE: IP Aliasing

2008-01-28 Thread Brent Jones
  2) if an interface is configured with an alias address, then what
  address is shown on the traffic leaving this interface? So, for
  example, if I were to ping this machine on its primary address, I
  expect to get a response from the primary address of the interface.
  What happens if I ping an alias address, would I get a response from
 
 By default exiting traffic is using the primary address (the one
 defined with no keyword alias in the ifconfig). I think there is a way
 to choose the exiting IP.
 
 When a paket is responding, it use the same IP that was used in the
 query (else any firewall would be confused in the way).

Just a note on this question/answer:  You can configure a FreeBSD
machine to use random IP addresses from the available pool of configured
IP addresses when machines traverse the NATted firewall.  If you choose
this option, you may run into problems with people behind your
firewall/router having difficulty connecting to web sites that use
session authentication, as the IP address of the source machine will be
constantly changing with each click of links on the destination web
site.  (This caught me out for months before I realised what was
happening.)

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


RE: HELP: Motherboard Selection (ASUS)

2008-01-28 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Predrag
 Punosevac
 Sent: Monday, January 28, 2008 2:37 AM
 To: Ted Mittelstaedt
 Cc: David Naylor; freebsd-questions@freebsd.org
 Subject: Re: HELP: Motherboard Selection (ASUS)


 Ted Mittelstaedt wrote:
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of David Naylor
  Sent: Monday, January 28, 2008 12:21 AM
  To: freebsd-questions@freebsd.org
  Subject: HELP: Motherboard Selection (ASUS)
 
 
  Hi,
 
  Late last year I bought a AS US P5N-E (force 650) motherboard.  It
  didn't work with FreeBSD and SUMP (I can't blame FreeBSD has Linux and
  Windows struggle to run on the board, and it is riddled with bugs).
 
  I'm now hoping to convince AS US that I need a different motherboard,
  does anyone know which AS US boards work (or don't work) with FreeBSD.
   I need SLID, quad core and 4 DIM MS.
 
 
 
  Why don't you ask us when you have actually managed to get AS US
  convinced?  It seems to me your chances of doing this now are
  gone.  The Uniform Commercial Code only requires retailers to
  offer a 30 day guarentee.  Assuming late last year meant sometime
  in December, you should have returned the motherboard to the
  retailer weeks ago.  And, AS US has no obligation to take the
  board back and supply you with a different one under their warranty.
 
 
  One board I was considering was the AS US P5N32-E (with force 680i).
  I know there was a problem with NF (but I can live with that, if it is
  not already solved).
 
 
 
  I think your nuts to consider AS US again.  You got burned once by them,
  do you like getting slapped upside the head repeatedly?
 
  The best chance you have of
  salvaging this train wreck is selling the motherboard on Ebay for
  50 cents on the dollar, and treating it as a learning experience.
 
  In the future, don't buy a motherboard from an online retailer
  unless you know it works.
 Ted,
 I love reading your comments as you are so knowledgeable but you should
 give a brake to a poor guy. He is already traumatized
 by online experience so we need to conform him.


I loved your post!  Your right - he didn't say, of course, that he
bought online - I didn't want to imply that he did, actually, I
just wanted to make sure that he didn't decide to go online.

 There is nothing wrong in buying thins from online retailers as you can
 usually save 30-50% in my experience but as Ted said you have to know
 what are you buying.


I buy lots of stuff online myself - but you have to be careful, and
you have to be sure of what your doing.  Most of the time, I am -
but I've got burned a few times online  (fortunately, not for more
than $20 USD or so)

 Tad's idea of Ebay is almost perfect. You can also try to get a read of
 your board on the Craigslist. My advice would be that you put the
 price 10%-20% bigger of what you actually pay for for the board.

 If the person knows what he is doing he would not buy from Ebay or
 Craigslist anyway.

Yes - but a lot of people DON'T and so that is why you can unloa.. I
mean sell stuff there.  And of course the old adage of one man's
trash is another man's treasure always applies - I've bought
what just about anyone would consider junk before - extracted
the bits I wanted - then tossed out the rest.  Sometimes when
you need a power supply it's cheaper to buy the device then
toss everything but the power supply in the garbage.

The same things apply to the old car market.  I've seen people selling
a car engine for $600 that I could go buy an old car for $300 that
had the same engine - remove the engine - and haul the rest of
the car to the wrecker and get $50 for the scrap steel.  Of course
I have to have the tools to remove the engine - but they are the
same tools I need to have to deal with the $600 engine.

 I just looked the Tuscon's Craigslist and some moron is selling a mother
 board for $50 bucks. Instead of the picture of his mother board he gave
 a link  to  the Geeks' web-site where the same mother board is clearly
 priced $33.95. Including $8 shipping, that is still cheaper
  than $50 which his asking price (If I remember well arithmetic from the
 kindergarten:-) ).


ROTFL!!  That's one of the best I've heard about.  If you ever want
to kill 10 minutes and get a few laughs, read the craigslist free
list.  I particularly love the ones that start out free TV set doesen't
turn on - you fix  Yeah, like I'm really going to be able to fix
a TV that has it's entire circuitry embedded in a big ASIC inside
the TV

Ted

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


Re: Network configuration in FreeBSD

2008-01-28 Thread perryh
 You need to set the default gateway in /etc/rc.conf.  Without a
 default gateway, you will need to add a default route with the
 route command.

 Without a route your machine will only be able to ping itself.

Unless something has changed dramatically -- and fairly recently --
a machine that knows its own IP address and netmask should be able
to ping anything on the same subnet as itself (an interface being
implicitly a route to any other IP address on the same subnet).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.3 racoon cpu 99,9% after some time workin

2008-01-28 Thread Norman Maurer
Hi all,

I have some strange problem.. After racoon works some hours it seems to
freeze and get a cpu usage of 99,9%. The vpns don't work anymore too..
Any idea ?

bye
Norman


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