Re: 6to4, stf and shoebox NAT routers

2007-08-29 Thread Lapo Luchini
Hajimu UMEMOTO wrote:
> lapo> Does you patch address incoming packets too?
>
> Yes, it should address incoming packets.
> [...]
> How do you configure your stf interface?  You need to assign a 6to4
> address which is derived from the IPv4 global address assigned to the
> NAT box.
> And you need to set net.link.stf.no_addr4check to 1.
> Is it okay?

I had prepared a beautiful and very long explanation of the test I did.
But just a few seconds before hitting the "send" button I decided to
cross-check the "sysctl net.inet6.ip6" on the two boxes and have noticed
I have ipfw active in the natted one

Sometimes, when doing "strange" things such as patching the kernel and
using tunneled IPv6 behind a NAT... one can easily forget to check more
MUNDANE & EASY reasons for things, such as tcpdump shows the incoming
packet BEFORE ipfw happily THROWS THEM AWAY for long-forgotten rules
that someday I did myself write and didn't include protocol 41.

Lesson taken.

Oh well, at least the problem is solved, and I'm back and running on the
IPv6 ;-)

I hope your patch is accepted upstream, because in these times of IPv4
scarcity NAT-ted boxes will be more and more common and unfortunately
not every NAT knows about IPv6, and even if it does, like mine do, it
may only support normal tunnels and not 6to4 configuration, and even a
NAT-ted FreeBSD box can come to the rescue ;-)

Lapo

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD + D-Link DWL-G520M

2007-08-29 Thread Bert JW Regeer


On Aug 27, 2007, at 10:18 AM, Nemesis stars wrote:


  Hi.

I was install FreBSD


Next I download Windowds driver:

ar5513.sys
net5513.cat
net5513.inf



Next I make it

# ndisegn ar5513.sys net5513.inf net5513.cat


in result - I have that :

ar5513.sys.ko
net5513.cat.ko


Then I make kernel with:

options NDISAPI
device ndis
device wlan

These files I copy in /boot/kernel/


And edit /boot/loader.conf
ar5513_sys_load="YES"
net5513_cat_load="YES"

Then reboot ;-)


BUT!!!

if I do:

ifconfig ndis0 ssid Wi-Fi.5-stars channel 11 media DS/11Mbps  
mediaopt hostap up stationname "Wi-Fi.5-stars"


I have:

NDIS0: setting BSSID failed: 45
ifconfig: SIOCS80211: Invalid argument


I ask in support. They said what NDIS coudn't changed SSID because  
NDIS not support the Wirless-Card.   
___

freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers- 
[EMAIL PROTECTED]"


According to this thread: http://lists.freebsd.org/pipermail/freebsd- 
hardware/2007-May/004426.html Sam was working on the chipset that is  
in that card. Contact him and see if he can help you out getting it  
working natively. I don't believe you can set up hostap's with NDIS  
wrapper.


Bert JW Regeer