Re: can't startx after upgrade

2004-05-24 Thread hoe-waa
Thanks for responding Jason.

Yes, I used the script from gnome.
This is the 3rd box I have upgraded and the 
first problem of this nature.

Robert

- Original Message -
From: jason [EMAIL PROTECTED]
Date: Sunday, May 23, 2004 4:55 pm
Subject: Re: can't startx after upgrade

 [EMAIL PROTECTED] wrote:
 
 Aloha
 
 I have just successfully upgrade gnome 2.4 to gnome 2.6. At least
 that's the message I received after running the upgrade script. :)
 
 Before the upgrade all was working well. After the upgrade 
 I have some problems. I cannot startx from a regular user login.
 
 When trying, I get the following errors:
 
 $startx
 xauth: timeout in locking authority file /home/robert/.Xauthority
 xauth: timeout in locking authority file /home/robert/.Xauthority
 xauth: timeout in locking authority file /home/robert/.Xauthority
 xauth: timeout in locking authority file /home/robert/.Xauthority
 
 Fatal server error:
 Cannot move old logfile /var/log/XFree86.0.log.old
 
 When reporting a problem (blah, blah)
 
 
 giving up.
 xinit: No such file or directory (errno 2): unable to connect to X 
 serverxinit: No such process (errno 3): Server error.
 xauth: timeout in locking authority file /home/robert/.Xauthority
 $
 
 If I startx from a root login, I get to gnome but it seems to load 
 veryslow. 
 
 I also am not able to su from a normal login to root. 
 
 $su
 Password:
 May 22 06:48:27 bsd-desktop su: BAD SU robert to root on /dev/ttyv0
 su: Sorry
 $
 
 I am running FreeBSD 5.2RC. 
 
 TIA
 Robert
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
   
 
 There was a big problem with updating gnome if you did not check 
 freebsd/org/gnome first.  You have to download a script and run it 
 first.  If you did not, np, just follow the instructions and all 
 will be 
 good once more.
 
 Jason
 

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


Re: sophos anti virus and mailmonitor on freebsd

2004-05-24 Thread Frank Mueller
I wonder who should ever need mailmonitor in FreeBSD
Here we are running Sophos on several FBSD machines and we use amavis to make it scan 
and filter
our mails. That works perfectly and so I see no need for mailmonitor at all.

Greetz,

Frank

 Mailmonitor will work on BSD.  I have it running you have to build a symbolic link 
 to the
 libsavi.so.3 library in /compat/linux/lib/ . Like this

 ln -s  /usr/local/sav/lib/libsavi.so.3   /compat/linux/lib/libsavi.so.2  . Keep in 
 mind that this
 is in linux compat mode
 so once it starts up all your  mmsmtp stuff will be located in
 /compat/linux/var/spool/mmsmtp

 I know Sophos states it won't work but thats just who your talking too, If you had 
 got me on the
 phone I would have had you up and running.


 Oh by the way if you still have the same problem after applying the symbolic link 
 try running the
 un-installer that comes with mmsmtp . then run the install script to re-install. 
 Delete the
 symbolic link and then linnk the library which comes with the sav-install script.  
 in my case I
 have my latest sav-install script located in /tmp  . I link the  larger of the two 
 libraries and
 it works fine.

 ssigc# ls -la | grep lib
 -r-xr-xr-x  1 root  wheel   957904 Jul  7  2003 libsavi.so.3.2.05.035
 -r-xr-xr-x  1 root  wheel  1384632 Feb  9 05:04 libsavi.so.3.2.07.054   Link 
 this one as
 libsavi.so.2
 ssigc# pwd
 /tmp/sav-install
 ssigc#

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


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


libgthread-2.0.so.200 - libgthread-2.0.so.400 Problems

2004-05-24 Thread Schizik

Hello, everyone!

After cvsuping ports tree and updating glibs to recent version
most of my glibs based applications are failing with:

GThread-ERROR **: file gthread-posix.c: line 135 (): error 'No such process' 
during 'pthread_getschedparam (pthread_self(), policy, sched)'
aborting...

(yes, I had rebuild all applications as well, still no luck)

Please advise!


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


disk recovery

2004-05-24 Thread John Oxley
Hi,

I have a personal server with 400Gb of hard disks in various shapes and
sizes.  I don't have enough money for redundant disks, and I would like
to know what the most efficient way of making sure my data doesn't get
lost, in case of a hard drive failure.  The best would be for some sort
of recovery if a disk goes south for the winter.

On this note, what's the best way of recovering data when a disk does go
bad.

-- 
/~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
 X  Against HTMLhttp://oxo.rucus.net/
/ \ Email!  oxo at rucus.ru.ac.za
Personally, I'd rather pay for my freedom than live in a bitmapped, 
pop-up-happy dungeon like NT.
-- Thomas Scoville
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freebsd 4.x support IBM X235 Series and ServeRAID 6i/6M

2004-05-24 Thread Chinawat Wongvivitkul

   Dear Sir,

 I have one question ask you about Freebsd 4.x.
 Does Freebsd 4.x support ServeRAID 6i on IBM X235 Series ?

Thank you very much.

W. Chinawat



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


Re: Freebsd 4.x support IBM X235 Series and ServeRAID 6i/6M

2004-05-24 Thread Matthew Seaman
On Mon, May 24, 2004 at 03:54:16PM +0700, Chinawat Wongvivitkul wrote:

  I have one question ask you about Freebsd 4.x.
  Does Freebsd 4.x support ServeRAID 6i on IBM X235 Series ?

No, apparently not.

It is however supported under FreeBSD 5.x:


http://www.freebsd.org/cgi/man.cgi?query=ipssektion=4manpath=FreeBSD+5.2.1-RELEASE

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp6PHOcL8MDT.pgp
Description: PGP signature


UFS problem

2004-05-24 Thread Andrew Sinclair
I have a question about my filesystem. I have an 80GB ATA HDD with a 
partition on it full of data. It was in a removable rack which isn't 
electrically sound and has since damaged the partition. I've tried 
recovering it with fdisk/disklabel but it reports incorrect block device 
and won't mount the partition. I'm also unsure what geometry the drive 
actually used because it had about 3 different geometries from other 
installations. Are there any tools out there that can help with this 
other than gpart? Anyone want to plug a data recovery service (in 
Australia)?

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


sysinstall config question

2004-05-24 Thread Alex Povolotsky
Hello!

According to sysinstall(8), 

 LOAD_CONFIG_FILE
   If sysinstall is compiled with LOAD_CONFIG_FILE set in the envi-
   ronment (or in the Makefile) to some value, then that value will
   be used as the filename to automatically look for and load when
   sysinstall starts up and with no user interaction required.  This
   option is aimed primarily at large sites who wish to create a
   single prototype install for multiple machines with largely iden-
   tical configurations and/or installation options.

However, attempt to make release as follows

make release BUILDNAME=5.2.1-RELEASE CHROOTDIR=/var/release CVSROOT=/home/ncvs 
RELEASETAG=RELENG_5_2_1_RELEASE LOAD_CONFIG_FILE=gw.conf

result in the following error:

=== bin
=== bin/cat
install -s -o root -g wheel -m 555   cat /var/release/bin
install: cat: No such file or directory
*** Error code 71

Stop in /usr/src/bin/cat.
*** Error code 1

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

while building release without LOAD_CONFIG_FILE builds just fine.

I do not have a 4.X box with enough resources to try the same there; maybe someone 
could enlighten me? Or I should ask in -current?

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


Re: bad gnome responsiveness with network load

2004-05-24 Thread Simon Barner
Hi,

 Summary: with /home NFS mounted at 10Mbit/s, network i/o
 makes my sytem noticeably slower (as in GNOME interactivity). I'm running
 RELENG_5_2, with SCHED_ULE and ADAPTIVE_MUTEXES. 

What NIC are you using? It sounds like your system is slowed down by
vast interrupt stroms (use top an vmstat -i whether interrupts are a
significatan component in your system load).

Simon


signature.asc
Description: Digital signature


libgthread-2.0.so.200 - libgthread-2.0.so.400 Problems (FIXED)

2004-05-24 Thread Schizik


 GThread-ERROR **: file gthread-posix.c: line 135 (): error 'No such process' 
 during 'pthread_getschedparam (pthread_self(), policy, sched)'
 aborting...

Sorry for bothering, I'm stupid

Reading UPDATING helped (I'm running -CURRENT)


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


What's the bridged option in ipfw's man page ?

2004-05-24 Thread Supote Leelasupphakorn
Hi... lists,

  I've read the ipfw man page and in the RULE OPTION
There is bridged option there. I'm currently set the
bridge-base firewall so my question is what's the bridged
packets and how much I take advantage from this option ?

TIA,
pjn


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Help to start BIND on boot

2004-05-24 Thread Nuno César Pires
Hi,

I have defined de 'rand_irqs' settings in rc.conf as you suggested but
unfortunately the result was the same.

Meanwhile I setup a fresh installation, of the new FreeBSD 5.2.1 release
with the BIND 8.3.7, in other box.
I setup the BIND and the system with the same settings as the other and
defined to start BIND on boot.
The result was that the boot process was ok (it took the normal time) and
the output of ndc status was: The server is up and running ;-
instead of the boring message server is initializing itself.

My question is: what solve the problem, the new FreeBSD 5.2.1 or the BIND
8.3.7?
How can I solve this strange behaviour in the FreeBSD 4.9/BIND 8.3.6 system?

Many Thanks,
Nuno


-Original Message-
From: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 21 de Maio de 2004 13:15
To: Nuno César Pires
Cc: '[EMAIL PROTECTED]'
Subject: Re: Help to start BIND on boot

On Fri, May 21, 2004 at 12:07:25PM +0100, Nuno César Pires wrote:

 I'm setting up a BIND/DNS server (recursive) and I'm facing a problem when
I
 try to start the named automatically on boot (named_enable=YES in
 rc.conf):
 
 First I noticed that the boot process takes a very long time in the
 Starting Standard Daemons phase.
 
 After boot I have looked to the named messages and apparently it was
 everything ok i.e.:
 
  
 
 First message:  starting (etc/namedb/named.conf). named
 8.3.6-REL .
 
 Second message:  limit files set to fdlimit (1024)
 
 Third message:  Ready to answer queries.
 
  
 
 But the problem is the output of ndc status: (server is initializing
 itself) and then nothing happen.
 
  
 
 Starting or restarting the named manually works just fine, the ndc
status
 output is server is up and running and the queries answers are as
 expected.
 
 The result after comment the kern_securelevel=2 and
 kern_securelevel_enable=YES lines in the rc.conf and reboot was the same
 as described above.
 
  
 
 The ROOT SERVERS file was updated and there is a permanent network
 connection
 
  
 
 Releases:
 
 FreeBSD 4.9
 
 BIND 8.3.6

I usually see this effect with things like sshd(8), but it could
affect BIND as well.  I wonder if named(8) is blocking trying to read
/dev/random to obtain a quantity of random data.  If the system does
not have sufficient suitable random data available, it will wait until
it has acquired enough before replying.  Sources of randomness are
things like timing the gaps between key presses or between the arrival
of network packets -- either of which may not be very effective around
reboot time.

Check your setting for 'rand_irqs' in /etc/rc.conf -- you need to set
it to a list of IRQs that fire quite frequently and that have timings
that can be used to harvest randomness from.  To get a list of
suitable IRQs use:

% vmstat -i

So for instance on my system that returns:

interrupt   total   rate
acpi0 irq9  1  0
pcm0 irq10  39644  0
mux irq1112139824 77
mux irq15  854820  5
atkbd0 irq1 49505  0
psm0 irq12 389549  2
sio1 irq3   81928  0
clk irq0157097139   1000
rtc irq8 20105805128
Total   190758215   1214

Choose the IRQs that fire most often, but not the clk (clock) or rtc
(real time clock) IRQs -- as those fire at regular intervals.  In this
case good choices are irq1 (atkbd -- the keyboard), irq11 and irq15
(mux -- the TCP multiplexor (ie network traffic)), irq12 (psm -- the
mouse).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK
 

CONFIDENCIALIDADE: Esta mensagem e quaisquer documentos em anexo são
confidenciais. Se não for o destinatário desta mensagem, agradecemos que
avise imediatamente o remetente e que a elimine sem a reproduzir, armazenar
ou divulgar a qualquer entidade.

CONFIDENTIALITY: This  e-mail  and  any attachments are confidential and may
be privileged. If  you are not a named recipient, please notify the sender
immediately and do not disclose the contents to another person, use it for
any purpose or store or copy the information in any medium.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sysinstall config question

2004-05-24 Thread Daniel Bye
On Mon, May 24, 2004 at 02:47:32PM +0400, Alex Povolotsky wrote:
 Hello!
 
 According to sysinstall(8), 
 
  LOAD_CONFIG_FILE
If sysinstall is compiled with LOAD_CONFIG_FILE set in the envi-
ronment (or in the Makefile) to some value, then that value will
be used as the filename to automatically look for and load when
sysinstall starts up and with no user interaction required.  This
option is aimed primarily at large sites who wish to create a
single prototype install for multiple machines with largely iden-
tical configurations and/or installation options.
 
 However, attempt to make release as follows
 
 make release BUILDNAME=5.2.1-RELEASE CHROOTDIR=/var/release CVSROOT=/home/ncvs 
 RELEASETAG=RELENG_5_2_1_RELEASE LOAD_CONFIG_FILE=gw.conf
 
 result in the following error:
 
 === bin
 === bin/cat
 install -s -o root -g wheel -m 555   cat /var/release/bin
 install: cat: No such file or directory
 *** Error code 71
 
 Stop in /usr/src/bin/cat.
 *** Error code 1
 
 Stop in /usr/src/bin.
 *** Error code 1
 
 while building release without LOAD_CONFIG_FILE builds just fine.
 
 I do not have a 4.X box with enough resources to try the same there; maybe
 someone could enlighten me? Or I should ask in -current?


My understanding from reading sysinstall(8) is that the sysinstall binary
needs to have LOAD_CONFIG_FILE set in the environment, not the release
build.

Try adding it to the Makefile for sysinstall, and see what happens...

However, I have recently set up a custom install script, which simply has
the default name, install.cfg.  As long as it is located in the root of your
mfsroot file system, sysinstall will load it.  If you don't have a
particular need to give it a different name, you might give it a go.

Dan


pgpG2OeCMnaCg.pgp
Description: PGP signature


FreeBSD 4.7 (Related to Dump and Restore).

2004-05-24 Thread Grant Peel
Hi guys,

Thanks for the help with the dump and restore question.

I am about to clone 2 more machines to the setup mentioned in 'Dump and
Restore'.

It is based around FreeBSD 4.7. These systems will need to last 3 years
before they are decommisioned and replaced.

Are there any critical problems with 4.7 I should be concerned with?

-Grant


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


Repeated connections to port 25 with firewall

2004-05-24 Thread Jonathon McKitrick

This is probably a simple question with a simple answer, but I wasn't sure
where to look.

I recently installed a deny-all firewall and everything is working fine.
However, I keep getting /kernel log messages about attempts to connect to
port 25.  Are these just various processes trying to mail their results to
root, but can't because of the firewall?  Or maybe cron doing the same thing?

May 24 08:00:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
127.0.0.1:1101 flags:0x02
May 24 08:00:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
127.0.0.1:2270 flags:0x02
May 24 08:05:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
127.0.0.1:4230 flags:0x02
May 24 08:10:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
127.0.0.1:2687 flags:0x02
May 24 08:15:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
127.0.0.1:3274 flags:0x02
May 24 08:20:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
127.0.0.1:1542 flags:0x02
May 24 08:25:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
127.0.0.1:3652 flags:0x02


jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2004-05-24 Thread balocom
I have an older computer wich cant`t boot CD-ROM discs and I hawe two ways:
-to boot from the hard disc;
-or to boot from the floppy and instal it from CD-ROM.
But i have no idea how to do this.
Marko, Slovenia ___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: your mail

2004-05-24 Thread Michal Pasternak
[EMAIL PROTECTED] [Mon, May 24, 2004 at 03:58:05PM +0200]:
 I have an older computer wich cant`t boot CD-ROM discs and I hawe two ways:
 -to boot from the hard disc;
 -or to boot from the floppy and instal it from CD-ROM.
 But i have no idea how to do this.

Start with FreeBSD Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 4.7 (Related to Dump and Restore).

2004-05-24 Thread JJB
Yes there are many critical problems you should be very concerned
about. The first being 4.7 is at it's end of life now. There are
many security updates between 4.7 and 4.10 the soon to be officially
announced newest stable version release.

If you have time constraint where you have to deploy now, then I
would install 4.10 RC from scratch and populate the other boxes from
that, or if not that than at least start with 4.9 as the base.




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Grant Peel
Sent: Monday, May 24, 2004 8:06 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD 4.7 (Related to Dump and Restore).

Hi guys,

Thanks for the help with the dump and restore question.

I am about to clone 2 more machines to the setup mentioned in 'Dump
and
Restore'.

It is based around FreeBSD 4.7. These systems will need to last 3
years
before they are decommisioned and replaced.

Are there any critical problems with 4.7 I should be concerned with?

-Grant


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

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


Re: disk recovery

2004-05-24 Thread Bill Moran
John Oxley wrote:
Hi,
I have a personal server with 400Gb of hard disks in various shapes and
sizes.  I don't have enough money for redundant disks, and I would like
to know what the most efficient way of making sure my data doesn't get
lost, in case of a hard drive failure.  The best would be for some sort
of recovery if a disk goes south for the winter.
On this note, what's the best way of recovering data when a disk does go
bad.
You need to make backups to some other media, whether it be CD, or tape or
a second set of disk drives.
Doesn't sound easy.  If you assume an average of 2:1 compression, you're
still going to need 200G to back everything up.  That'll take 50 DVDs ...
If all of this data is important to you, then you need to come up with
some cash.  You might want to consider which of the data is _really_
important, and what you can survive losing and only back up the truely
critical stuff.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sophos anti virus and mailmonitor on freebsd

2004-05-24 Thread Micheal Patterson




- Original Message - 
From: Frank Mueller [EMAIL PROTECTED]
To: Thomas Farrell [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, May 24, 2004 1:12 AM
Subject: Re: sophos anti virus and mailmonitor on freebsd


 I wonder who should ever need mailmonitor in FreeBSD
 Here we are running Sophos on several FBSD machines and we use amavis to
make it scan and filter
 our mails. That works perfectly and so I see no need for mailmonitor at
all.

 Greetz,

 Frank


While it is true that Sophos  sweep will run under Amavis, and that's all
you need, if you're processing mail with that system, then it's considered a
mail gateway to them legally and you have to purchase the mail gateway
version to legally use it. Trust me on this, I went round and around with
this problem because when I ordered Sophos for FreeBSD a couple of years
back, I specifically asked about the ability to use it on our mail server
and everything was good. This was before they offered their mail gateway
system. Earlier this year, our license was about to expire so I went to
renew and was shocked to hear that I was now in violation of my license. I
informed them that it was running on my smtp server, and was then informed
that their licensing had changed and now, I needed to purchase the product
for the mail gateway.  All I needed was to be able to run sweep, but we were
going to be forced to buy the Enterprise edition for mail gateways in order
to continue using it.  A Network Server != SMTP Server to them. I see no
reason to purchase the entire mail gateway package as it's not necessary,
however to be legal with them, it is. Hence the reason that we switched to
another av package and pulled sweep from our server.

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


RE: disk recovery

2004-05-24 Thread JJB
Even considering repairing an damaged HD as an method to replace
backups is an stupid thought. People who do not backup critical data
are fools. There is no price tag one can put on critical data. You
find some way to backup to flat compressed file format and write to
an removable HD or CDROM or some free web hosting site, BUT backup
your data now. There is no substitute.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John Oxley
Sent: Monday, May 24, 2004 4:28 AM
To: [EMAIL PROTECTED]
Subject: disk recovery

Hi,

I have a personal server with 400Gb of hard disks in various shapes
and
sizes.  I don't have enough money for redundant disks, and I would
like
to know what the most efficient way of making sure my data doesn't
get
lost, in case of a hard drive failure.  The best would be for some
sort
of recovery if a disk goes south for the winter.

On this note, what's the best way of recovering data when a disk
does go
bad.

--
/~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
 X  Against HTMLhttp://oxo.rucus.net/
/ \ Email!  oxo at rucus.ru.ac.za
Personally, I'd rather pay for my freedom than live in a bitmapped,
pop-up-happy dungeon like NT.
-- Thomas Scoville
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: Help to start BIND on boot

2004-05-24 Thread Matthew Seaman
On Mon, May 24, 2004 at 12:29:55PM +0100, Nuno César Pires wrote:

 My question is: what solve the problem, the new FreeBSD 5.2.1 or the BIND
 8.3.7?

Good question.  It's unlikely to be the simple replacement of one OS
version or one BIND version for another -- we would know about it if
there was a general problem with people running BIND on FreeBSD.  

 How can I solve this strange behaviour in the FreeBSD 4.9/BIND 8.3.6 system?

Unfortunately, having made my best guess, I'm afraid I'm all out of
suggestions.  Other than this: take a close look at the way both of
those boxes are set up, and try and isolate the differences in
configuration between the two.  The answer should lie somewhere in
there -- something you did differently on one of the boxes.  Isolate
that, and you're home and dry.

Which is easy to say, but not necessarily easy to do.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpFD9N3WcROG.pgp
Description: PGP signature


Re: Repeated connections to port 25 with firewall

2004-05-24 Thread Matthew Seaman
On Mon, May 24, 2004 at 01:29:57PM +0100, Jonathon McKitrick wrote:
 
 This is probably a simple question with a simple answer, but I wasn't sure
 where to look.
 
 I recently installed a deny-all firewall and everything is working fine.
 However, I keep getting /kernel log messages about attempts to connect to
 port 25.  Are these just various processes trying to mail their results to
 root, but can't because of the firewall?  Or maybe cron doing the same thing?
 
 May 24 08:00:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
 127.0.0.1:1101 flags:0x02
 May 24 08:00:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
 127.0.0.1:2270 flags:0x02
 May 24 08:05:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
 127.0.0.1:4230 flags:0x02
 May 24 08:10:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
 127.0.0.1:2687 flags:0x02
 May 24 08:15:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
 127.0.0.1:3274 flags:0x02
 May 24 08:20:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
 127.0.0.1:1542 flags:0x02
 May 24 08:25:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25 from
 127.0.0.1:3652 flags:0x02

If you're using sendmail, that the client mail submission instance
trying to hand off a message to the MTA instance.  If you type

# mailq -Ac

you should be able to see what been queued up.

You will have to alter your firewalling to allow TCP connections
localhost:any - localhost:smtp in order to get e-mail working on that
machine.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpmbtB1O9Fod.pgp
Description: PGP signature


Re: bad gnome responsiveness with network load

2004-05-24 Thread Joan Picanyol
* Simon Barner [EMAIL PROTECTED] [20040524 12:47]:
 Hi,
 
  Summary: with /home NFS mounted at 10Mbit/s, network i/o
  makes my sytem noticeably slower (as in GNOME interactivity). I'm running
  RELENG_5_2, with SCHED_ULE and ADAPTIVE_MUTEXES. 
 
 What NIC are you using? It sounds like your system is slowed down by
 vast interrupt stroms (use top an vmstat -i whether interrupts are a
 significatan component in your system load).

Mmmhh... It doesn't look like it. The irq19 rate remains constant, and
top doesn't show more than 3% cpu on intr.

xl0: 3Com 3c905C-TX Fast Etherlink XL port 0x3080-0x30ff mem 0xd0101800-0xd010187f 
irq 19 at device 8.0 on pci2
xl0: Ethernet address: 00:e0:81:27:cb:3b
miibus0: MII bus on xl0

514,p2,0$ vmstat -i | grep xl0
irq19: xl0 ohci0  787787 13

Any other thoughts?

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


Re: disk recovery

2004-05-24 Thread Joachim Dagerot
I used to think just like you. I thought I found the perfect balance
between being on a budget and still having some kind of data security
by using the Vinum software raid.

So I stored the first 10 hours of video and 4k of still shots of my
newly borned first child on the raid, and everything went well until
one day when the kid crawled upfront the server and started to switch
on switch of with a rate only a kid can achieve.

One disk broke and I never managed to get it up again. So all memories
from my sons first year where lost.

Also I got no support whatsoever from this list when I asked for help
to replace and recover the RAID system, so I was quite alone with
vinum at that point...

Today I have a hardware raid with a four disks volume and a fifth disk
as spare. Some of the directories are each night copied to another
machine for backup. Now and then (unfortunately mostly 'then') I burn
newly taken pictures and films to DVD and put them in a box on my
office (just in case of fire back home).

If you have 400Gb of data I assume it's not material produced by
yourself but perhaps downloaded films, music etc. If your'e on a
budget, don't backup that. But do backup everything you've created
yourself.

So, don't repeat my misstake!

//Joachim


| I have a personal server with 400Gb of hard disks in various shapes
and
| sizes.  I don't have enough money for redundant disks, and I would
like
| to know what the most efficient way of making sure my data doesn't
get
| lost, in case of a hard drive failure.  The best would be for some
sort
| of recovery if a disk goes south for the winter.
| 
| On this note, what's the best way of recovering data when a disk
does go
| bad.

 | I have a personal server with 400Gb of hard disks in various shapes
and
 | sizes.  I don't have enough money for redundant disks, and I would
like
 | to know what the most efficient way of making sure my data doesn't
get
 | lost, in case of a hard drive failure.  The best would be for some
sort
 | of recovery if a disk goes south for the winter.
 | 
 | On this note, what's the best way of recovering data when a disk
does go
 | bad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:

2004-05-24 Thread Kent Stewart
On Monday 24 May 2004 06:58 am, [EMAIL PROTECTED] wrote:
 I have an older computer wich cant`t boot CD-ROM discs and I hawe two
 ways: -to boot from the hard disc;
 -or to boot from the floppy and instal it from CD-ROM.
 But i have no idea how to do this.
 Marko, Slovenia

Choose your closest mirror and look at the following path
ftp://ftp9.us.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/floppies

You also have to choose which release you are going to install as part 
of the path.

The directory has a boot.flp and mfsroot.flp. The README.TXT tells you 
how to write the images to a floppy.I always did wrote them on a W2K 
Server using ../tools/fdimage.exe.

After you have loaded the 2nd floppy, you are just like you had booted 
from the CD-ROM.

Kent

-- 
Kent Stewart
Richland, WA

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


Re:

2004-05-24 Thread Kent Stewart
On Monday 24 May 2004 06:34 am, Kent Stewart wrote:
 On Monday 24 May 2004 06:58 am, [EMAIL PROTECTED] wrote:
  I have an older computer wich cant`t boot CD-ROM discs and I hawe
  two ways: -to boot from the hard disc;
  -or to boot from the floppy and instal it from CD-ROM.
  But i have no idea how to do this.
  Marko, Slovenia

 Choose your closest mirror and look at the following path
 ftp://ftp9.us.freebsd.org/pub/FreeBSD/releases/i386/4.9-RELEASE/flopp
ies

If you have a CD-ROM, this could all be on the CD and you don't need to 
download the files.

Kent


 You also have to choose which release you are going to install as
 part of the path.

 The directory has a boot.flp and mfsroot.flp. The README.TXT tells
 you how to write the images to a floppy.I always did wrote them on a
 W2K Server using ../tools/fdimage.exe.

 After you have loaded the 2nd floppy, you are just like you had
 booted from the CD-ROM.

 Kent

-- 
Kent Stewart
Richland, WA

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


Re: disk recovery

2004-05-24 Thread Jerry McAllister
Hi,

 Hi,
 
 I have a personal server with 400Gb of hard disks in various shapes and
 sizes.  I don't have enough money for redundant disks, and I would like
 to know what the most efficient way of making sure my data doesn't get
 lost, in case of a hard drive failure.  The best would be for some sort
 of recovery if a disk goes south for the winter.

If that data is important, then it is worth the cost of backing up.

 
 On this note, what's the best way of recovering data when a disk does go
 bad.

The only way is to restore it from a backup.   You could try one of those
emergency NSA type recovery services, but that would cost you far more
than buying a backup system.   

So, whatever media you choose, shell it out for some backup capacity.
In the short run, some additional disks might be the easiest and
cheapest.   Just add enough disk to hold everything and use dump(8) to
a file on the extra disk to make the backup.   Pull the disks and 
set them aside in a clean storage space.  Use a different set of disk
the next time and alternate/rotate them.   Then if you need something
or everything back, it is easy to get it using restore.
You could create a mirroring system, but that is not quite a backup
since it is left on the machine and is subject to the same environmental
conditions that might cause the main disks to fail.

In the longer run, it might actually still be cheaper to get a 
good tape system such as DLT.Then you can make a really good
media rotation of maybe 5 sets, plus an occasional archive set.
With that much data or more, don't bother with one of the cheapie
tape systems.  You will overload its duty cycle quickly and have
to replace it too often.

jerry

 
 -- 
 /~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
 \ / Ribbon Campaign John Oxley
  X  Against HTMLhttp://oxo.rucus.net/
 / \ Email!  oxo at rucus.ru.ac.za
 Personally, I'd rather pay for my freedom than live in a bitmapped, 
 pop-up-happy dungeon like NT.
   -- Thomas Scoville
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: sysinstall config question

2004-05-24 Thread Alex Povolotsky
On Mon, 24 May 2004 12:37:43 +0100
Daniel Bye [EMAIL PROTECTED] wrote:


DB My understanding from reading sysinstall(8) is that the sysinstall
DB binary needs to have LOAD_CONFIG_FILE set in the environment, not
DB the release build.
DB 
DB Try adding it to the Makefile for sysinstall, and see what
DB happens...
DB 
DB However, I have recently set up a custom install script, which
DB simply has the default name, install.cfg.  As long as it is located
DB in the root of your mfsroot file system, sysinstall will load it. 
DB If you don't have a particular need to give it a different name, you
DB might give it a go.

Thanks; will try it.

WHat is the correct way to add install.cfg? Should it jut be put into /usr/src/release 
before build?

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


Re: Repeated connections to port 25 with firewall

2004-05-24 Thread Thomas T. Veldhouse
From: Jonathon McKitrick [EMAIL PROTECTED]

 This is probably a simple question with a simple answer, but I wasn't sure
 where to look.

 I recently installed a deny-all firewall and everything is working fine.
 However, I keep getting /kernel log messages about attempts to connect to
 port 25.  Are these just various processes trying to mail their results to
 root, but can't because of the firewall?  Or maybe cron doing the same
thing?

 May 24 08:00:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25
from
 127.0.0.1:1101 flags:0x02
 May 24 08:00:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25
from
 127.0.0.1:2270 flags:0x02
 May 24 08:05:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25
from
 127.0.0.1:4230 flags:0x02
 May 24 08:10:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25
from
 127.0.0.1:2687 flags:0x02
 May 24 08:15:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25
from
 127.0.0.1:3274 flags:0x02
 May 24 08:20:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25
from
 127.0.0.1:1542 flags:0x02
 May 24 08:25:00 neptune /kernel: Connection attempt to TCP 127.0.0.1:25
from
 127.0.0.1:3652 flags:0x02



You should allow all traffic on your loopback device by default.  Much like
this (for IPFILTER)

pass in quick on lo0 all
pass out quick on lo0 all

It would also be good to block spoofed traffic if you allowing connectivity
to the internet or other unprotected networks.

#
# Deny reserved addresses.
#
block in log quick from 10.0.0.0/8 to any group 100
block in log quick from 192.168.0.0/16 to any group 100
block in log quick from 172.16.0.0/12 to any group 100

#
# prevent IP spoofing.
#
block in log quick from me to any group 100

BTW ... group 100 is inbound packets on the public interface.

Tom Veldhouse


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


Re: sysinstall config question

2004-05-24 Thread Daniel Bye
On Mon, May 24, 2004 at 05:48:21PM +0400, Alex Povolotsky wrote:
 On Mon, 24 May 2004 12:37:43 +0100
 Daniel Bye [EMAIL PROTECTED] wrote:
 
 
 DB My understanding from reading sysinstall(8) is that the sysinstall
 DB binary needs to have LOAD_CONFIG_FILE set in the environment, not
 DB the release build.
 DB 
 DB Try adding it to the Makefile for sysinstall, and see what
 DB happens...
 DB 
 DB However, I have recently set up a custom install script, which
 DB simply has the default name, install.cfg.  As long as it is located
 DB in the root of your mfsroot file system, sysinstall will load it. 
 DB If you don't have a particular need to give it a different name, you
 DB might give it a go.
 
 Thanks; will try it.
 
 WHat is the correct way to add install.cfg? Should it jut be put into 
 /usr/src/release before build?
 

Maybe that would work - but it's not how I'm doing it.  I am building a
custom mfsroot image, into which I install statically linked binaries etc,
as well as a copy of my install.cfg.  This has the advantage of being easy
to modify - if you need to alter the install.cfg, you don't have to
completely reblow your release build; you can just mount the mfsroot image,
and edit the file like a normal file.

Something like this should work for you:

# gunzip /path/to/release/mfsroot.gz
# mdconfig -a -t vnode -f /path/to/release/mfsroot -u 0
# mount /dev/md0 /mnt

(copy your custom install.cfg to /mnt)

# umount /mnt
# mdconfig -d -u 0

Your imstall.cfg now resides in the root of the mfsroot image, and will be
picked up by sysinstall when it starts at boot.

HTH,

Dan


pgpi3Ndp8E7Z3.pgp
Description: PGP signature


How to decrease the loader wait-time?

2004-05-24 Thread Andreas Davour

Hi!

I've been staring at the beastie during startup quite a bit now. Even
though he is a handsome chap to stare at, I still think 10 seconds each
boot is a bit to much.

Can someone tell me how I configure the loader to decrease the time delay?
I kind of figured it would be found in the Handbook, I haven't found it.
Pointers welcome.

Thanks.

/andreas

=== Emacs =
mail: [EMAIL PROTECTED]
Americans have different ways of saying things.
They say 'elevator', we say 'lift' ... they say
'President', we say 'stupid psychopathic git.'
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sigset_t

2004-05-24 Thread Malcolm Kay
On Monday 24 May 2004 23:40, Arne Dirks wrote:
 Hi folks,

 I have just coded something on my Mac with signal
 funcionalities. On my machine (OS X 10.3) it compiles
 without problems, but on a FreeBSD 5.2.1 machine I get an
 error. The compiler says:

 main.c:10: error: invalid initializer
 *** Error code 1


 My Code was:

 10: sigset_t sig = SIGALRM;


 As I said, on a Mac it compiles well, but the BSD-machine
 is giving the named error. I think there must be a type
 mismatch, but I cannot find any declaration for sigset_t
 in the include dir.

On 4.9 it is defined in include/sys/signal.h

typedef struct __sigset {
unsigned int__bits[_SIG_WORDS];
} sigset_t;

Which does not muatch the integer type of SIGALRM.

Malcolm 

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


Re: How to decrease the loader wait-time?

2004-05-24 Thread Frank Mueller
Just add the following line to your /boot/loader.conf:

autoboot_delay=SECONDS

and set the time in seconds for SECONDS.

Greetz,

Frank


 Hi!

 I've been staring at the beastie during startup quite a bit now. Even
 though he is a handsome chap to stare at, I still think 10 seconds each
 boot is a bit to much.

 Can someone tell me how I configure the loader to decrease the time delay?
 I kind of figured it would be found in the Handbook, I haven't found it.
 Pointers welcome.

 Thanks.

 /andreas

 === Emacs =
   mail: [EMAIL PROTECTED]
 Americans have different ways of saying things.
 They say 'elevator', we say 'lift' ... they say
 'President', we say 'stupid psychopathic git.'
 ===
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: sigset_t

2004-05-24 Thread Dan Nelson
In the last episode (May 24), Arne Dirks said:
 I have just coded something on my Mac with signal funcionalities. On
 my machine (OS X 10.3) it compiles without problems, but on a FreeBSD
 5.2.1 machine I get an error. The compiler says:
 
 main.c:10: error: invalid initializer
 *** Error code 1
 
 
 My Code was:
 
 10: sigset_t sig = SIGALRM;

sigset_t is a signal set, which I believe is a bitmap internally. 
SIGALRM is just a number.  You must use the functions listed in the
sigsetops manpage to manipulate signal sets.  The correct code for your
case would be something like:

sigset_t sig;
sigemptyset(sig);
sigaddset(sig, SIGALRM);
 
-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to decrease the loader wait-time?

2004-05-24 Thread Dan Nelson
In the last episode (May 24), Andreas Davour said:
 I've been staring at the beastie during startup quite a bit now. Even
 though he is a handsome chap to stare at, I still think 10 seconds
 each boot is a bit to much.
 
 Can someone tell me how I configure the loader to decrease the time
 delay? I kind of figured it would be found in the Handbook, I haven't
 found it. Pointers welcome.

/boot/loder.conf:
beastie_disable=YES
autoboot_delay=2

works for me.  The variables are defined in the loader manpage (not
loader.conf, which only describes the syntax).

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


RE: IPF/IPNat router/gateway

2004-05-24 Thread Michael Zimmer

   Sorry for the confusion; the Windows machine(s) were connected to the
   BSD box through a smaller hub I had lying around.  The IPs are all
   static and have been manually entered.  ...the ISP swears up and down
   that they don't rely on DHCP, so I'm still somewhat at a loss.


   thanks again.

   From: JJB [EMAIL PROTECTED]
   Reply-To: [EMAIL PROTECTED]
   To: Michael Zimmer
   [EMAIL PROTECTED],[EMAIL PROTECTED]
   Subject: RE: IPF/IPNat router/gateway
   Date: Sun, 23 May 2004 22:16:17 -0400
   
   Problem can be in how you are cabled or how you assign private lan
   IP address to xp box behind FBSD.
   
   An single xp box cabled to your FBSD needs to be cabled using an
   crossover cable. An normal configuration is cabling FBSD box
   directly to public internet cable or dsl modem and then have all the
   xp systems cabled to hub and the hub cabled to FBSD box.
   
   Xp uses DHCP to automatically get an network ip address assigned and
   the reference DNS server ip address to use. On an private lan you
   have 2 ways of doing this. The manual way is to enter the network
   assigned ip address and dns servers ip address into xp. The other
   way is to install an DHCP server software on your FBSD gateway box
   so xp can get the info it needs automatically.
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of Michael
   Zimmer
   Sent: Sunday, May 23, 2004 8:08 PM
   To: [EMAIL PROTECTED]
   Subject: IPF/IPNat router/gateway
   
   
   Hello.  I apologize for asking a question which has been asked
   several
   dozen times before, but none of the prior-offered solutions seem
   to
   work.
   
   I'm trying to use a freeBSD box (v 5.1) as a gateway/router for
   my
   network.  I've got a static IP range for the network, but can't
   get
   things running.  (...the local machines are all running Windows
   XP
   Pro)
   
   The local machines can connect to my ISP when they're plugged in
   to
   the uplink, whether individually or through a hub, and the
   freeBSD box
   can as well.  ...however, a machine plugged into the BSD box is
   unable
   to ping the BSD box and vice versa.
   
   IPF is set to pass in/out quick all from any to any
   
   IPNat has the following rules set:
   
   map rl0 192.168.1.0/24 - x.x.x.254/32 portmap tcp/udp
   1:4
   map rl0 192.168.1.0/24 - x.x.x.254/32
   
   IP of the BSD box is x.x.x.254, mask 255.255.255.224 on the
   external
   NIC
   IP of the BSD box is 192.168.1.1, mask 255.255.255.224 on the
   internal
   NIC
   
   the lone machine connected to it at the moment is set on
   IP 192.168.1.2,
   mask 255.255.255.224,
   gateway 192.168.1.1
   
   ...and rc.conf has gateway_enable, ipfilter_enable and
   ipnat_enable
   all set to YES
   
   thanks.
   
   _
   
   [1]Stop worrying about overloading your inbox - get MSN Hotmail
   Extra
   Storage!
   
   References
   
   1. http://g.msn.com/8HMAENUS/2737??PS=47575
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
   
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 _

   [1]FREE pop-up blocking with the new MSN Toolbar get it now!

References

   1. http://g.msn.com/8HMBENUS/2728??PS=47575
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Excess Kernel Options

2004-05-24 Thread SonServers Christian Web Hosting
Hi,

I need to recompile my kernel on a server to add quota
support. I'm thinking while I'm doing that, I should go
ahead and remove everything else I don't need like SCSI,
RAID, etc.

The thing I'm wondering about is: I have no use for USB,
Firewire, etc. on this server. Even though the server has
USB on it, if I compile the kernel without USB support will
that cause problems?

Thank you,
Scott


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


Re: Repeated connections to port 25 with firewall

2004-05-24 Thread Giorgos Keramidas
On 2004-05-24 08:49, Thomas T. Veldhouse [EMAIL PROTECTED] wrote:
 From: Jonathon McKitrick [EMAIL PROTECTED]
 
  This is probably a simple question with a simple answer, but I
  wasn't sure where to look.
[snip]
 You should allow all traffic on your loopback device by default.
 Much like this (for IPFILTER)

 pass in quick on lo0 all
 pass out quick on lo0 all

Very true.  I do prefer writing this to explicitly allow only packets
from/to 127.0.0.1/32 though:

IPFW syntax
---
add allow ip from 127.0.0.1/32 to 127.0.0.1/32 via lo0
add deny ip from 127.0.0.0/8 to any
add deny ip from any to 127.0.0.0/8

ipfilter syntax
---
block in from any to any
block out from any to any
pass in quick from 127.0.0.1/32 to 127.0.0.1/32 on lo0
pass out quick from 127.0.0.1/32 to 127.0.0.1/32 on lo0

I've even been tempted to try blocking everything on lo0 and explicitly
allowing only a few selected ports/protocols.  But that's paranoid :-P

- Giorgos

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


libxml2.so.5: Undefined symbol pthread_equal w/ xfce4

2004-05-24 Thread Andreas Ntaflos
Hello list, 

This one annoys me for quite a long time now. I am using xfce4 (but
that's not the point) and there is this problem with libxml2. It
manifests itself thus: 

** (xfce-mcs-manager:89174): WARNING **: Module
/usr/X11R6/lib/xfce4/mcs-plugins /libxfce4settings.so cannot be 
opened (/usr/local/lib/libxml2.so.5: Undefined symbol pthread_equal)

(meaning that the properties panel for the xfce4-panel cannot be used
and it's not possible to configure it anymore).

Now I've searched the archives and found this:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2503272+0+archive/2004/freebsd-questions/20040314.freebsd-questions
and the only reply:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=2513997+0+/usr/local/www/db/text/2004/freebsd-questions/20040314.freebsd-questions

I've recompiled libxml2 a thousend times, with every possible
combination of WITH_THREADS=false, WITHOUT_THREADS=true, THREADS=off,
THREADS=no, etc, etc. /var/db/ports/libxml2/options has
WITHOUT_THREADS=true, meaning that the THREADS option for libxml2 is
OFF. I've recompiled each and ever port that depends on libxml2 
(which is A LOT of ports) with the same make flags to no avail.

What am I supposed to do? The problems seems to be only with xfce4. 
One single time I think I hit the correct combination of make flags,
resulting in xfce4 working correctly again with libxml2. Then, some 
days ago, I updated libxml2 and there it is again. Every other 
application (e.g. the Gimp) seems to works fine (I think). 

Why is this, what would I have to do and where should I read up on the
problem? Gotta have it fixed! Argh! :-)

I'd really appreciate any input concerning this! Hopefully I've provided
enought information on the subject.

Thanks in advance!
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Excess Kernel Options

2004-05-24 Thread Bill Moran
SonServers Christian Web Hosting wrote:
Hi,
I need to recompile my kernel on a server to add quota 
support. I'm thinking while I'm doing that, I should go 
ahead and remove everything else I don't need like SCSI, 
RAID, etc.

The thing I'm wondering about is: I have no use for USB, 
Firewire, etc. on this server. Even though the server has 
USB on it, if I compile the kernel without USB support will 
that cause problems?
No.  I do it all the time.  You can remove any device from your
kernel that you're not using, even if it exists in your machine.
The thing to remember about that is that devices often have
dependencies that aren't always obvious. (i.e., using a USB HDD
requires SCSI support)
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SquirrelMail login issues

2004-05-24 Thread Mike Oliveri
Hello,
I'm using SquirrelMail on FreeBSD 4.9 Release and I've installed the latest 
imap-uw from ports to allow SquirrelMail logins. Per the SquirrelMail 
support page, I used the following environment variable to run make before 
installation:

env WITH_SSL_AND_PLAINTEXT=YES make
per http://www.squirrelmail.org/wiki/en_US/UWLoginDisabled
However, every time a user logs in, we get the following error in the logs:
(date) (time) server imapd[48297]: Login disabled user=(username) 
auth=(username) host=localhost.uti.com [127.0.0.1]

Has anyone run into this before? It was working fine before reinstalling 
the server, and unfortunately I'm not sure what the previous sysadmin may 
have done to get SquirrelMail up and running properly.

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


[no subject]

2004-05-24 Thread Squirrel Havoc
Hello, I am new to this list, so hopefully I an
writing to the right address.

Anyway, I just installed FreeBSD in conjunction with
WindowsME, and when it asked for a boot manager to be
installed, I selected None, since it said that's
what people who use PC-DOS should select. Now I can't
boot into my new installation. 

Any ideas?

Thanks in advance

Daniel




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mystery Ports

2004-05-24 Thread Jason Dusek
Hey,
So I have some ports open (111 and 1023) and I don't know why. How do I 
find out what is keeping them open? I'm told that 111 is related to nfs, 
so I knocked off nfsiod but that didn't solve the problem...
--
-- Jason Dusek  (`-''-/).___..--''`-._
-- | `6_ 6  )   `-.  ( ).`-.__.`)
-- | (_Y_.)'  ._   )  `._ `. ``-..-'
-- |   _..`--'_..-_/  /--'_.' ,'
-- |  (il),-''  (li),'  ((!.-'
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to decrease the loader wait-time?

2004-05-24 Thread Andreas Davour
On Mon, 24 May 2004, Frank Mueller wrote:

 Just add the following line to your /boot/loader.conf:

 autoboot_delay=SECONDS

 and set the time in seconds for SECONDS.

Thanks! I'll try that.

/andreas

=== Emacs =
mail: [EMAIL PROTECTED]
Americans have different ways of saying things.
They say 'elevator', we say 'lift' ... they say
'President', we say 'stupid psychopathic git.'
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SquirrelMail login issues

2004-05-24 Thread Lee Dilkie
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike Oliveri
Sent: Monday, May 24, 2004 11:31 AM
To: [EMAIL PROTECTED]
Subject: SquirrelMail login issues


Hello,

I'm using SquirrelMail on FreeBSD 4.9 Release and I've 
installed the latest 
imap-uw from ports to allow SquirrelMail logins. Per the SquirrelMail 
support page, I used the following environment variable to run 
make before 
installation:

env WITH_SSL_AND_PLAINTEXT=YES make

per http://www.squirrelmail.org/wiki/en_US/UWLoginDisabled

However, every time a user logs in, we get the following error 
in the logs:

(date) (time) server imapd[48297]: Login disabled user=(username) 
auth=(username) host=localhost.uti.com [127.0.0.1]

Has anyone run into this before? It was working fine before 
reinstalling 
the server, and unfortunately I'm not sure what the previous 
sysadmin may 
have done to get SquirrelMail up and running properly.


I added the following to /etc/make.conf so it'll pick up the right settings 
everytime...

.if ${.CURDIR} == /usr/ports/mail/imap-uw
WITH_SSL_AND_PLAINTEXT=yes
.endif
.if ${.CURDIR} == /usr/ports/mail/cclient
WITH_SSL_AND_PLAINTEXT=yes
.endif

then forced a rebuild of imap-uw. (i think i used portupgrade -f imap-uw). 

Don't forget to reload imap with a HUP to inetd.

I installed squirrelmail a while after that and it has worked fine for me. Just 
playing with plugins right now.

Also, I need to move to apache13-modssl (to avoid the plaintext logins that I 
currently have) but that looks like a fairly major upgrade and I'm waiting for my 
nerve to build up.

-lee

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


Re: How to decrease the loader wait-time?

2004-05-24 Thread Andreas Davour
On Mon, 24 May 2004, Dan Nelson wrote:

 In the last episode (May 24), Andreas Davour said:
  I've been staring at the beastie during startup quite a bit now. Even
  though he is a handsome chap to stare at, I still think 10 seconds
  each boot is a bit to much.
 
  Can someone tell me how I configure the loader to decrease the time
  delay? I kind of figured it would be found in the Handbook, I haven't
  found it. Pointers welcome.

 /boot/loder.conf:
 beastie_disable=YES
 autoboot_delay=2

 works for me.  The variables are defined in the loader manpage (not
 loader.conf, which only describes the syntax).

So I didn't read the loader manpage closely enough. I read about
loader.conf, but apparantly that wasn't right.

Thanks for the help!

/andreas

=== Emacs =
mail: [EMAIL PROTECTED]
Americans have different ways of saying things.
They say 'elevator', we say 'lift' ... they say
'President', we say 'stupid psychopathic git.'
===
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libxml2.so.5: Undefined symbol pthread_equal w/ xfce4

2004-05-24 Thread Andreas Ntaflos
Sure I forgot to mention that I use FreeBSD 4.10-BETA as of April 9, not
5.x. 

Sorry.

Thanks.
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mystery Ports

2004-05-24 Thread Daniel Bye
On Mon, May 24, 2004 at 10:44:40AM -0500, Jason Dusek wrote:
 Hey,
 
 So I have some ports open (111 and 1023) and I don't know why. How do I 
 find out what is keeping them open? I'm told that 111 is related to nfs, 
 so I knocked off nfsiod but that didn't solve the problem...

111 is the rpcbind port.  1023 is open because your portmapper is running.
Kill rpcbind to close them both.

Use sockstat(1) to get an overview of what ports are in use, and by what
process.

HTH

Dan


pgphFs1kdtwFN.pgp
Description: PGP signature


Re: Mystery Ports

2004-05-24 Thread albi
On Mon, 24 May 2004 10:44:40 -0500
Jason Dusek [EMAIL PROTECTED] wrote:

 So I have some ports open (111 and 1023) and I don't know why. How do
 I find out what is keeping them open? I'm told that 111 is related to
 nfs, so I knocked off nfsiod but that didn't solve the problem...

you can look at /etc/services or ps auxw|grep nfs or netstat -ta |less
might help 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Mystery Ports

2004-05-24 Thread JJB
If you are running 5.x releases they have bug where NFS is run all
the time even if you don't want them. You have to recompile your
kernel without NFS support before they go away.  You should submit
an bug report about this.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jason Dusek
Sent: Monday, May 24, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: Mystery Ports

Hey,

So I have some ports open (111 and 1023) and I don't know why. How
do I
find out what is keeping them open? I'm told that 111 is related to
nfs,
so I knocked off nfsiod but that didn't solve the problem...
--
-- Jason Dusek  (`-''-/).___..--''`-._
-- | `6_ 6  )   `-.  ( ).`-.__.`)
-- | (_Y_.)'  ._   )  `._ `. ``-..-'
-- |   _..`--'_..-_/  /--'_.' ,'
-- |  (il),-''  (li),'  ((!.-'
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: Mystery Ports

2004-05-24 Thread Bill Moran
Jason Dusek wrote:
Hey,
So I have some ports open (111 and 1023) and I don't know why. How do I 
find out what is keeping them open? I'm told that 111 is related to nfs, 
so I knocked off nfsiod but that didn't solve the problem...
Two answers for two questions:
First, those two ports are open because portmapper is running.  See the
docs on how to shut it down.  Portmapper is often associated with NFS,
but there are other programs that use it as well.
Second, to find out what is opening a port, use sockstat -4.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SquirrelMail login issues

2004-05-24 Thread Mike Oliveri

I added the following to /etc/make.conf so it'll pick up the right 
settings everytime...

.if ${.CURDIR} == /usr/ports/mail/imap-uw
WITH_SSL_AND_PLAINTEXT=yes
.endif
.if ${.CURDIR} == /usr/ports/mail/cclient
WITH_SSL_AND_PLAINTEXT=yes
.endif
then forced a rebuild of imap-uw. (i think i used portupgrade -f imap-uw).
That did the trick! I wasn't even aware of the cclient portion.
Reinstalling the cclient with the proper flag and then reinstalling imap-uw 
worked perfectly. Thanks! I greatly appreciate it.

Also, I need to move to apache13-modssl (to avoid the plaintext logins 
that I currently have) but that looks like a fairly major upgrade and I'm 
waiting for my nerve to build up.
Good luck. :)
Take care,
Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apsfilter - build problems wrt ORBit2

2004-05-24 Thread Bryan Bursey
Folks -
uname -a:
FreeBSD nipplehead.eastlink.ca 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE 
#0: Sun May 23 21:23:47 ADT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NIPKERN  i386

I've made a couple of attempts to install print/apsfilter from ports.  
Before cvsupping both ports and src and make world-ing on -STABLE last 
night, I was getting an error relating to libgthread and undefined 
symbols in pthread while trying to build the ORBit2 dependency.

Now, I'm getting an infinite loop in the ORBit2 build, with the 
following lines being repeated:

gmake[3]: Entering directory 
`/usr/ports/devel/ORBit2/work/ORBit2-2.10.2/linc2/src'
cd ../..  /bin/sh ./config.status linc2/src/Makefile depfiles
config.status: creating linc2/src/Makefile
config.status: executing depfiles commands
gmake[3]: Leaving directory 
`/usr/ports/devel/ORBit2/work/ORBit2-2.10.2/linc2/src'

Does anyone know of problems with the ORBit build under 4-STABLE and how 
they might be corrected?

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


Recommended Motherboards for FreeBSD 4.x and 5.x

2004-05-24 Thread Robert Huff

Patrick Hurrelmann writes:

  personally I'm a ASUS-User.

Here too.  Started with a P2-B, now running on a P5-S533.  May
not be the highest performance, but a rock for stability.


Robert Huff



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


Problems connecting to the internet through a wireless router

2004-05-24 Thread John Murdock
I have installed FreeBSD succesfully on my Gateway M500 laptop. The only 
problem I have is that my laptop connects to the internet through a 
wireless router. My wireless card is working fine on the laptop and I 
can succesfully ping the router, but when I load up a webbrowser I get a 
Cannot find webpage error. So, it's confusing that the computer can 
connect to the router but not through the router to the internet. The 
output of ifconfig wi0 is:

wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet6 fe80::202:2dff:feb3:a0e%wi0 prefixlen 64 scopeid 0x5
 inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
 ether 00:02:2d:b3:0a:0e
 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
 status: associated
 ssid 1475 1:1475
 stationname FreeBSD WaveLAN/IEEE node
 channel 6 automode OPEN powersavemode OFF powersavesleep 100
 wepmode OFF weptxkey 1
Everything is setup fine with DHCP. Wep is disabled on my router right 
now so the wepmode I think shouldn't matter. Any help at all will be 
greatly appreciated.

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


Problem after running portupgrade

2004-05-24 Thread Stephen Liu
Hi folks,

I encountered problems after running

# portupgrade -aRrvO

At completion following warning popup;
.
..
Backing up the old version

/var: write failed, filesystem is full

bzip2: I/O or other error, bailing out.  Possible
reason follows.
bzip2: No space left on device
Input file = (stdin), output file = (stdout)
** Backup failed.
---  Uninstallation of linux_base-7.1_5 ended at:
Mon, 24 May 2004 22:20:19 +0800 (consumed 00:00:09)
---  Upgrade of emulators/linux_base ended at: Mon,
24 May 2004 22:20:19 +0800 (consumed 00:18:22)
[Updating the pkgdb format:dbm_hash in /var/db/pkg
... - 260 packages found (-0 +2) ..
/var: write failed, filesystem is full
---  Session ended at: Mon, 24 May 2004 22:20:22
+0800 (consumed 20:46:59)
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in
`origin': dbm_store failed: Cannot update the pkgdb!]
(PkgDB:BError)
from
/usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in
`origin'
from /usr/local/sbin/portupgrade:709:in
`do_upgrade'
from /usr/local/sbin/portupgrade:686:in `main'
from /usr/local/sbin/portupgrade:685:in `each'
from /usr/local/sbin/portupgrade:685:in `main'
from /usr/local/sbin/portupgrade:207:in
`initialize'
from /usr/local/sbin/portupgrade:207:in `new'
from /usr/local/sbin/portupgrade:207:in `main'
from /usr/local/sbin/portupgrade:1846
#

Reboot PC. Gnome could not be started with a warning
something like server configure error.

I have no chance to write down the complete warning
because it jumped to another empty window after a
while. Nor I have an editor to copy the warning down.

KDE started properly. Following problems were found.

1)
# /usr/src/etc/periodic/weekly/310.locate updatedb

Rebuilding locate database:
/var: write failed, filesystem is full
cat: stdout: No space left on device

2)
# df

Filesystem  1K-blocksUsedAvail Capacity 
Mounted on
/dev/ad4s1a253678   45872   18751220%/
devfs   1   10   100%/dev
/dev/ad4s1e2536784672   228712 2%/tmp
/dev/ad4s1f  36354884 4619692 2882680214%/usr
/dev/ad4s1d253678  249478   -16094   107%/var

3)
# portsclean -C
portsclean: Command not found

# cd /usr/ports
# make search name=portsclean
No printout

4) On KDE desktop
Konsole window - Font characters being huge
Settings - Font - Custom
started 'request font' window. It was possible to
select font.

But
Settings - Save Settings
seemed having no function. On starting a new Konsole
window fonts were still huge.

That were the mistakes having been discovered. Others
unknown yet.

Kindly advise.
1) How to free space. The HD is of 40 G in size solely
for FreeBSD 5.2
2) Where can I find 'portsclean' package
3) How to discover the cause of failure in starting
Gnome
4) How to set fonts on Konsole window

TIA

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem after running portupgrade

2004-05-24 Thread Chris
On Monday 24 May 2004 11:49 am, Stephen Liu wrote:
 Hi folks,

 I encountered problems after running

 # portupgrade -aRrvO

 At completion following warning popup;
 .
 ..
 Backing up the old version

 /var: write failed, filesystem is full

Look into /var/log for a list of files like this example:


cron.0.bz2  maillog.1.bz2   sendmail.st.0
cron.1.bz2  maillog.2.bz2   sendmail.st.1

Note the bz2 extensions and the files that have digits  at the end.
Chances are you may have many. You can delete these if you wish.

Also, look around the dirs within /var  You may have something logging such as 
a core dump.

Just a thought.

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


Re: Problem after running portupgrade

2004-05-24 Thread Remko Lodder
Hey again Stephen,
Stephen Liu wrote:
Hi folks,
I encountered problems after running
# portupgrade -aRrvO
At completion following warning popup;
.
..
Backing up the old version
/var: write failed, filesystem is full
bzip2: I/O or other error, bailing out.  Possible
reason follows.
bzip2: No space left on device
Input file = (stdin), output file = (stdout)
** Backup failed.
---  Uninstallation of linux_base-7.1_5 ended at:
Mon, 24 May 2004 22:20:19 +0800 (consumed 00:00:09)
---  Upgrade of emulators/linux_base ended at: Mon,
24 May 2004 22:20:19 +0800 (consumed 00:18:22)
[Updating the pkgdb format:dbm_hash in /var/db/pkg
... - 260 packages found (-0 +2) ..
/var: write failed, filesystem is full
---  Session ended at: Mon, 24 May 2004 22:20:22
+0800 (consumed 20:46:59)
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in
`origin': dbm_store failed: Cannot update the pkgdb!]
(PkgDB:BError)
from
/usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in
`origin'
from /usr/local/sbin/portupgrade:709:in
`do_upgrade'
from /usr/local/sbin/portupgrade:686:in `main'
from /usr/local/sbin/portupgrade:685:in `each'
from /usr/local/sbin/portupgrade:685:in `main'
from /usr/local/sbin/portupgrade:207:in
`initialize'
from /usr/local/sbin/portupgrade:207:in `new'
from /usr/local/sbin/portupgrade:207:in `main'
from /usr/local/sbin/portupgrade:1846
#
Reboot PC. Gnome could not be started with a warning
something like server configure error.
I have no chance to write down the complete warning
because it jumped to another empty window after a
while. Nor I have an editor to copy the warning down.
KDE started properly. Following problems were found.
1)
# /usr/src/etc/periodic/weekly/310.locate updatedb
Rebuilding locate database:
/var: write failed, filesystem is full
cat: stdout: No space left on device
2)
# df
Filesystem  1K-blocksUsedAvail Capacity 
Mounted on
/dev/ad4s1a253678   45872   18751220%/
devfs   1   10   100%/dev
/dev/ad4s1e2536784672   228712 2%/tmp
/dev/ad4s1f  36354884 4619692 2882680214%/usr
/dev/ad4s1d253678  249478   -16094   107%/var

3)
# portsclean -C
portsclean: Command not found
# cd /usr/ports
# make search name=portsclean
No printout
4) On KDE desktop
Konsole window - Font characters being huge
Settings - Font - Custom
started 'request font' window. It was possible to
select font.
But
Settings - Save Settings
seemed having no function. On starting a new Konsole
window fonts were still huge.
That were the mistakes having been discovered. Others
unknown yet.
Kindly advise.
1) How to free space. The HD is of 40 G in size solely
for FreeBSD 5.2
2) Where can I find 'portsclean' package
3) How to discover the cause of failure in starting
Gnome
4) How to set fonts on Konsole window
TIA
B.R.
Stephen Liu
Ofcourse you searched the internet, the archives etc? (guess not)
It says to you that the var drive is full, the var drive keeps logs etc 
so pretty crucial that it has some space. Go to /var/log and check which 
files are a bit big and rotate them. You can do that by entering 
single user mode, mount the /var, go to /var/log, type `ls -lh' it gives
you the filesizes

Some file has to be what bigger then the rest, so we need to clean it a bit.
Mount the /usr drive and create the directory /usr/tmp (since that drive 
has a lot of space left), now mv /var/log/$bigfilename /usr/tmp/ and
touch /var/log/$bigfilename (So that it does exist).

If you reboot now the system will come up and i guess that the things 
are starting to work again.

The Failure of gnome is too less space on /var i think,
The portsclean package? What's that? Search the internet ;)
Try changing your settings in Konsole now, perhaps there is enough space 
now.


--
Kind regards,
Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems connecting to the internet through a wireless router

2004-05-24 Thread Andrew L. Gould
On Mon, 24 May 2004 11:48:02 -0500
John Murdock [EMAIL PROTECTED] wrote:
 I have installed FreeBSD succesfully on my Gateway M500 laptop. The
 only problem I have is that my laptop connects to the internet through
 a wireless router. My wireless card is working fine on the laptop and
 I can succesfully ping the router, but when I load up a webbrowser I
 get a Cannot find webpage error. So, it's confusing that the
 computer can connect to the router but not through the router to the
 internet. The output of ifconfig wi0 is:
 
 wi0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::202:2dff:feb3:a0e%wi0 prefixlen 64 scopeid 0x5
   inet 192.168.1.101 netmask 0xff00 broadcast
   192.168.1.255 ether 00:02:2d:b3:0a:0e
   media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
   status: associated
   ssid 1475 1:1475
   stationname FreeBSD WaveLAN/IEEE node
   channel 6 automode OPEN powersavemode OFF powersavesleep 100
   wepmode OFF weptxkey 1
 
 Everything is setup fine with DHCP. Wep is disabled on my router right
 
 now so the wepmode I think shouldn't matter. Any help at all will be 
 greatly appreciated.
 
 [EMAIL PROTECTED]

Step 1:  Make sure that the file /etc/resolv.conf exists.  I don't think
dhclient can create the file if it's missing.

Best of luck,

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


Re: Broken Disk

2004-05-24 Thread Jason Dusek
Hi,
Through a combination of this list's suggestions, I managed to get fdisk 
to successfully operate on my disk. Thanks. However, the step about 
'editing my label' as given in the handbook:

# disklabel -e da1s1 # Edit the disklabel just created.
is not something I really understand. Where is some nice documentation 
on this?
--
-- Jason Dusek  (`-''-/).___..--''`-._
-- | `6_ 6  )   `-.  ( ).`-.__.`)
-- | (_Y_.)'  ._   )  `._ `. ``-..-'
-- |   _..`--'_..-_/  /--'_.' ,'
-- |  (il),-''  (li),'  ((!.-'
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems connecting to the internet through a wireless router

2004-05-24 Thread phest0r
I created the /etc/resolv.conf file and now it works. Amazing how simple 
that was. Thanks!

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


App like M$ Project

2004-05-24 Thread Bob Collins
I am looking for a nice Open Source app like Microsloth's Project. I
have Googled a bit and find nothing interesting. Do any of you have a
suggestion for such a thing, assuming it even exists? Of course, I would
also like to run it on FBSD, but if it could also run on Winderz, for
some of my (L)users, that would be good too.

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


Re:

2004-05-24 Thread Mike Jeays
On Mon, 2004-05-24 at 09:58, [EMAIL PROTECTED] wrote:
 I have an older computer wich cant`t boot CD-ROM discs and I hawe two ways:
 -to boot from the hard disc;
 -or to boot from the floppy and instal it from CD-ROM.
 But i have no idea how to do this.
 Marko, Slovenia 
 
 __
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

It is covered in detail in the handbook.  Basically, you need to copy
two disk images from the CD to a pair of floppies, using the rawrite
DOS program that is also provided on the CD.  Then boot from the first
floppy, which will then ask you to insert the second floppy, and will
then give you the option to install everything else from the CD.


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


Re: Broken Disk

2004-05-24 Thread Bill Moran
Jason Dusek wrote:
Hi,
Through a combination of this list's suggestions, I managed to get fdisk 
to successfully operate on my disk. Thanks. However, the step about 
'editing my label' as given in the handbook:

# disklabel -e da1s1 # Edit the disklabel just created.
is not something I really understand. Where is some nice documentation 
on this?
man disklabel is pretty comprehensive.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: App like M$ Project

2004-05-24 Thread Andreas Ntaflos
On Mon, May 24, 2004 at 02:05:39PM -0400, Bob Collins wrote:
 I am looking for a nice Open Source app like Microsloth's Project. I
 have Googled a bit and find nothing interesting. Do any of you have a
 suggestion for such a thing, assuming it even exists? Of course, I would
 also like to run it on FBSD, but if it could also run on Winderz, for
 some of my (L)users, that would be good too.
 

You probably want to check out Gantt-Project at http://www.ganttproject.org/
It's a Java program, meaning you need a working installation of Java on
your system (which you probably have anyway). Start it by using 
 java -jar ganttproject-1.9.11.jar

Since it is a native Java app it runs a bit slowly :) It probably isn't
as powerful as MS Project, but I think it features enough functionality
to be useful.

As a matter of fact, I am using it right now for a stupid and boring
project management course at the TU Vienna. Unfortunately the
documentation/manual is not very impressive.

HTH
-- 
Andreas daff Ntaflos | A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing.
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: App like M$ Project

2004-05-24 Thread Thorsten von Plotho-Kettner
On Mon, 24 May 2004 14:05:39 -0400
Bob Collins [EMAIL PROTECTED] wrote:

 I am looking for a nice Open Source app like Microsloth's Project. 
Maybe here: http://freshmeat.net/search/?q=projectsection=projectsGo.x=0Go.y=0

Regards,

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


X11 config problem

2004-05-24 Thread Squirrel Havoc
I was able to boot into FreeBSD (finally!), and went
on to configure X11 by using xf86config, answered
all the questions, but after that, when I would type
X or startx, it starts up, then exits with an
error like no screen present. What config step am I
missing?

Thanks


=
Squirrel Havoc
-
Rodent Revenge Records
http://www.rodent-revenge.com




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Proper way to start a program at log-on

2004-05-24 Thread Christopher Nehren
On Sun, May 23, 2004 at 21:42:04 EDT, Kirk Strauser scribbled these
curious markings:
 Nope, that's fine.  Of course, you *could* just leave it running forever, if
 you really wanted to.

No, it is anything _but_ fine. If Gerard makes a mistake with
mergemaster, his shutdown changes are lost. The proper way to do so is, 
as others have suggested, to place a script in /usr/local/etc/rc.d/. If 
you want to do it completely properly, using rcNG (with rc.subr and
rc.conf) is the way to go.

Generally speaking, any well-behaved port leaves /etc alone completely. 
The only change that you should ever have to make to anything in /etc 
is a ${portname}_enable=YES in /etc/rc.conf, if the port uses rcNG. 
Having third-party software muck around in /etc (especially things like
a shutdown script) is a Linux prob ... er ... methodology. I'd hate to
think of what would happen if an entry in /etc/rc.shutdown was
incorrect, and caused the script to fail, thus not returning 0...

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp5hBJkoW4Qi.pgp
Description: PGP signature


Re: Mystery Ports

2004-05-24 Thread Christopher Nehren
On Mon, May 24, 2004 at 11:44:40 EDT, Jason Dusek scribbled these
curious markings:
 Hey,
 
 So I have some ports open (111 and 1023) and I don't know why. How do I 
 find out what is keeping them open? I'm told that 111 is related to nfs, 
 so I knocked off nfsiod but that didn't solve the problem...

Check the output of sockstat(1). 111 is rpcbind, needed for NFS, FAM,
and some other things. 1023 is also NFS-related, IIRC.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpo0ht4CKCae.pgp
Description: PGP signature


Re: App like M$ Project

2004-05-24 Thread Bob Collins
On Mon, May 24, 2004, Andreas Ntaflos clacked the keyboard to produce:

Thank you both, I shall look into each one.

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


Re: Proper way to start a program at log-on

2004-05-24 Thread Kirk Strauser
At 2004-05-24T18:51:18Z, Christopher Nehren [EMAIL PROTECTED] writes:

 No, it is anything _but_ fine.

Ack - I saw rc.shutdown and mentally replaced it with ~/.bash_logout ,
which would've been fine.  The real way is decidedly not fine.
-- 
Kirk Strauser


pgpt7jOKNGNV8.pgp
Description: PGP signature


freebsd 5.2.1 openssh hole

2004-05-24 Thread Thomas May
Hi,

 

i have installed the new version 5.2.1 and the ports collection from
yesterday. i have checked the server

with nessus and I got a security hole warning.

 

You are running a version of OpenSSH which is older than 3.7.1

 

Versions older than 3.7.1 are vulnerable to a flaw in the buffer management

functions which might allow an attacker to execute arbitrary commands on
this 

host.

 

What can I do ? I have installed openssl from the ports tree, but I got the
same error.

 

 

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Broken Disk

2004-05-24 Thread Jerry McAllister
 
 Jason Dusek wrote:
  Hi,
  
  Through a combination of this list's suggestions, I managed to get fdisk 
  to successfully operate on my disk. Thanks. However, the step about 
  'editing my label' as given in the handbook:
  
  # disklabel -e da1s1 # Edit the disklabel just created.
  
  is not something I really understand. Where is some nice documentation 
  on this?
 
 man disklabel is pretty comprehensive.

Yes.  But, you have to read it together with man fdisk to make any
sense of it and even then the writing is rather convoluted and confusing.  
They could both use a complete systematic rewrite.   I don't think I
know enough of the extra stuff (the stuff I don't usually use) to do 
it or I would try it.

So, anyway, user questions should not be surprising.
(But please ask reasonably specific questions or it is hard to
give a relevant answer)

jerry

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

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


Re: freebsd 5.2.1 openssh hole

2004-05-24 Thread Vince Hoffman


On Mon, 24 May 2004, Thomas May wrote:

 Hi,



 i have installed the new version 5.2.1 and the ports collection from
 yesterday. i have checked the server

 with nessus and I got a security hole warning.



 You are running a version of OpenSSH which is older than 3.7.1



 Versions older than 3.7.1 are vulnerable to a flaw in the buffer management

I think this should be ammended to Unpatched Versions older than 3.7.1
are etc etc ...

it looks like its refering to CERT Advisory CA-2003-24i [1], which effects
unpatched versions of less than OpenSSH 3.7.1. however this was patched in
freebsd (base and ports) the same day the advisory came out [2].
if your worried though, or want the newest version, install ssh from
ports.

Vince

 functions which might allow an attacker to execute arbitrary commands on
 this

 host.



 What can I do ? I have installed openssl from the ports tree, but I got the
 same error.








 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004

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

[1]http://www.cert.org/advisories/CA-2003-24.html
[2]ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:12.openssh.asc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


qmail from ports

2004-05-24 Thread Darryl Hoar
Greetings,
I installed qmail from ports.  distinfo file shows the 
qmail-ldap patch.  According to life with qmail-ldap,
the patch is suppose to contain the qmail.schema
file.  I cannot fine this file on my system after
the successful install of this port.  Anybody know
where it is ?

I have 5.1-release installed.

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


Re: Mystery Ports

2004-05-24 Thread Christopher Nehren
On Mon, May 24, 2004 at 11:58:43 EDT, JJB scribbled these
curious markings:
 If you are running 5.x releases they have bug where NFS is run all
 the time even if you don't want them. You have to recompile your
 kernel without NFS support before they go away.  You should submit
 an bug report about this.

... what? That's literally preposterous and ridiculous. My 5.2.1 system
doesn't demonstrate this behavior.

-- 
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgpH2GsCxpn7D.pgp
Description: PGP signature


Re: Broken Disk

2004-05-24 Thread Matthew Seaman
On Mon, May 24, 2004 at 03:24:33PM -0400, Jerry McAllister wrote:

  man disklabel is pretty comprehensive.
 
 Yes.  But, you have to read it together with man fdisk to make any
 sense of it and even then the writing is rather convoluted and confusing.  
 They could both use a complete systematic rewrite.   I don't think I
 know enough of the extra stuff (the stuff I don't usually use) to do 
 it or I would try it.

Actually, the disklabel application and man page got a complete
rewrite and a change of name for 5.x.  Compare and contrast:


http://www.freebsd.org/cgi/man.cgi?query=disklabelapropos=0sektion=0manpath=FreeBSD+4.9-stableformat=html


http://www.freebsd.org/cgi/man.cgi?query=bsdlabelapropos=0sektion=0manpath=FreeBSD+5.2-RELEASE+and+Portsformat=html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp1wOXOLnOH7.pgp
Description: PGP signature


Re: freebsd 5.2.1 openssh hole

2004-05-24 Thread Jason M. Leonard

On Mon, 24 May 2004, Vince Hoffman wrote:

 On Mon, 24 May 2004, Thomas May wrote:

  Hi,
 
  i have installed the new version 5.2.1 and the ports collection from
  yesterday. i have checked the server
 
  with nessus and I got a security hole warning.
 
  You are running a version of OpenSSH which is older than 3.7.1
 
 
 
  Versions older than 3.7.1 are vulnerable to a flaw in the buffer management

 I think this should be ammended to Unpatched Versions older than 3.7.1
 are etc etc ...

 it looks like its refering to CERT Advisory CA-2003-24i [1], which effects
 unpatched versions of less than OpenSSH 3.7.1. however this was patched in
 freebsd (base and ports) the same day the advisory came out [2].
 if your worried though, or want the newest version, install ssh from
 ports.

 Vince


Also keep in mind that nessus is (at times hilariously) unintelligent.
Think of it like a lockpick gun.  A lockpick gun is a tool that can make
opening a lock easier for an experienced locksmith; it is not a tool
that magically opens locks.  nessus is a tool that can make life easier
for an experienced administrator; it is not a magic all-knowing security
genie.  nessus will give you good advice about where *you should look* to
see if there is a problem; beyond that take its advice with a salt lick.


:Fuzz



 
  functions which might allow an attacker to execute arbitrary commands on
  this
 
  host.
 
 
 
  What can I do ? I have installed openssl from the ports tree, but I got the
  same error.
 
 
 
 
 
 
 
 
  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 [1]http://www.cert.org/advisories/CA-2003-24.html
 [2]ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:12.openssh.asc
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Broken Disk

2004-05-24 Thread Jerry McAllister
 
 On Mon, May 24, 2004 at 03:24:33PM -0400, Jerry McAllister wrote:
 
   man disklabel is pretty comprehensive.
 =20
  Yes.  But, you have to read it together with man fdisk to make any
  sense of it and even then the writing is rather convoluted and confusing.=
  =20
  They could both use a complete systematic rewrite.   I don't think I
  know enough of the extra stuff (the stuff I don't usually use) to do=20
  it or I would try it.
 
 Actually, the disklabel application and man page got a complete
 rewrite and a change of name for 5.x.  Compare and contrast:

Oh, good.   I will have to check it out.   
Except for a little tinkering to check out device support, I haven't
had time (or a free machine) to look at 5.xxx yet.   

jerry
 
 http://www.freebsd.org/cgi/man.cgi?query=3Ddisklabelapropos=3D0sektio=
 n=3D0manpath=3DFreeBSD+4.9-stableformat=3Dhtml
 
 http://www.freebsd.org/cgi/man.cgi?query=3Dbsdlabelapropos=3D0sektion=
 =3D0manpath=3DFreeBSD+5.2-RELEASE+and+Portsformat=3Dhtml
 
   Cheers,
 
   Matthew
 
 --=20
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
 PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK
 
 --YiEDa0DAkWCtVeE4
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAslO5iD657aJF7eIRArmzAJ4rddf407grBOg6jKr6XM5i67hEtQCgl1Qc
 v/DC0VZU1gxkoiJHEYoI2Fw=
 =Wehq
 -END PGP SIGNATURE-
 
 --YiEDa0DAkWCtVeE4--
 

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


Sounds breaks up with 5.2-STABLE

2004-05-24 Thread Andrew Kilpatrick
Hi,

I'm using FreeBSD 5.2-STABLE on my workstation and have just installed
a CMedia CMI8738-based sound card. The card has worked well under
OpenBSD in the past (even 3 in the same machine!) but with FreeBSD
the sound breaks up and is choppy if I do specific things in X like:

- opening new windows
- dragging a window
- scrolling in my browser
- holding down a key (like space)

It sounds like the buffers are underrunning. Looking at /dev/sndstat with
verbose set to 3 reveals a lot of buffer underruns, but it doesn't seem to
notice them all. I've tried unsuccessfully setting the hw.snd.pcm0.buffersize
variable higher than 16384, but to no avail.

My system is a Mini-ITX EPIA 533MHz board with a CMI8738-based
card. Top shows lots of CPU idling. I wrote a little program in C to open
the sound card and dump stdin to it, so I can see how fast it's consuming
buffers and fiddle with the ioctls and stuff, but nothing I do seems to make
it work, and writing buffers larger than 16384 makes it play with gaps
between buffers.

That's what I've tried so far... any help would be greatly appreciated!


Cheers,

Andrew

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


RE: Mystery Ports

2004-05-24 Thread JJB
Then you must have moved up to 5.2.1 using the source buildworld
method.
If you install from the mini iso file then NFS is indeed run with
the only way to get rid of it is by recompile kernel.

SO it's NOT literally preposterous and ridiculous, you just upgraded
and did not install from scratch so you have not seen this bug.


-Original Message-
From: Christopher Nehren [mailto:[EMAIL PROTECTED]
Sent: Monday, May 24, 2004 3:49 PM
To: JJB
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Mystery Ports

On Mon, May 24, 2004 at 11:58:43 EDT, JJB scribbled these
curious markings:
 If you are running 5.x releases they have bug where NFS is run all
 the time even if you don't want them. You have to recompile your
 kernel without NFS support before they go away.  You should submit
 an bug report about this.

... what? That's literally preposterous and ridiculous. My 5.2.1
system
doesn't demonstrate this behavior.

--
I abhor a system designed for the user, if that word is a coded
pejorative meaning stupid and unsophisticated.  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).

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


RE: freebsd 5.2.1 openssh hole

2004-05-24 Thread JJB
Send email to FBSD OpenSSH port maintainer and tell then the port is
out of date.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas May
Sent: Monday, May 24, 2004 3:23 PM
To: [EMAIL PROTECTED]
Subject: freebsd 5.2.1 openssh hole

Hi,



i have installed the new version 5.2.1 and the ports collection from
yesterday. i have checked the server

with nessus and I got a security hole warning.



You are running a version of OpenSSH which is older than 3.7.1



Versions older than 3.7.1 are vulnerable to a flaw in the buffer
management

functions which might allow an attacker to execute arbitrary
commands on
this

host.



What can I do ? I have installed openssl from the ports tree, but I
got the
same error.








---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004

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

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


Re: Broken Disk

2004-05-24 Thread Jason Dusek
 So, anyway, user questions should not be surprising.
 (But please ask reasonably specific questions or it is hard to
 give a relevant answer)

 jerry
Fair Enough,
My question is 'how do I edit a disklabel?' I assume that I am supposed 
to add an 'e' partition, but it seems that the c partition has eaten my 
disk. The partition file looks like this:

...stuff in the front omitted...
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 7816403704.2BSD 2048 1638489   # (Cyl.0 - 
12406*)

Does this mean that my disk is 'dangerously dedicated'? Isn't the fstype 
supposed to be 'ufs'? How do I toggle soft updates? I want to use this 
disk as backup media, so is one undifferentiated partition a good idea?
--
-- Jason Dusek  (`-''-/).___..--''`-._
-- | `6_ 6  )   `-.  ( ).`-.__.`)
-- | (_Y_.)'  ._   )  `._ `. ``-..-'
-- |   _..`--'_..-_/  /--'_.' ,'
-- |  (il),-''  (li),'  ((!.-'
--

Jerry McAllister wrote:
Jason Dusek wrote:
Hi,
Through a combination of this list's suggestions, I managed to get fdisk 
to successfully operate on my disk. Thanks. However, the step about 
'editing my label' as given in the handbook:

# disklabel -e da1s1 # Edit the disklabel just created.
is not something I really understand. Where is some nice documentation 
on this?
man disklabel is pretty comprehensive.

Yes.  But, you have to read it together with man fdisk to make any
sense of it and even then the writing is rather convoluted and confusing.  
They could both use a complete systematic rewrite.   I don't think I
know enough of the extra stuff (the stuff I don't usually use) to do 
it or I would try it.

So, anyway, user questions should not be surprising.
(But please ask reasonably specific questions or it is hard to
give a relevant answer)
jerry

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

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


Re: What's the bridged option in ipfw's man page ?

2004-05-24 Thread Christian Hiris
On Monday 24 May 2004 13:04, Supote Leelasupphakorn wrote:
 Hi... lists,

   I've read the ipfw man page and in the RULE OPTION
 There is bridged option there. I'm currently set the
 bridge-base firewall so my question is what's the bridged
 packets and how much I take advantage from this option ?

 TIA,
 pjn

The rule option bridged is used as an alias for layer2 by the ipfw 
command. 

Some interesting points written in PACKET FLOW in man ipfw and BUGS in man 
bridge.

Examples how the layer2 rule option could be used (I have not tested them, you 
can find some more on google):

 ${fwcmd} add pass layer2 mac-type arp  // allow arp
 ${fwcmd} add skipto 2 layer2   // goto rules for bridged packets

 ${fwcmd} add [...] // rules for non-bridged packets
 ${fwcmd} add deny all from any to any  // end of rules for non-bridged packets

 ${fwcmd} add 2 [...]   // rules for bridged packets 


regards
ch


pgpFmsjRYMDzu.pgp
Description: signature


RE: freebsd 5.2.1 openssh hole

2004-05-24 Thread Jason M. Leonard

On Mon, 24 May 2004, JJB wrote:

 Send email to FBSD OpenSSH port maintainer and tell then the port is
 out of date.

But only do so if you want to look like a complete moron.

(from a box with a recent ports tree)
dogfish# ssh -V
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004

OpenSSH 3.8.1p1 is the latest version available from OpenSSH.

The ports tree included with a -RELEASE is the ports tree for that
release.  It isn't going to be changed.  If you want ports more recent
than the release date, update your ports collection.


:Fuzz


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Thomas May
 Sent: Monday, May 24, 2004 3:23 PM
 To: [EMAIL PROTECTED]
 Subject: freebsd 5.2.1 openssh hole

 Hi,



 i have installed the new version 5.2.1 and the ports collection from
 yesterday. i have checked the server

 with nessus and I got a security hole warning.



 You are running a version of OpenSSH which is older than 3.7.1



 Versions older than 3.7.1 are vulnerable to a flaw in the buffer
 management

 functions which might allow an attacker to execute arbitrary
 commands on
 this

 host.



 What can I do ? I have installed openssl from the ports tree, but I
 got the
 same error.








 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004

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

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

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


RE: freebsd 5.2.1 openssh hole

2004-05-24 Thread Richard Cotrina

Take a look at /usr/ports/security/openssh-portable

There's the latest openssh port (3.8.1p1)


On Mon, 24 May 2004, JJB wrote:

 Send email to FBSD OpenSSH port maintainer and tell then the port is
 out of date.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Thomas May
 Sent: Monday, May 24, 2004 3:23 PM
 To: [EMAIL PROTECTED]
 Subject: freebsd 5.2.1 openssh hole

 Hi,



 i have installed the new version 5.2.1 and the ports collection from
 yesterday. i have checked the server

 with nessus and I got a security hole warning.



 You are running a version of OpenSSH which is older than 3.7.1



 Versions older than 3.7.1 are vulnerable to a flaw in the buffer
 management

 functions which might allow an attacker to execute arbitrary
 commands on
 this

 host.



 What can I do ? I have installed openssl from the ports tree, but I
 got the
 same error.








 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004

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

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

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


RE: Mystery Ports

2004-05-24 Thread Vince Hoffman

On Mon, 24 May 2004, JJB wrote:

 Then you must have moved up to 5.2.1 using the source buildworld
 method.
 If you install from the mini iso file then NFS is indeed run with
 the only way to get rid of it is by recompile kernel.

 SO it's NOT literally preposterous and ridiculous, you just upgraded
 and did not install from scratch so you have not seen this bug.

Or else he installed from floppies like i did (and didnt get this bug.)
have to says its the first i've heard of it.


 -Original Message-
 From: Christopher Nehren [mailto:[EMAIL PROTECTED]
 Sent: Monday, May 24, 2004 3:49 PM
 To: JJB
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Mystery Ports

 On Mon, May 24, 2004 at 11:58:43 EDT, JJB scribbled these
 curious markings:
  If you are running 5.x releases they have bug where NFS is run all
  the time even if you don't want them. You have to recompile your
  kernel without NFS support before they go away.  You should submit
  an bug report about this.

 ... what? That's literally preposterous and ridiculous. My 5.2.1
 system
 doesn't demonstrate this behavior.

 --
 I abhor a system designed for the user, if that word is a coded
 pejorative meaning stupid and unsophisticated.  -- Ken Thompson
 -
 Unix is user friendly. However, it isn't idiot friendly.
 -
 Please CC me in all replies, even if I'm on the relevant list(s).

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

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


Mounting CDrom

2004-05-24 Thread Donald Szatkowski
Thank you for considering my question.

How do I mount my cdrom and make it available to all users?

I have tried:  mount -t cd9669 /dev/acd0/cdrom
  
I have tried:  mount -t cd9660 /dev/acd0/mnt

Nothing! I know the unit works, as I loaded FreeBSD using Cdrom as the source.

If I remove noauto from the kernel, it won't let BSD boot at all. 

What am I missing? I have FreeBSD Handbook, 2nd but am unable to find a ref to 
a possible fix. Can anyone give a direction to look or possible reference 
area to help solve this problem?

Thank you Don

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


Re: Mounting CDrom

2004-05-24 Thread Andrew L. Gould
On Mon, 24 May 2004 16:32:26 -0500
Donald Szatkowski [EMAIL PROTECTED] wrote:

 Thank you for considering my question.
 
 How do I mount my cdrom and make it available to all users?
 
 I have tried:  mount -t cd9669 /dev/acd0/cdrom
   
 I have tried:  mount -t cd9660 /dev/acd0/mnt
 
 Nothing! I know the unit works, as I loaded FreeBSD using Cdrom as the
 source.
 
 If I remove noauto from the kernel, it won't let BSD boot at all. 
 
 What am I missing? I have FreeBSD Handbook, 2nd but am unable to find
 a ref to a possible fix. Can anyone give a direction to look or
 possible reference area to help solve this problem?
 
 Thank you Don

Isn't there an entry for the cdrom in /etc/fstab?  Have you tried:   
mount /cdrom

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


dump to a samba mounted FAT32 disk can't handle bigfiles?

2004-05-24 Thread Joachim Dagerot
I'm dump-ing to a samba mounted xp machine, it has an external HD
connected through FW and the HD is about 300GB. 

When I try to dump anything larger than 4GB dump gives me a write
error.

I assume this is the big-file limitation in the foreign OS, but I
guess this can be solved by breaking up the dump file in mutiple
volumes.

The man page for dump states this:

[]
 -B records
The number of kilobytes per output volume, except that if it is not an
integer multiple of the output block size, the command uses the next
smaller such multiple.  This option overrides the calculation of tape
size based on length and density.
[]

So I thougth this line should create a bunch of 35mb files. But it did
not. Any thouts on this?

dump -0 -L -a -B 35000 -f /HEMMET2/External_HD/freebsd_usr.dump 
/dev/ad0s1f



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


Re: Mounting CDrom

2004-05-24 Thread Phil Schulz
Donald Szatkowski wrote:
 
I have tried:  mount -t cd9660 /dev/acd0/mnt
 

I think you're missing a space... as root try
mount -t cd9660 /dev/acd0 /mnt
I think this only works on 5.x, on 4.x you'd have to use /dev/acd0c. Or 
read

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
if you want ordinary users to be able to mount drives.
Phil.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Broken Disk

2004-05-24 Thread Jerry McAllister
 
   So, anyway, user questions should not be surprising.
   (But please ask reasonably specific questions or it is hard to
   give a relevant answer)
  
   jerry
 
 Fair Enough,
 
 My question is 'how do I edit a disklabel?' I assume that I am supposed 
 to add an 'e' partition, but it seems that the c partition has eaten my 
 disk. The partition file looks like this:

Ah, I think that is mentioned in some part of the documentation, but
the 'c' partition is special and actually refers to the whole slice.   
Generally it should say 'unused' in the fstype column for partition c.
Then you just use it as a reference number and do not consider it
in the partitions you create.

Here is a disk on a machine I am logged in to right now for example.


8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  251494404.2BSD 2048 1638489   # (Cyl.0 - 156*)
  b:  4618240  2514944  swap# (Cyl.  156*- 444*)
  c: 355517820unused0 0 # (Cyl.0 - 2212*)
  e:  2514944  71331844.2BSD 2048 1638489   # (Cyl.  444*- 600*)
  f: 25903654  96481284.2BSD 2048 1638489   # (Cyl.  600*- 2212*)

Note that the a,b,e and f partitions add up to the c partition
and that the fstype for c is unused.

jerry

 
 ...stuff in the front omitted...
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
c: 7816403704.2BSD 2048 1638489   # (Cyl.0 - 
 12406*)
 
 Does this mean that my disk is 'dangerously dedicated'? Isn't the fstype 
 supposed to be 'ufs'? How do I toggle soft updates? I want to use this 
 disk as backup media, so is one undifferentiated partition a good idea?
 --
 -- Jason Dusek  (`-''-/).___..--''`-._
 -- | `6_ 6  )   `-.  ( ).`-.__.`)
 -- | (_Y_.)'  ._   )  `._ `. ``-..-'
 -- |   _..`--'_..-_/  /--'_.' ,'
 -- |  (il),-''  (li),'  ((!.-'
 --
 
 Jerry McAllister wrote:
 Jason Dusek wrote:
 
 Hi,
 
 Through a combination of this list's suggestions, I managed to get fdisk 
 to successfully operate on my disk. Thanks. However, the step about 
 'editing my label' as given in the handbook:
 
 # disklabel -e da1s1 # Edit the disklabel just created.
 
 is not something I really understand. Where is some nice documentation 
 on this?
 
 man disklabel is pretty comprehensive.
  
  
  Yes.  But, you have to read it together with man fdisk to make any
  sense of it and even then the writing is rather convoluted and confusing.  
  They could both use a complete systematic rewrite.   I don't think I
  know enough of the extra stuff (the stuff I don't usually use) to do 
  it or I would try it.
  
  So, anyway, user questions should not be surprising.
  (But please ask reasonably specific questions or it is hard to
  give a relevant answer)
  
  jerry
  
  
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
  
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


openssh port not uptodate ?

2004-05-24 Thread Thomas May
Hi,

 

i have now downloaded the new ports.tar.gz file and if i want to install the
openssh port, because of the security hole, i see the old version 3.6.1

 

bamp_home# make install

===  Vulnerability check disabled

 openssh-3.6.1.tgz doesn't seem to exist in /usr/ports/distfiles/.

 Attempting to fetch from ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/.

^C

fetch: transfer interrupted

bamp_home#

 

how do I get the new version ? is the port not uptodate ?

 

regards


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.689 / Virus Database: 450 - Release Date: 21.05.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X11 config problem

2004-05-24 Thread Oliver B. Fischer
X can produce a XF86Config with quite resonable defaults if you start 
XFree86 -configure. It will put the new file in root's home.

Regards
Oliver Fischer
Squirrel Havoc wrote:
I was able to boot into FreeBSD (finally!), and went
on to configure X11 by using xf86config, answered
all the questions, but after that, when I would type
X or startx, it starts up, then exits with an
error like no screen present. What config step am I
missing?
Thanks
=
Squirrel Havoc
-
Rodent Revenge Records
http://www.rodent-revenge.com
	
		
__
Do you Yahoo!?
Yahoo! Domains  Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openssh port not uptodate ?

2004-05-24 Thread Phil Schulz
Thomas May wrote:
i have now downloaded the new ports.tar.gz file and if i want to install the
openssh port, because of the security hole, i see the old version 3.6.1
 

how do I get the new version ? is the port not uptodate ?
 

You've probably downloaded the ports tree that comes whit a release. In 
order to get the latest ports you'll need to update the ports tree e.g. 
by using CVSup. Check the handbook at [1] on how to do that.
After you've updated your ports tree, go to /usr/ports/security/openssh 
and then type make install. You should then get the latest version of 
OpenSSH installed.

Phil.
[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Invalid partition table after sysinstall modifications

2004-05-24 Thread Doug Poland

Warren Block said:
 On Sat, 22 May 2004, Doug Poland wrote:

 I've got a 4.9-STABLE system that was dual-booted between FBSD and
 Win2K.  I had no further need for the windows slice so I used sysinstall
 to delete the NTFS slice, write it as type 165, newfs'd it, mounted it,
 and wrote a bunch of data to the new ufs slice.  So far so good...
 About 8 hours after this procedure the system hung, I rebooted and
 received the message,

Invalid partition table

 I was able to boot the system with a FreeSBIE live bootable CDROM and
 fsck all the ufs slices.  The data on all slices appear to be good, but
 I cannot figure out how to get this box to boot again.  I've google'd
 and read the appropriate handbook sections.

 Hmm.  It looks like that error comes from the plain mbr code
 (/boot/mbr), not the boot-selector loader (/boot/boot0).  The plain mbr
 only wants one partition (slice) to be active.

 See what fdisk has to say about your partitions.

[EMAIL PROTECTED]:~/djp# fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=119150 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=119150 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 22 (0x16),(OS/2 BM: hidden DOS with 16-bit FAT (= 32MB))
start 63, size 4096512 (2000 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 254/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 4096575, size 20964825 (10236 Meg), flag 80 (active)
beg: cyl 255/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 25061400, size 95040540 (46406 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
UNUSED

I'm not sure what we're looking for here.

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


Re: Invalid partition table after sysinstall modifications

2004-05-24 Thread Warren Block
On Mon, 24 May 2004, Doug Poland wrote:

 Warren Block said:
 
 Invalid partition table
 
  Hmm.  It looks like that error comes from the plain mbr code
  (/boot/mbr), not the boot-selector loader (/boot/boot0).  The plain mbr
  only wants one partition (slice) to be active.
 
  See what fdisk has to say about your partitions.
 
 [EMAIL PROTECTED]:~/djp# fdisk /dev/ad0
 *** Working on device /dev/ad0 ***
 parameters extracted from in-core disklabel are:
 cylinders=119150 heads=16 sectors/track=63 (1008 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=119150 heads=16 sectors/track=63 (1008 blks/cyl)

 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 22 (0x16),(OS/2 BM: hidden DOS with 16-bit FAT (= 32MB))
 start 63, size 4096512 (2000 Meg), flag 0
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 254/ head 254/ sector 63
 The data for partition 2 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 4096575, size 20964825 (10236 Meg), flag 80 (active)
 beg: cyl 255/ head 0/ sector 1;
 end: cyl 1023/ head 254/ sector 63
 The data for partition 3 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 25061400, size 95040540 (46406 Meg), flag 80 (active)
 beg: cyl 1023/ head 255/ sector 63;
 end: cyl 1023/ head 254/ sector 63
 The data for partition 4 is:
 UNUSED

 I'm not sure what we're looking for here.

You have two active partitions, 2 and 3.  The stock MBR doesn't like
having more than one active (bootable), and gives the Invalid partition
table message.  So either clear the active flag on one, or use boot0cfg
to install the multi-boot loader.  (At least I think this is what is
going on, based on the source for mbr.)

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


How to install boot manager after installation

2004-05-24 Thread Simon Barner
 Hello, I am new to this list, so hopefully I an
 writing to the right address.

Yes, you are, so welcome aboard!

 Anyway, I just installed FreeBSD in conjunction with
 WindowsME, and when it asked for a boot manager to be
 installed, I selected None, since it said that's
 what people who use PC-DOS should select. Now I can't
 boot into my new installation. 

Just boot once again from the installation CDROM and choose the
following options:

Configure-Fdisk-

Now select your FreeBSD hard drive (press space), and exit immediately
from the new menu shown ('q').

Now you'll have an option screen that lets you select BootMgr (the
FreeBSD boot manager).

Simon

P.S. If you did not install Windows before FreeBSD, you should do that
 before going through the above procedure. Windows has the bad habit
 of overwriting boot sectors

P.P.S. Next time, please choose an appropriate subject line. That will
   increase your chance to get an answer.


signature.asc
Description: Digital signature


Re: dump to a samba mounted FAT32 disk can't handle bigfiles?

2004-05-24 Thread Joan Picanyol i Puig
On Tue, 25 May 2004 00:53:26 +0200, Joachim Dagerot wrote:
 The man page for dump states this:
 
 []
  -B records
 The number of kilobytes per output volume, except that if it is not an
 integer multiple of the output block size, the command uses the next
 smaller such multiple.  This option overrides the calculation of tape
 size based on length and density.
 []
 
 So I thougth this line should create a bunch of 35mb files. But it did
 not. Any thouts on this?
 
dump -0 -L -a -B 35000 -f /HEMMET2/External_HD/freebsd_usr.dump 
 /dev/ad0s1f

It also states:
 -a  ``auto-size''.  Bypass all tape length considerations, and
 enforce writing until an end-of-media indication is returned.
 This fits best for most modern tape drives.  Use of this option
 is particularly recommended when appending to an existing tape,
 or using a tape drive with hardware compression (where you can
 never be sure about the compression ratio).

So I'd try without the -a ;)

qvb
-- 
pica


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


  1   2   >