Thanks God. Somehow I managed to make my TP-Link device worked using your Image file Alison and configuration files which you provided the link. Thank you so much Alison and Murphy for your great help. Now I can connect to device via wireless interface and connectivity is shown on POX controller. But there is one small issue and is that I am unable to access TP-Link via Web Browser GUI. Further more I have some questions. 1. How can we create queues if we want to 2. How can we dump-flows?
On Mon, Dec 23, 2013 at 4:10 AM, Sayed Qaiser Ali Shah < 11msitqs...@seecs.edu.pk> wrote: > Dear Alison > > I tried this firmware but when I select this version in web GUI and > clicked upgrade after some time the browser displayed "Cannot establish > connection......" and when I tried to access the AP again it didn't. Then > in failsafe mode I installed previous firmware again and the problem still > continues. No openflow package is installed as /etc/init.d/openflow is not > available. I search internet a lot but didn't find package. I just found a > blog which has little bit information. The blog is given below > http://chabbir.blogspot.com/ > In this blog it is mentioned to download openflow_1.0.0-1_ar71xx.ipk and > then install using opkg. But I didn't find the package. I don't know what > to do? > > > On Sun, Dec 22, 2013 at 2:07 AM, Sayed Qaiser Ali Shah < > 11msitqs...@seecs.edu.pk> wrote: > >> Thank you so much for you help. It may be limited to you but it is great >> help for me. I will try this image and will let you know then. :) >> >> >> On Sun, Dec 22, 2013 at 1:58 AM, Alison Chan <chan7...@kettering.edu>wrote: >> >>> If you used the prebuilt image linked from openflow.org wiki for the >>> TL-WR1043ND, then you should have /etc/init.d/openflow installed by >>> default. If not, that's the fault of whoever built those images. For >>> Kettering's lab, I built an image from source (with a couple >>> customisations like including the 'nano' text editor), which is >>> available at: >>> http://paws.kettering.edu/~chan7781/openwrt-openflow-ket.bin >>> , and that's what is running on the 5x TL-WR1043ND in our lab so I >>> know it works. >>> I'm on break until mid-January without access to the lab, so any help >>> I can provide until January 13 will be limited. >>> Cheers, >>> Alison >>> >>> On Sat, Dec 21, 2013 at 12:52 PM, Sayed Qaiser Ali Shah >>> <11msitqs...@seecs.edu.pk> wrote: >>> > Dear Alison please guide me. You are my only hope right now. I can't >>> see >>> > ofprotocol and ofdatapath. What is the reason? Is it installed by >>> default or >>> > we have install packages for this? >>> > >>> > >>> > On Fri, Dec 20, 2013 at 11:53 PM, Sayed Qaiser Ali Shah >>> > <11msitqs...@seecs.edu.pk> wrote: >>> >> >>> >> I also don't have openflow file in /etc/init.d/ >>> >> to start openflow using command >>> >> >>> >> /etc/init.d/openflow start >>> >> >>> >> >>> >> >>> >> On Fri, Dec 20, 2013 at 11:50 PM, Sayed Qaiser Ali Shah >>> >> <11msitqs...@seecs.edu.pk> wrote: >>> >>> >>> >>> I used prebuilt on pantou website. I checked startup option and >>> processes >>> >>> option but didn't find anything named ofprotocol and ofdatapath. If >>> they are >>> >>> not running then how can I run them and where can I find these >>> packages? >>> >>> >>> >>> >>> >>> On Fri, Dec 20, 2013 at 10:46 PM, Alison Chan < >>> chan7...@kettering.edu> >>> >>> wrote: >>> >>>> >>> >>>> Did you install OpenWrt from the prebuilt image on >>> >>>> >>> >>>> >>> http://archive.openflow.org/wk/index.php/Pantou_:_OpenFlow_1.0_for_OpenWRT >>> >>>> , or did you build it yourself? When you run 'ps' on the TP-Link, >>> are >>> >>>> 'ofprotocol' and 'ofdatapath' running? The fact that you are not >>> >>>> seeing the switch connect to the controller leads me to suspect >>> >>>> OpenWrt misconfiguration. >>> >>>> >>> >>>> Cheers, >>> >>>> Alison >>> >>>> >>> >>>> On Fri, Dec 20, 2013 at 12:33 PM, Sayed Qaiser Ali Shah >>> >>>> <11msitqs...@seecs.edu.pk> wrote: >>> >>>> > I tried this command as well but just got this running pox >>> >>>> > >>> >>>> > POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al. >>> >>>> > [core ] POX 0.2.0 (carp) going up... >>> >>>> > [core ] Running on CPython (2.7.3/Apr 10 2013 >>> >>>> > 05:46:21) >>> >>>> > [core ] Platform is >>> >>>> > Linux-3.8.0-29-generic-i686-with-Ubuntu-12.04-precise >>> >>>> > [core ] POX 0.2.0 (carp) is up. >>> >>>> > [openflow.of_01 ] Listening on 0.0.0.0:6633 >>> >>>> > >>> >>>> > When I ping pc2 from pc1 got Request timeout message. When I ping >>> >>>> > 192.168.2.203 it was successful and when I ping 192.168.1.203 (IP >>> of >>> >>>> > port >>> >>>> > through which controller is connected) got general error message. >>> >>>> > Don't know >>> >>>> > what to do and how to resolve this issue. I don't know what I am >>> doing >>> >>>> > wrong? >>> >>>> > >>> >>>> > >>> >>>> > On Fri, Dec 20, 2013 at 10:04 PM, Sayed Qaiser Ali Shah >>> >>>> > <11msitqs...@seecs.edu.pk> wrote: >>> >>>> >> >>> >>>> >> I am using simple topology i.e. >>> >>>> >> >>> >>>> >> POX controller on my Laptop ------------ AP ----------- PC-1 >>> >>>> >> | >>> >>>> >> | >>> >>>> >> | >>> >>>> >> PC-2 >>> >>>> >> >>> >>>> >> AP is connected to my LAPTOP having POX controller via WAN Port >>> and >>> >>>> >> PC1 >>> >>>> >> and PC2 are connected via wireless. >>> >>>> >> Now what I want to know is about IP addresses. As WAN port >>> connects >>> >>>> >> different network so I have assign IP's as below >>> >>>> >> WAN Port = 192.168.1.203 mask 255.255.255.0 >>> >>>> >> Controller IP= 192.168.1.204 mask 255.255.255.0 >>> >>>> >> >>> >>>> >> Static IP of WLAN = 192.168.2.203 mask 255.255.255.0 >>> >>>> >> IP of PC-1 = 192.168.2.204 mask 255.255.255.0 >>> >>>> >> IP of PC-2 = 192.168.2.205 mask 255.255.255.0 >>> >>>> >> >>> >>>> >> >>> >>>> >> >>> >>>> >> On Fri, Dec 20, 2013 at 9:54 PM, Sayed Qaiser Ali Shah >>> >>>> >> <11msitqs...@seecs.edu.pk> wrote: >>> >>>> >>> >>> >>>> >>> I have installed OpenWRT on TP-Link 1043ND. Is there any package >>> >>>> >>> that has >>> >>>> >>> to be installed regarding openflow on my device? If yes what >>> package >>> >>>> >>> I have >>> >>>> >>> to install and how can I install it? >>> >>>> >>> >>> >>>> >>> >>> >>>> >>> On Sun, Dec 15, 2013 at 6:55 PM, Sayed Qaiser Ali Shah >>> >>>> >>> <11msitqs...@seecs.edu.pk> wrote: >>> >>>> >>>> >>> >>>> >>>> >>> >>>> >>>> Alison plz help me out. I am badly stuck. May be I am using >>> wrong >>> >>>> >>>> ips. >>> >>>> >>>> Plz tell me about ips which ips should I use. >>> >>>> >>>> >>> >>>> >>>> On Saturday, December 14, 2013, Sayed Qaiser Ali Shah >>> >>>> >>>> <11msitqs...@seecs.edu.pk> wrote: >>> >>>> >>>>> >>> >>>> >>>>> Further more when I used the configuration of wireless I got 2 >>> >>>> >>>>> connections for wireless one is >>> >>>> >>>>> Generic MAC80211 802.11bgn (radio0) >>> >>>> >>>>> and another one is >>> >>>> >>>>> Generic 802.11 Wireless Controller (radio1). >>> >>>> >>>>> Is it OK or not and which connection should I enable? >>> >>>> >>>>> >>> >>>> >>>>> >>> >>>> >>>>> On Sat, Dec 14, 2013 at 2:30 AM, Sayed Qaiser Ali Shah >>> >>>> >>>>> <11msitqs...@seecs.edu.pk> wrote: >>> >>>> >>>>> >>> >>>> >>>>> Dear Alison I tired same configuration but same problem. I >>> just >>> >>>> >>>>> want to >>> >>>> >>>>> confirm IP addresses. >>> >>>> >>>>> My laptop having POX controller has IP address 192.168.1.142, >>> So I >>> >>>> >>>>> run >>> >>>> >>>>> pox controller with same IP address by command >>> >>>> >>>>> sudo ./pox.py openflow.of_01 --address=192.168.1.142 >>> --port=6633 >>> >>>> >>>>> forwarding.l2_learning >>> >>>> >>>>> Well the part I am unable to know is that whether should IP >>> >>>> >>>>> addresses >>> >>>> >>>>> of the system which are connecting via WiFi or Ethernet Ports >>> >>>> >>>>> should have IP >>> >>>> >>>>> addresses from the same network i.e. 192.168.1.0 or should I >>> use >>> >>>> >>>>> different >>> >>>> >>>>> network? >>> >>>> >>>>> >>> >>>> >>>>> >>> >>>> >>>>> On Fri, Dec 13, 2013 at 8:47 PM, Alison Chan >>> >>>> >>>>> <chan7...@kettering.edu> >>> >>>> >>>>> wrote: >>> >>>> >>>>> >>> >>>> >>>>> https://gist.github.com/alis0nc/7945871 >>> >>>> >>>>> >>> >>>> >>>>> These are the config in question from one openwrt tp-link >>> openflow >>> >>>> >>>>> switch in Kettering's lab. Remember to restart the network, >>> >>>> >>>>> wireless, >>> >>>> >>>>> and/or openflow services when you change one of these files, >>> or >>> >>>> >>>>> else >>> >>>> >>>>> just reboot the switch. >>> >>>> >>>>> >>> >>>> >>>>> Cheers, >>> >>>> >>>>> Alison >>> >>>> >>>>> >>> >>>> >>>>> On Fri, Dec 13, 2013 at 4:57 AM, Sayed Qaiser Ali Shah >>> >>>> >>>>> <11msitqs...@seecs.edu.pk> wrote: >>> >>>> >>>>> > Thank you Alison I will wait for your reply. >>> >>>> >>>>> > >>> >>>> >>>>> > >>> >>>> >>>>> > On Fri, Dec 13, 2013 at 10:56 AM, Alison Chan >>> >>>> >>>>> > <chan7...@kettering.edu> >>> >>>> >>>>> > wrote: >>> >>>> >>>>> >> >>> >>>> >>>>> >> The config looks wrong to me (I don't have access to our >>> >>>> >>>>> >> OpenWrt OF >>> >>>> >>>>> >> switches now to confirm though), and you shouldn't be able >>> to >>> >>>> >>>>> >> ping >>> >>>> >>>>> >> the >>> >>>> >>>>> >> controller from the data plane interface with it set for >>> out of >>> >>>> >>>>> >> band >>> >>>> >>>>> >> control. I will look at a working setup in the lab tomorrow >>> >>>> >>>>> >> morning >>> >>>> >>>>> >> and >>> >>>> >>>>> >> share my config files. >>> >>>> >>>>> >> >>> >>>> >>>>> >> Cheers, >>> >>>> >>>>> >> >>> >>>> >>>>> >> Alison Chan, Kettering University >>> >>>> >>>>> >> +1 909 278 7753 >>> >>>> >>>>> >> (sent from my phone) >>> >>>> >>>>> >> >>> >>>> >>>>> >> On 12 Dec 2013 13:22, "Sayed Qaiser Ali Shah" >>> >>>> >>>>> >> <11msitqs...@seecs.edu.pk> >>> >>>> >>>>> >> wrote: >>> >>>> >>>>> >>> >>> >>>> >>>>> >>> Thank you Shayan. Are the configurations right? >>> >>>> >>>>> >>> >>> >>>> >>>>> >>> >>> >>>> >>>>> >>> On Thu, Dec 12, 2013 at 11:21 PM, Shayan Saeed >>> >>>> >>>>> >>> <shayansaee...@gmail.com> >>> >>>> >>>>> >>> wrote: >>> >>>> >>>>> >>>> >>> >>>> >>>>> >>>> Run the controller with - - debug option if you want to >>> see >>> >>>> >>>>> >>>> messages >>> >>>> >>>>> >>>> too. >>> >>>> >>>>> >>>> >>> >>>> >>>>> >>>> On Dec 12, 2013 12:15 PM, "Sayed Qaiser Ali Shah" >>> >>>> >>>>> >>>> <11msitqs...@seecs.edu.pk> wrote: >>> >>>> >>>>> >>>>> >>> >>>> >>>>> >>>>> Hello everybody I have installed OpenWRT on my TP-Link >>> 1043 >>> >>>> >>>>> >>>>> successfully then I configured it as follow. >>> >>>> >>>>> >>>>> -------------------------------------------------------- >>> >>>> >>>>> >>>>> Configuration of /etc/config/openflow >>> >>>> >>>>> >>>>> config 'ofswitch' >>> >>>> >>>>> >>>>> option 'dp' 'dp0' >>> >>>> >>>>> >>>>> option 'dpid' '000000000001' >>> >>>> >>>>> >>>>> option 'ofports' 'wlan0 eth0.1 eht0.2 eth0.3 >>> eth0.4' >>> >>>> >>>>> >>>>> option 'ofctl' 'tcp:192.168.2.12:6633' >>> >>>> >>>>> >>>>> option 'mode' 'outofband' >>> >>>> >>>>> >>>>> -------------------------------------------------------- >>> >>>> >>>>> >>>>> Configuration of /etc/config/network >>> >>>> >>>>> >>>>> config 'interface' 'loopback' >>> >>>> >>>>> >>>>> option 'ifname' 'lo' >>> >>>> >>>>> >>>>> option 'proto' 'static' >>> >>>> >>>>> >>>>> option 'ipaddr' '127.0.0. >>> >>>> >>>> >>> >>>> >>>> >>> >>>> >>>> >>> >>>> >>>> -- >>> >>>> >>>> Regards >>> >>>> >>>> >>> >>>> >>>> Sayed Qaiser Ali Shah >>> >>>> >>>> MSIT-12 >>> >>>> >>>> NUST (SEECS) >>> >>>> >>>> >>> >>>> >>> >>> >>>> >>> >>> >>>> >>> >>> >>>> >>> -- >>> >>>> >>> Regards >>> >>>> >>> >>> >>>> >>> Sayed Qaiser Ali Shah >>> >>>> >>> MSIT-12 >>> >>>> >>> NUST (SEECS) >>> >>>> >> >>> >>>> >> >>> >>>> >> >>> >>>> >> >>> >>>> >> -- >>> >>>> >> Regards >>> >>>> >> >>> >>>> >> Sayed Qaiser Ali Shah >>> >>>> >> MSIT-12 >>> >>>> >> NUST (SEECS) >>> >>>> > >>> >>>> > >>> >>>> > >>> >>>> > >>> >>>> > -- >>> >>>> > Regards >>> >>>> > >>> >>>> > Sayed Qaiser Ali Shah >>> >>>> > MSIT-12 >>> >>>> > NUST (SEECS) >>> >>>> >>> >>>> >>> >>>> >>> >>>> -- >>> >>>> Alison Chan >>> >>>> chan7...@kettering.edu >>> >>>> +1 909 278 7753 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Regards >>> >>> >>> >>> Sayed Qaiser Ali Shah >>> >>> MSIT-12 >>> >>> NUST (SEECS) >>> >> >>> >> >>> >> >>> >> >>> >> -- >>> >> Regards >>> >> >>> >> Sayed Qaiser Ali Shah >>> >> MSIT-12 >>> >> NUST (SEECS) >>> > >>> > >>> > >>> > >>> > -- >>> > Regards >>> > >>> > Sayed Qaiser Ali Shah >>> > MSIT-12 >>> > NUST (SEECS) >>> >>> >>> >>> -- >>> Alison Chan >>> chan7...@kettering.edu >>> +1 909 278 7753 >>> >> >> >> >> -- >> >> >> >> >> *Regards Sayed Qaiser Ali ShahMSIT-12 NUST (SEECS)* >> > > > > -- > > > > > *Regards Sayed Qaiser Ali ShahMSIT-12 NUST (SEECS)* > -- *RegardsSayed Qaiser Ali ShahMSIT-12NUST (SEECS)*
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss