Configuring E-mail Services on a Standalone Wkst

2004-01-18 Thread Bob Perry
Hello,

I have two PCs, an NT 4.0 box and a FreeBSD 4.8 system.   I'm connected 
to the internet via dial-up (56k modem) and using the mail system found 
in Mozilla.  I understood that mail services was a natural with FreeBSD 
so I thought I would take the opportunity to learn what I could about 
setting up a mail server.  I've become familiar with SMTP, MUAs, MTAs, 
qpopper, and fetchmail but it seems like some of the more necessary 
components are a static IP address, 24/7 connection, and accurate DNS 
information set up on my system.  If this an accurate assessment, I may 
have to be satisfied setting up my e-mail services for a standalone 
workstation because I can't afford a static IP address or 24/7 connection.

If a full-fledged e-mail server isn't feasible, can I still use software 
like sendmail, mutt, qpopper, and fetchmail for a standalone 
workstation?  Do they offer any real advantages over the mail systems 
that come with Mozilla, Netscape, etc.?   Any, and all comments are welcome.

Thank you.
Bob Perry
--
FreeBSD 4.8-RELEASE-p13 0#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2003-12-28 - 2004-01-17

2004-01-18 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source

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


Re: Configuring E-mail Services on a Standalone Wkst

2004-01-18 Thread Ion-Mihai Tetcu
On Sun, 18 Jan 2004 02:47:22 -0500
Bob Perry [EMAIL PROTECTED] wrote:

 Hello,
 
 I have two PCs, an NT 4.0 box and a FreeBSD 4.8 system.   I'm connected 
 to the internet via dial-up (56k modem) and using the mail system found 
 in Mozilla.  I understood that mail services was a natural with FreeBSD 
 so I thought I would take the opportunity to learn what I could about 
 setting up a mail server.  I've become familiar with SMTP, MUAs, MTAs, 
 qpopper, and fetchmail 

Keep up the good work ;)

 but it seems like some of the more necessary 
 components are a static IP address, 24/7 connection, and accurate DNS 
 information set up on my system.  If this an accurate assessment, I may 
 have to be satisfied setting up my e-mail services for a standalone 
 workstation because I can't afford a static IP address or 24/7 connection.

Hmm, this isn't necessarily true, but because of the spam level this days
people tend not to accept messages from servers that do no have static
ips and proper dns settings - as many spammers usually fit in this category.

 If a full-fledged e-mail server isn't feasible, can I still use software 
 like sendmail, mutt, qpopper, and fetchmail for a standalone 
 workstation? 

Well, yes. You would have to set sendmail to deliver messages through
your ISP SMTP server (like you have now this setting in Mozilla).

 Do they offer any real advantages over the mail systems 
 that come with Mozilla, Netscape, etc.?

I think they do. You could use your FreeBSD box to: 
- fetch mail on cron bases for you and your family email accounts (=
lower) 
- deliver mail on cron bases
- pipe the received mail through a spam filter program (I would
recommend dspam - mail/dspam)

The result will be lower costs and better knowledge ;)


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


arp messages XXX is on but got reply.../multihoming problem

2004-01-18 Thread Jer
Dear all

I have a setup as follows.
4.9-REL
sis0: inside network 192.168.XXX.XXX

xl0: connection to RR commercial via DHCP
assigned ip  24.172.21.XXX gateway 24.172.21.219 nat'd
rl0: unused

What I want to do is plug in an RR home connection to the rl0 interface so 
rl0 would then look like
rl0: connection to RR home via DHCP
It got assigned an IP of 66.57.248.XX gateway 66.57.248.1

When I do this I get 1000's of
arp: 66.57.248.1 is on rl0 but got reply from 00:07:0d:aa:ec:54 on xl0
and the speed of the xl0 slows to a crawl until I unplug the rl0 NIC

how can I do this?

The default gateway I want is the commercial  account 24.172.21.219

Any ideas??

Thanks

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


Re: usb modems

2004-01-18 Thread Matthew Seaman
On Sat, Jan 17, 2004 at 07:16:27PM -0500, fbsd_user wrote:

 If your usb phone modem is an winmodem it will not work with
 FBSD period.

Ummm... except for those winmodems using the Lucent LT chipset, where
you can install the comms/ltmdm port, or the DSP modem in some IBM
Thinkpad models, where you can install the comms/mwavem port.  You
won't be able to install over such a modem, but you may be able to use
it once installed.

However, I don't think either of those options will help the original
poster.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 06:15, Dinesh Nair wrote:
 you can do this with IPFW's fwd rulesets.

 ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any
 ipfw add fwd netconnexion2_gw ip from LAN/netmask to any

Well, somehow, this never worked for me yet :(
But well, I'll try again on monday :)
Thanks.

Antoine

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


Does FreeBSD sell How to videos?

2004-01-18 Thread dvelez502
Hello FreeBSD gurus, 
 
Do you know if FreeBSD sells 
video/cdrom training products? 
 
I surely appreciate your 
feedback. 
 
Thanks 


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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 06:10, Dinesh Nair wrote:
 what i do today is i set the default route to the ISP i am more convinced
 off, with static routes of certain large CIDR address blocks going out to
 the other ISP. i decided on those large blocks after checking the global
 route tables, AS PATH diagrams and experience of link quality. you can do
 this by using tools such as the Looking Glass servers, RouteViews.Org and
 even Netlantis.org for your situation. i'm not running routed,
 zebra/bgpd/ospfd on this at all, since it's all static routes and i can't
 find an ISP ospf/bgp router willing to exchange routes with me.

Same for me...
Anyway, thanks for the explanation :)
I really appreciated.

Antoine

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


usernames with uppercase

2004-01-18 Thread Spades
Hi,

I tried to add a username ie. Bryan, but FreeBSD doesn't allow me
to do so. It gives me illegal username error. Any idea how to go
about adding usernames like 'Bryan-admin' etc.

Please help.

Thanks..

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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Chris Knipe
 On Sunday 18 January 2004 06:10, Dinesh Nair wrote:
  what i do today is i set the default route to the ISP i am more convinced
  off, with static routes of certain large CIDR address blocks going out to
  the other ISP. i decided on those large blocks after checking the global
  route tables, AS PATH diagrams and experience of link quality. you can do
  this by using tools such as the Looking Glass servers, RouteViews.Org and
  even Netlantis.org for your situation. i'm not running routed,
  zebra/bgpd/ospfd on this at all, since it's all static routes and i can't
  find an ISP ospf/bgp router willing to exchange routes with me.
 
 Same for me...
 Anyway, thanks for the explanation :)
 I really appreciated.
 
 Antoine


Yes, here as well.  However, this brings (to me at least) a very big problem.

I route network A over gateway A, and network C over gateway B. (say, 2 x /12s)

I have a service set up, some.host IN A A.A.A.x (i.e. in network A and gateway
A).  Now, the moment some one from network B connects to the service I've setup
on network A, the FreeBSD Box will route the reply packets out on network B 
(because of the client's address) and hence, it follows a invalid networ path
and the connection fails.  The same will also happen when someone from Network A
tries to connect to a IP on Network B ex:

-- 192.168.1.0/24 --- | BSD ROUTER | --- 10.255.255.0/24 ---
  - Some Service on here
  - 192.168.1.0/24 routed to sis0
  - 10.255.255.0/24 routed to sis1


The moment 192.168.1.x tries to connect to my IP address(es) from
10.255.255.0/25, the connection fails - and vica versa.

If I can manage to solve this, then I'll be a *VERY* happy chappy.  But other than
that, as mentioned previously, the ipfw fwd thing doesn't work for me either - it
forwards the packet to a port (won't really help forwarding ftp packets to port 21
of your router now, would it).  So yes, I'm also stuck with this - and the sad part
is I'll more than likely be adding a 3rd gateway to my network pretty soon

Regards,
Chris.

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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Antoine Jacoutot
On Sunday 18 January 2004 10:54, Chris Knipe wrote:
 I have a service set up, some.host IN A A.A.A.x (i.e. in network A and
 gateway A).  Now, the moment some one from network B connects to the
 service I've setup on network A, the FreeBSD Box will route the reply
 packets out on network B (because of the client's address) and hence, it
 follows a invalid networ path and the connection fails.  The same will also
 happen when someone from Network A tries to connect to a IP on Network

Hum, you're right...
Let me try this also on monday, I'll give you some feedback about how it goes.

Antoine

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


Re: Success with Symantec Ghost 7

2004-01-18 Thread Peter Ulrich Kruppa
On Sun, 18 Jan 2004, Stephen Hoover wrote:

 I know the topic of ghosting a FreeBSD box is discussed on here from time
 to time.

 I just wanted to let everyone know I had a success using Ghost 7 on my
 current setup. I cloned it from a Dell PowerEdge 2450 to a generic desktop
 with same drive configuration (2 SCSI drives in each). I used Ghost to do a
 sector copy on each individual harddrive.

 All I had to do to get it rolling was boot to the GENERIC kernel, as the one
 I configured for the Dell server was SMP. Everything seemed to come up and
 work fine. It even saw additional drive space on the new machine, as the
 harddrives were slightly bigger.

 Just thought this was some good information for the list.

 Stephen Hoover
 Dallas, Texas
In case you have time to work it out and you can live with some
small bugs, there is a very promising OpenSource project on
http://www.sysresccd.org
SystemRescueCD is a bootable CD based on Gentoo-Linux. It can
- manage partitions
- mirror partitions
- set up connections to nfs and samba servers via network
- ntfs and ufs support is declared as experimental by the authors
  but seems to work on my home-network

Regards,

Uli.


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


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


Cutting the power without unmounting the filesystem

2004-01-18 Thread Rickard Dahlstrand
Hi,

I have a computer that will have it's power removed quite often. In other word It will 
not unmount the file system. What kind of implications does this have in the long term?

I have discovered that the start-up takes much longer because of having to clean the 
file system. Is there a way to prevent this and what harm can cutting the power have 
on the system?

I know of some installations that use read-only mounting. Is it possible to mount / RO 
and /etc and /var RW? Will that speed up the boot process?

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


Re: Text parsing?

2004-01-18 Thread Jefferson San Juan
 For what purposes will I find I need to use all these tools you write
 about?  
 I'm talking about awk, ed, ex, etc.  I haven't found the need to do so, yet, 
 but I'd like to possibly learn this stuff before I really do need it.

Such programs are usually used in shell scripts to parse out a part or some 
parts of a text output either from a text file or an output from a program 
such as ifconfig for instance.

- Jefferson

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


Re: Success with Symantec Ghost 7

2004-01-18 Thread Gilad Rom
Stephen Hoover wrote:
I know the topic of ghosting a FreeBSD box is discussed on here from time
to time.
I just wanted to let everyone know I had a success using Ghost 7 on my
current setup. I cloned it from a Dell PowerEdge 2450 to a generic desktop
with same drive configuration (2 SCSI drives in each). I used Ghost to do a
sector copy on each individual harddrive.
All I had to do to get it rolling was boot to the GENERIC kernel, as the one
I configured for the Dell server was SMP. Everything seemed to come up and
work fine. It even saw additional drive space on the new machine, as the
harddrives were slightly bigger.
Just thought this was some good information for the list.

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

Just out of curiousity - How long does it take for ghost to
replicate the disk?
I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks
(2x20GB, EIDE, UDMA100), and it takes roughly 28 minutes.
Gilad.

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


ep driver problem in 5.2?

2004-01-18 Thread pbdlists
Today I installed FBSD 5.2 on my main notebook because I want to make
the switch from 4.7. I have a 3Com Megahertz 10/100 LAN PC Card Model
3CCFE574BT.

  ep0: 3Com Megahertz 574B at port 0x100-0x11f irq 11 function 0
   config 1 on pccard0
  Unknown ID: 0x201
  ep0: Ethernet address 00:50:da:d3:6b:22

The default kernel is being used, no changes made.

This card was working flawlessly all the time with FBSD 4.5/4.7, did
autonegotiation perfectly, no problem at all, not even plugging the
cable out on my 100 Mb switch and plugging it in on a 10 Mb hub or vice
versa.

With 5.2, however, the card works fine right right after ifconfig ep0
up, but:

- it stops working if there has not been any traffic through the card
  for a while (have not yet been able to determine the exact time)
- if there is traffic through the card all the time (eg pinging another
  host continuously) it does not stop working
- broadcasts, arp requests and other packets going to all nodes on the
  network seem to do the trick as well as a constant ping
- the autonegotiating switch, to which it is connected, still shows the
  card is there and in 100 MB full duplex mode
- ifconfig ep0 down followed by ifconfig ep0 up brings the card back to
  life again
- if connecting the card to a 10 MB hub, there are no problems, it
  continues to work properly, even if there is no traffic through it for
  some time

Unfortunately the ep driver does not support setting the media,
otherwise it might be possible to work around the problem.

At the moment I'm at a loss, not knowing how to get this to work.
Writing a startup script which does not return and pings another host on
the network all the time is not quite the solution I'd be happy to
implement...

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


Re: Cutting the power without unmounting the filesystem

2004-01-18 Thread Gilad Rom
Rickard Dahlstrand wrote:
Hi,

I have a computer that will have it's power removed quite often. In other word It will not unmount the file system. What kind of implications does this have in the long term?

I have discovered that the start-up takes much longer because of having to clean the file system. Is there a way to prevent this and what harm can cutting the power have on the system?

I know of some installations that use read-only mounting. Is it possible to mount / RO and /etc and /var RW? Will that speed up the boot process?

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

5.2 has background fsck - I don't know if its going to fix all of the
problems that cutting the power is going to introduce, but Its going
to speed up your boot sequence for sure.
Gilad.

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


arp problem in /var/log/messages

2004-01-18 Thread Spades
hi all, i got flooded by these msgs like 1000+ lines, any idea?
my kernel is dated Nov-30 FreeBSD 4.9-stable

# tail -f /var/log/messages
Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0
Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
to 00:04:5a:49:eb:74 on rl0
Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0
Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
to 00:04:5a:49:eb:74 on rl0
Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0

thanks and regards,

John

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


Re: stumped... .

2004-01-18 Thread Lee Mx

  On Sat, 17 Jan 2004, Gary Kline wrote:
 
  
   I've written scores of scripts to hack text files, but this
   one has me dead in the water.
  
   How can I delete all lines from /^PATTERN to EOF??
  
   ed - foo
  
   /^PATTERN
   (.,$)d
   w
   q
   foo
  
   or anything else I've tried doesn't do it.  I could do it in
   C/C++,but c'mon... !  Any solutions in sed, perl, or ed/ex?
 
  Well, you didn't mention awk, but...
 
 
  awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}'  foo  bar
 

 Wouldn't it be neater to do

   nawk '/^PATTERN/ { exit } ; { print }'
Couldn't sed '/^PATTERN/,$d'  foo  bar be a bit faster?

_
Check out the new MSN 9 Dial-up — fast  reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-uspage=dialup/homeST=1

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


Re: Text parsing?

2004-01-18 Thread Rob
Eric F Crist asked on Sun Jan 18, 2004:

 For what purposes will I find I need to use all these tools you write
about?
 I'm talking about awk, ed, ex, etc.  I haven't found the need to do so,
yet,
 but I'd like to possibly learn this stuff before I really do need it.

Logfiles and config files are usually text, and a standard set of text
processing tools exist. This leads to the Unix tradition of sticking little
things together.

For example, I'm doing a 'make release' - there's a lot of repeated output,
so it's hard to see how far it's gone if it crashes. So to save the output,
I run it under the script(1) command. Then on another tty, I run

  tail -f /var/tmp/script | grep '^[+]'

which shows the main headings of the build process.

After a while, many admin tasks start to look like text processing problems.

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


saving downloaded packages with pkg_add -r

2004-01-18 Thread Jon
Hi,

When I do, say...

pkg_add -r foo

... is foo-version.tar.gz stored anywhere? With ports, the source tarballs
are saved in /usr/ports/distfiles. But I can't find the downloaded packages
anywhere. Can't find mention of this either.

Reason I ask is that I'm going to reinstall after using FBSD for the first
time, and I don't want to re-download all those packages again as I have a
quota. And I also don't want to have to manually download and save each
package  it's deps.

Thanks!

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


Re: Cutting the power without unmounting the filesystem

2004-01-18 Thread Rickard Dahlstrand
Thanks Gilad,

I was hoping on a solution that can work on 4.9.

Can you provide me with some problems that I might introduce?

Rickard.

- Original Message - 
From: Gilad Rom [EMAIL PROTECTED]
To: Rickard Dahlstrand [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 12:51 PM
Subject: Re: Cutting the power without unmounting the filesystem


 Rickard Dahlstrand wrote:
  Hi,
 
  I have a computer that will have it's power removed quite often. In
other word It will not unmount the file system. What kind of implications
does this have in the long term?
 
  I have discovered that the start-up takes much longer because of having
to clean the file system. Is there a way to prevent this and what harm can
cutting the power have on the system?
 
  I know of some installations that use read-only mounting. Is it possible
to mount / RO and /etc and /var RW? Will that speed up the boot process?
 
  Best Regards, Rickard.
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 
 
 5.2 has background fsck - I don't know if its going to fix all of the
 problems that cutting the power is going to introduce, but Its going
 to speed up your boot sequence for sure.

 Gilad.



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


FreeBSD support

2004-01-18 Thread
Hello Support,
I have a problem my floppy drive does not want to work.
when my FreeBSD 5.1 boots I have a message
fdc0: cmd 3 faild at out byte 1 of 3
and
cannot reserve I/O port range (6 port)

After logining I cannot use my floppy drive- there is no device file.
What should I do?

  

-- 
Best regards,
 Alexey  mailto:[EMAIL PROTECTED]

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


Re: stumped... .

2004-01-18 Thread David Fleck
On Sun, 18 Jan 2004, Rob wrote:
 David Fleck wrote on Sunday January 18, 2004:
  Well, you didn't mention awk, but...
 
 
  awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}'  foo  bar

 Wouldn't it be neater to do

   nawk '/^PATTERN/ { exit } ; { print }'

 ?

Why, yes, it would.  'awk' works with that, as well.

What does 'nawk' do that 'awk' doesn't?  I've got both binaries on my
system, but the nawk manpage is just a link to awk(1).

--
David Fleck
[EMAIL PROTECTED]

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


Re: stumped... .

2004-01-18 Thread Malcolm Kay
On Sun, 18 Jan 2004 14:18, Gautam Gopalakrishnan wrote:
 On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:
  I've written scores of scripts to hack text files, but this
  one has me dead in the water.
 
  How can I delete all lines from /^PATTERN to EOF??

 sed -e '/pattern/,$d'

I think:
   sed -e '/^PATTERN/,$d'

Malcolm


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


Re: rpc.lockd segfault

2004-01-18 Thread Antoine Jacoutot
On Saturday 17 January 2004 23:01, Kris Kennaway wrote:
 Unfortunately that doesn't give any information.  You'll need to
 recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS).
 See the developer's handbook on the website for more information about
 debugging program failures with gdb (specifically, how to obtain a
 useful backtrace).

Well, I recompiled rpc.lockd using -ggdb and -g, but when I launch the 
following command:
$ gdb /usr/sbin/rpc.lockd
... I get:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...(no debugging symbols 
found)...

How come no debugging symbols are found ?

Here is how I compiled rpc.lockd
( CFLAGS= -g -ggdb -O -pipe ):
$ rm -Rf /usr/obj/*
$ cd /usr/src/usr.sbin/rpc.lockd
$ make clean  make obj  make depend  make all install

rm -f nlm_prot_svc.c nlm_prot.h test rpc.lockd kern.o nlm_prot_svc.o lockd.o 
lock_proc.o lockd_lock.o rpc.lockd.8.gz rpc.lockd.8.cat.gz
/usr/obj/usr/src/usr.sbin/rpc.lockd created for /usr/src/usr.sbin/rpc.lockd
rpcgen -L -C -m -o nlm_prot_svc.c /usr/include/rpcsvc/nlm_prot.x
rm -f .depend
mkdep -f .depend -a-I. 
-I/usr/include/rpcsvc  /usr/src/usr.sbin/rpc.lockd/kern.c 
nlm_prot_svc.c /usr/src/usr.sbin/rpc.lockd/lockd.c 
/usr/src/usr.sbin/rpc.lockd/lock_proc.c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
echo rpc.lockd: /usr/lib/libc.a /usr/lib/librpcsvc.a /usr/lib/libutil.a 
 .depend
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/kern.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  -c 
nlm_prot_svc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lock_proc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc   -o rpc.lockd 
kern.o nlm_prot_svc.o lockd.o lock_proc.o lockd_lock.o -lrpcsvc -lutil
gzip -cn /usr/src/usr.sbin/rpc.lockd/rpc.lockd.8  rpc.lockd.8.gz
install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin
install -o root -g wheel -m 444 rpc.lockd.8.gz  /usr/share/man/man8
/usr/share/man/man8/lockd.8.gz - /usr/share/man/man8/rpc.lockd.8.gz

Thanks a lot for your help.

Antoine

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


installation problem with AMD CPU and Board

2004-01-18 Thread Vahric MUHTARYAN
Hi Everybody , 

I want to install FreeBSD 4.9 or 4.9 but after installation finished
then system try to boot again after reset but it's delayed on this sentence.


**
Agp0: AMD 762 host to AGP bridge mem
0xf430-0xf4300,0xf800-0xfbff id device 0.0 on pci0 
**


it's interesting, I'm installed 4.9 and 4.8 via Floppy drive then I try to
install FreeBSD 5.1 and 5.2 because I think that maybe unsupported drive
it's delayed on same place ( I can't see the sysinstall menu ) ?!?!?! 
I don't understand why I can pass this section via floppy ?! 


I checked http://www.freebsd.org/releases/4.9R/hardware-i386.html#AEN16 page
but I can't find any informaiton that my board supported or not ?! 


Any idea ?! 

Vahric MUHTARYAN 

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


RE: FreeBSD support

2004-01-18 Thread fbsd_user
This boot error message general means that your floppy drive is
broken.
When was the last time you used it?
Try to verify that it's in working order by booting an MS/Window
system on that PC,
or swap that floppy drive with one from some other PC that you can
test works first.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of 

Sent: Sunday, January 18, 2004 8:28 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD support

Hello Support,
I have a problem my floppy drive does not want to work.
when my FreeBSD 5.1 boots I have a message
fdc0: cmd 3 faild at out byte 1 of 3
and
cannot reserve I/O port range (6 port)

After logining I cannot use my floppy drive- there is no device
file.
What should I do?



--
Best regards,
 Alexey  mailto:[EMAIL PROTECTED]

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

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


Re: rpc.lockd segfault

2004-01-18 Thread Gilad Rom
Antoine Jacoutot wrote:
On Saturday 17 January 2004 23:01, Kris Kennaway wrote:

Unfortunately that doesn't give any information.  You'll need to
recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS).
See the developer's handbook on the website for more information about
debugging program failures with gdb (specifically, how to obtain a
useful backtrace).


Well, I recompiled rpc.lockd using -ggdb and -g, but when I launch the 
following command:
$ gdb /usr/sbin/rpc.lockd
... I get:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-unknown-freebsd...(no debugging symbols 
found)...

How come no debugging symbols are found ?

Here is how I compiled rpc.lockd
( CFLAGS= -g -ggdb -O -pipe ):
$ rm -Rf /usr/obj/*
$ cd /usr/src/usr.sbin/rpc.lockd
$ make clean  make obj  make depend  make all install
rm -f nlm_prot_svc.c nlm_prot.h test rpc.lockd kern.o nlm_prot_svc.o lockd.o 
lock_proc.o lockd_lock.o rpc.lockd.8.gz rpc.lockd.8.cat.gz
/usr/obj/usr/src/usr.sbin/rpc.lockd created for /usr/src/usr.sbin/rpc.lockd
rpcgen -L -C -m -o nlm_prot_svc.c /usr/include/rpcsvc/nlm_prot.x
rm -f .depend
mkdep -f .depend -a-I. 
-I/usr/include/rpcsvc  /usr/src/usr.sbin/rpc.lockd/kern.c 
nlm_prot_svc.c /usr/src/usr.sbin/rpc.lockd/lockd.c /usr/src/usr.sbin/rpc.lockd/lock_proc.c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
echo rpc.lockd: /usr/lib/libc.a /usr/lib/librpcsvc.a /usr/lib/libutil.a 

.depend
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/kern.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  -c 
nlm_prot_svc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lock_proc.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc  
-c /usr/src/usr.sbin/rpc.lockd/lockd_lock.c
cc -g -ggdb -O -pipe -march=pentium3 -I. -I/usr/include/rpcsvc   -o rpc.lockd 
kern.o nlm_prot_svc.o lockd.o lock_proc.o lockd_lock.o -lrpcsvc -lutil
gzip -cn /usr/src/usr.sbin/rpc.lockd/rpc.lockd.8  rpc.lockd.8.gz
install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin
install -s uses strip(1), so all your debugging symbols are erased.
the original binary left in-place  should have debugging symbols.
Gilad.

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


Re: rpc.lockd segfault

2004-01-18 Thread Kris Kennaway
On Sun, Jan 18, 2004 at 02:58:44PM +0100, Antoine Jacoutot wrote:

  Unfortunately that doesn't give any information.  You'll need to
  recompile rpc.lockd with GDB debugging symbols (add -ggdb to CFLAGS).
  See the developer's handbook on the website for more information about
  debugging program failures with gdb (specifically, how to obtain a
  useful backtrace).

 $ gdb /usr/sbin/rpc.lockd

 How come no debugging symbols are found ?

 install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin

  ^^

This strips the debugging symbols.  Run gdb against the version of the
binary in the obj/ directory.

e.g

cd /usr/src/usr.sbin/rpc.lockd
make objdir
cd obj
gdb ./rpc.lockd

Kris


pgp0.pgp
Description: PGP signature


XFree86 on 5.2 crashes on logout

2004-01-18 Thread Dominik Epple
Hi,

The following problem I have on an old PC (P2 400, Intel BX chipset
mainboard, nv tnt2 graphics card, nv driver in XFree86, usb mouse):

I can start X and work happily, environment is GNOME.  While using X,
I can switch to the text consoles and back without problem.

Then I finish the X session by chosing logout in the GNOME menu, the X
server exits and then the system is completely locked up. The system
switches to the console, which displays the ususal logging messages of X
but is dead, i.e. does not react on keyboard input, and login via the
net is impossible. A hard reset is required.

This happens in the following test cases: I did exchange the graphics
card and used an ati rage xl for testing, I used moused with sysmouse
protocol as well as direct access to the /dev/ums0 device with protocol
Auto for the mouse, it happens with startx as well as with using xdm,
and finally I tried disabling the dri and dbe (no clue what the
latter does anyway) modules in the XF86Config, everything to no avail,
the problem stays exactly the same.

The log files (XFree86 logfile, messages logfile) do not contain
anything unusual.

The XF86Config you find attached below.

It just seems that I am doing something in the very basics seriously
wrong, since the problem is uneffected by all of the above changes.

Any idea? Or is it just some dying hardware somewhere in the system,
i.e. RAM or the mainboard chipset or whatever?

The system is FreeBSD 5.2-RELEASE with XFree 4.3.0. This problem
appeared after the reinstall of the machine to 5.2. The machine was
running on 5.1 before with no problems.

Thanks, Dominik.


# /etc/X11/XF86Config
Section ServerLayout
Identifier Layout0
Screen  0  Screen0 0 0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
EndSection

Section Files
EndSection

Section Module

# Load freetype
# Load xtt
Load  extmod
#Load  glx
#Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  speedo
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol SysMouse
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
Option  XkbModel pc104
Option  XkbLayout us
EndSection

Section Monitor
Identifier   Monitor0
HorizSync27.0 - 92.0
VertRefresh  50.0 - 160.0
EndSection

Section Device
Identifier  Card0
Driver  nv
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Depth 24
Modes1024x768
EndSubSection
EndSection

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


gnome startup : \can\'t find /dev/sound/mixer\

2004-01-18 Thread freebsd
Hello everybody,


I have FreeBSD 4.8 installed on an AMD thunderbird 800 and i am using gnome.
everytime i start gnome, i get the error message \cant open /dev/sound/mixer\.
There is a Sound Blaster 128 Pro PCI installed in the box, but neither does /dev/sound
exist, nor can i spot anything that looks as if it could be a sound card in the output 
of dmesg.

a threat at linuxquestions.org [1] exists that seems to describe the same problem and 
someone claims the solution was to rebuild the kernel with soundcart support, but 
noone did further comment on that proposal.

is there no sound card support in freebsd 4.8 by default? do i have to rebuild the 
kernel?
or is there another solution to my problem? 

thanks for your annswers,

tim
[EMAIL PROTECTED]

[1] http://www.linuxquestions.org/questions/archive/17/2003/06/2/63923___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NIC ne2000

2004-01-18 Thread Lev Klimin
Hello!

I have 4.9-release. I have old noname NIC. On the top of main chip I
see NE2000 Compatible. I see in LINT for that:
--- from LINT---
#
# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
#
# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
device ed0 at isa? port 0x280 irq 5 iomem 0xd8000


I have began to build my kernel with follow option for this NIC:
device ed0 at isa? port 0x280 irq 5 iomem 0xd8000
but I've see:
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include 
opt_global.h  -mpreferred-stack-boundary=2  vers.c
linking kernel
if_ed.o: In function `ed_tick':
if_ed.o(.text+0x2706): undefined reference to `mii_tick'
if_ed.o: In function `ed_init':
if_ed.o(.text+0x2afb): undefined reference to `mii_mediachg'
if_ed.o: In function `ed_ifmedia_upd':
if_ed.o(.text+0x4dca): undefined reference to `mii_mediachg'
if_ed.o: In function `ed_ifmedia_sts':
if_ed.o(.text+0x4e03): undefined reference to `mii_pollstat'
*** Error code 1

Stop in /usr/obj/usr/src/sys/PULS.
*** Error code 1

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

Stop in /usr/src.

Then I've add miibus support:
device  miibus
and kernel have been compiled.

Why there is no anything about miibus in LINT when use ISA NIC (only
PCI adapters) such as NE2000. May be add that useful commetnts in LINT in
order to other people don't have this trouble.

May be I'm mistake?

Thank you.

-- 
Lev Klimin   mailto:[EMAIL PROTECTED]
(8362) 42-15-49

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


Re: Cutting the power without unmounting the filesystem

2004-01-18 Thread Ion-Mihai Tetcu
On Sun, 18 Jan 2004 11:40:53 +0100
Rickard Dahlstrand [EMAIL PROTECTED] wrote:

 Hi,
 
 I have a computer that will have it's power removed quite often. In
 other word It will not unmount the file system. What kind of
 implications does this have in the long term?
 
 I have discovered that the start-up takes much longer because of
 having to clean the file system. Is there a way to prevent this and
 what harm can cutting the power have on the system?
 
 I know of some installations that use read-only mounting. Is it
 possible to mount / RO and /etc and /var RW? Will that speed up the
 boot process?

Yes, edit fstab and change rw in ro for the fs you want to be mounted
read-only. It should speed up the boot and give you greater chances in
case of desaster.

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


Problem with foppy drive

2004-01-18 Thread
Hello ,   Support
I used my floppy just now in Ms Windows XP and it works.
Also i used it in ASPlinux 7.2 and Linux Mandrake 9.1 (russian)
and it worked very good.
So what should i do. if it is possible please write as detailly as
possible because i know FreeBSD badly (i use it for about 3 weeks)




This boot error message general means that your floppy drive is
broken.
When was the last time you used it?
Try to verify that it's in working order by booting an MS/Window
system on that PC,
or swap that floppy drive with one from some other PC that you can
test works first.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of 

Sent: Sunday, January 18, 2004 8:28 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD support

Hello Support,
I have a problem my floppy drive does not want to work.
when my FreeBSD 5.1 boots I have a message
fdc0: cmd 3 faild at out byte 1 of 3
and
cannot reserve I/O port range (6 port)

After logining I cannot use my floppy drive- there is no device
file.
What should I do?



--
Best regards,
 Alexey  mailto:[EMAIL PROTECTED]

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

__


-- 
Best regards,
   mailto:[EMAIL PROTECTED]

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


Re: gnome startup : \can\'t find /dev/sound/mixer\

2004-01-18 Thread Gilad Rom
[EMAIL PROTECTED] wrote:
Hello everybody,

I have FreeBSD 4.8 installed on an AMD thunderbird 800 and i am using gnome.
everytime i start gnome, i get the error message \cant open /dev/sound/mixer\.
There is a Sound Blaster 128 Pro PCI installed in the box, but neither does /dev/sound
exist, nor can i spot anything that looks as if it could be a sound card in the output 
of dmesg.
a threat at linuxquestions.org [1] exists that seems to describe the same problem and someone claims the solution was to rebuild the kernel with soundcart support, but noone did further comment on that proposal.

is there no sound card support in freebsd 4.8 by default? do i have to rebuild the kernel?
or is there another solution to my problem? 

thanks for your annswers,

tim
[EMAIL PROTECTED]
[1] http://www.linuxquestions.org/questions/archive/17/2003/06/2/63923



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD does not include sound support by default in the GENERIC kernel.
There are, however, loadable kernel modules which you can load
to introduce sound support into the kernel.
try 'kldload snd_pcm', and then 'cat /dev/sndstat'.
/dev/sndstat should contain a description of your sound
card. Also, try 'man pcm'.
Gilad.

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


Re: stumped... .

2004-01-18 Thread Nathan Kinkade
On Sat, Jan 17, 2004 at 09:06:45PM -0800, Gary Kline wrote:
 On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote:
  On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:
   
 I've written scores of scripts to hack text files, but this
 one has me dead in the water.
   
 How can I delete all lines from /^PATTERN to EOF??
   
  
  sed -e '/pattern/,$d'
  
 
   Yep.  Thisis what i used, in fact.  thanks.
 
   gary

Here is another option using sed that takes 2 less keystrokes :)

$ sed -e '/pattern/q'

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: installation problem with AMD CPU and Board

2004-01-18 Thread Jorn Argelo

 Hi Everybody ,

   I want to install FreeBSD 4.9 or 4.9 but after installation finished
 then system try to boot again after reset but it's delayed on this
 sentence.


 **
 Agp0: AMD 762 host to AGP bridge mem
 0xf430-0xf4300,0xf800-0xfbff id device 0.0 on pci0
 **

But is it really a problem? Do you experience stability problems or
anything? If not, then I guess it's not really much of a problem. And what
is the time of the delay? My FreeBSD 5.1-RELEASE hangs a bit during the
detection of my IDE controller, but it's rock-solid. I guess you shouldn't
worry too much about it unless it gives serious problems.

 it's interesting, I'm installed 4.9 and 4.8 via Floppy drive then I try to
 install FreeBSD 5.1 and 5.2 because I think that maybe unsupported drive
 it's delayed on same place ( I can't see the sysinstall menu ) ?!?!?!
 I don't understand why I can pass this section via floppy ?!

Umm...I seriously don't understand anything of this sentence


 I checked http://www.freebsd.org/releases/4.9R/hardware-i386.html#AEN16
 page
 but I can't find any informaiton that my board supported or not ?!


 Any idea ?!

 Vahric MUHTARYAN

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


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


Re: Loading balancing with more than one ISP.

2004-01-18 Thread Dinesh Nair

On Sun, 18 Jan 2004, Chris Knipe wrote:

 I have a service set up, some.host IN A A.A.A.x (i.e. in network A and
 gateway A).  Now, the moment some one from network B connects to the
 service I've setup on network A, the FreeBSD Box will route the reply
 packets out on network B (because of the client's address) and hence, it
 follows a invalid networ path and the connection fails.  The same will
 also happen when someone from Network A tries to connect to a IP on
 Network B ex:

don't understand this, it should work. what you're describing seems to be
a dual homed freebsd set up as a simple gateway between two networks.

 If I can manage to solve this, then I'll be a *VERY* happy chappy.  But

try applying the multipath patches to freebsd. that should give you the
ability to route a same network to two different gateways.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Success with Symantec Ghost 7

2004-01-18 Thread Dinesh Nair

On Sun, 18 Jan 2004, Gilad Rom wrote:

 I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks (2x20GB, EIDE,
 UDMA100), and it takes roughly 28 minutes.

i've used dd to ghost two 36GB scsi hard disks on two separate controllers
in about 18 minutes. i used 1024k as my block size. using 10240K as block
size slowed it down somewhat, coming in at about 30 minutes.

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: Text parsing?

2004-01-18 Thread Scott W
Eric F Crist wrote:

Hello group,

For what purposes will I find I need to use all these tools you write about?  
I'm talking about awk, ed, ex, etc.  I haven't found the need to do so, yet, 
but I'd like to possibly learn this stuff before I really do need it.

 

Depends on what your system is used for- I've used the previously 
mentioned tools almost daily when working as a sysadmin- for monitoring 
disk qusage, process CPU usage, parsing output (log and standalone 
application one-time logs), install logsyou name it.

Scott

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


PPTP with mpd

2004-01-18 Thread Morten Winther
Hello

I've been trying to get PPTP with mpd to work - but no luck so far.

I've a W2K client at home on my ADSL and would like to connect  a 
central server hosted in a datacenter to pass on trafic further to the 
internet.

I connect just fine using the PPTP client in W2K, but there is no 
routing of trafic. I can't even ping the PPTP server from client when 
VPN is on.

The server has IP 217.116.240.252  and I would like that mpd gives 
217.116.240.153 and 217.116.240.153 to the clients. (all public IPs)

Do I need to divert or do anything special in ipwf or compile the kernel 
with new options?

I hope someone is able to give me some good hints.

Best regards
Morten
Further info:

W2K client:
Ethernet netværkskort LAN-forbindelse:
   Forbindelsesspecifikt DNS-suffiks :
   IP-adresse. . . . . . . . . . . . : 192.168.0.23
   Undernetmaske . . . . . . . . . . : 255.255.255.0
   Standardgateway . . . . . . . . . : 192.168.0.1
PPP netværkskort VPN Gaia:

   Forbindelsesspecifikt DNS-suffiks :
   IP-adresse. . . . . . . . . . . . : 217.157.161.246
   Undernetmaske . . . . . . . . . . : 255.255.255.255
   Standardgateway . . . . . . . . . : 217.157.161.246
From log:
Jan 18 16:52:59 gaia /kernel: arplookup 217.116.240.158 failed: host is 
not on local network
Jan 18 16:52:59 gaia /kernel: arpresolve: can't allocate llinfo for 
217.116.240.158rt

IPFW:
[EMAIL PROTECTED] [/usr/local/etc/mpd] # ipfw list
1 allow ip from any to any
00100 allow ip from any to any
00101 allow tcp from any to any
00102 allow gre from any to any
09000 allow icmp from any to any icmptype 0,3,4,8,11,12
1 allow ip from any to any frag
65535 deny ip from any to any
[EMAIL PROTECTED] [/usr/local/etc/mpd] # cat mpd.conf
default:
load pptp0
load pptp1
pptp0:
   new -i ng0 pptp0 pptp0
   set iface disable on-demand
   #set iface route 217.116.240.158
   set iface enable proxy-arp
   set iface idle 1800
   set bundle disable multilink
   set link yes acfcomp protocomp
   set link no pap chap
   set link enable chap
   set link keep-alive 600 1800
   set ipcp yes vjcomp
   set ipcp ranges 217.116.240.252/32 217.116.240.153/28
   set ipcp dns 212.242.40.3
   #set ipcp nbns 192.168.71.120
   log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp
   set bundle enable compression
   set ccp yes mppc
   #set ccp yes mpp-e40
   set ccp no mpp-e40
   set ccp yes mpp-e128
   set ccp yes mpp-stateless
   set bundle yes crypt-reqd
pptp1:
   new -i ng1 pptp1 pptp1
   set iface disable on-demand
   #set iface route 217.116.240.158
   set iface enable proxy-arp
   set iface idle 1800
   set bundle disable multilink
   set link yes acfcomp protocomp
   set link no pap chap
   set link enable chap
   set link keep-alive 600 1800
   set ipcp yes vjcomp
   set ipcp ranges 217.116.240.152/32 217.116.240.154/28
   set ipcp dns 212.242.40.3
   #set ipcp nbns 192.168.71.120
   log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp
   set bundle enable compression
   set ccp yes mppc
   #set ccp yes mpp-e40
   set ccp no mpp-e40
   set ccp yes mpp-e128
   set ccp yes mpp-stateless
   set bundle yes crypt-reqd
[EMAIL PROTECTED] [/usr/local/etc/mpd] # cat mpd.links
pptp0:
   set link type pptp
   set pptp self 217.116.240.152
   set pptp enable incoming
   set pptp disable originate
pptp1:
   set link type pptp
   set pptp self 217.116.240.152
   set pptp enable incoming
   set pptp disable originate


Setup:

W2K pptp client
|
Cisco 667 Router with NAT
|
ADSL connection
|
My ISP
|
Internet
|
My dedicated server with mpd (PPTP server)
Jan 18 16:55:25 gaia mpd: mpd: pid 2236, version 3.16 ([EMAIL PROTECTED] 
16:56 17-Jan-2004)
Jan 18 16:55:25 gaia mpd: [pptp0] ppp node is mpd2236-pptp0
Jan 18 16:55:25 gaia mpd: mpd: local IP address for PPTP is 217.116.240.152
Jan 18 16:55:25 gaia mpd: [pptp0] using interface ng0
Jan 18 16:55:25 gaia mpd: [pptp1] ppp node is mpd2236-pptp1
Jan 18 16:55:25 gaia mpd: [pptp1] using interface ng1
Jan 18 16:55:37 gaia mpd: mpd: PPTP connection from 217.157.161.246:17023
Jan 18 16:55:37 gaia mpd: pptp0: attached to connection with 
217.157.161.246:17023
Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data:
Jan 18 16:55:37 gaia mpd:  00 9c 00 01 1a 2b 3c 4d 00 01 00 
00  .+M
Jan 18 16:55:37 gaia mpd: pptp0: got hdr
Jan 18 16:55:37 gaia mpd:   len=0x9c msgType=1 magic=0x1a2b3c4d type=1
Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data:
Jan 18 16:55:37 gaia mpd:  01 00 00 00 00 00 00 01 00 00 00 01 00 00 08 
93  
Jan 18 16:55:37 gaia mpd:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00  
Jan 18 16:55:37 gaia last message repeated 3 times
Jan 18 16:55:37 gaia mpd:  4d 69 63 72 6f 73 6f 66 74 20 57 69 6e 64 6f 
77  

Re: Using Vi through a Serial Console

2004-01-18 Thread Scott W
Mario Antonio wrote:

Dear List,

When I make a serial connection to a FreeBSD server that has its serial port
configured as a console, how can I make the vi editor work?
Mario

---
[This e-mail was scanned for viruses by Webjogger's AntiVirus Protection System]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

export the TERM environment variable from the shell to the correct 
value, try:
TERM=vt100
export TERM

as a first shot...

Scott

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


Re: PPTP with mpd

2004-01-18 Thread Martin Schweizer
Hello Morten

I use PopTop a year a go without problrm (http://www.poptop.org).

Regards,
Martin

Am Sun, Jan 18, 2004 at 05:36:49PM +0100 Morten Winther schrieb:
 Hello
 
 I've been trying to get PPTP with mpd to work - but no luck so far.
 
 I've a W2K client at home on my ADSL and would like to connect  a 
 central server hosted in a datacenter to pass on trafic further to the 
 internet.
 
 I connect just fine using the PPTP client in W2K, but there is no 
 routing of trafic. I can't even ping the PPTP server from client when 
 VPN is on.
 
 The server has IP 217.116.240.252  and I would like that mpd gives 
 217.116.240.153 and 217.116.240.153 to the clients. (all public IPs)
 
 Do I need to divert or do anything special in ipwf or compile the kernel 
 with new options?
 
 I hope someone is able to give me some good hints.
 
 Best regards
 Morten
 
 Further info:
 
 
 W2K client:
 Ethernet netværkskort LAN-forbindelse:
 
Forbindelsesspecifikt DNS-suffiks :
IP-adresse. . . . . . . . . . . . : 192.168.0.23
Undernetmaske . . . . . . . . . . : 255.255.255.0
Standardgateway . . . . . . . . . : 192.168.0.1
 
 PPP netværkskort VPN Gaia:
 
Forbindelsesspecifikt DNS-suffiks :
IP-adresse. . . . . . . . . . . . : 217.157.161.246
Undernetmaske . . . . . . . . . . : 255.255.255.255
Standardgateway . . . . . . . . . : 217.157.161.246
 
 From log:
 Jan 18 16:52:59 gaia /kernel: arplookup 217.116.240.158 failed: host is 
 not on local network
 Jan 18 16:52:59 gaia /kernel: arpresolve: can't allocate llinfo for 
 217.116.240.158rt
 
 IPFW:
 [EMAIL PROTECTED] [/usr/local/etc/mpd] # ipfw list
 1 allow ip from any to any
 00100 allow ip from any to any
 00101 allow tcp from any to any
 00102 allow gre from any to any
 09000 allow icmp from any to any icmptype 0,3,4,8,11,12
 1 allow ip from any to any frag
 65535 deny ip from any to any
 
 [EMAIL PROTECTED] [/usr/local/etc/mpd] # cat mpd.conf
 default:
 load pptp0
 load pptp1
 
 pptp0:
new -i ng0 pptp0 pptp0
set iface disable on-demand
#set iface route 217.116.240.158
set iface enable proxy-arp
set iface idle 1800
set bundle disable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 600 1800
set ipcp yes vjcomp
set ipcp ranges 217.116.240.252/32 217.116.240.153/28
set ipcp dns 212.242.40.3
#set ipcp nbns 192.168.71.120
log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp
set bundle enable compression
set ccp yes mppc
#set ccp yes mpp-e40
set ccp no mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
 
 pptp1:
new -i ng1 pptp1 pptp1
set iface disable on-demand
#set iface route 217.116.240.158
set iface enable proxy-arp
set iface idle 1800
set bundle disable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 600 1800
set ipcp yes vjcomp
set ipcp ranges 217.116.240.152/32 217.116.240.154/28
set ipcp dns 212.242.40.3
#set ipcp nbns 192.168.71.120
log +pptp3 +bund +link +chat +lcp +auth +fsm +phys +ipcp
set bundle enable compression
set ccp yes mppc
#set ccp yes mpp-e40
set ccp no mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
 
 [EMAIL PROTECTED] [/usr/local/etc/mpd] # cat mpd.links
 pptp0:
set link type pptp
set pptp self 217.116.240.152
set pptp enable incoming
set pptp disable originate
 pptp1:
set link type pptp
set pptp self 217.116.240.152
set pptp enable incoming
set pptp disable originate
 
 
 
 Setup:
 
 W2K pptp client
 |
 Cisco 667 Router with NAT
 |
 ADSL connection
 |
 My ISP
 |
 Internet
 |
 My dedicated server with mpd (PPTP server)
 
 Jan 18 16:55:25 gaia mpd: mpd: pid 2236, version 3.16 ([EMAIL PROTECTED] 
 16:56 17-Jan-2004)
 Jan 18 16:55:25 gaia mpd: [pptp0] ppp node is mpd2236-pptp0
 Jan 18 16:55:25 gaia mpd: mpd: local IP address for PPTP is 217.116.240.152
 Jan 18 16:55:25 gaia mpd: [pptp0] using interface ng0
 Jan 18 16:55:25 gaia mpd: [pptp1] ppp node is mpd2236-pptp1
 Jan 18 16:55:25 gaia mpd: [pptp1] using interface ng1
 Jan 18 16:55:37 gaia mpd: mpd: PPTP connection from 217.157.161.246:17023
 Jan 18 16:55:37 gaia mpd: pptp0: attached to connection with 
 217.157.161.246:17023
 Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data:
 Jan 18 16:55:37 gaia mpd:  00 9c 00 01 1a 2b 3c 4d 00 01 00 
 00  .+M
 Jan 18 16:55:37 gaia mpd: pptp0: got hdr
 Jan 18 16:55:37 gaia mpd:   len=0x9c msgType=1 magic=0x1a2b3c4d type=1
 Jan 18 16:55:37 gaia mpd: pptp0: read ctrl data:
 

Problems with startx on 5.2-RELEASE

2004-01-18 Thread Jaroslaw Nozderko

 Have you tried removing

 options SMP  # Symmetric MultiProcessor Kernel
 device  apic # I/O APIC

 from your kernel config and recompiled?


The same problems with X on 5.2-RELEASE as in RC2 (X 
freezes on startup or shutdown). 

hint.acpi.0.disabled=1 helps, but causes strange warnings
in dmesg (and shutdown doesn't switch power off...).
Then I've commented out SMP and apic from kernel, as
Martin suggested above and problem disappeared, acpi works 
correctly.

Regards,
Jarek


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


Re: Configuring E-mail Services on a Standalone Wkst

2004-01-18 Thread Micheal Patterson

- Original Message - 
From: Bob Perry [EMAIL PROTECTED]
To: FreeBSD-Questions [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 1:47 AM
Subject: Configuring E-mail Services on a Standalone Wkst


 Hello,

 I have two PCs, an NT 4.0 box and a FreeBSD 4.8 system.   I'm connected
 to the internet via dial-up (56k modem) and using the mail system found
 in Mozilla.  I understood that mail services was a natural with FreeBSD
 so I thought I would take the opportunity to learn what I could about
 setting up a mail server.  I've become familiar with SMTP, MUAs, MTAs,
 qpopper, and fetchmail but it seems like some of the more necessary
 components are a static IP address, 24/7 connection, and accurate DNS
 information set up on my system.  If this an accurate assessment, I may
 have to be satisfied setting up my e-mail services for a standalone
 workstation because I can't afford a static IP address or 24/7 connection.

 If a full-fledged e-mail server isn't feasible, can I still use software
 like sendmail, mutt, qpopper, and fetchmail for a standalone
 workstation?  Do they offer any real advantages over the mail systems
 that come with Mozilla, Netscape, etc.?   Any, and all comments are
welcome.

 Thank you.
 Bob Perry

 -- 
 FreeBSD 4.8-RELEASE-p13 0#

What I've done in the past with dialup is this:

Configure sendmail to use a smart host. This would point to your ISP's mail
server.
Configure fetchmail to run every 10 minutes to check for incoming mail.
Configure qpopper, imapd services so you can recieve your mail from the bsd
box.

On your client computer (Windows), configure it to send and recieve mail
from your unix box.

In this config, fetchmail will retrieve mail from your isp, pipe it through
your local sendmail. This allows you to place your own filters on incoming
mail and scan it for viri using the software of your choice. Then when you
send mail out, it hits the sendmail server and is forwarded on to your ISP.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: gnome startup : \can\'t find /dev/sound/mixer\

2004-01-18 Thread Jorn Argelo
 Hello everybody,


 I have FreeBSD 4.8 installed on an AMD thunderbird 800 and i am using
 gnome.
 everytime i start gnome, i get the error message \cant open
 /dev/sound/mixer\.
 There is a Sound Blaster 128 Pro PCI installed in the box, but neither
 does /dev/sound
 exist, nor can i spot anything that looks as if it could be a sound card
 in the output of dmesg.

 a threat at linuxquestions.org [1] exists that seems to describe the same
 problem and someone claims the solution was to rebuild the kernel with
 soundcart support, but noone did further comment on that proposal.
 is there no sound card support in freebsd 4.8 by default? do i have to
 rebuild the kernel?
 or is there another solution to my problem?

Yes, you have to recompile the kernel in order to get sound support. If
you don't know how to do it, consult the handbook. You do this by adding
the following parameters in the following in your kernel configuration:

device  pcm
device  sbc



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


[5.2] /usr/ports/java/jdk13

2004-01-18 Thread Jacques Beigbeder
Hello,

I understood that mozilla only runs with JDK 1.3.
On a 5.2 box, I tried:
cd /usr/ports/java/jdk13
make
It fails because:
host # /usr/local/diablo-jdk1.3.1/bin/java -version
Bus error (core dumped)
so /usr/ports/java/jdk13/work/j2sdk1.3.1/make/tools/sanityck fails.

Is there a fix for diablo-jdk1.3.1?
Is there any valid Java 2 SDK to bootstrap JDK 1.3.1 build?

My ports are the last one:
-rw-rw-r--   1 110  root 23423998 Jan 17 09:12 ports.tar.gz

--
Jacques Beigbeder|  [EMAIL PROTECTED]
Service de Prestations Informatiques | http://www.spi.ens.fr
Ecole normale supérieure |
45 rue d'Ulm |Tel : (+33 1)1 44 32 37 96
F75230 Paris cedex 05|Fax : (+33 1)1 44 32 20 75

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


Getting snmp running on a STABLE machine?

2004-01-18 Thread stan
I'm trying to get snmp running on a STABLE machine. I've built and
installed teh net-snmpd port, but I can't seem to find where teh example
config file was put.

Any sugestions?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [5.2] /usr/ports/java/jdk13

2004-01-18 Thread Matthew Seaman
On Sun, Jan 18, 2004 at 06:26:08PM +0100, Jacques Beigbeder wrote:

 I understood that mozilla only runs with JDK 1.3.

Runs fine with JDK 1.4.2 for me, anthough you do have to create the
symlinks in /usr/X11R6/lib/browser_plugins yourself:

% ls -la /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so  
lrwxr-xr-x  1 root  wheel  62 Jan 18 13:02 
/usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so@ - 
/usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so

Cheers,

Matthew

PS. Diablo JDK 1.3.1 needs a little persuasion (in the form of the 4.x
compat libs) in order to run on 5.x: easiest thing to do is install
via the java/diablo-jdk13 port.

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


pgp0.pgp
Description: PGP signature


Re: Getting snmp running on a STABLE machine?

2004-01-18 Thread Matthew Seaman
On Sun, Jan 18, 2004 at 12:31:08PM -0500, stan wrote:
 I'm trying to get snmp running on a STABLE machine. I've built and
 installed teh net-snmpd port, but I can't seem to find where teh example
 config file was put.
 
 Any sugestions?

/usr/local/share/snmp -- if you use the snmpconf(1) program with the
'-i' flag it will walk you through generating the config files and
then install them into the correct place for global access:

# snmpconf -i -g basic_setup

See also snmp.conf(5), snmpd.conf(5)

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


/libexec/ld-elf.so.1: fsckk: Undefined symbol: execvP

2004-01-18 Thread ar
Hello,

After having installed 5.2 I am getting the following error message at system boot:
/libexec/ld-elf.so.1: fsck: Undefined symbol: execvP

What this might be? Something like missing library ... ? Appreciate if anyone may 
share ideas ...I sure will try to reinstall the system to see if I have missed 
anything during the install and may be fix problem in a such simple way.

Thanks to all

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


vmstat output

2004-01-18 Thread James Earl

When the output from 'vmstat -i' has plus signs after a device, does it have the
same/similar meaning as the plus signs in 'systat 1 -vmstat'?

For example:

irq11: cbb0 an0   130561 59

James


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


Should /nonexistent home dir actually exist?

2004-01-18 Thread George Hartzell

I just noticed 

  a) that several accounts (from ports stuff, it seems) on a -stable
 system use /nonexistent as their home directory

   (ghost)[9:50am]loggrep nonexist /etc/passwd 
   pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin
   www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin
   nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin
   gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
   dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin
   dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin
   stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin
   cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin
   ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin

and

  b) that it seems to exist

   (ghost)[9:50am]logls -la /nonexistent/
   total 20
   drwxr-xr-x   2 ftp ftp 512 Jun  1  2003 .
   drwxr-xr-x  20 rootwheel   512 Jan 15 12:07 ..
   -rw-r--r--   1 dnslog  dnslog  771 Jun  1  2003 .cshrc
   -rw-r--r--   1 dnslog  dnslog  255 Jun  1  2003 .login
   -rw-r--r--   1 dnslog  dnslog  165 Jun  1  2003 .login_conf
   -rw---   1 dnslog  dnslog  371 Jun  1  2003 .mail_aliases
   -rw-r--r--   1 dnslog  dnslog  331 Jun  1  2003 .mailrc
   -rw-r--r--   1 dnslog  dnslog  801 Jun  1  2003 .profile
   -rw---   1 dnslog  dnslog  276 Jun  1  2003 .rhosts
   -rw-r--r--   1 dnslog  dnslog  852 Jun  1  2003 .shrc

The name suggests that it shouldn't actually exist, presumably as a
security measure.

Should I leave it as is, blow away the /nonexistent homedir, is it a
ports problem, or ???

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


Re: Should /nonexistent home dir actually exist?

2004-01-18 Thread Peter Ulrich Kruppa
On Sun, 18 Jan 2004, George Hartzell wrote:


 I just noticed

   a) that several accounts (from ports stuff, it seems) on a -stable
  system use /nonexistent as their home directory

(ghost)[9:50am]loggrep nonexist /etc/passwd
pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin
dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin
stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin
cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin
ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin

 and

   b) that it seems to exist

(ghost)[9:50am]logls -la /nonexistent/
total 20
drwxr-xr-x   2 ftp ftp 512 Jun  1  2003 .
drwxr-xr-x  20 rootwheel   512 Jan 15 12:07 ..
-rw-r--r--   1 dnslog  dnslog  771 Jun  1  2003 .cshrc
-rw-r--r--   1 dnslog  dnslog  255 Jun  1  2003 .login
-rw-r--r--   1 dnslog  dnslog  165 Jun  1  2003 .login_conf
-rw---   1 dnslog  dnslog  371 Jun  1  2003 .mail_aliases
-rw-r--r--   1 dnslog  dnslog  331 Jun  1  2003 .mailrc
-rw-r--r--   1 dnslog  dnslog  801 Jun  1  2003 .profile
-rw---   1 dnslog  dnslog  276 Jun  1  2003 .rhosts
-rw-r--r--   1 dnslog  dnslog  852 Jun  1  2003 .shrc

 The name suggests that it shouldn't actually exist, presumably as a
 security measure.

 Should I leave it as is, blow away the /nonexistent homedir, is it a
 ports problem, or ???
Yes, it shouldn't really exist. It is only a dummy for security
reasons.

Regards,

Uli.

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


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


Re: Cutting the power without unmounting the filesystem

2004-01-18 Thread horio shoichi
On Sun, 18 Jan 2004 11:40:53 +0100
Rickard Dahlstrand [EMAIL PROTECTED] wrote:
 Hi,
 
 I have a computer that will have it's power removed quite often. In other word It 
 will not unmount the file system. What kind of implications does this have in the 
 long term?
 
 I have discovered that the start-up takes much longer because of having to clean the 
 file system. Is there a way to prevent this and what harm can cutting the power have 
 on the system?
 
 I know of some installations that use read-only mounting. Is it possible to mount / 
 RO and /etc and /var RW? Will that speed up the boot process?
 
 Best Regards, Rickard.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
If you have / readonly, you cannot make /etc RW since they cannot be separate
partitions. (As an exercise, consider a problem how to mount /etc when
/etc/fstab isn't mounted.)

However, having /var partition separate is quite common and I think is
a recommended practice. And, of course, it must be a read/write partition.

Now, a dumb question... Are you terminating your machine with halt or shutdown
command ? Does your machine cleanly stop ?


horio shoichi

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


ftp authentication problem

2004-01-18 Thread asker survey
Hello everybody;
I upgraded my 4.4 FreeBSD to 4.9. I backed up the
/usr/home directory and /etc/*. After installing
FreeBSD 4.9 I copied passwd , master.passwd and the
home directories. Now the users can log in through
telnet or ssh. But when trying to access ftp this
message is displayed after typing the username:
530 User testuser access denied.
Login failed.

Thank you for you patience and attention.
Since I am not in the list please send the reply to me
directly.




__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: stumped... .

2004-01-18 Thread Lee Mx
From: Nathan Kinkade [EMAIL PROTECTED]
Reply-To: Nathan Kinkade [EMAIL PROTECTED]
To: Gary Kline [EMAIL PROTECTED]
CC: FreeBSD Mailing List [EMAIL PROTECTED]
Subject: Re: stumped... .
Date: Sun, 18 Jan 2004 09:54:23 -0600
On Sat, Jan 17, 2004 at 09:06:45PM -0800, Gary Kline wrote:
 On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote:
  On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:
  
I've written scores of scripts to hack text files, but this
one has me dead in the water.
  
How can I delete all lines from /^PATTERN to EOF??
  
 
  sed -e '/pattern/,$d'
 

Yep.  Thisis what i used, in fact.  thanks.

gary
Here is another option using sed that takes 2 less keystrokes :)

$ sed -e '/pattern/q'
This would give line 1 to the pattern, wouldn't it,  Rather than pattern to 
EOF.

Nathan
--
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
 attach3 
_
There are now three new levels of MSN Hotmail Extra Storage!  Learn more. 
http://join.msn.com/?pgmarket=en-uspage=hotmail/es2ST=1

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


Re: 5.2 + ipfw2 + keep-state rules Bug

2004-01-18 Thread Chuck Swiger
fbsd_user wrote:
Using an fresh install of FBSD 5.2 RC2 I am trying to
get stateful rules to function.
For some reason ipfw2 seems to be issuing an ICMP:3.3
packet to my ISP's dns.
[ ... ]
# Internal gateway housekeeping
$cmd 00100 allow all from any to any via lo0  # allow all localhost
$cmd 00105 allow all from any to any via xl0  # allow all local Lan
$cmd 00110 check-state log logamount 500
$cmd 00150 divert natd all from any to any
$cmd 00170 count log logamount 500 all from any to any
$cmd 00310 allow log logamount 500 tcp from any to any 53 out via
rl0 setup keep-state
$cmd 00311 allow log logamount 500 udp from any to any 53 out via
rl0 keep-state
$cmd 00315 allow log logamount 500 tcp from any to any 80 out via
rl0 setup keep-state
$cmd 00350 allow log logamount 500 icmp from any to any out via rl0
keep-state
$cmd 00500 deny  log logamount 500 all from any to any
Something like the following would be better in terms of DNS and not blocking 
essential types of ICMP traffic:

allow tcp from any to any 53 out via rl0 setup keep-state
allow udp from any to any 53
allow icmp from any to any icmptypes 0,3,4,8,11,12
This allows bidirectional UDP-based DNS queries, but only outbound long 
(TCP-based) DNS queries like zone-transfers.  YMMV, and it may not solve your 
problem-- it looked like your queries were coming from an internal host 
(10.0.10.5) using NAT?  Are you sure that natd is okay?  Maybe put the divert 
statement before the check-state rule?

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


Re: IPFW and IP Statistics.

2004-01-18 Thread Jez Hancock
On Sat, Jan 17, 2004 at 12:46:12PM -0500, Grant Peel wrote:
 Hello,
 
 I am currently using ipfm (IP FLow Meter) as a way of measuring bandwidth
 per IP. I am not too happy with it as it has some major limitations.
 
 Is there a way to configure IPFW in FreeBSD so that all it does is monitor
 bandwidth per IP and writes simple stats to seperate files?
 
 I am interested to hear other solutions (short of buying a router!).
This is 'another' solution which logs and displays bandwidth consuption
on a per-user basis using ipfw:

http://ipfwstats.sf.net/

You should however be able to make ipfw log traffic on a per-ip basis
using rules such as:

add 100 count ip from any to 1.2.3.4
add 101 count ip from 1.2.3.4 to any
... etc

and then at the end of each day run a script via cron to pipe the
traffic usage for each ip to a file or database.

I have a feeling there's also a few ports that do per-ip bandwidth logging,
iplog and ipfm are two that I know of, looking in /usr/ports/net there
appear to be others - ipacctd for example.

It might be worth using the portsearch tool to search for more - it's
in /usr/ports/Tools/scripts/portsearch - something like this:

portsearch -p /usr/ports/net -i bandwidth|traffic

or just have a look through the ports in /usr/ports/net :P

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp authentication problem

2004-01-18 Thread Peter Ulrich Kruppa
On Sun, 18 Jan 2004, asker survey wrote:

 Hello everybody;
   I upgraded my 4.4 FreeBSD to 4.9. I backed up the
 /usr/home directory and /etc/*. After installing
 FreeBSD 4.9 I copied passwd , master.passwd and the
 home directories. Now the users can log in through
 telnet or ssh. But when trying to access ftp this
 message is displayed after typing the username:
   530 User testuser access denied.
   Login failed.
Please check, if the ftp line in /etc/inetd.conf is uncommented.
If not, remove the # and reboot.

Regards,

Uli.


 Thank you for you patience and attention.
 Since I am not in the list please send the reply to me
 directly.




 __
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 http://hotjobs.sweepstakes.yahoo.com/signingbonus
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: arp problem in /var/log/messages

2004-01-18 Thread horio shoichi
On Sun, 18 Jan 2004 20:14:29 +0800
Spades [EMAIL PROTECTED] wrote:
 hi all, i got flooded by these msgs like 1000+ lines, any idea?
 my kernel is dated Nov-30 FreeBSD 4.9-stable
 
 # tail -f /var/log/messages
 Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
 to 00:50:0f:4f:c0:00 on rl0
 Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
 to 00:04:5a:49:eb:74 on rl0
 Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
 to 00:50:0f:4f:c0:00 on rl0
 Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
 to 00:04:5a:49:eb:74 on rl0
 Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
 to 00:50:0f:4f:c0:00 on rl0
 
 thanks and regards,
 
 John
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

# sysctl net.link.ether.inet.log_arp_wrong_iface=1

should mask the messages.



horio shoichi

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


Re: ftp authentication problem

2004-01-18 Thread Daan Vreeken [PA4DAN]
On Sunday 18 January 2004 19:39, Peter Ulrich Kruppa wrote:
 On Sun, 18 Jan 2004, asker survey wrote:
  Hello everybody;
  I upgraded my 4.4 FreeBSD to 4.9. I backed up the
  /usr/home directory and /etc/*. After installing
  FreeBSD 4.9 I copied passwd , master.passwd and the
  home directories. Now the users can log in through
  telnet or ssh. But when trying to access ftp this
  message is displayed after typing the username:
  530 User testuser access denied.
  Login failed.
 Please check, if the ftp line in /etc/inetd.conf is uncommented.
 If not, remove the # and reboot.
You wouldn't get 530 access denied if ftp is disabled in inetd.conf . If it 
was you would have gotten connection refused.

Check if the user testuser has a valid shell that is listed in /etc/shells .
There are some more criteria a user has to comply to before it is allowed to 
use ftp, for more details see man ftpd.

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


Re: usernames with uppercase

2004-01-18 Thread Chuck Swiger
Spades wrote:
I tried to add a username ie. Bryan, but FreeBSD doesn't allow me
to do so. It gives me illegal username error. Any idea how to go
about adding usernames like 'Bryan-admin' etc.
You can create such users by directly editting the passwd database via 'vipw' 
rather than by running 'adduser'.  Note that the restriction exists for a good 
reason (arguably), however-- expect mail delivery to break to that username, 
for example...

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


Re: Success with Symantec Ghost 7

2004-01-18 Thread Stephen Hoover
It took Ghost approximatly 1 hour to copy each 9G hard drive (2 hours
total). The Dell has dual PIII 500's in it.

Certainly not the fastest solution, but yet another option.

Stephen Hoover
Dallas, Texas
- Original Message - 
From: Gilad Rom [EMAIL PROTECTED]
To: Stephen Hoover [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 5:31 AM
Subject: Re: Success with Symantec Ghost 7


 Stephen Hoover wrote:
  I know the topic of ghosting a FreeBSD box is discussed on here from
time
  to time.
 
  I just wanted to let everyone know I had a success using Ghost 7 on my
  current setup. I cloned it from a Dell PowerEdge 2450 to a generic
desktop
  with same drive configuration (2 SCSI drives in each). I used Ghost to
do a
  sector copy on each individual harddrive.
 
  All I had to do to get it rolling was boot to the GENERIC kernel, as the
one
  I configured for the Dell server was SMP. Everything seemed to come up
and
  work fine. It even saw additional drive space on the new machine, as the
  harddrives were slightly bigger.
 
  Just thought this was some good information for the list.
 
  Stephen Hoover
  Dallas, Texas
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 
 
 Just out of curiousity - How long does it take for ghost to
 replicate the disk?

 I'm using dd if=/dev/ad0 of=/dev/ad2 bs=16k for my disks
 (2x20GB, EIDE, UDMA100), and it takes roughly 28 minutes.

 Gilad.





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


Re: stumped... .

2004-01-18 Thread Nathan Kinkade
On Sun, Jan 18, 2004 at 10:22:46AM -0800, Lee Mx wrote:
snip
 Here is another option using sed that takes 2 less keystrokes :)
 
 $ sed -e '/pattern/q'
 
 This would give line 1 to the pattern, wouldn't it,  Rather than pattern to 
 EOF.

Yes, it would give line 1 to the pattern, inclusive.  One of his
original questions was:

How can I delete all lines from /^PATTERN to EOF??

Unless I'm reading it wrong, he wants to *keep* everything from the
beginning of the file to /^PATTERN/ and NOT keep everything else all the
way to EOF.  The diff. between what I suggested and the what other
suggested is that using 'q' would be inclusive, while the others are
exclusive of the line matched by /^PATTERN/.  However, it wasn't clear
which he wanted.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: ftp authentication problem

2004-01-18 Thread Nathan Kinkade
On Sun, Jan 18, 2004 at 07:39:00PM +0100, Peter Ulrich Kruppa wrote:
 On Sun, 18 Jan 2004, asker survey wrote:
 
  Hello everybody;
  I upgraded my 4.4 FreeBSD to 4.9. I backed up the
  /usr/home directory and /etc/*. After installing
  FreeBSD 4.9 I copied passwd , master.passwd and the
  home directories. Now the users can log in through
  telnet or ssh. But when trying to access ftp this
  message is displayed after typing the username:
  530 User testuser access denied.
  Login failed.
 Please check, if the ftp line in /etc/inetd.conf is uncommented.
 If not, remove the # and reboot.
 
 Regards,
 
 Uli.

Better yet, instead of rebooting, just HUP inetd with

# killall -HUP inetd

... saves a reboot.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: arp problem in /var/log/messages

2004-01-18 Thread Lyle Evans
At 07:14 AM 01/18/04, you wrote:
hi all, i got flooded by these msgs like 1000+ lines, any idea?
my kernel is dated Nov-30 FreeBSD 4.9-stable
# tail -f /var/log/messages
Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0
Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
to 00:04:5a:49:eb:74 on rl0
Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0
Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
to 00:04:5a:49:eb:74 on rl0
Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl
You have a Linksys and Cisco device fighting over a IP address either
they both think they own the address or one or maybe both are proxy arping
for the address. The fields 00:04:5a:49:eb:74  00:50:0f:4f:c0:00 are
the ethernet address of the Linksys and Cisco devices respectively.
Regards,
Lyle Evans
[EMAIL PROTECTED]
rackmount brackets for many networking and ISP equipment chassises
http://www.rackears.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Watching DVDs in 5.2

2004-01-18 Thread Benjamin Walkenhorst
Hello everybody,

I recently installed FreeBSD 5.2 on my Desktop machine. So far I am
very pleased. I tried 5.0 in June, and I did not find it suitable for my
needs, yet. Now the ISDN-card is gone from my machine and TV works in
overlay-mode. =) So I am actually considering to make FreeBSD my primary
OS on my desktop machine.
There are some problems to be solved, though, most pressingly
DVD-playback. ;-/ 
I installed mplayer and ogle via ports. They don't work... 
All I get is the following error message from mplayer:

Playing DVD title 1
Reading disc structure, please wait...
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!


Mmmh... I would like to watch DVDs pretty much, so what can I do? 
I tried reinstalling them, I made sure libdvd* is installed properly...
And, yes, /dev/dvd is a symbolic link to /dev/acd0 which again has chmod
666. 

Some more about the machine:
uname -a:
FreeBSD neuromancer.krylon.net 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon
Jan 12 18:25:33 CET 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEUROMANCER i386

relevant parts of /var/run/dmesg.boot:

atapci0: VIA 82C686B UDMA100 controller port 0xd000-0xd00f at device
7.1 on pci0 atapci0: Correcting VIA config for southbridge data
corruption bug ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]

result of 'atacontrol info 1':

Master:  no device present
Slave:  acd0 LITEON DVD-ROM LTD122/IL5A ATA/ATAPI rev 0

I'm afraid the problem is more application- or library-related... Who
can give me a hint?

Kind regards,

Thank you very much,

Benjamin


pgp0.pgp
Description: PGP signature


RE: ftp authentication problem

2004-01-18 Thread fbsd_user
You did not move the group file over.
Check the group the FTP user is.
You did not say how you moved the files to 4.9 from 4.4.
Check the permission on the home directories.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of asker
survey
Sent: Sunday, January 18, 2004 1:19 PM
To: [EMAIL PROTECTED]
Subject: ftp authentication problem

Hello everybody;
I upgraded my 4.4 FreeBSD to 4.9. I backed up the
/usr/home directory and /etc/*. After installing
FreeBSD 4.9 I copied passwd , master.passwd and the
home directories. Now the users can log in through
telnet or ssh. But when trying to access ftp this
message is displayed after typing the username:
530 User testuser access denied.
Login failed.

Thank you for you patience and attention.
Since I am not in the list please send the reply to me
directly.




__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

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


Re: saving downloaded packages with pkg_add -r

2004-01-18 Thread Aaron Siegel
I not sure were pkg_add -r downloads the packages. 

I have couple recommendations:

1. buy a full box set or download all four installation cd images.

2. install sysutils/portupgrade. This will automate the download off all 
packages.  You can install the binary version and its dependent packages with 
the following comand:

# portinstall -PR  kdelibs  (read the man page for more details)

All the packages will be downloaded to the /usr/ports/packages filesystem. 

The ports collection is a moving target constantly changing it would be easier 
to download all new packages or stick with the packages and port collection 
found on the RELEASE cdroms. (That is my opinion)

On Sunday 18 January 2004 05:40 am, Jon wrote:
 Hi,

 When I do, say...

 pkg_add -r foo

 ... is foo-version.tar.gz stored anywhere? With ports, the source tarballs
 are saved in /usr/ports/distfiles. But I can't find the downloaded packages
 anywhere. Can't find mention of this either.

 Reason I ask is that I'm going to reinstall after using FBSD for the first
 time, and I don't want to re-download all those packages again as I have a
 quota. And I also don't want to have to manually download and save each
 package  it's deps.

 Thanks!

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

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


Is there some source navigator for freebsd ?

2004-01-18 Thread manish gautam
 
 Hi everybody..
 
 I have worked in linux freebsd is a new to me.
 
 is there some source navigator in freebsd ...if yes tell me about that
 
best regards
 
manish

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


Re: Watching DVDs in 5.2

2004-01-18 Thread Jeremy Faulkner
Benjamin Walkenhorst wrote:
Hello everybody,

I recently installed FreeBSD 5.2 on my Desktop machine. So far I am
very pleased. I tried 5.0 in June, and I did not find it suitable for my
needs, yet. Now the ISDN-card is gone from my machine and TV works in
overlay-mode. =) So I am actually considering to make FreeBSD my primary
OS on my desktop machine.
There are some problems to be solved, though, most pressingly
DVD-playback. ;-/ 
I installed mplayer and ogle via ports. They don't work... 
All I get is the following error message from mplayer:

Playing DVD title 1
Reading disc structure, please wait...
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!

I only get this message when I force my dvd drive into DMA when it would 
normally use PIO4.

Mmmh... I would like to watch DVDs pretty much, so what can I do? 
I tried reinstalling them, I made sure libdvd* is installed properly...
And, yes, /dev/dvd is a symbolic link to /dev/acd0 which again has chmod
666. 

Some more about the machine:
uname -a:
FreeBSD neuromancer.krylon.net 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Mon
Jan 12 18:25:33 CET 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEUROMANCER i386
relevant parts of /var/run/dmesg.boot:

atapci0: VIA 82C686B UDMA100 controller port 0xd000-0xd00f at device
7.1 on pci0 atapci0: Correcting VIA config for southbridge data
corruption bug ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
Where are the listings for the drives?

result of 'atacontrol info 1':

Master:  no device present
Slave:  acd0 LITEON DVD-ROM LTD122/IL5A ATA/ATAPI rev 0
I'm afraid the problem is more application- or library-related... Who
can give me a hint?
I think you should put the drive into PIO and try again.

Kind regards,

Thank you very much,

Benjamin


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


Re: arp messages XXX is on but got reply.../multihoming problem

2004-01-18 Thread Dan Nelson
In the last episode (Jan 18), Jer said:
 4.9-REL
 
 sis0: inside network 192.168.XXX.XXX
 
 xl0: connection to RR commercial via DHCP
 assigned ip  24.172.21.XXX gateway 24.172.21.219 nat'd
 
 rl0: unused
 
 What I want to do is plug in an RR home connection to the rl0 interface so 
 rl0 would then look like
 rl0: connection to RR home via DHCP
 It got assigned an IP of 66.57.248.XX gateway 66.57.248.1
 
 When I do this I get 1000's of
 arp: 66.57.248.1 is on rl0 but got reply from 00:07:0d:aa:ec:54 on xl0
 
 and the speed of the xl0 slows to a crawl until I unplug the rl0 NIC

Make sure your xl0 and rl0 nics are not plugged into the same switch or
hub.  If they aren't, and your setup currently looks like:

 ___ 24.172.21.219   24.172.21.XXX
(   )---[RR business DSL box]---[xl0]
( Internet  )
(___)---[RR home DSL box]---[rl0]
 66.57.248.1 66.57.248.XX 

, then RR may have problems providing both business and home DSL to the
same location, since there's no way xl0 should be getting ARPs from
66.57.248.1.

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


Re: Watching DVDs in 5.2

2004-01-18 Thread Benjamin Walkenhorst
On Sun, 18 Jan 2004 14:40:53 -0500
Jeremy Faulkner [EMAIL PROTECTED] wrote:

 Benjamin Walkenhorst wrote:
 I only get this message when I force my dvd drive into DMA when it
 would normally use PIO4.
  relevant parts of /var/run/dmesg.boot:
  
  atapci0: VIA 82C686B UDMA100 controller port 0xd000-0xd00f at
  device 7.1 on pci0 atapci0: Correcting VIA config for southbridge
  data corruption bug ata0: at 0x1f0 irq 14 on atapci0
  ata0: [MPSAFE]
  ata1: at 0x170 irq 15 on atapci0
  ata1: [MPSAFE]
 
 Where are the listings for the drives?

Ooops, sorry.
Here we go:
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: SONYCD-RW  CRX120E, , 1.0j type 5 cdrom
removable cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data
transfers)

  I'm afraid the problem is more application- or library-related...
  Who can give me a hint?
 
 I think you should put the drive into PIO and try again.

Mmmh, I'll try... 

Thank you very much,

Benjamin

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


pgp0.pgp
Description: PGP signature


Re: Does FreeBSD sell How to videos?

2004-01-18 Thread Aaron Siegel

FreeBSD is a controlled complete through a console ( command line) interface, 
I do not believe watching someone typing in commands a the prompt or text 
editor will be very helpful. It is completely different then the graphical 
interface of Windows which require the user to navigate the maze of graphical 
windows. There are a lot of good books written on the use of FreeBSD, go to 
your favorite book store and check one of them out.  The will provide more 
efficient method of learning FreeBSD than a video.  There may be some video 
for desktop applications (staroffice, kde, gnome, gimp) targeted at linux 
users?

On Sunday 18 January 2004 02:39 am, [EMAIL PROTECTED] wrote:
 Hello FreeBSD gurus,

 Do you know if FreeBSD sells
 video/cdrom training products?

 I surely appreciate your
 feedback.

 Thanks


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

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


Re: Watching DVDs in 5.2

2004-01-18 Thread Benjamin Walkenhorst
On Sun, 18 Jan 2004 20:53:05 +0100
Benjamin Walkenhorst [EMAIL PROTECTED] wrote:

 On Sun, 18 Jan 2004 14:40:53 -0500
 Jeremy Faulkner [EMAIL PROTECTED] wrote:

  I think you should put the drive into PIO and try again.
 
 Mmmh, I'll try... 

Didn't work. I put it into PIO-mode, didn't work, I put it into
UDMA-mode, didn't work. 
(atacontrol mode 0 BIOSPIO PIO4)

Either the controller is causing a problem - dmesg.boot mentioned a
data-corruption-bug...? 

Or it *is* a problem with some of the dvd-related libraries... 

Kind regards,

Benjamin


pgp0.pgp
Description: PGP signature


Re: arp messages XXX is on but got reply.../multihoming problem

2004-01-18 Thread Jer
At 02:46 PM 1/18/2004, you wrote:
In the last episode (Jan 18), Jer said:
 4.9-REL

 sis0: inside network 192.168.XXX.XXX

 xl0: connection to RR commercial via DHCP
 assigned ip  24.172.21.XXX gateway 24.172.21.219 nat'd

 rl0: unused

 What I want to do is plug in an RR home connection to the rl0 interface so
 rl0 would then look like
 rl0: connection to RR home via DHCP
 It got assigned an IP of 66.57.248.XX gateway 66.57.248.1

 When I do this I get 1000's of
 arp: 66.57.248.1 is on rl0 but got reply from 00:07:0d:aa:ec:54 on xl0

 and the speed of the xl0 slows to a crawl until I unplug the rl0 NIC
Make sure your xl0 and rl0 nics are not plugged into the same switch or
hub.  If they aren't, and your setup currently looks like:
 ___ 24.172.21.219   24.172.21.XXX
(   )---[RR business DSL box]---[xl0]
( Internet  )
(___)---[RR home DSL box]---[rl0]
 66.57.248.1 66.57.248.XX
, then RR may have problems providing both business and home DSL to the
same location, since there's no way xl0 should be getting ARPs from
66.57.248.1.
They are not plugged into the same switch
rl0 is pligged directly into the RR home modem


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


portupgrade seesm to be broken

2004-01-18 Thread stan
I just cvsup'd one of may machines, and now I can't seem o get portupgrade
to work. Here is what I'm seesing:


Script started on Sun Jan 18 15:18:53 2004
black# portupgrade -aRr -l /home/stan/report
fwbuilder-1.1.2_20040101cvs: 1.1.2_20040101cvs: Not in due form: 
'version[_revision][,epoch]'.
black# pkgdb -F
---  Checking the package registry database
fwbuilder-1.1.2_20040101cvs: 1.1.2_20040101cvs: Not in due form: 
'version[_revision][,epoch]'.
black# ^Dexit

Script done on Sun Jan 18 15:19:15 2004

Can anyone sugest how I can fix this?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting snmp running on a STABLE machine?

2004-01-18 Thread stan
On Sun, Jan 18, 2004 at 05:42:18PM +, Matthew Seaman wrote:
 On Sun, Jan 18, 2004 at 12:31:08PM -0500, stan wrote:
  I'm trying to get snmp running on a STABLE machine. I've built and
  installed teh net-snmpd port, but I can't seem to find where teh example
  config file was put.
  
  Any sugestions?
 
 /usr/local/share/snmp -- if you use the snmpconf(1) program with the
 '-i' flag it will walk you through generating the config files and
 then install them into the correct place for global access:
 
 # snmpconf -i -g basic_setup
 
 See also snmp.conf(5), snmpd.conf(5)
 
Thank you sir!

That's most helpful.

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rpc.lockd segfault

2004-01-18 Thread Dan Nelson
In the last episode (Jan 18), Kris Kennaway said:
 On Sun, Jan 18, 2004 at 02:58:44PM +0100, Antoine Jacoutot wrote:
   Unfortunately that doesn't give any information.  You'll need to
   recompile rpc.lockd with GDB debugging symbols (add -ggdb to
   CFLAGS). See the developer's handbook on the website for more
   information about debugging program failures with gdb
   (specifically, how to obtain a useful backtrace).
 
  $ gdb /usr/sbin/rpc.lockd
 
  How come no debugging symbols are found ?
 
  install -s -o root -g wheel -m 555   rpc.lockd /usr/sbin
   ^^
 
 This strips the debugging symbols.  Run gdb against the version of the
 binary in the obj/ directory.

If you add the -g flag to DEBUG_FLAGS instead of directly to CFLAGS,
that will tell the install target not to strip the final binaries (see
bsd.prog.mk).

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


Re: arp problem in /var/log/messages

2004-01-18 Thread Andrew Boothman
horio shoichi wrote:

hi all, i got flooded by these msgs like 1000+ lines, any idea?
my kernel is dated Nov-30 FreeBSD 4.9-stable
# tail -f /var/log/messages
Jan 18 19:43:23 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0
Jan 18 19:45:06 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
to 00:04:5a:49:eb:74 on rl0
Jan 18 19:45:18 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0
Jan 18 19:45:41 xb /kernel: arp: 202.79.180.1 moved from 00:50:0f:4f:c0:00
to 00:04:5a:49:eb:74 on rl0
Jan 18 19:45:45 xb /kernel: arp: 202.79.180.1 moved from 00:04:5a:49:eb:74
to 00:50:0f:4f:c0:00 on rl0


# sysctl net.link.ether.inet.log_arp_wrong_iface=1

should mask the messages.
Shouldn't that be net.link.ether.inet.log_arp_movements ?

myriad# sysctl -d net.link.ether.inet.log_arp_movements
net.link.ether.inet.log_arp_movements: log arp replies from MACs 
different than the one in the cache

I get these messages about 10/day on an interface that's connected to a 
cable modem network (Blueyonder in the UK).

I've just set this sysctl to see if it stops these messages for me.

Andrew

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


Re: stumped... .

2004-01-18 Thread Gary Kline
On Sun, Jan 18, 2004 at 04:19:04AM -0800, Lee Mx wrote:
 
   On Sat, 17 Jan 2004, Gary Kline wrote:
  
   
  Wouldn't it be neater to do
 
nawk '/^PATTERN/ { exit } ; { print }'
 
 Couldn't sed '/^PATTERN/,$d'  foo  bar be a bit faster?
 

This is what I scripted in /bin/sh with my 79 files.

:-X

gary

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

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


mouse and curl problems

2004-01-18 Thread John Adams
Hi, folks,

	I've gotten my modem problems straightened out--and thanks for the 
help! Now, I've got two other oddities going on.

	(By the way, I've yet to upgrade to 4.9--that'll be soon, but not 
today--and I'm still on 4.6 for now.)

	First, my mouse--a very vanilla two-button PS/2--is not doing the 
right thing (or anything at all). I first turned it on with 
/stand/sysinstall and it appeared (on that screen) to be working 
correctly, but didn't know to do a vidcontrol -m on, so I started 
mucking around with the configuration. Now, I can't get it to appear 
normal in /stand/sysinstall, and it also flickers on the screen. It'll 
select when I click, but it doesn't select consistently, and it does 
not paste. I've yet to set up X--this is strictly on the bare screen. 
This is frustrating, but not horrible.

	Second, curl 7.10.7 will pkg_add, but when I try to use it (to resume 
the download of XFree86-fontScalable, which was almost done when we got 
a power hit), it tells me /usr/libexec/ld-elf.so.1: Shared object 
libssl.so.3 not found. Is this just a bad setting for 
LD_LIBRARY_PATH? Or something else?

Thanks,

	John A

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


ypset(8) attempts to bind to Weird IP (and possible solution)

2004-01-18 Thread Saint Aardvark the Carpeted
A while back I came across some strange behaviour with ypset(8).  I was
having trouble at work making a host bind to our NIS server, so I thought
I'd try using ypset.  When running these commands:

domainname [domain]
ypbind
ypset -h localhost -d [domain] 192.168.0.254

and watching network traffic with tcpdump, I found UDP packets going
off to port 111 on an IP address I'd never seen before:  164.110.15.40.
As far as I could tell, it was trying to bind to the Weird IP (tm)
instead of our NIS server.

The domainname didn't seem to matter or change things; I tried both
the domain we use at work, and foo without any change in behaviour.
The same goes for the IP address I had specified, which was that of the
local NIS server.  The Weird IP was was completely unrelated to the local
network (192.168.0.0/24), and turns out to belong to the Washington
State Department of Transportation (!).  I tried this again at home,
and exactly the same behaviour was seen.

A couple days ago I decided to track this down, and found nearly the
same behaviour;  the difference is that this time, the Weird IP was
132.110.15.40, which turns out to belong to the US Army National Guard
Bureau (!!).  Again, that IP address is *completely* different from
anything on my local network or my public IP address.

This is all using 4.8-RELEASE; however, the relevant code for ypset
appears to be the same in 4.9-RELEASE.  Each test was done on a box
that had one interface, IP address 10.0.0.1, going to a gateway box
(10.0.0.254) with an external IP (192.168.0.100 at work, 192.168.23.254
at home).  I varied the IP addresses at home, but saw the same behaviour
each time.

To make a long story short, I compiled a debug version of ypset and stepped
through it with gdb.  I narrowed it down to this range of code:

120  struct hostent *hent;
[snip]
130  sin.sin_addr.s_addr = htonl(0x7f01);
131  
132  while ((c = getopt(argc, argv, h:d:)) != -1)
133  switch (c) {
134  case 'd':
135  domainname = optarg;
136  break;
137  case 'h':
138  if ((sin.sin_addr.s_addr = inet_addr(optarg)) == -1) {
139  hent = gethostbyname(optarg);
140  if (hent == NULL)
141  errx(1, host %s unknown, optarg);
142  bcopy(hent-h_addr_list[0], sin.sin_addr,
143  sizeof sin.sin_addr);
144  }
145  break;
146  default:
147  usage();
148  }

This chunk goes over the arguments to ypset; pretty much immediately
afterward, it calls bind_tohost() with sin as one of its arguments.

The problem seems to come in at lines 142/143:  before this,
sin.sin_addr.s_addr is localhost (as set at line 130), as is
hent-h_addr_list[0][0].  *After* this, it's set with the Weird IP,
bind_tohost() is called, and packets go off to the Weird IP.

ObDisclaimer:  I Am Not A Programmer, and my knowledge of C is pretty
slim.  But:  if I change lines 142/143 to:

bcopy(hent-h_addr_list[0][0], sin.sin_addr, sizeof sin.sin_addr);

then the Weird IP doesn't show up in sin, and ypset only tries to bind
to the IP address listed in its arguments.

Looking through man pages and header files, it looks like
hostent-h_addr_list is an array of pointers to chars (is that the
right term?):

char **h_addr_list

and so gethostbyname is returning the IP address as the *first entry*
in that list.  It makes sense to me, then, that bcopy should have
h_addr_list[0][0] as its first argument.

*But*, as I mentioned, I'm no programmer.  I find it hard to believe
that I could pick up a mistake that simple, especially when I'm not
at all familiar with using sockets, or that this simple-seeming fix
wouldn't introduce more problems.

So -- what's going on?  Is this a real bug, or have I misunderstood
something?

Please let me know if I've left anything out, or if there's a better
place to ask this question.

Thanks for your time, everyone!

-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there some source navigator for freebsd ?

2004-01-18 Thread Dan Pelleg
manish gautam [EMAIL PROTECTED] writes:

  
  Hi everybody..
  
  I have worked in linux freebsd is a new to me.
  
  is there some source navigator in freebsd ...if yes tell me about that
  
 best regards
  
 manish


http://fxr.watson.org/

-- 

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


phantom user

2004-01-18 Thread Marty Landman
It's me I guess; have fbsd 4.8 rlse on a box on my lan. I normally log on 
via ssh from my win xp workstation.

#w
 4:31PM  up 28 days,  3:01, 2 users, load averages: 0.18, 0.06, 0.01
USER TTY  FROM  LOGIN@  IDLE WHAT
martyp0   penguin   3:08PM - w
martyp1   192:S.0  31Dec03 18days /bin/csh
#
So the first user is my ssh session (ssh'd in from an ssh session to my 
linux box via my xp box) but what is the session on p1?

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: phantom user

2004-01-18 Thread Ceri Davies
On Sun, Jan 18, 2004 at 04:34:31PM -0500, Marty Landman wrote:
 It's me I guess; have fbsd 4.8 rlse on a box on my lan. I normally log on 
 via ssh from my win xp workstation.
 
 #w
  4:31PM  up 28 days,  3:01, 2 users, load averages: 0.18, 0.06, 0.01
 USER TTY  FROM  LOGIN@  IDLE WHAT
 martyp0   penguin   3:08PM - w
 martyp1   192:S.0  31Dec03 18days /bin/csh
 #
 
 So the first user is my ssh session (ssh'd in from an ssh session to my 
 linux box via my xp box) but what is the session on p1?

screen -ls

Ceri
-- 


pgp0.pgp
Description: PGP signature


Re: Should /nonexistent home dir actually exist?

2004-01-18 Thread Andrew Boothman
George Hartzell wrote:

I just noticed 

  a) that several accounts (from ports stuff, it seems) on a -stable
 system use /nonexistent as their home directory
   (ghost)[9:50am]loggrep nonexist /etc/passwd 
   pop:*:68:6:Post Office Owner:/nonexistent:/sbin/nologin
   www:*:80:80:World Wide Web Owner:/nonexistent:/sbin/nologin
   nobody:*:65534:65534:Unprivileged user:/nonexistent:/sbin/nologin
   gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
   dnslog:*:1002:1002:DJBdns Logger:/nonexistent:/sbin/nologin
   dnscache:*:1003:1003:DJBdns Cache owner:/nonexistent:/sbin/nlogin
   stunnel:*:1004:1004:stunnel Daemon:/nonexistent:/sbin/nologin
   cyrus:*:60:60:the cyrus mail server:/nonexistent:/sbin/nologin
   ldap:*:389:389:OpenLDAP Server:/nonexistent:/sbin/nologin

and

  b) that it seems to exist

   (ghost)[9:50am]logls -la /nonexistent/
   total 20
   drwxr-xr-x   2 ftp ftp 512 Jun  1  2003 .
   drwxr-xr-x  20 rootwheel   512 Jan 15 12:07 ..
   -rw-r--r--   1 dnslog  dnslog  771 Jun  1  2003 .cshrc
   -rw-r--r--   1 dnslog  dnslog  255 Jun  1  2003 .login
   -rw-r--r--   1 dnslog  dnslog  165 Jun  1  2003 .login_conf
   -rw---   1 dnslog  dnslog  371 Jun  1  2003 .mail_aliases
   -rw-r--r--   1 dnslog  dnslog  331 Jun  1  2003 .mailrc
   -rw-r--r--   1 dnslog  dnslog  801 Jun  1  2003 .profile
   -rw---   1 dnslog  dnslog  276 Jun  1  2003 .rhosts
   -rw-r--r--   1 dnslog  dnslog  852 Jun  1  2003 .shrc
The name suggests that it shouldn't actually exist, presumably as a
security measure.
Should I leave it as is, blow away the /nonexistent homedir, is it a
ports problem, or ???
/nonexistent is not supposed to exist.

Perhaps you added the dnslog user using adduser(8) and so the home 
directory was created?

Andrew

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


Re: stumped... .

2004-01-18 Thread Lee Mx

How can I delete all lines from /^PATTERN to EOF??
I think that I read it wrong.  Either way he has a solution ;-)

Unless I'm reading it wrong, he wants to *keep* everything from the
beginning of the file to /^PATTERN/ and NOT keep everything else all the
way to EOF.  The diff. between what I suggested and the what other
suggested is that using 'q' would be inclusive, while the others are
exclusive of the line matched by /^PATTERN/.  However, it wasn't clear
which he wanted.
Nathan
--
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
 attach3 
_
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx

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


poptop funny log messages

2004-01-18 Thread jromero

Running PopTop in test server and it seems to be working well, except the
logs are replete with error messages like:

-
Jan 18 14:19:34 host pptpd[72063]: CTRL: Ignored a SET LINK INFO packet with
 real ACCMs!
Jan 18 14:19:34 host ppp[72064]: Warning: ff02:7::/32: Change route failed:
errno: Network is unreachable
Jan 18 14:20:17 host pptpd[72068]: GRE: Discarding duplicate packet
Jan 18 14:20:19 host pptpd[72068]: CTRL: Ignored a SET LINK INFO packet with
 real ACCMs!
Jan 18 14:20:19 host ppp[72069]: Warning: ff02:7::/32: Change route failed:
errno: Network is unreachable
Jan 18 14:20:19 host ppp[72069]: Warning: ff02:7::/32: Change route failed:
errno: Network is unreachable
Jan 18 14:23:48 host pptpd[72070]: GRE: Discarding duplicate packet


here are my config files:

bash-2.05b$ cat /etc/ppp/ppp.conf
loop:
 set timeout 0
 set log phase chat connect lcp ipcp command
 set device localhost:pptp
 set dial
 set login
 # Server (local) IP address, Range for Clients, and Netmask
 # if you want to use NAT use private IP addresses
 set ifaddr 192.168.1.8 192.168.1.130-192.168.1.160 255.255.255.0
 # if you don't want to use NAT then use real IP addresses
 #set ifaddr 10.0.0.100 10.0.0.200-10.0.0.249 255.255.255.0
 set server /tmp/loop  0177

loop-in:
 set timeout 0
 set log phase lcp ipcp command
 allow mode direct

pptp:
 load loop
 #enable chap
 disable pap
 # Authenticate against /etc/passwd
 enable passwdauth
 enable proxy
 accept dns
 enable MSChapV2
 enable mppe
 disable deflate pred1
 deny deflate pred1
 # DNS Servers to assign client
 set dns 192.168.1.7
 # NetBIOS/WINS Servers to assign client
 set nbns 192.168.1.7
 set device !/etc/ppp/secure



bash-2.05b$ cat /usr/local/etc/pptpd.conf
option /etc/ppp/ppp.conf
# turn debugging on only if you need it
debug
# if you have multiple addresses and only want to listen on one:
# listen 10.0.0.100

# if you do not want to NAT your vpn connections then use real IP's
#localip  10.0.0.100
#remoteip 10.0.0.200-249

# if you want to use NAT use private IP's
localip  192.168.1.8
remoteip 192.168.1.130-160
pidfile /var/run/pptpd.pid
+chapms-v2
mppe-40
mppe-128
mppe-stateless


bash-2.05b$ cat /etc/ppp/secure
#!/bin/sh
exec /usr/sbin/ppp -direct loop-in


has anyone encountered this before??? the pptp service is working fine
but I would like to know if this is a serious problem.


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


Re: phantom user

2004-01-18 Thread Marty Landman
At 04:41 PM 1/18/2004, Ceri Davies wrote:
 #w
  4:31PM  up 28 days,  3:01, 2 users, load averages: 0.18, 0.06, 0.01
 USER TTY  FROM  LOGIN@  IDLE WHAT
 martyp0   penguin   3:08PM - w
 martyp1   192:S.0  31Dec03 18days /bin/csh
screen -ls
Yep, thanks Ceri.

Marty Landman   Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD support

2004-01-18 Thread Uwe Laverenz
fbsd_user wrote:

This boot error message general means that your floppy drive is
broken.
Not necessarily, this can also be a FreeBSD bug. I have several boards 
where this error occurs when ACPI is enabled. It's not a hardware 
problem. The floppy drives work with other systems, but not with 
FreeBSD+ACPI (4.9 - 5.1).

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


Re: stumped... .

2004-01-18 Thread Gary Kline
On Sun, Jan 18, 2004 at 09:54:23AM -0600, Nathan Kinkade wrote:
 On Sat, Jan 17, 2004 at 09:06:45PM -0800, Gary Kline wrote:
  On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote:
   On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:

I've written scores of scripts to hack text files, but this
one has me dead in the water.

How can I delete all lines from /^PATTERN to EOF??

   
   sed -e '/pattern/,$d'
   
  
  Yep.  Thisis what i used, in fact.  thanks.
  
  gary
 
 Here is another option using sed that takes 2 less keystrokes :)
 
 $ sed -e '/pattern/q'
 

Impressive :-)

gary


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

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


ipfw rules for letting ssh requests in

2004-01-18 Thread Andrew L. Gould
I can't seem to get the ipfw rules right for letting ssh clients access a ssh 
server.  I can use ssh on the server to connect to the client; but if I try 
to connect from the client to the server, the operation times out.

I have my rules in /etc/ipfw.rules.  Executing 'ipfw show' displays all of the 
rules as expected.  It also shows packets having been allowed at rule 300 
after an attempt to connect has been made.

I have copied the top portion of /etc/ipfw.rules:

#!/bin/sh

# Andrew L. Gould's firewall rules.

fwcmd=/sbin/ipfw -q
${fwcmd} -f flush


# Basic rules that should not be changed
${fwcmd} add 00100 pass all from any to any via lo0
${fwcmd} add 00110 deny all from any to 127.0.0.0/8
${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any


# Allow specified service requests in
# ssh
${fwcmd} add 00300 allow tcp from any to me 22
${fwcmd} add 00301 allow udp from any to me 22
##

Does anyone have any idea why the operation is timing out or what I have done 
wrong?

Thanks,

Andrew Gould




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


Re: ipfw rules for letting ssh requests in

2004-01-18 Thread Daan Vreeken [PA4DAN]
On Monday 19 January 2004 00:47, Andrew L. Gould wrote:
 I can't seem to get the ipfw rules right for letting ssh clients access a
 ssh server.  I can use ssh on the server to connect to the client; but if I
 try to connect from the client to the server, the operation times out.

 I have my rules in /etc/ipfw.rules.  Executing 'ipfw show' displays all of
 the rules as expected.  It also shows packets having been allowed at rule
 300 after an attempt to connect has been made.

 I have copied the top portion of /etc/ipfw.rules:

 #!/bin/sh

 # Andrew L. Gould's firewall rules.

 fwcmd=/sbin/ipfw -q
 ${fwcmd} -f flush


 # Basic rules that should not be changed
 ${fwcmd} add 00100 pass all from any to any via lo0
 ${fwcmd} add 00110 deny all from any to 127.0.0.0/8
 ${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any


 # Allow specified service requests in
 # ssh
 ${fwcmd} add 00300 allow tcp from any to me 22
 ${fwcmd} add 00301 allow udp from any to me 22

 Does anyone have any idea why the operation is timing out or what I have
 done wrong?
You forgot the packets in the other direction... This should do the trick :

${fwcmd} add 00300 allow tcp from any to me 22
${fwcmd} add 00301 allow tcp from me 22 to any

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


OT: Another perl question

2004-01-18 Thread Gary Kline

Is there an easy way of determining file - determine file type
in perl? at least as certain as magic(5) can ascertain?

E.g:

if (($ftype = file ($ARV[i])) eq script){
## do abc;
}
else if ($ftype eq Mail){
## do def;
}
else if ($type eq C program){
## do xyz;
}
.
.
.

I've been poking around perl tutorial sites; so far, nada.
Thought I'd ask the wizards.

thanks for any clues,

gary


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

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


Re: OT: Another perl question

2004-01-18 Thread Chris Pressey
On Sun, 18 Jan 2004 15:55:42 -0800
Gary Kline [EMAIL PROTECTED] wrote:

   
   Is there an easy way of determining file - determine file type
   in perl? at least as certain as magic(5) can ascertain?
 
   E.g:
 
   if (($ftype = file ($ARV[i])) eq script){
   ## do abc;
   }
   else if ($ftype eq Mail){
   ## do def;
   }
   else if ($type eq C program){
   ## do xyz;
   }
   .
   .
   .
 
   I've been poking around perl tutorial sites; so far, nada.
   Thought I'd ask the wizards.
 
   thanks for any clues,
 
   gary

How about /usr/ports/devel/p5-File-MMagic ?

This module is to guess file type from its contents like file(1)
command.

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


Re: ipfw rules for letting ssh requests in

2004-01-18 Thread Andrew L. Gould
On Sunday 18 January 2004 05:53 pm, Daan Vreeken [PA4DAN] wrote:
 On Monday 19 January 2004 00:47, Andrew L. Gould wrote:
  I can't seem to get the ipfw rules right for letting ssh clients access a
  ssh server.  I can use ssh on the server to connect to the client; but if
  I try to connect from the client to the server, the operation times out.
 
  I have my rules in /etc/ipfw.rules.  Executing 'ipfw show' displays all
  of the rules as expected.  It also shows packets having been allowed at
  rule 300 after an attempt to connect has been made.
 
  I have copied the top portion of /etc/ipfw.rules:
 
  #!/bin/sh
 
  # Andrew L. Gould's firewall rules.
 
  fwcmd=/sbin/ipfw -q
  ${fwcmd} -f flush
 
 
  # Basic rules that should not be changed
  ${fwcmd} add 00100 pass all from any to any via lo0
  ${fwcmd} add 00110 deny all from any to 127.0.0.0/8
  ${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any
 
 
  # Allow specified service requests in
  # ssh
  ${fwcmd} add 00300 allow tcp from any to me 22
  ${fwcmd} add 00301 allow udp from any to me 22
 
  Does anyone have any idea why the operation is timing out or what I have
  done wrong?

 You forgot the packets in the other direction... This should do the trick :

 ${fwcmd} add 00300 allow tcp from any to me 22
 ${fwcmd} add 00301 allow tcp from me 22 to any

 grtz,
 Daan

I have the firewall configured to let anything out.  As noted above, I was 
able to connect from the server to the client using ssh.

Here's the entirety of /etc/ipfw.rules:

#!/bin/sh

# Andrew L. Gould's firewall rules.

fwcmd=/sbin/ipfw -q
${fwcmd} -f flush

${fwcmd} add 00100 pass all from any to any via lo0
${fwcmd} add 00110 deny all from any to 127.0.0.0/8
${fwcmd} add 00120 deny ip from 127.0.0.0/8 to any


# Allow specified service requests in
# ssh
${fwcmd} add 00300 allow tcp from any to me 22
${fwcmd} add 00301 allow udp from any to me 22
# irc
${fwcmd} add 00302 allow tcp from any to me 194
${fwcmd} add 00303 allow udp from any to me 194
# auth (ident)
${fwcmd} add 00304 allow tcp from any to me 113
${fwcmd} add 00305 allow udp from any to me 113
# ircd
${fwcmd} add 00310 allow tcp from any to me 6667


# Allow TCP connections that were initiated locally
${fwcmd} add 00400 check-state

${fwcmd} add 00402 allow tcp from any to any out setup keep-state

# Allow DNS and DHCP activities
${fwcmd} add 00500 allow udp from any 53 to any in recv dc0
${fwcmd} add 00501 allow udp from any 67 to any 68 in recv dc0
${fwcmd} add 00502 allow udp from any to any out

# Allow ICMP activities
${fwcmd} add 00600 allow icmp from any to any icmptype 0
${fwcmd} add 00601 allow icmp from any to any icmptype 3
${fwcmd} add 00602 allow icmp from any to any icmptype 4
${fwcmd} add 00603 allow icmp from any to any icmptype 8
${fwcmd} add 00604 allow icmp from any to any icmptype 11 in

${fwcmd} add 00901 deny tcp from any to any in established

${fwcmd} add 65535 deny all from any to any
#

Thanks,

Andrew Gould


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


Re: ipfw rules for letting ssh requests in

2004-01-18 Thread Andrew L. Gould
Does portmap have to be enabled to connect to sshd?

Thanks,

Andrew Gould

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


  1   2   >