Re: solaris firewall?

2003-01-09 Thread Kevin Stevens

On Thursday, Jan 9, 2003, at 23:41 US/Pacific, Shawn Henderson wrote:


how well of a firwall can be created with Solaris 8
I am playing with a couple different *nix flavors and wanted to test 
out
setting up a Solaris firewall
is it possible and how would I do it..any Ideas.

Posting to a Solaris list would be job one.

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



solaris firewall?

2003-01-09 Thread Shawn Henderson
how well of a firwall can be created with Solaris 8
I am playing with a couple different *nix flavors and wanted to test out
setting up a Solaris firewall
is it possible and how would I do it..any Ideas.

Thanks



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread Toomas Aas
Hi!

> Here's what I have in cvsupfile (I'm fuzzy on what is actually going on).  I
> just noticed that my default tag=RELENG_4_6.  Should that be 4_7?  I don't
> know where I got my supfile.  I'm thinking it was part of the installation.
> 
> *default  host=cvsup12.FreeBSD.org
> *default  base=/usr
> *default  prefix=/usr
> *default  release=cvs
> *default  tag=RELENG_4_6
> *default  delete use-rel-suffix
> 
> src-base
> src-bin
> src-contrib
> src-etc
> src-gnu
> src-include
> src-lib
> src-libexec
> src-release
> src-secure
> src-sbin
> src-share
> src-sys
> src-tools
> src-usrbin
> src-usrsbin
> *default tag=.
> ports-all
> doc-all
> 
> My intentions were to NOT get the kernel sources.  I was just trying to stay
> up to date with the ports that I have installed and any system files that my
> get security fixes.

The supfile above updates just about everything there is to update on 
the FreeBSD system: the system source tree, ports tree and 
documentation. If you only wanted to update ports, the following would 
have been enough:

--< cut >--
*default  host=cvsup12.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=.
*default  delete use-rel-suffix
ports-all
--< cut >--

If you don't want to upgrade the base system, you should delete 
everything under /usr/src and /usr/obj (make sure you copy your custom 
kernel configuration file from /usr/src/sys/i386/conf to somewhere else 
first) and re-install the original sources. 
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* War doesn't determine who's right. War determines who's left.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Help! my wm just went awol from X!

2003-01-09 Thread P. U. Kruppa
On Fri, 10 Jan 2003, Louis LeBlanc wrote:

> Ok, this one is pretty frustrating.  We had a power cut tonight, and
> my machine rebooted.  It came up quite nicely, better than I expected,
> considering I had recently updated some of the startup packages, and
> hadn't yet had a chance to power cycle it myslef.
>
> One problem.  Now, when I log into X, my window manager won't come up.
> I get the dull grey grid with an 'X' mouse pointer, and the console,
> but no menu, terminal, nothing.
I don't use ~/.Xclients but this happens on my machine, when
the file xinitrc cannot be found or isn't configured correctly.

You could test your xinitrc by placing it in
/usr/X11R6/lib/X11/xinit/
(this is the default for FreeBSD 4.7)
and
startx

Hope this helps.

Uli.

> My ~/.Xclients hasn't changed, and
> that's where I've always started fvwm2 from  I even had it redirect
> error output to a file so I could see what was the problem when
> something didn't work.  Now, I see nothing.  The ~/.FVWM-errors file
> never gets created, so it looks like .Xclients never gets executed.
>
> Did the XFree86 desktop init file change?  I can't find any docs on
> it.  Manpages aren't much help either.   And since I can't get
> anythign running in X, I can't get a browser up to go to xfree86.org
> and see.  Hell, I like the TTY terminals for some things, but even
> Mutt is kindof a pain there.
>
> Any and all help is greatly appreciated.
>
> Lou
> --
> Louis LeBlanc   [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org
>
> "Elves and Dragons!" I says to him.  "Cabbages and potatoes are better
> for you and me."
> -- J. R. R. Tolkien
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Help! my wm just went awol from X!

2003-01-09 Thread P. U. Kruppa
On Fri, 10 Jan 2003, Louis LeBlanc wrote:

> Ok, this one is pretty frustrating.  We had a power cut tonight, and
> my machine rebooted.  It came up quite nicely, better than I expected,
> considering I had recently updated some of the startup packages, and
> hadn't yet had a chance to power cycle it myslef.
>
> One problem.  Now, when I log into X, my window manager won't come up.
> I get the dull grey grid with an 'X' mouse pointer, and the console,
> but no menu, terminal, nothing.  My ~/.Xclients hasn't changed, and
> that's where I've always started fvwm2 from  I even had it redirect
> error output to a file so I could see what was the problem when
> something didn't work.  Now, I see nothing.  The ~/.FVWM-errors file
> never gets created, so it looks like .Xclients never gets executed.
>
> Did the XFree86 desktop init file change?  I can't find any docs on
> it.  Manpages aren't much help either.   And since I can't get
> anythign running in X, I can't get a browser up to go to xfree86.org
> and see.
For these cases of emergency a text browser is very helpful.
Try /usr/ports/www/links
It display www.freebsd.org pretty well.

> Hell, I like the TTY terminals for some things, but even
> Mutt is kindof a pain there.
>
> Any and all help is greatly appreciated.
>
> Lou
> --
> Louis LeBlanc   [EMAIL PROTECTED]
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> http://www.keyslapper.org
>
> "Elves and Dragons!" I says to him.  "Cabbages and potatoes are better
> for you and me."
> -- J. R. R. Tolkien
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Help! my wm just went awol from X!

2003-01-09 Thread Louis LeBlanc
Ok, this one is pretty frustrating.  We had a power cut tonight, and
my machine rebooted.  It came up quite nicely, better than I expected,
considering I had recently updated some of the startup packages, and
hadn't yet had a chance to power cycle it myslef.

One problem.  Now, when I log into X, my window manager won't come up.
I get the dull grey grid with an 'X' mouse pointer, and the console,
but no menu, terminal, nothing.  My ~/.Xclients hasn't changed, and
that's where I've always started fvwm2 from  I even had it redirect
error output to a file so I could see what was the problem when
something didn't work.  Now, I see nothing.  The ~/.FVWM-errors file
never gets created, so it looks like .Xclients never gets executed.

Did the XFree86 desktop init file change?  I can't find any docs on
it.  Manpages aren't much help either.   And since I can't get
anythign running in X, I can't get a browser up to go to xfree86.org
and see.  Hell, I like the TTY terminals for some things, but even
Mutt is kindof a pain there.

Any and all help is greatly appreciated.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org

"Elves and Dragons!" I says to him.  "Cabbages and potatoes are better
for you and me."
-- J. R. R. Tolkien

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



notebook Acer TravelMate 422XV & instaling FreeBSD..

2003-01-09 Thread Jiri Pridal
Greetings,

I have problem with instalation FreeBSD (I've tried 4.6.2 & 4.7
RELEASES) to notebook: Acer TravelMate 422XV, technical specifications
are available here:
http://www.acer.co.uk/vi/page0.jsp-page78,,1,17,,,95,,,1818,95,17,,17,17171717,,,17,,,0,0,17,,933570316.htm

System freezes (and nothing do) when booting. Last few lines I see looks
following:

ata0: at 0x1f0 irq 14 on atapci0
ata0: at 0x170 irq 15 on atapci0
pci0:  (vendor=0x8086, dev=0x2483) at 31.3 irg 9
pci0:  (vendor=0x8086, dev=0x2485) at 31.5 irg 9
pci0:  (vendor=0x8086, dev=0x2486) at 31.6 irg 9

Can I skip booting process by hitting some hot key or skip some device
in kernel configuration?


	thanks for help...
--
Bc. Jiri Pridal
sitemanager of
Firemans Brno,
Czech Republic


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: freebsd curiosity

2003-01-09 Thread P. U. Kruppa
On Fri, 10 Jan 2003, P. U. Kruppa wrote:

> There have been many long discussions about all your questions.
>
> A good starting point to get all the answers you need is the
> FreeBSD homepage www.freebsd.org .
> And ... if you know Linux you can easily install and setup
> FreeBSD on your machine and find out everything yourself.
Oh ... I forgot:
I am afraid UNIX is just a registered Trademark of the OpenGroup.
If you have enough money to pay them, you may call your coffee
machine a UNIX-system.
Open software projects like FreeBSD of course don't pay.

>
> Have fun!
>
> Uli.
>
>
> On Thu, 9 Jan 2003, James Hicks wrote:
>
> > To whom it may concern,
> > My name is James. I'm a junior college graduate with an A.S. degree in
> > Computer Applications. I took a class in UNIX about a year ago. The os we
> > used was Mandrake Linux. I've learned to like Red Hat and have version 8.0
> > on my home machine. I have been doing a lot of reading in magazines like
> > pcmagazine and sought info online using sources like the freebsd homepage,
> > zdnet, cnet, etc. I'm hearing alot of your UNIX os. I have a few questions
> > about the system. First of all,  is freebsd a real UNIX? By that I'm asking
> > whether or not there is real UNIX code in it or is it a clone just like
> > linux is? Second, what type of file system does it use? Does it have a
> > journaling one like ext3? Do UNIX systems require any kind of defrag? I was
> > told by my UNIX instructor that freebsd had hardware recognition trouble. Is
> > this true and if so has it been fixed? I have also read that a lot of
> > sysadmins are nervous of putting mission critical apps on a enterprise linux
> > system and prefer to use freebsd. What is the problem that I'm hearing that
> > linux has? Do you believe the berkeley system to have code that has better
> > stability than the GNU systems? I look forward to your reply. Thanks
> >
> > James Hicks
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > _
> > Protect your PC - get McAfee.com VirusScan Online
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
> *---*
> *Peter Ulrich Kruppa*
> *  -  Wuppertal -   *
> *  Germany  *
> *---*
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: freebsd curiosity

2003-01-09 Thread P. U. Kruppa
There have been many long discussions about all your questions.

A good starting point to get all the answers you need is the
FreeBSD homepage www.freebsd.org .
And ... if you know Linux you can easily install and setup
FreeBSD on your machine and find out everything yourself.

Have fun!

Uli.


On Thu, 9 Jan 2003, James Hicks wrote:

> To whom it may concern,
> My name is James. I'm a junior college graduate with an A.S. degree in
> Computer Applications. I took a class in UNIX about a year ago. The os we
> used was Mandrake Linux. I've learned to like Red Hat and have version 8.0
> on my home machine. I have been doing a lot of reading in magazines like
> pcmagazine and sought info online using sources like the freebsd homepage,
> zdnet, cnet, etc. I'm hearing alot of your UNIX os. I have a few questions
> about the system. First of all,  is freebsd a real UNIX? By that I'm asking
> whether or not there is real UNIX code in it or is it a clone just like
> linux is? Second, what type of file system does it use? Does it have a
> journaling one like ext3? Do UNIX systems require any kind of defrag? I was
> told by my UNIX instructor that freebsd had hardware recognition trouble. Is
> this true and if so has it been fixed? I have also read that a lot of
> sysadmins are nervous of putting mission critical apps on a enterprise linux
> system and prefer to use freebsd. What is the problem that I'm hearing that
> linux has? Do you believe the berkeley system to have code that has better
> stability than the GNU systems? I look forward to your reply. Thanks
>
> James Hicks
> [EMAIL PROTECTED]
>
>
>
>
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: ISP billing/account manage software..???

2003-01-09 Thread Peter
Sorry for spamming.fixed problem, mail got through


On Tue, 07 Jan 2003 18:28:00 -0700
"fbsdq" <[EMAIL PROTECTED]> wrote:

> Hello,
>Got a question for anyone in the know.  I need to install some 
> billing/account management/ change radius passwd etc. software for an ISP.  
> So far the good ones [I think] that I have found are:freeside ispbs ispman 
> 
> Anyone know / can recommend one of those or something else [they are not in 
> ports so I assume there should be something better that is in ports]that 
> will do automatic credit card billing, user can change radius password, 
> check his bill/account, and other various isp stuff.
> [
> should this be a -isp question?] 

Fixed this problem...reverse IP should resolve to this server's name, not some generic 
name.

> 
> thanks
>  ---Peter---
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 


--
An Army travels on her stomach.

---FreeBSD The Power To Serve---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Drive Image / Cloning

2003-01-09 Thread Mike
This will copy all files and make it bootable? Sorry but the search on
dd have no shown what I need. I need to copy my good drive with
everything to a new drive so I can put it in a new box and boot. 
Any other pages on dd? Google brought back a few that I am digging
through now.

What about this. Another nice BSD'er sent it to me.

1.Create slice on second's disks

2. Create partition and run newfs, when /dev/da0 - original disk and
/dev/da1 - other disk (for backup)

3. Mount set echo on

/sbin/mount /dev/da1s1a /mnt/root
/sbin/mount /dev/da1s1e /mnt/var
/sbin/mount /dev/da1s1f /mnt/usr

4. Copy 
cd /mnt/root
/sbin/dump -f- /|restore -rf-
cd /mnt/var
/sbin/dump -f- /var|restore -rf-
cd /usr
/sbin/dump -f- /usr|restore -rf-

Cheers

M;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Kirk Strauser
Sent: Thursday, January 09, 2003 9:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Drive Image / Cloning



At 2003-01-09T15:48:22Z, Paul Everlund <[EMAIL PROTECTED]> writes:

> # /bin/dd if=/dev/ad4 of=/dev/ad6 bs=16384

Not that the source drive *must* be mounted read-only (or the system
running in single-user mode) for the results not to be massively
corrupted.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



freebsd curiosity

2003-01-09 Thread James Hicks
To whom it may concern,
My name is James. I'm a junior college graduate with an A.S. degree in 
Computer Applications. I took a class in UNIX about a year ago. The os we 
used was Mandrake Linux. I've learned to like Red Hat and have version 8.0 
on my home machine. I have been doing a lot of reading in magazines like 
pcmagazine and sought info online using sources like the freebsd homepage, 
zdnet, cnet, etc. I'm hearing alot of your UNIX os. I have a few questions 
about the system. First of all,  is freebsd a real UNIX? By that I'm asking 
whether or not there is real UNIX code in it or is it a clone just like 
linux is? Second, what type of file system does it use? Does it have a 
journaling one like ext3? Do UNIX systems require any kind of defrag? I was 
told by my UNIX instructor that freebsd had hardware recognition trouble. Is 
this true and if so has it been fixed? I have also read that a lot of 
sysadmins are nervous of putting mission critical apps on a enterprise linux 
system and prefer to use freebsd. What is the problem that I'm hearing that 
linux has? Do you believe the berkeley system to have code that has better 
stability than the GNU systems? I look forward to your reply. Thanks

James Hicks
[EMAIL PROTECTED]





_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: DNS / Sendmail

2003-01-09 Thread Jonathan Chen
On Thu, Jan 09, 2003 at 04:47:15PM -0800, Steve Warwick wrote:

[...]
> I am using PHP to send email to the website users at they request (reminders
> etc). Apache runs as user nobody. Server is la.mylocalnet.com on
> 12.158.234.68 - DNS is on this server.
> 
> I am getting bounces from bunch of ISPs with an error header like this
> 
> 
> - The following addresses had permanent fatal errors -
> <[EMAIL PROTECTED]>
> (reason: 550 rejected: cannot route to sender <[EMAIL PROTECTED]>)
> 
> 
> I am assuming that the bounce is happening due to an incorrect reverse DNS -
> Am I correct?

It's a bit more basic than that:

> dig la.mylocalnet.com mx

; <<>> DiG 8.3 <<>> la.mylocalnet.com mx 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  la.mylocalnet.com, type = MX, class = IN

;; ANSWER SECTION:
la.mylocalnet.com.  10h36m40s IN MX  10 la.mylocalnet.com.

;; AUTHORITY SECTION:
mylocalnet.com. 10h36m40s IN NS  la.mylocalnet.com.

;; Total query time: 0 msec
;; FROM: .chen.org.nz to SERVER: default -- 0.0.0.0
;; WHEN: Fri Jan 10 18:14:57 2003
;; MSG SIZE  sent: 35  rcvd: 65

There doesn't appear to be a A-record associated with your
la.mylocalnet.com entry.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "A person should be able to do a small bit of everything,
specialisation is for insects"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



make world fails in libiberty

2003-01-09 Thread Ben Williams
I have 2 "identical" (hardware-wise) boxes I'm trying to get "current"
with STABLE. They're AMD Athlon 700mhz machines w/ 128mb & 256mb of
RAM. Both are dying in a buildworld with:

-- begin buildworld dies --
cc1: warnings being treated as errors
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c:
 In function `choose_temp_base':
/usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c:68:
 warning: implicit declaration of function `mktemp'
*** Error code 1

Stop in /usr/src/gnu/usr.bin/binutils/libiberty.
*** Error code 1

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

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

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

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

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

Stop in /usr/src.
-- end buildworld dies --

My /etc/make.conf contains:
-- begin /etc/make.conf --
CPUTYPE=i686
CFLAGS= -O -pipe
WARNS_WERROR=   yes

NO_CVS= true# do not build CVS
NO_BIND=true# do not build BIND
NO_FORTRAN= true# do not build g77 and related libraries
NO_I4B= true# do not build isdn4bsd package
NO_LPR= true# do not build lpr and related programs
NO_SENDMAIL=true# do not build sendmail and related programs
NO_X=   true# do not compile in XWindows support (e.g. doscmd)
NOGAMES=true# do not build games (games/ subdir)
NOPROFILE=  true# Avoid compiling profiled libraries
NOUUCP= true# do not build uucp related programs
WANT_OPENSSL_MANPAGES=  true
MAKE_IDEA=  YES # IDEA (128 bit symmetric encryption)
COMPAT22=   yes
COMPAT3X=   yes
COMPAT4X=   yes
BOOTWAIT=0
USA_RESIDENT=   YES
SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup2.FreeBSD.org
SUPFILE=/usr/local/etc/stable-supfile
PORTSSUPFILE=   /usr/local/etc/ports-supfile
DOCSUPFILE= /usr/local/etc/doc-supfile
DOC_LANG=   en_US.ISO8859-1 
-- end /etc/make.conf --

All I have done to the boxes in question is
  installed the OS,
  set up networking,
  installed some packages/ports I'll be needing on them when they're functional
  copied /usr/share/examples/(doc|ports|stable)-supfile to /usr/local/etc
  edited said supfiles to point to a mirror close to me (cvsup2)
  cp /etc/defaults/make.conf /etc/make.conf
  edited /etc/make.conf to reflect my situation
  cd /usr/src
  make update
  make buildworld

  I have read UPDATING, updated the sources, searched the list archives, I have
rm -rf /usr/src/gnu/usr.bin/binutils/, re-updated and always the error
you see above. Why doesn't libiberty like me? What am I doing wrong?

-- 
Ben  mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Giorgos Keramidas <[EMAIL PROTECTED]> 
typed:
> On 2003-01-09 11:29, Darren <[EMAIL PROTECTED]> wrote:
> > I have successfully compiled a new kernel once already on a new
> > install of FreeBSD 4.7-RELEASE.  Since then, I have run cvsup and
> > portupgrade.  Now, I need to recompile the kernel again.  But, I'm
> > running into errors.  I have been following the handbook.  But,
> > apparently, I'm missing something.  The way I understand the manual,
> > you use the first method of "config CUSTOM_KERNEL" and if you have
> > updated the kernel sources, you have to use the second method of
> > "make buildkernel KERNCONF=MYKERNEL".
> Don't use the "config .. make depend" method.

More accurately, you only use the "config ... make depend" method when
the running system and kernel match the sources you are trying to
build. After changing the config file, for instance. If you only
build the kernel when you're updating the system, you should never use
the "config ... make depend" method.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



natd ip redirect confuses Java server behind the firewall.

2003-01-09 Thread jdroflet
A bit long...
FreeBSD 4.3 running with IPFW and NATD 
One of the IP addresses is redirected to the apache/tomcat/java server. 
"redirect_address 10.150.0.24 a.b.c.d" 
No other fancy proxy stuff or fw rules. 

Clients on the internal network have no problems with the internal server. 
Access to the internal server from the Internet works fine except for some java
calls. 

Java server is: 
HP-UX 11 
Apache 1.3 
Tomcat 
Java 

The Java support person sent this reply to our query: 
> You'll probably want to get together with your network 
> architect (me)and have 
> him sniff the packets you are sending/receiving to see the 
> origination and 
> destination addresses.  Either the firewall is restricting 
> the IP address, 
> or the address is being translated incorrectly. 
He went on to describe how another client had a simalar problem with a
load/balancer and that when they turned off Nat it worked fine - not an option
in this situation.

I tcpdumped  the inside card of the firewall and can see the point where the
java server attempts to send a request for information from it's own re-directed
public IP. It goes like this.

Internet client: w.x.y.z 
Firewall public IP: a.b.c.d redirected to the inside java box. 
inside Java IP: 10.150.0.24 

Keep in mind I'm sniffing the inside card of the firewall so 'in what little is
left of my mind' everything is translated already. 
Client initiates: 
TO: 10.150.0.24 
from: w.x.y.z 
Client gets onto the web pages fine then attempts to run one of the java
reports. 
TO: 10.150.0.24 
from: w.x.y.z 

The server was then doing it's reflux thing which tried to get further 
java/url stuff from whatever server the client initiated 
To: a.b.c.d 
from: 10.150.0.24 <= Java box attempts to 'reach' it's public IP. 

At this point the client gets an error 'Form not found' 

So, is this really a NATD problem or could it actually be a problem in one of
the Java server configs ? And if so where do I look, I'm neither an Apache
tomcat or java expert.

I tried aliasing the public IP on the Java box but that didn't help. 

Thanks in advance, J

__
Get your FREE personalized e-mail at http://www.canada.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: Bios not recognizing correct HD size

2003-01-09 Thread Doug Reynolds
On Wed, 8 Jan 2003 18:18:18 -0600, Mike Loiterman wrote:

> 
> 
>On Wednesday, January 08, 2003 5:54 PM Stephen Hovey  
>wrote:
>
>>> I think you're right.  So should I just define the drive correctlt in
>>> fdisk?  If so, what would be the proper settings.
>> 
>> 
>> usually a drive has em on the drive on something - a sticker/label
>> sorta thing with head, cyl, sect, etc
>
>Ok I found out the proper numbers:
>39704  cyls, 16 heads, 63 sectors. 
>
>I defined it that way in the BIOS.
>
>When I get to the fdisk part of the install I did 'G'.  I then set the geometry 
>according to those numbers and told it to use the entire drive.  When I go to define 
>the slices, though, it still thinks the drive is only 2 gigs.  What am I doing wrong?

I had the same trouble with a maxtor driver b4, couldn't figure it out.
 

sometimes they come with a jumper enabled so you only see like 2 gig of
a 20 gig drive, _even_ if you tell freebsd the whole geometry.
i removed the jumper, and all was well

---
doug reynolds | the maverick | [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Cisco Aironet PCI card - Supported ?

2003-01-09 Thread Matthew Emmerton
They also work on -CURRENT too.

Matt Emmerton

- Original Message -
From: "Trevor S. Cornpropst" <[EMAIL PROTECTED]>
To: "Wayne Pascoe" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 10:20 PM
Subject: Re: Cisco Aironet PCI card - Supported ?


> The Cisco PCI 350 Aironet cards definitely work with the an driver. I am
currently running them on FreeBSD-STABLE with no problems.
>
> Trevor Cornpropst
>
> On 09 Jan 2003 16:42:38 +
> Wayne Pascoe <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > Does anyone know if the Cisco Aironet 350 series PCI card works under
> > FreeBSD-STABLE ?
> >
> > From what I can see in GENERIC and LINT, it looks like the 4500/4800
> > is supported as device an.
> >
> > Anyone know for sure though?
> >
> > TIA,
> >
> > --
> > - Wayne Pascoe
> > Win if you can. Lose if you must. But
> > always cheat!
> >
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Cisco Aironet PCI card - Supported ?

2003-01-09 Thread Trevor S. Cornpropst
The Cisco PCI 350 Aironet cards definitely work with the an driver. I am currently 
running them on FreeBSD-STABLE with no problems.

Trevor Cornpropst

On 09 Jan 2003 16:42:38 +
Wayne Pascoe <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> Does anyone know if the Cisco Aironet 350 series PCI card works under
> FreeBSD-STABLE ? 
> 
> From what I can see in GENERIC and LINT, it looks like the 4500/4800
> is supported as device an. 
> 
> Anyone know for sure though? 
> 
> TIA,
> 
> -- 
> - Wayne Pascoe 
> Win if you can. Lose if you must. But
> always cheat!
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Motd Updating

2003-01-09 Thread paul beard
Coreix Systems - UNIX Developers wrote:


Can someone tell me he name of the .c or .h file containing code to do the
updating of MOTD,
i want to add company specific support data to the source so it can be
updated to motd on a daily basis, but do not want
it to be easily accessiably be sysadmins.
i have done it through a /etc/perodic/daily/script file, but clients can
find it i want to complile it in the source.



from motd(5):
DESCRIPTION
 The file /etc/motd is normally displayed by login(1) after a 
user has logged in but before the shell is run.  It is generally 
used for important system-wide announcements.  During system 
startup, a line containing the kernel version string is prepended 
to this file.

so perhaps you need to look into how login(1) works.

--
Paul Beard

8040 27th Ave NE Seattle WA 98115 / 206 529 8400

UFO's are for real: the Air Force doesn't exist.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Sendmail Configuration...

2003-01-09 Thread Christopher J Phillips
Hi,

I have some FreeBSD boxes that I'd like to configure sendmail on.

I have no experience I'm afraid.

I have a mail server that is all set up as I'd like it, see www.inty.net

I would like the FreeBSD boxes to send/forward mail out to that host via
SMTP, I am proficient at configuring that (intY) box to allow such
connections.

For instance, stuff for root & sometimes I like to pipe a commands
output through mail to an address, so I can look at the results remotely
or send info to friends etc...

Currently, the FreeBSD boxes are unfettered & sendmail just dumps mail
to root as undeliverable.  I have (I think), pointed all root mail @ my
personal email address but as sendmail knows of no SMTP forwarder & my
email domain does not correspond to that of the other boxes (which
appear as sub-domains of my primary domain), ALL but root mail is
undeliverable :-(

Please could you give me an idea of what I should be configuring &
possibly recommending a URL that would let me learn how to do this?

Many thanks everyone!

Chris Phillips


intY has scanned this email for all known viruses (www.inty.com)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: OT: tutorials for writing x programs?

2003-01-09 Thread Gary W. Swearingen
JacobRhoden <[EMAIL PROTECTED]> writes:

> Does anyone here know of any web pages which show how to make an x application 
> (apart from the couple I found which allow you to print hello world or draw a 
> line in a blank window)?

Presuming that that means basic low-level X stuff, here's my (fairly
old) X programming links.  Try the last one first.

http://www.pconline.com/~erc/xprog.htm";>Programming X APIs

http://www.cco.caltech.edu/~jafl/xdnd/";>XDND - X Drag 'N Drop 
(proposed standard
protocol)

http://synergy.caltech.edu/~john/computer/mxt/";>John Meacham's mxt "a 
fast and simple
X toolkit for C++" (for building into a program)

http://www.pconline.com/~erc/xprog.htm";>Eric Foster-Johnson's Programming 
X
APIs 

http://www.hex.net/~cbbrowne/xlibs.html";>Christopher B. Browne's X 
Development
Tools 

http://www.cuj.com/link/subject75.html";>X Windows Programming  
Article at C/C++
Users Journal

But if you want to use a high-level GUI library, find the web sites for
those which should tell you how to use them.  That's a good, easy(est)
way to make a (big, slow) X program.  Qt, OpenMotif, etc...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Motd Updating

2003-01-09 Thread paul beard
Coreix Systems - UNIX Developers wrote:


i want to add company specific support data to the source so it can be
updated to motd on a daily basis, but do not want
it to be easily accessiably be sysadmins.
i have done it through a /etc/perodic/daily/script file, but clients can
find it i want to complile it in the source.


Sorry, I missed the bit about it not being accessbile by 
sysadmins. Though I have to wonder what you can keep a determined 
sysadmin out of, if they really want to mess with something.

Sounds more like something you could achieve with permissions 
and/or something that checksums what's in MOTD versus what should be.

--
Paul Beard

8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Clothes make the man.  Naked people have little or no influence on
society.
		-- Mark Twain


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Recovering data from a faulty drive

2003-01-09 Thread Gary W. Swearingen
Hari Bhaskaran <[EMAIL PROTECTED]> writes:

> Is there any chance?  I only need a couple of files recovered.

Saving copies of the boot records and disklabels ain't a bad idea and
not hard to do.  Just something more to do...

Anyway.  Sounds like your MBR's partition table got messed up.  If
you were supposed to only have one slice, you might have some luck
just trying to redo it from memory or what's most likely.

Also sounds like your disklabel is bad, but maybe it's confused by the
partition table mess.  I'M NOT SURE, but you can probably try replacing
that too, if you think you can guess the partitioning.  I doubt if it
messes with anything but the disklabel (and maybe boot code -- see
disklabel manpage); just don't run "newfs", of course.  FIrst try
saving the disklabel (ASCII form) with "disklabel" command and maybe
a binary copy. (? 'dd if=/dev/hd0s1 of=/somefile count=1 skip=1' ?)
You probably can't do anything with the binary one except copy it
back.

If your data is really precious, you might want to save it on another
disk, getting it off the bad disk with "dd".  You don't have to copy
the whole disk if you can guess where the slice with your data was
located. (Eg, "dd if=/dev/hd0 of=/somedir/bigfile skip=_somenum_ \
count=_someothernum_")  Again, it's not much good for anything but
copying back and trying again, but you might be able to find some
ASCII text of importance, if you're really desparate.

Started your tape drive (and tapes) fund yet?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Motd Updating

2003-01-09 Thread paul beard
Coreix Systems - UNIX Developers wrote:


Can someone tell me he name of the .c or .h file containing code to do the
updating of MOTD,
i want to add company specific support data to the source so it can be
updated to motd on a daily basis, but do not want
it to be easily accessiably be sysadmins.
i have done it through a /etc/perodic/daily/script file, but clients can
find it i want to complile it in the source.



This is what I use. I run it from cron.

#!/bin/sh
cat /dev/null > /tmp/motd.tmp
echo > /tmp/motd.tmp
uname -a >> /tmp/motd.tmp
echo >> /tmp/motd.tmp
/usr/games/fortune >> /tmp/motd.tmp
echo >> /tmp/motd.tmp
df -k >> /tmp/motd.tmp
echo >> /tmp/motd.tmp
uptime >> /tmp/motd.tmp
cp /tmp/motd.tmp /etc/motd




--
Paul Beard

8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Faith, n:
	That quality which enables us to believe what we know to be
untrue.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



OT: tutorials for writing x programs?

2003-01-09 Thread JacobRhoden
Hi,

Does anyone here know of any web pages which show how to make an x application 
(apart from the couple I found which allow you to print hello world or draw a 
line in a blank window)?

Thanks,
Jacob
 
Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Motd Updating

2003-01-09 Thread Duncan Anker
On Sat, 2003-01-11 at 12:01, Coreix Systems - UNIX Developers wrote:
> Can someone tell me he name of the .c or .h file containing code to do the
> updating of MOTD,
> i want to add company specific support data to the source so it can be
> updated to motd on a daily basis, but do not want
> it to be easily accessiably be sysadmins.
> i have done it through a /etc/perodic/daily/script file, but clients can
> find it i want to complile it in the source.
> 

I don't believe this is possible. AFAIK, there is no particular code
involved. The updating of /etc/motd appears to be done from /etc/rc
(which is a shell script).

I suppose, as an alternative which may achieve what you want,  you could
compile your company support data into an executable which you call from
rc.
-- 

The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kazaa on bsd

2003-01-09 Thread Adam Stroud
The Kazaa client for Linux was discontinued.  There is however a client for 
Linux that uses the Fast Track network.  I forget the name of it, but I am 
usre that it can be found on sourceforge.net.  It took some configuration and 
time, but I did have it running at one point.  It seems to me that the name 
was gIFT Maybe?


> On Thu, Jan 09, 2003 at 10:05:47AM -0500, Adam Maas wrote:
> > Kazaa for Linux undr Linux emulation?
>
> This is very interesting.  I remember reading about the Linux client
> some time ago but when I searched I found little.  It seemed that KaZaA
> had discontinued the Linux client.  Do you have any more details (or
> even a copy of the original Linux client)?
>
>   Many thanks,
>
> -lewiz.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Boot loader failing?

2003-01-09 Thread Gary W. Swearingen
Not much help here, but I just installed a second disk, put 4 primary
partitions on it, installed 5.0-RC2 (now -CURRENT) in one, had
previously re-installed grub to the first disk from 4.7 on that
disk. Had grub configured to boot any of the 4 new primary partitions.
(But grub was dated 25'aug'02.)  It boots 5.0 OK (and it also did so
from a floppy).  But when I installed 5.0, I had it leave the first disk
alone.

I just installed grub-0.92 on 5.0-C and it wouldn't recognize any disk,
let alone partitions.  Even tried "device (hd1) /dev/ad2" because
"info" says it sometimes gets confused about device mapping.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Motd Updating

2003-01-09 Thread Coreix Systems - UNIX Developers


Can someone tell me he name of the .c or .h file containing code to do the
updating of MOTD,
i want to add company specific support data to the source so it can be
updated to motd on a daily basis, but do not want
it to be easily accessiably be sysadmins.
i have done it through a /etc/perodic/daily/script file, but clients can
find it i want to complile it in the source.

Thanks in advance

Craigrm



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ISP billing/etc software

2003-01-09 Thread fbsdq
Hello,
Got a question for anyone in the know.  I need to install some 
billing/account management/ change radius passwd etc. software for an ISP. 
So far the good ones [I think] that I have found are:freeside ispbs ispman 

Anyone know / can recommend one of those or something else [they are not in 
ports so I assume there should be something better that is in ports]that 
will do automatic credit card billing, user can change radius password, 
check his bill/account, and other various isp stuff.
[should this be a -isp question?] 


thanks

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: mail problems

2003-01-09 Thread Duncan Anker
On Fri, 2003-01-10 at 11:45, Bsd Neophyte wrote:
> i've setup my webramp700s to send logs to my freebsd machine daily.
> 
> however, it says that it cannot send the mail.
> 
> i really don't know much about sendmail, but these two processes are
> running:
> 
> root  85  0.0  0.3  2884 1592  ??  Ss   22Oct02   9:05.25 sendmail:
> accepting connections (sendmail)
> smmsp 88  0.0  0.3  2788 1484  ??  Is   22Oct02   0:13.08 sendmail:
> Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail)
> 
> 
> i'm assuming this will allow for the receipt of email.  is there more that
> needs to be done?
> 

Starting with FreeBSD 4.6 (I think) Sendmail must be running to accept
mail from the localhost. That is likely what your first sendmail process
is doing there. It may not be listening on the external interface.

You can check this by telnetting to port 25 and see if you can connect.

Edit your /etc/rc.conf file and make sure you have

sendmail_enable="YES"

in it somewhere.

Then:

# sh /etc/rc.sendmail stop && sh /etc/rc.sendmail start

to make sure it's going properly. Doublecheck by telnetting again.

-- 

The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: installing FreeBSD-4.7 onto bootable HPT372 RAID

2003-01-09 Thread Tom Snell
IIRC, the HPT372 is listed in supported hardware, but as an ATA controller only, not as a RAID controlleri.e., the kernel does not support the RAID capabilities of the chipset.Someone correct me if I'm wrong here (and in this case, I hope I'm wrong)



Jeff Leary wrote:


I currently have two drives doing RAID-0 on a HPT372 controller; these
are the only two hard drives in my machine.

I am booting Win2k and Linux (gentoo-1.2) directly off the RAID.

The partition table looks like

part1: ext3 (a primary partition), Linux boot partition
part2: ntfs (a primary partition), Win2k boot partition
part3: (extended partition)
  part5: ntfs, Win2k data   -+
  part6: ext3, Linux data|-- part5,part6,part7 inside part3
  part7: Linux swap -+

Using the existing setup, how can I install FreeBSD where Linux now
lives?

The Win2k install can't be touched and I refuse to install another
hard drive just for booting.

I have tried the 4.7 install CD without success.

sysinstall begins by automatically trying to load aac.ko which gives
an error.  This is the wrong module, identified as the Adaptec FSA
RAID, Dell PERC2/PERC3 module.

But sysinstall does recognize ar0 with the correct number of
cylinders.  However no slices show up in the "FreeBSD Disklabel
Editor" part of sysinstall no matter what I try.

The HPT372 is listed in supported hardware.  Is it part of FreeBSD or
is HPT support only through a proprietary module?  If the latter then
I'm going to have to somehow create a floppy or CD image with that
module on it and then load the module at the bootloader.  Yikes.

Jeff



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



mail problems

2003-01-09 Thread Bsd Neophyte

i've setup my webramp700s to send logs to my freebsd machine daily.

however, it says that it cannot send the mail.

i really don't know much about sendmail, but these two processes are
running:

root  85  0.0  0.3  2884 1592  ??  Ss   22Oct02   9:05.25 sendmail:
accepting connections (sendmail)
smmsp 88  0.0  0.3  2788 1484  ??  Is   22Oct02   0:13.08 sendmail:
Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail)


i'm assuming this will allow for the receipt of email.  is there more that
needs to be done?

-Sameer



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: DNS and DHCPD

2003-01-09 Thread Fred Zhang
Hi lattera,


   You may need such options in the dhcpd.conf

option routers  192.168.1.99;
option subnet-mask  255.255.255.0;

option nis-domain   "demo.com";
option domain-name  "demo.com";
option domain-name-servers  10.1.1.1


In you windows client, by the commands


  ifconfig /all


you will see the detail info. gotten from the dhcp server.





Regards,
Fred Zhang


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 8:13 AM
Subject: DNS and DHCPD


> I would like to configure my dhcpd server (isc-dhcpd3 from ports). I would
> also like to have the "options domainnameservers" (or somewhat similar) to
> be dynamic, as my fBSD box is my own router. (I run a local network). The
> WAN side is DHCP'd, so my IP and DNS servers are set differently each
time.
>
> I was wondering how to set the domainname servers option in my dhcpd.conf
> dynamically. Like, it would get edited each time upon bootup, and before
> dhcpd even loads.
>
> I don't know how to even start approaching this problem, except for asking
> you guys.
>
> Thanks so much,
>
> lattera
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



ISP billing/account manage software..???

2003-01-09 Thread fbsdq
Hello,
  Got a question for anyone in the know.  I need to install some 
billing/account management/ change radius passwd etc. software for an ISP.  
So far the good ones [I think] that I have found are:freeside ispbs ispman 

Anyone know / can recommend one of those or something else [they are not in 
ports so I assume there should be something better that is in ports]that 
will do automatic credit card billing, user can change radius password, 
check his bill/account, and other various isp stuff.
[
should this be a -isp question?] 

thanks
---Peter---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Bazillion kernel messages?

2003-01-09 Thread bsdaemon

- Original Message -
From: Steve Warwick <[EMAIL PROTECTED]>
Date: Thu, 09 Jan 2003 16:52:02 -0800
To: <[EMAIL PROTECTED]>
Subject: Bazillion kernel messages?

> I have a bazillion of these kernel messages showing up in my logs...
> 
> Jan  9 13:53:30 la last message repeated 7 times
> Jan  9 13:59:21 la /kernel: arp: 00:05:32:0e:64:12 attempts to modify
> permanententry for 12.158.234.65 on rl0
> 
> I know rl0 is my ethernet but I don't host the .65 address. I have not seen
> these before - does anyone know what these messages mean?
> 
> As always, advice and suggestions gratefully received.
> 
> Thanks
> 
> Steve

No help here, but I get this (alot) and I've seen it discussed, but no resolution (if 
one is needed):
./kernel: arp: [address] has moved to [different] address on [cable modem mac 
address]

I'd be interested in any suggestions, as well.

--
bsdaemon
freebsd: the power to serve >>
http://www.freebsd.org
[EMAIL PROTECTED]

-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Bogofilter (fwd)

2003-01-09 Thread Kris Kennaway
>  I have problems to let run bogofilter (I use FreeBSD RELENG_4).
> Could someone tell me how to use it ?

It's adequately described in the documentation..but I have this in my
.procmailrc (copied directly from the docs)


# filter mail through bogofilter, tagging it as spam and
# updating the word lists

:0fw
| /usr/local/bin/bogofilter -u -e -p

# if bogofilter failed, return the mail to the queue, the MTA will
# retry to deliver it later
# 75 is the value for EX_TEMPFAIL in /usr/include/sysexits.h

:0e
{ EXITCODE=75 HOST }

# file the mail to spam-bogofilter if it's spam.

:0:
* ^X-Bogosity: Yes, tests=bogofilter
spam


If this doesn't answer your question then you'll need to be more
specific about what you are trying to do.

> By the way, what is the preferred anti-spam package on FBSD
> (with sendmail) and how is it possible to install it ?

I use bogofilter at the user-level, and am very happy with it.

Kris



msg14895/pgp0.pgp
Description: PGP signature


Re: 5.0-DP2 sparc64 buildworld problem

2003-01-09 Thread Kris Kennaway
On Wed, Jan 08, 2003 at 11:27:21AM +0100, Julien Bournelle wrote:
> Hi all,
> 
>  I try to compile a kernel for a sparc64 on my FreeBSD 4.5 box.

This should have been sent to [EMAIL PROTECTED]  Anyway, it may be
already fixed, so please try again before re-sending.

Also, you are cvsupping 5.0-CURRENT, not the 5.0 release branch
(RELENG_5_0).

Kris



msg14894/pgp0.pgp
Description: PGP signature


Bazillion kernel messages?

2003-01-09 Thread Steve Warwick
I have a bazillion of these kernel messages showing up in my logs...

Jan  9 13:53:30 la last message repeated 7 times
Jan  9 13:59:21 la /kernel: arp: 00:05:32:0e:64:12 attempts to modify
permanententry for 12.158.234.65 on rl0

I know rl0 is my ethernet but I don't host the .65 address. I have not seen
these before - does anyone know what these messages mean?

As always, advice and suggestions gratefully received.

Thanks

Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



DNS / Sendmail

2003-01-09 Thread Steve Warwick
Hi All, 

After moving a site to a new server I am having an email/DNS problem.
Hopefully some kind soul can help as I cannot seem to fix this.

---

I am using PHP to send email to the website users at they request (reminders
etc). Apache runs as user nobody. Server is la.mylocalnet.com on
12.158.234.68 - DNS is on this server.

I am getting bounces from bunch of ISPs with an error header like this


- The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 550 rejected: cannot route to sender <[EMAIL PROTECTED]>)


I am assuming that the bounce is happening due to an incorrect reverse DNS -
Am I correct?

This is what I get if I do an nslookup for reverse on my server:

la# nslookup
Default Server:  localhost.mylocalnet.com
Address:  127.0.0.1

> set type=PTR
> 12.158.234.68
Server:  localhost.mylocalnet.com
Address:  127.0.0.1

68.234.158.12.in-addr.arpa  name = mylocalnet.com
234.158.12.in-addr.arpa nameserver = la.mylocalnet.com
>


And if I do alookup from another server on another network:

oak:~$ nslookup
Default Server:  monitor.he.net
Address:  216.218.130.50

> set type=PTR
> 12.158.234.68
Server:  monitor.he.net
Address:  216.218.130.50

Non-authoritative answer:
68.234.158.12.in-addr.arpa  name = dewnay.com

Authoritative answers can be found from:
234.158.12.in-addr.arpa nameserver = ctmsq2ns2.cotennet.com
234.158.12.in-addr.arpa nameserver = ctmsq1ns1.cotennet.com
ctmsq1ns1.cotennet.com  internet address = 206.169.62.212
>


It appears my bandwidth provider is causing the problem with an incorrect
reverse entry to "dewnay.com". Again, am I correct? If so, should I just get
them to delete the entry and let my DNS do its thing?

Any help, ideas or suggestions gratefully received. I have a lot of mail
stacking up!


Steve


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: help

2003-01-09 Thread bsdaemon

- Original Message -
From: jeremy <[EMAIL PROTECTED]>
Date: Thu, 09 Jan 2003 15:04:51 -0500
To: [EMAIL PROTECTED]
Subject: help

> 
> i am runing freebsd 4.5 and i can not compile my kernel i get "Stop in
> /usr/src/sys/compile/MYKERNEL."
> 
> here is my kernel file
> 
> 
> any help would be nice thanks jeremy

>

> # SCSI peripherals
> #device   scbus   # SCSI bus (required)
> #device   da  # Direct Access (disks)

> deviceumass   # Disks/Mass storage - Requires scbus and da
 

I think it may be this.  device umass (usb mass storage device), which is enabled, 
requires scbus (scsi bus) and da (direct access) which are disabled.  Either enable 
scsi and da, or disable the umass device, and recompile.  That should do the trick! (I 
had this problem a few months back...)


--
bsdaemon
freebsd: the power to serve >>
http://www.freebsd.org
[EMAIL PROTECTED]

-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Recovering data from a faulty drive

2003-01-09 Thread Hari Bhaskaran
Hi,

I seem to have lost the partition info of one of the harddisks.
Is there a backup copy of partition information stored
elsewhere in the disk?

The long story: -
Due to some hardware problem, one of the HDs stopped working.
(doesn't spin at all) After trying it on couple of machines,
I did manage to get it boot on one of the machine (may be the
way I kept the harddisk or whatever). However, when I tried
to ifconfig an interface (to move the data out), it decided
to bail out again and it didn't survive the second reboot.

Finally I ended up with a HDD where the disklabel shows
only one partition - 'c'. A boot with fixit disk shows
ad0s1 thru 4 (but it is supposed to have only one slice
and then couple of BSD partitions inside.

fsck on /dev/ad1s1 went OK, But that's only the root 
partition (I don't really care about that one). If possible,
fsck on /dev/ad1s2 thru 4 bailed out with problems reading
BLKS 16 thru 20. I would like to recover /usr/home.
Is there any chance?  I only need a couple of files recovered.

Any help is appreciated.

--
Hari Bhaskaran

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



has anyone used Cylant's CylantSecure?

2003-01-09 Thread Bsd Neophyte

i was reading a thread where someone recommeded this product as an
"intrusion prevention" device.

does anyone have any experience?  they have something that was targeted
towards FreeBSD 4.5, will there be any problems integrating this with 4.7?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread Darren
> What did you download with cvsup? The system sources or the ports tree?

Here's what I have in cvsupfile (I'm fuzzy on what is actually going on).  I
just noticed that my default tag=RELENG_4_6.  Should that be 4_7?  I don't
know where I got my supfile.  I'm thinking it was part of the installation.

*default  host=cvsup12.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4_6
*default  delete use-rel-suffix

src-base
src-bin
src-contrib
src-etc
src-gnu
src-include
src-lib
src-libexec
src-release
src-secure
src-sbin
src-share
src-sys
src-tools
src-usrbin
src-usrsbin
*default tag=.
ports-all
doc-all


> If you indeed downloaded the system sources with cvsup, then just
> recompiling the kernel does you no good, since you'll be left with new
> kernel and old userland programs, which won't work together (at least
> not in usable way). You need to rebuild the entire OS, as described in
> the Handbook chapter 21 ("using make world"). Portupgrade has nothing
> to do with it.

My intentions were to NOT get the kernel sources.  I was just trying to stay
up to date with the ports that I have installed and any system files that my
get security fixes.

> This looks like the new kernel was actually compiled but installing it
> failed. If you haven't followed the "make world" procedure then the
> system has actually protected you from shooting yourself in the foot,
> because, as I said, running new kernel with old userland programs is no
> good. You need to build the new userland first
>
OK

Thanks for the help,
Darren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: reccomended printers

2003-01-09 Thread paul beard
George Vagner wrote:


I guess asking it to do the dishes would be a little much though
so what do you use?


I have an HP1100 that has given me good service: there is a 
manufacturing defect but HP has a repair kit for it. Takes a 
minute to install.


--
Paul Beard

8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Ideas don't stay in some minds very long because they don't like
solitary confinement.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Using GRUB with 2 kernels

2003-01-09 Thread Ihsan Junaidi Ibrahim
Hello all,

How do I put in the GRUB's menu.lst, 2 different kernels, say /kernel and 
/kernel.old? I can't seem to boot /kernel.old using loader. How can I allow 
configure loader to boot the kernel not specified in loader.conf? It helps if 
I can have loader do the job for me automatically if I ever want to use the 
old kernel. 

As of now, I've to sto the countdown and proceed to do, 
unload -> set kernel="kernel.old" -> boot-conf -> load -t userconfig_script 
/boot/kernel.conf

Thanks in advance.
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: reccomended printers

2003-01-09 Thread Matthew Bettinger
On Thursday 09 January 2003 05:03 pm, BSD baby wrote:
> > I am looking to buy a laser printer for < $500 but need
> > some reccomendations on which one is decent for home/office
> > use. I had seen the HP 1200, it looks ok, will it last?
>
> Yes and it works VERY well with FreeBSD.
> It handles PostScript files directly.  No GhostScript needed.

I print to 1200's 4si's 5si's from bsd.  The 4si's and 5si's are probably THE 
most durable printer that I have ever seen.  They are rather big and heavy 
but they can push alot of paper.   

Make sure to inquire about the last time the fuser had been replaced before 
you purchase one.  You can purchase maint. kits for around 150 bux.  That 
cheap printer might end up costing you another 150 bux if you aren't careful. 
Fusers get scratched or go bad but it's nice to at least have a general idea 
when the next replacement is due.

Matt 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: vim

2003-01-09 Thread Andreas Ntaflos
On Thu, Jan 09, 2003 at 04:00:00PM -0600, Brian Henning wrote:
> Hello,
> 
> Is there an x version of vim for bsd? i downloaded the src files from
> www.vim.org and compiled it, but it created just the terminal verson of vim.
> Any suggestions?
> 

You might try starting gvim from an xterm. Also, you'd better use the ports
version of vim which you'll find in ports/editors/vim.

HTH
regards
-- 
Andreas "ant" Ntaflos | "A cynic is a man who knows the price of
[EMAIL PROTECTED]   | everything, and the value of nothing."
Vienna, AUSTRIA   |  Oscar Wilde

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: FreeBSD and AMD power management

2003-01-09 Thread Brian Astill
Mark wrote:


- Original Message -
From: "Matthew Seaman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 9:54 AM
Subject: Re: FreeBSD and AMD power management


 

Try the ports/sysutils/fvcool port ---
http://www.nt.phys.kyushu-u.ac.jp/shimizu/

Using it has cut the average CPU temperature on my system from
about 70C to about 50C.
   


It looked interesting; so I checked it out. Then it turns out this
power-safe mode on your AMD CPU is disabled by default for a good reason: it
makes your system unstable, and/or causes it to hang. Then cool is suddenly
not so cool anymore. :(


You have somewhat misread the docs.
To "prove" this, nobody using fvcool has reported instability on this or 
any other list.  All HAVE reported a drop in CPU temperature of around 
20C.  In my case that means dropping from 55C to 35C.

--
Brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Renaming files with spaces in the name to files withoutspaces..

2003-01-09 Thread Duncan Anker
On Fri, 2003-01-10 at 06:10, Stijn Hoop wrote:
> On Thu, Jan 09, 2003 at 01:51:08PM -0500, parv wrote:
> > in message <[EMAIL PROTECTED]>,
> > wrote Stijn Hoop thusly...
> > >
> > > On Fri, Jan 10, 2003 at 01:49:18AM +1030, Rob wrote:
> > > > > If you want to do it for all files in a directory:
> > > > >
> > > > > # for file in *; do mv "$file" `echo $file | sed -e 's/ /_/g'`; done
> >   ^ ^
> >   ^ ^
> > > > >
> > > > But if you do this, won't the spaces be mistaken for filename
> > > > separators?
> > > 
> > > No, he has quotes around his $file, and the `` part replaces
> > > spaces, so this should work.
> > 
> > notice that $file is not enclosed in the sub shell (in between 
> > ``) as an argument to echo.  if the $file happens to have end
> > blanks, they will be eaten up.  try...
> > 
> >   f=' p q r '; echo $( echo $f | sed 's/ /_/g' )
> > 
> > ...output /should/ have been '_p_q_r_', but is 'p_q_r'.
> 
> Hey, great, missed that one. I only considered the 'space not at end'
> case. Thanks.

My bad, forgot to include the quotes. But OTOH, people who put spaces at
the beginning and end of their filenames deserve everything they get
(besides, it worked for the original poster's test case :-)



The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: reccomended printers

2003-01-09 Thread Kirk Strauser

At 2003-01-09T23:03:53Z, BSD baby <[EMAIL PROTECTED]> writes:

> It's a workhorse.  Highly recommended.

me too
-- 
Kirk Strauser
In Googlis non est, ergo non est.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Keyboard PS2 to USB Adapter support ?

2003-01-09 Thread Hans Lambermont
Hi,

Does FreeBSD support any Keyboard PS2 to USB Adapters ?
( I want to use a PS2 keyboard on a USB-only laptop )

The ones I find are a bit too expensive to 'just buy and try' (+- $40)

regards,
   Hans Lambermont
-- 
http://lambermont.webhop.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



reccomended printers

2003-01-09 Thread George Vagner
I am looking to buy a laser printer for < $500 but need 
some reccomendations on which one is decent for home/office
use. I had seen the HP 1200, it looks ok, will it last?
How bout some older ones like the HP5/6 series?
I really dont want to have and reset it all the time or keep filling
it with paper after 30 sheets were printed etc.
Need cheap cartridges too.

I guess asking it to do the dishes would be a little much though
so what do you use?





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.438 / Virus Database: 246 - Release Date: 1/7/2003

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: getting sound working :(

2003-01-09 Thread George Vagner
did you make your sound device?

cd /dev
./MAKEDEV snd0


- Original Message - 
From: "Hugo Saro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 2:41 PM
Subject: getting sound working :(


> Hey everyone.
> 
> I've tried everything i've remembered to put sound
> working on my fbsd box, but without success yet.
> 
> I read the handbook section on sound and followed
> every step. 
> 
> more /var/log/messages | grep pcm ->
> 
> 
> Jan  8 18:39:38 toaster /kernel: pcm0:  OPL-SAx> at port
> 0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-0x331,0x370-0x371
> irq 5 drq 0,1 on isa0
> 
> Its FreeBSD 4.7-STABLE w/ a kde desktop. Could anyone
> point me something to make this work? i really need
> sound on that box as i'm using it as a multimedia
> workstation.. thanks in advance.
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.438 / Virus Database: 246 - Release Date: 1/7/2003

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: reccomended printers

2003-01-09 Thread BSD baby
> I am looking to buy a laser printer for < $500 but need 
> some reccomendations on which one is decent for home/office
> use. I had seen the HP 1200, it looks ok, will it last?


Yes and it works VERY well with FreeBSD.
It handles PostScript files directly.  No GhostScript needed.

I did the same research you're doing (laser printer under $500)
and came to the HP LaserJet 1200 conclusion last month.
(NOTE: the 1200se and the 1200 are the same thing.)

We have one at our office that prints about 1000 pages a day,
and has been doing so for the last year and a half without fail.

It's a workhorse.  Highly recommended.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



installing FreeBSD-4.7 onto bootable HPT372 RAID

2003-01-09 Thread Jeff Leary

I currently have two drives doing RAID-0 on a HPT372 controller; these
are the only two hard drives in my machine.

I am booting Win2k and Linux (gentoo-1.2) directly off the RAID.

The partition table looks like

part1: ext3 (a primary partition), Linux boot partition
part2: ntfs (a primary partition), Win2k boot partition
part3: (extended partition)
   part5: ntfs, Win2k data   -+
   part6: ext3, Linux data|-- part5,part6,part7 inside part3
   part7: Linux swap -+

Using the existing setup, how can I install FreeBSD where Linux now
lives?

The Win2k install can't be touched and I refuse to install another
hard drive just for booting.

I have tried the 4.7 install CD without success.

sysinstall begins by automatically trying to load aac.ko which gives
an error.  This is the wrong module, identified as the Adaptec FSA
RAID, Dell PERC2/PERC3 module.

But sysinstall does recognize ar0 with the correct number of
cylinders.  However no slices show up in the "FreeBSD Disklabel
Editor" part of sysinstall no matter what I try.

The HPT372 is listed in supported hardware.  Is it part of FreeBSD or
is HPT support only through a proprietary module?  If the latter then
I'm going to have to somehow create a floppy or CD image with that
module on it and then load the module at the bootloader.  Yikes.

Jeff



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: help! Problems with TAR archives?

2003-01-09 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

On Thursday,  9 January 2003 at 10:22:48 -0500, Phillip Smith wrote:
>> From: Greg 'groggy' Lehey 
>>
>> [Format recovered--see http://www.lemis.com/email/email-format.html]
>>
>>> X-Mailer: Microsoft Outlook, Build 10.0.3416
>>
>> Incorrect wrapping in quoted text.
>
> Argh! I thought I had fixed that... I've set the wrap to 132, what else
> can I do?

Not much.  But it doesn't look like it.

> Perhaps I'll try one of these third-party programs? Or switch to ???
> at the office for email?

mutt.

>> On Monday,  6 January 2003 at  8:45:25 -0500, Phillip Smith wrote:

>>> I'm starting to think that the archives got corrupted somehow?
>>
>> What does tar t tell you on the FreeBSD side?
>
> tar: Hmm, this doesn't look like a tar archive.
> tar: Skipping to next file header...
> tar: only read 521 bytes from archive etc.rein.tar

That's obviously a corrupted archive, or no archive at all.  Is that
before sending it to the Microsoft box?

> Also, I tried re-creating the problem. Exact same scenario. Created
> a new TAR archive, ftp'd from FreeBSD to Window (not specifying a
> setting), then used 'get' to bring them back to FreeBSD and the
> archives are fine. So, I'm thinking that the original archives are
> corrupt...

Well, test them then.

>>> The archive starts to unpack (I see a few directories and files)
>>> then hits a snag and spews garbage or quits.
>>>
>>> Here's a question then... suppose I want to re-mount a drive that
>>> had the data on it, but the drive was one of two drives mirrored
>>> with vinum.  I've subsequently changed my drive set-up and now
>>> this drive is just sitting there as a 'hot spare', I haven't
>>> newfs'd it or anything... so I presume the data is still on it. If
>>> I were to re-connect the drive, and re-load vinum, could I access
>>> the data? How easy/difficult would this be?
>>
>> That depends a lot on the Vinum configuration and whether
>> you're running any other Vinum volumes.  It could work.  But
>> first I'd like to establish whether your archive is really
>> corrupt.  There's a possibility that the tar you're using on
>> the Microsoft side simply doesn't understand the archive.
>
> I'm using TAR on the FreeBSD side, not the Microsoft side. Don't
> have an archiver installed on the Windows box.

I'm gradually getting confused.  What is the data doing on the
Microsoft box at all?

> I don't have any Vinum volumes set up at the moment, no. But, I was
> thinking I could plug in the 'hot spare' drive and start vinum and
> see what config it pulls from the drive; then alter the config so
> that there's only one subdisk (the hot spare) for the 'mirror' and
> mount that and move the data off? What do you think?

If you haven't set up Vinum, it's a bit late now.  You have to write
the config, it doesn't do it automatically.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: FreeBSD and AMD power management

2003-01-09 Thread Matthew Seaman
On Thu, Jan 09, 2003 at 11:07:36PM +0100, Mark wrote:

> I am having the A7V333 board myself, so I am fairly excited. :) The
> instability warnings came from the author himself, btw.
> 
> I took the gamble, with much trepidation (I hate to ruin my filesystem),
> and, so far, my system is still running (AMD XP-2000). Temperature dropped
> down about 18 degrees C. If this is going to work, for real, then Matthew
> deserves a big cheer. :)
> 
> One thing is not entirely clear, though; is this something I need to enable
> every time I reboot? Or is it tweaked to remain fixed in the BIOS?

Yes, you need to run fvcool on reboot.  Slap the attached script into
/usr/local/etc/rc.d and add:

fvcool_enable="YES"

to /etc/rc.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



fvcool.sh
Description: Bourne shell script


dd to /dev/ar0s1 fails with fixlabel: invalid magic

2003-01-09 Thread Pietralla, Siegfried P
hi all,

i'm trying to copy a dos partition from one disk to another like so:

dd if=/dev/ad3s1 of=/dev/ar0s1 bs=128k

and it's failing with:

dscheck(#ar/0x20002): fixlabel: invalid magic
fixlabel: invalid magic
dd: /dev/ar0s1: Read-only file system

i'm running freebsd v4.6.2 . i'm booting from ar0s3 - i've never used ar0s1
( it's a new disk ) and i installed straight from the cd onto this disk. i
guess the install procedure may have disklabel'd it since i set the first
three slices to freebsd even though i only created partitions in ar0s3. i've
checked groups.google.com and there are two other reports of the same
problem: one person trying to zero out a slice and one trying to recover a
dos slice. both have no reported solution! also i think someone tried to
newfs_msdos and failed the same way but it's in russian so i can't quite
work it out :)


a work around appears to be using ar0 instead, e.g.:

dd if=/dev/zero of=/dev/ar0 count=10 oseek=63

which does succeed in zeroing the first ten blocks of ar0s1.


however when i then try to restore my dos slice i still get:

dd if=/dev/ad3s1 of=/dev/ar0s1
dd: /dev/ar0s1: Read-only file system

so i need to go via ar0 again:

dd if=/dev/ad3s1 of=/dev/ar0 oseek=63

which finally works :)


also, i can dd a freebsd slice without any problems, e.g.

dd if=/dev/ar0s3 of=/dev/ar0s2


my question then is, what's the 'proper' way to retrieve a slice from
freebsd's grasp? ( so that i can then get dd to work as i want it to ).

thanx,
siegfried.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: FreeBSD and AMD power management

2003-01-09 Thread Mark
- Original Message -
From: "Brian Astill" <[EMAIL PROTECTED]>
To: "Mark" <[EMAIL PROTECTED]>
Cc: "Matthew Seaman" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 11:14 PM
Subject: Re: FreeBSD and AMD power management


> You have somewhat misread the docs.

It would seem so. Never before, though, stood I more happily corrected. :)

> To "prove" this, nobody using fvcool has reported instability on this
> or any other list.  All HAVE reported a drop in CPU temperature of
> around 20C.  In my case that means dropping from 55C to 35C.

Does this mean I can use it on my actual server? Call me a wimp, but I am
kinda squirmish when it comes to utilities like this. And if it affects the
performance of a sound-card, would it also adversely affect the throughput
of a network card?

I am eager to use this. Could save me a bundle on my electric bill too, btw.
:) So, does anyone have this running on a server? I would love to hear their
experiences.

Thanks.

- Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: vinum: bringing online a replacement disk ...

2003-01-09 Thread Greg Lehey
On Thursday,  9 January 2003 at 15:54:25 -0400, Marc G. Fournier wrote:
>
> first off, if there is a doc I haven't found on this, please direct me to
> it ... google seems to be drawing alot of docs, but none seem appropriate
> ...
>
> I just had a drive go south ... so we got a replacement drive in, hot
> swap'd the old out, new in ... I've been able to disklabel the drive, so
> that it matches the config of the rest of the drives in the RAID5 array
> ... but for the life of me, I can't figur eout how to get vinum to
> recognize (and re-init) the new drive ...
>
> a vinum start just tell sme the drive is down ... so I'm guessing i have
> to somehow do similar to the original create, to get the appropraite info
> onto the drive?

You have to create the drive to tell Vinum where it is.

> I'm afraid of 'vinum init', but is 'vinum init jaildev.p0.s12' what
> I'm looking for here?

It won't do any harm, but it won't do any good either.  'vinum start'
is what you're looking for.

Take a look at http://www.vinumvm.org/vinum/replacing-drive.html.
It's not perfect.  If you don't understand something, please contact
me before doing anything.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



vim

2003-01-09 Thread Brian Henning
Hello,

Is there an x version of vim for bsd? i downloaded the src files from
www.vim.org and compiled it, but it created just the terminal verson of vim.
Any suggestions?

Thanks,

brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: getting sound working :(

2003-01-09 Thread Sean J. Countryman
Try:

kldload snd

Then type:

cd /dev

and then:

sh MAKEDEV snd0

If that works, and:  snd_load="YES" in the /boot/loader.conf file


Good Luck

Sean


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hugo Saro
Sent: Thursday, January 09, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: getting sound working :(


Hey everyone.

I've tried everything i've remembered to put sound
working on my fbsd box, but without success yet.

I read the handbook section on sound and followed
every step. 

more /var/log/messages | grep pcm ->


Jan  8 18:39:38 toaster /kernel: pcm0:  at port
0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-0x331,0x370-0x371
irq 5 drq 0,1 on isa0

Its FreeBSD 4.7-STABLE w/ a kde desktop. Could anyone
point me something to make this work? i really need
sound on that box as i'm using it as a multimedia
workstation.. thanks in advance.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: help! Problems with TAR archives?

2003-01-09 Thread Greg 'groggy' Lehey
On Thursday,  9 January 2003 at 12:08:29 -0500, Phillip Smith wrote:
> On January 9, 2003 10:23 AM, Phillip Smith wrote:
>>> What does tar t tell you on the FreeBSD side?
>>
>> tar: Hmm, this doesn't look like a tar archive.
>> tar: Skipping to next file header...
>> tar: only read 521 bytes from archive etc.rein.tar
>>
>> Also, I tried re-creating the problem. Exact same scenario.
>> Created a new TAR archive, ftp'd from FreeBSD to Window (not
>> specifying a setting), then used 'get' to bring them back to
>> FreeBSD and the archives are fine. So, I'm thinking that the
>> original archives are corrupt...
>
> I've tried a few other scenarios and this is what I've discovered...
>
> - I'm using tar -zcpvf filename.tar.gz targetdir to create the
>   archive
> - using any variation of tar -zxpvf gets the messages I've outlined
> above
> - same if I gunzip the archive first, then try tar -xpvf

z compresses the archive.  No wonder you're not having any success
without z on the extract.

> So I tried on some new tar files, only transfering from BSD to BSD
> and found that, for some reason, I'm getting the same error
> (e.g. tar with zcpvf and ftp/binary from BSD to BSD). Now I'm
> confused.
>
> So, I repeat the same process without the gzip (tar cpvf and
> ftp/binary from BSD to BSD), and presto the archives are fine. I
> would assume from this, that I'm doing something wrong with the
> gzip? Or that gzip is doing something funny.

Possibly.  I'm having difficulty getting details here, but if you've
found a workaround, great.  You can use gzip -t to test the integrity
of compressed files.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: FreeBSD and AMD power management

2003-01-09 Thread Mark
- Original Message -
From: "Jud" <[EMAIL PROTECTED]>
To: "Matthew Seaman" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 10:34 PM
Subject: Re: FreeBSD and AMD power management


> YMMV, but I have fvcool running while building world, compiling
> ports, etc., and have never had the slightest difficulty.
> (However, Matthew's exactly right about there being little or no cooling
> effect when CPU utilization is running 97%.)  The Windows equivalent
> of fvcool, VCool, is installed on my W2K partition.  The only problem
> I've noticed there is that it screws up the sound from my Creative SB16
> PCI sound card, though not the onboard sound (Asus A7V333 board -
> I'm not at home and don't recall the precise designation of the onboard
> sound chip).  No problem with the SB16 on FreeBSD 4-STABLE with
> fvcool, however.


I am having the A7V333 board myself, so I am fairly excited. :) The
instability warnings came from the author himself, btw.

I took the gamble, with much trepidation (I hate to ruin my filesystem),
and, so far, my system is still running (AMD XP-2000). Temperature dropped
down about 18 degrees C. If this is going to work, for real, then Matthew
deserves a big cheer. :)

One thing is not entirely clear, though; is this something I need to enable
every time I reboot? Or is it tweaked to remain fixed in the BIOS?

Thanks.

- Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: FreeBSD and AMD power management

2003-01-09 Thread Jud
On Thu, 9 Jan 2003 20:49:20 +, "Matthew Seaman"
<[EMAIL PROTECTED]> said:
> On Thu, Jan 09, 2003 at 08:15:15PM +0100, Mark wrote:
> > - Original Message -
> > From: "Matthew Seaman" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 09, 2003 9:54 AM
> > Subject: Re: FreeBSD and AMD power management
> > 
> > 
> > > Try the ports/sysutils/fvcool port ---
> > > http://www.nt.phys.kyushu-u.ac.jp/shimizu/
> > >
> > > Using it has cut the average CPU temperature on my system from
> > > about 70C to about 50C.
> > 
> > It looked interesting; so I checked it out. Then it turns out this
> > power-safe mode on your AMD CPU is disabled by default for a good reason: it
> > makes your system unstable, and/or causes it to hang. Then cool is suddenly
> > not so cool anymore. :(
> 
> I've never experienced any problems like that.  I suspect it's
> probably one of those things that shows up under load.  As my desktop
> box spends quite a lot of the time sitting pretty much idle, then
> fvcool does it's thing without problems.  If it was a hard working
> server then I suspect that a) the sort of problems you mention would
> probably show up and b) there wouldn't be that much point running
> something like fvcool anyhow, as the CPU would be active much of the
> time anyhow.

YMMV, but I have fvcool running while building world, compiling ports,
etc., and have never had the slightest difficulty.  (However, Matthew's
exactly right about there being little or no cooling effect when CPU
utilization is running 97%.)  The Windows equivalent of fvcool, VCool, is
installed on my W2K partition.  The only problem I've noticed there is
that it screws up the sound from my Creative SB16 PCI sound card, though
not the onboard sound (Asus A7V333 board - I'm not at home and don't
recall the precise designation of the onboard sound chip).  No problem
with the SB16 on FreeBSD 4-STABLE with fvcool, however.

Jud

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: port/ftp/mirror-2.9 "Out of memory!" message

2003-01-09 Thread Lowell Gilbert
Tom Parquette <[EMAIL PROTECTED]> writes:

> I'm getting an "Out of memory!" message from the mirror
> (/usr/ports/ftp/mirror-2.9) port trying to update a large archive.
> I've tried a number of things but I can't resolve this.
> Any suggestions?

hitting a limits(1) limit?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Drgenius with gnome2

2003-01-09 Thread P. U. Kruppa
On 9 Jan 2003, Joe Marcus Clarke wrote:

> On Thu, 2003-01-09 at 16:44, P. U. Kruppa wrote:
> > Hi Joe!
> >
> > On 9 Jan 2003, Joe Marcus Clarke wrote:
> >
> > > On Thu, 2003-01-09 at 11:48, P. U. Kruppa wrote:
> > > > Hi!
> > > >
> > > > Has anyone tried to run DrGenius on FreeBSD with gnome2 ?
> > >
> > > Nope.
> > >
> > > >
> > > > DrGenius is an intuitive geometry system, that might be
> > > > interesting for students (More information on
> > > > http://www.ofset.org/drgenius/ml.html ).
> > > >
> > > > I could do
> > > > # ./configure
> > > > successfully, but
> > > > # ./gmake
> > > > fails.
> > >
> > > How does it fail?
> > Before I can run
> > # ./configure
> > I have to
> > # ln -s /usr/X11R6/bin/gtk12-config /usr/X11R6/bin/gtk-config
> > because drgenius needs gtk12.
> > Then I run
> > # ./gmake
> > which ends with
>
> FreeBSD doesn't have or need crypt.h.  You can remove it from the source
> file.  This should be something that's checked by configure.
Indeed, I uncommented
# include 
and now it seems to install and run.

Thanks,

Uli.

>
> Joe
>
> >
> --
> PGP Key : http://www.marcuscom.com/pgp.asc
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: gphoto2, gettext, intl.4

2003-01-09 Thread Joe Marcus Clarke
On Thu, 2003-01-09 at 15:47, David Gerard wrote:
> The camera doesn't seem to be a plain old umass. However, it is supported
> by gphoto, so let's try installing that port ... the gphoto2 port pulls in
> gettext, which seems to require something called intl.4 :
> 
> # make install clean
> ===>  Extracting for gphoto2-2.1.0_2
> >> Checksum OK for gphoto2-2.1.0.tar.bz2.
> ===>   gphoto2-2.1.0_2 depends on executable: pkg-config - found
> ===>   gphoto2-2.1.0_2 depends on executable: gmake - found
> ===>   gphoto2-2.1.0_2 depends on shared library: intl.4 - not found
> ===>Verifying install for intl.4 in /usr/ports/devel/gettext
> ===>   Returning to build of gphoto2-2.1.0_2
> Error: shared library "intl.4" does not exist
> *** Error code 1
> 
> 
> Er, huh? What can I do now?

Remove all versions of gettext installed on your system, then install
the latest version of devel/gettext.

Joe

> 
> 
> - d.
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Drgenius with gnome2

2003-01-09 Thread Joe Marcus Clarke
On Thu, 2003-01-09 at 16:44, P. U. Kruppa wrote:
> Hi Joe!
> 
> On 9 Jan 2003, Joe Marcus Clarke wrote:
> 
> > On Thu, 2003-01-09 at 11:48, P. U. Kruppa wrote:
> > > Hi!
> > >
> > > Has anyone tried to run DrGenius on FreeBSD with gnome2 ?
> >
> > Nope.
> >
> > >
> > > DrGenius is an intuitive geometry system, that might be
> > > interesting for students (More information on
> > > http://www.ofset.org/drgenius/ml.html ).
> > >
> > > I could do
> > > # ./configure
> > > successfully, but
> > > # ./gmake
> > > fails.
> >
> > How does it fail?
> Before I can run
> # ./configure
> I have to
> # ln -s /usr/X11R6/bin/gtk12-config /usr/X11R6/bin/gtk-config
> because drgenius needs gtk12.
> Then I run
> # ./gmake
> which ends with

FreeBSD doesn't have or need crypt.h.  You can remove it from the source
file.  This should be something that's checked by configure.

Joe

> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: FreeBSD and AMD power management

2003-01-09 Thread Matthew Seaman
On Thu, Jan 09, 2003 at 08:15:15PM +0100, Mark wrote:
> - Original Message -
> From: "Matthew Seaman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 09, 2003 9:54 AM
> Subject: Re: FreeBSD and AMD power management
> 
> 
> > Try the ports/sysutils/fvcool port ---
> > http://www.nt.phys.kyushu-u.ac.jp/shimizu/
> >
> > Using it has cut the average CPU temperature on my system from
> > about 70C to about 50C.
> 
> It looked interesting; so I checked it out. Then it turns out this
> power-safe mode on your AMD CPU is disabled by default for a good reason: it
> makes your system unstable, and/or causes it to hang. Then cool is suddenly
> not so cool anymore. :(

I've never experienced any problems like that.  I suspect it's
probably one of those things that shows up under load.  As my desktop
box spends quite a lot of the time sitting pretty much idle, then
fvcool does it's thing without problems.  If it was a hard working
server then I suspect that a) the sort of problems you mention would
probably show up and b) there wouldn't be that much point running
something like fvcool anyhow, as the CPU would be active much of the
time anyhow.

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



gphoto2, gettext, intl.4

2003-01-09 Thread David Gerard

The camera doesn't seem to be a plain old umass. However, it is supported
by gphoto, so let's try installing that port ... the gphoto2 port pulls in
gettext, which seems to require something called intl.4 :

# make install clean
===>  Extracting for gphoto2-2.1.0_2
>> Checksum OK for gphoto2-2.1.0.tar.bz2.
===>   gphoto2-2.1.0_2 depends on executable: pkg-config - found
===>   gphoto2-2.1.0_2 depends on executable: gmake - found
===>   gphoto2-2.1.0_2 depends on shared library: intl.4 - not found
===>Verifying install for intl.4 in /usr/ports/devel/gettext
===>   Returning to build of gphoto2-2.1.0_2
Error: shared library "intl.4" does not exist
*** Error code 1


Er, huh? What can I do now?


- d.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Drgenius with gnome2

2003-01-09 Thread P. U. Kruppa
Hi Joe!

On 9 Jan 2003, Joe Marcus Clarke wrote:

> On Thu, 2003-01-09 at 11:48, P. U. Kruppa wrote:
> > Hi!
> >
> > Has anyone tried to run DrGenius on FreeBSD with gnome2 ?
>
> Nope.
>
> >
> > DrGenius is an intuitive geometry system, that might be
> > interesting for students (More information on
> > http://www.ofset.org/drgenius/ml.html ).
> >
> > I could do
> > # ./configure
> > successfully, but
> > # ./gmake
> > fails.
>
> How does it fail?
Before I can run
# ./configure
I have to
# ln -s /usr/X11R6/bin/gtk12-config /usr/X11R6/bin/gtk-config
because drgenius needs gtk12.
Then I run
# ./gmake
which ends with

--
  [...]

0 -I/usr/local/include -I/usr/X11R6/include/gtk12
-I/usr/local/include  -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include
-I/usr/X11R6/include  -g -O2 -Wall -Wunused
-DDRGENIUS_GLADEDIR=\""/usr/local/share/drgenius/glade"\" -c
drgenius_config.c
g++ -DHAVE_CONFIG_H -I. -I. -I.
-DGNOMELOCALEDIR=\""/usr/local/share/locale"\"
-DLOCALEDIR=\"/usr/local/share/locale\"  -I/usr/local/include
-I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
-I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
-I/usr/local/include -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
-I/usr/local/include -I./drgeo   -I./gobobjs
-I/usr/local/include/gnome-xml -I/usr/X11R6/include/libglade-1.0
-I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
-I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
-I/usr/local/include -I/usr/X11R6/include/gtk12
-I/usr/local/include  -I/usr/X11R6/include/gtk12
-I/usr/local/include/glib12 -I/usr/local/include
-I/usr/X11R6/include  -g -O2
-DDRGENIUS_GLADEDIR=\""/usr/local/share/drgenius/glade"\" -c
drgeo_adaptDialog.cc
drgeo_adaptDialog.cc:27: crypt.h: No such file or directory
gmake[2]: *** [drgeo_adaptDialog.o] Fehler 1
gmake[2]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/drgenius-0.8.0«
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/local/drgenius-0.8.0«
gmake: *** [all-recursive-am] Fehler 2

--
"Verlassen des Verzeichnisses" means leaving directory,
"Fehler1" and "Fehler2" means error 1 and error 2

Thanks,

Uli.

>
> Joe
>
> >
> > Regards,
> >
> > Uli.
> >


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread John Bleichert
On Thu, 9 Jan 2003, Giorgos Keramidas wrote:
> Subject: Re: kernel won't compile
> 
> On 2003-01-09 12:54, John Bleichert <[EMAIL PROTECTED]> wrote:
> > On Thu, 9 Jan 2003, Darren wrote:
> > > I have successfully compiled a new kernel once already on a new install of
> > > FreeBSD 4.7-RELEASE.  Since then, I have run cvsup and portupgrade.  Now, I
> > > need to recompile the kernel again.  But, I'm running into errors.
> >
> > Did you make installworld and buildworld before trying to build a
> > kernel agains the new source?
> 
> Please don't run "installworld" *before* building a new kernel.
> The instructions of /usr/src/UPDATING are very clear on this part!
> 
> 

Hmm. Next time I cvsup I'll check that out again. Last time I did my 
Athlon I had to do the reverse, or it didn't work.

Thanks - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread Giorgos Keramidas
On 2003-01-09 12:54, John Bleichert <[EMAIL PROTECTED]> wrote:
> On Thu, 9 Jan 2003, Darren wrote:
> > I have successfully compiled a new kernel once already on a new install of
> > FreeBSD 4.7-RELEASE.  Since then, I have run cvsup and portupgrade.  Now, I
> > need to recompile the kernel again.  But, I'm running into errors.
>
> Did you make installworld and buildworld before trying to build a
> kernel agains the new source?

Please don't run "installworld" *before* building a new kernel.
The instructions of /usr/src/UPDATING are very clear on this part!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread Giorgos Keramidas
On 2003-01-09 11:29, Darren <[EMAIL PROTECTED]> wrote:
> I have successfully compiled a new kernel once already on a new
> install of FreeBSD 4.7-RELEASE.  Since then, I have run cvsup and
> portupgrade.  Now, I need to recompile the kernel again.  But, I'm
> running into errors.  I have been following the handbook.  But,
> apparently, I'm missing something.  The way I understand the manual,
> you use the first method of "config CUSTOM_KERNEL" and if you have
> updated the kernel sources, you have to use the second method of
> "make buildkernel KERNCONF=MYKERNEL".

Don't use the "config .. make depend" method.

The buildkernel method should work fine, but you need to follow the
instructions of UPDATING very carefully.  For instance, did you
successfully finish running "make buildworld" *before* trying to run
"make buildkernel" ?

> 
>
> >>> Kernel build for CUSTOM.01 completed on Thu Jan  9 00:22:57 CST 2003
> --
> cd /usr/obj/usr/src/sys/CUSTOM.01;  MAKEOBJDIRPREFIX=/usr/obj
> MACHINE_ARCH=i386  MACHINE=i386
> OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
> PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
> GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin
> GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font
> GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac make KERNEL=kernel
> install
> chflags noschg /kernel
> chflags: /kernel: Operation not permitted
> *** Error code 1 (ignored)
> mv /kernel /kernel.old
> mv: rename /kernel to /kernel.old: Operation not permitted
> *** Error code 1

This is most likely a result of running with kern.securelevel set too
high.  Try lowering your securelevel before running the installation
of kernel (make installkernel).

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



state of httpd is lockf...?

2003-01-09 Thread Nigel Soon
Hi all,

For a few days now I have had a few httpd(s) in a lockf state when I look
at top. What does this mean and what should I do with them? I am running
FreeBSD 4.7 with apache+mod_ssl-1.3.27.

Here is what top looks like:
  PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
27307 ns28   0  1976K  1044K RUN  0:00  5.45%  1.61% top
   96 root   2   0   608K   252K select  12:31  0.00%  0.00% natd
20802 www   18   0  9848K  6720K lockf1:06  0.00%  0.00% httpd
20800 www   18   0 10196K  7048K lockf0:57  0.00%  0.00% httpd
20798 www   18   0  9908K  6764K lockf0:57  0.00%  0.00% httpd
20943 www   18   0 10008K  6868K lockf0:56  0.00%  0.00% httpd
20945 www   18   0 10920K  7780K lockf0:56  0.00%  0.00% httpd
20801 www   18   0 10064K  6920K lockf0:55  0.00%  0.00% httpd
20799 www   18   0  9844K  6696K lockf0:48  0.00%  0.00% httpd
20804 www   18   0  9904K  6764K lockf0:46  0.00%  0.00% httpd
20805 www   18   0  9776K  6636K lockf0:44  0.00%  0.00% httpd
  144 root   2   0  2916K  1732K select   0:44  0.00%  0.00% sendmail

here is some other info that may help.
# ps waux | grep http
root  20797  0.0  1.0  7312 3968  ??  Ss   Tue06PM   0:06.41 /usr/local/sbin/htt
pd -DSSL
www   20798  0.0  1.7  9908 6764  ??  ITue06PM   0:56.74 /usr/local/sbin/htt
pd -DSSL
www   20799  0.0  1.7  9844 6696  ??  ITue06PM   0:48.18 /usr/local/sbin/htt
pd -DSSL
www   20800  0.0  1.8 10196 7048  ??  ITue06PM   0:57.00 /usr/local/sbin/htt
pd -DSSL
www   20801  0.0  1.8 10064 6920  ??  ITue06PM   0:54.59 /usr/local/sbin/htt
pd -DSSL
www   20802  0.0  1.7  9848 6720  ??  ITue06PM   1:06.22 /usr/local/sbin/htt
pd -DSSL
www   20804  0.0  1.7  9904 6764  ??  ITue06PM   0:45.63 /usr/local/sbin/htt
pd -DSSL
www   20805  0.0  1.7  9776 6636  ??  ITue06PM   0:44.01 /usr/local/sbin/htt
pd -DSSL
www   20943  0.0  1.8 10008 6868  ??  ITue06PM   0:56.30 /usr/local/sbin/htt
pd -DSSL
www   20944  0.0  1.8 10044 6904  ??  ITue06PM   0:40.37 /usr/local/sbin/htt
pd -DSSL
www   20945  0.0  2.0 10920 7780  ??  ITue06PM   0:56.19 /usr/local/sbin/htt
pd -DSSL

# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address(state)
tcp4   0 36  sundive.ssh10.0.0.3.2967  ESTABLISHED
tcp4   0  0  *.http *.*LISTEN
tcp4   0  0  *.https*.*LISTEN
tcp4   0  0  *.3306 *.*LISTEN
tcp4   0  0  *.submission   *.*LISTEN
tcp4   0  0  *.smtp *.*LISTEN
tcp4   0  0  *.ssh  *.*LISTEN
tcp46  0  0  *.ssh  *.*LISTEN
tcp4   0  0  *.ftp  *.*LISTEN
udp4   0  0  *.snmp *.*
udp4   0  0  localhost.1046 localhost.1046
udp4   0  0  *.syslog   *.*
udp6   0  0  *.syslog   *.*
udp4   0  0  *.bootpc   *.*
div4   0  0  *.natd *.*
icm4   0  0  *.**.*
Active UNIX domain sockets
Address  Type   Recv-Q Send-QInode Conn Refs  Nextref Addr
cfce4a00 stream  0  00 cfce496000 /tmp/.s.PGSQL.
5432
cfce4960 stream  0  00 cfce4a0000
cfce4b40 stream  0  0 cfe08740000 /tmp/screens/S
-ns/316.ttyp0.sundive
cfce4be0 stream  0  0 cfd9e340000 /tmp/mysql.soc
k
cfce4d20 stream  0  0 cfd5ffc0000 /tmp/.s.PGSQL.
5432
cfce4aa0 dgram   0  00 cfce4f000 cfce4dc0
cfce4dc0 dgram   0  00 cfce4f000 cfce4e60
cfce4e60 dgram   0  00 cfce4f0000
cfce4f00 dgram   0  0 cfcdf8c00 cfce4aa00 /var/run/log



Thanks,

Nigel

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: getting sound working :(

2003-01-09 Thread John Bleichert
On Thu, 9 Jan 2003, Hugo Saro wrote:
> Subject: getting sound working :(
> 
> Hey everyone.
> 
> I've tried everything i've remembered to put sound
> working on my fbsd box, but without success yet.
> 
> I read the handbook section on sound and followed
> every step. 
> 
> more /var/log/messages | grep pcm ->
> 
> 
> Jan  8 18:39:38 toaster /kernel: pcm0:  OPL-SAx> at port
> 0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-0x331,0x370-0x371
> irq 5 drq 0,1 on isa0
> 
> Its FreeBSD 4.7-STABLE w/ a kde desktop. Could anyone
> point me something to make this work? i really need
> sound on that box as i'm using it as a multimedia
> workstation.. thanks in advance.
> 

Is that *really* an ISA card? Did you follow this from the Handbook:


For a non-PnP ISA card, add:

device pcm
device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15

to your kernel configuration file. The settings shown above are the 
defaults. You may need to change the IRQ or the other settings to match 
your card. See the sbc(4) manual page for more information.


Does the sbc device show up in dmesg? PCI Soundblasters are about $20 
right now ...

Good luck!

JB


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



vinum: bringing online a replacement disk ...

2003-01-09 Thread Marc G. Fournier

first off, if there is a doc I haven't found on this, please direct me to
it ... google seems to be drawing alot of docs, but none seem appropriate
...

I just had a drive go south ... so we got a replacement drive in, hot
swap'd the old out, new in ... I've been able to disklabel the drive, so
that it matches the config of the rest of the drives in the RAID5 array
... but for the life of me, I can't figur eout how to get vinum to
recognize (and re-init) the new drive ...

a vinum start just tell sme the drive is down ... so I'm guessing i have
to somehow do similar to the original create, to get the appropraite info
onto the drive?

I'm afraid of 'vinum init', but is 'vinum init jaildev.p0.s12' what I'm
looking for here?

thanks ...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kazaa on bsd

2003-01-09 Thread Adam Maas
I'm afraid not. I had it before I converted my old Slack box to FreeBSD
4.6rc2, but I blew away that install.

--Adam

- Original Message -
From: "lewiz" <[EMAIL PROTECTED]>
To: "Adam Maas" <[EMAIL PROTECTED]>
Cc: "Wayne Swart" <[EMAIL PROTECTED]>; "FreeBSD Mailing list"
<[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 2:25 PM
Subject: Re: kazaa on bsd




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



getting sound working :(

2003-01-09 Thread Hugo Saro
Hey everyone.

I've tried everything i've remembered to put sound
working on my fbsd box, but without success yet.

I read the handbook section on sound and followed
every step. 

more /var/log/messages | grep pcm ->


Jan  8 18:39:38 toaster /kernel: pcm0:  at port
0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-0x331,0x370-0x371
irq 5 drq 0,1 on isa0

Its FreeBSD 4.7-STABLE w/ a kde desktop. Could anyone
point me something to make this work? i really need
sound on that box as i'm using it as a multimedia
workstation.. thanks in advance.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Older versions

2003-01-09 Thread Shantanu Mahajan
+++ Nathan Kinkade [freebsd] [07-01-03 14:54 -0800]:
| - --ZfOjI3PrQbgiZnxM
| Content-Type: text/plain; charset=us-ascii
| Content-Disposition: inline
| Content-Transfer-Encoding: quoted-printable
| 
| On Tue, Jan 07, 2003 at 02:30:57PM -0700, [EMAIL PROTECTED] wrote:
| > I have a VERY, VERY old laptop (1.9 Megs of memory IBM), and I was=20
| > wondering if I could get FreeBSD 1 for it. If so, where? Thanks!=20
| >=20
| > lattera
| >=20
| > To Unsubscribe: send mail to [EMAIL PROTECTED]
| > with "unsubscribe freebsd-questions" in the body of the message
| 
| What type of processor does it have?  1.9MB of RAM is not very much.
| Even PicoBSD, the single floppy version of FreeBSD, would like to have
| 8MB of memory.  I have serious doubts that you will be able to get
| virtually anything to run in 1.9MB of memory.  I could be wrong, and if
| someone knows of a tiny OS that will run under these conditions I'd be
| curious to know about it.  I have recently been looking around at some
| tiny Linux installations, but even those absolutely require at least 4MB
| of memory.
| 
| Nathan
| 
maybe any version of DOS?

Regards,
Shantanu
-- 
Everyone is a genius.  It's just that
some people are too stupid to realize it. 




msg14866/pgp0.pgp
Description: PGP signature


Re: kazaa on bsd

2003-01-09 Thread lewiz
On Thu, Jan 09, 2003 at 10:05:47AM -0500, Adam Maas wrote:
> Kazaa for Linux undr Linux emulation?

This is very interesting.  I remember reading about the Linux client
some time ago but when I searched I found little.  It seemed that KaZaA
had discontinued the Linux client.  Do you have any more details (or
even a copy of the original Linux client)?

  Many thanks,

-lewiz.

-- 
Learning French is trivial: the word for horse is cheval, and
everything else follows in the same way.
-- Alan J. Perlis

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg14865/pgp0.pgp
Description: PGP signature


Re: FreeBSD and AMD power management

2003-01-09 Thread Mark
- Original Message -
From: "Matthew Seaman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 9:54 AM
Subject: Re: FreeBSD and AMD power management


> Try the ports/sysutils/fvcool port ---
> http://www.nt.phys.kyushu-u.ac.jp/shimizu/
>
> Using it has cut the average CPU temperature on my system from
> about 70C to about 50C.

It looked interesting; so I checked it out. Then it turns out this
power-safe mode on your AMD CPU is disabled by default for a good reason: it
makes your system unstable, and/or causes it to hang. Then cool is suddenly
not so cool anymore. :(

- Mark


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Cisco Aironet PCI card - Working but Flaky

2003-01-09 Thread Wayne Pascoe
Hi all,

I've tried the Cisco wireless card and it works to a point. I've used
ifconfig to configure the an0 device, and it manages to join the
network. 

However, I'm having problems with the speed.

When I first tried using the if_an.ko module, I got the following in
my messages file:

Jan  9 18:32:11 ford /kernel: an0:  port
0x9400-0x943f,0x9000-0x907f mem 0xde00-0xde7f irq 10 at device
13.0 on pci0
Jan  9 18:32:11 ford /kernel: an0: Ethernet address: 00:40:96:5a:17:97
Jan  9 18:32:11 ford /kernel: sio1: configured irq 3 not in bitmap of
probed irqs 0

The sio1 message happened every time I loaded the module, even though
I don't have a com2 port (disabled in bios).

I then compiled the an driver into the kernel and tried again. The
sio1 message went away, but I was still having horrifically slow ping
times to another machine on the network (anywhere from 400ms to
1000ms). I was also getting frequent an0: device timeout messages and
I would have to reinit the device before it would work again. I
checked IRQ's and it was sharing an IRQ with my USB device.

I then installed my ethernet card back into the system and now the
Aironet gets an IRQ of 12 (shared with sound card). Ping times and
packet loss are now _marginally_ better, but I'm still seeing anywhere
between 32 and 243 ms ping response times
64 bytes from 192.168.10.1: icmp_seq=4 ttl=64 time=61.749 ms
64 bytes from 192.168.10.1: icmp_seq=5 ttl=64 time=243.926 ms
64 bytes from 192.168.10.1: icmp_seq=6 ttl=64 time=16.505 ms
64 bytes from 192.168.10.1: icmp_seq=7 ttl=64 time=83.430 ms

I've moved these machines quite close together and abaout a room apart
yet it makes no difference.

Any advice on troubleshooting this would be _much_ appreciated.

Regards,

-- 
- Wayne Pascoe 
Wageslaves - Who do you want to make rich
today?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: anyone tried KDE 3.1?

2003-01-09 Thread Lauri Watts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 08 January 2003 22:03, Andrew Y Ng wrote:
> I'm highly interested in a few new features in KDE 3.1, like
> tabbed-browsing support in Konqueror, and the new MS Exchange 2000 plugin
> for the konganizer. if that stuff works well I don't need Linux at work
> (now I need it for Ximian Connector).
>
> I'm wondering if anyone here tried to compile KDE 3.1, maybe somebody from
> the freebsd KDE team can give us some headsup for their progress?

It's ready to go when 3.1 is released.  The changelog is already on the KDE 
website, so there's little point repeating it here :)

None of the features listed are known to be in a non-working state on FreeBSD.  
This time round, we've done extensive testing on -CURRENT as well as  

Some of the Safari code is already in, more being added almost by the minute.  
Don't expect to see that in 3.1 though, most of it will probably be in KDE 
3.1.1 rather than 3.1  (a month to 6 weeks after a major release, we usually 
make a bugfix only release, this time there will be a few feature 
improvements plugged in, notably these.)  These are changes made in a very 
different environment, rushing them in and not testing wouldn't be a great 
idea, but 

The Kolab server (Exchange Server replacement) is a standalone, not part of 
KDE proper, and is definitely high on the list for getting into ports, it is 
however, still a work in progress, and I personally would prefer to wait 
until it's not quite such a moving target.  It's going to take quite some 
environment to test it, it's pretty hard to know if a groupware server is 
working right without setting up a workgroup and using it, so that takes 
time.  The client side groupware stuff is nearly there, sharing calendars is 
perfect, and I can tell you that the the development versions for 3.2 are 
supporting imap, and disconnected imap, sieve, ldap, and much more.  You can 
read about all that stuff on KDE's own sites but it's really coming along 
amazingly nicely if you're in need of groupware stuff.  

Once KDE 3.1 is out the door, we'll turn the package building cluster back to 
doing CVS builds, and you're welcome to help test them, drop by the IRC 
channel or on the mailing list, or keep an eye on our website (in my sig.)

Regards,
- -- 
Lauri Watts
KDE Documentation: http://i18n.kde.org/doc/
KDE on FreeBSD: http://freebsd.kde.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Hceg/gUyA7PWnacRAua/AKCHEQRhMfjuoAHtCde48CybZJG1YQCgiFpo
Qn08Gl1vMaaav/hXQyQ/N14=
=svf2
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: DNS and DHCPD

2003-01-09 Thread Samuel Chow

- Original Message -
From: <[EMAIL PROTECTED]>

> I was wondering how to set the domainname servers option in my dhcpd.conf
> dynamically. Like, it would get edited each time upon bootup, and before
> dhcpd even loads.

If I understand this correctly, you want the DNS server
IP address received from your ISP by dhclient to be propagated
to all your machines on your internal network.

man dhclient-script

Whenever dhclient receives new configuration, it will call
exit-hook.  Update your dhcpd.conf at that point and restart
dhcpd.

You do realize you cannot push the new configuration out to
your other machines.  They only receive the new configuration
when they renew their lease.

Hope this helps.

---
Samuel Chow
[EMAIL PROTECTED]

This message is displayed using recycled electrons.
Segmentation Fault (core dumped)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Renaming files with spaces in the name to files without spaces..

2003-01-09 Thread parv
in message <[EMAIL PROTECTED]>,
wrote Stijn Hoop thusly...
>
> On Fri, Jan 10, 2003 at 01:49:18AM +1030, Rob wrote:
> > > If you want to do it for all files in a directory:
> > >
> > > # for file in *; do mv "$file" `echo $file | sed -e 's/ /_/g'`; done
  ^ ^
  ^ ^
> > >
> > But if you do this, won't the spaces be mistaken for filename
> > separators?
> 
> No, he has quotes around his $file, and the `` part replaces
> spaces, so this should work.

notice that $file is not enclosed in the sub shell (in between 
``) as an argument to echo.  if the $file happens to have end
blanks, they will be eaten up.  try...

  f=' p q r '; echo $( echo $f | sed 's/ /_/g' )


...output /should/ have been '_p_q_r_', but is 'p_q_r'.


> $ touch "a b" c
> $ for i in *; do echo "arg $i endarg"; done
^ ^
^ ^
> arg a b endarg
> arg c endarg

notice that you have enclosed the string to echo in double quotes,
which preserves the spaces.


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: help

2003-01-09 Thread jeremy
sorry folk did now

thanks for the help it compiiles now what the problem was that  a combo of
what u's said and that i was trying to compile it wroung  so thank u very
much for the help

bill the device that was the problem that was not u wuold not have calt was
that i didn't have the libs i needed i think


thank u Jeremy



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Drgenius with gnome2

2003-01-09 Thread Joe Marcus Clarke
On Thu, 2003-01-09 at 11:48, P. U. Kruppa wrote:
> Hi!
> 
> Has anyone tried to run DrGenius on FreeBSD with gnome2 ?

Nope.

> 
> DrGenius is an intuitive geometry system, that might be
> interesting for students (More information on
> http://www.ofset.org/drgenius/ml.html ).
> 
> I could do
> # ./configure
> successfully, but
> # ./gmake
> fails.

How does it fail?

Joe

> 
> Regards,
> 
> Uli.
> 
> *---*
> *Peter Ulrich Kruppa*
> *  -  Wuppertal -   *
> *  Germany  *
> *---*
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: tweaking the wheel on a cordless logitech mouse

2003-01-09 Thread Dr. Richard E. Hawkins
On Thu, Jan 09, 2003 at 12:52:42PM -0500, John Bleichert wrote:
> On Thu, 9 Jan 2003, Dr. Richard E. Hawkins wrote:

> For what it's worth, I was never able to get my wheel working with 
> /dev/sysmouse. I use:

>  /dev/ums0 (USB mouse), or
>  /dev/psm0 (PS/2 mouse)

> and it works fine with protocoal 'auto'. Note that I don't use moused or 
> imwheel at all.

Hmm, that did it.  I'll keep it; thanks.

Oh, and it's only 5 buttons, on 45, for X in XF86Config.  That might
account for some of the other weirdness I suffered.

thanks

hawk


-- 
Richard E. Hawkins, Asst. Prof. of Economics/"\   ASCII ribbon campaign
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700  \ /   against HTML mail
These opinions will not be those of  Xand postings. 
Penn State until it pays my retainer.   / \   

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: replacement for byteorder.h ? (re olvwm(1))

2003-01-09 Thread richard childers / kg6hac
As is so often the case, articulating the problem led to a
resolution; it looks like linking sys/byteorder.h to machine/endian.h
is an effective workaround.

Still working on olvwm, though; it complains, now, about conflicting
definitions of sys_errlist[] and wchar_t ... aiyah.

Hope this helps someone else, down the line.


-- richard


richard childers / kg6hac wrote:

> I'm trying to compile olvwm(1), v4.4, for FreeBSD 4.6 on an i386
> box.
>
> It's looking for sys/byteorder.h and not finding it.
>
> My research indicates that linking sys/byteorder.h to
> netinet/in.h doesn't work. (It was a workaround suggested on one
> of the URLs I read.)
>
> I understand the issues being addressed here - they are
> fundamental, big-endian versus little-endian architectures.
> However, I do not normally have the time and leisure to explore
> such interesting topics (unemployment, properly treated, can be
> the equivalent of what, in more scholastic environments, are
> referred to as 'going on sabbatical' :-); I am trying to make
> effective use of this precious period of free study.
>
> For what it's worth, xview and xview-ports are both installed
> without problems; I have olwm(1), I just want olvwm(1), it's my
> preferred 'vwm, very useful for keeping work segmented onto
> different desktops according to system or window role
> (development servers on *this* desktop, production servers on
> *that* desktop, network analysis tools on *these* three desktops,
> email over here, and HTTP clients on these four desktops at the
> bottom, for instance - stretch as needed).
>
> I'm going to use my buddy find(1) to search for files containing
> strings referencing 'endian' and ending in '.h' (or '.c', to see
> what's being included, if my first efforts fail), and I haven't
> given up on figuring this out myself, but thought I'd inquire of
> others whom might face these issues on a daily, rather than
> decade-periodic, basis, in the hopes that I'd save myself a few
> hours (or days), and maybe learn something, too.
>
> Thanks in advance,
>
> -- richard


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread Toomas Aas
Hi!

> I have successfully compiled a new kernel once already on a new install of
> FreeBSD 4.7-RELEASE.  Since then, I have run cvsup and portupgrade.  

What did you download with cvsup? The system sources or the ports tree? 

> Now, I need to recompile the kernel again.  But, I'm running into
> errors.  I have been following the handbook.  But, apparently, I'm
> missing something.  The way I understand the manual, you use the
> first method of "config CUSTOM_KERNEL" and if you have updated the
> kernel sources, you have to use the second method of "make
> buildkernel KERNCONF=MYKERNEL".

If you indeed downloaded the system sources with cvsup, then just 
recompiling the kernel does you no good, since you'll be left with new 
kernel and old userland programs, which won't work together (at least 
not in usable way). You need to rebuild the entire OS, as described in 
the Handbook chapter 21 ("using make world"). Portupgrade has nothing 
to do with it.

> 
> 
> >>> Kernel build for CUSTOM.01 completed on Thu Jan  9 00:22:57 CST 2003
> --
> cd /usr/obj/usr/src/sys/CUSTOM.01;  MAKEOBJDIRPREFIX=/usr/obj
> MACHINE_ARCH=i386  MACHINE=i386
> OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec
> PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
> GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin
> GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font
> GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac make KERNEL=kernel
> install
> chflags noschg /kernel
> chflags: /kernel: Operation not permitted
> *** Error code 1 (ignored)
> mv /kernel /kernel.old
> mv: rename /kernel to /kernel.old: Operation not permitted
> *** Error code 1

This looks like the new kernel was actually compiled but installing it 
failed. If you haven't followed the "make world" procedure then the 
system has actually protected you from shooting yourself in the foot, 
because, as I said, running new kernel with old userland programs is no 
good. You need to build the new userland first


--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* RUNTIME ERROR 6D at 417A:32CF : Incompetent user


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Cisco Aironet PCI card - Supported ?

2003-01-09 Thread Kevin
I use the PCMCIA version of the 350 in my laptop running 4.7-stable
without problems.  I would expect the PCI version to work as well.  You
are correct in that it uses the an driver.

Kevin

On 09 Jan 2003 16:42:38 +
Wayne Pascoe <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> Does anyone know if the Cisco Aironet 350 series PCI card works under
> FreeBSD-STABLE ? 
> 
> From what I can see in GENERIC and LINT, it looks like the 4500/4800
> is supported as device an. 
> 
> Anyone know for sure though? 
> 
> TIA,
> 
> -- 
> - Wayne Pascoe 
> Win if you can. Lose if you must. But
> always cheat!
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: kernel won't compile

2003-01-09 Thread John Bleichert
On Thu, 9 Jan 2003, Darren wrote:
> I have successfully compiled a new kernel once already on a new install of
> FreeBSD 4.7-RELEASE.  Since then, I have run cvsup and portupgrade.  Now, I
> need to recompile the kernel again.  But, I'm running into errors.  I have
> been following the handbook.  But, apparently, I'm missing something.  The
> way I understand the manual, you use the first method of "config
> CUSTOM_KERNEL" and if you have updated the kernel sources, you have to use
> the second method of "make buildkernel KERNCONF=MYKERNEL".  I used the first
> method before running cvsup and it worked.  I looked at /usr/src/UPDATING.
> For recompiling, it basically looks like the second method in the FreeBSD
> handbook.  So, I tried compiling both ways.  I tried deleting my CUSTOM
> sources and copying GENERIC back to CUSTOM and starting over.  But, it still
> craps out.
> 
> Could someone tell me what I'm doing wrong??
> 
> Thanks,
> Darren
> 


Did you make installworld and buildworld before trying to build a kernel 
agains the new source?


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



replacement for byteorder.h ? (re olvwm(1))

2003-01-09 Thread richard childers / kg6hac
I'm trying to compile olvwm(1), v4.4, for FreeBSD 4.6 on an i386
box.

It's looking for sys/byteorder.h and not finding it.

My research indicates that linking sys/byteorder.h to
netinet/in.h doesn't work. (It was a workaround suggested on one
of the URLs I read.)

I understand the issues being addressed here - they are
fundamental, big-endian versus little-endian architectures.
However, I do not normally have the time and leisure to explore
such interesting topics (unemployment, properly treated, can be
the equivalent of what, in more scholastic environments, are
referred to as 'going on sabbatical' :-); I am trying to make
effective use of this precious period of free study.

For what it's worth, xview and xview-ports are both installed
without problems; I have olwm(1), I just want olvwm(1), it's my
preferred 'vwm, very useful for keeping work segmented onto
different desktops according to system or window role
(development servers on *this* desktop, production servers on
*that* desktop, network analysis tools on *these* three desktops,
email over here, and HTTP clients on these four desktops at the
bottom, for instance - stretch as needed).

I'm going to use my buddy find(1) to search for files containing
strings referencing 'endian' and ending in '.h' (or '.c', to see
what's being included, if my first efforts fail), and I haven't
given up on figuring this out myself, but thought I'd inquire of
others whom might face these issues on a daily, rather than
decade-periodic, basis, in the hopes that I'd save myself a few
hours (or days), and maybe learn something, too.

Thanks in advance,


-- richard




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: tweaking the wheel on a cordless logitech mouse

2003-01-09 Thread John Bleichert
On Thu, 9 Jan 2003, Dr. Richard E. Hawkins wrote:

> 
> Section "InputDevice"
> Identifier  "Mouse0"
> Driver  "mouse"
> Option  "Protocol" "auto"
> Option  "Device" "/dev/sysmouse"
> Option  "Buttons" "6"
> #Option "Emulate3Buttons" 
> #Option "Emulate3Timeout" "50"
> Option  "ZAxisMapping""5 6"
> 
> EndSection
> 
> I've also installed imwheel, which is running.  But still no wheel.
> 


For what it's worth, I was never able to get my wheel working with 
/dev/sysmouse. I use:

 /dev/ums0 (USB mouse), or
 /dev/psm0 (PS/2 mouse)

and it works fine with protocoal 'auto'. Note that I don't use moused or 
imwheel at all.

HTH - JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: help! Problems with TAR archives?

2003-01-09 Thread Phillip Smith


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Phillip Smith
> Sent: January 9, 2003 10:23 AM
> To: 'Greg 'groggy' Lehey'
> Cc: [EMAIL PROTECTED]
> Subject: RE: help! Problems with TAR archives?
[snip]
> > What does tar t tell you on the FreeBSD side?
> 
> tar: Hmm, this doesn't look like a tar archive.
> tar: Skipping to next file header...
> tar: only read 521 bytes from archive etc.rein.tar
> 
> Also, I tried re-creating the problem. Exact same scenario. 
> Created a new TAR archive, ftp'd from FreeBSD to Window (not 
> specifying a setting), then used 'get' to bring them back to 
> FreeBSD and the archives are fine. So, I'm thinking that the 
> original archives are corrupt...
> 

I've tried a few other scenarios and this is what I've discovered...

- I'm using tar -zcpvf filename.tar.gz targetdir to create the archive
- using any variation of tar -zxpvf gets the messages I've outlined
above
- same if I gunzip the archive first, then try tar -xpvf

So I tried on some new tar files, only transfering from BSD to BSD and
found that, for some reason, I'm getting the same error (e.g. tar with
zcpvf and ftp/binary from BSD to BSD). Now I'm confused.

So, I repeat the same process without the gzip (tar cpvf and ftp/binary
from BSD to BSD), and presto the archives are fine. I would assume from
this, that I'm doing something wrong with the gzip? Or that gzip is
doing something funny.

Any thoughts?

p.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Mount root fails after clean install of FreeBSD 4.7

2003-01-09 Thread Oscar Ricardo Silva
I have a motherboard with two onboard Promise ATA66 controllers.  The hard 
drive is a Seagate ST380021A, connected as the master on the first Promise 
controller, referenced as ad4.  I have attempted to do a clean install, 
creating one FreeBSD slice on the entire disk.  I set the slice bootable 
and I install a Standard MBR on it.  After this I do a full install of 4.7, 
do the post-install configuration, but when the machine reboots I get 
prompted to mount the root.  For some reason, the machine is attempting to 
mount the root from ad0s1a instead of ad4s1a.  At the mountroot prompt I do 
enter:

mountroot> ufs:/dev/ad4s1a

and the machine continues booting without problem.  Here is the dmesg output:


atapci1:  port 
0xe800-0xe83f,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 mem 
0xe000-0xe001 irq 9 at device 14.0 on pci0
ata2: at 0xd800 on atapci1
ata3: at 0xe000 on atapci1
...
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ad4: 76319MB  [155061/16/63] at ata2-master UDMA66
acd0: CDROM  at ata1-master PIO4
Mounting root from ufs:ad0s1a
Root mount failed: 6
Mounting root from ufs:ad0a
Root mount failed: 6

Manual root filesystem specification:
  :  Mount  using filesystem 
   eg. ufs:/dev/da0s1a
  ?  List valid disk boot devices
 Abort manual input

mountroot> ufs:/dev/ad4s1a
Mounting root from ufs:/dev/ad4s1a




There is only the Seagate hard drive in the computer, no others.  I don't 
know why it's looking for anything on ad0.  There are the correct devices 
listed in  /dev :

/dev/ad4
/dev/ad4s1
/dev/ad4s1a
/dev/ad4s1b
/dev/ad4s1c
/dev/ad4s1d
/dev/ad4s1e
/dev/ad4s1f
/dev/ad4s1g
/dev/ad4s1h



and /etc/fstab references all the right devices:

# See the fstab(5) manual page for important information on automatic mounts
# of network filesystems before modifying this file.
#
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s1b noneswapsw  0   0
/dev/ad4s1a /   ufs rw  1   1
/dev/ad4s1e /boot   ufs rw  2   2
/dev/ad4s1h /home   ufs rw  2   2
/dev/ad4s1g /tmpufs rw  2   2
/dev/ad4s1d /usrufs rw  2   2
/dev/ad4s1f /varufs rw  2   2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
proc/proc   procfs  rw  0   0



In case it helps, here is how I labeled and sized the filesystems (listed 
in order of creation during the install):

/boot		50M
/		1500M
swap		1024M
/var		5000M
/tmp		1000M
/home		5000M
/usr		6M



Any information would be appreciated.



Oscar


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


  1   2   >