From owner-freebsd-questions Mon Jan 29 4:10:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lh10.opsion.fr (lh10.opsion.fr [212.73.208.236]) by hub.freebsd.org (Postfix) with SMTP id 4BD6B37B402 for ; Mon, 29 Jan 2001 04:10:24 -0800 (PST) Received: from 212.68.216.190 [212.68.216.190] by lh10.opsion.fr; Mon, 29 Jan 2001 12:14:30 GMT From: seppludwig@isuisse.com To: Conrad Sabatier Date: Mon, 29 Jan 2001 13:09:55 +0100 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Client DHCP connection to Internet (WAS: freebi question: DH Cc: freebsd-questions@FreeBSD.ORG Message-ID: <3A756BA3.30346.33E491@localhost> In-reply-to: References: <3A73E852.21340.222561@localhost> X-mailer: Pegasus Mail for Win32 (v3.12cFR) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I really am a newbie and don't have the necessary overview. This e- mail will contain raw data and I'll comment in a follow up e-mail. Sorry if it's a lot - better too much data than too little, even though I am probably posting the wrong stuff. BTW - I have no firewall. I have NO dhclient.script... neither in /usr/local/etc nor in /etc Here is /etc/dhclient.conf: # $FreeBSD: src/etc/dhclient.conf,v 1.2 1999/08/27 23:23:41 peter Exp $ # # This file is required by the ISC DHCP client. # See ``man 5 dhclient.conf'' for details. # # In most cases an empty file is suffient for most people as the # defaults are usually fine. # here is /var/log/dmesg.today which is from today - an unsucessful attempt to get onto the internet: Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P55C (166.59-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Features=0x8001bf real memory = 16777216 (16384K bytes) avail memory = 12275712 (11988K bytes) Preloaded elf kernel "kernel" at 0xc0436000. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 13.0 irq 11 tl0: at device 16.0 on pci0 tl0: couldn't map ports/memory device_probe_and_attach: tl0 attach returned 6 isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0x1030-0x103f at device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1000-0x101f irq 11 at device 20.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: at device 20.3 on pci0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ed1: at port 0x240-0x25f irq 5 on isa0 ed1: address 00:80:c8:d5:ec:b8, type NE2000 (16 bit) ad0: 2319MB [4712/16/63] at ata0-master UDMA33 acd0: CDROM at ata1-slave using PIO4 Mounting root from ufs:/dev/ad0s3a lp0: IPv6 not supported Here is /var/log/messages: Jan 29 11:32:58 /kernel: Copyright (c) 1992-2000 The FreeBSD Project.Jan 29 11:32:58 /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jan 29 11:32:58 /kernel: The Regents of the University of California. All rights reserved. Jan 29 11:32:58 /kernel: FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 Jan 29 11:32:58 /kernel: jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC Jan 29 11:32:58 /kernel: Timecounter "i8254" frequency 1193182 Hz Jan 29 11:32:58 /kernel: CPU: Pentium/P55C (166.59-MHz 586-class CPU) Jan 29 11:32:58 /kernel: Origin = "GenuineIntel" Id = 0x543 Stepping = 3 Jan 29 11:32:58 /kernel: Features=0x8001bf Jan 29 11:32:58 /kernel: real memory = 16777216 (16384K bytes) Jan 29 11:32:58 /kernel: avail memory = 12275712 (11988K bytes) Jan 29 11:32:58 /kernel: Preloaded elf kernel "kernel" at 0xc0436000. Jan 29 11:32:58 /kernel: Intel Pentium detected, installing workaround for F00F bug Jan 29 11:32:58 /kernel: md0: Malloc disk Jan 29 11:32:58 /kernel: npx0: on motherboard Jan 29 11:32:58 /kernel: npx0: INT 16 interface Jan 29 11:32:58 /kernel: pcib0: on motherboard Jan 29 11:32:58 /kernel: pci0: on pcib0 Jan 29 11:32:58 /kernel: pci0: at 13.0 irq 11 Jan 29 11:32:58 /kernel: tl0: at device 16.0 on pci0 Jan 29 11:32:59 /kernel: tl0: couldn't map ports/memory Jan 29 11:32:59 /kernel: device_probe_and_attach: tl0 attach returned 6 Jan 29 11:32:59 /kernel: isab0: at device 20.0 on pci0 Jan 29 11:32:59 /kernel: isa0: on isab0 Jan 29 11:32:59 /kernel: atapci0: port 0x1030-0x103f at device 20.1 on pci0 Jan 29 11:32:59 /kernel: ata0: at 0x1f0 irq 14 on atapci0 Jan 29 11:32:59 /kernel: ata1: at 0x170 irq 15 on atapci0 Jan 29 11:32:59 /kernel: uhci0: port 0x1000-0x101f irq 11 at device 20.2 on pci0 Jan 29 11:32:59 /kernel: usb0: on uhci0 Jan 29 11:32:59 /kernel: usb0: USB revision 1.0 Jan 29 11:32:59 /kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Jan 29 11:32:59 /kernel: uhub0: 2 ports with 2 removable, self powered Jan 29 11:32:59 /kernel: chip1: at device 20.3 on pci0 Jan 29 11:32:59 /kernel: fdc0: at port 0x3f0- 0x3f5,0x3f7 irq 6 drq 2 on isa0 Jan 29 11:32:59 /kernel: fdc0: FIFO enabled, 8 bytes threshold Jan 29 11:32:59 /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 Jan 29 11:32:59 /kernel: atkbdc0: at port 0x60,0x64 on isa0 Jan 29 11:32:59 /kernel: atkbd0: flags 0x1 irq 1 on atkbdc0 Jan 29 11:32:59 /kernel: kbd0 at atkbd0 Jan 29 11:32:59 /kernel: psm0: irq 12 on atkbdc0 Jan 29 11:32:59 /kernel: psm0: model Generic PS/2 mouse, device ID 0 Jan 29 11:32:59 /kernel: vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Jan 29 11:32:59 /kernel: sc0: at flags 0x100 on isa0 Jan 29 11:32:59 /kernel: sc0: VGA <16 virtual consoles, flags=0x300> Jan 29 11:32:59 /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Jan 29 11:32:59 /kernel: sio0: type 16550A Jan 29 11:32:59 /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Jan 29 11:32:59 /kernel: sio1: type 16550A Jan 29 11:32:59 /kernel: ppc0: at port 0x378-0x37f irq 7 on isa0 Jan 29 11:32:59 /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode Jan 29 11:32:59 /kernel: ppc0: FIFO with 16/16/8 bytes threshold Jan 29 11:32:59 /kernel: plip0: on ppbus0 Jan 29 11:32:59 /kernel: lpt0: on ppbus0 Jan 29 11:32:59 /kernel: lpt0: Interrupt-driven port Jan 29 11:32:59 /kernel: ppi0: on ppbus0 Jan 29 11:32:59 /kernel: ed1: at port 0x240-0x25f irq 5 on isa0 Jan 29 11:32:59 /kernel: ed1: address 00:80:c8:d5:ec:b8, type NE2000 (16 bit) Jan 29 11:32:59 /kernel: ad0: 2319MB [4712/16/63] at ata0-master UDMA33 Jan 29 11:32:59 /kernel: acd0: CDROM at ata1- slave using PIO4 Jan 29 11:32:59 /kernel: Mounting root from ufs:/dev/ad0s3a Jan 29 11:32:59 /kernel: lp0: IPv6 not supported Jan 29 11:51:21 login: ROOT LOGIN (root) ON ttyv0 This is some of the things I see on the screen when I start up [this is keyed in by hand as I don't know how to log that stuff to disk]: ed1: at port 0x240-0x25f irq 5 on isa0 ed1: address 00:80:c8:d5:ec:b8, type NEC2000 (16 bit) ... then comes the "can't assign requested address" which I answer with [control-C] otherwise it waits for hours .... then comes this: ed1: flags=8843 mtu 1500 inet6 fe80::280:c8ff:fed5: ecb8%ed1 prefixlen 64 scopeld 0x2 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:80:c8:d5:ec:b8 lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopid 0x8 inet6::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 Adittional Routing Options: tcp extensions=NO TCP keepalive=YES routing daemons:. Doing IPv6 network setup:add net :: ffff:0.0.0.0 gateway::1 add net::0.0.0.0:gateway::1 net.inet6.ip6.forwarding:0->0 net.inet6.ip6.accept_rtadv:0->0 net.inet6.ip6.accept_rtadv:0->1 lp0:IPv6 not supported get_llflag() failed, anyway I'll try sendmsg on lp0:can't assign requested address sendmsg on lp0:can't assign requested address sendmsg on lp0:can't assign requested address add net fe80::gateway::1 add net fe02::gateway::1 IPv4 mapped IPv6 address support=YES additional daemons:syslogd doing additional network setup:portmap starting final network daemons:nfsiod NFS access cache time=2 . . .....various stuff not relevant [I think] . . FreeBSD/i386 (.brutele.be) (ttyv0) ....note brutele.be is my provider DOES THAT MAKE ANY SENSE TO ANYBODY ???? remember - sometimes it works, sometimes not - ususally after I've been on the net under W95. > > On 28-Jan-01 seppludwig@isuisse.com wrote: > > I've changed the subject line to draw attention to my problem. > > > > It may seem like a simple problem - but for me it is a basic and > > vital problem - after all what use is it if I lose the lease half the > > time ??? > > > > If you need more info - please ask!! > > I'm using a cable modem myself, with Cox@Home. Here's my /etc/dhclient.conf: > > > # $FreeBSD: src/etc/dhclient.conf,v 1.2 1999/08/27 23:23:41 peter Exp $ > # > # This file is required by the ISC DHCP client. > # See ``man 5 dhclient.conf'' for details. > # > # In most cases an empty file is suffient for most people as the > # defaults are usually fine. > # > > interface "fxp0" { > send host-name "cx344940-a"; > prepend domain-name-servers 127.0.0.1; > } > > "fxp0" is my Intel Etherexpress card, "cx344940-a" is the hostname Cox gave me > when I signed up, and, since I'm running a local nameserver, I want to make > sure it (127.0.0.1) gets listed first in /etc/resolv.conf. > > The really critical element, I think, is sending your hostname. ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message