Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running complete odin but not working #57

Open
fruganyumisa opened this issue Jul 5, 2020 · 1 comment
Open

Running complete odin but not working #57

fruganyumisa opened this issue Jul 5, 2020 · 1 comment

Comments

@fruganyumisa
Copy link

I built the click and click-align binaries and ship them to my routers but when i try to run the start.sh file this is what happens

root@OpenWrt:~# click-align agent.cli > aagent.cli
/bin/click-align/bin/click-align: : line line 33: :@�ELF: : not foundnot found

/bin/click-align: line 4: : not found
/bin/click-align: line 5: syntax error: unexpected "("
root@OpenWrt:~# /bin/click-align: line 4: �04*�@��H�: not found

root@OpenWrt:# ls
?�A@ aagent.cli agent.cli ovsh.sh start.sh
root@OpenWrt:
# vi
�A@ aagent.cli agent.cli ovsh.sh start.sh
root@OpenWrt:# vi �A@
root@OpenWrt:
# vi start.sh
root@OpenWrt:# sh start.sh
Setting variables
Stopping Network Manager
start.sh: line 36: service: not found
Setting interfaces
sleep: invalid number '0.5'
sleep: invalid number '0.5'
ifconfig: SIOCGIFFLAGS: No such device
sleep: invalid number '0.5'
Added mon0 interface
sleep: invalid number '0.5'
Added mon1 interface
sleep: invalid number '0.5'
sleep: invalid number '0.5'
sleep: invalid number '0.5'
start.sh: line 57: iwconfig: not found
sleep: invalid number '0.5'
sleep: invalid number '0.5'
mon0 is now up
sleep: invalid number '0.5'
mon1 is now up
sleep: invalid number '0.5'
sleep: invalid number '0.5'
sleep: invalid number '0.5'
phy0 is now in channel 11
sleep: invalid number '0.5'
phy1 is now in channel 11
sleep: invalid number '0.5'
wlan0 is now up
sleep: invalid number '0.5'
Restarting OpenvSwitch
start.sh: line 94: /etc/init.d/openvswitch-switch: not found
Now you can launch the Wi-5 odin controller and press Enter
OpenVSwitch folder already exists
Cleaning OpenVSwitch database
rm: can't remove '/var/run/openvswitch/*': No such file or directory
Launching OpenVSwitch
start.sh: line 116: /etc/init.d/openvswitch-switch: not found
Launching Click
start.sh: line 147: ./click: not found
Adding Click interface 'ap' to OVS
ifconfig: SIOCGIFFLAGS: No such device
ovs-vsctl: Error detected while setting up 'ap'. See ovs-vswitchd log for details.
root@OpenWrt:
# sh start.sh
Setting variables
Stopping Network Manager
start.sh: line 36: service: not found
Setting interfaces
sleep: invalid number '0.5'
sleep: invalid number '0.5'
ifconfig: SIOCGIFFLAGS: No such device
sleep: invalid number '0.5'
command failed: Too many open files in system (-23)
Added mon0 interface
sleep: invalid number '0.5'
Added mon1 interface
sleep: invalid number '0.5'
sleep: invalid number '0.5'
sleep: invalid number '0.5'
start.sh: line 57: iwconfig: not found
sleep: invalid number '0.5'
sleep: invalid number '0.5'
mon0 is now up
sleep: invalid number '0.5'
mon1 is now up
sleep: invalid number '0.5'
sleep: invalid number '0.5'
sleep: invalid number '0.5'
phy0 is now in channel 11
sleep: invalid number '0.5'
phy1 is now in channel 11
sleep: invalid number '0.5'
wlan0 is now up
sleep: invalid number '0.5'
Restarting OpenvSwitch
start.sh: line 94: /etc/init.d/openvswitch-switch: not found
Now you can launch the Wi-5 odin controller and press Enter
OpenVSwitch folder already exists
Cleaning OpenVSwitch database
rm: can't remove '/etc/openvswitch/': No such file or directory
rm: can't remove '/var/run/openvswitch/
': No such file or directory
Launching OpenVSwitch
start.sh: line 116: /etc/init.d/openvswitch-switch: not found
ovs-vsctl: cannot create a bridge named br0 because a bridge named br0 already exists
ovs-vsctl: cannot create a port named eth1.2 because a port named eth1.2 already exists on bridge br0
Launching Click
start.sh: line 147: ./click: not found
Adding Click interface 'ap' to OVS
ifconfig: SIOCGIFFLAGS: No such device
ovs-vsctl: cannot create a port named ap because a port named ap already exists on bridge br0

@fruganyumisa
Copy link
Author

My interfaces configurations are as below please anyone with an idea what is wrong

root@OpenWrt:~# ifconfig
br0 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6D
inet6 addr: fe80::60e6:cfff:fec8:b87e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:738 (738.0 B)

eth0 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6E
inet addr:172.16.16.15 Bcast:172.16.16.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4

eth1 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6D
inet6 addr: fe80::deef:9ff:fecf:766d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13145 errors:0 dropped:0 overruns:0 frame:0
TX packets:1254 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1050061 (1.0 MiB) TX bytes:212512 (207.5 KiB)
Interrupt:5

eth1.1 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6D
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::deef:9ff:fecf:766d/64 Scope:Link
inet6 addr: fd73:1cf8:36d3::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13145 errors:0 dropped:0 overruns:0 frame:0
TX packets:1215 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:813451 (794.3 KiB) TX bytes:203430 (198.6 KiB)

eth1.2 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6D
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::deef:9ff:fecf:766d/64 Scope:Link
inet6 addr: fd73:1cf8:36d3:10::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1594 (1.5 KiB)

eth1.3 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6D
inet6 addr: fe80::deef:9ff:fecf:766d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:808 (808.0 B)

eth1.4 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6D
inet6 addr: fe80::deef:9ff:fecf:766d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:808 (808.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4189 errors:0 dropped:0 overruns:0 frame:0
TX packets:4189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:344304 (336.2 KiB) TX bytes:344304 (336.2 KiB)

mon0 Link encap:UNSPEC HWaddr DC-EF-09-CF-76-6D-00-44-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1532 Metric:1
RX packets:40436 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9853106 (9.3 MiB) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr DC:EF:09:CF:76:6D
inet6 addr: fe80::deef:9ff:fecf:766d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:289 errors:0 dropped:0 overruns:0 frame:0
TX packets:311 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:50886 (49.6 KiB) TX bytes:58768 (57.3 KiB)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant