Hi all .

my final goal is openbsd .

the prementary step is on Linux.
tool is only dynmasq and bridge


schima is next
-------------------------------------

wifi router
192.168.100.254
.
wifi
.
wlan0:192.168.100.103
raspberry pi (minibian  , a kind of debian )
eth0;192.168.0.1
|
|
eth0
Debiandog



1)no firewall

then
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


2) /etc/network/interfaces is simple
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0


3) /etc/dnsmasq.conf
interface=eth0
dhcp-range=192.168.0.21,192.168.0.22,72h
dhcp-option=option:router,192.168.0.1
domain-needed
bogus-priv
no-resolv
no-poll
server=8.8.8.8
no-hosts
expand-hosts


4)run shell script

ifconfig eth0 192.168.0.1    # perhaps neddless
echo 1 > /proc/sys/net/ipv4/ip_forward
/etc/init.d/dnsmasq restart
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 wlan0
dhclient br0


then debiandog  get address 192.168.100.104 (not 192.168.0.X)

this is very simple method.
so , there is posiibility  of ethenet converter on OpenBSD

my bed room has no lan cable .
and the video recorder has no wifi ,
so i want ethenet converter

----
regards , tuyosi

Reply via email to