On Thu, May 07, 2015 at 07:11:52PM -0500, Paul Elliott wrote:

Here is a config I am thinking about using. Is it correct?

I have not been able to figure out how to use the wan
interface, but I do not need it right now.

On my setup there is no eth1, but there is a wan?

Should the proto be dhcp or none for ifname eth0?

Thank You


------/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 'fd19:22cf:676b::/48'

config interface 'eth'
        option ifname 'eth0'
        option proto 'none'

config interface 'lan'
        option ifname 'lan1 lan2 lan3 lan4'
        option type 'bridge'
        option proto 'dhcp'
        option ip6assign '60'

config interface 'wan'
        option ifname 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

-----/etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11ng'
        option path 'platform/ath9k'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'DSSS_CCK-40'
        option txpower '27'
        option country 'US'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'Barbara'
        option encryption 'psk2'
        option key 'notrevealed i changed this so you do not know it'
        option macfilter 'allow'






> 
> 
> I have read
> http://wiki.openwrt.org/doc/recipes/dumbap
> which tells how to turn your router into an access point.
> 
> I understand that dhcp needs to be turned off because
> there can be only on dhcp server.
> 
> But how do I make my access point accept it's IP
> from the external dhcp?
> 
> This does not seem to be documented here.
> 
> Thank You.
> 
> 
> -- 
> Paul Elliott                               1(512)837-1096
> [email protected]               PMB 181, 11900 Metric Blvd Suite J
> http://www.free.blackpatchpanel.com/pme/   Austin TX 78758-3117



-- 
Paul Elliott                               1(512)837-1096
[email protected]               PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/   Austin TX 78758-3117

Attachment: signature.asc
Description: Digital signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to