|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Nov 2008
Messaggi: 1261
|
Consiglio OPEN-WRT client
Salve a tutti avrei bisogno di un consiglio su una configurazione per open-wrt che gira su un agpf. Quello che mi servirebbe è che l'agpf facesse da client wireless e che via cavo fosse possibile accedere alla rete.
Il router wireless a cui viene collegato ha indirizzo 192.168.1.1 ed è anche il gateway, mentre l'agpf con openwrt avrà indirizzo 192.168.1.3. Allego i vari file. /etc/config/wireless config wifi-device 'radio0' option type 'mac80211' option channel '11' option macaddr '00:xx:xx:xx:xx:xx' option hwmode '11g' option txpower '20' option distance '20' option disabled '0' option country 'US' config wifi-iface option ssid 'TEST' option device 'radio0' option mode 'sta' option bssid '64:xx:xx:xx:xx:xx' option key 'test' option encryption 'psk2+ccmp' option wds '1' option network 'lan wwan' /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 interface 'lan' 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 '8.8.8.8 8.8.4.4' option stp '1' option _orig_ifname 'eth1' option _orig_bridge 'true' option ifname 'eth1' config route option interface 'lan' option target '0.0.0.0/0' option gateway '192.168.1.1' config interface 'wwan' option proto 'dhcp' /etc/config/dhcp config dnsmasq option domainneeded 1 option boguspriv 1 option filterwin2k 0 # enable for dial on demand option localise_queries 1 option rebind_protection 1 # disable if upstream must serve RFC1918 addresses option rebind_localhost 1 # enable for RBL checking and similar services #list rebind_domain example.lan # whitelist RFC1918 responses for domains 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' #list server '/mycompany.local/1.2.3.4' #option nonwildcard 1 #list interface br-lan #list notinterface lo #list bogusnxdomain '64.94.110.11' |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Nov 2008
Messaggi: 1261
|
Questo mi era sfuggito, grazie Alfonsor.
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
è quello che funziona meglio per fare un bridge, però è un tantino "scocciante"
se sul tuo router ci puoi installare gargoyle, ha quella modalità in menù e diventa tutto più semplice |
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Nov 2008
Messaggi: 1261
|
Purtroppo per il Pirelli agpf non c'è né gargoyle né ddwrt.
|
|
|
|
|
|
#6 |
|
Senior Member
Iscritto dal: Nov 2008
Messaggi: 1261
|
Ho testato il relayd e funziona bene.
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 18:30.



















