Could you make An example of what you are saying? Im noob at this. Thanks alot for your time Em 30/03/2015 23:04, "alessandro macuz" <[email protected]> escreveu:
> Also due to the new bridge interface you have to move the IP config from > the currrent wifi interface to the new bridge interface. Thus the new > bridge interface will have the IP Address 13.0.0.1/22 and the current > wifi won't have any IP conf. > > > > 2015-03-30 23:55 GMT+02:00 alessandro macuz <[email protected]>: > >> Going back to your question: >> >> create another VLAN (vlan 5 for instance), configure the ethernet port 1 >> as part of that vlan 5 and then bridge the wifi interface and the this new >> vlan together. >> I don't think the wifi interface can be a bridge any longer in your final >> configuration. It'll become one of the interfaces of the new bridge >> >> 2015-03-30 23:47 GMT+02:00 [email protected] <[email protected] >> >: >> >>> Yes i've got access. the router is wrt1043nd v2 >>> >>> why i should change there? >>> >>> The router is doing access point and i give to the wifi users a custom >>> address 13.0.0.xxx >>> >>> Everything works. what i just need is to make the first port of the >>> switch ports of the router, be served by the same interface as wifi and all >>> the orther be a bridge to wan >>> >>> On Mon, Mar 30, 2015 at 10:42 PM, alessandro macuz < >>> [email protected]> wrote: >>> >>>> I'd try the following >>>> >>>> config wifi-iface >>>> option device 'radio0' >>>> option network 'lan' <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< that's >>>> the change in /etc/config/wireless >>>> option mode 'ap' >>>> option ssid 'OPALA_INTERNET' >>>> option encryption 'none' >>>> >>>> but you have to minimize the config of wifi in the /etc/config/network >>>> too >>>> >>>> Pay attention when touching such files because if they are not >>>> correctly configured you screw the network and you loose access to the >>>> router and then you have to flash it again. >>>> >>>> Do you have console access? Which model is it? >>>> >>>> >>>> 2015-03-30 22:52 GMT+02:00 [email protected] < >>>> [email protected]>: >>>> >>>>> HI Allessandro! Thanks for your reply. >>>>> >>>>> here is my wireless file >>>>> >>>>> /etc/config# cat wireless >>>>> config wifi-device 'radio0' >>>>> option type 'mac80211' >>>>> option channel '9' >>>>> option hwmode '11ng' >>>>> option path 'platform/qca955x_wmac' >>>>> option txpower '24' >>>>> option htmode 'HT40' >>>>> option country 'BO' >>>>> option noscan '1' >>>>> >>>>> config wifi-iface >>>>> option device 'radio0' >>>>> option network 'wifi' >>>>> option mode 'ap' >>>>> option ssid 'OPALA_INTERNET' >>>>> option encryption 'none' >>>>> >>>>> brctl show >>>>> bridge name bridge id STP enabled interfaces >>>>> br-lan 7fff.e894f6293cdc no eth1 >>>>> br-wifi 7fff.e894f6293cdc no wlan0 >>>>> >>>>> >>>>> >>>>> On Mon, Mar 30, 2015 at 6:49 PM, alessandro macuz < >>>>> [email protected]> wrote: >>>>> >>>>>> What's your /etc/config/wireless ? >>>>>> >>>>>> I have the following >>>>>> >>>>>> config wifi-iface >>>>>> option device 'radio0' >>>>>> .... >>>>>> [CUT] >>>>>> .... >>>>>> option network '*lan*' >>>>>> >>>>>> and then >>>>>> >>>>>> root@OpenWrt-3:~# brctl show >>>>>> bridge name bridge id STP enabled interfaces >>>>>> br-*lan* 7fff.001731b421db no eth0.1 >>>>>> wlan0 >>>>>> root@OpenWrt-3:~# >>>>>> >>>>>> >>>>>> >>>>>> 2015-03-30 19:31 GMT+02:00 [email protected] < >>>>>> [email protected]>: >>>>>> >>>>>>> Hi everyone! >>>>>>> >>>>>>> I need my switch port 1 be like a extension of wifi interface. >>>>>>> >>>>>>> Right now all my switch ports are a bridge to the wan connection. >>>>>>> >>>>>>> Its possible to make something like i'm asking? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> here is my network file >>>>>>> >>>>>>> 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:d578:67b6::/48' >>>>>>> >>>>>>> config interface 'lan' >>>>>>> option ifname 'eth1' >>>>>>> option force_link '1' >>>>>>> option type 'bridge' >>>>>>> >>>>>>> config interface 'wifi' >>>>>>> option ifname 'eth1' >>>>>>> option force_link '1' >>>>>>> option type 'bridge' >>>>>>> option proto 'static' >>>>>>> option ipaddr '13.0.0.1' >>>>>>> option netmask '255.255.252.0' >>>>>>> option ip6assign '60' >>>>>>> >>>>>>> config interface 'wan' >>>>>>> option ifname 'eth0' >>>>>>> option proto 'dhcp' >>>>>>> option peerdns '0' >>>>>>> option dns '208.67.222.123 208.67.220.123' >>>>>>> >>>>>>> config interface 'wan6' >>>>>>> option ifname '@wan' >>>>>>> option proto 'dhcpv6' >>>>>>> >>>>>>> config switch >>>>>>> option name 'switch0' >>>>>>> option reset '1' >>>>>>> option enable_vlan '1' >>>>>>> >>>>>>> config switch_vlan >>>>>>> option device 'switch0' >>>>>>> option vlan '1' >>>>>>> option ports '0' >>>>>>> >>>>>>> config switch_vlan >>>>>>> option device 'switch0' >>>>>>> option vlan '2' >>>>>>> option ports '1 2 3 4 5 6' >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Fábio Oliveira - Public Key >>>>>>> <http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x42AC3018C11E30BF> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> openwrt-users mailing list >>>>>>> [email protected] >>>>>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> openwrt-users mailing list >>>>>> [email protected] >>>>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Fábio Oliveira - Public Key >>>>> <http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x42AC3018C11E30BF> >>>>> >>>>> _______________________________________________ >>>>> openwrt-users mailing list >>>>> [email protected] >>>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> openwrt-users mailing list >>>> [email protected] >>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users >>>> >>>> >>> >>> >>> -- >>> Fábio Oliveira - Public Key >>> <http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x42AC3018C11E30BF> >>> >>> _______________________________________________ >>> openwrt-users mailing list >>> [email protected] >>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users >>> >>> >> > > _______________________________________________ > openwrt-users mailing list > [email protected] > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users > >
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
