Re: freebsd mount nwfs

2003-12-11 Thread Feroz F. Basir
Hi,

At the moment no problem. So far so good. If you have
lost connection to novell server and want to reconnect
automatically, I suggest create a script to check if
you lost connection to novell. Run it every 5 minutes
or less through cron job. 

feroz

 --- Cristian Salan [EMAIL PROTECTED] wrote:  On Wed,
Dec 10, 2003 at 03:06:17PM +, Feroz F.
 Basir wrote:
  Hi all,
  
  At last, I got it to work. I be able to mount
 nwfs.
  Thank you for those who gave me information and
  guideline.
 
 Hello,
 This sounds good. :) 
 
 As long as this subject is not quite common can we
 exchange some
 information?
 I do have one issue with this nwfs on FreeBSD.
 There are moments when the connection with the
 novell is lost (I need
 a permanent mount for database programers to
 move/convert *.dbf
 foxpro files from novell to mysql databases). Most
 often late in the
 night when periodic runs (at 3:00, each every
 night), but sometimes in
 the middle of the working hours. Restarting
 IPXrouted daemon solves
 the problem.
 Do you have such problems?
 
 Cristian
 

---
 Xnet scaneaza automat toate mesajele impotriva
 virusilor folosind RAV AntiVirus.
 Xnet automatically scans all messages for viruses
 using RAV AntiVirus.
 
 Nota: RAV AntiVirus poate sa nu detecteze toti
 virusii noi sau toate variantele lor.
 Va rugam sa luati in considerare ca exista un risc
 de fiecare data cand deschideti
 fisiere atasate si ca MobiFon nu este responsabila
 pentru nici un prejudiciu cauzat
 de virusi.
 
 Disclaimer: RAV AntiVirus may not be able to detect
 all new viruses and variants.
 Please be aware that there is a risk involved
 whenever opening e-mail attachments
 to your computer and that MobiFon is not responsible
 for any damages caused by
 viruses.
  


BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st 
December 2003. The way the internet was meant to be. 
http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Leased line server configuration via analogue modem

2003-12-11 Thread Andre Grove
Hello there

How do would I go about configuring FreeBSD 5.1 to be a leased line 
server? Basically a mail server and gateway.
I can get a null modem to connect and obtain an IP address. But I am 
only able to access the machine from outside if there is a 
default_router for my network.

Here is my rc.conf file:

#defaultrouter=192.168.1.4
hostname=bsd.adept.co.za
ifconfig_rl0=inet 192.168.1.145  netmask 255.255.255.0
inetd_enable=NO
kern_securelevel_enable=NO
linux_enable=YES
saver=daemon
sendmail_enable=YES
sshd_enable=YES
network_interfaces=rl0 ppp0
router_enable=NO
gateway_enable=YES
firewall_enable=YES
firewall_type=OPEN
natd_enable=YES
natd_interface=ppp0
natd_flags=
I cannot ping any external addresses from the box.
I have already compiled my kernel for IP forwarding as stated in the 
handbook.
The other thing, is that my connect script doesn't run at startup, even 
though i have put it in /usr/local/etc/rc.d/ . But that is minor for now.

What have I done incorrectly and what else do i still need to do?

Thanks

Andre

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


Problem with mount

2003-12-11 Thread [EMAIL PROTECTED]
uname -a |  FreeBSD villa.fixer.com 4.8 RELEASE  FreeBSD  4.8 RELEASE #0:TUE DEC11 
20:54:12 GMT 2003  root@:/usr/src/sys/compile/VILLATV i386

---

I'm having a problem mounting dos files from the windows drive.  I've tried every kind 
of mount command (mount_msdos, mount, etc) and every kind of option or options.  I 
even included /mnt in the command.  Nothing works.  I am not using anything in the 
fstab file for this mount. 5 years ago, it was working perfectly on my computer.  My 
only mistake, I did not write it down in my FreeBSD note files.

The file I'm trying to mount is ad0s1 (windows 98).  FreeBSD is mounted on ad0s2.
I have read all the MOUNT man pages.  Maybe a little too complex for me.  Please tell 
me the one line command.

Thanks,
Bruce Meehl
[EMAIL PROTECTED]


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


Re: Problem with mount

2003-12-11 Thread Georg Klein
On Thu, 11 Dec 2003, [EMAIL PROTECTED] wrote:

 uname -a |  FreeBSD villa.fixer.com 4.8 RELEASE  FreeBSD  4.8 RELEASE #0:TUE DEC11 
 20:54:12 GMT 2003  root@:/usr/src/sys/compile/VILLATV i386

 ---

 I'm having a problem mounting dos files from the windows drive.  I've tried every 
 kind of mount command (mount_msdos, mount, etc) and every kind of option or options. 
  I even included /mnt in the command.  Nothing works.  I am not using anything in 
 the fstab file for this mount. 5 years ago, it was working perfectly on my computer. 
  My only mistake, I did not write it down in my FreeBSD note files.

 The file I'm trying to mount is ad0s1 (windows 98).  FreeBSD is mounted on ad0s2.
 I have read all the MOUNT man pages.  Maybe a little too complex for me.  Please 
 tell me the one line command.

 Thanks,
 Bruce Meehl
 [EMAIL PROTECTED]


Hi,

don't know much about your problem and the errors you get. For me,
mounting ntfs, the command 'mount -t ntfs /dev/ad0s1 /mnt' works. So
should in your case the command:

mount -t msdos /dev/ad0s1 /mnt

do it.

As i can see, you've build your custom kernel. Have a look whether you
have included the line:
options MSDOSFS #MSDOS Filesystem
in your configuration file.

hth
georg

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


ASUS A7N8X's 3Com chip / Sil 3112

2003-12-11 Thread Gautham Ganapathy
Hi,

Will FreeBSD 5.2 (RC1, 2 or RELEASE) support the 3Com 3C90x based n/w
controller (Broadcom PHY) present on the A7N8X Deluxe motherboard?

Also, will there be a driver for the Sil 3112 SATA driver?

Thanx and Regards
Gautham

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


Re: Why userland , basesystem and Kernel are together?!

2003-12-11 Thread Simon Barner
 You are comparing apples and oranges. Linux is a kernel, not an
 operating system. Distributions is a specially ill-choosen word in
 the Linux world. There are several operating systems, Debian, RedHat,
 Mandrake, which only have in common to use the Linux kernel.

Well, this is what I indendet to express.

Besides that, I'd say that the various GNU/Linux flavours (let's put it that
way ;-) have more in common than just the kernel: The GNUish userland
(parts of which are used in FreeBSD, too).

 Forget
 the word distributions which seems to imply that an operating
 system is defined by its kernel.

I also dislike the term `distribution', I only used it for better
comparability.

Simon


signature.asc
Description: Digital signature


Re: sed from a shell script - invalid command code

2003-12-11 Thread Malcolm Kay
On Thu, 11 Dec 2003 01:10, Jez Hancock wrote:
 #!/bin/sh
 sed=/usr/bin/sed
 passwd_file=/etc/passwd

 ignore_users=root|toor|daemon|operator|bin|tty|kmem|games|news|man|smmsp|b
ind|uucp|xten|pop|nobody|mysql|www|sshd|ftp|cyrus

 cmd=$sed -E -e '/^(#|$ignore_users)/d' -e 's/:.*//' $passwd_file

 users=`cmd`

I believe you want
  users=`eval $cmd`
for this line

 echo $users

Malcolm

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


Router/Gateway

2003-12-11 Thread Extech
Hello

I have looked through the archives and I have read the manual (Advance Networking) but 
could not find specific to address my question.

I want to set up a FreeBSD 5.x box as a router/gateway on a permanent connection with 
a fixed IP address,
there will also be other machines with fixed IP addresses (not 192.168.x.x but proper 
IP's)
on this network.

something like this:

To internet exchange on T1 Leased Line
   |
   |
   | dc0 (196.x.x.1)
-
FreeBSD
router/
gateway
-
   | lr0
   |
   |
   |
-
switch/hub
-
|   |
|   |
  196.x.x.2 |   | 196.x.x.3

Server 1Server 2



Obviously I have to have two network cards in the router/gateway (dc0 and lr0),
I assume that I will configure dc0 with my fixed IP, but what do I do with lr0?

Can somebody please point me in the right direction.

Thanks
extech


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


cvsup from 4.7-REL to stable

2003-12-11 Thread Adrian Pircalabu
Hi, I have recently installed 4.7-REL succesfully. After that, I tried
to run cvsup to RELENG_4 as in:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
I intend to sync src and ports trees.
After running cvsup, all content from /usr/ports (excepting distfiles
and dirs. listed in /usr/sup/refuse) was erased. I'm missing something,
so any help will be highly appreciated.
Ran this:
cvsup -g -L 4 /root/cvsupfile-modif

/root/cvsupfile-modif looks like this:
*default tag=RELENG_4
*default host=cvsup1.ro.FreeBSD.org
*default prefix=/usr
*default base=/usr
*default release=cvs delete use-rel-suffix compress

src-all
ports-all release=cvs
ports-base release=cvs

/usr/sup/refuse looks like this:
src/etc/sendmail/freebsd.mc*
ports/astro
ports/audio
ports/biology
ports/chinese
ports/french
ports/german
ports/hebrew
ports/japanese
ports/korean
ports/russian
ports/ukrainian
ports/vietnamese

-- 

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


Re: scp between windows and freebsd

2003-12-11 Thread Malcolm Kay
On Thu, 11 Dec 2003 07:20, KURT BUFF wrote:
 All,

 I'm following the directions here:

 http://www.unixwiz.net/techtips/postfix-exchange-users.html

 to improve the gateway to our Exchange box, and am stuck on a particular
 step.

 I just can't seem to make the Putty SCP work from my workstation.

 I used Putty's window copy function to paste into vi to create the .pub
 file, then used the command line:

 ssh-keygen -i -f /tmp/exchupdate.pub  /root/.ssh/authorized_keys2


Later versions of OpenSSH expect all keys in authorized_keys including
protocol level 2. Which version do you have?

 on the FreeBSD box per the instructions to convert to an openssh key,
 then use the following command line to do the copy:

 pscp -2 -i exchupdate.ppk exchusers.txt [EMAIL PROTECTED]:/etc


Are you aware that by default sshd does not accept connections to user root?
You must set this specifically in /etc/sshd_config.
  PermitRootLogin yes

Possibly one of these (or both) is your problem. But then again
it might be something quite different.

Malcolm

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


RE: cvsup from 4.7-REL to stable

2003-12-11 Thread Philip Payne
Hi,

I'm 99% your sufile needs to read (but nowhere near my machine to check):

 src-all
 ports-all release=cvs
 ports-base release=cvs

ports-all tag=.

So that you get the head of the source tree for ports.

Phil.


 
 /usr/sup/refuse looks like this:
 src/etc/sendmail/freebsd.mc*
 ports/astro
 ports/audio
 ports/biology
 ports/chinese
 ports/french
 ports/german
 ports/hebrew
 ports/japanese
 ports/korean
 ports/russian
 ports/ukrainian
 ports/vietnamese
 
 -- 
 
 Adi Pircalabu
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ufs problem (mounting ufs under linux-2.6.0-test11)

2003-12-11 Thread Ruben de Groot
On Thu, Dec 11, 2003 at 12:32:38PM +0100, [EMAIL PROTECTED] typed:
 Hello,
 
 I don't seem to be able to mount the FreeBSD-5.1-RELEASE's ufs
 partition in linux-2.6.0-test11, which occupies another partition
 on the same machine (which is Acer Aspire 1304XC).
 
 Has the ufs format changed in 5.1? I specify ufstype=44bsd in
 the mount command.

Hi Jan,

From the release notes:

 newfs(8) will now create UFS2 file systems by default, unless UFS1 is
 specifically requested with the -O1 option.

I would be surprised if linux understands UFS2 allready.

Ruben

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


Setting locales

2003-12-11 Thread Odhiambo Washington
Hiya,

I set the following locales in my .bash_profile:

export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

But I get these warnings when I try to run some script:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = en_US.UTF-8,
LC_COLLATE = C,
LANG = en_US.UTF-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C)


How do I install the missing locales?


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
A fractal is by definition a set for which the Hausdorff Besicovitch
dimension strictly exceeds the topological dimension.
-- Mandelbrot, The Fractal Geometry of Nature
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFS problem at boot-up: nfsd: RPCPROG_NFS: RPC: Port mapperfailure - RPC: Unable to send

2003-12-11 Thread Rob
Hi,

All my PCs are running up-to-date FreeBSD-stable.

I had set up an NFS server (800 MHz) and client (500 MHz),
which was all working fine. At boot-up it nfs-mounts two nfs file systems.
Today I replaced the client 500 MHz with a 2 GHz Pentium 4 PC.
Now the client gives the following during boot:

[...]
Doing initial network setup: hostname.
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 147.47.254.184 netmask 0xff00 broadcast 147.47.254.255
inet6 fe80::2a0:b0ff:fe0e:3a95%rl0 prefixlen 64 tentative scopeid 0x1
ether 00:a0:b0:0e:3a:95
media: Ethernet 10baseT/UTP
status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
add net default: gateway 147.47.254.1
Additional routing options: TCP keepalive=YES.
Routing daemons:.
Mounting NFS file systems:lahaye:/usr/ports: nfsd: RPCPROG_NFS: RPC: Port mapper
 failure - RPC: Unable to send
.
Additional daemons: syslogd.
Doing additional network setup: ntpdate portmap.
Starting final network daemons: nfsiod NFS access cache time=2.
[...etc...]

There is the Mounting NFS file systems: for a long while before the RPC message
comes. Strangely enough, the nfs file system is mounted at the end of the boot-up;
so why is there this RPC message and the long wait for nfs?
I have no clue what's going on here and have also no idea in what direction I should
go for solving this. Any hints?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adelphia at home and NAT...

2003-12-11 Thread Scott I. Remick
On Wed, 10 Dec 2003 18:42:39 -0500, Alex ander Sendzimir wrote:

 I chose Adelphia for my high speed internet service here in lovely 
 Vermont. 

Same here! By the way, let me point you to a site I just started,
http://www.vtbsd.net/ while we're at it. :) Feel free to stop by and hang
out sometime... would love to drum up a community.

 I would like to be able to ssh into my home machine from a remote 
 internet site or someone else's computer. I've tried a couple of things 
 I thought might work and no such lunch. I understand Adelphia might be 
 using NAT to route packets to my home machine. If this is true, does it 
 mean I'm can't ssh remotely? How, if possible, can I get through. There 
 is a company in Boston that advertises a package that does dynamic DNS 
 for home computers. I haven't looked into how it works, though. There's 
 gotta be a way!

What I did to simplify things was pick up a DSL/cable router. I can
recommend Netgear... I started with an RP614 but then upgraded recently to
a WGR614.

The router will receive a DHCP address from the cable modem. Your FreeBSD
system will then receive a different DHCP address from the router, by
default in the 192.168.0.nnn range. Netgear routers support interfacing
with dyndns.org so you don't have to worry about knowing what IP address
your router has this day. So you set up an account w/ dyndns (free) then
config the router appropriately.

All that's left is to open port 22 (or a different one if you want to use a
non-standard port) on the router to point to your FreeBSD box. I'd
recommend narrowing the DHCP range that the router picks from and leaving a
range for static assignment. Then have your FreeBSD system use a static IP.
That way you don't have to worry about the IP on the FreEBSD box
accidentally changing for whatever reason and you not being able to ssh in.

I've been doing this for a while now, and also tunnel VNC over the ssh
connection. Works great!

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


Re: group limits

2003-12-11 Thread Lowell Gilbert
jonathan [EMAIL PROTECTED] writes:

 I need to know if there is a maximum number of group a user can be member of. 
 
 If yes, can that maximum number can be set to an higher value. 
 
 Any help or suggestion will be appreciated.

See NGROUPS_MAX in sys/syslimits.h.  

It will require rebuilding significant parts of the system and may not
work over NFS, and may be slippery when wet.

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


Re: NGROUPS_MAX

2003-12-11 Thread Lowell Gilbert
jonathan [EMAIL PROTECTED] writes:

 Hi, i'm jonathan and i'm running a freebsd 4.8 box.
 
 i wish to increase the value of  NGROUPS_MAX into /usr/src/sys/sys/syslimits.h.
 
 I'd like to know how increasing that number to permit users from /etc/passwd to be 
 member of more than 16 groups will affect system performances. 

Depends on how the systems is used, to some extent.  You probably
won't notice it as long as it doesn't get ridiculously large.  I
realize that statement is a circular definition, but an accurate
answer would, well, depend on how the system is used.

 What will be an acceptable value for NGROUPS_MAX?
 I know this number is set to 32 in suse linux

I suspect doubling it would be fine, but trying it is the best way to
know.

 I know that ACL is a better way but i wont use it until it's stable under 5.x 
 freebsd and that 5.x is recomended for production issues.

If your application really requires this sort of thing, 5.x might be
more stable for your application than 4.x.  Or maybe you should
describe how you're getting to need so many groups, and see if someone
can suggest a better way without the groups...

 About how doing that change...
 Is it just about changing the value and reboot the machine or there is some 
 recompilation matter linked to that change?

You have to rebuild everything that uses it, of course.  I'd recommend
a full system rebuild.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

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


ppp setup

2003-12-11 Thread marcelo cardoso martinelli
i made a clean install of freebsd 5.0-release in my home machine and i
am having trouble setting up my box for dial-up access to the internet.

my modem is connected to com4 but my dmesg entry shows that the kernel
is only tracking up to com2. i tried looking at my kernel configuration
file but it is only showing one line for serial devices (device sio).
how can i get around this?

i remember that setting it up in the 4.x series was much easier.

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


Dual-hosting current stable.

2003-12-11 Thread Robin P. Blanchard
Currently I maintain two separate 'host' boxes:

1) -stable, nfs exporting src and obj for -stable clients
2) -current, nfs exporting src and obj for -current clients

I'd like to eliminate one of these boxes, having one box building and nfs
exporting both -stable and -current. I've been reading about jails and am
thinking that perhaps I need to setup a jail on my current box and install
-stable into it (assuming that can be done). Then I'd buildworld (-stable)
within that jail and nfs export that (out of the jail) to the -stable
clients. Is this the best method to accomplish what I'm trying to do ? Tips
are greatly appreciated.

Thanks in advance.

---
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404   fax: 706.542.6546
---

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


Notebook Mouse and 5.x

2003-12-11 Thread Minnesota Slinky
Hello,
 
I'm still using 4.x, but I'm really aching to move to
the 5.x series. I've been successfully using it on my
desktop since 5.0-CURRENT and now I'm using
5.1-RELEASE.  I have a laptop that can get everything
working ok, but I can't get my PS/2 port or the
integrated touchpad to work. Does anyone have any
ideas?  I'd love to get 5.x running.
 
Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Adding SCSI Scanner

2003-12-11 Thread Dr. Lyman Hazelton
I didn't have my SCSI scanner (UMAX Astra 1200S) powered up when I 
loaded FreeBSD 5.1.  I turned it on and re-booted the system, and it 
certainly sees it (as seen in the dmesg report), but it simply says 
it's part of pass4:... in other words, no driver associated with 
it.  Is there some nice way of getting the system to use it, other 
than reloading the entire system from scratch?  The system has been 
up a few days and I've loaded a lot of other good stuff and got it 
running just the way I want it to, so reloading and reconfiguring all 
of it would be a lotta work.

   -Lyman

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


List Failures

2003-12-11 Thread Eric F Crist
Is there something in the list configuration to prevent Outlook MIME or
html messages?  I think I finally got it fixed so I can post.

TIA

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


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


Re: Stupid vinum questions

2003-12-11 Thread Peter Ulrich Kruppa
On Thu, 11 Dec 2003, Greg 'groggy' Lehey wrote:
  3) Is there some fine manual around, that could be used as a
 starting point for reading? (I had a look at at my copy of
 The Complete FreeBSD, but I guess I wouldn't ask these
 questions, if I had understood it.)

 Maybe it would be a good start to say what you didn't understand in
 the book.  That way I can fix it for other people too.
Please bear in mind some problems might be caused by the simple
fact that English isn't my native language -  you can't do too
much about that.
But generally I would say, it is a good idea to start with some
simple working example, not with a list of all features and the
stuff about stripes, volumes, plexes, organization, perfomance
and what might be the differences to some kinds of RAID systems.

Once the reader has got a general idea what can be done, it
makes sense to discuss tuning and optimization.
I don't think it would do any harm to proceed this way, because
one needs to experiment and test things like these, before one
starts using them in a production enviroment.

Also it might be interesting for you to know, why I am asking
about vinum: It is quite clear, that our school's samba server
will sooner or later run out of disk space because of its growing
profiles and home directories. We are frequently short of money,
so I wouldn't like to buy new harddisks. But we know some people
who are willing to donate old, though still good quality
hardware.

Regards,

Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding SCSI Scanner

2003-12-11 Thread Marc Wiz
On Thu, Dec 11, 2003 at 08:47:09AM -0700, Dr. Lyman Hazelton wrote:
 I didn't have my SCSI scanner (UMAX Astra 1200S) powered up when I 
 loaded FreeBSD 5.1.  I turned it on and re-booted the system, and it 
 certainly sees it (as seen in the dmesg report), but it simply says 
 it's part of pass4:... in other words, no driver associated with 
 it.  Is there some nice way of getting the system to use it, other 
 than reloading the entire system from scratch?  The system has been 
 up a few days and I've loaded a lot of other good stuff and got it 
 running just the way I want it to, so reloading and reconfiguring all 
 of it would be a lotta work.

Lyman,

look in ports: /usr/ports/graphics/xsane

That will get you what you need.

Marc
-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Adding SCSI Scanner

2003-12-11 Thread Dan Nelson
In the last episode (Dec 11), Dr. Lyman Hazelton said:
 I didn't have my SCSI scanner (UMAX Astra 1200S) powered up when I
 loaded FreeBSD 5.1.  I turned it on and re-booted the system, and it
 certainly sees it (as seen in the dmesg report), but it simply says
 it's part of pass4:... in other words, no driver associated with
 it.  Is there some nice way of getting the system to use it, other
 than reloading the entire system from scratch?  The system has been
 up a few days and I've loaded a lot of other good stuff and got it
 running just the way I want it to, so reloading and reconfiguring all
 of it would be a lotta work.

pass4 should be all the SANE port needs, actually.  There are no kernel
drivers for scanners.

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


Re: How to make printer print faster?

2003-12-11 Thread Mark Terribile

Marco Beizhuizen writes:

 I did notice an increase of speed (when I changed the resolution from
 600x600 to 300x300) of data sent to the printer. Probably due to the
 decrease of the amount of data sent. But it didn't influence the speed of
 printing itself, so no 10ppm but more like a few ppm with a pause between
 each page.

One additional piece of data: on my USB1.1-connected Epson s-C82 under CUPS:
Every six or eight passes the printer pauses.  During this interval, the
computer's CPU usage spikes.  It looks as though there is some critical place
without needed double bufferring.  I don't know what this might do to a laser
printer, which needs to have room to stop and start, and may hold data back
if it sees that a stop is soon likely.  One of these days, when the world comes
to a stop and I can take a breath, I'm going to have a look at that and see if
I can fix it.

Mark Terribile


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Priority Notification - Potential UK Lottery Winner

2003-12-11 Thread Susan Kennedy
Congratulations!  This Special Notice confirms that you have been
pre-selected to apply for membership of a brand new Worldwide way of
playing the UK National Lottery.

The UK Lotto Game has one of the World's biggest tax free, lump sum
jackpots. The draws are made twice a week on Wednesdays and Saturdays.
Jackpots can often reach £20,000,000 with total prize funds topping
£40,000,000

Camelot Official statistics show that two thirds of all major wins are
claimed by syndicates. This is an important key factor to improving your
chances, but we wanted to improve the odds even more.

Choosing to play the UK National Lottery with a Worldwide Syndicate, you
not only improve your chances to win the BIG prizes, you also win MORE
money for 2 ball (unique new way to win), 3 ball, 4 ball, 4 ball plus bonus
ball (unique new way to win) and 5 ball wins.

Your own personal multi-win Worldwide syndicate card has already been
pre-selected and will offer you the following seven benefits:

Here is the first benefit... If you personally had 44 single line entries
in the UK National Lotto on Wednesday and Saturday the cost per week would
be £88.00, but with this little card, you receive 88 single line entries in
a multi-win Worldwide syndicate for just £5.00.

Here's the second benefit... you win a new unique Worldwide syndicate prize
by matching just two main lotto draw numbers.

Here’s the third benefit... you win more than the usual £10.00 when you
match three main lotto draw numbers.

Here’s the fourth benefit... you win lots more than playing on your own
when you match four main lotto draw numbers.

Here’s the fifth benefit... when you match four main lotto draw numbers
plus the bonus ball the difference in winnings is enormous.

Here’s the sixth benefit... You can play from ANYWHERE IN THE WORLD!

If you were playing on your own in the UK National Lotto and matched four
numbers and the bonus ball you would have won the four-ball prize of £56.00.

Playing the same numbers in our winning multi-win Worldwide syndicate EACH
member received £2,843.67! (Based on actual syndicate win)

I guess by now you must be ready to get your card!

Okay, here is the seventh benefit...

Just 5 balls scoops the jackpot!

To get the ball rolling (if you pardon the pun!) simply send a blank e
mailto:[EMAIL PROTECTED] and we'll show you how to get more from
the UK National Lotto.

UK Lotto players must be 16 or over to play.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


p5 random password ports

2003-12-11 Thread Dru

Has anyone on the list ever used any of the following to create their own
custom random password generator script:

/usr/ports/security/p5-Crypt-GeneratePassword
/usr/ports/security/p5-Crypt-PassGen
/usr/ports/security/p5-Crypt-RandPasswd

If so, could you please contact me off list. I may have a small job for
you.

Dru

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


Re: Upgrading

2003-12-11 Thread Pete Renshaw
If it is your second buildworld you have to do something like this 
# cd /usr/obj 
# chflags -R noschg * 
# rm -rf * 
 
Or the build may fail. 
See 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html 
 
Pete 
 
On Wed, 10 Dec 2003 13:36:43 -0500, Marius Kirschner wrote 
 I need to upgrade my 4.3 box, but haven't done so in a long time.   
 Is the below still valid? 
  
 cvsup -g -L2 supfile 
 cd /usr/src 
 make buildworld 
 make buildkernel KERNCONF=MYKERNEL 
 make installkernel KERNCONF=MYKERNEL 
 make installworld 
 reboot 
  
 ---Marius 
  
 ___ 
 [EMAIL PROTECTED] mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
 To unsubscribe, send any mail to 
[EMAIL PROTECTED] 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I can't connect to internet. Plz help me

2003-12-11 Thread Shantanoo Mahajan
+++ nil ban [freebsd] [10-12-03 13:11 -0800]:
| Hello,
| I'm a novice linux user currently switched over to freebsd
| when many linux users told me that freebsd is real unix
| and only slackware is somehow matched with it. So I installed
| feeebsd 4.8 but I am getting few problems I can't handle.
| Kindly tell me how to do the following ; 
| I can't connect to internet. 
| Plz let me explain that.
| I have a username and password which my isp gave me to 
| use for having mail and surfing internet like 
| [EMAIL PROTECTED] and my mail servers
| names are mail.myisp.com(pop3)and smtp.mail.com.
| I tried using kpp and I could connect to my isp ( I am telling this
| because pppd does run ) but whenever I try to 
| visit a website it doesn't work, browser says unknown host.  
| I even tried xchat, it says something like have u missspelled your host name ?.  I 
also don't know what  my host name is. Whenever 
| I type the command hostname in console it displays nothing and only cursor 
reappears. I installed it as it is describe in the handbook. Only thing I have done is 
place this entry firewall_type=open in rc.conf. I haven't changed anything in any 
configuration file apart from that. I have written this because it seemed the default 
firewall has got something to do with it but I ain't sure.  
| Please tell me in a step by step procedure so I will be able 
| to fix it.. I am gradually being depressed for that. 
| Here telephone charge is very costly and for that I can't stay
| connected and experiment for long.
|  
| Please help me.
|  
| P.S  I also can't send  receive mail using kmail inspite of giving all the
| required parameters.

what's the o/p of

# ipfw list

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


Re: Perl 5.8.2 problems (was Re: how to build Spamassassin)

2003-12-11 Thread paul beard
On Dec 10, 2003, at 8:34 PM, Tony Jones wrote:

At this point, /usr/local/perl/bin/perl is installed
why is it in /usr/local/perl/bin? As far as I have seen, the ports 
collection doesn't do that. did you install as a port (make install in 
/usr/ports/lang/perl5.8)?

What would happen if you were to use portinstall perl5.8 and 
portinstall spamassassin? You may need to install the portupgrade 
package if you haven't already done so.

--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel tcp connection logging

2003-12-11 Thread David Bear
I'm runnining a generic release-4.7 kernel.  at some point I must have
set some sysctl option because I get a lot of message like:

Dec 11 10:35:18 recsrv1 /kernel: Connection attempt to TCP
129.219.208.171:135 from 129.219.90.69:4449
Dec 11 10:35:19 recsrv1 last message repeated 2 times

I am using log_in_vain='1' in rc.conf but, do have samba listening on
port 135.  

Any way I can quash these messages?

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


php error

2003-12-11 Thread Dzevad Fazlic

Hello there
I am trying to install freBSD 4.9 but all the time i am getting error while 
installing php .
I try 5 times all the time same error .
So i try to change ftp server still same error
look like there is an error while installing php
Can somebudy help me please
Thanks 
Dzevad
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl 5.8.2 problems (was Re: how to build Spamassassin)

2003-12-11 Thread Tony Jones

 why is it in /usr/local/perl/bin? As far as I have seen, the ports 
 collection doesn't do that. did you install as a port (make install in 
 /usr/ports/lang/perl5.8)?

Yes.  make install PREFIX=/usr/local/perl

Is that bad?  I like to have large packages installed into seperate
sub-directories in /usr/local rather than all competing for /usr/local/{bin,lib,
etc}. 

 What would happen if you were to use portinstall perl5.8 and 
 portinstall spamassassin? You may need to install the portupgrade 
 package if you haven't already done so.

I'm very unfamiliar with the ports system.  I've never heard of portinstall
or portupgrade.  

Just running make  make install in the appropriate port subdirectory.

Tony

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


Re: Perl 5.8.2 problems (was Re: how to build Spamassassin)

2003-12-11 Thread Tony Jones
 
  why is it in /usr/local/perl/bin? As far as I have seen, the ports 
  collection doesn't do that. did you install as a port (make install in 
  /usr/ports/lang/perl5.8)?
 
 Yes.  make install PREFIX=/usr/local/perl

I of course also did 'make PREFIX=/usr/local/perl' before doing the install.

Tony

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


Re: Why userland , basesystem and Kernel are together?!

2003-12-11 Thread Allan Bowhill
On  0, Stephane Bortzmeyer [EMAIL PROTECTED] wrote:
:On Tue, Dec 09, 2003 at 01:37:48AM +0200,
: Vahric MUHTARYAN [EMAIL PROTECTED] wrote 
: a message of 46 lines which said:
:
: Why some programs are in base system . What is the meaning of
: Sendmail or SSH in base system . Programs are only executable things
: What is the relation about those programs with base system ?!
:
:With the ideas you have about how an operating system should be
:assembled, I suggest that you use Debian URL:http://www.debian.org/
:instead of FreeBSD. it is much closer to your philosophy.

Don't send him away. This is a good question.

FreeBSD has third-party software (like Sendmail, SSH, Gnats, CVS,
Kerberos, ppp etc.) included as part of its source code base
distribution, and this generally confuses people accustomed to other Unix-
like distributions. 

I don't know what the underlying rationale was for each piece, but I
guess this more integrated approach was meant to make it convenient for
programmer/sysadmins to install the software, contribute changes, and
communicate about the OS with other people in the FreeBSD community.

In principle the integrated approach is attractive because it is simpler
to treat an operating system as a single piece with a lot of features
for convenience, rather than a bunch of unrelated components laying on
the floor that you have to fetch-and-assemble yourself.

I like the fact that the operating system comes with development tools
built-in (C, C++, gdb, CVS, Gnats). It impresses me as a fair and
correct choice in design that an open-source operating system should
have these things.

-- 
Allan Bowhill
[EMAIL PROTECTED]

Real software engineers don't like the idea of some inexplicable and
greasy hardware several aisles away that may stop working at any
moment.  They have a great distrust of hardware people, and wish that
systems could be virtual at *___all* levels.  They would like personal
computers (you know no one's going to trip over something and kill your
DFA in mid-transit), except that they need 8 megabytes to run their
Correctness Verification Aid packages.


pgp0.pgp
Description: PGP signature


Re: Question about ports...

2003-12-11 Thread C. Ulrich
On Wed, 2003-12-10 at 12:04, Payne wrote:
 Hi,
 
 I am want to install postnuke but when-ever I go to do make under 
 /usr/port/www/postnuke, it wants to install mod_php4 again, I don't want 
 to have to reinstall ports everytime I add something new.
 
 Thanks,
 
 Payne

Does postnuke require a newer or different version of mod_php4 than you
have currently installed? Unless your mod_php4 installation is in some
way customized, there should be little harm in letting ports do whatever
it wants to do.

(Ports, I've found, works best when it gets its own way. :P)

Charles Ulrich
-- 
http://bityard.net

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


Re: Perl 5.8.2 problems (was Re: how to build Spamassassin)

2003-12-11 Thread paul beard
On Dec 11, 2003, at 9:54 AM, Tony Jones wrote:

I'm very unfamiliar with the ports system.  I've never heard of 
portinstall
or portupgrade.

Just running make  make install in the appropriate port subdirectory.


It seems to me you're making this really complicated: I don't know what 
difference it makes where things get installed (/usr/local/{language}/ 
. . . ), but I have been using the ports collection as it comes without 
a problem. One of the benefits of using a system (like FreeBSD) is that 
there are some design conventions and decisions you can rely on.

My advice, and worth every penny you're paying, would be to use the 
ports system and become familiar with it before hacking around it. To 
that end, I would do, as root
cd /usr/ports/sysutils/portupgrade; make install and then use that to 
manage the rest of it with portinstall portname, in your case perl5.8 
and spamassassin. You may need to run use.perl port between those 
steps to ensure that spamassassin gets built against perl5.8 and 
doesn't complain about the wrong version.



--
Paul Beard
www.paulbeard.org/
paulbeard [at] mac.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting locales

2003-12-11 Thread Rogelio Rodríguez
Odhiambo Washington (2003-12-11):
 Hiya,
 
 I set the following locales in my .bash_profile:
 
 export LANG=en_US.UTF-8
 export LC_ALL=en_US.UTF-8
 
 But I get these warnings when I try to run some script:
 
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LC_ALL = en_US.UTF-8,
 LC_COLLATE = C,
 LANG = en_US.UTF-8
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C)
 
 
 How do I install the missing locales?

misc/utf8locale

NB: Currently, the freebsd ncurses library is not exactly ready
for unicode methinks. ncurses 5.3 (ncursesw) is probably best.
But, if you --enable-widec (to get ncursesw) in devel/ncurses you
get a compilation error.

Cheers,

-- 
Rogelio

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


Heavy Gear 2 under linux compat...

2003-12-11 Thread kitsune
I was just wondering if any one has managed to getting Heavy Gear 2 working?

The problem I start the game and the shell/begining menu part/whatever comes up
fine, but when I go and begin the game I get Fatal signal: Segmentation Fault
(SDL Parachute Deployed)

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


php5 compile fail

2003-12-11 Thread Aleksander Rozman - Andy
Hi !

I am having weird problem. I tried to install php5 but it seems that 
FreeBSD has some stuff missing. In resolv.h, we are mising 4 aliases 
res_ninit, res_nmkquery, res_nsend, res_nclose. I was working with some 
people on php site, to disover why my compile fails and we came to this 
conclusion, that FreeBSD is missing this aliases. Did anybody else have the 
same problem? How did you solve it?

Take care,
Andy


**
*  Aleksander Rozman - Andy  * Fandoms:  E2:EA, SAABer, Trekkie, Earthie *
* [EMAIL PROTECTED] * Sentinel, BH 90210, True's Trooper,   *
*[EMAIL PROTECTED]   * Heller's Angel, Questie, Legacy, PO5, *
* Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender*
* ICQ-UIC: 4911125   *
* PGP key available  *http://www.atechnet.dhs.org/~andy/ *
**
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Upgrading

2003-12-11 Thread Marius Kirschner
This will be the first buildworld on that machine.  Thanks,

---Marius  

 -Original Message-
 From: Pete Renshaw [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 11, 2003 12:38 PM
 To: Marius Kirschner
 Cc: [EMAIL PROTECTED]
 Subject: Re: Upgrading 
 
 If it is your second buildworld you have to do something like 
 this # cd /usr/obj # chflags -R noschg * # rm -rf * 
  
 Or the build may fail. 
 See
 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/make
 world.html 
  
 Pete 
  
 On Wed, 10 Dec 2003 13:36:43 -0500, Marius Kirschner wrote 
  I need to upgrade my 4.3 box, but haven't done so in a long time.   
  Is the below still valid? 
   
  cvsup -g -L2 supfile
  cd /usr/src
  make buildworld
  make buildkernel KERNCONF=MYKERNEL
  make installkernel KERNCONF=MYKERNEL
  make installworld
  reboot
   
  ---Marius
   
  ___
  [EMAIL PROTECTED] mailing list 
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED] 
 

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


Re: Why userland , basesystem and Kernel are together?!

2003-12-11 Thread C. Ulrich
I don't wish to get into a shouting match, but I don't think I
completely agree with some of the things you say here.

On Wed, 2003-12-10 at 11:39, Stephane Bortzmeyer wrote:
 You are comparing apples and oranges. Linux is a kernel, not an
 operating system. Distributions is a specially ill-choosen word in
 the Linux world. 

I don't see why. I think distribution is a perfectly fine term for
what it describes. My comments below explain why.

 There are several operating systems, Debian, RedHat,
 Mandrake, which only have in common to use the Linux kernel. 

This is incorrect. All relevant Linux distributions are not only based
on the same kernel, but almost almost all of the same userland software
as well. (Specifically, GNU software, much of which is a core part of
FreeBSD as well.) The main areas where they differ are the configuration
details (what files are where, how to configure services such as init
scripts and networking, etc) and package management. There are of course
other differences, but these two are the biggies.

 Forget
 the word distributions which seems to imply that an operating
 system is defined by its kernel.

Again, there's nothing wrong with the word distributions. What you're
really saying is that you just don't like how the Linux community places
so much emphasis on the kernel instead of the entire operating system as
a whole. Linux-based operating systems first came together in the early
90's by taking various pieces of software and fitting them all into a
system that worked. FreeBSD (unless I misunderstand) has always been a
cohesive whole. While there are advantages to this in the sense that the
left hand always knows what the right hand is up to, there are plenty of
applications (for example, embedded ones) that benefit from a more
disconnected and flexible framework.

 And there are several operating systems based on a BSD kernel, too:
 FreeBSD, NetBSD, OpenBSD, there is even now a Debian/BSD which uses a
 NetBSD kernel instead of Linux.

Except that these are forks of the entire operating system, not just the
kernel. (Correct me if I'm wrong.)

Like you said, the comparison between Linux and BSD is an
apples-and-oranges issue. Similar in some ways, different in others, and
both have differing abilities even if many of those abilities overlap.

Charles Ulrich
-- 
http://bityard.net

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


Re: problem with perl 5.8 on 4.9-PRERELEASE

2003-12-11 Thread Anton Berezin
On Thu, Dec 11, 2003 at 09:54:27AM -0800, Tony Jones wrote:

 LD_LIBRARY_PATH is in the environment in all cases (=/usr/lib).
 
 Anyone got any ideas.  It's probably something obvious but it isn't dawning
 on me. Yes, I have rebooted post installing perl.  This is all 4.9 FreeBSD.

It is very very wrong to have LD_LIBRARY_PATH defined in the
environment, doubly so for such paths as /usr/lib, which is in ldconfig
hints _anyway_.

FreeBSD's behavior does not correspond to ld(1) manual page - in reality
LD_LIBRARY_PATH takes precedence to everything, including -rpath (see
the manpage for details).  The manpage should be fixed, obviously, but
the current FreeBSD behavior is nevertheless correct, for otherwise it
would not be possible to upgrade a software package when it's .so API
changes even slightly.  LD_LIBRARY_PATH is there just for this reason -
to knowlingly override whatever other means of locating shared libraries
there are.  It should not be used for setting system-wide defaults,
which is a job for ldconfig(8).

You might want to look at
http://www.freebsd.org/cgi/query-pr.cgi?pr=59186 (same situation as
yours) and http://www.freebsd.org/cgi/query-pr.cgi?pr=28191 (why
rtld-els behavior was changed).

Hope this helps,
\Anton.
-- 
Civilization is a fractal patchwork of old and new and dangerously new.
-- Vernor Vinge
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why userland , basesystem and Kernel are together?!

2003-12-11 Thread Cordula's Web
  There are several operating systems, Debian, RedHat,
  Mandrake, which only have in common to use the Linux kernel. 
 
 This is incorrect. All relevant Linux distributions are not only based
 on the same kernel, but almost almost all of the same userland software
 as well. (Specifically, GNU software, much of which is a core part of
 FreeBSD as well.) The main areas where they differ are the configuration
 details (what files are where, how to configure services such as init
 scripts and networking, etc) and package management. There are of course
 other differences, but these two are the biggies.

All Linux distributions use glibc; while BSDs use their own version
of libc.

But these are only technicalities. More important is that the BSDs
use a central CVS repository for the whole OS (minus third party
packages), whereas in the Linux world, the vendors maintain
separate (mostly with source, but sometimes binary-only as well)
collections of separately maintained software.

If the developers of Linux' base utilities, glibc, kernel etc...
submitted all their source code to a Linux CVS repo, and all
distributions were built on top of that, they would have adopted
an important part (though not everything) of BSDs philosophy
[putting the different licensing schemes aside for a moment].
However, this is unlikely to happen any time soon (if at all),
mostly for political reasons: the FSF, Linus, and a lot of other
developers would have to agree to share a single repository,
and this is particulary difficult to achieve.

Anyway, both development models are quite viable, and it is
amazing to see how both camps are making excellent progress.

-- 
Cordula's Web. http://www.cordula.ws/

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


umounting /

2003-12-11 Thread Dru

Is this the only way to unmount the root filesystem:

umount -a

When I try umount /, I get this error:

umount: unmount of / failed: Invalid argument

The manpage doesn't give any hints on why that argument is invalid...

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


Re: Why userland , basesystem and Kernel are together?!

2003-12-11 Thread Jerry McAllister
 
 I don't wish to get into a shouting match, but I don't think I
 completely agree with some of the things you say here.
 

OK.  Well, just toddle on over to the advocacy list where this
can more appropriately be hashed out.

jerry

 On Wed, 2003-12-10 at 11:39, Stephane Bortzmeyer wrote:
  You are comparing apples and oranges. Linux is a kernel, not an
  operating system. Distributions is a specially ill-choosen word in
  the Linux world. 
 
 I don't see why. I think distribution is a perfectly fine term for
 what it describes. My comments below explain why.
 
  There are several operating systems, Debian, RedHat,
  Mandrake, which only have in common to use the Linux kernel. 
 
 This is incorrect. All relevant Linux distributions are not only based
 on the same kernel, but almost almost all of the same userland software
 as well. (Specifically, GNU software, much of which is a core part of
 FreeBSD as well.) The main areas where they differ are the configuration
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umounting /

2003-12-11 Thread Jerry McAllister
 
 
 Is this the only way to unmount the root filesystem:
 
 umount -a
 
 When I try umount /, I get this error:
 
 umount: unmount of / failed: Invalid argument
 
 The manpage doesn't give any hints on why that argument is invalid...

You can't un mount root.
You can only reassert the mount.

jerry

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

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


Re: php error

2003-12-11 Thread Mike Maltese
 Hello there
 I am trying to install freBSD 4.9 but all the time i am getting error
while
 installing php .
 I try 5 times all the time same error .
 So i try to change ftp server still same error
 look like there is an error while installing php
 Can somebudy help me please

This is like calling a mechanic and saying, My car is making a strange
noise. What's wrong with it?.

Some specifics would be helpful.

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


Re: Perl 5.8.2 problems (was Re: how to build Spamassassin)

2003-12-11 Thread Matthew Seaman
On Thu, Dec 11, 2003 at 09:56:27AM -0800, Tony Jones wrote:
  
   why is it in /usr/local/perl/bin? As far as I have seen, the ports 
   collection doesn't do that. did you install as a port (make install in 
   /usr/ports/lang/perl5.8)?
  
  Yes.  make install PREFIX=/usr/local/perl
 
 I of course also did 'make PREFIX=/usr/local/perl' before doing the install.

The main reason for doing that sort of thing with most unixoid systems
is that using a unique prefix for every software package you install
means that you can easily identify which files belong to what package
when later on it comes time to update things.

However, you don't have to do it that way on FreeBSD -- the ports
system itself keeps track of where all of the installed files come
from.  Following the defaults -- that is, using the prefixes
/usr/local or /usr/X11R6 -- means that all the binaries will appear in
locations that are already on user paths, and dependent software
packages will be able to find shared libraries to link against.

But then again, it's your system and you can do what you like with it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: List Failures

2003-12-11 Thread Matthew Seaman
On Thu, Dec 11, 2003 at 09:45:53AM -0600, Eric F Crist wrote:
 Is there something in the list configuration to prevent Outlook MIME or
 html messages?  I think I finally got it fixed so I can post.

Yes: See Section C.1.4 in


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL

Although messages should just be converted to plain text, rather than
being bounced.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: kernel tcp connection logging

2003-12-11 Thread Matthew Seaman
On Thu, Dec 11, 2003 at 10:43:59AM -0700, David Bear wrote:
 I'm runnining a generic release-4.7 kernel.  at some point I must have
 set some sysctl option because I get a lot of message like:
 
 Dec 11 10:35:18 recsrv1 /kernel: Connection attempt to TCP
 129.219.208.171:135 from 129.219.90.69:4449
 Dec 11 10:35:19 recsrv1 last message repeated 2 times

No -- that's not your fault at all.  You're being scanned by Windows
machines infected with the MS-BLASTER worm or something like it that
is attempting to exploit the RPC DCOM buffer overflow vulnerability -- see


http://www.microsoft.com/technet/treeview/?url=/technet/security/bulletin/MS03-039.asp

or search for MS-BLAST on any of the anti-virus verndors' sites.
 
 I am using log_in_vain='1' in rc.conf but, do have samba listening on
 port 135.  
 
 Any way I can quash these messages?

Unplug your system from the internet?  Or sit back, comfortable in the
knowledge that even if your firewall wasn't blocking the packets,
you'ld still be invulnerable to being exploited.  Develop a nice sense
of Schadenfreude, then come to the uncomfortable realization that the
machines taken over by this worm generally get turned into zombie spam
engines from hell...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


USB Web Cam

2003-12-11 Thread Bryan Cassidy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

How does one go about configuring and using a usb wecam? I want to take
a couple of pictures but not sure how to go about doing this. Here is
the output from dmesg for my webcam

ugen0: Logitech Camera, rev 1.00/1.00, addr 3

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

iD8DBQE/2Nmpm8uTTHnDH3ERAnXoAKDPFrWV7xQxNfEATX1gJA8AcXjuYACgjK9V
7SJS7LWSBeTpLyguOIIAVuA=
=kJ3e
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dd of mounted filesystem

2003-12-11 Thread Dru

Can anyone describe or point me to resources explaining why it is
dangerous to dd a filesystem while it is mounted? Is it still considered
to be dangerous if the system is first dropped down to single-user mode?

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


Re: umounting /

2003-12-11 Thread Dan Strick
On Thu, 11 Dec 2003, [EMAIL PROTECTED] wrote:

 Is this the only way to unmount the root filesystem:

 umount -a

 When I try umount /, I get this error:

 umount: unmount of / failed: Invalid argument

 The manpage doesn't give any hints on why that argument is invalid...


From the unmount(2) man page:
...
The unmount() function may fail with one of the following errors:
...
[EINVAL]   The requested directory is not in the mount table.

Without reading kernel source I can only speculate that the man page
is correct and the root file system is not in the kernel mount table.
This is plausible if not actually expected since the root file system
is not actually mounted on anything.

Even if it were in the kernel mount table, you couldn't unmount it
because it would always be busy.  If there were any other mounted
file systems, at least one of them would have to be mounted on the
root and that would make the root busy.  If there were no other
mounted file systems, then the current working directory of every
active process (including the one issuing the unmount() system
call) would have to be somewhere in the root and that would make
the root busy.

You can't unmount the root file system.  Even the mere notion makes
me feel a little queasy.

I have to give you big points for originality. :-)
(Why did you *want* to unmount the root?  To fsck it or dump it?)

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


Re: Question about ports... [postnuke]

2003-12-11 Thread Matt Staroscik
 I am want to install postnuke but when-ever I go to do make under
 /usr/port/www/postnuke, it wants to install mod_php4 again, I don't want
 to have to reinstall ports everytime I add something new.

I recently installed PHPNuke and have some observations that might be
relevant to your situation.

1. The version in ports may be behind what is on the project web site.

2. Installing a PHP app from a tarfile is pretty easy, so if ports isn't
cooperating, go to the source. You'll probably just need to edit the
config file with your SQL login info and the user/group that the web
server runs as (probably nobody/nogroup).

Good luck!

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


Re: dd of mounted filesystem

2003-12-11 Thread Matthew Seaman
On Thu, Dec 11, 2003 at 02:54:12PM -0500, Dru wrote:

 Can anyone describe or point me to resources explaining why it is
 dangerous to dd a filesystem while it is mounted? Is it still considered
 to be dangerous if the system is first dropped down to single-user mode?

I assume you're talking about dd of the filesystem block devices,
rather than anything else.

dd'ing from a mounted filesystem is generally safe, although you won't
get any sort of sensible result unless the source filesystem is
inactive -- remounting the FS read-only should be sufficient.

Using dd(1) to write to the block device of a mounted filesystem will
at minimum create a horrible mess and at worst could well crash the
machine.

Remember that dd(1) traverses the block device sequentially, but that
most FS accesses are random, so any particular change can span either
side of dd(1)'s offset.  Also that dd'ing from the block device
bypasses the usual machinery for doing file IO -- machinery that is
designed under the premise that it will have sole control over what
gets read or written where and when.

dd'ing to a mounted filesystem will overwrite the original inode
structure, but the dd(1) process is going to be competing with the
buffer cache, which will tend to write data back using it's cached
version of the previous structure.  You'll end up with a mess that
fsck(1) probably couldn't sort out.  Even if the target FS is mounted
read-only the filesystem code will still probably throw a wobbly when
it finds the disk contents have been changed out from underneath it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: dd of mounted filesystem

2003-12-11 Thread Dan Nelson
In the last episode (Dec 11), Matthew Seaman said:
 On Thu, Dec 11, 2003 at 02:54:12PM -0500, Dru wrote:
  Can anyone describe or point me to resources explaining why it is
  dangerous to dd a filesystem while it is mounted? Is it still
  considered to be dangerous if the system is first dropped down to
  single-user mode?
 
 Remember that dd(1) traverses the block device sequentially, but that
 most FS accesses are random, so any particular change can span either
 side of dd(1)'s offset.  Also that dd'ing from the block device
 bypasses the usual machinery for doing file IO -- machinery that is
 designed under the premise that it will have sole control over what
 gets read or written where and when.

On current you can get around the consistency problem by dd'ing a
snapshot of the filesystem, just like dump's -L flag does.

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


Re: dd of mounted filesystem

2003-12-11 Thread Drew Tomlinson
- Original Message - 
From: Dru [EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 11:54 AM

 Can anyone describe or point me to resources explaining why it is
 dangerous to dd a filesystem while it is mounted? Is it still
considered
 to be dangerous if the system is first dropped down to single-user
mode?

I'm guessing between this thread and your unmounting / thread that
you're attempting to duplicate your root drive?  I just tried this in
single user mode a few days ago with dd and it didn't work.  The
resulting file system was dirty so I used 'fsck' to clean it.  The
results were a complete unusable mess.

I tried another method described in my thread Trouble Adding New Boot
Drive but couldn't quite get it right.  However I think I'm overlooking
something quite simple.  You might like to look over the steps I took
and see if they make sense.  Then if you get it to work, I'd be most
appreciative if you'd let me know what I missed.  I'll send the message
to you if you want.

Good Luck!

Drew

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


strange kernel problem

2003-12-11 Thread Chris McGee

The machine I'm having problems with seems to boot normally and will
operate normally for a couple of minutes, a couple of hours, but it seems
to vary.  When the machine fails, the console displays this:

Dec 11 11:38:50 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from LVD to HVD.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS reset
detected.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from HVD to HVD.
Dec 11 11:41:05 out3 /kernel: noperiph:sym0:0:-1:-1): SCSI BUS mode change
from LVD to LVD.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from LVD to HVD.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS reset
detected.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from LVD to HVD.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from LVD to LVD.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from LVD to HVD.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS reset
detected.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from LVD to HVD.
Dec 11 11:41:05 out3 /kernel: (noperiph:sym0:0:-1:-1): SCSI BUS mode
change from LVD to LVD.


Pages and pages of these errors.  I believe this machine has an intel
motherboard and P3 processor, 1Gig of ram and Tekram DC390u2w scsi card in
it.  I have tried swapping the hard drive with a new drive and got the
same result.  Any suggestions?

Chris

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


When FreeBSD have higer performans than Linux and When Linux have higher performans than FreeBSD

2003-12-11 Thread Vahric MUHTARYAN
Hi Everybody ,


I red Explaining BSD documents and on 4.7 Which should I use , BSD or
Linux section it said that  BSD systems , in particular FreeBSD , can have
notably higer performans than Linux but this is not accross the board In
many cases , there is little or no difference in performans. In some cases ,
LInux may performa better than FreeBSD .

*Now , I wonder When or Which situations FreeBSD have more performans
than Linux ?!


*I wondor too When or Which situations Linux have more performasn than
FreeBSD ?!


I used Linux too much but I never use FreeBSD in production Env. because
of this I can't compare it

Thanks
Vahric


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


configuration info for NUT

2003-12-11 Thread David Bear
I just installed nut.  however, I can seem to find how it was
'configured', ie per the instructions from the net website.  So, I
don't know where the man pages were placed, I don't know what the nut
user/group is etc.   Any pointers?

I am using an APC smartups connected with a usb monitor cable.  Any
configuration samples for usb monitor would be appreciated.  thanks.

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl 5.8.2 problems (was Re: how to build Spamassassin)

2003-12-11 Thread Tony Jones

 The main reason for doing that sort of thing with most unixoid systems
 is that using a unique prefix for every software package you install
 means that you can easily identify which files belong to what package
 when later on it comes time to update things.

I understand this, but I still like the seperation.
Were I installing a package, I'd understand having to operate within the
confines of someone elses location scheme, BUT I'm building from source
for gods sake.  Being able to change the base prefix of the port install
seems like a pretty basic piece of functionality. Obviously there are some
exceptions, but it would be easy for the port to inform you if PREFIX could
not be changed in the environment.

I did a 'make install' on portupgrade,  didn't realize I'd have to install
ruby to install perl :-) Grief.

Then I found my problem.  My stock shell was ksh, obtained from research.att.com
many moons ago.  It was doing some odd stuff with the environment (not via any
dotted scripts).  perl -v would work in ksh but once I su'd to root (csh) 
something was messed up.   Shrug.  chsh to sh or csh seems to work for that
shell and also when su'ing to root. With my /usr/local/perl prefix and all.  

Thanks for everyones help  chastisement :-))

tony


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


last question about up-to-date ( I hope )

2003-12-11 Thread Vahric MUHTARYAN
Hi ,

For keep up to date FreeBSD I think all people are using source update
method ( When I sent a message to list almost everybody adviced this ) Only
one person said that binary update but this is not recommanded because
compiled version always work better and I saw that compile update program is
not working quickly because  Colin Percival waiting lest version 


I'm just wonder Why patching is not used instead of source update..
it's patching source tree too for security bugs ... I checking output of the
cvsup -g -L 2 stable-supfile command . it's only download openssh , bind and
like this almost what writen in security advisories .

if you said soruce-update method more then security update Thats Okey .
But I want to know or understand if I don't want to use new features and
only interest with security updates ( patch updates ) Why patches does not
enough ?!


Vahric

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


Re: last question about up-to-date ( I hope )

2003-12-11 Thread Cordula's Web
 I'm just wonder Why patching is not used instead of source update..
 it's patching source tree too for security bugs ... I checking output of the
 cvsup -g -L 2 stable-supfile command . it's only download openssh , bind and
 like this almost what writen in security advisories .

Personally, I prefer to have the current sources on the machine,
so I can examine security breaches etc...

But the main advantage is that downloading source diffs requires
much less bandwidth than, say, newly compiled binaries. Tracking
-STABLE or -CURRENT with cvsup via a 56k modem line is a viable
option. I wouldn't like to download big binaries everytime a
small patch fixes something.

-- 
Cordula's Web. http://www.cordula.ws/

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


About FreeBSD more then Kernel

2003-12-11 Thread Vahric MUHTARYAN
Hi Everybody  ,

I asked before why FreeBSD is more then Kernel , people in the list
gived different answer and I checked Explaining BSD . it comes to me this
subject was coming from the pest ATT , UNIX and BSD . I know that it's not
available now but SCO UNIX was coming like this some programs are installed
when you install OS first time . I think FreeBSD is like this because
something are coming inside .
Please correct me if I mis know or understood this subject ?!

Thanks ...
Vahric



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


Advice on a DVD burner compatible with FreeBSD

2003-12-11 Thread Bill Moran
I'm helping a client set up a backup system based on FreeBSD where archive
copies will be burned to CD or DVD (depending on the space required).
He's looking at a LG 2X DVD burner.  I guess the price is right.

Does anyone have any experience with this particular unit working or not
working under FreeBSD 4.9?
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ufs problem (mounting ufs under linux-2.6.0-test11)

2003-12-11 Thread Jan . Stary
Hello,

I don't seem to be able to mount the FreeBSD-5.1-RELEASE's ufs
partition in linux-2.6.0-test11, which occupies another partition
on the same machine (which is Acer Aspire 1304XC).

Has the ufs format changed in 5.1? I specify ufstype=44bsd in
the mount command.

Thank you

Jan

: Disk /dev/hda: 20.0 GB, 20003880960 bytes
: 16 heads, 63 sectors/track, 38760 cylinders
: Units = cylinders of 1008 * 512 = 516096 bytes
:
:Device BootStart   EndBlocks   Id  System
: /dev/hda1 1 29064  14648224+  83  Linux
: /dev/hda2 29065 30056499968   82  Linux swap
: /dev/hda3   * 30057 38760   4386816   a5  FreeBSD

:My partition is not beyond 2 GB, but your configuration should currently
:not be a problem. The linux IDE driver has LBA support.
:
: [EMAIL PROTECTED]:root# mount -t ufs -o ro,ufstype=44bsd /dev/hda3 /mnt/bsd
: ufs_read_super: bad_magic_number
: mount: wrong fs type, bad option, bad superblock on /dev/hda3,
:or too many mounted file systems
:
:Enabling UFS_SUPER_DEBUG_MORE in /usr/src/linux/fs/ufs/super.c
:and compiling a new kernel could give us maybe some detailed information.

Here it goes (/var/log/syslog):

Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 493), ufs_fill_super: ENTER
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 501), ufs_fill_super: flag 1
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 282), ufs_parse_options: ENTER
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 540), ufs_fill_super: ufstype=44bsd
Dec 11 12:28:53 localhost kernel: ufs_read_super: bad magic number
Dec 11 12:28:53 localhost kernel: (fs/ufs/super.c, 886), ufs_fill_super: EXIT (FAILED)

:ufs_read_super: bad_magic_number is a very odd behaviour :-(

Yes. I am using the partition for my BSD boots happily, though -
maybe the ufs has changed in freebsd 5.1 ? I will ask on the BSD
list.

Thanks for your time, Heiko.

Jan

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


Powering off after shutdown...

2003-12-11 Thread ander Sendzimir
I have an Intel MS440GX motherboard and I can't find any information on 
the net regarding its soft power off feature which I believe it has (I 
could be wrong).

When I issue the command

shutdown -p now

the system shuts down normally. However, I have to manually turn the 
power off. Does anyone know how to get the system to turn power off? I 
have wake-on-lan working. So, this is the other end of the process.

Thanks,

Alex

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Alexander Sendzimir 802 863 5502
 Mac Tutor of Vermont  info @ mactutor . vt . us
  Colchester, VT 05446
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Notebook Mouse and 5.x

2003-12-11 Thread Gautam Gopalakrishnan
On Thu, Dec 11, 2003 at 07:29:55AM -0800, Minnesota Slinky wrote:
 working ok, but I can't get my PS/2 port or the
 integrated touchpad to work. Does anyone have any

Is this what you're looking for?
http://www.xfree86.org/4.3.0/mouse.html

Gautam

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


Re: Question about ports... [postnuke]

2003-12-11 Thread HOLLOW, CHRISTOPHER
Given PHPNuke's security track record, I would say that this is sound 
advice.  I would suggest going from the latest source as well.

Chris

Matt Staroscik wrote:

I am want to install postnuke but when-ever I go to do make under
/usr/port/www/postnuke, it wants to install mod_php4 again, I don't want
to have to reinstall ports everytime I add something new.
 

I recently installed PHPNuke and have some observations that might be
relevant to your situation.
1. The version in ports may be behind what is on the project web site.

2. Installing a PHP app from a tarfile is pretty easy, so if ports isn't
cooperating, go to the source. You'll probably just need to edit the
config file with your SQL login info and the user/group that the web
server runs as (probably nobody/nogroup).
Good luck!

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

--
Christopher Hollow - Technical Consultant
Infrastructure  Technology Support
Toronto, ON


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


Re: umounting /

2003-12-11 Thread Matthew Hunt
On Thu, Dec 11, 2003 at 11:55:22AM -0800, Dan Strick wrote:

 (Why did you *want* to unmount the root?  To fsck it or dump it?)

Forcing it to be remounted read-only may help in such cases.

wopr:~# mount -u -o ro -f /
wopr:~# mount
/dev/da0s1a on / (ufs, local, read-only)
/dev/da0s1f on /home (ufs, local, soft-updates)
/dev/da0s1e on /usr (ufs, local, soft-updates)
mfs:20 on /tmp (mfs, asynchronous, local, nosuid)
procfs on /proc (procfs, local)

-- 
Matthew Hunt [EMAIL PROTECTED] * Salvage, like other forms of virtue, is
http://www.pobox.com/~mph/   * its own reward.  -George Reamerstaff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Powering off after shutdown...

2003-12-11 Thread Charles Swiger
On Dec 11, 2003, at 5:32 PM, Alex (ander Sendzimir) wrote:
When I issue the command

shutdown -p now

the system shuts down normally. However, I have to manually turn the 
power off. Does anyone know how to get the system to turn power off? I 
have wake-on-lan working. So, this is the other end of the process.
You didn't mention which version of FreeBSD you were using, but the 
capability you're asking about depends on having APM (4.x) or APCI 
(5.x) configured.  Change this line in the GENERIC kernel:

# Power management support (see LINT for more options)
device  apm0at nexus? disable flags 0x20 # Advanced Power 
Management

...to enable and rebuild your kernel.

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


Re: a technical how to

2003-12-11 Thread David Carter-Hitchin
Hiya,

no-one has mentioned 'head' yet:

head -100 file  newfile

to save the first 100 lines of file into newfile.

You can also use a combination of head and tail to take a portion of the
file, e.g:

head -100 file | tail -3  newfile

to save off lines 98,99 and 100 of file into newfile.  I've known this to
be useful when trying to extract certain lines from mammoth files.

If, by a certain point you meant, for example, up to some general regex
then you could employ some perl:

cat file | perl -e 'while () { exit if /REGEX/; print }'  newfile

I know you can do similar things in sed and awk, but I don't know the
syntax off the top of my head, and don't have my notes to hand.

David



On Tue, 9 Dec 2003, Charles Swiger wrote:

 On Dec 8, 2003, at 8:51 PM, homeyra g wrote:
  Here is the question: How to truncate a file from the
  begining to a certain point in the file?

 The question is whether this file is ASCII text so line-based tools
 (such as tail) work, or whether you are truncating a binary file, in
 which case split -b is probably a better bet.

 If you've got a logfile named /var/log/messages, and you want to
 truncate that to the last 100 lines:

 mv /var/log/messages /var/log/messages.$$
 tail -100  /var/log/messages.$$  /var/log/messages
 rm -f /var/log/messages.$$

 Use wc -l and grep -n to identify where to truncate the file if
 it's not a fixed size that you want...

 --
 -Chuck

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


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


RE: scp between windows and freebsd

2003-12-11 Thread KURT BUFF
Thank you Malcom!

I've found that specifying another account (didn't want to enable remote
root login) and putting either authorized_keys or authorized_keys2 into
the proper directory worked like a champ.

On to more and better work.

Kurt

|
| On Thu, 11 Dec 2003 07:20, KURT BUFF wrote:
|  All,
| 
|  I'm following the directions here:
| 
|  http://www.unixwiz.net/techtips/postfix-exchange-users.html
| 
|  to improve the gateway to our Exchange box, and am stuck on
| a particular
|  step.
| 
|  I just can't seem to make the Putty SCP work from my workstation.
| 
|  I used Putty's window copy function to paste into vi to
| create the .pub
|  file, then used the command line:
| 
|  ssh-keygen -i -f /tmp/exchupdate.pub 
| /root/.ssh/authorized_keys2
| 
|
| Later versions of OpenSSH expect all keys in authorized_keys including
| protocol level 2. Which version do you have?
|
|  on the FreeBSD box per the instructions to convert to an
| openssh key,
|  then use the following command line to do the copy:
| 
|  pscp -2 -i exchupdate.ppk exchusers.txt [EMAIL PROTECTED]:/etc
| 
|
| Are you aware that by default sshd does not accept
| connections to user root?
| You must set this specifically in /etc/sshd_config.
|   PermitRootLogin yes
|
| Possibly one of these (or both) is your problem. But then again
| it might be something quite different.
|
| Malcolm
|





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


Re: a technical how to

2003-12-11 Thread David Carter-Hitchin
no-one has mentioned 'head' yet:

head -100 file  newfile

to save the first 100 lines of file into newfile.

You can also use a combination of head and tail to take a portion of the
file, e.g:

head -100 file | tail -3  newfile

to save off lines 98,99 and 100 of file into newfile.  I've known this to
be useful when trying to extract certain lines from mammoth files.

If, by a certain point you meant, for example, up to some general regex
then you could employ some perl:

cat file | perl -e 'while () { exit if /REGEX/; print }'  newfile

I know you can do similar things in sed and awk, but I don't know the
syntax off the top of my head, and don't have my notes to hand.

David

On Tue, 9 Dec 2003, Charles Swiger wrote:

 On Dec 8, 2003, at 8:51 PM, homeyra g wrote:
  Here is the question: How to truncate a file from the
  begining to a certain point in the file?

 The question is whether this file is ASCII text so line-based tools
 (such as tail) work, or whether you are truncating a binary file, in
 which case split -b is probably a better bet.

 If you've got a logfile named /var/log/messages, and you want to
 truncate that to the last 100 lines:

 mv /var/log/messages /var/log/messages.$$
 tail -100  /var/log/messages.$$  /var/log/messages
 rm -f /var/log/messages.$$

 Use wc -l and grep -n to identify where to truncate the file if
 it's not a fixed size that you want...

 --
 -Chuck

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


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


puc driver -- config problem?

2003-12-11 Thread David Brodbeck
I'm sure this is something really simple I'm missing, but after an hour of 
tinkering and doing Google searches I'm at a loss.

I'm running FreeBSD 4.8-RELEASE on an Alpha.  I just installed an NM9835 
2-port PCI serial card.  I added 'device puc' to my kernel configuration 
file, as suggested in 'man puc', but when I run config I get this error:

Warning: device puc is unknown

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


Laptop for unique educational project.

2003-12-11 Thread Norm Miller
Greetings,
In March I will be retracing the Lewis  Clark route solo by canoe from Illinois to 
the Pacific. I have created an educational web site called In The Wake Of Discovery 
and will involve schools, organizations, history buffs or anyone with Internet access. 
I will be documenting the LC trail as it appears today during the bicentennial 
celebration of that famous endeavor. My web site: http://www.lewisandclark-2004.com  
will be updated from remote areas along the trail. I am in hopes of finding a donor of 
a laptop to be used to bring this journey to those that follow. Do you know of any 
individuals or organizations who would contribute the use of a laptop? It will be 
returned upon the completion of this project in October of 2004. I can provide the 
donor with written testimonial, photos of their product in use, web site links to 
their company, and mention their contribution to any media I encounter.
This is  a unique educational endeavor. The LC bicentennial will be the first 
bicentennial to be celebrated on the World Wide Web. It is anticipate that over 25 
million people will partake in some form of LC exhibit, reenactment, site, or other 
educational display over the next three years.
It is my hope you can help provide me with information on where I may be able to 
obtain this donation.
Thank You for your help in this matter. I hope you join me begining in March of 2004.
Regards,
Norm Miller
In The Wake Of Discovery~ 2004 Lewis Clark Bicentennial Expedition
P.O. Box 2004
Livingston, MT  59047
406.222.8016
www.lewisandclark-2004.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Powering off after shutdown...

2003-12-11 Thread Tijl Coosemans
On Thu, 11 Dec 2003 17:42:48 -0500, Charles Swiger wrote:

 # Power management support (see LINT for more options)
 device  apm0at nexus? disable flags 0x20 # Advanced Power 
 Management
 
 ...to enable and rebuild your kernel.

I don't know about 5.x, but in 4.x you also need apm_enable=YES in
/etc/rc.conf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/ports/java/jdk13 - make all dumps - any suggestions ?

2003-12-11 Thread Richard Shea
Hi - I'm trying to get the JDK working on FreeBSD 4.8. I have CVSUP'd the
ports tree and am following the instructions on
http://www.osnews.com/story.php?news_id=3558 (for which I'm grateful !).

My current problem is that when I do  make all install clean in
/usr/ports/java/jdk13 we get to a certain point and the process abends
and I end up with javac.core file in
/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm. The error message
appears below, if anyone can suggest what to do next I'd appreciate it.
Thanks ...

Recursively making jvm all @ Fri Dec 12 12:28:33 NZDT 2003 ...
gmake[2]: Entering directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm'
gmake ../../../build/bsd-i386/lib/i386/classic/libjvm.so VARIANT=OPT
gmake[3]: Entering directory
`/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm'
/bin/mkdir -p ../../../build/bsd-i386/lib/i386/classic
/usr/bin/sed s/by ;/by :/ ../../../src/share/javavm/include/Xusage.txt
 ../../../build/bsd-i386/lib/i386/classic/Xusage.txt
/bin/mkdir -p ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj
/bin/mkdir -p ../../../build/bsd-i386/classes
rm -f ../../../build/bsd-i386/tmp/java/java.lang/jvm/.classes.list
if [ -s ../../../build/bsd-i386/tmp/java/java.lang/jvm/.classes.list ] ;
\
then /usr/local/diablo-jdk1.3.1/bin/javac -J-Xmx64m  -classpath
../../../build/bsd-i386/classes -bootclasspath  -sourcepath
../../../build/bsd-i386/gensrc:../../../src/solaris/classes:../../../src/share/classes
-d ../../../build/bsd-i386/classes  \
../../../src/share/classes/java/io/InputStream.java
../../../src/share/classes/java/lang/Boolean.java
../../../src/share/classes/java/lang/Byte.java
../../../src/share/classes/java/lang/Character.java
../../../src/share/classes/java/lang/Class.java
../../../src/share/classes/java/lang/ClassLoader.java
../../../src/share/classes/java/lang/Double.java
../../../src/share/classes/java/lang/Float.java
../../../src/share/classes/java/lang/Integer.java
../../../src/share/classes/java/lang/Long.java
../../../src/share/classes/java/lang/Object.java
../../../src/share/classes/java/lang/Runtime.java
../../../src/share/classes/java/lang/Short.java
../../../src/share/classes/java/lang/StackOverflowError.java
../../../src/share/classes/java/lang/String.java
../../../src/share/classes/java/lang/Thread.java
../../../src/share/classes/java/lang/ThreadGroup.java
../../../src/share/classes/java/lang/Throwable.java
../../../src/share/classes/java/lang/ref/Reference.java
../../../src/share/classes/java/lang/ref/SoftReference.java
../../../src/share/classes/java/lang/reflect/Field.java
../../../src/share/classes/java/lang/reflect/Method.java
../../../src/share/classes/java/lang/reflect/Constructor.java
../../../src/share/classes/java/lang/reflect/InvocationTargetException.java
../../../src/share/classes/java/security/AccessControlContext.java
../../../src/share/classes/java/util/Properties.java
../../../src/share/classes/sun/io/ByteToCharConverter.java
../../../src/share/classes/sun/io/CharToByteConverter.java
../../../src/share/classes/sun/misc/VM.java ; \
fi
SIGILL4*   illegal instruction

Full thread dump Classic VM (diablo-1.3.1-0, green threads):
Finalizer (TID:0x28d6a528, sys_thread_t:0x80d6080, state:CW) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
at
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
Reference Handler (TID:0x28d6a300, sys_thread_t:0x8097480,
state:CW) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at
java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
Signal dispatcher (TID:0x28d6a330, sys_thread_t:0x8097280,
state:CW) prio=5
main (TID:0x28d6a1b0, sys_thread_t:0x8055080, state:R) prio=5
at java.lang.Long.parseLong(Long.java:299)
at
com.sun.tools.javac.v8.util.Convert.string2long(Convert.java:41)
at com.sun.tools.javac.v8.parser.Parser.literal(Parser.java:280)
at com.sun.tools.javac.v8.parser.Parser.term3(Parser.java:630)
at com.sun.tools.javac.v8.parser.Parser.term2(Parser.java:472)
at com.sun.tools.javac.v8.parser.Parser.term1(Parser.java:441)
at com.sun.tools.javac.v8.parser.Parser.term(Parser.java:382)
at com.sun.tools.javac.v8.parser.Parser.term(Parser.java:365)
at
com.sun.tools.javac.v8.parser.Parser.expression(Parser.java:355)
at
com.sun.tools.javac.v8.parser.Parser.variableInitializer(Parser.java:1118)
at
com.sun.tools.javac.v8.parser.Parser.variableDeclaratorRest(Parser.java:1636)
at
com.sun.tools.javac.v8.parser.Parser.variableDeclaratorsRest(Parser.java:1607)
at


Re: Terminal setting

2003-12-11 Thread David Carter-Hitchin
Greetings,

There are (at least) two sides to this problem.  Firstly you must ensure
the FreeBSD is using the right keymap for your country and keyboard.  For
example to get my standard UK keyboard working I had to put the following
line in my configuration:

/etc/rc.conf.local:keymap=uk.iso.kbd

(and reboot)  Alternate keymaps are stored under:

/usr/share/syscons/keymaps

I don't see one that begins with ir, but you may find one close enough,
and you can always make your own.  They are ascii files so you can read
how they're structured.  man keyboard would be an admirable starting
place to read about such things.

Once I had done this all those really useful characters like # @  \ and ~
were in the right places on the keyboard (where the keys advertised they
were).

I also had to tell X about my keyboard:

Option XkbLayout uk.iso.kbd

(That style of option may be different in your version of X - check the
man pages - they've changed during the last major release).

If that doesn't fix your problem (which it may do) then we need to know
which terminal program you are using - is it the console or an xterm
window within X?  If its an X program then it could be the bindings, which
can be changed.

On *any* terminal you can normally fix the back space by doing this:

stty erase [Backspace][Return]

That's two keystrokes at the end there, not the literal characters '[ B a
c...' This has the effect that the terminal settings will delete a char
from your current line when you hit the backspace key.

In Emacs you can nearly always work around not having the meta key by
typing ESC-x (Emacs then kindly prompts with M-x)

Syntax highlighting is another kettle of fish.  First check is to ensure
your terminal supports colour - can you see any colours of any description
there (such as the FreeBSD install screens)?  Emacs you explicity have to
switch it on (Help | Options | Global Font Lock..) - maybe on another
version you had that was set in your $HOME/.emacs file.  vim I got that
working once, but I forget how off the top of my head...  I'm not really a
fan of vim (except for very large files which vim handles so much better
than vi - in fact it handles them full stop, vi just dies after a
certain size).

HTH
David

On Wed, 10 Dec 2003, Hossein wrote:

 Hello;
   My FreeBSD box is going to serve some young shell users who have
 begun with Linux. In order to atract them it mustbe as good looking as a
 Linux system but I am having serious peroblem with my terminal settings.
 Some vary important keys such as Back Space, home, end and ... don't work
 in editors such as vim. For example in Emacs the Alt key does not work.   Also
 editors such as vim and Emacs do not show syntax highlighting and so on.

   Can anybody help me with this problem.

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


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


Re: CVSUPIT pkg_add 90% good/10% strange

2003-12-11 Thread Richard Shea

On Tue, 9 Dec 2003 10:41:50 -0800, Chris Pressey
[EMAIL PROTECTED] said:
 On Tue, 09 Dec 2003 15:14:38 +1300
 Richard Shea [EMAIL PROTECTED] wrote:
 
  
  On Mon, 8 Dec 2003 15:40:39 -0800, Chris Pressey
  [EMAIL PROTECTED] said:
   On Tue, 09 Dec 2003 12:00:15 +1300
   Richard Shea [EMAIL PROTECTED] wrote:
   [...]
===   Generating temporary packing list
** Missing package files for cvsupit-3.1.
*** Error code 1

... mean the machine is in a good state or a bad state (.. ah, the
eternal question :-)
   
   Hm, I would say a bad state, but not *very* bad.  Looks like cvsupit
   is partially installed?  You might be able to fix it up by running
   
 pkg_delete cvsupit-3.1
   
   which should delete any files that were installed by the cvsupit
   package (and possibly give you some warnings when trying to delete
   ones that weren't.)
   
  That's a good idea, I hadn't thought of it. However strange stuff
  persists because when I tried that I got ...
  
  trinidad# pkg_delete cvsupit-3.1
  pkg_delete: no such package 'cvsupit-3.1' installed
  
  ... - that's even though it just ran ! I then started looking in to
  the relevant ports directory and this is what I saw ...
  
  trinidad# pwd
  /usr/ports/net/cvsupit
  trinidad# ls
  work
  trinidad# cd work
  trinidad# ls -l
  total 0
  -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .build_done.cvsupit-3.1
  -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .configure_done.cvsupit-3.1
  -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .extract_done.cvsupit-3.1
  -rw-r--r--  1 root  wheel  0 Dec  7 22:59 .patch_done.cvsupit-3.1
  trinidad#
  
  ... I take it those files are used as a form of logging ?
 
 Sort of.  They're little 'cookies' that help indicate which phases have
 been completed thus far, to the ports 'make' scripts.
 
  So on the
  one hand it's 'build_done' but on the other hand pkg_delete doesn't
  know about the package !
 
 Not too surprising; if the install had completed sucessfully, there'd be
 a '.install_done.cvsupit-3.1' file there too.
 
  Just did a ...
  
  trinidad# find / -name *vsupi* -print
  
  ... and didn't find anything elsewhere in the system either ... 
  
  All in all a bit of a mystery - anyone else fancy having a go at
  explaining what might have happened or what it all means ;-)
 
 Most likely, it built cvsupit sucessfully, then went to install it, but
 found something it didn't like, so it stopped there.
 
 Chances are it stopped before it installed anything - especially in
 light of your find command.  In which case, your system isn't in a bad
 state after all.
 
 But if you want to be *really* certain, have a look at
 /usr/ports/net/cvsupit/pkg-plist.  It should contain a list of all the
 files the port wanted to install.  You can search for each of them in
 your system, and delete them if you find them.

Hi Chris -  Thanks for the advice and sorry for the delay. I've taken a
look in /usr/ports/net/cvsupit but pkg-plist does not exist so given all
the other factors I think I will conclude that things are probably OK.

I suppose one day I will crack this updating of FreeBSD machines. To date
I have been using FreeBSD for three years and I have two different
experiences 

(A) a machine I installed 3.x on three years ago have never touched since
and it runs beautifully (still I worry 
about security holes), everything I could ask for.

(B) two other machines I have installed 4.x on in the last 6 months
(both, to some degree 'play' machines). On both have attempted to update
sources etc via CVSUP and have never had anything but grief/pain/boredom.
I'm sure there are people out there who do this all the time and it all
works but I'm not one of them ! Maybe one day !

thanks again for your advice.

regards

richard.


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


Re: Powering off after shutdown...

2003-12-11 Thread ander Sendzimir
Yup.  I've recompiled my kernel with device apm0 and added 
appropriately to rc.conf. So, far no luck. Perhaps the motherboard 
doesn't support it. I need to track down the board's manual.

Thanks,

Alex

On Thursday, December 11, 2003, at 06:25  PM, Tijl Coosemans wrote:

On Thu, 11 Dec 2003 17:42:48 -0500, Charles Swiger wrote:

# Power management support (see LINT for more options)
device  apm0at nexus? disable flags 0x20 # Advanced Power
Management
...to enable and rebuild your kernel.
I don't know about 5.x, but in 4.x you also need apm_enable=YES in
/etc/rc.conf
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Alexander Sendzimir 802 863 5502
 Mac Tutor of Vermont, LLC info @ mactutor . vt . us
  Colchester, VT 05446
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Powering off after shutdown...

2003-12-11 Thread Chris Readle
I couldn't get this to work with my mobo(not the same brand) on 4.x as
well.  Now that I've upgraded to 5.1 it's working with no problems.

crr

--- Alex [EMAIL PROTECTED] wrote:
 Yup.  I've recompiled my kernel with device apm0 and added 
 appropriately to rc.conf. So, far no luck. Perhaps the motherboard 
 doesn't support it. I need to track down the board's manual.
 
 Thanks,
 
 Alex
 
 
 On Thursday, December 11, 2003, at 06:25  PM, Tijl Coosemans wrote:
 
  On Thu, 11 Dec 2003 17:42:48 -0500, Charles Swiger wrote:
 
  # Power management support (see LINT for more options)
  device  apm0at nexus? disable flags 0x20 # Advanced Power
  Management
 
  ...to enable and rebuild your kernel.
 
  I don't know about 5.x, but in 4.x you also need apm_enable=YES in
  /etc/rc.conf
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
 Alexander Sendzimir 802 863 5502
   Mac Tutor of Vermont, LLC info @ mactutor . vt . us
Colchester, VT 05446
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


startup scripts in /usr/local/etc/rc.d

2003-12-11 Thread David Bear
I am wondering if scripts in /usr/local/etc/rc.d MUST be owned by root
in order to be run.

If I have a daemon on want started, AND I want it to run as user
DORK, can I have the binary and the startscript owned by user DORK
in order to have it started that way?

the more I think about this, the more I get confused...

If a startup script lives in /usr/local/etc/rc.d does its ownership
determine the ownership of the process it starts?

or is the the owner of the binary the script starts that determines
the owner of the process

And, if it needs to change ownership, is it up to the program itself
to change who it runs as?  

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Powering off after shutdown...

2003-12-11 Thread Mark
- Original Message - 
From: Alex (ander Sendzimir) [EMAIL PROTECTED]
To: Tijl Coosemans [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 12:50 AM
Subject: Re: Powering off after shutdown...

  # Power management support (see LINT for more options)
  device  apm0at nexus? disable flags 0x20 #
  Management

 Yup.  I've recompiled my kernel with device apm0 and
 added appropriately to rc.conf. So, far no luck. Perhaps the
 motherboard doesn't support it. I need to track down the
 board's manual.

If I remember correctly, remove everything after nexus?. So that you will
keep only this:

device  apm0 at nexus?

That did the trick for me.

- Mark

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


Re: Powering off after shutdown...

2003-12-11 Thread jimmie james
I have an Intel MS440GX motherboard and I can't find
any information on 
the net regarding its soft power off feature which I
believe it has (I could be wrong).

I'm not sure what mine is, but it's from a Dell, and
all I really know about it, is it's an Intell too,
with Wake-on-LAN.

shutdown -p now

Used to work on this system around 4.6-STABLE, then
stopped for some reason, now, running 4.9-STABLE I've
removed APM from my kernel and added: 

device  acpica

Now, shutdown -p works again.  I don't know if that
will work for you too, but if you're upto it, it's
worth a shot.

Thanks,
Alex


Jimmie


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


CVSup to local copy

2003-12-11 Thread chael
Hello,

I need to update the sources of several servers in my network. I have already made a 
cvsup -g -L 2 cvs-supfile on one of the servers and placed all under /home/ncvs. Would 
anyone be so kind to tell me what to do next? Can't seem to find the concrete steps on 
the net. 

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


Bind a process to a specific CPU

2003-12-11 Thread twig les
Can anyone point me to a man page or something on how to bind a
specific process to a specific cpu?  I have a couple
non-multi-threaded programs to run on dual-CPU boxes and I'd
like to split them up as I see fit.  Thanks for anything.

Keith

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSup to local copy

2003-12-11 Thread Garance A Drosihn
At 9:00 AM +0800 12/12/03, [EMAIL PROTECTED] wrote:
Hello,

I need to update the sources of several servers in my network.
I have already made a cvsup -g -L 2 cvs-supfile on one of the
servers and placed all under /home/ncvs.
I assume that /home/ncvs is a directory that is NFS-exported
to all of your machines?
Btw, you do not have to put your local copy of the CVS repository
at /home/ncvs, even though that is the directory used for the
master copy.  However, you *do* want it to be on some directory
which is local to each of your machines (local as far as CVS
is concerned, I mean).  NFS-mounted is fine, I believe, but you
do not want to do 'cvs remote' operations with a repository the
size of FreeBSD.
Would anyone be so kind to tell me what to do next? Can't
seem to find the concrete steps on the net.
On each machine, log into root and:

First, create a ~/.cvsrc file with at least the following
two lines in it:
  checkout -P
  update -d -P
And then you can:
  cd /usr
  rm -Rf src
  cvs -d /home/ncvs checkout -r BLAH src
where the value of 'BLAH' will depend on which release you
want to run on that system.  RELENG_4 for stable, for
instance.  Or RELENG_4_9 for the 4.9-security branch.
Or RELENG_5 for the more-daring current branch.
Then you can 'cd /usr/src' and follow the standard
instructions for building from source.  Strictly speaking you
don't *have* to do the above as userid root, but you will have
to do the 'make installkernel' and 'make installworld' steps
as root.  You will want that ~/.cvsrc file in whatever userid
you use for checking-out or updating the src via 'cvs'.
Later on, when you want to update some system, you can just
   cd /usr/src
   cvs update
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: umounting /

2003-12-11 Thread Ian Dowse
In message [EMAIL PROTECTED], Dan Strick writes:
You can't unmount the root file system.  Even the mere notion makes
me feel a little queasy.

There is an explicit test in the kernel that stops you from unmounting
the root file system, I guess as an anti foot shooting measure. If
you disable that test then forcibly unmounting / works fine, but
normally init will promptly die because the vnode containing its
executable has disappeared.

The only case I've come across where the ability to unmount / would
be useful is for some kind of rescue or install CD that starts off
as the root filesystem but wants to switch over to the real root
fs allowing the CD to be removed. I've got this to work before by
changing init so that it re-execs itself upon receipt of a special
signal. Then you can mount the new root directly over /, send the
signal to init, and finally forcibly unmount the underlying /. There
are some necessary bits for this that are only in 5.x, such as the
ability to unmount by filesystem ID rather than by path.

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


/usr/ports/textproc/dict

2003-12-11 Thread Alex Wilkinson
Has anyone suceesfully got dict to work via a proxy ?

I can't seem to find anything that talks about connecting to a dict server via a proxy 
?

Thanks

 - aW

ps please CC me as I am not subscribed to the list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSup to local copy

2003-12-11 Thread Kevin D. Kinsey, DaleCo, S.P.
[EMAIL PROTECTED] wrote:

Hello,

I need to update the sources of several servers in my network. I have already made a cvsup -g -L 2 cvs-supfile on one of the servers and placed all under /home/ncvs. Would anyone be so kind to tell me what to do next? Can't seem to find the concrete steps on the net. 

Thanks.
___
 

Build world and mount /usr/obj of that box
on all others (at /usr/obj) via nfs, then complete the cycle
on each?
The basic steps are outlined in the FBSD Handbook,
chapter 21.3, 21.4, 21.5.
That last one is particularly aimed at your situation.

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


Re: Powering off after shutdown...

2003-12-11 Thread ander Sendzimir
Okay. I'll try again.

Alex

On Thursday, December 11, 2003, at 07:45  PM, Mark wrote:

- Original Message -
From: Alex (ander Sendzimir) [EMAIL PROTECTED]
To: Tijl Coosemans [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 12:50 AM
Subject: Re: Powering off after shutdown...
snip
If I remember correctly, remove everything after nexus?. So that you 
will
keep only this:

device  apm0 at nexus?

That did the trick for me.

- Mark


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Alexander Sendzimir 802 863 5502
 Mac Tutor of Vermont  info @ mactutor . vt . us
  Colchester, VT 05446
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2003-12-11 Thread Monique van Groeninge

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


RE: Notebook Mouse and 5.x

2003-12-11 Thread Minnesota Slinky
Thanks, but no.

I have always been able to get the mouse working, even in 5.x, but I
can't get my integrated mouse working/touchpad working for my laptop.  I
can occaisionally get an external PS/2 to work, but it's not stable.  I
have to have it plugged in before I boot.

TIA

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


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gautam
Gopalakrishnan
Sent: Thursday, December 11, 2003 4:33 PM
To: Minnesota Slinky
Cc: FreeBSD Questions
Subject: Re: Notebook Mouse and 5.x


On Thu, Dec 11, 2003 at 07:29:55AM -0800, Minnesota Slinky wrote:
 working ok, but I can't get my PS/2 port or the
 integrated touchpad to work. Does anyone have any

Is this what you're looking for? http://www.xfree86.org/4.3.0/mouse.html

Gautam

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


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


Re: Why userland , basesystem and Kernel are together?!

2003-12-11 Thread C. Ulrich
On Thu, 2003-12-11 at 14:08, Jerry McAllister wrote:
  
  I don't wish to get into a shouting match, but I don't think I
  completely agree with some of the things you say here.
  
 
 OK.  Well, just toddle on over to the advocacy list where this
 can more appropriately be hashed out.
 
 jerry

Jerry,

Actually, I didn't intend to post it to the list, I meant to send it
privately. After I had hit the Send button and realized what I had done,
I sent a follow up message apologizing for the off-topic nature of the
previous message. For whatever reason, *that* message didn't make it to
the list...

Charles Ulrich
-- 
http://bityard.net

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


RE: Laptop for unique educational project.

2003-12-11 Thread Minnesota Slinky
You know,

You _can_ buy a brand-new laptop from Gateway for about $600.  This
might be an easier way to go.  You also get to keep it when you're done
with your journey...

Good Luck!

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


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Norm Miller
Sent: Thursday, December 11, 2003 5:15 PM
To: [EMAIL PROTECTED]
Subject: Laptop for unique educational project.


Greetings,
In March I will be retracing the Lewis  Clark route solo by canoe from
Illinois to the Pacific. I have created an educational web site called
In The Wake Of Discovery and will involve schools, organizations,
history buffs or anyone with Internet access. I will be documenting the
LC trail as it appears today during the bicentennial celebration of
that famous endeavor. My web site: http://www.lewisandclark-2004.com
will be updated from remote areas along the trail. I am in hopes of
finding a donor of a laptop to be used to bring this journey to those
that follow. Do you know of any individuals or organizations who would
contribute the use of a laptop? It will be returned upon the completion
of this project in October of 2004. I can provide the donor with written
testimonial, photos of their product in use, web site links to their
company, and mention their contribution to any media I encounter. This
is  a unique educational endeavor. The LC bicentennial will be the
first bicentennial to be celebrated on the World Wide Web. It is
anticipate that over 25 million people will partake in some form of LC
exhibit, reenactment, site, or other educational display over the next
three years. It is my hope you can help provide me with information on
where I may be able to obtain this donation. Thank You for your help in
this matter. I hope you join me begining in March of 2004. Regards, Norm
Miller In The Wake Of Discovery~ 2004 Lewis Clark Bicentennial
Expedition P.O. Box 2004 Livingston, MT  59047 406.222.8016
www.lewisandclark-2004.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


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


Re: Question about ports... [postnuke]

2003-12-11 Thread Pete Renshaw
Did you try
make install FORCE_PKG_REGISTER=yes clean

See
http://www.freebsd.org/cgi/man.cgi?query=portsapropos=0sektion=0manpath=FreeBSD+5.1-RELEASE+and+Portsformat=html

Many people don't know to use the =yes for FORCE_PKG_REGISTER.

After you get Postnuke installed you may have to make these changes below.

 Using FreeBSD 5.1 and PHP 4.3 I had to delete the  from: setlocale
(LC_TIME, locale); To make it look like: setlocale (LC_TIME,
en_US.ISO_8859-1); and also replace setlocale (try man setlocale info)
From mainfile.php line 565

Pete
http://www.soupro.org/dim


On Thu, 11 Dec 2003 14:03:04 -0500, C. Ulrich wrote
 On Wed, 2003-12-10 at 12:04, Payne wrote:
  Hi,
  
  I am want to install postnuke but when-ever I go to do make under 
  /usr/port/www/postnuke, it wants to install mod_php4 again, I don't want 
  to have to reinstall ports everytime I add something new.
  
  Thanks,
  
  Payne

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


Re: cvsup from 4.7-REL to stable

2003-12-11 Thread Kris Kennaway
On Thu, Dec 11, 2003 at 02:23:17PM +0200, Adrian Pircalabu wrote:
 Hi, I have recently installed 4.7-REL succesfully. After that, I tried
 to run cvsup to RELENG_4 as in:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
 I intend to sync src and ports trees.
 After running cvsup, all content from /usr/ports (excepting distfiles
 and dirs. listed in /usr/sup/refuse) was erased. I'm missing something,
 so any help will be highly appreciated.
 Ran this:
 cvsup -g -L 4 /root/cvsupfile-modif
 
 /root/cvsupfile-modif looks like this:
 *default tag=RELENG_4
 *default host=cvsup1.ro.FreeBSD.org
 *default prefix=/usr
 *default base=/usr
 *default release=cvs delete use-rel-suffix compress
 
 src-all
 ports-all release=cvs
 ports-base release=cvs

This is a FAQ.  You asked cvsup to update your ports collection to
RELENG_4, which means it will also remove any files that do not
contain the RELENG_4 tag - which is the entire ports collection,
because the ports collection does not contain that tag.

Kris


pgp0.pgp
Description: PGP signature


  1   2   >