Re: late filesystems and switching net configs
Chad Perrin wrote: I have a couple of niggling little, er, quirks that I'd like to get sorted out on my FreeBSD Thinkpad. 1. During boot, if I'm booting up anywhere but at home (where my static IP address configuration applies), the startup messages pause for a few long seconds at a message that says Mounting late filesystems. When plugged into the network at home, though, using my static IP configuration, it swoops past that pretty quickly. Can someone tell me what that's about? 2. For some reason, if I use DHCP at all then want to switch back to my static IP setup, I have to restart the computer to get it to access the Internet. I haven't been able to figure out why. If I recall correctly, I can switch to static IP on bge0 and access other systems on the network, but I can't do anything related to the Internet. Yes, by the way, I am checking to make sure the contents of resolv.conf are correct. Any ideas about how to figure out what's going on in either case would be welcome. For #2 (maybe a long shot): Just recently I needed to change on the fly the IP address of one machine, and after a /etc/rc.d/netif restart, I lost Internet connectivity. Access to the local network was normal. This machine is behind an ADSL router (IP 192.168.0.250) which acts as the gateway. The problem was, after the IP address change the default gateway was lost. defaultrouter was present in rc.conf but was not applied again after the netif restart. A quick route add default 192.168.0.250 fixed it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: late filesystems and switching net configs
Chad Perrin wrote: I have a couple of niggling little, er, quirks that I'd like to get sorted out on my FreeBSD Thinkpad. 2. For some reason, if I use DHCP at all then want to switch back to my static IP setup, I have to restart the computer to get it to access the Internet. I haven't been able to figure out why. If I recall correctly, I can switch to static IP on bge0 and access other systems on the network, but I can't do anything related to the Internet. Yes, by the way, I am checking to make sure the contents of resolv.conf are correct. Check your default gateway when switching from DHCP to static. IIRC a /etc/rc.d/netif stop/start will recreate the default route. Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: late filesystems and switching net configs
On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote: Chad Perrin wrote: I have a couple of niggling little, er, quirks that I'd like to get sorted out on my FreeBSD Thinkpad. 2. For some reason, if I use DHCP at all then want to switch back to my static IP setup, I have to restart the computer to get it to access the Internet. I haven't been able to figure out why. If I recall correctly, I can switch to static IP on bge0 and access other systems on the network, but I can't do anything related to the Internet. Yes, by the way, I am checking to make sure the contents of resolv.conf are correct. Check your default gateway when switching from DHCP to static. IIRC a /etc/rc.d/netif stop/start will recreate the default route. Peter Not as I recall though. You will need to do a /etc/rc.d/routing restart if your default router changes. The only time you might not need it is when your routes are setup via DHCP. signature.asc Description: This is a digitally signed message part
Re: late filesystems and switching net configs
Tom Evans wrote: On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote: Chad Perrin wrote: I have a couple of niggling little, er, quirks that I'd like to get sorted out on my FreeBSD Thinkpad. 2. For some reason, if I use DHCP at all then want to switch back to my static IP setup, I have to restart the computer to get it to access the Internet. I haven't been able to figure out why. If I recall correctly, I can switch to static IP on bge0 and access other systems on the network, but I can't do anything related to the Internet. Yes, by the way, I am checking to make sure the contents of resolv.conf are correct. Check your default gateway when switching from DHCP to static. IIRC a /etc/rc.d/netif stop/start will recreate the default route. Peter Not as I recall though. You will need to do a /etc/rc.d/routing restart if your default router changes. The only time you might not need it is when your routes are setup via DHCP. Correction: netif start/stop will _NOT_ recreate the default route... it was a bit early for me :-) Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: late filesystems and switching net configs
On Wed, Jul 04, 2007 at 09:50:18AM +0100, Tom Evans wrote: On Wed, 2007-07-04 at 07:59 +0200, Peter Boosten wrote: Chad Perrin wrote: I have a couple of niggling little, er, quirks that I'd like to get sorted out on my FreeBSD Thinkpad. 2. For some reason, if I use DHCP at all then want to switch back to my static IP setup, I have to restart the computer to get it to access the Internet. I haven't been able to figure out why. If I recall correctly, I can switch to static IP on bge0 and access other systems on the network, but I can't do anything related to the Internet. Yes, by the way, I am checking to make sure the contents of resolv.conf are correct. Check your default gateway when switching from DHCP to static. IIRC a /etc/rc.d/netif stop/start will recreate the default route. Not as I recall though. You will need to do a /etc/rc.d/routing restart if your default router changes. The only time you might not need it is when your routes are setup via DHCP. That sounds like it's probably what I need. Thank you! To clarify: I have several commonly-used network configs in my /etc/rc.config file, and often change which one I have commented out there, then restart with: # /etc/rc.d/netif restart With the revelation that /etc/rc.d/routing needs a restart, I think that probably solves the problem. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr(Just another Perl hacker, 0, -2); ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
late filesystems and switching net configs
I have a couple of niggling little, er, quirks that I'd like to get sorted out on my FreeBSD Thinkpad. 1. During boot, if I'm booting up anywhere but at home (where my static IP address configuration applies), the startup messages pause for a few long seconds at a message that says Mounting late filesystems. When plugged into the network at home, though, using my static IP configuration, it swoops past that pretty quickly. Can someone tell me what that's about? 2. For some reason, if I use DHCP at all then want to switch back to my static IP setup, I have to restart the computer to get it to access the Internet. I haven't been able to figure out why. If I recall correctly, I can switch to static IP on bge0 and access other systems on the network, but I can't do anything related to the Internet. Yes, by the way, I am checking to make sure the contents of resolv.conf are correct. Any ideas about how to figure out what's going on in either case would be welcome. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Brian K. Reid: In computer science, we stand on each other's feet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]