dhclient and the LiveCD

2013-07-30 Thread Sam Fourman Jr.
hello list, when using the bootonly.iso from the ftp servers... if you drop to a shell, use dhclient to obtain an ipaddress.. well you get one.. but you have no DNS, because I think dhclient can't write to /etc/resolv.conf what is the correct way to fix this? -- Sam Fourman Jr

Re: dhclient and the LiveCD

2013-07-30 Thread aurfalien
On Jul 30, 2013, at 8:56 PM, Sam Fourman Jr. wrote: hello list, when using the bootonly.iso from the ftp servers... if you drop to a shell, use dhclient to obtain an ipaddress.. well you get one.. but you have no DNS, because I think dhclient can't write to /etc/resolv.conf what

find netmask for offered lease in dhclient code

2013-07-15 Thread s m
hello all, i want to change dhclient code and customize it. in order to do that, i need to know the netmask for offered ip. i see code and found that struct client_lease *offered_leases, keeps information about offered lease such as ip address but this structure hasn't any field about netmask. i

Re: find netmask for offered lease in dhclient code

2013-07-15 Thread Olivier Nicole
Hi, i want to change dhclient code and customize it. in order to do that, i need to know the netmask for offered ip. i see code and found that struct client_lease *offered_leases, keeps information about offered lease such as ip address but this structure hasn't any field about netmask. i

Re: find netmask for offered lease in dhclient code

2013-07-15 Thread saeedeh motlagh
, i want to change dhclient code and customize it. in order to do that, i need to know the netmask for offered ip. i see code and found that struct client_lease *offered_leases, keeps information about offered lease such as ip address but this structure hasn't any field about netmask. i don't

Re: find netmask for offered lease in dhclient code

2013-07-15 Thread Olivier Nicole
wireshark and check the contents of the dialog. I could see that in the DHCP offer, there is an option field with holds the netmask. I did not dig any further. Olivier On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, i want to change dhclient code

Re: find netmask for offered lease in dhclient code

2013-07-15 Thread s m
the netmask. I did not dig any further. Olivier On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, i want to change dhclient code and customize it. in order to do that, i need to know the netmask for offered ip. i see code and found that struct

Re: dhclient and random disconnects

2013-01-29 Thread J B
There are few things you should do. First, w/r to you complaint about first-kill-then restart, this will do it for you /etc/rc.d/dhclient lagg0 restart second, I remember you wrote that you have a trouble with disconnects even in wireless-only setup (no failover setup). If so, you should run

Re: dhclient and random disconnects

2013-01-29 Thread J B
A follow-up: third, I would test with IPv6 disabled (entirely for the system), regardless of connectivity type; that also means to explicitly disable that failover setup line in your config ipv6_activate_all_interfaces=**YES jb W/r to IPv6 (disable, enable, etc): read man pages for

Re: dhclient and random disconnects

2013-01-28 Thread David Demelier
The thing very annoying, is that when my wireless disconnects, I must wait until wpa_supplicant re-associate to the AP. Then I have no working connection until I redo dhclient lagg0. And running dhclient lagg0 will say dhclient already running.. So I always need to kill it before. That issue does

Re: dhclient and random disconnects

2012-12-13 Thread David Demelier
On 30/11/2012 21:15, jb wrote: David Demelier demelier.david at gmail.com writes: Hi, In my university, I have a WPA-EAP wifi access point, it requires authentification to access, with dhclient, I'm disconnected randomly and I must run wpa_cli reconfigure / dhclient again to get it working

Re: dhclient and random disconnects

2012-12-13 Thread jb
David Demelier demelier.david at gmail.com writes: ... Logs are your friends. If the lease actually expires and you have to get a new IP (a new lease), then you could have a temporary disconnect. But if dhcp server(s) are working correctly the lease should be renewed or rebound without

Re: dhclient and random disconnects

2012-12-13 Thread jb
David Demelier demelier.david at gmail.com writes: ... I have setup lagg0 for a failover with ethernet, (note the problem appears if I use wlan0 only too) # Fail over between wired/wireless. cloned_interfaces=lagg0 ifconfig_msk0=up ifconfig_ath0=ether 18:a9:05:87:38:0a

Re: dhclient and random disconnects

2012-12-13 Thread David Demelier
On 13/12/2012 23:39, jb wrote: David Demelier demelier.david at gmail.com writes: ... I have setup lagg0 for a failover with ethernet, (note the problem appears if I use wlan0 only too) # Fail over between wired/wireless. cloned_interfaces=lagg0 ifconfig_msk0=up ifconfig_ath0=ether

dhclient and random disconnects

2012-11-30 Thread David Demelier
Hi, In my university, I have a WPA-EAP wifi access point, it requires authentification to access, with dhclient, I'm disconnected randomly and I must run wpa_cli reconfigure / dhclient again to get it working. I have never found a solution for that, so I tried for testing, to use dhcpcd

Re: problem with dhclient after update to FreeBSD-8.3

2012-05-06 Thread Matthew Seaman
and cluttering up ifconfig(8) output -- unlike webcams, ethernet interfaces generally do have kernel level support automatically enabled. devd will try and run dhclient on the interface to configure it, which I guess is where your extra dhclent invocation is coming from. It is possible to turn this behaviour

Re: problem with dhclient after update to FreeBSD-8.3

2012-05-06 Thread Warren Block
On Sun, 6 May 2012, Matthew Seaman wrote: On 05/05/2012 19:30, Carmel wrote: All I guess I really have to get corrected is the dhclient thing, assuming it is a real problem and just not some useless noise. The 'dhclient already running' message is untidy, but harmless. It's the rc system

Re: problem with dhclient after update to FreeBSD-8.3

2012-05-06 Thread Carmel
On Sun, 6 May 2012 04:25:52 -0600 (MDT) Warren Block articulated: On Sun, 6 May 2012, Matthew Seaman wrote: On 05/05/2012 19:30, Carmel wrote: All I guess I really have to get corrected is the dhclient thing, assuming it is a real problem and just not some useless noise. The 'dhclient

Re: problem with dhclient after update to FreeBSD-8.3

2012-05-06 Thread Carmel
. This usually shows up with USB ethernet devices suddenly appearing and cluttering up ifconfig(8) output -- unlike webcams, ethernet interfaces generally do have kernel level support automatically enabled. devd will try and run dhclient on the interface to configure it, which I guess is where your extra

problem with dhclient after update to FreeBSD-8.3

2012-05-05 Thread Carmel
; however, I am assuming that the 8.3 version somehow requires it. I am still receiving an error message regarding dhclient. This is an snippet of the screen logging at boot-up: nfe0: link state changed to DOWN Starting dhclient. nfe0: no link nfe0: link state changed to UP got link DHCPREQUEST

dhclient not working with wpa

2011-03-07 Thread Michael
Hi. Problem is that my wireless card doesn't see any replies from DHCP server when I use wpa_cupplicant (it works fine without encryption), even tho it is associated with that access point. So it looks like the encryption bit is working but then dhclient fails. If I turn the encryption off

Re: dhclient doesn't work over wireless

2010-12-09 Thread Michael
On 09/12/2010 02:51, Adam Vande More wrote: On Wed, Dec 8, 2010 at 5:01 PM, Michaelmlmichae...@gmail.com wrote: Again, other systems doesn't seem to have any trouble with getting IP from this DHCP server and wired interface (em0) works fine too. Any ideas please? Your answer lies within:

Re: dhclient doesn't work over wireless

2010-12-09 Thread krad
On 9 December 2010 09:11, Michael mlmichae...@gmail.com wrote: On 09/12/2010 02:51, Adam Vande More wrote: On Wed, Dec 8, 2010 at 5:01 PM, Michaelmlmichae...@gmail.com wrote: Again, other systems doesn't seem to have any trouble with getting IP from this DHCP server and wired interface

Re: dhclient doesn't work over wireless

2010-12-09 Thread Paul B Mahol
On 12/9/10, Michael mlmichae...@gmail.com wrote: On 09/12/2010 02:51, Adam Vande More wrote: On Wed, Dec 8, 2010 at 5:01 PM, Michaelmlmichae...@gmail.com wrote: Again, other systems doesn't seem to have any trouble with getting IP from this DHCP server and wired interface (em0) works fine

Re: dhclient doesn't work over wireless

2010-12-09 Thread Michael
On 09/12/2010 10:16, Paul B Mahol wrote: On 12/9/10, Michaelmlmichae...@gmail.com wrote: Ok it looks like PR number 145269. Unfortunately there is no fix yet. Thank you for your help, at least I know it's not just me. That PR is invalid/useless. If you want feedback give more. You have

Re: dhclient doesn't work over wireless

2010-12-09 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Wed Dec 8 16:31:12 2010 Date: Wed, 08 Dec 2010 23:01:30 + From: Michael mlmichae...@gmail.com To: freebsd-questions@freebsd.org Subject: dhclient doesn't work over wireless Hello, My FreeBSD laptop is unable to get IP address over DHCP

dhclient doesn't work over wireless

2010-12-08 Thread Michael
-CCM 2:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL But for some reason it doesn't get the IP address! And whrn I manually try to: dhclient wlan0 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67

Re: dhclient doesn't work over wireless

2010-12-08 Thread Chris Brennan
On Wed, Dec 8, 2010 at 6:01 PM, Michael mlmichae...@gmail.com wrote: Again, other systems doesn't seem to have any trouble with getting IP from this DHCP server and wired interface (em0) works fine too. Any ideas please? A question first, is this a VirtualBox VM? If so, you'll need to

Re: dhclient doesn't work over wireless

2010-12-08 Thread Adam Vande More
On Wed, Dec 8, 2010 at 5:01 PM, Michael mlmichae...@gmail.com wrote: Again, other systems doesn't seem to have any trouble with getting IP from this DHCP server and wired interface (em0) works fine too. Any ideas please? Your answer lies within:

Re: NANOBSD dhclient freeze

2010-05-28 Thread Dimitar Vassilev
I did again the same build with include generic option and all binaries. same results. Did truss on the build host Here is the result truss /sbin/dhclient wlan-0 __sysctl(0xbfbfe5a4,0x2,0xbfbfe5ac,0xbfbfe5b0,0x0,0x0) = 0 (0x0) mmap(0x0,328,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 671764480

NANOBSD dhclient freeze

2010-05-27 Thread Dimitar Vassilev
Hello, I'm having an issue with dhclient on nanobsd. It requests a lease and never exits truss /sbin/dhclient vr0 __sysctl(0xbfbfe684,0x2,0xbfbfe68c,0xbfbfe690,0x0,0x0) = 0 (0x0) mmap(0x0,328,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 671698944 (0x28095000) munmap(0x28095000,328

diskless dhclient

2010-03-22 Thread Mats Lindberg
Hi all, I've tried to get my freebsd diskless system to get hold of some of the dhcp-options. E.g. my dhcp-server will always be the nfs-server as well. So I was hoping to create the /etc/fstab with the the dhcpd's ip as the nfs server. Thus not needing to have the hard coded

Re: diskless dhclient

2010-03-22 Thread Erik Norgaard
On 22/03/10 21:35, Mats Lindberg wrote: I've tried to get my freebsd diskless system to get hold of some of the dhcp-options. E.g. my dhcp-server will always be the nfs-server as well. So I was hoping to create the /etc/fstab with the the dhcpd's ip as the nfs server. Thus not needing to have

One MAC, two IP with DHCP (dhclient) how?

2009-09-04 Thread Peter B
This alias IP can then be used within a jail(8) enviroment. So far all is perfectly fine. But in an enviroment where the primary IP is retrieved or set with DHCP by using: dhclient interface How does one request an additional IP beside the primary one ..? Setting an alias directly

ifconfig query/dhclient

2008-08-04 Thread Warren Liddell
Im trying to find out how i can change my net card on re0 to be a 10BaseT full duplex instead of auto @ 100. Also trying to work out why when using dhclient fwe0 (presuming its my wireless card) it never gets a link .. is there more to getting a link with wireless? there is no encryption

Re: ifconfig query/dhclient

2008-08-04 Thread Edward Ruggeri
On Mon, Aug 4, 2008 at 4:54 AM, Warren Liddell [EMAIL PROTECTED] wrote: Im trying to find out how i can change my net card on re0 to be a 10BaseT full duplex instead of auto @ 100. I don't know, but someone else can probably help. Also trying to work out why when using dhclient fwe0

Re: ifconfig query/dhclient

2008-08-04 Thread Erik Trulsson
trying to work out why when using dhclient fwe0 (presuming its my wireless card) it never gets a link .. is there more to getting a link with wireless? there is no encryption. fwe0 is not your wireless card. fwe(4) is for ethernet emulation over FireWire (aka ieee1394). (As clearly described

MPD5 + dhclient: Problem adding dns and search domain

2008-07-14 Thread Nikolaj Thygesen
Hi list, I finally managed to establish a PPTP VPN connection to my employer using mpd5. My problem now is that in order for the setup to work properly I need to supersede search domain and dns'es in /etc/resolv.conf either by hand or by editing dhclient.conf. If I use dhclient.conf the

dhclient and dhcpd

2008-06-10 Thread Sam Fourman Jr.
quick question I can't seem to figure out I have a FreeBSD 7 computer and I am having trouble with dhclient here is my setup Ethernet cable directly from fxp0 to a DSL Modem(that serves 192.168.0.x via DHCP) A wireless card(ral0) in hostap mode it has a static ip of 192.168.1.1. I have dhcpd

RE: dhclient and dhcpd

2008-06-10 Thread Tobias Hoellrich
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Fourman Jr. Sent: Tuesday, June 10, 2008 3:08 PM To: [EMAIL PROTECTED] Subject: dhclient and dhcpd quick question I can't seem to figure out I have a FreeBSD 7 computer and I am having

dummy dhclient

2008-05-12 Thread Wojciech Puchar
is there an option in dhclient (or other program) to try getting IP address but - don't set anything in system. i mean something to just check for dhcp servers. or maybe something that just detects what DHCP servers are available. ___ freebsd

Re: dummy dhclient

2008-05-12 Thread Mel
On Monday 12 May 2008 18:34:32 Wojciech Puchar wrote: is there an option in dhclient (or other program) to try getting IP address but - don't set anything in system. i mean something to just check for dhcp servers. or maybe something that just detects what DHCP servers are available

Re: dummy dhclient

2008-05-12 Thread Johan Dowdy
-agent.sourceforge.net/man/dhcp-sniff.1.html I havenĀ¹t used it but I recall stumbling upon this a while back when I was looking for the same. If you try it out, let me know if it works. -J On 5/12/08 9:34 AM, Wojciech Puchar [EMAIL PROTECTED] wrote: is there an option in dhclient (or other

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Jasvinder S. Bahra
@freebsd.org Sent: Monday, July 30, 2007 1:02 AM Subject: Re: Binding dhclient to a particular network interface The DHCP reference for ed1 means dhclient is started (thereafter running continuously as a daemon), which sets ed1's IP address to that assigned by the cable modem. Note that dhclient

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Jasvinder S. Bahra
Terry, I tried adding the interface line to the dhclient configuration file (and then rebooting), but it had no effect. Entering the sockstat -l4 command showed that local address was still *:68. I had a look at the man pages for the configuration file, but other than trying again with the word

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Chuck Swiger
Jasvinder S. Bahra wrote: Terry, I tried adding the interface line to the dhclient configuration file (and then rebooting), but it had no effect. Entering the sockstat -l4 command showed that local address was still *:68. man dhclient suggests that the interface needs to be specified

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Jasvinder S. Bahra
ideas? Regards, Jazz - Original Message - From: Chuck Swiger [EMAIL PROTECTED] To: Jasvinder S. Bahra [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Monday, July 30, 2007 8:25 PM Subject: Re: Binding dhclient to a particular network interface Jasvinder S. Bahra wrote

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Chuck Swiger
shows the interface having an IP address of 0.0.0.0). I do agree though - the man page explicitly says that this should work. Does running dhclient ed1 from the command line work? Is the DHCP server providing the right answer? Running tcpdump -s 0 arp or port bootps would give you insight

Re: Binding dhclient to a particular network interface

2007-07-30 Thread Jasvinder S. Bahra
Chuck, Oddly enough, after the system has finished starting up, running dhclient ed1 on the command line does work (though sockstat -l4 still shows local address as *:68). I could I have sworn that when I tried doing this the first time I added the dhclient_flags line, it failed. One thing I

Re: Binding dhclient to a particular network interface

2007-07-29 Thread Adam J Richardson
Jasvinder S. Bahra wrote: Is there a way of instructing dhclient to listen only on the cable-modem facing network interface? Hi Jazz, I don't find it necessary to run dhclient as a daemon. My server has two interfaces, one wired and one wifi. In my /etc/rc.conf: ifconfig_fxp0=DHCP

Re: Binding dhclient to a particular network interface

2007-07-29 Thread Jasvinder S. Bahra
. This is achieved by the following settings in /etc/rc.conf ... network_interfaces=ed1 ed2 lo0 ifconfig_ed1=DHCP ifconfig_ed2=inet 10.1.0.1 netmask 255.255.255.0 ifconfig_lo0=inet 127.0.0.1 The DHCP reference for ed1 means dhclient is started (thereafter running continuously as a daemon), which sets

Re: Binding dhclient to a particular network interface

2007-07-29 Thread Adam J Richardson
The DHCP reference for ed1 means dhclient is started (thereafter running continuously as a daemon), which sets ed1's IP address to that assigned by the cable modem. Note that dhclient generally runs as a daemon because it has to handle lease renewals and/or expiration. I have no issues

RE: Binding dhclient to a particular network interface

2007-07-29 Thread Terry Sposato
] [mailto:[EMAIL PROTECTED] On Behalf Of Jasvinder S. Bahra Sent: Monday, 30 July 2007 9:27 AM To: freebsd-questions@freebsd.org Subject: Re: Binding dhclient to a particular network interface Adam, Thanks for responding, but I think theres been a misunderstanding here. The network setup on my

Binding dhclient to a particular network interface

2007-07-28 Thread Jasvinder S. Bahra
assigned by the DHCP server built into the cable modem. If I run the following command at the command line... sockstat -l4 I am presented with a list of IPv4 listening services. Unsurprisingly, one of these services is dhclient. However, unlike some of the other services listed, it seems

Confused about dhclient .conf and -script..

2007-06-11 Thread B. Cook
things that I could not get my FreeBSD box(es) to do. So I found out that this config file actually came from a linux box (some ubuntu version) and that it runs a dhclient-script which I then found out that FreeBSD also has.. So I'm closer but not there yet and can not seem to figure out

dhclient: Can't update forward map bogus ... timed out

2007-06-11 Thread Noah
info # pkg_info | grep bind bind9-9.3.4 Completely new version of the BIND DNS suite with updated D FreeBSD-6.2 --- snip --- Jun 11 07:17:10 hostname dhclient: Can't update forward map bogus.domain.com. to 10.0.0.1: timed out --- sinp

Re: dhclient: Can't update forward map bogus ... timed out

2007-06-11 Thread Chuck Swiger
On Jun 11, 2007, at 11:48 AM, Noah wrote: I recently added firewall filters to my home linux box, and now I am experiencing named errors. I am running DDNS that sends out updates for my dynamically assigned IP address for the router/linux box at the edge of my home network. It appears

Re: Confused about dhclient .conf and -script..

2007-06-11 Thread Rob
B. Cook wrote: After reading way more about isc-dhcpd than I wanted to, I found out that I can customize /etc/dhclient.conf (great). I found a great dhclient.conf but it seemed to do things that I could not get my FreeBSD box(es) to do. I'm not quite sure what problems you're experiencing,

dhclient overwrites reslov.conf

2007-01-26 Thread [LoN]Kamikaze
I'm in a LAN with a relatively short lease time. That wouldn't be a problem if I wouldn't run a vpnc connection through this LAN. The vpnc connection sets /etc/resolv.conf as required, but dhclient overwrites it every couple of minutes, causing DNS not to work any more. Is there a way to make

Re: dhclient overwrites reslov.conf

2007-01-26 Thread Jeremy Gransden
On 1/26/07, [LoN]Kamikaze [EMAIL PROTECTED] wrote: I'm in a LAN with a relatively short lease time. That wouldn't be a problem if I wouldn't run a vpnc connection through this LAN. The vpnc connection sets /etc/resolv.conf as required, but dhclient overwrites it every couple of minutes, causing

Problems running dhclient on 6.1

2006-12-25 Thread Calvin Smith
I just built a new system as a firewall using FreeBSD 6.1-RELEASE-p11, IP Filter V4.1.8 and am getting No DHCPOFFERS received. I am connected to the internet via Comcast broadband. My old system running FreeBSD 4.6-RELEASE and IP Filter V 3.4.29 works just fine. I plugged my external network port

RE: Problems running dhclient on 6.1

2006-12-25 Thread Calvin Smith
Thanks for the response. That has fixed the problem. -Original Message- From: Doug Hardie [mailto:[EMAIL PROTECTED] Sent: Monday, December 25, 2006 2:09 PM To: [EMAIL PROTECTED] Subject: Re: Problems running dhclient on 6.1 On Dec 25, 2006, at 13:06, Calvin Smith wrote: I just

dhcpd with wi and base system dhclient stopped working

2006-11-13 Thread John Nielsen
I have a FreeBSD 6.x machine with an ath interface that serves as a wireless access point, dhcp server, router and gateway for my network. I have a FreeBSD 6.x laptop with an older wi interface that until recently was working just fine, using the base system dhclient. However, the other day

Dhclient crashes my laptop

2006-08-28 Thread Stremcha, Matthew
If I run dhclient wi0 the lights on the card go out, dhclient reports failure, and usually locks and reboots the machine. I am not sure what information you need, but here is what I have and what I have learned so far. I will gladly collect and post any info that may help. PCMCIA NIC card

dhclient in giant lock after a few days

2006-05-27 Thread Jorn Argelo
Hi all, My FreeBSD server at home is running natd and ipfw on 6.1-STABLE. So it's the router and firewall for me at home. However, after a few days the dhclient, used for obtaining an IP address from my ISP (and the FreeBSD box gets that external IP address) gets into the giant lock

dhclient: unknown dhcp option value 0x51

2006-05-13 Thread fxtl
After updating to FreeBSD 6.1, this error is logged in /var/log/messages every hour (every time dhclient runs, my ISP's DHCP lease time). After googling, it seems like the option 0x51 is Client FQDN, fully qualified domain name, but why is it an unknown option value to dhclient? How can I tell

Re: dhclient-exit-hooks

2006-05-04 Thread Daniel Bye
running rc under xtrace? (I have done this in the past, it spews forth a great deal of noise, but among the noise you may find what you are looking for.) This has nothing to do with my script code. This is how FreeBSD is handling the default dhclient-script that comes pre installed on the system

RE: dhclient-exit-hooks

2006-05-04 Thread fbsd
Today I installed the isc-dhcp-client package. It installs a completlly different dhclient-script. One that looks like it matchhes what your begin/exit scripts are designed to work with. # base version /etc/dhclient-exit-hooks /etc/dhclient-exit-hooks.sav /etc/dhclient.conf /sbin/dhclient /sbin

Help with isc-dhcp dhclient from port collection

2006-05-04 Thread fbsd
I installed the isc-dhcp-client port. I have this in my rc.conf dhcp_program=/usr/local/sbin/dhclient dhcp_flags=-q ifconfig_dc0=DHCP I get these error messages over and over. Have to reboot in single user mode to edit rc.conf to fix. Can't bind to dhcp address: Address already in use Please

Re: dhclient-exit-hooks

2006-05-04 Thread Daniel Bye
On Thu, May 04, 2006 at 10:41:05AM -0400, fbsd wrote: Today I installed the isc-dhcp-client package. 'K. Hope you have better luck. I have never used it, so don't know anything about it. I think this is another indicator of a bug with the base dhclient and that this bug makes the pkg

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Norbert Papke Sent: Tuesday, May 02, 2006 9:47 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Tuesday 02 May 2006 06:12, fbsd wrote: IF I execute the cat command to issue the notification email

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
: freebsd-questions@freebsd.org Subject: Re: dhclient-exit-hooks On Tuesday 02 May 2006 06:12, fbsd wrote: IF I execute the cat command to issue the notification email from the command line it works fine, but when used in the script I get these messages during boot process. I am

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
What goes in your_script_service? Is it suppose to be script name dhclient-exit-hooks? Is the # comment char to be removed? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Bye Sent: Wednesday, May 03, 2006 11:42 AM To: freebsd-questions@freebsd.org

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 12:17:00PM -0400, fbsd wrote: What goes in your_script_service? Is it suppose to be script name dhclient-exit-hooks? Yes. Sorry, hadn't been paying due attention, otherwise I would have put 'dhclient-exit-hooks' ;-) Is the # comment char to be removed? No - leave

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
Added this and still no joy. # PROVIDE: 'dhclient-exit-hooks' # REQUIRE: SERVERS As a side bar. This problem started in 6.0 I think. I only ran 5.4 for short time before going to 6.0 But I do know I did not have this problem in 3.x and 4.x versions. -Original Message- From: [EMAIL

Re: dhclient-exit-hooks

2006-05-03 Thread Atom Powers
On 5/3/06, fbsd [EMAIL PROTECTED] wrote: I changed #! /bin/sh to #!/bin/sh it had no effect. Logger command still not producing output. using sendmail to construct the email made no difference. Still get this message /libexec/ld-elf.so.1: Shared object libpcre.so.0 not found, required by

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 12:52:07PM -0400, fbsd wrote: Added this and still no joy. # PROVIDE: 'dhclient-exit-hooks' # REQUIRE: SERVERS I'm sure it won't fix the problem, but you shouldn't include the quotes around the term for # PROVIDE:. Also, I think the rcorder block needs a blank line

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
There is nothing to rebuild. I am using the built in dhclient that comes with the system. -Original Message- From: Atom Powers [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:05 PM To: [EMAIL PROTECTED] Cc: Norbert Papke; freebsd-questions@freebsd.org Subject: Re: dhclient-exit

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
On Wed, May 03, 2006 at 02:25:08PM -0400, fbsd wrote: There is nothing to rebuild. I am using the built in dhclient that comes with the system. But it's not dhclient that's emitting the error, is it? It's your MTA. (check in /etc/mail/mailer.conf, and you will see that send-mail is an alias

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
: link state changed to UP DHCPACK from 10.0.10.2 dc0: link state changed to DOWN bound to 10.0.10.4 -- renewal in 43200 seconds. and here is the dhclient-exit-hooks script #!/bin/sh # PROVIDE: dhclient-exit-hooks # REQUIRE: SERVERS ### Start of refresh dhcpd dns ip

Re: dhclient-exit-hooks

2006-05-03 Thread Daniel Bye
state changed to DOWN bound to 10.0.10.4 -- renewal in 43200 seconds. and here is the dhclient-exit-hooks script #!/bin/sh # PROVIDE: dhclient-exit-hooks # REQUIRE: SERVERS ### Start of refresh dhcpd dns ip # This script will propagate to dhcpd

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
and or when during the boot process the script is getting executed. This has nothing to do with my script code. This is how FreeBSD is handling the default dhclient-script that comes pre installed on the system. The recorder directives have made no difference. Please note I am not using the isc-dhcp port

Re: dhclient-exit-hooks

2006-05-03 Thread Duane Whitty
fbsd wrote: When this script runs the logger statements do not create any message in the targeted log files. IF I execute the same logger statements from the command line they work as expected. Hi, Forgive my ignorance if it turns out I'm totally off track here but do you need a line in

RE: dhclient-exit-hooks

2006-05-03 Thread fbsd
[mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 6:50 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] ORG Subject: Re: dhclient-exit-hooks fbsd wrote: When this script runs the logger statements do not create any message in the targeted log files. IF I execute the same logger statements from

dhclient-exit-hooks

2006-05-02 Thread fbsd
to /var/log/dhcpc.log to document event. logger -p user.warning -t dhclient Your ISP DNS IP addresses changed. # Write message to /var/log/dhcpd.log to document event. logger -p local1.warning -t dhclient Your ISP DNS IP addresses changed. # Send notification email to root user. This can wrap

Re: dhclient-exit-hooks

2006-05-02 Thread Norbert Papke
On Tuesday 02 May 2006 06:12, fbsd wrote: IF I execute the cat command to issue the notification email from the command line it works fine, but when used in the script I get these messages during boot process. I am running postfix launched by the sendmail wrappers on a FreeBSD 6.0 system.

man dhclient [was Re: resolv.conf getting rewritten at system startup]

2006-03-16 Thread Duane Whitty
)? 'man dhclient' should work fine. FBSD 6 uses the OpenBSD dhclient (which I believe derive from an older version of the ISC one.) Hi, Yes, man dhclient in FBSD 6 does work fine. I misinterpreted how to apply its instructions. Duane

Re: dhclient in 6.0

2006-03-08 Thread doug
key string deftxkey 1 From reading of the ifconfig man page I thought that was the default. Many thanks to Robert Watson for the right answer. I did not have a dhclient.conf in 5.3 or 6.0. In general - it may not be dhclient, you may need an addition module or some additional setting

Re: dhclient and bootpd on same system OK?

2006-02-14 Thread Lowell Gilbert
network is a FreeBSD (6-Stable). This FreeBSD PC runs dhclient to get its IP configuration. So far so good. All other PCs on the network are Windows PCs, but have a BIOS that allow Network boots. Therefore I would like to set up the possibility to boot these PCs as diskless boxes

dhclient and bootpd on same system OK?

2006-02-13 Thread Rob
). This FreeBSD PC runs dhclient to get its IP configuration. So far so good. All other PCs on the network are Windows PCs, but have a BIOS that allow Network boots. Therefore I would like to set up the possibility to boot these PCs as diskless boxes from the FreeBSD PC, using

Re: dhclient in 6.0

2006-02-06 Thread Erik Norgaard
make stuff up wrote: hi all.. this is new - just installed 6 and here: # dhclient fxp0 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 8

Re: dhclient in 6.0

2006-02-06 Thread Robert Huff
Erik Norgaard writes: - Do you use a dhclient.conf from your previous install? These are incompatible. The new dhclient is a port from OpenBSD who completely rewrote dhclient. The old is from ISC. I do not believe this to be correct - the part about incompatible config files

Re: dhclient in 6.0

2006-02-06 Thread Erik Norgaard
Robert Huff wrote: Erik Norgaard writes: - Do you use a dhclient.conf from your previous install? These are incompatible. The new dhclient is a port from OpenBSD who completely rewrote dhclient. The old is from ISC. I do not believe this to be correct - the part about

Re: dhclient in 6.0

2006-02-03 Thread make stuff up
hi all... again... i sent this message to general questions but nobody got excited about it. i just installed 6 on my t30 laptop. brand new. when trying dhclient i get: DHCPDISCOVER on fxp0 to 255.255.255.255 port 67 interval 5 this trys 6 times then this shows up: No DHCPOFFERS

Re: dhclient in 6.0

2006-02-03 Thread Marcin Jessa
On Fri, 3 Feb 2006 06:10:18 -0500 (EST) make stuff up [EMAIL PROTECTED] wrote: hi all... again... i sent this message to general questions but nobody got excited about it. i just installed 6 on my t30 laptop. brand new. when trying dhclient i get: DHCPDISCOVER on fxp0

Re: dhclient in 6.0

2006-02-03 Thread make stuff up
on the laptop and travel a lot i thought 6 has been out for a while now i mean stuff like dhclient is pretty basic.. thanks again... Cheers, Marcin. PS. [EMAIL PROTECTED] and freebsd-questions@freebsd.org is the same list. The first one has this name becouse of compatibility

Re: dhclient in 6.0

2006-02-03 Thread Cristiano Deana
2006/2/3, make stuff up [EMAIL PROTECTED]: thank you... does that mean back to 5.4 for now? Try install /usr/ports/net/isc-dhcp3-client/ -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/ ___ freebsd-questions@freebsd.org

Re: dhclient in 6.0

2006-02-03 Thread kalin mintchev
2006/2/3, make stuff up [EMAIL PROTECTED]: thank you... does that mean back to 5.4 for now? Try install /usr/ports/net/isc-dhcp3-client/ without a connection? -- Cris, member of G.U.F.I Italian FreeBSD User Group http://www.gufi.org/

Re: dhclient in 6.0

2006-02-03 Thread Alexey Karagodov
try install /usr/ports/net/isc-dhcp3-client and edit your rc.conf: dhclient_program=/usr/local/sbin/dhclient dhclient_flags= see manual for isc-dhcp3-client 2006/2/3, Frank Altpeter [EMAIL PROTECTED]: Hi there, kalin mintchev wrote on 2006-02-03 at 13:55:01 CET: 2006/2/3, make stuff up

Re: dhclient in 6.0

2006-02-03 Thread Marcin Jessa
On Fri, 3 Feb 2006 14:02:41 +0100 Frank Altpeter [EMAIL PROTECTED] wrote: Hi there, kalin mintchev wrote on 2006-02-03 at 13:55:01 CET: 2006/2/3, make stuff up [EMAIL PROTECTED]: thank you... does that mean back to 5.4 for now? Try install /usr/ports/net/isc-dhcp3-client/

  1   2   3   >