Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 19:13:07 -0400 (EDT)
From:      John Daniel <john@cell-works.com>
To:        Matthew Emmerton <matt@gsicomp.on.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: can't change IP
Message-ID:  <Pine.BSF.4.05.10109281901510.1223-100000@cell-works.com>
In-Reply-To: <001e01c14859$12bed4f0$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
here is some additional information. I did a reinstall and changed which
card is the one i configure. It is now a linksys card de0. The error is
the same  no matter which card I use.

here are my dmesg and rc.conf

I can't figure out why the first octet is 052. in dmesg.

Again TIA

John
Copyright (c) 1992-2001 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.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001
    murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (165.79-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> q
avail memory = 28200960 (27540K bytes)
Preloaded elf kernel "kernel" at 0xc0480000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc048009c.
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
isab0: <Intel 82371FB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX ATA controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xdcc0-0xdcff mem 0xfd000000-0xfd0fffff,0xfd100000-0xfd100fff irq 11 at device 13.0 on pci0
fxp0: Ethernet address 00:02:b3:1b:71:d7
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
de0: <Digital 21140A Fast Ethernet> port 0xdc00-0xdc7f mem 0xfd101400-0xfd10147f irq 10 at device 14.0 on pci0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:40:05:36:39:c7
pci0: <S3 Trio graphics accelerator> at 16.0 irq 9
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0
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 IntelliMouse, device ID 3
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: Generic chipset (ECP/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
ad0: 3093MB <FUJITSU MPC3032AT> [6704/15/63] at ata0-master WDMA2
acd0: CDROM <MATSHITA CR-589> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
swapon: adding /dev/ad0s1b as swap device
Automatic boot in progress...
/dev/ad0s1a: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: 
clean, 96288 free 
(608 frags, 11960 blocks, 0.5% fragmentation)
/dev/ad0s1f: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: 
clean, 254062 free 
(14 frags, 31756 blocks, 0.0% fragmentation)
/dev/ad0s1e: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: 
clean, 724346 free 
(4138 frags, 90026 blocks, 0.4% fragmentation)
/dev/ad0s1d: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: 
clean, 581397 free 
(21 frags, 72672 blocks, 0.0% fragmentation)
/dev/ad0s1h: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1h: 
clean, 553761 free 
(185 frags, 69197 blocks, 0.0% fragmentation)
/dev/ad0s1g: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1g: 
clean, 253854 free 
(30 frags, 31728 blocks, 0.0% fragmentation)
Doing initial network setup:
 hostname
de0: enabling 10baseT port
.
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 52.220.255.140 netmask 0xfffff000 broadcast 52.220.255.255
	inet6 fe80::240:5ff:fe36:39c7%de0 prefixlen 64 tentative scopeid 0x2 
	ether 00:40:05:36:39:c7 
	media: Ethernet autoselect (10baseT/UTP)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
	inet 127.0.0.1 netmask 0xff000000 
add net default: gateway 064.220.255.129
Additional routing options:
 IP gateway=YES
 TCP keepalive=YES
.
Routing daemons:
.
Additional daemons:
 syslogd
.
Doing additional network setup:
 ntpdate
.
Starting final network daemons:
.
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting standard daemons:
 cron
 sshd
.
Initial rc.i386 initialization:
.
Configuring syscons:
 blank_time
 moused
.
Additional ABI support:
.
Local package initialization:
.
Additional TCP options:
.
 here is the rc.conf file


Fri Sep 28 17:51:40 EDT 2001
Sep 28 17:55:42 test login: ROOT LOGIN (root) ON ttyv0

# -- sysinstall generated deltas -- # Fri Sep 28 16:49:19 2001
# Created: Fri Sep 28 16:49:19 2001
# Enabl  network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="064.220.255.129"
gateway_enable="YES"
hostname="test"
hostname="test.cell-works.com"
ifconfig_de0="inet 064.220.255.140  netmask 255.255.240.000"
inetd_enable="NO"
kern_securelevel_enable="NO"
moused_enable="YES"
moused_flags="-3"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
# -- sysinstall generated deltas -- # Fri Sep 28 17:49:18 2001
ntpdate_flags="bitsy.mit.edu"
sendmail_enable="NO"
ntpdate_enable="YES"
------------------------------------------------------------------------------
"Don't want no trouble , don't start no trouble."

-Some actor in some sitcom


-------------------------------------------------------------------------------

On Fri, 28 Sep 2001, Matthew Emmerton wrote:

> > I am having trouble changing the Ip address on a Nic card on my new  4.4
> > firewall box.
> >
> > when i use /stand/sysinstall it generates the deltas in /etc/rc.conf but
> > the card still has the wrong ip address even after the reboot.
> 
> Is the address correct in /etc/rc.conf before you reboot?
> 
> > The card is a intel.
> 
> Is the card even being detected properly?  4.4-RELEASE requires 'device
> miibus' in your kernel configuration in order for fxp cards to work.  You'll
> need to build a new kernel for this to work correctly.  (If this is a fresh
> install, though, it should work properly.)
> 
> > I've checked rc.conf and  ..../default/rc.conf where else should I
> > check?
> 
> The only place to check is /etc/rc.conf.  Anything you change in
> /etc/default/rc.conf will be overridden by /etc/rc.conf.
> 
> Please send the output of 'dmesg', 'ifconfig -a' and a copy of /etc/rc.conf
> to the list and I'm sure someone will be able to spot the problem.
> 
> --
> Matt Emmerton
> 
> 


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?Pine.BSF.4.05.10109281901510.1223-100000>