Re: sticky bit q-mail and DHCP

2002-07-24 Thread Randall Creighton

Just wondering, but if you are  hosting your own domain shouldn't you 
have a static ip address? or is there a way to inform dns about your ip 
address should it change?

Randy

Grant Cooper wrote:

Ok, I guess my question is, DHCP automatically fills in the host part for
me. But since I host my own domain, should I overload the tellus.ab.ca and
change it to kooper.ca. I was thinking other packages such as sendmail or
qmail would use this thinking my domain is tellus.ab.ca. I couldn't find any
info on that.

Thanks for the 1000 I was reading up and down that man list.
- Original Message -
From: Samuel Chow [EMAIL PROTECTED]
To: Grant Cooper [EMAIL PROTECTED]
Cc: FreeBSD_Questions (E-mail 2) [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 12:49 AM
Subject: Re: sticky bit  q-mail and DHCP


  

- Original Message -
From: Grant Cooper



1. I am using my home computer that uses a DHCP. In /etc/rc.conf
my hostname is automatically entered. I realize this is the name of
my computer given to me from my ISP. I purchased my domain
kooper.ca. Should I change the hostname in /etc/rc.conf to
hostname=dell.kooper.ca.  If not, what would the origional host
name be used for? I'm sure I should change it.
  

The short answer is it doesn't matter.
Hostname and DNS name are quite different.  While you can
make them the same, they really don't have to be.
When people lookup dell.kooper.ca, only the DNS
is used.  The hostname is irrelevant.




2. chmod +t /var/qmail/supervise/qmail-pop3d
What does it mean by sticky bit + t
  

man chmod
Look under the MODES section and find 1000.

---
Samuel Chow
[EMAIL PROTECTED]

Segmentation Fault (core dumped)
This message is displayed using recycled electrons.







To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message

  




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: where is /dev/ukbd0

2002-07-24 Thread Adam Weinberger

it looks to me like the man page is not in sync with the faq. i'll
submit a patch for that.

i'd go with what the manpage says. please read the manpage. it contains
much better instructions that the excerpts here:

you need to compile your kernel with options KBD_INSTALL_CDEV.
you need to cd /dev  sh MAKEDEV kbd0 kbd1
you need to remove the device atkbd line from the kernel
you need to run:
kbdcontrol -k /dev/kbd0  /dev/ttyv0  /dev/null as the system
boots, in something like your /etc/rc.local

-Adam


 (07.23.2002 @ 2234 PST): Ed Yu said, in 1.6K: 
 I already have kbd0 kbd1 but NO ukbd0. I can't 'sh
 MAKEDEV ukbd0'. The FAQ has refernce to /dev/ukbd0:
 If there is the USB keyboard only, it will be
 /dev/ukbd0, just wondering where it is. :) 
 --- Adam Weinberger [EMAIL PROTECTED] wrote:
  read ukbd(4), i.e. man 4 ukbd
  
  quoted from the 3rd paragraph:
  
   By default, the keyboard subsystem does not
  create the appropriate
   devices yet.  Make sure you reconfigure your
  kernel with the
   following
   option in the kernel config file:
  
  options KBD_INSTALL_CDEV
  
   Go to /dev and make device nodes kbd*:
  
  sh MAKEDEV kbd0 kbd1
  
  -Adam
  
  
   (07.23.2002 @ 1845 PST): Ed Yu said, in 0.4K: 
   I see the following at dmesg:
   ukbd0: Sun Microsystems Type 6 USB keyboard, rev
   1.00/1.01, addr 3, iclass 3/1
   kbd1 at ukbd0
   
   but I don't see /dev/ukbd0, why?
   
   thanks.
   
   __
   Do You Yahoo!?
   Yahoo! Health - Feel better, live better
   http://health.yahoo.com
   
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body
  of the message
   
   end of where is /dev/ukbd0 from Ed Yu 
  
  
  --
  Oh good, my dog found the chainsaw.
  -Lilo, Lilo  Stitch
  Adam Weinberger
  [EMAIL PROTECTED]
  http://vectors.cx
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of
  the message
 
 
 __
 Do You Yahoo!?
 Yahoo! Health - Feel better, live better
 http://health.yahoo.com
 
 end of Re: where is /dev/ukbd0 from Ed Yu 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Adam Weinberger

i'm going to have to ask that anybody else who knows please step in
here...

to know where it's dying, i'd need to see a kernel trace, isolating the
system call that it's b0rking on.

have you changed any other options in your kernel?

-Adam


is it still complaining that it cannot load the so.2?
 (07.23.2002 @ 2237 PST): Eric Dedrick said, in 2.3K: 
 Okay, I just installed linux_base 7.1 from the ports and linux
 compatability is still broken (everything is failing with bad system
 call signal 12).  linux.ko is loaded, compatability mode enabled.  What
 do you suggest now?
 
 On Tue, 23 Jul 2002, Adam Weinberger wrote:
 
  you have to uninstall the old version of linux_base that you have. if
  you don't know how to do that, you can always:
 
  install /usr/ports/sysutils/portupgrade
 
  then, do:
  portupgrade -o emulators/linux_base linux_base-\*
 
  that should take care of that.
 
  -Adam
 
 
   (07.23.2002 @ 2024 PST): Eric Dedrick said, in 1.4K: 
i hope you have a semi-recent ports tree, because you need
linux_base-7.1.
  
   installing linux_base 7.1 from the ports gives me the following error.
   Advice?  Thanks.
  
   ---
  
   (several screen fulls of the same type of stuff)...
   file /usr/share/zoneinfo/right/US/Eastern from install of
   glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
   file /usr/share/zoneinfo/right/US/Hawaii from install of
   glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
   file /usr/share/zoneinfo/right/US/Indiana-Starke from install of
   glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
   file /usr/share/zoneinfo/right/US/Michigan from install of
   glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
   file /usr/share/zoneinfo/right/US/Mountain from install of
   glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
   file /usr/share/zoneinfo/right/US/Pacific from install of
   glibc-common-2.2.2-10 conflicts with file from package glibc-2.1.2-11
   file /usr/share/zoneinfo/right/W-SU from install of glibc-common-2.2.2-10
   conflicts with file from package glibc-2.1.2-11
   file /usr/bin/catchsegv from install of glibc-common-2.2.2-10 conflicts
   with file from package glibc-2.1.2-11
   *** Error code 1
  
   Stop in /usr/ports/emulators/linux_base.
  
  
  
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-questions in the body of the message
  
   end of Re: linux compatability broken? from Eric Dedrick 
 
 
  --
  Oh good, my dog found the chainsaw.
  -Lilo, Lilo  Stitch
  Adam Weinberger
  [EMAIL PROTECTED]
  http://vectors.cx
 
 
 end of Re: linux compatability broken? from Eric Dedrick 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Step by step securing web server/ A/V live streaming

2002-07-24 Thread Matthew Seaman

On Tue, Jul 23, 2002 at 04:30:44PM -0700, J. C. wrote:
 I am a newbie and wanted to know if FreeBSD is the
 most secure OS?  I want to use it as a web server and
 nothing else.  Is there a step by step method of
 locking the OS down.  Any books or links?  

You really must get out of the mindset that says just because I'm
using software package foo, I'm secure.  It's not the software that
secures the machine, it's the Sys Admin.  Which is to say that you can
start with the best and most respected software on the planet and by
not configuring it with due care and attention turn it into something
with about as much integrity as a wet paper bag.

However, FreeBSD is a good choice for setting up a secure system.
Correctly configured it can be one of the most secure of the readily
available operating systems available.  As for texts and other
resources to learn about securing computers, there is a great deal
available all over the web, which you can Google for yourself.  A good
general text, which should give you the sufficient of the basics to
know what to Google for, is Computer Security Basics, Debby Russell
and G.T Gangemi Sr, O'Reilly and Assoc. 1991 --
http://www.oreilly.com/catalog/csb/
 
 If I am doing Microsoft Media video/audio streaming
 640x480 300kbps streams what kind of computer can I
 use? There will be about 2000+ users connecting to our
 website where they can watch the stream that will be
 embeded in the webpage.

Unfortunately, here you are S.O.L.  At the moment, you have to use a
Microsoft server to do MMS.  There was a recent announcement from
RealNetworks about their open sourcing much of their portfolio --
http://www.theregister.co.uk/content/6/26320.html
http://www.oreillynet.com/pub/a/network/2002/07/22/OSCON_day1.html --
which does offer the promise of support for serving some Windows Media
formats from all our favourite OSes.  Don't get too excited though ---
the announcement has only just been made, and it's possible there will
be some sort of legal wrangle between Microsoft and RealNetworks over
the WMS stuff.

 In the above case does the streaming server have to be
 big or the web server or both?  If someone could give
 me specs on what kind of cpu to use for both it would
 be most appreciated.

Separate streaming and web servers sounds like a good idea to me.  As
for the spec on those machines, we can't tell you anything meaningful
without knowing how much data and how many files you need to pump out
every minute.  You also need to consider such things as whether your
architecture requires a back-end RDMS: should that be on the same box
as your web server, or on a separate machine?


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
Tel: +44 1628 476614  Marlow
Fax: +44 0870 0522645 Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: how to capture bootup messages?

2002-07-24 Thread David Siebörger

On Tue 2002-07-23 (18:34), Ed Yu wrote:
 When the machine boots up, I get whole bunch of
 messages at console (Ctrl-Alt-F1) Some of it is in
 dmesg but the rest (with the daemon start info) is
 lost. Are they saved anywhere? 

'dmesg -a' will include the rc output.


-- 
David Siebörger
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]

2002-07-24 Thread sroberts


Hi Doug,
   Thanks for getting back to me. I actually got around that problem in the end.

However upon completing the upgrade, I noticed a couple of things:

1] startx has stopped working (just XFree86-4.0.2 from the 4.4 CD Set, no gnome
of kde installed as yet)

typing startx for any user just sits there doing nothing (after 5 mins or so I
killed it with cttrl c)

2] All user account except that for root disappeared.

3] During bootup apache failed with unable to find my FQDN. After login (as
root) ps waux | grep httpd returns nothing.

4] The box does not ask me to enter a password when logging in as root on the
console

I'm not sure if this is the right way to get the above queries addressed, but
let me know if I should post another to the list.

Thanks again for taking the time to respond.

Stacey

Quoting Doug Barton [EMAIL PROTECTED]:

 On Wed, 24 Jul 2002 [EMAIL PROTECTED] wrote:
 
 
  Hello,
I've just done a fresh install of 4.4Rel, and I'm trying to
 upgrade to
  the latest stable.
 
  In single user mode [using shutdown now] having dropped from multiuser
 mode -
  All went well until I got to make installworld. I hit the issue
 mentioned in
  UPDATING 20020404 about the new Sendmail user smmsp. I followed the
 advice to:
  cd /usr/src/usr.sbin/mergemaster; make install clean
 
 The clean there is the problem. What UPDATING actually says is:
 
 cd /usr/src/usr.sbin/mergemaster; make all install [clean]
 
 I'll delete that altogether, as it's misleading and potentially
 dangerous.
 
 -- 
We have known freedom's price. We have shown freedom's power.
   And in this great conflict, ...  we will see freedom's victory.
   - George W. Bush, President of the United States
   State of the Union, January 28, 2002
 
  Do YOU Yahoo!?
 
 
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]

2002-07-24 Thread sroberts


Hello Brian,
 Thanks for the reply.

As I'm actually still going through bringing the up to a usable state, the
disappeared user accounts are not too much of a problem at the moment. Its the
lack of authentication for root login I'm really concerned with on this point!

I'll take a look at XFree86Config and check for anything untoward. I've not used
ktrace, nor kdump before. Are they used in the same way as truss? 

However, as I do intend on upgrading XFree86 to XFree86-4.2.1 today, would it be
more effective to re-install (remove  install latest version), or simply
upgrade the current version (via portupgrade)?

ps waux - show process report, [-a: include all process with a tty session] +
[-u:  report user ID for each process listed] + [-w: show wide output]

So, seeing that apache is configured to start on bootup, I would have expected
to see a process called httpd running with variou runtime options listed in the
returned process table - which of course, I don't.

I really am hoping that I could aviod having the reinstall FBSD again here. This
install's taken well over two days of debugging already:-

initial install took the default XFree86-3.3.6x (didn't want that)
The box hung at installation when I included gnome desktop (hence only
XFree86-4.0.2 installed this time around)


Well., thanks again for taking the time, Brian. Hope that what I've included
here lights a few bulbs in a few peoples' heads before too long.

Stacey

Quoting Brian T. Schellenberger [EMAIL PROTECTED]:

 On Wednesday 24 July 2002 03:40 am, [EMAIL PROTECTED] wrote:
 | Hi Doug,
 |Thanks for getting back to me. I actually got around that problem
 in the
 | end.
 |
 | However upon completing the upgrade, I noticed a couple of things:
 |
 | 1] startx has stopped working (just XFree86-4.0.2 from the 4.4 CD Set,
 no
 | gnome of kde installed as yet)
 
 Hard to say.  Does /etc/X11/XFree86Config look like it always did?
 Might want to ktrace/kdump and see what it's really calling.
 
 | typing startx for any user just sits there doing nothing (after 5
 mins or
 | so I killed it with cttrl c)
 |
 | 2] All user account except that for root disappeared.
 
 Something went wrong with mergemaster.  Perhaps you installed when you
 should 
 have merged.  (Or perhaps the problem is with the weird make stuff you
 cite 
 below.  I don't believe that I ever did anything of the sort and things 
 worked ok for me.)
 
 Regardless, the solution is simple:
 Restore your /etc/passwd /etc/master.passwd from backup.
 
 | 3] During bootup apache failed with unable to find my FQDN. After
 login
 | (as root) ps waux | grep httpd returns nothing.
 
 Sorry, that's Greek to me.
 
 | 4] The box does not ask me to enter a password when logging in as root
 on
 | the console
 
 See [2] above.
 
 | I'm not sure if this is the right way to get the above queries
 addressed,
 | but let me know if I should post another to the list.
 
 This is a good place for . . . well, questions.
 
 | Thanks again for taking the time to respond.
 |
 | Stacey
 |
 | Quoting Doug Barton [EMAIL PROTECTED]:
 |  On Wed, 24 Jul 2002 [EMAIL PROTECTED] wrote:
 |   Hello,
 | I've just done a fresh install of 4.4Rel, and I'm trying to
 | 
 |  upgrade to
 | 
 |   the latest stable.
 |  
 |   In single user mode [using shutdown now] having dropped from
 multiuser
 | 
 |  mode -
 | 
 |   All went well until I got to make installworld. I hit the issue
 | 
 |  mentioned in
 | 
 |   UPDATING 20020404 about the new Sendmail user smmsp. I followed
 the
 | 
 |  advice to:
 |   cd /usr/src/usr.sbin/mergemaster; make install clean
 | 
 |  The clean there is the problem. What UPDATING actually says is:
 | 
 |  cd /usr/src/usr.sbin/mergemaster; make all install [clean]
 | 
 |  I'll delete that altogether, as it's misleading and potentially
 |  dangerous.
 | 
 |  --
 | We have known freedom's price. We have shown freedom's power.
 |And in this great conflict, ...  we will see freedom's
 victory.
 |- George W. Bush, President of the United States
 |State of the Union, January 28, 2002
 | 
 |   Do YOU Yahoo!?
 |
 | To Unsubscribe: send mail to [EMAIL PROTECTED]
 | with unsubscribe freebsd-questions in the body of the message
 
 -- 
 Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
 http://www.babbleon.org
 
 http://www.eff.org 
 http://www.programming-freedom.org 
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Need help with DNS

2002-07-24 Thread Carroll, D. (Danny)



Did 
you try searching your hard drive for *hosts*.* ???

For 
NT, 2000 and XP (Winnt can also be Windows)
C:\winnt\system32\drivers\etc\hosts

For 
Win98
C:\Windows\System\hosts.sam

Add a 
line like this.
192.168.x.x www.unixhideout.com
where 192.168.x.x is the Internal address...


  -Original Message-From: sagacious 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 23, 2002 8:23 
  PMTo: Carroll, D. (Danny)Subject: RE: Need help with 
  DNS
  
  Because 
  they are windows boxes.. they dont have a host file 
  and if they do where are they?
  
  
  sagacious 
  (Mike)
  Network 
  administrator
  The 
  unixhideout network
  http://www.unixhideout.com
  -Original 
  Message-From: Carroll, 
  D. (Danny) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 
  2002 8:58 
  AMTo: [EMAIL PROTECTED]; 
  sagaciousCc: FBSDQSubject: RE: Need help with 
  DNS
  
  
  Why 
  don't you just add the names you want to the host files of the machines on 
  your internal network?
  
  -D
  
-Original 
Message-From: Joe 
 Fhe Barbish [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 23, 
2002 2:49 
PMTo: sagaciousCc: FBSDQSubject: RE: Need help with 
DNS
Restating 
your problem. Every thing works as expected for requests originating from 
the public internet, But any requests origination from the LAN behind your 
firewall gets denied. This 
could very well be a IPFW firewall rules problem. You have to have a IPFW 
rule to allow all originating LAN traffic to pass through the firewall. For 
each LAN Nic card you have on your GATEWAY/IPFW FBSD box, you must have an 
corresponding rule in the IPFW rules file like this. 

allow 
all from any to any via xl0 Where xl0 is the FBSD 
NIC card device name of your Lan Nic card. This rule normally is located in the 
beginning of the IPFW rules file. If you still need help post your IPFW 
rules file for review.

Joe

-Original 
Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of sagaciousSent: Tuesday, July 23, 
2002 
3:21 
AMTo: 
[EMAIL PROTECTED]Subject: Need help with 
DNS

Hi. I 
changed my network setup a while ago. I had to put everything behind a 
firewall router due to a denial of service attack.. So now, I am specifying 
a static ip in my rc.conf, but its a local one, 192.168.1.20, I port 
forwarded all the services to that ip. The problem is, you can all go to my 
site, http://www.unixhideout.com, 
but if I click that url, my router pass box pops up I had to temporarily 
change ALL the links in my site, for example img src="http://www.unixhideout.com/img/blah.gif 
to img src="/img/blah.gif.. and I access the box using http://192.168.1.20 I dont want to have to 
do this, and a lot of things do not work for me and its my site!! Well, I 
posted this a while ago, and a lot of people said if I ran my own DNS for my 
domain, I could stop this from happening.. Well I took the time to learn DNS 
a bit, and im running it now, and I was wondering exactly what I need to 
do.. In my unixhideout.com.hosts I specified 
this..

$ttl 
38400
unixhideout.com. 
IN 
SOA 
labs. root.unixhideout.com. (
 
1025839968
 
10800
 
3600
 
604800
 
38400 )
unixhideout.com. 
IN 
NS 
labs
labs.unixhideout.com. IN A 
65.187.193.189
root.unixhideout.com. IN RP 
root.unixhideout.com. admin
Host-Info.unixhideout.com. IN HINFO INTEL 
FreeBSD
mail.unixhideout.com. IN MX 10 
65.187.193.189
unixhideout.com. 
IN 
A 
65.187.193.189
mail.unixhideout.com. IN A 
65.187.193.189
smtp.unixhideout.com. IN A 
65.187.193.189
www.unixhideout.com. IN A 
65.187.193.189
pop3.unixhideout.com. IN A 
65.187.193.189
irc.unixhideout.com. IN A 65.187.193.189
email.unixhideout.com. IN A 
65.187.193.189
ftp.unixhideout.com. IN A 
65.187.193.189

Everything 
works.. You guys (the net) can go to my site and use all the services. But I 
cannot.. I tried changing all those IPS to 192.168.1.20, and then I could 
use unixhideout.com and you couldnt!! im losing my patience! Please tell me 
what I have to do for the internet AND ME to be able to use the domain I 
paid for! =] and when you explain pretend Im 2 years old. Im fragile. 
Thanks!

sagacious 
(Mike)
Network 
administrator
The 
unixhideout network
http://www.unixhideout.com
-ATTENTION:The 
  information in this electronic mail message is private andconfidential, 
  and only intended for the addressee. Should youreceive this message by 
  mistake, you are hereby notified thatany disclosure, 

Vidcontrol and IPFW messages

2002-07-24 Thread Stephan de Bot

Hi, 
1) I've tried to set my console to vidcontrol 132x43 but it says:
vidcontrol: cannot set videomode: inappropriate ioctl for device I've
compiled the kernel with options VESA What do I do wrong? 

2) I've compiled the kernel with ipfw support. 
After the restart I get all these messages that says connection attempt to
 bla bla bla on the console. 
How can i get these messages written to file and not to the console? 
It's very anoying when you type some thing and it gets messed up by these
messages, 

Regards Stephan de Bot


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FBSD config files - tutorials, how-to, other pointers? Where?

2002-07-24 Thread Matthew Seaman

On Wed, Jul 24, 2002 at 01:25:51AM -0500, David Merriman wrote:
 Are there any kind of reference docs to the various configuration files
 in FreeBSD? I mean, stuff that explains what the different lines 
 entries in them are, preferably with examples?

There are man pages that describe most of the important configuration
files available in section 5 of the manual.  Usually they are
reasonably clear and informative and most will contain examples.
However, there is no guarrantee that all manual pages are written to
the same standard.  

As well as man pages, it's quite common for there to be 'info' pages
in /usr/share/info and other documentation under /usr/share/doc ---
for stuff installed from ports that usually /usr/local/share/info,
/usr/local/share/doc respectively.  Many packages come from third
parties, and those often have their own web sites or other resources
around the net.

 As a for-instance, I'm looking at the hosts.allow file, and the man page
 doesn't do much to clarify what the different sections are for, or what
 the line entires mean.

That's a specific problem with the tcp wrappers documentation that you
are experiencing.  

There aren't sections as such in hosts.allow -- the file is
essentially a list of rules which are checked in order.  The first
matched rule applies, so if you put

ALL : ALL : allow

at the top of the file nothing below that line will be used.  ie. you
should order your rule set from the most specific to the most general.
(This is precisely what the example hosts.allow file does).

Each of the rule lines is divided into three or four parts divided by
colons.  The first part is the name of the server being wrapped --
only stuff that has been linked against the tcp wrappers library can
be wrapped.  `ALL' can be used as a wildcard.

The second section is a list of domain names or network numbers that
are matched against the source of a connection to the service.
Similarly 'ALL' can be used as a match anything wildcard.

The optional third section allows you to apply supplementary
conditions --- eg RFC931 to do ident lookups --- or to perform some
extra actions, like logging the connection at a different priority or
spawing an arbitrary command.

The sample hosts.allow file has been arranged with related rules
gathered into groups for illustrative purposes and with examples of
many of the sort of gotchas! you can run into.

The last section contains one of allow, deny or twist ... --
where allow means let the connection proceed as normal, deny means
drop the packets and twist ... lets you substitute another command
to handle the connection attempt.  twist is a bit like spawn, but
twist applies in the last section of the rule and handles the remote
input, whereas spawn goes in the optional third section and operates
independently of the remote connection.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
Tel: +44 1628 476614  Marlow
Fax: +44 0870 0522645 Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: sticky bit q-mail and DHCP

2002-07-24 Thread Grant Cooper

I don't have a real static IP, It changes every few weeks. I use
www.zoneedit.com as my primary and secondary nameserver. You can manually
change your IP online. It's pretty easy and a good way to practice you
administration skills. I found this site really easy and it's free.

- Original Message -
From: Randall Creighton [EMAIL PROTECTED]
To: Grant Cooper [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 12:39 AM
Subject: Re: sticky bit  q-mail and DHCP


 Just wondering, but if you are  hosting your own domain shouldn't you
 have a static ip address? or is there a way to inform dns about your ip
 address should it change?

 Randy

 Grant Cooper wrote:

 Ok, I guess my question is, DHCP automatically fills in the host part for
 me. But since I host my own domain, should I overload the tellus.ab.ca
and
 change it to kooper.ca. I was thinking other packages such as sendmail or
 qmail would use this thinking my domain is tellus.ab.ca. I couldn't find
any
 info on that.
 
 Thanks for the 1000 I was reading up and down that man list.
 - Original Message -
 From: Samuel Chow [EMAIL PROTECTED]
 To: Grant Cooper [EMAIL PROTECTED]
 Cc: FreeBSD_Questions (E-mail 2) [EMAIL PROTECTED]
 Sent: Tuesday, July 23, 2002 12:49 AM
 Subject: Re: sticky bit  q-mail and DHCP
 
 
 
 
 - Original Message -
 From: Grant Cooper
 
 
 
 1. I am using my home computer that uses a DHCP. In /etc/rc.conf
 my hostname is automatically entered. I realize this is the name of
 my computer given to me from my ISP. I purchased my domain
 kooper.ca. Should I change the hostname in /etc/rc.conf to
 hostname=dell.kooper.ca.  If not, what would the origional host
 name be used for? I'm sure I should change it.
 
 
 The short answer is it doesn't matter.
 Hostname and DNS name are quite different.  While you can
 make them the same, they really don't have to be.
 When people lookup dell.kooper.ca, only the DNS
 is used.  The hostname is irrelevant.
 
 
 
 
 2. chmod +t /var/qmail/supervise/qmail-pop3d
 What does it mean by sticky bit + t
 
 
 man chmod
 Look under the MODES section and find 1000.
 
 ---
 Samuel Chow
 [EMAIL PROTECTED]
 
 Segmentation Fault (core dumped)
 This message is displayed using recycled electrons.
 
 
 
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 
 



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Vidcontrol and IPFW messages

2002-07-24 Thread Roman Neuhauser

 From: Stephan de Bot [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: Vidcontrol and IPFW messages
 Date: Wed, 24 Jul 2002 10:21:51 +0200
 
 Hi, 
 1) I've tried to set my console to vidcontrol 132x43 but it says:
 vidcontrol: cannot set videomode: inappropriate ioctl for device I've
 compiled the kernel with options VESA What do I do wrong? 

no idea.
 
 2) I've compiled the kernel with ipfw support. 
 After the restart I get all these messages that says connection attempt to
  bla bla bla on the console. 
 How can i get these messages written to file and not to the console? 
 It's very anoying when you type some thing and it gets messed up by these
 messages, 

/etc/syslog.conf and syslog.conf(5)

-- 
FreeBSD 4.6-STABLE
11:08AM up 7 days, 21:27, 8 users, load averages: 0.05, 0.08, 0.08

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Password problem

2002-07-24 Thread george

Hi

i've got a box and i was able to do a boot -s to recover the root passwd.
When i got to the prompt # i've :
-mount -u /
-mount -a

and then when i type passwd nothing happens.
i've notice that /etc/passwd has a simbolic link to /var/etc/passwd and also
/usr/bin/passwd
have a simbolic link to /var/etc/passwd.
I've copy accross a bin passwd file from another unix and put it on
the /var/etc/, however it still doesn't work.

Any ideas how can i work around this.


regards



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Sendmail Problem during boot

2002-07-24 Thread Scott Robbins

On Wed, Jul 24, 2002 at 11:21:09AM +0200, Pascal Giannakakis wrote:
  
  
  
  
  
  
 Please explain a sendmail idiot WTF this message means, and why it still
 appears 
 after setting sendmail_enable=NO in /etc/rc.conf. 

It's actually covered somewhere in /usr/src/UPDATING

sendmail_enable=NO should be changed to 
sendmail_enable=NONE

HTH
-- 
Scott


Willow: Oz is a werewolf.
Buffy: It's a long story.
Oz: I got bit.
Buffy: Apparently not that long.
Faith: Hey, as long as you don't go scratchin' at me or humpin' my
leg, we're
five-by-five, ya' know?
Oz: Fair enough.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]

2002-07-24 Thread Brian T. Schellenberger

On Wednesday 24 July 2002 03:40 am, [EMAIL PROTECTED] wrote:
| Hi Doug,
|Thanks for getting back to me. I actually got around that problem in the
| end.
|
| However upon completing the upgrade, I noticed a couple of things:
|
| 1] startx has stopped working (just XFree86-4.0.2 from the 4.4 CD Set, no
| gnome of kde installed as yet)

Hard to say.  Does /etc/X11/XFree86Config look like it always did?
Might want to ktrace/kdump and see what it's really calling.

| typing startx for any user just sits there doing nothing (after 5 mins or
| so I killed it with cttrl c)
|
| 2] All user account except that for root disappeared.

Something went wrong with mergemaster.  Perhaps you installed when you should 
have merged.  (Or perhaps the problem is with the weird make stuff you cite 
below.  I don't believe that I ever did anything of the sort and things 
worked ok for me.)

Regardless, the solution is simple:
Restore your /etc/passwd /etc/master.passwd from backup.

| 3] During bootup apache failed with unable to find my FQDN. After login
| (as root) ps waux | grep httpd returns nothing.

Sorry, that's Greek to me.

| 4] The box does not ask me to enter a password when logging in as root on
| the console

See [2] above.

| I'm not sure if this is the right way to get the above queries addressed,
| but let me know if I should post another to the list.

This is a good place for . . . well, questions.

| Thanks again for taking the time to respond.
|
| Stacey
|
| Quoting Doug Barton [EMAIL PROTECTED]:
|  On Wed, 24 Jul 2002 [EMAIL PROTECTED] wrote:
|   Hello,
| I've just done a fresh install of 4.4Rel, and I'm trying to
| 
|  upgrade to
| 
|   the latest stable.
|  
|   In single user mode [using shutdown now] having dropped from multiuser
| 
|  mode -
| 
|   All went well until I got to make installworld. I hit the issue
| 
|  mentioned in
| 
|   UPDATING 20020404 about the new Sendmail user smmsp. I followed the
| 
|  advice to:
|   cd /usr/src/usr.sbin/mergemaster; make install clean
| 
|  The clean there is the problem. What UPDATING actually says is:
| 
|  cd /usr/src/usr.sbin/mergemaster; make all install [clean]
| 
|  I'll delete that altogether, as it's misleading and potentially
|  dangerous.
| 
|  --
| We have known freedom's price. We have shown freedom's power.
|And in this great conflict, ...  we will see freedom's victory.
|  - George W. Bush, President of the United States
|State of the Union, January 28, 2002
| 
|   Do YOU Yahoo!?
|
| To Unsubscribe: send mail to [EMAIL PROTECTED]
| with unsubscribe freebsd-questions in the body of the message

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[no subject]

2002-07-24 Thread James Vella

chaps,

i have been reading through a lot of the documentation out there and am still unable 
to do the following:

using freebsd v4.6, i need to be transferee /var on da0 to the new hd da1 in it's 
entirety.  i've managed to create the disklabel, but am stumped as to how to continue.

any help would be appreciated

james

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



arpwatch bug ???

2002-07-24 Thread Prokofiev S.P.

I have updated FreeBSD from 4.2-R to 4.6-STABLE(2002.07.12) with 4 Ethernet adapters:

fxp0: Intel Pro 10/100B/100+ Ethernet port 0xb800-0xb81f mem 0xef30-0xef3f
,0xef423000-0xef423fff irq 11 at device 14.0 on pci0
fxp0: Ethernet address 00:90:27:14:6c:37
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Intel Pro 10/100B/100+ Ethernet port 0xbc00-0xbc1f mem 0xef10-0xef1f
,0xef42-0xef420fff irq 10 at device 16.0 on pci0
fxp1: Ethernet address 00:04:ac:66:62:ec
inphy1: i82555 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Intel Pro 10/100B/100+ Ethernet port 0xc000-0xc01f mem 0xef00-0xef0f
,0xef422000-0xef422fff irq 15 at device 17.0 on pci0
fxp2: Ethernet address 00:04:ac:66:63:59
inphy2: i82555 10/100 media interface on miibus2
inphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp3: Intel Pro 10/100B/100+ Ethernet port 0xc400-0xc43f mem 0xef20-0xef2f
,0xef421000-0xef421fff irq 15 at device 19.0 on pci0
fxp3: Ethernet address 00:02:b3:18:86:81
inphy3: i82555 10/100 media interface on miibus3
inphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

after reboot started arpwatch(fxp2 no IP address assigned):
/usr/local/sbin/arpwatch -i fxp0 -f arp.dat_fxp0
/usr/local/sbin/arpwatch -i fxp1 -f arp.dat_fxp1
/usr/local/sbin/arpwatch -i fxp3 -f arp.dat_fxp3


and looked overfull traffic on fxp3 only( maybe whole traffic on ethernet ),
^^^
then down arpwatch on fxp3 and all right.
^^^

WHATS WRONG ?
So sorry my english.

Prokofiev S.P.
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]

2002-07-24 Thread sroberts


Hi Jud,
   Thanks for the information here.

I'll check those files as and when I get the chance.

The wrapper port *was* installed, and WORKING before I cvsup'd the system.

I'll check .xinitrc files in both root and any of the restored user accounts.

Stacey

Quoting Jud [EMAIL PROTECTED]:

 7/24/2002 4:06:16 AM, [EMAIL PROTECTED] wrote:
 
 
 Hello Brian,
  Thanks for the reply.
 
 As I'm actually still going through bringing the up to a usable
 state, 
 the
 disappeared user accounts are not too much of a problem at the 
 moment. Its the
 lack of authentication for root login I'm really concerned with on this
 
 point!
 
 I'll take a look at XFree86Config and check for anything untoward. I've
 
 not used
 ktrace, nor kdump before. Are they used in the same way as truss? 
 
 However, as I do intend on upgrading XFree86 to XFree86-4.2.1 
 today, would it be
 more effective to re-install (remove  install latest version), or
 simply
 upgrade the current version (via portupgrade)?
 
 ps waux - show process report, [-a: include all process with a tty 
 session] +
 [-u:  report user ID for each process listed] + [-w: show wide output]
 
 So, seeing that apache is configured to start on bootup, I would have 
 expected
 to see a process called httpd running with variou runtime options
 listed 
 in the
 returned process table - which of course, I don't.
 
 I really am hoping that I could aviod having the reinstall FBSD again 
 here. This
 install's taken well over two days of debugging already:-
 
 initial install took the default XFree86-3.3.6x (didn't want that)
 The box hung at installation when I included gnome desktop (hence 
 only
 XFree86-4.0.2 installed this time around)
 
 
 Well., thanks again for taking the time, Brian. Hope that what I've 
 included
 here lights a few bulbs in a few peoples' heads before too long.
 
 Stacey
 
 Quoting Brian T. Schellenberger [EMAIL PROTECTED]:
 
  On Wednesday 24 July 2002 03:40 am, [EMAIL PROTECTED] 
 wrote:
  | Hi Doug,
  |Thanks for getting back to me. I actually got around that
 problem
  in the
  | end.
  |
  | However upon completing the upgrade, I noticed a couple of things:
  |
  | 1] startx has stopped working (just XFree86-4.0.2 from the 4.4 CD 
 Set,
  no
  | gnome of kde installed as yet)
  
  Hard to say.  Does /etc/X11/XFree86Config look like it always did?
  Might want to ktrace/kdump and see what it's really calling.
  
  | typing startx for any user just sits there doing nothing (after 5
  mins or
  | so I killed it with cttrl c)
  |
  | 2] All user account except that for root disappeared.
  
  Something went wrong with mergemaster.  Perhaps you installed 
 when you
  should 
  have merged.  (Or perhaps the problem is with the weird make stuff 
 you
  cite 
  below.  I don't believe that I ever did anything of the sort and
 things 
  worked ok for me.)
  
  Regardless, the solution is simple:
  Restore your /etc/passwd /etc/master.passwd from backup.
  
  | 3] During bootup apache failed with unable to find my FQDN. 
 After
  login
  | (as root) ps waux | grep httpd returns nothing.
  
  Sorry, that's Greek to me.
  
  | 4] The box does not ask me to enter a password when logging in as 
 root
  on
  | the console
  
  See [2] above.
 
 Sounds like (after taking Brian's advice) you may want to do 
 /stand/sysinstall (as root) and choose the option to add users.  Check 
 the www group in /etc/groups after you do this to add anyone you want 
 to be able to use Apache.  Apache is looking for your fully qualified 
 domain name - I'd look in /etc/hosts to see if you need to add back 
 anything there that may have been lost in the upgrade.
 
 Re startx, after you have a look at the X11 config and get your users 
 straightened out, you'll want to reinstall wrapper from X11 ports.  Oh, 
 and BTW, do you still have .xinitrc files in root and $HOME?
 
 Jud
 
 
 
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: diff patch

2002-07-24 Thread Jud

7/23/2002 10:19:50 PM, Brian T. Schellenberger [EMAIL PROTECTED] 
wrote:

On Tuesday 23 July 2002 07:30 pm, Kevin Kinsey, DaleCo, S.P. 
wrote:
| patch diff.txt  orig.file

Please don't top-post on this list.

Also, that's not the right patch syntax.  It's

patch  diff-file

(the patch should have the source file to which it applies already 
embedded in 
the patch)

If the file name isn't embedded, then you can do it as

patch orig.file diff-file

but never redirect *out* of patch.

Clearest explanation I've seen of the patch command syntax was 
Giorgios Keramidas' in March 2000 (Google Groups is your friend:) -

 What is the proper way (command) to apply a diff and recompile 
source?

Depending on how the diff was taken, you can most of the time get it to
work with:

 % cd /where/to/apply
 % patch -p0  /path/to/patch.diff

If you're not sure the diff applies cleanly, and you suspect it might
fail to apply some hunks, then you can always add --check to the patch
options, and see what *would* happen, i.e.

 % cd /where/to/apply
 % patch -po --check  /path/to/patch.diff 21 | more

Jud



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: How Does CHECKSUM.MD5 Work?

2002-07-24 Thread Jeremy Faulkner

On Tue, Jul 23, 2002 at 07:27:22PM -0500, Mark Hummel wrote:
 Jeremy,
 
 Thanks for the quick response.  I downloaded the *.ISO files.  Then I burned the
 first CD from the image file.  The root directory of the CD has no CHECKSUM.MD5
 file, but there are many of these files within several of the directories none of
 which even come close to matching the CHECKSUM.MD5 file on the ftp site which I
 printed to compare.  What exactly am I missing?
 
 Mark

The CHECKSUM.MD5 file only applies to the files contained in that directory. It
lists the filename on the left with the corresponding md5 checksum on the right.

-- 
Jeremy Faulkner http://www.gldis.ca

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: spamass-milter

2002-07-24 Thread Michael Grant

  When I send a test spam, logging in /var/log/maillog shows:
  
spamd[5955]: info: setuid to root succeeded 
spamd[5955]: Still running as root: user not specified, not found, or set
  to root.  Fall back to nobody.
 
 You should only see that once, when you start it.  Each email should
 put something like this in maillog:

I definitely see the Still running message with each mail message.
It seems spamd restarts over and over and prints this each time it starts.

 Jul 23 00:12:58 2.6 dan spamd[852]: connection from localhost [ 127.0.0.1 ] at port
 61541 
 Jul 23 00:13:00 2.6 dan spamd[81022]: clean message (2.3/8.0) for root:26 in   2
 seconds, 6170 bytes. 
 Jul 23 00:13:00 2.6 dan sm-mta[81020]: g6N5Cvfs081020: Milter change: header
 X-Spam-Status: (etc)
 Jul 23 00:13:00 2.6 dan sm-mta[81020]: g6N5Cvfs081020: Milter change: header
 X-Spam-Level: (etc)
 
 Is the milter running?  You have to start it separately from
 sendmail.

Here's what's running, if by milter you mean spamass-milter which
creates the socket, yes, that's running.  

ps -ax | grep spam
 6303  ??  Is 0:02.37 /usr/bin/perl /usr/local/bin/spamd -a -c -d
10319  ??  I  0:00.01 /usr/local/bin/spamc
10440  ??  I  0:00.01 /usr/local/bin/spamc
10482  ??  I  0:00.02 /usr/local/bin/spamc
10518  ??  I  0:00.01 /usr/local/bin/spamc
10562  ??  I  0:00.01 /usr/local/bin/spamc
10575  ??  I  0:00.01 /usr/local/bin/spamc
10613  ??  I  0:00.01 /usr/local/bin/spamc
10662  ??  I  0:00.01 /usr/local/bin/spamc
10698  ??  I  0:00.01 /usr/local/bin/spamc
10750  ??  I  0:00.01 /usr/local/bin/spamc
10784  ??  I  0:00.01 /usr/local/bin/spamc
10826  ??  I  0:00.01 /usr/local/bin/spamc
10863  ??  I  0:00.01 /usr/local/bin/spamc
10901  ??  I  0:00.01 /usr/local/bin/spamc
10959  ??  I  0:00.01 /usr/local/bin/spamc
10995  ??  I  0:00.01 /usr/local/bin/spamc
11013  ??  I  0:00.01 /usr/local/bin/spamc
11045  ??  I  0:00.01 /usr/local/bin/spamc
11088  ??  I  0:00.01 /usr/local/bin/spamc
11181  ??  I  0:00.01 /usr/local/bin/spamc
11182  ??  I  0:00.00 /usr/bin/perl /usr/local/bin/spamd -a -c -d
11183  ??  I  0:00.01 /usr/local/bin/spamc
11184  ??  I  0:00.00 /usr/bin/perl /usr/local/bin/spamd -a -c -d
 3472  p0- I  0:01.86 /usr/local/sbin/spamass-milter 
/var/run/spamass/spamass-milter.sock

I still can't get it to add the x-spam headers.  Any clues as to how
to get some better debugging so I can track down where exactly the
problem is?  setting the -D option on spamd only told me that spamd
was in fact getting the mail, but after that, I'm not sure whats
happening.

Michael Grant

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ÏÀÑÏÎÐÒÍÎ-ÂÈÇÎÂÛÅ ÓÑËÓÃÈ

2002-07-24 Thread VISA SERVICE

Êîìïàíèÿ Ýêñïðåññ Âèçà Ñåðâèñ ïðåäëàãàåò:

ÏÐÈÃËÀØÅÍÈß ÄËß ÈÍÎÑÒÐÀÍÍÛÕ ÃÐÀÆÄÀÍ Â ÐÎÑÑÈÞ
Îôîðìëåíèå ïðèãëàøåíèé:
Îäíîêðàòíîå íà 1 ìåñÿö - $25
Ìíîãîêðàòíîå íà 1 ãîä - $150
*Ïðàâîâûå âîïðîñû îòíîñèòåëüíî ïðåáûâàíèÿ èíîñòðàííûõ ãðàæäàí íà òåððèòîðèè ÐÔ.

ÎÔÎÐÌËÅÍÈÅ ÂÛÅÇÄÍÛÕ ÂÈÇ ÐÎÑÑÈßÍÀÌ
- Ãåðìàíèÿ
- Ôðàíöèÿ
- Àíãëèÿ
- Øâåéöàðèÿ
- Èòàëèÿ
è ìíîæåñòâî äðóãèõ ñòðàí...
Ïðåäñòàâëåíèå Âàøèõ èíòåðåñîâ â êîíñóëüñòâàõ Ìîñêâû.

ÎÔÎÐÌËÅÍÈÅ ÇÀÃÐÀÍÏÀÑÏÎÐÒÎÂ
(Öåíû óêàçàíû äëÿ æèòåëåé Ìîñêâû è Ìîñê. îáëàñòè)
îò 35 ðàáî÷èõ äíåé - $70
23-25 ðàáî÷èõ äíåé - $140
17-19 ðàáî÷èõ äíåé - $180
12-14 ðàáî÷èõ äíåé - $260
Ïî Âàøåìó çàïðîñó âûøëåì êîìïëåêò íåîáõîäèìûõ
äîêóìåíòîâ äëÿ îôîðìëåíèÿ çàãðàíïàñïîðòà.

ÁÅÑÏËÀÒÍÛÉ ÂÛÅÇÄ ÊÓÐÜÅÐÀ Ê ÂÀÌ Â ÎÔÈÑ Â ÏÐÅÄÅËÀÕ ã. ÌÎÑÊÂÛ
Òåë./ôàêñ: (095) 107-78-58,797-04-08, 797-04-82


Ïðèíîñèì ñâîè èçâèíåíèÿ åñëè ýòî ïèñüìî íå îêàçàëîñü äëÿ Âàñ ïîëåçíûì.
×òîáû îòêàçàòüñÿ îò ðàññûëêè íàïèøèòå ïèñüìî íà àäðåñ: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Mountd No route to host

2002-07-24 Thread Daniel Eggert

When I start mound with
mount -dr
I get:
mountd: got line /usr/home/Shared   -ro 192.168.0.2
mountd: making new ep fs=0x3d3d16f9,0x241504e5
mountd: doing opt -ro   192.168.0.2
mountd: got host 192.168.0.2
mountd: getting mount list
mountd: here we go
Cannot register service: RPC: Unable to send; errno = No route to host
What's wrong? I can ping 192.168.0.2 and the firewall is completely open 
towards 192.168.0.0/24. Any ideas?

Thanks,
Daniel


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: config

2002-07-24 Thread Martyn Hill

David

Thank you very much - makes sense really. I did wonder how the ADSL username and 
password were dealt with, but it seems that the
router itself stores these as part of its configuration.

Now to try it!

Martyn.
- Original Message -
From: dnu [EMAIL PROTECTED]
To: Martyn Hill [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 9:12 AM
Subject: config


Hello,

Ooops!  Forgot to mention the configuration stuff.  Of course,
first disable ppp in rc.conf and add the following lines:

defaultrouter=x.x.x.x # your isp's router IP
ifconfig_fxp1=inet x.x.x.x netmask y.y.y.y # your NIC IP  mask

Well, the NAT stuff, you already know:

natd_enable=YES # to enable sharing
natd_interface=fxp1 # obviously :)
natd_flags=(your flags) # man natd for info

and reboot.

David




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: port scanner found my SMTP / SSH is up and I didn't put them there!!!!

2002-07-24 Thread Tim

On Wednesday 24 July 2002 06:46 am, Grant Cooper wrote:
 I used a port scanner on my server just to check things out. I wasn't
 expecting this. Port 22 (ssh) and port (25) SMTP are up. I looked in
 /etc/inetd.conf and SMTP is comented out.

 I created a webmailer and sure enough, all my e-mail was recieved but not
 sent out. If this isn't a default set up i've been compramised. :( I don't
 even know how to use ssh yet. The only reason I noticed this is because I
 was setting up my firewall using IPFW.


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

Port 25 is sendmail. Look in rc.config for sendmail_enable=YES.

If you don't want sendmail, set to NO.

Tim
-- 
FreeBSD 4.6-RELEASE
 6:51AM  up 1 day, 10 mins, 1 user, load averages: 0.00, 0.03, 0.00

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: port scanner found my SMTP / SSH is up and I didn't put them there!!!!

2002-07-24 Thread Marc Silver

Hi there,

On Wed, Jul 24, 2002 at 05:46:25AM -0600, Grant Cooper wrote:
 I used a port scanner on my server just to check things out. I wasn't
 expecting this. Port 22 (ssh) and port (25) SMTP are up. I looked in
 /etc/inetd.conf and SMTP is comented out.

SMTP is not controlled via /etc/inetd.conf.  See /etc/rc.conf (and
/etc/defaults/rc.conf) for more information on how to disable this.  You
can also disable ssh via this method.

 I created a webmailer and sure enough, all my e-mail was recieved but
 not sent out. If this isn't a default set up i've been compramised. :(
 I don't even know how to use ssh yet. The only reason I noticed this
 is because I was setting up my firewall using IPFW.

These services usually run by default on newly installed FreeBSD
machines.  Did you specifically disable them, or is this a newly
installed machine which you've now noticed has open ports?  :)  If it's
just a new install you have nothing to worry about, since these run by
default on most installations.

- Marc

-- 
Marc Silver - Systems Developer
http://www.easynet.net/ Phone: +44 20 7032 2064

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]

2002-07-24 Thread Brian T. Schellenberger

On Wednesday 24 July 2002 09:27 am, [EMAIL PROTECTED] wrote:
| Hi Brain,
|Thanks for getting back to me.

No problem.

|
| I'm happy to at last find someone who is willing to at least *say* that
| he's blasted and reinstalled a higher version of XFree86-4.
|
| From what you said here, I'll probably want to go with a packages install
| as well.
|
|  I strongly recomemnd deintalling via 'pkg_delete X*' (you can use
|  pkg_info
|  first to be sure that this will deinstall what you expect) and then
|  re-installing.  Actually, I'd probably install from packages rather than
| 
|  ports, it's a lot quicker.  Heck, I *know* I'd do it that way because I
|  *did*
|  do it that way just four days ago.  The pkg_add -r didn't work right for
| 
|  XFree86-4 because it was looking the wrong place, but if you make it
|  look for
|  All packages instead of Latest you should be golden.
|
| How exactly do you specify to pkd_add to look for ALL instead the latest?
| And which version would it then return?

Check the man page for pkg_add, but there's an environement variable you set 
for the place to look.  I forget what the default is, but just run it with 
the defaults and if it works, great--somebody fixed something since Saturday.  
If it fails, then set the environemnt variable to the same as the default 
path only change the /Latest at the end to /All, and it will install (at 
least of Saturday) XFree86-4.2.0_1,1.

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Cloning FreeBSD

2002-07-24 Thread Jerry McAllister

 
 On Tue, 2002-07-23 at 06:50, Jack L. Stone wrote:
  At 12:31 PM 7.23.2002 -0400, Bertel, Markus R wrote:
 23
  Jul 02
  
  Dear Sir/Ma'am
  
   We have been using FreeBSD for a few years and have been so far very
  satisfied in its performance.  We would like to make a back up of the hard
  drive that has FreeBSD and its configuration.  Is there a disk cloning
  software that would work and be compatable with FreeBSD where we could copy
  from one disk to another disk?  Thank you for your input.
  
  Regards
  Markus R Bertel
  
  See DD(1) to copy an exact image to another HD. Be aware that HD #2 (copy
  to) needs to be equal to or larger than HD #1 (copy from).
 
 What device name would I use? Let's say I have two SCSI drives. Would I
 use /dev/da0 and /dev/da1, or /dev/da0s1 and /dev/da1s1?

How are they normally mounted?   Use that or preferably either
raid mirroring for a complete mirror or dump/restore for backups.

jerry
 
 -- 
 
   Gary Dunn
   Open Slate Project
   http://www.aloha.com/~knowtree/
   Honolulu
   registered Linux user #273809
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Totom

2002-07-24 Thread Ralph Sorge

You may not believe in this but the advice is
interesting.


THE FOLLOWING IS A CHINESE GOOD LUCK TANTRA TOTEM.

ONE.
Give people more than they expect and do it
cheerfully.

TWO.
Marry a man/woman you love to talk to. As you get
older, their
conversational skills will be as important as any
other.

THREE.
Don't believe all you hear, spend all you have or
sleep all you want.

FOUR.
When you say, I love you, mean it.

FIVE.
When you say, I'm sorry, look the person in the eye.

SIX.
Be engaged at least six months before you get married.

SEVEN.
Believe in love at first sight.

EIGHT.
Never laugh at anyone's dreams. People who don't have
dreams don't have much.

NINE.
Love deeply and passionately. You might get hurt but
it's the only way to live life completely.

TEN.
In disagreements, fight fairly. Please No name
calling.

ELEVEN.
Don't judge people by their relatives.

TWELVE.
Talk slowly but think quickly.

THIRTEEN.
When someone asks you a question you don't want to
answer, smile and ask, Why do you want to know?

FOURTEEN.
Remember that great love and great achievements
involve great risk.

FIFTEEN.
Say bless you when you hear someone sneeze.

SIXTEEN.
When you lose, don't lose the lesson.

SEVENTEEN.
Remember the three R's: Respect for self; Respect for
others; Responsibility for all your actions.

EIGHTEEN.
Don't let a little dispute injure a great friendship.

NINETEEN.
When you realize you've made a mistake, take immediate
steps to correct it.

TWENTY.
Smile when picking up the phone. The caller will hear
it in your voice.

TWENTY-ONE.
Spend some time alone.

Now, here's the FUN part!

This tantra totem has been sent to you for good luck.
It has been sent around the world ten times so far.
You will receive good luck within four days of
relaying this tantra totem.

Send copies to people you think need good luck, don't
send money as fate has no price.

Do not keep this message.
The tantra totem must leave your hands in 96 hours.
You will get a very pleasant surprise.
This is true, even if you are not superstitious.

Send this to at least 5 people and your life will
improve.

0-4 people: Your life will improve slightly.
5-9 people: Your life will improve to your liking.
9-14 people: You will have at least 5 surprises in the
next 3 weeks.
15 and above: Your life will improve drastically

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



How do you raise user's datasize to over 64MB ?

2002-07-24 Thread Mark Powell

Why can't I set a user's datasize over the default 64MB? I can set it to
anything under that using login.conf, but raising it over 64MB has no
effect. What am I missing? Root's is 512MB so it's obviously possible.
Where is this 64MB limit coming from?
  Cheers.

Mark Powell - UNIX System Administrator - The University of Salford
Academic Information Services, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 5936  Fax: +44 161 295 5888  www.pgp.com for PGP key


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: using burncd

2002-07-24 Thread Brian Astill

On Wed, 24 Jul 2002 13:14, Scott Robbins wrote:

 The handbook section is at

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

Thanks.
I have had a slight look and downloaded.  Seems it will answer my question.

Post I was about to make, follows.
==
man burncd is very helpful and the procedure looks quite straightforward 
for copying a file from HD to CD.  

But how do you prepare the ISO image form one CD in order to burn it to 
another?

Believe it or not, there is no help in:
man burncd
FBSD Handbook 2000 (FBSD 4.1)
FBSD FAQ
Complete FreeBSD (3rd Edition)
Anelise Anderson's book.

Where IS the info I need?
=
-- 
Regards,
Brian

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Moving /var

2002-07-24 Thread Jerry McAllister

 
 chaps,
 
 i have been reading through a lot of the documentation out there and 
 am still unable to do the following:
 
 using freebsd v4.6, i need to be transferee /var on da0 to the new hd da1 
 in it's entirety.  i've managed to create the disklabel, but am stumped 
 as to how to continue.
 
 any help would be appreciated

You didn't say if you did a newfs(8) on the new partition.
(ssuming you did)
First  make a mount point for the new partition (choose something meaningful)
   cd /
   mkdir otherdsk
edit /etc/fstab so the new partition will get mounted on boot
using the appropriate partition identifier in place of da1s1a
   /dev/da1s1a/otherdsk ufs rw2   2
mount the partition
   mount /otherdsk
tar up the existing /var  Example puts it in a tar file on the new disk
because I assume there is room there.  It would also be reasonable to 
pipe the tar to another tar that unrolls it in place.
  tar cf /otherdisk/var.tar /var
Untar the file in the new location.
  cd /otherdsk
  tar xf var.tar
Get rid of the original /var (rename it for now just in case)
  cd /
  mv var var.premove
Make a link to the new /var
  ln -s /otherdsk/var var

Now you are done except you might enjoy checking things out 
and then eventually getting rid of the old copy of /var and 
the tar file.
  cd /
  rm -r var.premove
  cd /otherdsk
  rm var.tar

Choose your own file and directory names.  We generally
would acttually name the new var something like other.var
and the link command would then look like  ln -s /otherdsk/other.var var


Alternatively you could just make the new partition directly mount as /var

In that case 
Make sure your present /var is not already its own mounted file system
(if it is, use dump/restore to move it instead of tar)

Then edit your your fstab entry to look something like:
   /dev/da1s1a/var ufs rw2   2

Then you would change the name of existing var directory
  cd /
  mv var var.premove
Mount the new partition as /var 
  mount /var
Put the contents of the old var directory in to the new partition using tar
  cd var.premove
  tar cf /var/var.tar
  cd /var
  tar xf var.tar

Now you are all set.  Check it out and eventually get rid
of the old var directory (/var.premove) and the tar file.
  
If you are going from an current partition mounted as /var to a new
partition mounted as /var use dump and restore

Make a temporary mount point for the new partition and mount it there
  cd /
  mkdir newvar
  mount /dev/da1s1a /newvar
Use dump to copy the old /var
  cd /
  dump 0af /newvar/var.dump /var
Unroll the dump file in to the new partition
  cd /newvar
  restore xf var.dump
  answer 'n' to setting owner of .

Unmount the old /var  (or this can be done before the dump command)
  umount /var
Now, edit /etc/fstab to put in the new partition (da1s1a or whatever it is)
for /var replacing the old one (da0s1f or whatever it might be)
Remount /var
  mount /var

You should be done.  Just eventually get rid of the old dump file
and do whatever you please with the old partition that used to be /var

jerry
 
 james
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Firewall for blocking trojan horse

2002-07-24 Thread Kirk Strauser


At 2002-07-24T10:56:11Z, dodi agusri [EMAIL PROTECTED] writes:

 1. how to block trojan horse from infecting the IRC client on my client's
 work station ?.

You can't.  So, what do you do?

- If the clients are only using the computer for a short time
  (i.e. renting one in an Internet cafe), write a script that completely
  deletes the user's home directory whenever they log out.

- Keep security tight so that a trojan can only affect one user's data.

 2. What functions on PHP that can be used to make a simple billing for my
 cyber cafe.I have explored times functions but it was seems to be
 unadequate.  I am planning to connect it with MySQL ?

How automated does it have to be?  How is your billing set up?  Are you
tracking time on the client or on the server?  There are too many
possibilities to give you a direct answer.
-- 
Kirk Strauser
The Strauser Group - http://www.strausergroup.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: PHP and Apache

2002-07-24 Thread Roman Neuhauser

 From: MET [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: PHP and Apache
 Date: Wed, 24 Jul 2002 11:23:22 -0400
 
 First off thanks to all those who helped me out, I've finally gotten
 everything up and running.  In doing so however I've come across 3
 different options for making PHP work w/ apache.
 
 1) PHP as a CGI through Apache
  
 2) PHP as a shared Apache Module ( --with-apxs=[FILE] )
  
 3) PHP as an Apache Module ( --with-apache=[FILE] )
  
 Basically, I'm wondering what's the big difference between the second
 two, and which is better.

depends on your needs. --with-apxs creates a dynamic module, while
--with-apache compiles php into apache. the first is easier to
upgrade (you only need to compile new version of php [as opposed to
php *and* apache]), the second is a bit faster.

-- 
FreeBSD 4.6-STABLE
5:22PM up 8 days, 3:41, 9 users, load averages: 0.05, 0.05, 0.00

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Sound problem

2002-07-24 Thread Brian McCann

I'm new to sound in FreeBSD...so forgive me if I stumble a bit.  I
follow the directions in the Handbook for installing the card in the
kernel...and all went well.  I made my dev entries...installed
XMMS...but when I try playing something, I get that /dev/dsp: Device
Busy.  The handbook says that the device can be help by esound or KDE
sometimes. So I ran the command fstat | grep dsp, and it returned
root artsd 214 7 / 642815 crw-rw-rw dsp0.0 w.  What can I do to fix
this problem.

Thanks,
--Brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Checking the Version?

2002-07-24 Thread Daniel Harris

On Wed, Jul 24, 2002 at 12:28:21PM -0400, MET wrote:
 Is there a command to check which version of FreeBSD your running?  I
 know that I'm running 4.6 ~ however I wanted to append a script someone
 shared with me that shows how long the machine has been up, with the
 exact version info on all of its key software, such as FreeBSD
 (naturally being the number one most important), Apache, MySQL, and PHP.

man uname

-- 
Daniel Harris

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Checking the Version?

2002-07-24 Thread Michael J. Turner

uname -a

- Original Message -
From: Roman Neuhauser [EMAIL PROTECTED]
To: MET [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 11:30 AM
Subject: Re: Checking the Version?


  From: MET [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Checking the Version?
  Date: Wed, 24 Jul 2002 12:28:21 -0400
 
  Is there a command to check which version of FreeBSD your running?  I
  know that I'm running 4.6 ~ however I wanted to append a script someone
  shared with me that shows how long the machine has been up, with the
  exact version info on all of its key software, such as FreeBSD
  (naturally being the number one most important), Apache, MySQL, and PHP.
 
  Oh yeah, the script is for an email signature.

 uname(1)

 --
 FreeBSD 4.6-STABLE
 6:30PM up 8 days, 4:49, 5 users, load averages: 0.00, 0.02, 0.00

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Gnome2 build problem SOLVED! Thanks Joe!

2002-07-24 Thread Joe Marcus Clarke

On Tue, 2002-07-23 at 21:30, Steve Wingate wrote:
 On Tuesday 23 July 2002 02:38 pm, [EMAIL PROTECTED] wrote:
  All -
 
  I'd like to thank Joe Marcus Clarke for his assistance in getting past the
  fact that a repeated error building gconf-editor was keeping me from
  getting to Gnome2. The culprit was yet another outdated /usr/X11R6/include
  directory (gdk-pixbuf, to be precise).
 
 Joe has been a big help to me several times. He's a good guy to have on the 
 team.

Glad I can be of some help.  Now that I'm back from vacation, I can
focus more on getting some other GNOME 2 stuff fixed.

Joe

 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: port scanner found my SMTP / SSH is up and I didn't put themthere!!!!

2002-07-24 Thread Kenneth Culver

 I used a port scanner on my server just to check things out. I wasn't
 expecting this. Port 22 (ssh) and port (25) SMTP are up. I looked in
 /etc/inetd.conf and SMTP is comented out.

 I created a webmailer and sure enough, all my e-mail was recieved but not
 sent out. If this isn't a default set up i've been compramised. :( I don't
 even know how to use ssh yet. The only reason I noticed this is because I
 was setting up my firewall using IPFW.


these ports are open by default, you can turn them both off by adding the
appropriate lines to /etc/rc.conf

you can find the right lines to add by looking in /etc/defaults/rc.conf

Ken


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



problems compiling kernel

2002-07-24 Thread uwi mAn

KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  
../../dev/sysco
ns/syscons.c
{standard input}: Assembler messages:
{standard input}:2992: Warning: end of file not at end of a line; newline 
insert
ed
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1
Stop in /usr/src/sys/compile/meat.
crocodile# Jul 24 19:06:55 crocodile /kernel: pid 17392 (cc1), uid 0: exited 
on
signal 11 (core dumped)


Any clue?

Thanks.

FreeBSD 4.6 | AMD 333/256MB.

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



perl 5.8.0 use.perl system doesn't update /usr/local/bin/perl

2002-07-24 Thread Mark Stosberg


Hello,

I recently installed the Perl 5.8 port for FreeBSD easily with make
install. Thanks to the FreeBSD crew for making this so easy. It was
also nice to find the use.perl script to easily switch between the
system perl and the perl port.

I ran into a small hang-up running use.perl system (after running
user.perl port)  which I'd like to
ask about. The script sucessfully updated /usr/bin/perl, but left me
with a couple oddities.

First, /usr/bin/perl5.8.0 now points to perl 5.00503, which is
confusing.

Secondly, /usr/local/bin/perl still points to the newer Perl 5.8.0. As
a FreeBSD user from the 2.2.x days, I still have several perl scripts on
the system that refer to /usr/local/bin/perl, because /usr/bin/perl
pointed to perl 4, if I recall correctly.

It's easy enough to work around this with some symbolic links, but I
expected the use.perl system script would have updated
/usr/local/bin/perl to point to the older perl as well, while still
preserving the perl 5.8 binary somewhere.

Does anyone have any insights into why the use.perl script isn't
taking care of this?

(I'm running FreeBSD 4.5 RELEASE).

  -mark

http://mark.stosberg.com/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: problems compiling kernel

2002-07-24 Thread Kent Stewart



uwi mAn wrote:

 KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  
 ../../dev/sysco
 ns/syscons.c
 {standard input}: Assembler messages:
 {standard input}:2992: Warning: end of file not at end of a line; 
 newline insert
 ed
 cc: Internal compiler error: program cc1 got fatal signal 11
 *** Error code 1
 Stop in /usr/src/sys/compile/meat.
 crocodile# Jul 24 19:06:55 crocodile /kernel: pid 17392 (cc1), uid 0: 
 exited on
 signal 11 (core dumped)
 
 
 Any clue?


Memory is the first choice and then heat related components. See 
http://www.bitwizard.nl/sig11/ for ways to tell what is failing.

Kent


 
 Thanks.
 
 FreeBSD 4.6 | AMD 333/256MB.
 
 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 .
 


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Checking the Version?

2002-07-24 Thread Kevin Golding

Someone, quite probably MET, once wrote:
Is there a command to check which version of FreeBSD your running?  

uname -a

Kevin
-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Sound problem

2002-07-24 Thread Brian McCann

Ok...posted to soon...figured it all out.  For those interested...I went
to the KDE control panel and there is an option in there to run aRTs
sound server.   I turned that off and all was well.

--Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian McCann
Sent: Wednesday, July 24, 2002 12:09 PM
To: [EMAIL PROTECTED]
Subject: Sound problem


I'm new to sound in FreeBSD...so forgive me if I stumble a bit.  I
follow the directions in the Handbook for installing the card in the
kernel...and all went well.  I made my dev entries...installed
XMMS...but when I try playing something, I get that /dev/dsp: Device
Busy.  The handbook says that the device can be help by esound or KDE
sometimes. So I ran the command fstat | grep dsp, and it returned
root artsd 214 7 / 642815 crw-rw-rw dsp0.0 w.  What can I do to fix
this problem.

Thanks,
--Brian


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Password problem

2002-07-24 Thread sagacious

i've got a box and i was able to do a boot -s to recover the root
passwd.
When i got to the prompt # i've :
-mount -u /
-mount -a

and then when i type passwd nothing happens.
i've notice that /etc/passwd has a simbolic link to /var/etc/passwd and
also
/usr/bin/passwd
have a simbolic link to /var/etc/passwd.
I've copy accross a bin passwd file from another unix and put it on
the /var/etc/, however it still doesn't work.
Any ideas how can i work around this.

When I lose the root pass heres what I have to do.

Boot -s

Then I have to mount the file systems individually but I have to go into
wherever the mount binary is and do:
 ./mount /
 ./mount /usr

then finally ./passwd

You wont be able to just type passwd cause it doesn't know where it is.
FreeBSD is in dumb mode.

I hope I understood your question right. I think I did. Hope it helped.

sagacious (Mike)
Network administrator
The unixhideout network
http://www.unixhideout.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Vidcontrol and IPFW messages

2002-07-24 Thread Adam Weinberger

 (07.24.2002 @ 0209 PST): Roman Neuhauser said, in 1.0K: 
  From: Stephan de Bot [EMAIL PROTECTED]
  To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
  Subject: Vidcontrol and IPFW messages
  Date: Wed, 24 Jul 2002 10:21:51 +0200
  
  Hi, 
  1) I've tried to set my console to vidcontrol 132x43 but it says:
  vidcontrol: cannot set videomode: inappropriate ioctl for device I've
  compiled the kernel with options VESA What do I do wrong? 
 
 no idea.

first of all, you need 3 kernel options to make this viable:

options VESA
options VGA_WIDTH90
options SC_PIXEL_MODE

second of all, even that is not guaranteed to work. i was horrified to
find out that my new laptop with a 64mb ati radeon 7500 wasn't vesa
compliant.

try putting in those options, and test all 3 of them at once with:
vidcontrol -g 100x37 VESA_800x600

if it doesn't work, either go to -current, make do, or buy a new card.
vesa compliancy is a sticky issue.

-Adam


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Eric Dedrick

Yup.  See the new attachements.  Again, thank you so much for the help.

On Wed, 24 Jul 2002, Dan Nelson wrote:

 In the last episode (Jul 24), Eric Dedrick said:
   i'm going to have to ask that anybody else who knows please step in
   here...
  
   to know where it's dying, i'd need to see a kernel trace, isolating the
   system call that it's b0rking on.
 
  I've attached a couple.  Thanks.

 Try running ktrace -i program, then kdump -m128.  All you traced here
 is the shell script, and the trace of opera itself is the more
 interesting one.  Also maybe install the linux_kdump port, and run that
 instead of regular kdump.   The trace of the Linux binary will be more
 readable that way.


 --
   Dan Nelson
   [EMAIL PROTECTED]



settimeofday(0xbfbff364,0x0,0x0) ERR#9 'Bad file descriptor'
open(‰ÆƒÄƒþÿ„Ä,0x286ae113,00)   ERR#22 'Invalid argument'
read(0x286a9657,0x16,0xbfbff4f4) ERR#9 'Bad file descriptor'
close(22)ERR#9 'Bad file descriptor'
SIGNAL 12
SIGNAL 12
Process stopped because of:  16
process exit, rval = 140


 11590 ktrace   RET   ktrace 0
 11590 ktrace   CALL  execve(0xbfbff8be,0xbfbff7d4,0xbfbff7dc)
 11590 ktrace   NAMI  /usr/local/opera/lib/opera/5.05_tp1/opera-static
 11590 ktrace   NAMI  /compat/svr4/lib/ld-linux.so.2
 11590 opera-static RET   execve 0
 11590 opera-static CALL  settimeofday(0xbfbff364,0,0)
 11590 opera-static RET   settimeofday -1 errno 9 Bad file descriptor
 11590 opera-static CALL  open(0x286a963a,0x286ae113,0)
 11590 opera-static RET   open -1 errno 22 Invalid argument
 11590 opera-static CALL  read(0x286a9657,0x16,0xbfbff4f4)
 11590 opera-static RET   read -1 errno 9 Bad file descriptor
 11590 opera-static CALL  close(0x16)
 11590 opera-static RET   close -1 errno 9 Bad file descriptor
 11590 opera-static CALL  old.killpg
 11590 opera-static PSIG  SIGSYS SIG_DFL
 11590 opera-static NAMI  opera-static.core


settimeofday(0xbfbff378,0x0,0x0) ERR#9 'Bad file descriptor'
open(‰ÆƒÄƒþÿ„Ä,0x28099113,00)   ERR#22 'Invalid argument'
read(0x28094657,0x16,0xbfbff508) ERR#9 'Bad file descriptor'
close(22)ERR#9 'Bad file descriptor'
SIGNAL 12
SIGNAL 12
Process stopped because of:  16
process exit, rval = 140


 11596 ktrace   RET   ktrace 0
 11596 ktrace   CALL  execve(0xbfbff8ce,0xbfbff7e4,0xbfbff7ec)
 11596 ktrace   NAMI  /usr/local/mozilla/mozilla-bin
 11596 ktrace   NAMI  /compat/svr4/lib/ld-linux.so.2
 11596 mozilla-bin RET   execve 0
 11596 mozilla-bin CALL  settimeofday(0xbfbff378,0,0)
 11596 mozilla-bin RET   settimeofday -1 errno 9 Bad file descriptor
 11596 mozilla-bin CALL  open(0x2809463a,0x28099113,0)
 11596 mozilla-bin RET   open -1 errno 22 Invalid argument
 11596 mozilla-bin CALL  read(0x28094657,0x16,0xbfbff508)
 11596 mozilla-bin RET   read -1 errno 9 Bad file descriptor
 11596 mozilla-bin CALL  close(0x16)
 11596 mozilla-bin RET   close -1 errno 9 Bad file descriptor
 11596 mozilla-bin CALL  old.killpg
 11596 mozilla-bin PSIG  SIGSYS SIG_DFL
 11596 mozilla-bin NAMI  mozilla-bin.core



RE: Free BSD network Driver

2002-07-24 Thread Annelise Anderson

On Wed, 24 Jul 2002, Barry Byrne wrote:

Also, when you boot it should show up with a line beginning with xl0.

You should, after boot, be able to find that line with dmesg | grep
address,
and also see it with ifconfig (and further configure it if this is not
done in /etc/rc.conf.)


 Johathan:
 
 It's supported out of the box with the xl driver.
 
  - Barry
 
  To whom it may concern, I am try to find a driver to work with 
  FreeBSD that
  will work for my 3Com Fast EatherLink XL adapter please respond to
  [EMAIL PROTECTED]
  
  
Annelise

-- 
Annelise Anderson
Author of:   FreeBSD: An Open-Source Operating System for Your PC
Available from:  BSDmall.com and amazon.com
Book Website:http://www.bittreepress.com/FreeBSD/introbook/ 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Adam Weinberger

ok. from /usr/src/sys/i386/linux/syscalls.master:
79  NOPROTO LINUX   { int settimeofday(struct timeval *tp, \
struct timezone *tzp); }

it's getting passed a memory address, and then 0. what timezone do you
have your system set to?

-Adam


 (07.24.2002 @ 1127 PST): Eric Dedrick said, in 5.2K: 
 Yup.  See the new attachements.  Again, thank you so much for the help.
 
 On Wed, 24 Jul 2002, Dan Nelson wrote:
 
  In the last episode (Jul 24), Eric Dedrick said:
i'm going to have to ask that anybody else who knows please step in
here...
   
to know where it's dying, i'd need to see a kernel trace, isolating the
system call that it's b0rking on.
  
   I've attached a couple.  Thanks.
 
  Try running ktrace -i program, then kdump -m128.  All you traced here
  is the shell script, and the trace of opera itself is the more
  interesting one.  Also maybe install the linux_kdump port, and run that
  instead of regular kdump.   The trace of the Linux binary will be more
  readable that way.
 
 
  --
  Dan Nelson
  [EMAIL PROTECTED]
 

 settimeofday(0xbfbff364,0x0,0x0)   ERR#9 'Bad file descriptor'
 open(‰ÆƒÄƒþÿ„Ä,0x286ae113,00) ERR#22 'Invalid argument'
 read(0x286a9657,0x16,0xbfbff4f4)   ERR#9 'Bad file descriptor'
 close(22)  ERR#9 'Bad file descriptor'
 SIGNAL 12
 SIGNAL 12
 Process stopped because of:  16
 process exit, rval = 140

  11590 ktrace   RET   ktrace 0
  11590 ktrace   CALL  execve(0xbfbff8be,0xbfbff7d4,0xbfbff7dc)
  11590 ktrace   NAMI  /usr/local/opera/lib/opera/5.05_tp1/opera-static
  11590 ktrace   NAMI  /compat/svr4/lib/ld-linux.so.2
  11590 opera-static RET   execve 0
  11590 opera-static CALL  settimeofday(0xbfbff364,0,0)
  11590 opera-static RET   settimeofday -1 errno 9 Bad file descriptor
  11590 opera-static CALL  open(0x286a963a,0x286ae113,0)
  11590 opera-static RET   open -1 errno 22 Invalid argument
  11590 opera-static CALL  read(0x286a9657,0x16,0xbfbff4f4)
  11590 opera-static RET   read -1 errno 9 Bad file descriptor
  11590 opera-static CALL  close(0x16)
  11590 opera-static RET   close -1 errno 9 Bad file descriptor
  11590 opera-static CALL  old.killpg
  11590 opera-static PSIG  SIGSYS SIG_DFL
  11590 opera-static NAMI  opera-static.core

 settimeofday(0xbfbff378,0x0,0x0)   ERR#9 'Bad file descriptor'
 open(‰ÆƒÄƒþÿ„Ä,0x28099113,00) ERR#22 'Invalid argument'
 read(0x28094657,0x16,0xbfbff508)   ERR#9 'Bad file descriptor'
 close(22)  ERR#9 'Bad file descriptor'
 SIGNAL 12
 SIGNAL 12
 Process stopped because of:  16
 process exit, rval = 140

  11596 ktrace   RET   ktrace 0
  11596 ktrace   CALL  execve(0xbfbff8ce,0xbfbff7e4,0xbfbff7ec)
  11596 ktrace   NAMI  /usr/local/mozilla/mozilla-bin
  11596 ktrace   NAMI  /compat/svr4/lib/ld-linux.so.2
  11596 mozilla-bin RET   execve 0
  11596 mozilla-bin CALL  settimeofday(0xbfbff378,0,0)
  11596 mozilla-bin RET   settimeofday -1 errno 9 Bad file descriptor
  11596 mozilla-bin CALL  open(0x2809463a,0x28099113,0)
  11596 mozilla-bin RET   open -1 errno 22 Invalid argument
  11596 mozilla-bin CALL  read(0x28094657,0x16,0xbfbff508)
  11596 mozilla-bin RET   read -1 errno 9 Bad file descriptor
  11596 mozilla-bin CALL  close(0x16)
  11596 mozilla-bin RET   close -1 errno 9 Bad file descriptor
  11596 mozilla-bin CALL  old.killpg
  11596 mozilla-bin PSIG  SIGSYS SIG_DFL
  11596 mozilla-bin NAMI  mozilla-bin.core

 end of Re: linux compatability broken? from Eric Dedrick 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Free BSD network Driver

2002-07-24 Thread Jonathan Andrey

Thanks guys

-Original Message-
From: Annelise Anderson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 2:29 PM
To: Barry Byrne
Cc: Jonathan Andrey; [EMAIL PROTECTED]
Subject: RE: Free BSD network Driver


On Wed, 24 Jul 2002, Barry Byrne wrote:

Also, when you boot it should show up with a line beginning with xl0.

You should, after boot, be able to find that line with dmesg | grep
address,
and also see it with ifconfig (and further configure it if this is not
done in /etc/rc.conf.)


 Johathan:
 
 It's supported out of the box with the xl driver.
 
  - Barry
 
  To whom it may concern, I am try to find a driver to work with 
  FreeBSD that
  will work for my 3Com Fast EatherLink XL adapter please respond to
  [EMAIL PROTECTED]
  
  
Annelise

-- 
Annelise Anderson
Author of:   FreeBSD: An Open-Source Operating System for Your PC
Available from:  BSDmall.com and amazon.com
Book Website:http://www.bittreepress.com/FreeBSD/introbook/ 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Adam Weinberger

oh wow i didn't notice that one.

run /compat/linux/sbin/ldconfig -p and see where it's looking for
ld-linux.so.2. the line should be something like:
ld-linux.so.2 (ELF) = /lib/ld-linux.so.2

but yeah, rebuild that kernel and modules!

-Adam


 (07.24.2002 @ 1143 PST): Dan Nelson said, in 0.5K: 
 In the last episode (Jul 24), Eric Dedrick said:
  Yup.  See the new attachements.  Again, thank you so much for the help.
 
  11590 ktrace   NAMI  /compat/svr4/lib/ld-linux.so.2
 
 Why does it think the binary is an svr4 binary?  That's why the
 syscalls still don't match and you get SIGSYS after a while.  Something
 sounds really out of sync.  Try rebuilding your kernel and modules, and
 make sure they install into the right places.
 
 -- 
   Dan Nelson
   [EMAIL PROTECTED]
 
 end of Re: linux compatability broken? from Dan Nelson 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Number of mbuf clusters (NMBCLUSTERS)

2002-07-24 Thread James Snow

Funny that you should post this at exactly the same time
that I was beginning to look for other instances of the
'mbuf clusters exhausted' message.

On Sat, Jul 13, 2002 at 11:56:18PM -0400, [EMAIL PROTECTED] wrote:
 
 I'm seeing a bit of problem with my FreeBSD 4.6 stable server.

Me:

FreeBSD 4.6-STABLE.

 My server: FreeBSD 4.6 Stable, Intel P3 933 / 256M Memory / a pair of 
 60G IDE drives (Seagate ATA IV). NIC: Intel EtherExpress 100+ 
 NFS export.

Me:

dc0: 82c169 PNIC 10/100BaseTX

 Jul 12 09:28:54 nile /kernel: All mbuf clusters exhausted,
 please see tuning(7).

I got a bunch of these yesterday, while scp'ing files to
this machine.

 The drive is hooked up to a Promise PCI ATA/UDMA 100
 controller card. 

The drive I was writing to is controlled by:

atapci1: Promise ATA100 controller 

Curious


-Snow


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Eric Dedrick

 oh wow i didn't notice that one.

 run /compat/linux/sbin/ldconfig -p and see where it's looking for
 ld-linux.so.2. the line should be something like:
 ld-linux.so.2 (ELF) = /lib/ld-linux.so.2

 but yeah, rebuild that kernel and modules!

I've rebuilt them so many times figuring that was the problem that I'm
getting kind of sick of it.  Everything is fresh.  The whole kernel and OS
is what was on CVS stable as of about noon yesterday.  Unless there is a
patch or something that's not going to do any good.

$ /compat/linux/sbin/ldconfig -p
(other suff)...
ld-linux.so.2 (ELF) = /lib/ld-linux.so.2



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Adam Weinberger

uhmm you can always kludge by ln -s /compat/linux /compat/svr4 ::)

just curious... do you have anything in /compat/svr4?

-Adam


 (07.24.2002 @ 1210 PST): Eric Dedrick said, in 0.6K: 
  oh wow i didn't notice that one.
 
  run /compat/linux/sbin/ldconfig -p and see where it's looking for
  ld-linux.so.2. the line should be something like:
  ld-linux.so.2 (ELF) = /lib/ld-linux.so.2
 
  but yeah, rebuild that kernel and modules!
 
 I've rebuilt them so many times figuring that was the problem that I'm
 getting kind of sick of it.  Everything is fresh.  The whole kernel and OS
 is what was on CVS stable as of about noon yesterday.  Unless there is a
 patch or something that's not going to do any good.
 
 $ /compat/linux/sbin/ldconfig -p
 (other suff)...
 ld-linux.so.2 (ELF) = /lib/ld-linux.so.2
 
 
 end of Re: linux compatability broken? from Eric Dedrick 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Eric Dedrick

  11590 ktrace   NAMI  /compat/svr4/lib/ld-linux.so.2

 Why does it think the binary is an svr4 binary?  That's why the
 syscalls still don't match and you get SIGSYS after a while.  Something
 sounds really out of sync.

That's kind of what I thought.  I tried re-brandelf'ing my version of
netscape just to make sure it was doing linux and not svr4, and it just
complained about something else.  I also don't think that linux-netscape
is elf format.  I don't know that one can brand file types other than elf.
Besides, it worked fine before, the brand on these linux files is what it
should be I assume.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread Kevin Golding

Someone, quite probably , once wrote:
Sorry Kevin, I didn't quite understand your reply.

If you can't get a file from ftp.freebsd.org then it's worth trying for
it on ftp2.freebsd.org, or ftp3.freebsd.org

Locality works to, ftp.uk.freebsd.org for example.

You'll probably do best if you browse the ftp server before trying to
download it, that way you'll be able to see the binaries they have and
you'll know whether or not it's worth trying to download or just moving
on to another mirror.

Kevin
-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Eric Dedrick

 uhmm you can always kludge by ln -s /compat/linux /compat/svr4 ::)

 just curious... do you have anything in /compat/svr4?

A symbolic link to /usr/compat/linux/lib.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Number of mbuf clusters (NMBCLUSTERS)

2002-07-24 Thread Balaji, Pavan


You can increase the maximum number of clusters in /usr/src/sys/sys/sysctl.h
and recompile the kernel. But make sure that you have a stable kernel image
ready, just in case you increase this value so much that your kernel doesn't
boot ;)

I guess the default value is around 9, while for 256MB mem, you can go upto
maybe 1 clusters.


Pavan Balaji,
Intel Corporation

Only the Paranoid Survive  --  Andy Grove


 -Original Message-
 From: James Snow [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 24, 2002 2:05 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Number of mbuf clusters (NMBCLUSTERS)
 
 
 Funny that you should post this at exactly the same time
 that I was beginning to look for other instances of the
 'mbuf clusters exhausted' message.
 
 On Sat, Jul 13, 2002 at 11:56:18PM -0400, [EMAIL PROTECTED] wrote:
  
  I'm seeing a bit of problem with my FreeBSD 4.6 stable server.
 
 Me:
 
 FreeBSD 4.6-STABLE.
 
  My server: FreeBSD 4.6 Stable, Intel P3 933 / 256M Memory / 
 a pair of 
  60G IDE drives (Seagate ATA IV). NIC: Intel EtherExpress 100+ 
  NFS export.
 
 Me:
 
 dc0: 82c169 PNIC 10/100BaseTX
 
  Jul 12 09:28:54 nile /kernel: All mbuf clusters exhausted,
  please see tuning(7).
 
 I got a bunch of these yesterday, while scp'ing files to
 this machine.
 
  The drive is hooked up to a Promise PCI ATA/UDMA 100
  controller card. 
 
 The drive I was writing to is controlled by:
 
 atapci1: Promise ATA100 controller 
 
 Curious
 
 
 -Snow
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Windowmaker sed problem

2002-07-24 Thread Roman Neuhauser

 From: Brossin Pierrick [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Windowmaker sed problem
 Date: Wed, 24 Jul 2002 20:09:45 +0200
 
 When I try to compile Apache2 or WindowMaker (and other ports I think) I get
 the following error.
 (Here WindowMaker) :

 === Patching for windowmaker-0.80.1
 === Applying FreeBSD patches for windowmaker-0.80.1
 sed: illegal option -- i
 usage: sed script [-Ean] [file ...]
 sed [-an] [-e script] ... [-f script_file] ... [file ...]
 *** Error code 1

what happens if you use make ... -DUSE_REINPLACE ?

-- 
FreeBSD 4.6-STABLE
9:20PM up 8 days, 7:39, 9 users, load averages: 0.01, 0.01, 0.00

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Eric Dedrick

 but then it's looking for /usr/compat/linux/lib/lib/ld-linux.so.2

 make /compat/svr4 - /compat/linux

No change.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Dan Nelson

In the last episode (Jul 24), Eric Dedrick said:
  i'm going to have to ask that anybody else who knows please step in
  here...
 
  to know where it's dying, i'd need to see a kernel trace, isolating the
  system call that it's b0rking on.
 
 I've attached a couple.  Thanks.

Try running ktrace -i program, then kdump -m128.  All you traced here
is the shell script, and the trace of opera itself is the more
interesting one.  Also maybe install the linux_kdump port, and run that
instead of regular kdump.   The trace of the Linux binary will be more
readable that way.


-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: perl 5.8.0 use.perl system doesn't update /usr/local/bin/perl

2002-07-24 Thread Adam Weinberger

/usr/local is where ports go. ports don't install into
/usr/{bin,include,lib}, and system doesn't install into
/usr/local{bin,include,lib}. that's the whole point.

you should modify your scripts to use /usr/bin/perl.

if you want to use perl5.8.0, use /usr/local/bin/perl5.8.0

-Adam


 (07.24.2002 @ 0907 PST): Mark Stosberg said, in 1.3K: 
 
 Hello,
 
 I recently installed the Perl 5.8 port for FreeBSD easily with make
 install. Thanks to the FreeBSD crew for making this so easy. It was
 also nice to find the use.perl script to easily switch between the
 system perl and the perl port.
 
 I ran into a small hang-up running use.perl system (after running
 user.perl port)  which I'd like to
 ask about. The script sucessfully updated /usr/bin/perl, but left me
 with a couple oddities.
 
 First, /usr/bin/perl5.8.0 now points to perl 5.00503, which is
 confusing.
 
 Secondly, /usr/local/bin/perl still points to the newer Perl 5.8.0. As
 a FreeBSD user from the 2.2.x days, I still have several perl scripts on
 the system that refer to /usr/local/bin/perl, because /usr/bin/perl
 pointed to perl 4, if I recall correctly.
 
 It's easy enough to work around this with some symbolic links, but I
 expected the use.perl system script would have updated
 /usr/local/bin/perl to point to the older perl as well, while still
 preserving the perl 5.8 binary somewhere.
 
 Does anyone have any insights into why the use.perl script isn't
 taking care of this?
 
 (I'm running FreeBSD 4.5 RELEASE).
 
   -mark
 
 http://mark.stosberg.com/
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of perl 5.8.0 use.perl system doesn't update /usr/local/bin/perl from Mark 
Stosberg 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken?

2002-07-24 Thread Dan Nelson

In the last episode (Jul 24), Eric Dedrick said:
 Yup.  See the new attachements.  Again, thank you so much for the help.

 11590 ktrace   NAMI  /compat/svr4/lib/ld-linux.so.2

Why does it think the binary is an svr4 binary?  That's why the
syscalls still don't match and you get SIGSYS after a while.  Something
sounds really out of sync.  Try rebuilding your kernel and modules, and
make sure they install into the right places.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread sroberts


Hi Kevin,
   Seems as if we've been barking up the wrong tree here:

From list member Marc's e-mail:

XFree86 is the name to use to fetch XFree86 4.X
Look at this:
# pkg_add -rv XFree86
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
setting passive mode
opening data connection
initiating transfer
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/L
atest/XFree86.tgz...+CONTENTS
..., snip

What do you make of this?

Stacey

Quoting Kevin Golding [EMAIL PROTECTED]:

 Someone, quite probably , once wrote:
 Sorry Kevin, I didn't quite understand your reply.
 
 If you can't get a file from ftp.freebsd.org then it's worth trying for
 it on ftp2.freebsd.org, or ftp3.freebsd.org
 
 Locality works to, ftp.uk.freebsd.org for example.
 
 You'll probably do best if you browse the ftp server before trying to
 download it, that way you'll be able to see the binaries they have and
 you'll know whether or not it's worth trying to download or just moving
 on to another mirror.
 
 Kevin
 -- 
 [EMAIL PROTECTED]
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken

2002-07-24 Thread Eric Dedrick

 If you don't load the svr4 module (and don't have options COMPAT_SVR4
 in your config file), it shouldn't look in /compat/svr4.  Try removing
 those and see what happens.

 Symlinking /compat/svr4 to /compat/linux won't do a thing, since the
 syscalls don't match.

I get:

$ opera
ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
[1]   11964 Abort trap


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: lilo installation

2002-07-24 Thread messmate

On Tue, 23 Jul 2002 21:34:34 +0200
[EMAIL PROTECTED] (Joachim Fahnenmueller) wrote:

| Hi Thorsten,
| 
| On Tue, Jul 23, 2002 at 02:31:19PM +0200, Thorsten Pawlak wrote:
|  Hi debain users,
|  I?m a linux-newbie and have not much experiences with linux. 
|   
|  My question: I got an old HD (1,8 GB) and installed linux on it. But I
|  removed my usual windows HD from my Mainboard and jumpered the 1,8GB HD
|  as the Master for installing linux. But now I want to use both HDs and
|  install lilo with a boot menu to choose booting linux or windows.
|   
|  How can I install and config lilo now?
| 
| First, before doing anything with lilo, make a bootable disk (if you haven't
| yet) with mkboot. So you can boot even if something goes wrong.
| Then read man lilo and man lilo.conf and configure lilo accordingly. (If I
| understood correctly, you have already installed lilo on HD. If not, run
| dpkg-reconfigure lilo.) Make sure to use the right device names:
| /dev/hda  master on 1st IDE connection
| /dev/hdb  slave  on 1st --
| /dev/hdc  master on 2nd --
| /dev/hdd  slave  on 2nd --
|   
|  Maybe important:I haven?t installed the desktop environment yet.
| 
| Doesn't matter. In debian, most config things are text-based.
|   
|  Sorry, for my English, maybe I made several mistakes.
| 
| Doesn't matter either. Many who write on this list aren't native speakers. 
| (And those who are can be glad that we all use their language.)
|   
|  Thx a lot, the linux newbie ;-)
| 
| HTH, Joachim
| 
IMHO: windooz must be installed on the 1st HD ??
A+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Problem Installing Mosaic

2002-07-24 Thread David Banning

On Wed, Jul 24, 2002 at 11:07:21AM -0700, Parker Brown wrote:
 OK, that worked, and Mosaic did seem to install porperly.  A final question: what did
 that change do?  I haven't written a line of code since the 70's and I feel that I 
can
 more-or-less read C, but I've never coded C.  It *looks* to me like the modification
 from   =   to   !=   in that particular line indicates that the situation is true if
 I *don't* have X ver 4, rather than ver greater than or equal to ver 4.  However I am
 using ver 4.
I am not expert on coding either. It simply did not -understand- the = argument.
You would think that the code, as originally written, should have run.
Given your version of X, it seems that maybe you should have used == instead of !=.
I guess that is always an option if you run into trouble, although I installed
my open-motif previous to upgrading X to version 4 and it hasn't cause me any 
problems.

Glad it works -

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /var/run/printer?

2002-07-24 Thread Garance A Drosihn

At 6:30 PM -0700 7/23/02, Ed Yu wrote:
When I try to run 'lpc restart all',
it shows lp:
   cannot open lock file
lp:
lpc: unable to connect to /var/run/printer: no such
file or directory
lpc: check to see if the master 'lpd' process is
running.
 couldn't start daemon


However, ps aux shows that lpd is running
daemon 138 lpd: lpd waiting(lpd)

ls -l /var/run shows
lpd.515 and lprng but no /var/run/printer

I read that /var/run/printer should be created by lpd
but it is not. Why?

The version of lpd which comes as part of freebsd does use
/var/run/printer for communication between various processes
(lpd, lpr, lpc, etc).  This version of lpd should be on your
system in /usr/sbin/lpd .

The fact that you got that error message from lpc indicates that
you were definitely running the version of lpc which also comes
as part of the base freebsd operating system.

You do have an lpd process running, but you say it shows up in
'ps' as:   lpd: lpd waiting(lpd)
The version of lpd which comes with freebsd would not show up
that way.  You also said /var/run had a file for 'lprng'.  I do
not run lprNG, but I expect that you have installed it, and that
you have it running.   It may even be working perfectly fine.

The problem could be as simple as that you're using the base-system
lpc, when you want to be using the version of 'lpc' which came with
the lprNG package.  The base-system lpc is in:
 /usr/sbin/lpc
while I suspect that lprNG would have one in:
 /usr/local/sbin/lpc

So, everything might be working perfectly fine, except that you do
not have '/usr/local/sbin' in your setting for PATH.  Thus, you are
getting the system version of lpc instead of the lprNG version.

-- 
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: PHP Apache Assistance ~ like a moron

2002-07-24 Thread Steve Mazerski

On Wednesday 24 July 2002 23:21, Steve Mazerski wrote:
 On Wednesday 24 July 2002 22:48, MET wrote:
 
  ee /usr/local/apache/conf/httpd.conf
 
  I then append the line:AddType application/x-httpd-php .php

 does Apache know about the PHP module? Somewhere in
 the httpd.conf there should be two sections (can't recall
 off-hand) where the modules-to-be-loaded are explictly
 mentioned. You may need to add PHP in both.

hah, found an old httpd.conf knocking around.
You will probably need something like this:

IfDefine PHP4
AddModule mod_php4.c
/IfDefine

IfDefine PHP4
LoadModule php4_module /usr/lib/apache/libphp4.so
/IfDefine

S.Mazerski


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: PHP Apache Assistance ~ like a moron

2002-07-24 Thread Mark Rowlands

On Wed July 24 2002 23:21, Steve Mazerski wrote:
 On Wednesday 24 July 2002 22:48, MET wrote:

 (...)

  Here's what I've done so far.
 
  cd /usr/local/httpd-2.0.39
  ./configure --prefix=/usr/local/apache --enable-module=all
  --with-mpm=worker
  make
  make install
 
  cd /usr/local/php-4.2.2
  ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql
  --with-xml --enable-ftp --enable-short-tags --enable-calendar
  --enable-track-vars --with-tsrm-pth
 
  make
  make install
 
  I then get a nice little PHP Liscense notice as well as a warning for
  register_globals being off.

 I'm not entirely sure, but it looks like you are building
 PHP as a DSO-module (i.e. dynamically loadable,
 not statically compiled in). This is perfectly reasonable,
 but...

  So I continue:
 
  ee /usr/local/apache/conf/httpd.conf
 
  I then append the line:AddType application/x-httpd-php .php

 does Apache know about the PHP module? Somewhere in
 the httpd.conf there should be two sections (can't recall
 off-hand) where the modules-to-be-loaded are explictly
 mentioned. You may need to add PHP in both.


I think you will need to add least least..

LoadModule php4_modulelibexec/apache2/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

and you may wish to add this or similar.

DirectoryIndex index.html index.php 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /var/run/printer?

2002-07-24 Thread Ed Yu

You are right. When I restart the machine after I
uncommented LPD_ENABLE=YES, /var/run/printer shows
up. I also did check /usr/local/sbin and there are lpc
and lpd in it. I basically totally mixed LPR and
LPRng.
Urhh... Thank you!

thanx again,
ed

--- Garance A Drosihn [EMAIL PROTECTED] wrote:
 At 6:30 PM -0700 7/23/02, Ed Yu wrote:
 When I try to run 'lpc restart all',
 it shows lp:
cannot open lock file
 lp:
 lpc: unable to connect to /var/run/printer: no such
 file or directory
 lpc: check to see if the master 'lpd' process is
 running.
  couldn't start daemon
 
 
 However, ps aux shows that lpd is running
 daemon 138 lpd: lpd waiting(lpd)
 
 ls -l /var/run shows
 lpd.515 and lprng but no /var/run/printer
 
 I read that /var/run/printer should be created by
 lpd
 but it is not. Why?
 
 The version of lpd which comes as part of freebsd
 does use
 /var/run/printer for communication between various
 processes
 (lpd, lpr, lpc, etc).  This version of lpd should be
 on your
 system in /usr/sbin/lpd .
 
 The fact that you got that error message from lpc
 indicates that
 you were definitely running the version of lpc which
 also comes
 as part of the base freebsd operating system.
 
 You do have an lpd process running, but you say it
 shows up in
 'ps' as:   lpd: lpd waiting(lpd)
 The version of lpd which comes with freebsd would
 not show up
 that way.  You also said /var/run had a file for
 'lprng'.  I do
 not run lprNG, but I expect that you have installed
 it, and that
 you have it running.   It may even be working
 perfectly fine.
 
 The problem could be as simple as that you're using
 the base-system
 lpc, when you want to be using the version of 'lpc'
 which came with
 the lprNG package.  The base-system lpc is in:
  /usr/sbin/lpc
 while I suspect that lprNG would have one in:
  /usr/local/sbin/lpc
 
 So, everything might be working perfectly fine,
 except that you do
 not have '/usr/local/sbin' in your setting for PATH.
  Thus, you are
 getting the system version of lpc instead of the
 lprNG version.
 
 -- 
 Garance Alistair Drosehn=  
 [EMAIL PROTECTED]
 Senior Systems Programmer   or 
 [EMAIL PROTECTED]
 Rensselaer Polytechnic Instituteor 
[EMAIL PROTECTED]


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Ports and dependencies

2002-07-24 Thread Imran Badr


Hi,
Please guide me to the appropriate mailing list for kernel/driver
development level questions.

Thanks,
Imran.





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Ports and dependencies

2002-07-24 Thread Adam Weinberger

make fetch-recursive-list

-Adam


 (07.24.2002 @ 1527 PST): Steve Mazerski said, in 0.7K: 
 
 I'm installing MySQL from ports, and having just
 entered make install I am seeing half of CPAN
 (Perl modules) is being downloaded and installed as well.
 
 I see the initial dependency for Mysql.pm is defined in the 
 Makefile under RUN_DEPENDS, presumably the
 other Perl modules installed stem from Mysql.pm's dependencies.
 
 This is not a problem per se, because I use Perl a lot
 and would have had to fetch the files anyway,
 but how can I tell in advance what other ports
 a given port needs to install, without going
 through each port's makefile? In other words, is
 there a program which will do this for me?
 
 
 Just wondering
 
 S.Mazerski
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of Ports and dependencies from Steve Mazerski 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



freebsd plugins?

2002-07-24 Thread Ed Yu

I tried search online but all I find is linux plugins.
I made these work by installing linux-mozilla. But
since there is no linux-galeon port and I'd rather run
freebsd galeon, is there a way to make them work?



__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Can you relate to my Tour of Despair?

2002-07-24 Thread Peter Leftwich

1. We begin our tour at www.freebsd.org and click on Ported Apps.

2. At www.kde.org we were told that 2.2.2 is old and that we can install
3.0.2 but for Turbo/Mandrake/SuSE or other Linuxes, but not as easily for
FreeBSD, where we must choke on the ol' source method.

3. We search for kde and notice an interesting app near the top of the list:

Search for: [kde ] [All ][4.6-STABLE/i386  ] [Submit]
Category audio
agbrowser-0.96_1
Simple browser for Audiogalaxy under KDE2
Maintained by: [EMAIL PROTECTED]
Requires: Mesa-3.4.2_2, XFree86-libraries-4.2.0_2, agsatellite-0.520_2,
cups-base-1.1.15.1, fam-2.6.8, freetype2-2.1.2, imake-4.2.0_1, jpeg-6b_1,
kdelibs-2.2.2_3, lcms-1.08, libaudiofile-0.2.3, libiconv-1.8, libmng-1.0.3,
libxml2-2.4.23, libxslt-1.0.19, linux_base-7.1, pcre-3.7, pkgconfig-0.12.0,
png-1.2.4, python-2.2.1, qt-2.3.1_2, tiff-3.5.7
Description : Sources : Changes : Download

4. Those are a lot of requirements.  We click on Download, never knowing
what to expect but dreading our assumptions will come true...

Index of ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports/audio/agbrowser/

[Upper Directory]
Makefile. . Jan  6  2002837
distinfo. . Sep  4  2001 63
files/. . . May 20 10:03  -
pkg-comment Apr  7  2001 42
pkg-descr . Apr  7  2001312
pkg-plist . Sep 22  2001  1.36K

5. Hm, we have no idea how to tell cvsup or portupgrade to use this ftp URL
and install over the Internet, and we also admit to ourselves that Windows
XP Professional is looking better everyday despite our hatred of
monopolistic Micro$oft, so let's try this instead:

# pkg_add -r agbrowser
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/agbrowser.tgz... 
Done.
Fetching 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/linux_base-7.1.tgz...
 Done.

Installation of the Linux base system is finished. The Linux kernel mode, which must 
be enabled for Linux binaries to run, is now enabled. Linux mode can be enabled 
permanently with the linux_enable variable of rc.conf(5).

When using NIS, don't forget to edit
yp.conf in /compat/linux/etc.

Broken pipe

6. Uhm, wha-?  I realize pkg_add will install dependencies but what is a
yp.conf and doesn't it already know I changed linux_enable to YES and
might pkg_add be fearing that I will now club it with a broken pipe?

7. All help warmly accepted.

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



seting up advancesys SCSI card

2002-07-24 Thread Chris Denault

I have a advanced systems scsi controller and i am not sure what to do to
turn on support for it in the kernel.  If anyone could point me to the
place to look in the handbook or give me some idea as to what i should do,
it would be greatly apreciated.

-Chris Denault



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: freebsd plugins?

2002-07-24 Thread Steve Mazerski

On Thursday 25 July 2002 00:51, Ed Yu wrote:
 I tried search online but all I find is linux plugins.
 I made these work by installing linux-mozilla. But
 since there is no linux-galeon port and I'd rather run
 freebsd galeon, is there a way to make them work?

This article:

http://www.onlamp.com/pub/a/bsd/2001/12/13/Big_Scary_Daemons.html

may or may not be helpful.

S.Mazerski


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: linux compatability broken

2002-07-24 Thread Eric Dedrick

  $ opera
  ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found
  [1]   11964 Abort trap

 Now that's really confusing.  Without the svr4 module loaded, the
 string /compat/svr4 should not exist anywhere in the kernel (it's
 defined in /sys/svr4/svr4_sysvec.c).  There is simply no way you should
 get that error message.  Are you _sure_ you're booting a rebuilt
 kernel?  Try rm -rf'ing the compile directory and build again.  What
 does 'uname -v' print?

I am totally sure that I have a new kernel.  I did it with the make world,
make buildkernel KERNCONF=xxx; make installkernel KERNCONF=xxx; make
installworld sequence followed by mergemaster to get the /etc files right.

Let's see

$ uname -v

FreeBSD 4.6-STABLE #4: Tue Jul 23 21:13:42 EST 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DSL-146-127-2

That looks like a pretty recent kernel to me.

$ kldstat
Id Refs AddressSize Name
 15 0xc010 238690   kernel
 21 0xc0944000 2000 green_saver.ko
 31 0xc0947000 14000linux.ko
 41 0xc0974000 3000 streams.ko
 51 0xc0977000 11000svr4.ko

I've also unloaded the svr4.ko module and when I do that I get a whole new
realm of complaints.  Mostly a whole bunch of libraries that can't be
found.  Instead of
[1]   21021 Bad system call (core dumped)
we get
/usr/local/opera/lib/opera/5.05_tp1/opera-static: error while loading
shared libraries: libjpeg.so.62: cannot load shared object file: No such
file or directory

There are also a whole bunch of other libraries missing from
/compat/linux.  Some programs want ld-linux.so.1, and another wants
libdl.so.1.  None of these exist in /compat with the linux-7.1 install.

Still, the nature of the problems changed.  Maybe I can't run svr4 and
linux at the same time?  (I've only used svr4 compatability a couple times
anyway.)  A bug like that would explain some of the odd behaviour.  But
what should I do about the libraries missing from linux 7.1, like
ld-linux.so.1 and stuff?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: /var/run/printer?

2002-07-24 Thread Garance A Drosihn

At 3:34 PM -0700 7/24/02, Ed Yu wrote:
You are right. When I restart the machine after I
uncommented LPD_ENABLE=YES, /var/run/printer shows
up. I also did check /usr/local/sbin and there are lpc
and lpd in it. I basically totally mixed LPR and
LPRng.

Hmm.  I am not completely sure I understand what you
did.  It sounds like now you might have both the
standard lpr and the alternative lprNG running.

You only need to have one of them running.  You just
need to make sure you are using the versions of 'lpc'
and 'lpr' which match the version of 'lpd' that you
are using.

-- 
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



pam_radius and logins (2nd request for help)

2002-07-24 Thread Alif The Terrible


Hello,

I am attempting to centralize login credentials via RADIUS, as opposed to the
current [evil] NIS.

Currently, a telnet to my RADIUS authenticated [PAM] host goes like this:

su-2.05a# telnet localhost
Trying 127.0.0.1...
Connected to localhost.mfn.org.
Escape character is '^]'.
Trying SRA secure login:
User (root): test
Password:   --- RADIUS PW is accepted according
[ SRA accepts you ] to logs.

FreeBSD/i386 (STEELMILL) (ttyp1)

RADIUS password:--- RADIUS again sends an accept, but...
Login incorrect
login:


It looks to me like telnetd is getting it right, but the login process is
missing it.  I have tried many variation of the default pam.conf with no
changes.  I have noticed that if I place a passwd entry for test, using
* for the password, auth works.  This led me to try using
template_user=nobody, without success.

Does anybody have RADIUS auth working for direct logins?  (The NAS are fine,
it's just telnet/login/ssh on the BSD boxen themselves that are borked...

Please copy me directly, as I am not currently subscribed.

P.S. How's 5.0 looking for the targeted release date?  Inquiring daemons want
to know!

-- 
Yours, 
J.A. Terranson
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



acd0a, acd0c, cd0a, cd0c different?

2002-07-24 Thread Ed Yu

I was trying to setup automounter by reading the
article in deamon news. The article uses cd0c, whereas
I used to have acd0c in my fstab. I also found that
acd0a can also be used in mount. What are the
differences between them? I understand that slice c in
normal hardisk means the whole disk, is that the case
as well? So in this case acd0a = acd0c? But what is
the cd0a and cd0c?

thanx,
ed


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: DHCP Port

2002-07-24 Thread Moti Levy

if you are using isc-dhcp than it's in /usr/local/etc/dhcpd.conf ...
the start stop scipt is /usr/local/etc/rc.d/isc-dhcpd.sh
Moti
- Original Message -
From: Grant Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 24, 2002 8:55 AM
Subject: DHCP Port


 I am trying to modify my dhcpd.conf file but I can't find it anywhere. I
did
 a search, find / -name dhcp.conf and it comes up blank. I am following
the
 instructions from

http://www.defcon1.org/html/Networking_Articles/Cat-5/Cross-Over/server-dhcp
 /server-dhcp.html . I am using ver. FreeBSD 4.5. It is telling me to
install
 the port but I have ADSL and am sure I am using the DHCP client.


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: DHCP Port

2002-07-24 Thread Edwin Groothuis

On Wed, Jul 24, 2002 at 06:55:02AM -0600, Grant Cooper wrote:
 I am trying to modify my dhcpd.conf file but I can't find it anywhere. I did
 a search, find / -name dhcp.conf and it comes up blank. I am following the
 instructions from
 http://www.defcon1.org/html/Networking_Articles/Cat-5/Cross-Over/server-dhcp
 /server-dhcp.html . I am using ver. FreeBSD 4.5. It is telling me to install
 the port but I have ADSL and am sure I am using the DHCP client.

The DHCP client which is default installed on FreeBSD is only part
of the isc-dhcp package. Please install /usr/ports/net/isc-dhcp3
for the complete distribution.

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]|Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:};:   | Interested in MUDs? http://www.FatalDimensions.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Watching users

2002-07-24 Thread sagacious








Hello list,



I need to watch either via an open terminal,
using Watch or some other method. I remember seeing fortune freebsd-tips saying how if I used tcsh
I could type a command that would tell me everyone who logs in and out of my
system. Can you please tell me how I can have a daemon or prog
running that will do nothing except log logins via sshd
and ftp to a file, or better yet, email me when someone logs in? I have watch
installed and I am about to hit the manpage but I posted
here first because I dont think watch will do what I want it to. The
ideal thing would be for it to email me whenever someone logs in
or out. Thanks.



sagacious (Mike)

Network administrator

The unixhideout network

http://www.unixhideout.com










pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread sroberts


Hi,
   I want to install the latest version of XFree86-4.

I've already tried going via the ports an hour ago, which failed with lots of 
syntax errors. I do not want to bother with the port, and would like to install 
via a package.

However, pkg_add -r XFree86-4 fails with File not available whilst attempting 
to fetch the package from some FreeBSD mirror.

How do I tell pkg_add to try somewhere else?

Stacey



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread Kevin Golding

Someone, quite probably , once wrote:
   I want to install the latest version of XFree86-4.

I've already tried going via the ports an hour ago, which failed with lots of 
syntax errors. I do not want to bother with the port, and would like to install 
via a package.

However, pkg_add -r XFree86-4 fails with File not available whilst attempting 
to fetch the package from some FreeBSD mirror.

How do I tell pkg_add to try somewhere else?

You can give it an actual location if you like:

# pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/x11/
XFree86-4

Kevin
-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread Kevin Golding

Someone, quite probably , once wrote:
However, I think that the address you included is indeed the address from which 
pkg_add is failing to fetch XFree86-4.

# pkg_add ftp://ftp2.freebsd.org/pub/FreeBSD/branches/-current/ports/x11
/XFree86-4

?

Kevin
-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread sroberts


Sorry Kevin, I didn't quite understand your reply.

Please do repeat. I do appreciate your taking the time, you're the only person 
responding to my post here (kinda disappointed with that), I'll look forward to 
your reply.

Stacey

Quoting Kevin Golding [EMAIL PROTECTED]:

 Someone, quite probably , once wrote:
 However, I think that the address you included is indeed the address
 from which 
 pkg_add is failing to fetch XFree86-4.
 
 # pkg_add ftp://ftp2.freebsd.org/pub/FreeBSD/branches/-current/ports/x11
 /XFree86-4
 
 ?
 
 Kevin
 -- 
 [EMAIL PROTECTED]
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread Marc Fonvieille

Hi,

XFree86 is the name to use to fetch XFree86 4.X

Look at this:

# pkg_add -rv XFree86
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
setting passive mode
opening data connection
initiating transfer
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/Latest/XFree86.tgz...+CONTENTS
+COMMENT
+DESC
+DISPLAY
+MTREE_DIRS
tar command returns 0 status
Done.
Package `XFree86-4.2.0_1,1' depends on `freetype2-2.1.1'.
setting passive mode
opening data connection
initiating transfer
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/freetype2-2.1.1.tgz...+CONTENTS

[snip]

Marc

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread Marc Fonvieille

On Wed, Jul 24, 2002 at 08:33:25PM +0100, [EMAIL PROTECTED] wrote:
 
 HI Marac,

Marc :))

   Thanks for that info (and example). It certainly does look as if you've 
 managed to locate the latest version there.
 
 I'll give this a go and let the list know if I am successful.


Please do.

I will add something about it in the
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html
section of the handbook as pkg_add -r XFree86 can be confusing for many
persons cause mostly of them would think about pkg_add -r XFree86-4
instead.

Marc

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread Shannon -jj Behrens

snip

 I'm off installing gnome at the moment. I'm sure to come back to the list 
 seeking confirmation of the procedure for setting gnome as the default desktop 
 to load when entering startx.
/snip

Just put exec gnome-session in .xinitrc. :)

-jj

-- 
o*s*o*pho*bi*a n. A common fear among embedded systems programmers.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?

2002-07-24 Thread Marc Fonvieille

On Wed, Jul 24, 2002 at 10:50:33PM +0100, [EMAIL PROTECTED] wrote:
 
 Hi Marc,
That did the trick for me, marc. Thanks very much for your time, as well as 
 the information. I should think that your suggestion of updating the Handbook 
 is an excellant idea!

Great! I will update the Handbook soon.
 
 For a lot of us, this proves to be the first port of call for information and 
 help, and from my own experience, its at times disheartening to come across 
 procedures in there that turn out to be either out of date, or ambiguous in its 
 reading.
 
 I'm off installing gnome at the moment. I'm sure to come back to the list 
 seeking confirmation of the procedure for setting gnome as the default desktop 
 to load when entering startx.

For GNOME
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
will be your friend, and also http://www.freebsd.org/gnome/

If you find something wrong or not clear, feel free to contact doc people
on freebsd-doc mailing list :)

Marc

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ppp0e

2002-07-24 Thread Douglas C. Garrick

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 TRANSITIONAL//EN
HTML
HEAD
  META HTTP-EQUIV=Content-Type CONTENT=text/html; CHARSET=UTF-8
  META NAME=GENERATOR CONTENT=GtkHTML/1.0.1
/HEAD
BODY
Hi, I just converted my gateway to pppOe.nbsp; I had some trouble at first but I got 
all those issues resolved the gateway was operating finenbsp;nbsp; All machines 
behind the gateway were connecting and running fine up till Tue.nbsp; The ISP 
replaced some equipment and I ended up cycling power on the gateway and the 
modem.nbsp; Now for some reason HISADDR or PEER_ADDR shows up as 10.0.0.1 which is 
the address I was starting the inside adapter with.nbsp; The outside adapter is 
working fine.nbsp; (I am sending this mail over that link.)
BR

BR
Here is what ifconfig tun0 looks like now.
BR

BR
tun0: flags=8501lt;UP,POINTOPOINT,RUNNING,MULTICASTgt; mtu1492
BR
nbsp;nbsp;nbsp;nbsp;nbsp; inet6 fe80::210:5aff:fe0d:da9e%tun0 prefixlen 64 
scopied 0x8
BR
nbsp;nbsp;nbsp;nbsp;nbsp; inet 65.113.234.128 --gt; 10.0.0.1 netmask 0xff00
BR

BR
When I first converted to ppp0e the outside end of the tunnel was the ISP's router. 
Now it's 10.0.0.1nbsp; I don't have clue how it has turned into the address I want to 
use for the inside adapter.nbsp; I have even removed the ifconfig ep0 for the inside 
adapter from /etc/rc.conf and ppp still reports 10.0.0.1 as PERR_ADDR.
BR

BR
I have tried route flush to no avail
BR

BR
Any clues?
BR

BR
Doug Garrick
BR

BR

BR

/BODY
/HTML




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



dhclient reports new IP every 15 min.

2002-07-24 Thread James McNaughton

I just noticed that dhclient on my machine is reporting that I have
new IP address every 15 minutes or so. However, it is the same address
over and over. Observe:

Jul 24 10:16:16 jamestown dhclient: New Broadcast Address: 169.254.0.255
Jul 24 10:42:04 jamestown dhclient: New Network Number: 169.254.0.0
Jul 24 10:42:04 jamestown dhclient: New Broadcast Address: 169.254.0.255
Jul 24 11:09:55 jamestown dhclient: New Network Number: 169.254.0.0
Jul 24 11:09:55 jamestown dhclient: New Broadcast Address: 169.254.0.255
Jul 24 11:36:41 jamestown dhclient: New Network Number: 169.254.0.0
Jul 24 11:36:41 jamestown dhclient: New Broadcast Address: 169.254.0.255
Jul 24 11:59:14 jamestown dhclient: New Network Number: 169.254.0.0
Jul 24 11:59:14 jamestown dhclient: New Broadcast Address: 169.254.0.255
Jul 24 12:22:04 jamestown dhclient: New Network Number: 169.254.0.0

I don't remember it doing this before and I don't look at the log very
often. Is this normal? Is this my problem or the ISP's?

TIA

Jim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: acd0a, acd0c, cd0a, cd0c different?

2002-07-24 Thread Jud

On Wed, 24 Jul 2002 17:54:27 -0700 (PDT)
Ed Yu [EMAIL PROTECTED] wrote:

 I was trying to setup automounter by reading the
 article in deamon news. The article uses cd0c, whereas
 I used to have acd0c in my fstab. I also found that
 acd0a can also be used in mount. What are the
 differences between them? I understand that slice c in
 normal hardisk means the whole disk, is that the case
 as well? So in this case acd0a = acd0c? But what is
 the cd0a and cd0c?
 
 thanx,
 ed

acd0c is the entire (atapi) cd-rom.  acd0a would be root, I
suppose.  I have never automounted my cd-rom drive, so I don't
know if acd0a=acd0c for this purpose, but ISTR trying acd0a
unsuccessfully for playing music CDs, while acd0c worked.

Using Google Groups I see posts referring to SCSI cd-rom drives
using /dev/cd0a and /dev/cd0c, so perhaps that's the significance
of the missing a at the front.

Jud

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



About FreeBSD Operating System

2002-07-24 Thread Wanda



To whom it may concern,

I am writing to ask for help about installing the 
FreeBSD in my computer.
I have a DELL Optiplex GX 115, X86 Computer 
with Windows XP installed on the master drive 40 gigs. It has 512 Ram, 800 mhz, 
a slave drive 15 gigs which I want to install another operating system on for 
programming purposes. 

My question is, will the FreeBSD run on my slave 
drive, which is already partitioned and ready for installation.

I am so frustrated. I have read so much on 
different sites including redhatlinux etc., and I just want to download 
something that will work with mine.

I tried the phatlinux, and it said it wasn't 
compatible with my X86, which it referred to as an older version. :::laughs 
Sigh.
Can you help me? Please?

Thank You,
Wanda Williams




RE: About FreeBSD Operating System

2002-07-24 Thread sagacious









I dont
have enough knowledge to tell you if it will ir will not work, why dont you
just try and see? At that point if you have an error, you can post here, or go
to the many other sites that help. Mine has forums and low volume mailing lists
that try to help people. But all you have to do is search google and theres
thousands more just like it. Give it a go whats the worst that will happen if its an empty drive anyhow. Just be sure not to grease your
existing OS. Id be happy to help if you want to email
me directly. I got time.





sagacious (Mike)

Network administrator

The unixhideout network

http://www.unixhideout.com



-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On
Behalf Of Wanda
Sent: Wednesday, July 24, 2002
10:47 PM
To: [EMAIL PROTECTED]
Subject: About FreeBSD Operating
System





To whom it may concern,











I am writing to ask for help about
installing the FreeBSD in my computer.





I have a DELL Optiplex GX
115, X86 Computer with Windows XP installed on the master drive 40 gigs. It has
512 Ram, 800 mhz, a slave drive 15 gigs which I want to install another
operating system on for programming purposes. 











My question is, will the FreeBSD
run on my slave drive, which is already partitioned and ready for installation.











I am so frustrated. I have read so
much on different sites including redhatlinux etc., and I just want to download
something that will work with mine.











I tried the phatlinux, and it said
it wasn't compatible with my X86, which it referred to as an older version.
:::laughs Sigh.





Can you help me? Please?











Thank You,





Wanda Williams






















Re: About FreeBSD Operating System

2002-07-24 Thread Brian T. Schellenberger

On Wednesday 24 July 2002 10:47 pm, Wanda wrote:
| To whom it may concern,
|
| I am writing to ask for help about installing the FreeBSD in my computer.
| I have a DELL  Optiplex GX 115, X86 Computer with Windows XP installed on
| the master drive 40 gigs. It has 512 Ram, 800 mhz, a slave drive 15 gigs
| which I want to install another operating system on for programming
| purposes.
|
| My question is, will the FreeBSD run on my slave drive, which is already
| partitioned and ready for installation.

Sure.  It should install just fine; in fact, I have a setup very much like 
this with FreeBSD running on the secondary drive.  (Actually, I deleted 
FreeBSD from the computer yesterday because the first drive died so I'm 
moving things around.)


-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Watching users

2002-07-24 Thread Ryan Thompson

sagacious wrote to [EMAIL PROTECTED]:

 Hello list,

  I need to watch either via an open terminal, using Watch or some
 other method. I remember seeing fortune freebsd-tips saying how if I
 used tcsh I could type a command that would tell me everyone who
 logs in and out of my system. Can you please tell me how I can have
 a daemon or prog running that will do nothing except log logins via
 sshd and ftp to a file, or better yet, email me when someone logs
 in? I have watch installed and I am about to hit the manpage but I
 posted here first because I don't think watch will do what I want it
 to. The ideal thing would be for it to email me whenever someone
 logs in or out. Thanks.

Hmm... So you want something that will simply just flip a switch and
let you know if/when someone logs in or out. I won't ask why. :-)

The shell script solution (run this as yourself from cron once per
minute). This is untested, by the way. :-)

#!/bin/sh
[ ! -e /tmp/who.last ]  /usr/bin/touch /tmp/who.last
if [ ! -f /tmp/who.last ]; then
  echo /tmp/who.last is not a regular file!
  exit 1
fi
/usr/bin/who | /usr/bin/diff /tmp/who.last -
/usr/bin/who  /tmp/who.last

You'll get a diff output mailed to the owner of the cron task, or no
output (and no email) if nobody logged in our out in the last minute.
Test it, though, before you turn it on and leave for a week.

Better yet, run as nobody and send the output to mail yourself. Or
mail it to your cell phone if you want audio feedback. :-)

The script should be reasonably secure, but I haven't even verified
that it works, so I make no guarantees whatsoever. :-)

- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901 1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: heh

2002-07-24 Thread Edwin Groothuis

On Wed, Jul 24, 2002 at 07:41:50PM -0400, sagacious wrote:
 There is a file in my website root called ?*

Try a better subject next time :-)

rm -i * will ask for confirmation before a delete. So you can
safely go through the list before you say yes, delete this file
which has been bothering me for the last weekend and have made my
life so miserable!. Woops, let me go a little bit :-)

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]|Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:};:   | Interested in MUDs? http://www.FatalDimensions.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >