Greetings.
I have a samknows wr741nd and went ahead to flash openwrt, hoping to get the samknows package working. Had no problem compiling it or installing it, but the package doesn't seem to be working at all, although the wr741nd is working perfectly.
Firstly
was complaining about :
root@OpenWrt:~# /etc/init.d/pm start
root@OpenWrt:~# /etc/setup.sh: line 28: arithmetic syntax error
So I commented that line out
"sleep $(($RANDOM % 60))"
and then it exits with :
root@OpenWrt:~# /etc/init.d/pm start
root@OpenWrt:~# Mon Aug 27 12:13:17 UTC 2012
pm: setup.sh (Info) Time synced successfully, time is now Mon Aug 27 12:13:17 UTC 2012
pm: setup.sh (Info) Unit Activation Fail with DCS dcs.samknows.com
Can't figure out why it fails the activation.
My modem is connected to the WAN port of the wr741nd and has dhcp server on a different subnet. So it's 10.0.0.X on the router side and 192.168.1.X on the wr741nd.
root@OpenWrt:~# ifconfig
br-lan Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:43
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19833 errors:0 dropped:256 overruns:0 frame:0
TX packets:16942 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1820735 (1.7 MiB) TX bytes:17078072 (16.2 MiB)
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:43
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19917 errors:0 dropped:6 overruns:0 frame:0
TX packets:16947 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2105209 (2.0 MiB) TX bytes:17078302 (16.2 MiB)
Interrupt:5
eth1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:45
inet addr:10.0.0.201 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17592 errors:0 dropped:155 overruns:0 frame:0
TX packets:17694 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18434605 (17.5 MiB) TX bytes:1794606 (1.7 MiB)
Interrupt:4
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:126 errors:0 dropped:0 overruns:0 frame:0
TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10400 (10.1 KiB) TX bytes:10400 (10.1 KiB)
WR741nd can connect to the internet and also pushes out correct dhcp leases on the 192.168.1.X subnet.
The pc connected to one of the lan ports of wr741nd connects to the internet as well. So the bridge seems to be working.
root@OpenWrt:~# ping www.google.com
PING www.google.com (173.194.78.106): 56 data bytes
64 bytes from 173.194.78.106: seq=0 ttl=46 time=72.676 ms
root@OpenWrt:~# cat /tmp/dhcp.leases
1346111943 XX:XX:XX:XX:XX:XX 192.168.1.208 mypc XX:XX:XX:XX:XX:XX
At first I thought I had problems because maybe I had borked the configuration, but flashed again, did not change any settings and I still have the same problem.
The image I flashed was the "openwrt-ar71xx-generic-tl-wr741nd-v2-squashfs-sysupgrade.bin" . Was this the correct image or do I need to flash a v1 instead (since the samknows wr741nd is a v2.4) ?
Used a -sysupgrade.bin, since I already had a gargoyle build installed before and all the wikis urged for a -sysupgrade.bin instead of the -factory.bin for the upgrade.
Any clues ?
Thanks in advance.
Edit: One other thing. In reporting.samknows.com website it shows that my hwaddr is XX:XX:XX:XX:XX:44 while the script gets the mac address of the br-lan interface which is XX:XX:XX:XX:XX:45.
The XX:44 mac address is the wlan0, which I have currently off.
Changed the script, and put manually that mac addr in but still it fails to activate.
I also turned on the wifi, changed setup.sh instead of br-lan put in wlan0, it probes the "correct" mac address but still fails to activate.
Going to try to flash the original samknows firmware, and install openwrt fresh again and report back.
(Last edited by lazarost on 27 Aug 2012, 14:15)