Temat: Relayd z p9100 i problem z drukiem po wifi
Zrobilem relayd w luci i dolozylem do niego p9100 mostkuja porty lan i wan (gl.inet) i wszystko jest cacy za wyjatkiem druku po wifi. Poprzednio mialem gargulca i jego mostek - druk byl ok. Za to nie dzialalo za mostem po kablu dhcp. Teraz dhcp dziala, za to dukarka sprawia problemy.
root@Gl:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/ar933x_wmac'
option htmode 'HT20'
option country 'PL'
option txpower '18'
option disabled '0'
option channel '4'
config wifi-iface
option network 'wwan'
option ssid 'Wifi'
option encryption 'psk2'
option device 'radio0'
option mode 'sta'
option bssid 'B0:48:7A:DB:26:E6'
option key 'haslo'root@Gl:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdb2:2bf2:297b::/48'
config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.3'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
option dns '192.168.1.1'
option ip6assign '60'
option _orig_ifname 'eth1'
option _orig_bridge 'true'
option ifname 'eth0 eth1'
config interface 'wwan'
option proto 'dhcp'
config interface 'stabridge'
option proto 'relay'
list network 'lan'
list network 'wwan'
option ipaddr '192.168.1.3'
config routeroot@Gl:~# cat /etc/config/firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config include
option path '/etc/firewall.user'
config include 'miniupnpd'
option type 'script'
option path '/usr/share/miniupnpd/firewall.include'
option family 'any'
option reload '1'
config zone
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option conntrack '1'
option log '1'
option name 'LAN'
option network 'lan wwan'
config rule
option target 'ACCEPT'
option proto 'tcp udp'
option dest_port '9100'
option name 'p9100'
option src '*'
option dest_ip '192.168.1.3'
config zone
option input 'ACCEPT'
option forward 'REJECT'
option network ' '
option output 'ACCEPT'
option name 'WAN'
option masq '1'
option mtu_fix '1'
config forwarding
option dest 'WAN'
option src 'LAN'root@Gl:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv6 'server'
option ra 'server'
option ra_management '1'
option ignore '1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'Przypuszczam, ze gdzies zrobilem blad
Ale do 1,5 kombinuje i nie widze ![]()