From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 07:26:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FF2E16A4B3 for ; Tue, 21 Oct 2003 07:26:41 -0700 (PDT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1811343F85 for ; Tue, 21 Oct 2003 07:26:40 -0700 (PDT) (envelope-from henrik.w.lund@broadpark.no) Received: from localhost (localhost [127.0.0.1]) by mail.broadpark.no (Postfix) with ESMTP id 5A75D7A3E8 for ; Tue, 21 Oct 2003 16:26:38 +0200 (MEST) Received: from 80.202.128.39 ( [80.202.128.39]) as user henlund@mail.broadpark.no by mail.broadpark.no with HTTP; Tue, 21 Oct 2003 16:26:38 +0100 Message-ID: <1066746398.3f95421e31f73@mail.broadpark.no> Date: Tue, 21 Oct 2003 16:26:38 +0100 From: Henrik W Lund To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 80.202.128.39 Subject: USB and routing... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 14:26:41 -0000 ...but not necessarily in relation to one another. ;-) This is my second go at FreeBSD, and it's my umpteenth one with UNIXes in general. Having done my share of Linux (with one recent battle being setting up a web/mail/NFS/NIS/Samba server for a school project. *puh* I thought I knew what frustration was, but boy was I wrong!), I've moved onto FreeBSD because - well, I think it's easier to set up, and you don't have to relate to several different versions of the same OS. Now, onto my questions: 1. I have installed onto a laptop computer, with a USB mouse and a touchpad. Now, up until very recently, the USB mouse worked fine when I inserted it and took it out while the system was on, and the console output showed usbd doing its thing. However, the other day this stopped working, and I now have to have the USB mouse inserted at startup for it to function at all. This is, of course, no biggie, but it kinda defeats the purpose of the whole USB thing, doesn't it? The touchpad, however, works perfectly, always. 2. I have one built-in NIC and a Wireless NIC, both of which work perfectly, the way they're supposed to. Now, my beef is that the Wireless NIC is used for home, and gets IP via DHCP from my router. The built-in NIC is used for school, must have IP assigned manually (from rc.conf), and has a totally different IP range that my network at home. This, of course, leads to mayhem when the default route is to be established. If I enter the gateway at school statically, my laptop gets online at school, but not at home. If I don't, my laptop gets online at home, but I have to manually "route add default etc" everytime I want to go online at school. Is there a tidy way to do this automatically? One default route per NIC, for instance? Thanks for all help, please CC me, as I'm on digest mode. :-D -- Henrik W Lund