How to count the lines of code in a project?

2003-12-23 Thread Zhang Weiwu
Hello. How to count the number of lines in all *.c file in a directory?

I can think of this on csh:

grep -c  `find . -name *.c` | sed s/.*:/e=e+/  /tmp/countlines.py
And edit the py file, and e=0 as first line, print e as the last
line, and execute the python script. wooo pretty cool for a newbie like
me:)
So is there a better method?

_
 MSN Hotmail  http://www.hotmail.com  

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


Re: Looking for laptop suggestions

2003-12-23 Thread Nelis Lamprecht
On Mon, 2003-12-22 at 20:54, Bill Moran wrote:
 We're looking to get a laptop for the business.  Of course, we need to make sure
 it works with FreeBSD, but money is tight, so we're trying to find the best deal
 we can that we know will work.
 
 Does anyone have any suggestions on lower-cost laptops that they've had work well
 with FreeBSD?
 
 We were looking at the $700 lappys that Dell is selling (Inspiron 1100), but I'd
 really like a confirmation that these are going to work before I spend money on one.
 http://catalog.us.dell.com/CS1/cs1page2.aspx?br=7c=uscs=04fm=10423kc=6W300l=ens=bsd

Take a look at this site http://gerda.univie.ac.at/freebsd-laptops/
Not sure how up-to-date it is but it's a FreeBSD Laptop Compatibility
List and the laptop you have mentioned is listed but not without it's
problems. You could probably contact the owners and ask them about any
problems they experienced and how they resolved them.

-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
Unix IS user friendly.. It's just selective about who its friends are.


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


use vi style in all line-edit environment

2003-12-23 Thread Zhang Weiwu
I have been using vi all the time, even in csh I set bindkey -v to use vi 
style command-line edit.

But when the context is switched to python, mysql, or scilab I have to warn 
myself not to type in vi style. Very often in mysql I mistyped something 
and try to type a x to correct it, or I press A and thought I would go 
to the end of the line.

Is it possible to make a global configuration to let all command-line 
processor accept vi style key?

_
 MSN Hotmail  http://www.hotmail.com  

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


Re: How to count the lines of code in a project?

2003-12-23 Thread Bernard El-Hagin
[EMAIL PROTECTED] wrote:


Hello. How to count the number of lines in all *.c file in a directory?

I can think of this on csh:

 grep -c  `find . -name *.c` | sed s/.*:/e=e+/  /tmp/countlines.py

And edit the py file, and e=0 as first line, print e as the last
line, and execute the python script. wooo pretty cool for a newbie like
me:)

So is there a better method?


I think a *slightly* better method is to use:


wc -l *.c


;-)


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


Must root be on slice 'a'?

2003-12-23 Thread Leif Neland
http://geodsoft.com/howto/dualboot/freebsd.htm
writes this:To install a new FreeBSD system, you must create a new '/' file system at 
a minimum. If you do this in a slice with an existing '/' partition the previous 
system will become inaccessible. You can normally tell that there is a previous '/' 
mounted in the current slice, if any existing partition name ends in an 'a'. 

Does this imply that I must rename my slices, that I can't boot from /dev/ad1s3e ?

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


Re: TTF fonts in XFree86

2003-12-23 Thread Gautam Gopalakrishnan
On Wed, Dec 24, 2003 at 09:07:18AM +0300, flux wrote:
 Hi everyone,
 
   I want to use TrueType font collection from MS Windows. I mounted my
 FAT32 partition on my FreeBSD box and copied all *.TTF files from
 C:\WINDOWS\Fonts to /usr/X11R6/lib/X11/fonts/TTF/ directory. Then
 I added the following line into my /etc/X11R6/XF86Config:
 
 FontPath  /usr/X11R6/lib/X11/fonts/TTF/
 
 and performed startx. The thing is, those TTF fonts are still
 unavailable and my WindowMaker doesn't see them as well. Would
 you please try to explain me what's wrong.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-fonts.html

Gautam

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


doubts

2003-12-23 Thread manish gautam


Hello sir !

I have some very silly problems using freebsd 4.7.

1. How to enable telnet service in freebsd 4.7 ?

2. How to use ethereal to capture network packet on freebsd 4.7 ?

please reply me soon.

Thanking you

manish gautam

B.E computers 

pune   (India)

Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/home directory

2003-12-23 Thread flux
Maybe kinda strange question, but...
Why users' home directory located in /usr by default, not in
root directory unlike Linux?
Any ideas?

-- 
Best regards,
 flux  mailto:[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 count the lines of code in a project?

2003-12-23 Thread Jan Grant
On Tue, 23 Dec 2003, Zhang Weiwu wrote:


 Hello. How to count the number of lines in all *.c file in a directory?

 I can think of this on csh:

  grep -c  `find . -name *.c` | sed s/.*:/e=e+/  /tmp/countlines.py

 And edit the py file, and e=0 as first line, print e as the last
 line, and execute the python script. wooo pretty cool for a newbie like
 me:)

 So is there a better method?

Not bad; but when it comes to basic operations on text files, unix has a
surfeit of tools that probably already do what you want. In this case:

find . -type f -name \*.c -print0 | xargs -0 wc -l



-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
(ECHOY GRUNTING) (EERIE WHISPERS) aren't subtitles great?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: use vi style in all line-edit environment

2003-12-23 Thread Jan Grant
On Tue, 23 Dec 2003, Zhang Weiwu wrote:

 I have been using vi all the time, even in csh I set bindkey -v to use vi
 style command-line edit.

 But when the context is switched to python, mysql, or scilab I have to warn
 myself not to type in vi style. Very often in mysql I mistyped something
 and try to type a x to correct it, or I press A and thought I would go
 to the end of the line.

 Is it possible to make a global configuration to let all command-line
 processor accept vi style key?

Most of the tools you're referring to use the GNU readline library. The
manpage (readline(3)) _claims_ that it offers a vi-style editing mode.
You'll have to suck it and see: try

echo set editing-mode vi  ~/.inputrc

and check the man page for more information.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Solution: (n) a watered-down version of something neat.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Ion-Mihai Tetcu
On Mon, 22 Dec 2003 20:49:31 -0500
Brian Black [EMAIL PROTECTED] wrote:

 Hi,
 I have had to deal with this bug sine the new 5.x series.  I have 
 not been able to get a good working copp running.  I was wondering if 
 anyone has a solution for this or if someone is working on the issue.  I 
 had tried to fix the code myself (That didnt work).  Could this bug get 
 looked at for the 5.2R?
 Thanks,
 Brian

In 5.1RC1 it is fixed, for me at least (VIA mobo)[EMAIL PROTECTED]


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


Re: /usr/home directory

2003-12-23 Thread Jan Grant
On Wed, 24 Dec 2003, flux wrote:

 Maybe kinda strange question, but...
 Why users' home directory located in /usr by default, not in
 root directory unlike Linux?
 Any ideas?

Hysterical raisins. Amongst other things, /home was often given to the
automounter so people's home directories could rove. If you want to
change this,

pw useradd -D -b /home

will probably do the trick (you will need to move existing directories).

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Impact of vulnerability: Run code of an attacker's choice
 Maximum Severity Rating: Moderate -- M$ security bulletin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


doubts

2003-12-23 Thread manish gautam
Hello sir !

I have some very silly problems using freebsd 4.7.

1. How to enable telnet service in freebsd 4.7 ?

2. How to use ethereal to capture network packet on freebsd 4.7 ?

please reply me soon.

Thanking you

manish gautam

B.E computers 

pune   (India)



Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller

In reply to Doug White who wrote:

 Hmm, I don't really understand that, cause the downloaded image burn to
 a cdrw don't boot. If I use the same cd and rerecord it with

 mkisofs  -b /cdrom/floppies/boot.flp /cdrom

Ah, so the controller isn't picking up non-emulated cds.  If its a
separate controller you might check for a firmware update, or if its
integrated check for a system BIOS update.  The systems I have with
embedded 2940s boot non-emulated discs fine.

It's an separate PCI card and it has the latest Adaptec BIOS 2.20.

 I've tracked it down. The problem was induced due to mess in the
 boot loader and BIOS disk order. The smart boot loader was not loaded
 from the first BIOS disk (ad0) but from the first SCSI disk. So it
 thinks the ad disk was BIOS HD3 ..

 After fixing that all runs well out of the box! Sorry!

Cool.

Yes thats really fine.

 I've just trying to migrate my config and scripts from 4.9 to 5.2 so
 I'm able to fix the xperfmon3 compile problem.

 However, the usb mouse didn't work. Booting in 4.9 all runs well. In
 5.2 the usbdev -v hangs about 5 seconds on the first hub. The mouse is
 recognized, but the cursor didn't move. (I've also cvsup to the latest
 sources and build my own kernel).

Not sure here; the USB mouse on my home system (VIA KT400 chipset) works
as expected. perhaps there are two mouseds running?

No, nothing in that area. At the moment I think it has to do with the 
usb code in the 5.2 kernel. The problem is I don't have an idea how to 
further debug.

Do you know an USB-coding-expert, who can debug this with me?
Would be nice to have a mouse even when changing to 5.2 ;-)

Best regards and merry christmas

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 


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


Re: Routing to External IPs from Internal IPs

2003-12-23 Thread Matthew Seaman
On Mon, Dec 22, 2003 at 06:07:24PM -0800, Jason C. Wells wrote:
 I would like to be able to set the DNS settings for my internal network to
 209.20.215.30 and 209.20.215.31.  The internal network is addressed as
 192.168.1/24.
 
 How can I route from the internal addresses, through the internal
 interface of the firewall, to the external interface of the firewall, back
 through the port address translation to my internal nameservers?

You can do static NAT -- use the 'redirect_address' option for
natd(8).  This will let you map an Internet address on your external
network through to an internal machine: eg.

natd -redirect_address 192.168.1.1 209.20.215.31

This will allow external machines to access a server on your internal
network.  Your internal machines should be set up so that they use
just the internal addresses -- you can't route the packets from
internal machines through natd on the external interface as you
describe.  It's just the way that natd works, I'm afraid.
 
 If this question is too arcane, please refer me to the correct
 documentation.  I don't even know where to start.  Routing has always just
 magically worked on FreeBSD.  I would think it would be possible to add
 some sort of manual route to the routing tables, but what do I know.
 
 The idea is to allow roamers to roam and never have to change any of their
 configuration settings, namely their DNS settings.

This does depend somewhat on how you set up the roaming access to your
network.  If you create a VPN tunnel into your private network, then
the roaming users will see your internal servers just fine: no
renumbering necessary.  However you will have to solve the initial
problem of making the network connections required to set up the VPN.
 
 Split DNS obviously can handle all other settings such as mail, time, web
 and so forth.  Handling the DNS settings themselves, which are by IP
 address, proves more difficult.

Ah -- this is what DHCP is for.  You can run DHCP on your internal
network to configure machines there, and also have a default lease
which dhclient(8) will fall back to when it can't find a DHCP server
-- as the man page says:

   A  mobile host which may sometimes need to access a network on which no
   DHCP server exists may be preloaded with a lease for a fixed address on
   that network.   When all attempts to contact a DHCP server have failed,
   dhclient will try to validate the static lease,  and  if  it  succeeds,
   will use that lease until it is restarted.

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


enabling telnet service and capturing packets with ethereal ( was Re: doubts )

2003-12-23 Thread Nelis Lamprecht
for a better response from the mail list in future I suggest you use a
subject that is more descriptive of your message.

On Tue, 2003-12-23 at 12:01, manish gautam wrote:
 Hello sir !
 
 I have some very silly problems using freebsd 4.7.
 
 1. How to enable telnet service in freebsd 4.7 ?

read 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-inetd.html
on how to enable inetd(8)

You will also need to edit /etc/inetd.conf and uncomment this line:

telnet stream  tcp nowait  root/usr/libexec/telnetdtelnetd


 
 2. How to use ethereal to capture network packet on freebsd 4.7 ?

A quick visit to
http://www.ethereal.com/docs/user-guide/ch03capturestart.html should
answer this question.

 
 please reply me soon.
 
 Thanking you
 
 manish gautam
 
 B.E computers 
 
 pune   (India)
 
 
 
 [EMAIL PROTECTED]
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
Unix IS user friendly.. It's just selective about who its friends are.


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


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 01:32:07AM -0500, Peter Leftwich wrote:

 What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is
 missing on 4.7-RELEASE?  Can said user `touch /usr/libexec/ld-elf.so.1` as
 a decent fix?  Or mount their drive from another OS and copy over a
 friend's or a web-hosted ld-elf.so.1 file?  Or could I, I mean my friend,
 use some of the contents of src/ on a 4.7-RELEASE CD-R to recreate (via
 compiling) this needed file??  Please help.  It could be your gift to me.

Without ld-elf.so.1 you won't be able to start up any executable that
uses shared libraries... You might find a copy in
/usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 if you've ever built
world on that machine, and there's a statically linked version of
cp(1) in /bin.  Otherwise, yes: the live filesystem CD (Disk 2) will
have a copy or you can extract your drive and mount it in another
machine.

Let this be a lesson to you^Wyour friend not to be too hair triggered
on the delete key...

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: TTF fonts in XFree86

2003-12-23 Thread Malcolm Kay
On Wed, 24 Dec 2003 16:37, flux wrote:
 Hi everyone,

You seem to be a day ahead of the rest of us!


   I want to use TrueType font collection from MS Windows. I mounted my
 FAT32 partition on my FreeBSD box and copied all *.TTF files from
 C:\WINDOWS\Fonts to /usr/X11R6/lib/X11/fonts/TTF/ directory. Then
 I added the following line into my /etc/X11R6/XF86Config:

 FontPath  /usr/X11R6/lib/X11/fonts/TTF/


Does this directory contain a file fonts.dir?
You possibly need to go there and execute:
# mkfontdir

Malcolm Kay


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


Re: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Dan Strick
On Tue, 23 Dec 2003, Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:

 On Mon, 22 Dec 2003 20:49:31 -0500
 Brian Black [EMAIL PROTECTED] wrote:

  Hi,
  I have had to deal with this bug sine the new 5.x series.  I have
  not been able to get a good working copp running.  I was wondering if
  anyone has a solution for this or if someone is working on the issue.  I
  had tried to fix the code myself (That didnt work).  Could this bug get
  looked at for the 5.2R?
  Thanks,
  Brian

 In 5.1RC1 it is fixed, for me at least (VIA mobo)
[EMAIL PROTECTED]


Are you sure you mean 5.1RC1 (and not 5.2-RC1)?  This bug (PR 55473) was
definitely present in 5.1-release and I have seen reports that it was
still present in 5.1-current within the last few months.

Danny Pansters [EMAIL PROTECTED] has sent me email suggesting that ACPI
problems are the reason 5.2-RC1 will not boot on my machine (which has
an ICH5 SATA controller configured in native mode).  I have not been able
to verify this since I can't do the install without disabling disks that
are essential to my system.  (Is there a way to disable ACPI before the
kernel boots when booting from 5.2 kern/mfsroot floppies?)

I don't know if this is the same bug or whose fault it is.
PR 55473 associates the problem with some flavors of AWARD BIOS.
I do know that this can be a really nasty nasty problem if you have it.
Enough people seem to be affected by this bug that it some special
attention should be given to it before 5.2 is released.  (Assuming of
course that the bug has not already been fixed.)

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: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Ion-Mihai Tetcu
On Tue, 23 Dec 2003 02:51:22 -0800 (PST)
Dan Strick [EMAIL PROTECTED] wrote:

 On Tue, 23 Dec 2003, Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:
 
  On Mon, 22 Dec 2003 20:49:31 -0500
  Brian Black [EMAIL PROTECTED] wrote:
 
   Hi,
   I have had to deal with this bug sine the new 5.x series.  I have
   not been able to get a good working copp running.  I was wondering if
   anyone has a solution for this or if someone is working on the issue.  I
   had tried to fix the code myself (That didnt work).  Could this bug get
   looked at for the 5.2R?
   Thanks,
   Brian
 
  In 5.1RC1 it is fixed, for me at least (VIA mobo)
 [EMAIL PROTECTED]
 
 
 Are you sure you mean 5.1RC1 (and not 5.2-RC1)?  This bug (PR 55473) was
 definitely present in 5.1-release and I have seen reports that it was
 still present in 5.1-current within the last few months.

Sory, it is 5.1RC2.


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


Re: doubts

2003-12-23 Thread Dirk-Willem van Gulik


On Tue, 23 Dec 2003, manish gautam wrote:

 1. How to enable telnet service in freebsd 4.7 ?

You may want to look at 'ssh' - it is used in the same
way as telnet; i.e. 'ssh hostname' and is more secure.

For telnet; edit /etc/inetd.conf - and uncomment the line with telnet
(remvoe the #) and either send a kill -1 to the inetd application (ensure
rc.conf contains inetd_enable=YES) or reboot.

See the chapter on inetd in:

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

for more details.

 2. How to use ethereal to capture network packet on freebsd 4.7 ?

See the chapter 'packages and ports' in

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

for details on hwo to install etherreal and then do a

man ethereal

for details on ethereal its use. See the chapter on Network Interface
cards in

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

for details on your network cards (the interface you are referred to in
the above 'man ethereal' page).

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


Re: /usr/home directory

2003-12-23 Thread Markus Kovero
Because theyre supposed to be there?
root partition should be small, easy to reinstall and backup
its really only for kernel, init and configs. If you havent noticed /usr 
is always the biggest one and therefore home should be there, usr comes 
imo from users and isnt users/home quite logic place?
drop the leenox idea.

Greets Markus Kovero
flux wrote:
Maybe kinda strange question, but...
Why users' home directory located in /usr by default, not in
root directory unlike Linux?
Any ideas?
 



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


Re: codeweavers crossover office

2003-12-23 Thread dick hoogendijk
On Mon, 22 Dec 2003 06:48:22 -0500
Dan Pelleg [EMAIL PROTECTED] wrote:

 dick hoogendijk [EMAIL PROTECTED] writes:
 
  Does anybody run Codeweavers crossover Office on FreeBSD?
  I know it rusnb very well on linux and would like to run it on fbsd
  too(if at all possible). If it is possible, can someone explain to
  me how to install the package on my fbsd-4.9R?
 
 
 You can try and just run it under linux emulation. The URL below has
 notes from several people who ran complicated linux packages, together
 with tips and tricks. Also, I seem to remember this particular package
 being discussed in the past in one of the mailing lists.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html

Thanks for your info. I tried the installation and all went very well.
At least so it seemed..
Running the officesetup I got errors like ELF binary type 0 not
known I started the program under a /compat/linux/sh shell and still
got this message. I branded the binaries.. no luck. I started them
normally (under fbsd) and nothing happened at all. So, I guess the
package won't run under fbsd.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.9 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdm crashes on 5.1

2003-12-23 Thread Jakob Breivik Grimstveit
System:

FreeBSD bgjgrimstveit.starshipping.com 5.1-RELEASE-p11 FreeBSD
5.1-RELEASE-p11 #1: Thu Dec 18 10:59:46 CET 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/bgjgrimstveit 
i386

Installed gnome2, XFree86-4 using ports.

Copied /usr/X11R6/etc/rc.d/gdm.sh.sample - /usr/X11R6/etc/rc.d/gdm.sh

When booting system, it crashes after blinking several times just before
showing login screen (gray gui is being shown a little second).

/var/log/messages output:

Dec 23 13:57:11 bgjgrimstveit kernel: pid 688 (gdm-binary), uid 0:
exited on sig
nal 11
Dec 23 13:57:11 bgjgrimstveit gdm[677]: gdm_cleanup_children: child 688
crashed
of signal 11
Dec 23 13:57:11 bgjgrimstveit gdm[677]: gdm_cleanup_children: Slave
crashed, kil
ling its children
Dec 23 13:57:17 bgjgrimstveit kernel: pid 698 (gdm-binary), uid 0:
exited on sig
nal 11
Dec 23 13:57:17 bgjgrimstveit gdm[677]: gdm_cleanup_children: child 698
crashed
of signal 11
Dec 23 13:57:17 bgjgrimstveit gdm[677]: gdm_cleanup_children: Slave
crashed, kil
ling its children
Dec 23 13:57:25 bgjgrimstveit kernel: pid 708 (gdm-binary), uid 0:
exited on sig
nal 11
Dec 23 13:57:25 bgjgrimstveit gdm[677]: gdm_cleanup_children: child 708
crashed
of signal 11
Dec 23 13:57:25 bgjgrimstveit gdm[677]: gdm_cleanup_children: Slave
crashed, kil
ling its children
Dec 23 13:57:36 bgjgrimstveit kernel: pid 718 (gdm-binary), uid 0:
exited on sig
nal 11
Dec 23 13:57:36 bgjgrimstveit gdm[677]: gdm_cleanup_children: child 718
crashed
of signal 11
Dec 23 13:57:36 bgjgrimstveit gdm[677]: gdm_cleanup_children: Slave
crashed, kil
ling its children
Dec 23 13:57:47 bgjgrimstveit kernel: pid 728 (gdm-binary), uid 0:
exited on sig
nal 11
Dec 23 13:57:47 bgjgrimstveit gdm[677]: gdm_cleanup_children: child 728
crashed
of signal 11
Dec 23 13:57:47 bgjgrimstveit gdm[677]: gdm_cleanup_children: Slave
crashed, kil
ling its children
Dec 23 13:57:48 bgjgrimstveit gdm[677]: The display server has been shut
down ab
out 6 times in the last 90 seconds, it is likely that something bad is
going on.
  I will wait for 2 minutes before trying again on display :0.

Any way I can come around this?

Thanks for any help. Merry Christmas, btw :-)

-- 
Jakob Breivik Grimstveit, http://www.grimstveit.no/~jakob, +47 48298152 

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


RE: replacing named 8 with 9

2003-12-23 Thread Sunil Sunder Raj
Hi,

1) Install Bind 9

2) Make secret keys using rndcontrol
a) grep -i irq /var/run/dmesg.boot
choose IRQ's that have a lot of interrupts.
b) Run # rndcontrol -s IRQ for each choosen interrupt.
c) add it to rc.conf to enable after reboot
rand_irqs=3 7 11.
3) Generate the keys
a) # rndc-confgen -a -c /usr/local/etc/rndc.key
# chmod 600 /usr/local/etc/rndc.key
# chown bind:bind /usr/local/etc/rndc.key
# vi /usr/local/etc/rndc.key
b) Copy the key statement
key rndc-key {
algorithm hmac-md5;
secret xxx;
};
c) # cp /usr/local/etc/rndc.conf.sample /usr/local/etc/rndc.conf
 # chmod 600 /usr/local/etc/rndc.conf
# chown bind:bind /usr/local/etc/rndc.conf
# vi /usr/local/etc/rndc.conf
d) Paste the copied key statement here.
4) In rc.conf
named_enable=YES
named_program=/usr/local/sbin/named
named_flags=-c /etc/namedb/named.conf -u bind
5) In /etc/named.conf
At the top of the file
// Use the key
include /usr/local/etc/rndc.key;
// Control statement
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { rndc-key; };
};
6) Check the config
# named-checkconf /etc/namedb/named.conf
7) Start named
# /usr/local/sbin/named -c /etc/namedb/named.conf -u bind
Regards
SSR


From: Paul Phillips [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: replacing named 8 with 9
Date: Sun, 21 Dec 2003 10:41:55 -0600
If I understand correctly, both freeBSD 4.9 and the 5 series use BIND 8.

I would like to replace this with BIND 9.  What is the proper way to do so? 
Do I need to uninstall BIND 8 in some way before using ports or packages to 
install BIND 9?

Thanks
PCP
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join 
BharatMatrimony.com for free.

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


Re: gdm crashes on 5.1

2003-12-23 Thread Jakob Breivik Grimstveit
On Tue, 2003-12-23 at 14:08, Jakob Breivik Grimstveit wrote:

 When booting system, it crashes after blinking several times just before
 showing login screen (gray gui is being shown a little second).

Ah, and gdm config is here: url:
http://www.starshipping.com/~jakobbg/gdm.conf

-- 
Jakob Breivik Grimstveit, http://www.grimstveit.no/~jakob, +47 48298152 

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


Re: TTF fonts in XFree86

2003-12-23 Thread peter lageotakes
I believe its the xset command. You have to have x
search its database for the new fonts.

http://www.icewalkers.com/Linux/Howto/Font-HOWTO/xfonts.html

xset fp rehash

The above should do the trick for you.

Pete
--- flux [EMAIL PROTECTED] wrote:
 Hi everyone,
 
   I want to use TrueType font collection from MS
 Windows. I mounted my
 FAT32 partition on my FreeBSD box and copied all
 *.TTF files from
 C:\WINDOWS\Fonts to /usr/X11R6/lib/X11/fonts/TTF/
 directory. Then
 I added the following line into my
 /etc/X11R6/XF86Config:
 
 FontPath  /usr/X11R6/lib/X11/fonts/TTF/
 
 and performed startx. The thing is, those TTF fonts
 are still
 unavailable and my WindowMaker doesn't see them as
 well. Would
 you please try to explain me what's wrong.
 
 Thank you.
 
 -- 
 Best regards,
  flux  mailto:[EMAIL PROTECTED]
 
 ___
 [EMAIL PROTECTED] mailing list

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


=
ESCape with VI. Cheese A La mode.

__
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]


Re: TTF fonts in XFree86

2003-12-23 Thread peter lageotakes

--- peter lageotakes [EMAIL PROTECTED] wrote:
 I believe its the xset command. You have to have x
 search its database for the new fonts.
 

http://www.icewalkers.com/Linux/Howto/Font-HOWTO/xfonts.html
 
 xset fp rehash
 
 The above should do the trick for you.
 
 Pete
Sorry, forgot to mention that I added the fonts
directly to the TTF directory. Its early, sorry.
 --- flux [EMAIL PROTECTED] wrote:
  Hi everyone,
  
I want to use TrueType font collection from MS
  Windows. I mounted my
  FAT32 partition on my FreeBSD box and copied all
  *.TTF files from
  C:\WINDOWS\Fonts to /usr/X11R6/lib/X11/fonts/TTF/
  directory. Then
  I added the following line into my
  /etc/X11R6/XF86Config:
  
  FontPath  /usr/X11R6/lib/X11/fonts/TTF/
  
  and performed startx. The thing is, those TTF
 fonts
  are still
  unavailable and my WindowMaker doesn't see them as
  well. Would
  you please try to explain me what's wrong.
  
  Thank you.
  
  -- 
  Best regards,
   flux 
 mailto:[EMAIL PROTECTED]
  
  ___
  [EMAIL PROTECTED] mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 =
 ESCape with VI. Cheese A La mode.
 
 __
 Do you Yahoo!?
 New Yahoo! Photos - easier uploading and sharing.
 http://photos.yahoo.com/
 


=
ESCape with VI. Cheese A La mode.

__
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]


Re: kern.maxfiles limit exceeded: what to investigate?

2003-12-23 Thread Lowell Gilbert
paul beard [EMAIL PROTECTED] writes:

 Since UID 80 would be the httpd process, I suppose looking into
 process-specific resource issues is next. I am running Apache 1.3.29.

Not necessarily.  TCP port 80 is held by httpd, but it isn't
necessarily user ID 80.  Look at the passwd file to figure out
who IS UID 80.

-- 
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: ipfw2

2003-12-23 Thread Lee Dilkie
 From man ipfw
 ---
 src and dst: {addr | { addr or ... }} [[not] ports]
 addr: [not] {any | me | addr-list | addr-set}
 addr-set: addr[/masklen]{list}
 list: {num | num-num}[,list]
 ---

 I think that it's right:
 ipfw 1000 add permit all from 192.168.1.1/24{3,5,9} to any
 but I see follwing:
 ipfw: bad width ``243''

 If I do:
 ipfw 10005 add permit all from
 192.168.1.3,192.168.1.5,192.168.1.9 to any

What are you trying to do/say?

 192.168.1.1/24{3,5,9} translates to  192.168.1.1/243,  192.168.1.1/245 or
192.168.1.1/249.
All of which are illegal, /xx cannot exceed 32 in value (32 bits to a IPv4
internet address). Hence
the bad width error message.

-lee


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


ACARD ATP 867 (AEC-6885) card

2003-12-23 Thread Egorov Roman
I have ACARD ATP 867 (AEC-6885) card.
How i can install freebsd ?
Installer can not see hdd ?
What to do ?
Egorov Roman
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Must root be on slice 'a'?

2003-12-23 Thread Harald Schmalzbauer
On Monday 22 December 2003 17:27, Leif Neland wrote:
 http://geodsoft.com/howto/dualboot/freebsd.htm
 writes this:To install a new FreeBSD system, you must create a new '/' file
 system at a minimum. If you do this in a slice with an existing '/'
 partition the previous system will become inaccessible. You can normally
 tell that there is a previous '/' mounted in the current slice, if any
 existing partition name ends in an 'a'.

 Does this imply that I must rename my slices, that I can't boot from
 /dev/ad1s3e ?

Right. Root always must be label a. You don't have to change slices.
But you can compile something different in the kernel:
options ROOTDEVNAME=\ufs:da0s2e\

AFAIK it should bee possible to also change the root device in 1st bootstage
See man (8) boot

-Harry


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


pgp0.pgp
Description: signature


Re: kazaa client

2003-12-23 Thread Scott I. Remick
On Tue, 23 Dec 2003 04:08:55 +0200, Anton Alin-Adrian wrote:

 Thanks. Seems I am going to develop a GTK UI for fasttrack ;P

Hmm maybe as an easier start, someone can add giFToxic to the FreeBSD
ports collection?

http://giftoxic.sourceforge.net/

Porting is currently outside my own abilities.

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


Re: Must root be on slice 'a'?

2003-12-23 Thread Leif Neland


On Tue, 23 Dec 2003, Harald Schmalzbauer wrote:

 On Monday 22 December 2003 17:27, Leif Neland wrote:
  Does this imply that I must rename my slices, that I can't boot from
  /dev/ad1s3e ?

 Right. Root always must be label a. You don't have to change slices.
 But you can compile something different in the kernel:
 options ROOTDEVNAME=\ufs:da0s2e\

If the bootloader will not accept 2:ad(2,e), I don't think it matters what
I compile into the kernel.

 AFAIK it should bee possible to also change the root device in 1st bootstage
 See man (8) boot

I used disklabel to rename the slices, so now I have booted from the new
root.

Leif


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


IPFW Rule set question...

2003-12-23 Thread Drew Robertson
Hi everyone,

Thanks to those who take the time to read and reply to these emails.

I have a strange issue regarding my firewall (IPFW)...

I have enabled SSH, TELNET and FTP on my freeBSD 4.8 box at home... it is 
dual homed, 2 NICs one for the internal LAN one running my cable modem.  
Everything works fine on the internal side.

When accessing the box using any of those apps from work, the system looks 
to briefly connect and then returns a Connection Lost or Connection 
closed by remote host error.

The command setup to allow in access is as follows...

820 allow log tcp from any to me 22 limit src-addr 4 in recv tl0 setup
830 allow log tcp from any to me 23 limit src-addr 4 in recv tl0 setup
when this didn't work I added another command at the start of the ruleset to 
just let everything in from a particular IP address range...

202 allow ip from 203.10.10.0/24 to any

however this produced the same error...

It wasn't until I allowed all from any to any that I was able to connect...

When checking out the security log, it tells me that rule 820 is allowing 
access to my computer at home...

Ruleset is attached completely below

/sbin/ipfw -q -f flush

# Set rules command prefix
# The -q option on the command is for quite mode.
# Do not display rules as they load. Remove during development to see.
cmd=/sbin/ipfw -q add
# Set defaults
oif=tl0# Nic card to cable modem public internet 
connection
odns1=203.2.75.132  # ISP's dns server IP address

$cmd 00200 divert natd all from any to any via $oif

  control section  
# Start of IPFW advanced Stateful Filtering using dynamic rules.
# The check-state statement behavior is to match bi-directional packet 
traffic
# flow between source and destination using protocol/IP/port/sequence 
number.
# The dynamic rule has a limited lifetime which is controlled by a set of
# sysctl(8) variables. The lifetime is refreshed every time a matching
# packet is found in the dynamic table.

# Allow the packet through if it has previous been added to the
# the dynamic rules table by an allow keep-state statement.
$cmd 00202 allow log all from 203.10.10.0/24 to any
$cmd 00203 allow log all from any to any via tun0
$cmd 00400 check-state

# SAMBA File/Printer Sharing on Internal LAN
$cmd 0410 allow log tcp from 192.168.1.0/24 to 192.168.1.0/24
$cmd 0411 allow log udp from 192.168.1.0/24 to 192.168.1.0/24
# Run all private LAN xl0 packet traffic through the dynamic rules
# table so the IP address are in sync with Natd.
$cmd 00500 allow log all from any to any via sis0 keep-state
# Deny all fragments as bogus packets
$cmd 00530 deny log all from any to any frag in via $oif
# Deny  ACK packets that did not match the dynamic rule table
$cmd 00540 deny log tcp from any to any established in via $oif
  outbound section  
# Interrogate packets originating from behind the firewall, private net.
# Upon a rule match, it's keep-state option will create a dynamic rule.
# Allow out non-secure standard http function
$cmd 00600 allow log tcp  from any to any 80  out via $oif setup keep-state
# Allow out secure www function https over TLS SSL
$cmd 00601 allow log tcp  from any to any 443 out via $oif setup keep-state
# Allow out access to my ISP's Domain name server.
$cmd 00610 allow log tcp  from any to $odns1 53 out via $oif setup 
keep-state
$cmd 00611 allow log udp  from any to $odns1 53 out via $oif keep-state

# Allow out send  get email function
$cmd 00630 allow log tcp from any to any 25,110 out via $oif setup 
keep-state

# Allow out  in FBSD (make install  CVSUP)  functions
# Basically give user id [ROOT]  GOD  privileges.
$cmd 00640 allow log tcp from me to any out via $oif setup keep-state uid 
root

  inbound section  
# Interrogate packets originating from in front of the firewall, public net.
# Allow in www http access to my apache server
#$cmd 00800 allow log tcp from any to any 80 in via $oif setup keep-state 
limit src-addr 4

# Allow  TCP FTP control channel in  data channel out
$cmd 00810 allow log tcp from any to me 21  in via $oif setup keep-state 
limit src-addr 4
$cmd 00811 allow log tcp from any 20 to any 1024-49151 out via $oif setup 
keep limit src-addr 4

# Allow in ssh function
$cmd 00820 allow log tcp from any to me 22 in via $oif setup keep-state 
limit src-addr 4

# Allow in Telnet
$cmd 00830 allow log tcp from any to me 23 in via $oif setup keep-state 
limit src-addr 4

Thanks.

D

_
ninemsn Premium transforms your e-mail with colours, photos and animated 
text. Click here  http://ninemsn.com.au/premium/landing.asp

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


Apacer USB Flash drive

2003-12-23 Thread Olga Zenkova
Hi!

Can't mount Apacer USB Flash drive in FreeBSD 4.8. 
When I do: 

mount -t msdos /dev/da0s1 /mnt

I get:

msdos: /dev/da0s1: Input/output error

Can I fix this bug somehow?

Thanks,
Olga

 

__
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]


Re: Looking for laptop suggestions

2003-12-23 Thread Bill Moran
Nelis Lamprecht wrote:
On Mon, 2003-12-22 at 20:54, Bill Moran wrote:

We're looking to get a laptop for the business.  Of course, we need to make sure
it works with FreeBSD, but money is tight, so we're trying to find the best deal
we can that we know will work.
Does anyone have any suggestions on lower-cost laptops that they've had work well
with FreeBSD?
We were looking at the $700 lappys that Dell is selling (Inspiron 1100), but I'd
really like a confirmation that these are going to work before I spend money on one.
http://catalog.us.dell.com/CS1/cs1page2.aspx?br=7c=uscs=04fm=10423kc=6W300l=ens=bsd
Take a look at this site http://gerda.univie.ac.at/freebsd-laptops/
Not sure how up-to-date it is but it's a FreeBSD Laptop Compatibility
List and the laptop you have mentioned is listed but not without it's
problems. You could probably contact the owners and ask them about any
problems they experienced and how they resolved them.
This is a great resource!  Thanks.

--
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: Apacer USB Flash drive

2003-12-23 Thread Gautam Gopalakrishnan
On Tue, Dec 23, 2003 at 06:19:50AM -0800, Olga Zenkova wrote:
 Hi!
 
 Can't mount Apacer USB Flash drive in FreeBSD 4.8. 
 When I do: 
 
 mount -t msdos /dev/da0s1 /mnt
 
 I get:
 
 msdos: /dev/da0s1: Input/output error

My guess is that you have not formatted it first?
(newfs_msdos /dev/da0s1)

Gautam

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


Re: Mouse, ACPI, Award Bios and PR 55473

2003-12-23 Thread Robert Watson

On Tue, 23 Dec 2003, Ion-Mihai Tetcu wrote:

  Are you sure you mean 5.1RC1 (and not 5.2-RC1)?  This bug (PR 55473) was
  definitely present in 5.1-release and I have seen reports that it was
  still present in 5.1-current within the last few months.
 
 Sory, it is 5.1RC2. 

If you're really sure it's a 5.1 release candidate, then you probably want
to try one of the 5.2 release candidates instead to see if things have
changed.

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]  Senior Research Scientist, McAfee Research


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


Re: /usr/home directory

2003-12-23 Thread Eric Rivas
On Wed, 24 Dec 2003 12:37:41 +0300
flux [EMAIL PROTECTED] wrote:

 Maybe kinda strange question, but...
 Why users' home directory located in /usr by default, not in
 root directory unlike Linux?
 Any ideas?

It used to be in /, but then most people had a hard time partitioning
when deciding how much space to put in /usr and /home (home should not
be the root partition), so the default is to make them one partition and
have /home as /usr/home. If you make a /home partition during install, I
believe that the default will be /home.

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


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


fbsd4.9 sendmail

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

Anybody ever setup smart host using sendmail before?
This is on fbsd4.9. I edit sendmail.cf file and edit
line:

DSmail.domain.com

Restart sendmail and nothing happen. I keep getting
(host map: lookup (domain.com): deferred) error. Do I
need to do anything? I try on other unix system and I
got it to work. Very strange. I want my main smtp
server send the email from fbsd box. 

Thank you in advance.



Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Straightening out perl

2003-12-23 Thread Scott I. Remick
Maybe this belongs in the -ports list... I dunno. Anyways, saw a few
messages recently that prompted me to check my perl situation:

su-2.05b# pkg_info | grep perl-
perl-5.6.1_15   Practical Extraction and Report Language
perl-5.8.2_2Practical Extraction and Report Language

And wouldn't you know, everything that depends on perl depends on 5.6
currently. Yet it seems I should be ditching 5.6 and using 5.8.2, from
what I read. So I'm wondering how to best straighten this out.

As things stand now, use.perl port sticks me with 5.6. And I can't use
portupgrade to fix this because alas, both versions are installed from
ports (ports/perl5 and ports/perl5.8) and are considered separate and
individually up-to-date.

One option would be to do a pkg_delete -f on 5.6 then use portdb -F to fix
the dependencies. Not sure if that's enough or if I need to rebuild. And
if I need to rebuild the dependencies, how could I easily handle the list
in one-pass? Right now it all depends on 5.6 which I'd be deleting. I
could whack 5.6, repoint all dependencies to 5.8, then tell it to forcibly
rebuild everything that depends on 5.8... but I don't know if this is the
right thing to do.

Or maybe I'm wrong and I should be keeping 5.6 because 5.8.2 will destroy
things horribly and cause much breakage and woe.

Eh. Advice? This seems to be a FAQ but searching/reading through the last
several months of messages didn't reveal a definitive answer. Thanks!

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


Re: ipfw2

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 08:51:57AM -0500, Lee Dilkie wrote:

  I think that it's right:
  ipfw 1000 add permit all from 192.168.1.1/24{3,5,9} to any
  but I see follwing:
  ipfw: bad width ``243''

 
  192.168.1.1/24{3,5,9} translates to  192.168.1.1/243,  192.168.1.1/245 or
 192.168.1.1/249.

Uh, at least, not in ipfw2 rulesets it doesn't.  Where it does expand
like that is in csh(1), bash(1), zsh(1) and similar shells (but not
sh(1)):

% echo 192.168.1.1/24{3,5,9}
192.168.1.1/243 192.168.1.1/245 192.168.1.1/249

Perhaps the original poster was typing the rules in at the command
prompt?  In which case, simply use a few quote marks to stop the
shell interfering:

# ipfw add 1000 permit all from '192.168.1.1/24{3,5,9}'

Or load the rules out of a file.

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: fbsd4.9 sendmail

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 03:27:00PM +, Feroz F. Basir wrote:
 Hi,
 
 Anybody ever setup smart host using sendmail before?
 This is on fbsd4.9. I edit sendmail.cf file and edit
 line:
 
 DSmail.domain.com

It's better to edit the `hostname`.mc file and then process that into
a sendmail.cf otherwise you run the risk of overwriting your
customized .cf file when you do a {build,install}world cycle.

Just change the line:

dnl define(`SMART_HOST', `your.isp.mail.server')

into

   define(`SMART_HOST', `mail.domain.com') 

and run 'make install restart-mta'
 
 Restart sendmail and nothing happen. I keep getting
 (host map: lookup (domain.com): deferred) error. Do I
 need to do anything? I try on other unix system and I
 got it to work. Very strange. I want my main smtp
 server send the email from fbsd box. 

You've changed the sendmail config just fine.  What you need to do now
is investigate why your machine isn't finding 'mail.domain.com' in the
DNS.

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: Straightening out perl

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 10:35:09AM -0500, Scott I. Remick wrote:

 One option would be to do a pkg_delete -f on 5.6 then use portdb -F to fix
 the dependencies. Not sure if that's enough or if I need to rebuild. And
 if I need to rebuild the dependencies, how could I easily handle the list
 in one-pass? Right now it all depends on 5.6 which I'd be deleting. I
 could whack 5.6, repoint all dependencies to 5.8, then tell it to forcibly
 rebuild everything that depends on 5.8... but I don't know if this is the
 right thing to do.

This is pretty much the right thing to do.  You need to delete the
perl-5.6.1_15 port, *and then re-install perl-5.8.2_2* and run
'use.perl port' again.  That will make perl-5.8.2 your default perl.
Use pkgdb -F to fix up the dependencies.

Then you may feel the need to re-install all perl ports which have
installed anything under /usr/local/lib/perl5/{,site_perl/}5.6.1 in
order to keep everything tidy -- that'll be pretty much every port
with a p5- preffix, plus a few oddballs tike rrdtool, pdflib,
ImageMagick -- judicious use of pkg_which(1) will help you there.

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: fbsd4.9 sendmail

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

My mail server is within my LAN and we dont have/use
DNS server. Why sendmail want to resolve domain.com? I
thought using smart host will tranfer all mails to our
mail.domain.com machine. I just use /etc/hosts file to
resolve mail.domain.com to ip.

Do I need to setup DNS server under fbsd4.9 just to
resolve odmain.com if I send to [EMAIL PROTECTED]

Thank you.


 --- Matthew Seaman [EMAIL PROTECTED]
wrote:  On Tue, Dec 23, 2003 at 03:27:00PM +,
Feroz F.
 Basir wrote:
  Hi,
  
  Anybody ever setup smart host using sendmail
 before?
  This is on fbsd4.9. I edit sendmail.cf file and
 edit
  line:
  
  DSmail.domain.com
 
 It's better to edit the `hostname`.mc file and then
 process that into
 a sendmail.cf otherwise you run the risk of
 overwriting your
 customized .cf file when you do a
 {build,install}world cycle.
 
 Just change the line:
 
 dnl define(`SMART_HOST', `your.isp.mail.server')
 
 into
 
define(`SMART_HOST', `mail.domain.com') 
 
 and run 'make install restart-mta'
  
  Restart sendmail and nothing happen. I keep
 getting
  (host map: lookup (domain.com): deferred) error.
 Do I
  need to do anything? I try on other unix system
 and I
  got it to work. Very strange. I want my main smtp
  server send the email from fbsd box. 
 
 You've changed the sendmail config just fine.  What
 you need to do now
 is investigate why your machine isn't finding
 'mail.domain.com' in the
 DNS.
 
   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
 

 ATTACHMENT part 2 application/pgp-signature 
 


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


grep, netstat, and bridging

2003-12-23 Thread Dave McCammon
I this a feature, bug, or just some logical thing that
grep does( or perhaps netstat)?

Scenario:

IP addresses
comp1=xx.xx.xx.1
comp2=xx.xx.xx.6
comp3=xx.xx.xx.12

comp1 and comp3 run FBSD 4.9 stable
comp2 runs FBSD 5.1-RELEASE

comp1 is a bridging firewall using ipfw

A: comp2# netstat -n |grep xx.xx.xx.1

tcp4 0 0  xx.xx.xx.6.54953 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.54952 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.22xx.xx.xx.1.1233 
ESTABLISHED


B: comp2# netstat -n |grep xx.xx.xx.1.

tcp4 0 0  xx.xx.xx.6.54954 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.54953 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.22xx.xx.xx.1.1233 
ESTABLISHED


C: comp2# netstat -n |grep xx.xx.xx.12

tcp4 0 0  xx.xx.xx.6.54957 xx.xx.xx.12.3551 TIME_WAIT
tcp4 0 0  xx.xx.xx.6.54956 xx.xx.xx.12.3551 TIME_WAIT


Actually..I see the same output on a cygwin machine
behind the comp1 firewall.

So, does this have something to do with the bridging
as I do not see the same behavior on another FBSD
machine that is on a different network?


__
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]


Re: fbsd4.9 sendmail

2003-12-23 Thread Olaf Hoyer
On Tue, 23 Dec 2003, Feroz F. Basir wrote:

 Hi,

 My mail server is within my LAN and we dont have/use
 DNS server. Why sendmail want to resolve domain.com? I
 thought using smart host will tranfer all mails to our
 mail.domain.com machine. I just use /etc/hosts file to
 resolve mail.domain.com to ip.

 Do I need to setup DNS server under fbsd4.9 just to
 resolve odmain.com if I send to [EMAIL PROTECTED]

Hi!

You can also tell sendmail to resolve hosts first through /etc/hosts,
and then try DNS. default is DNS first.

angua 17:19 cat /etc/mail/service.switch
hosts files dns

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NAT Redirect Ext address to multiple Int IPs on single machine

2003-12-23 Thread Jack L. Stone
On my own servers which are all FBSD machines, I use the classic method of
redirecting an IP address from a Gateway machine to a main host and its
vhosts located on an Internal Machine like so:

redirect_address 192.168.0.5 123.xxx.xxx.101 -- main host
...then Apache sends any requests to a vhost to its own IP:
   192.168.0.5 - 123.xxx.xxx.102
   192.168.0.5 - 123.xxx.xxx.103

However, on an ISP where I manage servers, we have a new FBSD Gateway set
that is working fine for the internal FBSD machines behind that GW, just as
above. However, there are also some Window Servers to be setup behind the
Gateway and I was asked if I could do the redirect of several public IPs to
a single Internal IP address as follows (the Win servers run IIS -- not
Apache:

Redirect from FBSD GW to single Window Server
(all of the internal IPs are on one machine):
redirect_address 192.168.0.5 123.xxx.xxx.101
redirect_address 192.168.0.6 123.xxx.xxx.102
redirect_address 192.168.0.7 123.xxx.xxx.103

I have never seen this setup before but, I tried it and it works -- that is
until we pull out the Gateway ad0 drive and put it into another FBSD
machine. This is an experiment to see if the main GW were to go down, could
we pull the HD (or a clone HD) and move it to another machine to get right
back up and running as before.

We have tried this exercise on several identical FBSD machines and find
that the redirects no longer work. Eventually, the one FBSD internal
machine on this new network test will start resolving, but not the Window
stations -- although even here, the FTP will work, but not the port 80 webs
on the Window machines.

We have tried to isolate anything that might be the slightest way different
to figure out why the addresses no longer redirect to port 80 and I have
pretty much concluded that IIS does not handle things like Apache does and
that we cannot redirect as in the FBSD--Windows example above.

Many times, I have successfully switched GW machines using the same HD and
things worked as before. This allows me to bring down a GW machine to do
maintenance while keeping all of the services running on another machine.

Admittedly, I have not run Windows servers and am unfamiliar with IIS and
highly suspect this as the culprit.

Sorry for the length of this one, but was as brief as possible. Any
suggestions greatly appreciated as this put us at the crossroads of whether
to switch to FBSD as a GW/NAT/FW/Router.

Thanks  Happy Holidays!

Best regards,
Jack L. Stone,
Administrator

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


Re: FreeBSD 5.1 PowerPak Installation problem

2003-12-23 Thread Admin
Hi Ion-Mihai,

Thank you very much for the support you have provided. Wish you a merry xmas
and a very happy new year. I will be in touch in the new year.

Best Regards

Gurdial Chandra
Sycos AES



- Original Message -
From: Ion-Mihai Tetcu [EMAIL PROTECTED]
To: Admin [EMAIL PROTECTED]
Cc: Dorin H [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, December 22, 2003 4:18 PM
Subject: Re: FreeBSD 5.1 PowerPak Installation problem


 On Mon, 22 Dec 2003 15:57:35 -
 Admin [EMAIL PROTECTED] wrote:

  Hi Ion-Mihai,
 
  I have just compiled the kernel source and installed it. The logged
  messages1 file is attached for your comments.
 
  Regards
 
  Gurdial Chandra
  Sycos AES

 I do not see anything (new) wrong in it.

 Please don't send the hall log, but only the last part of it.



 --
 IOnut
 Unregistered ;) FreeBSD user

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


Re: fbsd4.9 sendmail

2003-12-23 Thread Chuck Swiger
Feroz F. Basir wrote:
My mail server is within my LAN and we dont have/use
DNS server. Why sendmail want to resolve domain.com?
Sendmail is trying to perform an MX lookup of domain.com, and then will fall 
back to using an A record (or the /etc/hosts file) if that fails.

Do I need to setup DNS server under fbsd4.9 just to
resolve odmain.com if I send to [EMAIL PROTECTED]
Nope.  But sendmail and lots of other network-aware programs (things like SSH) 
are happier when forward and reverse DNS is available.

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


Re: gdm crashes on 5.1

2003-12-23 Thread Joe Marcus Clarke
On Tue, 2003-12-23 at 08:12, Jakob Breivik Grimstveit wrote:
 On Tue, 2003-12-23 at 14:08, Jakob Breivik Grimstveit wrote:
 
  When booting system, it crashes after blinking several times just before
  showing login screen (gray gui is being shown a little second).
 
 Ah, and gdm config is here: url:
 http://www.starshipping.com/~jakobbg/gdm.conf

Did you read the Known Issues section at http://www.freebsd.org/gnome as
well as the pkg-message from gdm?

Joe

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




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


Question about static libraries and compression

2003-12-23 Thread Daniela
I have a problem with linking:
When I invoke make, I always give it the -DNOSTATIC option on the commandline 
to save space. However, this doesn't work. My system still builds static 
libraries. Or are the binaries linked dynamically, and the static libs are 
there for nothing? I guess it's safe to delete them, right?
Everything is self-compiled, I do not use binary packages at all.

Also, I read that the kernel can execute gzipped a.out binaries directly, can 
the same thing be done for ELF? I need a really small system, because I want 
to boot and run it from CD-ROM.

Regards,
Daniela


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


Re: fbsd4.9 sendmail

2003-12-23 Thread Feroz F. Basir
HI again,

Thank everybody for giving me some feedback. I got it
to work at last. I created /etc/mail/service.switch
and put hosts files. Edit my sendmail.cf again and
uncomment line to use service.switch file. wow lots of
email being sent at once.

# service switch file (name hardwired on Solaris,
Ultrix, OSF/1, others)
O ServiceSwitchFile=/etc/mail/service.switch
 
# hosts file (normally /etc/hosts)
O HostsFile=/etc/hosts

Thank you again.

 

 --- Olaf Hoyer [EMAIL PROTECTED] wrote: 
On Tue, 23 Dec 2003, Feroz F. Basir wrote:
 
  Hi,
 
  My mail server is within my LAN and we dont
 have/use
  DNS server. Why sendmail want to resolve
 domain.com? I
  thought using smart host will tranfer all mails to
 our
  mail.domain.com machine. I just use /etc/hosts
 file to
  resolve mail.domain.com to ip.
 
  Do I need to setup DNS server under fbsd4.9 just
 to
  resolve odmain.com if I send to [EMAIL PROTECTED]
 
 Hi!
 
 You can also tell sendmail to resolve hosts first
 through /etc/hosts,
 and then try DNS. default is DNS first.
 
 angua 17:19 cat /etc/mail/service.switch
 hosts files dns
 
 HTH
 Olaf
 
 -- 
 Olaf Hoyer[EMAIL PROTECTED]
 Fuerchterliche Erlebniss geben zu raten,
 ob der, welcher sie erlebt, nicht etwas
 Fuerchterliches ist.
 (Nietzsche, Jenseits von Gut und Boese) 


Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kazaa client

2003-12-23 Thread Jim Ramsay
Scott I. Remick wrote:
On Tue, 23 Dec 2003 04:08:55 +0200, Anton Alin-Adrian wrote:


Thanks. Seems I am going to develop a GTK UI for fasttrack ;P


Hmm maybe as an easier start, someone can add giFToxic to the FreeBSD
ports collection?
http://giftoxic.sourceforge.net/

Porting is currently outside my own abilities.
I'd love to do this, but I don't know enough about how to create a port.

I downloaded release 0.0.9 and got it to compile on my FreeBSD 4.8 
machine with two small changes necessary:

1) Must compile with gcc version 3.3.3, not version 2.95.4.  (IE, I set 
my environment CC=gcc33 before configuring)

2) The final linking of the executable must also include -lgnugetopts or 
getopts_long is undefined.  This requires the port devel/libgnugetopt 
installed.  I just hacked src/Makefile after configuring, but this 
should probably be done more intelligently.

One of these days I may figure out for myself how to make a port of it, 
but please don't hold your (or anyone else's) breath.

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


Re: Must root be on slice 'a'?

2003-12-23 Thread Garance A Drosihn
At 5:27 PM +0100 12/22/03, Leif Neland wrote:
Does this imply that I must rename my slices, that I can't
boot from /dev/ad1s3e ?
It is possible to boot from other slices than 'a', but you
want to do automatic boot-ups (ie, without needing to type
commands into the boot loader), you will find it much easier
to use slice 'a' for root, and to have that slice labelled 'a'
be the first slice in the DOS-style partition.
--
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: Must root be on slice 'a'?

2003-12-23 Thread Jerry McAllister
 
 At 5:27 PM +0100 12/22/03, Leif Neland wrote:
 
 Does this imply that I must rename my slices, that I can't
 boot from /dev/ad1s3e ?
 
 It is possible to boot from other slices than 'a', but you
 want to do automatic boot-ups (ie, without needing to type
 commands into the boot loader), you will find it much easier
 to use slice 'a' for root, and to have that slice labelled 'a'
 be the first slice in the DOS-style partition.

Just be careful on your terminology.   The neither the 'a' nor
the 'e' partition is a slice.  In your example above, the slice 
is '3' which has in it a partition called 'e'.   You are using 
the terms backwards.

So, it is disk 1, slice 3, partition e above.

Otherwise I think the answer is correct.   It is overall better
to set up your disk so that your root and boot partition is 'a'
in whichever slice you boot from.   For many things this is the 
default and there may be some things that just plain assume this.

Enjoy,

jerry

 -- 
 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: Question about static libraries and compression

2003-12-23 Thread Daniela
On Tuesday 23 December 2003 17:44, User  wrote:
 Hi,

 To be honest, I don't really know about the static libraries question. But
 other then that, when you install FreeBSD, and choose for the smallest
 configuration possible during the installation, are you taking up more then
 700 MB of space then? I don't believe it'll be that much. I reckon that
 recompiling the kernel and remove on unnesessairy things out of it saves
 disk space as well.

A normal installation takes much less, but I also put lots of apps on it.
And I can't compile a minimal kernel because I can't know yet what will be 
necessary on the system running it.


 You can also consider building FreeBSD from scratch.

I've already done that, everything is built from scratch.


 Like that you can make sure you're installing only the things you need to
 conserve disk space. Or consider using Knoppix *hides*

I'm trying to build a system like Knoppix, but with more features.


 Cheers,

 Jorn

 On Tuesday 23 December 2003 19:32, Daniela wrote:
  I have a problem with linking:
  When I invoke make, I always give it the -DNOSTATIC option on the
  commandline to save space. However, this doesn't work. My system still
  builds static libraries. Or are the binaries linked dynamically, and the
  static libs are there for nothing? I guess it's safe to delete them,
  right? Everything is self-compiled, I do not use binary packages at all.
 
  Also, I read that the kernel can execute gzipped a.out binaries directly,
  can the same thing be done for ELF? I need a really small system, because
  I want to boot and run it from CD-ROM.
 
  Regards,
  Daniela
 
 
  ___
  [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]


Soundcard query

2003-12-23 Thread Mike Woods
Does anyone know of any soundcards with multiple line level inputs (and i dont mean on 
a breakout box) and support under freebsd ?

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


Re: December, 2003 Answerman column.

2003-12-23 Thread Lowell Gilbert
Gary Kline [EMAIL PROTECTED] writes:

   This month's Answerman column lives at
 
 http://www.thought.org/dec03.html
 
   There are several new topics and our standard year-end archive.

A few nice discussions for newbies, but the advice on C programming is
rather weak...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


error in port

2003-12-23 Thread Dino Vliet
I'm getting an error when doing a make install clean
in the gnucash 1.8.5 port under freebsd 4.9.
The make prcess stops with the following command:

..
./src/gdevl256.c:307: warning: implicit declaration of
function 'gl_line'
gmake: ** [obj/gdvel256.o] Error 1
*** Error code 2

Stop in /usr/ports/print/ghostscript-gnu
*** Error code 1

Stop in /usr/ports/print/gnomeprint
*** Error code 1

Stop in /usr/ports/math/guppi
*** Error code 1

Stop in /usr/ports/finance/gnucash

+++

What went wrong? What can I do about it? How can I
remove the files that were already installed? How do I
know which files where already installed?

Brgds



__
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]


Re: kazaa client

2003-12-23 Thread Robert Huff

Jim Ramsay writes:

   Porting is currently outside my own abilities.
  
  I'd love to do this, but I don't know enough about how to create
  a port.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html


Robert Huff


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


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Peter Leftwich
Matthew Seaman [EMAIL PROTECTED] kindly transmitted:
 On Tue, Dec 23, 2003 at 01:32:07AM -0500, Peter Leftwich wrote:
  What should a user do if their, uhm, /usr/libexec/ld-elf.so.1
  file is missing on 4.7-RELEASE?  Can said user `touch
  /usr/libexec/ld-elf.so.1` as a decent fix?  Or mount their drive
  from another OS and copy over a friend's or a web-hosted
  ld-elf.so.1 file?  Or could I, I mean my friend, use some of the
  contents of src/ on a 4.7-RELEASE CD-R to recreate (via
  compiling) this needed file??  Please help.  It could be your
  gift to me.

Hello Matthew, Fbsd-Q's and WWW server peoplefolk.

 Without ld-elf.so.1 you won't be able to start up any executable
 that uses shared libraries... You might find a copy in

I noticed!  *funnyface*  Just joking around.  Thanks for the details.

 /usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 if you've ever built
 world on that machine, and there's a statically linked version of
 cp(1) in /bin.  Otherwise, yes: the live filesystem CD (Disk 2)
 will have a copy or you can extract your drive and mount it in
 another machine.

REQUEST: Could one of the *.freebsd.org webmasters or listserv
admins please post the ld-elf.so.1 file from 4.7-RELEASE?  It could
go up (officially) to
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.7-RELEASE/usr/libexec/ld-elf.so.1

 fantasy world pops!

I only have the first CD-R and do not have time to download the 2nd
CD-R's ISO just for the one file... 2:-)

 Let this be a lesson to your friend not to be too hair
 triggered on the delete key...

Best way to learn.  Well, maybe not best; but I certainly have
learned a TON this way, the rootly way.  *smiles*

   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

ASIDE: {It will be neat when one day there's an Internet standard
for www.website.com/pgpkey and
www.website.com/software/name_here/md5 and
www.website.com/hostname_here/sshkey - oh and
https://www.website.com/trusted.htm or something like that.}  ;)

--
Peter Leftwich, President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039, USA
http://Www.Video2Video.Com



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


what is diff between pkg_delete make deinstall

2003-12-23 Thread fbsd_user
I see that pkg_delete will delete an port as well as an package. 
Does pkg_delete do the same thing as the make deinstall command?

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


Re: Dual-boot does not work with GRUB

2003-12-23 Thread Jaroslaw Nozderko
Hi Jud, Tillman, Bill,

 On Mon, 22 Dec 2003 18:58:16 -0600, Tillman Hodgson  
 [EMAIL PROTECTED] wrote:
 
  On Tue, Dec 23, 2003 at 01:52:46AM +0100, Jaroslaw Nozderko wrote:
  I've got the following error:
 
  Filesystem type unknown, partition type 0xa5
  Error 17: Cannot mount selected partition
 
  Does GRUB have some problems with FreeBSD partition ?
 
  I recently ran into the same problem - I found the solution in an
  archived posting to the bug-grub@ mailing list (from Sergey Matveychuk
  on Sep 25 2003, if you're interested).
 
  Try this:
 
   rootnoverify (hd0,1)
   chainloader +1
 
 Is your root partition UFS2?  GRUB does not understand UFS2 yet as far as  
 I know, so you may need to chainload as in the above example.
 
 Jud

Yes, it's UFS2, so probably that was a reason.
rootnoverify (hd0,1) fails:

Error 13: Invalid or unsupported executable format

Fortunately,

rootnoverify (hd0,2)
chainloader +1

finally works ! Slices are:

swap 1 GBad0s3b
/home1   1 GBad0s3d
/   28 GBad0s3a

Why 2, not 1 ? I'm a little bit confused.

Anyway, thanks a lot for your help.

Regards,
Jarek


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


NAT Address Redirects

2003-12-23 Thread Jack L. Stone
On my own servers which are all FBSD machines, I use the classic method of
redirecting an IP address from a Gateway machine to a main host and its
vhosts located on an Internal Machine like so:

redirect_address 192.168.0.5 123.xxx.xxx.101 -- main host
...then Apache sends any requests to a vhost to its own IP:
   192.168.0.5 - 123.xxx.xxx.102
   192.168.0.5 - 123.xxx.xxx.103

However, on an ISP where I manage servers, we have a new FBSD Gateway set
that is working fine for the internal FBSD machines behind that GW, just as
above. However, there are also some Window Servers to be setup behind the
Gateway and I was asked if I could do the redirect of several public IPs to
a single Internal IP address as follows (the Win servers run IIS -- not
Apache:

Redirect from FBSD GW to single Window Server
(all of the internal IPs are on one machine):
redirect_address 192.168.0.5 123.xxx.xxx.101
redirect_address 192.168.0.6 123.xxx.xxx.102
redirect_address 192.168.0.7 123.xxx.xxx.103

I have never seen this setup before but, I tried it and it works -- that is
until we pull out the Gateway ad0 drive and put it into another FBSD
machine. This is an experiment to see if the main GW were to go down, could
we pull the HD (or a clone HD) and move it to another machine to get right
back up and running as before.

We have tried this exercise on several identical FBSD machines and find
that the redirects no longer work. Eventually, the one FBSD internal
machine on this new network test will start resolving, but not the Window
stations -- although even here, the FTP will work, but not the port 80 webs
on the Window machines. Moving back to the original machine works again.

We have tried to isolate anything that might be the slightest way different
to figure out why the addresses no longer redirect to port 80 and I have
pretty much concluded that IIS does not handle things like Apache does and
that we cannot redirect as in the FBSD--Windows example above.

Many times, I have successfully switched GW machines using the same HD and
things worked as before. This allows me to bring down a GW machine to do
maintenance while keeping all of the services running on another machine.

Admittedly, I have not run Windows servers and am unfamiliar with IIS and
highly suspect this as the culprit.

Sorry for the length of this one, but was as brief as possible. Any
suggestions greatly appreciated as this put us at the crossroads of whether
to switch to FBSD as a GW/NAT/FW/Router.

Thanks  Happy Holidays!

Best regards,
Jack L. Stone,
Administrator

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


Re: what is diff between pkg_delete make deinstall

2003-12-23 Thread Matthew Seaman
On Tue, Dec 23, 2003 at 02:04:06PM -0500, fbsd_user wrote:
 I see that pkg_delete will delete an port as well as an package. 

Ports and pkgs are different sides of the same coin.

 Does pkg_delete do the same thing as the make deinstall command?

Almost exactly the same.  The difference is that pkg_delete(1) will
delete packages by matching the name and version number stored in
/var/db/pkg, whereas make deinstall deletes the all packages installed
from a particular ports directory where the same $PREFIX setting was
used to install as is currently in force.  Unless you're in the habit
of installing multiple copies of ports/pkgs using different $PREFIX
settings, that generally comes out to be the same thing.

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


NATd newbi Problem.

2003-12-23 Thread Marwan Sultan

Hello everyone,

 Its my first time to setup NAT and I wish someone to fix my bugs here.
 I have a DSL Router Modem connected to Internet and FreeBSD box as follow

 DSL-Router  --  rl0FreeBSDrl1 HUB - 98,XP clients
 
 DSL Router = 192.168.0.1
 rl0= 192.168.0.2
 rl1= 192.168.0.3

 Problem is: rl0 cannot ping rl1 so clients cannot see rl1
 I thought reason cuz both of the NIC's are in same class ? maybe?
 So I changed the IP of rl1 to match 192.0.192.2

 in this case rl0 (192.168.0.2) CAN see both ROUTER and rl1 (192.0.192.2)

 But clients cannot see rl0 because they start to see rl1 class
 because they are in same class.
 in both cases BSD server can access thhe Internet normally because
 its in same router class and correct conf.

 well, im missed here.

 rl0 and rl1 should be in same class? if yes? why they couldnot see each 
 other when they have same class?
 should they be in diffrent claasses? if YES then clients how they will see
 rl0 class?
 what rl1 should be in rc.conf?

 This machine will act a gateway for clients cuz we need to controll
 internet access.

 The follow is compiled in kernel:
 
 options IPFIREWALL
 options IPDIVER
 options IPFIREWALL_DEFAULT_TO_ACCEPT
 options IPFIREWALL_VERBOSET
 
 Follow is in rc.conf

 apm_enable=YES

gateway_enable=YES
firewall_enable=YES
firewall_type=OPEN
natd_enable=YES
natd_interface=rl0
natd_flags=

kern_securelevel_enable=NO
linux_enable=YES
nfs_reserved_port_only=YES
nfs_server_enable=YES
sendmail_enable=YES
sshd_enable=YES
usbd_enable=YES
network_interfaces=rl0 rl1 lo0
ifconfig_rl0=inet 192.168.0.2  netmask 255.255.255.0
ifconfig_rl1=inet 192.0.192.2  netmask 255.255.255.0
defaultrouter=192.168.0.1
hostname=telesen.qualitynet.net
  
--
Marwan Sultan

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


Re: gdm crashes on 5.1

2003-12-23 Thread Jakob Breivik Grimstveit
On Tue, 2003-12-23 at 18:09, Joe Marcus Clarke wrote:

 Did you read the Known Issues section at http://www.freebsd.org/gnome as
 well as the pkg-message from gdm?

Evidently not :-). Thank you for pointing it out for me, it will now
probably work without any further problems.

-- 
Jakob Breivik Grimstveit, http://www.grimstveit.no/~jakob, +47 48298152 

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


Re: grep, netstat, and bridging

2003-12-23 Thread Chris Pressey
On Tue, 23 Dec 2003 08:19:53 -0800 (PST)
Dave McCammon [EMAIL PROTECTED] wrote:

 I this a feature, bug, or just some logical thing that
 grep does( or perhaps netstat)?
 
 Scenario:
 
 IP addresses
 comp1=xx.xx.xx.1
 comp2=xx.xx.xx.6
 comp3=xx.xx.xx.12
 
 comp1 and comp3 run FBSD 4.9 stable
 comp2 runs FBSD 5.1-RELEASE
 
 comp1 is a bridging firewall using ipfw
 
 A: comp2# netstat -n |grep xx.xx.xx.1
 
 tcp4 0 0  xx.xx.xx.6.54953 xx.xx.xx.12.3551 TIME_WAIT
 tcp4 0 0  xx.xx.xx.6.54952 xx.xx.xx.12.3551 TIME_WAIT
 tcp4 0 0  xx.xx.xx.6.22xx.xx.xx.1.1233 
 ESTABLISHED
 
 
 B: comp2# netstat -n |grep xx.xx.xx.1.
 
 tcp4 0 0  xx.xx.xx.6.54954 xx.xx.xx.12.3551 TIME_WAIT
 tcp4 0 0  xx.xx.xx.6.54953 xx.xx.xx.12.3551 TIME_WAIT
 tcp4 0 0  xx.xx.xx.6.22xx.xx.xx.1.1233 
 ESTABLISHED
 
 
 C: comp2# netstat -n |grep xx.xx.xx.12
 
 tcp4 0 0  xx.xx.xx.6.54957 xx.xx.xx.12.3551 TIME_WAIT
 tcp4 0 0  xx.xx.xx.6.54956 xx.xx.xx.12.3551 TIME_WAIT
 
 
 Actually..I see the same output on a cygwin machine
 behind the comp1 firewall.

From the grep(1) man page:

  The period .  matches any single character.

Try fgrep(1) (or grep -F) instead and see if that helps?

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


Re: Straightening out perl

2003-12-23 Thread parv
in message [EMAIL PROTECTED],
wrote Scott I. Remick thusly...

 Maybe this belongs in the -ports list... I dunno. Anyways, saw a few
 messages recently that prompted me to check my perl situation:
 
 su-2.05b# pkg_info | grep perl-
 perl-5.6.1_15   Practical Extraction and Report Language
 perl-5.8.2_2Practical Extraction and Report Language
 
 And wouldn't you know, everything that depends on perl depends on 5.6
 currently. Yet it seems I should be ditching 5.6 and using 5.8.2, from
 what I read.

May not directly apply to OP...

If two versions of Perl are required ( as the situation is currently),
install one port at the default location for which modules must work.
Install the other perl port, for which modules are not needed, in
a non-default version.

If done in that order, the second port would pick up the module path
from the first.  Thus allowing the use of almost all the modules, except
XS ones.

Just a workaround until something better happens...


  - Parv

-- 

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


A Challenge... NAT for PPP dial in user

2003-12-23 Thread Drew Robertson
Hey all,

I've been playing around with this for a while.

I have a FreeBSD 4.8 box set as a gateway on my home LAN.  I have 1 pc 
downstairs, and a few dial up users... FreeBSD box has 2 network cards, 1 
for internal, 1 for external internet using cable  1 56k modem.

Very simple problem... when a dial in user connects to the FreeBSD 
gateway/router using PPP, NAT stops working on the PC downstairs and won't 
work on the dial in PC either...

I have complete LAN access (telnet, ssh, samba, ping etc) on both the dial 
in PC and the downstairs PC, but somewhere my config is preventing everyone 
from being able to access the internet at once.

In rc.conf, I have my Gateway_enable=YES, defaultrouter=192.168.1.1, 
router_enable=yes, proxyarp_all=yes...

PPP.conf is simple...

 enable pap
 enable passwdauth
 set ifaddr 192.168.1.1 192.168.1.100-192.168.1.199 255.255.255.0
 add HISADDR 255.255.255.0 MYADDR
 accept dns
 set dns 203.2.75.132
 enable proxy
In natd.conf

interface tl0
sameports yes
dynamic yes
I'm running a firewall, but it is open for the TUN0 interface...

I also have a divert natd (8668) allow all from any to any out via tl0

All other PC's on the LAN are windows clients... the one downstairs I was 
able to just set a default gateway and it was up and running on the 
internet, unfortunately it isn't done like that on a dial in setup on 
windows...  I can't use DHCP for the clients, as I'm not supposed to have 
internet sharing running...

Do I need to have an add statement in the PPP.conf, or do i have to enable 
proxyall rather than enable proxy??

Worst thing about this is I can't find enough doco on it on the net... I'll 
write my own when I get it done...

Thanks

D

_
E-mail just got a whole lot better. New ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp

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


Stuff

2003-12-23 Thread Paul Murphy
 Terrilynn could you please make sure your mum gets the attachment on
this message. Thanx

-- 
Cogeco ergo sum


pgp0.pgp
Description: PGP signature


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Ulf Zimmermann
ld-elf.so.1 should also be on the first CD. Its just inside
the split tar.gz files which make up the base of FreeBSD.

Check out the bin/ directory on the cd, all the bin.[a-z][a-z] 
files are a split of a large tar.gz, and that includes the ld-elf.so.1

On Tue, Dec 23, 2003 at 11:13:14AM -0800, Peter Leftwich wrote:
 Matthew Seaman [EMAIL PROTECTED] kindly transmitted:
  On Tue, Dec 23, 2003 at 01:32:07AM -0500, Peter Leftwich wrote:
   What should a user do if their, uhm, /usr/libexec/ld-elf.so.1
   file is missing on 4.7-RELEASE?  Can said user `touch
   /usr/libexec/ld-elf.so.1` as a decent fix?  Or mount their drive
   from another OS and copy over a friend's or a web-hosted
   ld-elf.so.1 file?  Or could I, I mean my friend, use some of the
   contents of src/ on a 4.7-RELEASE CD-R to recreate (via
   compiling) this needed file??  Please help.  It could be your
   gift to me.
 
 Hello Matthew, Fbsd-Q's and WWW server peoplefolk.
 
  Without ld-elf.so.1 you won't be able to start up any executable
  that uses shared libraries... You might find a copy in
 
 I noticed!  *funnyface*  Just joking around.  Thanks for the details.
 
  /usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 if you've ever built
  world on that machine, and there's a statically linked version of
  cp(1) in /bin.  Otherwise, yes: the live filesystem CD (Disk 2)
  will have a copy or you can extract your drive and mount it in
  another machine.
 
 REQUEST: Could one of the *.freebsd.org webmasters or listserv
 admins please post the ld-elf.so.1 file from 4.7-RELEASE?  It could
 go up (officially) to
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.7-RELEASE/usr/libexec/ld-elf.so.1
 
  fantasy world pops!
 
 I only have the first CD-R and do not have time to download the 2nd
 CD-R's ISO just for the one file... 2:-)
 
  Let this be a lesson to your friend not to be too hair
  triggered on the delete key...
 
 Best way to learn.  Well, maybe not best; but I certainly have
 learned a TON this way, the rootly way.  *smiles*
 
  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
 
 ASIDE: {It will be neat when one day there's an Internet standard
 for www.website.com/pgpkey and
 www.website.com/software/name_here/md5 and
 www.website.com/hostname_here/sshkey - oh and
 https://www.website.com/trusted.htm or something like that.}  ;)
 
 --
 Peter Leftwich, President  Founder
 Video2Video Services
 Box 13692, La Jolla, CA, 92039, USA
 http://Www.Video2Video.Com
 
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-www
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Regards, Ulf.

-
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204
You can find my resume at: http://seven.Alameda.net/~ulf/resume.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dynamic link problem

2003-12-23 Thread Jesse Guardiani
Howdy list,

I've got an old copy of Wordperfect (now deleted from ports) that I use at work.

When I run the program, I get this output:

% xwp
/usr/local/lib/corel/wpbin/xwp: can't load library 'libXt.so.6'
Exit 16

Obviously a dynamic link problem, so I run ldd on it:

% ldd -a /usr/local/lib/corel/wpbin/xwp
libXt.so.6 = not found
libX11.so.6 = not found
libXpm.so.4 = not found
libm.so.5 = not found
libc.so.5 = /usr/lib/libc.so.5 (0x28749000)

OK. Fair enough. It can't find the first four libraries.
But why? libXt.so.6 is listed by ldconfig:

% ldconfig -r | grep libXt.so.6
140:-lXt.6 = /usr/X11R6/lib/libXt.so.6

So are the other three:

% ldconfig -r | grep libX11.so.6
162:-lX11.6 = /usr/X11R6/lib/libX11.so.6

% ldconfig -r | grep libXpm.so.4
143:-lXpm.4 = /usr/X11R6/lib/libXpm.so.4

% ldconfig -r | grep libm.so.5
712:-lm.5 = /usr/compat/linux/usr/i486-linux-libc5/lib/libm.so.5

So how do I fix this?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


rc initialization anomaly (some sections are being loaded twice)

2003-12-23 Thread Ihsan Junaidi
I upgraded a test system running 5.1 to 5.2 RC1 and with it, i came upon 
a few difficulties. firstly, the default login and su PAM configs are 
(mis)configured so that they totally ignored the password. so each user 
is able to login freely without being prompted for a password.

but the one i'm about to explain has been, thus far the most perplexing 
to solve.

I've been getting weird behaviour from the rc init system, specifically 
with it loading some sections of initization twice. i'm not sure if this 
is intentional but it's annoying to see warning messages popped up and 
they loaded just fine on 5.1.

my rc.conf is clean, no duplicate, so does my local rc.d, 
/usr/local/etc/rc.d. i'm not well-versed in the rc architecture so i 
hope you can forgive my lack of details. i attach together my dmesg -a 
output, cut to the chase. the number of local daemons is cut down to one 
since having all of them probably is needless. they started just fine 
the first time round.

---
Firewall rules loaded, starting divert daemons:
.
net.inet.ip.fw.enable:
1
 -
1
add net default: gateway 192.168.1.1
Additional routing options:
 IP gateway=YES
.
hw.bus.devctl_disable:
0
 -
1
Mounting NFS file systems:
.
Starting syslogd.
Clearing /tmp.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib 
/usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Starting usbd.
Starting local daemons:
.
Configuring syscons:
 blanktime
.
Starting sshd.
Initial i386 initialization:
.
Additional ABI support:
.
Starting cron.
Local package initialization:
postfix/postfix-script: starting the Postfix mail system
.
Local package initialization:
postfix/postfix-script: fatal: the Postfix mail system is already running
.
Additional TCP options:
.
Additional TCP options:
.
route:
writing to routing socket
:
File exists
add net default: gateway 192.168.1.1: File exists
Additional routing options:
 IP gateway=YES
.
Starting moused:
.
Starting inetd.
Starting background file system checks in 60 seconds.

Wed Dec 24 04:22:56 MYT 2003
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: floppy mount support

2003-12-23 Thread samy lancher

Hey,

Try  mount_msdos /dev/fd0 yourfolder

Srinivasa Kanduru [EMAIL PROTECTED] wrote:
Hi,

I happenned to install 5.1 FreeBSD. I couldn't mount floppy disk. I noticed
that /dev/fd0 did not exist. I tried doing a mknod using character device 9, 0
for fd0 but it doesn't work. The floppy devnode is not permitted to be created.


Incidentally there seems to be a change in the devfs and the usage is not very
intuitive. Is there anywhere the examples are given ? Particularly if I want to
use the floppy disk how can I get around this problem.

Thanks,
Srini.

 

 



__
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]



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


Re: rc initialization anomaly (some sections are being loaded twice)

2003-12-23 Thread Lowell Gilbert
Ihsan Junaidi [EMAIL PROTECTED] writes:

 I upgraded a test system running 5.1 to 5.2 RC1 and with it, i came
 upon a few difficulties. firstly, the default login and su PAM configs
 are (mis)configured so that they totally ignored the password. so each
 user is able to login freely without being prompted for a password.

You removed pam.conf?

 I've been getting weird behaviour from the rc init system,
 specifically with it loading some sections of initization twice. i'm
 not sure if this is intentional but it's annoying to see warning
 messages popped up and they loaded just fine on 5.1.

Sounds like you neglected the 20030829 entry in /usr/src/UPDATING.
No?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Peter Leftwich
Ulf Zimmermann [EMAIL PROTECTED] wrote:
 ld-elf.so.1 should also be on the first CD. Its just inside
 the split tar.gz files which make up the base of FreeBSD.

 Check out the bin/ directory on the cd, all the bin.[a-z][a-z]
 files are a split of a large tar.gz, and that includes the
 ld-elf.so.1
 --
 Regards, Ulf.
 Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #:
 510-865-0204 You can find my resume at:
 http://seven.Alameda.net/~ulf/resume.html

No wonder `find /mnt/cdrom1 -iname ld*` had no results.  You're an
angel!!  Thank you so much Ulf.  From now on, whenever I see the
phrase Gulf of Mexico, I will see it as g'Ulf of Mexico!!  :D

-Peter



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


compiling a kernel on a different machine

2003-12-23 Thread Rowdy
Greetings,

My attempts to compile a (5.1-RELEASE) kernel on a very old PC take 
around 5 hours (of compile time), while a much faster machine sits by 
idle.  It would be great to be able to compile the kernel on the faster 
machine and transfer it to the older machine.

Would I be correct in thinking that the simplest way to do this would be 
to execute the compile AND the install on the fast PC, then copy the 
/boot/kernel directory from the fast PC to the old PC?  I realise I 
would need to rename /boot/kernel.old back to /boot/kernel on the fast 
PC so it would boot again.

Or is there a better way without disrupting /boot on the fast PC?

tia

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


Re: compiling a kernel on a different machine

2003-12-23 Thread Drew Tomlinson
Rowdy told a big fish story including the following on 12/23/2003 1:31 PM:

Greetings,

My attempts to compile a (5.1-RELEASE) kernel on a very old PC take 
around 5 hours (of compile time), while a much faster machine sits by 
idle.  It would be great to be able to compile the kernel on the 
faster machine and transfer it to the older machine.

Would I be correct in thinking that the simplest way to do this would 
be to execute the compile AND the install on the fast PC, then copy 
the /boot/kernel directory from the fast PC to the old PC?  I realise 
I would need to rename /boot/kernel.old back to /boot/kernel on the 
fast PC so it would boot again.

Or is there a better way without disrupting /boot on the fast PC?
Apologies if this get posted as html.  I'm trying a new mail client and 
may not have it configured correctly yet.

Anyway, there is a better way.  I briefly looked through the TOC of the 
handbook but could not find the page I was looking for.  However, I know 
I've seen it somewhere.

The basic procedure is to have your fast machine do the make buildworld 
and make buildkernel steps and then mount /usr/src and /usr/obj from the 
fast machine to the slow machine.  Then do the make installkernel and 
make installworld steps on the slow machine, thus copying the files that 
were built on the fast machine.

Maybe someone else will post the link to the detailed steps that I can't 
find at the moment.

HTH a little,

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


Re: compiling a kernel on a different machine

2003-12-23 Thread Daniela
On Tuesday 23 December 2003 21:31, Rowdy wrote:
 Greetings,

 My attempts to compile a (5.1-RELEASE) kernel on a very old PC take
 around 5 hours (of compile time), while a much faster machine sits by
 idle.  It would be great to be able to compile the kernel on the faster
 machine and transfer it to the older machine.

 Would I be correct in thinking that the simplest way to do this would be
 to execute the compile AND the install on the fast PC, then copy the
 /boot/kernel directory from the fast PC to the old PC?  I realise I
 would need to rename /boot/kernel.old back to /boot/kernel on the fast
 PC so it would boot again.

 Or is there a better way without disrupting /boot on the fast PC?

Set the DESTDIR environment variable to the directory where the new kernel 
should go into.


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


Re: 5.2-rc1 Install and USB mouse problems

2003-12-23 Thread Lars Köller

Hello!

In reply to Lars =?iso-8859-1?Q?K=F6ller?= who wrote:

Not sure here; the USB mouse on my home system (VIA KT400 chipset) works
as expected. perhaps there are two mouseds running?

No, nothing in that area. At the moment I think it has to do with the 
usb code in the 5.2 kernel. The problem is I don't have an idea how to 
further debug.

Do you know an USB-coding-expert, who can debug this with me?
Would be nice to have a mouse even when changing to 5.2 ;-)

I've further test the extra USB2+FW Combo card, and if I plug my mouse 
there it will run in under 4.9 and 5.2.

However something in 5.2 has changed, which avoids a working usb mouse 
with the onboard VIA usb port. The board is a Gigabyte GA6VXDC2 (SMP).
I've detached and reattached the mouse to the onboard usb bus, and see:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), 
rev 1.00
 port 1 addr 0 should never happen!
 port 2 powered

Attached are the dmesg.boot file for my 4.9 and 5.2 system and the 
usbdevs -v output under 5.2 and 4.9. Have a look at the shadow device 
in usbdev2-49.out after deconnecting the mouse from the PCI card usb 
device and reconnect it to the onboard usb slot.

Perhaps someone can have a look at it.

Again best regards and merry christmas ;-)

Lars

-- 
Lars Köller
E-Mail: [EMAIL PROTECTED] ([EMAIL PROTECTED])
 FreeBSD, was sonst?  http://www.de.freebsd.org 

Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, PS2/USB Browser Combo 
Mouse(0x0011), Cypress Sem(0x05fe), rev 0.10
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, PS2/USB Browser Combo 
Mouse(0x0011), Cypress Sem(0x05fe), rev 0.10
 port 2 powered
Controller /dev/usb1:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, product 0x0011(0x0011), Chic 
Technology(0x05fe), rev 0.10
Controller /dev/usb2:
addr 1: self powered, config 1, OHCI root hub(0x), NEC(0x), rev 1.00
 port 1 powered
 port 2 powered
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Tue Oct 28 23:58:41 CET 2003
[EMAIL PROTECTED]:/opt/temp/obj/usr/src/sys/ODIE
Timecounter i8254  frequency 1193182 Hz
CPU: Intel Pentium III (800.03-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x68a  Stepping = 10
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real memory  = 536805376 (524224K bytes)
avail memory = 518049792 (505908K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 - irq 0
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel kernel at 0xc0446000.
Preloaded elf module splash_pcx.ko at 0xc044609c.
Preloaded elf module vesa.ko at 0xc0446140.
Preloaded splash_image_data /boot/splash.pcx at 0xc04461dc.
Preloaded elf module procfs.ko at 0xc044622c.
Preloaded elf module vn.ko at 0xc04462cc.
Preloaded elf module if_tun.ko at 0xc0446368.
Preloaded elf module miibus.ko at 0xc0446408.
Preloaded elf module if_xl.ko at 0xc04464a8.
Preloaded elf module snd_sb16.ko at 0xc0446548.
Preloaded elf module snd_sbc.ko at 0xc04465e8.
Preloaded elf module snd_pcm.ko at 0xc0446688.
Preloaded elf module usb.ko at 0xc0446728.
Preloaded elf module ugen.ko at 0xc04467c4.
Preloaded elf module uhid.ko at 0xc0446860.
Preloaded elf module ukbd.ko at 0xc04468fc.
Preloaded elf module ums.ko at 0xc0446998.
Preloaded elf module umass.ko at 0xc0446a34.
Preloaded elf module uscanner.ko at 0xc0446ad4.
Preloaded elf module snp.ko at 0xc0446b74.
Preloaded elf module firewire.ko at 0xc0446c10.
Preloaded elf module sbp.ko at 0xc0446cb0.
VESA: v3.0, 65536k memory, flags:0x1, mode table:0xc0366282 (122)
VESA: NVidia
Pentium Pro MTRR support enabled
acpi0: AMIINT  on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_cpu1: CPU on acpi0
acpi_tz0: thermal zone on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
npx0: math processor on motherboard
npx0: INT 16 interface

DVD Burning

2003-12-23 Thread Eric van Gyzen
I have:

 - FreeBSD 5.1-RELEASE
 - HP DVD Writer 300i (ATAPI, using ATAPICAM)
 - Imation DVD-R media

I'm trying:

  # growisofs -speed=1 -Z /dev/cd0=/tmp/foo.iso
  :-[ Unit won't start: 40901 ]
  :-( /dev/cd0: unsupported MMC profile 10

  # dvd+rw-mediainfo /dev/cd0 
  INQUIRY:[HP  ][DVD Writer 300c ][7H29]
  GET [CURRENT] CONFIGURATION:
   Mounted Media: 10h, DVD-ROM
  READ DVD STRUCTURE[#0h]:
   Media Book Type:   01h, DVD-ROM book [revision 1]
   Legacy lead-out at:0*2KB=0
  - [unable to READ DISC INFORMATION(33001)]: Invalid argument

Does the second command really think the media is a read-only DVD-ROM?

I have also tried dvdrtools.  I can send the output if it might help.

Thanks in advance!

Eric

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


SpamAssassin

2003-12-23 Thread Doug Reynolds
Just wanted to thank all the people who replied about setting up
Spamassassin w/ Freebsd.  I've got it working, and have cut my spam by
much over half.  I got it working with procmail.

Thanks to all, and Merry Christmas, and Happy new Year.
---
doug reynolds | the maverick | [EMAIL PROTECTED]


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


Re: DVD Burning

2003-12-23 Thread Mark Woodson
On Tuesday 23 December 2003 03:10 pm, Eric van Gyzen wrote:
 I have:

  - FreeBSD 5.1-RELEASE
  - HP DVD Writer 300i (ATAPI, using ATAPICAM)
  - Imation DVD-R media

 I'm trying:

   # growisofs -speed=1 -Z /dev/cd0=/tmp/foo.iso

   :-[ Unit won't start: 40901 ]
   :-( /dev/cd0: unsupported MMC profile 10

I'd suggest googling unsupported MMC profile 10 and read through the 
threads that brings up.  It appears to have something to do with 
incompatible media/firmware combos.

-Mark

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


Re: www.knoppix.net and maybe one day FreeBSDCDR?

2003-12-23 Thread Daniela
On Monday 22 December 2003 00:36, Daniela wrote:
 On Thursday 18 December 2003 03:33, Peter Leftwich wrote:
  Hi again,
 
  Could someone explain how to create a similar bootable CD-R of FreeBSD
  that, at boot-time, would mount root to a ramdisk and run Gnome or KDE
  automatically?  Everything would have to use relative links and paths,
  eh?
 
  This Knoppix (Debian) Linux CD is a real life-saver (although I can't
  figure out how to mount the partition that has my 4.7-RELEASE root /)
  and worth checking out.  Give it as a gift to a techie on your list!!!

 I'm already doing this, with a few additional features such as mounting a
 ramdisk over the entire root (so everything is writable), automatic saving
 and restoring of changed files, automatic XFree86 configuration, ...
 Everything is done in shellscript and AFAIK it will require no source code
 change at all, and it works for all versions.

 I currently have no hosting for the project, so I'm doing everything alone,
 but I'd really like to get other people involved as well.

Alright, I uploaded some stuff. It's at user.berklix.org/~dgw.


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


shutdown and reboot

2003-12-23 Thread pics
Hi,
I've had experience with RH Linux but am not very familiar with FreeBsd. For some 
reason, I cannot get the machine to reboot or to shutdown. I looked at the man pages 
for the shutdown command, and, for rebooting, typed #shutdown -r now. but I still have 
the same problem as I did with the reboot command:

...
Saving firewall state tables:.
Dec 23 17:08:40 syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process 'vnlru' to stop...stopped

and that's where it just freezes!!!
Also, for shutdown, after printing some stuff on the screen, it asks me for a shell 
then gives me the shell's prompt like nothing happened.
I'm no sys admin so some help is appreciated. Thanks.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question on PS/2 Wheelmouse through KVM

2003-12-23 Thread Scott W
Hey all.  Strange but not totally surprising behavior, anyone have any 
ideas?

System:
IBM Netfinity 4500R
1G RAM
2x 667MHz PIII CPUs
Logitech Trackman Wheel PS/2
Mouse and KB through Belkin 8 port rackmount KVM
Running recent 5.X current
SMP kernel
When I was running the mouse via USB/not through the KVM, the middle 
(wheel) button worked fine, as did the wheel after a bit of tweaking on 
moused and the X config file.

Via PS2 and through the KVM, it appears there's nothing I've found yet 
that will enable the wheel, although the wheel 'button' itself works.

Running moused in debug mode in a terminal using -z4 shows buttons 
numbered 'normally' 1-3 from left to right and gives corresponding 
output for each button being depressed...however, scrolling the wheel 
gives no output, which I'm assuming it should be doing for a positive or 
negative movement value.

The same setup works fine, mouse wheel included, through the same KVM to 
another SMP Linux system, which has run RHAS2.1, 3.0, and now WhiteBox 
Linux (free 'clone' of RH3ES), without any issues, so it doesn't appear 
to be the KVM, although I've seen historically that BSD seems to have 
more than it's share of KVM input issues

Any ideas on what to try next?  Opera in X without a scroll mouse is 
like Windows claiming it's secure- it's just wrong :-(

Scott

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


Re: compiling a kernel on a different machine

2003-12-23 Thread Sean Ellis
On Tue, Dec 23, 2003 at 02:31:38PM -0800, Drew Tomlinson wrote:
 Rowdy told a big fish story including the following on 12/23/2003 1:31 PM:
 
 My attempts to compile a (5.1-RELEASE) kernel on a very old PC take 
 around 5 hours (of compile time), while a much faster machine sits by 
 idle.  It would be great to be able to compile the kernel on the 
 faster machine and transfer it to the older machine.
 
 Or is there a better way without disrupting /boot on the fast PC?
 
 Anyway, there is a better way.  I briefly looked through the TOC of the 
 handbook but could not find the page I was looking for.  However, I know 
 I've seen it somewhere.

I think that page that you're thinking of has undergone some changes. I
would refer to it myself when doing buildworld on a faster machine, then
installing to the slower, target. The newer pagee, if I'm correct, is
here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html
Essentially it's the same procedure, but the step by step instructions
for getting the nfs mount is gone. An editorial decision reflecting the
notion that this wasn't the place for an nfs howto(?).

OK, hang on. Here it is in an older handbook I have. Appearing as:
19.4.15.5. Can I use one machine as a master to upgrade lots of machines
(NFS)?, a question at the bottom of the handbook's makeworld.html. That could likely 
be
searched for and retrieved somewhere in this vast internet of ours,

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


Re: compiling a kernel on a different machine

2003-12-23 Thread Sean Ellis
On Tue, Dec 23, 2003 at 06:04:09PM -0800, Sean Ellis wrote:
 On Tue, Dec 23, 2003 at 02:31:38PM -0800, Drew Tomlinson wrote:
 
 OK, hang on. Here it is in an older handbook I have. Appearing as:
 19.4.15.5. Can I use one machine as a master to upgrade lots of machines
 (NFS)?, a question at the bottom of the handbook's makeworld.html.i

Oops, I'm sorry. Having fired off that last post I've realized that this
is not the page that I thought I was remembering ; )

The christmas cheers part stands, however,

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


minor `cp -R` question

2003-12-23 Thread Tom McLaughlin
Hi, I have a quick question about the cp command and recursively copying
a directory.  If I type:

$ cp -R /foo/file/ ~/

I get in my home directory a file called file.  If I type:

$ cp -R /foo/file ~/

I get in my home directory a directory called foo and a file called
file.  Can someone explain why the trailing slash cp to behave
differently?  

My user shell is pdksh and the root shell is csh.  I have pdksh set to
use complete-list and csh to use autolist.  Is this behavior just
something unique to FreeBSD?  I tried the same on my OpenBSD box and the
two commands worked the same and created a directory with a file in it. 
I also don't remember these working differently on linux.  Do I possibly
have something setup wrong with my shells?  Thanks.

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


group members can't modify files even though 775 set

2003-12-23 Thread Seamus Abshere
Dear freebsd-questions,

I want all members of the webmasters group to be able to modify my web 
documents directory /www.

Here's my user, a webmaster:
$id sabshere
uid=1000(sabshere) gid=0(wheel) groups=0(wheel), 1002(webmasters)
and, just in case, here's root:
$id root
uid=0(root) gid=0(wheel) groups=0(wheel), [...], 1002(webmasters)
Here's my directory:
$ls -l
-rwxrwxr-x  1 root  webmasters  3714 Dec 19 16:49 index.html
But this happens when I am logged in as sabshere:
$echo whatev  index.html
-bash: index.html: cannot overwrite existing file
I thought this had to do with the sticky bit, but chmod -R -t /www 
doesn't do anything.

Thanks for any insight you can give,

Seamus

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


Re: compiling a kernel on a different machine

2003-12-23 Thread Jesse Guardiani
Sean Ellis wrote:

 On Tue, Dec 23, 2003 at 06:04:09PM -0800, Sean Ellis wrote:
 On Tue, Dec 23, 2003 at 02:31:38PM -0800, Drew Tomlinson wrote:
  
 OK, hang on. Here it is in an older handbook I have. Appearing as:
 19.4.15.5. Can I use one machine as a master to upgrade lots of machines
 (NFS)?, a question at the bottom of the handbook's makeworld.html.i
 
 Oops, I'm sorry. Having fired off that last post I've realized that this
 is not the page that I thought I was remembering ; )

I can't think of a better way to install a kernel than to copy /boot/kernel
to the new machine or set the DESTDIR environment var. If you're installing
world then it's a different story, but kernels are fairly self contained.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


DAT drives

2003-12-23 Thread Wayne E. Bouchard
Okay, probably a dumb question but I can't readily find an answer
in the archives..

I just picked up a (used) surestore C1533A (thats an HP device) and am
having some problems getting it work quite right. I've got the dip switches
set correctly (I was able to find at least 3 corroborating pages for that)
but can't manage to get it to write correctly. It will only write about
50 megs using 0a as dump flags. Trying to specify -B and estimating
compression got me to about 200 but it's a 4 gig drive. All it wants to
do is write a few blocks, sit and sputter for a second or two, write a few
more, (repeat for about 15 minutes) and then tell me it's at EOM well before
it should be.

There are notes in the hardware compatability section that says this
drive has been made to work onder FreeBSD so I know at least that it's
not simply an unsupported device.

Any suggestions from the folks in the audience?

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


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-23 Thread Peter Leftwich
On Tue, 23 Dec 2003, Ulf Zimmermann wrote:
 ld-elf.so.1 should also be on the first CD. Its just inside
 the split tar.gz files which make up the base of FreeBSD.

 Check out the bin/ directory on the cd, all the bin.[a-z][a-z]
 files are a split of a large tar.gz, and that includes the ld-elf.so.1
 --
 Regards, Ulf.
 Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204
 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html

UGH and *lament* - I came home thinking Tonight will be the night, I can
stop using this bootable-ramdisk-creating Knoppix Debian Linux CD-R and
again start using FreeBSD 4.7-RELEASE...

But no.  I looked at /mnt/cdrom1/bin/* and tried a `tar -tzf
binary-filename-here` to list the contents but it didn't work.  Is there a
++CONTENTS or ls-laR.tgz file somewhere of the contents?

Is the consensus that if this /usr/libexec/ld-elf.so.1 file is replaced
then all should be fixed?  Thanks Ulf!

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Running dual CPUs

2003-12-23 Thread Gerard Samuel
I acquired a pair of Slot 1 CPUs that is supposedly a matched pair.
I've heard, that they must be of the same stepping, and Im not sure of what Im 
looking for.
CPU specs are at -
http://processorfinder.intel.com/scripts/
details.asp?sSpec=SL3XLProcFam=25PkgType=ALLSysBusSpd=ALLCorSpd=5775
Just trying to be careful before I fry the thing, so any pointers are welcome.
Thanks

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


compile error in cinepaint

2003-12-23 Thread epilogue
hello all,

i am eager to give the recently added cinepaint port a try but ran into a
little problem making.

# uname -a
FreeBSD 4.9-RELEASE-p1 

/usr/ports/graphics/cinepaint# make install
===  Building for cinepaint-0.18

[SNIP]

Making all in guash
gmake[2]: Entering directory
`/usr/ports/graphics/cinepaint/work/cinepaint-0.18-1/plug-ins/guash'/bin/sh
../../libtool --mode=link cc  -O -pipe -march=pentiumpro   -o guash 
guash.o icons.o ../../lib/libcinepaint.la -L/usr/X11R6/lib -L/usr/X11R6/lib
-lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXi
-lXext -lX11 -lm -lc cc -O -pipe -march=pentiumpro -o .libs/guash guash.o
icons.o ../../lib/.libs/libcinepaint.so -L/usr/X11R6/lib -L/usr/X11R6/lib
-lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXi
-lXext -lX11 -lm -lc  -Wl,--rpath -Wl,/usr/X11R6/lib guash.o: In function
`run': guash.o(.text+0x236): undefined reference to
`gimp_procedural_db_get_data' guash.o(.text+0x3b0): undefined reference to
`gimp_procedural_db_set_data' guash.o: In function
`guash_build_thumbnail_from_gimage': guash.o(.text+0xb6a): undefined
reference to `gimp_layer_is_floating_sel' guash.o(.text+0xfd2): undefined
reference to `gimp_image_parasite_find' guash.o(.text+0x107a): undefined
reference to `gimp_parasite_free' guash.o: In function
`guash_get_image_from_file': guash.o(.text+0x116d): undefined reference to
`gimp_image_undo_disable' guash.o: In function `guash_open_image_file':
guash.o(.text+0x1c4e): undefined reference to `gimp_image_undo_enable'
guash.o: In function `thumbnail_save_as_jpeg_thumbnail':
guash.o(.text+0x7caf): undefined reference to `gimp_image_undo_disable'
guash.o: In function `timer_start_guash':
guash.o(.text+0x9d7c): undefined reference to `gimp_procedural_db_set_data'
gmake[2]: *** [guash] Error 1
gmake[2]: Leaving directory
`/usr/ports/graphics/cinepaint/work/cinepaint-0.18-1/plug-ins/guash'
gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/ports/graphics/cinepaint/work/cinepaint-0.18-1/plug-ins' gmake: ***
[all-recursive] Error 1*** Error code 2


i fiddle with things where i can, but i am, alas, no hacker.  i would
really appreciate any assistance that could be provided to help me get this
program properly built.

please take your time in replying.  this is not urgent.


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