hi all .

i made a wifi router by openbsd .
but my USB wifi is too old , so slow speed .

do you know  some good USB wifis ?

the next is my setting .
--------
i386# ./comment-out.bat /etc/rc.local

/root/wifi-router.bat-rum0
/etc/rc.d/dhcpd -f restart


i386# cat /root/wifi-router.bat-rum0
ifconfig rum0 inet 192.168.17.1 netmask 255.255.255.0 \
media autoselect mediaopt hostap nwid abc \
wpakey 123456789 chan 1 up


i386# ./comment-out.bat /etc/dhcpd.interfaces

rum0


i386# ./comment-out.bat /etc/dhcpd.conf

option  domain-name "my.domain";
option  domain-name-servers 8.8.8.8;
subnet 192.168.17.0 netmask 255.255.255.0 {
        option routers 192.168.17.1;
        range 192.168.17.10 192.168.17.19;
}


i386# ./comment-out.bat /etc/hostname.fxp0

dhcp


i386# ./comment-out.bat /etc/sysctl.conf

machdep.allowaperture=2 # See xf86(4)
net.inet.ip.forwarding=1    # 1=Permit forwarding (routing) of IPv4 packets


i386# ./comment-out.bat /etc/pf.conf

ext=fxp0
icmp_types = "{echoreq, unreach}"
set block-policy return
set loginterface $ext
set skip on lo0
match in all scrub (no-df max-mss 1440)
match out on $ext inet from !($ext:network) to any nat-to ($ext:0)
block log all
pass out quick
pass in quick inet proto { tcp udp gre } from any to any
pass in quick inet proto icmp all icmp-type $icmp_types keep state

Reply via email to