could someone check my rc.conf please? a small error/warning there somewhere

Pekka Savola pekkas@netcore.fi
Thu, 21 Mar 2002 15:50:33 +0200 (EET)


On Thu, 21 Mar 2002, Robert wrote:

> I have something ? out of place here, because it's giving the error on startup shown below this config file. Apart from that one error? I think everything else is ok?
> Thanks a lot for any help, I appreciate it. 

Please read through /etc/defaults/rc.conf and possibly 
/etc/rc.network{,6}: your config is based on some horrible misconceptions 
on configuring.

(Figuring things out yourself is IMO the best way to learn!)

> ifconfig_lo0="inet 127.0.0.1"
> ifconfig_ed0="inet 203.1.96.6  netmask 255.255.255.0"
> ifconfig_stf0="inet6 2002:cb01:6006::1 prefixlen 16 alias"
> hostname="ruby.chalmers.com.au"
> named_enable="YES"
> 
> defaultrouter="203.1.96.5"
> static_routes=""
> gateway_enable="NO"
> router_enable="NO"
> mrouted_enable="NO"
> inetd_enable=YES
> tcp_extensions="YES"
> 
> ### IPv6 options: ###
> ipv6_enable="YES"               
> ipv6_network_interfaces="auto"  
> ipv6_gateway_enable="YES"       
> ipv6_prefix_ed0="2002:cb01:6006"
> ipv6_static_routes="default"
> ipv6_route_default="default 2002:cdb2:5ac2::1"
> stf_interface_ipv4addr="203.1.96.6"
> -------------------------------------------------------------------------
> 
> error from startup 
> Mar 21 15:19:15 ruby kernel: ifconfig:
> Mar 21 15:19:15 ruby kernel: 2002:cb01:6006:240:5ff:fe4e:a982: bad value
> 
> 
> ------------------------------------------------------------------------
> output of startup.
> 
> Mar 21 15:19:14 ruby kernel: ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> Mar 21 15:19:14 ruby kernel: inet 203.1.96.6 netmask 0xffffff00 broadcast 203.1.96.255
> Mar 21 15:19:14 ruby kernel: inet6 fe80::240:5ff:fe4e:a982%ed0 prefixlen 64 tentative scopeid 0x1
> Mar 21 15:19:14 ruby kernel: ether 00:40:05:4e:a9:82
> Mar 21 15:19:14 ruby kernel: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> Mar 21 15:19:14 ruby kernel: inet6 ::1 prefixlen 128
> Mar 21 15:19:14 ruby kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> Mar 21 15:19:14 ruby kernel: inet 127.0.0.1 netmask 0xff000000
> Mar 21 15:19:15 ruby kernel: add net default: gateway 203.1.96.5
> Mar 21 15:19:15 ruby kernel: Additional routing options:
> Mar 21 15:19:15 ruby kernel: Routing daemons:
> Mar 21 15:19:15 ruby kernel: Doing IPv6 network setup:
> Mar 21 15:19:15 ruby kernel: add net ::ffff:0.0.0.0: gateway ::1
> Mar 21 15:19:15 ruby kernel: add net ::0.0.0.0: gateway ::1
> Mar 21 15:19:15 ruby kernel: net.inet6.ip6.forwarding:
> Mar 21 15:19:15 ruby kernel: 0
> Mar 21 15:19:15 ruby kernel: ->
> Mar 21 15:19:15 ruby kernel: 1
> Mar 21 15:19:15 ruby kernel:
> Mar 21 15:19:15 ruby kernel: net.inet6.ip6.accept_rtadv:
> Mar 21 15:19:15 ruby kernel: 0
> Mar 21 15:19:15 ruby kernel: ->
> Mar 21 15:19:15 ruby kernel: 0
> Mar 21 15:19:15 ruby kernel:
> Mar 21 15:19:15 ruby kernel: ifconfig:
> Mar 21 15:19:15 ruby kernel: 2002:cb01:6006:240:5ff:fe4e:a982: bad value
> 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> 
> 
> Mar 21 15:19:15 ruby kernel:
> Mar 21 15:19:15 ruby kernel: ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> Mar 21 15:19:15 ruby kernel: inet6 fe80::240:5ff:fe4e:a982%ed0 prefixlen 64 scopeid 0x1
> Mar 21 15:19:15 ruby kernel: inet6 2002:cb01:6006:: prefixlen 64 anycast
> Mar 21 15:19:15 ruby kernel: lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> Mar 21 15:19:15 ruby kernel: ifconfig:
> Mar 21 15:19:15 ruby kernel: lp0 has no inet6 interface address!
> Mar 21 15:19:15 ruby kernel:
> Mar 21 15:19:15 ruby kernel: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> Mar 21 15:19:15 ruby kernel: inet6 ::1 prefixlen 128
> Mar 21 15:19:15 ruby kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> Mar 21 15:19:15 ruby kernel: add net 2002:e000::: gateway ::1
> Mar 21 15:19:15 ruby kernel: add net 2002:7f00::: gateway ::1
> Mar 21 15:19:15 ruby kernel: add net 2002:0000::: gateway ::1
> Mar 21 15:19:15 ruby kernel: add net 2002:ff00::: gateway ::1
> Mar 21 15:19:15 ruby kernel: add net fe80::: gateway ::1
> Mar 21 15:19:15 ruby kernel: add net ff02::: gateway ::1
> Mar 21 15:19:15 ruby kernel: add net default: gateway 2002:cdb2:5ac2::1
> Mar 21 15:19:15 ruby kernel: IPv4 mapped IPv6 address support=YES
> Mar 21 15:19:15 ruby kernel: .
> Mar 21 15:19:15 ruby kernel: Additional daemons:
> Mar 21 15:19:15 ruby kernel: syslogd
> 
> 
> 
> 
> 
> 

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords