Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 13:39:57 +0100
From:      seppludwig@isuisse.com
To:        freebsd-questions@FreeBSD.ORG
Subject:   Client DHCP connection to Internet
Message-ID:  <3A7FFEAD.31292.F3B191@localhost>
In-Reply-To: <XFMail.010128093646.cjsabatier@home.com>
References:  <3A73E852.21340.222561@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
hallo everybody - I'm a newbie and so far very pleased with FreeBSD 
except for two problems - of which the DHCP problem is the most 
serious.

I have a pc connected to the net via cable modem
 which (i hope) is configured as a workstation rather than a server.

If I boot into W95 and then return to FreeBSD 
(i.e. reboot from the FreeBSD partition on the same machine),
 FreeBSD does not seem able to get a lease. This can last for hours.

 W95 doesn't have this problem (I go to W95 for e-mail and newsgroups 

such as this!)

on booting back to FreeBSD I get the following:

"Doing initial network setup:hostname"
"ifconfig: ioctl (SIOCDIFADDR):can't assign requested address"

...and it stops there for HOURS (I usually re-boot to W95
 to get anything done or go to bed!)

In Netscape (under X) on FreeBSD I sometimes get the following 
messages:

"Warning: the host .xxxxx.xxx is unknown"
(xxx etc = the domian name of my provider)
"This means that some or all hosts will be unreadable"
"Perhaps there is a problem with your name server!"
"If your site must use a non-root name server,
" you will need to set the $SOCKS_NS environment variable
" to point at the appropiate name server. 
" It may (or may not) be necessary to set this variable,
" or the SOCKS host preference, to the IP address 
of the host in question rather than its name."

I am only running a workstation client 
connected to the net via a cable modem.
I DO get connected - 
but then lose the connection as explained above.

Can anybody help?

Until I solve this problem I can't rely on my FreeBSD for mail etc.

I really am a newbie and don't have the necessary overview. 

here is some more raw data:

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  - 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> 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: <math 
processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI 
bridge> on motherboard pci0: <PCI bus> on pcib0 pci0: <S3 ViRGE DX/GX 
graphics accelerator> at 13.0 irq 11 tl0: <Compaq Netelligent 10/100 
TX Embedded UTP> at device 16.0 on pci0 tl0: couldn't map 
ports/memory device_probe_and_attach: tl0 attach returned 6 isab0: 
<VIA 82C586 PCI-ISA bridge> at device 20.0 on pci0 isa0: <ISA bus> on 
isab0 atapci0: <VIA 82C586 ATA33 controller> port 0x1030-0x103f at 
device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 
irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0x1000-
0x101f irq 11 at device 20.2 on pci0 usb0: <VIA 83C572 USB 
controller> 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: <VIA 82C586B ACPI interface> at device 20.3 on 
pci0 fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 
0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 
kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model 
Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-
0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> 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: <Parallel 
port> 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: <PLIP network interface> on ppbus0 lpt0: <Printer> 
on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 
ed1: <D-Link DE-220P PnP ISA Card> at port 0x240-0x25f irq 5 on isa0 
ed1: address 00:80:c8:d5:ec:b8, type NE2000 (16 bit) ad0: 2319MB <WDC 
AC22400L> [4712/16/63] at ata0-master UDMA33 acd0: CDROM <IDE/ATAPI 
CD-ROM 44XS> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> 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: <math processor> on motherboard Jan 29 11:32:58  /kernel: npx0: 
INT 16 interface Jan 29 11:32:58  /kernel: pcib0: <Host to PCI 
bridge> on motherboard Jan 29 11:32:58  /kernel: pci0: <PCI bus> on 
pcib0 Jan 29 11:32:58  /kernel: pci0: <S3 ViRGE DX/GX graphics 
accelerator> at 13.0 irq 11 Jan 29 11:32:58  /kernel: tl0: <Compaq 
Netelligent 10/100 TX Embedded UTP> 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: <VIA 82C586 PCI-ISA bridge> at device 20.0 
on pci0 Jan 29 11:32:59  /kernel: isa0: <ISA bus> on isab0 Jan 29 
11:32:59  /kernel: atapci0: <VIA 82C586 ATA33 controller> 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: <VIA 83C572 USB 
controller> port 0x1000-0x101f irq 11 at device 20.2 on pci0 Jan 29 
11:32:59  /kernel: usb0: <VIA 83C572 USB controller> 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: <VIA 82C586B ACPI interface> at device 
20.3 on pci0 Jan 29 11:32:59  /kernel: fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at 
port 0x60,0x64 on isa0 
Jan 29 11:32:59  /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on 
atkbdc0 
Jan 29 11:32:59  /kernel: kbd0 at atkbd0 
Jan 29 11:32:59  /kernel: psm0: <PS/2 Mouse> 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: <Generic ISA VGA> at port 0x3c0-0x3df 
iomem 0xa0000-0xbffff on isa0 
Jan 29 11:32:59  /kernel: sc0: <System console> 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: <Parallel port> 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: <PLIP network interface> on ppbus0 
Jan 29 11:32:59  /kernel: lpt0: <Printer> on ppbus0 
Jan 29 11:32:59  /kernel: lpt0: Interrupt-driven port 
Jan 29 11:32:59  /kernel: ppi0: <Parallel I/O> on ppbus0 
Jan 29 11:32:59  /kernel: ed1: <D-Link DE-220P PnP ISA Card> 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 <WDC AC22400L> [4712/16/63] at 
ata0-master UDMA33 
Jan 29 11:32:59  /kernel: acd0: CDROM <IDE/ATAPI CD-ROM 44XS> 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: <D-Link DE-220P PnP ISA Card> 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 <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>   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<UP,LOOPBACK,RUNNING,MULTICAST>   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. > 

 
______________________________________________________________________________
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A7FFEAD.31292.F3B191>