Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Hakim Z. Singhji thusly...
>
> I reduced it either to ipfiltering or cable modem
 ^ ^ ^ ^
 ^ ^ ^ ^

If you do indeed have IPFilter enabled i doubt "ipfw show" would be
of much help (alone).  In that case, send output, to this list, of
following command too ...

  ipfstat -ionh


  - Parv

-- 

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


Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Hakim Z. Singhji
>You must really like the # symbol.

Actually what I realized is that these posts end up on google searches
and all sorts of places all across the web.  Since people maybe 
referencing these threads to help solve their problems I take little 
extra time to make sure that my posts are legible reads as well as 
I can make at the time and organized in a way to use at your terminal
if necessary.

>Have you tested basic network connectivity?

I installed FreeBSD on Tuesday Night and on monday I had Redhat 
running perfectly fine on the same network connection and cable.

I reduced it either to ipfiltering or cable modem (both likely candidates).

>Do you get all the proper lights on both your NIC and the cable modem?

Yes on dc0 I do, however I not familiar with the other two 3COM XL
txp0, txp1. But I'm trying to connect to dc0. 


-Original Message-
From: Bill Moran <[EMAIL PROTECTED]>
Sent: Aug 12, 2004 10:21 AM
To: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: DHCP and rc Questions For FreeBSD 4.10???

"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> Hi Bill,
> 
> >What is the output of "ipfw show"?
> 
> I dont know that command? Syntax???
> 
> #
> 
> [EMAIL PROTECTED] ipfw show
> 
> #

You must really like the # symbol.

> is that correct?

Yes, that's all you have to do.  Look at the rules that come back
to see what your current ruleset is.

> >You may do better to set:
> >firewall_enable="YES"
> >firewall_type="OPEN"
> 
> Ok I will...
> 
> I wrote to Earthlink and this is what they had to say:
> 
> >Earthlink: I suggest you reset the cable modem and then 
> >try connecting to the net.
> 
> >Earthlink:In order to fix this your cable modem needs to 
> >be reset. First shut down your computer and then disconnect 
> >the power from the cable modem for 1 to 3 minutes. This will 
> >reset the modem. Next, reconnect the power to the cable modem 
> >and turn on your computer. If this does not resolve the issue, 
> >please let us know so we can dig a little deeper.
> 
> What do you think of this???

I'll bet any amount of small pocket change that it's a scripted
answer they give out the first time you ask a question.  Have you
done it?  Cable modems can be flakey, and resetting them is
occasionally required.

Have you tested basic network connectivity?  Do you get all the
proper lights on both your NIC and the cable modem?  If there
are cable problems, you're going to waste a lot of time trying
to fix DHCP problems!

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com

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


Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Bill Moran
"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> Hi Bill,
> 
> >What is the output of "ipfw show"?
> 
> I dont know that command? Syntax???
> 
> #
> 
> [EMAIL PROTECTED] ipfw show
> 
> #

You must really like the # symbol.

> is that correct?

Yes, that's all you have to do.  Look at the rules that come back
to see what your current ruleset is.

> >You may do better to set:
> >firewall_enable="YES"
> >firewall_type="OPEN"
> 
> Ok I will...
> 
> I wrote to Earthlink and this is what they had to say:
> 
> >Earthlink: I suggest you reset the cable modem and then 
> >try connecting to the net.
> 
> >Earthlink:In order to fix this your cable modem needs to 
> >be reset. First shut down your computer and then disconnect 
> >the power from the cable modem for 1 to 3 minutes. This will 
> >reset the modem. Next, reconnect the power to the cable modem 
> >and turn on your computer. If this does not resolve the issue, 
> >please let us know so we can dig a little deeper.
> 
> What do you think of this???

I'll bet any amount of small pocket change that it's a scripted
answer they give out the first time you ask a question.  Have you
done it?  Cable modems can be flakey, and resetting them is
occasionally required.

Have you tested basic network connectivity?  Do you get all the
proper lights on both your NIC and the cable modem?  If there
are cable problems, you're going to waste a lot of time trying
to fix DHCP problems!

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Hakim Z. Singhji
Hi Bill,

>What is the output of "ipfw show"?

I dont know that command? Syntax???

#

[EMAIL PROTECTED] ipfw show

#

is that correct?

>You may do better to set:
>firewall_enable="YES"
>firewall_type="OPEN"

Ok I will...

I wrote to Earthlink and this is what they had to say:

>Earthlink: I suggest you reset the cable modem and then 
>try connecting to the net.

>Earthlink:In order to fix this your cable modem needs to 
>be reset. First shut down your computer and then disconnect 
>the power from the cable modem for 1 to 3 minutes. This will 
>reset the modem. Next, reconnect the power to the cable modem 
>and turn on your computer. If this does not resolve the issue, 
>please let us know so we can dig a little deeper.

What do you think of this???



-Original Message-
From: Bill Moran <[EMAIL PROTECTED]>
Sent: Aug 12, 2004 12:29 PM
To: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: DHCP and rc Questions For FreeBSD 4.10???

"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> >Who manages your DHCP server?  The config I described has worked in
> >every configuration I've ever dealt with (and that's quite a few) so
> >there is definately something external causing the problem.
> 
> I have an Earthlink Highspeed Cable account w/ DHCP Server
> 
> >Did you install a packet filter when you set this box up?  
> 
> Yes, however I turned firewall to [firewall_enable="NO"] and commented
> all firewall entries in the rc.conf file.

What is the output of "ipfw show"?

You may do better to set:
firewall_enable="YES"
firewall_type="OPEN"

> >If you don't have a DHCP _server_ on your network, then the DHCP _client_
> >will not be able to to its job.
> 
> Earthlink should provide a DHCP server, when I had my standalone redhat 
> box it was configured and I was also receiving DNS as well through earthlink.
> 
> 
> What do you suggest I do?
> 
> -Original Message-
> From: Bill Moran <[EMAIL PROTECTED]>
> Sent: Aug 12, 2004 11:45 AM
> To: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: DHCP and rc Questions For FreeBSD 4.10???
> 
> "Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> > Bill & FreeBSD-Questions,
> > 
> > This configuration is not as intuitive as I thought it would be. 
> > In /etc/rc.conf I added the following strings:
> > 
> > 
> > network_interfaces="lo0 dc0"
> > ifconfig_dc0="DHCP"
> > 
> > 
> > "Then I deleted the entries in dhclient.conf and relied on the
> > default. I started the daemon by [dhclient dc0] and it 
> > seemed to be processing.  However, that was all that 
> > happened. When I [ifconfig dc0] I get this return:"
> > 
> > #
> > [EMAIL PROTECTED] ifconfig dc0
> > dc0 flags = 8843 > MULTICAST> MTU 1500
> > inet6 fe:80::2c0:f0ff:fe79:4ab7%dc0 prefixlen 64 scopeid 0x1
> > inet 0.0.0.0 net mask 0xff00 broadcast 255.255.255.255
> > ether 00:01:02:c3:40:1a
> > media Ethernet auto select (100base)
> > status: active
> > ###
> > 
> > "Then I tried to ping a host..."
> 
> You've gone too far ... there's not use trying to ping anything if you
> obviously didn't get a DHCP address.
> 
> Who manages your DHCP server?  The config I described has worked in
> every configuration I've ever dealt with (and that's quite a few) so
> there is definately something external causing the problem.
> 
> Did you install a packet filter when you set this box up?  Look through
> /etc/rc.conf for anything related to "firewall".  Turn off all firewall
> rules while you're setting things up.  Once it works, you can start
> turning security stuff like that back on.
> 
> > I was reading Greg Lehey's book "The Complete 
> > FreeBSD" which happens to have more information on
> > DHCP,DNS, BIND than "Absolute BSD" by Michael Lucas and 
> > Greg says that in order for dhcp to work you must start dhcpd,
> > am I reading this correctly. I assumed that dhcpd would provide 
> > DHCP for the private network (in my case), I did not think that
> > my default gateway would rely on dhcpd in order to function.
> 
> DHCP only works if there is a DHCP server.  DO NOT run more than 1
> DHPC server on a single network or everything is likely to go to hell.
> 

Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Bill Moran
"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> >Who manages your DHCP server?  The config I described has worked in
> >every configuration I've ever dealt with (and that's quite a few) so
> >there is definately something external causing the problem.
> 
> I have an Earthlink Highspeed Cable account w/ DHCP Server
> 
> >Did you install a packet filter when you set this box up?  
> 
> Yes, however I turned firewall to [firewall_enable="NO"] and commented
> all firewall entries in the rc.conf file.

What is the output of "ipfw show"?

You may do better to set:
firewall_enable="YES"
firewall_type="OPEN"

> >If you don't have a DHCP _server_ on your network, then the DHCP _client_
> >will not be able to to its job.
> 
> Earthlink should provide a DHCP server, when I had my standalone redhat 
> box it was configured and I was also receiving DNS as well through earthlink.
> 
> 
> What do you suggest I do?
> 
> -Original Message-
> From: Bill Moran <[EMAIL PROTECTED]>
> Sent: Aug 12, 2004 11:45 AM
> To: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: DHCP and rc Questions For FreeBSD 4.10???
> 
> "Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> > Bill & FreeBSD-Questions,
> > 
> > This configuration is not as intuitive as I thought it would be. 
> > In /etc/rc.conf I added the following strings:
> > 
> > 
> > network_interfaces="lo0 dc0"
> > ifconfig_dc0="DHCP"
> > 
> > 
> > "Then I deleted the entries in dhclient.conf and relied on the
> > default. I started the daemon by [dhclient dc0] and it 
> > seemed to be processing.  However, that was all that 
> > happened. When I [ifconfig dc0] I get this return:"
> > 
> > #
> > [EMAIL PROTECTED] ifconfig dc0
> > dc0 flags = 8843 > MULTICAST> MTU 1500
> > inet6 fe:80::2c0:f0ff:fe79:4ab7%dc0 prefixlen 64 scopeid 0x1
> > inet 0.0.0.0 net mask 0xff00 broadcast 255.255.255.255
> > ether 00:01:02:c3:40:1a
> > media Ethernet auto select (100base)
> > status: active
> > ###
> > 
> > "Then I tried to ping a host..."
> 
> You've gone too far ... there's not use trying to ping anything if you
> obviously didn't get a DHCP address.
> 
> Who manages your DHCP server?  The config I described has worked in
> every configuration I've ever dealt with (and that's quite a few) so
> there is definately something external causing the problem.
> 
> Did you install a packet filter when you set this box up?  Look through
> /etc/rc.conf for anything related to "firewall".  Turn off all firewall
> rules while you're setting things up.  Once it works, you can start
> turning security stuff like that back on.
> 
> > I was reading Greg Lehey's book "The Complete 
> > FreeBSD" which happens to have more information on
> > DHCP,DNS, BIND than "Absolute BSD" by Michael Lucas and 
> > Greg says that in order for dhcp to work you must start dhcpd,
> > am I reading this correctly. I assumed that dhcpd would provide 
> > DHCP for the private network (in my case), I did not think that
> > my default gateway would rely on dhcpd in order to function.
> 
> DHCP only works if there is a DHCP server.  DO NOT run more than 1
> DHPC server on a single network or everything is likely to go to hell.
> 
> Most cheesy "internet routers" that people buy include a DHCP server.
> 
> If you provide more information about what your network setup is, we
> can tell you whether you need a DHCP server or not.  But the simple
> answer is: DHCP won't work unless there is a DHCP server somewhere.
> 
> > Now I have 2 questions:
> > *must I configure dhcpd now?
> 
> Maybe not.  Does the network you're plugging in to require DHCP?
> 
> > *must I configure dns (resolv.conf, named, etc.)?
> 
> No.  If you don't mind using IP addresses for everything.  If you want
> to be able to use hostnames (such as www.yahoo.com) then you need DNS.
> 
> > *does DHCP rely on the two configurations list above to data?
> 
> Huh?
> 
> The two lines I provided are enough to configure FreeBSD to be a DHCP
> _client_.  Any additional configuration is just tweaking its behaviour
> and and is almost never required.
> 
> If you don't have a DHCP _server_ on your network, then the DHCP _client_
> will not be able to to its job

Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Hakim Z. Singhji
>Who manages your DHCP server?  The config I described has worked in
>every configuration I've ever dealt with (and that's quite a few) so
>there is definately something external causing the problem.

I have an Earthlink Highspeed Cable account w/ DHCP Server

>Did you install a packet filter when you set this box up?  

Yes, however I turned firewall to [firewall_enable="NO"] and commented
all firewall entries in the rc.conf file.

>If you don't have a DHCP _server_ on your network, then the DHCP _client_
>will not be able to to its job.

Earthlink should provide a DHCP server, when I had my standalone redhat 
box it was configured and I was also receiving DNS as well through earthlink.


What do you suggest I do?

-Original Message-
From: Bill Moran <[EMAIL PROTECTED]>
Sent: Aug 12, 2004 11:45 AM
To: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: DHCP and rc Questions For FreeBSD 4.10???

"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> Bill & FreeBSD-Questions,
> 
> This configuration is not as intuitive as I thought it would be. 
> In /etc/rc.conf I added the following strings:
> 
> 
> network_interfaces="lo0 dc0"
> ifconfig_dc0="DHCP"
> 
> 
> "Then I deleted the entries in dhclient.conf and relied on the
> default. I started the daemon by [dhclient dc0] and it 
> seemed to be processing.  However, that was all that 
> happened. When I [ifconfig dc0] I get this return:"
> 
> #
> [EMAIL PROTECTED] ifconfig dc0
> dc0 flags = 8843 MULTICAST> MTU 1500
> inet6 fe:80::2c0:f0ff:fe79:4ab7%dc0 prefixlen 64 scopeid 0x1
> inet 0.0.0.0 net mask 0xff00 broadcast 255.255.255.255
> ether 00:01:02:c3:40:1a
> media Ethernet auto select (100base)
> status: active
> ###
> 
> "Then I tried to ping a host..."

You've gone too far ... there's not use trying to ping anything if you
obviously didn't get a DHCP address.

Who manages your DHCP server?  The config I described has worked in
every configuration I've ever dealt with (and that's quite a few) so
there is definately something external causing the problem.

Did you install a packet filter when you set this box up?  Look through
/etc/rc.conf for anything related to "firewall".  Turn off all firewall
rules while you're setting things up.  Once it works, you can start
turning security stuff like that back on.

> I was reading Greg Lehey's book "The Complete 
> FreeBSD" which happens to have more information on
> DHCP,DNS, BIND than "Absolute BSD" by Michael Lucas and 
> Greg says that in order for dhcp to work you must start dhcpd,
> am I reading this correctly. I assumed that dhcpd would provide 
> DHCP for the private network (in my case), I did not think that
> my default gateway would rely on dhcpd in order to function.

DHCP only works if there is a DHCP server.  DO NOT run more than 1
DHPC server on a single network or everything is likely to go to hell.

Most cheesy "internet routers" that people buy include a DHCP server.

If you provide more information about what your network setup is, we
can tell you whether you need a DHCP server or not.  But the simple
answer is: DHCP won't work unless there is a DHCP server somewhere.

> Now I have 2 questions:
> *must I configure dhcpd now?

Maybe not.  Does the network you're plugging in to require DHCP?

> *must I configure dns (resolv.conf, named, etc.)?

No.  If you don't mind using IP addresses for everything.  If you want
to be able to use hostnames (such as www.yahoo.com) then you need DNS.

> *does DHCP rely on the two configurations list above to data?

Huh?

The two lines I provided are enough to configure FreeBSD to be a DHCP
_client_.  Any additional configuration is just tweaking its behaviour
and and is almost never required.

If you don't have a DHCP _server_ on your network, then the DHCP _client_
will not be able to to its job.

If you have a very small network (how many computers are here anyway?)
a DHCP server is probably more work than it's worth.

If you are plugged into a larger network (such a the Internet through an
ISP) then either a) your ISP's DHCP isn't working right or b) your ISP
isn't using DHCP or c) your ISP is doing something to enforce security,
such as registering MAC addresses, and you aren't registered correctly
or d) something bizaar that I've never seen before.

Again, if you could provide some information on how you're trying to set
things up, we could provide less general answers.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com

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


Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Bill Moran
"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> Bill & FreeBSD-Questions,
> 
> This configuration is not as intuitive as I thought it would be. 
> In /etc/rc.conf I added the following strings:
> 
> 
> network_interfaces="lo0 dc0"
> ifconfig_dc0="DHCP"
> 
> 
> "Then I deleted the entries in dhclient.conf and relied on the
> default. I started the daemon by [dhclient dc0] and it 
> seemed to be processing.  However, that was all that 
> happened. When I [ifconfig dc0] I get this return:"
> 
> #
> [EMAIL PROTECTED] ifconfig dc0
> dc0 flags = 8843 MULTICAST> MTU 1500
> inet6 fe:80::2c0:f0ff:fe79:4ab7%dc0 prefixlen 64 scopeid 0x1
> inet 0.0.0.0 net mask 0xff00 broadcast 255.255.255.255
> ether 00:01:02:c3:40:1a
> media Ethernet auto select (100base)
> status: active
> ###
> 
> "Then I tried to ping a host..."

You've gone too far ... there's not use trying to ping anything if you
obviously didn't get a DHCP address.

Who manages your DHCP server?  The config I described has worked in
every configuration I've ever dealt with (and that's quite a few) so
there is definately something external causing the problem.

Did you install a packet filter when you set this box up?  Look through
/etc/rc.conf for anything related to "firewall".  Turn off all firewall
rules while you're setting things up.  Once it works, you can start
turning security stuff like that back on.

> I was reading Greg Lehey's book "The Complete 
> FreeBSD" which happens to have more information on
> DHCP,DNS, BIND than "Absolute BSD" by Michael Lucas and 
> Greg says that in order for dhcp to work you must start dhcpd,
> am I reading this correctly. I assumed that dhcpd would provide 
> DHCP for the private network (in my case), I did not think that
> my default gateway would rely on dhcpd in order to function.

DHCP only works if there is a DHCP server.  DO NOT run more than 1
DHPC server on a single network or everything is likely to go to hell.

Most cheesy "internet routers" that people buy include a DHCP server.

If you provide more information about what your network setup is, we
can tell you whether you need a DHCP server or not.  But the simple
answer is: DHCP won't work unless there is a DHCP server somewhere.

> Now I have 2 questions:
> *must I configure dhcpd now?

Maybe not.  Does the network you're plugging in to require DHCP?

> *must I configure dns (resolv.conf, named, etc.)?

No.  If you don't mind using IP addresses for everything.  If you want
to be able to use hostnames (such as www.yahoo.com) then you need DNS.

> *does DHCP rely on the two configurations list above to data?

Huh?

The two lines I provided are enough to configure FreeBSD to be a DHCP
_client_.  Any additional configuration is just tweaking its behaviour
and and is almost never required.

If you don't have a DHCP _server_ on your network, then the DHCP _client_
will not be able to to its job.

If you have a very small network (how many computers are here anyway?)
a DHCP server is probably more work than it's worth.

If you are plugged into a larger network (such a the Internet through an
ISP) then either a) your ISP's DHCP isn't working right or b) your ISP
isn't using DHCP or c) your ISP is doing something to enforce security,
such as registering MAC addresses, and you aren't registered correctly
or d) something bizaar that I've never seen before.

Again, if you could provide some information on how you're trying to set
things up, we could provide less general answers.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-12 Thread Hakim Z. Singhji
Bill & FreeBSD-Questions,

This configuration is not as intuitive as I thought it would be. 
In /etc/rc.conf I added the following strings:


network_interfaces="lo0 dc0"
ifconfig_dc0="DHCP"


"Then I deleted the entries in dhclient.conf and relied on the
default. I started the daemon by [dhclient dc0] and it 
seemed to be processing.  However, that was all that 
happened. When I [ifconfig dc0] I get this return:"

#
[EMAIL PROTECTED] ifconfig dc0
dc0 flags = 8843 MTU 1500
inet6 fe:80::2c0:f0ff:fe79:4ab7%dc0 prefixlen 64 scopeid 0x1
inet 0.0.0.0 net mask 0xff00 broadcast 255.255.255.255
ether 00:01:02:c3:40:1a
media Ethernet auto select (100base)
status: active
###

"Then I tried to ping a host..."

###

[EMAIL PROTECTED] ping www.yahoo.com
[EMAIL PROTECTED] ping 24.199.105.1
[EMAIL PROTECTED] ping www.absolutebsd.org

Ping: Cannot resolve www.yahoo.com 
hostname lookup failure, etc.
###

"However somehow when I run a report the system
indicates that UDP packets are being transmitted but the 
statistics are highly skewed at a rate of 
11290 IKPTS : 38 OPKTS"

I was reading Greg Lehey's book "The Complete 
FreeBSD" which happens to have more information on
DHCP,DNS, BIND than "Absolute BSD" by Michael Lucas and 
Greg says that in order for dhcp to work you must start dhcpd,
am I reading this correctly. I assumed that dhcpd would provide 
DHCP for the private network (in my case), I did not think that
my default gateway would rely on dhcpd in order to function.

Now I have 2 questions:
*must I configure dhcpd now?
*must I configure dns (resolv.conf, named, etc.)?
*does DHCP rely on the two configurations list above to data?

Thank you in advance for your help?

HZS
-Original Message-
From: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
Sent: Aug 11, 2004 12:32 PM
To: Bill Moran <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: DHCP and rc Questions For FreeBSD 4.10???

Alright, thank you Bill...I will let you know how I fair.

Cheers

-Original Message-
From: Bill Moran <[EMAIL PROTECTED]>
Sent: Aug 11, 2004 9:25 AM
To: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: DHCP and rc Questions For FreeBSD 4.10???

Wrap your likes around 72 characters.

All you need in /etc/rc.conf is:
network_interfaces="lo0 dc0"
ifconfig_dc0="DHCP"

Everything else you added is just re-affirming the default values.


"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> I've been researching this issue although it may be minor I don't like to rely on 
> the "[EMAIL PROTECTED]" unless I have to. I'm sure you understand...anyway, 
> http:www.freebsddiary.com has a tutorial that with info I could not find in "The 
> Complete FreeBSD" or "Absolute BSD". It described two entries; one in dhclient.conf 
> and the other in rc.conf.  See Below:
> 
> ###
> dhclient.conf
> ###
> interface "dc0"{
> send host-name "redgate";
> request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name, 
> time-servers;
> require domain-name-servers;
> 
> ###
> rc.conf
> ###
> ifconfig_dc0="DHCP" #IS THIS VARIABLE DECLARATION CASE SENSITIVE???
> hostname="redgate"
> 
> ###
> 
> The question I have now is if this is all I have to do to get dhcp running at 
> startup? I anyone else has any suggestions they are welcome. Unfortunately I cannot 
> test this until the evening so feedback will be very helpful and will save me some 
> time researching.  Thanks in advance.
> 
> -Original Message-
> From: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
> Sent: Aug 11, 2004 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: DHCP and rc Questions For FreeBSD 4.10???
> 
> Hi All,
> 
> I have installed FreeBSD 4.10 to serve as a headless gateway/router/firewall/NAT. 
> The first problem that I have run into can probably be resolved easily. I tried to 
> configure my NIC card via sysinstaller.  However, rc.conf does not have a startup 
> variable for "dc0". Therefore dhclient is inoperable.
> 
> I built this box to be headless therefore it is low-tech with no floppy or flash 
> drive and is currently a stand-alone machine so I am not able to copy the rc.conf 
> file to this post. "dc0" is working because I can bring its status to active 
> manually: '[EMAIL PR

Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-11 Thread Hakim Z. Singhji
Alright, thank you Bill...I will let you know how I fair.

Cheers

-Original Message-
From: Bill Moran <[EMAIL PROTECTED]>
Sent: Aug 11, 2004 9:25 AM
To: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: DHCP and rc Questions For FreeBSD 4.10???

Wrap your likes around 72 characters.

All you need in /etc/rc.conf is:
network_interfaces="lo0 dc0"
ifconfig_dc0="DHCP"

Everything else you added is just re-affirming the default values.


"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> I've been researching this issue although it may be minor I don't like to rely on 
> the "[EMAIL PROTECTED]" unless I have to. I'm sure you understand...anyway, 
> http:www.freebsddiary.com has a tutorial that with info I could not find in "The 
> Complete FreeBSD" or "Absolute BSD". It described two entries; one in dhclient.conf 
> and the other in rc.conf.  See Below:
> 
> ###
> dhclient.conf
> ###
> interface "dc0"{
> send host-name "redgate";
> request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name, 
> time-servers;
> require domain-name-servers;
> 
> ###
> rc.conf
> ###
> ifconfig_dc0="DHCP" #IS THIS VARIABLE DECLARATION CASE SENSITIVE???
> hostname="redgate"
> 
> ###
> 
> The question I have now is if this is all I have to do to get dhcp running at 
> startup? I anyone else has any suggestions they are welcome. Unfortunately I cannot 
> test this until the evening so feedback will be very helpful and will save me some 
> time researching.  Thanks in advance.
> 
> -Original Message-
> From: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
> Sent: Aug 11, 2004 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: DHCP and rc Questions For FreeBSD 4.10???
> 
> Hi All,
> 
> I have installed FreeBSD 4.10 to serve as a headless gateway/router/firewall/NAT. 
> The first problem that I have run into can probably be resolved easily. I tried to 
> configure my NIC card via sysinstaller.  However, rc.conf does not have a startup 
> variable for "dc0". Therefore dhclient is inoperable.
> 
> I built this box to be headless therefore it is low-tech with no floppy or flash 
> drive and is currently a stand-alone machine so I am not able to copy the rc.conf 
> file to this post. "dc0" is working because I can bring its status to active 
> manually: '[EMAIL PROTECTED] ifconfig dc0 ether up'.
> 
> I was wondering what what variables should be assigned to rc.conf, the related 
> variables I have thus far are:
> 
> ##
> ifconfig_dc0="dhcp"
> dhcp_program="/sbin/dhclient"
> dhcp_flags=" "
> ##
> 
> It would be appreciated if someone could attach or copy an rc.conf file for a 
> similar system configuration. Thanks in advance.
> 
> HZS
> 
> ___
> [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]"


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com

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


Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-11 Thread Bill Moran
Wrap your likes around 72 characters.

All you need in /etc/rc.conf is:
network_interfaces="lo0 dc0"
ifconfig_dc0="DHCP"

Everything else you added is just re-affirming the default values.


"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> I've been researching this issue although it may be minor I don't like to rely on 
> the "[EMAIL PROTECTED]" unless I have to. I'm sure you understand...anyway, 
> http:www.freebsddiary.com has a tutorial that with info I could not find in "The 
> Complete FreeBSD" or "Absolute BSD". It described two entries; one in dhclient.conf 
> and the other in rc.conf.  See Below:
> 
> ###
> dhclient.conf
> ###
> interface "dc0"{
> send host-name "redgate";
> request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name, 
> time-servers;
> require domain-name-servers;
> 
> ###
> rc.conf
> ###
> ifconfig_dc0="DHCP" #IS THIS VARIABLE DECLARATION CASE SENSITIVE???
> hostname="redgate"
> 
> ###
> 
> The question I have now is if this is all I have to do to get dhcp running at 
> startup? I anyone else has any suggestions they are welcome. Unfortunately I cannot 
> test this until the evening so feedback will be very helpful and will save me some 
> time researching.  Thanks in advance.
> 
> -Original Message-
> From: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
> Sent: Aug 11, 2004 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: DHCP and rc Questions For FreeBSD 4.10???
> 
> Hi All,
> 
> I have installed FreeBSD 4.10 to serve as a headless gateway/router/firewall/NAT. 
> The first problem that I have run into can probably be resolved easily. I tried to 
> configure my NIC card via sysinstaller.  However, rc.conf does not have a startup 
> variable for "dc0". Therefore dhclient is inoperable.
> 
> I built this box to be headless therefore it is low-tech with no floppy or flash 
> drive and is currently a stand-alone machine so I am not able to copy the rc.conf 
> file to this post. "dc0" is working because I can bring its status to active 
> manually: '[EMAIL PROTECTED] ifconfig dc0 ether up'.
> 
> I was wondering what what variables should be assigned to rc.conf, the related 
> variables I have thus far are:
> 
> ##
> ifconfig_dc0="dhcp"
> dhcp_program="/sbin/dhclient"
> dhcp_flags=" "
> ##
> 
> It would be appreciated if someone could attach or copy an rc.conf file for a 
> similar system configuration. Thanks in advance.
> 
> HZS
> 
> ___
> [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]"


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DHCP and rc Questions For FreeBSD 4.10???

2004-08-11 Thread Hakim Z. Singhji
Hi All,

I've been researching this issue although it may be minor I don't like to rely on the 
"[EMAIL PROTECTED]" unless I have to. I'm sure you understand...anyway, 
http:www.freebsddiary.com has a tutorial that with info I could not find in "The 
Complete FreeBSD" or "Absolute BSD". It described two entries; one in dhclient.conf 
and the other in rc.conf.  See Below:

###
dhclient.conf
###
interface "dc0"{
send host-name "redgate";
request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name, 
time-servers;
require domain-name-servers;

###
rc.conf
###
ifconfig_dc0="DHCP" #IS THIS VARIABLE DECLARATION CASE SENSITIVE???
hostname="redgate"

###

The question I have now is if this is all I have to do to get dhcp running at startup? 
I anyone else has any suggestions they are welcome. Unfortunately I cannot test this 
until the evening so feedback will be very helpful and will save me some time 
researching.  Thanks in advance.

-Original Message-
From: "Hakim Z. Singhji" <[EMAIL PROTECTED]>
Sent: Aug 11, 2004 11:24 AM
To: [EMAIL PROTECTED]
Subject: DHCP and rc Questions For FreeBSD 4.10???

Hi All,

I have installed FreeBSD 4.10 to serve as a headless gateway/router/firewall/NAT. The 
first problem that I have run into can probably be resolved easily. I tried to 
configure my NIC card via sysinstaller.  However, rc.conf does not have a startup 
variable for "dc0". Therefore dhclient is inoperable.

I built this box to be headless therefore it is low-tech with no floppy or flash drive 
and is currently a stand-alone machine so I am not able to copy the rc.conf file to 
this post. "dc0" is working because I can bring its status to active manually: '[EMAIL 
PROTECTED] ifconfig dc0 ether up'.

I was wondering what what variables should be assigned to rc.conf, the related 
variables I have thus far are:

##
ifconfig_dc0="dhcp"
dhcp_program="/sbin/dhclient"
dhcp_flags=" "
##

It would be appreciated if someone could attach or copy an rc.conf file for a similar 
system configuration. Thanks in advance.

HZS

___
[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]"