Closed weijian19391 closed 7 years ago
According to the log, it seems 6LBR can not communicate properly with the slip-radio (hence all the errors). Please check if it is correctly programmed. If so, maybe you have issues with the cc2531 and the raspberry, see the raspberry page on the Wiki for some workarounds (https://github.com/cetic/6lbr/wiki/RaspberryPi-Software-Configuration)
Laurent.
@laurentderu Thanks for your reply. Any idea where and how can i debug where went wrong? i manage to get to the web page served by 6lbr, hence i supposed the software is being set up correctly on my RPI. How can i check if the slip radio is working and that it is working with RPI?
@laurentderu I got it to work! Turns out, i need the follow settings to be done for RPi even though i am not using Nooliberry radio
remove the following parameters from /boot/cmdline.txt
console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
note that you do not need dwc_otg.speed=1 in that file for the Nooliberry, due to the lower baudrate
Also, in /etc/inittab the following line at the bottom of the file should be commented out, because the Nooliberry needs to use the ttyAMA0:
#Spawn a getty on Raspberry Pi serial line
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Thank you very much for your help!
hello @weijian19391, on your RPi, are you using one of the official raspbian images? If so, do you know which release it is? This problem appeared on certain versions of Raspbian, it would help us to know which one you are using.
@sdawans Yes i am running the official Raspbian image. Not sure if this is what you're looking for, but using uname -a
gave me the following:
Linux raspberrypi 4.0.7+ #801 PREEMPT Tue Jun 30 18:15:24 BST 2015 armv6l GNU/Linux
On a side note, do you happen to know any NAT64 program that i can run in my RPi for it to translate between IPv6 and IPv4?
For NAT64, you can either use the latest develop snapshot which integrate NAT64 or use Jool on your RPi.
@laurentderu is there any elegant way of updating my current 6lbr to the develop branch, or do i have to remove the current 6lbr and git clone the develop snapshot to reinstall 6lbr again?
if you are using git and the github repository of 6lbr, you can do a git fetch to have the lastest version and then do a git checkout develop-20150508 to select the latest snapshot
@laurentderu I see. Thanks!
Is there any way for me to inspect the traffic flow of the 6lbr? I have implemented a mqtt client on my TI sensor tag, which is supposed to send data to port 1883, however when i tried to listen on port 1883 nothing is being received. Hence, i am now trying to see which part of the connection went wrong.
We need to reduce the speed of the CC2531 USB Dongle: I added this parameter "dwc_otg.speed=1" to the beginning of the /boot/cmdline.txt like this:
dwc_otg.speed=1 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p3 rootwait
Then it works!
@opendsvn thanks for the info, I will update the wiki to make more clear that one need this parameter for CC2531, Telos, ... slip-radios.
Is this property only for slip radios or also for sniffers?
Z
On 29 Jul 2015, at 4:27 pm, opendsvn notifications@github.com wrote:
We need to reduce the speed of the CC2531 USB Dongle: I added this parameter "dwc_otg.speed=1" to the beginning of the /boot/cmdline.txt like this:
dwc_otg.speed=1 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p3 rootwait
Then it works!
— Reply to this email directly or view it on GitHub.
It's for both, you need that parameter to have the USB device working on RPi.
I have a similar problem and my hardware runs raspbian (supported on BananaPI hardware). my cmdline.txt settings are:
dwc_otg.speed=1 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
I am still facing the same problem and the same error:
ERROR: BR-RDC: br-rdc: send failed, slip ack timeout
Same problem here, was running with Raspbian and the soft was unstable, then switched to Ubuntu 16 LTS Mate, and I now got:
ERROR: BR-RDC: br-rdc: send failed, slip ack timeout
What is the frequency of the error, do you have it for each packet sent or do you have one once in a while ? Could you check if in /etc/inittab you don't have a console opened on your serial device ?
My raspberry pi's version is 4.4.50-v7+. I have the same problem. But I don't have the /etc/inittab file and my /boot/cmdline.txt is dwc_otg.lpm_enable=0 console=serial0, 115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait splash plymouth.ignore-serial-consoles dwc_otg.speed=1 Can anyone tell me how to configure? Thank you very much!!!
I am also facing the same issue that i am able to access my web page that showing 6lbr information but under the sensor tab sensor values are not showing. i am using raspbian stretch. Kindly help me fix this problem
Hi
I followed the example from http://processors.wiki.ti.com/index.php/Cc26xx_sw_examples, but instead of using BBB i used a Raspberry Pi as my edge router, configuration for 6lbr.config as follows:
I am able to see the web page showing me information about the boarder router, but under the sensor tab, the Sensortag are not being displayed. Checking on the log file :
I have flashed the Sensortag with the web-demo.bin (http://processors.wiki.ti.com/index.php/Contiki_setting_up_sw) using over the air downloader from my android phone, and CC2531 as my slip radio, flashed with
cc2531-slip-radio_contikimac.zip
from http://processors.wiki.ti.com/index.php/Cc26xx_sw_examples.May i know where i might have done wrong? Thank you