Re: Fresh installation 9.1

2013-07-19 Thread Julian H. Stacey
> On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote:
> > Hi All,
> > after using freebsd for  10 to 20 mins, Key board is getting locked.

Apart from Polytopon's good questions & observations,
such as "Is that inside X?"

I'd also add 1 more question: Is that 
A) a PS2 [or older] direct keyboard ?

eg on 8.1 dmesg:
kbd1 at kbdmux0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0

eg on 9.1 dmesg
kbd: new array size 4
kbd1 at kbdmux0
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d

eg on 9.1 devinfo
atkbdc0
 atkbd0


Or
B) a PS2 keyboard on a USB converter ?

eg on 9.1 dmesg
ugen1.2:  at usbus1
ukbd0:  on usbus1
kbd2 at ukbd0
kbd2: ukbd0, generic (0), config:0x0, flags:0x3d

eg on 9.1 devinfo
uhci1
  usbus1
uhub1
  ukbd0


Just yesterday I had a case (B) lock up on me on 8.2-Release it
needed a reboot (or power off unplug) to reset it.  It might or not
even be a FreeBSD problem & has an easy hardware solution,

Hrkesh Sahu you dont say how many keyboards you tried, or on how
many if any other op systems, You know keyboards use wildly different
amounts of mA ?  Could be your's is greedy & near the limit ?  (ive
had some PCs dont like some keyboards) was room was hotter than
normal (I had 2/3 pieces of hardware dies in hot spell here lately)

Might be software or harsdware, we dont know.

Hrkesh Sahu & all others asking free advice should realise: The
more you tell readers on a self help list, the more we readers can
deduce, but we can't, don't & not interested to mind read ;-) & The
less people tell us, the less likley readers are to bother to guess
or ask questions to deduce answers.

We're not paid support, we require people to work to help us
help them.  eg telling us what interesting bits of dmesg might show,
which kernel you ran, if modified or generic, & what /var/log/messages
shows etc (which you can see via ssh to host from another PC, or
after reboot, so you dont need keyboard to see why keyboard has
failed, no Catch 22 ;-)

What extras you might have installed later ?  eg on an 8.2 I installed
in /boot/loader.conf   vboxdrv_load=YES  & /etc/rc.conf
vboxnet_enable="YES" & that laptop worked just fine from remote,
again just yesterday I neededto use acual keyboard (in X) & noted
respons was abysmal, maybe 5 or 10 seconds to echo.

Theres so much you havent told us, we really dont know what youve
done that may have been the problem.

Even a beginner should ask "what commands
should I do to produce more diagnostics to help you help me ?"
Those that don't try hard to help us don't tend to get so much help.
Not a particular personal criticism, just really obvious !

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
Facebook Insecurity:  http://www.bbc.co.uk/news/technology-23027643
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fresh installation 9.1

2013-07-19 Thread Polytropon
On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote:
> Hi All,
> after using freebsd for  10 to 20 mins, Key board is getting locked.

Is that inside X?



> Before this problem , i have enabled ftpd and provided root login for ftp
> server access.

That is something you should _not_ do, especially not within
a network you don't trust (see also: The Internet). Usually
FTP access can't be trusted (too much plaintext), and
especially for root this is a threat to security. Better
use scp (SSH) for transfering files in an "FTP-like way".



> after  that I am facing this problem . but i revert back
> this root access. and i stopped the ftpd service.

That is a good step regarding security. Still make sure
your system hasn't been compromized. Also be sure to change
your root password, because you _never_ know. :-)



> mouse is working properly. but key board is not responding properly.

When this happens inside X, it sounds a bit familiar. Does
the keyboard "start working again" when you move the mouse?

I'm not sure if _this_ is still an issue:

http://www.wonkity.com/~wblock/docs/html/aei.html

Make sure the keyboard is working as expected, for example
by testing it in a non-X session (text mode terminal).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fresh installation 9.1

2013-07-19 Thread hrkesh sahu
Hi All,
after using freebsd for  10 to 20 mins, Key board is getting locked.
Before this problem , i have enabled ftpd and provided root login for ftp
server access. after  that I am facing this problem . but i revert back
this root access. and i stopped the ftpd service.
mouse is working properly. but key board is not responding properly.

Please help me on this.

Regards



On Fri, Jun 21, 2013 at 6:23 PM, Trond Endrestøl <
trond.endres...@fagskolen.gjovik.no> wrote:

> On Thu, 20 Jun 2013 18:17+0530, hrkesh sahu wrote:
>
> > Hi Trond,
> > One more help please,
> >
> > I was trying to install v6eval-3.3.2 which is used for IPv6 ready logo
> self
> > test within FreeBSD 9.1-RELEASE version for a IPv6 self test. But I am
> > facing this compilation issue.
> >
> >  Code:
> >
> > # make
> > ===> lib (depend)
> > ===> lib/Cm (depend)
> > rm -f .depend GPATH GRTAGS GSYMS GTAGS
> > rm -f .depend
> > mkdep -f .depend -a-DYYDEBUG -I. -I/usr/local/include  CmTypes.cc
> > BtObject.cc BtArray.cc BtList.cc BtSet.cc CmQueue.cc CmAgent.cc
> > CmMain.cc CmSocket.cc CmFdSet.cc CmFdMasks.cc CmString.cc
> > PerfCollect.cc Timer.cc CmDispatch.cc CmReceiver.cc timeval.cc
> > CmToken.cc CmMatch.cc CmLexer.cc
>
> > CmMain.cc:51:18: error: utmp.h: No such file or directory
>
> FreeBSD 9.1 uses utx, not utmp. Try to disable utmp during configure,
> and possibly enable utx.
>
> Running ./configure --help might give some insight.
>
> > mkdep: compile failed
> > *** [.depend] Error code 1
> >
> > Stop in /root/Desktop/xxx/v6eval-3.3.2/lib/Cm.
> > *** [depend] Error code 1
> >
> > Stop in /root/Desktop/xxx/v6eval-3.3.2/lib.
> > *** [depend] Error code 1
> >
> > Stop in /root/Desktop/xxx/v6eval-3.3.2.
> >
> > Regards
> > Hrisikesh
> >
> >
> > On Fri, Jun 14, 2013 at 6:11 PM, Trond Endrestøl <
> > trond.endres...@fagskolen.gjovik.no> wrote:
> >
> > > On Fri, 14 Jun 2013 17:31+0530, hrkesh sahu wrote:
> > >
> > > > Hi Trond,
> > > > Thanks a lot.
> > > > Sorry I am asking so many thinks.
> > > > I am looking for a another help.
> > > >
> > > > What is static route for a IPV6 router?
> > >
> > > A static route is something I use for our IPv6 VPN clients in our net.
> > >
> > > All packets destined to the VPN clients are routed to the inside
> > > interface of the VPN router, the VPN router takes care of everything
> > > else, including wrapping the packets in the encryption layer and
> > > sending the resulting datagrams to the real clients somewhere out
> > > there in the world, back through the main router.
> > >
> > > > How do i need to configure static route on FreeBSD router indicating
> > > > another router's link local address as next HOP?
> > > >
> > > > Now I have a another router which is connected in same network with
> > > > FreeBSD router.
> > >
> > > If clients on the far end of each of the two routers needs to
> > > communicate with one another, then the appropriate default gateway
> > > settings on each host and router should suffice.
> > >
> > > If three or more routers are connected somehow, then they each need to
> > > know about the prefixes on the other routers, and where to send the
> > > packets, i.e. the next hop, and let the next hop decide each packet's
> > > fate as the packets traverse each router link.
> > >
> > > This is where routing protocols such as RIP, OSPF, IS-IS, BGP, etc,
> > > come into play.
> > >
> > > I haven't looked into route6d(8), RIP6 routing protocol, but I'm sure
> > > it can be tamed to act as you please. Maybe you should look into
> > > Quagga and/or GNU Zebra.
> > >
> > > My network is simple enough, and I only need directly connected and
> > > static routes to make things happen. On the outside, towards our ISP,
> > > things are much more complicated.
>
> --
> +---++
> | Vennlig hilsen,   | Best regards,  |
> | Trond Endrestøl,  | Trond Endrestøl,   |
> | IT-ansvarlig, | System administrator,  |
> | Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
> | tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
> | sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
> +---++
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Fwd: Fresh installation 9.1

2013-06-13 Thread hrkesh sahu
Hi ,
I need one more help -
This is my new /etc/rtadvd.conf
--


rl0:\
:addr="fd8f:d6d0:e6e7:100::":prefixlen#64

re0:\
:addr="fd44:13de:a366:200::":prefixlen#64 \

:addr1="2001:db8::1::":prefixlen#64:vltime#12345:pltime#12345:


For  this all the Client machines received the router advertisement.

There are two IPv6 clients are connected to Re0 interface of FreeBSD
router  using a HUB.

All IPv6 clients updates there IPv6 address table.

client1 IPv6 address -
IP Address. . . . . . . . . . . . : 2001:db8::1:f009:905e:1667:4aae
IP Address. . . . . . . . . . . . : 2001:db8::1:224:7eff:fee0:6b51
IP Address. . . . . . . . . . . . : fd44:13de:a366:200:f009:905e:1667:4aae
IP Address. . . . . . . . . . . . : fd44:13de:a366:200:224:7eff:fee0:6b51
IP Address. . . . . . . . . . . . : fd8f:d6d0:e6e7:100::1337
IP Address. . . . . . . . . . . . : 2001:db8::2::200
IP Address. . . . . . . . . . . . : fe80::224:7eff:fee0:6b51%5
Default Gateway . . . . . . . . . : fe80::21f:d0ff:fe40:8bbd%5

Client2 Ipv6 address  -

   - fe80:0:0:0:204:a3ff:fe11:9d19
   - fd44:13de:a366:200:204:a3ff:fe11:9d19
   - fd44:13de:a366:200:0:0:0:200
   - 2001:db8::1:204:a3ff:fe11:9d19


My surprise is that  -

I am able to get a reply for a client1  ICMPv6 request  (
fd44:13de:a366:200:204:a3ff:fe11:9d19 is a another client2 IPv6 address-

>ping6 fd44:13de:a366:200:204:a3ff:fe11:9d19

Pinging fd44:13de:a366:200:204:a3ff:fe11:9d19
from fd44:13de:a366:200:f009:905e:1667:4aae with 32 bytes of data:

Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time<1ms
Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time<1ms
Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time<1ms
Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time<1ms


But -

when I send this ICMPv6 request from Client1 , I am not able to get the
reply.

>ping6 2001:db8::1:204:a3ff:fe11:9d19

Pinging 2001:db8::1:204:a3ff:fe11:9d19
from 2001:db8::1:f009:905e:1667:4aae with 32 bytes of data:


Request timed out.
Request timed out.
Request timed out.
Request timed out.

Please help me on this.

Regards
Hrisikesh



On Wed, Jun 12, 2013 at 6:22 PM, hrkesh sahu wrote:

> Hi Trond,
> I understood that rtadvd should be stopped and rtadvd_enable should be
> disabled when we are using Link local address.
> Now i am able to ping link local address.
>
>
>
>
> On Wed, Jun 12, 2013 at 5:06 PM, hrkesh sahu wrote:
>
>> Hi Trond,
>> Thanks a lot for this clear information and your help.
>>
>> I need one more help on this link local address communication -
>>
>> I am not able to ping link local address of FREEBSD machine.
>>
>>
>> Laptop ( windows XP) <->< rl0 interface > FreeBSD Router
>>
>> ping from laptop to freebsd Link address  -
>>
>> >ping6 fe80::21f:d0ff:fe40:8bbd%5
>>
>> Pinging fe80::21f:d0ff:fe40:8bbd%5
>>
>> from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data:
>>
>> Request timed out.
>> Request timed out.
>>
>> Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable.
>> Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable.
>>
>> Ping statistics for fe80::21f:d0ff:fe40:8bbd%5:
>> Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
>>
>>
>> My rc.conf
>> 
>> ipv6_gateway_enable="YES"
>> rtadvd_enable="YES"
>> rtadvd_interfaces="rl0 re0"
>>
>>
>> Regards
>>
>>
>>
>>
>> On Wed, Jun 12, 2013 at 4:32 PM, Trond Endrestøl <
>> trond.endres...@fagskolen.gjovik.no> wrote:
>>
>>> On Wed, 12 Jun 2013 16:16+0530, hrkesh sahu wrote:
>>>
>>> > Hi Trond,
>>> > Now it is working.
>>> >
>>> > could you please tell me how to route link local address routing?
>>>
>>> Link local addresses are just that, link local. They are NEVER ment to
>>> traverse through any router. Think of link local as VLAN local or
>>> subnet local. They play a crucial role in Neighbor Discovery and are
>>> useful in ad-hoc nets.
>>>
>>> See section 2.5.6 of RFC 4291: http://tools.ietf.org/html/rfc4291
>>> See the entire section 7 of RFC 4861: http://tools.ietf.org/html/rfc4861
>>> See section 5.3 of RFC 4862: http://tools.ietf.org/html/rfc4862
>>>
>>> > Laptop ( windows XP) <->< rl0 interface > FreeBSD
>>> Router >> > interface ><->Target Ipv6 Device
>>> > (XP Link local address )
>>> > fe80::224:7eff:fee0:6b51<-connected to
>>> > ->fe80::210:b5ff:fe48:9f73
>>> > ( freebsd rl0 interface)
>>> >
>>> > ( Freebsd re0 Link local address)
>>> > fe80::21f:d0ff:fe40:8bbd<--connected to --->
>>> > fe80::204:a3ff:fe11:9d19
>>> > ( target device link local address)
>>> >
>>> >
>>> >
>>> > I send a ICMPv6 request from Laptop to Target device Link local
>>> address.
>>> > >ping6 fe80::204:a3ff:fe11:9d19%5
>>> >
>>> > Pinging fe80::204:a3ff:fe11:9d19%5
>>> > from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data:
>>> >
>>> > Reply from fe80::224:7eff:

Re: Fresh installation 9.1

2013-05-23 Thread Trond Endrestøl
On Thu, 23 May 2013 14:26+0530, hrkesh sahu wrote:

> Hi Trond,
> Thanks a lot for your help and Ipv6 routing is working with FreeBSD OS.
> we want to go for Ipv6 certification for our IPv6 stack.
> And Ipv6 stack we want to use FreeBSD as one vendor router.
> 
> Now It will be easy for IPv6 interoperability test with freeBSD.
> 
> for Ipv6 interoperability test We need another router device and I am
> planning use Ubuntu as IPv6 router.
> 
> Please let me your personal view and if you can help me on this, it will be
> grateful.
> 
> How to enable gateway for IPv6 in Ubuntu? Router may require to do 
> send Neighbor advertisement for Host Neighbor solicitation . I 
> installed radvd in ubuntu. could you please share radvd.conf of 
> ubuntu?

Hmm. I'm not at all familiar with Ubuntu or any other Linux distro for 
that matter. I admit, I did try out Debian/amd64 7.0.0 a couple of 
weeks ago, but I have far more experience with FreeBSD than anything 
else in the *nix world.

Truth to be told, I regard most Linux distros as inferior compared to 
the *BSDs, due to the Linux distros forcing you to install a whole lot 
of bloat. It probably boils down to what level you are on, be it Joe 
Public or someone with more experience when it comes to computers and 
operating systems. Maybe I'm just misinformed and there exists a Linux 
distro or two letting the user/administrator chose what to install 
rather well.

> On Wed, May 22, 2013 at 7:53 PM, Trond Endrestøl <
> trond.endres...@fagskolen.gjovik.no> wrote:
> 
> > On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote:
> >
> > > Hi Trond,
> > > Thanks a lot for a clear reply.
> > > Could you please tell me Laptop1 ipv6 configuration details?
> > > as laptop auto configuration will generate the LL address for a auto ipv6
> > > configuration.
> > > For Interface rl0 ipv6 address
> > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" ,
> > >
> > > what will be laptop ipv6 address?
> >
> > It depends solely on the operating system and whether IPv6 privacy is
> > in effect.
> >
> > Normally, the client will perform stateless automatic address
> > configuration (SLAAC). It goes pretty much like this:
> >
> > The router announces the 64 bit prefix, usually every 200 seconds, but
> > the client may request a new announcement at any time. The client
> > generates a 64 bit interface identifier based on its 48 bit MAC
> > address. The client then concatenates the supplied prefix with the
> > generated interface identifier. The client then performs duplicate
> > address detection (DAD), and if everythings checks out, the client got
> > its IPv6 address.
> >
> > Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address
> > 50:e5:49:41:4d:70.
> >
> > The client would then generated this interface id:
> > 52e5:49ff:fe41:4d70.
> >
> > The Universal/Local bit of the MAC address is inverted, and FF:FE is
> > placed at center. (It really ought to be FF:FF, but way back in time
> > someone misread the IEEE standards regarding conversion from 48 bit
> > MAC addresses to EUI64 format. This oversight doesn't really matter.)
> >
> > The same client would then aqcuire this IPv6 address:
> > fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD.
> >
> > The client gets its IPv6 default route/gateway from the router
> > announcement.
> >
> > Of course, you may configure the IPv6 address and gateway manually on
> > the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and
> > fd8f:d6d0:e6e7:100::101 (gateway's address).
> >
> > > On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl <
> > > trond.endres...@fagskolen.gjovik.no> wrote:
> > >
> > > > On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote:
> > > >
> > > > > Hi Trond ,
> > > > > Thanks a lot.
> > > > > Now i am able to ping to other network with IPv4 address.
> > > > >
> > > > > For IPv6 I added these lines in rc.conf -
> > > > > first I included -
> > > > > ipv6_gateway_enable="YES"
> > > > >
> > > > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to
> > > > > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73)
> > > > > While doing ping6 from "fe80::224:7eff:fee0:6b51" to
> > > > > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement
> > from
> > > > > "fe80::21f:b5ff:fe48:9f73" is happening.
> > > > > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other
> > interface
> > > > > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement.
> > > > >
> > > > > After this I included these two lines to rc.conf -
> > > > >
> > > > > rtadvd_enable="YES"
> > > > > rtadvd_interfaces="rl0"
> > > > >
> > > > > I have not created any file like /etc/rtadvd.conf . Do i need to
> > create
> > > > > this configuration file?
> > > > > if yes, what should be the input to rtadvd.conf for  link local
> > address?
> > > > >
> > > > > please find Ipv6 interface details.
> > > > >
> > > > >
> > > > > Ifconfig
> > > > > 
> > > > > re0: flags=8843 > > > > Runni

Re: Fresh installation 9.1

2013-05-23 Thread hrkesh sahu
Hi Trond,
Thanks a lot for your help and Ipv6 routing is working with FreeBSD OS.
we want to go for Ipv6 certification for our IPv6 stack.
And Ipv6 stack we want to use FreeBSD as one vendor router.

Now It will be easy for IPv6 interoperability test with freeBSD.

for Ipv6 interoperability test We need another router device and I am
planning use Ubuntu as IPv6 router.

Please let me your personal view and if you can help me on this, it will be
grateful.

> How to enable gateway for IPv6 in Ubuntu?
> Router may require to do send Neighbor advertisement for Host Neighbor
solicitation . I installed radvd  in ubuntu.
> could you please share radvd.conf  of ubuntu?

regards



On Wed, May 22, 2013 at 7:53 PM, Trond Endrestøl <
trond.endres...@fagskolen.gjovik.no> wrote:

> On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote:
>
> > Hi Trond,
> > Thanks a lot for a clear reply.
> > Could you please tell me Laptop1 ipv6 configuration details?
> > as laptop auto configuration will generate the LL address for a auto ipv6
> > configuration.
> > For Interface rl0 ipv6 address
> > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" ,
> >
> > what will be laptop ipv6 address?
>
> It depends solely on the operating system and whether IPv6 privacy is
> in effect.
>
> Normally, the client will perform stateless automatic address
> configuration (SLAAC). It goes pretty much like this:
>
> The router announces the 64 bit prefix, usually every 200 seconds, but
> the client may request a new announcement at any time. The client
> generates a 64 bit interface identifier based on its 48 bit MAC
> address. The client then concatenates the supplied prefix with the
> generated interface identifier. The client then performs duplicate
> address detection (DAD), and if everythings checks out, the client got
> its IPv6 address.
>
> Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address
> 50:e5:49:41:4d:70.
>
> The client would then generated this interface id:
> 52e5:49ff:fe41:4d70.
>
> The Universal/Local bit of the MAC address is inverted, and FF:FE is
> placed at center. (It really ought to be FF:FF, but way back in time
> someone misread the IEEE standards regarding conversion from 48 bit
> MAC addresses to EUI64 format. This oversight doesn't really matter.)
>
> The same client would then aqcuire this IPv6 address:
> fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD.
>
> The client gets its IPv6 default route/gateway from the router
> announcement.
>
> Of course, you may configure the IPv6 address and gateway manually on
> the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and
> fd8f:d6d0:e6e7:100::101 (gateway's address).
>
> > On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl <
> > trond.endres...@fagskolen.gjovik.no> wrote:
> >
> > > On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote:
> > >
> > > > Hi Trond ,
> > > > Thanks a lot.
> > > > Now i am able to ping to other network with IPv4 address.
> > > >
> > > > For IPv6 I added these lines in rc.conf -
> > > > first I included -
> > > > ipv6_gateway_enable="YES"
> > > >
> > > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to
> > > > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73)
> > > > While doing ping6 from "fe80::224:7eff:fee0:6b51" to
> > > > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement
> from
> > > > "fe80::21f:b5ff:fe48:9f73" is happening.
> > > > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other
> interface
> > > > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement.
> > > >
> > > > After this I included these two lines to rc.conf -
> > > >
> > > > rtadvd_enable="YES"
> > > > rtadvd_interfaces="rl0"
> > > >
> > > > I have not created any file like /etc/rtadvd.conf . Do i need to
> create
> > > > this configuration file?
> > > > if yes, what should be the input to rtadvd.conf for  link local
> address?
> > > >
> > > > please find Ipv6 interface details.
> > > >
> > > >
> > > > Ifconfig
> > > > 
> > > > re0: flags=8843 > > > Running,Simplex,Multicast> Metric 0 mtu 1500
> > > > options=8209b > > > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
> > > > ether 00:1f:d0:40:8b:bd
> > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
> > > > inet 192.168.200.101 netmask 0xff00 broadcast
> 192.168.200.255
> > > > nd6 options=21 > > > LINKLOCAL>
> > > > media:Enthernet autoselect (none)
> > > > status:active
> > > >
> > > > rl0: flags=8843 > > > Running,Simplex,Multicast> Metric 0 mtu 1500
> > > > options=2008
> > > > ether 00:10:b5:48:9f:73
> > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
> > > > inet 192.168.100.101 netmask 0xff00 broadcast
> 192.168.100.255
> > > > nd6 options=21
> > > > media:Enthernet autoselect (none)
> > > > status: active
> > >
> > > Congratz on achieving active carrier wave on your NICs.
> > >
> > > Right now your system is running with link-local IPv6 ad

Re: Fresh installation 9.1

2013-05-22 Thread Trond Endrestøl
On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote:

> Hi Trond,
> Thanks a lot for a clear reply.
> Could you please tell me Laptop1 ipv6 configuration details?
> as laptop auto configuration will generate the LL address for a auto ipv6
> configuration.
> For Interface rl0 ipv6 address
> ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" ,
> 
> what will be laptop ipv6 address?

It depends solely on the operating system and whether IPv6 privacy is 
in effect.

Normally, the client will perform stateless automatic address 
configuration (SLAAC). It goes pretty much like this:

The router announces the 64 bit prefix, usually every 200 seconds, but 
the client may request a new announcement at any time. The client 
generates a 64 bit interface identifier based on its 48 bit MAC 
address. The client then concatenates the supplied prefix with the 
generated interface identifier. The client then performs duplicate 
address detection (DAD), and if everythings checks out, the client got 
its IPv6 address.

Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address 
50:e5:49:41:4d:70.

The client would then generated this interface id: 
52e5:49ff:fe41:4d70.

The Universal/Local bit of the MAC address is inverted, and FF:FE is 
placed at center. (It really ought to be FF:FF, but way back in time 
someone misread the IEEE standards regarding conversion from 48 bit 
MAC addresses to EUI64 format. This oversight doesn't really matter.)

The same client would then aqcuire this IPv6 address: 
fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD.

The client gets its IPv6 default route/gateway from the router 
announcement.

Of course, you may configure the IPv6 address and gateway manually on 
the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and 
fd8f:d6d0:e6e7:100::101 (gateway's address).

> On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl <
> trond.endres...@fagskolen.gjovik.no> wrote:
> 
> > On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote:
> >
> > > Hi Trond ,
> > > Thanks a lot.
> > > Now i am able to ping to other network with IPv4 address.
> > >
> > > For IPv6 I added these lines in rc.conf -
> > > first I included -
> > > ipv6_gateway_enable="YES"
> > >
> > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to
> > > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73)
> > > While doing ping6 from "fe80::224:7eff:fee0:6b51" to
> > > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from
> > > "fe80::21f:b5ff:fe48:9f73" is happening.
> > > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interface
> > > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement.
> > >
> > > After this I included these two lines to rc.conf -
> > >
> > > rtadvd_enable="YES"
> > > rtadvd_interfaces="rl0"
> > >
> > > I have not created any file like /etc/rtadvd.conf . Do i need to create
> > > this configuration file?
> > > if yes, what should be the input to rtadvd.conf for  link local address?
> > >
> > > please find Ipv6 interface details.
> > >
> > >
> > > Ifconfig
> > > 
> > > re0: flags=8843 > > Running,Simplex,Multicast> Metric 0 mtu 1500
> > > options=8209b > > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
> > > ether 00:1f:d0:40:8b:bd
> > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
> > > inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
> > > nd6 options=21 > > LINKLOCAL>
> > > media:Enthernet autoselect (none)
> > > status:active
> > >
> > > rl0: flags=8843 > > Running,Simplex,Multicast> Metric 0 mtu 1500
> > > options=2008
> > > ether 00:10:b5:48:9f:73
> > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
> > > inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255
> > > nd6 options=21
> > > media:Enthernet autoselect (none)
> > > status: active
> >
> > Congratz on achieving active carrier wave on your NICs.
> >
> > Right now your system is running with link-local IPv6 addresses. You
> > may view LL addresses as VLAN local. Packets to such addresses will
> > never ever be forwarded by a router.
> >
> > Instead set up either official IPv6 addresses/subnets or create your
> > own Unique Local Addresses (ULA) as I wrote previously about.
> >
> > Augment your /etc/rc.conf file with, say:
> >
> > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64"
> >
> > You may assign the IPv6 address manually to avoid restarting the
> > networking subsystem or the whole machine:
> >
> > ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64
> >
> > Next, create /etc/rtadvd.conf with the following contents:
> >
> > rl0:\
> > :addr="fd8f:d6d0:e6e7:100::":prefixlen#64:
> >
> > If you want IPv6 routing on the re0 interface, you need, say this, in
> > /etc/rc.conf:
> >
> > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64"
> >
> > Assign the IPv6 address manually using:
> >
> > ifconfig re0 inet6 fd44:13de:a366:200::1 pr

Re: Fresh installation 9.1

2013-05-22 Thread hrkesh sahu
Hi Trond,
Thanks a lot for a clear reply.
Could you please tell me Laptop1 ipv6 configuration details?
as laptop auto configuration will generate the LL address for a auto ipv6
configuration.
For Interface rl0 ipv6 address
ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" ,

what will be laptop ipv6 address?

Regards




On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl <
trond.endres...@fagskolen.gjovik.no> wrote:

> On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote:
>
> > Hi Trond ,
> > Thanks a lot.
> > Now i am able to ping to other network with IPv4 address.
> >
> > For IPv6 I added these lines in rc.conf -
> > first I included -
> > ipv6_gateway_enable="YES"
> >
> > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to
> > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73)
> > While doing ping6 from "fe80::224:7eff:fee0:6b51" to
> > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from
> > "fe80::21f:b5ff:fe48:9f73" is happening.
> > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interface
> > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement.
> >
> > After this I included these two lines to rc.conf -
> >
> > rtadvd_enable="YES"
> > rtadvd_interfaces="rl0"
> >
> > I have not created any file like /etc/rtadvd.conf . Do i need to create
> > this configuration file?
> > if yes, what should be the input to rtadvd.conf for  link local address?
> >
> > please find Ipv6 interface details.
> >
> >
> > Ifconfig
> > 
> > re0: flags=8843 > Running,Simplex,Multicast> Metric 0 mtu 1500
> > options=8209b > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
> > ether 00:1f:d0:40:8b:bd
> > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
> > inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
> > nd6 options=21 > LINKLOCAL>
> > media:Enthernet autoselect (none)
> > status:active
> >
> > rl0: flags=8843 > Running,Simplex,Multicast> Metric 0 mtu 1500
> > options=2008
> > ether 00:10:b5:48:9f:73
> > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
> > inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255
> > nd6 options=21
> > media:Enthernet autoselect (none)
> > status: active
>
> Congratz on achieving active carrier wave on your NICs.
>
> Right now your system is running with link-local IPv6 addresses. You
> may view LL addresses as VLAN local. Packets to such addresses will
> never ever be forwarded by a router.
>
> Instead set up either official IPv6 addresses/subnets or create your
> own Unique Local Addresses (ULA) as I wrote previously about.
>
> Augment your /etc/rc.conf file with, say:
>
> ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64"
>
> You may assign the IPv6 address manually to avoid restarting the
> networking subsystem or the whole machine:
>
> ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64
>
> Next, create /etc/rtadvd.conf with the following contents:
>
> rl0:\
> :addr="fd8f:d6d0:e6e7:100::":prefixlen#64:
>
> If you want IPv6 routing on the re0 interface, you need, say this, in
> /etc/rc.conf:
>
> ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64"
>
> Assign the IPv6 address manually using:
>
> ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64
>
> And add this to /etc/rtadvd.conf:
>
> re0:\
> :addr="fd44:13de:a366:200::":prefixlen#64:
>
> You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart.
>
> Happy hacking.
>
> > Regards
> > Hrisikesh
> >
> > On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl <
> > trond.endres...@fagskolen.gjovik.no> wrote:
> >
> > > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote:
> > >
> > > > Hi ,
> > > > Thanks a lot for this quick reply.
> > > > Sorry i missed the " in the end while typing. It's a typo.
> > > > I provided the ouput of " nestat -r " and "ifconfig".
> > > >
> > > > > netstat -r
> > > > --
> > > > routing tables  -
> > > >
> > > > internet :
> > > > ---
> > > > destination   Gateway
> > > > Flags   Refs
> > > > Use   Netif Expire
> > > > default 192.168.200.1
> > > > UGS   0
> > > > 0  re0
> > > > localhost  link#12
> > > > UH 0
> > > > 148   lo0
> > > > 192.168.100.0  link#10
> > > > U   0
> > > > 0   rl0
> > > > 192.168.100.101   link#10  UHS
> > > >  0
> > > > 0   lo0
> > > > 192.168.200.0  link#5
> > > > U   0
> > > > 0   re0
> > > > 192.168.200.101   link#5  UHS
> > > >0
> > > > 0   lo0
> > > >
>

Re: Fresh installation 9.1

2013-05-22 Thread Trond Endrestøl
On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote:

> Hi Trond ,
> Thanks a lot.
> Now i am able to ping to other network with IPv4 address.
> 
> For IPv6 I added these lines in rc.conf -
> first I included -
> ipv6_gateway_enable="YES"
> 
> ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to
> interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73)
> While doing ping6 from "fe80::224:7eff:fee0:6b51" to
> "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from
> "fe80::21f:b5ff:fe48:9f73" is happening.
> while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interface
> "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement.
> 
> After this I included these two lines to rc.conf -
> 
> rtadvd_enable="YES"
> rtadvd_interfaces="rl0"
> 
> I have not created any file like /etc/rtadvd.conf . Do i need to create
> this configuration file?
> if yes, what should be the input to rtadvd.conf for  link local address?
> 
> please find Ipv6 interface details.
> 
> 
> Ifconfig
> 
> re0: flags=8843 Running,Simplex,Multicast> Metric 0 mtu 1500
> options=8209b VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
> ether 00:1f:d0:40:8b:bd
> inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
> inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
> nd6 options=21 LINKLOCAL>
> media:Enthernet autoselect (none)
> status:active
> 
> rl0: flags=8843 Running,Simplex,Multicast> Metric 0 mtu 1500
> options=2008
> ether 00:10:b5:48:9f:73
> inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
> inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255
> nd6 options=21
> media:Enthernet autoselect (none)
> status: active

Congratz on achieving active carrier wave on your NICs.

Right now your system is running with link-local IPv6 addresses. You 
may view LL addresses as VLAN local. Packets to such addresses will 
never ever be forwarded by a router.

Instead set up either official IPv6 addresses/subnets or create your 
own Unique Local Addresses (ULA) as I wrote previously about.

Augment your /etc/rc.conf file with, say:

ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64"

You may assign the IPv6 address manually to avoid restarting the 
networking subsystem or the whole machine:

ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64

Next, create /etc/rtadvd.conf with the following contents:

rl0:\
:addr="fd8f:d6d0:e6e7:100::":prefixlen#64:

If you want IPv6 routing on the re0 interface, you need, say this, in 
/etc/rc.conf:

ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64"

Assign the IPv6 address manually using:

ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64

And add this to /etc/rtadvd.conf:

re0:\
:addr="fd44:13de:a366:200::":prefixlen#64:

You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart.

Happy hacking.

> Regards
> Hrisikesh
> 
> On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl <
> trond.endres...@fagskolen.gjovik.no> wrote:
> 
> > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote:
> >
> > > Hi ,
> > > Thanks a lot for this quick reply.
> > > Sorry i missed the " in the end while typing. It's a typo.
> > > I provided the ouput of " nestat -r " and "ifconfig".
> > >
> > > > netstat -r
> > > --
> > > routing tables  -
> > >
> > > internet :
> > > ---
> > > destination   Gateway
> > > Flags   Refs
> > > Use   Netif Expire
> > > default 192.168.200.1
> > > UGS   0
> > > 0  re0
> > > localhost  link#12
> > > UH 0
> > > 148   lo0
> > > 192.168.100.0  link#10
> > > U   0
> > > 0   rl0
> > > 192.168.100.101   link#10  UHS
> > >  0
> > > 0   lo0
> > > 192.168.200.0  link#5
> > > U   0
> > > 0   re0
> > > 192.168.200.101   link#5  UHS
> > >0
> > > 0   lo0
> > >
> > > Internet6:
> > > ---
> > > Ipv6 details
> > >
> > > > Ifconfig
> > > 
> > > re0: flags=8843 Metric 0 mtu 1500
> > >
> > options=8209b
> > > ether 00:1f:d0:40:8b:bd
> > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
> > > inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
> > > nd6 options=21
> > > media:Enthernet autoselect (none)
> > > status: no carrier
> > >
> > > rl0: flags=8843 Metric 0 mtu 1500
> > > options=2008
> > > ether 00:10:b5:48:9f:73
> > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
> > > inet 192.168.100.101 netmask 0xff00 broadcast 192.168

Re: Fresh installation 9.1

2013-05-22 Thread hrkesh sahu
Hi Trond ,
Thanks a lot.
Now i am able to ping to other network with IPv4 address.

For IPv6 I added these lines in rc.conf -
first I included -
ipv6_gateway_enable="YES"

++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to
interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73)
While doing ping6 from "fe80::224:7eff:fee0:6b51" to
"fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from
"fe80::21f:b5ff:fe48:9f73" is happening.
while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interface
"fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement.

After this I included these two lines to rc.conf -

rtadvd_enable="YES"
rtadvd_interfaces="rl0"

I have not created any file like /etc/rtadvd.conf . Do i need to create
this configuration file?
if yes, what should be the input to rtadvd.conf for  link local address?

please find Ipv6 interface details.


Ifconfig

re0: flags=8843 Metric 0 mtu 1500
options=8209b
ether 00:1f:d0:40:8b:bd
inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
nd6 options=21
media:Enthernet autoselect (none)
status:active

rl0: flags=8843 Metric 0 mtu 1500
options=2008
ether 00:10:b5:48:9f:73
inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255
nd6 options=21
media:Enthernet autoselect (none)
status: active


Regards
Hrisikesh





On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl <
trond.endres...@fagskolen.gjovik.no> wrote:

> On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote:
>
> > Hi ,
> > Thanks a lot for this quick reply.
> > Sorry i missed the " in the end while typing. It's a typo.
> > I provided the ouput of " nestat -r " and "ifconfig".
> >
> > > netstat -r
> > --
> > routing tables  -
> >
> > internet :
> > ---
> > destination   Gateway
> > Flags   Refs
> > Use   Netif Expire
> > default 192.168.200.1
> > UGS   0
> > 0  re0
> > localhost  link#12
> > UH 0
> > 148   lo0
> > 192.168.100.0  link#10
> > U   0
> > 0   rl0
> > 192.168.100.101   link#10  UHS
> >  0
> > 0   lo0
> > 192.168.200.0  link#5
> > U   0
> > 0   re0
> > 192.168.200.101   link#5  UHS
> >0
> > 0   lo0
> >
> > Internet6:
> > ---
> > Ipv6 details
> >
> > > Ifconfig
> > 
> > re0: flags=8843 Metric 0 mtu 1500
> >
> options=8209b
> > ether 00:1f:d0:40:8b:bd
> > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
> > inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
> > nd6 options=21
> > media:Enthernet autoselect (none)
> > status: no carrier
> >
> > rl0: flags=8843 Metric 0 mtu 1500
> > options=2008
> > ether 00:10:b5:48:9f:73
> > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
> > inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255
> > nd6 options=21
> > media:Enthernet autoselect (none)
> > status: no carrier
> >
> > there is a plip0 and lo0.
>
> Neither NIC is connected to any equipment, e.g. switch, hub, or
> computer (status: no carrier). Make sure you can use a straight
> network cable, else you'll need to get a couple of cross wired network
> cables and use those instead.
>
> Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by
> running the sysctl net.inet.ip.forwarding command.
>
> If not, you can set the sysctl to 1 by running the sysctl
> net.inet.ip.forwarding=1 command, and you probably should inspect the
> /etc/rc.conf file one more time.
>
> Once you connect the computer to the two networks, the IPv4 routing
> should work. If not, come back.
>
> > Regards
> > Hrisikesh
> >
> > On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl <
> > trond.endres...@fagskolen.gjovik.no> wrote:
> >
> > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote:
> > >
> > > > Hi All,
> > > > IPv4 Routing  -
> > > > 
> > > > I disabled the DHCP from rc.conf for both the interface. but still I
> am
> > > not
> > > > able to route trafic from one interface to another.
> > > >
> > > > rc.conf
> > > > ---
> > > > hostname="idc-freebsd"
> > > > keymap="hy.armscii-8.kbd"
> > > > #ifconfig_re0="DHCP"
> > > > #ifconfig_rl0="DHCP"
> > > > dumpdev="NO"
> > >
> > > > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0
> > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0
> > >
> > > Are the two lines above copied straight fr

Re: Fresh installation 9.1

2013-05-22 Thread Trond Endrestøl
On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote:

> Hi ,
> Thanks a lot for this quick reply.
> Sorry i missed the " in the end while typing. It's a typo.
> I provided the ouput of " nestat -r " and "ifconfig".
> 
> > netstat -r
> --
> routing tables  -
> 
> internet :
> ---
> destination   Gateway
> Flags   Refs
> Use   Netif Expire
> default 192.168.200.1
> UGS   0
> 0  re0
> localhost  link#12
> UH 0
> 148   lo0
> 192.168.100.0  link#10
> U   0
> 0   rl0
> 192.168.100.101   link#10  UHS
>  0
> 0   lo0
> 192.168.200.0  link#5
> U   0
> 0   re0
> 192.168.200.101   link#5  UHS
>0
> 0   lo0
> 
> Internet6:
> ---
> Ipv6 details
> 
> > Ifconfig
> 
> re0: flags=8843 Metric 0 mtu 1500
> options=8209b
> ether 00:1f:d0:40:8b:bd
> inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
> inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
> nd6 options=21
> media:Enthernet autoselect (none)
> status: no carrier
> 
> rl0: flags=8843 Metric 0 mtu 1500
> options=2008
> ether 00:10:b5:48:9f:73
> inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
> inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255
> nd6 options=21
> media:Enthernet autoselect (none)
> status: no carrier
> 
> there is a plip0 and lo0.

Neither NIC is connected to any equipment, e.g. switch, hub, or 
computer (status: no carrier). Make sure you can use a straight 
network cable, else you'll need to get a couple of cross wired network 
cables and use those instead.

Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by
running the sysctl net.inet.ip.forwarding command.

If not, you can set the sysctl to 1 by running the sysctl 
net.inet.ip.forwarding=1 command, and you probably should inspect the 
/etc/rc.conf file one more time.

Once you connect the computer to the two networks, the IPv4 routing 
should work. If not, come back.

> Regards
> Hrisikesh
> 
> On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl <
> trond.endres...@fagskolen.gjovik.no> wrote:
> 
> > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote:
> >
> > > Hi All,
> > > IPv4 Routing  -
> > > 
> > > I disabled the DHCP from rc.conf for both the interface. but still I am
> > not
> > > able to route trafic from one interface to another.
> > >
> > > rc.conf
> > > ---
> > > hostname="idc-freebsd"
> > > keymap="hy.armscii-8.kbd"
> > > #ifconfig_re0="DHCP"
> > > #ifconfig_rl0="DHCP"
> > > dumpdev="NO"
> >
> > > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0
> > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0
> >
> > Are the two lines above copied straight from your rc.conf file?
> > If so, both lines are missing a " at the end. Please check to see if
> > this is needed.
> >
> > Next, the outputs of the ifconfig command and the netstat -r command
> > should reveal something interesting. Would you please post the
> > results from these two commands?
> >
> > > ipv6_activate_all_interfaces="YES"
> > > gateway_enable="YES"
> > > default_router="192.168.200.1"
> > >
> > > I am using FreeBSD - 9.1 Release version
> > >
> > > I need to communicate between two different subnets.
> > >
> > > Am i missing anything to enable freebsd as router?
> > > Do i need to add a route entry?
> > >
> > > If possible could you please share rc.conf file with IPv4 routing?
> > >
> > > Regards
> > > Hrisikesh
> > >
> > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl <
> > > trond.endres...@fagskolen.gjovik.no> wrote:
> > >
> > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote:
> > > >
> > > > > > HI All,
> > > > > >
> > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was
> > trying
> > > > to
> > > > > make this FreeBSD machine as a router .
> > > > > This is my rc.conf
> > > > > 
> > > > > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0"
> > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0"
> > > > >
> > > > > gateway_enable = "YES"
> > > > > ifconfig_rl0 = "DHCP"
> > > > > ifconfig_re0 = "DHCP"
> > > > >
> > > > > defaultrouter = "192.168.100.1"
> > > > > ipv6_activate_all_interfaces = "YES"
> > > > > sshd_enable = "YES"
> > > > > synchronous_dhclient="YES"
> > > > >
> > > > > Please help me to establish a IPv4 router.
> > > > > Both the interfaces are connected to to different laptops with a
> > static
> > > > IP
> > > > > address.
> > > >
> > > > You should pla

Re: Fresh installation 9.1

2013-05-22 Thread hrkesh sahu
Hi ,
Thanks a lot for this quick reply.
Sorry i missed the " in the end while typing. It's a typo.
I provided the ouput of " nestat -r " and "ifconfig".

> netstat -r
--
routing tables  -

internet :
---
destination   Gateway
Flags   Refs
Use   Netif Expire
default 192.168.200.1
UGS   0
0  re0
localhost  link#12
UH 0
148   lo0
192.168.100.0  link#10
U   0
0   rl0
192.168.100.101   link#10  UHS
 0
0   lo0
192.168.200.0  link#5
U   0
0   re0
192.168.200.101   link#5  UHS
   0
0   lo0

Internet6:
---
Ipv6 details

> Ifconfig

re0: flags=8843 Metric 0 mtu 1500
options=8209b
ether 00:1f:d0:40:8b:bd
inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5
inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
nd6 options=21
media:Enthernet autoselect (none)
status: no carrier

rl0: flags=8843 Metric 0 mtu 1500
options=2008
ether 00:10:b5:48:9f:73
inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa
inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255
nd6 options=21
media:Enthernet autoselect (none)
status: no carrier

there is a plip0 and lo0.

Regards
Hrisikesh




On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl <
trond.endres...@fagskolen.gjovik.no> wrote:

> On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote:
>
> > Hi All,
> > IPv4 Routing  -
> > 
> > I disabled the DHCP from rc.conf for both the interface. but still I am
> not
> > able to route trafic from one interface to another.
> >
> > rc.conf
> > ---
> > hostname="idc-freebsd"
> > keymap="hy.armscii-8.kbd"
> > #ifconfig_re0="DHCP"
> > #ifconfig_rl0="DHCP"
> > dumpdev="NO"
>
> > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0
> > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0
>
> Are the two lines above copied straight from your rc.conf file?
> If so, both lines are missing a " at the end. Please check to see if
> this is needed.
>
> Next, the outputs of the ifconfig command and the netstat -r command
> should reveal something interesting. Would you please post the
> results from these two commands?
>
> > ipv6_activate_all_interfaces="YES"
> > gateway_enable="YES"
> > default_router="192.168.200.1"
> >
> > I am using FreeBSD - 9.1 Release version
> >
> > I need to communicate between two different subnets.
> >
> > Am i missing anything to enable freebsd as router?
> > Do i need to add a route entry?
> >
> > If possible could you please share rc.conf file with IPv4 routing?
> >
> > Regards
> > Hrisikesh
> >
> > On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl <
> > trond.endres...@fagskolen.gjovik.no> wrote:
> >
> > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote:
> > >
> > > > > HI All,
> > > > >
> > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was
> trying
> > > to
> > > > make this FreeBSD machine as a router .
> > > > This is my rc.conf
> > > > 
> > > > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0"
> > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0"
> > > >
> > > > gateway_enable = "YES"
> > > > ifconfig_rl0 = "DHCP"
> > > > ifconfig_re0 = "DHCP"
> > > >
> > > > defaultrouter = "192.168.100.1"
> > > > ipv6_activate_all_interfaces = "YES"
> > > > sshd_enable = "YES"
> > > > synchronous_dhclient="YES"
> > > >
> > > > Please help me to establish a IPv4 router.
> > > > Both the interfaces are connected to to different laptops with a
> static
> > > IP
> > > > address.
> > >
> > > You should place a # in front of the two lines:
> > >
> > > > ifconfig_rl0 = "DHCP"
> > > > ifconfig_re0 = "DHCP"
> > >
> > > Next, you probably shouldn't place spaces before and after the equal
> > > signs.
> > >
> > > > Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
> > > > 192.168.100.1
> > > >
> > > > Laptop 2 = 192.168.200.102 ( connected to interface re0)
> > > > ping from Laptop1 -> rl0 is successful
> > > > but ping from Laptop1 -> re0 is not successful.
> > > >
> > > > After this I want to know also How to make this as IPv6 router?
> > >
> > > See
> > >
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
> > > .
> > >
> > > You probably should create a ULA prefix or two, and assign these to
> > > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help
> > > you.
> > >
> > > Something along these lines might help you achieve what you want:
> > >
> > > ifconfig_rl0_ipv6="ine

Re: Fresh installation 9.1

2013-05-21 Thread Trond Endrestøl
On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote:

> Hi All,
> IPv4 Routing  -
> 
> I disabled the DHCP from rc.conf for both the interface. but still I am not
> able to route trafic from one interface to another.
> 
> rc.conf
> ---
> hostname="idc-freebsd"
> keymap="hy.armscii-8.kbd"
> #ifconfig_re0="DHCP"
> #ifconfig_rl0="DHCP"
> dumpdev="NO"

> ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0
> ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0

Are the two lines above copied straight from your rc.conf file?
If so, both lines are missing a " at the end. Please check to see if 
this is needed.

Next, the outputs of the ifconfig command and the netstat -r command 
should reveal something interesting. Would you please post the 
results from these two commands?

> ipv6_activate_all_interfaces="YES"
> gateway_enable="YES"
> default_router="192.168.200.1"
> 
> I am using FreeBSD - 9.1 Release version
> 
> I need to communicate between two different subnets.
> 
> Am i missing anything to enable freebsd as router?
> Do i need to add a route entry?
> 
> If possible could you please share rc.conf file with IPv4 routing?
> 
> Regards
> Hrisikesh
> 
> On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl <
> trond.endres...@fagskolen.gjovik.no> wrote:
> 
> > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote:
> >
> > > > HI All,
> > > >
> > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying
> > to
> > > make this FreeBSD machine as a router .
> > > This is my rc.conf
> > > 
> > > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0"
> > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0"
> > >
> > > gateway_enable = "YES"
> > > ifconfig_rl0 = "DHCP"
> > > ifconfig_re0 = "DHCP"
> > >
> > > defaultrouter = "192.168.100.1"
> > > ipv6_activate_all_interfaces = "YES"
> > > sshd_enable = "YES"
> > > synchronous_dhclient="YES"
> > >
> > > Please help me to establish a IPv4 router.
> > > Both the interfaces are connected to to different laptops with a static
> > IP
> > > address.
> >
> > You should place a # in front of the two lines:
> >
> > > ifconfig_rl0 = "DHCP"
> > > ifconfig_re0 = "DHCP"
> >
> > Next, you probably shouldn't place spaces before and after the equal
> > signs.
> >
> > > Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
> > > 192.168.100.1
> > >
> > > Laptop 2 = 192.168.200.102 ( connected to interface re0)
> > > ping from Laptop1 -> rl0 is successful
> > > but ping from Laptop1 -> re0 is not successful.
> > >
> > > After this I want to know also How to make this as IPv6 router?
> >
> > See
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
> > .
> >
> > You probably should create a ULA prefix or two, and assign these to
> > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help
> > you.
> >
> > Something along these lines might help you achieve what you want:
> >
> > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64"
> > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64"
> > ipv6_gateway_enable="YES"
> >
> > Finally you probably should configure and enable Router Advertisement
> > and Host Auto Configuration as explained in section 32.11.6 of
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
> > .

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Fresh installation 9.1

2013-05-21 Thread hrkesh sahu
Hi All,
IPv4 Routing  -

I disabled the DHCP from rc.conf for both the interface. but still I am not
able to route trafic from one interface to another.

rc.conf
---
hostname="idc-freebsd"
keymap="hy.armscii-8.kbd"
#ifconfig_re0="DHCP"
#ifconfig_rl0="DHCP"
dumpdev="NO"
ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0
ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0
ipv6_activate_all_interfaces="YES"
gateway_enable="YES"
default_router="192.168.200.1"

I am using FreeBSD - 9.1 Release version

I need to communicate between two different subnets.

Am i missing anything to enable freebsd as router?
Do i need to add a route entry?

If possible could you please share rc.conf file with IPv4 routing?

Regards
Hrisikesh







On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl <
trond.endres...@fagskolen.gjovik.no> wrote:

> On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote:
>
> > > HI All,
> > >
> > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying
> to
> > make this FreeBSD machine as a router .
> > This is my rc.conf
> > 
> > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0"
> > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0"
> >
> > gateway_enable = "YES"
> > ifconfig_rl0 = "DHCP"
> > ifconfig_re0 = "DHCP"
> >
> > defaultrouter = "192.168.100.1"
> > ipv6_activate_all_interfaces = "YES"
> > sshd_enable = "YES"
> > synchronous_dhclient="YES"
> >
> > Please help me to establish a IPv4 router.
> > Both the interfaces are connected to to different laptops with a static
> IP
> > address.
>
> You should place a # in front of the two lines:
>
> > ifconfig_rl0 = "DHCP"
> > ifconfig_re0 = "DHCP"
>
> Next, you probably shouldn't place spaces before and after the equal
> signs.
>
> > Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
> > 192.168.100.1
> >
> > Laptop 2 = 192.168.200.102 ( connected to interface re0)
> > ping from Laptop1 -> rl0 is successful
> > but ping from Laptop1 -> re0 is not successful.
> >
> > After this I want to know also How to make this as IPv6 router?
>
> See
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
> .
>
> You probably should create a ULA prefix or two, and assign these to
> your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help
> you.
>
> Something along these lines might help you achieve what you want:
>
> ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64"
> ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64"
> ipv6_gateway_enable="YES"
>
> Finally you probably should configure and enable Router Advertisement
> and Host Auto Configuration as explained in section 32.11.6 of
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html
> .
>
> --
> +---++
> | Vennlig hilsen,   | Best regards,  |
> | Trond Endrestøl,  | Trond Endrestøl,   |
> | IT-ansvarlig, | System administrator,  |
> | Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
> | tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
> | sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
> +---++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fresh installation 9.1

2013-05-09 Thread Trond Endrestøl
On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote:

> > HI All,
> >
> I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to
> make this FreeBSD machine as a router .
> This is my rc.conf
> 
> ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0"
> ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0"
> 
> gateway_enable = "YES"
> ifconfig_rl0 = "DHCP"
> ifconfig_re0 = "DHCP"
> 
> defaultrouter = "192.168.100.1"
> ipv6_activate_all_interfaces = "YES"
> sshd_enable = "YES"
> synchronous_dhclient="YES"
> 
> Please help me to establish a IPv4 router.
> Both the interfaces are connected to to different laptops with a static IP
> address.

You should place a # in front of the two lines:

> ifconfig_rl0 = "DHCP"
> ifconfig_re0 = "DHCP"

Next, you probably shouldn't place spaces before and after the equal 
signs.

> Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
> 192.168.100.1
> 
> Laptop 2 = 192.168.200.102 ( connected to interface re0)
> ping from Laptop1 -> rl0 is successful
> but ping from Laptop1 -> re0 is not successful.
> 
> After this I want to know also How to make this as IPv6 router?

See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.

You probably should create a ULA prefix or two, and assign these to 
your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help 
you.

Something along these lines might help you achieve what you want:

ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64"
ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64"
ipv6_gateway_enable="YES"

Finally you probably should configure and enable Router Advertisement 
and Host Auto Configuration as explained in section 32.11.6 of 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Fresh installation 9.1

2013-05-08 Thread hrkesh sahu
> HI All,
>
I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to
make this FreeBSD machine as a router .
This is my rc.conf

ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0"
ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0"

gateway_enable = "YES"
ifconfig_rl0 = "DHCP"
ifconfig_re0 = "DHCP"

defaultrouter = "192.168.100.1"
ipv6_activate_all_interfaces = "YES"
sshd_enable = "YES"
synchronous_dhclient="YES"

Please help me to establish a IPv4 router.
Both the interfaces are connected to to different laptops with a static IP
address.

Laptop 1 = 192.168.100.102  ( connected to interface rl0) gateway  -
192.168.100.1

Laptop 2 = 192.168.200.102 ( connected to interface re0)
ping from Laptop1 -> rl0 is successful
but ping from Laptop1 -> re0 is not successful.



After this I want to know also How to make this as IPv6 router?

Regards
Hrisikesh

> Regards
> Hrisikesh
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fresh installation 9.1

2013-01-23 Thread Polytropon
On Wed, 23 Jan 2013 10:24:38 -0600, Derek Ragona wrote:
> Also if you have this in /etc/rc.conf:
> dumpdev="YES"
> 
> It always does a dump even on reboot, which also marks the filesystems as 
> dirty.

That doesn't seem to conform to what /etc/defaults/rc.conf
says:

dumpdev="NO"# Device to crashdump to (device name, AUTO, or NO).
dumpdir="/var/crash"# Directory where crash dumps are to be stored
savecore_flags=""   # Used if dumpdev is enabled above, and present.
crashinfo_enable="YES"  # Automatically generate crash dump summary.
crashinfo_program="/usr/sbin/crashinfo" # Script to generate crash dump summary.

So "YES" looks invalid.

But note that I could be wrong here, I'm checking on a v8
system, not v9, so maybe the configuration has actually
been changed...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fresh installation 9.1

2013-01-23 Thread Derek Ragona

At 08:30 AM 1/23/2013, Polytropon wrote:

On Wed, 23 Jan 2013 19:49:13 +0530, Hrisikesh sahu wrote:
> Hi All,
> I am facing a strange issue..
> I installed 9.1 release and installation went successful
>  After boot up  i got this error -
>
>
> File system had an unexpected inconsistency.
> > ufs : /dev/ada0s1d (/var)
> unknown error ; ! Help
> Error - Aborting Boot
>
> Going to single user mode.
>
> #
>
>
> Please help me if i need to do anything else.

It seems that the /var partition has not been unmounted
properly. Perform a manual file system check and retry.

The command

# fsck -yf /dev/ada0s1d

should be applied in single user mode, with /var being
unmounted.

To make sure file systems are clean _prior_ to booting
the system, put

background_fsck="NO"

into /etc/rc.conf; this may lead to longer startup times
when something is "strange" regarding file systems, but
it will prevent you from booting into a possibly damaged
environment (which could cause more trouble and maybe even
data loss, which justifies the longer boot time in my
opinion).



I setup a number of servers with 9.1 and had the same issue.  I'm not sure 
why, all of the installation went with no errors.


I ended up with this in rc.conf:
fsck_y_enable="YES"
background_fsck="NO"
force_fsck="YES"

After a few reboots I was able to take it out.

Also if you have this in /etc/rc.conf:
dumpdev="YES"

It always does a dump even on reboot, which also marks the filesystems as 
dirty.



-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fresh installation 9.1

2013-01-23 Thread Polytropon
On Wed, 23 Jan 2013 19:49:13 +0530, Hrisikesh sahu wrote:
> Hi All,
> I am facing a strange issue..
> I installed 9.1 release and installation went successful
>  After boot up  i got this error -
> 
> 
> File system had an unexpected inconsistency.
> > ufs : /dev/ada0s1d (/var)
> unknown error ; ! Help
> Error - Aborting Boot
> 
> Going to single user mode.
> 
> #
> 
> 
> Please help me if i need to do anything else.

It seems that the /var partition has not been unmounted
properly. Perform a manual file system check and retry.

The command

# fsck -yf /dev/ada0s1d

should be applied in single user mode, with /var being
unmounted.

To make sure file systems are clean _prior_ to booting
the system, put

background_fsck="NO"

into /etc/rc.conf; this may lead to longer startup times
when something is "strange" regarding file systems, but
it will prevent you from booting into a possibly damaged
environment (which could cause more trouble and maybe even
data loss, which justifies the longer boot time in my
opinion).




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Fresh installation 9.1

2013-01-23 Thread Hrisikesh sahu
Hi All,
I am facing a strange issue..
I installed 9.1 release and installation went successful
 After boot up  i got this error -


File system had an unexpected inconsistency.
> ufs : /dev/ada0s1d (/var)
unknown error ; ! Help
Error - Aborting Boot

Going to single user mode.

#


Please help me if i need to do anything else.

I followed this link -

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-bsdinstall.html

Help me on this SETUP.

Regards
Hrisikesh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"