Re: Failure to compile

2006-12-15 Thread Boris Samorodov
[CC to freebsd-questions@ restored]

Hello Brian!

Please, try to not top-post. It's hard to track the thread. Thanks.


On Wed, 13 Dec 2006 14:31:04 - Brian Levie wrote:

 Thanks for your reply,

Sorry for the delay (I've been a little bit busy). BTW if you cc'ed to
freebsd-questions@ you may be able to get an answer from somebody else
much faster. ;-)

 FreeBSD is installed in a 1.5Gb partition the rest is windows XP, downloaded
 an iso file from the web.

OK. Then you should got a system compiler which was overwritten by
Xenix one.

 By Unix files I mean data files which I wrote firstly on a machine running
 Xenix then this was updated to a server running Unix.  These files were used
 to compile many programs that I wrote in those days.  Xenix installation
 disks are now unobtainable, so I thought I would try FreeBSD

I think that you may try to compile your programms by the system
compiler (or one from the ports system) and adopt the sources when
needed.

 Uname -a:  FreeBSD 6.1-Release 6.1 Release #0: Sun May 7 04:32:13 UTC
 [EMAIL PROTECTED] cse  buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

 File:  /usr/bin/cc  Microsoft a.outseperate pin semented word swapped not
 stripped V2.3 V3.0 386 small model executable not stripped

Yep, that's why you got Exec format error. FreeBSD is capable of
running binaries from some other OSes but Xenix is not among them.

 Ls -l: -rwx--x--x 1 root wheel 37376 Nov 3 1993 /usr/bin/cc

...which then you overwrote by another one.

 I hope this is of some help.

Well, to receive a working OS you may either reinstall it or do a
binary update (imho rebuilding is not an option since you overwrote
some system binaries).


 -Original Message-
 From: Boris Samorodov [mailto:[EMAIL PROTECTED] 
 Sent: 12 December 2006 22:27
 To: Brian Levie
 Cc: [EMAIL PROTECTED]
 Subject: Re: Failure to compile

 Hello Brian and welcome!


 On Tue, 12 Dec 2006 21:38:19 - Brian Levie wrote:

  I recently installed FreeBSD  6.1,

 How did you do it?

  and copied many Unix files with no

 What do you call Unix files and where did you get them?

  problems at all.  However when I try to run the C compiler which worked
 fine
  with Unix, I get the error message '/usr/bin/cc Exec format error  Binary
  file not executable'. I tried changing permissions and owner with no
 change.

 Please, show us the output of commands uname -a, file /usr/bin/cc
 and ls -l /usr/bin/cc.

  Any suggestions or won't the unix C compiler not work with FreeBSD?

 Well, FreeBSD is used to be compiled by this compiler. Those troubles
 of yours shouldn't happen. ;-)


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-15 Thread dick hoogendijk
On 14 Dec Bastiaan Welmers wrote:

 One nasty thing is that when afterwards installing a package requiring
 gamin, it will fail with errors. To prevent this you could just fake
 the pkg db that gamin is installed however actually fam libraries are
 installed.

And how exactly is this faking done? I'm no fan of gamin too and if
possible I compiled my programs for fam. But this sounds nice ;-)

-- 
http://nagual.nl/ --- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ Solaris 10 11/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: system bootup console setup

2006-12-15 Thread J. W. Ballantine

Pieter,

Thanks for the response, but I may have asked the wrong question.

I have two systems running 6-STABLE, one on a desktop pc and one
on a laptop.  Both have saver=logo in rc.conf, but the laptop
fails to load it:
 logo_saver: the console does not support M_VGA_CG320
 Module_register_init: MOD_LOAD (logo_saver, 0xc266aac8, 0) error 19

I thought the problem was that the laptop console was not correctly
set-up, is should support the logo, but /etc/rc.conf, /etc/defaults/rc.conf
(System Consoles), and /etc/ttys (ttyv*) are all identical.

So was I wrong with my thought, or is there somewhere else I should be looking?

Jim




--  In Response to your message -

  Date:  Wed, 6 Dec 2006 20:53:41 +0100
  To:  freebsd-questions@freebsd.org
  From:  Pieter de Goeje [EMAIL PROTECTED]
  Subject:  Re: system bootup console setup

  On Wednesday 06 December 2006 20:00, J. W. Ballantine wrote:
   Ok,  I should be able to find this somewhere
   in the documentation, but I can't (must be looking
   for the wrong key words).
  
   When the system boots, the consoles need to be initialized
   and defined somewhere.  I want to change the definition, but
   I can't find the startup script that init's them.  Which one
   is it?
  /etc/ttys
  and
  allscreens_* in rc.conf
  
  Cheers,
  Pieter de Goeje
  


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


Re: Local DNS Caching not caching on external interface

2006-12-15 Thread Chad Gross

On 12/15/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 14 Dec 2006 08:34:11 -0500
Chad Gross [EMAIL PROTECTED] wrote:

 On 12/14/06, Tek Bahadur Limbu [EMAIL PROTECTED] wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Thu, 14 Dec 2006 01:08:11 -0800
  Christopher Cowart [EMAIL PROTECTED] wrote:
 
   On 14:57 Thu 14 Dec , Tek Bahadur Limbu wrote:
Dear All,
   
I am very new to Bind and FreeBSD.
   
I have just configured a Local DNS server using the built-in
Bind 9.3.1 on a FreeBSD 5.4 machine.
   
My problem is that the machine can cache queries on the
localhost and loop back (127.0.0.1) interface only.
   
I have a public static IP on this machine too and I can't seem
to query the caching name server from my local network.
   
In Linux, this is no problem. I just can't seem to get Bind to
work as in my local network. It works only on the loopback
interface.
  
   The default /etc/namedb/named.conf configuration file for BIND
   says:
  
   | // If named is being used only as a local resolver, this is a
   | safe default. // For named to be accessible to the network,
   | comment this option, specify // the proper IP address, or
   | delete this option. listen-on   { 127.0.0.1; };
  
   It looks like if you comment out that option, it will listen on *
   by default. You could also add the other IP address on which you
   want named to listen.
  
   --
   Chris Cowart
   Network and Infrastructure Systems Administrator
   RSSP-IT, UC Berkeley
   May all your pushes be popped
  
 
  Dear Chris,
 
  Thank you for your help. I did comment and added my public static IP
  like the following:
 
 
  listen-on   { 202.x.x.x; }; # My Static IP
 
  Now when I do from my local PC:
 
  dig yahoo.com @202.x.x.x , I can do DNS lookups.
 
  But when I try doing that from another computer on my network, I
  can't do any DNS lookups.
 
 
  Is that anything that I miss?
 
 
  - --
 
 
  With best regards and good wishes,
 
  Yours sincerely,
 
  Tek Bahadur Limbu
 
  (TAG/TDG Group)
  Jwl Systems Department
 
  Worldlink Communications Pvt. Ltd.
 
  Jawalakhel, Nepal
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.2.2 (FreeBSD)
 
  iD8DBQFFgT8ZVrOl+eVhOvYRAn8OAJwOOC6+C8mnY+YBP+1GxG2uDTfWpgCfTFr1
  168ArGMkI0+9Qj/MpzFbmUo=
  =p9RV
  -END PGP SIGNATURE-
  ___



 You have to tell the other machines on your network to use the IP of
 the local DNS server for domain name resolution. If you are using
 DHCP you can configure your DHCP server to give this information with
 the IP. Otherwise you must manually do it, which will be different
 between operating systems.

 HINT: In FreeBSD add the IP of the DNS server to /etc/resolve.conf

 Chad



Dear Chad,

I just get the following logs while troubleshooting with tcpdump.

local nameserver IP: 202.102.5.100
network PC IP: 202.102.5.50

When I do a nslookup of yahoo and google from network PC using the
local caching nameserver, I only get this on the caching nameserver.

13:23:58.707604 IP 202.102.5.50.44778  202.102.5.100.53:  56955+ A?
google.com. (28)
13:23:32.899379 IP 202.102.5.50.40229  202.102.5.100.53:  47636+ A?
yahoo.com. (27)


Note: Please note that the above Static IPs are just arbitrary values.

Can you please shed some light on this issue?

- --


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFFglUsVrOl+eVhOvYRAsmMAJ9sb0fGdKiPp89CszMg5dXkvteojQCfdk0e
fW0ofW8HJYq4RZXuROX7zPw=
=5Ieg
-END PGP SIGNATURE-



Tek,

Can you please post your Bind configuration files?

Have you done a tcpdump or wireshark capture on both machines while issuing
the resolution request? Could you please do that as well and post the
results?

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


MPPC compression implementations legal status?

2006-12-15 Thread Alexander Motin

Hi.

Can anybody explain me for sure current license status of Microsoft
Point-to-Point Compression (MPPC) Protocol? It is not implemented in
FreeBSD for years and I think it would be good to change this.

In RFC 2118 told that Source and object licenses are available on a
non-discriminatory basis from Stac Electronics. Does it means
requirement to get license to use HIFN implementation of this protocol
or also denies any other free implementation?

How does it coexist with Microsoft's ROYALTY FREE PROTOCOL LICENSE
AGREEMENT, http://msdn2.microsoft.com/en-us/library/ms818807.aspx.
Doesn't this agreement allows free implementation of server side
protocols for cooperation with Windows client systems?

--
Alexander Motin

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


Hi

2006-12-15 Thread prashant chavan

Hi

I wanna know how to add system module to FreeBSD.
If any clarification reqd plz let me know.

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


Need to simplify a script that makes cool trees

2006-12-15 Thread Vivek Srivastav
I may be responding a little late but just saw your post and no answers
posted. Maybe you have already sorted out your problem:

Here is a simple modification of your script. Put this function in
your .bashrc and use the tree command.

tree () 
{ 
dirs=${@:-.};
echo Listing $dirs;
for i in $dirs;
do
find $i -name \* | sed -e 's,^.$,,' \
-e '/^$/d' \
-e 's,[^/]*/\([^/]*\)$,+-\1,' \
-e 's,[^/]*/,| ,g';
done
}


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


Best supported mini-PCI wifi

2006-12-15 Thread Nathan Vidican
My laptop has the wonderfully under-supported Broadcom wifi card in it. 
While it does work now with ndiswrapper and a few needed patches; it 
still doesn't work very well, to say nothing of natively.


So, what does work? I've checked out the hardware notes for 6.1-R, but 
to no avail really... I'm looking at an Intel 2915 wireless a/b/g 
mini-PCI card, as Intel has always been great with supporting FreeBSD 
and therefore I'd much rather send my business to them... but I know 
very little about this card and don't know which (if any) driver 
supports it? Does anyone out there have this card, or another mini-PCI, 
(preferably not based on a broadcom chip ), that they could recommend?


If driver's are in the making for the Intel mini-PCI card, I'd be happy 
to help test as well. Currently running 6.2-RC1/amd64 with some 
patchwork done to the ndiswrapper kernel module to make it work with 
newer Broadcom windows drivers.


--
Nathan Vidican
[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: mpd 4.0b5 does not want to work

2006-12-15 Thread Alexander Motin

Hi.

[EMAIL PROTECTED] wrote:

I have compiled and installed mpd 4.0b5
on my PC with FreeBSD 6.1-RELEASE.

Then I created the next files:

# mpd.conf
open iface


Due to b5 internal rework, syntax open iface is now deprecated in it's 
original meaning. Now it can be used only for Dial-On-Demand implemantation.


You should use open lcp or better just open command.

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


Re: How safe is encrypted disks? (data integrity)

2006-12-15 Thread Fabian Keil
Chad Gross [EMAIL PROTECTED] wrote:

 On 12/14/06, Fabian Keil [EMAIL PROTECTED] wrote:
 
  Erik Norgaard [EMAIL PROTECTED] wrote:
 
   I have been thinking to make /home on my laptop encrypted - seems like a
   good idea if it gets stolen. Now, how safe is this? Not in terms of the
   strength of the encryption algorithm, but in terms of integrity.

   What happens in case of power failure, the battery runs out or system
   crashes for whatever reason?
 
  I have my home slice encrypted with GELI for several month now
  and so far I didn't notice any effects on the data integrity.
 
  I experienced several system crashes and one or two power failures
  do to empty battery but I didn't lose any data already saved
  on the disk (that I know of).
 
  The only inconvenience is that the system boots to single-user
  mode if the home slice isn't clean and I then have to fsck it
  manually.
 
  At that point the password for the key is already entered,
  so I'm not sure why the slice can't be fscked automatically.
  It could be the .eli extension, but I didn't investigate this
  any further.

 Yes the manual fsck is a pain. I am not sure why it has to be done manually
 either, but I don't think it is just the .eli extension.  Did you notice you
 have to specify that it is UFS as well?

Yes, I forgot to mention it because I now always call fsck_ffs directly.
I guess this could also explain why it has to be done manually.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


How to add session extension to phpApache

2006-12-15 Thread prashant chavan

Hi

I have installed phpApache but have not included *session extension*.
Now i want to include session extension.But dont know how to add it.
Please let me know if any more clarification required.

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


if_nfe on nVidia chipset

2006-12-15 Thread Palle Girgensohn
Hi! Sorry for the cross post, I'd love to know if I can get this working or 
not.


Regards,
Palle

-- Forwarded Message --
Date: tisdag, december 12, 2006 18.52.35 +0100
From: Palle Girgensohn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: if_nfe on Asus M2N-SLI deluxe?

Hi!

Does anybody know if if_nfe should work on the above motherboard? I snached
the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255
   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64
scopeid 0x5inet 127.0.0.1 netmask 0xff00
The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed?

/Palle



-- End Forwarded Message --



---BeginMessage---

Hi!

Does anybody know if if_nfe should work on the above motherboard? I snached
the patch for FreeBSD-6.2 from
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and
tried it. The kernel and ifconfig seems happy, but it does not work;
ifconfig reports active but ifconfig reports:

nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   ether 00:17:31:86:aa:31
   media: Ethernet autoselect (none)
   status: no carrier
nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
   inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4 
   inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255

   ether 00:17:31:86:b4:c6
   media: Ethernet autoselect (none)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 ::1 prefixlen 128 
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
   inet 127.0.0.1 netmask 0xff00 


The media part of nfe1 looks bad, eh?

Is it supposed to work? How can I help to get it working?

FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed?

/Palle


Copyright (c) 1992-2006 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
[EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTATION
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x40ff2  Stepping = 2
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow
  AMD Features2=0x1dLAHF,b2,b3,CR8
real memory  = 2146369536 (2046 MB)
avail memory = 2091245568 (1994 MB)
ACPI APIC Table: Nvidia AWRDACPI
ioapic0 Version 1.1 irqs 0-23 on motherboard
acpi0: Nvidia AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory, RAM at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
pci0: memory, RAM at device 1.2 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfe02f000-0xfe02 irq 21 at 
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xfe02e000-0xfe02e0ff irq 22 at 
device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 

Re: Hi

2006-12-15 Thread Andrew Pantyukhin

On 12/15/06, prashant chavan [EMAIL PROTECTED] wrote:

Hi

I wanna know how to add system module to FreeBSD.
If any clarification reqd plz let me know.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/index.html
http://www.amazon.com/dp/0201702452/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hi

2006-12-15 Thread Bob M.
On Fri, 2006-12-15 at 19:14 +0530, prashant chavan wrote:
 Hi
 
 I wanna know how to add system module to FreeBSD.
 If any clarification reqd plz let me know.
 
 Thanks in advance!
 pcpat

You want to load a kernel module, a .ko file?

man kldload and man loader.conf 

It's pretty straightforward.

Bob

___
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 add session extension to phpApache

2006-12-15 Thread Eric

prashant chavan wrote:

Hi

I have installed phpApache but have not included *session extension*.
Now i want to include session extension.But dont know how to add it.
Please let me know if any more clarification required.


assuming its installed, just add it to your extensions.ini file, which 
is at /usr/local/etc/php/extensions.ini


if you need to install it, look for the php4-extensions or 
php5-extensions port which will let you install 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 to add session extension to phpApache

2006-12-15 Thread Beech Rintoul
On Friday 15 December 2006 05:48, prashant chavan wrote:
 Hi

 I have installed phpApache but have not included *session extension*.
 Now i want to include session extension.But dont know how to add it.
 Please let me know if any more clarification required.

cd /usr/ports/www/php5-session
make install clean

Cheers,

Beech

-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpyq8GLeWvCa.pgp
Description: PGP signature


Re: Palm Tx + jpilot

2006-12-15 Thread Lowell Gilbert
Armin Arh [EMAIL PROTECTED] writes:

 On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote:
  In /etc/devfs.conf:
  perm   cuaU0  0666
 
  but then:
  ## l /dev/cuaU0
  crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0
 
  The /dev/devfs.conf permissions only apply when i run
  /etc/rc.d/devfs restart This is a nogo because i have only 1
  second between pressing sync on the Handheld and clicking sync on
  jpilot.
 man devfs.rules

 Thx.
 Now devfs.rules(5) redirects me to devfs.conf(5)
 which clearly states i should set

 perm   cuaU0  0666

 and i did so as described in my initial post.
 Nevertheless the permissions became wrong.
 Maybe it works after the next reboot, which is hard to
 believe... we'll see.

You need devfs.rules, *not* devfs.conf.
Try the manual page for the former again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Legato Client for freeBSD.

2006-12-15 Thread David Robillard

I am running Legato on a sun server.

I have a server running freeBSD that needs the legato backup client installed.

Is there a working legato client for freeBSD  ??


Have you tried this?

ftp://ftp.legato.com/pub/Unsupported/FreeBSD_Client

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to tell `portmanager' to use the option -j max_jobs to `make'

2006-12-15 Thread Zhongtao Zhu
Hello all,

I hope to update the intalled ports, by portmanager, in my laptop with
support of other more powerful machines. The `distcc' and `ccache' on
the machines have been all coordinated.

Thanks,
-- 
Zhongtao ZhuTel: 86 10 62796829
Department of Computer Science, Tsinghua University, Beijing, China
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dell 2950 1950

2006-12-15 Thread Josh Paetzel
On Thursday 14 December 2006 08:38, Peter Grigor wrote:
 I've just gotten some quotes on a few dell machines and I was
 wondering now if freebsd 6.x is able to run on them properly.
 Perc/5i cards and 64-bit Intel chips are my worries :)

 Anyone have any experiences they'd like to share? Anyone
 successfully running mysql on an IA64 architecture with Freebsd?

 Thanks for any feedback,

 Peter
 ^_^

I've been using a 1950 with FBSD 6.1-R AMD64 for some time now.  If 
you have the broadcom NICs you'll have to grab the drivers 
from -STABLE or 6.2-RC1 and recompile the kernel.  I haven't had the 
shutdown issues that other people have mentioned, but you can get 
them with IPMI and reboot from there if it's an issue.

Lack of in OS tools for the RAID controller is an issue, but it's my 
understanding that that's being worked on.

mysql seems to run just fine, but this is primarily a fall-over box 
for me and hasn't really seen 'real' loads yet.

-- 
Thanks,

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


Re: mpd 4.0b5 does not want to work

2006-12-15 Thread a
On Fri, Dec 15, 2006 at 03:51:07PM +0200, Alexander Motin wrote:
 Hi.
 
 [EMAIL PROTECTED] wrote:
 I have compiled and installed mpd 4.0b5
 on my PC with FreeBSD 6.1-RELEASE.
 Then I created the next files:
 # mpd.conf
  open iface
 
 Due to b5 internal rework, syntax open iface is now deprecated in it's 
 original meaning. Now it can be used only for Dial-On-Demand implemantation.
 
 You should use open lcp or better just open command.
 
 -- 
 Alexander Motin
 

Thank you very much. I can connect to an ISP with mpd4 now.

But MPD does not respond any command except ^C as before
(all keys are echoed on the console). So I cannot control the process.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failure to compile

2006-12-15 Thread [EMAIL PROTECTED]


Original Message:
-
From: Boris Samorodov [EMAIL PROTECTED]
Date: Fri, 15 Dec 2006 11:50:37 +0300
To: [EMAIL PROTECTED], freebsd-questions@FreeBSD.org
Subject: Re: Failure to compile


[CC to freebsd-questions@ restored]

Hello Brian!

Please, try to not top-post. It's hard to track the thread. Thanks.


On Wed, 13 Dec 2006 14:31:04 - Brian Levie wrote:

 Thanks for your reply,

Sorry for the delay (I've been a little bit busy). BTW if you cc'ed to
freebsd-questions@ you may be able to get an answer from somebody else
much faster. ;-)

 FreeBSD is installed in a 1.5Gb partition the rest is windows XP,
downloaded
 an iso file from the web.

OK. Then you should got a system compiler which was overwritten by
Xenix one.

 By Unix files I mean data files which I wrote firstly on a machine running
 Xenix then this was updated to a server running Unix.  These files were
used
 to compile many programs that I wrote in those days.  Xenix installation
 disks are now unobtainable, so I thought I would try FreeBSD

I think that you may try to compile your programms by the system
compiler (or one from the ports system) and adopt the sources when
needed.

 Uname -a:  FreeBSD 6.1-Release 6.1 Release #0: Sun May 7 04:32:13 UTC
 [EMAIL PROTECTED] cse  buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

 File:  /usr/bin/cc  Microsoft a.outseperate pin semented word swapped not
 stripped V2.3 V3.0 386 small model executable not stripped

Yep, that's why you got Exec format error. FreeBSD is capable of
running binaries from some other OSes but Xenix is not among them.

 Ls -l: -rwx--x--x 1 root wheel 37376 Nov 3 1993 /usr/bin/cc

...which then you overwrote by another one.

 I hope this is of some help.

Well, to receive a working OS you may either reinstall it or do a
binary update (imho rebuilding is not an option since you overwrote
some system binaries).


 -Original Message-
 From: Boris Samorodov [mailto:[EMAIL PROTECTED] 
 Sent: 12 December 2006 22:27
 To: Brian Levie
 Cc: [EMAIL PROTECTED]
 Subject: Re: Failure to compile

 Hello Brian and welcome!


 On Tue, 12 Dec 2006 21:38:19 - Brian Levie wrote:

  I recently installed FreeBSD  6.1,

 How did you do it?

  and copied many Unix files with no

 What do you call Unix files and where did you get them?

  problems at all.  However when I try to run the C compiler which worked
 fine
  with Unix, I get the error message '/usr/bin/cc Exec format error 
Binary
  file not executable'. I tried changing permissions and owner with no
 change.

 Please, show us the output of commands uname -a, file /usr/bin/cc
 and ls -l /usr/bin/cc.

  Any suggestions or won't the unix C compiler not work with FreeBSD?

 Well, FreeBSD is used to be compiled by this compiler. Those troubles
 of yours shouldn't happen. ;-)


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve

I did not realise FreeBSD had a C compiler, I decided to reformat the
partition and reinstall FreeBSD.  It appeared to go well but after exiting
the install I cannot boot it, I get the error message ' Unable to load a
Kernel', what has happened?

Brian


mail2web - Check your email from the web at
http://mail2web.com/ .


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


Re: Best supported mini-PCI wifi

2006-12-15 Thread Eric Schuele

On 12/15/2006 07:49, Nathan Vidican wrote:
My laptop has the wonderfully under-supported Broadcom wifi card in it. 
While it does work now with ndiswrapper and a few needed patches; it 
still doesn't work very well, to say nothing of natively.


So, what does work? I've checked out the hardware notes for 6.1-R, but 
to no avail really... 


I don't know if its the best supported or not.  But I'm using an 
atheros based card.  And it works quite well.


I'm looking at an Intel 2915 wireless a/b/g 
mini-PCI card, as Intel has always been great with supporting FreeBSD 
and therefore I'd much rather send my business to them... but I know 
very little about this card and don't know which (if any) driver 
supports it? Does anyone out there have this card, or another mini-PCI, 
(preferably not based on a broadcom chip ), that they could recommend?


If driver's are in the making for the Intel mini-PCI card, I'd be happy 
to help test as well. Currently running 6.2-RC1/amd64 with some 
patchwork done to the ndiswrapper kernel module to make it work with 
newer Broadcom windows drivers.


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





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


How to get best results from FreeBSD-questions

2006-12-15 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-12-15 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: Legato Client for freeBSD

2006-12-15 Thread n j

6.0.2 Legato client that used(?) to be in the ports works fine for me
on a 6.1 box, while 5.5.2 works fine on my 4.9 box. I'm quite certain
we are using current 7.x Legato server. As far as security is
concerned, local users are not a problem, while firewall takes care of
remote problems. Of course, rsyncing to a Linux box is also a good
solution.

Or simply get rid of crappy software manufacturer which is not
supporting FreeBSD.

--
Nino


On 12/15/06, D G Teed [EMAIL PROTECTED] wrote:

The legato client in ports has been dropped for lack of
maintenance and security issue of the default config.
You can get a 6.0 compatible client by back dating ports.
Current 7.x versions of the legato server will not work with this
old FreeBSD client version, so it may be a dead end.

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


Re: Best supported mini-PCI wifi

2006-12-15 Thread Beech Rintoul
On Friday 15 December 2006 07:35, Eric Schuele wrote:
 On 12/15/2006 07:49, Nathan Vidican wrote:
  My laptop has the wonderfully under-supported Broadcom wifi card in it.
  While it does work now with ndiswrapper and a few needed patches; it
  still doesn't work very well, to say nothing of natively.
 
  So, what does work? I've checked out the hardware notes for 6.1-R, but
  to no avail really...

 I don't know if its the best supported or not.  But I'm using an
 atheros based card.  And it works quite well.


I'll second that, I'm also using an Atheros based card that has native support 
with the ath driver (which was just updated BTW).

Beech
-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgp4Fud7mgU49.pgp
Description: PGP signature


Re: Failure to compile

2006-12-15 Thread Boris Samorodov
Hello, Brian!


On Fri, 15 Dec 2006 11:34:05 -0500 [EMAIL PROTECTED] wrote:

 I did not realise FreeBSD had a C compiler, I decided to reformat the
 partition and reinstall FreeBSD.  It appeared to go well but after exiting
 the install I cannot boot it, I get the error message ' Unable to load a
 Kernel', what has happened?

You did something wrong. ;-)

To avoid spending much time I usually install FreeBSD with minimal
configuration. It takes some 5-10 minutes only. That I reboot the
system. If it boots I use sysinstall to add other needed stuff (ports,
docs, sources, some initial packages etc.)

If the system doesn't boot, well, I spend an other couple of 5-10
minutes to reinstall the OS.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I see security logs without turning on sendmail?

2006-12-15 Thread Tuareg

On 12/13/06, Armin Arh [EMAIL PROTECTED] wrote:


clearly sendmail is running, but not as a daemon.
It gets called for every single mail by some other process running as
root.
You suspect squid to do so? (unlikely, why should a webcache send
emails...)
Well, then run squid as another user and watch the logs, should
be from=squiduser then...



Hi Armin!

At this moment, I can't change the user for squid, but I'll keep this in
mind to make some tests in the future.

Thank you for your help.

The problem with too much root- processes is, you can't tell which one is

going mad.

enjoy,
Armin
--
PUBBOX Postmaster + spam-killer. Free email addresses at
http://pubbox.net/

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


Re: how do I see security logs without turning on sendmail?

2006-12-15 Thread Tuareg

On 12/13/06, Gerard Seibert [EMAIL PROTECTED] wrote:



You need to check out this URL:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html


Also, Sendmail is invoked from the /etc/defaults/rc.conf file. You over

ride it in the /etc/rc.conf file. In FreeBSD 5.0,

SENDMAIL_ENABLE=NONE

is not the proper way to disable Sendmail. Check out the above URL for
further information.

--
Gerard



Hello Gerard, We've read this link and we have this line in /etc/rc.conf

sendmail_enable=NONE

In /etc/defaults/rc.conf these are the lines wich contain sendmail:

mta_start_script=/etc/rc.sendmail

# Settings for /etc/rc.sendmail:
sendmail_enable=YES   # Run the sendmail inbound daemon (YES/NO/NONE).
   # If NONE, don't start any sendmail processes.
sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
sendmail_submit_enable=YES# Start a localhost-only MTA for mail
submission
sendmail_submit_flags=-L sm-mta -bd -q30m
-ODaemonPortOptions=Addr=localhost
sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound
only)
sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
   # Flags for sendmail_msp_queue daemon.

/etc/rc.sendmail doesn't exists.

And /etc/rc.conf:

### Network daemon (miscellaneous)  NFS options: ###
sendmail_enable=NONE  # Run the sendmail daemon (or NO).
cron_enable=YES   # Run the periodic job daemon.
portmap_enable=NO # Run the portmapper service (or NO).
usbd_enable=NO
sshd_enable=YES
tcp_drop_synfin=YES
tcp_restrict_rst=YES
syslogd_enable=YES# Run syslog daemon (or NO).
syslogd_flags=-s -s   # Flags to syslogd (if enabled).

This is for FreeBSD 4.6-RELEASE


And at this point, I just get a little more confused with this settings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


buildkernel error

2006-12-15 Thread Z. Wade Hampton
Hello to all,
I have MY_KERNEL in the following location...

/usr/src/sys/i386/conf/MY_KERNEL

When I run...

make buildkernel KERNCONF=MY_KERNEL

I get


ERROR:  Missing kernel configuration file(s) (MY_KERNEL).
*** Error code 1

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

Stop in /usr/src.
#


I'm running 6.1, fresh cvsup to 6.1-RELEASE-p11.


Why won't buildkernel find MY_KERNEL?


THanks in advance for any help.

Z. Wade Hampton
Twin Bridges, MT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I see security logs without turning on sendmail?

2006-12-15 Thread Tuareg

On 12/13/06, Lane [EMAIL PROTECTED] wrote:


Tuareg,

I can't find the name of the quy who straightened me out on the fuction of
squid, but kudo's to him.

Clearly squid is not the culprit.

But I've done some eyeballing on /usr/sbin/periodic, and I think maybe it
is
the culprit.

First lets have a look at your /etc/crontab file.  Specifically we are
interested in the lines which contain the term periodic



cat /etc/crontab | grep periodic
#1  3   *   *   *   rootperiodic daily
#15 4   *   *   6   rootperiodic weekly
#30 5   1   *   *   rootperiodic monthly

All the lines are commented.

If these lines include parameters, which are passed to /usr/sbin/periodic,

then they may be the reason for your periodic emails being sent WITHOUT
sendmail being enabled by the normal boot process.

Take a look at /usr/sbin/periodic.  Note that it uses values
in /etc/defaults/periodic.conf as well as any override variables
in /etc/rc.conf.  It could also be overridden in other ways such as by
defining the value source_periodic_confs_defined and
periodic_conf_files
but this should have already showed up in /etc/rc.conf.

While you are examining /usr/sbin/periodic, look for the term output


In my copy of that script there is a comment that looks like:


#Where's our output going?

Then there is a case block:

case $output in
/*) pipe=cat $output;;
) pipe=cat;;
*)  pipe=mail -s '$host ${arg##*/} run output' $output;;
esac

If your predecessor had modified this script or, perhaps overridden it
using /etc/defaults/periodic.conf, then he may have either changed the *)
default case, or supplied parameters from /etc/crontab
(or /etc/defaults/periodic.conf) which could invoke sendmail directly.  If
he
used override variables, then he would probably also have added a case for
)
pipe=sendmail -arg1 arg2 argn

This would account for sendmail being completely disabled in /etc/rc.conf
AND
for the messages being sent out via sendmail.  However, as I read it, the
behaviour you have reported would only occur if /usr/sbin/periodic was
actually modified, as the use of the $output variables does NOT seem to
allow for invocation of sendmail directly.  And I don't believe that
mail
can force invocation of sendmail (although I may be wrong, as the man page
does imply that mail will use any means available to get the message out).

If this is the case (i.e. if mail is invoking sendmail directly) you
could
check it by trying to send mail from the command line on one of the
servers
that actually does what you want it to do.  If it works, and if there are
NO
modifications to /usr/sbin/periodic or override defaults
in /etc/defaults/periodic.conf, then it will be safe to assume that
this feature has been properly quashed in 6.x.  You would then need to
follow the procedures for setting up sendmail for outgoing-only, as many
have
already recommended.



Well this is the output of:

cat /usr/sbin/periodic | grep output
tmp_output=`mktemp ${TMPDIR:-/tmp}/periodic.XX`
   # Where's our output going ?
   eval output=\$${arg##*/}_output
   case $output in
   /*) pipe=cat $output;;
   *)  pipe=mail -s '$host ${arg##*/} run output' $output;;
   output=TRUE
   $file /dev/null $tmp_output 21
   if [ -s $tmp_output ]
 0)  [ $success = NO ]  output=FALSE;;
 1)  [ $info = NO ]  output=FALSE;;
 2)  [ $badconfig = NO ]  output=FALSE;;
 [ $output = TRUE ]  { cat $tmp_output; empty=FALSE;
}
   cp /dev/null $tmp_output
 echo No output from the $processed file$plural processed
 echo -- End of $arg output --
rm -f $tmp_output

But, /etc/defaults/periodic.conf don't appear to be modified, but can't be
sure 100% because we don't have other server with a fresh install of FreeBSD
4.6-RELEASE to compare.

Yes, we are able to send mails from the command line, so.. it could be that
this feature was disable for 6.x

In any case, the behaviour you desire would only work properly by making the

appropriate changes to /etc/mail/hostname|freebsd.mc, (i.e. SMART_HOST
and/or HUB settings), and then running make install in /etc/mail. (And
this
is always going to be the case where sendmail is concerned)

I hope this information leads you to a resolution, as it has been a great
learning experience for me ... but my brain hurts :)

lane



We wanted to ask and check with others before trying with modifications in
the files, so I guess that we'll finish
doing what the documentation recomends.

Thank you for your help, we learned a lot too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I see security logs without turning on sendmail?

2006-12-15 Thread Tuareg

On 12/14/06, Lane [EMAIL PROTECTED] wrote:



 This is quite the WAG here, but can sendmail be started on-demand
 from inetd.conf?
It may be a WAG, but it may explain all of what is going on.  mail would
attempt to create a connection to localhost, inetd would start sendmail to
accept the connection, sendmail would route the message and then die.

Tuareg, check out /etc/inetd.conf for an entry containing the word
sendmail



Nothing, inetd.conf doesn't have any lines with the word sendmail :(

And let us know what you find.


lane


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


Re: system bootup console setup

2006-12-15 Thread Pieter de Goeje
On Friday 15 December 2006 13:56, J. W. Ballantine wrote:
 Pieter,

 Thanks for the response, but I may have asked the wrong question.
You're welcome :)

 I have two systems running 6-STABLE, one on a desktop pc and one
 on a laptop.  Both have saver=logo in rc.conf, but the laptop
 fails to load it:
  logo_saver: the console does not support M_VGA_CG320
  Module_register_init: MOD_LOAD (logo_saver, 0xc266aac8, 0) error 19

You could try adding 'options VESA' to your kernel config. 
I think 'kldload vesa' will also work. logo_saver should then use mode 
M_VESA_CG800x600 instead of M_VGA_CG320.

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


stand/sysinstall

2006-12-15 Thread warren schreiner
have just installed 6.1 and need to setup the network connection i 
isually use /stand/sysinstall
but i get command not found.  So I down loaded the documentation and 
it says to use the sysinstall.  So,  sysinstall  has changed and if so 
why was it not changed in the doc files.


what files need to be changed in etc to get out to the real world 
through a firewalled gateway?


thanks

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


Re: how do I see security logs without turning on sendmail?

2006-12-15 Thread Tuareg

On 12/14/06, Jerry McAllister [EMAIL PROTECTED] wrote:



I haven't followed this whole thread so I may be jumping in to the
wrong place, but...
Somewhere it is documented - I have read it - that various utilities
such as mail invoke single instances of sendmail to transfer their
_outgoing only_ messages.   I think, in those cases, sendmail clears
the mail queue before going away.   They do not start sendmail as a
daemon or to receive email.

Probably some searching will find that documentation.

jerry



Hello Jerry, maybe you read about ssmtp?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/outgoing-only.html

But no, this tool it's not installed.

Thank you for your help anyway.  :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I see security logs without turning on sendmail?

2006-12-15 Thread Tuareg

On 12/14/06, Jerry McAllister [EMAIL PROTECTED] wrote:


On Thu, Dec 14, 2006 at 12:08:23AM -0800, James Long wrote:

  Date: Wed, 13 Dec 2006 17:33:32 -0600
  From: Lane [EMAIL PROTECTED]
  Subject: Re: how do I see security logs without turning on sendmail?
  To: freebsd-questions@freebsd.org
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain;  charset=iso-8859-1
 
  Tuareg,
 
  clearly sendmail is running.  That is indicated by sendmail[41626]
in
  your /var/log/sendmail log.
 
  The question, of course, is how does it get started.

 This is quite the WAG here, but can sendmail be started on-demand
 from inetd.conf?

It probably could, but I don't think that is the way it is done normally.
Take a look in /etc/defaults/rc.conf  at the stuff for sendmail
and then note what overrides you have put in /etc/rc.conf
Also, check out /etc/rc.sendmail

jerry



I sent this  before, but here we go again:

In /etc/defaults/rc.conf these are the lines wich contain sendmail:

mta_start_script=/etc/rc.sendmail

# Settings for /etc/rc.sendmail:
sendmail_enable=YES   # Run the sendmail inbound daemon (YES/NO/NONE).
   # If NONE, don't start any sendmail processes.
sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
sendmail_submit_enable=YES# Start a localhost-only MTA for mail
submission
sendmail_submit_flags=-L sm-mta -bd -q30m
-ODaemonPortOptions=Addr=localhost
sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound
only)
sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
   # Flags for sendmail_msp_queue daemon.

/etc/rc.sendmail doesn't exists.

And /etc/rc.conf:

### Network daemon (miscellaneous)  NFS options: ###
sendmail_enable=NONE  # Run the sendmail daemon (or NO).
cron_enable=YES   # Run the periodic job daemon.
portmap_enable=NO # Run the portmapper service (or NO).
usbd_enable=NO
sshd_enable=YES
tcp_drop_synfin=YES
tcp_restrict_rst=YES
syslogd_enable=YES# Run syslog daemon (or NO).
syslogd_flags=-s -s   # Flags to syslogd (if enabled).

This is for FreeBSD 4.6-RELEASE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


iconv.h not found

2006-12-15 Thread Beech Rintoul
I'm trying to upgrade a port that needs iconv.h but autoconf comes back with 
this:

checking iconv.h usability... no
checking iconv.h presence... no

iconv.h is in /usr/local/include/iconv.h

How do I go about fixing this?

Beech
-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpfyVLuCKkLd.pgp
Description: PGP signature


Re: [kde-freebsd] gamin/fam issues with KDE

2006-12-15 Thread Micah

dick hoogendijk wrote:

On 14 Dec Bastiaan Welmers wrote:


One nasty thing is that when afterwards installing a package requiring
gamin, it will fail with errors. To prevent this you could just fake
the pkg db that gamin is installed however actually fam libraries are
installed.


And how exactly is this faking done? I'm no fan of gamin too and if
possible I compiled my programs for fam. But this sounds nice ;-)



Not sure what the original poster was refering to, but I just put 
WITH_FAM_SYSTEM=fam in my /etc/make.conf back when they first started 
changing ports over to gamin, and have not had any problems since.


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


Re: stand/sysinstall

2006-12-15 Thread Chad Gross

On 12/15/06, warren schreiner [EMAIL PROTECTED] wrote:


have just installed 6.1 and need to setup the network connection i
isually use /stand/sysinstall
but i get command not found.  So I down loaded the documentation and
it says to use the sysinstall.  So,  sysinstall  has changed and if so
why was it not changed in the doc files.

what files need to be changed in etc to get out to the real world
through a firewalled gateway?

thanks

warren
___




man rc.conf

If you use DHCP it will be ifconfig_DRIVER=dhcp, otherwise you will have to
set the IP and Netmask manually along with the default gateway.

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


RE: *** SPAM *** Re: Failure to compile

2006-12-15 Thread [EMAIL PROTECTED]


Original Message:
-
From: Boris Samorodov [EMAIL PROTECTED]
Date: Fri, 15 Dec 2006 20:50:25 +0300
To: [EMAIL PROTECTED], freeBSD-questions@FreeBSD.org
Subject: *** SPAM *** Re: Failure to compile


Hello, Brian!


On Fri, 15 Dec 2006 11:34:05 -0500 [EMAIL PROTECTED] wrote:

 I did not realise FreeBSD had a C compiler, I decided to reformat the
 partition and reinstall FreeBSD.  It appeared to go well but after exiting
 the install I cannot boot it, I get the error message ' Unable to load a
 Kernel', what has happened?

You did something wrong. ;-)

To avoid spending much time I usually install FreeBSD with minimal
configuration. It takes some 5-10 minutes only. That I reboot the
system. If it boots I use sysinstall to add other needed stuff (ports,
docs, sources, some initial packages etc.)

If the system doesn't boot, well, I spend an other couple of 5-10
minutes to reinstall the OS.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve

Many thanks for your reply, I installed as you suggested and everything
works fine!  Cannot understand why. Even cc (not now the Xenix version !).

Brian



mail2web - Check your email from the web at
http://mail2web.com/ .


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


Re: stand/sysinstall

2006-12-15 Thread Jerry McAllister
On Fri, Dec 15, 2006 at 03:18:54PM -0500, Chad Gross wrote:

 On 12/15/06, warren schreiner [EMAIL PROTECTED] wrote:
 
 have just installed 6.1 and need to setup the network connection i
 isually use /stand/sysinstall
 but i get command not found.  So I down loaded the documentation and
 it says to use the sysinstall.  So,  sysinstall  has changed and if so
 why was it not changed in the doc files.

It has been moved to: /usr/sbin/sysinstall  

I believe I read it in documentation somewhere - probablyl version
notes, but maybe it did not make it do every place it is mentioned.

jerry

 
 thanks
 
 warren
 ___
 
 
 
 man rc.conf
 
 If you use DHCP it will be ifconfig_DRIVER=dhcp, otherwise you will have to
 set the IP and Netmask manually along with the default gateway.
 
 Chad
 ___
 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: stand/sysinstall

2006-12-15 Thread Jerry McAllister
On Fri, Dec 15, 2006 at 02:15:39PM -0500, warren schreiner wrote:

 have just installed 6.1 and need to setup the network connection i 
 isually use /stand/sysinstall
 but i get command not found.  So I down loaded the documentation and 
 it says to use the sysinstall.  So,  sysinstall  has changed and if so 
 why was it not changed in the doc files.

That has been moved to:/usr/sbin/sysinstall

I read about the move in documentation somewhere, probably release notes.

jerry


 
 what files need to be changed in etc to get out to the real world 
 through a firewalled gateway?
 
 thanks
 
 warren
 ___
 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]


Installing PHP5 alongside PHP4

2006-12-15 Thread Benjamin Kudria
Hi,

I admin a small web hosting server running 6.1-RELEASE-p10, and I have PHP4 
working as a module with Apache 2.0.59.  I have a PHP app that doesn't work 
with PHP4 and requires PHP5, along with the mysql and gd extensions.  Is 
there a way to get PHP5 to run alongside PHP4 short of installing another 
Apache in a jail?

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


compiling a port unstripped for debugging

2006-12-15 Thread Michael Grant

Can someone please tell me if there is an easy way to compile and
install a port without stripping it (i.e. compiling it with -g and not
running strip when it's installed)?

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


Route spagetti

2006-12-15 Thread Lane
Hello, I have a routing problem ... I think.

I have an established OpenVPN hosted on FreeBSD 6.1 using tun0 configured for 
10.11.13.x.  The OpenVPN configuration currently uses the client-to-client 
directive so that vpn Windows clients could access a separate central 
proprietary (Windows) database (also on the vpn).

Response time and security have prompted me to investigate the use of qemu, 
hosted on FreeBSD, to house the proprietary database.

I configured the qemu Windows image on my development machine and configured 
it to use tap0 10.11.12.150-10.11.12.151.  The Windows side of the interface 
is 10.11.12.151 and FreeBSD keeps 10.11.12.150.  I have used netmask 
255.255.255.0 and 255.255.255.252 with no discernible change in behaviour 
(which I'm getting to).

Everything worked correctly in development - I could establish a Terminal 
Services session with the Windows client and do whatever I needed to do, 
including access the internet from the qemu-hosted session.

However when I pushed the image out to the vpn server, I found something odd:  
When logged into the remote qemu-hosted Windows session via Terminal 
services, I can ping any interface on the vpn host (10.11.12.150, 10.11.13.1, 
and defaultrouter).  I can also ping any client connected to the vpn tun 
device (10.11.13.X).  However I cannot route from the Windows session to the 
public internet.

Typically there is a tight firewall in place on the vpn host, but I have 
disabled the firewall rules and stil been unable to access the public 
internet from within the qemu-hosted session, while I *am* able to access the 
internet from a shell on the vpn host.

Is this necessarily a job for natd?  Or is there some simpler way to get 
10.11.12.150 to forward 10.11.13.x packets to tun0 and all others to the 
defaultrouter on the host machine?  I'm looking at ipfw add forward ... but 
it does not look promising.

Thanks for your time.  I know I can be long-winded.

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


Re: compiling a port unstripped for debugging

2006-12-15 Thread Micah

Michael Grant wrote:

Can someone please tell me if there is an easy way to compile and
install a port without stripping it (i.e. compiling it with -g and not
running strip when it's installed)?

Michael Grant


I have the following conditionally defined in my /etc/make.conf

CFLAGS= -g -O -pipe
STRIP=

And that seems to work. Defining those on the command line would 
probably work as well.


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


Re: compiling a port unstripped for debugging

2006-12-15 Thread Gabor Kovesdan

Michael Grant schrieb:

Can someone please tell me if there is an easy way to compile and
install a port without stripping it (i.e. compiling it with -g and not
running strip when it's installed)?

Michael Grant

You can set STRIP and STRIP_CMD to empty for not stripping the binaries 
and add -g to CFLAGS.

E.g. make STRIP= STRIP_CMD= CFLAGS+=-g install
This should work for you. You can also place these to /etc/make.conf if 
you want to use this every time.


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


Re: iconv.h not found

2006-12-15 Thread Eric Schuele

On 12/15/2006 13:24, Beech Rintoul wrote:
I'm trying to upgrade a port that needs iconv.h but autoconf comes back with 
this:


checking iconv.h usability... no
checking iconv.h presence... no

iconv.h is in /usr/local/include/iconv.h



Recently I had a similar issue.  Looking in the working folder for the 
port at the contents of the config.log offered some insight.  You can 
see exactly what its looking for, where and how.  Might help.


HTH


How do I go about fixing this?

Beech



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


RE: cvsup and amd64

2006-12-15 Thread Schmehl, Paul L
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Z. Wade Hampton
Sent: Thursday, December 14, 2006 9:18 PM
To: freebsd-questions@freebsd.org
Subject: cvsup and amd64

Greetings to all,
I'm running a dell 1501 laptop with amd64x2 processor.
I got a disk from a guru specifically for this architecture, booted it, and
installed 6.1 via FTP.

Yesterday I ran cvsup successfully.
Today I did make buildworld successfully.

Now, I have a little paranoia about buildkernel.

Please tell me, did I need to specify anything specifically about the amd64
architecture when running cvsup?  Did I possibly get a GENERIC kernel file
through cvsup that is not compatible with amd?

**

Sorry for the horrible formatting, but for reasons beyond my control, I only
have access to Microsoft Outlook right now.  It appears no one has answered
you yet, so, to alleviate your fears, yes, unless you've changed the kernel
in any way (and it sounds like you haven't), a simple make buildkernel and
make installkernel should work just fine.  Reboot afterwards, and you should
be running the new kernel.  The only reason you would *need* to make a
change would be if you're running dual processors or you need to customize
the kernel for performance reasons.  Otherwise the GENERIC kernel will
suffice.

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
University of Texas at Dallas
http://www.utdallas.edu/ir/security/


smime.p7s
Description: S/MIME cryptographic signature


Re: Palm Tx + jpilot

2006-12-15 Thread Armin Arh
On Fri, Dec 15, 2006 at 10:19:49AM -0500, Lowell Gilbert wrote:
 Armin Arh [EMAIL PROTECTED] writes:
 
  On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote:
   In /etc/devfs.conf:
   perm   cuaU0  0666
  
   but then:
   ## l /dev/cuaU0
   crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0
  
   The /dev/devfs.conf permissions only apply when i run
   /etc/rc.d/devfs restart This is a nogo because i have only 1
   second between pressing sync on the Handheld and clicking sync on
   jpilot.
  man devfs.rules
 
  Thx.
  Now devfs.rules(5) redirects me to devfs.conf(5)
  which clearly states i should set
 
  perm   cuaU0  0666
 
  and i did so as described in my initial post.
  Nevertheless the permissions became wrong.
  Maybe it works after the next reboot, which is hard to
  believe... we'll see.
 
 You need devfs.rules, *not* devfs.conf.
 Try the manual page for the former again.

After some reading i decided to give this one a try:

# devfs rule add path cuaU0 mode 666
devfs rule: ioctl DEVFSIO_RADD: Input/output error

And then, i still do not understand why i need devfs.rules,
because i can set the file mode in devfs.conf.

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup and amd64

2006-12-15 Thread Old Ranger
On Friday 15 December 2006 18:04, Schmehl, Paul L wrote:

 Please tell me, did I need to specify anything specifically about the amd64
 architecture when running cvsup?  Did I possibly get a GENERIC kernel file
 through cvsup that is not compatible with amd?

 **

 Sorry for the horrible formatting, but for reasons beyond my control, I
 only have access to Microsoft Outlook right now.  It appears no one has
 answered you yet, so, to alleviate your fears, yes, unless you've changed
 the kernel in any way (and it sounds like you haven't), a simple make
 buildkernel and make installkernel should work just fine.  Reboot
 afterwards, and you should be running the new kernel.  The only reason you
 would *need* to make a change would be if you're running dual processors or
 you need to customize the kernel for performance reasons.  Otherwise the
 GENERIC kernel will suffice.

 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 University of Texas at Dallas
 http://www.utdallas.edu/ir/security/


Thank you!
Somehow, I got through it today, with SMP working too!

I had a little problem with mergemaster, after buildworld, which had a couple 
of problems that I got around with the make -k argument.
Some things didn't get built.  


Mergemaster rejected some files - /var/tmp/temproot/etc/rc.d/jail
/var/tmp/temproot/etc/ssh/ssh_config
/var/tmp/temproot/etc/ssh/sshd.config
/var/tmp/temproot/etc/motd

I elected to merge by hand, just to coplete the process.
Now I'll have to learn what it means to merge by hand.

Thanks to all who responded with advice and insights.

I have now a working amd64x2 kernel and a partially built, installed, and 
merged world.

There are still some strange messages appearing at boot time.

That's for another day.

Z. Wade Hampton
Twin Bridges, Montana
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Palm Tx + jpilot

2006-12-15 Thread Armin Arh
On Sat, Dec 16, 2006 at 02:16:48AM +0100, Armin Arh wrote:
 On Fri, Dec 15, 2006 at 10:19:49AM -0500, Lowell Gilbert wrote:
  Armin Arh [EMAIL PROTECTED] writes:
  
   On Fri, Dec 15, 2006 at 01:16:46AM -0500, Anish Mistry wrote:
In /etc/devfs.conf:
perm   cuaU0  0666
   
but then:
## l /dev/cuaU0
crw-rw  1 uucp  dialer  -   0, 113 Dec 15 05:00 /dev/cuaU0
   
The /dev/devfs.conf permissions only apply when i run
/etc/rc.d/devfs restart This is a nogo because i have only 1
second between pressing sync on the Handheld and clicking sync on
jpilot.
   man devfs.rules
  
   Thx.
   Now devfs.rules(5) redirects me to devfs.conf(5)
   which clearly states i should set
  
   perm   cuaU0  0666
  
   and i did so as described in my initial post.
   Nevertheless the permissions became wrong.
   Maybe it works after the next reboot, which is hard to
   believe... we'll see.
  
  You need devfs.rules, *not* devfs.conf.
  Try the manual page for the former again.
 
 After some reading i decided to give this one a try:
 
 # devfs rule add path cuaU0 mode 666
 devfs rule: ioctl DEVFSIO_RADD: Input/output error
 
 And then, i still do not understand why i need devfs.rules,
 because i can set the file mode in devfs.conf.

Oh, nice

## devfs rule -s 10 add path cuaU0 mode 666
## devfs rule showsets
10

but then again:
## devfs rule add path cuaU0 mode 666
devfs rule: ioctl DEVFSIO_RADD: Input/output error

= there is no predefined default ruleset
   (man page should state this fact besides the '-s' option)


## devfs ruleset 10
## devfs rule add path cuaU0 mode 666
## devfs rule show
100 path cuaU0 mode 666
200 path cuaU0 mode 666

I'm getting closer...

Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Palm Tx + jpilot

2006-12-15 Thread Armin Arh
Finally,
This is the solution to get a Palm TX work with FBSD-6.X

load the kernel modules 'uvisor.ko', 'ucom.ko', e.g. like this:
(if not already done at boot time)
kldload uvisor
kldload ucom

In order to set up the devfs rules manually do something like this:

devfs ruleset 10
devfs rule add path cuaU* unhide mode 666

(note that 666 is fine for me, this may not suit your
 possibly more restricted environment)

For a permanent setup this can be done via /etc/devfs.rules:
#-
[devfsrules_palm=4]
add path 'cuaU*' unhide mode 666
#-

plus this has to be mentioned in /etc/rc.conf:
#-
devfs_system_ruleset=devfsrules_palm
#-

It comes in handy to have a symlink where jpilot is searching
the handheld.

ln -s /dev/cuaU0 pilot

enjoy,
Armin
-- 
PUBBOX Postmaster + spam-killer. Free email addresses at http://pubbox.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unicode support on FreeBSD

2006-12-15 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
Just wondering if and how I would go about getting Unicode
support setup on FreeBSD. Any links I could get would be more than
appreciated.
Finally got fed up with instability on my Gentoo setup, so it's
time to move to something better :).
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFg1ZhEnKyINQw/HARAjrvAKCMnTv7Pb7y4GmHmorcMxxbbdLELACgjwpk
YNuiP7abOzDCVDb8wyOVPgM=
=eVg2
-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: cvsup and amd64

2006-12-15 Thread Beech Rintoul
On Friday 15 December 2006 16:18, Old Ranger wrote:
 On Friday 15 December 2006 18:04, Schmehl, Paul L wrote:
  Please tell me, did I need to specify anything specifically about the
  amd64 architecture when running cvsup?  Did I possibly get a GENERIC
  kernel file through cvsup that is not compatible with amd?
 
  **
 
  Sorry for the horrible formatting, but for reasons beyond my control, I
  only have access to Microsoft Outlook right now.  It appears no one has
  answered you yet, so, to alleviate your fears, yes, unless you've changed
  the kernel in any way (and it sounds like you haven't), a simple make
  buildkernel and make installkernel should work just fine.  Reboot
  afterwards, and you should be running the new kernel.  The only reason
  you would *need* to make a change would be if you're running dual
  processors or you need to customize the kernel for performance reasons. 
  Otherwise the GENERIC kernel will suffice.
 
  Paul Schmehl ([EMAIL PROTECTED])
  Senior Information Security Analyst
  University of Texas at Dallas
  http://www.utdallas.edu/ir/security/

 

 Thank you!
 Somehow, I got through it today, with SMP working too!

 I had a little problem with mergemaster, after buildworld, which had a
 couple of problems that I got around with the make -k argument.
 Some things didn't get built.


 Mergemaster rejected some files - /var/tmp/temproot/etc/rc.d/jail
 /var/tmp/temproot/etc/ssh/ssh_config
 /var/tmp/temproot/etc/ssh/sshd.config
 /var/tmp/temproot/etc/motd

 I elected to merge by hand, just to coplete the process.
 Now I'll have to learn what it means to merge by hand.

 Thanks to all who responded with advice and insights.

 I have now a working amd64x2 kernel and a partially built, installed, and
 merged world.

 There are still some strange messages appearing at boot time.

 That's for another day.

Merge by hand means to go to /usr/src/etc and copy the files you need to /etc 
then add in any changes by hand. Since you are doing a fresh install, just 
copy the files to /etc and you should be fine.

Beech

-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpfve0yRce5n.pgp
Description: PGP signature


Re: Unicode support on FreeBSD

2006-12-15 Thread Tsu-Fan Cheng

hi,
  i just taste the flavor of unicode a while ago, my point is to read
chinese/jap file name which file is downloaded over the internet. i
installed rxvt-unicode, and set my env in .cshrc LC_CTYPE to zh_TW.UTF-8,
and i think now i can read those file name with no problemo...

TFC

On 12/15/06, Garrett Cooper [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
Just wondering if and how I would go about getting Unicode
support setup on FreeBSD. Any links I could get would be more than
appreciated.
Finally got fed up with instability on my Gentoo setup, so it's
time to move to something better :).
- -Garrett
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFg1ZhEnKyINQw/HARAjrvAKCMnTv7Pb7y4GmHmorcMxxbbdLELACgjwpk
YNuiP7abOzDCVDb8wyOVPgM=
=eVg2
-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]


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


Re: Unicode support on FreeBSD

2006-12-15 Thread Garrett Cooper
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tsu-Fan Cheng wrote:
 hi,
   i just taste the flavor of unicode a while ago, my point is to read
 chinese/jap file name which file is downloaded over the internet. i
 installed rxvt-unicode, and set my env in .cshrc LC_CTYPE to zh_TW.UTF-8,
 and i think now i can read those file name with no problemo...
 
 TFC
 
 On 12/15/06, Garrett Cooper [EMAIL PROTECTED] wrote:

 Hello,
 Just wondering if and how I would go about getting Unicode
 support setup on FreeBSD. Any links I could get would be more than
 appreciated.
 Finally got fed up with instability on my Gentoo setup, so it's
 time to move to something better :).
 -Garrett

Ok. It appears as if Freebsd is definitely the best choice (over
other non-Linux Unix Opensource OSes--including OpenBSD and Open
Solaris) for a Unicode support.

Just tired of what the Linux crowd has been doing with the I/O
scheduler and schedulers in the kernel, and Reiserfs support has gotten
worse as of late it appears (kernel version 2.6.18 with 'emission'
kernel patches). It really lags my system at times -_-..

- -Garrett

PS TFC, I know you were having Chinese locale problems earlier--did you
try some of the solutions given
here-http://opal.com/freebsd/unicode.html-by chance?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFg2vkEnKyINQw/HARAh8uAJ41OMKGWl77xZmdJTQm2l33QUhl/QCfTj0R
S2GAdrIFHCV6ydLaiI90kTg=
=3I/p
-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]


VA Linux FullON 2230

2006-12-15 Thread Tyler Spivey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This may be a bit off-topic, but if someone could please email me and
tell me how to get
the hds out ofthis thing once the fan assembly is removed, that would be
appreciated.
Thanks,
Tyler

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFg2/cTsjaYASMWKQRApBQAJ43SR3fd4IG64ENV2g09SWv9BEzbACgivQO
KHoxhG0/5c2qjRyitkaRUWg=
=D03X
-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: Unicode support on FreeBSD

2006-12-15 Thread Robert Huff

Garrett Cooper writes:

   Ok. It appears as if Freebsd is definitely the best choice
  (over other non-Linux Unix Opensource OSes--including OpenBSD and
  Open Solaris) for a Unicode support.

It's worth noting that while this solution may work, it's an
add-on.
The question of Unicode is complex; you should check for
relevant threads in the questions@ and i18n@ archives.


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


Re: buildkernel error

2006-12-15 Thread [EMAIL PROTECTED]

On 15/12/06, Z. Wade Hampton [EMAIL PROTECTED] wrote:

Hello to all,
I have MY_KERNEL in the following location...

/usr/src/sys/i386/conf/MY_KERNEL

When I run...

make buildkernel KERNCONF=MY_KERNEL

I get


ERROR:  Missing kernel configuration file(s) (MY_KERNEL).
*** Error code 1

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

Stop in /usr/src.
#


I'm running 6.1, fresh cvsup to 6.1-RELEASE-p11.


Why won't buildkernel find MY_KERNEL?


If I recall correctly from a previous missive, you
are running amd64, which would mean your kernel
conf is (or should be) in /usr/src/sys/amd64/conf .

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