ifconfig in rc.conf network problems

From: Marco Beishuizen (marco_at_beishuizen.info)
Date: 05/30/04

  • Next message: Olaf Hoyer: "Re: ifconfig in rc.conf network problems"
    Date: Sun, 30 May 2004 21:55:03 +0200 (CEST)
    To: FreeBSD questions mailing list <questions@freebsd.org>
    
    

    I used to have two ifconfig lines in my rc.conf:
    ifconfig_dc0="DHCP"
    ifconfig_dc0="media autoselect"

    The first to enable DHCP and the second to set my networkcard to 100BaseTX
    full duplex.

    Now after an upgrade to 4.10-release this doesn't work anymore. When I put
    both lines in rc.conf only the second line is effective and overrides the
    first, but I want to use both DHCP and 100BaseTX. I need to use the "media
    autoselect" because the networkcard defaults to 10BaseT but I want to use
    100Mbit. When I don't use DHCP the network is unreachable. Pinging then
    gives a "no route to host".

    How do I solve this problem?

    Marco

    -- 
    Sweater, n.:
     	A garment worn by a child when its mother feels chilly.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Olaf Hoyer: "Re: ifconfig in rc.conf network problems"

    Relevant Pages

    • Leopard interface keeps reverting to autoselect speed after reboot
      ... I am pulling my hair out after my upgrade of my MacBook Pro. ... cannot get DHCP from my m0n0wall if the MacBook is using autoselect ... If the interface is in 1000 mode it will not get a DHCP ... Upon reboot it goes back to autoselect and I have to reset it all over ...
      (comp.sys.mac.system)
    • Re: ping with crossover cable
      ... If you're connecting two boxes with a single cable their is no dhcp, ... so you're networkcard doesn't recieve any ip adress info. You'll have ...
      (Fedora)