Re: dhclient in 6.0

2006-03-08 Thread doug
I had the same problem. Mine was with a wireless card, so my exact fix is 
probably not yours but this may point the way. I had to load a driver not 
autoloaded in 6.0 (wlan_wep.ko) and add an extra parm to the ifconfig:


   old: ifconfig wi0  wep wepkey key string
   new: ifconfig wi0 wep wepkey 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 on the ifconfig for your card. In my case I think I got an 
error about the missing module. I hope this helps.



DougD

On Thu, 2 Feb 2006, 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
..
and a few other intervals...

 so if the fxp0 is up and the dhcp server is up then whats wrong with
dhclient?...
 i'm actually writing from a machine on the same dhcp server...

 thanks...


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


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


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
..
 and a few other intervals...

  so if the fxp0 is up and the dhcp server is up then whats wrong with
dhclient?...
  i'm actually writing from a machine on the same dhcp server...


Hi there, I just read through this thread. I run dhclient on 6.0 with no 
problem at all. Normally, it will start sending a DHCPREQUEST then 
DHCPDISCOVER.


Some questions:

- 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.

- Have you tried to toggle timeout/retry in dhclient.conf?

- Can you sniff traffic on the NIC?

- Do you have any firewalling set? or did you forget to disable ipfw?
  I think that ipfw defaults to block everything, I'm not sure if that
  is new in 6.0.

Yes, I know the last two are somewhat basic stuff, but sometimes one 
just forget to check it.


Cheers, Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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, that is.  I am using my (ISC)
dhclient.conf unmodified under (OpenBSD) dhclient with (as far as I
know) no adverse results.  And I think I specificly remember the
announcement of the change explicitly saying most config files would
need no changes.


Robert Huff


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


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
incompatible config files, that is.  I am using my (ISC)
dhclient.conf unmodified under (OpenBSD) dhclient with (as far as I
know) no adverse results.  And I think I specificly remember the
announcement of the change explicitly saying most config files would
need no changes.


Ok, let me be more precise, there are options in the old ISC files that 
are not supported in the new and the new also introduces new options.
Of course, whenever possible it is advantageous to reuse keywords and 
meanings. I do not know if dhclient defaults to ignore the unknown or it 
chokes and dies.


Anyway, the problem may be solved by toggling with the dhclient.conf and 
OP does not mention any such thing nor it old files have been left from 
a previous install.


Sniffing on the interface (snort -vC -i fxp0) would give some good clues 
as to where the problem is, maybe no responses get back because the 
request is blocked? or no requests are sent at all?


I don't know if OP have reverted to 5.4 yet.

Cheers, Erik

--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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 received.
No working leases in present database - sleeping.

i run a tcpdump while requesting a lease and for every DHCPDISCOVER i get
this line:
2.  13 IP 0.0.0.0.68  255.255.255.255.67: UDP, length 300

then a line of:

mac.number  mac.number, Unknown Ethertype (0xb20e), length 61:

i'm typing this because i can't get the machine on line...

restarted tha laptop many times and the dhcp server too. the dhclinet on
another older laptop works fine with the same server...

i really need this solved  soon...  never seen it before... there is
nothing much on line about it. the same t30 laptop was working fine with
5.4...

thanks



   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
 ..
  and a few other intervals...

   so if the fxp0 is up and the dhcp server is up then whats wrong with
 dhclient?...
   i'm actually writing from a machine on the same dhcp server...

   thanks...


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





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


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 to 255.255.255.255 port 67 interval 5
 
 this trys 6 times then this shows up:
 
 No DHCPOFFERS received.
 No working leases in present database - sleeping.
 
 i run a tcpdump while requesting a lease and for every DHCPDISCOVER i
 get this line:
 2.  13 IP 0.0.0.0.68  255.255.255.255.67: UDP, length 300
 
 then a line of:
 
 mac.number  mac.number, Unknown Ethertype (0xb20e), length 61:
 
 i'm typing this because i can't get the machine on line...
 
 restarted tha laptop many times and the dhcp server too. the dhclinet
 on another older laptop works fine with the same server...
 
 i really need this solved  soon...  never seen it before... there
 is nothing much on line about it. the same t30 laptop was working
 fine with 5.4...
 
There was a change in DHCP between FreeBSD 5.x and 6.
I noticed the same behaviour with a couple of hw broadband routers.
AFAIR this was also reported back to the list, still no fix was
provided.

Cheers,
Marcin.


PS. [EMAIL PROTECTED] and freebsd-questions@freebsd.org is the same
list. The first one has this name becouse of compatibility with
former setup of mailing list names.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhclient in 6.0

2006-02-03 Thread make stuff up

 There was a change in DHCP between FreeBSD 5.x and 6.
 I noticed the same behaviour with a couple of hw broadband routers.
 AFAIR this was also reported back to the list, still no fix was
 provided.

  thank you...  does that mean back to 5.4 for now?
  this is the only system i have 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 with
 former setup of mailing list names.



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


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 mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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/
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]



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


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 [EMAIL PROTECTED]:
  
 thank you...  does that mean back to 5.4 for now?
  
   Try install /usr/ports/net/isc-dhcp3-client/
 
without a connection?

 try to manually ifconfig your fxp0 - this should work.


 Le deagh dhùraghd,

Frank Altpeter

 --
 *** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
 | I'm always ravenous when I'm about to take a long journey.
 |   Rygel - DNA Mad Scientist
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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

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/
  
without a connection?
 
 try to manually ifconfig your fxp0 - this should work.

Son't be silly. What if you dont know what IP you will get from the
lease? That's what working implementation of DHCP is for...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhclient in 6.0

2006-02-03 Thread kalin mintchev
 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

 ok..  this sounds reasonable...
 but how do i tell the dhcp server what number am i assigning to fxp0?
 now ifconfig shows exactly the same as on the other laptop except the IP
of course.

 route get 192.168.1.1 shows also the same output except expire is a
negative number. how do i make the dhcp sever aware of the IP i assigned
to fxp0?

  thanks




 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 [EMAIL PROTECTED]:
  
 thank you...  does that mean back to 5.4 for now?
  
   Try install /usr/ports/net/isc-dhcp3-client/
 
without a connection?

 try to manually ifconfig your fxp0 - this should work.


 Le deagh dhùraghd,

Frank Altpeter

 --
 *** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
 | I'm always ravenous when I'm about to take a long journey.
 |   Rygel - DNA Mad Scientist
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]




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


Re: dhclient in 6.0

2006-02-03 Thread kalin mintchev
 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

  ok..  this sounds reasonable...
  but how do i tell the dhcp server what number am i assigning to fxp0?
  now ifconfig shows exactly the same as on the other laptop except the IP
 of course.

  route get 192.168.1.1 shows also the same output except expire is a
 negative number. how do i make the dhcp sever aware of the IP i assigned
 to fxp0?

  anybody?!
  i lost too much time on this...  i mean it's dhclient its not even
trying to make RAID work...  sorry to say i'm going back to 5.4...
unless somebody has a quick workaround...

  thanks to the people that tried to help..

   thanks




 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 [EMAIL PROTECTED]:
  
 thank you...  does that mean back to 5.4 for now?
  
   Try install /usr/ports/net/isc-dhcp3-client/
 
without a connection?

 try to manually ifconfig your fxp0 - this should work.


 Le deagh dhùraghd,

Frank Altpeter

 --
 *** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
 | I'm always ravenous when I'm about to take a long journey.
 |   Rygel - DNA Mad Scientist
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]




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



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


Re: dhclient in 6.0

2006-02-03 Thread Duane Whitty

kalin mintchev wrote:

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


ok..  this sounds reasonable...
but how do i tell the dhcp server what number am i assigning to fxp0?
now ifconfig shows exactly the same as on the other laptop except the IP
of course.

route get 192.168.1.1 shows also the same output except expire is a
negative number. how do i make the dhcp sever aware of the IP i assigned
to fxp0?



  anybody?!
  i lost too much time on this...  i mean it's dhclient its not even
trying to make RAID work...  sorry to say i'm going back to 5.4...
unless somebody has a quick workaround...

  thanks to the people that tried to help..



 thanks





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 [EMAIL PROTECTED]:



 thank you...  does that mean back to 5.4 for now?


Try install /usr/ports/net/isc-dhcp3-client/


 without a connection?


try to manually ifconfig your fxp0 - this should work.


Le deagh dhùraghd,

  Frank Altpeter

--
*** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
| I'm always ravenous when I'm about to take a long journey.
|   Rygel - DNA Mad Scientist
___


Hi,

In 5.4 I had these a dhclient.conf that 
had these options:


option router-discovery 1
option perform-mask-discovery 1

It was the only way my notebook would 
get a dhcp address.  It seems I don't 
need these settings anylonger in 6.0 but 
maybe making them explicit will help 
your cause.


Hope this helps.

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


Re: dhclient in 6.0

2006-02-03 Thread make stuff up
 kalin mintchev wrote:
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

 ok..  this sounds reasonable...
 but how do i tell the dhcp server what number am i assigning to fxp0?
 now ifconfig shows exactly the same as on the other laptop except the
 IP
of course.

 route get 192.168.1.1 shows also the same output except expire is a
negative number. how do i make the dhcp sever aware of the IP i assigned
to fxp0?


   anybody?!
   i lost too much time on this...  i mean it's dhclient its not even
 trying to make RAID work...  sorry to say i'm going back to 5.4...
 unless somebody has a quick workaround...

   thanks to the people that tried to help..


  thanks




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 [EMAIL PROTECTED]:


  thank you...  does that mean back to 5.4 for now?

Try install /usr/ports/net/isc-dhcp3-client/

  without a connection?

try to manually ifconfig your fxp0 - this should work.


Le deagh dhùraghd,

   Frank Altpeter

--
*** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 ***
| I'm always ravenous when I'm about to take a long journey.
|   Rygel - DNA Mad Scientist
___

 Hi,

 In 5.4 I had these a dhclient.conf that
 had these options:

 option router-discovery 1
 option perform-mask-discovery 1

 It was the only way my notebook would
 get a dhcp address.  It seems I don't
 need these settings anylonger in 6.0 but
 maybe making them explicit will help
 your cause.

thanks Duane...  but there is something really screwed up with the
dhclient out of the box. i just tried reinstalling just vary basic system
and even at the configuration prompt to set up the fxp0 when i select dhcp
nothing happens...  so i'm going back to 5.4. if i have to spend 2 more
days on something as basic as dhclient. i mean i have to eat too...

thanks...

 Hope this helps.

 --Duane Whitty



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


dhclient in 6.0

2006-02-02 Thread make stuff up

  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
..
 and a few other intervals...

  so if the fxp0 is up and the dhcp server is up then whats wrong with
dhclient?...
  i'm actually writing from a machine on the same dhcp server...

  thanks...


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