Re: Recommended USB 2.0 controller fr. 5.2+

2004-04-08 Thread Heinrich Rebehn
Bernd Walter wrote:
On Tue, Apr 06, 2004 at 01:58:42PM +0200, Heinrich Rebehn wrote:

Bernd Walter wrote:
[snip]
Apr  3 12:32:32 antsrv1 kernel: da1: 19077MB (39070080 512 byte sectors: 
255H 63S/T 2432C)
Apr  3 12:33:03 antsrv1 login: ROOT LOGIN (root) ON ttyv0
Apr  3 12:38:08 antsrv1 syslogd: kernel boot file is /boot/kernel/kernel
Apr  3 12:38:08 antsrv1 kernel: panic: ehci_abort_xfer: not in process 
context


OK - we have an abort_xfer without any reason given.
The panic is because the aborted transfer doesn't exist, which could
mean that someone aborted an already completed transfer.
Can you please add USB_DEBUG to your kernel and retry.

I did, but with USB_DEBUG the system reproducibly crashes during boot:


Without a stacktrace or at least the last kernel messages this output
is almost useless.

kernel: 
kernel: 
kernel: Fatal trap 12: page fault while in kernel mode 
kernel: cpuid = 0; apic id = 00 
kernel: fault virtual address   = 0xd 
kernel: fault code  = supervisor write, page not present 
kernel: instruction pointer = 0x8:0xc0535482 
kernel: stack pointer   = 0x10:0xeaccfbb0 
kernel: frame pointer   = 0x10:0xeaccfbc8 
kernel: code segment= base 0x0, limit 0xf, type 0x1b 
kernel: = DPL 0, pres 1, def32 1, gran 1 
kernel: processor eflags= interrupt enabled, resume, IOPL = 0 
kernel: current process = 246 (sysctl) 
kernel: trap number = 12 
kernel: panic: page fault 
kernel: cpuid = 0; 
kernel: 
kernel: syncing disks, buffers remaining... 6564 6564 6563 6563 6563 
6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 6563 
6563 6563 6563


You have 6563 dirty buffers when it crashed?
That's amazing - so you are at least already on the way getting
multiuser - otherwise everything is still read-only.
I can't guess what services, etc.. you are starting - you really have
to tell what happens.
The normal startup procedure was executing, dunno what was running at 
the exact time of the crash.

Anyway, i tossed in a firewire card (VIA VT6306) and it's running 
perfect, no problems so far.

Thanks for your help anyway.

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


Re: pseudo-device vn

2004-04-08 Thread Mipam
  On Wed, 7 Apr 2004, Jerry McAllister wrote:
Should i just put
pseudo-device   vn
in the kernel config file to make this work?

 In 5.x, `vn' was replaced by `md'.  (Sorry, that's about all I know
 about it.)

Do you know whether it's being enable by default in the kernel or not?
Bye,

Mipam.

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


enabling S.M.A.R.T on drives attached to Adaptec 2400A RAID controller

2004-04-08 Thread Guido Kollerie
In my server I have four 40GB IBM Deskstar 120GXP drives attached
to an Adaptec 2400A RAID controller in a RAID-5 configuration
with one of the drives configured as a hot spare.

According to Adaptec's raidutil utility the four drives do not
have the S.M.A.R.T. capability for detecting potential problems.
However according to the IBM/Hitachi datasheet for these drive
they _do_ have this capability:


http://ssddom01.hgst.com/tech/techlib.nsf/techdocs/E0B26749E1A7728C87256B290055ECA5/$file/D120GXP_ds.PDF

Is there a way to convince the 2400A that these drives do support
S.M.A.R.T, and if so how do I enable it?

I am running FreeBSD 4.9-RELEASE-p3. The output of:

/usr/local/dpt/raidutil -L all

is included below.

Thanks, Guido


RAIDUTIL  Version: 3.04  Date: 9/27/2000  FreeBSD CLI Configuration Utility
Adaptec ENGINE  Version: 3.04  Date: 9/27/2000  Adaptec FreeBSD SCSI Engine

#  b0 b1 b2  Controller Cache  FWNVRAM Serial Status
---
d0 -- -- --  ADAP2400A  16MB   370F  ADPT 1.0  BB0F21800BTOptimal

Physical View
AddressType  Manufacturer/Model Capacity  Status
---
d0b0t0d0   Disk Drive (DASD) IC35L040 AVVA07-0  39266MB   Optimal
d0b1t0d0   Disk Drive (DASD) IC35L040 AVVA07-0  39266MB   Optimal
d0b2t0d0   Disk Drive (DASD) IC35L040 AVVA07-0  39266MB   Optimal
d0b3t0d0   Disk Drive (DASD) IC35L040 AVVA07-0  39266MB   Optimal

Logical View
Address   Type  Manufacturer/Model  Capacity  Status
---
d0b0t0d0  RAID 5 (Redundant ADAPTEC  RAID-5 78532MB   Optimal
 d0b0t0d0 Disk Drive (DASD) IC35L040 AVVA07-0   39266MB   Optimal
 d0b1t0d0 Disk Drive (DASD) IC35L040 AVVA07-0   39266MB   Optimal
 d0b2t0d0 Disk Drive (DASD) IC35L040 AVVA07-0   39266MB   Optimal
 +d0b3t0d0Disk Drive (DASD) ADAPTEC  HOT SPARE  39266MB   Optimal

AddressCapacity  
---
d0b3t0d0   39266MB   Hot Spare

AddressMax Speed  Actual Rate / Width
---
d0b0t0d0   50 MHz 100 MB/secwide
d0b1t0d0   50 MHz 100 MB/secwide
d0b2t0d0   50 MHz 100 MB/secwide
d0b3t0d0   10 MHz 100 MB/secwide

AddressManufacturer/ModelWrite Cache Mode (HBA/Device)
---
d0b0t0d0   ADAPTEC  RAID-5   Write Back / --
 d0b0t0d0  IC35L040 AVVA07-0 -- / Write Back
 d0b1t0d0  IC35L040 AVVA07-0 -- / Write Back
 d0b2t0d0  IC35L040 AVVA07-0 -- / Write Back
d0b3t0d0   39266MB  Hot Spare

#  Controller Cache  FWNVRAM BIOS   SMOR  Serial
---
d0 ADAP2400A  16MB   370F  ADPT 1.0  1.3W   1.12/52I  BB0F21800BT

#  Controller  Status Voltage  Current  Full Cap  Rem Cap  Rem Time
---
d0 ADAP2400A   No battery 

AddressManufacturer/ModelFW  Serial123456789012
---
d0b0t0d0   IC35L040 AVVA07-0 VA2O   VNC202A2LG5GXA -X-XX--X-O--
d0b1t0d0   IC35L040 AVVA07-0 VA2O   VNC202A2LGMK4A -X-XX--X-O--
d0b2t0d0   IC35L040 AVVA07-0 VA2O   VNC202A2LD8MZA -X-XX--X-O--
d0b3t0d0   IC35L040 AVVA07-0 VA2O   VNC210A2G5UATB -X-XX--X-O--

Capabilities Map:  Column 1 = Soft Reset
   Column 2 = Cmd Queuing
   Column 3 = Linked Cmds
   Column 4 = Synchronous
   Column 5 = Wide 16
   Column 6 = Wide 32
   Column 7 = Relative Addr
   Column 8 = SCSI II
   Column 9 = S.M.A.R.T.
   Column 0 = SCAM
   Column 1 = SCSI-3
   Column 2 = SAF-TE
   X = Capability Exists, - = Capability does not exist, O = Not Supported




pgp0.pgp
Description: PGP signature


xl0 watchdog timeout !!!

2004-04-08 Thread Frank Bonnet
I recently posted about a bge0 watchdog timeout problem
at 5.2.1 but the problem seems more complicated and seems
to be in touch with the machine I use itself
as I have changed the ethernet board for a 3com
I have now the message
xl0 watchdog timeout

The machine is a HP xw 3100

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


@freebsd.org

2004-04-08 Thread Alexis Caceda
Hi there!

Is it possible to get a @freebsd.org e-mail address? I would like to have [EMAIL 
PROTECTED] if it would be possible...


Regards
Al


--
Technical Sales Manager

Netstream AG
Neugutstrasse 66
CH-8600 Duebendorf

Fon: 0848 000 527   Int: +41 44 802 66 88
Fax: 0848 000 528   Int: +41 44 802 66 89

E-Mail: [EMAIL PROTECTED]

For more information about our products and services, 
please visit our website: http://www.netstream.ch

E-Mail Privacy Statement:  www.netstream.ch/go/e-mail


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


Re: startssl at boot time

2004-04-08 Thread RYAN vAN GINNEKEN
THANKS but i already have that line in my rc.conf file and the log 
entries that i have submitted to this list are not from a reboot but 
rather apachectl stop and start or startssl.  So when i run a startssl i 
get the randomness i need however when i just use apachectl start which 
is 99.9% the same command it does not.  honestly i am stumped hope you 
have some more wisdom to share.  There is also the line about ssl cache 
i have do some googleing but have not been able to come up with anything 
that helps.

Matthew Seaman wrote:

On Wed, Apr 07, 2004 at 03:39:42PM -0600, RYAN vAN GINNEKEN wrote:

 

Seems to initialize ssl but my ssl page still does not work however my
regular page does work.  Here is a print out of the log file when i do
an apachectl stop and apachectl startssl.  when i use startssl
everything work great including my ssl page.
   

 

[Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not configured
[hint: SSLSess
   

The fact that you can do an apachectl startssl and have everything
work as desired means that you're 99.99% of the way to gettting it all
to work.  The modification to the apache2.sh script I sent you last
time sould force that script to always run 'apachectl startssl'
itself, so that shouldn't be the problem.
Hmmm... I think that perhaps the problem arises from when the
apache2.sh script is run.  I'm guessing that the 'Seeding PRNG' line
is significant -- it aparently means that there is no random data yet
available from /dev/random at the point when apache is started up in
the boot sequence.  As you're running 4.9, that can be cured by
telling the system to use some appropriate IRQs as sources of
randomness.  First run:
   % vmstat -i

and look for the IRQs where there are a lot of interrupts generated.
Not the 'clk' or 'rtc' interrupts, as those are clock ticks, firing at
regular intervals, which is worse than useless as a source of
randomness.  I find that irq12 (psm0 -- the mouse), irq1 (atkbd0 --
the keyboard), irq11 (mux -- multiplex: but this is network activity
mostly) and irq15 (mux -- multiplex again, but disk activity mostly)
work well for me, but you will have to choose 2 or 3 or 4 suitable
IRQs on your own system to harvest for randomness.
Then add them to /etc/rc.conf

   rand_irqs=1 11 12 15

Then reboot.  (See rndcontrol(8) for more details)

With luck, and a following wind, there will be sufficient system
activity during startup that there will be sufficient random data
available to prime the PRNG used by OpenSSL, which should let apache
start up automatically.
	Cheers,

	Matthew

 

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


Re: internet via USB: how to use with FreeBSD?

2004-04-08 Thread Peter Risdon
Rob wrote:



I actually wonder, whether I should put a LAN card in the FreeBSD
system and connect that directly with the modem via a RJ45 cable,
and leave the USB adaptor out of the story. But would that work?


As a rule, it's a lot easier to use ethernet than usb with a FreeBSD (or 
Linux) gateway. You'll probably need to tell your network card to use 
dhcp, and you might need to turn off the cable modem for a few minutes 
when you change over the connection. If you ever need to change the 
network card or gateway computer (and hence the network card), you'll 
probably have to turn off the modem for a few minutes again, so the ISP 
can register the new MAC address of the card when the modem reboots.



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


Re: startssl at boot time

2004-04-08 Thread Matthew Seaman
On Wed, Apr 07, 2004 at 04:58:24PM -0600, RYAN vAN GINNEKEN wrote:
 THANKS but i already have that line in my rc.conf file and the log 
 entries that i have submitted to this list are not from a reboot but 
 rather apachectl stop and start or startssl.  So when i run a startssl i 
 get the randomness i need however when i just use apachectl start which 
 is 99.9% the same command it does not.  honestly i am stumped hope you 
 have some more wisdom to share.  There is also the line about ssl cache 
 i have do some googleing but have not been able to come up with anything 
 that helps.

That's most odd.  As you say, the apache2.sh script essentially just
runs 'apachectl start' for you.  Or, at least, that's what it's meant
to do.  There must be something different about what it is doing.
Hmmm... Can you show us the output from:

# sh -x /usr/local/etc/rc.d/apache2.sh start

(make sure apache is not running before you type that)

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


pgp0.pgp
Description: PGP signature


Fw: Rewriting long URIs from viruses... shortening log files

2004-04-08 Thread Mark
Purl Gurl (in alt.apache.configuration) wrote:

 tz wrote:

 (snipped)

 Running Apache/1.3.27 (Unix) here.

 Excellent. Apache 1.3.27 is the best
 version of all Apache releases. Next
 two, .28 and .29 have some bugs.

Is this true? I very much doubt it. Since I recently upgraded to 1.3.29
myself (on FreeBSD 4.9R-p3), it doesn't hurt to ask, though.

Thanks,

- Mark

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


Re: very long boot sshd

2004-04-08 Thread Matthew Seaman
On Wed, Apr 07, 2004 at 07:17:53PM +0200, RazorOnFreeBSD wrote:

 I am actually trying to fix my computer for network problems and so I often reboot. 
 But each reboot is a real pain I don't know why the system loading is blocking 
 on Starting sshd

Actually the 'Starting sshd' message indicates that sshd started up
perfectly well, and it the next thing that the system is trying to
start which is giving you problems.

On my system the next thing happens to be sendmail(8), and that has
been known to cause this sort of hang-up.  sendmail(8) will spend a
lot of effort trying to get the IP number and fully qualified domain
names for all interfaces present on the system when it starts up.
Which means that information has to be in the DNS (preferably) or in
/etc/hosts.

If you check the /var/log/messages log file you should see entries
where sendmail complains about not being able to do that -- the long
delay is actually sendmail waiting out the DNS timeout (30s per query
-- doesn't sound like much, but it feels like forever).

Now, given that what I've guessed is correct: you may be using a
system on a private network -- eg. behind a NAT gateway -- and you may
not have any sort of domain name setup, just bare hostnames.  In which
case, just invent a domain part -- say 'localdomain' and make sure
there's an entry for 'hostname.localdomain' in /etc/hosts.

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


pgp0.pgp
Description: PGP signature


Re: jail setup

2004-04-08 Thread Matthew Seaman
On Wed, Apr 07, 2004 at 10:51:00PM -0400, dave wrote:
 Hello,
 I'm setting up a jail under 5.2.1 to run pure-ftpd in. I did the
 following:
 cvsupped the source
 cd /usr/src
 make world DESTDIR=/usr/jail/ftp
 cd etc
 make distribution DESTDIR=/usr/jail/ftp
 then linked /dev/null to kernel inside the jail area.
 I'm following an onlamp article at:
 and understood that sendmail and perl and some other items would be
 available. When i do a pkg_info from within the jail there aren't any
 packages. did i miss a step? Is there something i should have installed to
 make this go easier?

That's exactly what I'd expect to see.  When you run pkg_info(1)
within the jail, it looks for the contents of /var/db/pkg *within the
jail* You can't see the package data for packages you install from the
base system when you're in the jail.  You'ld have to install the
packages from inside the jail for that to show up.

Be aware that On-Lamp article was written in reference to FreeBSD 4.x
-- some things are a bit different with FreeBSD 5.x.  You should have
sendmail in the base system unless you've disable building it by
putting 'NO_SENDMAIL=yes' into /etc/make.conf.  You won't have perl as
part of the base in 5.x -- you will definitely have to install from
ports/packages to get that.

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


pgp0.pgp
Description: PGP signature


dead mouse

2004-04-08 Thread prague
Hey everyone,

New to FreeBSD coming off of Slackware Linux.

I went through the install okay but the mouse (an optical mouse, non-USB) is dead when 
i do 'startx'. The mouse should be recognized as a PS/2 but it wasn't. I have edited 
the XF86Config and changed it to an IMPS/2 and added

Options Buttons 5
Options ZAxisMapping 4 5

to the file. This was a fix for Slackware and I thought it may have been the same 
problem but, still nothing.

Any ideas?

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


Re: @freebsd.org

2004-04-08 Thread Matthew Seaman
On Thu, Apr 08, 2004 at 11:50:15AM +0200, Alexis Caceda wrote:

 Is it possible to get a @freebsd.org e-mail address? I would like to have [EMAIL 
 PROTECTED] if it would be possible...

Sure.  It's quite simple.  All you do is this.

Become involved with the FreeBSD developmnt effort.  System, ports,
documentation of all three.  Produce a steady stream of high quality,
well prepared PRs fixing bugs or proposing enhancements.  Make a real
contribution to the project.  Eventually the other FreeBSD committers
will get tired of having to commit all your changes to the CVS
repository for you, and punish you by giving you a commit bit, and the
@FreeBSD.org address that goes with it.

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


pgp0.pgp
Description: PGP signature


gtk20 install problem

2004-04-08 Thread John Davis

Hi,

I am trying to install mplayer which requires gtk20, however,
I am getting the following error message when attempting to install
gtk20 using:

# portupgrade -Nfpr /usr/ports/x11-toolkits/gtk20

I have glib-2.4.0 installed.


===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for glib-2.4.0
===  Building package for glib-2.4.0
Creating package /usr/ports/devel/glib20/glib-2.4.0.tgz
Registering depends: gettext-0.13.1_1 expat-1.95.7 libiconv-1.9.1_3
pkgconfig-0.15.0.
Creating gzip'd tar ball in '/usr/ports/devel/glib20/glib-2.4.0.tgz'
===   Returning to build of gtk-2.4.0
Error: shared library glib-2.0.200 does not exist
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
** Command failed [exit code 1]: /usr/bin/script -qa
/home/brian/.tmp/portupgrade70438.0 make DEPENDS_TARGET=package
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11-toolkits/gtk20(dependent libraries)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


Does anyone know how I can remedy this problem?

Thanks,

John



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


routing weirdness

2004-04-08 Thread Josef El-Rayes
hi!

i have a notebook connected to a wlan router, which is in turn connected
to my gateway to internet

notebook - wlan - gw - ... internet ...

when i (192.168.1.4) am connected via cable (dc0) to the wlan router(192.168.1.1)
everything works fine.

but then, when i want to switch to wlan (ath0), i shut down the dc0 interface
(ifconfig dc0 down), enable the wlan card, (ifconfig ath0 inet 192.168.1.3 ssid daemon 

ifconfig ath0 up).
then i flush my routing table (route flush) and add default gateway (route add default 
192.168.1.1).

now i can ping my wlan router (192.168.1.1) but i do not get outside anymore 
(192.168.0.1)
for example, because, as route get 192.168.0.1 reveals, the system still uses
dc0 for getting outside. 

how can i force the system to do not use the deactivated device anymore?

-josef

-- 
Josef El-Rayes   (__)
Email:[EMAIL PROTECTED] \\\'',) 
Web:  http://daemon.li/ \/  \ ^
FreeBSD:  [EMAIL PROTECTED] .\._/_)


pgp0.pgp
Description: PGP signature


Re: Fw: Rewriting long URIs from viruses... shortening log files

2004-04-08 Thread Matthew Seaman
On Thu, Apr 08, 2004 at 10:50:33AM +, Mark wrote:
 Purl Gurl (in alt.apache.configuration) wrote:
 
  tz wrote:

  Running Apache/1.3.27 (Unix) here.
 
  Excellent. Apache 1.3.27 is the best
  version of all Apache releases. Next
  two, .28 and .29 have some bugs.
 
 Is this true? I very much doubt it. Since I recently upgraded to 1.3.29
 myself (on FreeBSD 4.9R-p3), it doesn't hurt to ask, though.

It's not in agreement with what it says on http://httpd.apache.org/.
apache-1.3.29 is a security release, as well as being a bug fix
release.

The Apache Software Foundation is not shy about admitting mistakes or
shortcomings: if they felt that an older release was substantially
better for most people to run, that information would be plastered all
over their front page.

There is a bug to do with mod_usertrack and the CookieName directive
which is a current issue in the latest versions of apache.  However,
it's something that will only affect a few apache users, and there's a
simple work-around.  It's not so significant they've produced a new
release right away, nor is it anything like as important as the buffer
overflow fixed with the release of 1.3.29, exploitation of which could
allow an attacker to DoS your server or even run arbitrary code upon
it.

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


pgp0.pgp
Description: PGP signature


Re: startssl at boot time

2004-04-08 Thread Eric Penfold
(side note, I'm a lurker, not a subscriber, so this response will probably 
break threading. If anyone has suggestions on how best to reply, without 
needing to subscribe and be swamped by email, I'd be grateful).

I'm slightly confused as to what your actual problem is, as the logs you've 
posted make sense to me with regard to how you generated them. Referring 
back to your post (http://docs.freebsd.org/cgi/mid.cgi?4074751E.2070607):

RYAN vAN GINNEKEN wrote:

This is right ??? the reason i ask is because apache does not start on a
reboot no ssl or even regular apache.
You then go on to show the log output from doing apachectl start vs 
apachectl startssl. Note that the difference between these is very subtle, 
and not simply an issue of Is SSL initialised or not.

Specifically, all that additionally happens with startssl is that SSL 
flag is defined, such that IfDefine SSL blocks will be evaluted. Note that 
with the default ssl.conf, this is where SSLSessionCache, and SSLRandomSeed 
are defined (among other things).

So, this explains why you see:

here is the log output of an
apache stop then apache start using the script listed below when i use
apache start only regular apache starts so i then have to issue the
apache startssl command.
[... snip ...]
[Wed Apr 07 13:20:08 2004] [info] Init: Initializing OpenSSL library
[Wed Apr 07 13:20:08 2004] [info] Init: Seeding PRNG with 0 bytes of entropy
[... snip ...]
[Wed Apr 07 13:20:08 2004] [warn] Init: Session Cache is not configured
[hint: SSLSess
As you say, you have to use startssl.

The likely cause, as Matthew suggested, is lack of randomness.

However, it would help, if you were to post log output from apache starting 
up *after a reboot*, rather than from manual startssl/stop, since this is 
where (as far as I can understand) the problem lies.

Cheers,

Eric.

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


Migrating user accounts from linux to freebsd

2004-04-08 Thread Brian Sheehan
Hi,

I've recently done a fresh installation of freebsd 4.9, and now I want 
to migrate the user accounts from a redhat 9 machine to the new freebsd 
machine, and hopefully keep logins and passwords unchanged. Is this 
possible?

Also, what would be the best way to go about moving the users' home 
directories from the linux box to the freebsd one?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gtk20 install problem

2004-04-08 Thread Kent Stewart
On Thursday 08 April 2004 04:22 am, John Davis wrote:
 Hi,

 I am trying to install mplayer which requires gtk20, however,
 I am getting the following error message when attempting to install
 gtk20 using:

 # portupgrade -Nfpr /usr/ports/x11-toolkits/gtk20

 I have glib-2.4.0 installed.


 ===   Running ldconfig
 /sbin/ldconfig -m /usr/local/lib
 ===   Registering installation for glib-2.4.0
 ===  Building package for glib-2.4.0
 Creating package /usr/ports/devel/glib20/glib-2.4.0.tgz
 Registering depends: gettext-0.13.1_1 expat-1.95.7 libiconv-1.9.1_3
 pkgconfig-0.15.0.
 Creating gzip'd tar ball in '/usr/ports/devel/glib20/glib-2.4.0.tgz'
 ===   Returning to build of gtk-2.4.0
 Error: shared library glib-2.0.200 does not exist

This is the previous version of glib that it is trying to load. 
Something in your port setup w/r glib is wrong. I would run cvsup 
ports-all, portsdb -uU, and then portupgrade -rfp glib. 

This could take a while (13 housrs on an AMD 2400+ XP). Gtk-2.4.0 
depends on atk and pango, which also depend on glib 2.4.0. You could 
force the portupgrade of atk pango. I don't use -N but do use -pf and 
then try the update to gtk-2.4.0. I would be surprised if you don't 
have the older version of gtk-2.2.4 installed, which was updated to 
2.4.0. I don't trust what I saw the -N produce but that is because I 
didn't see the build output.

Kent

 *** Error code 1

 Stop in /usr/ports/x11-toolkits/gtk20.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /home/brian/.tmp/portupgrade70438.0 make DEPENDS_TARGET=package
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
 ! x11-toolkits/gtk20(dependent libraries)
 ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


 Does anyone know how I can remedy this problem?

 Thanks,



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


IPX 802.2 nwfs

2004-04-08 Thread Feczak Szabolcs
I would like to access an old netware fileserver

I have follewed, the instructions on
http://people.freebsd.org/~bp/ipxen.html

4.9 GENERIC config + the followings:

optionsNCP #NetWare Core protocol
optionsNWFS#NetWare filesystem
optionsIPX #IPX/SPX communications protocols
device ef  # Multiple ethernet frames support
optionsETHER_II# enable Ethernet_II frame
optionsETHER_8023  # enable Ethernet_802.3 (Novell) frame
optionsETHER_8022  # enable Ethernet_802.2 frame
optionsETHER_SNAP  # enable Ethernet_802.2/SNAP frame

I did
ifconfig vr0f2 ipx 0

ifconfig vr0f2
vr0f2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ipx 0.c6ee8155b 
inet6 fe80::20c:6eff:fee8:155b%vr0f2 prefixlen 64 scopeid 0x5 
ether 00:0c:6e:e8:15:5b

netstat -rn 
IPX:
DestinationGatewayFlagsNetif Expire
default*.c6ee8155bU   vr0f2

ncplist s
Can't find any file server

Although I can reach it from a linux box :
ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:04:75:71:E9:C4  
  inet addr:192.168.0.217  Bcast:192.168.0.255  Mask:255.255.255.0
  IPX/Ethernet 802.2 addr:0002:00047571E9C4

slist
Known NetWare File Servers  Network   Node Address
--
SERVER1 2DB6EBF8  0001

Any ideas ?

-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


[OT] Porting help / cdio.h.

2004-04-08 Thread Lewis Thompson
Hi,

I'm attempting to port some software (MythTV) to FreeBSD.  My knowledge
of this is fairly limited and I'm wondering how to convert from
linux/cdrom.h to sys/cdio.h.

  I see I can determine the capabilities of the drive quite easily.
However, what I want is to (for example) lock/unlock the tray.  The
CDDOLOCK define is merely a Boolean value that tells me the drive's
capability.  Can anybody please tell me how I go about actually locking
the tray?

  Thanks very much and sorry this is a little off-topic,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Inact v. Free Memory

2004-04-08 Thread Micah Bushouse
I have a quick question regarding the differences between Inactive and 
Free memory.

Context:  I'm running 4.9 stable as a desktop machine.  Right after a 
fresh reboot most of the system memory shows up as Free (using top). 
Then, after a few hours of work... running X, web browsers, and the 
like, most appears in Inact.

My question is...  after I shut down all programs, ctrl alt backspace X, 
and get back to a terminal, why does top still show all the memory just 
freed by my desktop programs as inactive?

Please see my attached top_output.txt.  You'll notice that after adding 
up all the memory in the programs that are still running, the total 
doesn't come close to reaching 308M Inact.

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


Re: problem with gtk2.0

2004-04-08 Thread Jonathon McKitrick
On Wed, Apr 07, 2004 at 01:41:38AM +0100, Aleksandar Simic wrote:
: On Wed, Apr 07, 2004 at 01:24:42AM +0100, Jonathon McKitrick wrote:
:  
:  Hi all
:  
:  I cvsup'ed ports this afternoon, and I am trying to update thunderbird,
:  which uses gtk2.0.
:  
:  Here is the error I get building gtk20 from ports...
:  Making all in stock-icons
: 
: (error message sniped)
: 
:  Any ideas???
:  I am stuck, I've tried all I know.
: 
: Have a look at /usr/ports/UPDATING, the firs URL listed is the one you
: want.

Thanks for the advice.  I thought for sure that would be all I needed, but
the upgrade failed and told me to email the log to the gnome/freebsd mailing
list, which I did.  Here is the failure:


Making all in po
Making all in po-properties
Making all in gdk-pixbuf
make  all-recursive
Making all in pixops
Making all in gdk
make  all-recursive
Making all in x11
Making all in gtk
make  all-recursive
Making all in stock-icons
GDK_PIXBUF_MODULE_FILE=../../gdk-pixbuf/gdk-pixbuf.loaders
../../gdk-pixbuf/gdk-pixbuf-csource
--raw --b
uild-list stock_add_16  ./stock_add_16.png
stock_add_24   ./stock_add_24.png   stock_align_cente
r_16./stock_align_center_16.png  stock_align_center_24
./stock_align_center_24.png  stock_align_justify_16
./stock_align_justify_16.p
ng   stock_align_justify_24 ./stock_align_justify_24.png
stock_align_left_16./stock_align_left_16.pngstock_align_left_24
./
stock_align_left_24.png  stock_align_right_16   ./stock_align_right_16.png
stock_align_right_24   ./stock_align_right_24.png   stock_app
ly_20   ./stock_apply_20.png stock_cancel_20
./stock_cancel_20.pngstock_dnd_multiple_32  ./stock_dn
d_multiple_32.pngstock_bottom_16
./stock_bottom_16.pngstock_bottom_24
./stock_bottom_24.png 
 stock_cdrom_16 ./stock_cdrom_16.png
 stock_cdrom_24 ./stock_cdrom_24.png
 stock_clear_24 ./
 stock_clear_24.png   stock_close_20
 ./stock_close_20.png stock_close_24
 ./stock_close_24.png s
 tock_colorselector_24   ./stock_colorselector_24.png
 stock_color_picker_25  ./stock_color_picker_25.png 
 gtkstockpixbufs.h ||   ( rm -f g
 tkstockpixbufs.h  false )
 rcmdsh: unknown user:
 83C4FC$FBPj^DVE88F8DFBFF83C4 F8B83X^M
 Bus error (core dumped)
 *** Error code 1

 Stop in
 /usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.0/gtk/stock-icons.
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.0/gtk.
 *** Error code 1

 Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.0/gtk.
--

It seems to me that a file has been corrupted somewhere, and I cannot tell
where.


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]


LAN connection speed ..

2004-04-08 Thread Mazen S. Alzogbi
Hi,

How can I figure out what's the speed (10Mpbs or 100Mbps) of the LAN 
connection point which my FreeBSD laptop is connected to?

Thanks,

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


Re: Migrating user accounts from linux to freebsd

2004-04-08 Thread Konrad Heuer

On Thu, 8 Apr 2004, Brian Sheehan wrote:

 I've recently done a fresh installation of freebsd 4.9, and now I want
 to migrate the user accounts from a redhat 9 machine to the new freebsd
 machine, and hopefully keep logins and passwords unchanged. Is this
 possible?

It is possible, but you need to write a shell or perl script to combine
the user entries in the Linux files /etc/passwd and /etc/shadow to one
file having the FreeBSD /etc/master.passwd format. Then you will have to
append your file to /etc/master.passwd an to run pwd_mkdb to build the
data bases.

 Also, what would be the best way to go about moving the users' home
 directories from the linux box to the freebsd one?

I would NFS export the home directories on the Linux box and mount them on
your FreeBSD system. Then you can copy all the files with tar:

tar cCf /path/to/nfs/mount - . | tar xvpCf /path/to/new/home/dirs -

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LAN connection speed ..

2004-04-08 Thread Ion-Mihai Tetcu
On Thu, 08 Apr 2004 16:44:15 +
Mazen S. Alzogbi [EMAIL PROTECTED] wrote:

 Hi,
 
 How can I figure out what's the speed (10Mpbs or 100Mbps) of the LAN 
 connection point which my FreeBSD laptop is connected to?

ifconfig | grep media
should give you the speed your _interface_ is using.


-- 
IOnut
Unregistered ;) FreeBSD user

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


Stopevent / Lock order reversal / etc

2004-04-08 Thread Tuc
Hi,

JUST brought up a 5.2.1-R-p4 system and am putting INN on it, and
I'm getting:

Apr  8 08:53:54 vjofn2 kernel: Sleeping on stopevent with the following non-sl
eepable locks held:
Apr  8 08:53:54 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
locked @ /usr/src/sys/kern/kern_condvar.c:457
Apr  8 08:53:54 vjofn2 kernel: lock order reversal
Apr  8 08:53:54 vjofn2 kernel: 1st 0xc8c90aa8 sigacts (sigacts) @ /usr/src/sys/k
ern/kern_condvar.c:457
Apr  8 08:53:54 vjofn2 kernel: 2nd 0xc89e306c process lock (process lock) @ /usr
/src/sys/kern/kern_synch.c:309
Apr  8 08:53:54 vjofn2 kernel: Stack backtrace:
Apr  8 08:53:54 vjofn2 kernel: Sleeping on stopevent with the following non-sl
eepable locks held:
Apr  8 08:53:54 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
locked @ /usr/src/sys/kern/subr_trap.c:260
Apr  8 08:53:54 vjofn2 kernel: Sleeping on stopevent with the following non-sl
eepable locks held:
Apr  8 08:53:54 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
locked @ /usr/src/sys/kern/subr_trap.c:260
Apr  8 08:56:10 vjofn2 kernel: Sleeping on stopevent with the following non-sl
eepable locks held:
Apr  8 08:56:10 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
locked @ /usr/src/sys/kern/kern_condvar.c:457
Apr  8 08:56:10 vjofn2 kernel: Sleeping on stopevent with the following non-sl
eepable locks held:
Apr  8 08:56:10 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
locked @ /usr/src/sys/kern/subr_trap.c:260
Apr  8 08:56:10 vjofn2 kernel: Sleeping on stopevent with the following non-sl
eepable locks held:
Apr  8 08:56:10 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
locked @ /usr/src/sys/kern/subr_trap.c:260

EH?!  What is this trying to tell me?

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


Re: Connect to Internet

2004-04-08 Thread RazorOnFreeBSD
No I didn't... Here is my netstat -r output :

DestGatewayFlagsRefs
Use Netif

Razor  12.103.21.1  UGSc   2
105rl0
12.103.21/24   link#1   UC   1
0rl0
12.103.21.1 link#1   UHLW 3
2rl0
localhost   localhost   UH   0
0lo0
192.168.1link#2   UC   1
0dc0
kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0
dc0

But here I now have some conf files and other outputs to show you, that
would be helpful :

ifconfig outputs :

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (100baseTX full duplex)
 status: Active

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (10baseT/UTP)
 status: Active


--
resolv.conf :

domainRazor
nameserver  12.127.16.83 #those two ip's are my current dns server under
the windows station... they work.
nameserver  12.127.17.83

--
hosts :

::1localhost
localhost.my.domain
127.0.0.1localhost  localhost.my.domain
192.168.1.1Razor.my.domain Razor
192.168.1.15  razor_work.my.domainrazor_work
192.168.1.16  Kitty.my.domain  Kitty

--
rc.conf :

defaultrouter=12.103.21.1
gateway_enable=YEShostname=Razor

ifconfig_rl0=inet 12.103.21.x netmask 255.255.255.0
ifconfig_dc0=inet 192.168.1.1 netmask 255.255.255.0
inetd_enable=NO
kern_securelevel=2
kern_securelevel_enable=NO # I did that because it was required to rebuild
the kernel up to a website
keymap=fr.iso.acc
linux_enable=YES
nfs_server_enable=NO
sendmail_enable=NO
sshd_enable=NO
usdb_enable=NO
firewall_enable=YES
firewall_type=OPEN
firewall_quiet=NO
natd_enable=YES
natd_interface=rl0
natd_flags=/etc/fw/natdy.conf
tcp_drop_synfin=YES

--
natdy.conf :

unregistered_only
interface rl0
use_sockets
punch_fw 2000:50

--
sysctl.conf :

net.inet.tcp.strict_rfc1918=1
net.inet.ip.check_interface=1
net.inet.tcp.blackhole=1
net.inet.udp.blackhole=2

Tell me if you need other informations 
If I can connect Internet with the Freebsd box That would be great!

Thanks a lot for helping.

razor.




- Original Message - 
From: Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED]
To: RazorOnFreeBSD [EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 2:44 AM
Subject: Re: Connect to Internet


 RazorOnFreeBSD wrote:

 Ok I tried like you said Kevin to do a traceroute on 12.103.21.1 wich is
 what ISP call default gateway.
 It didn't work, the result looked like this :
 
 1 * * *
 2 * * *
 3 * * *
 4 * * *
 etc
 
 I wasn't patient enough for the fifth one!
 So I looked in resolv.conf and there was the IP of a DNS server :
 12.127.17.83. I know this one works because I'm using it under windows
 currently.
 I decided to try this command : route add default 12.103.21.1
 and maybe I was wrong, but I put this address also in the resolv.conf
file
 before the other DNS entry.
 Then I rebooted and Traceroute and same results..
 
 1 * * *
 2 * * *
 3 * * *
 4 * * *
 etc
 
 what do you think ?
 
 
 

 I've no idea, for sure.  You've still not shown
 us your `netstat' output, have you?  Or did I
 miss it somewhere...

 Hmm, try:

 #route add default 12.123.197.114

 ---KDK


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


Re: IPX 802.2 nwfs

2004-04-08 Thread Joost Bekkers
On Thu, Apr 08, 2004 at 02:28:51PM +0200, Feczak Szabolcs wrote:
 
 I did
 ifconfig vr0f2 ipx 0
 

Here you tell FreeBSD to use network number 0.

 Although I can reach it from a linux box :
 ifconfig eth0
 eth0  Link encap:Ethernet  HWaddr 00:04:75:71:E9:C4  
   inet addr:192.168.0.217  Bcast:192.168.0.255  Mask:255.255.255.0
   IPX/Ethernet 802.2 addr:0002:00047571E9C4
 

While your linux box is using number 2

Try 'ifconfig vr0f2 ipx 2'


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


Re: IPX 802.2 nwfs

2004-04-08 Thread Feczak Szabolcs
On Thu, Apr 08, 2004 at 03:08:04PM +0200, Joost Bekkers wrote:
 While your linux box is using number 2
Linux box is a client as well, server is on 
network 2DB6EBF8 as I see it out, but maybe
Im wrong

 Try 'ifconfig vr0f2 ipx 2'

Meanwhile someone advised to get rid of multiframe types
compile only 802.2 in, so I did:

# ifconfig vr0 ipx 2
# netstat -rn | grep -A 3 IPX
IPX:
DestinationGatewayFlagsNetif Expire
2.*2.c6ee8155bU vr0

# ncplist s
Can't find any file server
# 


-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


Re: Install world fails, computer almost unusable

2004-04-08 Thread Kris Kennaway
On Wed, Apr 07, 2004 at 01:45:38PM +0200, Andy Rozman (Aleksander) wrote:
 
 Hi !
 
 I succesfully compiled FreeBSD 5.2.1, but problem happened when I wanted to do
 install. After I run installworld install started but halted at one point
 (with copying ld-so.1 in libexec). I found 
 ld-so.1.old file which I removed, and after I run installworld again, mtree
 failed with core dump, and Bad Syscall...
 
 Now I can't do anything. Most of system programs now do core dump. 
 
 Is there a way to solve this?

Probably only with a binary install (i.e. from sysinstall and boot
media) at this point.  FWIW, it sounds like you did the upgrade
incorrectly, e.g. by trying to installworld before you had built and
booted a new kernel.  Follow the steps documented in the handbook and
in /usr/src/UPDATING next time and you should be fine.

Kris


pgp0.pgp
Description: PGP signature


Re: very long boot sshd

2004-04-08 Thread RazorOnFreeBSD
I don't think sendmail is the problem... I disabled it from rc.conf... I
might be wrong but here is what I found in the /var/log/messages that could
be the suspicious :

kernel: ad2: UDMA ICRC error cmd=read fsbn 145503 of 14550 #Twice
kernel: ad2: UDMA ICRC error cmd=read fsbn 147135 of 14550 #4 times

and then :

262 falling back to PIO mode

The weirdest thing is that numbers seem to randomize a little bit.
If we consider the previous outputs like .. fsbn A of B
A and B are different each reboot !

I don't know if it's the reason of very slow booting but I didn't find
anything about sendmail in /var/log/messages...

Do you think I need to change my hardrive already ? It is just one year
. :(


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


Re: very long boot sshd

2004-04-08 Thread Matthew Seaman
On Thu, Apr 08, 2004 at 09:17:14AM +0200, RazorOnFreeBSD wrote:
 I don't think sendmail is the problem... I disabled it from rc.conf... I
 might be wrong but here is what I found in the /var/log/messages that could
 be the suspicious :
 
 kernel: ad2: UDMA ICRC error cmd=read fsbn 145503 of 14550 #Twice
 kernel: ad2: UDMA ICRC error cmd=read fsbn 147135 of 14550 #4 times
 
 and then :
 
 262 falling back to PIO mode
 
 The weirdest thing is that numbers seem to randomize a little bit.
 If we consider the previous outputs like .. fsbn A of B
 A and B are different each reboot !
 
 I don't know if it's the reason of very slow booting but I didn't find
 anything about sendmail in /var/log/messages...
 
 Do you think I need to change my hardrive already ? It is just one year
 . :(

I'm afraid that is a distinct possibility.  If this machine has been
running satifactorily until now, and then lost the plot without any
interventions like your adding new hardware or doing a major OS
upgrade, then it is probably hardware going marginal.

Those UDMA errors are not good.  Make sure you have good backups, and
keep an eye on the log files to see if the condition persists.

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


pgp0.pgp
Description: PGP signature


Re: [Samba] Why samba-3.0.2 give me this error message?

2004-04-08 Thread Suhaimi Jamalludin
Hi Jerry,

I have upgrade to the latest Samba version which is samba-3.0.3.p2,1 on  
my machine after Timur the samba-devel port maintenance commited the new 
release.
Thanks to Timur for the greate job...:)

Then after I have upgrade to samba-3.0.3.p2,1 the 
ldapsam_search_one_group: Query was: ou=groups,dc=test,dc=com, 
((objectClass=posixGroup)(gidNumber=4294967295)) GONE from my 
/var/log/message. Thank to the SAMBA TEAM..:)

However below error message still appear in my /var/log/message

Apr  8 19:36:12 my-svr smbd[6371]: [2004/04/08 19:36:12, 0] 
smbd/service.c:make_connection(771)
Apr  8 19:36:12 my-svr smbd[6371]:   suhaimi-wxp (10.1.6.185) couldn't 
find service home
Apr  8 19:36:12 my-svr smbd[6371]: [2004/04/08 19:36:12, 0] 
smbd/service.c:make_connection(771)
Apr  8 19:36:12 my-svr smbd[6371]:   suhaimi-wxp (10.1.6.185) couldn't 
find service home
Apr  8 19:36:12 my-svr kernel: Connection attempt to TCP 10.1.6.111:80 
from 10.1.6.185:2334 flags:0x02
Apr  8 19:36:13 my-svr last message repeated 2 times
Apr  8 19:38:47 my-svr smbd[6402]: [2004/04/08 19:38:47, 0] 
lib/smbldap.c:smbldap_open(819)
Apr  8 19:38:47 my-svr smbd[6402]:   smbldap_open: cannot access LDAP 
when not root..
Apr  8 19:38:47 my-svr smbd[6402]: [2004/04/08 19:38:47, 0] 
passdb/pdb_ldap.c:ldapsam_search_one_group(1764)
Apr  8 19:38:47 my-svr smbd[6402]:   ldapsam_search_one_group: Problem 
during the LDAP search: LDAP error:  (Insufficient access)

my-svr# pkg_info | grep samba
samba-3.0.3.p2,1A free SMB and CIFS client and server for UNIX
OS: FreeBSD 5.2.1-RELEASE-p4

Really appreciate your advice

Regards,
Suhaimi
Gerald (Jerry) Carter wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Suhaimi Jamalludin wrote:
| Hi All,
|
| Need your expert advice regarding Samba3 + OpenLDAP.
| I have configure openldap and Samba3 on my FreeBSD5.2.1. I have make
| Samba3 as a PDC on and Authenticate using LDAP.
| Everythings works fine I can login using sambauser1 to my 
Samba3-PDC
| and do profile roaming. However I come accross bellow error message on
| my /var/log/message and it's really annoying me.
|
| Can some body advice me how to make this error go away...I'm in the
| final phase to real the system to my user.
|
| Short Error Message Desc:
| ---
| failed to decode PDU
| process_request_pdu: failed to do schannel processing.
| smbldap_open: cannot access LDAP when not root..
| ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
| (Insufficient access)
| ldapsam_search_one_group: Query was: ou=groups,dc=test,dc=com, 
((objectClass=posixGroup)(gidNumber=4294967295))

Should be fixed in 3.0.3pre2.  Related to bug 1023 IIRC.





cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAc+kBIR7qMdg1EfYRAnujAJ9DAp78gVFHrk6s1vp91sLi5vRfpgCfV9+c
/SUOtSSDXJLWJTdwBUZVQlw=
=8CyZ
-END PGP SIGNATURE-
___
[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: IPX 802.2 nwfs

2004-04-08 Thread Joost Bekkers
On Thu, Apr 08, 2004 at 03:13:29PM +0200, Feczak Szabolcs wrote:
 On Thu, Apr 08, 2004 at 03:08:04PM +0200, Joost Bekkers wrote:
  While your linux box is using number 2
 Linux box is a client as well, server is on 
 network 2DB6EBF8 as I see it out, but maybe
 Im wrong
 
  Try 'ifconfig vr0f2 ipx 2'
 
 Meanwhile someone advised to get rid of multiframe types
 compile only 802.2 in, so I did:
 
 # ifconfig vr0 ipx 2

AFAIK this sets ipx network 2 on ETHERNET_II framing, your server
is doing ETHERNET_802.2

To be sure of which network number you should use, type 'config'
on the netware console and look for the nic connected to the segment
your client is connected to.

 # netstat -rn | grep -A 3 IPX
 IPX:
 DestinationGatewayFlagsNetif Expire
 2.*2.c6ee8155bU vr0
 

FYI: you can use the -f option in netstat to filter a protocol (netstat -rnf ipx)


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


Re: Install world fails, computer almost unusable

2004-04-08 Thread Artem Koutchine
IMHO the upgrade pricedure is unstable and wrong in either case.

If you  build, install a new kernel and reboot and they make installworld
you may face code dumps because all world is not compatible with the
new kernel.

if yo build, install a new kernel and install world w/o reboot then
during installworld one program is substituted with a new one which
uses new kernel and make installworld may fail.

IMHO this thing must be resolved in the future and it would be nice
to do it this way:
1) build kernel and install it into a buffer
2) build workld and install it into a buffer
3) make changes to config files and install new config file into a buffer
4) reboot
5) during reboot load shoud check the install buffer and if there is
something in it then copy it into a real working filesystem. 

This way we will abvoid nonmtaching executables and kernel at any
given time.

What do you think?

- Original Message - 
From: Kris Kennaway [EMAIL PROTECTED]
To: Andy Rozman (Aleksander) [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 9:11 PM
Subject: Re: Install world fails, computer almost unusable


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


Re: very long boot sshd

2004-04-08 Thread Lewis Thompson
On Thu, Apr 08, 2004 at 09:17:14AM +0200, RazorOnFreeBSD wrote:
 Do you think I need to change my hardrive already ? It is just one year
 . :(

Good news is that it's probably still under warranty :)

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |-


pgp0.pgp
Description: PGP signature


Segmentation fault!

2004-04-08 Thread radu ciugulea

   Hello!

   I run FreeBSD 5.2.1

   FreeBSD belea.mine.nu 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb
   23 20:45:55 GMT 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

   I installed it couple weeks ago! Yesterday i tried /stand/sysintall
   and i get this ugly error:
   Segmentation fault (core dumped)

   /stand/sysinstall worked fine by 2 days ago ...
   What should i do?

   Thank you!
 _

   Tired of spam? Get [2]advanced junk mail protection with MSN 8.

References

   1. mailto:[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
   2. http://g.msn.com/8HMAEN/2734??PS=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Install world fails, computer almost unusable

2004-04-08 Thread Remko Lodder
Artem Koutchine wrote:
IMHO the upgrade pricedure is unstable and wrong in either case.

Then why is it a proven working procedure? (I upgraded my boxes from 
5.0-RC1 to 5.2.1-p4 (all the way) And it never failed on me!)

Previously on 4.x it also worked out fine (another method i used over 
there, but that also worked out)

If you  build, install a new kernel and reboot and they make installworld
you may face code dumps because all world is not compatible with the
new kernel.
Not at my machine.

  IMHO this thing must be resolved in the future and it would be nice
to do it this way:
1) build kernel and install it into a buffer
/boot will be fine for me (like it does now)

2) build workld and install it into a buffer
That requires that you have a lot of diskspace, so some users can have 
issues with this, and then again in my opinion there is no problem, and 
if there is a problem this won't solve it.


3) make changes to config files and install new config file into a buffer
install kernel, reboot, make buildworld, reboot in singleusermode
make installworld, mergemaster -p , reboot, mergemaster.
does the same imho.
4) reboot
we already done that

5) during reboot load shoud check the install buffer and if there is
something in it then copy it into a real working filesystem. 

This way we will abvoid nonmtaching executables and kernel at any
given time.
What do you think?

My opinion is clear, i'll stick with the current way freebsd handles new 
installations, they work for me, and they never failed on me.

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A 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: IPX 802.2 nwfs - works

2004-04-08 Thread Feczak Szabolcs
On Thu, Apr 08, 2004 at 03:34:26PM +0200, Joost Bekkers wrote:
  # ifconfig vr0 ipx 2
 
 AFAIK this sets ipx network 2 on ETHERNET_II framing, your server
 is doing ETHERNET_802.2
And when I compile in 802.2 and ef not, is this the same situation ?

 To be sure of which network number you should use, type 'config'
 on the netware console and look for the nic connected to the segment
 your client is connected to.

That was a good idea, thanks. It helped.

 FYI: you can use the -f option in netstat to filter a protocol (netstat -rnf ipx)


so I have recompiled the kernel with ef again 
and did 


# ifconfig vr0f2 ipx 2
ifconfig vr0f2
IPXrouted
netstat -rnf ipx
ncplist s
# ifconfig vr0f2
vr0f2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ipx 2H.c6ee8155b 
inet6 fe80::20c:6eff:fee8:155b%vr0f2 prefixlen 64 tentative scopeid 0x5 ether 
00:0c:6e:e8:15:5b
# IPXrouted
# netstat -rnf ipx
Routing tables
IPX:
DestinationGatewayFlagsNetif Expire
1.*2.c08843ae UG  vr0f2
2.*2.c6ee8155bU   vr0f2
2db6ebf8.* 2.c08843ae UG  vr0f2
# ncplist s
Visible servers (from SERVER1):
NameNetworkNode   Port
---   
SERVER1 2DB6EBF8:0001:0451
ncplist v server1

Mounted volumes on server SERVER1:
Number Name
-- ---
 0 SYS
 1 SDI





so it worked 
thanks


-- 
  _(_)_
 (_. o_)F3CZ0 : the ipx and netware lama
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


Re: Migrating user accounts from linux to freebsd

2004-04-08 Thread Lowell Gilbert
Konrad Heuer [EMAIL PROTECTED] writes:

 On Thu, 8 Apr 2004, Brian Sheehan wrote:
 
  I've recently done a fresh installation of freebsd 4.9, and now I want
  to migrate the user accounts from a redhat 9 machine to the new freebsd
  machine, and hopefully keep logins and passwords unchanged. Is this
  possible?
 
 It is possible, but you need to write a shell or perl script to combine
 the user entries in the Linux files /etc/passwd and /etc/shadow 
[...]

There's an awk script in the passwd(5) manual for this purpose.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re2: IPX 802.2 nwfs - works

2004-04-08 Thread Feczak Szabolcs
In my last mail I have copy-pasted some trash, so here is
the good one


# ifconfig vr0f2 ipx 2
# ifconfig vr0f2
vr0f2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ipx 2H.c6ee8155b 
inet6 fe80::20c:6eff:fee8:155b%vr0f2 prefixlen 64 tentative scopeid 0x5 ether 
00:0c:6e:e8:15:5b
# IPXrouted
# netstat -rnf ipx
Routing tables
IPX:
DestinationGatewayFlagsNetif Expire
1.*2.c08843ae UG  vr0f2
2.*2.c6ee8155bU   vr0f2
2db6ebf8.* 2.c08843ae UG  vr0f2
# ncplist s
Visible servers (from SERVER1):
NameNetworkNode   Port
---   
SERVER1 2DB6EBF8:0001:0451

# ncplist v server1

Mounted volumes on server SERVER1:
Number Name
-- ---
 0 SYS
 1 SDI

-- 
  _(_)_
 (_. o_)F3CZ0
   (_,) http://feczo.nmi.rulez.org
  ()__
  // //

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


/dev/bpf config from the command line

2004-04-08 Thread Richard P. Williamson
Hello all,

are there any command line tools that would allow me to
set the BIOCSETIF ioctl command on /dev/bpfX, for testing?

I've got an app that uses them, but is telling me
/dev/bpf0: Device not configured

I need to link /dev/bpf1 to fxp1 and /dev/bpf2 to fxp2.

Any suggestions, including write your own tool

Thanks!
rip

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


Re: 5.2 to 5.greater

2004-04-08 Thread Osmany Guirola Cruz
Ok but i can use cvsup i have ti use ctm and the question is
if i have 5.2RELEASE how can i get 5.2.1 in the CTM ftp site i have these 
folders 

08/07/03 12:00AM cvs-cur
01/04/02 12:00AM ports-cur
02/11/01 12:00AM src-2.2
08/07/03 12:00AM src-3
03/13/01 12:00AM src-4
08/07/03 12:00AM src-cur
 i need to know which files download from the site to get the source of the 
5.2.1 reales src-4  or  src-cur and how can i identify which file dowload 




On Tuesday 06 April 2004 04:26 pm, Remko Lodder wrote:
 Osmany Guirola Cruz wrote:
   It's possible do and upgrade from realease 5.2 to 5.2.1 or 5.3 or 5.4
  etc etc etc. I dont want download more RELEASE ISOS , i just want do an
  installation and then upgrade it. I am thinking in the use of CTM for the
  ports  . is it possible ?
 
  Thanks
 
 
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

 yes

 using cvsup you can download the latest cvs branches from freebsd
 and then update it from time to time or when security demands it ( a
 must do ! :-) )

 you can find it in /usr/ports/net/csvsup(-without-gui)

 Cheers

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


APC BackUPS RS 500 (USB) (it continues)

2004-04-08 Thread Gregory Edigarov
OK folks, with the great help of Mike Tancsa I am half the way
through the writing of my daemon.
Now I need to know how can I kill the inverter after
successful system shutdown.
The sources of apcupsd are very Linux-specific, so I cannot use them
as a reference. 
Anybody?

-- 
With best regards,
Gregory Edigarov
--
profi.kharkov.uaSystems Administrator
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


partition deletion and creation

2004-04-08 Thread Tadimeti Keshav
Hi list,
I have freeBSD installed on my 40 GB HDD with the
foll. layout:
/ = 512MB
swap=1GB
/var=512MB
/tmp=512MB
/usr=8GB
/home=26GB
(It should roughly total to the max available ~37GB)
I want to have /home resized to 20GB and then create 4
mount points /u01=3GB,/u02=2GB,/u03=512MB,/u04=512MB.

I have 2 options:
1. using /stand/sysinstall--fdisk to delete /home,
create the new partitions, and then mount the
mount-points. Q=will this format all older partitions
(/usr,/...), forcing me to reinstall FreeBSD again?
Clearly I don't want this. I have spent quite a while
to get the setup running.

2. create links to /home/u01 from /u01, /home/u02 from
/u02..
ln -s /home/u01 /u01
Can I install Oracle this way?

Since the second Q borders on DB and FreeBSD, I am
sending this to both lists.

Thanks in advance...
Tk






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: dead mouse

2004-04-08 Thread Hendrik Hasenbein
prague wrote:

Hey everyone,

New to FreeBSD coming off of Slackware Linux.

I went through the install okay but the mouse (an optical mouse, non-USB) is dead when i do 'startx'. The mouse should be recognized as a PS/2 but it wasn't. I have edited the XF86Config and changed it to an IMPS/2 and added

Options Buttons 5
Options ZAxisMapping 4 5
to the file. This was a fix for Slackware and I thought it may have been the same problem but, still nothing.

Any ideas?
I suppose you are using the wrong device. With moused:

Option  Protocol auto
Option  Device /dev/sysmouse
Without (PS/2 mice):

Option  Protocol auto
Option  Device /dev/psm0
Hendrik

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


Re: partition deletion and creation

2004-04-08 Thread Jerry McAllister
 
 Hi list,
 I have freeBSD installed on my 40 GB HDD with the
 foll. layout:
 / = 512MB
 swap=1GB
 /var=512MB
 /tmp=512MB
 /usr=8GB
 /home=26GB
 (It should roughly total to the max available ~37GB)
 I want to have /home resized to 20GB and then create 4
 mount points /u01=3GB,/u02=2GB,/u03=512MB,/u04=512MB.
 
 I have 2 options:
 1. using /stand/sysinstall--fdisk to delete /home,
 create the new partitions, and then mount the
 mount-points. Q=will this format all older partitions
 (/usr,/...), forcing me to reinstall FreeBSD again?
 Clearly I don't want this. I have spent quite a while
 to get the setup running.

I believe that /stand/sysinstall treats the whole disk as new
and will build file systems on all partitions rather than just
partitions that have been tinkered with.  

I could well be wrong and /stand/sysinstall could be more sophisticated
than I think, but I wouldn't bank on it short of going through the code.

jerry
 
 2. create links to /home/u01 from /u01, /home/u02 from
 /u02..
 ln -s /home/u01 /u01
 Can I install Oracle this way?
 
 Since the second Q borders on DB and FreeBSD, I am
 sending this to both lists.
 
 Thanks in advance...
 Tk
 
 
   
   
   
 
 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]
 

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


How can a user mount a CDROM?

2004-04-08 Thread Mazen S. Alzogbi
Hi,
How can I grant myself (as a user and not root) the permission to 
mount/umount a cdrom?

Thanks,

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


[FAQ pointer] Re: How can a user mount a CDROM?

2004-04-08 Thread Lowell Gilbert
Mazen S. Alzogbi [EMAIL PROTECTED] writes:

 How can I grant myself (as a user and not root) the permission to
 mount/umount a cdrom?

How do I let ordinary users mount floppies, CDROMs and other removable media?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Pipes and commands that require two arguments

2004-04-08 Thread Peter Risdon
I'm stuck with this, so hope nobody will mind the fact that is isn't 
strictly a FreeBSD question.

I want to redirect the output of a command to mv(1) as the source file, 
and specify somehow a destination directory. Basically, I have to move 
several thousand files whose names match a number of patterns to a 
single directory.

Any suggestions will be gratefully received.

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


Belkin wireless network card problem

2004-04-08 Thread Jonathon McKitrick

I finally got a wireless kit.  However, the Belkin card is giving this
error:

Card Belkin(11Mbps-Wireless-Notebook-Network-Adapter) [(null)] [(null)]
matched Belkin (11Mbps-Wireless-Notebook-Network-Adapter) [(null)]
[(null)]
wi0 at port 0x240-0x27f irq 11 slot 0 on pccard0
wi0: timeout in wi_cmd 0x; event status 0x
wi0: timeout in wi_cmd 0x; event status 0x
wi0: timeout in wi_cmd 0x; event status 0x
wi0: init failed
wi0: timeout in wi_cmd 0x; event status 0x
wi0: timeout in wi_cmd 0x; event status 0x
wi0: mac read failed 5
device_probe_and_attach: wi0 attach returned 5


Any ideas ?

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

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]


Re: How can a user mount a CDROM?

2004-04-08 Thread Remko Lodder
Mazen S. Alzogbi wrote:
Hi,
How can I grant myself (as a user and not root) the permission to 
mount/umount a cdrom?

Thanks,
Use SUDO, it is delivered through the ports:
/usr/ports/security/sudo
The example files in /usr/local/etc/sudoers gives you the information 
you want.

Cheers



--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A 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: startssl at boot time

2004-04-08 Thread Joshua Lokken
* Eric Penfold [EMAIL PROTECTED] [2004-04-08 04:50]:
 
 (side note, I'm a lurker, not a subscriber, so this response will probably 
 break threading. If anyone has suggestions on how best to reply, without 
 needing to subscribe and be swamped by email, I'd be grateful).
 
You could subscribe to the list and choose to have it delivered to you
daily as a digest; then you'd have all of the list posts, and only
receive one mail (or so) per day. 

-- 
Joshua

Without followers, evil cannot spread.
-- Spock, And The Children Shall Lead, stardate 5029.5
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: partition deletion and creation

2004-04-08 Thread Matthew Seaman
On Thu, Apr 08, 2004 at 04:23:47PM +0100, Tadimeti Keshav wrote:
 Hi list,
 I have freeBSD installed on my 40 GB HDD with the
 foll. layout:
 / = 512MB
 swap=1GB
 /var=512MB
 /tmp=512MB
 /usr=8GB
 /home=26GB
 (It should roughly total to the max available ~37GB)
 I want to have /home resized to 20GB and then create 4
 mount points /u01=3GB,/u02=2GB,/u03=512MB,/u04=512MB.

That's feasible, except you can only have 8 partitions per slice.
Actually 7, since the 'c' partition is special and you shouldn't use
it to put filesystems on.
 
 I have 2 options:
 1. using /stand/sysinstall--fdisk to delete /home,
 create the new partitions, and then mount the
 mount-points. Q=will this format all older partitions
 (/usr,/...), forcing me to reinstall FreeBSD again?
 Clearly I don't want this. I have spent quite a while
 to get the setup running.

Don't use /stand/sysinstall to do this: use disklabel(8) [if you're
running 4.x] or bsdlabel(8) [if you're running 5.x]. Run whichever of
those commands with the '-e' flag, and it will put you in an editor
window with the partition table data that you can modify to your
hearts content.  Remember to unmount any partitions you're going to
modify before starting.  Any partition you create, or change the size
of will need a new filesystem created on it (newfs(8)) and will end up
empty. The partitions you don't modify will be left alone.

However, this question is academic given that you need more partitions
than you can have in a single slice.
 
 2. create links to /home/u01 from /u01, /home/u02 from
 /u02..
 ln -s /home/u01 /u01
 Can I install Oracle this way?

Sounds like a plan.  It's certainly worth trying.

If Oracle insists on having real filesystems then there's several
other possibilities you might want to consider:

* mount_null(8) -- you can create a loopback mount of some other
   directory on your filesystem.  Despite the
   awful warnings in the man page, this actually
   works fairly well although it would be safer to
   use it for data that is mostly read-only.

* vnconfig(8) [4.x] or mdconfig(8) [5.x]
-- Create a filesystem image on a vnode device
   backed by a file, and mount that wherever you
   need to.  Works pretty smoothly

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


pgp0.pgp
Description: PGP signature


Re: 5.2 to 5.greater

2004-04-08 Thread Matthew Seaman
On Thu, Apr 08, 2004 at 08:23:39AM -0400, Osmany Guirola Cruz wrote:
 Ok but i can use cvsup i have ti use ctm and the question is
 if i have 5.2RELEASE how can i get 5.2.1 in the CTM ftp site i have these 
 folders 
 
 08/07/03 12:00AM cvs-cur
 01/04/02 12:00AM ports-cur
 02/11/01 12:00AM src-2.2
 08/07/03 12:00AM src-3
 03/13/01 12:00AM src-4
 08/07/03 12:00AM src-cur
  i need to know which files download from the site to get the source of the 
 5.2.1 reales src-4  or  src-cur and how can i identify which file dowload 

Hmmm... I don't think you can get one of the -RELEASE branches
directly through ctm(1).  The directories available are:

cvs-cur -- presumably the whole FreeBSD CVS repository
ports-cur   -- the ports tree
src-2.2 -- 2.2-STABLE (Ancient)
src-3   -- 3-STABLE (Ancient)
src-4   -- 4-STABLE (Currently at 4.10-BETA)
src-cur -- 5-CURRENT

So the realistic choices you have are: src-4 to get the latest
4-STABLE, or cvs-cur to get the whole code repository, from which you
can check out the sources using whatever -RELEASE tag you wish.
src-cur isn't a good option unless you're a system developer, and the
other src-N collections are pretty old.

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


pgp0.pgp
Description: PGP signature


Re: Belkin wireless network card problem

2004-04-08 Thread Andrew L. Gould
On Thursday 08 April 2004 11:04 am, Jonathon McKitrick wrote:
 I finally got a wireless kit.  However, the Belkin card is giving this
 error:

 Card Belkin(11Mbps-Wireless-Notebook-Network-Adapter) [(null)] [(null)]
 matched Belkin (11Mbps-Wireless-Notebook-Network-Adapter) [(null)]
 [(null)]
 wi0 at port 0x240-0x27f irq 11 slot 0 on pccard0
 wi0: timeout in wi_cmd 0x; event status 0x
 wi0: timeout in wi_cmd 0x; event status 0x
 wi0: timeout in wi_cmd 0x; event status 0x
 wi0: init failed
 wi0: timeout in wi_cmd 0x; event status 0x
 wi0: timeout in wi_cmd 0x; event status 0x
 wi0: mac read failed 5
 device_probe_and_attach: wi0 attach returned 5


 Any ideas ?

 NOTE: Please CC me, as I am not currently subscribed.  Thanks.

 jm

Which model number is it?

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


Re: Pipes and commands that require two arguments

2004-04-08 Thread Matthew Seaman
On Thu, Apr 08, 2004 at 05:06:17PM +0100, Peter Risdon wrote:

 I want to redirect the output of a command to mv(1) as the source file, 
 and specify somehow a destination directory. Basically, I have to move 
 several thousand files whose names match a number of patterns to a 
 single directory.
 
 Any suggestions will be gratefully received.

There's several ways of doing this.  Assuming you've got a command
listfiles which returns the list of files you want moved from the
current directory:

% mv `listfiles` /destination/directory/

If the number of files to move is larger than the maximum number of
command linearguments:

#!/bin/sh

for f in `listfiles` ; do
mv $f /destination/directory/
done

or you can use xargs(1):

listfiles | xargs -J % mv % /destination/directory/


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


pgp0.pgp
Description: PGP signature


Re: Belkin wireless network card problem

2004-04-08 Thread Jonathon McKitrick
: Which model number is it?

Thanks Andrew.

It's 'PCMCIA wireless' F5D6020 ver 2

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]


Re: Pipes and commands that require two arguments

2004-04-08 Thread Dan Nelson
In the last episode (Apr 08), Peter Risdon said:
 I'm stuck with this, so hope nobody will mind the fact that is isn't
 strictly a FreeBSD question.
 
 I want to redirect the output of a command to mv(1) as the source
 file, and specify somehow a destination directory. Basically, I have
 to move several thousand files whose names match a number of patterns
 to a single directory.

The xargs manpage has an example that should get you on the right
track:

/bin/ls -1d [A-Z]* | xargs -J % cp -rp % destdir

-- 
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: dead mouse

2004-04-08 Thread Tobias Aigner
On Thu, 8 Apr 2004 07:13:29 -0400
prague [EMAIL PROTECTED] wrote:

 Hey everyone,

Hi,

 I went through the install okay but the mouse (an optical mouse,
 non-USB) is dead when i do 'startx'. The mouse should be recognized as
 a PS/2 but it wasn't. I have edited the XF86Config and changed it to
 an IMPS/2 and added
 
 Options Buttons 5
 Options ZAxisMapping 4 5

In my case I have to put these lines in my XF86Config:

Option ProtocolSysMouse
Option Device  /dev/sysmouse
Option ZAXisMapping 4 5

And everything works fine for me. Just try it. Protocol Auto doesn't
work here correctly.

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


problems with Mutt and esmtp

2004-04-08 Thread Ross A. Beyer
I'm having a problem getting the Mutt and esmtp programs to work
together.  What happens is that when I run Mutt and hit send, Mutt
will just hang forever displaying its Sending message... message.
I think that it might be something to do with the sending of the
control character signalling the end of message, but I don't know
for sure.

I'm running FreeBSD 4.9-STABLE (rebuilt this past weekend),
esmtp-0.5.0_1, and mutt-1.4.2.1, which are the most recent of things.

I've simplified the config files for each program down for testing,
and these are the only contents of both files (and there are no
system-level config files for either in /usr/local/etc, this is
it):

-~/.esmtp
identity = [EMAIL PROTECTED]
  hostname = localhost:2525
  preconnect = ssh -f -C -L 2525:rossbeyer.net:25 rossbeyer.net 'sleep 5'
-~/.esmtp

-~/.mutt/muttrc--
set envelope_from=yes
set from=[EMAIL PROTECTED]
set sendmail=/usr/local/bin/esmtp -v -X esmtp.log
-~/.mutt/muttrc--

Additionally, I use ssh-agent, so no login/password is needed for
authorization to my remote mailserver, rossbeyer.net.

I find that when I hit send, Mutt has successfully called esmtp (as
esmtp created its logfile, but hasn't written anything to it), and
that esmtp has properly created the ssh tunnel.  However, after
that nothing happens until I eventually get fed up and kill the
mutt process.

I find that if I run /usr/local/bin/esmtp -v -X esmtp.log -f
[EMAIL PROTECTED] -- [EMAIL PROTECTED] from the command line,
I get similar results before I start typing, everything is set up,
but waiting for user input.  Naturally doing this allows you to
type a message, hit control-D, then the process finishes, and I get
a very rough e-mail delivered to my [EMAIL PROTECTED] account,
so esmtp is working properly to some degree.

So I wonder if Mutt isn't talking to esmtp in the right way or esmtp
isn't listening in the right way?  More testing seems to confirm
this.

I wrote a little Perl program to put in place for the set sendmail=
line in ~/.mutt/muttrc that simply captured the command line arguments
and STDIN, and wrote them to a file.  Then, on the command line I
fed those same command line arguments to esmtp and redirected (with
'') the contents of the message file I had captured from Mutt, and
then everything worked just fine.  I wasn't expecting that to work,
so I'm kind of even more confused.

So I tried not using a tunnel, and just using esmtp for local
delivery via procmail, and the results are identical. Clearly esmtp
is running, it has created an empty log file, but Mutt is just
sitting there saying Sending message  I can't help but wonder
if the message hasn't been sent but the correct termination character
isn't being sent or received properly.  When I comment out the

set sendmail=/usr/local/bin/esmtp -v -X esmtp.log

line in the ~/.mutt/muttrc, the mail gets delivered locally no
problem, so Mutt is working (and certainly I use Mutt on other
systems to happily send and receive mail).  The problem is definitely
where esmtp and Mutt communicate, as both seem to work fine
independently.


Have I missed a configuration variable either in esmtp or in Mutt
that is causing this problem?

I searched around the net and the FreeBSD mail lists and couldn't
find anything relevant to this problem, so I'm thinking that maybe
I've screwed something up since everyone else seems to be having
no trouble.  I also contacted the esmtp author, Jose Fonseca, and
he isn't aware of this problem, and says that everything works fine
for him.  Is it something particular to FreeBSD?

Any help you can give me would be great, as I'm looking forward to 
using esmtp and Mutt together.  Thank you.
-- 
 Ross

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


Re: Belkin wireless network card problem

2004-04-08 Thread Andrew L. Gould
On Thursday 08 April 2004 11:54 am, Jonathon McKitrick wrote:
 : Which model number is it?

 Thanks Andrew.

 It's 'PCMCIA wireless' F5D6020 ver 2

 jm

I have the same model except I can't find a version number -- I guess that 
makes it version 1.  I've used it without problems in FreeBSD 4.9 and NetBSD 
1.6.2.


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


Re: Belkin wireless network card problem

2004-04-08 Thread Jonathon McKitrick
On Thu, Apr 08, 2004 at 12:09:58PM -0500, Andrew L. Gould wrote:
: On Thursday 08 April 2004 11:54 am, Jonathon McKitrick wrote:
:  : Which model number is it?
: 
:  Thanks Andrew.
: 
:  It's 'PCMCIA wireless' F5D6020 ver 2
: 
:  jm
: 
: I have the same model except I can't find a version number -- I guess that 
: makes it version 1.  I've used it without problems in FreeBSD 4.9 and NetBSD 
: 1.6.2.

1.  Did it work under 4.8?
2.  Any special settings?


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]


Re: How can a user mount a CDROM?

2004-04-08 Thread peter lageotakes

--- Mazen S. Alzogbi [EMAIL PROTECTED] wrote:
 Hi,
 How can I grant myself (as a user and not root) the
 permission to 
 mount/umount a cdrom?
 
 Thanks,
 
 -- 
 Mazen S. Alzogbi
 http://alzogbi.com/mazen
 
 
 ___
 [EMAIL PROTECTED] mailing list

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

This should help:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


any unusual inode problems with 4.9-RELEASE?

2004-04-08 Thread Gary Kline

For the past few days I'm seeing serious inode problems 
on my 40G drive.  Has anybody seen unusual troubles with
inodes on FreeBSD-4.9-RELEASE?  If not, maybe I'd better
get a second drive and dd over?  I was running 4.9-STABLE 
prev, and didn't see any major problems.

Suggestions?  Do I have to create one huge slight filesystem,
mount it and dd or what?  

thanks much,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Internet 2

2004-04-08 Thread RazorOnFreeBSD
Hi everyone,

I bring an old post again because I have now more information to give this.

My post was this one :


 


I just setup a freebsd box with the 5.1 release to be a gateway/firewall.
The installation was smooth and to setup the gateway/firewall with nat a lot of 
sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is ATT, I have a static IP wich means I don't need to run PPP 
to connect.

FreeBSD Internet NIC is : 12.103.21.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.21.x

For information the freebsd box contains 2 NIC's one for Internet the other for the 
LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a web address. I don't 
know if it is possible under unix but I use to ping www.yahoo.com for example to 
know if it's well connected. But the best proof is when I try to install samba my 
freebsd gives a time out reaching the samba server on the web

I have setup a firewall_type=OPEN because i'm still testing but I also setup natd 
and gateway variables in the rc.conf file to what is needed up to majority of websites 
about firewall and gateways with Freebsd.
I also rebuilt the kernel up to those websites wich was fine, and I created a 
natd.conf file.
One more thing I think I didn't use the Domain variable when I set up the NIC from 
sysinstall don't know if it's important!
Well I don't understand why it doesn't work The tech guy from att hotline told me 
it's easy as setup a LAN yes you're right my LAN works fine but not Internet! :S

Please somebody help me 


 


And I now have those outputs and conf file to go with :


 


Here is my netstat -r output :

DestGatewayFlagsRefs
Use Netif

Razor  12.103.21.1  UGSc   2
105rl0
12.103.21/24   link#1   UC   1
0rl0
12.103.21.1 link#1   UHLW 3
2rl0
localhost   localhost   UH   0
0lo0
192.168.1link#2   UC   1
0dc0
kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0
dc0

--
ifconfig outputs :

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (100baseTX full duplex)
 status: Active

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (10baseT/UTP)
 status: Active


--
resolv.conf :

domainRazor
nameserver  12.127.16.83 #those two ip's are my current dns server under
the windows station... they work.
nameserver  12.127.17.83

--
hosts :

::1localhost
localhost.my.domain
127.0.0.1localhost  localhost.my.domain
192.168.1.1Razor.my.domain Razor
192.168.1.15  razor_work.my.domainrazor_work
192.168.1.16  Kitty.my.domain  Kitty

--
rc.conf :

defaultrouter=12.103.21.1
gateway_enable=YEShostname=Razor

ifconfig_rl0=inet 12.103.21.x netmask 255.255.255.0
ifconfig_dc0=inet 192.168.1.1 netmask 255.255.255.0
inetd_enable=NO
kern_securelevel=2
kern_securelevel_enable=NO # I did that because it was required to rebuild
the kernel up to a website
keymap=fr.iso.acc
linux_enable=YES
nfs_server_enable=NO
sendmail_enable=NO
sshd_enable=NO
usdb_enable=NO
firewall_enable=YES
firewall_type=OPEN
firewall_quiet=NO
natd_enable=YES
natd_interface=rl0
natd_flags=/etc/fw/natdy.conf
tcp_drop_synfin=YES

--
natdy.conf :

unregistered_only
interface rl0
use_sockets
punch_fw 2000:50

--
sysctl.conf :

net.inet.tcp.strict_rfc1918=1

Re: problems with Mutt and esmtp

2004-04-08 Thread Bill Campbell
On Thu, Apr 08, 2004, Ross A. Beyer wrote:
I'm having a problem getting the Mutt and esmtp programs to work
together.  What happens is that when I run Mutt and hit send, Mutt
will just hang forever displaying its Sending message... message.
I think that it might be something to do with the sending of the
control character signalling the end of message, but I don't know
for sure.

You might use the ``tcpflow'' program to look at the traffic between mutt
and the mail server.  Tcpflow uses a command syntax virtually identical to
tcpdump, but splits out each connection into separate files making it much
easier to look at the converstation.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Perhaps, when committing your first federal crime, it would be unwise to
slap your name and address on it and mail it to 10,000 people.'' --Dogbert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How best to reply to list (Was Re: startssl at boot time)

2004-04-08 Thread Eric Penfold
Joshua Lokken wrote:

 * Eric Penfold [EMAIL PROTECTED] [2004-04-08 04:50]:

 (side note, I'm a lurker, not a subscriber, so this response will 
probably break threading. If anyone has suggestions on how best to reply, 
without needing to subscribe and be swamped by email, I'd be grateful).



 You could subscribe to the list and choose to have it delivered to you
 daily as a digest; then you'd have all of the list posts, and only
 receive one mail (or so) per day.

Yes, I'm aware of that possibility, but it doesnt help with the fundamental 
problem of being able to reply to specific posts (without breaking threading 
etc).

Cheers,

Eric.

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


Re: How can a user mount a CDROM?

2004-04-08 Thread Ruslan N. Gogunsci
Hello,
try add vfs.usermount=1 to /etc/sysctl.conf then from root 
run sysctl vfs.usermount=1,and from user: mount -t cd9660 /dev/acd0c $HOME/mnt/cdrom
On Thu, Apr 08, 2004 at 07:40:54PM +, Mazen S. Alzogbi wrote:
 Hi,
 How can I grant myself (as a user and not root) the permission to 
 mount/umount a cdrom?
 
 Thanks,
 
 -- 
 Mazen S. Alzogbi
 http://alzogbi.com/mazen
 
 
 ___
 [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: Internet 2

2004-04-08 Thread RazorOnFreeBSD
Yes there is one, the first line is not :

Razor  12.103.21.1  UGSc   2
105rl0

but :

Default12.103.21.1  UGSc   2
105rl0


Sorry about that ! But it was a very long text to copy !




I don't see a default route.
'netstat -rn' should return a first line like:
default 12.103.21.1


--
The meek will inherit the earth; the rest of us will go to the stars.

Atom Powers
Pyramid Brewery
206.682.8322 x251

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of RazorOnFreeBSD
Sent: Thursday, April 08, 2004 4:34 AM
To: [EMAIL PROTECTED]
Subject: Internet 2

Hi everyone,

I bring an old post again because I have now more information to give
this.

My post was this one :






I just setup a freebsd box with the 5.1 release to be a
gateway/firewall.
The installation was smooth and to setup the gateway/firewall with nat a
lot of sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd box.
I have DSL and my ISP is ATT, I have a static IP wich means I don't
need to run PPP to connect.

FreeBSD Internet NIC is : 12.103.21.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.21.x

For information the freebsd box contains 2 NIC's one for Internet the
other for the LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a web
address. I don't know if it is possible under unix but I use to ping
www.yahoo.com for example to know if it's well connected. But the best
proof is when I try to install samba my freebsd gives a time out
reaching the samba server on the web

I have setup a firewall_type=OPEN because i'm still testing but I also
setup natd and gateway variables in the rc.conf file to what is needed
up to majority of websites about firewall and gateways with Freebsd.
I also rebuilt the kernel up to those websites wich was fine, and I
created a natd.conf file.
One more thing I think I didn't use the Domain variable when I set up
the NIC from sysinstall don't know if it's important!
Well I don't understand why it doesn't work The tech guy from att
hotline told me it's easy as setup a LAN yes you're right my LAN
works fine but not Internet! :S

Please somebody help me 






And I now have those outputs and conf file to go with :






Here is my netstat -r output :

DestGatewayFlags
Refs
Use Netif

Razor  12.103.21.1  UGSc   2
105rl0
12.103.21/24   link#1   UC   1
0rl0
12.103.21.1 link#1   UHLW 3
2rl0
localhost   localhost   UH
0
0lo0
192.168.1link#2   UC   1
0dc0
kitty.my.domain00:06:5b:b4:41:1c UHLW 0 0
dc0

--
ifconfig outputs :

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (100baseTX full duplex)
 status: Active

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (10baseT/UTP)
 status: Active


--
resolv.conf :

domainRazor
nameserver  12.127.16.83 #those two ip's are my current dns server
under
the windows station... they work.
nameserver  12.127.17.83

--
hosts :

::1localhost
localhost.my.domain
127.0.0.1localhost
localhost.my.domain
192.168.1.1Razor.my.domain Razor
192.168.1.15  razor_work.my.domainrazor_work
192.168.1.16  Kitty.my.domain  Kitty

--
rc.conf :

defaultrouter=12.103.21.1
gateway_enable=YEShostname=Razor


Re: How best to reply to list (Was Re: startssl at boot time)

2004-04-08 Thread Erik Trulsson
On Thu, Apr 08, 2004 at 06:45:23PM +0100, Eric Penfold wrote:
 Joshua Lokken wrote:
 
  * Eric Penfold [EMAIL PROTECTED] [2004-04-08 04:50]:
 
  (side note, I'm a lurker, not a subscriber, so this response will 
 probably break threading. If anyone has suggestions on how best to reply, 
 without needing to subscribe and be swamped by email, I'd be grateful).
 
 
 
  You could subscribe to the list and choose to have it delivered to you
  daily as a digest; then you'd have all of the list posts, and only
  receive one mail (or so) per day.
 
 Yes, I'm aware of that possibility, but it doesnt help with the fundamental 
 problem of being able to reply to specific posts (without breaking 
 threading etc).

Once or twice when I have wanted to reply to a mail on a list that I am
not subscribed to, I have downloaded the raw e-mail in question from the
list-archives, placed it in my mailbox and then replied to it just as
if I had received it normally.
It is a bit of work, but it works fine.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Internet 2

2004-04-08 Thread RazorOnFreeBSD
Are you sure about that ?
Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN as
100MBits/s.
I don't know why but it works with Windows.

- Original Message - 
From: Peter Giessel [EMAIL PROTECTED]
To: RazorOnFreeBSD [EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 7:50 PM
Subject: Re: Internet 2


 switch your dc and rl in your rc.conf.

 your ifconfig shows that dc0 is plugged into your DSL
 (media: Ethernet autoselect (10baseT/UTP)), so your
 rc.conf should read:

 ifconfig_dc0=inet 12.103.21.x netmask 255.255.255.0
 ifconfig_rl0=inet 192.168.1.1 netmask 255.255.255.0




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


Re: Inact v. Free Memory

2004-04-08 Thread Charles Swiger
On Apr 8, 2004, at 8:33 AM, Micah Bushouse wrote:
My question is...  after I shut down all programs, ctrl alt backspace 
X, and get back to a terminal, why does top still show all the memory 
just freed by my desktop programs as inactive?
The system still has the contents of your old programs kept in memory, 
but marked as inactive.  If you start running one of those programs 
again, the system will reuse pages of inactive memory where possible, 
rather than reading everything from disk again.

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


remote install of freebsd via ssh

2004-04-08 Thread Brian
Hello,
Is there a way (or what is the best way) for installing freebsd remotely?  I
have a nontechnical person at the site that can put in a cd or enter a few
commands, but the thought of walking through a full install via the phone is
not fun.  I would prefer to be able to use ssh for configuring.  Any
suggestions would be a great help.

Thanks,
Brian D.

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


Re: Internet 2

2004-04-08 Thread Peter Giessel
There is one way to tell for sure.  Unplug your lan then run ifconfig -a
again and see which one is no longer active.  status on whichever
interface is plugged into the lan should change from active to no carrier.
 
On Thursday, April 08, 2004, at 04:58AM, RazorOnFreeBSD [EMAIL PROTECTED] wrote:

Are you sure about that ?
Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN as
100MBits/s.
I don't know why but it works with Windows.

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


Re: Internet 2

2004-04-08 Thread RazorOnFreeBSD
I did that already and rl0 is my Internet NIC for what I saw.

Thank you for helping so.


- Original Message - 
From: Peter Giessel [EMAIL PROTECTED]
To: RazorOnFreeBSD [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 8:32 PM
Subject: Re: Internet 2


 There is one way to tell for sure.  Unplug your lan then run ifconfig -a
 again and see which one is no longer active.  status on whichever
 interface is plugged into the lan should change from active to no
carrier.

 On Thursday, April 08, 2004, at 04:58AM, RazorOnFreeBSD
[EMAIL PROTECTED] wrote:

 Are you sure about that ?
 Because Windows XP recognize my LAN as a 10MBits/s and the Internet WAN
as
 100MBits/s.
 I don't know why but it works with Windows.



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


RE: Internet 2

2004-04-08 Thread JJB
You state.
I have DSL and my ISP is ATT, I have a static IP which means I
don't need to run PPP to connect.

That is not true for 4.9 and I have not read anything which changes
that for 5.x.

Is 5.1 an buildworld to existing system where your setup worked
previously? or install from scratch using cdrom? Explain.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
RazorOnFreeBSD
Sent: Thursday, April 08, 2004 7:34 AM
To: [EMAIL PROTECTED]
Subject: Internet 2

Hi everyone,

I bring an old post again because I have now more information to
give this.

My post was this one :






I just setup a freebsd box with the 5.1 release to be a
gateway/firewall.
The installation was smooth and to setup the gateway/firewall with
nat a lot of sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd
box.
I have DSL and my ISP is ATT, I have a static IP wich means I don't
need to run PPP to connect.

FreeBSD Internet NIC is : 12.103.21.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.21.x

For information the freebsd box contains 2 NIC's one for Internet
the other for the LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a
web address. I don't know if it is possible under unix but I use to
ping www.yahoo.com for example to know if it's well connected. But
the best proof is when I try to install samba my freebsd gives a
time out reaching the samba server on the web

I have setup a firewall_type=OPEN because i'm still testing but I
also setup natd and gateway variables in the rc.conf file to what is
needed up to majority of websites about firewall and gateways with
Freebsd.
I also rebuilt the kernel up to those websites wich was fine, and I
created a natd.conf file.
One more thing I think I didn't use the Domain variable when I set
up the NIC from sysinstall don't know if it's important!
Well I don't understand why it doesn't work The tech guy from
att hotline told me it's easy as setup a LAN yes you're right
my LAN works fine but not Internet! :S

Please somebody help me 






And I now have those outputs and conf file to go with :






Here is my netstat -r output :

DestGatewayFlags
Refs
Use Netif

Razor  12.103.21.1  UGSc   2
105rl0
12.103.21/24   link#1   UC
1
0rl0
12.103.21.1 link#1   UHLW 3
2rl0
localhost   localhost   UH
0
0lo0
192.168.1link#2   UC
1
0dc0
kitty.my.domain00:06:5b:b4:41:1c UHLW 0
0
dc0

--
ifconfig outputs :

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (100baseTX full duplex)
 status: Active

dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
 inet6 ...
 ether ...
 media: Ethernet autoselect (10baseT/UTP)
 status: Active


--
resolv.conf :

domainRazor
nameserver  12.127.16.83 #those two ip's are my current dns
server under
the windows station... they work.
nameserver  12.127.17.83

--
hosts :

::1localhost
localhost.my.domain
127.0.0.1localhost
localhost.my.domain
192.168.1.1Razor.my.domain Razor
192.168.1.15  razor_work.my.domainrazor_work
192.168.1.16  Kitty.my.domain  Kitty

--
rc.conf :

defaultrouter=12.103.21.1
gateway_enable=YEShostname=Razor

ifconfig_rl0=inet 12.103.21.x netmask 255.255.255.0
ifconfig_dc0=inet 192.168.1.1 netmask 255.255.255.0
inetd_enable=NO
kern_securelevel=2
kern_securelevel_enable=NO # I did that because it was required to
rebuild
the kernel up to a website
keymap=fr.iso.acc

RE: 5.2 to 5.greater

2004-04-08 Thread Osmany Guirola Cruz
 i don't have the choise to do cvsup my only choice is CTM
if i go to cvs-cur i don't know(i am now downloading the ctm file)
then how to do the make world and install kernel of release in these case for example 
i want to go from 5.2 to 5.2.1 please help me
 Thanks
 


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


Re: LAN connection speed ..

2004-04-08 Thread Fernando Gleiser
On Thu, 8 Apr 2004, Mazen S. Alzogbi wrote:

 Hi,

 How can I figure out what's the speed (10Mpbs or 100Mbps) of the LAN
 connection point which my FreeBSD laptop is connected to?

type 'ifconfig -a'

look at the 'media' line, it should say the speed and duplex mode.


Fer

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


RE: remote install of freebsd via ssh

2004-04-08 Thread JJB
Install FBSD on local pc and when completed, remove HD and send to
remote site to be swapped with HD there. Then you can ssh into box
and do what ever you want to fine tune install. Anything else is
just asking for problems and down time.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian
Sent: Thursday, April 08, 2004 7:21 AM
To: [EMAIL PROTECTED]
Subject: remote install of freebsd via ssh

Hello,
Is there a way (or what is the best way) for installing freebsd
remotely?  I
have a nontechnical person at the site that can put in a cd or enter
a few
commands, but the thought of walking through a full install via the
phone is
not fun.  I would prefer to be able to use ssh for configuring.  Any
suggestions would be a great help.

Thanks,
Brian D.

___
[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: Internet 2

2004-04-08 Thread RazorOnFreeBSD
The hotline guy told me exactly those words... for sure I don't know if he
right or not but what I'm sure is that I don't use PPP with windows and the
same connection.
But I installed the 5.1 from scratch
And I tried to follow the steps from a FreeBSD book and from official
websites for the network then.
So as you can see I'm a lost newbie And I really need this gateway
:s


- Original Message - 
From: JJB [EMAIL PROTECTED]
To: RazorOnFreeBSD [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 8:40 PM
Subject: RE: Internet 2


 You state.
 I have DSL and my ISP is ATT, I have a static IP which means I
 don't need to run PPP to connect.

 That is not true for 4.9 and I have not read anything which changes
 that for 5.x.

 Is 5.1 an buildworld to existing system where your setup worked
 previously? or install from scratch using cdrom? Explain.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 RazorOnFreeBSD
 Sent: Thursday, April 08, 2004 7:34 AM
 To: [EMAIL PROTECTED]
 Subject: Internet 2

 Hi everyone,

 I bring an old post again because I have now more information to
 give this.

 My post was this one :

 
 
 
 

 I just setup a freebsd box with the 5.1 release to be a
 gateway/firewall.
 The installation was smooth and to setup the gateway/firewall with
 nat a lot of sources are available on Internet.
 Here is my problem, I can't connect to Internet from the Freebsd
 box.
 I have DSL and my ISP is ATT, I have a static IP wich means I don't
 need to run PPP to connect.

 FreeBSD Internet NIC is : 12.103.21.x

 When I type ifconfig my NIC looks fine, up and running :

 rl0 : 12.103.21.x

 For information the freebsd box contains 2 NIC's one for Internet
 the other for the LAN (192.168.1.1)

 If I ping myself no problem everything's fine, but I can't ping a
 web address. I don't know if it is possible under unix but I use to
 ping www.yahoo.com for example to know if it's well connected. But
 the best proof is when I try to install samba my freebsd gives a
 time out reaching the samba server on the web

 I have setup a firewall_type=OPEN because i'm still testing but I
 also setup natd and gateway variables in the rc.conf file to what is
 needed up to majority of websites about firewall and gateways with
 Freebsd.
 I also rebuilt the kernel up to those websites wich was fine, and I
 created a natd.conf file.
 One more thing I think I didn't use the Domain variable when I set
 up the NIC from sysinstall don't know if it's important!
 Well I don't understand why it doesn't work The tech guy from
 att hotline told me it's easy as setup a LAN yes you're right
 my LAN works fine but not Internet! :S

 Please somebody help me 

 
 
 
 

 And I now have those outputs and conf file to go with :

 
 
 
 

 Here is my netstat -r output :

 DestGatewayFlags
 Refs
 Use Netif

 Razor  12.103.21.1  UGSc   2
 105rl0
 12.103.21/24   link#1   UC
 1
 0rl0
 12.103.21.1 link#1   UHLW 3
 2rl0
 localhost   localhost   UH
 0
 0lo0
 192.168.1link#2   UC
 1
 0dc0
 kitty.my.domain00:06:5b:b4:41:1c UHLW 0
 0
 dc0

 --
 ifconfig outputs :

 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  inet 12.103.21.x netmask 0xff00 broadcast 12.103.21.255
  inet6 ...
  ether ...
  media: Ethernet autoselect (100baseTX full duplex)
  status: Active

 dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
  inet6 ...
  ether ...
  media: Ethernet autoselect (10baseT/UTP)
  status: Active


 --
 resolv.conf :

 domainRazor
 nameserver  12.127.16.83 #those two ip's are my current dns
 server under
 the windows station... they work.
 nameserver  12.127.17.83

 

Re: Internet 2

2004-04-08 Thread Peter Risdon
JJB wrote:

You state.
I have DSL and my ISP is ATT, I have a static IP which means I
don't need to run PPP to connect.
That is not true for 4.9 and I have not read anything which changes
that for 5.x.
 

This doesn't have anything to do with the version of FreeBSD he is 
running. I assume from the fact that he connects with an ethernet cable 
that he is using a dsl modem/router which negotiates the connection and 
if necessary will be running ppp. In that case, there is no need for him 
to run ppp.


Hi everyone,

I bring an old post again because I have now more information to
give this.
My post was this one :





I just setup a freebsd box with the 5.1 release to be a
gateway/firewall.
The installation was smooth and to setup the gateway/firewall with
nat a lot of sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd
box.
I have DSL and my ISP is ATT, I have a static IP wich means I don't
need to run PPP to connect.
 

No, that means you don't have to run dhcp client.

FreeBSD Internet NIC is : 12.103.21.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.21.x

For information the freebsd box contains 2 NIC's one for Internet
the other for the LAN (192.168.1.1)
If I ping myself no problem everything's fine, but I can't ping a
web address. I don't know if it is possible under unix but I use to
ping www.yahoo.com for example to know if it's well connected. But
the best proof is when I try to install samba my freebsd gives a
time out reaching the samba server on the web
 

Yes, ping is possible under unix. Try pinging a known numeric ip address 
first. If that doesn't work, you have a routing/connectivity problem. If 
it does, and you can't then ping a hostname like www.yahoo.com, you'd 
want to check your nameservers listed in /etc/resolv.conf

To start with, assuming that 12.103.21.1 is your dsl router (and it 
needs to be for your configuration to have any chance of working), can 
you ping that? Next, can you ping, say, 12.127.16.83?


I also rebuilt the kernel up to those websites wich was fine, and I
created a natd.conf file.
 

I don't know what this means.

Here is my netstat -r output :

DestGatewayFlags
Refs
Use Netif
Razor  12.103.21.1  UGSc   2
105rl0
12.103.21/24   link#1   UC
1
0rl0
12.103.21.1 link#1   UHLW 3
2rl0
localhost   localhost   UH
0
0lo0
192.168.1link#2   UC
1
0dc0
kitty.my.domain00:06:5b:b4:41:1c UHLW 0
0
dc0
 

There's no default route. You can try setting one explicitly on the 
command line but you really want a solution that will survive reboots. 
If you've been mucking about with ifconfig type statements, try a reboot 
to clear the air, then the ping tests (numeric ip of router - numeric ip 
of nameserver - hostname).

I would also recommend you set a proper hostname in /etc/rc.conf - 
preferably a real one...

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


Re: 5.2 to 5.greater

2004-04-08 Thread Remko Lodder
Osmany Guirola Cruz wrote:
 i don't have the choise to do cvsup my only choice is CTM
if i go to cvs-cur i don't know(i am now downloading the ctm file)
then how to do the make world and install kernel of release in these case for example i want to go from 5.2 to 5.2.1 please help me
 Thanks
 

I never worked with CTM, but i suggest you have a look at : 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ctm.html

Perhaps that can explain an bit how you work with CTM, and then follow 
/usr/src/UPDATING if you have the things in place..

:-)Cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A 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: Internet 2

2004-04-08 Thread Remko Lodder
Peter Risdon wrote:
snipped all because it's not relevant in my reply
He also mentioned that with arp -n -a the ip adres of the gateway (which 
is defined) has no mac adres. So there could be filtering or something 
in the way that prevents you from accessing the mac adres of the router.

tcpdump -i your external if
do you see any traffic going in and out of that thingy?
--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A 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]


Dual p3 or single xeon for ipsec

2004-04-08 Thread Brent Wiese
Which do you think would be more effective as an IPSEC tunnel gateway? A
dual p3 1.26ghz server or a single 2.6 ghz (800mhz fsb) Xeon?

Things that would be common to both:

FreeBSD 4.9 (maybe possibly 5.3 release when its officially out), SMP kernel
on dual
Intel 64bit dual gig-e 1000bTX nic
RAM (up to 2GB if it'll make a difference)
IDE drives (we're just pushin bits so I wouldn't think drives would be too
important)

What I'm most interested in is pushing the most bits possible between points
A and B, which will be separated by the public internet. Encryption doesn't
need to be insanely high. The files being pushed aren't sensitive and
user/pass info won't be exchanged via plaintext.

I noticed the Intel gig-e server nics have encryption offloading (sticker on
the last box I got). Anyone know how effective? I can't seem to find info
about it on their site.

One more question related to this, and I apologize if this is dumb or poorly
worded... Can I use jumbo frames on the public side of the gateways? My
understanding is that everything between would need to be able to deal with
jumbo frames and I don't know the answer to that. Again, this may be a weird
question, but can the gateway store up a few frames from its internal side
and send it as 1 jumbo frame out the public side? Does that question even
make sense?

And, last question, anyone played with the pci-x stuff? If that's all its
cracked up to be, it somewhat makes this email moot.



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


configuring freebsd dhcp server/router to listen on device

2004-04-08 Thread Anthony Philipp
Hello,
Im trying to move away from my linksys wireless router and move onto an 
old Pentium 200 Mhz I have. It will be the gateway between my modem and 
my network. I installed isc-dhcp3 on the box and took the sample dhcp.conf 
file in the freebsd handbook. I edited this file to suite my needs but I 
did not see any mention of how to configure dhcpd to listen on a specified 
device. I searched through freebsd-questions and on google but it turned 
up nothing. Also I have the book The Complete FreeBSD 4th edition, but 
it does not mention how to do this configuration either. When I start 
dhcpd it complains that its not listening on any devices. Basically I just 
want to know how to set it to listen to my 2nd ethernet card xl0. 
Thanks in advance for the help. I hope I have provided enough information. 
Anthony Philipp


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


RE: Internet 2

2004-04-08 Thread JJB
Well I don't know where you get your info from, but all the members
of my local FBSD club who use ATT DSL have to use pppoe  and
dhclient to connect their FBSD boxes to get working connection.  ATT
assigns static ip address to DSL dummy modem and MS/XP does it's own
internal thing to get ppp connection.  All the symptoms stated by
Razor seem to indicate your assumption is wrong by miles.  He can
not reach public internet because he has no connection. Adding hard
coded ifconfig statements to rc.conf will not change that fact or
how his DSL modem is working. And besides nobody picked up on his
hostname= is wrong also, has to be FQDN.

Razor, first thing you do on new virgin install is to ping to public
internet site like Freebsd.org to verify you have internet
connection before you start adding firewall or ports. Your second
mistake was to install 5.x which is intended for users who can debug
kernel code. You are in way over your head. All the 5.x releases are
full of development bugs  and you are experienced enough to debug
them.

If I was you I would blow away the FBSD system you have installed
and re-stall using the 4.9 stable production version.  Why fight the
development bugs in 5.x?



-Original Message-
From: Peter Risdon [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 3:20 PM
To: [EMAIL PROTECTED]
Cc: RazorOnFreeBSD; [EMAIL PROTECTED]
Subject: Re: Internet 2

JJB wrote:

You state.
I have DSL and my ISP is ATT, I have a static IP which means I
don't need to run PPP to connect.

That is not true for 4.9 and I have not read anything which changes
that for 5.x.



This doesn't have anything to do with the version of FreeBSD he is
running. I assume from the fact that he connects with an ethernet
cable
that he is using a dsl modem/router which negotiates the connection
and
if necessary will be running ppp. In that case, there is no need for
him
to run ppp.



Hi everyone,

I bring an old post again because I have now more information to
give this.

My post was this one :

---
-

---
-


I just setup a freebsd box with the 5.1 release to be a
gateway/firewall.
The installation was smooth and to setup the gateway/firewall with
nat a lot of sources are available on Internet.
Here is my problem, I can't connect to Internet from the Freebsd
box.
I have DSL and my ISP is ATT, I have a static IP wich means I
don't
need to run PPP to connect.



No, that means you don't have to run dhcp client.

FreeBSD Internet NIC is : 12.103.21.x

When I type ifconfig my NIC looks fine, up and running :

rl0 : 12.103.21.x

For information the freebsd box contains 2 NIC's one for Internet
the other for the LAN (192.168.1.1)

If I ping myself no problem everything's fine, but I can't ping a
web address. I don't know if it is possible under unix but I use to
ping www.yahoo.com for example to know if it's well connected.
But
the best proof is when I try to install samba my freebsd gives a
time out reaching the samba server on the web



Yes, ping is possible under unix. Try pinging a known numeric ip
address
first. If that doesn't work, you have a routing/connectivity
problem. If
it does, and you can't then ping a hostname like www.yahoo.com,
you'd
want to check your nameservers listed in /etc/resolv.conf

To start with, assuming that 12.103.21.1 is your dsl router (and it
needs to be for your configuration to have any chance of working),
can
you ping that? Next, can you ping, say, 12.127.16.83?


I also rebuilt the kernel up to those websites wich was fine, and I
created a natd.conf file.



I don't know what this means.


Here is my netstat -r output :

DestGatewayFlags
Refs
Use Netif

Razor  12.103.21.1  UGSc
2
105rl0
12.103.21/24   link#1   UC
1
0rl0
12.103.21.1 link#1   UHLW 3
2rl0
localhost   localhost   UH
0
0lo0
192.168.1link#2   UC
1
0dc0
kitty.my.domain00:06:5b:b4:41:1c UHLW 0
0
dc0



There's no default route. You can try setting one explicitly on the
command line but you really want a solution that will survive
reboots.
If you've been mucking about with ifconfig type statements, try a
reboot
to clear the air, then the ping tests (numeric ip of router -
numeric ip
of nameserver - hostname).

I would also recommend you set a proper hostname in /etc/rc.conf -
preferably a real one...


PWR.

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

Re: Install world fails, computer almost unusable

2004-04-08 Thread Kris Kennaway
On Thu, Apr 08, 2004 at 05:38:27PM +0400, Artem Koutchine wrote:
 IMHO the upgrade pricedure is unstable and wrong in either case.
 
 If you  build, install a new kernel and reboot and they make installworld
 you may face code dumps because all world is not compatible with the
 new kernel.
 
 if yo build, install a new kernel and install world w/o reboot then
 during installworld one program is substituted with a new one which
 uses new kernel and make installworld may fail.
 
 IMHO this thing must be resolved in the future and it would be nice
 to do it this way:
 1) build kernel and install it into a buffer
 2) build workld and install it into a buffer
 3) make changes to config files and install new config file into a buffer
 4) reboot
 5) during reboot load shoud check the install buffer and if there is
 something in it then copy it into a real working filesystem. 
 
 This way we will abvoid nonmtaching executables and kernel at any
 given time.
 
 What do you think?

I think your way just introduces spectacular new ways to screw up your
system, but feel free to code up a prototype implementation and show
how it works for some of the difficult upgrade cases like 5.1-5.2,
4.x-5.2, etc.

Kris


pgp0.pgp
Description: PGP signature


RE: configuring freebsd dhcp server/router to listen on device

2004-04-08 Thread JJB
cd /usr/local/etc/
ee rc.isc-dhcpd.conf
dhcpd_options=-q  # command option(s)
dhcpd_ifaces=dc0  # ethernet interface(s)
The -q option will turn off the copyright banner that displays
during the FBSD boot up and in the DHCP log every time broadcast is
issued by the DHCP daemon or when a request is received from a
workstation DHCP client.
The dc0 is to be replaced with the interface name of the LAN Nic
cards you want DHCP service on from your gateway/firewall FBSD
system.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Anthony
Philipp
Sent: Thursday, April 08, 2004 3:42 PM
To: [EMAIL PROTECTED]
Subject: configuring freebsd dhcp server/router to listen on device

Hello,
Im trying to move away from my linksys wireless router and move onto
an
old Pentium 200 Mhz I have. It will be the gateway between my modem
and
my network. I installed isc-dhcp3 on the box and took the sample
dhcp.conf
file in the freebsd handbook. I edited this file to suite my needs
but I
did not see any mention of how to configure dhcpd to listen on a
specified
device. I searched through freebsd-questions and on google but it
turned
up nothing. Also I have the book The Complete FreeBSD 4th edition,
but
it does not mention how to do this configuration either. When I
start
dhcpd it complains that its not listening on any devices. Basically
I just
want to know how to set it to listen to my 2nd ethernet card xl0.
Thanks in advance for the help. I hope I have provided enough
information.
Anthony Philipp


___
[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: Stopevent / Lock order reversal / etc

2004-04-08 Thread Kris Kennaway
On Thu, Apr 08, 2004 at 08:59:25AM -0400, Tuc wrote:
 Hi,
 
   JUST brought up a 5.2.1-R-p4 system and am putting INN on it, and
 I'm getting:
 
 Apr  8 08:53:54 vjofn2 kernel: Sleeping on stopevent with the following non-sl
 eepable locks held:
 Apr  8 08:53:54 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
 locked @ /usr/src/sys/kern/kern_condvar.c:457
 Apr  8 08:53:54 vjofn2 kernel: lock order reversal
 Apr  8 08:53:54 vjofn2 kernel: 1st 0xc8c90aa8 sigacts (sigacts) @ /usr/src/sys/k
 ern/kern_condvar.c:457
 Apr  8 08:53:54 vjofn2 kernel: 2nd 0xc89e306c process lock (process lock) @ /usr
 /src/sys/kern/kern_synch.c:309
 Apr  8 08:53:54 vjofn2 kernel: Stack backtrace:
 Apr  8 08:53:54 vjofn2 kernel: Sleeping on stopevent with the following non-sl
 eepable locks held:
 Apr  8 08:53:54 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
 locked @ /usr/src/sys/kern/subr_trap.c:260
 Apr  8 08:53:54 vjofn2 kernel: Sleeping on stopevent with the following non-sl
 eepable locks held:
 Apr  8 08:53:54 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
 locked @ /usr/src/sys/kern/subr_trap.c:260
 Apr  8 08:56:10 vjofn2 kernel: Sleeping on stopevent with the following non-sl
 eepable locks held:
 Apr  8 08:56:10 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
 locked @ /usr/src/sys/kern/kern_condvar.c:457
 Apr  8 08:56:10 vjofn2 kernel: Sleeping on stopevent with the following non-sl
 eepable locks held:
 Apr  8 08:56:10 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
 locked @ /usr/src/sys/kern/subr_trap.c:260
 Apr  8 08:56:10 vjofn2 kernel: Sleeping on stopevent with the following non-sl
 eepable locks held:
 Apr  8 08:56:10 vjofn2 kernel: exclusive sleep mutex sigacts r = 0 (0xc8c90aa8) 
 locked @ /usr/src/sys/kern/subr_trap.c:260
 
   EH?!  What is this trying to tell me?

That you're seeing evidence of kernel bugs.  Report to
[EMAIL PROTECTED], although they might already be fixed in
5.2-CURRENT.

Kris


pgp0.pgp
Description: PGP signature


Re: Stopevent / Lock order reversal / etc

2004-04-08 Thread Kris Kennaway
On Thu, Apr 08, 2004 at 12:55:10PM -0700, Kris Kennaway wrote:

 That you're seeing evidence of kernel bugs.  Report to
 [EMAIL PROTECTED], although they might already be fixed in
 5.2-CURRENT.

I forgot to mention that before reporting them to current@ you should
search the mailing list archives for the error messages to see if they
have been reported and resolved before.

Kris


pgp0.pgp
Description: PGP signature


Re: any unusual inode problems with 4.9-RELEASE?

2004-04-08 Thread Ion-Mihai Tetcu
On Thu, 8 Apr 2004 10:13:04 -0700
Gary Kline [EMAIL PROTECTED] wrote:

 
   For the past few days I'm seeing serious inode problems 
   on my 40G drive.  Has anybody seen unusual troubles with
   inodes on FreeBSD-4.9-RELEASE?  If not, maybe I'd better
   get a second drive and dd over?  I was running 4.9-STABLE 
   prev, and didn't see any major problems.

Could you give some details ?

   Suggestions?  Do I have to create one huge slight filesystem,
   mount it and dd or what?  

If your asking how to use dd for moving your data to another (bigger)
disk please see the faq, it has an entry on this.



-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: Install world fails, computer almost unusable

2004-04-08 Thread Kent Stewart
On Thursday 08 April 2004 07:09 am, Remko Lodder wrote:
 Artem Koutchine wrote:
  IMHO the upgrade pricedure is unstable and wrong in either case.

 Then why is it a proven working procedure? (I upgraded my boxes from
 5.0-RC1 to 5.2.1-p4 (all the way) And it never failed on me!)

I agree because I am one of the people that made the statfs transition 
on current just fine. I started following the boot -s procedure to do 
the installworld when you couldn't do an installworld on a 4.0 kernel.


 Previously on 4.x it also worked out fine (another method i used over
 there, but that also worked out)

  If you  build, install a new kernel and reboot and they make
  installworld you may face code dumps because all world is not
  compatible with the new kernel.

 Not at my machine.

I have had a few panics but they were due to bad changes being made to 
the kernel. Even then, backing up to kernel.old worked and continued to 
work until the problem was fixed.


IMHO this thing must be resolved in the future and it would be
nice
 
  to do it this way:
  1) build kernel and install it into a buffer

 /boot will be fine for me (like it does now)

  2) build workld and install it into a buffer

 That requires that you have a lot of diskspace, so some users can
 have issues with this, and then again in my opinion there is no
 problem, and if there is a problem this won't solve it.

  3) make changes to config files and install new config file into a
  buffer

 install kernel, reboot, make buildworld, reboot in singleusermode
 make installworld, mergemaster -p , reboot, mergemaster.
 does the same imho.

I may be confused here but if you do a buildworld after you do an 
install kernel, you used the old system to built the kernel. You want 
the new buildworld available when you do the buildkernel.


  4) reboot

 we already done that

  5) during reboot load shoud check the install buffer and if there
  is something in it then copy it into a real working filesystem.
 
  This way we will abvoid nonmtaching executables and kernel at any
  given time.
 
  What do you think?

 My opinion is clear, i'll stick with the current way freebsd handles
 new installations, they work for me, and they never failed on me.

Me too!! It has worked for me over several serious changes that would 
break your system and they never failed.

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: Install world fails, computer almost unusable

2004-04-08 Thread Joshua Lokken
* Artem Koutchine [EMAIL PROTECTED] [2004-04-08 06:44]:
 IMHO the upgrade pricedure is unstable and wrong in either case.
 
 What do you think?

I don't pretend to understand *all* of the reasoning behind the
recommended upgrade procedure.  Since I began using FreeBSD, I have
performed somewhere around 50 system upgrades on various machines, most
of them 4.x, and have upgraded 5.1-5.2 on four machines.  Of those
system upgrades, two have failed, or 'not worked.'  One of them was due
to the fact that I didn't follow the recommended procedure (admittedly,
supplemented with list wisdom), the other, because I didn't follow the
recommended procedure.

It just works.

-- 
Joshua

Worlds are conquered, galaxies destroyed -- but a woman is always a
woman.
-- Kirk, Conscience of the King, stardate unknown
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote install of freebsd via ssh

2004-04-08 Thread Marc G. Fournier
On Thu, 8 Apr 2004, Brian wrote:

 Hello,
 Is there a way (or what is the best way) for installing freebsd remotely?  I
 have a nontechnical person at the site that can put in a cd or enter a few
 commands, but the thought of walking through a full install via the phone is
 not fun.  I would prefer to be able to use ssh for configuring.  Any
 suggestions would be a great help.

Pick up a webcam and aim it at the screen? :)



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Set-Up

2004-04-08 Thread Adam Jason
Hi my friend was recently trying to install Free-BSD on old computer; he bought 
the setup CD-ROM's, and I would like to stop using someone else's server, and use my 
own. I am using one of the FTP site folders and am having some difficulty. Right now I 
am trying to copy the kern.flp or kern-small.flp file on to a floppy disk (trying to 
create a boot disk, but I really don't know if this will work. Could you possibly send 
me a brief description of how to set this up on my old dell latitude? Could I create 
some sort of boot disk? I would greatly appreciate your response.

-Sincerely
Adam Jason

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


Re: Set-Up

2004-04-08 Thread Remko Lodder
Adam Jason wrote:
Hi my friend was recently trying to install Free-BSD on old computer; 
he bought the setup CD-ROM's, and I would like to stop using someone 
else's server, and use my own.
I am using one of the FTP site folders and am having some difficulty. 
Right now I am trying to copy the kern.flp or kern-small.flp
file on to a floppy disk (trying to create a boot disk, but I really 
don't know if this will work. Could you possibly send me a
brief description of how to set this up on my old dell latitude? Could I 
create some sort of boot disk? I would greatly appreciate your
response.
-Sincerely
Adam Jason
please wrap your lines

It's all in the handbook:

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

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A 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]


SORBS lists mx2.freebsd.org as open relay

2004-04-08 Thread Chris Shenton
I was adding RBL blacklisting to my qmail setup, with rblsmtpd using
some blacklists which a couple folks on inet-access suggested.  I
noticed it logging connections from mx2.freebsd.org as being in SORBS:

rblsmtpd: 216.136.204.119 pid 45632: 451 Open Relay See: 
http://www.dnsbl.sorbs.net/cgi-bin/lookup?IP=216.136.204.119

That web page indicates port 25 is an open relay, failing a test
on April 7 2004 01:46:38 GMT, relaying from [EMAIL PROTECTED], to
[EMAIL PROTECTED] 

I manually confirmed their test, it appears as if it's a relay. 
This seems surprising since I know you guys have clue.

When I test using some of my own addresses, it says

  Recipient address rejected: Relay access denied

So is mx2.freebsd.or intentionally relaying from/to SORBS? On purpose?
To fool it into thinking it's a relay when it's not? Any other ideas?

I'd like to use some semi-reputable RBLs but can't afford to block
freebsd mail. 

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


Re: Install world fails, computer almost unusable

2004-04-08 Thread Remko Lodder
Kent Stewart wrote:
On Thursday 08 April 2004 07:09 am, Remko Lodder wrote:
install kernel, reboot, make buildworld, reboot in singleusermode
make installworld, mergemaster -p , reboot, mergemaster.
does the same imho.


I may be confused here but if you do a buildworld after you do an 
install kernel, you used the old system to built the kernel. You want 
the new buildworld available when you do the buildkernel.

ehm minor thinking problem in my short summary of what freebsd advices

The Makeworld has to come first then the makebuildkernel and then reboot.

Sorry for the inconvience:-) Thanks Kent for pointing it out :-)

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A 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]


  1   2   >