Re: Compile Options

2004-01-17 Thread Matthew Seaman
On Fri, Jan 16, 2004 at 10:47:51PM -0200, [EMAIL PROTECTED] wrote:

I've just installed my brand new FreeBSD 5.2 system in this machine. I've
 never used FreeBSD before and I'm quite used to work with linux (specially
 Slackware, although the last 4 months I've been using Gentoo for most of my
 daily work).
The Question is that I could not find anything that resembled Gentoo's USE
 Flags, so I'd like to know if THERE IS anything like it, where could I read
 'bout it (I've been checking the ports chapter in the Handbook but.. no luck).
On FreeBSD there is a conceptual distinction between the system and ports.

There are a number of flags you can set in /etc/make.conf to control
compilation -- see the example make.conf in /usr/share/examples/etc --
probably the closest equivalent of Gentoo's USE_ variables are the
NO_FOO variables used to turn off various parts of the system build,
eg:

NO_SENDMAIL=   true

Individual ports in the ports system can use any number of WITH_FOO or
WITHOUT_FOO flags to control optional parts of compilation.
(Actually, there are also USE_FOO make variables in the ports, but
those are internal use only and not settable by the end user.)  There
are also many similar flags from before the convention to use 'WITH'
or 'WITHOUT' flags was established.  You'll have to read the port
Makefile to work out what's available.

The WITH_FOO flags in the ports can be set generally for all
compilations by including them in /etc/make.conf -- however this is
only useful for certain WITH_FOO options that have a generally
accepted meaning for all ports.  Eg. on one system I use:

A4= yes
PAPER_SIZE= a4   
WITHOUT_PYTHON= yes
APACHE_PORT=www/apache2
WITH_APACHE2=   yes

However, most of these flags only apply to a single port.  You can
create a 'Makefile.local' in the port directory for ports specific
WITH_FOO options, or if you're a portupgrade(1) user, you can populate
the MAKE_ARGS array in /usr/local/etc/pkgtools.conf.

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: configure/autoconf is missing getloadavg on 5.2

2004-01-17 Thread Hanspeter Roth
  On Jan 17 at 00:29, Melvyn Sopacua spoke:

 On Friday 16 January 2004 19:51, Hanspeter Roth wrote:
 
  in icewm-1.2.14pre8 configure on FreeBSD 5.2 claims that
  getloadavg() be not available:
 
 
  configure:6804: checking for getloadavg
  configure:6847: gcc -o conftest -fpermissive -Wall -Wpointer-arith
  -Wconversion -Wwrite-strings -Winline -Woverloaded-virtual -W
  -fno-exceptions -fno-rtti -I/usr/local/include -I/usr/local/include
  -L/usr/local/lib conftest.cc  5 configure:6819: error: declaration of C
  function `char getloadavg()' conflicts with
  /usr/include/stdlib.h:258: error: previous declaration `int
  getloadavg(double*, int)' here
  [...]
 
  However when trying a tiny configure.in getloadavg() is found:
 
  AC_INIT(configure.in)
  AC_PREREQ([2.50])
 
 Insert here:
 
 AC_LANG(C++)
 
  AC_CHECK_FUNCS(failed getloadavg sysctlbyname)
  AC_OUTPUT(Makefile)
 
 Then try again.
 I think this is the gcc 3.x compiler getting stricter about types (char and 
 int conflict, but gcc 2.9x which is in -STABLE doesn't care).

Yes AC_LANG(C++) makes the difference. After inserting this
getloadavg() is no more found. The same result is achieved with
AC_LANG_CPLUSPLUS.
So is getloadavg() useless in a gcc 3.x environment?
Or else how does one check for/use getloadavg() with gcc 3.x?

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


Kernel Upgrades and Patches

2004-01-17 Thread Loren M. Lang
Are there any patches available for the FreeBSD kernel to support
features like acpi or usb 2.0 without upgrading to a full 5.1 kernel or
is it possible to use the 5.1 kernel without a full upgrade?

I'm curious if I could do something like in was doing in Linux before
linux 2.6 was officially released where I had the choice to run a 2.6
test kernel or load a 2.4 kernel so I could try out some of the new
features without dedicating my system to running it full time in case
of any stability problems.  I did have to upgrade a few core packages,
but I could just upgrade each one individually, and they were all fully
backward compatible and had no stability issues, by themselves.

Also, are there many patches for trying out new features like improving
latency on a system or trying out a new scheduler?  (These are just
examples I took from linux.)

And lastly, is there anyway to emulate running a linux device driver
or is it easy to port it to freebsd?
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Re: On board sound problem

2004-01-17 Thread Elijah Plunkett
[EMAIL PROTECTED] wrote:

Hi, I am using FreeBsd 5.1 

I read the handbook on adding a soundcard driver to the kernel. The 
handbook says to add options PNPBIOS for on board soundcards. When I  
was ready to build the kernel it stop instantly and complian it did 
not regonize the PNPBIOS option. Below is an output from a previous 
red hat installation about my soundcard. 

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 50) 

I appreciate your help. Thanks 



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

Hi there!

you don't actually need that option as things in 5.1 are mostly done 
through kernel modules instead of hardwiring the drivers in the kernel.

So have you tried using kldload snd_driver after you have logged in? 
Or have you added a snd_load_driver line into loader.conf?

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


Re: squid-2.5.4_6 warning: port must be 1024

2004-01-17 Thread Matthew Seaman
On Sat, Jan 17, 2004 at 12:04:38AM -0500, Adam McLaurin wrote:
 Also, keep in mind you'll need to append your rc.conf with:
 squid_enable=YES
 
 It does seem strange that a port's behaviour would be controlled by the
 rc.conf, but I suppose that's how the maintainer wanted it done. If this
 is going to be how it is from now on, perhaps squid_enable should be
 mentioned in /etc/defaults/rc.conf ?

This is a feature of rcNG -- instead of installing a sample startup
file, which you have to copy into place, you instead get the
rcNG-ified startup file, which you can turn on and customise by
setting variables in /etc/rc.conf

I don't think it would be feasible to add the default settings for all
of the ports that use rcNG to /etc/defaults/rc.conf -- if you want to
keep your ports stuff cleanly separated from the base systems, then
add:

rc_conf_files=/etc/rc.conf /etc/rc.conf.local /usr/local/etc/rc.ports.conf

to your /etc/rc.conf, and put your ports related settings in there.
The default rcNG startup script settings are documented in the scripts
themselves.  It might be an idea to make such ports register their
default settings in /usr/local/etc/defaults/rc.ports.conf (for
example) but I'm not entirely convinced that the benefit of doing so
outweighs the effort required to set it up.

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: Compile Options

2004-01-17 Thread Simon Barner
[EMAIL PROTECTED] wrote:
I've just installed my brand new FreeBSD 5.2 system in this machine. I've
 never used FreeBSD before and I'm quite used to work with linux (specially
 Slackware, although the last 4 months I've been using Gentoo for most of my
 daily work).
The Question is that I could not find anything that resembled Gentoo's USE
 Flags, so I'd like to know if THERE IS anything like it, where could I read
 'bout it (I've been checking the ports chapter in the Handbook but.. no luck).
 
Well, that is it. If anyone could help I'd appreciate, since I've been
 loving the way this system 'looks' (the /etc directory is just incredibly well
 structured).

Hi,

depending on what you want to do, you should have a look at either

/etc/rc.conf, or

/usr/local/etc/pkgtools.conf (you have to install
ports/sysutils/portupgrade).

The former is usefull to set system wide options, such as CFLAGS, your cpu
type, etc., or special options for the makeworld process.

The latter is used by portupgrade to pass build options to ports when
it rebuilds them. (E.g.

'sysutils/xcdroast' = 'WITH_NONROOT=yes WITH_GTK2=yes' in order to
build xcdroast with non-root support and a gtk2 interface).

Hint: Like many configuration files on FreeBSD, both rc.conf and
pkgtools.conf have a man page.

Simon


signature.asc
Description: Digital signature


Restarts at boot (was: Re: a couple of questions.)

2004-01-17 Thread Simon Barner
 Hi.  When I boot into FreeBSD, my computer restarts
 itself and tries to boot into it again.  I am running
 FreeBSD 5.1.  Recently I would start the computer,
 boot into FreeBSD, it would restart itself around
 where it begins to load loader.conf and then starts to
 boot up again.  After it does that about 2 times it
 would load FreeBSD.  Last night it would not boot into
 it at all.  Do you think it's a hardware problem?  

Were there any error messages?


signature.asc
Description: Digital signature


Sound does not work (was: Re: a couple of questions.)

2004-01-17 Thread Simon Barner
 Also, when I load KDE it says that it cannot find
 device/dev/dsp for sound.  I tried loading the
 soundcard by typing kldload snd_sb16.ko but it doesn't
 seem like that solved the problem.

Does it work if you load the snd.ko module? If it succeeds to
initialize your card, it will print some messages on the console
(ALT+CTRL+F1).

If that does not work: Which card do you have?

Simon


signature.asc
Description: Digital signature


Consistent failure during 5.2 buildworld

2004-01-17 Thread RexFelis
Hello all, 

I have recently updated my supfile to point at
5.2 instead of 5.1, and attempted to upgrade my
box from 5.1-p10 to 5.2 via this method, which
has worked for me before.

Following all the proceedures in the Handbook for
building the world, using a freshly cvsupped
/usr/src, I always end up with this:

=== lib/libpam/modules/pam_echo
cc -O2 -pipe -mcpu=pentiumpro
-I/usr/src/lib/libpam/modules/pam_echo/../../../../contrib/openpam/include
-I/usr/src/lib/libpam/modules/pam_echo/../../libpam
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wno-uninitialized  -c
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c:
In function `_pam_echo':
/usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92:
warning: dereferencing type-punned pointer will
break strict-aliasing rules
*** Error code 1

Stop in /usr/src/lib/libpam/modules/pam_echo.
*** Error code 1

Stop in /usr/src/lib/libpam/modules.
*** Error code 1

Stop in /usr/src/lib/libpam.
*** Error code 1

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

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

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

Stop in /usr/src.
primus#

The kernel builds fine, though.  I am a bit
lost... can anyone help?  I am running FreeBSD
5.1-p10, albatron kx400+ Pro mobo, Athlon 1800+
processor, 2x256 MB 233 MHZ RAM, 2 x 30.7 gb
maxtor IDE hard disks, DVD-ROM and CD-RW drive,
if it helps.  I upgraded from 5.0 to 5.1 no
problem via CVSUP.

Did I misunderstand what I read about having to
install the kernel before the world, and I need
to install the new kernel before the new world
will even build?  And, is there anything
important I left out, information wise, that
would help solve this problem?  I appreciate the
help!

Thanks,

Shannon

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rpc.lockd segfault

2004-01-17 Thread Antoine Jacoutot
Hi,

I'm having a problem under FreeBSD-5.2-RELEASE.
I mount my users homedir under NFS and need rpc.lockd.
Unfortunately, and with no reason nor log, rpc.lockd regularly core dump...
Any idea where I should start looking.
Thanks.

Antoine

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


isdn soft modem

2004-01-17 Thread Florian Baier
Hi,

i'm running FreeBSD 5.2 and want to use my internal AVM Fritz!-Card to 
establish a Dial-in (56k Modem) and Fax-in Service (14.4k Fax-Service). 
I' d like to use the mgetty+sendfax package.
How can i establish a suitable device (soft-modem) to use it with mgetty?
Is i4b the right way?

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


About contrib/smbfs/lib/smb/nls.c

2004-01-17 Thread Liang-Heng Chen
There's a problem of mount_smb when mounting a share with Chinese Big5
in its name.

[EMAIL PROTECTED] has the update with
/usr/src/contrib/smbfs/lib/smb/nls.c:

nls_str_upper(char *dst, const char *src)
{
char *p = dst;

- while (*src)
- *dst++ = toupper(*src++);
*dst = 0;
return p;
}
--- 217,236 
nls_str_upper(char *dst, const char *src)
{
char *p = dst;
+ int big5 = 0;
+
+ while (*src) {
+ if (big5)
+ *dst++ = *src++;
+ else
+ *dst++ = toupper(*src++);
+
+ if (!big5  *(src - 1)  0)
+ big5 = 1;
+ else
+ big5 = 0;
+ }

*dst = 0;
return p;
}

It seems that the original code makes all character to upper case even
if it's a part of a multi-byte word.
Would you please fix the problem?

Thanks.

Liang-Heng [EMAIL PROTECTED]

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


How to start modem Zyxel Omni 56k PCI under FreeBSD

2004-01-17 Thread ..


Kind to you time of days. At me a question: How to start modem Zyxel
Omni 56k PCI under FreeBSD. Help please!!!

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


Re: disklabel question and enlarging a diskslice

2004-01-17 Thread Ion-Mihai Tetcu
On Fri, 16 Jan 2004 17:20:09 -0600
kitsune [EMAIL PROTECTED] wrote:

 On Fri, 16 Jan 2004 17:05:35 -0600
 kitsune [EMAIL PROTECTED] wrote:
 
  Is it possible to use disklabel to enlarge a diskslice?
  
  I have been doing a fresh install of fbsd and I
  forgot I have a 40GB instead of a 20GB drive. Can this be fixed
  using disklabel or do I have to copy everything to another drive,
  reslice it, and then copy the stuff back over?
 
 Whoops, this question should have been over fdisk, not 

See growfs(8).
 

-- 
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: How to start modem Zyxel Omni 56k PCI under FreeBSD

2004-01-17 Thread jan . muenther
 Kind to you time of days. At me a question: How to start modem Zyxel
 Omni 56k PCI under FreeBSD. Help please!!!

Hm, PCI modem, eh? Chances are high it's a so called Winmodem, which doesn't
have any UART chips but some sort of software emulation for it that usually
comes as some Win32 cruft. This could mean you're simply out of luck. 

Get a real modem. 

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


Re: Installing FreeBSD

2004-01-17 Thread Ion-Mihai Tetcu
On Fri, 16 Jan 2004 15:14:10 -0800 (PST) Valerian Galeru
[EMAIL PROTECTED] wrote:

 Hi! 

Hi,

 When i wanted to install FreeBSD 4.9 (from a cd that worked on
 another computer), i got this error: /mnt/usr create /symlink failed,
 no inodes free. This happenned after it made the partitions, and
 after started to copy the /bin directory. 

Did you supplied newfs with some custom arguments ?

 It is interesting that when
 i look with Partition Magic (for windows) at my HDD i see 2 separated
 unused areas (i had linux installed on one of it). I tried to install
 on the same system (but another HDD) and i could do that just after
 3-5 attempts. 

What errors ?

 it is a about an Dell system. If you think it could be
 the problem, i can give you details about the system. Thank you very
 much!

Well, if you give us the details we could think about what the problem
is ..



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


starting /stand/sysinstall in single user mode, how?

2004-01-17 Thread Didier WIROTH
hi,
(concerns freebsd 5.2-release)
when I restart in single user mode with: shutdown now
I choose: /bin/csh as my shell.
Set TERM variable: set TERM cons25
and try to start sysinstall: /stand/sysinstall

A message appears:
Try to set the TERM variable before using sysinstall
Sysinstall will use ASCII mode .. 
(The message is not 100% exact)
It looks like it doesn't accept or recognize the TERM variable? What's wrong
with my TERM variable, I have also tried:
set TERM=cons25 or anything imaginable, nothing worked!
What can I do?

It is actually impossible to use sysinstall in ASCII mode, you can't
navigate in it, it immediately crashes.

many thanks



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


pci_cfgintr_search / Kernel Trap 12

2004-01-17 Thread Tuc
Hi,

All the IRQ's on my laptop end up at 11, and was told that if I 
disable APM and go to ACPI I might be able to remedy this. I took out of my
4.9-STABLE kernel config :

device  apm0

and put in

device  acpica
options ACPI_DEBUG

When I reboot it tells me things like :

apci0: DELL  CPi R on motherboard
[...]
Timecounter ACPI-fast frequency 3.579545Hz
acpi_cpu0: CPU on apcio
(And tz0, acad0, cmbat0, cmbat1, lid0, button0, button1, timer0)

After it probes for the miibus0, and I get 2 ukphy0 messages (One about
the media interface, the other about the speeds it can go) I get :

pci_cfgintr_search: linked (63) to configured irq 11 at 0:29:0
Kernel trap 12 with interrupts disabled


Where do I go from here? Can't find anything on this.

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: starting /stand/sysinstall in single user mode, how?

2004-01-17 Thread Gautam Gopalakrishnan
On Sat, Jan 17, 2004 at 02:46:47PM +0100, Didier WIROTH wrote:
 hi,
 (concerns freebsd 5.2-release)
 when I restart in single user mode with: shutdown now
 I choose: /bin/csh as my shell.
 Set TERM variable: set TERM cons25
 and try to start sysinstall: /stand/sysinstall
 
 A message appears:
 Try to set the TERM variable before using sysinstall
 Sysinstall will use ASCII mode .. 
 (The message is not 100% exact)
 It looks like it doesn't accept or recognize the TERM variable? What's wrong
 with my TERM variable, I have also tried:
 set TERM=cons25 or anything imaginable, nothing worked!

For csh, try:
setenv TERM cons25

bye
Gautam

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


RE: isdn soft modem

2004-01-17 Thread fbsd_user
PCI modem are manufactured for 2 different target markets, the
MS/Windows market and Non MS/Windows.
The MS/Windows market modems are much cheaper to purchase because
they are missing the onboard controller chip. The function this chip
performs is replaced by an software driver that you have to install
on your MS/Window system. These types of modems are referred to as
Winmodems.

FBSD will not work with Winmodems in normal native mode.

Some Winmodems are manufactured using the Lucent chips. There is an
special port ltmdm of an Linux driver that will allow FBSD to use
some Winmodems that have Lucent chips. There are many versions of
the Lucent winmodem chips and the port does not work with all
versions. Generally speaking, playing with the ltmdm port and
getting it working is not an task for the newbe.

The simplest way to use an modem for the newbe , is to use an
external serial modem that connects to the PCs com ports on the back
of your PC.  USB external modems also come in the winmodem models
and theses will not work with FBSD period.

You should read the documentation that came with your modem, and the
outside of the box it came in, or go to the manufacture's web site
to determine if your modem is an winmodem. You are looking for
something that says includes onboard controller and DSP functions
which means it's not an winmodem.

Review the FBSD boot log /var/run/dmesg.boot file to see if FBSD
finds your modem during the boot process.
If it does then use 'user ppp' to dial out to your ISP. Read the
FBSD handbook about how to set that up. It's not an step by step
procedure, but it will give you enough info to point you in the
correct direction.  If you still have problems then post your
dmesg.boot file so people can see what it says to help you more.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Florian
Baier
Sent: Saturday, January 17, 2004 7:50 AM
To: [EMAIL PROTECTED]
Subject: isdn soft modem

Hi,

i'm running FreeBSD 5.2 and want to use my internal AVM Fritz!-Card
to
establish a Dial-in (56k Modem) and Fax-in Service (14.4k
Fax-Service).
I' d like to use the mgetty+sendfax package.
How can i establish a suitable device (soft-modem) to use it with
mgetty?
Is i4b the right way?

Thanks for help
Florian

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


DocBook DTD install

2004-01-17 Thread beni brinckman
Hi list,

When doing a portupgrade of scrollkeeper, I get the following error
message : 
Checking which XML catalog to use... /usr/local/share/xml/catalog
Checking for DocBook XML DTD... configure:error:not found. Make sure you
have the DocBook DTD installed and ensure that it is registered in
/usr/local/share/xml/catalog.

I have the docbook-sk, docbook-xml, docbook-xsl and the sdocbook-xml
installed (according to pkg_version). I did a make deinstall and a
make reinstall of docbook-xsl but scrollkeeper (and other progs like
gdm2, gnumeric2, libgnome) fail to upgrade giving me that same error
message.

I'm running FreeBSD 5.1 Release-p11.

Any help on getting scrollkeeper updated is appreciated.

Beni.


signature.asc
Description: This is a digitally signed message part


Re: isdn soft modem

2004-01-17 Thread Florian Baier
Thaks for the answer. With a normal Modem it still runs.
But i want to uce my Frit!-Card (That's an internal ISDN-Adapter) for 
Dial-in an Fax-in.
I Think i have to install a software, which offers a 
emulated-modem-device (V 110). How can this be done?

Flo

fbsd_user wrote:

PCI modem are manufactured for 2 different target markets, the
MS/Windows market and Non MS/Windows.
The MS/Windows market modems are much cheaper to purchase because
they are missing the onboard controller chip. The function this chip
performs is replaced by an software driver that you have to install
on your MS/Window system. These types of modems are referred to as
Winmodems.
FBSD will not work with Winmodems in normal native mode.

Some Winmodems are manufactured using the Lucent chips. There is an
special port ltmdm of an Linux driver that will allow FBSD to use
some Winmodems that have Lucent chips. There are many versions of
the Lucent winmodem chips and the port does not work with all
versions. Generally speaking, playing with the ltmdm port and
getting it working is not an task for the newbe.
The simplest way to use an modem for the newbe , is to use an
external serial modem that connects to the PCs com ports on the back
of your PC.  USB external modems also come in the winmodem models
and theses will not work with FBSD period.
You should read the documentation that came with your modem, and the
outside of the box it came in, or go to the manufacture's web site
to determine if your modem is an winmodem. You are looking for
something that says includes onboard controller and DSP functions
which means it's not an winmodem.
Review the FBSD boot log /var/run/dmesg.boot file to see if FBSD
finds your modem during the boot process.
If it does then use 'user ppp' to dial out to your ISP. Read the
FBSD handbook about how to set that up. It's not an step by step
procedure, but it will give you enough info to point you in the
correct direction.  If you still have problems then post your
dmesg.boot file so people can see what it says to help you more.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Florian
Baier
Sent: Saturday, January 17, 2004 7:50 AM
To: [EMAIL PROTECTED]
Subject: isdn soft modem
Hi,

i'm running FreeBSD 5.2 and want to use my internal AVM Fritz!-Card
to
establish a Dial-in (56k Modem) and Fax-in Service (14.4k
Fax-Service).
I' d like to use the mgetty+sendfax package.
How can i establish a suitable device (soft-modem) to use it with
mgetty?
Is i4b the right way?
Thanks for help
Florian
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


RE: How to start modem Zyxel Omni 56k PCI under FreeBSD

2004-01-17 Thread fbsd_user
PCI modem are manufactured for 2 different target markets, the
MS/Windows market and Non MS/Windows.
The MS/Windows market modems are much cheaper to purchase because
they are missing the onboard controller chip. The function this chip
performs is replaced by an software driver that you have to install
on your MS/Window system. These types of modems are referred to as
Winmodems.

FBSD will not work with Winmodems in normal native mode.

Some Winmodems are manufactured using the Lucent chips. There is an
special port ltmdm of an Linux driver that will allow FBSD to use
some Winmodems that have Lucent chips. There are many versions of
the Lucent winmodem chips and the port does not work with all
versions. Generally speaking, playing with the ltmdm port and
getting it working is not an task for the newbe.

The simplest way to use an modem for the newbe , is to use an
external serial modem that connects to the PCs com ports on the back
of your PC.  USB external modems also come in the winmodem models
and theses will not work with FBSD period.

You should read the documentation that came with your modem, and the
outside of the box it came in, or go to the manufacture's web site
to determine if your modem is an winmodem. You are looking for
something that says includes onboard controller and DSP functions
which means it's not an winmodem.

Review the FBSD boot log /var/run/dmesg.boot file to see if FBSD
finds your modem during the boot process.
If it does then use 'user ppp' to dial out to your ISP. Read the
FBSD handbook about how to set that up. It's not an step by step
procedure, but it will give you enough info to point you in the
correct direction.  If you still have problems then post your
dmesg.boot file so people can see what it says to help you more.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of 
..
Sent: Saturday, January 17, 2004 3:33 AM
To: [EMAIL PROTECTED]
Subject: How to start modem Zyxel Omni 56k PCI under FreeBSD
Importance: High


Kind to you time of days. At me a question: How to start modem Zyxel
Omni 56k PCI under FreeBSD. Help please!!!

___
[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: starting /stand/sysinstall in single user mode, how?

2004-01-17 Thread Didier WIROTH
 setenv TERM cons25
solved the problem!
thanks a lot

-Original Message-
From: Sergey 'DoubleF' Zaharchenko [mailto:[EMAIL PROTECTED] 
Sent: samedi 17 janvier 2004 15:14
To: Didier WIROTH
Subject: Re: starting /stand/sysinstall in single user mode, how?

On Sat, 17 Jan 2004 14:46:47 +0100
Didier WIROTH [EMAIL PROTECTED] probably wrote:

 hi,
 (concerns freebsd 5.2-release)
 when I restart in single user mode with: shutdown now
 I choose: /bin/csh as my shell.
 Set TERM variable: set TERM cons25

What about a

# set TERM cons25; export TERM

?

 It is actually impossible to use sysinstall in ASCII mode, you can't 
 navigate in it, it immediately crashes.

That's too bad anyway...



--
DoubleF
Veni, Vidi, Visa.

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


Re: trouble mounting a zip drive on parallel port

2004-01-17 Thread David Fleck
On Fri, 16 Jan 2004, Alex Walker wrote:
 I'm trying to mount a parallel zip drive on FreeBSD 4.8. I did re-configure
 my kernel to include the vpo driver and I get the following message on
 dmesg:

 vpo0: Iomega VPI0 Parallel to SCSI interface on
 ppbus0
 vpo0: EPP mode
 vpo0: VP0 error/timeout (5)
 vpo0: VP0 error/timeout (5)

 The errors are a little worrying, but it does seem to be seeing the drive.

Don't be too sure about that.  From my experience, what you're seeing here
is acknowledgement that the ppbus recognizes the existence of the vpo
driver, and that it's set for EPP mode.  This is prior to any attempt to
communicate with the zip drive itself.

I got the same error messages when my parallel cable came loose and the
zip was no longer communicating with the driver at all.

Do you get any messages like the following?  (I'm guessing not):

Creating DISK da0
da0 at vpo0 bus 0 target 6 lun 0
da0: IOMEGA ZIP 100 J.03 Removable Direct Access SCSI-2 device
da0: 96MB (196608 512 byte sectors: 64H 32S/T 96C)


If not, there's no device to mount.

Sorry, I'm no expert on debugging this, I can just tell you my experience.


--
David Fleck
[EMAIL PROTECTED]

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


installation on 4.9

2004-01-17 Thread Daniel Elliott
i was wondering if free bsd gave you an option to create a cutom floppy to boot to the 
operating system like in slackware linux instead of installing a boot manager.


~daniel 

this is an auto signiture. it attaches itself to outgoing messeges wether i like it or 
not. 




-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot switch back to virtual terminal w/ nvidia drivers

2004-01-17 Thread Adam Olsen
Ok,

The file can be found at http://linuxhelp.homeunix.com/xfree.log and my 
XF86Config at http://linuxhelp.homeunix.com/XF86Config

Thanks,

Adam Olsen

Daniela wrote:

On Thursday 15 January 2004 21:35, Adam Olsen wrote:
 

Daniela,

When I press ctrl+alt+F1, I am on the virtual console, but I cannot see
it because I'm getting the mode out of range error.  X does not
terminate - and if I press ctrl+alt+F9, I can get back to X just fine -
no more out of range error on the monitor.
I can be on the virtual console until I startx, and which point if I
switch back to a virtual console or exit X I get the mode out of range
error.
So basically, after I startx, something happens to the virtual console
that makes it so that if I go back to it I get the mode out of range error.
   

OK, do the following: use the command startx  somefile and send me the 
file it produces. This will hopefully tell us what the problem is.

 

Thanks,

Adam Olsen

Daniela wrote:
   

On Thursday 15 January 2004 20:00, Adam Olsen wrote:
 

Daniela,

Ok - Everything works perfectly in X.  When I switch to the VT, I get a
mode out of range error.  I can switch back to X just fine.  Just the VT
has this problem.
   

OK, when you press, say, ctrl+alt+F1 to switch to the VT, are you still
in X or at the console? Is the error message at the console or on the VT
from where you entered startx? Does X terminate?
 

I never get the wavy text while in X.  If by chance I am able to switch
to the VT for some reason without getting the mode out of range error,
all the text is waving around.  This has not happened in FreeBSD 5.2,
but I did see it a few times in 4.8 (I don't know if I'll be able to
reproduce it).
   

If you switch back to X when you get the wavy text, is everything OK
there? Can you start X from inside a debugger? What do you have in your
XF86Config?
I'll go to sleep now, good night.

 

Thanks,

Adam Olsen

Daniela wrote:
   

On Thursday 15 January 2004 19:29, Adam Olsen wrote:
 

Daniela,

I see it when I switch to a virtual console only.  When I switch back
to X, I'm ok again.  Also, if I exit X, I get it the error, but I can
blindly startx again.
   

I don't quite understand what you mean. I thought you can't switch back
to VT?
 

At one point in FreeBSD 4.8 I could switch to the virtual console, but
everything was wavy - text was moving around (it was really weird).
   

Could you describe this a bit more? I'm often seeing text moving around,
and weird colorful stripes on the screen when I switch to X. Viewing a
specific page in Mozilla triggers this. Unfortunately, I can't just open
the debugger and see what's going on at this time, because I can hardly
see anything on the screen.
When you're able to reproduce it, then have a look at the on-screen menu
of your monitor and check the frequencies, they're probably way too
high.
 

Thanks,

Adam Olsen

Daniela wrote:
   

On Thursday 15 January 2004 17:06, Adam Olsen wrote:
 

Hello,

I'm using FreeBSD 5.2-RELEASE and have installed the latest nvidia
drivers available.  Everything works ok _except_ once I load X I
cannot switch back to the virtual console.  I get a mode out of
range error. I had this problem with FreeBSD 4.8 as well.
   

This isn't necessarily nvidia-specific, I have this too with ATI.
Where and when exactly do you see the mode out of range error?
My best guess would be that this is an XFree86 bug.

Daniela
 

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


A while ago you posted about qmail

2004-01-17 Thread Roland Giesler
Hi all,

I've installed qmail but for some or other reason I cannot log on to the
pop3 service.  I keeps saying authorisation failed.

readproctitle reports:
# ps -aux | grep readproc
root 130  0.0  0.0   860   72 con- SWed05PM   2:07.15 readproctitle
service errors: ...r directory\nhead: /var/qmail/control/me: No such file or
directory\nhead: /var/qmail/control/me: No suc...

This looks quite similar to a problem I found rescrived on a mailing list
somewhere but no solution was posted with it.  Could anybody help to shed
some light on this.  I'm quite new to FreeBSD and qmail, but I cannot find
much on either readproctitle or the actual error with qmail-pop3d as far as
troubleshooting goes and have checked every step of my installation many
times.

Additional information:
# svstat /service/* /service/*
/service/qmail-pop3d: up (pid 142) 259012 seconds
/service/qmail-send: up (pid 24352) 1 seconds
/service/qmail-smtpd: up (pid 24357) 0 seconds
/service/qmail-pop3d: up (pid 142) 259012 seconds
/service/qmail-send: up (pid 24352) 1 seconds
/service/qmail-smtpd: up (pid 24357) 0 seconds

# qmailctl stat
/service/qmail-send: up (pid 24723) 0 seconds
/service/qmail-send/log: up (pid 746) 2471 seconds
/service/qmail-smtpd: up (pid 24728) 0 seconds
/service/qmail-smtpd/log: up (pid 751) 2471 seconds
messages in queue: 98
messages in queue but not yet preprocessed: 98

My /var/qmail/supervise/qmail-pop3/run script contains:
!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
exec tcpserver -H -R -v -c100 -u0 -g0 0 110 qmail-popup theempire.co.za \
/home/vpopmail/bin/vchkpw qmail-pop3d Maildir 21

Regards

Roland Giesler

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


Re: A while ago you posted about qmail

2004-01-17 Thread Darek M
Roland Giesler wrote:

Hi all,

I've installed qmail but for some or other reason I cannot log on to the
pop3 service.  I keeps saying authorisation failed.
readproctitle reports:
# ps -aux | grep readproc
root 130  0.0  0.0   860   72 con- SWed05PM   2:07.15 readproctitle
service errors: ...r directory\nhead: /var/qmail/control/me: No such file or
directory\nhead: /var/qmail/control/me: No suc...
 

Might want to check why that file doesn't exist.  It is required by qmail.

Run tail on /var/log/maillog while trying to log in.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


install FreeBSD using PPPoE

2004-01-17 Thread ar
Hello,

I am another one (yet one more?) who was trying to install FreeBSD using PPPoE 
connection. For some reason I cannot reach the article at:
http://www.treefort.org/~rpratt/pppoe/article.html
(reffered in PPPoE as installation medium possible?: 
http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001249.html)
which, I aasume, describes the technique  how it can be done.

Does anyone know anything about this? Are there any other resources on this issue: How 
to install FreeBSD using PPPoE connection?

Thanks everyone in advance who can shed light on this, appreciate your help

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


RE: ERROR: Unable to write data to disk idad1

2004-01-17 Thread Didier WIROTH
How I solved the problem:
1) I booted the live-cd (5.2-release cd2) 
2) Launched the CDROM/DVD Use the live filesystem CDROM/DVD
3) Launched /stand/sysinstall from the shell
4) and created the required partition from there.

I rebooted in normal mode and formatted (with newfs) the partition and was
able to use mount and use them.

What did not work was disabling the geom protection.
Setting the sysctl variable:
kern.geom.debugflags=16
did not work for me.
Some error occurred, the message was (more or less) that my device, the
disk (where I wanted to add the partition, which also contained a swap
partition) was busy because of the swap.

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


Re: 4.9 to 5.2 upgrade stratagy

2004-01-17 Thread Khairil Yusof
On Fri, 2004-01-16 at 21:01 -0600, Chris wrote:

 I am comfy enough with 5.2 to do this. The big question I pose to you all, 
 how would you do this with little impact and little work also.

It will have an impact if it's the same box.

Read /usr/src/UPDATING carefully.

1. Most likely will have to recompile most of your ports

   gcc2 and gcc3 abi is incompatible
   base/system has also changed considerably

   Some ports may still be broken on 5.2

2. You will probably have to clean up old leftover files, such
   as perl, though there is a script to check for older config files now
   with mergemaster

If it is a production server, you would be wise to transfer contents to
your new box and save the trouble of doing a source upgrade from 4 to 5
on a production server. 

Do a clean install on the new one, install all the ports you need, and
transfer your data/config files. Keep the old one running. If there is
no problems with 5.2 on the new box/HD, switch and retire the old box.

-- 
You keep using that word. I do not think it means what you think it
means. 

FreeBSD 5.2-CURRENT i386 
12:59am up 12 days, 13:15, 1 user, load averages: 0.29, 0.43, 0.50

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


IPFW and IP Statistics.

2004-01-17 Thread Grant Peel
Hello,

I am currently using ipfm (IP FLow Meter) as a way of measuring bandwidth
per IP. I am not too happy with it as it has some major limitations.

Is there a way to configure IPFW in FreeBSD so that all it does is monitor
bandwidth per IP and writes simple stats to seperate files?

I am interested to hear other solutions (short of buying a router!).

TIA,

-Grant


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


SOLVED: A while ago you posted about qmail

2004-01-17 Thread Roland Giesler
I found the error...

in my run script I had
/home/vpopmail/bin/vchkpw but should have had
/usr/home/vpopmail/bin/vchkpw

Regards

Roland

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Darek M
 Sent: 17 January 2004 18:43
 To: [EMAIL PROTECTED]
 Subject: Re: A while ago you posted about qmail


 Roland Giesler wrote:

 Hi all,
 
 I've installed qmail but for some or other reason I cannot log on to the
 pop3 service.  I keeps saying authorisation failed.
 
 readproctitle reports:
 # ps -aux | grep readproc
 root 130  0.0  0.0   860   72 con- SWed05PM   2:07.15
 readproctitle
 service errors: ...r directory\nhead: /var/qmail/control/me: No
 such file or
 directory\nhead: /var/qmail/control/me: No suc...
 
 
 
 Might want to check why that file doesn't exist.  It is required by qmail.

 Run tail on /var/log/maillog while trying to log in.
 ___
 [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: install FreeBSD using PPPoE

2004-01-17 Thread Bikrant Neupane
Take a look at this site
http://www.hpi.net/whitepapers/warta/ 
It has everything, from setting up pppoe to b/w mgmt. However you need to 
tweak ppp.conf in order to make it work from Win98 using Raspppoe client.
good luck :)

Bikrant Neupane
System Administrator
World Link Communications Pvt. Ltd.
Kathmandu
Nepal

On Saturday 17 January 2004 22:35, ar wrote:
 Hello,

 I am another one (yet one more?) who was trying to install FreeBSD using
 PPPoE connection. For some reason I cannot reach the article at:
 http://www.treefort.org/~rpratt/pppoe/article.html
 (reffered in PPPoE as installation medium possible?:
 http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001249.html
) which, I aasume, describes the technique  how it can be done.

 Does anyone know anything about this? Are there any other resources on this
 issue: How to install FreeBSD using PPPoE connection?

 Thanks everyone in advance who can shed light on this, appreciate your help

 Alex.
 ___
 [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]


install 5.2 on Thinkpad T40 fxp problem

2004-01-17 Thread Zhang Weiwu
Hello. I read some FreeBSD on Thinkpad T40 storis (prior to 5.2), these 
guys have luckly have almost everything working!

Now I just brought a new T40. The first problem is fxp0 autodetected and 
always timeout:
fxp0: device timeout
fxp0 timeout on whatever network operation (ping, dhclient etc). 
I'm sure the cable, the network and the connector is okay, only it is a 
10BaseT ethernet. 

#dmesg | grep fxp
fxp0: Intel 82801DB (ICH4) Pro/100 VE Ethernet port 0x8000-0x803f mem 
0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
fxp0: Ethernet address 00:0d:60:12:c3:61
miibus0: MII bus on fxp0
#ifconfig fxp0
fxp0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
 ether 00:0d:60:12:c3:61
 media: Ethernet autoselect (10baseT/UTP)
 status: active

I noticed lots of other devices are using irq 11 too, don't know if it can 
be a problem:
uhci1: irq 11
uhci2: irq 11
cbb0: irq 11
cbb1: irq 11

Please give me a hint how to go on! Thank you.

_
 MSN Messenger:  http://messenger.msn.com/cn  

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


hello again, devfs, hello

2004-01-17 Thread Frederick Thomas
hi 
 I just wondering if anyone is still out there who cn actually help me with the 
problem I'm having with devfs and my sound card. devfs did'nt automatically create any 
node I would normally expect to find , [/dev/snd/;/dev/dsp(although it did create 
dsp0.0 and 0.1);
/dev/audio(for the sparc);and /dev/mixer]. now I know that people are busy, getting 
their own sh*t together, however I have been looking for any documetation other than 
the manpage for the last 3 hours on the web and haven't found a thing. I have an old 
dell
optiplex gx1 with onboard sound that worked fine under freebsd 4.8. I see pcm0 in 
dmegboot, and catting sndstat gives me my card.I just want to know what to do to 
create the necessary nodes step by step... thanks
 
 
 
   
  nikita
 
 
   
  


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install 5.2 on Thinkpad T40 fxp problem

2004-01-17 Thread Chris Pressey
On Sun, 18 Jan 2004 02:22:32 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 Hello. I read some FreeBSD on Thinkpad T40 storis (prior to 5.2), these 
 guys have luckly have almost everything working!
 
 Now I just brought a new T40. The first problem is fxp0 autodetected and 
 always timeout:
 fxp0: device timeout
 fxp0 timeout on whatever network operation (ping, dhclient etc). 
 I'm sure the cable, the network and the connector is okay, only it is a 
 10BaseT ethernet. 
 
 #dmesg | grep fxp
 fxp0: Intel 82801DB (ICH4) Pro/100 VE Ethernet port 0x8000-0x803f mem 
 0xc0201000-0xc0201fff irq 11 at device 8.0 on pci2
 fxp0: Ethernet address 00:0d:60:12:c3:61
 miibus0: MII bus on fxp0
 #ifconfig fxp0
 fxp0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   ether 00:0d:60:12:c3:61
   media: Ethernet autoselect (10baseT/UTP)
   status: active
 
 I noticed lots of other devices are using irq 11 too, don't know if it can 
 be a problem:
 uhci1: irq 11
 uhci2: irq 11
 cbb0: irq 11
 cbb1: irq 11
 
 Please give me a hint how to go on! Thank you.

Maybe this page will help provide some insight?

  resolving IRQ conflicts in FreeBSD on a ThinkPad A20m
  http://www.paulbeard.org/movabletype/archives/000415.html

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


Re: ACPI causing trouble for X in 5.2

2004-01-17 Thread Peter Schultz
David Cramblett wrote:
Robert Watson wrote:

On Fri, 16 Jan 2004, David Cramblett wrote:

I have problem with X on 5.2-RC2. Sometimes the whole
system hangs when I start X by startx or 'setpmac mls/equal startx'
(with MAC policies loaded). In about 30% of attempts it hangs on
XFree startup messages and hard reset is required.
The problem occurs a little bit too often for some unrelated
accident and it doesn't occur at all on 5.1-RELEASE (the same
hardware and configuration).
Does anyone have similar problem ?

Yes, see my post from earlier today called Can't shutdown, logout, or
restart cleanly.  I have not run 5.1-RELEASE before, so I can't say
if it didn't happen there, but it definitely happens with
5.2-CURRENT.  I'm at my wit's end trying to find out why!
Per a post I received on bsdforums.com, try booting up with ACPI turned
off.  This can be done in 5.1 and later by choosing option 2 in the boot
menu (Boot FreeBSD with ACPI disabled).  Once I did this, it worked like
a champ.  I'm not sure why earlier versions may not have been affected
by this or if it only affects certain hardware.

Let me know if this worked for you.
I have the same problem on two builds of 5.2, one is a Sony Vaio 
PCG-F360 Laptop (PII 400MHz) and the other is a newer P4 system with 
Asus mother board.  Both worked fine with 5.1 and both broke with 5.2. 
I was able to work around this problem by booting up with ACPI disabled. 
Is there a known issue with ACPI that is being worked on for 5.2 or
did someone already submit a bug report?  Thanks, David


I was seeing this on my Dell Latitude notebook from a couple of years ago
(C600).  I found that the problem went away when I switched off either
ACPI or device apic, so it looks like it's basically an interrupt problem
of some sort.  I'm running with the r128 kernel module for DRI, and John
Baldwin suggested that it might be part of the problem.  I've also been
experiencing continuing ATA problems, so it may well be that a combination
of ACPI and apic changes has resulted in improper handling/routing/... of
interrupts on the box.
You might want to check and see if there are any BIOS upgrades available
for your system -- as ACPI support evolves, older systems with more
questionable ACPI sometimes work less well.  A number of vendors have
released BIOS updates to address this.
Seems kinda strange that it would work fine in 5.1 and then break in 
5.2, if it were hardware/bios related.  Keep in mind, one of my systems 
is less than a year old P4 system (you seem to just be referencing my 
older laptop), so were not just talking about old pre-ACPI hardware/bios 
either.  I may be wrong, but it seems something has changed for ACPI 
between 5.1 and 5.2, either in the FreeBSD implementation or in the 
specification that would require a BIOS update on my newer hardware and 
make the older hardware need it disabled.

In November John Baldwin changed how interrupts are handled and this 
shook up ACPI support for a lot of people.  I've created the following 
in an effort to help people sort through the difficulties:
http://bis.midco.net/pmes/acpi.html

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


Re: can't login to gdm

2004-01-17 Thread r t g tan
Hi Gilbert,

Ive fixed the problem by copying the factory-gdm.conf 
to gdm.conf


On Thu, Jan 01, 2004 at 10:09:20AM -0500, Lowell Gilbert wrote:
 r t g tan [EMAIL PROTECTED] writes:
 
  I'm trying to run gdm, but I can't login.
  
  - I don't get any .xsession-errors, and am able
to login using xdm.
  
  - Neither message saying incorrect user passwd 
 
 What *does* happen when you try to log in?

-- 
robert t g tan


pgp0.pgp
Description: PGP signature


Re: rpc.lockd segfault

2004-01-17 Thread Antoine Jacoutot
On Saturday 17 January 2004 13:38, Antoine Jacoutot wrote:
 I'm having a problem under FreeBSD-5.2-RELEASE.
 I mount my users homedir under NFS and need rpc.lockd.
 Unfortunately, and with no reason nor log, rpc.lockd regularly core dump...
 Any idea where I should start looking.

Here is more information about my problem, using gdb on thecore file:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd.
(gdb) core rpc.lockd.core
Core was generated by `rpc.lockd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0804dd2f in ?? ()

I really need help on this issue.
Thanks.

Antoine

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


Re: install FreeBSD using PPPoE

2004-01-17 Thread Randy Pratt
On Sat, 17 Jan 2004 10:50:11 -0600
ar [EMAIL PROTECTED] wrote:
 Hello,
 
 I am another one (yet one more?) who was trying to install FreeBSD using =
 PPPoE connection. For some reason I cannot reach the article at:
 http://www.treefort.org/~rpratt/pppoe/article.html
 (reffered in PPPoE as installation medium possible?: =
 http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/001249.ht=
 ml)
 which, I aasume, describes the technique  how it can be done.
 
 Does anyone know anything about this? Are there any other resources on =
 this issue: How to install FreeBSD using PPPoE connection?
 
 Thanks everyone in advance who can shed light on this, appreciate your =
 help
 
 Alex.

Hi again Alex,

Apparently you didn't receive my email on 15 Jan 2004 inquiring about
same.

The treefort.org site is down (catastrophic hardware failure from 
what I hear).  It is not likely to be restored.

The content you are looking for is also at:

http://myfreebsd.homeunix.net

Please let me know if you have any trouble accessing the material.

My apologies for not posting an updated link to the archives sooner.

Good luck with your install!

Best regards,

Randy

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


Re: disklabel question and enlarging a diskslice

2004-01-17 Thread kitsune
On Sat, 17 Jan 2004 15:22:40 +0200
Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:
 
 See growfs(8).

All ready figured out a way of moving stuff around to fix the prob =]

btw growfs is not useful here becuase it is a diskslice that was the
prob, not a fs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hello again, devfs, hello

2004-01-17 Thread Jorn Argelo
I don't know if this is required in 4.8 as well, but have you added this
to your kernel configuration?

devicesbc


Cheers,

Jorn

 hi
  I just wondering if anyone is still out there who cn actually help me
 with the problem I'm having with devfs and my sound card. devfs
 did'nt automatically create any node I would normally expect to find
 , [/dev/snd/;/dev/dsp(although it did create dsp0.0 and 0.1);
 /dev/audio(for the sparc);and /dev/mixer]. now I know that people are
 busy, getting their own sh*t together, however I have been looking for any
 documetation other than the manpage for the last 3 hours on the web and
 haven't found a thing. I have an old dell
 optiplex gx1 with onboard sound that worked fine under freebsd 4.8. I see
 pcm0 in dmegboot, and catting sndstat gives me my card.I just want to know
 what to do to create the necessary nodes step by step... thanks



  
 nikita





 -
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 ___
 [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: Cannot switch back to virtual terminal w/ nvidia drivers

2004-01-17 Thread Daniela
On Saturday 17 January 2004 15:24, Adam Olsen wrote:
 Ok,

 The file can be found at http://linuxhelp.homeunix.com/xfree.log and my
 XF86Config at http://linuxhelp.homeunix.com/XF86Config

You have the generic NVIDIA driver specified, this could be the problem.
Try to run the following commands:

XFree86 -configure
XFree86 -xf86config ~/XF86Config.new

Do you still get the error when switching to VT?
If no, you will probably have to reconfigure X using the ~/XF86Config.new as 
the basis, but the problem is solved.
If yes, send the file /var/log/XFree86.0.log.


 Thanks,

 Adam Olsen

 Daniela wrote:
 On Thursday 15 January 2004 21:35, Adam Olsen wrote:
 Daniela,
 
 When I press ctrl+alt+F1, I am on the virtual console, but I cannot see
 it because I'm getting the mode out of range error.  X does not
 terminate - and if I press ctrl+alt+F9, I can get back to X just fine -
 no more out of range error on the monitor.
 
 I can be on the virtual console until I startx, and which point if I
 switch back to a virtual console or exit X I get the mode out of range
 error.
 
 So basically, after I startx, something happens to the virtual console
 that makes it so that if I go back to it I get the mode out of range
  error.
 
 OK, do the following: use the command startx  somefile and send me the
 file it produces. This will hopefully tell us what the problem is.
 
 Thanks,
 
 Adam Olsen
 
 Daniela wrote:
 On Thursday 15 January 2004 20:00, Adam Olsen wrote:
 Daniela,
 
 Ok - Everything works perfectly in X.  When I switch to the VT, I get a
 mode out of range error.  I can switch back to X just fine.  Just the
  VT has this problem.
 
 OK, when you press, say, ctrl+alt+F1 to switch to the VT, are you still
 in X or at the console? Is the error message at the console or on the VT
 from where you entered startx? Does X terminate?
 
 I never get the wavy text while in X.  If by chance I am able to switch
 to the VT for some reason without getting the mode out of range error,
 all the text is waving around.  This has not happened in FreeBSD 5.2,
 but I did see it a few times in 4.8 (I don't know if I'll be able to
 reproduce it).
 
 If you switch back to X when you get the wavy text, is everything OK
 there? Can you start X from inside a debugger? What do you have in your
 XF86Config?
 
 I'll go to sleep now, good night.
 
 Thanks,
 
 Adam Olsen
 
 Daniela wrote:
 On Thursday 15 January 2004 19:29, Adam Olsen wrote:
 Daniela,
 
 I see it when I switch to a virtual console only.  When I switch back
 to X, I'm ok again.  Also, if I exit X, I get it the error, but I can
 blindly startx again.
 
 I don't quite understand what you mean. I thought you can't switch
  back to VT?
 
 At one point in FreeBSD 4.8 I could switch to the virtual console,
  but everything was wavy - text was moving around (it was really
  weird).
 
 Could you describe this a bit more? I'm often seeing text moving
  around, and weird colorful stripes on the screen when I switch to X.
  Viewing a specific page in Mozilla triggers this. Unfortunately, I
  can't just open the debugger and see what's going on at this time,
  because I can hardly see anything on the screen.
 When you're able to reproduce it, then have a look at the on-screen
  menu of your monitor and check the frequencies, they're probably way
  too high.
 
 Thanks,
 
 Adam Olsen
 
 Daniela wrote:
 On Thursday 15 January 2004 17:06, Adam Olsen wrote:
 Hello,
 
 I'm using FreeBSD 5.2-RELEASE and have installed the latest nvidia
 drivers available.  Everything works ok _except_ once I load X I
 cannot switch back to the virtual console.  I get a mode out of
 range error. I had this problem with FreeBSD 4.8 as well.
 
 This isn't necessarily nvidia-specific, I have this too with ATI.
 Where and when exactly do you see the mode out of range error?
 
 My best guess would be that this is an XFree86 bug.
 
 Daniela
 
 ___
 [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: How to find the reverse on a IP address?

2004-01-17 Thread Jerry McAllister
 
 [nslookup being deprecated]
 
 On Fri, Jan 16, 2004 at 01:58:44PM -0500, Jerry McAllister wrote:
 
  I don't mean to ask about the meaning of the word deprecated, but
  rather, is nslookup being deprecated a LINUXy thing, or is that
  going to happen in FreeBSD too?
 
 No, it's neither Linux nor BSD derived.  BIND is developed by the
 Internet Software Consortium (http://www.isc.org/products/BIND/), and
 they are the people responsible for that decision.  Most Unix vendors
 ship ISC Bind code and applications standard with their OSes, plus
 there are quite a few shrink-wrap products based on ISC code, which
 explains why nslookup(1) has been such a long time a-dying.
 
 FreeBSD uses a pretty straight port of ISC BIND to provide named(8),
 host(1), dig(1) etc., (but AFAIK doesn't use the straight BIND
 resolver code in libc) -- so nslookup(1) will disappear from FreeBSD
 when ISC releases (and then FreeBSD imports) a BIND version without
 it.  Same probably goes for most Linux distributions.

OK.   It is just that when something gets labeled deprecated often
there is a note indicating that put in the man page, but I didn't see
one for nslookup.

jerry

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


usb modems

2004-01-17 Thread Roberto Pereyra
Hi

I want to install in my FreeBSD 4.9 box a USB Encore modem.

I newbie in freebsd and I have some questions:

- I must recompile the kernel source ?

- Which options I must add ?

- How I can use my modem ? 


Thanks in advance.

roberto

-- 
_
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

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


Re: General UNIX puzzle

2004-01-17 Thread Eric Anderson

1) Delete the Nth line from a text file?
2) Insert a specified line in a file after the Nth line, leaving the 
rest of the text the same?
3) Delete the first line containing a particular string?
4) Insert a specified line after the first line containing a 
particular string, leaving the rest of the file the same?


You should do your own Comp Sci homework. This looks like (especially 
considering the time of th year) the begining of a Unix Basics course.

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


Re: General UNIX puzzle

2004-01-17 Thread Brett Glass
At 02:44 PM 1/17/2004, Eric Anderson wrote:

You should do your own Comp Sci homework. This looks like (especially considering the 
time of th year) the begining of a Unix Basics course.

Nope; I'm quite experienced with UNIX. However, I posted the
question because I wanted to see what the most efficient
and clever answers would be. For example, while I received
answers involving languages, such as sed and awk, the simplest 
answer to at least one of them seems to use grep.

--Brett 

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


Re: Consistent failure during 5.2 buildworld

2004-01-17 Thread Kris Kennaway
On Sat, Jan 17, 2004 at 04:24:08AM -0800, RexFelis wrote:
 Hello all, 
 
 I have recently updated my supfile to point at
 5.2 instead of 5.1, and attempted to upgrade my
 box from 5.1-p10 to 5.2 via this method, which
 has worked for me before.
 
 Following all the proceedures in the Handbook for
 building the world, using a freshly cvsupped
 /usr/src, I always end up with this:
 
 === lib/libpam/modules/pam_echo
 cc -O2 -pipe -mcpu=pentiumpro

What does the big warning in the default make.conf say about -O2?

Kris


pgp0.pgp
Description: PGP signature


Re: rpc.lockd segfault

2004-01-17 Thread Kris Kennaway
On Sat, Jan 17, 2004 at 08:27:19PM +0100, Antoine Jacoutot wrote:
 On Saturday 17 January 2004 13:38, Antoine Jacoutot wrote:
  I'm having a problem under FreeBSD-5.2-RELEASE.
  I mount my users homedir under NFS and need rpc.lockd.
  Unfortunately, and with no reason nor log, rpc.lockd regularly core dump...
  Any idea where I should start looking.
 
 Here is more information about my problem, using gdb on thecore file:

Unfortunately that doesn't give any information.  You'll need to
recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS).
See the developer's handbook on the website for more information about
debugging program failures with gdb (specifically, how to obtain a
useful backtrace).

Kris


pgp0.pgp
Description: PGP signature


Re: General UNIX puzzle

2004-01-17 Thread Bill Campbell
On Sat, Jan 17, 2004, Brett Glass wrote:
At 02:44 PM 1/17/2004, Eric Anderson wrote:

You should do your own Comp Sci homework. This looks like (especially considering 
the time of th year) the begining of a Unix Basics course.

Nope; I'm quite experienced with UNIX. However, I posted the
question because I wanted to see what the most efficient
and clever answers would be. For example, while I received
answers involving languages, such as sed and awk, the simplest 
answer to at least one of them seems to use grep.

All of those (sed, awk, grep) involve making a copy of the original file
which can cause problems with ownership, permissions, concurrent access,
etc.  The gnu shtool is one of the most useful tools for this for in-place
updates that's considerably more friendly than the ``ed'' examples I posted
(truncated by my mailer for some reason).  One can use multiple sed
commands in one step:

shtool subst [-s] \
-e '99d' \
-e '/pattern1/s/$/\ninsert line after line with pattern1/' \
-e '/pattern2/s/^/\ninsert line before pattern 2/' \
-e '/pattern3/s/pat1/pat2/g' \
file1 [file2, ]

The -s option preserves the timestamps of the file(s) edited.

Remember if doing things based on line numbers (a) to make these changes
first from highest line number to lowest to prevent confusion.

The two lines with pattern1 and pattern2 require sed that recognizes the \n
escape sequence (gnu-sed does, FreeBSD doesn't).

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/

A Galileo could no more be elected president of the United States than
he could be elected Pope of Rome.  Both high posts are reserved for men
favored by God with an extraordinary genius for swathing the bitter
facts of life in bandages of self-illusion.
-- H. L. Mencken
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


install FreeBSD using PPPoE

2004-01-17 Thread ar
Okay Randy, thanks a lot!

 

First, yes, I have not received your previous message for some reason.

 

Second, the other site you have pointed out: http://myfreebsd.homeunix.net is 
accessible. 

Third, the PPPoE connect works perfect, when configured the way you described.

 

Although I have not finished the installation yet, I hope I will get through this (if 
not I will ask again :) ). But in general, all this excellently works.

 

Here is what I did not get through myself: why would I need to initialize ppp? The 
answer is: to bring up that command line interface ppp on the next available tty and 
be able to enter ppp.conf lines such as real PPPoE device, authname, authkey, etc.

 

Thank you very much again for your help!

 

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


Re: How to find the reverse on a IP address?

2004-01-17 Thread Matthew Seaman
On Sat, Jan 17, 2004 at 04:00:32PM -0500, Jerry McAllister wrote:
  
  [nslookup being deprecated]
  

 OK.   It is just that when something gets labeled deprecated often
 there is a note indicating that put in the man page, but I didn't see
 one for nslookup.

ISC announced the deprecation of nslookup(1) as part of the major
rewrite before the release of Bind9.

If you install the Bind9 port you will find that there isn't a
nslookup(1) man page any more.  Also, running nslookup(1) emits the
following message:

% /usr/local/bin/nslookup
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.

and the BIND9 documentation includes this statement:

  Due to its arcane user interface and frequently inconsistent
  behavior, we do not recommend the use of nslookup. Use dig
  instead.
  
These notices will no doubt appear in the base system when BIND 9 is
imported.  Currently FreeBSD ships with BIND 8.3.7: what the plans are
for importing Bind 9 I do not know.

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: How to find the reverse on a IP address?

2004-01-17 Thread Jerry McAllister

 
 and the BIND9 documentation includes this statement:
 
   Due to its arcane user interface and frequently inconsistent
   behavior, we do not recommend the use of nslookup. Use dig
   instead.
  =20
 These notices will no doubt appear in the base system when BIND 9 is
 imported.  Currently FreeBSD ships with BIND 8.3.7: what the plans are
 for importing Bind 9 I do not know.

Ah,  a couple of our group has looked at Bind 9 , but so far we have 
not moved to it.  So, guess I wouldn't see an message, even in the
on the servers with 4.9 FreeBSD I just installed this week.

Thanks for the further information,

jerry

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


5.2 + ipfw2 + keep-state rules Bug

2004-01-17 Thread fbsd_user
Using an fresh install of FBSD 5.2 RC2 I am trying to
get stateful rules to function.
For some reason ipfw2 seems to be issuing an ICMP:3.3
packet to my ISP's dns.

Here is my rules file

# Flush out the list before we begin.
/sbin/ipfw -q -f flush

# Set rules command prefix
cmd=ipfw -q add

# Internal gateway housekeeping
$cmd 00100 allow all from any to any via lo0  # allow all localhost
$cmd 00105 allow all from any to any via xl0  # allow all local Lan
$cmd 00110 check-state log logamount 500
$cmd 00150 divert natd all from any to any
$cmd 00170 count log logamount 500 all from any to any
$cmd 00310 allow log logamount 500 tcp from any to any 53 out via
rl0 setup keep-state
$cmd 00311 allow log logamount 500 udp from any to any 53 out via
rl0 keep-state
$cmd 00315 allow log logamount 500 tcp from any to any 80 out via
rl0 setup keep-state
$cmd 00350 allow log logamount 500 icmp from any to any out via rl0
keep-state
$cmd 00500 deny  log logamount 500 all from any to any

Here is the ipfw2 log
Ipfw: 110 UNKNOWN UDP 10.0.10.5:1181 208.206.15.11:53 out via rl0
Ipfw: 170 Count UDP 67.20.101.103:1181 208.206.15.11:53 out via rl0
Ipfw: 311 Accept UDP 67.20.101.103:1181 208.206.15.11:53 out via rl0
Ipfw: 110 UNKNOWN UDP 208.206.15.11:53 67.20.101.103:1181 in via rl0
Ipfw: 311 Accept UDP 208.206.15.11:53 67.20.101.103:1181 in via rl0

Ipfw: 110 UNKNOWN ICMP:3.3 67.20.101.103 208.206.15.11 out via rl0
Ipfw: 170 Count ICMP:3.3 67.20.101.103 208.206.15.11 out via rl0
Ipfw: 350 Accept ICMP:3.3 67.20.101.103 208.206.15.11 out via rl0

Ipfw: 110 UNKNOWN UDP 10.0.10.5:1181 208.206.15.11:53 out via rl0
Ipfw: 170 Count UDP 67.20.101.103:1181 208.206.15.11:53 out via rl0
Ipfw: 311 Accept UDP 67.20.101.103:1181 208.206.15.11:53 out via rl0
Ipfw: 110 UNKNOWN UDP 208.206.15.11:53 67.20.101.103:1181 in via rl0
Ipfw: 311 Accept UDP 208.206.15.11:53 67.20.101.103:1181 in via rl0

Ipfw: 110 UNKNOWN ICMP:3.3 67.20.101.103 208.206.15.11 out via rl0
Ipfw: 350 Accept ICMP:3.3 67.20.101.103 208.206.15.11 out via rl0

Ipfw: 110 UNKNOWN UDP 10.0.10.5:1181 208.206.15.12:53 out via rl0
Ipfw: 170 Count UDP 67.20.101.103:1181 208.206.15.12:53 out via rl0
Ipfw: 311 Accept UDP 67.20.101.103:1181 208.206.15.12:53 out via rl0
Ipfw: 110 UNKNOWN UDP 208.206.15.12:53 67.20.101.103:1181 in via rl0
Ipfw: 311 Accept UDP 208.206.15.12:53 67.20.101.103:1181 in via rl0

Ipfw: 110 UNKNOWN ICMP:3.3 67.20.101.103 208.206.15.12 out via rl0
Ipfw: 170 Count ICMP:3.3 67.20.101.103 208.206.15.12 out via rl0
Ipfw: 350 Accept ICMP:3.3 67.20.101.103 208.206.15.12 out via rl0


When I change the rules to use pass all just to test if there is
something
wrong with my ISP's dns server, everything works.
So there is no reason for the icmp 3.3 packet.


# Flush out the list before we begin.
/sbin/ipfw -q -f flush

# Set rules command prefix
cmd=ipfw -q add

# Internal gateway housekeeping
$cmd 00100 allow all from any to any via lo0  # allow all localhost
$cmd 00105 allow all from any to any via xl0  # allow all local Lan

$cmd 00150 divert natd all from any to any

$cmd 00160 allow log logamount 500 all from any to any

Log from about rules file
Ipfw: 160 Accept UDP 67.20.101.103:1175 208.206.15.11:53 out via rl0
Ipfw: 160 Accept UDP 208.206.15.11:53 10.0.10.5:1175 in via rl0
Ipfw: 160 Accept TCP 67.20.101.103:1176 216.136.204.117:80 out via
rl0
Ipfw: 160 Accept TCP 216.136.204.117:80 10.0.10.5:1176 in via rl0
Ipfw: 160 Accept TCP 67.20.101.103:1176 216.136.204.117:80 out via
rl0
Ipfw: 160 Accept TCP 67.20.101.103:1176 216.136.204.117:80 out via
rl0
Ipfw: 160 Accept TCP 216.136.204.117:80 10.0.10.5:1176 in via rl0
Ipfw: 160 Accept TCP 67.20.101.103:1176 216.136.204.117:80 out via
rl0
Ipfw: 160 Accept TCP 216.136.204.117:80 10.0.10.5:1176 in via rl0

This looks like 5.2 ipfw2 bug to me.

Any body explain why ipfw2 is doing this?








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


Crashing after yesterdays ( 17/01/04 ) Buildworld

2004-01-17 Thread David Lodeiro
Hi,

Yesterday I cvsuped upto 5.2 RELENG and did buildworld. No errorrs occured 
throughout the buildworld/buildkernel/installkernel/installworld process, but 
now the system seems to crash about 20 minutes after boot up. The only error 
I can find is the following at the end of my dmesg.

Jan 18 09:36:49 dl kernel: ad2: 57241MB ST360021A [116301/16/63] at 
ata1-master UDMA100
Jan 18 09:36:49 dl kernel: GEOM: create disk cd0 dp=0xc47ef600
Jan 18 09:36:49 dl kernel: cd0 at ata0 bus 0 target 0 lun 0
Jan 18 09:36:49 dl kernel: cd0: LITE-ON LTR-52246S 6S0D Removable CD-ROM 
SCSI-0 device
Jan 18 09:36:49 dl kernel: cd0: 16.000MB/s transfers
Jan 18 09:36:49 dl kernel: cd0: Attempt to query device size failed: NOT 
READY, Medium not present
Jan 18 09:36:49 dl kernel: Mounting root from ufs:/dev/ad2s1a
Jan 18 09:36:49 dl kernel: WARNING: /usr was not properly dismounted
Jan 18 09:36:49 dl kernel: WARNING: /var was not properly dismounted
Jan 18 09:36:50 dl lpd[416]: lpd startup: logging=0
Jan 18 09:36:54 dl root: /etc/rc.d/sysctl: WARNING: sysctl hw.usb.uppc.vendor 
does not exist.
Jan 18 09:36:54 dl root: /etc/rc.d/sysctl: WARNING: sysctl hw.usb.uppc.product 
does not exist.
Jan 18 09:36:56 dl kdm[567]: Abnormal helper termination, code 0, signal 5
Jan 18 09:37:06 dl kernel: Warning: pid 573 used static ldt allocation.
Jan 18 09:37:06 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:09 dl kernel: Warning: pid 574 used static ldt allocation.
Jan 18 09:37:09 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:18 dl kernel: Warning: pid 590 used static ldt allocation.
Jan 18 09:37:18 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:18 dl kernel: Warning: pid 591 used static ldt allocation.
Jan 18 09:37:18 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:18 dl kernel: Warning: pid 592 used static ldt allocation.
Jan 18 09:37:18 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:19 dl kernel: Warning: pid 593 used static ldt allocation.
Jan 18 09:37:19 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:19 dl kernel: Warning: pid 596 used static ldt allocation.
Jan 18 09:37:19 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:19 dl kernel: Warning: pid 595 used static ldt allocation.
Jan 18 09:37:19 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:20 dl kernel: Warning: pid 600 used static ldt allocation.
Jan 18 09:37:20 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:20 dl kernel: Warning: pid 603 used static ldt allocation.
Jan 18 09:37:20 dl kernel: See the i386_set_ldt man page for more info
Jan 18 09:37:35 dl kernel: pid 638 (3ddeskd), uid 1001: exited on signal 11

I looked up the man i386_set_ldt but I cant see where I need to make changes 
to resolve this. 

Any help is greatly appreciated.

Thanks

David

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


Using Vi through a Serial Console

2004-01-17 Thread Mario Antonio
Dear List,

When I make a serial connection to a FreeBSD server that has its serial port
configured as a console, how can I make the vi editor work?


Mario

---
[This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System]

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


RE: IBM 325 Server install - hangs on scsi settle

2004-01-17 Thread fbsd_user
Yep those pre Y2K boxes are an real pain in the ass when it comes to
their bios.

it's time to replace your bio's
chip with an modern one.

Check out www.unicore.com   800-800-2467 for new bio chip.
They will give you instruction on how to get the technical info on
your bio chip,
so they can price the replacement.
I have replaced 3 over the past 4 years and each time it cost me
$70.00 each.
This is the only way to extend the life of old PC's.

Good luck

-Original Message-
From: Andy Clements [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 4:13 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: IBM 325 Server install - hangs on scsi settle

fbsd_user wrote:

Changes to PC Bios before installing FBSD

unfortunately, the BIOS on the machine is from 1997.  It's IBM's
SureBIOS.  I've tried finding a update on IBM's site but no luck.

Virus Warning=, set this option to disable. It's a firmware check
of
the hard drive boot sector looking for MS/Windows boot virus. This
will stop FBSD booting from the install CDROM.

set to disable

plug-n-play=,  set this option to disable. FBSD is not sensitive to
Microsoft plug-n-play standard and may refuse to install, or cause
PCI cards not to be found.

not available on BIOS

Disable or set to auto any Bio's option to assign irq numbers to
PCI
expansion slots.


all set to auto

Disable any ISA expansion slots.


not available on BIOS

Operating system type=, set to 'other' or any Unix type of
operating
system, don't set to MS/Windows.


not available on BIOS

Check to see if the cdrom drive is the slave to the IDE master Hard
drive you are installing to, if so then move the cdrom drive to the
secondary IDE controller as master. There should not be any cdrom
drive sharing the primary IDE controller with the master Hard
Drive.


The HDDs and CDROM are on SCSI, so I don't think they have any IDE
controller.  Anyone can feel free to correct me on this issue if I
am
incorrect.

boot sequence=, set this option to (CDROM,C) Since you are
installing FBSD from CDROM you must tell the PC what I/O device to
look at to boot from. Keep in mind that some older CD-ROMs drives
and older PC bios do not support booting off CD-ROM. Generally with
PC manufactured after 1999 this is not the problem.


BIOS is old so the old boot option I have is floppy.  The SCSI BIOS
had
a boot option, which I tried.  That failed however, and brought
error
codes from the PC BIOS because it moved the floppy drive to B: and
took
over the a: slot.

When FreeBSD attempts to boot the machine, ahc0 driver (for the
Adaptec
AIC-7880 controller) is loaded but throws the weirdest error:
ahc0: Illegal Configuration. Only two connectors on the adapter can
be
used at one time.
which means nothing to me.  Does anyone know what it is asking for?
I
even tried removing the CDROM from the SCSI and booting , but the
same
error appears.

Others have loaded 4.9 on 325 PC Servers, however there is something
about my configuration that is giving the ahc0 driver fits.

again, please cc with your response as I am not on the list.

Thanks,
Andy Clements

original request:

I have IBM 325 PCServer with one 200 Pentium Pro CPU and two SCSI
HDD
drives and a SCSI CDROM.  I'm installing FreeBSD 4.9 via floppy and
it
hangs when it says:

Waiting 15 seconds for drives to settle


I notice that it is accessing the cdrom, during the wait, but
nothing
else happens.  I've checked the mailing list and all I see is to
turn
the bios virus detect off.  It seem that quite a few people are
having
this problem...

any ideas? interrupt problem?



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


supporting hardware - videocards

2004-01-17 Thread -e_
hello,

i have 3DLabs Oxygen VX1-1600sw videocard + monitor SGI 1600sw
it's a PC(i386) hardware, for 3d modelling \ cad applications
do the latest's freebsd releases support it?
where i can check the full list of supported hardware?
(sorted by type \ manufacture)
i'm asking because.. i've found only one driver manufacture for this 
adapter
it's for Linux (and only for it) and cost $150 - www.xig.com



thanks

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


RE: usb modems

2004-01-17 Thread fbsd_user
The FBSD 4.9 install system has drivers for most of the Nic cards
and modems in use today, so there is no need to recompile the kernel
unless you have some piece of hardware not covered by the GENERIC
kernel. If your usb phone modem is an winmodem it will not work with
FBSD period. Winmodem are manufactured specially for MS/Windows
systems. Install FBSD and when completed, halt your FBSD system and
then power off, plug in usb modem, and power on. Review the boot log
/var/run/dmesg.boot file looking for message that your modem was
found, if found use 'user ppp' to dial your isp and login for you to
gain internet access. If your usb modem is found as (unknown) you
are SOL, (sh_t out of luck). Get your self an real serial com port
external modem. They work with out any fuss. That's the easiest way
for an newbe.

Good luck friend.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Roberto
Pereyra
Sent: Saturday, January 17, 2004 4:01 PM
To: [EMAIL PROTECTED]
Subject: usb modems

Hi

I want to install in my FreeBSD 4.9 box a USB Encore modem.

I newbie in freebsd and I have some questions:

- I must recompile the kernel source ?

- Which options I must add ?

- How I can use my modem ?


Thanks in advance.

roberto

--
_
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze
___
[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: install FreeBSD using PPPoE

2004-01-17 Thread Randy Pratt
On Sat, 17 Jan 2004 16:36:45 -0600
ar [EMAIL PROTECTED] wrote:
 Okay Randy, thanks a lot!
 
 First, yes, I have not received your previous message for some reason.

No idea why it wouldn't have been delivered.  Just an email mystery
I guess.

 Second, the other site you have pointed out:
 http://myfreebsd.homeunix.net is accessible.

 Third, the PPPoE connect works perfect, when configured the way you
 described.

 Although I have not finished the installation yet, I hope I will get
 through this (if not I will ask again :) ). But in general, all this
 excellently works.
 
 Here is what I did not get through myself: why would I need to
 initialize ppp? The answer is: to bring up that command line interface
 ppp on the next available tty and be able to enter ppp.conf lines such
 as real PPPoE device, authname, authkey, etc.
 
 Thank you very much again for your help!
 
 Alex.

Great!  Glad to hear it worked for you and you'll soon be
exploring FreeBSD.

And, maybe to head off a few questions ... the reason that this is
not part of the Handbook is that it is technically a supported
method used by Sysinstall.  It is a bit of an ugly workaround but it
does work.

Generally, people with a PPPoE connection will download the ISO
image and burn their own CDROM for installation.  The case where a
person needs to install directly via PPPoE only comes up a few times
a year.

Best of luck and remember to have fun!

Randy

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


RE: isdn soft modem

2004-01-17 Thread fbsd_user
If your saying you want to use your ISDN modem for receiving
incoming call over standard phone lines, I don't think that is
possible. Read the documentation that came with your ISDN modem to
see if that is possible. If so, then use 'user ppp' for incoming
calls. Read man ppp. It has two different configuration methods for
receiving incoming calls.

Good luck friend.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Florian
Baier
Sent: Saturday, January 17, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: isdn soft modem

Thaks for the answer. With a normal Modem it still runs.
But i want to uce my Frit!-Card (That's an internal ISDN-Adapter)
for
Dial-in an Fax-in.
I Think i have to install a software, which offers a
emulated-modem-device (V 110). How can this be done?

Flo

fbsd_user wrote:

PCI modem are manufactured for 2 different target markets, the
MS/Windows market and Non MS/Windows.
The MS/Windows market modems are much cheaper to purchase because
they are missing the onboard controller chip. The function this
chip
performs is replaced by an software driver that you have to install
on your MS/Window system. These types of modems are referred to as
Winmodems.

FBSD will not work with Winmodems in normal native mode.

Some Winmodems are manufactured using the Lucent chips. There is an
special port ltmdm of an Linux driver that will allow FBSD to use
some Winmodems that have Lucent chips. There are many versions of
the Lucent winmodem chips and the port does not work with all
versions. Generally speaking, playing with the ltmdm port and
getting it working is not an task for the newbe.

The simplest way to use an modem for the newbe , is to use an
external serial modem that connects to the PCs com ports on the
back
of your PC.  USB external modems also come in the winmodem models
and theses will not work with FBSD period.

You should read the documentation that came with your modem, and
the
outside of the box it came in, or go to the manufacture's web site
to determine if your modem is an winmodem. You are looking for
something that says includes onboard controller and DSP functions
which means it's not an winmodem.

Review the FBSD boot log /var/run/dmesg.boot file to see if FBSD
finds your modem during the boot process.
If it does then use 'user ppp' to dial out to your ISP. Read the
FBSD handbook about how to set that up. It's not an step by step
procedure, but it will give you enough info to point you in the
correct direction.  If you still have problems then post your
dmesg.boot file so people can see what it says to help you more.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Florian
Baier
Sent: Saturday, January 17, 2004 7:50 AM
To: [EMAIL PROTECTED]
Subject: isdn soft modem

Hi,

i'm running FreeBSD 5.2 and want to use my internal AVM Fritz!-Card
to
establish a Dial-in (56k Modem) and Fax-in Service (14.4k
Fax-Service).
I' d like to use the mgetty+sendfax package.
How can i establish a suitable device (soft-modem) to use it with
mgetty?
Is i4b the right way?

Thanks for help
Florian

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

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





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

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


Re: FreeBSD 5.1, Cups problem

2004-01-17 Thread Dr. Lyman Hazelton
Indeed, we have a big problem getting CUPS to work with FreeBSD 5.1.  
The root of the problem is in the fact that it does not install 
properly!  (I think this is completely the responsibility of the 
folks at FreeBSDMall, who clearly didn't test the system they sell in 
the box!)  I suppose I should have (and still should) written all the 
steps I had to do to get it working.  So, here's a list of what I 
remember having to do, and why:

1) The software expects to be installed in /usr/sbin, but FreeBSD's 
version puts it in /usr/local/sbin.  If that isn't in your path, none 
of the command line stuff will work, and this includes even starting 
cupsd or using lpadmin.

2) CUPS expects its config files and other stuff to be in /etc/cups, 
but FreeBSD puts that stuff in /usr/local/etc/cups.  This means that 
even if you make the path correct for finding the program, it won't 
find any of its control or configuration files and will die almost 
instantly if you start it from a shell.

3)CUPS expects its spool file directory to be in /var/spool/cups, but 
FreeBSD5.1 puts similar stuff below /var/spool/output, so you might 
want to continue this philosophy by creating /var/spool/output/cups.  
Neither of these dirs exist or are created when you install cups.  
You can decide which one of them you want to use and create it... but 
don't forget to give it and its sub parts (I'll talk about them 
shortly) the proper owner:group (either root:daemon or daemon:daemon, 
your choice).  You'll need a sub-dir called tmp with the same owner 
attribs below where ever you create the cups dir.

4) Cups requires (even if you aren't using certificates) a sub-dir to 
the /usr/local/etc/cups dir called certs, and the ownership 
requirements are the same as in 3, above.  If the dir isn't there, 
cupsd won't get far before dying somewhat ungracefully, and it isn't 
created by default... you have to do it.

5) The cupsd.conf that comes with the installation isn't aware of any 
of the above misplacements or that any of this might be missing.  
Thus, it has to be edited.  I've attached the version I am 
successfully using now to this message.  You'll almost certainly have 
to change it to fit where you decide to put things, but it's a good 
start.  Be aware of the error reporting level parts of this file, as 
they can help you a lot when you've finally got to the point where 
you can start the program.  You'll want to tone it down later, after 
things are up and running smoothly, but having it fairly verbose can 
really help a lot at first.

6)  The printers.conf, mime.types, .convs and other .conf files all go 
in the /usr/local/etc/cups dir.  You'll also probably have to create 
a ppd directory under /usr/local/etc/cups, as well, as I don't 
believe it got created automagically.

7) If you're using any of the more recent printers (one of mine is an 
HP deskjet 960c) that isn't in the hpijs add-on to gs, you'll have to 
go get them and put them into the ppd dir mentioned in step 6.  If 
you get this far and are having trouble figuring out what needs to go 
where to do this part, let me know and I'll send another message with 
the specifics of what I did to get it to work.

8) Finally, cups expects its control script file to be in /etc/rc.d, 
and that it will be named cups.sh   If you look hard enough through 
the documentation, you can find that there is supposed to be a file 
there called cups.sh.sample that you can edit and rename or copy for 
your installation to make it work.  This is a really idiotic chicken 
and egg situation, as you can normally only see the documentation to 
find this out if you can run the cups daemon and get to the web pages 
at port 631, but you really should start and control the daemon with 
the shell script.  It's almost funny, in a really sadistic way.  In 
any event, you can either search around and find the sample file, 
edit it and move it to /usr/local/etc/rc.d, or use the one attached 
here and put it in that dir.   Don't forget where you put it... you 
may want to either edit it or use it later!

9) With all this done, I believe you will be able to do 
/usr/local/etc/rc.d/cups.sh start and the beast should come alive.  
You can then point your favorite browser at http://localhost:631 and 
you should see the nice cups web control interface.  If you don't, 
have a look at /var/log/messages, or where ever you told cups to put 
its error messages in the cupsd.conf file, and you will probably get 
something meaningful in the way of an error message that will lead 
you to fix something.  (This is especially true if I left anything 
out here, but I hope I didn't.)  Then you can try again.

I hope this helps you (and anyone else struggling with this problem).  
I got wonderful advice (and patience) from Peter Ulrich Kruppa in 
Germany.  Without his pointers, I'd still be fighting with this 
thing!  Certainly, if you have further questions about the cups 
installation on FreeBSD5.1, let me know and I'll 

Re: Using Vi through a Serial Console

2004-01-17 Thread Tillman Hodgson
On Sat, Jan 17, 2004 at 06:52:31PM -0500, Mario Antonio wrote:
 Dear List,
 
 When I make a serial connection to a FreeBSD server that has its serial port
 configured as a console, how can I make the vi editor work?

What doesn't work about it?

And you've already set your TERM environment variable to appropriate
value for whatever is on the other end of the serial cable?

-T


-- 
Nahh, that impending sound of doom is just the blades on my leatherman
locking. 
- A.S.R. quote (Majdi)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Terminal Emulator?

2004-01-17 Thread Eric F Crist
Hey all,

I've got a headless system that I need to connect to via terminal and I've 
never done this from FreeBSD.  Any recommendations?

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


more than one IP address in a jail (?)

2004-01-17 Thread Chad Leigh -- Shire.Net LLC
Either on a webpage somewhere, once, or in here in the list, at one 
time, I remember seeing some patches that allowed a jail to have more 
than one IP address.  I have been googling all day (not really, but a 
good amount of time at least) and can't seem to find it again.  Anyone 
have any pointers?

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


Re: Terminal Emulator?

2004-01-17 Thread jan . muenther
 I've got a headless system that I need to connect to via terminal and I've 
 never done this from FreeBSD.  Any recommendations?

Several possibilities, minicom is in ports, cu/tip are in the base system. 

I usually use 'cu -s 9600 -l /dev/cuaa0' or something similar.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble mounting a zip drive on parallel port

2004-01-17 Thread Alex Walker
Alas, I got no message about Creating DISK da0. I have double checked all of 
the connections (my machine is set to dual boot with another OS, and 
everything works fine there), so I know it's not a connection issue. Still it 
just refuses to find the drive even though I have set everything up in my 
kernel exactly as it says in the handbook. Any chance someone else out there 
might have run into this?

I hate to sound overly desperate, but as I stare down at the little green 
light on my zip drive while it stubbornly refuses to work, I'm beginning to 
hear a voice in my head that sounds suspiciously like John Cleese when he 
screamed you vicious bastard! at his car in the gourmet night episode of 
Fawlty Towers. Someone please help me before I start whacking the thing with 
a plant.

Thanks,
Alex 



On Saturday 17 January 2004 07:13 am, David Fleck wrote:

 Creating DISK da0

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


Re: trouble mounting a zip drive on parallel port

2004-01-17 Thread Andrew L. Gould
On Saturday 17 January 2004 07:55 pm, Alex Walker wrote:
 Alas, I got no message about Creating DISK da0. I have double checked all
 of the connections (my machine is set to dual boot with another OS, and
 everything works fine there), so I know it's not a connection issue. Still
 it just refuses to find the drive even though I have set everything up in
 my kernel exactly as it says in the handbook. Any chance someone else out
 there might have run into this?

 I hate to sound overly desperate, but as I stare down at the little green
 light on my zip drive while it stubbornly refuses to work, I'm beginning to
 hear a voice in my head that sounds suspiciously like John Cleese when he
 screamed you vicious bastard! at his car in the gourmet night episode
 of Fawlty Towers. Someone please help me before I start whacking the thing
 with a plant.

 Thanks,
 Alex

 On Saturday 17 January 2004 07:13 am, David Fleck wrote:
  Creating DISK da0

Have you tried mounting various /dev/da0* devices?  To get a list of them, 
execute:

ls -al /dev/da0*

Best of luck,

Andrew Gould


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


HELP PLEASE FATAL TRAP 21 PC98

2004-01-17 Thread [EMAIL PROTECTED]
Ok People...first I'll admit that I suck at bsd and
I'm a sorta newbie. I'm using a PC 9821 Ls150 with the
pc98 5.2 distro. I keep getting this funky kernel
message below and it restarts my box ever time:

 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x0
 fault code  = supervisor read, page not
present
 instruction pointer = 0x8:0x0
 stack pointer   = 0x10:0xc4fbc7c
 frame pointer   = 0x10:0xc4bfc7c84
 code segment= base 0x0, limit 0xf,
type 0x1b
 = DPL 0, pres 1, def32 1,
gran 1
 processor eflags= interrupt enabled, resume,
IOPL = 0
 current process = 27 (swi8: tty:sio clock)
 trap number = 12
 panic: page fault

I was told to put ddb in the kernel but I can't get to
a prompt to open the kernel conf file. None of the
boot commands seem to work ie...gdb or the flags. What
can I do ...am I just doing it wrong. How do I stop
the error?? How can I get to a prompt that will let me
ls and cd to boot/kernel and so forth
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1, Cups problem

2004-01-17 Thread Murray Stokely
Hi Dr. Hazelton, CUPS is one of over 10,000 optional ports for
FreeBSD, and you are correct in assuming that it is not always tested
by the port maintainers, FreeBSD developers, or FreeBSD CDROM vendors.

After all the excellent investigation you have done on this issue, we
should make an addition to the printing chapter of the FreeBSD
Handbook to better document this.  Can you please submit some text
with send-pr(1) so that one of us can incorporate this into the
Handbook.  That would do far more to help other users than a mailing
list post that will get lost with time.

Thanks,

 - Murray

On Sat, Jan 17, 2004 at 05:50:49PM -0700, Dr. Lyman Hazelton wrote:
 Indeed, we have a big problem getting CUPS to work with FreeBSD 5.1.  
 The root of the problem is in the fact that it does not install 
 properly!  (I think this is completely the responsibility of the 
 folks at FreeBSDMall, who clearly didn't test the system they sell in 
 the box!)  I suppose I should have (and still should) written all the 
 steps I had to do to get it working.  So, here's a list of what I 
 remember having to do, and why:
 
 1) The software expects to be installed in /usr/sbin, but FreeBSD's 
 version puts it in /usr/local/sbin.  If that isn't in your path, none 
 of the command line stuff will work, and this includes even starting 
 cupsd or using lpadmin.
 
 2) CUPS expects its config files and other stuff to be in /etc/cups, 
 but FreeBSD puts that stuff in /usr/local/etc/cups.  This means that 
 even if you make the path correct for finding the program, it won't 
 find any of its control or configuration files and will die almost 
 instantly if you start it from a shell.
 
 3)CUPS expects its spool file directory to be in /var/spool/cups, but 
 FreeBSD5.1 puts similar stuff below /var/spool/output, so you might 
 want to continue this philosophy by creating /var/spool/output/cups.  
 Neither of these dirs exist or are created when you install cups.  
 You can decide which one of them you want to use and create it... but 
 don't forget to give it and its sub parts (I'll talk about them 
 shortly) the proper owner:group (either root:daemon or daemon:daemon, 
 your choice).  You'll need a sub-dir called tmp with the same owner 
 attribs below where ever you create the cups dir.
 
 4) Cups requires (even if you aren't using certificates) a sub-dir to 
 the /usr/local/etc/cups dir called certs, and the ownership 
 requirements are the same as in 3, above.  If the dir isn't there, 
 cupsd won't get far before dying somewhat ungracefully, and it isn't 
 created by default... you have to do it.
 
 5) The cupsd.conf that comes with the installation isn't aware of any 
 of the above misplacements or that any of this might be missing.  
 Thus, it has to be edited.  I've attached the version I am 
 successfully using now to this message.  You'll almost certainly have 
 to change it to fit where you decide to put things, but it's a good 
 start.  Be aware of the error reporting level parts of this file, as 
 they can help you a lot when you've finally got to the point where 
 you can start the program.  You'll want to tone it down later, after 
 things are up and running smoothly, but having it fairly verbose can 
 really help a lot at first.
 
 6)  The printers.conf, mime.types, .convs and other .conf files all go 
 in the /usr/local/etc/cups dir.  You'll also probably have to create 
 a ppd directory under /usr/local/etc/cups, as well, as I don't 
 believe it got created automagically.
 
 7) If you're using any of the more recent printers (one of mine is an 
 HP deskjet 960c) that isn't in the hpijs add-on to gs, you'll have to 
 go get them and put them into the ppd dir mentioned in step 6.  If 
 you get this far and are having trouble figuring out what needs to go 
 where to do this part, let me know and I'll send another message with 
 the specifics of what I did to get it to work.
 
 8) Finally, cups expects its control script file to be in /etc/rc.d, 
 and that it will be named cups.sh   If you look hard enough through 
 the documentation, you can find that there is supposed to be a file 
 there called cups.sh.sample that you can edit and rename or copy for 
 your installation to make it work.  This is a really idiotic chicken 
 and egg situation, as you can normally only see the documentation to 
 find this out if you can run the cups daemon and get to the web pages 
 at port 631, but you really should start and control the daemon with 
 the shell script.  It's almost funny, in a really sadistic way.  In 
 any event, you can either search around and find the sample file, 
 edit it and move it to /usr/local/etc/rc.d, or use the one attached 
 here and put it in that dir.   Don't forget where you put it... you 
 may want to either edit it or use it later!
 
 9) With all this done, I believe you will be able to do 
 /usr/local/etc/rc.d/cups.sh start and the beast should come alive.  
 You can then point your favorite browser at 

Re: Compaq Proliant 1500 / SMP - Success

2004-01-17 Thread Jason Taylor
Jon Gross wrote:
Have you seen this after setting all of this up?

MODE_SENSE_BIG
resetting ata0...
repeat ad nauseum
- Original Message - 
From: Jason Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 12:40 AM
Subject: Compaq Proliant 1500 / SMP - Success



The info on hw.physmem in this thread mostly did the trick for me:

http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=utf-8threadm=ee83fe30.0311120931.5a7f871e%40posting.google.comrnum=1prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3Dutf-8%26q%3Dinstall%2Bhangs%2Bat%2B%252Fstand%252Fsysinstall%2Brunning%2Bas%2Binit%2Bon%2Bvty0%26btnG%3DGoogle%2BSearch%26meta%3Dgroup%253Dalt.sys.pc-clone.compaq.servers

Setting hw.physmem was the first part of the puzzle.  However, as was
one of the thread participants, I was getting a fatal trap 12 when I
enabled APIC.  Just so I could tell myself I'd tried everything, I
changed the APIC mode from Full Table Mapped (I had had 4.7 installed
and running properly set that way) to Full Table.  To my surprise, it
worked beautifully!
System:
Compaq Proliant 1500 (E12)
Dual P-133
SMART Array Controller firmware revision 2.26
5 4.3GB SCSI drives
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

No, but I think that is about the spot where it would freeze during 
device probing if I didn't set the physical memory size.  I can test to 
find out for sure if it'd help you?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: General UNIX puzzle

2004-01-17 Thread Chris Pressey
On Sat, 17 Jan 2004 14:50:18 -0700
Brett Glass [EMAIL PROTECTED] wrote:

 For example, while I received answers involving languages, such as
 sed and awk, the simplest answer to at least one of them seems to use
 grep.

How so?  My first thought for #3 was 'fgrep -v string', but on
re-reading the problem, I realized that wouldn't quite cut it.
Unless grep has a 'change behaviour after first match' type switch that
I've somehow failed to see in its man page...

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


Re: Terminal Emulator?

2004-01-17 Thread W. Ryan Merrick
Eric F Crist wrote:
Hey all,

I've got a headless system that I need to connect to via terminal and I've 
never done this from FreeBSD.  Any recommendations?

TIA
Hi,

#/usr/bin/tip is part of the base system and is controlled by #/etc/remote.conf

Minicom is in ports #/usr/ports/comms/minicom . Minicom is a all in one 
terminal emulator. Good for testing.

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


Re: more than one IP address in a jail (?)

2004-01-17 Thread Chris Haulmark
 Either on a webpage somewhere, once, or in here in the list, at one
 time, I remember seeing some patches that allowed a jail to have more
 than one IP address.  I have been googling all day (not really, but a
 good amount of time at least) and can't seem to find it again.  Anyone
 have any pointers?

 Thanks
 Chad

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


Perhaps this link, http://garage.freebsd.pl/ is what you are seeking for?

Otherwise, post what FreeBSD version you are wanting to enable usage of
multiple ip addresses in a jail system.

.::.
Chris Haulmark
chaulmark -at- idefense.com
System Administrator
iDefense, Inc.

Disclaimer: This post or any type of personal participation that you read
from this individual does not represent the views of iDefense, its
affiliates, its employees, nor the trashman unless this post is to be
stated official. What you read represents my personal opinion(s) or
view(s) and is my sole responsibility.

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


Re: IPFW and IP Statistics.

2004-01-17 Thread W. Ryan Merrick
Grant Peel wrote:
Hello,

I am currently using ipfm (IP FLow Meter) as a way of measuring bandwidth
per IP. I am not too happy with it as it has some major limitations.
Is there a way to configure IPFW in FreeBSD so that all it does is monitor
bandwidth per IP and writes simple stats to seperate files?
I am interested to hear other solutions (short of buying a router!).

TIA,

-Grant

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

There should be a way to use the ipfw -at and some scripts to give you a 
number of bytes.

I use IP Audit at work and have seen I couple of snmp solutions like mtrg 
and my buddys http://www.tnpi.biz/internet/manage/rrdutil/

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


Re: Kernel Upgrades and Patches

2004-01-17 Thread Harald Schmalzbauer
On Saturday 17 January 2004 11:37, Loren M. Lang wrote:
 Are there any patches available for the FreeBSD kernel to support
 features like acpi or usb 2.0 without upgrading to a full 5.1 kernel or
 is it possible to use the 5.1 kernel without a full upgrade?

No. FreeBSD is released as a complete operating system and not just a kernel 
with distributions arround it. If you want to run FreeBSD you will have to 
run the operating system.
But of course you can get the code you want by cvs.


 I'm curious if I could do something like in was doing in Linux before
 linux 2.6 was officially released where I had the choice to run a 2.6
 test kernel or load a 2.4 kernel so I could try out some of the new
 features without dedicating my system to running it full time in case
 of any stability problems.  I did have to upgrade a few core packages,
 but I could just upgrade each one individually, and they were all fully
 backward compatible and had no stability issues, by themselves.

You have the choice to run -RELEASE, -STABLE or -CURRENT.
What you are looking for is -CURRENT. There you can test anything you want and 
take part in development.
For production use you should run RELEASE and you can also run a second 
installation on your test machine like -STABLE.
For more info see the FreeBSD Hnadbook, especiallay:
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html



 Also, are there many patches for trying out new features like improving
 latency on a system or trying out a new scheduler?  (These are just
 examples I took from linux.)

Indeed, there is currently a new scheduler in FreeBSD. You can choose it by 
compiling your own customized kernel. Also see the handbook for further info 
(You need options SCHED_ULE)


 And lastly, is there anyway to emulate running a linux device driver
 or is it easy to port it to freebsd?

No device driver. But you ave a userland emulation.

-Harry


pgp0.pgp
Description: signature


stumped... .

2004-01-17 Thread Gary Kline

I've written scores of scripts to hack text files, but this
one has me dead in the water.

How can I delete all lines from /^PATTERN to EOF??

ed - foo

/^PATTERN
(.,$)d
w
q
foo

or anything else I've tried doesn't do it.  I could do it in
C/C++,but c'mon... !  Any solutions in sed, perl, or ed/ex?

tia, everybody,

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]


Re: stumped... .

2004-01-17 Thread Gautam Gopalakrishnan
On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:
 
   I've written scores of scripts to hack text files, but this
   one has me dead in the water.
 
   How can I delete all lines from /^PATTERN to EOF??
 

sed -e '/pattern/,$d'

Gautam

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


Re: stumped... .

2004-01-17 Thread David Fleck
On Sat, 17 Jan 2004, Gary Kline wrote:


   I've written scores of scripts to hack text files, but this
   one has me dead in the water.

   How can I delete all lines from /^PATTERN to EOF??

   ed - foo

   /^PATTERN
   (.,$)d
   w
   q
   foo

   or anything else I've tried doesn't do it.  I could do it in
   C/C++,but c'mon... !  Any solutions in sed, perl, or ed/ex?

Well, you didn't mention awk, but...


awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}'  foo  bar


--
David Fleck
[EMAIL PROTECTED]

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


Problems compiling ports on 4.9?

2004-01-17 Thread Eric F Crist
Are we gonig to start having problems installing ports on FreeBSD 4.9?  I 
can't get nmap to compile.  Here's the error:

output.o(.gnu.linkonce.t.replace__t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0UiUiUic+0x28):
 
undefined reference to `__out_of_range(char const *)'
output.o(.gnu.linkonce.t.replace__t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i0UiUiUic+0x54):
 
undefined reference to `__length_error(char const *)'
*** Error code 1

Stop in /usr/ports/security/nmap/work/nmap-3.48.
*** Error code 1

Stop in /usr/ports/security/nmap.
nomad#

TIA
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Text parsing?

2004-01-17 Thread Eric F Crist
Hello group,

For what purposes will I find I need to use all these tools you write about?  
I'm talking about awk, ed, ex, etc.  I haven't found the need to do so, yet, 
but I'd like to possibly learn this stuff before I really do need it.

-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: Text parsing?

2004-01-17 Thread Chris Haulmark
 Hello group,

 For what purposes will I find I need to use all these tools you write
 about?
 I'm talking about awk, ed, ex, etc.  I haven't found the need to do so,
 yet,
 but I'd like to possibly learn this stuff before I really do need it.

 --
 Eric F Crist
 AdTech Integrated Systems, Inc
 (612) 998-3588

Many of us all learn from several books, online articles, and other forms
of documentations.

For you, perhaps, you should have your own system with an UNIX/Linux
operating system to experiment with.

If you are going to mess with FreeBSD, you can use
http://www.freebsd.org/handbook (a shortcut link to the famed handbook). 
That would help you to get started into the FreeBSD basics.

For your listed commands, the learning documents can be found at
http://www.google.com with certain words such as replace sed to discover
what the proper usage of sed to replace strings.

Also, on your UNIX/Linux systems, you should have manpages to help you. 
You could simply type in man sed to learn what you could do with sed.
Best place to learn more about manpages is by typing in man man :)

.::.
Chris Haulmark
chaulmark -at- idefense.com
System Administrator
iDefense, Inc.

Disclaimer: This post or any type of personal participation that you read
from this individual does not represent the views of iDefense, its
affiliates, its employees, nor the trashman unless this post is to be
stated official. What you read represents my personal opinion(s) or
view(s) and is my sole responsibility.

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


Re: Text parsing?

2004-01-17 Thread Eric F Crist
On Saturday 17 January 2004 10:14 pm, Chris Haulmark wrote:

 Many of us all learn from several books, online articles, and other forms
 of documentations.

 For you, perhaps, you should have your own system with an UNIX/Linux
 operating system to experiment with.

 If you are going to mess with FreeBSD, you can use
 http://www.freebsd.org/handbook (a shortcut link to the famed handbook).
 That would help you to get started into the FreeBSD basics.

 For your listed commands, the learning documents can be found at
 http://www.google.com with certain words such as replace sed to discover
 what the proper usage of sed to replace strings.

 Also, on your UNIX/Linux systems, you should have manpages to help you.
 You could simply type in man sed to learn what you could do with sed.
 Best place to learn more about manpages is by typing in man man :)

Chris, 

Thanks for your reply.  Those are all sources I'm aware of.  Also, I've been 
using FreeBSD since 1998, running different web servers and such.  I suppose 
I should have been a little more specific.  What, specifically, do you find 
you need to use these commands for?  What kinds of text files?  Log files?  
I'm not sure.

Thanks again for your reply.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588

pgp0.pgp
Description: signature


Re: more than one IP address in a jail (?)

2004-01-17 Thread Chad Leigh -- Shire.Net LLC
On Jan 17, 2004, at 7:58 PM, Chris Haulmark wrote:

Either on a webpage somewhere, once, or in here in the list, at one
time, I remember seeing some patches that allowed a jail to have more
than one IP address.  I have been googling all day (not really, but a
good amount of time at least) and can't seem to find it again.  Anyone
have any pointers?
Thanks
Chad
Perhaps this link, http://garage.freebsd.pl/ is what you are seeking 
for?

Otherwise, post what FreeBSD version you are wanting to enable usage of
multiple ip addresses in a jail system.
Hi

Thanks.  That may have been what I saw.

I am mostly interested in doing this on 5.2-RELEASE and 5-CURRENT.  I 
am playing around with some ideas and would like to try some stuff.  
Are there some other more current patches to do this?  Is there 
something in FBSD 5 that has been added to the system?  I couldn't find 
any mention in the docs.

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


Re: stumped... .

2004-01-17 Thread Rob
David Fleck wrote on Sunday January 18, 2004:


 On Sat, 17 Jan 2004, Gary Kline wrote:
 
 
  I've written scores of scripts to hack text files, but this
  one has me dead in the water.
 
  How can I delete all lines from /^PATTERN to EOF??
 
  ed - foo
 
  /^PATTERN
  (.,$)d
  w
  q
  foo
 
  or anything else I've tried doesn't do it.  I could do it in
  C/C++,but c'mon... !  Any solutions in sed, perl, or ed/ex?
 
 Well, you didn't mention awk, but...
 
 
 awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}'  foo  bar
 

Wouldn't it be neater to do 

  nawk '/^PATTERN/ { exit } ; { print }'

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


Routing problem 2 cable modems on 1 PC

2004-01-17 Thread Jer
Dear all

I have a cable modem hooked up as my default gateway and runing natd for my 
clients on XL0

I have another modem is I want to put on the same box on a diffrent nic sis0

the problem is the remote gateway is the same for both IP's address
and we get msgs saying that xxx is on sis0 but got reply from xl0
 xxx on xl0 etc
Any ideas

Thanks

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


Re: stumped... .

2004-01-17 Thread Matt Emmerton
 I've written scores of scripts to hack text files, but this
 one has me dead in the water.

 How can I delete all lines from /^PATTERN to EOF??

 ed - foo

 /^PATTERN
 (.,$)d
 w
 q
 foo

 or anything else I've tried doesn't do it.  I could do it in
 C/C++,but c'mon... !  Any solutions in sed, perl, or ed/ex?

 tia, everybody,

 gary

If I'm understanding your question correctly, this Perl script should do it.

#!/bin/perl

while ()
{
  if (/^PATTERN) { last; }
  print $_;
}

--
Matt Emmerton

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


Re: stumped... .

2004-01-17 Thread Gary Kline
On Sat, Jan 17, 2004 at 10:37:00PM -0500, Matt Emmerton wrote:
 If I'm understanding your question correctly, this Perl script should do it.
 
 #!/bin/perl
 
 while ()
 {
   if (/^PATTERN/) { last; }
   print $_;
 }
 

this does fit into a trivial sh script.  thanks.



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


Re: stumped... .

2004-01-17 Thread Gary Kline
On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote:
 On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:
  
  I've written scores of scripts to hack text files, but this
  one has me dead in the water.
  
  How can I delete all lines from /^PATTERN to EOF??
  
 
 sed -e '/pattern/,$d'
 

Yep.  Thisis what i used, in fact.  thanks.

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]


Re: stumped... .

2004-01-17 Thread Gary Kline
On Sun, Jan 18, 2004 at 03:14:50PM +1030, Rob wrote:
 David Fleck wrote on Sunday January 18, 2004:
 
 
  On Sat, 17 Jan 2004, Gary Kline wrote:
  
  
   I've written scores of scripts to hack text files, but this
   one has me dead in the water.
  
   How can I delete all lines from /^PATTERN to EOF??
  
   ed - foo
  
   /^PATTERN
   (.,$)d
   w
   q
   foo
  
   or anything else I've tried doesn't do it.  I could do it in
   C/C++,but c'mon... !  Any solutions in sed, perl, or ed/ex?
  
  Well, you didn't mention awk, but...
  
  
  awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}'  foo  bar
  
 
 Wouldn't it be neater to do 
 
   nawk '/^PATTERN/ { exit } ; { print }'
 
 ?


Seems like this takes fewer keystrokes...  I don't know
much awsk, but is there a way of feeding awk a cmd if
the cont returns true?  Say:

cmd1 | awk '{print $9}' == 'foo.c' 
then
echo Found foo.c
mv foo.c ~/C_file
END


it's mostly like a perl hack, tho.

anyway, thanks, gents,

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]


Re: FreeBSD 5.1, Cups problem

2004-01-17 Thread Steve D
On Saturday 17 January 2004 05:50 pm, Dr. Lyman Hazelton wrote:
 Indeed, we have a big problem getting CUPS to work with FreeBSD
 5.1.
---

Great information.

I also use FreeBSD 5.1 and was having trouble with CUPS. One day I 
noticed a post to the freebsd-questions email list about 
freebsddiary.org. I went to the website and noticed an article about 
CUPS configuration on FreeBSD. I followed the advice in the article 
and got CUPS to work on my machine. Here is the link to that article:

http://www.freebsddiary.org/cups.php

-Steve D
New Mexico US
-- 

Laws are made for men of ordinary understanding, and should therefore
be construed by the ordinary rules of common sense. Their meaning is
not to be sought for in metaphysical subtleties, which may make 
anything mean everything or nothing, at pleasure. -Thomas Jefferson


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


USB Mouse vs. Sound problem

2004-01-17 Thread Mauricio Herrera Cuadra
Hi all,

I've recently installed FreeBSD 4.9 on a laptop and I've got into this
problem:

When I attach the USB Mouse on boot I get a fully working mouse, if I
start X (KDE) I didn't hear any sound unless I move the mouse around
during KDE's startup, if I stop moving it the sound also stops, the same
thing happens on XMMS while I play a CD. Then, if I unplug the mouse I get
full sound experience on my desktop, but I cannot replug the mouse and get
it to be re-initialized.

If I boot without the USB mouse, I don't get any sound from KDE or XMMS,
even if I move the touchpad.

Here is some output from my laptop:

# dmesg | grep pcm
pcm0: Intel ICH3 (82801CA) port 0x1840-0x187f,0x1c00-0x1cff irq 9 at
device 31.5 on pci0
pcm0: Yamaha YMF753 AC97 Codec

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Intel ICH3 (82801CA) at io 0x1c00, 0x1840 irq 9 bufsz 16384
(1p/1r/4v channels duplex)

I'have configured artsd to use /dev/dsp0.1 so XMMS can use the default
/dev/dsp0.0 and the problem is still the same.

Also the output for the USB mouse:

#dmesg | grep usb
usb0: OHCI version 1.0, legacy support
usb0: NEC uPD 9210 USB controller on ohci0
usb0: USB revision 1.0
usb1: OHCI version 1.0, legacy support
usb1: NEC uPD 9210 USB controller on ohci1
usb1: USB revision 1.0

# dmesg | grep ums
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.

I'll appreciate any help. Thanks in advance.

=
MAURICIO HERRERA CUADRA
[EMAIL PROTECTED]
http://www.geocities.com/arareko/

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Loading balancing with more than one ISP.

2004-01-17 Thread Dinesh Nair

On Wed, 14 Jan 2004, Antoine Jacoutot wrote:

 I have one ethernet -- router and one ethernet -- dsl modem
 connections to connect to my ISPs. As you said, you're not sure about
 routed... Actually, I did not find anyone who actually make this

i've got exactly the same setup as you do, and am trying to do this as
well. short end of the stick is, the only way to do proper best path
routing is by using BGP and having your ISPs (both of them) play ball and
advertise BGP routes to you. without this, you'd never be able to do it
yourself.

as previously stated, FreeBSD does not support multipath routing by
default, though there is a patch which adds this functionality into the
kernel. i have not tried this patch at all, so i won't comment on it.

what i do today is i set the default route to the ISP i am more convinced
off, with static routes of certain large CIDR address blocks going out to
the other ISP. i decided on those large blocks after checking the global
route tables, AS PATH diagrams and experience of link quality. you can do
this by using tools such as the Looking Glass servers, RouteViews.Org and
even Netlantis.org for your situation. i'm not running routed,
zebra/bgpd/ospfd on this at all, since it's all static routes and i can't
find an ISP ospf/bgp router willing to exchange routes with me.

i've tried exploring round robin routing using ipfw's fwd rulesets, but
this does not change the src address of the packet, and sending a packet
with the wrong src address down the wire can be detrimental to the
packet's wellbeing. :)

i'd be very interested though if someone else had succeeded in doing this.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Loading balancing with more than one ISP.

2004-01-17 Thread Dinesh Nair

On Wed, 14 Jan 2004, Antoine Jacoutot wrote:

 What I'm hoping to do is find a way to route all paquets coming:
 - from DMZ to internet, using NET connexion1
 - from LAN to internet, using NET connection2

 To be more understandable, something like this:
 route add from DMZ defaut em0
 route add from LAN defaut em1

you can do this with IPFW's fwd rulesets.

ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any
ipfw add fwd netconnexion2_gw ip from LAN/netmask to any

this sets the next hop address for a packet, based on it's incoming
address space.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: cabling problem?

2004-01-17 Thread Dinesh Nair

On Wed, 14 Jan 2004, Marwan Sultan wrote:

  Why the network cable from Modem router to box directly doesnot
  work in the time from Modem router to HUB and from HUB  to BSD
  box works fine?

you need a cross cable to connect the modem router directly to the freebsd
box.

it's a standard CAT5 cable with the following pin outs:

1 -- 2
2 -- 1
3 -- 6
6 -- 3

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Routing problem 2 cable modems on 1 PC

2004-01-17 Thread Jer
Dear all

I have a cable modem hooked up as my default gateway and running natd for 
my clients on XL0

I have another modem is I want to put on the same box on a different nic sis0

Problem is the remote gateway is the same for both IP's address due to the 
fact its the same ISP

I get messages saying that xxx is on sis0 but got reply from xl0
 xxx on xl0 etc
Any ideas

Thanks 

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


Re: Mail server?

2004-01-17 Thread Gilad Rom
[EMAIL PROTECTED] wrote:
Howdy,


configuration has always seemed pretty straight-forward.  If I stay with 
sendmail, should I download and compile from sources?


You should always use the ports collection, or a package, for what it's
worth. By the way, if you think sendmail configuration is straightforward, I
don't think there's much MTA software out there that could still scare you,
not even qmail :P

If you choose to go with sendmail, you should use the base-system's.
It's pretty up to date with critical patches and the like.


I personally deprecated sendmail ages ago, for two mai reasons:
 - it's a cruft, one big old leviathan and delivers mail at according speed
 - its security history
I know both points are arguable and I don't want to troll off another holy
MTA war here, just saying that these two points did it for me. 

I personally prefer Postfix, which is also used by the mail-servers at
FreeBSD.org. The UCE blocking support offered by it is pretty good,
and configuration is straightforward. You don't even need to remove 
the base-system's MTA, just tweak rc.conf and mailer.conf and you're
up and away.


I couldn't agree more. Postfix is fast, flexible and way secure and its
configuration and general handling isn't as messy as qmail's. 
For the most part, all you have to worry about is one central config file
and it aims to integrate well into a system replacing sendmail. Try it.

Cheers, J.

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

Up to a month ago, I've never installed a mail server in my life.
And then, all of the sudden, I had to.
I used Postfix from the ports collection, and together with the online 
manuals, I had a production mail server in under an hour.
Configuration is _VERY_ straight-forward.

Since then, I had used the same configuration for 2 other production
mail servers, each with hundreds of users.
Postfix just works, which for me, is the most important quality.

Gilad.

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


Success with Symantec Ghost 7

2004-01-17 Thread Stephen Hoover
I know the topic of ghosting a FreeBSD box is discussed on here from time
to time.

I just wanted to let everyone know I had a success using Ghost 7 on my
current setup. I cloned it from a Dell PowerEdge 2450 to a generic desktop
with same drive configuration (2 SCSI drives in each). I used Ghost to do a
sector copy on each individual harddrive.

All I had to do to get it rolling was boot to the GENERIC kernel, as the one
I configured for the Dell server was SMP. Everything seemed to come up and
work fine. It even saw additional drive space on the new machine, as the
harddrives were slightly bigger.

Just thought this was some good information for the list.

Stephen Hoover
Dallas, Texas


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


  1   2   >