this is running NOX Zaku? Did you get any helpful messages on the controller side? (looks like it connected for an instant)
On Wed, Sep 22, 2010 at 1:45 PM, Aaron Rosen <aro...@clemson.edu> wrote: > Hello, > > I'm trying to setup a Wrt54GL to run openflow 1.0. I've installed the image > and have configured my /etc/config/network to be the following: > > #### VLAN configuration > config switch eth0 > option enable 1 > > config switch_vlan eth0_0 > option device "eth0" > option vlan 0 > option ports "0 1 2 3 5" > > > config switch_vlan eth0_4 > option device "eth0" > option vlan 4 > option ports "4 5" > > > #### Loopback configuration > config interface loopback > option ifname "lo" > option proto static > option ipaddr 127.0.0.1 > option netmask 255.0.0.0 > > > #### LAN configuration > config interface lan > option ifname "eth0.0" > option proto dhcp > option type bridge > > config interface wlan > option ifname "eth0.4" > option proto static > option ipaddr 130.127.39.140 > option netmask 255.255.255.128 > > > > My /etc/config/wireless is the following: > > config wifi-device radio0 > option type mac80211 > option channel 5 > option macaddr 00:1e:e5:76:b2:59 > option hwmode 11g > > # 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 > option network lan > > > > Here is my /etc/config/openflow: > > config 'ofswitch' > option 'dp' 'dp0' > option 'ofports' 'eth0.0 eth0.1 eth0.2 eth0.3' > option 'ofctl' 'tcp:130.127.39.200:6633' > option 'mode' 'inband' > > I'm guessing that inband means openflow enabled and outofband is > non-openflow? > > When I run the controller on my desktop (at 130.127.39.200) and then issue > /etc/init.d/openflow restart on the wrt I get the following output: > > r...@openwrt:~# /etc/init.d/openflow restart > eth0.0,eth0.1,eth0.2,eth0.3 > Configuring OpenFlow switch for inband control > Sep 22 20:41:17|00001|netdev|ERR|ioctl(SIOCGIFINDEX) on eth0.1 device > failed: No such device > ofdatapath: failed to add port eth0.1 (No such device) > Configuring local device with ip and netmask > ifconfig: bad address 'up' > BusyBox v1.15.3 (2010-05-28 12:28:17 PDT) multi-call binary > > Usage: route [{add|del|delete}] > > Edit kernel routing tables > > Options: > -n Don't resolve names > -e Display other/more information > -A inet{6} Select address family > > Sep 22 20:41:20|00001|secchan|INFO|OpenFlow reference implementation > version 1.0.0 > Sep 22 20:41:20|00002|secchan|INFO|OpenFlow protocol version 0x01 > r...@openwrt:~# Sep 22 20:41:20|00003|secchan|WARN|new management > connection will receive asynchronous messages > Sep 22 20:41:20|00004|rconn|INFO|unix:/var/run/dp0.sock: connecting... > Sep 22 20:41:20|00005|vconn_unix|ERR|/tmp/vconn-unix.1470.0: connection to > /var/run/dp0.sock failed: No such file or directory > Sep 22 20:41:20|00006|rconn|WARN|unix:/var/run/dp0.sock: connection failed > (No such file or directory) > Sep 22 20:41:20|00007|rconn|INFO|unix:/var/run/dp0.sock: waiting 1 seconds > before reconnect > Sep 22 20:41:20|00008|rconn|INFO|tcp:130.127.39.200:6633: connecting... > Sep 22 20:41:20|00009|rconn|INFO|tcp:130.127.39.200:6633: connected > Sep 22 20:41:21|00010|rconn|INFO|unix:/var/run/dp0.sock: connecting... > Sep 22 20:41:21|00011|vconn_unix|ERR|/tmp/vconn-unix.1470.1: connection to > /var/run/dp0.sock failed: No such file or directory > Sep 22 20:41:21|00012|rconn|WARN|unix:/var/run/dp0.sock: connection failed > (No such file or directory) > Sep 22 20:41:21|00013|rconn|INFO|unix:/var/run/dp0.sock: waiting 2 seconds > before reconnect > > > Does anyone know where I went wrong? > > Thanks, > > > -- > Aaron O. Rosen > Masters Candidate - Network Communication > 306B Flour Daniel > 843.425.9777 > > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > >
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org