Re: Sound failures after upgrade to KDE 3.2

2004-02-12 Thread Kent Stewart
On Wednesday 11 February 2004 11:24 pm, Michael Dunham wrote:
> I am getting sound failures now after upgrading to KDE 3.2.  I get
> /dev/dsp warnings on load and XMMS fails to pick up streams now
> saying the sound card is held by another application.
>
> I see this is a common error but as yet all I am finding is the debug
> commands to try and no clear direction on what to change.  Thanks for
> any thoughts you can offer.

Do you have the latest versions. There was an update to start a wrapper 
for arts to let it run realtime.

Kent

>
> I can run KsCD and it runs fine.
>
> On startx
> device /dev/dsp/ device busy
>
> # sysctl -a |grep snd
> hw.snd.targetirqrate: 32
> hw.snd.report_soft_formats: 1
> hw.snd.verbose: 1
> hw.snd.unit: 0
> hw.snd.maxautovchans: 0
> hw.snd.pcm0.buffersize: 4096
> hw.snd.pcm0.vchans: 0
>
> Trying to start artsd manually from the konsole as su:
> # artsd -lO -F10 -S4096
> artsd version is 1.1.4
> gsl: using Unix98 pthreads directly for mutexes and conditions
> autodetecting driver:
>  - toss: 4
>  - null: -1
>  - oss: 10
> ... which means we'll default to oss
> Error while initializing the sound driver:
> device /dev/dsp can't be opened (Device busy)
>
> I'm running 5.1 current.
> My sound device shows as:
> grep pcm /var/run/dmesg.boot
> Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06fd350.
> pcm0:  on sbc0
>
> and
> # ls /dev/au*
> /dev/audio0.0   /dev/audio0.1
> # ls /dev/ds**
> /dev/dsp0.0 /dev/dspW0.0/dev/dspr0.0
> /dev/dsp0.1 /dev/dspW0.1
> # ls /dev/mixer*
> /dev/mixer0
>
>
> Running from the Konsole command line works
> # cdcontrol -f /dev/acd0c play 1
>
> it was working on XMMS and KSCD before the upgrade.
>
>
> On the first boot, I got this probably unrelated failure
> KNotify failed
> DBUG says:
> (no debugging symbols found)...[Switching to Process 554, Thread 1]
> 0x291d9883 in poll () from /usr/lib/libc.so.5
> #0  0x291d9883 in poll () from /usr/lib/libc.so.5
> #1  0x29067651 in _thread_kern_sched_state_unlock () from
> /usr/lib/libc_r.so.5 #2  0x29067050 in _thread_kern_scheduler () from
> /usr/lib/libc_r.so.5

-- 
Kent Stewart
Richland, WA

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


RE: /usr/src/sys/dev/aic7xxx errors when compiling

2004-02-12 Thread Didier WIROTH
> >Hi, thanks for answering
> >I'm using this in make.conf
> >COPTFLAGS= -O2 -pipe -funroll-loops
> >CFLAGS= -O3 -pipe -funroll-loops

Thx for answering.

But... hmm..., I'm not using -O3 for the kernel, or at least I thought I
wasn't!?

When using COPTFLAGS in make.conf, isn't CFLAGS ignored when building the
kernel?
I build the kernel with:
make -j2 buildkernel KERNCONF=MYKERNEL

Does it mean that COPTFLAGS & CFLAGS are actually merged?!
This:
COPTFLAGS= -O2 -pipe -funroll-loops
CFLAGS= -O3 -pipe -funroll-loops

Results in this: 
gcc -O2 -O3 -pipe -funroll-loops 
 
thx

> This is because using -O3 adds the option -finline-functions. 
> You should only use -O when compiling the kernel and that's 
> all that is actually supported.
> 
> --roop
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"

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


Re: /usr/src/sys/dev/aic7xxx errors when compiling

2004-02-12 Thread den
You are right - only COPTFLAGS used when you compiling the kernel.
BUT YOU should note that when you compile the kernel you don't compile  
only it !
You also compile many modules . You have problem namely with module.
So

COPTFLAGS= -O2 -pipe -funroll-loops

has affect only on kernel. But

CFLAGS= -O3 -pipe -funroll-loops

will be used for compiling your modules. In other words kernel will be optimized
with -O2 , but modules will be optimized with -O3.
Actually you don't have problem with compiling your KERNEL. You have problem
with compiling some modules.
My solution actually - compiling with option -O2 such modules that cannot be compiled 
with -O3  .
All other modules I has compiled with -O3.
Didier WIROTH wrote:

Hi, thanks for answering
I'm using this in make.conf
COPTFLAGS= -O2 -pipe -funroll-loops
CFLAGS= -O3 -pipe -funroll-loops
 

Thx for answering.

But... hmm..., I'm not using -O3 for the kernel, or at least I thought I
wasn't!?
When using COPTFLAGS in make.conf, isn't CFLAGS ignored when building the
kernel?
I build the kernel with:
make -j2 buildkernel KERNCONF=MYKERNEL
Does it mean that COPTFLAGS & CFLAGS are actually merged?!
This:
COPTFLAGS= -O2 -pipe -funroll-loops
CFLAGS= -O3 -pipe -funroll-loops
Results in this: 
gcc -O2 -O3 -pipe -funroll-loops 

thx

 

This is because using -O3 adds the option -finline-functions. 
You should only use -O when compiling the kernel and that's 
all that is actually supported.

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

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



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


Re: SMBFS VFS.USEROMUNT BUG OR MY STUPIDITY?

2004-02-12 Thread anubis
On Wed, 11 Feb 2004 10:00 pm, Edd Barrett wrote:
> Hi there. I think i may have discovered a bug in free bsd 5.2-RELEASE, it
> may be in earlier versions too, but I have not tried it (maybe someone
> running 4.x could try it)
>
> I have made an fstab entry and nsmbrc file for a smb share. vfs.usermount
> is set to 1.
> A normal user (me in this case (edd)) can mount a cdrom drive (on a dir
> owned by him):
>
> mount /home/edd/cdrom
> umount /home/edd/cdrom
>
> this returns no errors and proves that vfs.usermount is working for cd9660
> fs.
>
> mount /home/edd/rhome
>
> works fine... but
>
> umount /home/edd/rhome
>
> does NOT work. (permission denied) Is this a bug or am I being dumb?
>
> Thanks!
>
Let me ask the obvious.  Are you seeing anything in the logs?  You dont happen 
to have /home/edd/home as your current directory when you try and dismount?
Have you tried umount -v or umount -f?

I had a similar problem but i cant quite recall how i solved it.  Ill look at 
that machine in the next few days and see.

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


Re: firefox build fails

2004-02-12 Thread Marie-Lan Nguyen
11/02/04 A.D. Goodleaf, John M scripsit:
> 
> gmake[1]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/embedding/browser/gtk'
> 
> The next line is just:
> 
> *** Error code 1
> 
> Any thoughts on what to do now?

Had the same problem yesterday despite ports modifications. 
Try 'make -i install', it worked for me.

-- 
Marie-Lan Nguyen
"I have only two things to say to you, Lord Tilbury. One is that you
have ruined a man's life. The other is Pip-pip." (P.G. Wodehouse)


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


Re: firefox build fails

2004-02-12 Thread Joe Marcus Clarke
On Thu, 2004-02-12 at 04:23, Marie-Lan Nguyen wrote:
> 11/02/04 A.D. Goodleaf, John M scripsit:
> > 
> > gmake[1]: Leaving directory
> > `/usr/ports/www/firefox/work/mozilla/embedding/browser/gtk'
> > 
> > The next line is just:
> > 
> > *** Error code 1
> > 
> > Any thoughts on what to do now?
> 
> Had the same problem yesterday despite ports modifications. 
> Try 'make -i install', it worked for me.

This was fixed in firefox-0.8_2.  You should re-cvsup your ports tree
and build again.

Joe

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


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


freebsd samba port problem

2004-02-12 Thread Thomas May
Hi,

 

the samba-devel port has a problem, because version 3.0.1 is not longer
available on samba ftp. the new version is 3.02 and the port stops
downloading

 

regards

thomas


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


CUPS on 5.2 HELP...

2004-02-12 Thread Ana Velasco

Hi,

I am about 3 weeks now trying to get Cups to work with no luck.
First, I am sorry about my Enghish writing but I am from brazil.
Well, I did an upgrade from 5.1 to 5.2, and the Cups sceme thet they had
working here I cant make it work now.

I have cups runnig in a application server (agata) and a HP OfficeJet R45 on
another machine (opala), all the clients mount agata's /usr/local and
/var/db/pkg and all have cups started.

After setting in printers.conf opala as the server, I added a printer on
agata. In the /printers dir of the web interface of each machine, I see all
the printers detected and poiting the themselves.

I can print a test page from agata's web interface but not from the other clients.

I don't know what else to do, please sombody help me or just give me an idea
of what can I try next.
If you guys need more info, please let me know.
Thanks in advance.


--
Open WebMail Project (http://openwebmail.org)

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


RE: 5.2.1 - KDELibs and total freeze-up

2004-02-12 Thread Graeme Smith
The same thing happened to me on a PII Siemens laptop last night.  At the
time I figured it was just a heat issue, but perhaps there is more to it.  I
hard booted it and just let make carry on.  I can't tell if there is a
problem running KDE 3.20 yet as it's not finished compiling...  It was
definitely kdelibs where it froze though.

KDE-3.1.4 > KDE-3.20 on 5.2

Good Luck!

Graeme

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris
> Sent: 12 February 2004 4:24 am
> To: FreeBSD Questions
> Subject: 5.2.1 - KDELibs and total freeze-up
>
> Well folks, 
> 
>   Like the subject states - is anyone having this issue 
> when portupgrading 
> KDE-3.1.4 to KDE-3.20 (kdelibs) under 5.2.1?
> 
>   Some stats, I'm using an AthelonXP 2100 and the mb type 
> fleas my thought 
> process at the moment.  In any event, portupgrade hums along 
> then nada - 
> total freeze. 
> 
>   I'm forced to hard boot the box.
> - -- 
> Best regards,
> Chris
> 

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


Re: How to safely merge two slices on harddisk?

2004-02-12 Thread Rob
Jerry McAllister wrote:

In any case, do not use /stand/sysinstall for this.   You need more direct 
control and should use disklabel directly.   As mentioned in my previous 
posting use the command  
 'disklabel -e -r asd1s1'  
and then edit the tmp file 
Malcolm Kay wrote:
>
> A good chance it will work -- but pre-existing 'f' and 'g' data is lost.
Thank you guys for your help.
I actually did use sysinstall (sorry, Jerry) and mission is accomplished.
Yes, indeed, I lost the data is the two merged partitions 'f' and 'g', but
that was no problem; I needed to keep the data in all other partitions.
Sysinstall did all that for me.
Meanwhile I learned a lot more about disklabel, thanks to your comments.
Great and many thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ports files

2004-02-12 Thread Jonathan Arnold
My port hierarchy seems to have gotten out of date or something.
It is missing some subdirectories, like multimedia, even though I
run cvsup every other night on it.
Can I just download the whole ports from :

ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz

and then just untar it into /usr/ports? And then cvsup should pick
up updates that come after that? Or will I confuse cvsup?
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Standby mode for monitor.

2004-02-12 Thread Malcolm Kay
I'd like to be able to switch the monitors on a number of
our computers into standby mode from a software program
running on a virtual console; and wakeup either when a key is 
pressed or when the program has new information to display.

I can probably manage to control blank screen savers but I
would prefer to power down the displays to standby modes.

The machines are those small size 'kitchen computer' VIA 
based cubes (almost). The monitors are LCD displays.

Are there ioctls to help with this?
How do I go about it?

All ideas welcomed.

Malcolm Kay

Dmesg -->

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #1: Mon Sep  8 11:54:33 CST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/PCISIO
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 800033673 Hz
CPU: VIA C3 Samuel 2 (800.03-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x673  Stepping = 3
  Features=0x803035
real memory  = 259981312 (253888K bytes)
avail memory = 248987648 (243152K bytes)
Preloaded elf kernel "kernel" at 0xc03e9000.
Preloaded elf module "blank_saver.ko" at 0xc03e909c.
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00fdf20
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at 0.0 irq 11
isab0:  at device 17.0 on pci0
isa0:  on isab0
atapci0:  port 0xd000-0xd00f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port 0xd400-0xd41f irq 5 at device 17.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xd800-0xd81f irq 5 at device 17.3 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
chip1:  at device 17.4 on pci0
chip2:  port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 10 
at device 17.5 on pci0
vr0:  port 0xe800-0xe8ff mem 0xeb00-0xebff 
irq 11 at device 18.0 on pci0
vr0: Ethernet address: 00:40:63:cb:8b:f0
miibus0:  on vr0
ukphy0:  on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
puc0:  port 0xec00-0xec1f irq 12 at device 20.0 on pci0
sio0: type 16550A
sio1: type 16550A
orm0:  at iomem 0xc-0xcbfff on isa0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio2 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio2: type 16550A
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ad0: 78167MB  [158816/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is ZoneEdit.com any good

2004-02-12 Thread JJB
Setting up my own web site for public internet access.
My ISP blocks port 80.
Planning on using ZoneEdit.com for dyndns because I have dynamic
IP address and the need to re-direct port 80 to different port
number
to get past my ISP blocking. All ready have registered domain name.

Looking for comments about your experiences with them, good or bad,
on reliability, billing, speed of their email forwards, ease of use,
or anything you thing I need to know about them.

Any recommendations on what new web port number to use to stay under
my ISP's radar and hidden.  ZoneEdit says an port number between
6000 to 8000 is an good hiding place.

What is your thoughts about that?

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


Re: FreeBSD and sendmail...

2004-02-12 Thread Ed Budd
Jason:

Keep in mind that the "bat book" is the definitive reference on sendmail
but also written to cover the widest possible user base as far as OS is
concerned. Keep it handy and refer to it often for getting to know all
the available options, rulesets, header formats, etc. but read it with
this in mind.

What you really want is FreeBSD-specific information. For that, as
always, refer to the FreeBSD Handbook. I
believe it has almost a step-by-step on "smtp authentication" using
cyrus-sasl. I've also found the cyrus website
(http://asg.web.cmu.edu/cyrus) to be very helpful in understanding the
relationship between it and sendmail. Also, take a peak at the
www.sendmail.org. If I recall correctly, the FAQ has some useful
information on authentication using sendmail.

Having done this myself the best advice I can offer is really take the
time to read the directions carefully over a couple cups of coffee (or
whatever your preferred poison) -- take your time with it.

Good luck

EB


On Wed, 11 Feb 2004 15:56:48 -0800
Jason Williams <[EMAIL PROTECTED]> wrote:

> Hello everyone,
> 
> I've been hacking away at Sendmail for the past couple days, trying to
> learn it and set it up. Now, im using FreeBSD 4.9 and it comes with 
> 8.12.9p2 by default.
> 
> I've been reading through the "Bat Book" and i've been able to figure
> out a few things , like generating a updated sendmail.cf using the m4
> processor. Which is nice, but now im trying to figure out a few other
> things.
> 
> One thing I want to build into sendmail is smtp-auth, which requires 
> cyrus-sasl. I went ahead and installed cyrus-sasl.
> After doing some research, I found out that I have to rebuild sendmail
> in order to get the sasl part built in.
> 
> Sounds easy enough, but I'm confused on a few parts.
> 
> Basically, it says that you need to create a .m4 file and then add the
> specifics of what you need. Once you do that, you are supposed to run
> the ./Build script. Well, im gathering that you need to be in
> directory in order to use the ./Build script, which is simple enough
> if you have downloaded the source. However, since I have not
> downloaded the source and im using the version that came with FreeBSD,
> I am not sure where exactly it is that I can find this ./Build script
> in order to rebuild sendmail. I know there is the directory
> /usr/share/sendmail that contains many subdirectories with
> information. But im a little confused on how i'm supposed to rebuild
> sendmail here.
> 
> Anyone wanna point me in the right direction?
> 
> I appreciate it.
> 
> Jason
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"


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


Input/output error report

2004-02-12 Thread Jim Freeze
Hi

My daily security report has recently been spitting profanities
at me:

  Subject: rabbit security run output
  
  
  Checking setuid files and devices:
  find: /usr/local/share/texmf/doc/latex/sidecap/sc2demo.tex: Input/output error
  find: /usr/local/share/texmf/doc/latex/sidecap/scdemo.tex: Input/output error
  find: /usr/local/share/texmf/doc/latex/sidecap/sidecap.dvi: Input/output error
  ...
  
Is this indicated of a disk going bad?
If so, is there a way to confirm it?

Thanks

-- 
Jim Freeze
--
"For I perceive that behind this seemingly unrelated sequence
of events, there lurks a singular, sinister attitude of mind."

"Whose?"

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


5.2 Bridging issue

2004-02-12 Thread Aaron D. Gifford
PROBLEM SUMMARY:


I've got a bridge(4) issue on a BSD 5.2.1 box.  The bridging box has three ethernet 
interfaces, two bridged together in a single cluster, and one connected to the 
internet.  The box acts as a bridge for the two network segments, and as a router to 
the Internet (it's the default gateway).  The problem is, only one of the bridged 
segments can communicate with the BSD box directly (and thus the Internet), even 
though the two segments can talk to each other just fine.


NETWORK SET-UP:
---

First, let me clue you in on my network set-up:

FreeBSD 5.2 Box with 3 ethernet interfaces, em0, rl0, and rl1:

[FreeBSD Box]
  |   |   |
 rl0 rl1 em0
  |   |   |
  |   |   +---To-Internal-Network-Segment-#1...
  |   |
  |   +---To-Internal-Network-Segment-#2..
  |
  +---Internet...

Interfaces rl1 and em0 are bridged:

  net.link.ether.bridge.config=em0:1,rl1:1

Since they ARE bridged and so are "on the same subnet", only em0 has
an IP address:

  ifconfig em0 inet 10.10.10.1/16

I don't see how or why one would need or could assign an IP on the
same subnet to the other interface, rl1, unless it was handled like
many alias addresses, as a /32 host address.

Interface rl0 is the link to the Internet.

Bridging for the most part seems to be working.  Hosts on segment #1
(via em0) are visible to hosts on segment #2 (connected via rl1).  They
can ping each other, get ARP address resolution, and pass IP traffic.

All hosts use 10.10.10.1 as their default gateway to the Internet.

Hosts on segment #1 can reach the Internet just fine.


PROBLEM DETAILS:


Hosts on segment #2 cannot seem to be able to communicate with the
bridinging/routing FreeBSD box's own IP addresses, and since it is the
default gateway, in turn they cannot reach the Internet.  No layer 2
traffic (ARP) reaches the FreeBSD box directly (the ARP table shows
"incomplete" for all segment #2 addresses, even though ARP packets
DO reach segment #1 just fine, passing transparently through the
FreeBSD box.  The BSD box just can't see stuff addressed directly to it.

This is NOT a firewalling or NAT issue.  This is exclusively a bridging
issue.  Firewalling/NAT occurse elsewhere.

So since I'm a FreeBSD bridge(4) newbie, after scouring the man page,
reading the Handbook's information, searching various mailing list archives,
I can't find anything useful that tells me if bridge's bdg_forward() knows
how to handle traffic like this.  Apparently it doesn't.

So bridging is just fine if you want your BSD box hidden, transparent,
invisible.  But if you want it visible so it can act as a default gateway
to all segments of a subnet that are bridged together, HOW DOES ONE DO IT?

I can't ifconfig the rl1 interface with an IP on the same subnet unless it's
a /32, and that accomplishes nothing (the IP packets are addressed to the
IP address assigned to em0).  Bridging SHOULD just bridge, so traffic to
the BSD box's em0 IP should come in on rl1 and be processed by the host.

Somehow the bridging code knows the MAC addresses on the segment #2 side of
things (rl1), since it passes traffic between the two segments just fine.
But the kernel's ARP table is totally ignorant.  It can't find those hosts.


REQUEST FOR HELP:
-

Thanks in advance for all help, pointers, etc.  If there's not a way to do
this, then this sounds like an issue that should be added to the BUGS section
of the bridge(4) man page.

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


Re: build problems with fresh cvsup (5.2)

2004-02-12 Thread Lowell Gilbert
"Goodleaf, John M" <[EMAIL PROTECTED]> writes:

> I can build if I turn off CXX in /etc/make.conf. This is on a working
> machine already running 5.2-RELEASE.

Sounds like whatever you put into CXX is breaking the build.
Since you didn't show what it was, that's all anybody can tell you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports files

2004-02-12 Thread andrew clarke
On Thu, Feb 12, 2004 at 08:09:25AM -0500, Jonathan Arnold wrote:

> My port hierarchy seems to have gotten out of date or something.
> It is missing some subdirectories, like multimedia, even though I
> run cvsup every other night on it.

I had this problem too with /usr/ports/dns not being updated, even
though ports-dns was listed in my ports-supfile.  Switched to another
cvsup server and all was well.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FIXIT CD and Non-Bootable CDROM

2004-02-12 Thread Lowell Gilbert
Rishi Chopra <[EMAIL PROTECTED]> writes:

> Is it possible to boot the FreeBSD FIXIT CD from a non-bootable CDROM
> drive, by using a FreeBSD boot disk or something similar?

Sure.  You boot the floppies the same way as for an install, and you
will be given an option menu.  Along with the various install choices
will be a "fixit" entry.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re[2]: Refreshing ports

2004-02-12 Thread Lowell Gilbert
Robert Golovniov <[EMAIL PROTECTED]> writes:

> On Wednesday, February 11, 2004, 3:41:41 PM, Lowell Gilbert wrote:
> 
> LG> You didn't use "tag=.".
> 
> Thank  you. Everything worked fine. I just thought that this line from
> the sample had to be replaced with an actual release tag.
> 
> And  what  about CVSuping the sources? Should I also leave the tag "."
> or do I have to specify something else?

If you use that tag, you will get the latest -CURRENT.  
If that's what you want, use that tag. 
If not, check the handbook for which tag describes the sources you
actually want.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


yahoomessenger for 4.5 onwards versions....how?

2004-02-12 Thread manish gautam
yahoo.com provides yahoomessenger for bsd 4.5.
how can i install it on my bsd 4.7.

cheers
manish


Yahoo! India Education Special: Study in the UK now.
Go to http://in.specials.yahoo.com/index1.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Ordering FreeBSD on CD's

2004-02-12 Thread sat
Hello freebsd-questions,

  I'd like to receive FreeBSD 5.2.1 and ports collection(WITH
  distfiles) via post on CD's. I want to know how many disks
  it will be, and how much does it cost?

-- 
Best regards,
 sat  mailto:[EMAIL PROTECTED]

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


Re: Ordering FreeBSD on CD's

2004-02-12 Thread Jez Hancock
On Thu, Feb 12, 2004 at 05:11:04PM +0300, sat wrote:
> Hello freebsd-questions,
> 
>   I'd like to receive FreeBSD 5.2.1 and ports collection(WITH
>   distfiles) via post on CD's. I want to know how many disks
>   it will be, and how much does it cost?

Have a look at the list of FreeBSD snailmail vendors:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html#MIRRORS-CDROM

particularly check out the sites of the vendors to see what information
they have regarding your queries.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2 Bridging issue

2004-02-12 Thread Bjorn Eikeland
På Thu, 12 Feb 2004 03:56:56 -0700 (MST), skrev Aaron D. Gifford 
<[EMAIL PROTECTED]>:

PROBLEM SUMMARY:

I've got a bridge(4) issue on a BSD 5.2.1 box.  The bridging box has 
three ethernet interfaces, two bridged together in a single cluster, and 
one connected to the internet.  The box acts as a bridge for the two 
network segments, and as a router to the Internet (it's the default 
gateway).  The problem is, only one of the bridged segments can 
communicate with the BSD box directly (and thus the Internet), even 
though the two segments can talk to each other just fine.

NETWORK SET-UP:
---
First, let me clue you in on my network set-up:

FreeBSD 5.2 Box with 3 ethernet interfaces, em0, rl0, and rl1:

[FreeBSD Box]
  |   |   |
 rl0 rl1 em0
  |   |   |
  |   |   +---To-Internal-Network-Segment-#1...
  |   |
  |   +---To-Internal-Network-Segment-#2..
  |
  +---Internet...
Interfaces rl1 and em0 are bridged:

  net.link.ether.bridge.config=em0:1,rl1:1

Since they ARE bridged and so are "on the same subnet", only em0 has
an IP address:
  ifconfig em0 inet 10.10.10.1/16

I don't see how or why one would need or could assign an IP on the
same subnet to the other interface, rl1, unless it was handled like
many alias addresses, as a /32 host address.
Interface rl0 is the link to the Internet.

Bridging for the most part seems to be working.  Hosts on segment #1
(via em0) are visible to hosts on segment #2 (connected via rl1).  They
can ping each other, get ARP address resolution, and pass IP traffic.
All hosts use 10.10.10.1 as their default gateway to the Internet.

Hosts on segment #1 can reach the Internet just fine.

PROBLEM DETAILS:

Hosts on segment #2 cannot seem to be able to communicate with the
bridinging/routing FreeBSD box's own IP addresses, and since it is the
default gateway, in turn they cannot reach the Internet.  No layer 2
traffic (ARP) reaches the FreeBSD box directly (the ARP table shows
"incomplete" for all segment #2 addresses, even though ARP packets
DO reach segment #1 just fine, passing transparently through the
FreeBSD box.  The BSD box just can't see stuff addressed directly to it.
This is NOT a firewalling or NAT issue.  This is exclusively a bridging
issue.  Firewalling/NAT occurse elsewhere.
So since I'm a FreeBSD bridge(4) newbie, after scouring the man page,
reading the Handbook's information, searching various mailing list 
archives,
I can't find anything useful that tells me if bridge's bdg_forward() 
knows
how to handle traffic like this.  Apparently it doesn't.

So bridging is just fine if you want your BSD box hidden, transparent,
invisible.  But if you want it visible so it can act as a default gateway
to all segments of a subnet that are bridged together, HOW DOES ONE DO 
IT?

I can't ifconfig the rl1 interface with an IP on the same subnet unless 
it's
a /32, and that accomplishes nothing (the IP packets are addressed to the
IP address assigned to em0).  Bridging SHOULD just bridge, so traffic to
the BSD box's em0 IP should come in on rl1 and be processed by the host.

Somehow the bridging code knows the MAC addresses on the segment #2 side 
of
things (rl1), since it passes traffic between the two segments just fine.
But the kernel's ARP table is totally ignorant.  It can't find those 
hosts.

REQUEST FOR HELP:
-
Thanks in advance for all help, pointers, etc.  If there's not a way to 
do
this, then this sounds like an issue that should be added to the BUGS 
section
of the bridge(4) man page.

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

Try sysctl net.inet.ip.check_interface=0 - sounds like the same problem i 
had with my
bridge a while back.

good luck!

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


Re: yahoomessenger for 4.5 onwards versions....how?

2004-02-12 Thread Jason Stewart
On 12/02/04 14:06 +, manish gautam wrote:
> yahoo.com provides yahoomessenger for bsd 4.5.
> how can i install it on my bsd 4.7.
> 
> cheers
> manish
> 

cd /usr/ports/net/ymessenger && make install clean 

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


Re: mountd acting strangely

2004-02-12 Thread Chad M Stewart
Matthew,

Thank you!  You nailed it.

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


Re: How to safely merge two slices on harddisk?

2004-02-12 Thread Jerry McAllister
> 
> 
> Jerry McAllister wrote:
> >>
> > 
> > In any case, do not use /stand/sysinstall for this.   You need more direct 
> > control and should use disklabel directly.   As mentioned in my previous 
> > posting use the command  
> >  'disklabel -e -r asd1s1'  
> > and then edit the tmp file 
> 
> Malcolm Kay wrote:
>  >
>  > A good chance it will work -- but pre-existing 'f' and 'g' data is lost.
> 
> 
> Thank you guys for your help.
> I actually did use sysinstall (sorry, Jerry) and mission is accomplished.

You are lucky.  sysinstall makes some assumptions in the way it 
calls disklabel.   Your situation fit neatly within those assumptions.

> Yes, indeed, I lost the data is the two merged partitions 'f' and 'g', but
> that was no problem; I needed to keep the data in all other partitions.
> Sysinstall did all that for me.

Well, it just let you define those other partitions in the same
way they were before so effectively it left them alone.

> 
> Meanwhile I learned a lot more about disklabel, thanks to your comments.
> Great and many thanks,

Disklabel is actually quite easy to use.   The man page combined with
the fdisk man page can be rather confusing.   The approach to writing
them seem rather convoluted to me.  If I felt competent enough on the
subject, I would take a shot at rewriting them, but there are two
many details about the extra features I do no know about.  But, the
main stuff is reall quite straightforward to use.

jerry

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


Re: Sound failures after upgrade to KDE 3.2

2004-02-12 Thread Michael Dunham
Kent

Yes I believe it is. pkg_version reports:
arts-1.1.4_3,1  =   up-to-date with port

But you're right, I have narrowed it down to the arts port.  So, I will do 
some looking at arts related issues.  I narrowed it down by changing /dsp 
to /dsp0 in the hardware tab in the control center under multimedia and the 
error did move to dsp0.  

So, any other suggestions are welcome.  I may do a reinstall of the port - 
with all the changes recently, it wouldn't be a bad idea.

Mike

On Thursday 12 February 2004 12:02 am, Kent Stewart wrote:
> On Wednesday 11 February 2004 11:24 pm, Michael Dunham wrote:
> > I am getting sound failures now after upgrading to KDE 3.2.  I get
> > /dev/dsp warnings on load and XMMS fails to pick up streams now
> > saying the sound card is held by another application.
> >
> > I see this is a common error but as yet all I am finding is the debug
> > commands to try and no clear direction on what to change.  Thanks for
> > any thoughts you can offer.
>
> Do you have the latest versions. There was an update to start a wrapper
> for arts to let it run realtime.
>
> Kent
>
> > I can run KsCD and it runs fine.
> >
> > On startx
> > device /dev/dsp/ device busy
> >
> > # sysctl -a |grep snd
> > hw.snd.targetirqrate: 32
> > hw.snd.report_soft_formats: 1
> > hw.snd.verbose: 1
> > hw.snd.unit: 0
> > hw.snd.maxautovchans: 0
> > hw.snd.pcm0.buffersize: 4096
> > hw.snd.pcm0.vchans: 0
> >
> > Trying to start artsd manually from the konsole as su:
> > # artsd -lO -F10 -S4096
> > artsd version is 1.1.4
> > gsl: using Unix98 pthreads directly for mutexes and conditions
> > autodetecting driver:
> >  - toss: 4
> >  - null: -1
> >  - oss: 10
> > ... which means we'll default to oss
> > Error while initializing the sound driver:
> > device /dev/dsp can't be opened (Device busy)
> >
> > I'm running 5.1 current.
> > My sound device shows as:
> > grep pcm /var/run/dmesg.boot
> > Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06fd350.
> > pcm0:  on sbc0
> >
> > and
> > # ls /dev/au*
> > /dev/audio0.0   /dev/audio0.1
> > # ls /dev/ds**
> > /dev/dsp0.0 /dev/dspW0.0/dev/dspr0.0
> > /dev/dsp0.1 /dev/dspW0.1
> > # ls /dev/mixer*
> > /dev/mixer0
> >
> >
> > Running from the Konsole command line works
> > # cdcontrol -f /dev/acd0c play 1
> >
> > it was working on XMMS and KSCD before the upgrade.
> >
> >
> > On the first boot, I got this probably unrelated failure
> > KNotify failed
> > DBUG says:
> > (no debugging symbols found)...[Switching to Process 554, Thread 1]
> > 0x291d9883 in poll () from /usr/lib/libc.so.5
> > #0  0x291d9883 in poll () from /usr/lib/libc.so.5
> > #1  0x29067651 in _thread_kern_sched_state_unlock () from
> > /usr/lib/libc_r.so.5 #2  0x29067050 in _thread_kern_scheduler () from
> > /usr/lib/libc_r.so.5

-- 
Regards, 
 
MIKE... 
Make your Information your KnowlEDGE 
Michael L. Dunham 
Principal Consultant 
Connecting Teams 
2333 La Lima Way 
Sacramento, CA 95833 
Phone: 916-641-1204
email: [EMAIL PROTECTED] 
webpage: http://www.connectingteams.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: networking w/ win9x

2004-02-12 Thread Jerry McAllister
> 
> I was wondering. What is an easy, and good programe to use. To network 
> my FreeBSD and Win98box.

Depends on what you mean "to network".   To just hook them together
you don't need anything on the FreeBSD side.   If you want to be able
to "mount a network drive" on the win box, then run Samba on the
FreeBSD box and host things there.

Now, if you mean you have both FreeBSd and Win98 on the same box
and have it dual booted.   Then, you can mount the Win disk space
when FreeBSD is running by doing a mount_msdos or making the FAT 
slice used for win an msdos type in your /etc/fstab file.  Then you
can read and even write your msdos disk space while in FreeBSD.  But,
going the other way, you cannot access FreeBSD disk while in
the MSwin side of the machine.

jerry

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


Re: Standby mode for monitor.

2004-02-12 Thread Eric F Crist
On Thursday 12 February 2004 07:13 am, Malcolm Kay wrote:
> I'd like to be able to switch the monitors on a number of
> our computers into standby mode from a software program
> running on a virtual console; and wakeup either when a key is
> pressed or when the program has new information to display.
>
> I can probably manage to control blank screen savers but I
> would prefer to power down the displays to standby modes.
>
> The machines are those small size 'kitchen computer' VIA
> based cubes (almost). The monitors are LCD displays.
>
> Are there ioctls to help with this?
> How do I go about it?

Malcolm,

FWIW, there's an option called DPMS in your XF86Config file under the monitors 
section.  I know you have to have a fairly recent version of X for this.  

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


pgp0.pgp
Description: signature


Re: Upgrade 4.8-4.9 help!

2004-02-12 Thread Eric F Crist
On Wednesday 11 February 2004 06:25 pm, richard wrote:
> Hi,
>
> I'm trying to upgrade Freebsd 4.8 to 4.9 using sysinstall | upgrade off a
> 4.9 CD.  All seems fine until it gets to the point where it reports it
> can't even extract the bin distribution and fails.
>
> Does anyone know of a fool-proof way to get this upgrade through?
> Preferably some idiot-proof instructions I can follow.
>
> Cheers,
> Richard

Richard,

If you have broadband, install cvsup, read the man page on that, and install 
new sources over FTP via cvsup.  Once you have a correct supfile, it's pretty 
brainless.  Most of us have some upgrading done via cron on a regular basis, 
completely unattended.

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


pgp0.pgp
Description: signature


Re: Input/output error report

2004-02-12 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 12 Feb 2004 08:42:55 -0500
Jim Freeze <[EMAIL PROTECTED]> probably wrote:

> Hi
> 
> My daily security report has recently been spitting profanities
> at me:
> 
>   Subject: rabbit security run output
>   
>   
>   Checking setuid files and devices:
>   find: /usr/local/share/texmf/doc/latex/sidecap/sc2demo.tex: Input/output error
>   find: /usr/local/share/texmf/doc/latex/sidecap/scdemo.tex: Input/output error
>   find: /usr/local/share/texmf/doc/latex/sidecap/sidecap.dvi: Input/output error
>   ...
>   
> Is this indicated of a disk going bad?

Maybe, especially if messages about `read error reading fsbn xxx' show
up on the console.

> If so, is there a way to confirm it?

Here you are:

MD5 (/usr/local/share/texmf/doc/latex/sidecap/sc2demo.tex) = 
2f6c69ad5f32b8fe044dbac7ebb1042f
MD5 (/usr/local/share/texmf/doc/latex/sidecap/scdemo.tex) = 
143f7b274aa9d772fa129227990f2dab
MD5 (/usr/local/share/texmf/doc/latex/sidecap/sidecap.dvi) = 
049f05a5ddd0b46fa2f98de7b139ce89

I've got the latest version (2.0.2).

HTH,

-- 
DoubleF
The fact that boys are allowed to exist at all is evidence of a
remarkable Christian forbearance among men.
-- Ambrose Bierce


pgp0.pgp
Description: PGP signature


Re: yahoomessenger for 4.5 onwards versions....how?

2004-02-12 Thread Eric F Crist
On Thursday 12 February 2004 08:06 am, manish gautam wrote:
> yahoo.com provides yahoomessenger for bsd 4.5.
> how can i install it on my bsd 4.7.
>
> cheers
> manish

Do the following:

# cd /usr/ports/net/ymessenger
# make install clean

From within X, run ymessenger and you're good to go!

HTH

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


pgp0.pgp
Description: signature


Problem with someone port scanning me

2004-02-12 Thread Dragoncrest
	For the past couple of days I've had someone on our lan port scanning my 
box.  Not sure what's up with that, but I'm curious if there's a way to log 
what IP address this is coming from.  I don't have IPFW enabled yet as I 
haven't had the time to configure it at this point as it's currently behind 
the company firewall on our T3.  Is there a way to log where it's coming 
from?  Or is that already being logged somewhere?

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


Setting up X for external monitor(s)

2004-02-12 Thread Jesse Sheidlower

I have XFree86 4.3 running on an IBM ThinkPad X23 laptop; the
screen has a maximum resolution of 1024x768. If I plug in an
external monitor with a larger screen, and then hit F7 to get
the monitor on, it will still show up as 1024x768, just
larger.

What sections do I need to set up in my XF86Config-4 file to
enable different resolutions for an external monitor? I'm not
clear on the differences between Section "Monitor" and the
Section "Screen" (where resolutions appear to be set). And
specifically, how do I then switch from monitor to monitor, so
that I'm using a particular one for the external monitor, with
bigger resolution, and a different one for the laptop screen,
with a smaller resolution (i.e. something like "hit F7")? What
if I had the possibility of several different external
monitors, with different resolutions?

I'm using Gnome2 if that matters, on FreeBSD 4.8. The computer
uses the ATI Radeon Mobility card.

Thanks.

Jesse Sheidlower

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


Re: Problem with someone port scanning me

2004-02-12 Thread Brian Clapper
On 12 February, 2004, at 11:12 (-0500)
Dragoncrest <[EMAIL PROTECTED]> wrote:

> For the past couple of days I've had someone on our lan port scanning my
> box.  Not sure what's up with that, but I'm curious if there's a way to log
> what IP address this is coming from.  I don't have IPFW enabled yet as I
> haven't had the time to configure it at this point as it's currently behind
> the company firewall on our T3.  Is there a way to log where it's coming
> from?  Or is that already being logged somewhere?

The "snort" port (/usr/ports/security/port) can help.

-Brian Clapper, bmc @ clapper.org, http://www.clapper.org/bmc/

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


Re: Problem with someone port scanning me

2004-02-12 Thread Luke Kearney

On Thu, 12 Feb 2004 11:12:53 -0500
Dragoncrest <[EMAIL PROTECTED]> granted us these pearls of wisdom:

>   For the past couple of days I've had someone on our lan port scanning my 
> box.  Not sure what's up with that, but I'm curious if there's a way to log 
> what IP address this is coming from.  I don't have IPFW enabled yet as I 
> haven't had the time to configure it at this point as it's currently behind 
> the company firewall on our T3.  Is there a way to log where it's coming 
> from?  Or is that already being logged somewhere?

I wonder if you might get some benefit from a couple of simple IPF rules
and a quick portsentry install. 

/etc/ipf.rules

pass in log on interface0 from any to any
pass out log on interface0 from IP to any

with the appropriate startup would give you a good idea of the IP
address the scan is comming from. Whether your DHCP server admin will
tell you who that address is is a different matter.

HTH 

LK

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


Boot loop in FreeBSD 5.2-RELEASE after install

2004-02-12 Thread Mike Newell
I am trying to install FreeBSD on a Dell Precision 410 workstation.  The
system has two 18G SCSI drives (Seagate ST318203LW) on an Adaptec 7890
SCSI adaptor (BIOS V2.01.05).  I've gone through the entire install and
when the system tries to boot the first time the boot loader loads, then a
huge amount of text scrolls VERY rapidly up the screen [I can see the word
"Can't" but this is scrolling VERY fast], then the system resets (clearing
the screen of course) and the process starts again.

I've searched the archives and the only hint I've seen is using the
install disk to boot then use sysinstall to install a boot manager
(Configure...Fdisk...Select DA0...W).  I did that and the problem
persists.  I do get the "F1...FreeBSD/F5...Disk1" prompt, but pressing
"F1" again starts the boot process, which generates billions (all right,
maybe just millions...) of lines then hard resets the machine and starts
over.

I've tried this install with various partition sizes, including the
defaults and one signle huge partition.  Same symptoms.

I've installed FreeBSD 5.2 on other systems with IDE drives from this same
CD with no problems.  I've also loaned them to others who also have not
had problems.

Can anyone help?  Is there any way to slow the bootup process so I can at
least read the errors?

Thanks,

Mike

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


Changing Boot Location

2004-02-12 Thread Adam Seniuk
I have some Desktop archtechture pc's that is running my servers. 
 
I went out and got dell 1650's and the dell servers run there IDE chain on
the secondary channel. 
So my installs which are based on the primary IDE channel do not boot up in
the dell. 
 
How do I change the boot from ad0 to ad2?
 
Thanks.
 
Adam Seniuk
[EMAIL PROTECTED]
-
System Administrator |
Server Administrator ||
Database Administrator ||
Website Administrator ||

Techweavers Inc.
  www.techweavers.net
"Your Website Solution"

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


Re: Problem with someone port scanning me

2004-02-12 Thread Jez Hancock
On Thu, Feb 12, 2004 at 11:12:53AM -0500, Dragoncrest wrote:
>   For the past couple of days I've had someone on our lan port 
>   scanning my box.  Not sure what's up with that, but I'm curious if there's 
> a way to log what IP address this is coming from.  I don't have IPFW 
> enabled yet as I haven't had the time to configure it at this point as it's 
> currently behind the company firewall on our T3.  Is there a way to log 
> where it's coming from?  Or is that already being logged somewhere?

As a temporary measure you could always enable 'log_in_vain' via sysctl:

sysctl net.inet.tcp.log_in_vain=1
sysctl net.inet.udp.log_in_vain=1

adding:

log_in_vain="YES"

to /etc/rc.conf if you want this functionality to be enabled at boot
time.  This configures the freebsd kernel to log any connection attempts
made via udp or tcp to ports that are not open (ie log connection
attempts made in vain).

You'd then want to make sure syslogd is configured to log the info to a
file:

kernel.debug/var/log/kern_debug.log

although this will probably dump a lot of other stuff to
/var/log/kern_debug.log as well - see syslog(8) and syslog(5)
for more info on configuring syslog - or google for:

sysctl log_in_vain syslog.conf

:P

Note also importantly - log_in_vain is a _very_ poor substitute for a
firewall for logging this kind of info.

HTH

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Install on 486 with floppy reboots after mfsroot

2004-02-12 Thread Bob Johnson
Warren Block wrote:
On Thu, 12 Feb 2004, Brent Bowman wrote:

I get to the end of step  "2.3.1.1 Booting for the i386™"  where it
tells to boot the kernel and no matter what I do, it just reboots the
computer!  Therefore it looses whatever it tried to put in memory and
starts over again.How can I get it to go to the kernel setup?
My Hardware:
IBM PS/Valuepoint 486  33MHz
8 MB RAM
^^

This is likely the problem.  The install needs more than 8M, somewhere
between 12 and 16M last I heard.
If it helps, I have a Valuepoint 486 DX2/66 with 32M of RAM that runs
4.8 flawlessly.
I've got 4.9 running on a 486/33 with 20 MB of RAM, so if you can scrape 
up that much it should be sufficient.  It works fine as a personal mail 
server with Courier, except that the IMAP folders containing over 10,000 
messages cause huge amounts of thrashing when I open them.  Takes 
several minutes.

It also takes nearly three days to build 4.9 from source on a 486/33...

- Bob





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


CVSup question, which tag for 4.9-RELEASE?

2004-02-12 Thread Bob Collins
I am running a few boxes(n) on 4.9-RELEASE and am wondering about
updating the ports and source. Using CVSup, should I tag src with
RELENG_4, or RELENG_4_9? And what if any are the differences, that
are not already noted in the handbook? Up to this point, I have not
updated the system since install

I think I have a rather good grasp of the topic, but there is a little
confusion on my part. I am thinking if I read correctly, using RELENG_4
will update to the latest in the 4.x branch and I'll be at 4.9-Current,
no? And RELENG_4_9 will be only updates to the 4.9 branch?

Thanks for the clarification.

-- 
Bob

"Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom."
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Routers

2004-02-12 Thread Bryce Sawin
Do you have a section for supported routers?

Thank's
Bryce E Sawin
http://mysite.verizon.net/res7up3f/







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


Re: CVSup question, which tag for 4.9-RELEASE?

2004-02-12 Thread Jez Hancock
On Thu, Feb 12, 2004 at 11:57:59AM -0500, Bob Collins wrote:
> I am running a few boxes(n) on 4.9-RELEASE and am wondering about
> updating the ports and source. Using CVSup, should I tag src with
> RELENG_4, or RELENG_4_9? And what if any are the differences, that
> are not already noted in the handbook? Up to this point, I have not
> updated the system since install

See:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

to quote:

RELENG_4
The line of development for FreeBSD-4.X, also known as FreeBSD-STABLE.

RELENG_4_9
The release branch for FreeBSD-4.9, used only for security advisories and
other critical fixes.

> I think I have a rather good grasp of the topic, but there is a little
> confusion on my part. I am thinking if I read correctly, using RELENG_4
> will update to the latest in the 4.x branch and I'll be at 4.9-Current,
> no? And RELENG_4_9 will be only updates to the 4.9 branch?
No to the first question, yes to the second :P

HTH

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


802.11g, PCI 2.1

2004-02-12 Thread h0444lp6
Dear list

Is there a 802.11g device that will work in a only PCI 2.1 compliant
bord under FreeBSD 4.9 or 5.2?

TIA


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


/.cshrc and /.profile

2004-02-12 Thread h0444lp6
Dear list

What are the /.cshrc and /.profile files for?

Since /etc holds the system wide conf files and ~ the user specific ones
I do not understand why there are the ones in /.

TIA


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


Cvsup

2004-02-12 Thread Joe Stuart
I'm running freebsd 4.8 and trying to use cvsup to update my ports tree.
My supfile contains.

*default tag=RELENG_4_8
*default host=cvsup9.freebsd.org
*default prefix=/usr
*default release=cvs delete use-rel-suffix compress

ports-all

But when I run it it deleted about %90 of my ports.  
Any help is appreciated.


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


Re: CVSup question, which tag for 4.9-RELEASE?

2004-02-12 Thread Antoine Jacoutot
Selon Bob Collins <[EMAIL PROTECTED]>:
> I am running a few boxes(n) on 4.9-RELEASE and am wondering about
> updating the ports and source. Using CVSup, should I tag src with
> RELENG_4, or RELENG_4_9? And what if any are the differences, that
> are not already noted in the handbook? Up to this point, I have not
> updated the system since install

For your system, use RELENG_4_9; "tag=RELENG_4_9"; this will keep you up to date
with the security fixes.
For the ports, always use CURRENT; "tag=."

> I think I have a rather good grasp of the topic, but there is a little
> confusion on my part. I am thinking if I read correctly, using RELENG_4
> will update to the latest in the 4.x branch and I'll be at 4.9-Current,
> no? And RELENG_4_9 will be only updates to the 4.9 branch?

RELENG_4 will update you to 4-STABLE (the future 4.10 if there's one).

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


Re: CVSup question, which tag for 4.9-RELEASE?

2004-02-12 Thread Jud

On Thu, 12 Feb 2004 11:57:59 -0500, "Bob Collins" <[EMAIL PROTECTED]>
said:
> I am running a few boxes(n) on 4.9-RELEASE and am wondering about
> updating the ports and source. Using CVSup, should I tag src with
> RELENG_4, or RELENG_4_9? And what if any are the differences, that
> are not already noted in the handbook? Up to this point, I have not
> updated the system since install
> 
> I think I have a rather good grasp of the topic, but there is a little
> confusion on my part. I am thinking if I read correctly, using RELENG_4
> will update to the latest in the 4.x branch and I'll be at 4.9-Current,
> no? 

No.  No such thing as "4.9-CURRENT."  RELENG_4 will update to 4-STABLE,
which means it includes whatever updates have been made to -STABLE since
the 4.9-RELEASE snapshot (4.x-RELEASE being a snapshot of 4-STABLE).

> And RELENG_4_9 will be only updates to the 4.9 branch?

4.9 isn't a branch itself, it's a snapshot of the -STABLE branch. 
RELENG_4_9 contains only critical updates from the 4.9-RELEASE snapshot,
primarily if not exclusively security updates.

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


Re: Problem with someone port scanning me

2004-02-12 Thread Peder Blom
On Thu, 12 Feb 2004 11:12:53 -0500
Dragoncrest <[EMAIL PROTECTED]> wrote:

>   For the past couple of days I've had someone on our lan port
>   scanning my 
> box.  Not sure what's up with that, but I'm curious if there's a way
> to log what IP address this is coming from.  I don't have IPFW enabled
> yet as I haven't had the time to configure it at this point as it's
> currently behind the company firewall on our T3.  Is there a way to
> log where it's coming from?  Or is that already being logged
> somewhere?
> 

man tcpdump

ports/net/ethereal

netcat? (ports/net/nc). If connections are to a specific port and
protocol are tcp you can set up nc to listen for connections on this
port. Once a connection is established you might get some info, e.g. see
what requests are made. A while ago I started getting an absurd number
of requests (+30k in an afternoon on my standalone home computer), using
netcat I found out that it was requests from kazaa clients... (and no, I
don't run kazaa but I'm on dhcp so I obviously got a "bad" ip).

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


Re: Cvsup

2004-02-12 Thread Jud

On Thu, 12 Feb 2004 11:08:30 -0600, "Joe Stuart"
<[EMAIL PROTECTED]> said:
> I'm running freebsd 4.8 and trying to use cvsup to update my ports tree.
> My supfile contains.
> 
> *default tag=RELENG_4_8
> *default host=cvsup9.freebsd.org
> *default prefix=/usr
> *default release=cvs delete use-rel-suffix compress
> 
> ports-all
> 
> But when I run it it deleted about %90 of my ports.  
> Any help is appreciated.

Read your ports-supfile where it tells you that this is what will happen
if you use the wrong "tag=" entry (it's the section that starts with
"WARNING!..." so you'll be sure not to miss it;), and tells you the
*only* correct tag to use.

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


Re: Cvsup

2004-02-12 Thread Jez Hancock
On Thu, Feb 12, 2004 at 11:08:30AM -0600, Joe Stuart wrote:
> I'm running freebsd 4.8 and trying to use cvsup to update my ports tree.
> My supfile contains.
> 
> *default tag=RELENG_4_8
> *default host=cvsup9.freebsd.org
> *default prefix=/usr
> *default release=cvs delete use-rel-suffix compress
> 
> ports-all
> 
> But when I run it it deleted about %90 of my ports.  
> Any help is appreciated.

You need to change the tag line to read:

*default tag=.

Your best bet is to use the sample supfile here:

/usr/share/examples/cvsup/ports-supfile

which has lots of useful comments in it.

HTH.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cvsup

2004-02-12 Thread Joe Stuart
Thanks, was reading the handbook and got it confused with updating src.

>>> Jez Hancock <[EMAIL PROTECTED]> 02/12/04 11:21AM >>>
On Thu, Feb 12, 2004 at 11:08:30AM -0600, Joe Stuart wrote:
> I'm running freebsd 4.8 and trying to use cvsup to update my ports
tree.
> My supfile contains.
> 
> *default tag=RELENG_4_8
> *default host=cvsup9.freebsd.org
> *default prefix=/usr
> *default release=cvs delete use-rel-suffix compress
> 
> ports-all
> 
> But when I run it it deleted about %90 of my ports.  
> Any help is appreciated.

You need to change the tag line to read:

*default tag=.

Your best bet is to use the sample supfile here:

/usr/share/examples/cvsup/ports-supfile

which has lots of useful comments in it.

HTH.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/ 
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


netgraph....help

2004-02-12 Thread manish gautam
i want to make my own node with my own specifications.
how can i do that and load it and pass data through
it.

reply as soon as possible...

cheers
manish


Yahoo! India Education Special: Study in the UK now.
Go to http://in.specials.yahoo.com/index1.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Compaq RAID on 4.9-RELEASE?

2004-02-12 Thread Tim Pushor
Hi all,

We are going to be replacing one of our older systems here with a new 
HP/Compaq server and want to buy a (cheap) supported hardware raid 
adapter. Compaq/HP used to be so easy.

The system we are looking at has either a Compaq 532 or 641 depending on 
the processor speed (!). I see the 532 is supported, any word on the 641?

Is anyone using either of these two cards and can vouch for the 
performance/stability?

Thanks in advance,
Tim
(Please reply directly as I am not subscribed to this list)

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


Re: Standby mode for monitor.

2004-02-12 Thread Lowell Gilbert
Eric F Crist <[EMAIL PROTECTED]> writes:

> On Thursday 12 February 2004 07:13 am, Malcolm Kay wrote:
> > I'd like to be able to switch the monitors on a number of
> > our computers into standby mode from a software program
> > running on a virtual console; and wakeup either when a key is
> > pressed or when the program has new information to display.
> >
> > I can probably manage to control blank screen savers but I
> > would prefer to power down the displays to standby modes.
> >
> > The machines are those small size 'kitchen computer' VIA
> > based cubes (almost). The monitors are LCD displays.
> >
> > Are there ioctls to help with this?
> > How do I go about it?
> 
> Malcolm,
> 
> FWIW, there's an option called DPMS in your XF86Config file under the monitors 
> section.  I know you have to have a fairly recent version of X for this.  

It's been there a long time, actually.

On the console, there's a "green" screensaver and an "apm" screensaver.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


hostname and dhcp

2004-02-12 Thread Evan Dower
I've actually been running FreeBSD for quite a while now, but I've never 
known exactly how to handle this. In rc.conf, one must specify a hostname. 
If you're using DHCP to set up your network though, your FQDN (fully 
qualified domain name) can change without notice. It seems like a Good Idea 
to have your hostname be your FQDN, since some things will do a reverse 
lookup on your IP to verify that it matches the hostname you supplied. In 
particular I'm thinking of SMTP servers here. (send-pr doesn't work for me 
because my mail gets rejected.) So, when you're autoconfiguring your network 
interfaces, what should you put in rc.conf's hostname variable? Is there 
something else I can do that would allow me to have something nicer looking, 
but still send my FQDN when asked?
Thanks very much,
--
Evan Dower
Undergraduate, Computer Science
University of Washington
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D

_
Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up 
Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/

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


Re: hostname and dhcp

2004-02-12 Thread Lowell Gilbert
"Evan Dower" <[EMAIL PROTECTED]> writes:

> I've actually been running FreeBSD for quite a while now, but I've
> never known exactly how to handle this. In rc.conf, one must specify a
> hostname. If you're using DHCP to set up your network though, your
> FQDN (fully qualified domain name) can change without notice. It seems
> like a Good Idea to have your hostname be your FQDN, since some things
> will do a reverse lookup on your IP to verify that it matches the
> hostname you supplied. In particular I'm thinking of SMTP servers
> here. (send-pr doesn't work for me because my mail gets rejected.) So,
> when you're autoconfiguring your network interfaces, what should you
> put in rc.conf's hostname variable? Is there something else I can do
> that would allow me to have something nicer looking, but still send my
> FQDN when asked?

If you don't set your hostname in rc.conf, dhclient should change it
for you when it finds out what it is.  

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports files

2004-02-12 Thread Jonathan Arnold
andrew clarke wrote:

On Thu, Feb 12, 2004 at 08:09:25AM -0500, Jonathan Arnold wrote:
My port hierarchy seems to have gotten out of date or something.
It is missing some subdirectories, like multimedia, even though I
run cvsup every other night on it.
I had this problem too with /usr/ports/dns not being updated, even
though ports-dns was listed in my ports-supfile.  Switched to another
cvsup server and all was well.
Actually, looking at the cvsup file I was using, it didn't include
the multimedia port. I created it awhile ago, and commented out the
ports-all line, because I didn't want to get the Chinese or Japanese,
etc, ports. But there doesn't seem to be an easy way to get everything
but those. There is a 'refuse' file, but that is based upon the file
name, and I'm not sure I want to refuse everything with, say, 'chinese'
in its filename.
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


query

2004-02-12 Thread gipson daniel

   hello,

   I access Berkeley using python.I installed berkeley 4.2.52,but when I
   import berkeley
   through python the previous version 4.0.1 is invoked.I verified this
   using DB_version_string.
   What should I do to invoke the new installed version of the database.

  gipson g daniel
 _

   Contact brides & grooms FREE! [1]Only on www.shaadi.com. Register now!

References

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


Re: hostname and dhcp

2004-02-12 Thread Evan Dower
Hmm... That is what I expected it to do, but when I tried it, I ended up 
with an empty hostname. Of course, I don't remember now if I commented out 
that line or just set it to empty. Actually, looking at 
/etc/defaults/rc.conf I see that if I comment it out in /etc/rc.conf it gets 
set to the empty string in the default, so it shouldn't matter. Anyway, like 
I said, I tried that and just ended up with an empty hostname. Perhaps that 
indicates something is wrong with my configuration...
Thanks very much for the help (any other ideas?),
--
Evan Dower
Undergraduate, Computer Science
University of Washington
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D




From: Lowell Gilbert <[EMAIL PROTECTED]>
To: "Evan Dower" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: hostname and dhcp
Date: 12 Feb 2004 13:04:38 -0500
"Evan Dower" <[EMAIL PROTECTED]> writes:

> I've actually been running FreeBSD for quite a while now, but I've
> never known exactly how to handle this. In rc.conf, one must specify a
> hostname. If you're using DHCP to set up your network though, your
> FQDN (fully qualified domain name) can change without notice. It seems
> like a Good Idea to have your hostname be your FQDN, since some things
> will do a reverse lookup on your IP to verify that it matches the
> hostname you supplied. In particular I'm thinking of SMTP servers
> here. (send-pr doesn't work for me because my mail gets rejected.) So,
> when you're autoconfiguring your network interfaces, what should you
> put in rc.conf's hostname variable? Is there something else I can do
> that would allow me to have something nicer looking, but still send my
> FQDN when asked?
If you don't set your hostname in rc.conf, dhclient should change it
for you when it finds out what it is.
--
Lowell Gilbert, embedded/networking software engineer, Boston area:
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
_
Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up 
Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/

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


Re: Problem with someone port scanning me

2004-02-12 Thread Dragoncrest
Thanks.  I'm gonna give this one a spin.  Gonna keep scanlogd in the
back of my mind as something else to try should this not work.  Thanks.

One last question.  Does IPF work by default or do I have to do anything
special?  And I'm assuming I just type IPF at the command line and the
program does the rest?

> 
> On Thu, 12 Feb 2004 11:12:53 -0500
> Dragoncrest <[EMAIL PROTECTED]> granted us these pearls of wisdom:
> 
> > For the past couple of days I've had someone on our lan port
scanning my 
> > box.  Not sure what's up with that, but I'm curious if there's a way
to log 
> > what IP address this is coming from.  I don't have IPFW enabled yet
as I 
> > haven't had the time to configure it at this point as it's currently
behind 
> > the company firewall on our T3.  Is there a way to log where it's
coming 
> > from?  Or is that already being logged somewhere?
> 
> I wonder if you might get some benefit from a couple of simple IPF rules
> and a quick portsentry install. 
> 
> /etc/ipf.rules
> 
> pass in log on interface0 from any to any
> pass out log on interface0 from IP to any
> 
> with the appropriate startup would give you a good idea of the IP
> address the scan is comming from. Whether your DHCP server admin will
> tell you who that address is is a different matter.
> 
> HTH 
> 
> LK
> 
> 



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


kernel compilation problems - 5.1 (long)

2004-02-12 Thread Tadimeti Keshav
hi all,
I am having problems compiling my kernel. 

FreeBSD 5.1
Intel Pentium 200 MMX. 64MB ram. 
Digital PC 5000. 
I am having problems while linking the objects (.o
files). Why is it compiling for PentiumPRO?
I am attaching the kernel config file.
Sorry if I have sent it to the wrong list.
I appreciate any help.
Thanks v much in advance
Tk.
--
OUTPUT (only last part)
---
standing -Werror  vnode_if.c
touch hack.c
cc  -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../../conf/newvers.sh CUSTOM
cc -c -O -pipe -mcpu=pentiumpro 
 ^^ (WHY!!!)
-Wall -Wredundant-decls -Wnested-externs -Wstr
ict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -ff ormat-extensions -std=c99  

-nostdinc -I-  -I. -I../../.. -I../../../dev -I../.
./../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_glo bal.h -fno-common  

-mno-align-long-strings -mpreferred-stack-boundary=2
-ffree standing -Werror  vers.c


linking kernel

umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x19f7): undefined reference to
`cam_simq_alloc'

umass.o(.text+0x1a48): undefined reference to
`cam_sim_alloc'

umass.o(.text+0x1a57): undefined reference to
`cam_simq_free'

umass.o(.text+0x1a77): undefined reference to
`xpt_bus_register'
umass.o: In function `umass_cam_rescan_callback':

umass.o(.text+0x1ab3): undefined reference to
`xpt_free_path'

umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1b25): undefined reference to
`xpt_periph'

umass.o(.text+0x1b34): undefined reference to
`xpt_create_path'

umass.o(.text+0x1b50): undefined reference to
`xpt_setup_ccb'

umass.o(.text+0x1b6d): undefined reference to
`xpt_action'

umass.o: In function `umass_cam_detach_sim':

umass.o(.text+0x1c5c): undefined reference to
`xpt_bus_deregister'

umass.o(.text+0x1c78): undefined reference to
`cam_sim_free'

umass.o: In function `umass_cam_action':
umass.o(.text+0x20ed): undefined reference to
`xpt_done'

umass.o: In function `umass_cam_cb':
umass.o(.text+0x225b): undefined reference to
`xpt_done'

umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x23c1): undefined reference to
`xpt_done'

umass.o: In function `umass_cam_quirk_cb':
umass.o(.text+0x23eb): undefined reference to
`xpt_done'

*** Error code 1
 
Stop in /usr/src/sys/i386/compile/CUSTOM.



=
-- K E S H A V  T A D I M E T I --
BeOS Air
You have to pay for the tickets, but they're half the price of Windows Air, and if you 
are an aircraft mechanic you can probably ride for free. It only takes 15 minutes to 
get to the airport and you are cheuferred there in a limozine. BeOS Air only has 
limited types of planes that only hold new luggage. All planes are single seaters and 
the model names all start with an "F" (F-14, F-15, F-16, F-18, etc.). The plane will 
fly you to your destination on autopilot in half the time of other Airways or you can 
fly the plane yourself. There are limited destinations, but they are only places you'd 
want to go to anyway. You tell all your friends how great BeOS Air is and all they say 
is "What do you mean I can't bring all my old baggage with me?"





___
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 
http://btyahoo.yahoo.co.uk#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386

#
# For more information on this file, please read the handbook section on 
# Kernel Configuration Files:

#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#
# The handbook is also available locally in /usr/share/doc/handbook

# if you've installed the doc distribution, otherwise always see the

# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the

# latest information.

#
# An exhaustive list of options and more detailed explanations of the

# device lines is also present in the ../../conf/NOTES and NOTES files. 

# If you are in doubt as to the purpose or necessity of a line, check first 

# in NOTES.

#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.384.2.2 2003/05/31 15:18:41 scottl Exp $


machine i386

#cpuI486_CPU # - not 486:TK

cpu I586_CPU

#cpuI686_CPU # - not P!!! or P4:TK

ident   CUSTOM


#To statically compile in device wiring instead of /boot/device.hints

#hints  "GENERIC.hints" 
#Default places to look for devices.


#makeoptionsDEBUG=-g
#Build kernel with gdb(1) debug symbols


options SCHED_4BSD  #4BSD scheduler

options INET#InterNETworking

options INET6   #IPv6 communications protocols

options FFS #Berkeley Fast Filesystem

options SOFTUPDATES #Enable FFS soft updates support

options UFS_ACL #Supp

re: kernel compilation problems - 5.1 (long)

2004-02-12 Thread Mike Bowie

   -- snip --
>>  umass.o: In function `umass_cam_quirk_cb':
>>  umass.o(.text+0x23eb): undefined reference to
>>  `xpt_done'
>>  *** Error code 1
>>
>>  Stop in /usr/src/sys/i386/compile/CUSTOM.
   -- snip --
>>  # SCSI peripherals
>>  #device& nbsp;   scbus# SCSI bus (required)
>>
>>  #device& nbsp;   ch# SCSI media changers
>>
>>  #device& nbsp;   da# Direct Access (disks)
   -- snip --

>>  deviceumass  &n bsp; # Disks/Mass storage - Requires
   scbus and da
   IIRC, the umass device depends on the scbus, da devices... uncomments
   them and start the build again.



   HTH,



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


Re: Ports files

2004-02-12 Thread Kent Stewart
On Thursday 12 February 2004 10:08 am, Jonathan Arnold wrote:
> andrew clarke wrote:
> > On Thu, Feb 12, 2004 at 08:09:25AM -0500, Jonathan Arnold wrote:
> >>My port hierarchy seems to have gotten out of date or something.
> >>It is missing some subdirectories, like multimedia, even though I
> >>run cvsup every other night on it.
> >
> > I had this problem too with /usr/ports/dns not being updated, even
> > though ports-dns was listed in my ports-supfile.  Switched to
> > another cvsup server and all was well.
>
> Actually, looking at the cvsup file I was using, it didn't include
> the multimedia port. I created it awhile ago, and commented out the
> ports-all line, because I didn't want to get the Chinese or Japanese,
> etc, ports. But there doesn't seem to be an easy way to get
> everything but those. There is a 'refuse' file, but that is based
> upon the file name, and I'm not sure I want to refuse everything
> with, say, 'chinese' in its filename.

Well, when you refuse, you take a chance on "make index" not working. 
The choice is yours :).

Kent

-- 
Kent Stewart
Richland, WA

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


RE: hostname and dhcp

2004-02-12 Thread JJB
If I understand you correctly, you are talking about your system
which is connected to the public internet, and you are using the
FBSD built in DHCP client to get an lease from your ISP. Now if you
are an commercial user with an officially registered domain name and
static ip address from your ISP,  Your ISP has you in their DHCP
server with your FQDN and it's being sent to your system when you
get an new lease. The FBSD built in DHCP client is not configured to
accept that info which will auto populate the hostname= environment
variable.  Install the DHCP package on you system and configure It's
client to accept that info.

If you are not an commercial user, then the host name the ISP uses
for you is meaningless to you. If you have officially registered
domain name then use that in your hostname=  statement, like this,
hostname="cyberbaby.com", then that FQDN will be what sendmail uses
for all the users on your LAN. Then use DHCP server to pass the
major FQDN to all LAN PC, and those systems will append to the front
their system names and tell your DHCP server their full name.

If you do not have LAN or officially registered domain name, then
all you need, is to meet the domain nameing convention,
something.com and you are all set go. IE:
hostname="home.FBSDyourLastName.com".

As far as reverse lookup goes, that is only on officially registered
domain names,  either yours, which really happens at the registry
hosting your domain name, or at the ISP if your using their email
servers.

On your system the value you use in hostname=  should also be in the
/etc/hosts file like this

#
::1 localhost localhost.my.domain
127.0.0.1   localhost home.FBSDyourLastName.com FBSDyourLastName.com
#


Hope this helps

Joe



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Evan Dower
Sent: Thursday, February 12, 2004 1:15 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: hostname and dhcp

Hmm... That is what I expected it to do, but when I tried it, I
ended up
with an empty hostname. Of course, I don't remember now if I
commented out
that line or just set it to empty. Actually, looking at
/etc/defaults/rc.conf I see that if I comment it out in /etc/rc.conf
it gets
set to the empty string in the default, so it shouldn't matter.
Anyway, like
I said, I tried that and just ended up with an empty hostname.
Perhaps that
indicates something is wrong with my configuration...
Thanks very much for the help (any other ideas?),
--
Evan Dower
Undergraduate, Computer Science
University of Washington
Public key: http://students.washington.edu/evantd/pgp-pub-key.txt
Key fingerprint = D321 FA24 4BDA F82D 53A9  5B27 7D15 5A4F 033F 887D




>From: Lowell Gilbert <[EMAIL PROTECTED]>
>To: "Evan Dower" <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: hostname and dhcp
>Date: 12 Feb 2004 13:04:38 -0500
>
>"Evan Dower" <[EMAIL PROTECTED]> writes:
>
> > I've actually been running FreeBSD for quite a while now, but
I've
> > never known exactly how to handle this. In rc.conf, one must
specify a
> > hostname. If you're using DHCP to set up your network though,
your
> > FQDN (fully qualified domain name) can change without notice. It
seems
> > like a Good Idea to have your hostname be your FQDN, since some
things
> > will do a reverse lookup on your IP to verify that it matches
the
> > hostname you supplied. In particular I'm thinking of SMTP
servers
> > here. (send-pr doesn't work for me because my mail gets
rejected.) So,
> > when you're autoconfiguring your network interfaces, what should
you
> > put in rc.conf's hostname variable? Is there something else I
can do
> > that would allow me to have something nicer looking, but still
send my
> > FQDN when asked?
>
>If you don't set your hostname in rc.conf, dhclient should change
it
>for you when it finds out what it is.
>
>--
>Lowell Gilbert, embedded/networking software engineer, Boston area:
>   resume/CV at
http://be-well.ilk.org:8088/~lowell/resume/
>   username/password "public"

_
Check out the great features of the new MSN 9 Dial-up, with the MSN
Dial-up
Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/

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

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


/tmp full (newbie)

2004-02-12 Thread gaf
Hello.
Im a newbie to unix and FreeBSD. I have 5.2 installed. When installing I 
followed the advice in The Complete FreeBSD and made the following 
partitions:
/ 4G
swap  800M
/home   35G
I have KDE 3.2  installed I have done cvsup on src and ports new kernel 
etc etc.
Today I tried to install a new browser and I got the information that my 
filesystem is full.  When I tried to start KDE I got the message that 
/tmp is full. I would really apprecite some help. What to do?? Can I 
give you some other info and if so what and how???
Many thanks Gaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kernel compilation problems - 5.1 (long)

2004-02-12 Thread Peter Risdon
Tadimeti Keshav wrote:

hi all,
I am having problems compiling my kernel. 
 

Your immediate problem is a common one. Your kernel config includes the 
line:

device		umass		# Disks/Mass storage - Requires scbus and da

But scbus and da are commented out. Uncomment them, and compile.

PWR.

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


Re: /tmp full (newbie)

2004-02-12 Thread Jez Hancock
On Thu, Feb 12, 2004 at 08:26:24PM +0100, gaf wrote:
> Today I tried to install a new browser and I got the information that my 
> filesystem is full.  When I tried to start KDE I got the message that 
> /tmp is full. I would really apprecite some help. What to do?? Can I 
> give you some other info and if so what and how???

Yes please - paste the output from df and mount.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /.cshrc and /.profile

2004-02-12 Thread Jonathan Chen
On Fri, Feb 13, 2004 at 12:56:01AM +0800, h0444lp6 wrote:
> Dear list
> 
> What are the /.cshrc and /.profile files for?
> 
> Since /etc holds the system wide conf files and ~ the user specific ones
> I do not understand why there are the ones in /.

When the machine boots into single-user mode, the root user's HOME is
set to /.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Build a man a fire, and he'll be warm for a day.
Set a man on fire, and he'll be warm for the rest of his life.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with ssh

2004-02-12 Thread Dragoncrest
Hi again everyone.  Ok, this issue just popped up today on a different
machine, but it's still bugging me either way.  My home mail server
(freebsd 4.8) has SSH available to the internet so I can get into the
box from work if need be.  That is the only port open as it's a fetching
mail server so port 25 isn't available to the rest of the world.  Nor is
110.  What I just discovered today is that my sshd is allowing auth by
public key OR password.  I don't want it to auth by password.  JUST
public key.  So in other words if you don't already have the public key
file, well, it sucks being you because you won't get connected.

Anyone know how to do this?  Or would this question be better handled on
an SSH mailing list?  If so, which list is best and how do I sign up? 
Much apreciated on the info.  Thanks.

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


RE: /tmp full (newbie)

2004-02-12 Thread JJB
Add this statement to /etc/rc.conf and reboot your system.


clear_tmp_enable="YES"  # clear /tmp directory on boot


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of gaf
Sent: Thursday, February 12, 2004 2:26 PM
To: [EMAIL PROTECTED]
Subject: /tmp full (newbie)

Hello.
Im a newbie to unix and FreeBSD. I have 5.2 installed. When
installing I
followed the advice in The Complete FreeBSD and made the following
partitions:
/ 4G
swap  800M
/home   35G
 I have KDE 3.2  installed I have done cvsup on src and ports new
kernel
etc etc.
Today I tried to install a new browser and I got the information
that my
filesystem is full.  When I tried to start KDE I got the message
that
/tmp is full. I would really apprecite some help. What to do?? Can I
give you some other info and if so what and how???
Many thanks Gaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


Re: /tmp full (newbie)

2004-02-12 Thread gaf
Jez Hancock wrote:

On Thu, Feb 12, 2004 at 08:26:24PM +0100, gaf wrote:
 

Today I tried to install a new browser and I got the information that my 
filesystem is full.  When I tried to start KDE I got the message that 
/tmp is full. I would really apprecite some help. What to do?? Can I 
give you some other info and if so what and how???
   

Yes please - paste the output from df and mount.

 

Hello Jez.
df -h gave:
Filesystem sizeused avail 
capacity   mounted on
/dev/ad1s1a   3,9G3,8G  -234,3M   
106%  /
devfs  1,0K1,0K   0B
100% /dev
/dev/ad1s1d   37G  22M 34G 
0%/home

mount gave:
/dev/ad1s1a on  /
devfs on  /dev
/dev/ad1s1d on /home
..pid 631 dd uid 2 inumber 310719 on /: 
filesystem full
Thats it
As you can see I can not yet send mail without a gui  :(
Hope this can help you to help me. Thanks for answering
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /tmp full (newbie)

2004-02-12 Thread gaf
JJB wrote:

Add this statement to /etc/rc.conf and reboot your system.

clear_tmp_enable="YES"  # clear /tmp directory on boot

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of gaf
Sent: Thursday, February 12, 2004 2:26 PM
To: [EMAIL PROTECTED]
Subject: /tmp full (newbie)
Hello.
Im a newbie to unix and FreeBSD. I have 5.2 installed. When
installing I
followed the advice in The Complete FreeBSD and made the following
partitions:
/ 4G
swap  800M
/home   35G
I have KDE 3.2  installed I have done cvsup on src and ports new
kernel
etc etc.
Today I tried to install a new browser and I got the information
that my
filesystem is full.  When I tried to start KDE I got the message
that
/tmp is full. I would really apprecite some help. What to do?? Can I
give you some other info and if so what and how???
Many thanks Gaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
 

Thank you! I will try that!!
Gaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with ssh

2004-02-12 Thread Nathan Kinkade
On Thu, Feb 12, 2004 at 02:49:17PM -0500, Dragoncrest wrote:
> Hi again everyone.  Ok, this issue just popped up today on a different
> machine, but it's still bugging me either way.  My home mail server
> (freebsd 4.8) has SSH available to the internet so I can get into the
> box from work if need be.  That is the only port open as it's a fetching
> mail server so port 25 isn't available to the rest of the world.  Nor is
> 110.  What I just discovered today is that my sshd is allowing auth by
> public key OR password.  I don't want it to auth by password.  JUST
> public key.  So in other words if you don't already have the public key
> file, well, it sucks being you because you won't get connected.
> 
> Anyone know how to do this?  Or would this question be better handled on
> an SSH mailing list?  If so, which list is best and how do I sign up? 
> Much apreciated on the info.  Thanks.

Uncomment the following line /etc/ssh/sshd_config and HUP sshd:

#PasswordAuthentication yes

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: Problem with ssh

2004-02-12 Thread Erik Trulsson
On Thu, Feb 12, 2004 at 02:49:17PM -0500, Dragoncrest wrote:
> Hi again everyone.  Ok, this issue just popped up today on a different
> machine, but it's still bugging me either way.  My home mail server
> (freebsd 4.8) has SSH available to the internet so I can get into the
> box from work if need be.  That is the only port open as it's a fetching
> mail server so port 25 isn't available to the rest of the world.  Nor is
> 110.  What I just discovered today is that my sshd is allowing auth by
> public key OR password.  I don't want it to auth by password.  JUST
> public key.  So in other words if you don't already have the public key
> file, well, it sucks being you because you won't get connected.
> 
> Anyone know how to do this?  Or would this question be better handled on
> an SSH mailing list?  If so, which list is best and how do I sign up? 
> Much apreciated on the info.  Thanks.

Read the sshd_config(5) manpage.  The 'PasswordAuthentication' keyword
seems to be what you are interested in.


-- 

Erik Trulsson
[EMAIL PROTECTED]

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


Re: Problem with ssh

2004-02-12 Thread Clint Gilders
Nathan Kinkade wrote:
 > Uncomment the following line /etc/ssh/sshd_config and HUP sshd:
#PasswordAuthentication yes
You also want to set that to 'no'

PasswordAuthentication no

--
Clint Gilders <[EMAIL PROTECTED]>
Director of Technology Services
OnlineHobbyist.com, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i know this sounds stoopid, but!

2004-02-12 Thread Ron McCy


Yvette Seifert Hirth wrote:

Yvette Halftone Signature Stationeryhi, just got FreeBSD 5.1 in da box, with
"dummies" manual, was around $60.  bought from FreeBSD.
now i'm REAL tense about "doing the right thing" with copyrights, so...

can i install this one copy on more than one box?

i know if i downloaded one-or-more of the distro's those can be installed
anywhere.  but this version comes from "da box".
so please advise.  i don't want the RIAA or the DCMA police coming down on
my tush.
thanks much in advance!

vty
yvette hirth

signature block not visible? -->www.magneticdogsisters.com

“The greatest happiness in life is the conviction that we
are loved, loved for ourselves, or, rather, despite ourselves."
--Victor Hugo
 



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

I think that you are good to go and spread "the word" to as many 
computers as you wish. It probably says as much in the license 
somwhere.open source and all that. I bought a 4.9 box set online and 
have it installed on 4 computers already.

Enjoy.

--
Ron McCurry
BounceBack, Inc.
1-800-830-5255 ext 4806
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Locating LCD Information

2004-02-12 Thread Joe Lewis
I recently bought a couple of network storage apps.  I think I've gotten 
a good feel for the LCDd from the LCDProc port.  I think I need to find 
out what kind or LCD it is before proceeding.  Do you guys know of any 
way to locate specs for the LCD devices on network servers?

It comes from a storigen device, and the LCD circuit boards all have 
storigen ID numbers (and storigen is out of business - go figure).  Any 
ideas on where to look next?

Joe

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


Re: Problem with ssh

2004-02-12 Thread Duane Winner
On Thu, 2004-02-12 at 14:49, Dragoncrest wrote:
> Hi again everyone.  Ok, this issue just popped up today on a different
> machine, but it's still bugging me either way.  My home mail server
> (freebsd 4.8) has SSH available to the internet so I can get into the
> box from work if need be.  That is the only port open as it's a fetching
> mail server so port 25 isn't available to the rest of the world.  Nor is
> 110.  What I just discovered today is that my sshd is allowing auth by
> public key OR password.  I don't want it to auth by password.  JUST
> public key.  So in other words if you don't already have the public key
> file, well, it sucks being you because you won't get connected.
> 
> Anyone know how to do this?  Or would this question be better handled on
> an SSH mailing list?  If so, which list is best and how do I sign up? 
> Much apreciated on the info.  Thanks.
> 

For what it's worth, this is my config that does exactly what you are
looking for. It allows auth by public key only, i.e., the user's public
key must be concatenated into ~/.ssh/authorized_keys2 in their
respective home dir.

There might be some better tweaking I could do to this, but haven't
gotten around to yet. The main thing is that it does pubkey auth and
accepts ssh protocol 2 only.

Hope this helps.



Port 22
Protocol 2
ListenAddress 0.0.0.0
LoginGraceTime 120
PermitRootLogin no
StrictModes yes
RhostsAuthentication no
IgnoreRhosts yes
/etc/ssh/ssh_known_hosts
RhostsRSAAuthentication no
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
X11Forwarding no
PrintMotd yes
Subsystem   sftp/usr/libexec/sftp-server


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


Spimware infection

2004-02-12 Thread Wallace Aiken
Hi, I'm using two of your firewalls...they work great. But all of a sudden they're 
showing signs of "Spimmware" infection, a kind of spyware. 

I work for Kent State university and their network scan came up with the IPs and host 
names of my firewalls, as well as some other hosts on my subnet that were not behind 
the firewall...can you give me any advice?

Thanks!
Wallace Aiken
Kent State University 
Salem Campus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hardware vs software firewall on FreeBSD

2004-02-12 Thread ppi
I'm upgrading the hardware on my webserver.  It will run FreeBSD 4.9.

I need to decide whether to use a hardware firewall (Cisco) or use ipfw,
ipf, pf, etc.

The hardware firewall will increase my monthly server rental bill by
almost 30%.  So I'm wondering if the significant extra cost is worth it.

What kind of performance hit will result from using ipfw, ipf or pf?

I would like to avoid the extra expense of the hardware firewall.

Can anyone offer an opinion on this matter?  Any good reasons to use one
over the other?

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


root access to a custom .sh defined as shell; need root privilages to add newuser

2004-02-12 Thread ZZerver ZZserver
Am running a free server of shells in freeBSD 4.9, the amount of
people solicitading new accounts has been too much that i can not
handle them by me, so i wrote this .sh program to do it for me, my
code its secure as much i can tell, i understand the risk involve and
decide to do it anyways, soo i create a new group call 'shellauto',
add new user 'newuser' promote to 'wheel', then i modify etc/shells to
accept my new shell, so when some body logs to my server as 'newuser'
the server run my .sh (freeshell.sh), everything works goodl but my
question is ...how can i give my script root previlages ? so can
addusers without me? also if there is a way to type a command directly
to shell (bash) so i can define quotas of 1mb, and background procees
to 3?? that way i can include those commands to my freeshell.sh
...thanks
_
MSN Fotos: la forma más fácil de compartir e imprimir fotos.  
http://photos.msn.es/support/worldwide.aspx

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


Re: /tmp full (newbie)

2004-02-12 Thread gaf
JJB wrote:

Add this statement to /etc/rc.conf and reboot your system.

clear_tmp_enable="YES"  # clear /tmp directory on boot

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of gaf
Sent: Thursday, February 12, 2004 2:26 PM
To: [EMAIL PROTECTED]
Subject: /tmp full (newbie)
Hello.
Im a newbie to unix and FreeBSD. I have 5.2 installed. When
installing I
followed the advice in The Complete FreeBSD and made the following
partitions:
/ 4G
swap  800M
/home   35G
I have KDE 3.2  installed I have done cvsup on src and ports new
kernel
etc etc.
Today I tried to install a new browser and I got the information
that my
filesystem is full.  When I tried to start KDE I got the message
that
/tmp is full. I would really apprecite some help. What to do?? Can I
give you some other info and if so what and how???
Many thanks Gaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
 

Hello again.
I tried it and it emptied /tmp but I still can´t start KDE.
It says:
startkde: Could not start ksmserver check your installation
Error: can´t contact kdeinit
/:write failed, filesystem full can´t create /tmp/mcop-gaf (no space 
left on device)
..pid 627 (artsshell), uid 1002 inumber 211973 on /: 
filesystem full
What to do??
Hope you can give me some other clues.
gaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /tmp full (newbie)

2004-02-12 Thread Jez Hancock
On Thu, Feb 12, 2004 at 08:57:31PM +0100, gaf wrote:
> Jez Hancock wrote:
> >On Thu, Feb 12, 2004 at 08:26:24PM +0100, gaf wrote:
> >>Today I tried to install a new browser and I got the information that my 
> >>filesystem is full.  When I tried to start KDE I got the message that 
> >>/tmp is full. I would really apprecite some help. What to do?? Can I 
> >>give you some other info and if so what and how???
> >
> >Yes please - paste the output from df and mount.
> >
> df -h gave:
> Filesystem sizeused  avail capacity   mounted on
> /dev/ad1s1a   3,9G 3,8G  -234,3M 106% /
> devfs 1,0K 1,0K  0B  100% /dev
> /dev/ad1s1d   37G  22M   34G 0%   /home

It might be best if you reinstalled the OS from scratch and ensure you
assign the disk space more practically.  Presently you have a massive
proportion of your disk space assigned to /home and only a small
proportion assigned to / - you can get away with a /home partition of
only 1Gb, but a tiny / partition will make using the OS difficult.

A more suitable fs layout might be:

Filesystem  SizeMounted on
/dev/ad1s1a 500MB   /
/dev/ad1s1e 500MB   /tmp
/dev/ad1s1f 10-20GB /usr

with the remaining space going to /var and /home.  

You don't have to create separate partitions for each mount point, but
it speeds things up a little and saves disk space being filled up and
causing a denial of service...

Better bet if you don't feel confident with partitioning might be to let
the installer choose the partition sizes for you initially - select 'a' in the
fdisk screen (iirc) and the installer automatically selects the partition sizes
it thinks are best given the size of the hdd.

At the end of the day the best way to learn is to install, reinstall,
reinstall and reinstall again :P

As always read, reread, etc the handbook section on partitioning:

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

Good luck!

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: root access to a custom .sh defined as shell;

2004-02-12 Thread Jerry McAllister
> 
> Am running a free server of shells in freeBSD 4.9, the amount of
> >people solicitading new accounts has been too much that i can not
> >handle them by me, so i wrote this .sh program to do it for me, my
> >code its secure as much i can tell, i understand the risk involve and
> >decide to do it anyways, soo i create a new group call 'shellauto',
> >add new user 'newuser' promote to 'wheel', then i modify etc/shells to
> >accept my new shell, so when some body logs to my server as 'newuser'
> >the server run my .sh (freeshell.sh), everything works goodl but my
> >question is ...how can i give my script root previlages ? so can
> >addusers without me? also if there is a way to type a command directly
> >to shell (bash) so i can define quotas of 1mb, and background procees
> >to 3?? that way i can include those commands to my freeshell.sh
> >...thanks

You are not supposed to be able to make a shell script have SUID root
ability.So, you either need to write a wrapper in C that calls
it or just rewrite the whole thing in C.

jerry

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


Re: /tmp full (newbie)

2004-02-12 Thread gaf
Jez Hancock wrote:

On Thu, Feb 12, 2004 at 08:57:31PM +0100, gaf wrote:
 

Jez Hancock wrote:
   

On Thu, Feb 12, 2004 at 08:26:24PM +0100, gaf wrote:
 

Today I tried to install a new browser and I got the information that my 
filesystem is full.  When I tried to start KDE I got the message that 
/tmp is full. I would really apprecite some help. What to do?? Can I 
give you some other info and if so what and how???
   

Yes please - paste the output from df and mount.

 

df -h gave:
Filesystem sizeused  avail capacity   mounted on
/dev/ad1s1a   3,9G 3,8G  -234,3M 106% /
devfs 1,0K 1,0K  0B  100% /dev
/dev/ad1s1d   37G  22M   34G 0%   /home
   

It might be best if you reinstalled the OS from scratch and ensure you
assign the disk space more practically.  Presently you have a massive
proportion of your disk space assigned to /home and only a small
proportion assigned to / - you can get away with a /home partition of
only 1Gb, but a tiny / partition will make using the OS difficult.
A more suitable fs layout might be:

Filesystem  SizeMounted on
/dev/ad1s1a 500MB   /
/dev/ad1s1e 500MB   /tmp
/dev/ad1s1f 10-20GB /usr
with the remaining space going to /var and /home.  

You don't have to create separate partitions for each mount point, but
it speeds things up a little and saves disk space being filled up and
causing a denial of service...
Better bet if you don't feel confident with partitioning might be to let
the installer choose the partition sizes for you initially - select 'a' in the
fdisk screen (iirc) and the installer automatically selects the partition sizes
it thinks are best given the size of the hdd.
At the end of the day the best way to learn is to install, reinstall,
reinstall and reinstall again :P
As always read, reread, etc the handbook section on partitioning:

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

Good luck!

 

Thank you for answering. I´d hoped not to reinstall but. 
Partitioning is no problem, I´ve installed all versions from 4.8 to5.2  
on my old computer just for training and trying.
Thanks again
gaf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


stupid packages question

2004-02-12 Thread Duane Winner
Hello,

I'm sure there is an easy answer to this that I just haven't been able
to gleen from reading stuff:

How can I make packages for all the depencies of a package that I'm
trying to create in one fell swoop?

Example:
If I go into /usr/ports/sysutils/portupgrade and type
"make package"
it builds a nice package that I can send to other machines to install,
but then of course I will need to install all the depencies first, which
means I have to go back to my build box, find all the sources and "make
package" on all of them. Kinda tedious. Is there an easier way?

I've read about "make package" in about 5 different docs/books, but none
of the mention this problem.

Thanks for any info.

-DW


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


nasm, ld, libc, and **environ

2004-02-12 Thread Adam Bozanich

Hi all.  I am trying to learn asm with NASM on a FreeBSD system.  I really
need to debug my programs while I learn, so I want to use printf.  This is
what I am using to assemble and link:

nasm -f elf use_printf.asm
ld -o use_printf use_printf.asm -lc

but then when I run the program:

$./use_printf
/usr/libexec/ld-elf.so.1: /lib/libc.so.5: Undefined symbol "environ"

If I try to use static linking, I get this:

$ld -static -o use_printf use_printf.asm -lc
/usr/lib/libc.a(getenv.o): In function `getenv':
getenv.o(.text+0x19): undefined reference to `environ'
getenv.o(.text+0x29): undefined reference to `environ'
getenv.o(.text+0x63): undefined reference to `environ'
/usr/lib/libc.a(getenv.o): In function `__findenv':
getenv.o(.text+0xd5): undefined reference to `environ'
getenv.o(.text+0xe2): undefined reference to `environ'
/usr/lib/libc.a(getenv.o)(.text+0x113): more undefined references to `environ' follow
/usr/lib/libc.a(getprogname.o): In function `_getprogname':
getprogname.o(.text+0x4): undefined reference to `__progname'

Can somebody see where I am going wrong?  This is kindof holding me back.  I
added the 'extern environ' and 'extern __progname' beause I get this otherwise:
(when NOT using -static)

/usr/lib/libc.so: undefined reference to `environ'
/usr/lib/libc.so: undefined reference to `__progname'

Here's what I have:


;; BEGIN CODE 

extern  printf
extern  environ
extern  __progname

section .data
mesgdb   'the number is %d\n',0
mesglen equ  $-mesg

errormesg   db   'libc error',0ah,0
errormesglenequ  $-errormesg

newline db  10
number  dw  0x10

kernel:
   int 80h
   ret

align 4
section .text
global _start
_start:

; call printf from libc
push dword  number
push dword  mesg
call printf

; error if eax < 1  ( we should have wrote some chars )
cmp eax , 0x1
jl  .error

; use write() system call to print message
pushdword   mesglen
pushdword   mesg
pushdword   0x1   ; stdout
mov eax   , 0x4   ; 4 == write system call
callkernel

; output a newline
pushdword   1
pushdword   newline
pushdword   0x1
mov eax   , 0x4
callkernel


mov  eax  , 0x1 ; exit syscall number
push dword  0x0 ; exit status
call kernel

.error:

push dword  errormesglen
push dword  errormesg
push dword  0x1
mov eax , 0x4
callkernel

mov eax  , 0x1
pushdword  0xff
callkernel


  END CODE ;;;

Any suggestions will be greatly appreciated.  Thanks

-Adam


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


Re: /tmp full (newbie)

2004-02-12 Thread Ion-Mihai Tetcu
On Thu, 12 Feb 2004 21:35:08 +0100
gaf <[EMAIL PROTECTED]> wrote:

> JJB wrote:
> 
> >Add this statement to /etc/rc.conf and reboot your system.
> >
> >
> >clear_tmp_enable="YES"  # clear /tmp directory on boot
> >
> >
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] Behalf Of gaf
> >Sent: Thursday, February 12, 2004 2:26 PM
> >To: [EMAIL PROTECTED]
> >Subject: /tmp full (newbie)
> >
> >Hello.
> >Im a newbie to unix and FreeBSD. I have 5.2 installed. When
> >installing I
> >followed the advice in The Complete FreeBSD and made the following
> >partitions:
> >/ 4G
> >swap  800M
> >/home   35G
> > I have KDE 3.2  installed I have done cvsup on src and ports new
> >kernel
> >etc etc.
> >Today I tried to install a new browser and I got the information
> >that my
> >filesystem is full.  When I tried to start KDE I got the message
> >that
> >/tmp is full. I would really apprecite some help. What to do?? Can I
> >give you some other info and if so what and how???
> >Many thanks Gaf
> >___
> >[EMAIL PROTECTED] mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
> >"[EMAIL PROTECTED]"
> >
> >
> >  
> >
> Hello again.
> I tried it and it emptied /tmp but I still can´t start KDE.
> It says:
> startkde: Could not start ksmserver check your installation
> Error: can´t contact kdeinit
> /:write failed, filesystem full can´t create /tmp/mcop-gaf (no space 
> left on device)
> ..pid 627 (artsshell), uid 1002 inumber 211973 on /: 
> filesystem full
> What to do??
> Hope you can give me some other clues.
> gaf

Do your self a favor and read the handbook.

Probably the easy way for you is to reinstall, dividing disk the right
way.


-- 
IOnut
Unregistered ;) FreeBSD user

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


portversion error after cvsup

2004-02-12 Thread Petre Bandac
after I cvsup-ed and portsdb -Uu && pkgdb -Fvu, portversion | grep "<" shows 
me almost all the ports I have installed (on a closer look, almost all the 
ports shown erroneously were portupgraded once)

has anyone had this type of problem and how can it be solved ?

thanks,

petre

-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Thu Dec 11 07:34 (EET) on ttyv0, idle 16 days 23:16 (messages off)
Last login Thu Feb 12 08:48 (EET) on ttypb from ns.rdsbv.ro
No Mail.
Plan:

!Hasta la Victoria Siempre!

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


Re: Problem with ssh

2004-02-12 Thread Quintin Riis
man sshd_config

		Quintin

Dragoncrest wrote:
Hi again everyone.  Ok, this issue just popped up today on a different
machine, but it's still bugging me either way.  My home mail server
(freebsd 4.8) has SSH available to the internet so I can get into the
box from work if need be.  That is the only port open as it's a fetching
mail server so port 25 isn't available to the rest of the world.  Nor is
110.  What I just discovered today is that my sshd is allowing auth by
public key OR password.  I don't want it to auth by password.  JUST
public key.  So in other words if you don't already have the public key
file, well, it sucks being you because you won't get connected.
Anyone know how to do this?  Or would this question be better handled on
an SSH mailing list?  If so, which list is best and how do I sign up? 
Much apreciated on the info.  Thanks.

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


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


Re: Source Code

2004-02-12 Thread Ion-Mihai Tetcu
[ I like it to much ;) not to cc back on questions@ ]

On Thu, 12 Feb 2004 12:36:54 -0800
"Lord, Bruce J" <[EMAIL PROTECTED]> wrote:

> FreeBSD Support:
> 
> Thank you for everything!
> 
> Microsoft was, and is, never of this service quality.
> 
> You are the great pubahs,
> Bruce Lord

As a side note, about a month ago I've needed to compare some files on
an xp. It took about 10 minutes find find something to do it. And even
now I don't know the difference between the two or how they actually
work.


> 
> 
> -Original Message-
> From: Ion-Mihai Tetcu [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 12, 2004 12:04 PM
> To: Kevin D. Kinsey, DaleCo, S.P.
> Cc: Lord, Bruce J
> Subject: Re: Source Code
> 
> 
> On Thu, 12 Feb 2004 13:22:14 -0600
> "Kevin D. Kinsey, DaleCo, S.P." <[EMAIL PROTECTED]> wrote:
> 
> > -Original Message-
> > 
> > >From: Kevin D. Kinsey, DaleCo, S.P. [mailto:[EMAIL PROTECTED]
> > >Sent: Wednesday, February 11, 2004 3:24 PM
> > >To: Lord, Bruce J
> > >Subject: Re: Source Code
> > >
> > >
> > >Lord, Bruce J wrote:
> > >
> > >  
> > >
> > >>To Whom It May Concern:
> > >>
> > >>I purchased the book "TCP/IP Illustrated, Vol 2: The
> > >Implementation" >by
> > >>Gary Wright and W. Stevens. This book only partially shows the
> > >source >code for Mbufs: Memory Buffers.  Is there some way that I
> > >can get that >source code without loading the BSD i386
> > >installation?
> > >
> > >The FreeBSD project has kept its source code
> > >in CVS since the beginning.  You might try
> > >searching the CVS tree --- a web interface
> > >exists at the project's site, www.freebsd.org.
> > >
> >  >Lord, Bruce J wrote:
> > 
> > >Wow!  I did not expect such a quick reply.
> > >
> > >Thanks!
> > >Bruce
> > 
> > 
> > That's the FreeBSD community response
> > (as long as the message meets some standards,
> > anyhow...).
> > 
> > The real 'kudos' go to Ion-Mihail, I see he
> > went to the trouble to find you the exact
> > link... ;-)
> 
> Well, 
> 
> I have some bookmarks, just in case ;)
> 
> src/contrib/smbfs/lib/smb/mbuf.c
> src/share/man/man9/mbuf.9
> src/sys/contrib/dev/acpica/dmbuffer.c
> src/sys/i4b/include/i4b_mbuf.h
> src/sys/i4b/layer2/i4b_mbuf.c
> src/sys/kern/subr_mbuf.c
> src/sys/kern/uipc_mbuf.c
> src/sys/kern/uipc_mbuf2.c
> src/sys/netatm/uni/unisig_mbuf.c src/sys/netatm/uni/unisig_mbuf.h
> src/sys/netipsec/ipsec_mbuf.c src/sys/sys/mbuf.h
> src/usr.bin/netstat/mbuf.c src/usr.bin/systat/mbufs.c
> src/usr.sbin/ppp/mbuf.c src/usr.sbin/ppp/mbuf.h just add one of this
> to the link: http://www.freebsd.org/cgi/cvsweb.cgi/
> 
> 
> At:
> http://www.freebsd.org/cgi/man.cgi?sektion=9
> 
> try:
> bus_dmamap_load_mbuf
> mb_put_mbuf
> mbuf
> md_get_mbuf
> 
> 
> -- 
> IOnut
> Unregistered ;) FreeBSD user
> 
> 
> 
> !DSPAM:402be573177352980717666!
> 
> 


-- 
IOnut
Unregistered ;) FreeBSD user

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


Re: stupid packages question

2004-02-12 Thread Rob Ellis
On Thu, Feb 12, 2004 at 03:46:58PM -0500, Duane Winner wrote:
> Hello,
> 
> I'm sure there is an easy answer to this that I just haven't been able
> to gleen from reading stuff:
> 
> How can I make packages for all the depencies of a package that I'm
> trying to create in one fell swoop?
> 

'make package-recursive'

the default ports make targets are documented in the comments in 
/usr/ports/Mk/bsd.port.mk

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


Re: /tmp full (newbie)

2004-02-12 Thread gaf
I have read the handbook but have been following (It´s easier to have a 
book in front of you when installing).  The Complete FreeBSD  4th 
edition when installing, where Greg Lehey recommends the partitioning  
that I have running right now so.
as a newbie how should I know which one is the most accurate?  Now I 
know you ll say the handbook, so from now on I will follow the handbook.
Thanks for answering
gaf

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


Re: /tmp full (newbie)

2004-02-12 Thread Jez Hancock
On Thu, Feb 12, 2004 at 09:44:27PM +0100, gaf wrote:
> Thank you for answering. I?d hoped not to reinstall but. 
> Partitioning is no problem, I?ve installed all versions from 4.8 to5.2  
> on my old computer just for training and trying.

The problem with the current scheme is you have only 4Gb or so for
everything apart from /home - I don't have KDE / X installed, but I'm
fairly sure KDE on it's own would eat up 3-4Gb of space without too much
problem.  If you reinstalled I'd say assign 20Gb to /usr if you're going
to use KDE.

Another alternative might be to get rid of KDE and try something more
economic - like blackbox or wm - although if you're not too comfortable
with the shell those might not be the best for you.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with ssh

2004-02-12 Thread Nathan Kinkade
On Thu, Feb 12, 2004 at 03:12:29PM -0500, Clint Gilders wrote:
> Nathan Kinkade wrote:
>  > Uncomment the following line /etc/ssh/sshd_config and HUP sshd:
> >
> >#PasswordAuthentication yes
> 
> You also want to set that to 'no'
> 
> PasswordAuthentication no
> 
> -- 

Oppps.  Yes, forgot to add that minor detail. :)

Thanks,
Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


help???????

2004-02-12 Thread Umair Hussain
can ne1 help me out here i need to send messages to my workstations 
on my windows network ofcourse im using a freebsd server so plz can ne 1 
tell me wats the command for that..i need an altnerative for netsend(win2k) 
in freebsd.

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: /tmp full (newbie)

2004-02-12 Thread matthew

On Thu, 12 Feb 2004, Ion-Mihai Tetcu wrote:

> On Thu, 12 Feb 2004 21:35:08 +0100
> gaf <[EMAIL PROTECTED]> wrote:
>
> > JJB wrote:
> >
> > >Add this statement to /etc/rc.conf and reboot your system.
> > >
> > >
> > >clear_tmp_enable="YES"  # clear /tmp directory on boot
> > >
> > >
> > >-Original Message-
> > >From: [EMAIL PROTECTED]
> > >[mailto:[EMAIL PROTECTED] Behalf Of gaf
> > >Sent: Thursday, February 12, 2004 2:26 PM
> > >To: [EMAIL PROTECTED]
> > >Subject: /tmp full (newbie)
> > >
> > >Hello.
> > >Im a newbie to unix and FreeBSD. I have 5.2 installed. When
> > >installing I
> > >followed the advice in The Complete FreeBSD and made the following
> > >partitions:
> > >/ 4G
> > >swap  800M
> > >/home   35G
> > > I have KDE 3.2  installed I have done cvsup on src and ports new
> > >kernel
> > >etc etc.
> > >Today I tried to install a new browser and I got the information
> > >that my
> > >filesystem is full.  When I tried to start KDE I got the message
> > >that
> > >/tmp is full. I would really apprecite some help. What to do?? Can I
> > >give you some other info and if so what and how???
> > >Many thanks Gaf
> > >___
> > >[EMAIL PROTECTED] mailing list
> > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > >To unsubscribe, send any mail to
> > >"[EMAIL PROTECTED]"
> > >
> > >
> > >
> > >
> > Hello again.
> > I tried it and it emptied /tmp but I still can´t start KDE.
> > It says:
> > startkde: Could not start ksmserver check your installation
> > Error: can´t contact kdeinit
> > /:write failed, filesystem full can´t create /tmp/mcop-gaf (no space
> > left on device)
> > ..pid 627 (artsshell), uid 1002 inumber 211973 on /:
> > filesystem full
> > What to do??
> > Hope you can give me some other clues.
> > gaf
>
> Do your self a favor and read the handbook.
>
> Probably the easy way for you is to reinstall, dividing disk the right
> way.
>
>

rm -rf /tmp

mkdir /home/tmp

ln -s /home/tmp /tmp

restart kde. then over time you will try windowmaker and never use kde
again.

m




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


Re: hostname and dhcp

2004-02-12 Thread Lowell Gilbert
"Evan Dower" <[EMAIL PROTECTED]> writes:

> Hmm... That is what I expected it to do, but when I tried it, I ended
> up with an empty hostname. Of course, I don't remember now if I
> commented out that line or just set it to empty. Actually, looking at
> /etc/defaults/rc.conf I see that if I comment it out in /etc/rc.conf
> it gets set to the empty string in the default, so it shouldn't
> matter. Anyway, like I said, I tried that and just ended up with an
> empty hostname. Perhaps that indicates something is wrong with my
> configuration...

Well, I didn't *try* it, I just read through dhclient-script.
I'll try to take a closer look.

> Thanks very much for the help (any other ideas?),

You could always just create you *own* script (using the
dhclient-exit-hooks script, ideally) which sets hostname on the new
name unconditionally.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >