From owner-freebsd-questions@FreeBSD.ORG Thu Mar 31 17:45:45 2005 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 6FCA616A4CE for ; Thu, 31 Mar 2005 17:45:45 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id A42D343D4C for ; Thu, 31 Mar 2005 17:45:44 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id D73EC120EC for ; Thu, 31 Mar 2005 12:42:42 -0500 (EST) Message-ID: <424C363A.8050700@chuckr.org> Date: Thu, 31 Mar 2005 17:41:14 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: my ethernet to my laptop/getting the tcp/X11 socket up 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: Thu, 31 Mar 2005 17:45:45 -0000 Well, I need to get two problems off my chest, so to speak, well, really 3 problems. May as well hit the easiest first, which is getting the X11 tcp socket opened up. BACKGROUND: I want to give the database I wrote to the friend of mine I wrote it for. I got a laptop that sort of fell into my lap, but it didn't come with an ethernet, so I had a ethernet card lying around (I forget the name of the outboard cards for laptops, this is the very first time for me, using a laptop). I installed it, it worked with the rl0 driver. Sometimes. Why sometimes? Smart guy, that's question 1. The indication I get is, I get an error (tcp error) soemthing like this one below (they're not all alike): Mar 30 21:37:52 september kernel: rl0: discard frame w/o leading ethernet header (len 2 pkt len 2) Well, the result is always the same, which is that the rl0 line stops dead in it's tracks. I can do a ifconfig down/ifconfig up and clear it, but every time I do that, I take a 1 in 5 chance of getting a kernel panic. It's not something I crave to do a lot, so I can't just dismiss it by making a utility to down/up the interface. I need this fixed. My kernel is 5.3 stable. I picked it because it was the only one of all of the ones I could pick (and I did try them all) that seemed compatible not only with the ethernet card, but also the usb trackball I like (I hate mice) and that the available X for that version knows the usb drivers. Too early and it won't work with ums0. OK, I'd like suggestions from someone who knows the history, is there any easy fix for the rl0 driver I'm using, that will allow it to work stably? Anyone know of any problem like what I've described? Second set of problems is easier to describe: I want to get the tcp sockets on X turned on. I know about the -no-tcp, and there are unfortunately too many places that it could be turned off. On my server, running FreeBSD-6.0 (it's an opteron, dual) I am running a very very reent kde (damn but that compiled easily!) On the other machine, well, today it's FreeBSD-5.3 like I said. Maybe you'll change my mind. On neither machine am I running any sort of login daemon, it's just startx. I sure wish that the darned security person who got them to bias the options against running that socket would undo his work. I don't mind the option existing, but making it the default was a rotten thing to do to me. I won't listen to anyone who tells me to upgrade my laptop for the hell of it, because my app is python/gtk, and needs too many parts to work together for me to risk breaking what works today just for the hell of it. Give me a solid reason, and then I'll do it. I'm quite, *quite* willing to buy another ehternet card. The one I have is a D-Link, the dmesg reports: miibus0: on rl0 Mar 30 21:44:23 september kernel: rlphy0: on miibus0 Mar 30 21:44:23 september kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Mar 30 21:44:23 september kernel: rl0: Ethernet address: 00:0d:88:27:c4:38 OK, so I'm looking for advice on the ethernet problem, and maybe -- ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@chuckr.org | electronics, communications, and SF/Fantasy. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary (on the wall at my old fraternity, Signa Phi Nothing). ----------------------------------------------------------------------------