From owner-freebsd-questions Tue Mar 28 3:23:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id 1A88637BCF7 for ; Tue, 28 Mar 2000 03:23:43 -0800 (PST) (envelope-from jay.krell@cornell.edu) Received: from jayk_home4nt (user-2ini9el.dialup.mindspring.com [165.121.37.213]) by smtp6.mindspring.com (8.9.3/8.8.5) with SMTP id GAA27762; Tue, 28 Mar 2000 06:23:36 -0500 (EST) Message-ID: <000301bf98a8$5dff18b0$0201a8c0@jayk_home4nt> From: "Jay Krell" To: Cc: , Subject: Terrible network experience upgrading to 4.0. Date: Tue, 28 Mar 2000 03:25:44 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just upgraded from 3.4-Release to 4.0-Stable. I skipped 3.4-Stable, because it panics on me all the time. My network stopped working. Both dial out and internal. Short version: # no longer works in ppp authname, and it is required for netcom accounts; network card drivers have a tendency to get changed, you must config out of the kernel what they get changed to. Mine went from de to dc, which notably have about the same description in the GENERIC config file. Long version: Netcom ppp userids start with '#'. This is not my choice. This was fine in FreeBSD 3.4 Release ppp.conf: set authname #jaykrell set authkey **** worked fine. Upgrade to FreeBSD 4.0-Stable (3.4-Stable panics all the time on me), ppp connections are dropped as soon as they are made (ok, actually they don't get made, but they dial and the modems connect). If you ppp interactively, it says "warning: sending empty pap name". # comments are supposed to start at the beginning of a line, after optional whitespace, not anywhere, right? I can now see that comment handling in ppp has churned a lot, but from the diffs I can't tell what the code used to do or does now, though I can infer from my regressed experience. I can't get much done with grep and vi, and have no X or emacs installed and couldn't ftp the sources over to NT to use VC's find in files, only look at the ,v files in a copy of the repository, so rather than make # comments start at the start of a line I just brute force changed the comment character. cd /usr/src/usr.sbin/ppp vi x.pl (doing this from a command line -e did the wrong thing) while (<>) { s/'#'/'%'/; print; } perl -pi.bak x.pl *.c cd /etc/ppp vi x.pl while (<>) { s/#/%/; print; } vi ppp.conf; fix user name from %jaykrell to #jaykrell cd /usr/src/usr.sbin make clean make make install Ok, now ppp connections got all the way up and stayed. But my internal network still wasn't working. Fiddle around with ifconfig, -l..um, dc? My network card was de in 3.4... add dc to /etc/rc.conf. Still no luck. Upon boot it reported "watchdog timeout". I'm using a GENERIC kernel. cp GENERIC JAYK1, remove all network cards except de, and other stuff I don't use, parallel ports, scsi, all but one serial port, acpi/laptop, etc. Rebuild kernel. Now it works. Ah. That was way way too hard. - Jay To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message