Subject: RE: DHCP and RoadRunner Cable Modem
To: 'Analysis and Solutions' <info@analysisandsolutions.com>
From: David Woyciesjes <DAW@yalepress3.unipress.yale.edu>
List: port-i386
Date: 06/28/2001 09:43:41
Sounds like you don't have the DNS server, or maybe gateway, entries
in NetBSD. I can't recall offhand where they go, I think one of the files is
/etc/myagte...
--- David A Woyciesjes
--- C & IS Support Specialist
--- Yale University Press
--- mailto:david.woyciesjes@yale.edu
--- (203) 432-0953
--- ICQ # - 905818
! -----Original Message-----
! From: Analysis and Solutions [mailto:info@analysisandsolutions.com]
! Sent: Thursday, June 28, 2001 1:43 AM
! To: NetBSD i386
! Subject: DHCP and RoadRunner Cable Modem
!
!
! Hi Folks:
!
! Just installed NetBSD 1.5 (in a dual boot situation with
! Windows 95 and
! Windows NT 4.0). Glad to be here. Unfortunately, I can't
! get a connecion to
! the internet. The link is via a RoadRunner cable modem using
! DHCP. The
! modem is hooked to my machine via a 10 Base T Netgear FA 312
! network adapter
! card.
!
! I've read the man pages for the various programs involved, scoured the
! newsgroups/mailing list archives and looked at a series of
! web pages with
! tips. None have gotten me over the top. Your advice will be greatly
! appreciated.
!
! Here's the behavior...
!
! I boot up at the start of the day into NetBSD
! DHCP gets a lease okay.
! Can ping my inet number okay.
! Can ping a server by IP address.
! Can't ping a server by domain name. The error message says:
! Can not resolve "shell.panix.com" (Host name lookup failure)
!
! Shutdown
! Boot into NetBSD
! Obtains DHCP lease
! Can't ping a server by IP address.
!
! Shutdown
! Remove power from cable modem
! Restore power to cable modem
! Boot into NetBSD
! Can ping a server by IP address.
! Can't ping a server by domain name. The error message says:
! Can not resolve "shell.panix.com" (Host name lookup failure)
!
! Shutdown
! Boot into Windows NT 4
! DHCP can't get lease
!
! Shutdown
! Remove power from cable modem
! Restore power to cable modem
! Boot into Window NT 4
! DHCP gets lease okay
! Everything runs fine
!
!
! One thing I notice off the bat is the MAC/NAT number shown
! during bootup and
! in the ifconfig output, 0a:67:c9:c3:98:a8, does not match the
! MAC/NAT of my
! card or my cable modem. Where's this number coming from?
! Could this be the
! problem?
!
! As far as the NetBSD configuraion, I've tried all sorts of
! different setups.
! I get the same results every time. Below you'll find all
! sorts of relevant
! files and outputs.
!
! I've spent nearly two days tinkering with this. Do you have
! any ideas,
! please?
!
! Thanks,
!
! --Dan
!
!
! ==================== /etc/rc.conf ========================
! # I just recently put this in. Makes no difference either way.
! ifconfig_sip0="inet base.nyc.rr.com netmask 255.255.255.0"
!
! clear_tmp=YES
! ipfilter=NO
! inetd=YES
! dhclient_flags="sip0"
! dhclient=YES
! ==============================================================
!
!
! ================ /etc/dhclient.conf ======================
! # NOTE:
! # This is my latest file.
! # I've tried lots of different configurations,
! # including a completely blank file.
! # Behavior is the same, regardless.
!
! reboot 0;
! interface "sip0" {
! send dhcp-client-identifier 1:00:A0:CC:A1:86:27;
! send host-name "base";
! media "link2";
! }
! ==============================================================
!
!
! =============== /var/db/dhclient.leases ================
! lease {
! interface "sip0";
! fixed-address 66.65.114.128;
! medium "link2";
! option subnet-mask 255.255.255.0;
! option routers 66.65.114.1;
! option dhcp-lease-time 86400;
! option dhcp-message-type 5;
! option domain-name-servers 24.29.99.36,24.29.99.38,24.29.99.39;
! option dhcp-server-identifier 24.29.99.65;
! option broadcast-address 255.255.255.255;
! option domain-name "nyc.rr.com";
! renew 3 2001/6/27 22:37:47;
! rebind 4 2001/6/28 07:37:58;
! expire 4 2001/6/28 10:37:58;
! }
! ==============================================================
!
!
! ================ ifconfig -a -u =========================
! sip0: flags=fbff<UP,BROADCAST,DEBUG,LOOPBACK,POINTOPOINT,NOTRAILERS,
! RUNNING,NOARP,PROMISC,ALLMULTI,SIMPLEX,LINK0,LINK1,LINK2,MULTICAST>
! mtu 1500
! address: 0a:67:c9:c3:98:a8
! media: Ethernet autoselect (10baseT)
! status: active
! inet 66.65.114.128 -> 255.255.255.255 netmask 0xffffff00
! broadcast 255.255.255.255
! inet6 fe80::867:c9ff:fec3:98a8%sip0 ->
! :: prefixlen 64 scopeid 0x1
! inet6 ::1 -> ::1 prefixlen 128
! lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33228
! inet 127.0.0.1 netmask 0xff000000
! inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
! inet6 ::1 prefixlen 128
! ==============================================================
!
!
! ============ /etc/resolv.conf ============================
! search nyc.rr.com
! nameserver 24.29.99.36
! nameserver 24.29.99.38
! nameserver 24.29.99.39
! ==============================================================
!
!
! ========= Windows NT IP Configuration ===================
! F:\>ipconfig
! Ethernet adapter FA312ND45:
! IP Address. . . . . . . . . : 66.65.114.128
! Subnet Mask . . . . . . . . : 255.255.255.0
! Default Gateway . . . . . . : 66.65.114.1
! ==============================================================
!
!
! --
! PHP scripts that make your job easier
! http://www.analysisandsolutions.com/code/
! SQL Solution | Layout Solution | Form Solution
! T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
! 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
!