Re: messages from dhclient

2005-04-17 Thread Rob
Joost van Dijk wrote:
 Hello, 
 
 I have installed dhcp to get my FreeBSD system
 on line, a machine which I am trying to set up as
 a web server. I used sysinstall and it seems to
 work correctly (this e-mail is coming from my Linux
 workstation). However, when working on the FreeBSD
 machine I keep getting the following message: 
 date  time dhclient: send_packet: permission
denied.
 What does this mean? I cannot find a reference to
 it in the man files.

Is there a firewall rule that blocks dhclient ?

Do a search on the dhclient message, and you'll
find some clues as of what's going wrong.

Rob.



__ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: messages from dhclient

2005-04-17 Thread Roland Smith
On Sun, Apr 17, 2005 at 01:04:48PM +0200, Joost van Dijk wrote:
 Hello, 
 
 I have installed dhcp to get my FreeBSD system on line, a machine which I am 
 trying to set up as a web server. I used sysinstall and it seems to work 
 correctly (this e-mail is coming from my Linux workstation). 

 However, when working on the FreeBSD machine I keep getting the
 following message: date  time dhclient: send_packet: permission
 denied.  What does this mean?

It looks to me like you're not running dhclient with sufficient
permissions (i.e. not as root), or you have a firewall that doesn't let the
traffic through.

 I cannot find a reference to it in the man files.
 It is a nuisance. When I am editing a config file with vi, this message get 
 written into the file, and over cofig file lines. How can I turn it off. 

The message is written on your terminal, but should not be written into
the file. Does pressing crtl+l help restore the screen?

You could redirect the standard error stream for dhclient to /dev/null
when you start it up: dhclient 2/dev/null. Or kill dhclient while
you're editing.

Alternatively, you could keep a copy of the FreeBSD servers
configuration files (/etc and /usr/local/etc) on your workstation
(e.g. in ~/setup/server/) where you can edit them at your leisure and
keep them under revision control. After making changes you could can
synchronize with rsync, provided you have rsync running as a daemon on
the server.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpdSaymtynHA.pgp
Description: PGP signature


Re: messages from dhclient

2005-04-17 Thread Bob Hall
On Sun, Apr 17, 2005 at 01:04:48PM +0200, Joost van Dijk wrote:
 Hello, 
 
 I have installed dhcp to get my FreeBSD system on line, a machine which I am 
 trying to set up as a web server. I used sysinstall and it seems to work 
 correctly (this e-mail is coming from my Linux workstation). However, when 
 working on the FreeBSD machine I keep getting the following message: 
 date  time dhclient: send_packet: permission denied.
 What does this mean? I cannot find a reference to it in the man files.
 It is a nuisance. When I am editing a config file with vi, this message get 
 written into the file, and over cofig file lines. How can I turn it off. 

I vaguely recall that this can have more than one cause, and therefore
more than one solution. That's just a vague recollection. In my case, it
was caused by interaction between dhc protocol and my firewall. YMMV. My
Internet connection worked fine for months at a time, aside from a flood
of send_packet: permission denied messages. Then I would have a day or
two of periodic outages, and then I'd lose the connection completely and
have to reboot the cable modem.  When the connection was reestablished,
I'd have a new IP address.

My solution is in the archives, here:
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-January/071412.html
Again, I can't promise that it will solve your problem.

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


Re: messages from dhclient

2005-04-17 Thread LukeD

I have installed dhcp to get my FreeBSD system on line, a machine which I am
trying to set up as a web server. I used sysinstall and it seems to work
correctly (this e-mail is coming from my Linux workstation). However, when
working on the FreeBSD machine I keep getting the following message:
date  time dhclient: send_packet: permission denied.
What does this mean? I cannot find a reference to it in the man files.
It is a nuisance. When I am editing a config file with vi, this message get
written into the file, and over cofig file lines. How can I turn it off.
This happened to me briefly last week when my ISP decided to replace the 
router/DHCPserver that I happened to be connected to with a new one with a 
new IP address.  dhclient wasn't too happy about that.  I rebooted and all 
was fine, but in the meantime I got this message.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]