From owner-freebsd-mobile Sun Mar 2 05:27:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA10424 for mobile-outgoing; Sun, 2 Mar 1997 05:27:16 -0800 (PST) Received: from fty-ss20.cisco.com (fty-ss20.cisco.com [171.69.162.81]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA10419 for ; Sun, 2 Mar 1997 05:27:13 -0800 (PST) Received: by fty-ss20.cisco.com (8.8.4/1.34) id NAA09928; Sun, 2 Mar 1997 13:23:45 GMT Date: Sun, 2 Mar 1997 13:23:45 GMT From: Frank Terhaar-Yonkers Message-Id: <199703021323.NAA09928@fty-ss20.cisco.com> To: freebsd-mobile@FreeBSD.ORG Subject: "poor man's" DHCP client available X-Face: ,fjtWiMPydUaSQl%8[eTg`u:^BXt&T)Sny(6w\*U"5D9H[Z$kG%Q/z;Z=NwrPiXf-aMF3R) Rsand$,]26-8>5@HD(A3A79gN|0%NHsdek4mT8E,>j+\w!~d2#nH;~NV!5a0"`5$Cj8d\or(Jy/JQ_ |uc;C[filmZ(~#lre*l:|O%d/PJFy`.5w8)sMZ-)QI3TaV"j'k X-Mailer: [XMailTool v3.1.0] Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I took the ISC-DHCP dhclient.c (from ports) hacked it a little and wrote an sh wrapper. When put it /etc/rc (before sysconfig) it seems to do the trick of obtaining a lease. There is no automatic renew (yet) but I'll hack on that soon. I'll email it out on request or post it to this list if enuf demand. - Frank \\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\ Frank Terhaar-Yonkers Cisco Systems, Inc. Engineering Services, W2 F3 5 7025 Kit Creek Road PO Box 14987 Research Triangle Park, North Carolina 27709 fty@cisco.com voice (919)472-2101 FAX (919)472-2940 pager (800)796-7363 pin 1008366 -or- fty@airnote.net From owner-freebsd-mobile Wed Mar 5 12:20:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA09805 for mobile-outgoing; Wed, 5 Mar 1997 12:20:20 -0800 (PST) Received: from out2.ibm.net (out2.ibm.net [165.87.201.252]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id MAA09798 for ; Wed, 5 Mar 1997 12:20:15 -0800 (PST) Received: (from uucp@localhost) by out2.ibm.net (8.6.9/8.6.9) id UAA68705 for ; Wed, 5 Mar 1997 20:20:14 GMT Message-Id: <199703052020.UAA68705@out2.ibm.net> Received: from slip166-72-229-141.va.us.ibm.net(166.72.229.141) by out2.ibm.net via smap (V1.3mjr) id smaVPcDFW; Wed Mar 5 20:19:22 1997 Reply-To: From: "Steve Sims" To: Subject: sio probes broken in PAO-970210? Date: Wed, 5 Mar 1997 15:18:28 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-mobile@freeBSD.org X-Loop: FreeBSD.org Precedence: bulk I've recently upgraded my Compaq Aero 4/33 from 2.1.6-RELEASE and PAO-960831. With the old setup, the PAO patches allowed the internal sio0 to be probed and used correctly. With 2.2-GAMMA and PAO-970210, the sio0 probe fails exactly like it "used to" before PAO. I've configed the flags for sio0 to 0x90 (verbose && sio_irq_bug) but the test fails probe[5] and probe[8]. I've also set options SIO_IRQ_BUG in the configuration file. I'm stumped! I *HATE* the thought of going back to 2.1.6 just to get my external modem to work, anybody else seen this problem? Any pointers? ...sjs... From owner-freebsd-mobile Wed Mar 5 14:19:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA15495 for mobile-outgoing; Wed, 5 Mar 1997 14:19:55 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA15488 for ; Wed, 5 Mar 1997 14:19:49 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id PAA08033; Wed, 5 Mar 1997 15:19:38 -0700 (MST) Date: Wed, 5 Mar 1997 15:19:38 -0700 (MST) Message-Id: <199703052219.PAA08033@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Cc: Subject: Re: sio probes broken in PAO-970210? In-Reply-To: <199703052020.UAA68705@out2.ibm.net> References: <199703052020.UAA68705@out2.ibm.net> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > With the old setup, the PAO patches allowed the internal sio0 to be probed > and used correctly. > > With 2.2-GAMMA and PAO-970210, the sio0 probe fails exactly like it "used to" > before PAO. That's because the PAO serial patches are not in 2.2. And, the patches to sio.c changes quite a bit and contained alot of extra (IMHO un-necessary) stuff. I never took the time to separate out the chaff from the wheat, hence none of the patch made it into the tree. > I've also set > options SIO_IRQ_BUG > in the configuration file. This means nothing outside of the PAO patches. You can get the PAO patches to 2.2 and see if they help. Nate From owner-freebsd-mobile Wed Mar 5 17:17:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA28344 for mobile-outgoing; Wed, 5 Mar 1997 17:17:19 -0800 (PST) Received: from out2.ibm.net (out2.ibm.net [165.87.201.252]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id RAA28339 for ; Wed, 5 Mar 1997 17:17:17 -0800 (PST) Received: (from uucp@localhost) by out2.ibm.net (8.6.9/8.6.9) id BAA31131; Thu, 6 Mar 1997 01:15:50 GMT Message-Id: <199703060115.BAA31131@out2.ibm.net> Received: from slip166-72-229-143.va.us.ibm.net(166.72.229.143) by out2.ibm.net via smap (V1.3mjr) id smaC3MCKs; Thu Mar 6 01:15:38 1997 From: "Steve Sims" To: "Nate Williams" Cc: Subject: Re: sio probes broken in PAO-970210? Date: Wed, 5 Mar 1997 20:15:10 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > From: Nate Williams > > Sorry, Nate - I don't follow you.... Do you mean "A clean 2.2-GAMMA > > install doesn't have the patches from PAO"? If so, this I understand. > > Yes, that's what I meant. :) > > > If you mean "the 970210 PAO tarball doesn't have sio changes folded in" > > then I don't understand at all. less'ing sys.patch, I can see mods to > > sio.c and they got applied to my kernel source code when I installed the > > PAO-970210 patch(es). > > No, you need to apply the PAO patches to 2.2 to get working SIO support > for your laptop. > > > > You can get the PAO patches to 2.2 and see if they help. Been there, done that. I started with ssys.?? for 2.2-GAMMA, then applied PAO-970210 off the PAO home page. (They purport to be in alpha-test against 2.2-GAMMA) then config'ed my kernel, make'ed it, install'ed it and rebooted. No joy. > > Where? Something I've missed? > > The PAO patches are against 2.2Gamma, aren't they? I assume so; the sys.patch applies cleanly against a pristing 2.2-GAMMA source deck. Still hunting for a clue.... ...sjs... From owner-freebsd-mobile Wed Mar 5 17:31:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA29246 for mobile-outgoing; Wed, 5 Mar 1997 17:31:12 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA29217 for ; Wed, 5 Mar 1997 17:30:33 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id LAA08296; Thu, 6 Mar 1997 11:58:51 +1030 (CST) From: Michael Smith Message-Id: <199703060128.LAA08296@genesis.atrad.adelaide.edu.au> Subject: Re: sio probes broken in PAO-970210? In-Reply-To: <199703060115.BAA31131@out2.ibm.net> from Steve Sims at "Mar 5, 97 08:15:10 pm" To: SimsS@IBM.Net (Steve Sims) Date: Thu, 6 Mar 1997 11:58:51 +1030 (CST) Cc: nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve Sims stands accused of saying: > Been there, done that. I started with ssys.?? for 2.2-GAMMA, then applied > PAO-970210 off the PAO home page. (They purport to be in alpha-test > against 2.2-GAMMA) then config'ed my kernel, make'ed it, install'ed it and > rebooted. No joy. Take the PAO patches _out_, then set the debug flag for the serial port (0x80), and send us the output from the probe, or read the comments in /sys/i386/isa/sio.c:sioprobe() to find out why your port is failing to probe. Unless you actually _need_ the PAO code, don't use it. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Wed Mar 5 18:04:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA01687 for mobile-outgoing; Wed, 5 Mar 1997 18:04:01 -0800 (PST) Received: from out2.ibm.net (out2.ibm.net [165.87.201.252]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA01666 for ; Wed, 5 Mar 1997 18:03:57 -0800 (PST) Received: (from uucp@localhost) by out2.ibm.net (8.6.9/8.6.9) id CAA220647; Thu, 6 Mar 1997 02:03:47 GMT Message-Id: <199703060203.CAA220647@out2.ibm.net> Received: from slip166-72-229-66.va.us.ibm.net(166.72.229.66) by out2.ibm.net via smap (V1.3mjr) id sma828Dmb; Thu Mar 6 02:03:07 1997 From: "Steve Sims" To: "Michael Smith" Cc: , Subject: Re: sio probes broken in PAO-970210? Date: Wed, 5 Mar 1997 21:00:17 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_01BC29A8.3A60D3C0" Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_01BC29A8.3A60D3C0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > From: Michael Smith > > Been there, done that. I started with ssys.?? for 2.2-GAMMA, then applied > > PAO-970210 off the PAO home page. (They purport to be in alpha-test > > against 2.2-GAMMA) then config'ed my kernel, make'ed it, install'ed it and > > rebooted. No joy. > > Take the PAO patches _out_, then set the debug flag for the serial > port (0x80), and send us the output from the probe, or read the > comments in /sys/i386/isa/sio.c:sioprobe() to find out why your port > is failing to probe. OK, attached is the output of dmesg having booted with kernel.GENERIC from 2.2-GAMMA (having tweaked the sio flags to 0x80). Historically, Compuke laptops have failed [5] and [8]. I've had success with some PAO / 2.1.x combinations, but 2.2-GAMMA fails regardless of whether PAO is or isn't installed. I've tried upping the DELAYs in sio.c (as recommended by Bruce) but it doesn't help 2.2-GAMMA. Back into the sioprobe() code again, I guess.... ...sjs... ------=_NextPart_000_01BC29A8.3A60D3C0 Content-Type: application/octet-stream; name="Dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Dmesg" Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x300 ed1: disabled, not probed. fe0: disabled, not probed. sio0: probe test 5 failed sio0: probe test 8 failed sio0 not found at 0x3f8 sio1: probe test 0 failed sio1: probe test 1 failed sio1: probe test 2 failed sio1: probe test 3 failed sio1: probe test 4 failed sio1: probe test 6 failed sio1: probe test 7 failed sio1: probe test 9 failed sio1 not found at 0x2f8 sio2: disabled, not probed. sio3: disabled, not probed. lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface lpt1: disabled, not probed. mse0: disabled, not probed. psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0 fdc0: disabled, not probed. wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 777MB (1591632 sectors), 1579 cyls, 16 heads, 63 S/T, 512 B/S wdc1: disabled, not probed. bt0: disabled, not probed. uha0: disabled, not probed. aha0: disabled, not probed. aic0: disabled, not probed. nca0: disabled, not probed. nca1: disabled, not probed. sea0: disabled, not probed. wt0: disabled, not probed. mcd0: disabled, not probed. matcdc0: disabled, not probed. scd0: disabled, not probed. ie0: disabled, not probed. ep0: disabled, not probed. ex0: disabled, not probed. ix0: disabled, not probed. le0: disabled, not probed. lnc0: disabled, not probed. ze0: disabled, not probed. zp0: disabled, not probed. npx0 on motherboard npx0: 387 emulator apm0 on isa apm: found APM BIOS version 1.1 ------=_NextPart_000_01BC29A8.3A60D3C0-- From owner-freebsd-mobile Wed Mar 5 18:23:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA03386 for mobile-outgoing; Wed, 5 Mar 1997 18:23:01 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA03331 for ; Wed, 5 Mar 1997 18:22:35 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id MAA08990; Thu, 6 Mar 1997 12:51:59 +1030 (CST) From: Michael Smith Message-Id: <199703060221.MAA08990@genesis.atrad.adelaide.edu.au> Subject: Re: sio probes broken in PAO-970210? In-Reply-To: <199703060203.CAA220647@out2.ibm.net> from Steve Sims at "Mar 5, 97 09:00:17 pm" To: SimsS@IBM.Net (Steve Sims) Date: Thu, 6 Mar 1997 12:51:59 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, nate@mt.sri.com, freebsd-mobile@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve Sims stands accused of saying: > > Historically, Compuke laptops have failed [5] and [8]. I've had success > with some PAO / 2.1.x combinations, but 2.2-GAMMA fails regardless of > whether PAO is or isn't installed. Ok, so it's the stupid UART that they're using. Are you able to open the unit and locate the UART or the multi-IO chip that's actually being used? You may be able to track down a datasheet for the part, which would help in working out the "right" thing to do. > I've tried upping the DELAYs in sio.c (as recommended by Bruce) but it > doesn't help 2.2-GAMMA. This includes the one between the setting of failures[4] and the test for setting failures[5]? This would be the critical one IMHO. You could also try reading the IIR several times, in the hope that it just takes some encouraging to go away. > Back into the sioprobe() code again, I guess.... You could try forcing the probe to succeed, and see if the port works properly. It's almost worth having a flag to do this. > ...sjs... -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Wed Mar 5 19:29:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA07120 for mobile-outgoing; Wed, 5 Mar 1997 19:29:04 -0800 (PST) Received: from relay-7.mail.demon.net (relay-7.mail.demon.net [194.217.242.9]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA07111; Wed, 5 Mar 1997 19:28:59 -0800 (PST) Received: from awfulhak.demon.co.uk ([158.152.17.1]) by relay-5.mail.demon.net id aa0520074; 6 Mar 97 3:00 GMT Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA09118; Thu, 6 Mar 1997 02:55:59 GMT Message-Id: <199703060255.CAA09118@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Samy Touati cc: hackers@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: HP omnibook 530 & etherlink III 3C562C In-reply-to: Your message of "Sun, 02 Mar 1997 09:42:56 EST." <331991F0.41C67EA6@lmc.ericsson.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 06 Mar 1997 02:55:58 +0000 From: Brian Somers Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Message-ID: <33185429.41C67EA6@lmc.ericsson.se> > Date: Sat, 01 Mar 1997 11:07:05 -0500 > From: Samy Touati > X-Mailer: Mozilla 3.01Gold (X11; U; FreeBSD 2.1.5-RELEASE i386) > MIME-Version: 1.0 > To: questions@freebsd.org > Subject: etherlink III 3C562C > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Hi, > > > I would like to install fbsd 2.1.6 on an HP omnibook 530 will it > install? > Does the etherlink III 3C562C PCMCIA card works with freebsd 2.1.6. > > > Thanks. > > Samy > Not at the moment :( Are there any current developments (I've cc'd freebsd-mobile) ? -- Brian , Don't _EVER_ lose your sense of humour.... From owner-freebsd-mobile Wed Mar 5 19:50:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA08241 for mobile-outgoing; Wed, 5 Mar 1997 19:50:32 -0800 (PST) Received: from research.gate.nec.co.jp (research.gate.nec.co.jp [202.32.8.49]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA08236; Wed, 5 Mar 1997 19:50:29 -0800 (PST) Received: from sbl-gw.sbl.cl.nec.co.jp by research.gate.nec.co.jp (8.8.5+2.7Wbeta5/950912) with ESMTP id MAA25207; Thu, 6 Mar 1997 12:50:23 +0900 (JST) Received: from sirius.sbl.cl.nec.co.jp by sbl-gw.sbl.cl.nec.co.jp (8.8.5+2.7Wbeta5/3.3W6) with ESMTP id MAA20393; Thu, 6 Mar 1997 12:50:21 +0900 (JST) Received: by sirius.sbl.cl.nec.co.jp (8.7.5+2.6Wbeta6/3.3W6) with UUCP id MAA15434; Thu, 6 Mar 1997 12:50:19 +0900 (JST) Date: Thu, 6 Mar 1997 12:50:19 +0900 (JST) From: Naoki Hamada Message-Id: <199703060350.MAA15434@sirius.sbl.cl.nec.co.jp> References: <199703060255.CAA09118@awfulhak.demon.co.uk> To: brian@awfulhak.demon.co.uk CC: lmcsato@lmc.ericsson.se, hackers@freebsd.org, freebsd-mobile@freebsd.org In-reply-to: Brian Somers's message of "Thu, 06 Mar 1997 02:55:58 +0000" <199703060255.CAA09118@awfulhak.demon.co.uk> Subject: Re: HP omnibook 530 & etherlink III 3C562C Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> I would like to install fbsd 2.1.6 on an HP omnibook 530 will it >> install? >> Does the etherlink III 3C562C PCMCIA card works with freebsd 2.1.6. >Not at the moment :( Are there any current developments (I've cc'd >freebsd-mobile) ? Nomads team now works on 3C562C/3C563C PCMCIA card. It is not very easy to support multifunction pc-cards, so it will take some time. - nao From owner-freebsd-mobile Fri Mar 7 08:48:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA27209 for mobile-outgoing; Fri, 7 Mar 1997 08:48:36 -0800 (PST) Received: from ui-gate.utell.co.uk (ui-gate.utell.co.uk [194.200.4.253]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA27187 for ; Fri, 7 Mar 1997 08:48:30 -0800 (PST) Received: from shift.lan.awfulhak.org (shift.utell.net [97.3.0.21]) by ui-gate.utell.co.uk (8.7.6/8.7.3) with ESMTP id QAA01064 for ; Fri, 7 Mar 1997 16:48:27 GMT Received: (from brian@localhost) by shift.lan.awfulhak.org (8.8.5/8.8.5) id QAA03354; Fri, 7 Mar 1997 16:47:48 GMT Date: Fri, 7 Mar 1997 16:47:48 GMT Message-Id: <199703071647.QAA03354@shift.lan.awfulhak.org> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk Organization: Awfulhak Ltd. References: From: brian@shift.lan.awfulhak.org (Brian Somers) Subject: Re: DHCP & 2.1.5-RELEASE Newsgroups: comp.unix.bsd.freebsd.misc Cc: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article , tbuswell@bio.bu.edu (Theodore Buswell) writes: > > Has anyone gotten either of the DHCP clients in the ports > directory to work with 2.1.5-RELEASE ? I tried both > (ISC and WIDE) clients last night with mixed results. > As far as I could tell, the ISC dhclient didn't do anything > productive (no output at all to logs, ed0 still not configured). > The WIDE client was really nice -- I used dhcpm to monitor what > was going on, and dhcpc would send a request, get an acknowledgement > but then would choke configuring ed0. > > My current method is to by hand startup dhcpm, run dhcpc in the foreground, > wait for the response, kill dhcpc and dhcpm and manually configure ed0 and > add the routes based on the output of dhcpm. Yes I know I could write a > script to do this, but I'm trolling for something better.. > > Anybody got anything better? I've used wide-dhcp as a server, but havn't yet used dhcpc. You may be better asking this question on freebsd-mobile (message cc'd). If you don't have any luck, drop me some email. There was another guy looking at this that (I believe) got it working, but his name's on my machine at home. -- Brian Don't _EVER_ lose your sense of humour ! From owner-freebsd-mobile Fri Mar 7 11:31:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA08604 for mobile-outgoing; Fri, 7 Mar 1997 11:31:38 -0800 (PST) Received: from fty-ss20.cisco.com (fty-ss20.cisco.com [171.69.162.81]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA08581 for ; Fri, 7 Mar 1997 11:30:49 -0800 (PST) Received: by fty-ss20.cisco.com (8.8.4/1.34) id TAA27423; Fri, 7 Mar 1997 19:26:19 GMT Date: Fri, 7 Mar 1997 19:26:19 GMT From: Frank Terhaar-Yonkers Message-Id: <199703071926.TAA27423@fty-ss20.cisco.com> To: brian@shift.lan.awfulhak.org, tbuswell@bio.bu.edu Subject: Re: DHCP & 2.1.5-RELEASE Cc: freebsd-mobile@FreeBSD.ORG X-Face: ,fjtWiMPydUaSQl%8[eTg`u:^BXt&T)Sny(6w\*U"5D9H[Z$kG%Q/z;Z=NwrPiXf-aMF3R) Rsand$,]26-8>5@HD(A3A79gN|0%NHsdek4mT8E,>j+\w!~d2#nH;~NV!5a0"`5$Cj8d\or(Jy/JQ_ |uc;C[filmZ(~#lre*l:|O%d/PJFy`.5w8)sMZ-)QI3TaV"j'k X-Mailer: [XMailTool v3.1.0] Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk There is now a full blown ISC client - see below. (Actually there is a newer tar file than referenced in the URL) I also have a "lite" version based on the original dhclient.c and a sh script. - Frank In reference to your message: >From bouncer-dhcpd-users@fugue.com Thu Mar 6 09:45:27 1997 >To: dhcpd-users@fugue.com >Subject: New snapshot... >Date: Thu, 06 Mar 1997 00:04:08 -0800 >From: Ted Lemon > > *** From -- To unsubscribe, see the end of this message. *** > >Several people had problems with the previous snapshot, and I also >discovered a couple of bugs last night, so I've made a new snapshot: >ftp://ftp.vix.com/pub/dhcp/dhcp-970306.tar.gz. > >I should mention that the snapshots I have been making this week are >capturing rapid changes in the dhcp programs in addition to capturing >bug fixes - when I had free time at Connectathon in between tests, I >spent it improving the guts of the DHCP code. > >For example, the code that sends acknowledgements for leases has been >significantly rewired in order to support pinging leases before >offering them and in order to support DNS updates. The dispatch >engine has been modified so that it can dispatch to arbitrary protocol >engines, again to support ICMP Echo requests and DNS updates. > >The code appears to work - I can go through the whole protocol without >any trouble - but only testing in a high-load environment will reveal >any subtle problems I may have missed. As usual, I would greatly >appreciate any such testing that people are willing to do, but please >don't boot your 911 emergency response system with these snapshots. > >Thanks! > > _MelloN_ > > >------------------------------------------------------------------------------ >To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists. >If you are without web access, or if you are having trouble with the web page, >please send mail to dhcpd-request@fugue.com. Please try to use the web >page first - it will take a long time for your request to be processed by hand. >------------------------------------------------------------------------------ > \\\\////\\\\////\\\\\////\\\\\////\\\\////\\\\////\\\\////\\\\////\\\\////\\\\ Frank Terhaar-Yonkers Cisco Systems, Inc. Engineering Services, W2 F3 5 7025 Kit Creek Road PO Box 14987 Research Triangle Park, North Carolina 27709 fty@cisco.com voice (919)472-2101 FAX (919)472-2940 pager (800)796-7363 pin 1008366 -or- fty@airnote.net From owner-freebsd-mobile Fri Mar 7 19:53:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA16096 for mobile-outgoing; Fri, 7 Mar 1997 19:53:47 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA16064 for ; Fri, 7 Mar 1997 19:53:42 -0800 (PST) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by who.cdrom.com (8.8.5/8.6.11) with SMTP id OAA01066 for ; Fri, 7 Mar 1997 14:21:23 -0800 (PST) Received: from igw3.watson.ibm.com by mail.crl.com with SMTP id AA13681 (5.65c/IDA-1.5 for ); Fri, 7 Mar 1997 11:45:29 -0800 Received: from mailhub1.watson.ibm.com (mailhub1.watson.ibm.com [9.2.249.31]) by igw3.watson.ibm.com (8.7.6/8.7.1) with ESMTP id OAA13678; Fri, 7 Mar 1997 14:33:41 -0500 Received: from hawpub1.watson.ibm.com (hawpub1.watson.ibm.com [9.2.90.32]) by mailhub1.watson.ibm.com (8.8.2/01-15-97) with SMTP id OAA29860; Fri, 7 Mar 1997 14:43:43 -0500 Received: by hawpub1.watson.ibm.com (AIX 3.2/UCB 5.64/6/25/96) id AA36268; Fri, 7 Mar 1997 14:43:41 -0500 Date: Fri, 7 Mar 1997 14:43:41 -0500 From: kavitha Message-Id: <9703071943.AA36268@hawpub1.watson.ibm.com> To: freebsd-mobile@freebsd.org Subject: Re: DHCP & 2.1.5-RELEASE Cc: brian@awfulhak.demon.co.uk, brian@utell.co.uk Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> >> The WIDE client was really nice -- I used dhcpm to monitor what >> was going on, and dhcpc would send a request, get an acknowledgement >> but then would choke configuring ed0. >> >> Anybody got anything better? I had no problem getting the WIDE DHCP client to work. I'm running FreeBSD 2.1.5. I got the GENERIC WIDE DHCP source code and ran the patches in current/ports/dhcp .The client works perfectly i.e, it's able to configure itslef with the address obtained and renews the lease when it expires. (though I had a tough time figuring out how to specify MOBILE_IP option. In this implementaion there is no way of specifying the options either through a configuration file or command line params. All the necessary options are hard coded in the source code. However u can modify the source code to do this. Its not a big job. Maybe a configuration file will be better as the list of options can be really large.) If ur client is not configuring properly, maynbe the BRDCAST address & subnet_mask its recieving from the server are not proper. Check the /etc/dhcpdb.pool (provided the server also runs WIDE DHCP) on the server machine. -Kavitha >If you don't have any luck, drop me some email. There was another >guy looking at this that (I believe) got it working, but his name's >on my machine at home. BTW if I'm the person you were referring to here, I'm a girl :-). >-- >Brian > From owner-freebsd-mobile Fri Mar 7 19:54:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA16388 for mobile-outgoing; Fri, 7 Mar 1997 19:54:50 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA16356 for ; Fri, 7 Mar 1997 19:54:44 -0800 (PST) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by who.cdrom.com (8.8.5/8.6.11) with SMTP id OAA00905 for ; Fri, 7 Mar 1997 14:09:37 -0800 (PST) Received: from ui-gate.utell.co.uk by mail.crl.com with SMTP id AA16135 (5.65c/IDA-1.5 for ); Fri, 7 Mar 1997 11:55:19 -0800 Received: from shift.lan.awfulhak.org (shift.utell.net [97.3.0.21]) by ui-gate.utell.co.uk (8.7.6/8.7.3) with ESMTP id TAA05144; Fri, 7 Mar 1997 19:53:49 GMT Received: from shift.lan.awfulhak.org (localhost [127.0.0.1]) by shift.lan.awfulhak.org (8.8.5/8.8.5) with ESMTP id TAA03681; Fri, 7 Mar 1997 19:54:23 GMT Message-Id: <199703071954.TAA03681@shift.lan.awfulhak.org> X-Mailer: exmh version 1.6.9 8/22/96 To: kavitha Cc: freebsd-mobile@freebsd.org, brian@awfulhak.demon.co.uk, brian@utell.co.uk Subject: Re: DHCP & 2.1.5-RELEASE In-Reply-To: Your message of "Fri, 07 Mar 1997 14:43:41 EST." <9703071943.AA36268@hawpub1.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 07 Mar 1997 19:54:22 +0000 From: Brian Somers Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > BTW if I'm the person you were referring to here, I'm a girl :-). > > >-- > >Brian > > Eek - sorry (*blush*) -- Brian Don't _EVER_ lose your sense of humour ! From owner-freebsd-mobile Sat Mar 8 10:06:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA24727 for mobile-outgoing; Sat, 8 Mar 1997 10:06:26 -0800 (PST) Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA24719 for ; Sat, 8 Mar 1997 10:06:21 -0800 (PST) Received: from gmarco (ts1port9d.masternet.it [194.184.65.31]) by scotty.masternet.it (8.8.5/8.7.3) with SMTP id TAA01415 for ; Sat, 8 Mar 1997 19:07:33 GMT Message-Id: <3.0.1.32.19970531152023.00686628@scotty.masternet.it> X-Sender: gmarco@scotty.masternet.it (Unverified) X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Sat, 31 May 1997 15:20:23 +0200 To: mobile@freebsd.org From: Gianmarco Giovannelli Subject: help for pccard.conf Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I own an IBM Thinkpad 365XD running FreeBSD 2.2 GAMMA. On this laptop I was using a 3com 3c589c pcmcia card with zp0 without any problems at all. Then I read in this area that zp0 is not updated anymore and the ep0 with pccard.conf works better and faster. So I tried to configure the pccard.conf for using this driver, but I am finding a lot of difficulties. Is there here a good soul with some free minutes that want to explain, possibly step by step and with an idiot proof explanation :-) , everything I have to do (kernel, sysconfig and pccard.conf)? I have a usr sportster v34 (33.6) pcmcia too... Thanks again to everyone for the attention... Best regards Gianmarco http://www2.masternet.it http://www2.masternet.it/~gmarco Best regards Gianmarco http://www2.masternet.it http://www2.masternet.it/~gmarco From owner-freebsd-mobile Sat Mar 8 10:55:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA26409 for mobile-outgoing; Sat, 8 Mar 1997 10:55:15 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA26379 for ; Sat, 8 Mar 1997 10:54:51 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id LAA19618; Sat, 8 Mar 1997 11:53:00 -0700 (MST) Date: Sat, 8 Mar 1997 11:53:00 -0700 (MST) Message-Id: <199703081853.LAA19618@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Gianmarco Giovannelli Cc: mobile@freebsd.org Subject: Re: help for pccard.conf In-Reply-To: <3.0.1.32.19970531152023.00686628@scotty.masternet.it> References: <3.0.1.32.19970531152023.00686628@scotty.masternet.it> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > On this laptop I was using a 3com 3c589c pcmcia card with zp0 without any > problems at all. Then why switch? > Then I read in this area that zp0 is not updated anymore > and the ep0 with pccard.conf works better and faster. Well, there is *that*. :) > So I tried to > configure the pccard.conf for using this driver, but I am finding a lot of > difficulties. Is there here a good soul with some free minutes that want to > explain, possibly step by step and with an idiot proof explanation :-) , > everything I have to do (kernel, sysconfig and pccard.conf)? 1) edit /etc/sysconfig, and look for "Start Of PC-card Section" * enable apm * enable pccard * changed pccard-ifconfig to your IP address 2) cp /etc/pccard.conf.sample to /etc/pccard.conf 3) edit /etc/pccard.conf * Make sure the IRQ's you have listed are *NOT* being used by the hardware. Look for the line '3Com Etherlink III' (There's more stuff, but you get the picture. Notice the two 'ifconfig' insert lines for later. 4) build yourself a customer kernel with the following lines in it. device apm0 at isa? options APM_BROKEN_STATCLOCK controller crd0 controller pcic0 at crd? controller pcic1 at crd? device ep0 at isa? port 0x300 net irq 10 vector epintr Remove any zp or ze devices, they are no longer necessary (and will cause problems). 5) Install the new kernel, and reboot. After your boxes runs for a bit, you should hear a beep and get a line stating the ep0 device is running (my laptop is running Win95 now, or I'd give you a real example). 6) Assuming the above works, see if you can ping the world. If not, edit /etc/pccard.conf and use the other 'insert ifconfig' line, which will tell the card to use the other network connector. Reboot (there's an less obnoxious way, but this is simpler). 7) Congratulations, you have it working. > I have a usr sportster v34 (33.6) pcmcia too... You'll have to build an entry for this, but it's pretty easy to do. Let's get the card working first thing. But, if you want to try it on your own, the command 'pccardc dumpcis' is your first clue. You need to build an entry in /etc/pccard.conf using the information found in there, so see if you can get it working. If so, send me the entry. Nate