Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Ricardo Jesus

"Remorque" wrote:

On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus
wrote:


manish jain wrote:


Hi all,

I have a dual boot system (FreeBSD 7.1 + Windows 2000).

I am trying out FreeBSD for the first time with an ISP who runs a DHCP
server. Until the times of static addresses, everything was so simple in
FreeBSD. Now I am forced to ask for help because the ISP is willing to help
only for Windows. And indeed my Windows 2000 is sailing the internet
smoothly enough, so I can't really blame him.

I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to
configure rl0, it asks me whether I want to use DHCP. When I say yes, it
still gives me the same form to fill out as it does for static IP addresses.
I don't have any idea how to fill out this form when DHCP is being used.

Please note that on Windows, the following are enabled :
1) Obtain an IP address automatically
2) Obtain DNS server address automatically

Everything else (IP address/Default dateway/etc) is greyed out. Can anyone
please tell me how to get my FreeBSD system up on DHCP. The only other piece
of information I can provide is the hostname I have been using so far :
unxfbsdi.freebsd.localdomain

Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
freebsd-questions-unsubscr...@freebsd.org"

 I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg

| less to confirm this.

To display the current configuration for the network interfaces on your
system run:
% ifconfig

You need to edit rc.conf and add the following to have the network card
configured at boot time:
ifconfig_re0="DHCP"

To configure the card from the command line simply run:
# ifconfig re0 dhcp



I would do:

dhclient re0

Is the behaviour the same?



I guess so.

If rc.conf is set up with the line ifconfig_rl0="DHCP" then it is no 
need to run the dhclient command manually.


For 8139D the correct driver is rl as Michael Powell pointed out in his 
reply.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread "Remorque"
On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus
wrote:

> manish jain wrote:
>
>>
>> Hi all,
>>
>> I have a dual boot system (FreeBSD 7.1 + Windows 2000).
>>
>> I am trying out FreeBSD for the first time with an ISP who runs a DHCP
>> server. Until the times of static addresses, everything was so simple in
>> FreeBSD. Now I am forced to ask for help because the ISP is willing to help
>> only for Windows. And indeed my Windows 2000 is sailing the internet
>> smoothly enough, so I can't really blame him.
>>
>> I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to
>> configure rl0, it asks me whether I want to use DHCP. When I say yes, it
>> still gives me the same form to fill out as it does for static IP addresses.
>> I don't have any idea how to fill out this form when DHCP is being used.
>>
>> Please note that on Windows, the following are enabled :
>> 1) Obtain an IP address automatically
>> 2) Obtain DNS server address automatically
>>
>> Everything else (IP address/Default dateway/etc) is greyed out. Can anyone
>> please tell me how to get my FreeBSD system up on DHCP. The only other piece
>> of information I can provide is the hostname I have been using so far :
>> unxfbsdi.freebsd.localdomain
>>
>> Thanks in advance for any help.
>>
>> Regards
>> Manish Jain
>> invalid.poin...@gmail.com
>>
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscr...@freebsd.org"
>>
>>  I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg
> | less to confirm this.
>
> To display the current configuration for the network interfaces on your
> system run:
> % ifconfig
>
> You need to edit rc.conf and add the following to have the network card
> configured at boot time:
> ifconfig_re0="DHCP"
>
> To configure the card from the command line simply run:
> # ifconfig re0 dhcp


I would do:

dhclient re0

Is the behaviour the same?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"The only time a woman really succeeds in changing a man is when he is a
baby."
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Michael Powell
manish jain wrote:

> 
> Hi all,
> 
> I have a dual boot system (FreeBSD 7.1 + Windows 2000).
> 
> I am trying out FreeBSD for the first time with an ISP who runs a DHCP
> server. Until the times of static addresses, everything was so simple in
> FreeBSD. Now I am forced to ask for help because the ISP is willing to
> help only for Windows. And indeed my Windows 2000 is sailing the
> internet smoothly enough, so I can't really blame him.
> 
> I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall
> to configure rl0, it asks me whether I want to use DHCP. When I say yes,
> it still gives me the same form to fill out as it does for static IP
> addresses. I don't have any idea how to fill out this form when DHCP is
> being used.
> 
> Please note that on Windows, the following are enabled :
> 1) Obtain an IP address automatically
> 2) Obtain DNS server address automatically
> 
> Everything else (IP address/Default dateway/etc) is greyed out. Can
> anyone please tell me how to get my FreeBSD system up on DHCP. The only
> other piece of information I can provide is the hostname I have been
> using so far : unxfbsdi.freebsd.localdomain
> 
> Thanks in advance for any help.
> 
> Regards
> Manish Jain
> invalid.poin...@gmail.com
> 

Try placing in /etc/rc.conf with an editor such as vi and reboot:

network_interfaces="AUTO"
ifconfig_rl0="DHCP"

If you're exceedingly lucky that will get you started.

-Mike




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Ricardo Jesus

manish jain wrote:


Hi all,

I have a dual boot system (FreeBSD 7.1 + Windows 2000).

I am trying out FreeBSD for the first time with an ISP who runs a DHCP 
server. Until the times of static addresses, everything was so simple in 
FreeBSD. Now I am forced to ask for help because the ISP is willing to 
help only for Windows. And indeed my Windows 2000 is sailing the 
internet smoothly enough, so I can't really blame him.


I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall 
to configure rl0, it asks me whether I want to use DHCP. When I say yes, 
it still gives me the same form to fill out as it does for static IP 
addresses. I don't have any idea how to fill out this form when DHCP is 
being used.


Please note that on Windows, the following are enabled :
1) Obtain an IP address automatically
2) Obtain DNS server address automatically

Everything else (IP address/Default dateway/etc) is greyed out. Can 
anyone please tell me how to get my FreeBSD system up on DHCP. The only 
other piece of information I can provide is the hostname I have been 
using so far : unxfbsdi.freebsd.localdomain


Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"


I think Realtek 8139D fall into re(4) driver, but do take a look at 
dmesg | less to confirm this.


To display the current configuration for the network interfaces on your 
system run:

% ifconfig

You need to edit rc.conf and add the following to have the network card 
configured at boot time:

ifconfig_re0="DHCP"

To configure the card from the command line simply run:
# ifconfig re0 dhcp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"