Date: Thu, 18 Dec 2003 10:34:39 -0500 From: "King, Arron S." <kinga@ohiodominican.edu> To: <freebsd-questions@FreeBSD.ORG> Subject: System forgets it's mac address on 1 interface every reboot Message-ID: <BE0F19AA75E3C44EB99B843CBB9518954A9DF9@exchange.odc.edu>
next in thread | raw e-mail | index | archive | help
Hello, I am trying to re-task an old system to do something useful. I have an older Nokia IP 330 that I have managed to install FreeBSD on. I found a paper on doing this in Linux, and was able to do mostly the same thing with FreeBSD. It involved removing the hard drive and putting it into another system that had a similar chipset on the motherboard to do the install. (The nokia does not have a cd-rom or keyboard/mouse/video interfaces). The paper I read also documents that the mac addresses of the 3 built-in NICs weren't burned into the prom, and thus needed to be set manually. I was able to document what the original mac's were by booting the box into IPSO (nokia's bsd-based OS) before I installed FreeBSD. When I installed FreeBSD on the surrogate system, I made sure to setup the com ports to accept a console login. At this point, my re-tasked Nokia boots FreeBSD, and I am able to login to the console port as root. I have been able to bring up a NIC by manually entering the settings. In /etc/rc.conf, I have entered the settings to configure the mac address of each NIC, and to add an IP Address to one of the NICs. Thinking I am set, I reboot the box; but the interface never comes up. Consoling in on the com port shows that the NIC I configured has it's IP information; but lost it's mac address. The other 2 interfaces that I did not configure for IP have remembered their mac addresses. I have played around with the location and combining of my statements in /etc/rc.conf; but haven't found success yet. Does anyone have any ideas? Many thanks for reading the long post, and any ideas anyone can offer! Below are my config files and information that seemed relevant.. /etc/rc.conf # -- sysinstall generated deltas -- # Mon Dec 15 08:45:34 2003 # Created: Mon Dec 15 08:45:34 2003 # Enable 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. kern_securelevel_enable=3D"NO" sendmail_enable=3D"YES" sshd_enable=3D"YES" usbd_enable=3D"NO" # NEVER lose these MAC addresses. This hardware doesn't have them burned in. ifconfig_fxp0=3D"link 00:a0:8e:0c:25:30" ifconfig_fxp1=3D"link 00:a0:8e:0c:25:34" ifconfig_fxp2=3D"link 00:a0:8e:0c:25:38" # ntpdate_flags=3D"-b 10.xxx.xxx.xx" ntpdate_enable=3D"YES" check_quotas=3D"NO" nisdomainname=3D"NO" ifconfig_fxp0=3D"inet 10.xxx.xxx.x netmask 255.255.0.0" defaultrouter=3D"10.xxx.x.x" hostname=3D"foo" ntpdate_enable=3D"YES" Results of ifconfig on system before reboot (working NIC) fxp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.xxx.xxx.x netmask 0xffff0000 broadcast 10.xxx.255.255 inet6 fe80::d488:b1d9:9b5f:d1cc%fxp0 prefixlen 64 scopeid 0x1 ether 00:a0:8e:0c:25:30 media: Ethernet manual fxp1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:a0:8e:0c:25:34 media: Ethernet manual fxp2: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:a0:8e:0c:25:38 media: Ethernet manual lp0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 Results of ifconfig after reboot (configured NIC looses it's mac address) fxp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.xxx.xxx.x netmask 0xffff0000 broadcast 10.xxx.255.255 inet6 fe80::d488:b1d9:9b5f:d1cc%fxp0 prefixlen 64 scopeid 0x1 ether ff:ff:ff:ff:ff:ff media: Ethernet manual fxp1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:a0:8e:0c:25:34 media: Ethernet manual fxp2: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:a0:8e:0c:25:38 media: Ethernet manual lp0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D Arron King Network & Systems Administrator Ohio Dominican University V: 614-251-4515 F: 614-252-2650
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE0F19AA75E3C44EB99B843CBB9518954A9DF9>