[Solved] Re: sleepy fxp0
Chuck Swiger wrote: Gerard Samuel wrote: [ ... ] This box currently uses DHCP to get its IP address. When it boots up, and I log in, and immediately try to initiate any network activity from this box, it takes about 2-3 seconds for said network activity to start. For example, if I were to ping, or startx, it takes about 2-3 seconds for either ping or startx to actually start. [ ... ] Is this normal? That sounds more like the puase associated with doing IPv6 versus a IPv4 DNS lookup, assuming it happens when you are trying to ping some remote IP...? You might also be seeing a pause due to ethernet autoselection; if you manually configure the interface and the switch port to manual 100/FD, doing so might also remove a brief pause. [Fixing the speed is impractical for a roaming laptop, but it might be worth trying as a test... ] Well you pushed me in the right direction to solve this. Looking over the man pages for ifconfig and rc.conf, here is what I did. 1. Figure out what media options are available for the card $ ifconfig -m fxp0 fxp0: flags=8843 mtu 1500 options=8 capability list: =8 inet 192.168.0.16 netmask 0xff00 broadcast 192.168.0.255 ether 00:80:29:65:e2:96 media: Ethernet autoselect (100baseTX ) status: active supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP media 100baseTX mediaopt hw-loopback 2. According to the rc.conf man page, I added a file /etc/start_if.fxp0 with -> ifconfig fxp0 media 100baseTX mediaopt full-duplex To manually set media and media options at bootup. Thats it. I rebooted, and the network is available immediately at bootup, instead of waiting a few seconds to auto configure. Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sleepy fxp0
Gerard Samuel wrote: [ ... ] This box currently uses DHCP to get its IP address. When it boots up, and I log in, and immediately try to initiate any network activity from this box, it takes about 2-3 seconds for said network activity to start. For example, if I were to ping, or startx, it takes about 2-3 seconds for either ping or startx to actually start. [ ... ] Is this normal? That sounds more like the puase associated with doing IPv6 versus a IPv4 DNS lookup, assuming it happens when you are trying to ping some remote IP...? You might also be seeing a pause due to ethernet autoselection; if you manually configure the interface and the switch port to manual 100/FD, doing so might also remove a brief pause. [Fixing the speed is impractical for a roaming laptop, but it might be worth trying as a test... ] -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sleepy fxp0
Im currently using FreeBSD 5.3, using the fxp driver for my network card. $ dmesg | grep fxp0 fxp0: port 0xec00-0xec1f mem 0xdff0-0xdfff,0xdd9ff000-0xdd9f irq 10 at device 8.0 on pci0 This box currently uses DHCP to get its IP address. When it boots up, and I log in, and immediately try to initiate any network activity from this box, it takes about 2-3 seconds for said network activity to start. For example, if I were to ping, or startx, it takes about 2-3 seconds for either ping or startx to actually start. During the boot sequence I notice this -> fxp0: flags=8843 mtu 1500 options=8 inet 192.168.0.16 netmask 0xff00 broadcast 192.168.0.255 ether 00:80:29:65:e2:96 media: Ethernet autoselect (none) status: no carrier After the 2-3 seconds after the OS has booted up, it changes to -> fxp0: flags=8843 mtu 1500 options=8 inet 192.168.0.16 netmask 0xff00 broadcast 192.168.0.255 ether 00:80:29:65:e2:96 media: Ethernet autoselect (100baseTX ) status: active Is this normal? If you need any other information, please, feel free to ask. Thanks for any information that you can provide... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"