In your ssid configutation, the network option has been ignored, which I think is a little strange. Have you ever try to keep this option? What is more, as I see, the queues function in openwrt is not really ready. You could read more details about the tc command in openwrt. Hope this help.
2014-05-08 3:01 GMT+08:00 <openflow-discuss-requ...@lists.stanford.edu>: > > ------------------------------ > > Message: 2 > Date: Wed, 7 May 2014 18:50:35 +0500 > From: Namrah Tariq <10besenta...@seecs.edu.pk> > To: openflow-discuss@lists.stanford.edu > Subject: [openflow-discuss] Configuration Problem in TL-WR740N v4.23 > Message-ID: > <CAH5_cZhAe+Bayzgjj+0ibBTdE91EtTgzTieguiCsXb= > 59ir...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I'm using pox with openflow 1.0 on my openwrt flashed router TL-WR740N > v4.23. > Basically I want to connect my controller to wan port of router and make > queues on wireless port and forward traffic through these queues. My > ofprotocol and ofdatapath services run and my controller also connects to > the switch. My problem is that I don't know which port is the wireless port > and when i connect clients to the switch wirelessly the wireless connection > keeps disconnecting and i'm unable to ping one client from an other. Please > help me. Here are my configs. > I tried by making queues on port 5 but no traffic is passing through > queues. My pox code is correct because I tested it on mininet. > > #/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 'fdaa:d16f:ceae::/48' > > config switch > option name 'switch0' > option reset '1' > option enable_vlan '1' > option enable_learning '0' > > config switch_vlan > option device 'switch0' > option vlan '1' > option ports '0t 1' > option vid '1' > > config switch_vlan > option device 'switch0' > option vlan '3' > option ports '0t 3' > option vid '3' > > config switch_vlan > option device 'switch0' > option vlan '4' > option ports '0t 4' > option vid '4' > > config switch_vlan > option device 'switch0' > option vlan '2' > option ports '0t 2' > option vid '2' > > config switch_vlan > option device 'switch0' > option vlan '5' > option ports '0t 5' > option vid '5' > > config interface 'lan1' > option ifname 'eth0.1' > option proto 'static' > > config interface 'lan2' > option ifname 'eth0.2' > option proto 'static' > > config interface 'lan3' > option ifname 'eth0.3' > option proto 'static' > > config interface 'lan4' > option ifname 'eth0.4' > option proto 'static' > > config interface > option ifname 'wlan0' > option proto 'static' > > config interface 'wan' > option ifname 'eth1' > option _orig_ifname 'eth1' > option _orig_bridge 'false' > option proto 'static' > option ipaddr '192.168.1.12' > option netmask '255.255.255.0' > option gateway '192.168.1.1' > option broadcast '192.168.1.255' > option dns '192.168.1.1' > > #/etc/config/openflow > > config 'ofswitch' > option 'dp' 'dp0' > option 'dpid' '000000000001' > option 'ofports' 'eth0.1 eth0.2 eth0.3 eth0.4 wlan0' > option 'ofctl' 'tcp:192.168.1.10:6633' > option 'mode' 'outofband' > > #/etc/config/wireless > > config wifi-device radio0 > option type mac80211 > option channel 11 > option hwmode 11ng > option path 'platform/ar933x_wmac' > list ht_capab SHORT-GI-20 > list ht_capab SHORT-GI-40 > list ht_capab RX-STBC1 > list ht_capab DSSS_CCK-40 > option htmode HT20 > # REMOVE THIS LINE TO ENABLE WIFI: > #option disabled 1 > > config wifi-iface > option device radio0 > #option network lan > option mode ap > option ssid OpenWrt > option encryption none > > -- > Namrah Tariq > BESE-1 > SEECS-NUST > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mailman.stanford.edu/pipermail/openflow-discuss/attachments/20140507/83bedd21/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss > > > ------------------------------ > > End of openflow-discuss Digest, Vol 67, Issue 6 > *********************************************** >
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss