Re: Serial console connection problem

2005-04-07 Thread Jani Luukkanen
Hi Jonathan and thanks for reply!
Jonathan Chen wrote:
I have an issue with serial console connection with two FreeBSD machines 
(Both with Intel SE7210TP1-E motherboard, other configured as "host" 
from bios and other has ordinary com ports which are connected with 
normal tested serial cable).

Host machine is running FreeBSD 5.3 and the "client" one 4.10.
Problem is that when trying to open the serial connection with tip, 
error occurs as;

/[EMAIL PROTECTED] root # tip com1
tip: /dev/cuaa0: Device busy
link down
 

 

Weird, fstat shows nothing on the port;
[EMAIL PROTECTED] root # fstat /dev/cuaa0
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W NAME
[EMAIL PROTECTED] root #
And yes, this is problem is on the 4.10 machine which is connecting to 
the 5.3 one.

Try running fstat(1) against /dev/cuaa0 to try to find out what's
holding the device. If I understand you correctly, you're doing this
on the 4.10 machine.
 

Main question is that how to get access first to the com1 port generally 
and second to get ahold of the remote screen on the other end of the 
serial cable?
   

 

Might be this is the problem, here is all gettys running on the 4.10 
machine:

root 246  0.0  0.1   956  516  v7  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv7
root 245  0.0  0.1   956  516  v6  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv6
root 244  0.0  0.1   956  516  v5  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv5
root 243  0.0  0.1   956  516  v4  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv4
root 242  0.0  0.1   956  516  v3  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv3
root 241  0.0  0.1   956  516  v2  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv2
root 240  0.0  0.1   956  516  v1  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv1
root 239  0.0  0.1   956  516  v0  Is+  16Mar05   0:00.00 
/usr/libexec/getty Pc ttyv0
root 238  0.0  0.1   956  516  d0  Is   16Mar05   0:00.00 
/usr/libexec/getty std.9600 console

The last one (console) does not appear on the 5.3 machines processlist, 
would it be safe to kill that one just like that with kill -9 238 (If 
that is the process locking the port)?

The connection is ordinary serial cable, do you mean that should specify 
from BSD side what kind of connection is it?

Make sure that you haven't got a getty running at the same time on
both sides, and that you've got a null-modem connection between the two
hosts instead of a straight thru'.
Cheers.
 

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


SE7520BD2SCSI mainboard not suported hardware ?

2005-04-07 Thread Edvardas Butrimas
Hi,
Sorry for my english

I have problem with Intel® Server Board SE7520BD2SCSI.

http://www.intel.com/design/servers/boards/se7520bd2/index.htm

Two Ultra320/LVD channels via the LSI Logic 53C1030 SCSI controller and
connected via two internal 68-pin-wide connectors; maximum data transfer 320
MB/sec on each Ultra320/LVD controller, supporting RAID 0 and 1, and support
for modular ROMB (Intel RAID Controller SRCZCRX)

SCSI disks works terribly.
They copy 3mb/s.
Does the disks are in RAID or single they works terribly.
I try other SCSI controler on PCI, but the problem the same.
I try different OS, like freebsd i386 4.11, 5.3, amd64 5.3(it suports E7520
chipset), NetBSD 2.0, only windows 2003 works fine.
Intel mainboard CD have drivers for Windows, UnixWare, SUSE, Red Hat,
NetWare.
Do you have any suggestions? any ideas ?

Here is server
SE7520BD2SCSI   INTEL (BRANDON SCSI) SERVER BOARD OEM
BX80546KG3000EA INTEL XEON 3.0GHZ 800FSB 1M BOX, ACTIVE
KVR333X72RC25/512   512MB 333MHZ DDR ECC REGISTERED CL2.5 DIMM
ST373207LW  SEAGATE CHEETAH 10K.7 73GB U320SCA 68-PIN
SC5275E INTEL SERVER CHASSIS SC5275E

dmesg:

Copyright (c) 1992-2004 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 5.3-RC1 #0: Sun Oct 17 01:25:37 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 1073610752 (1023 MB)
avail memory = 1041047552 (992 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.1 (no driver attached)
pci0:  at device 1.0 (no driver attached)
pcib1:  irq 16 at device 2.0 on pci0
pci1:  on pcib1
pcib2:  at device 0.0 on pci1
pci2:  on pcib2
mpt0:  port 0xc400-0xc4ff mem
0xfceb-0xfceb,0xfcec-0xfcec irq 26 at device 5.0 o
n pci2
mpt0: [GIANT-LOCKED]
mpt1:  port 0xc800-0xc8ff mem
0xfcee-0xfcee,0xfcef-0xfcef irq 25 at device 5.1 o
n pci2
mpt1: [GIANT-LOCKED]
pci1:  at device 0.1 (no driver
attached)
pcib3:  at device 0.2 on pci1
pci3:  on pcib3
pci1:  at device 0.3 (no driver
attached)
pcib4:  irq 16 at device 4.0 on pci0
pci4:  on pcib4
pcib5:  irq 16 at device 5.0 on pci0
pcib5: could not get PCI interrupt routing table for \\_SB_.PCI0.EPB1 -
AE_NOT_FOUND
pci5:  on pcib5
pci5:  at device 0.0 (no driver attached)
pcib6:  irq 16 at device 6.0 on pci0
pci6:  on pcib6
pcib7:  at device 30.0 on pci0
pci7:  on pcib7
em0:  port
0xec00-0xec3f mem 0xfebe-0xfebf irq 16 at device 4.
0 on pci7
em0: Ethernet address: 00:0e:0c:4e:e3:f8
em0:  Speed:N/A  Duplex:N/A
pci7:  at device 12.0 (no driver attached)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0:  at device 31.3 (no driver attached)
acpi_button0:  on acpi0
acpi_button1:  on acpi0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model MouseMan+, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on
acpi0
fdc0: [FAST]
orm0:  at iomem
0xcf800-0xd07ff,0xce800-0xcf7ff,0xca800-0xce7ff,0xc-0xca7ff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acd0: CDROM  at ata0-slave UDMA33
Waiting 15 seconds for SCSI devices to settle
da0 at mpt1 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-2 device
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 139756MB (286220288 512 byte sectors: 255H 63S/T 17816C)
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Mounting root from ufs:/dev/da0s1a


___
freebsd-question

Re: install.cfg (was RE: & No Subject)

2005-04-07 Thread John Meing
Mike I also tried to use only following line in install.cfg (without
the rc.conf lines)

command="passwd root" system

which should not has mismatching quote errors (and I tested with
/stand/sysinstalld and it worked) but it didn't work when i put it in
install.cfg :((

John Meing

On Apr 7, 2005 7:05 PM, wizlayer <[EMAIL PROTECTED]> wrote:
> On Thursday 07 April 2005 07:38 am, John Meing wrote:
> > Dear Mike
> >
> > Here are few guides i used to create this install.cfg.
> >
> > http://mypage.bluewin.ch/dazdaz/freebsd_sysinstall.html
> > http://www.freebsd.org/cgi/man.cgi?query=sysinstall&apropos=0&s
> >ektion=0&manpath=FreeBSD+4.11-RELEASE&format=html
> >
> > I also try command line version of sysinstall like
> > # /stand/sysinstall command="passwd root" system
> >
> > and it was works, but I don't know why it doesn't work with
> > install.cfg
> >
> > John Meing
> 
> Open mouth, insert foot...  There is a command!  :)
> 
> Okay, but that still doesn't work for the syntax...  Going back to
> your original post:
> 
> > command="echo sendmail_enable="NONE" >> /etc/rc.conf" system
> 
> would at best cause mismatching quote errors (which is what I'm
> assuming you're getting?)
> 
> Mike
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd 5.2.1 Ntop 3.1 error....

2005-04-07 Thread matt virus
matt virus wrote:
cvsup'd my ports and installed ntop.  Seems to work GREAT for about 5 
minutes and then i get this error in my log:

**ERROR** Reading packets on device 0 (xl0): 'read: Inappropriate ioctl 
for device'

anybody else seen this ?

further reading suggests there is a patch to download to patch this 
problem with 4.x distributions and inquires about the 5.x branch 
port/package being fixed.

Seems as though the port skeleton does not apply the patch.  Any plans 
of updating it?


--
Matt Virus ("veer-iss")
http://www.mattvirus.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Freebsd 5.2.1 Ntop 3.1 error....

2005-04-07 Thread matt virus
cvsup'd my ports and installed ntop.  Seems to work GREAT for about 5 
minutes and then i get this error in my log:

**ERROR** Reading packets on device 0 (xl0): 'read: Inappropriate ioctl 
for device'

anybody else seen this ?
--
Matt Virus ("veer-iss")
http://www.mattvirus.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't control PostgreSQL with RC scripts

2005-04-07 Thread Pat Maddox
I installed PostgreSQL 8.0.1 from ports, and now I'd like to control
it with the RC scripts.  I wasn't able to run initdb with the scripts,
I had to do that manually with the regular initdb command.  Now I've
got the db dir as /usr/local/pgsql/data, which is what it looks like
pgsql expects, but the scripts still won't start it or stop it.  They
don't produce any output either.  Any ideas on what to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sound problem

2005-04-07 Thread Oleksandr Semenko
I have problems with sound on FreeBSD 5.3 on KDE 3.3.0. 
 
My ASUS P4P800SE motherboard has "ADI AD (Analog Device) 1985 Sound MAX 
6-channel CODEC" sound 
card. I don't know if it is supported. In the list of supported sound drivers I 
found 
snd_ad_1816 driver, but it doesn't work with my card. 
 
System detects my sound card correctly when I use the "kldload snd_drivers" 
command: 
"Analog Device AD1985 Ac 97 Codec". 
But there is no such driver like snd_ad1985, only snd_ad1816!!! 
 
 
1. Every time when I use only this "snd_ad1816" driver by typing "kldload 
snd_ad1816" or 
adding "snd_ad1816_load="YES"" in /boot/loader.conf file, I have the following 
message: 
 
"Sound server informational message: 
Error while initializing the sound driver: 
device /dev/dsp can't be opened (No such file or directory) 
The sound server will continue, using the null output device." 
 
At the same time there is no record in /dev/sndstat file and no /dev/dsp file. 
 
2. There is no such bad message when I load all!!! drivers: "kldload 
snd_drivers" or add 
"snd_driver_load="YES"" in /boot/loader.conf file. But still no sound! 
On the other hand several empty /dev/dsp files appears: 
dsp0.0;dsp0.1;dspr0.1;dspW0.0;dspW0.1. 
 
And the following record appears in /dev/sndstat: 
"FreeBSD Audio Driver (newpcm) 
Installed devices: 
pcm0:  at io 0xfebff800, 0xfebff400 irq 17 bufsz 16384 
kld snd_ich 
(1p/1r/0v channels duplex default)" 
 
I will be appreciate if someone can help me. 
 
Regards, Sasha 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.4: sendmail doesn't deliver to local user?

2005-04-07 Thread Rob

Hi,

Sendmail refused to deliver to myself as a local user
on my 10.0.0.3 IP configured PC; this IP is behind a
dual-homed gateway.

/etc/rc.conf:
  hostname="simulation"
  sendmail_enable="YES"

/etc/hosts.allow:
  sendmail : localhost 127.0.0.1 : allow

/etc/hosts
  10.0.0.3 simulation simulation.

So I can ping 'simulation' as 10.0.0.3. No problems!

In /etc/mail I have done:
  # make all install
  # /etc/rc.d/sendmail restart

When I now send email to my own login account:
  $ mail -s "subject" rob < somefile.txt

I don't receive anything in my mailbox. In
/var/log/maillog I get:

Apr  8 13:08:53 simulation sendmail[2175]:
  j3848rks002175: from=rob, size=31, class=0,
  nrcpts=1,
  msgid=<[EMAIL PROTECTED]>,
  [EMAIL PROTECTED]
Apr  8 13:08:53 simulation sm-mta[2176]:
  j3848rua002176: from=<[EMAIL PROTECTED]>, size=342,
  class=0, nrcpts=1,
  msgid=<[EMAIL PROTECTED]>,
  proto=ESMTP, daemon=IPv4, relay=localhost
  [127.0.0.1]
Apr  8 13:08:53 simulation sendmail[2175]:
  j3848rks002175: to=rob, ctladdr=rob (1001/1001),
  delay=00:00:00, xdelay=00:00:00, mailer=relay,
  pri=30031, relay=[127.0.0.1] [127.0.0.1],
  dsn=2.0.0, stat=Sent (j3848rua002176 Message
  accepted for delivery)
Apr  8 13:10:08 simulation sm-mta[2178]:
  j3848rua002176: to=<[EMAIL PROTECTED]>,
  delay=00:01:15, xdelay=00:01:15, mailer=esmtp,
  pri=30342, relay=antivortex.snu.ac.kr.
  [147.46.230.127], dsn=4.0.0, stat=Deferred:
  Operation timed out with antivortex.snu.ac.kr.

Why does it time out on "antivortex.snu.ac.kr", if
I only send the mail to my local account.

Note that "nslookup simulation.snu.ac.kr" indeed
gives 'antivortex.snu.ac.kr' and its IP number.
Apparently somebody else on the 'real internet' also
uses an alias for my hostname 'simulation'.
But why does that stop sendmail delivering locally?

Any idea what's wrong here?
Thanks for your help.
Rob.



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


setting an alias in .cshrc with parentheses in it ...

2005-04-07 Thread Joe Schmoe
Hello,

I often run this command:

lynx -useragent "blah blah (compatible; MSIE blah
blah)"

Note that the custom referrer string that I set
includes parentheses.

So, to save time, I added this line to my .cshrc:

alias lynx lynx -useragent "blah blah (compatible;
MSIE blah blah)"

However, when I run lynx, I get this error:

Badly placed ()'s

If I escape the parentheses with a backslash in
.cshrc, it also doesn't work - it splits the line up
and lynx thinks that the next command line argument
begins where the first backslash is inserted.

So how do I include a command alias that contains
parentheses into .cshrc ?

thanks.



__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com

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


Re: How can I log every login via telnet?

2005-04-07 Thread Anthony Atkielski
Sandy Rutherford writes:

> Check /var/log/auth.log.  They should be logged there by default.

Thanks, that's just what I was looking for.

> You could also use tcpwrappers for better control over access and
> logging.  See /etc/hosts.allow and "man 5 hosts_options".

I'd be mainly interested in restricting which user names can log on from
the Net through telnet, rather than which IP addresses.

Also, securing the traffic over the telnet session is unimportant
(including passwords), because none of the telnet use would involve
anything confidential.  I mainly want to ensure that only a select
handful of users can actually log in through telnet, and that those uses
cannot escape to a shell by any means or otherwise stray outside the
program that I want to run immediately upon login.  I've tweaked my test
program to eliminate possible buffer overflows on input and it has no
facility for escaping to a shell, and it does virtually no file I/O and
only to hard-coded paths, so hopefully it's not too much of a risk.

-- 
Anthony


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


Re: beastie 5.X boot menu

2005-04-07 Thread Tomas Quintero
Theres a few ways to disable beastie, and sorry for the top posting:

Firstly, there was a large discussion about this started by someone
and it is on marc.theaimsgroup

http://marc.theaimsgroup.com/?l=freebsd-questions&w=2&r=1&s=Stupid+ASCII+loader+prompt+&q=b

I didn't feel like reading them all again, but the answer to your
problem IS in one of those.

The way to disable the beastie loader is:

in /boot/loader.conf set
beastie_disable="YES"

Enjoy,
Tomas

On 07 Apr 2005 18:05:11 -0400, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> writes:
> 
> > The boot menu has changed between 4.x and 5.x releases. I have
> > searched the handbook and can not find any written documentation
> > about the new beastie boot options, what they are and when each one
> > is intended to be used. I see a lot of posts about the beastie
> > figure but nothing about what the options mean.  If it's written
> > somewhere can someone point me to it and if not can I get an
> > explanation?
> 
> Seriously?
> 
> Well, let's see.
> 
> ACPI:  see "man acpi" for a start.
> Safe Mode: configures the system to avoid all possible hardware
>compatibility problems, at a severe cost in performance.
> single user mode: see the Handbook.
> verbose logging: many informational messages will be logged (by the
>kernel) to the console in the process of booting.
> Escape to loader prompt:  see "man loader".
> USB keyboard: take your computer to your nearest computer store and
>ask them whether you have a USB keyboard or not.
> 
> Generally, "default" will be the right answer unless you know you need
> something else.
> 
> Good luck.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [OT] is there a ThinkPad clone?

2005-04-07 Thread Joel
On Thu, 7 Apr 2005 09:01:07 -0700
(BGary Kline <[EMAIL PROTECTED]> wrote
(B
(B>   People,
(B> 
(B>   Apologies up front if anybody thinks this is *too* far OT,
(B
(BI'm having a _really_ hard time focusing on work for the shock this
(Bcaused me. I can't imagine anyone actually _choosing_ to use those
(Bmutant cursor-bumping descendants of game pads. But some people like
(Bcramped keyboards for similar reasons, too. 
(B
(B>   but if the 8 months I've been using FreeBSD on my TP 600E
(B>   (400MHz, 288M, 12G). it has become my favorite computer.
(B>   __Not__ having that std mouse-pad thing where you scratch
(B>   or drag or tap your fingers lets me rest the heel of my left
(B>   hand dead-center and type away.  The tiny mouse-stick and the
(B>   three cut/paste bars work well too.  
(B
(BAfter reading the pdf Andrew gave a link to, I realized that when my
(Bwrists started hurting some time back, I seem to have subconsciously
(Baltered my typing habits. My hands float now, and, although I still lean
(Btoo much on my elbows, I at least am keeping my wrists straight now.
(BMaybe reading Ben Wing's pages way back when helped me get motivated to
(Bchange my habits.
(B
(B>   When I upgrade, I'd like another laptop with the same 
(B>   layout.  The few other laptops I've looked at all have 
(B>   that mouse-pad.  Anybody know if there is anything like
(B>   a "ThinkPad clone"??
(B
(BNow I think I understand why Apple has not built an ultra-light.
(B
(BBut it takes all kinds.
(B
(BI don't have any idea whether ultra-lights in the states have that
(Bcursor-bumper control stick, but, near as I can tell, it's in
(Bpractically every ultralight sold in Japan. (One of many reasons I have
(Bnot bought one of Sony's 5x7 units to try installing fBSD on.) The
(Bcut/paste bars also sound familiar, I'm thinking I never could figure
(Bthem out on Fujitsu units.
(B
(BSo, if you have a reason to be in Japan, plan a stop in and around
(BAkihabara (or Nipponbashi and Umeda) and you should find plenty such
(Bgadgets.
(B
(BNow maybe I can get back to work.
(B
(B--
(BJoel Rees   <[EMAIL PROTECTED]>
(Bdigitcom, inc.   $B3t<02qhttp://www.ddcom.co.jp> **
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: vesa 1024x768 mode in future version? to the freebsd community

2005-04-07 Thread Travis Poppe
On Apr 7, 2005 7:12 PM, David Xu <[EMAIL PROTECTED]> wrote:
> In long run, I really want KGI to be in kernel rather than this footshot
> hack,
> give me full framebuffer support.

I'm sure many of us would prefer to see KGI in the long run. However,
that's not going to happen for quite some time. For now, this does the
job just fine.

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


how to modify "configure"?

2005-04-07 Thread T.F. Cheng
Hi, I am installing an app starting with
"./configure", it failed while looking for
"jpeglib.h". I have that under "/usr/local/include"
but I guess it only looked into "/usr/X11R6/include".
I am not a source coder to begin with, and I read
"INSTALL" and found out that I can generate a new
"configure" file by running "autoconf259
configure.ac". I thought it would work, but still
failed to locate "jpeglib.h". Can anyone give me a
hand here? Much appreciated.



Best Regards,

Tsu-Fan Cheng

_
Do You Yahoo!?
登記免費的 @yahoo.com 中文電子郵件 @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vesa 1024x768 mode in future version? to the freebsd community

2005-04-07 Thread David Xu
In long run, I really want KGI to be in kernel rather than this footshot 
hack,
give me full framebuffer support.

David Xu
Didier Wiroth wrote:
Dear FreeBSD Team,
Dear FreeBSD Users,
I was wondering if the patches  (see link below) have any chances to make their 
ways into a future release version or may be in the ports collection?
Here are the patches I'm talking about:
http://people.freebsd.org/~delphij/vesa
Actually the vidcontrol.diff patch failed for me so I used these patches:
http://www.nbritton.org/uploads/current-vesa_patch.tar.gz
 

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


Re: How can I log every login via telnet?

2005-04-07 Thread Sandy Rutherford
> On Thu, 7 Apr 2005 20:42:25 +0200, 
> Anthony Atkielski <[EMAIL PROTECTED]> said:

 > Is there a way to log every login via telnet?

Check /var/log/auth.log.  They should be logged there by default.  You
could also use tcpwrappers for better control over access and
logging.  See /etc/hosts.allow and "man 5 hosts_options".

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


gpg-agent help

2005-04-07 Thread Damian Gerow
I'm trying to get gpg-agent to work with mutt, with very little success.  I
start up the agent in ~/.xinitrc:

eval `/usr/local/bin/gpg-agent --daemon -s`

Have gnupg configured to use the agent in .gnupg/gpg.conf:

use-agent

And use what seems to be a pretty standard agent configuration:

pinentry-program /usr/local/bin/pinentry-qt
no-grab
default-cache-ttl 1800

The problem is that GnuPG doesn't seem to want to actually /use/ the agent.
When I try to sign something, pinentry-qt launches, I enter my passphrase,
and the file is successfully signed.  Every time.  There's no passphrase
caching (which is what gpg-agent does, correct?).  The only thing that might
be weird is that my signing key is actually a /secondary/ key, but I
wouldn't have thought that would cause issues.

gpg throws no errors.  Nothing about gpg-agent not being available.  It just
plain doesn't seem to want to work for me, nor tell me why:

% gpg -v -as test.txt 
gpg: using secondary key 9C22B029 instead of primary key C2889CC9

You need a passphrase to unlock the secret key for
user: "Damian Gerow <[EMAIL PROTECTED]>"
gpg: using secondary key 9C22B029 instead of primary key C2889CC9
1024-bit DSA key, ID 9C22B029, created 2004-04-10 (main key ID C2889CC9)

gpg: writing to `test.txt.asc'
gpg: DSA/SHA1 signature from: "9C22B029 Damian Gerow
<[EMAIL PROTECTED]>"

%

Any help?  Please Cc: me, as I'm not on the list...

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


finger not working, service very slow with ldap

2005-04-07 Thread Matt Juszczak
Howdy,
Finger is working for some of my system accounts, and not others.  A check 
of the log displays the following:

Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=0 BIND 
dn="cn=pamclient,ou=SystemAccounts,dc=mydomain,dc=net" method=128
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=0 BIND 
dn="cn=pamclient,ou=SystemAccounts,dc=mydomain,dc=net" mech=SIMPLE ssf=0
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=0 RESULT tag=97 err=0 text=
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=1 SRCH 
base="ou=People,dc=mydomain,dc=net" scope=1 deref=0 
filter="(objectClass=posixAccount)"
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=1 SRCH attr=uid userPassword 
uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass
Apr  7 16:50:30 uranus slapd[57684]: conn=85 op=1 SEARCH RESULT tag=101 err=4 
nentries=500 text=
Apr  7 16:50:30 uranus slapd[57684]: conn=85 fd=19 closed

and it returns "user mjuszczak not found".  Whats funny is that it returns 500 
entries, even though there is only one mjuszczak user.  This could also be the 
reason that logging into the server is taking absolutely forever.  A login 
takes about a minute, and the tail -f of ldap.log with loglevel 128 shows it 
searching every single user, all 7000 ... for some reason.  Could my indexes in 
slapd.conf possibly be off, or is this something I messed up in freebsd's 
pam.d?

Here is the index list btw for slapd.conf, but of course if this is an 
ldap problem I will be contacting that email list anyway.

index   objectClass eq
index   sudoUserpres,eq
index   uid pres,eq

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


usb console

2005-04-07 Thread Gert Cuykens
Is it possible to do the console thingie not with a null modem serial
cable but with a usb cable ?

When you do the serial console, it means that you have a screen like
it was the other pc's screen, right ? With boot messages and
everything, able to do whatever you want like your keybord and screen
was connected to the serial server itself right ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: beastie 5.X boot menu

2005-04-07 Thread Lowell Gilbert
<[EMAIL PROTECTED]> writes:

> The boot menu has changed between 4.x and 5.x releases. I have
> searched the handbook and can not find any written documentation
> about the new beastie boot options, what they are and when each one
> is intended to be used. I see a lot of posts about the beastie
> figure but nothing about what the options mean.  If it's written
> somewhere can someone point me to it and if not can I get an
> explanation?

Seriously?

Well, let's see.

ACPI:  see "man acpi" for a start.
Safe Mode: configures the system to avoid all possible hardware
compatibility problems, at a severe cost in performance.
single user mode: see the Handbook.
verbose logging: many informational messages will be logged (by the
kernel) to the console in the process of booting.
Escape to loader prompt:  see "man loader".
USB keyboard: take your computer to your nearest computer store and
ask them whether you have a USB keyboard or not.

Generally, "default" will be the right answer unless you know you need
something else.

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


Re: vesa 1024x768 mode in future version? to the freebsd community

2005-04-07 Thread Julian Elischer
point me at the patches again?
Travis Poppe wrote:
I would also love to see these patches committed and ready to use in a
future release. I've been wanting to see this functionality since I
started using FreeBSD five or so years ago.
Myself and a friend have used these patches for quite some time now
with no known stability issues. They work just fine. There is a minor
problem with audio and scrolling (the audio breaks up and becomes
distorted), but this is a problem I have had with audio in many other
every day scenarios as well. Search the -CURRENT mailing lists and you
should find a few posts I've written about this audio problem, as well
as posts by many others.
At least three people ask me on a regular basis if these have been
committed, as I keep a close eye on them. It would be highly
appreciated by many if this functionality were included.
Thanks,
-Travis Poppe
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
 

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


Re: vesa 1024x768 mode in future version? to the freebsd community

2005-04-07 Thread Travis Poppe
I would also love to see these patches committed and ready to use in a
future release. I've been wanting to see this functionality since I
started using FreeBSD five or so years ago.

Myself and a friend have used these patches for quite some time now
with no known stability issues. They work just fine. There is a minor
problem with audio and scrolling (the audio breaks up and becomes
distorted), but this is a problem I have had with audio in many other
every day scenarios as well. Search the -CURRENT mailing lists and you
should find a few posts I've written about this audio problem, as well
as posts by many others.

At least three people ask me on a regular basis if these have been
committed, as I keep a close eye on them. It would be highly
appreciated by many if this functionality were included.

Thanks,

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


Re: Sendmail + No Response from Port 25

2005-04-07 Thread Volodymyr Kostyrko
JP wrote:
I need some advice, I am running FreeBSD 5.3 and am having problems getting sendmail to be accessable from outside the LAN.  If I am on the LAN and perform a "telnet 192.168.1.254 25" sendmail responds.  But anywhere outside of the LAN I cannot get sendmail to respond.  I can telnet to it just fine remotely as well as Ftp.  I am using PPP since I have a PPPoE connection.
  First, what are your sendmail related variables in /etc/rc.conf?
  Second. Is your computer configured to be a firewall? Does it permits 
anyone to connect to port 25 from outside?

--
[WBR], Arcade. [SAT Astronomy/Think to survive!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


beastie 5.X boot menu

2005-04-07 Thread bob
The boot menu has changed between 4.x and 5.x releases. I have
searched the handbook and can not find any written documentation
about the new beastie boot options, what they are and when each one
is intended to be used. I see a lot of posts about the beastie
figure but nothing about what the options mean.  If it's written
somewhere can someone point me to it and if not can I get an
explanation?



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


Re: How can I log every login via telnet?

2005-04-07 Thread Bob Ababurko
Chris wrote:
On Thu, 7 Apr 2005 [EMAIL PROTECTED] wrote:
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?

The system already records all logins in /var/log/auth.log.
You could pull out the telnet entries with grep if those are the only 
ones you're interested in.
If you're wanting to build your own log then I don't know.

something like this in /etc/syslog.conf
!telnetd
*.* /var/log/telnet.log
Best regards,
Chris
Some come to the fountain of knowledge to drink,
some prefer to just gargle.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

Could I do something similar for logging scponly?  I have scponly 
installed and would like to log everyones logins and all files that get 
transferred.  I cannot fins any features in the program itself to do the 
logging so I think that syslog is the choice.

Is that all there is to implementing syslog logging or do i need to make 
sure that scponly spits out info that can be logged?

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


Re: MySQL client only

2005-04-07 Thread Subhro
Irina wrote:

Not sure what to do.
Or, may be my mistake was that I CVSUPed only ports/databases?
 

Partial updates are never a good idea. However in this case it seems to 
me as if your link is givig you problems. Can you access other things on 
the internet?

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


MySQL client only

2005-04-07 Thread Irina
Hello at FreeBSD list.

I am having a problem with MySQL on a server.  When I access MySQL server
4.1.10 from a C program (or on the command line), I have this
ERROR 1043: Bad handshake

It says I should upgrade my client on this server.  Trying to do so by doing

Updated ports/database collection
# cd /usr/ports/databases/mysql41-client
# make

>> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mysql-4.1.11.tar.gz: File
unavailable (e.g., file not found, no access)
>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop in /usr/ports/databases/mysql41-client.
*** Error code 1
Stop in /usr/ports/databases/mysql41-client.


Not sure what to do.

Or, may be my mistake was that I CVSUPed only ports/databases?


Thank you for your help in advance.

Irina


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


Re: How can I log every login via telnet?

2005-04-07 Thread Chris
On Thu, 7 Apr 2005 [EMAIL PROTECTED] wrote:
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
The system already records all logins in /var/log/auth.log.
You could pull out the telnet entries with grep if those are the only ones 
you're interested in.
If you're wanting to build your own log then I don't know.
something like this in /etc/syslog.conf
!telnetd
*.* /var/log/telnet.log
Best regards,
Chris
Some come to the fountain of knowledge to drink,
some prefer to just gargle.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Your note to SunBeta@Prometric.com

2005-04-07 Thread SunBeta,
Thank you for contacting [EMAIL PROTECTED]  Currently, there are no SUN Beta 
exams being offered.
 
If you are inquiring about your beta test results, please note the dates listed 
below.
 
SCJP 5.0 beta exam
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 4/25/2005
You should receive your hard copy score report by mail by approximately 
5/16/2005
 
SCSA 10 part 1
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 4/27/2005
You should receive your hard copy score report by mail by approximately 
5/18/2005
 
SCSA 10 part 2
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 4/29/2005
You should receive your hard copy score report by mail by approximately 
5/20/2005
 
SCNA 10
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 5/2/2005
You should receive your hard copy score report by mail by approximately 
5/23/2005
 
If your question is not covered by the above information, we will reply to your 
email within 2-3 business days.
 
Sincerely,
 
SunBeta@  Prometric.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \"Maverick\" Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris wrote:

> On Thu, 7 Apr 2005, Tom Trelvik wrote:
>
>> Tetsuji "Maverick" Rai wrote:
>>
>>> *default host=cvsup.jp.FreeBSD.org *default base=/var/db
>>> *default prefix=/usr *default release=cvs tag=. *default delete
>>> use-rel-suffix
>>>
>>> src-all
>>
>>
>> I don't think you want "tag=." as the default. That would put
>> you the most current sources for the OS, which may have plenty of
>> transient issues you don't want to have to deal with.
>>
>> I use the following supfile regularly. You can see that I set
>> the default tag to RELENG_5_3 which is basically the original
>> release of 5.3 plus security updates
>> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html).
>> I do that because these are servers that I try to keep as stable
>> as possible. For a personal system, you may prefer to use
>> RELENG_5 to get something more up to date, without being the
>> bleeding edge of CVS updates. You can also see that I specify a
>> different tag to grab for ports, so that I can get the updates on
>> them.
>>
>> *default host=cvsup12.freebsd.org *default base=/var/db *default
>> prefix=/usr *default release=cvs tag=RELENG_5_3 *default delete
>> use-rel-suffix *default compress src-all ports-all tag=.
>>
>> Good luck,
>>
>
> If I'm not mistaken, he did mention the ports supfile. What I gave
> him (assuming he only wants one supfile for ports, and one for src)
> is simply that.
>
> It's a very basic, to the point supfile. He needs nothing more then
> what I posted. The above reflects (to me atleast) the makings of a
> supfile for gathering the src tree.
>
> Perhaps I read him wrong, perhaps I took for granted he only wanted
> a ports supfile. If I'm right, then what I gave him is all he
> needs. He does not need to be muddied with thigs that have zero to
> do with supping the ports tree.
>
>
> Best regards, Chris
>
> The night before the english history mid-term, your biology
> instructor will assign 200 pages on planaria.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
> unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
Don't mind, I made independent supfiles for ports and src. It's much
easier than I expected..I wonder why I coundn't find a solution with
google.

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17 B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFCVYyj9NrwTveEO4URAtZ8AJwJLw7+/60GEa2HdpwVUBnJqhJUxQCYrhRb
HYY1SryI2yuuwVNZC+qXkg==
=GO/g
-END PGP SIGNATURE-


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


Re: How can I log every login via telnet?

2005-04-07 Thread LukeD
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
The system already records all logins in /var/log/auth.log.
You could pull out the telnet entries with grep if those are the only ones 
you're interested in.
If you're wanting to build your own log then I don't know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Serial console connection problem

2005-04-07 Thread Jonathan Chen
On Thu, Apr 07, 2005 at 11:23:33AM +0300, Jani Luukkanen wrote:
> Hi!
> 
> I have an issue with serial console connection with two FreeBSD machines 
> (Both with Intel SE7210TP1-E motherboard, other configured as "host" 
> from bios and other has ordinary com ports which are connected with 
> normal tested serial cable).
> 
> Host machine is running FreeBSD 5.3 and the "client" one 4.10.
> 
> Problem is that when trying to open the serial connection with tip, 
> error occurs as;
> 
> /[EMAIL PROTECTED] root # tip com1
> tip: /dev/cuaa0: Device busy
> link down

Try running fstat(1) against /dev/cuaa0 to try to find out what's
holding the device. If I understand you correctly, you're doing this
on the 4.10 machine.

> 
> Main question is that how to get access first to the com1 port generally 
> and second to get ahold of the remote screen on the other end of the 
> serial cable?

Make sure that you haven't got a getty running at the same time on
both sides, and that you've got a null-modem connection between the two
hosts instead of a straight thru'.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I log every login via telnet?

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Chris wrote:
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
--
Anthony
Anthony,
	have a look at /etc/syslog.conf In addition, see the man page also. 
It's pretty to the point.
Actually, man 8 syslogd
Best regards,
Chris
It is better for civilization to be going down the drain,
than to be coming up it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I log every login via telnet?

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
--
Anthony
Anthony,
	have a look at /etc/syslog.conf In addition, see the man page 
also. It's pretty to the point.

Best regards,
Chris
It is better for civilization to be going down the drain,
than to be coming up it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Tom Trelvik wrote:
Tetsuji "Maverick" Rai wrote:
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
src-all
	I don't think you want "tag=." as the default.  That would put you 
the most current sources for the OS, which may have plenty of transient 
issues you don't want to have to deal with.

	I use the following supfile regularly.  You can see that I set the 
default tag to RELENG_5_3 which is basically the original release of 5.3 plus 
security updates 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html).  I 
do that because these are servers that I try to keep as stable as possible. 
For a personal system, you may prefer to use RELENG_5 to get something more 
up to date, without being the bleeding edge of CVS updates.  You can also see 
that I specify a different tag to grab for ports, so that I can get the 
updates on them.

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
Good luck,
If I'm not mistaken, he did mention the ports supfile. What I gave him 
(assuming he only wants one supfile for ports, and one for src) is simply 
that.

It's a very basic, to the point supfile. He needs nothing more then what I 
posted. The above reflects (to me atleast) the makings of a supfile for 
gathering the src tree.

Perhaps I read him wrong, perhaps I took for granted he only wanted a 
ports supfile. If I'm right, then what I gave him is all he needs. He does 
not need to be muddied with thigs that have zero to do with supping the 
ports tree.

Best regards,
Chris
The night before the english history mid-term, your
biology instructor will assign 200 pages on planaria.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \"Maverick\" Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tom Trelvik wrote:

> Tetsuji "Maverick" Rai wrote:
>
>> *default host=cvsup.jp.FreeBSD.org *default base=/var/db *default
>> prefix=/usr *default release=cvs tag=. *default delete
>> use-rel-suffix
>>
>> src-all
>
>
> I don't think you want "tag=." as the default.  That would put you
> the most current sources for the OS, which may have plenty of
> transient issues you don't want to have to deal with.
>
> I use the following supfile regularly.  You can see that I set the
> default tag to RELENG_5_3 which is basically the original release
> of 5.3 plus security updates
> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html).
>  I do that because these are servers that I try to keep as stable
> as possible.  For a personal system, you may prefer to use RELENG_5
> to get something more up to date, without being the bleeding edge
> of CVS updates.  You can also see that I specify a different tag to
>  grab for ports, so that I can get the updates on them.
>
> *default host=cvsup12.freebsd.org *default base=/var/db *default
> prefix=/usr *default release=cvs tag=RELENG_5_3 *default delete
> use-rel-suffix *default compress src-all ports-all tag=.
>
> Good luck,
>
> Tom 

Thanks all.   It's simpler than I expected!!  I got it to work!!!

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCVYfS9NrwTveEO4URAgk/AJ9E2Vb2sVj4I1R/YywbMBTFiP4JsQCgg0pI
78D//IeSb3/DtXUEIiz3ujg=
=RufJ
-END PGP SIGNATURE-


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


Re: suspending login

2005-04-07 Thread Ean Kingston

> Ean Kingston wrote:
>> If you change the password entry then, when you want
>> to enable the user again, the user has to enter a new password. This
>> way,
>> the user keeps his/her old password. Note, the question asked for
>> suspend,
>> not remove. I read suspend as implying that the account may be used
>> again.
>
> No, you don't replace the password, you just insert an invalid character
> - one which can never be the result of crypt().  That invalid character
> is typically an asterisk.  To unlock the account, you remove the
> asterisk.  It's how pw usermod -L and -U work.

I hadn't considered that. I will be doing that from now on. Thanks.

> For the OP, it's important to use all three approaches if your victim is
> untrustworthy.  If you change the password but nothing else he can still
> get in via SSH; if you change the shell but nothing else he can still
> get in via FTP (possibly); if you change the home directory but nothing
> else he can still get in via SSH (and mess with /tmp or /var/tmp).  So
> if you are locking out the user to preserve evidence of some misdeed, be
> sure to do all three.
>
> If this is just a real-life buddy who's welching on some money he owes
> you, though, doing only one will probably be sufficient.  (Well, doing
> one and saying things to him like "I bought a .45 last week" and "It
> turns out that if you do enough cocaine most juries won't convict you of
> murder.")

I hadn't thought of that either.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tom Trelvik
Tetsuji "Maverick" Rai wrote:
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
src-all
	I don't think you want "tag=." as the default.  That would put you the 
most current sources for the OS, which may have plenty of transient 
issues you don't want to have to deal with.

	I use the following supfile regularly.  You can see that I set the 
default tag to RELENG_5_3 which is basically the original release of 5.3 
plus security updates 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html). 
 I do that because these are servers that I try to keep as stable as 
possible.  For a personal system, you may prefer to use RELENG_5 to get 
something more up to date, without being the bleeding edge of CVS 
updates.  You can also see that I specify a different tag to grab for 
ports, so that I can get the updates on them.

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
Good luck,
Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Fri, 8 Apr 2005, Tetsuji "Maverick" Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris wrote:
On Thu, 7 Apr 2005, Chris wrote:
On Fri, 8 Apr 2005, Tetsuji "Maverick" Rai wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just
changed my host)
However I got this message and I cannot figure out what
"Release" means. In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS

Release is defined as "cvs."
 su-3.00# cvsup -g -L 2 ports-suprile Parsing supfile
"ports-supfile" Release not specified for collection
"host=cvsup.jp.FreeBSD.org"  What am I doing wrong?
Thanks in advance!!

Sorry about that last one. Anyways, your ports-supfile should
have nothing more then this:
*default host=cvsup3.FreeBSD.org *default base=/var/db *default
prefix=/usr *default release=cvs tag=. *default delete
use-rel-suffix ports-all
I seen you had something that relates to src. Take that out.
Best regards, Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
unsubscribe, send any mail to
"[EMAIL PROTECTED]"
Sorry again - properly formated...
*default host=cvsup3.FreeBSD.org *default base=/var/db *default
prefix=/usr *default release=cvs tag=. *default delete
use-rel-suffix ports-all

Best regards, Chris
To know yourself is the ultimate form of aggression.
I removed src-all but getting the same error message "Release not
specified for collection"I seem not to have specified release.
But in this ports-supfile, release is set to "cvs"what's wrong?
- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17 B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCVX/x9NrwTveEO4URAgFYAJ9W6GjImjenhZnJZdcUScgTSNlv3QCbB2IW
9WRgAULy/DdZS03ohYgfYsk=
=ytsW
-END PGP SIGNATURE-

Does it say:
release=cvs tag=.
Read mine again, ensure it's verbatim.
Best regards,
Chris
If an item is advertised as "under $50," you can bet
it's not $19.95.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \"Maverick\" Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris wrote:

> On Thu, 7 Apr 2005, Chris wrote:
>
>> On Fri, 8 Apr 2005, Tetsuji "Maverick" Rai wrote:
>>
>>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>>>
>>>
>>> I want to keep my ports up to date. in 5.3-release (i386)
>>>
>>> So I copied a sample ports-supfile and edit as follows (just
>>> changed my host)
>>>
>>> However I got this message and I cannot figure out what
>>> "Release" means. In
>>>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
>>>
>>>
>>> Release is defined as "cvs."
>>>
>>>  su-3.00# cvsup -g -L 2 ports-suprile Parsing supfile
>>> "ports-supfile" Release not specified for collection
>>> "host=cvsup.jp.FreeBSD.org"  What am I doing wrong?
>>>
>>> Thanks in advance!!
>>
>>
>> Sorry about that last one. Anyways, your ports-supfile should
>> have nothing more then this:
>>
>> *default host=cvsup3.FreeBSD.org *default base=/var/db *default
>> prefix=/usr *default release=cvs tag=. *default delete
>> use-rel-suffix ports-all
>>
>> I seen you had something that relates to src. Take that out.
>>
>>
>> Best regards, Chris
>>
>> To know yourself is the ultimate form of aggression.
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
>> unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>
> Sorry again - properly formated...
>
> *default host=cvsup3.FreeBSD.org *default base=/var/db *default
> prefix=/usr *default release=cvs tag=. *default delete
> use-rel-suffix ports-all
>
>
>
>
> Best regards, Chris
>
> To know yourself is the ultimate form of aggression.
>
I removed src-all but getting the same error message "Release not
specified for collection"I seem not to have specified release.
But in this ports-supfile, release is set to "cvs"what's wrong?

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17 B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCVX/x9NrwTveEO4URAgFYAJ9W6GjImjenhZnJZdcUScgTSNlv3QCbB2IW
9WRgAULy/DdZS03ohYgfYsk=
=ytsW
-END PGP SIGNATURE-


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


How can I log every login via telnet?

2005-04-07 Thread Anthony Atkielski
Is there a way to log every login via telnet?

-- 
Anthony


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


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Chris wrote:
On Fri, 8 Apr 2005, Tetsuji "Maverick" Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just changed
my host)
However I got this message and I cannot figure out what "Release"
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as "cvs."

su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile "ports-supfile"
Release not specified for collection "host=cvsup.jp.FreeBSD.org"

What am I doing wrong?
Thanks in advance!!
Sorry about that last one. Anyways, your ports-supfile should have nothing 
more then this:

*default host=cvsup3.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix ports-all
I seen you had something that relates to src. Take that out.
Best regards,
Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sorry again - properly formated...
*default host=cvsup3.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete
use-rel-suffix
ports-all

Best regards,
Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Fri, 8 Apr 2005, Tetsuji "Maverick" Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just changed
my host)
However I got this message and I cannot figure out what "Release"
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as "cvs."

su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile "ports-supfile"
Release not specified for collection "host=cvsup.jp.FreeBSD.org"

What am I doing wrong?
Thanks in advance!!
Sorry about that last one. Anyways, your ports-supfile should have nothing 
more then this:

*default host=cvsup3.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix ports-all
I seen you had something that relates to src. Take that out.
Best regards,
Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Fri, 8 Apr 2005, Tetsuji "Maverick" Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just changed
my host)
However I got this message and I cannot figure out what "Release"
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as "cvs."

su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile "ports-supfile"
Release not specified for collection "host=cvsup.jp.FreeBSD.org"

What am I doing wrong?
Thanks in advance!!
- -my "ports-supfile"
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.32 2004/05/24
06:23:15 cjc Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-current ports collection.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#   cvsup ports-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#   cvsup -g -L 2 ports-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
host=cvsup.jp.FreeBSD.org
#   This specifies the server host which will supply the
#   file updates.  You must change it to one of the CVSup
#   mirror sites listed in the FreeBSD Handbook at
#   http://www.freebsd.org/doc/handbook/mirrors.html.
#   You can override this setting on the command line
#   with cvsup's "-h host" option.
#
base=/var/db
#   This specifies the root where CVSup will store
information
#   about the collections you have transferred to your
system.
#   A setting of "/var/db" will generate this information in
#   /var/db/sup.  Even if you are CVSupping a large number of
#   collections, you will be hard pressed to generate more
than
#   ~1MB of data in this directory.  You can override the
#   "base" setting on the command line with cvsup's "-b base"
#   option.  This directory must exist in order to run CVSup.
#
prefix=/usr
#   This specifies where to place the requested files.  A
#   setting of "/usr" will place all of the files requested
#   in "/usr/ports" (e.g., "/usr/ports/devel",
"/usr/ports/lang").
#   The prefix directory must exist in order to run CVSup.
# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
src-all
# If you seem to be limited by CPU rather than network or disk
bandwidth, try
# commenting out the following line.  (Normally, today's CPUs are fast
enough
# that you want to run compression.)
*default compress
## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection.  It includes all of the individual "ports-*"
# collections,
ports-all
#(after this, all are commented out)
- -
- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCVXTO9NrwTveEO4URAuEXAJ9t41/Ffs17D29HGXOiuk+1W9sXIgCeJQ9a
+bVZ1ipsSH1h+/yD0haAp7Q=
=Xsbt
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Best regards,
Chris
Anything good in life is either illegal, immoral
or fattening.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Todd Shirk
I ran into a problem like that when I did an upgrade to 5.4-prelease. 
I found for me, that for port updates it seems to look at your release
level in your options.  I went into root and ran sysinstall.  I
selected Options.  At the bottom of the left hand column is the option
Release Name.  I changed it to 5.3-RELEASE.  I'd probably check there,
another thing I'll do is try a couple other cvsup sites.

On Apr 7, 2005 1:58 PM, Tetsuji Maverick Rai <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I want to keep my ports up to date. in 5.3-release (i386)
> 
> So I copied a sample ports-supfile and edit as follows (just changed
> my host)
> 
> However I got this message and I cannot figure out what "Release"
> means.   In
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
> Release is defined as "cvs."
> 
> 
> su-3.00# cvsup -g -L 2  ports-suprile
> Parsing supfile "ports-supfile"
> Release not specified for collection "host=cvsup.jp.FreeBSD.org"
> 
> What am I doing wrong?
> 
> Thanks in advance!!
> 
> - -my "ports-supfile"
> # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.32 2004/05/24
> 06:23:15 cjc Exp $
> #
> # This file contains all of the "CVSup collections" that make up the
> # FreeBSD-current ports collection.
> #
> # CVSup (CVS Update Protocol) allows you to download the latest CVS
> # tree (or any branch of development therefrom) to your system easily
> # and efficiently (far more so than with sup, which CVSup is aimed
> # at replacing).  If you're running CVSup interactively, and are
> # currently using an X display server, you should run CVSup as follows
> # to keep your CVS tree up-to-date:
> #
> #   cvsup ports-supfile
> #
> # If not running X, or invoking cvsup from a non-interactive script, then
> # run it as follows:
> #
> #   cvsup -g -L 2 ports-supfile
> #
> # You may wish to change some of the settings in this file to better
> # suit your system:
> #
> host=cvsup.jp.FreeBSD.org
> #   This specifies the server host which will supply the
> #   file updates.  You must change it to one of the CVSup
> #   mirror sites listed in the FreeBSD Handbook at
> #   http://www.freebsd.org/doc/handbook/mirrors.html.
> #   You can override this setting on the command line
> #   with cvsup's "-h host" option.
> #
> base=/var/db
> #   This specifies the root where CVSup will store
> information
> #   about the collections you have transferred to your
> system.
> #   A setting of "/var/db" will generate this information in
> #   /var/db/sup.  Even if you are CVSupping a large number of
> #   collections, you will be hard pressed to generate more
> than
> #   ~1MB of data in this directory.  You can override the
> #   "base" setting on the command line with cvsup's "-b base"
> #   option.  This directory must exist in order to run CVSup.
> #
> prefix=/usr
> #   This specifies where to place the requested files.  A
> #   setting of "/usr" will place all of the files requested
> #   in "/usr/ports" (e.g., "/usr/ports/devel",
> "/usr/ports/lang").
> #   The prefix directory must exist in order to run CVSup.
> 
> # Defaults that apply to all the collections
> #
> # IMPORTANT: Change the next line to use one of the CVSup mirror sites
> # listed at http://www.freebsd.org/doc/handbook/mirrors.html.
> *default host=cvsup.jp.FreeBSD.org
> *default base=/var/db
> *default prefix=/usr
> *default release=cvs tag=.
> *default delete use-rel-suffix
> 
> src-all
> 
> # If you seem to be limited by CPU rather than network or disk
> bandwidth, try
> # commenting out the following line.  (Normally, today's CPUs are fast
> enough
> # that you want to run compression.)
> *default compress
> 
> ## Ports Collection.
> #
> # The easiest way to get the ports tree is to use the "ports-all"
> # mega-collection.  It includes all of the individual "ports-*"
> # collections,
> ports-all
> #(after this, all are commented out)
> - -
> 
> - --
> Tetsuji 'Maverick' Rai
> PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
> gpg fingerprint
> Aviation Jokes: http://www.geocities.com/tetsuji_rai/
> Profile http://maverick.ns1.name/
> http://maverick.IsASecret.com/
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFCVXTO9NrwTveEO4URAuEXAJ9t41/Ffs17D29HGXOiuk+1W9sXIgCeJQ9a
> +bVZ1ipsSH1h+/yD0haAp7Q=
> =Xsbt
> -END PGP SIGNATURE-
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
_

Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Lowell Gilbert
Christopher Lane <[EMAIL PROTECTED]> writes:

> My goal is to have the latest ports, regardless of which ones I actually
> want to install.  I guess my question is more "can I CVSup without first
> installing the ports collection, and if I do so, does that save time or
> take longer?"

The short answer is that you can do it, and it will probably cost you
some time.  The slightly longer answer is that how much time you save
(by downloading the ports tree before doing a cvsup on it) depends on
a number of factors, most notably your network bandwidth.  There also
are a few possible "gotchas" to keep in mind if you "adopt" an
existing tree this way: see the CVSUP FAQ at
http://www.cvsup.org/faq.html
and particularly the questions in the "Recipes" section.

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


Issue compiling JDK15

2005-04-07 Thread Todd Shirk
Hi,

I've been attempting to compile JDK15 on my AMD64 laptop.  I have
linux redhat 8 installed for linux compatibility and the
linux-sun-jdk1.4.2 installed so that the /usr/ports/java/jdk15 would
use the appropriate javac compiler to compile JDK15 natively.  I reach
a point where I receive the following message.

execv(): Bad address
Error trying to exec /usr/local/linux-sun-jdk1.4.2/bin/javac.
Check if file exists and permissions are set correctly.
gmake[3]: *** [.compile.classlist] Error 1
gmake[3]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1] *** [all] Error 1
gmake[1]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.

I've checked and /usr/local/linux-sun-jdk1.4.2/bin/javac exists and
permissions appear adequate.  For giggles I chmod 777 on the file with
the same results.  Any thoughts?

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


Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \"Maverick\" Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I want to keep my ports up to date. in 5.3-release (i386)

So I copied a sample ports-supfile and edit as follows (just changed
my host)

However I got this message and I cannot figure out what "Release"
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as "cvs."


su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile "ports-supfile"
Release not specified for collection "host=cvsup.jp.FreeBSD.org"

What am I doing wrong?

Thanks in advance!!

- -my "ports-supfile"
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.32 2004/05/24
06:23:15 cjc Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-current ports collection.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#   cvsup ports-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#   cvsup -g -L 2 ports-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
host=cvsup.jp.FreeBSD.org
#   This specifies the server host which will supply the
#   file updates.  You must change it to one of the CVSup
#   mirror sites listed in the FreeBSD Handbook at
#   http://www.freebsd.org/doc/handbook/mirrors.html.
#   You can override this setting on the command line
#   with cvsup's "-h host" option.
#
base=/var/db
#   This specifies the root where CVSup will store
information
#   about the collections you have transferred to your
system.
#   A setting of "/var/db" will generate this information in
#   /var/db/sup.  Even if you are CVSupping a large number of
#   collections, you will be hard pressed to generate more
than
#   ~1MB of data in this directory.  You can override the
#   "base" setting on the command line with cvsup's "-b base"
#   option.  This directory must exist in order to run CVSup.
#
prefix=/usr
#   This specifies where to place the requested files.  A
#   setting of "/usr" will place all of the files requested
#   in "/usr/ports" (e.g., "/usr/ports/devel",
"/usr/ports/lang").
#   The prefix directory must exist in order to run CVSup.

# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

src-all

# If you seem to be limited by CPU rather than network or disk
bandwidth, try
# commenting out the following line.  (Normally, today's CPUs are fast
enough
# that you want to run compression.)
*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection.  It includes all of the individual "ports-*"
# collections,
ports-all
#(after this, all are commented out)
- -

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCVXTO9NrwTveEO4URAuEXAJ9t41/Ffs17D29HGXOiuk+1W9sXIgCeJQ9a
+bVZ1ipsSH1h+/yD0haAp7Q=
=Xsbt
-END PGP SIGNATURE-


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


Re: automount usb flash drive?

2005-04-07 Thread Todd Shirk
Seems like the only thing that will work for me is to make a one-line
shell script.  I tried the various things you mentioned.  I have yet
to look at how to use amd(8).  Setting vfs.usermount=1 and changing
the ownership to the user name in question allows me to mount the
usbkey without su'ing.  I still can't get the usbd.conf to run an
attach command on the umass* action.  Thanks for your help.

On Apr 6, 2005 4:01 PM, Roland Smith <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 06, 2005 at 03:32:14PM -0400, Todd Shirk wrote:
> > I was trying to figure out how to have a usb flash drive automount
> > when I plug it in.  I currently have the following line in /etc/fstab
> >
> > /dev/da0s1  /mnt/usbkey  msdos  rw,-m700,noauto  0  0
> >
> > and the following in /etc/devfs.conf
> >
> > perm  da0s1  0666
> 
> devfs.conf only works for devices available at boot time. For devices
> you can plug in at runtime you should use /etc/devfs.rules:
> 
> [foobar=10]
> add path 'da*s*' mode 0666
> 
> And you should have the following in /etc/rc.conf:
> 
> devfs_system_ruleset="foobar"
> 
> The contents of devfs.rules are fed to devfs(8), so see it's manual page.
> 
> > when I do the following command line command the usb flash drive mount fine
> >
> > # mount /mnt/usbkey
> >
> > But, when I'm in KDE viewing media:/  Removable Device (da0s1) is
> > shown is unmounted.
> >
> > At the user level command line and in KDE, I receive /dev/da0s1:
> > Operation not permitted.
> 
> For a user to be able to use a filesystem, there are a couple of things
> that need to be done:
> - The sysctl variable vfs.usermount must be set to 1 (in /etc/sysctl.conf).
> - The user in question must own the mount point.
> 
> > I'm not sure if part of the issue is permissions or if I'm missing a
> > piece for the auto-mounting to happen.
> 
> I think the latter. Normally usbd(8) is notified of USB events, but in
> this case it seems to get events for the umass* device, not the da*s*
> device that you'll want to use. There have been people who've used a
> shell-script called by usbd to figure out the connection between
> umass<->da from dmesg output and then mount the filesystem, but that
> doesn't do umounts. It's also complicated if you want it to work for
> multiple users, unless you give it 777 permissions. You could also give
> amd(8) a try.
> 
> I found that making a one-line shell script to do the mounting is much
> less hassle.
> 
> Roland
> --
> R.F. Smith   /"\ASCII Ribbon Campaign
> r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
> http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
> public key: http://www.keyserver.net / \Respect for open standards
> 
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.3 and 5.4RC1 both fail with CD upon installation(5.1 did not)

2005-04-07 Thread Kris Kennaway
On Thu, Apr 07, 2005 at 08:32:37AM -0500, Joshua Kampmeier wrote:
> Here is the error I get when booting with(any) of the 5.3/5.4 discs:
> 
> acd0: CDRW  at ata1-master UDMA33
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
> 
> then it starts sysinstall except when I try to start the installation it 
> fails at mounting the CD-ROM. I can install in safe mode.. but then any time 
> there is a cd in the drive upon boot-up.. i get errors again.

I think this is due to using DMA for ATAPI (i.e. accessing the CDROM),
which many drives do not support properly.  This was recently
disabled, so the next RC should work.  If not, send mail to stable@
instead of questions@

Kris


pgpJN84XO0aX6.pgp
Description: PGP signature


Re: sending mail between local computers

2005-04-07 Thread Xian
On Thursday 07 April 2005 02:19, Chris Hill wrote:
> On Thu, 7 Apr 2005, Xian wrote:
> > I have two FreeBSD boxes running sendmail, how would make it so mail
> > can be sent from one box to the other?
>
> Assuming they are both on your local network, as suggested in the
> subject... You shouldn't have to do anything with sendmail. Just
> configure the machines so each hostnames resolves, from the perspective
> of the other machine. You could either create an /etc/hosts file on each
> machine, or run DNS locally. Probably other ways as well. Let's say that
> their hostnames are foo and bar - make it so that from foo you can 'ping
> bar', and vice versa.
>
> Once that works, you ought to be able to log in to foo and send mail via
> your favorite MUA to '[EMAIL PROTECTED]' - note, that's just bar, not bar.com 
> or
> anything. Likewise you ought to be able to log in to bar and send mail
> via your favorite MUA to '[EMAIL PROTECTED]'. Assuming the user exists on both
> machines, of course.
>
> I'm doing something like this with my internal mail at home, and it
> works fine.
>
> > http://www.clanger9.org.uk/computer/explain.html
>
> Cute.
>
> --
> Chris Hill   [EMAIL PROTECTED]
> ** [ Busy Expunging <|> ]

That's exactly what I'm doing except the hosts are named hercules and pandora. 
A little exploring and I find that hercules can't telnet to pandora port 25 
and the other way too. This looks like the mail "Sendmail + No Response from 
Port 25" I just spotted on the list.

-- 

/Xian

"Windows has detected that your mouse has moved. Reboot now for changes to 
take effect?"
Unknown Author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Freebsd Foundation and Java Binary Support/Licenses

2005-04-07 Thread Jeff Mohney
Hello.
I have two questions:

1. When will the freebsdfoundation site be up and running again, it
appears that the sub-pages are still not avail and the website says:

 March 11, 2005 - www.FreeBSDFoundation.org temporarily unavailable
due to hardware failure.
Due to a hardware failure, the FreeBSD Foundation web site is
temporarily unavailable. The full site will be restored within a few
days.


2. My understanding is that jdk/jre support in 5.x is only available
via linux emulation and or linux emulation to get a build to get to a
FBSD binary version - ick.

If I understood correctly 4.x has the binary version w/out all the
downloading from sun and what not.  I heard at one point that the
Foundation was renegotiating w/ sun so that 5.x could have the same -
Is there any news on this? (I would check the foundation site for it
but it is down as previously mentioned).

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


ipfw + pipe and icmp

2005-04-07 Thread aksis
Hi,

I want to allow *all* icmp traffic on the firewall, but I don't want 
*incoming* traffic to be able to over whelm my connection, so I am going to 
use ipfw pipe.

I just wanted to double check and make sure what I am going to do will work 
the way I think it will:

... snip ...
cmd="ipfw add"
oif="tun0"
skip="skipto 6"
ks="keep-state"

#  ping -s 56 -c 10 
# 56 translates into 64 ICMP data bytes when combined with 
# the 8 bytes of ICMP header data, thus for the pipe:
ipfw pipe 1 config bw 640bits/s <-- will this and queue need a rule number?
$cmd add queue 1 icmp from any to any in via $oif $ks <--  rule number? 
... snip ...
$cmd 100 divert natd ip from any to any in via $pif
$cmd 101 check-state
... snip ...
$cmd 200 add queue 1 icmp from any to any in via $oif $ks
$cmd 201 $skip icmp from any to any out via $pif $ks
$cmd 202 $skip add allow log icmp from any to any $ks
... snip ...
$cmd 5 deny all from any to any
$cmd 6 divert natd ip from any to any out via $pif
$cmd 60010 allow ip from any to any
... snip ...

I belive this will limit all incoming icmp traffic to 640bits/s but not any 
outgoing, or, replys to outgoing thus making icmp flooding imposable. Please 
correct me if I am wrong, (did i form the rules correctly?), or if I should 
go about this another way.

Also, how much bandwidth does a single default sized ping packet consume? 
Should I raise or lower the limit, (I don't want the replies to be false or 
give to much slack)? This is a part that I'm not clear on at all. I don't 
belive more then 10 pings should be considered.

Also, if I start using rules with pipes, will I need to rewrite all the rules 
to use pipes or will only the rules with pipes be limited and everything else 
will operate on default?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: [OT] is there a ThinkPad clone?

2005-04-07 Thread Andrew Heyn


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
Sent: Thursday, April 07, 2005 9:01 AM
To: FreeBSD Mailing List
Subject: [OT] is there a ThinkPad clone?


People,

Apologies up front if anybody thinks this is *too* far OT,
but if the 8 months I've been using FreeBSD on my TP 600E
(400MHz, 288M, 12G). it has become my favorite computer.
__Not__ having that std mouse-pad thing where you scratch
or drag or tap your fingers lets me rest the heel of my left
hand dead-center and type away.  The tiny mouse-stick and the
three cut/paste bars work well too.

When I upgrade, I'd like another laptop with the same
layout.  The few other laptops I've looked at all have
that mouse-pad.  Anybody know if there is anything like
a "ThinkPad clone"??

gary


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


---

Gary,

Your typing habits disturb me greatly.
Please consider this document:
http://www3.gov.ab.ca/hre/whs/publications/pdf/erg029.pdf
Save yourself!


Thanks,
Andrew

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


Re: IPv6 ICMP multicast response

2005-04-07 Thread Martin Petraschek
On 07 Apr 2005 10:29:07 -0400, Lowell Gilbert wrote:

>"Martin Petraschek" <[EMAIL PROTECTED]> writes:
>
>> The section you are referencing in RFC 2463 is concerning ICMP 
>> ERROR messages. Echo requests/responses are informational 
>> messages, therefore this section does not apply.
>
>Ah.  You're right; I was thinking about error handling because that's
>the code I happened to be working with this morning.  I was looking at
>the error handling code, as well, so when I said it was impossible I
>may have been wrong also.  [The ICMP6_ECHO_REQUEST handling in
>icmp6_input() doesn't do any special handling for multicast at all, so
>I don't see why it doesn't Just Work.]
>
>Sorry for not paying enough attention to the question.

No problem.

Anyway, because of your reply I double checked my setup and found out 
that FreeBSD does indeed answer to multicast ping requests. There just 
does not seem to be a sysctl switch to turn off this behaviour (as there is for 
IPv4).

Thank you,

Martin



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


[OT] is there a ThinkPad clone?

2005-04-07 Thread Gary Kline
People,

Apologies up front if anybody thinks this is *too* far OT,
but if the 8 months I've been using FreeBSD on my TP 600E
(400MHz, 288M, 12G). it has become my favorite computer.
__Not__ having that std mouse-pad thing where you scratch
or drag or tap your fingers lets me rest the heel of my left
hand dead-center and type away.  The tiny mouse-stick and the
three cut/paste bars work well too.  

When I upgrade, I'd like another laptop with the same 
layout.  The few other laptops I've looked at all have 
that mouse-pad.  Anybody know if there is anything like
a "ThinkPad clone"??

gary


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

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


Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Nick Pavlica
On Apr 7, 2005 9:12 AM, Christopher Lane <[EMAIL PROTECTED]> wrote:
> Nick Pavlica wrote:
> > Chris,
> >   I alway install the ports that I want during my initial installation
> > so I'm not sure what the best post installation method is.  I would
> > venture to say that cvsup would be you best bet.
> >
> > --Nick
> >
> 
> My goal is to have the latest ports, regardless of which ones I actually
> want to install.  I guess my question is more "can I CVSup without first
> installing the ports collection, and if I do so, does that save time or
> take longer?"
> 
> - Chris
>

Using cvsup is the way to go for getting the latest ports.  I believe
that you can use cvsup without installing the ports collection from
cd.  I would suggest configuring the ports-supfile and running cvsup
(cvsup -g -L 2 ports-supfile).  You should also update your base with
cvsup and make buildworld as described in the handbook.

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


Re: New user questions :)

2005-04-07 Thread Nick Pavlica
On Apr 7, 2005 2:58 AM, Graham Bentley <[EMAIL PROTECTED]> wrote:
> 
> >> Graham Bentley <[EMAIL PROTECTED]> wrote:
> >> I also wondered if there is a project based on FreeBSD that
> >>> achieves similar goals to SME Server (ie all in one LAN server
> >>> with Web config) or similar to Trustix (ie minimal config with
> >>> series of scripts to configure server services.
> 
> >> Not that I know of, but it sure would be a nice project, huh?
> >
> > definitely a nice one.
> >
> > hmm...what would be the best way to go about it?
> >  - add an option to sysinstall "SME" (well, whatever that would be named
> > of course)
> >  - add a port that 'depends' / installs all the other ports needed
> > - with questions and answer to start setting up your system...or
> > some kind of UI for it (ugh)
> >  - same as with ports, but prec-compiled packages.
> >
> > hmm...must download SME to test and see how they went about it.
> 
> Hi Guys, Iw as wondering how I would even go about starting a project
> like this using FreeBSD as I know even less than I do about Linux (not
> much) but I really rate SME and would love to see a FreeBSD version as
> FreeBSD seems even more suited to this type of thing (ie a stable distro
> to base a good project on:)
> 
> Did you get round to checking out SME ?
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Graham,
  After taking a quick look at SME I can see it's appeal.  I'm not
sure if there is an equivalent for FreeBSD, but it would be a nice
addition.  Webmin does allot of this functionality as well if you
haven't taken a look at that.  To start a project like SME all you
need to do is start hacking, and provide a web based community for it
so that others are aware of it and possibly start helping out. 
Because they are both *nix based operating systems you may be able to
start by porting the web manager from SME to FreeBSD 5.4 +.

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


Lost depend?

2005-04-07 Thread Tarc

/usr/ports/www/oops> make
===>   oops-1.5.24_1 depends on executable: gawk - found
===>   oops-1.5.24_1 depends on file: /usr/local/bin/autoconf259 - found
===>   oops-1.5.24_1 depends on shared library: gigabase_r.2 - found
===>  Configuring for oops-1.5.24_1
/usr/local/bin/autoheader259: not found
*** Error code 127

Stop in /usr/ports/www/oops.
*** Error code 1

Stop in /usr/ports/www/oops.

-- 
 Arseny Nasokin (aka Tarc)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: more problems with 5.3 and "TIMEOUT - WRITE_DMA" [SOLOTION]

2005-04-07 Thread Mike Daemon
On Mar 27, 2005 11:47 PM, Mike Daemon <[EMAIL PROTECTED]> wrote:
> On Sun, 27 Mar 2005 13:32:43 -0800, Thomas Foster <[EMAIL PROTECTED]> wrote:
> > I had this same issue
> 
> I´ll have seen some more posts on the list with about the same problem
> therefore, I hope some bright one will take alook at the code.. and
> post something smart.. I´m very much stuck, hopeing any new snapshot
> will work..
> 
>  on an older AMD Nforce board.  5.2.1 seemed to install
> > and run.. but moving to 5.3 gave me issues.  I tinkered with the DMA
> > settings in the BIOS.. to no avail.  The Geometry seemed to be off on the
> > drive I noticed (IBM deskstar) when I newfs'd it.. so I changed out drives..
> > but never got it working..  I eventually just dropped Gentoo on it.
> >
> > What chipset, drive controller hard drive are you using on this system?
> 
> http://www.freebsd.org/cgi/man.cgi?query=ata&sektion=4&manpath=FreeBSD+5.3-RELEASE
> 
> I´ll notised that my idecontroller IS supported by the ata-driver,
> witch makes it even stranger.. (I think I will check on my cabling
> once more, even if it´s a newly installed _rounded_ 32 pin cable..)
> 
> My atacontroller: SiS 5513
> My HDD: Seagate 200 GB
> 
> 
> >
> > T
> >
> > - Original Message -
> > From: "Mike Daemon" <[EMAIL PROTECTED]>
> > To: "FreeBSD Questions" 
> > Sent: Sunday, March 27, 2005 1:15 PM
> > Subject: more problems with 5.3 and "TIMEOUT - WRITE_DMA"
> >
> > I got this annoying problem when upgradeing to 5.3, the miniinst iso
> > blurps out "TIMEOUT - WRITE_DMA" when it starts writing base to my
> > disk. And when I tried to first install 5.2.1 and upgrade (cvsup, make
> > buildworld etc.. ) to 5.3 that way everything seems fine until I
> > reboot to single-user-mode, as soon as Im starting to write anything
> > to the disk it´s blurping out those errors.. I have diagnosticed my
> > disk, checked my cabling and fixed my PSU (installed a brand new one).
> > No difference. I noticed that my ide-controller was supported in 4.11,
> > but not? in 5.3, is that realy true? seems very strange...
> >
> > Sence I duel boot with Wintendo/Lunix and don´t see this problem with
> > those oses I´m very confused of what to do next..
> >
> > I´ll tried some snapshots to but no luck...
> >
> > / Mike
> >
> > ps My dmesg goes in the attachment, in hope for a patch/solution to
> > this problem. ds
> >
> > 
> >
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > >
> >

I (with a little help from a good friend ) figured out an solution to
the problem, in switching my brand new ata133 ide-cable to an "old
school" ata33 ide-cable FreeBSD sets my drives to UDMA3 and boots up
alright..

key commands here:

atacontrol list
and
atacontrol mode 

( my buddy had come across some message telling about how SiS had
created an new "SiS 5513" chipset with the same tag.. unfortunal he
didn't remember where that message were. But it would make sense why
FreeBSD tryies  to use UDMA5 on my UDMA3 only atachipset.. )
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Christopher Lane
Nick Pavlica wrote:
Chris,
  I alway install the ports that I want during my initial installation
so I'm not sure what the best post installation method is.  I would
venture to say that cvsup would be you best bet.
--Nick
My goal is to have the latest ports, regardless of which ones I actually
want to install.  I guess my question is more "can I CVSup without first
installing the ports collection, and if I do so, does that save time or
take longer?"
- Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Nick Pavlica
Chris,
  I alway install the ports that I want during my initial installation
so I'm not sure what the best post installation method is.  I would
venture to say that cvsup would be you best bet.

--Nick



On Apr 7, 2005 8:22 AM, Christopher Lane <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've installed FreeBSD 5.3 using the minimum install option, and would
> like to immediately install the ports collection.  What I've done in the
> past is sysinstall via ftp and then CVSup to update.  Is that insane?
> Can I just CVSup and forget about the sysinstall?  Is one method quicker
> than the other?  Maybe there's a better method altogether...
> 
> Chris
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: puc, ppc and MosChip SemiConductors Nm9805 Parallel Port Adapter

2005-04-07 Thread David Taylor
On Thu, 07 Apr 2005, David Taylor wrote:

Oops, sorry for the double post.  I couldn't find the previous one
on the archives, and thought it had got lost due to the DNS problems.
Apparantly it was just delayed though.

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


puc, ppc and MosChip SemiConductors Nm9805 Parallel Port Adapter

2005-04-07 Thread David Taylor
Hi,

I've got an amd64 box with 1 built-in parallel port, which works fine.

I also bought an add-on parallel port adapter card (a MosChip
SemiConductors Nm9805 chip).  After discovering puc, I enabled
device puc and the card is now detected by puc, but doesn't
appear to be picked up by the ppc driver.

I'm running -STABLE from about 24 hours ago.

In dmesg:
puc0:  port
0xd000-0xd00f,0xd400-0xd407,0xd800-0xd807,
0xdc00-0xdc07,0xe000-0xe007,0xe400-0xe407
irq 19 at device 8.0 on pci0
puc: name: NetMos NM9805 1284 Printer port
puc0: Reserved 0x8 bytes for rid 0x10 type 4
at 0xe400 port rid 16 bst 0, start e400, end e407
puc: Using ppc0
puc: type 2, bar 10, offset 0

In pciconf -lv:
[EMAIL PROTECTED]:8:0:  class=0x078000 card=0x00101000
chip=0x98059710 rev=0x01 hdr=0x00
vendor   = 'MosChip Semiconductors (Was: Netmos Technology)'
device   = 'Nm9805 Parallel Port Adapter'
class= simple comms

However, despite the 'using ppc0' line, ppc0 is never mentioned again.

The on-board parallel port is allocated to ppc1:
ppc1: 
port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc1: FIFO with 16/16/9 bytes threshold
ppbus0:  on ppc1
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0:  MLC,PCL,PML
lpt0:  on ppbus0
lpt0: Interrupt-driven port

However, ppc doesnt appear to exist:
# sysctl dev.ppc.0
sysctl: unknown oid 'dev.ppc.0'

Since the card is detected, and the puc driver claims to be 'using ppc0',
I'm not really sure what to try now.  Any one have any ideas?

P.S. Please CC me on any replies, as I am not subscribed to this list.

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


Re: IPv6 ICMP multicast response

2005-04-07 Thread Lowell Gilbert
"Martin Petraschek" <[EMAIL PROTECTED]> writes:

> The section you are referencing in RFC 2463 is concerning ICMP 
> ERROR messages. Echo requests/responses are informational 
> messages, therefore this section does not apply.

Ah.  You're right; I was thinking about error handling because that's
the code I happened to be working with this morning.  I was looking at
the error handling code, as well, so when I said it was impossible I
may have been wrong also.  [The ICMP6_ECHO_REQUEST handling in
icmp6_input() doesn't do any special handling for multicast at all, so
I don't see why it doesn't Just Work.]

Sorry for not paying enough attention to the question.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using ppp/tun0 manually, how to trigger 'pf' automaticaly

2005-04-07 Thread Daniel Hartmeier
On Thu, Apr 07, 2005 at 04:11:12PM +0200, O. Hartmann wrote:

> I use the ppp utility to configure and setup a line (at the moment no 
> other way possible). How can I trigger 'pfctl -F all -f /etc/pf.conf'
> after the line has been setup to make pf working with the tun0 assigned IP?
> 
> Or are there other way doing so?

You can use 'from (tun0)', where the interface name is put in
parentheses, and pf will automatically note when that interface changes
its IP address, without the need to reload the ruleset.

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


Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Christopher Lane
Hi,
I've installed FreeBSD 5.3 using the minimum install option, and would 
like to immediately install the ports collection.  What I've done in the 
past is sysinstall via ftp and then CVSup to update.  Is that insane? 
Can I just CVSup and forget about the sysinstall?  Is one method quicker 
than the other?  Maybe there's a better method altogether...

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


Re: x11 help

2005-04-07 Thread Andreas Rudisch
On Thu, 2005-04-07 at 08:30 -0500, Dennis Olvany wrote:
> I'm attempting to run the Doom 3 Linux binary on FreeBSD 5.3. I really have 
> no idea how to get x11/Doom 3 started. I've tested my x11 configuration with 
> [Xorg -config xorg.conf.new] and it seems to work well. I'm sure Doom 3 
> expects x11 to already be running in the form of KDE or Gnome, but I would 
> like to run Doom 3 directly from the command line. I have no idea how to get 
> x11 started and then launch Doom 3.

Make sure you have a nvidia graphiccard. install the nvidia drivers from
the ports. fetch the linux installer for Doom3:

ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-1.1.1286.x86.run

Install Doom3 and play.

Have fun,
 Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





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


Re: IPv6 ICMP multicast response

2005-04-07 Thread Martin Petraschek
On 07 Apr 2005 09:30:29 -0400, Lowell Gilbert wrote:

>"Martin Petraschek" <[EMAIL PROTECTED]> writes:
>
>> By default, FreeBSD does not reply to ICMP multicast echo 
>>requests. For IPv4 this behaviour  can be changed with
>> 
>> sysctl  net.inet.icmp.bmcastecho=0|1
>> 
>> Is there a similar control for IPv6?
>
>No.  That would violate RFC 2463, section 2.4(e.2).
>As well as being a bad idea.

The section you are referencing in RFC 2463 is concerning ICMP 
ERROR messages. Echo requests/responses are informational 
messages, therefore this section does not apply.

The same RFC 2463, section 4.2 states:

   An Echo Reply SHOULD be sent in response to an Echo 
   Request message sent to an IPv6 multicast address.  The 
   source address of the reply MUST be a unicast address 
   belonging to the interface on which the multicast Echo Request 
   message was received.

Therefore, the OS _should_ respond to a multicast echo request!

Martin



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


Re: Debug tags in FreeBSD

2005-04-07 Thread Erik Trulsson
On Thu, Apr 07, 2005 at 04:07:46PM +0200, O. Hartmann wrote:
> Dear Sirs.
> Sometimes I watch compiling 'world' or 'kernel' and recognize some '-g' 
> options while compiling, especially when doing so with a FreeBSD 
> 5.X-STABLE branch.
> Are all pre-releases of FreeBSD due to development and bug tracking 
> 'tagged' with debugger options and do they go away with a 'RELEASE' (or 
> is this simply a stupid rumor that all STABLE versions are still tagged 
> to be debugged)?

The default compile options for FreeBSD (including -STABLE, -CURRENT as
well as releases) do not include any debug flags.

> 
> The reason why I ask is simple. I need my FreeBSD box for scientific 
> researches and would like to squeeze out as much power as possible and 
> therefor debugging options are meant to slow down code.

Even if you do compile with '-g' it will not slow down the code at all.
The only drawback will be that the extra debug info will take up extra
space on the disk.

> 
> I'm not a development thug, so if this question sound stupid, I would 
> regret bothering you. Hope someone will answer.




-- 

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


Using ppp/tun0 manually, how to trigger 'pf' automaticaly

2005-04-07 Thread O. Hartmann
Hello.
I use the ppp utility to configure and setup a line (at the moment no 
other way possible). How can I trigger 'pfctl -F all -f /etc/pf.conf'
after the line has been setup to make pf working with the tun0 assigned IP?

Or are there other way doing so?
Thanks,
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Debug tags in FreeBSD

2005-04-07 Thread O. Hartmann
Dear Sirs.
Sometimes I watch compiling 'world' or 'kernel' and recognize some '-g' 
options while compiling, especially when doing so with a FreeBSD 
5.X-STABLE branch.
Are all pre-releases of FreeBSD due to development and bug tracking 
'tagged' with debugger options and do they go away with a 'RELEASE' (or 
is this simply a stupid rumor that all STABLE versions are still tagged 
to be debugged)?

The reason why I ask is simple. I need my FreeBSD box for scientific 
researches and would like to squeeze out as much power as possible and 
therefor debugging options are meant to slow down code.

I'm not a development thug, so if this question sound stupid, I would 
regret bothering you. Hope someone will answer.

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


Sendmail + No Response from Port 25

2005-04-07 Thread JP
Hey Gang--
 
I need some advice, I am running FreeBSD 5.3 and am having problems getting 
sendmail to be accessable from outside the LAN.  If I am on the LAN and perform 
a "telnet 192.168.1.254 25" sendmail responds.  But anywhere outside of the LAN 
I cannot get sendmail to respond.  I can telnet to it just fine remotely as 
well as Ftp.  I am using PPP since I have a PPPoE connection.
 
Any advice?
 
Thanks,
JP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Re : Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT

2005-04-07 Thread Xin LI
Hi, Michal,

å 2005-04-05äç 22:07 +0200ïMichal Mertlåéï
> Didier Wiroth wrote:
> > Hello,
> > Thank you very much for replying.
> > 
> > > cd /usr/src/usr.sbin/vidcontrol
> > > patch  > 
> > I'm using the RELENG_5 sources from today.
> 
> > The syscons.diff.20050215 works but the vidcontrol.diff.20050215 gives
> > some errors.
> 
> The diff is against the sources from -CURRENT where it applies and
> compiles cleanly. You should be ok using the current vidcontrol sources
> on -STABLE. The only difference is just some code purity fixes by Xin Li
> - probably in preparation for integrating the changes we speak about.

I went into some problem when using the patch on my own laptop, which
indicates that USB based mouse can play something nasty with the
patchset :-(  It does not affect the functionality seriously, but is
really annoying.  I would appreciate if someone can fix the issue.

Cheers,
-- 
Xin LI   http://www.delphij.net/


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


Re: suspending login

2005-04-07 Thread Eric McCoy
Ean Kingston wrote:
If you change the password entry then, when you want
to enable the user again, the user has to enter a new password. This way,
the user keeps his/her old password. Note, the question asked for suspend,
not remove. I read suspend as implying that the account may be used again.
No, you don't replace the password, you just insert an invalid character 
- one which can never be the result of crypt().  That invalid character 
is typically an asterisk.  To unlock the account, you remove the 
asterisk.  It's how pw usermod -L and -U work.

For the OP, it's important to use all three approaches if your victim is 
untrustworthy.  If you change the password but nothing else he can still 
get in via SSH; if you change the shell but nothing else he can still 
get in via FTP (possibly); if you change the home directory but nothing 
else he can still get in via SSH (and mess with /tmp or /var/tmp).  So 
if you are locking out the user to preserve evidence of some misdeed, be 
sure to do all three.

If this is just a real-life buddy who's welching on some money he owes 
you, though, doing only one will probably be sufficient.  (Well, doing 
one and saying things to him like "I bought a .45 last week" and "It 
turns out that if you do enough cocaine most juries won't convict you of 
murder.")

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


Re: ad* read errors

2005-04-07 Thread Lowell Gilbert
Warren <[EMAIL PROTECTED]> writes:

> since i updated the ports/src/kernel 2 days ago i have had the followings 
> error splague me .. are these related or am i looking at hdd failure ?
> 
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=1519103
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=5266559
> ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=5266559
> ad0: FAILURE - READ_DMA timed out
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=15383527
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=1484415
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=25769279
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=5126031
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=25089095
> ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=26332807
> ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=26332807
> ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=115046303
> ad1: TIMEOUT - READ_DMA retrying (2 retries left) LBA=189786975

It could well be disk failure, but check a couple of simpler things
first.  Number 1, make sure that you have turned on automatic sector
remapping on that disk.  How you do that can vary by disk
manufacturer, but see the FAQ entry on bad block remapping.  Number 2
is to get a new disk cable; cable problems are at least as common as
disk failures in my experience, and it's *really* annoying to replace
a disk and find that the problem wasn't the disk in the first place.

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


RE: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT

2005-04-07 Thread Xin LI
Hi, Didier,

å 2005-04-06äç 13:39 +0200ïDidier Wirothåéï
> Is there a patch available for the rc.d mouse script?

I don't have a patch that is good enough to warrant a commit at present.
You may want to try the patch attached, but I can not promise that it
will work for every case.

Thanks for your testing!

Cheers,
-- 
Xin LI   http://www.delphij.net/
Index: jail
===
RCS file: /home/ncvs/src/etc/rc.d/jail,v
retrieving revision 1.21
diff -u -r1.21 jail
--- jail	16 Jan 2005 03:12:03 -	1.21
+++ jail	1 Feb 2005 07:21:57 -
@@ -59,6 +59,14 @@
 	eval jail_procfs=\"\$jail_${_j}_procfs_enable\"
 	[ -z "${jail_procfs}" ] && jail_procfs="NO"
 
+	# Default settings for skel jail
+	eval jail_skel_enable=\"\$jail_${_j}_skel_enable\"
+	[ -z "${jail_skel_enable}" ] && jail_skel_enable="NO"
+	eval jail_skel_root=\"\$jail_${_j}_skel_root\"
+	[ -z "${jail_skel_root}" ] && jail_skel_root="/"
+	eval jail_skel_romounts=\"\$jail_${_j}_skel_romounts\"
+	[ -z "${jail_skel_romounts}" ] && jail_skel_romounts="bin sbin lib libexec usr/bin usr/sbin usr/include usr/lib usr/libdata usr/libexec usr/sbin usr/share"
+
 	eval jail_mount=\"\$jail_${_j}_mount_enable\"
 	[ -z "${jail_mount}" ] && jail_mount="NO"
 	# "/etc/fstab.${_j}" will be used for {,u}mount(8) if none is specified.
@@ -81,6 +89,9 @@
 	debug "$_j fstab: $jail_fstab"
 	debug "$_j exec start: $jail_exec_start"
 	debug "$_j exec stop: $jail_exec_stop"
+	debug "$_j skel enable: $jail_skel_enable"
+	debug "$_j skel mount-readonly: $jail_skel_romounts"
+	debug "$_j skel mount-readonly from: $jail_skel_root"
 }
 
 # set_sysctl rc_knob mib msg
@@ -136,6 +147,14 @@
 		[ -f "${jail_fstab}" ] || warn "${jail_fstab} does not exist"
 		umount -a -F "${jail_fstab}" >/dev/null 2>&1
 	fi
+	if checkyesno jail_skel_enable; then
+		for _mntpt in $jail_skel_romounts
+		do
+			if [ -d "${jail_rootdir}/${_mntpt}" ] ; then
+umount -f ${jail_rootdir}/${_mntpt} > /dev/null 2>&1
+			fi
+		done
+	fi
 }
 
 jail_start()
@@ -155,6 +174,13 @@
 	for _jail in ${jail_list}
 	do
 		init_variables $_jail
+		if checkyesno jail_skel_enable; then
+			info "Mounting skeleton for jail ${_jail} from ${jail_skel_root}"
+			for _mntpt in $jail_skel_romounts
+			do
+mount_nullfs -ordonly ${jail_skel_root}/${_mntpt} ${jail_rootdir}/${_mntpt} > /dev/null 2>&1
+			done
+		fi
 		if checkyesno jail_mount; then
 			info "Mounting fstab for jail ${_jail} (${jail_fstab})"
 			if [ ! -f "${jail_fstab}" ]; then
Index: moused
===
RCS file: /home/ncvs/src/etc/rc.d/moused,v
retrieving revision 1.9
diff -u -r1.9 moused
--- moused	16 Jan 2005 03:12:03 -	1.9
+++ moused	7 Apr 2005 13:41:45 -
@@ -10,10 +10,16 @@
 
 . /etc/rc.subr
 
+# stdin must be redirected because it might be a serial console
+#
+ttyv=/dev/ttyv0
+
 name=moused
 rcvar=`set_rcvar`
 command="/usr/sbin/${name}"
+required_files="${ttyv}"
 start_cmd="moused_start"
+stop_postcmd="moused_postcmd"
 _pidprefix="/var/run/moused"
 pidfile="${_pidprefix}.pid"
 _pidarg=
@@ -66,10 +72,13 @@
 		;;
 	esac
 
-	for ttyv in /dev/ttyv* ; do
-		vidcontrol < ${ttyv} ${_mousechar_arg} -m on
-	done
+	vidcontrol < ${ttyv} ${_mousechar_arg} -m on
 	echo '.'
 }
 
+moused_postcmd()
+{
+	vidcontrol < ${ttyv} -m off
+}
+
 run_rc_command $*


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


Re: Maintaining a Minimal Installation for a Small HDD

2005-04-07 Thread Lowell Gilbert
Pat Maddox <[EMAIL PROTECTED]> writes:

> Yep, that's pretty much right.  Use one of the systems to build
> everything as packages, and then install all those packages onto your
> other machines.

Or share them (e.g., by NFS), and build them on the individual machines.

Or share them (e.g., by NFS), and build them on the master machine,
then install on the other machines (just make sure you don't build
them with optimizations that will break the other machines -- of
course, this caveat also applies to building packages for those other
machines). 

> You'll still need to compile the kernel and source on each individual machine.

Or you could build the kernel and source on the master machine and
share them (e.g., by NFS) to install on the other machines.  Or use
FreeBSD Update or something similar (e.g., you could put a simple
version together with rsync).  Or build your own releases on the
master machine and let the other machines update to them via anonymous
FTP.  There are a huge number of possibilities, limited only by the
amount of effort you're willing to put into them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: multiprocessors

2005-04-07 Thread Tom Trelvik
Eric McCoy wrote:
You are looking in the wrong place.  A C *column*, not a CPU *row*. 
FreeBSD will only ever show the total CPU time on the CPU row.  This is 
something like what you will see on an SMP system:

  PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
89704 emccoy960  2484K  1660K CPU1   0   0:00  0.51%  0.05% top
97005 root  960  3092K  1248K select 1  29:28  0.00%  0.00% ntpd
	Except that that column isn't present by default when it's not running 
SMP, even if there are two processors.  Here's the output from a fresh 
install (yesterday) on a dual Opteron without SMP enabled yet:

  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
  240 root  960  3268K  1776K select   0:07  0.00%  0.00% dhclient
  408 root  960  9468K  3572K select   0:00  0.00%  0.00% sendmail
  425 root   80  3620K  1264K nanslp   0:00  0.00%  0.00% cron
Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.3 and 5.4RC1 both fail with CD upon installation(5.1 did not)

2005-04-07 Thread Joshua Kampmeier
Here is the error I get when booting with(any) of the 5.3/5.4 discs:

acd0: CDRW  at ata1-master UDMA33
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0

then it starts sysinstall except when I try to start the installation it fails 
at mounting the CD-ROM. I can install in safe mode.. but then any time there is 
a cd in the drive upon boot-up.. i get errors again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IPv6 ICMP multicast response

2005-04-07 Thread Lowell Gilbert
"Martin Petraschek" <[EMAIL PROTECTED]> writes:

> By default, FreeBSD does not reply to ICMP multicast echo requests. For IPv4 
> this behaviour 
> can be changed with
> 
> sysctl  net.inet.icmp.bmcastecho=0|1
> 
> Is there a similar control for IPv6?

No.  That would violate RFC 2463, section 2.4(e.2).
As well as being a bad idea.

If you need it for some custom application that won't be 
connected to the Internet, you can hack the source.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


x11 help

2005-04-07 Thread Dennis Olvany
I'm attempting to run the Doom 3 Linux binary on FreeBSD 5.3. I really have no 
idea how to get x11/Doom 3 started. I've tested my x11 configuration with [Xorg 
-config xorg.conf.new] and it seems to work well. I'm sure Doom 3 expects x11 
to already be running in the form of KDE or Gnome, but I would like to run Doom 
3 directly from the command line. I have no idea how to get x11 started and 
then launch Doom 3.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dhclient oddness?

2005-04-07 Thread Lowell Gilbert
Mark Cullen <[EMAIL PROTECTED]> writes:

> Right, I have this weird annoying issue with my modem which I have
> finally got around to looking in to. Basically, it's all good and
> works fine (obviously, otherwise I wouldn't be here!), except when I
> reboot the internet computer the IP will change, the connection
> DOESN'T drop, but the IP does change. I have just now narrowed this
> down to some sort of problem with dhcp I think.
> 
> The modem has a dhcpd server built in, which sends out the internet IP
> address to the computers network card. It seems, whenever the dhcp
> client, dhclient in this case, gets restarted it'll get the old ip
> address (the first chunk of the quote below, before the ),
> natd will update itself, but then the connection will just stall until
> dhclient does the next DHCPREQUEST thing (47 seconds in this case?)
> .. then the modem sends back a DHCPNAK and I get a different IP
> address. Any ideas why this might be happening?

Your "modem" is clearly the source of the problem, and it seems
unlikely that anything on the FreeBSD side could help, aside from
maybe forcing a lease free before starting dhclient on startup.

I'd try looking at the configuration for that "modem" device, or
possibly for a firmware upgrade for it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: multiprocessors

2005-04-07 Thread Eric McCoy
Bill wrote:
On Wed, 2005-04-06 at 21:16, FreeBSD Deamon wrote:
Bill wrote:

Is there a comand to use so as to see if freebsd is using both
processors?
sysctl hw.ncpu, I think.
You can also look at /var/run/dmesg.boot and look for:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
BSP stands for bootstrap processor and AP for application processor. 
The BSP is the one used to load the system until this message comes up:

SMP: AP CPU #1 Launched!
which will happen right before the kernel launches init.
try top(1)
the output of top should contain a "C" column. if this column contains 
"0"s and "1"s both your CPUs are used

There is a line for cpu put it only shows one. Im used to linux and when
I do a top in Linux I see two lines for my cpus.
You are looking in the wrong place.  A C *column*, not a CPU *row*. 
FreeBSD will only ever show the total CPU time on the CPU row.  This is 
something like what you will see on an SMP system:

  PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
89704 emccoy960  2484K  1660K CPU1   0   0:00  0.51%  0.05% top
97005 root  960  3092K  1248K select 1  29:28  0.00%  0.00% ntpd
First, note the state for top: it's CPU1.  Second, the "C" column is 0 
for top, 1 for ntpd.  The "C" column is the last CPU the process ran on.

The WCPU and CPU columns, by the way, are both *per-CPU*, as you can see 
here:

CPU states:  2.7% user,  0.0% nice, 47.5% system,  0.8% interrupt, 49.0% 
idle
89739 emccoy   1100  1324K   684K CPU0   0   0:43 99.00% 87.50% cat

So another way to tell if SMP is working is if the summary row says 50% 
idle but you've got a process which shows 100% active.

Is the stock kernel that gets installed when doing a new install smp
enabled?
No.
Do i need to rebuild my kernel for smp?
Yes.  The good news is that it's very easy.  The Handbook has 
information on how to do it.  Basically all you need to do is add 
"options SMP" and make sure "device apic" is enabled (it is by default I 
believe, even for the GENERIC kernel).

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


Re: DNS Names resolution in ipfw+nat ?

2005-04-07 Thread Eric McCoy
faisal gillani wrote:
Well i read couple of  how,to artical on the internet
regarding setting up a ipfw firewall with nat to allow
your private network client to setup internet access ,
but their isnt one thing clear to me , which was not
present in any of the articals , which is how there
internal clients gona resolve internet hosts names ? 
Generally speaking, a program looking to resolve a hostname to an IP 
will first consult /etc/hosts, which is a simple text file you can 
examine or edit as you wish.  If the hostname which needs to be resolved 
isn't present in that file, the program will consult DNS via the 
network.  DNS uses port 53 and it can use either TCP or UDP, though in 
practice a client will never use TCP.  (TCP is used mainly for zone 
transfers and the like, which are server-to-server.)

The rule of thumb for Unix is not to use hostnames in startup scripts, 
because it's possible that DNS will not be available when they are run. 
  It can take over a minute for a DNS query to time out.  Besides, it 
also makes you vulnerable to DNS hijacking.  Instead, use IPs or put an 
entry in /etc/hosts if you must.

Incidentally, the firewall rules to allow DNS would be
ipfw add allow tcp from me to any 53 setup keep-state
ipfw add allow udp from me to any 53 keep-state
As a technical aside, the name resolution path I described above is not 
the way it has to work, just the way it is configured by default.

will this be autoconfigured ?
No, though the above rules should be in the sample ipfw script which 
comes with FreeBSD.

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


Re: how to enable PHP on Apache?

2005-04-07 Thread Yoann Le Bihan
Hello ! :-)

You just need to install mod_php port. It's located into
/usr/ports/www (there are a mod_php4/ and a mod_php5/ directories).
Just "make install clean" from one or two of these directories and it
must be installed. Because I think it's not installed (even if it's
mentionned in httpd.conf... it's strange by the way :-).

Don't forget to make a "/usr/local/sbin/apachectl restart" after (if
it's not already done from the port's installation).

Best regards,

YLB.
[EMAIL PROTECTED]


On Apr 7, 2005 9:41 AM, Matthias F. Brandstetter <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I did a "make install clean" to compile and install phpmyadmin, which
> installed PHP4 as well. Then I added these lines into my httpd.conf:
> 
> -
> ...
> LoadModule php4_modulelibexec/apache/libphp4.so
> ...
> AddModule mod_php4.c
> ...
> 
> 
> 
> DirectoryIndex index.php index.php3 index.html
> 
> 
> DirectoryIndex index.php3 index.html
> 
> 
> 
> 
> DirectoryIndex index.php index.html
> 
> 
> DirectoryIndex index.html
> 
> 
> 
> ...
> 
> AddType application/x-httpd-php3 .php3
> AddType application/x-httpd-php3-source .php3s
> 
> 
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
> ...
> Alias /phpmyadmin /usr/local/www/phpMyAdmin
> ...
> -
> 
> But when I now point my browser to /phpmyadmin, Firefox tells me,
> it wants to download a PHTML file. And when I point it to
> /phpmyadmin/index.php, I get a .php file, which Firefox wants to
> download as well.
> 
> So, how can I setup Apache/PHP to interpret my php files, instead of
> sending them 1:1 to the client? Do I miss a configuration here (see
> above)?
> 
> Greetings and TIA, Matthias
> 
> --
> And thank you most of all for nuclear power, which is yet to cause a
> single proven fatality, at least in this country.
> 
>   -- Homer Simpson
>  Oh Brother, Where Art Thou?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: install.cfg (was RE: & No Subject)

2005-04-07 Thread wizlayer
On Thursday 07 April 2005 08:05 am, wizlayer wrote:

>
> Okay, but that still doesn't work for the syntax...  Going back
> to
>
> your original post:
> > command="echo sendmail_enable="NONE" >> /etc/rc.conf" system
>
> would at best cause mismatching quote errors (which is what I'm
> assuming you're getting?)
>
> Mike

I meant to ps before I sent this...

Why not just create the rc.conf you want and introduce it after 
the install?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ps2pdf and ps2epsi behaving strange

2005-04-07 Thread Andreas Davour
After using these tools, installing the epsmegre port (and some others) 
and then removing the latter again, the former have stopped working!

bash-2.05b$ ps2pdf elcFront.ps
Unknown device: pdfwrite
bash-2.05b$ ps2epsi elcFront.ps
Unknown device: bit
bash-2.05b$
How come those devices they ask for have dissapeared, or why have they 
suddenly developed a need for them?

Oddly enough, ps2epsi seems to produce the correct output, regardless of 
the error - ps2pdf not so.

I have reinstalled ghostscript-gnu, but it didn't solve the problem.
Are there some port around that messed with them in a way that didn't 
showed up untill I pkg_delete'd those ports?

/Andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: install.cfg (was RE: & No Subject)

2005-04-07 Thread wizlayer
On Thursday 07 April 2005 07:38 am, John Meing wrote:
> Dear Mike
>
> Here are few guides i used to create this install.cfg.
>
> http://mypage.bluewin.ch/dazdaz/freebsd_sysinstall.html
> http://www.freebsd.org/cgi/man.cgi?query=sysinstall&apropos=0&s
>ektion=0&manpath=FreeBSD+4.11-RELEASE&format=html
>
> I also try command line version of sysinstall like
> # /stand/sysinstall command="passwd root" system
>
> and it was works, but I don't know why it doesn't work with
> install.cfg
>
> John Meing

Open mouth, insert foot...  There is a command!  :)

Okay, but that still doesn't work for the syntax...  Going back to 
your original post:

> command="echo sendmail_enable="NONE" >> /etc/rc.conf" system

would at best cause mismatching quote errors (which is what I'm 
assuming you're getting?)

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


RE:

2005-04-07 Thread John Meing
Dear Mike

Here are few guides i used to create this install.cfg.

http://mypage.bluewin.ch/dazdaz/freebsd_sysinstall.html
http://www.freebsd.org/cgi/man.cgi?query=sysinstall&apropos=0&sektion=0&manpath=FreeBSD+4.11-RELEASE&format=html

I also try command line version of sysinstall like
# /stand/sysinstall command="passwd root" system

and it was works, but I don't know why it doesn't work with install.cfg

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


Re: Windows XP & Partition Magic

2005-04-07 Thread Alex Zbyslaw
Andrew & Alissa Wyderka wrote:
Can FreeBSD be installed if I use Partition Magic.  I am currently running on Windows XP environment.  (That is the only primary partition) ..If  so how..I keep getting error messages "Could not find Primary Descriptor"..when installing FreeBSD from CD. Am I partitioning wrong, or is XP not compatable?
 

I used PM to split my XP disk in two before installing FreeBSD.  What did you do with PM? 
 From memory, the new partition you create should be of type "unused" since PM 
doesn't know about FreeBSD partition types.
Without more information it will be hard to help you.  But what you are trying 
to do can be done.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE:

2005-04-07 Thread Mick Walker
-Original Message-
From: wizlayer [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2005 12:17
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: Re:


On Thursday 07 April 2005 05:16 am, John Meing wrote:
> Hi All,
>
> I'm trying to create customized freebsd 4.11 installation CD, it is 
> almost done but I found some problem with customized install.cfg for 
> sysinstall.
>
> Here is my install.cfg
>
[snip]
>
> command="echo rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
> >> /etc/rc.conf" system
> command="echo sshd_enable="YES" >> /etc/rc.conf" system command="echo 
> sendmail_enable="NONE" >> /etc/rc.conf" system command="passwd root" 
> system shutdown
>
> Most of processes for sysinstall works fine except process for the 
> lines begin with "command" does not work, I don't know why, Could 
> someone help me ?
>
>
> Best Regards,
> John Meing

I can imagine it would.  If there was a command= (could be, but 
I'm relatively new to doing the automated install stuff), it's 
not mentioned in the example install.cfgs I've seen.  Besides, 
even if it is an option, think about how it would carry out...  
it makes about as much sense as telling your shell to:

echo "hello="hola""

... syntax is kinda sucky.

HTH,

Mike


Pardon my ignorance, but is there a section in the handbook/man pages
relating to creating custom install images?
I would find this really useful TBH. However from work I do not have
access to the internet, or the handbook installed locally to check.

Thanks
Mick Walker 
IMPORTANT NOTICE: 
This email is confidential. It must not be read, copied disclosed or used by 
any person other than the named recipient. Unauthorised use, disclosure or 
copying is strictly prohibited and may be unlawful. The views expressed in this 
mail are the views of the author and may not be the views of the company. If 
you have received this email in error, please contact the sender immediatly. 
There may be attachments to this email which may contain viruses which could 
damage your own computer system. BodyCare International has taken every 
reasonable precaution to minimise the risk, but cannot accept liability for any 
damage which you may sustain as a result of software viruses. You should carry 
out your own virus checks before opening attachments. 
  
BodyCare International 
BodyCare House, Blackett Road, Darlington, Co. Durham, DL1 2BJ 
Tel: 01325 360900 
Fax: 01325 363922 
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DNS Names resolution in ipfw+nat ?

2005-04-07 Thread faisal gillani
Well i read couple of  how,to artical on the internet
regarding setting up a ipfw firewall with nat to allow
your private network client to setup internet access ,
but their isnt one thing clear to me , which was not
present in any of the articals , which is how there
internal clients gona resolve internet hosts names ? 

will this be autoconfigured ?

thanks 


*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
God is the Greatest


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re:

2005-04-07 Thread wizlayer
On Thursday 07 April 2005 05:16 am, John Meing wrote:
> Hi All,
>
> I'm trying to create customized freebsd 4.11 installation CD,
> it is almost done but I found some problem with customized
> install.cfg for sysinstall.
>
> Here is my install.cfg
>
[snip]
>
> command="echo rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
> >> /etc/rc.conf" system
> command="echo sshd_enable="YES" >> /etc/rc.conf" system
> command="echo sendmail_enable="NONE" >> /etc/rc.conf" system
> command="passwd root" system
> shutdown
>
> Most of processes for sysinstall works fine except process for
> the lines begin with "command" does not work, I don't know why,
> Could someone help me ?
>
>
> Best Regards,
> John Meing

I can imagine it would.  If there was a command= (could be, but 
I'm relatively new to doing the automated install stuff), it's 
not mentioned in the example install.cfgs I've seen.  Besides, 
even if it is an option, think about how it would carry out...  
it makes about as much sense as telling your shell to:

echo "hello="hola""

... syntax is kinda sucky.

HTH,

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


RE: Windows XP & Partition Magic

2005-04-07 Thread Bjorn Konig
Andrew & Alissa Wyderka:

> Can FreeBSD be installed if I use Partition Magic.  I am 
> currently running on Windows XP environment.  (That is the

> only primary partition) ..If  so how..I keep getting error

> messages "Could not find Primary Descriptor"..when
installing 
> FreeBSD from CD. Am I partitioning wrong, or is XP not
compatable?

In general FreeBSD works with Windows XP side by side. Do
you get this error message while booting from CD, during
preparation of partitions or installation or at the first
boot of an installed system? What's the role of Partition
Magic? If you made room for FreeBSD with Partition Magic
then you don't need it anymore and it might be totally
unrelated to your problem.

Bjorn

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


Problem with partitioning

2005-04-07 Thread [EMAIL PROTECTED]
Dear all,
I have been trying to install FreeBSD 5.3, and having problems with partitions.
My HD configuration was as follows:
- one IBM 30 GB HD (seen as ad0 by FreeBSD booted from CD, and as /dev/hde by
Linux) with a FAT32 partition (WinME), a Ext3 partition (Mandrake Linux 8.1) and
a Linux Swap partition
- one Maxtor 200 GB HD (seen as ad1 by FreeBSD and as /dev/hdg by Linux) with a
FAT32 partition (no OS on it), a Ext3 partition (Slackware Linux 10.1) and 100
GB free space.
The OSes are booted by Lilo installed on the MBR of the first disk.
I made a 30GB partition for FreeBSD and installed the system on it, leaving the
MBRs untouched. It did give me a warning about wrong disk geometry, but
otherwise the installation seemed OK.
Now what happens is:
- WinME can't see the FAT32 partition on the Maxtor disk (let alone the other 
ones);
- Mandrake Linux and Lilo can't see any partition on the Maxtor disk (so I can't
boot the OSes on this disks);
- Knoppix 3.7 (a live Linux CD) can see the partitions on the Maxtor disk (even
the sub-partitions in the FreeBSD partitions - let me apologize here for not
using the proper FreeBSD terminology) but it can't mount them properly;
- FreeBSD (booted from CD) can see and mount everything properly.
A couple more notes:
- I made the partitions on the Maxtor CD with Slackware's fdisk;
- When I boot from the FreeBSD cd (or Freesbie) I need to choose safe mode, or
it will hang after detecting the Maxtor disk (maybe I should have taken this in
more account...).
Any idea on what went wrong and how to fix it? The data already on the Maxtor
disk are not critical, but I would prefer to recover them.
Thanks,
Marco




Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it


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


Re: Help: Streaming media capture

2005-04-07 Thread Xian
On Thursday 07 April 2005 08:02, Mangesh Bhalerao wrote:
> Hi everybody,
>
> I got a question, if i would like to download a file
> on my hdd , such as
>
> rtsp://folder.something.com/blablabla.rm
>
> how to get it download and let me know you i am working
> behind a webonly firewall which blocks all udp connections
> as well as i need to have a poxy connecton to access internet.
>
> I have tried mplayer ( mplayerhq.hu ) but was not successful because of i
> guess, the proxy config in mplayer.
>
> If you know any other utility and how to use it, please let me know.
>
> TIA.
>
> Regards
>
> 
> Mangesh Bhalerao
> M.Tech. (II nd Sem)
> DA-IICT ,(www.da-iict.org)
> Gandhinagar - 382009
>
> Ph#. 9426366185
> --

ssh port forwarding might get you round the firewall. For actually getting the 
stream onto disk, mplayer is very good.

-- 

/Xian

"C lets you shoot yourself in the foot rather easily. C++ allows you to blow 
your whole leg off"
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sound Help

2005-04-07 Thread Xian
On Thursday 07 April 2005 05:16, Warren wrote:
> I upgraded my ports/src/kernel yesterday and after i rebooted i no longer
> have any sound installed.
>
> Being as i have onboard sound and honestly have no idea the chipset the
> sound uses etc .. i was wondering if someone could give me a guide to how
> to get my sound back and working?

I have a ASUS A7V600-X motherboard, and sound came out the mic (pink) socket 
until I used this patch:
http://www.essenz.com/support/lists/hackers/20041231/51.html


-- 

/Xian

"What is Pi?
Mathematician: Pi is the number expressing the relationship between the 
circumference of a circle and its diameter. Physicist: Pi is 3.14159267 plus 
or minus 0.5. Engineer: Pi is about 3."
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


rtc question

2005-04-07 Thread dick hoogendijk
I decided to remove polling and hz=1200 from my kernel. The system was
slower. Things run pretty smooth now (duron-800/512Mb) with the default
HZ=100, /but/ :

Now vmware3 is complaining about the rtc : timing error, please
increase...
The virtual machine itself runs just fine. If it does no harm I want to
stick to the HZ=100. What does this rtc message mean and what are the
consequenses? An unstable system?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hi please help

2005-04-07 Thread Joel
On Thu, 07 Apr 2005 05:30:07 -0400
(B"samuel kirk" <[EMAIL PROTECTED]> wrote
(B
(B> Hi dear jerry
(B> one question is what do u mean intel clone and second  mine is a sempron 
(B> 2200 on a msi board i just would liek if u can tell me if it is supported 
(B> sinc eimn having trouble finding it and third i was wondering if u can tell 
(B> me and i dont knwo much about the i386 stuff going on but i think im sure ad 
(B> sempron 2200 will be using i386 please reply soon thank-you
(B
(BTry searching:
(B
(Bhttp://www.google.co.jp/search?q=msi+sempron+freebsd
(B
(BFor example,
(B
(Bhttp://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2005-03/0003.html
(B
(Bbut MSI which?
(B
(BMy sempron 2200 runs fine.
(B
(B--
(BJoel Rees   <[EMAIL PROTECTED]>
(Bdigitcom, inc.   $B3t<02qhttp://www.ddcom.co.jp> **
(B
(B___
(Bfreebsd-questions@freebsd.org mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

  1   2   >