Quentin DESBOIS

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Stuck on boot #11937
    Quentin DESBOIS
    Participant

    Thank you Brandon,

    All works fine !

    1) Flash Kernel (uImage.bin) and rootfs (rootfs.jffs2) to mLinux
    2) Upgrade from mLinux to AEP model
    3) Upgrade AEP firmware to the last version 1.1.2 (including NPM)
    4) Set up firewall to open 1337 port by adding iptables instructions just after firewall –init in /etc/init.d/firewall

    Thanks again 😀

    in reply to: Stuck on boot #11935
    Quentin DESBOIS
    Participant

    Hi Brandon,

    Because my development PC is on Windows, I use Putty to connect with COM Serial Port but as I said, I get a syntax error.
    This time, I try to set the environment variable with Real Term using Send Ascii function and it seems to work.

    Then I run krb, and instalation is complete.

    Now my question is : From my MLinux Model, How to get AEP Model ? And what is the main difference between both version ?

    Thank you 🙂

    in reply to: Stuck on boot #11933
    Quentin DESBOIS
    Participant

    I follow your instructions,

    I set the environnement variable on Uboot,
    I success to download the 2 files from here : http://www.multitech.net/mlinux/images/3.1.0/mtcdt/
    and upload its to Multiconnect with TFTP

    Then I ran manualy the command from http://git.multitech.net/cgi-bin/cgit.cgi/meta-multitech.git/plain/contrib/uboot-setenv-mtcdt.minicom
    (because syntax error)

    All seems worked well, but when I ‘boot’, the boot log display :

    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP: cubic registered
    NET: Registered protocol family 17
    l2tp_core: L2TP core driver, V2.0
    Key type dns_resolver registered
    at91_rtc fffffeb0.rtc: setting system clock to 2016-03-21 16:40:19 UTC (1458578419)
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,8)
    CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.27 #1
    [<c000d580>] (unwind_backtrace+0x0/0xe0) from [<c000bb6c>] (show_stack+0x10/0x14)
    [<c000bb6c>] (show_stack+0x10/0x14) from [<c03a39ac>] (panic+0x78/0x1bc)
    [<c03a39ac>] (panic+0x78/0x1bc) from [<c04eff54>] (mount_block_root+0x208/0x250)
    [<c04eff54>] (mount_block_root+0x208/0x250) from [<c04f0170>] (mount_root+0xdc/0x104)
    [<c04f0170>] (mount_root+0xdc/0x104) from [<c04f02f0>] (prepare_namespace+0x158/0x1b8)
    [<c04f02f0>] (prepare_namespace+0x158/0x1b8) from [<c04efb78>] (kernel_init_freeable+0x174/0x1b8)
    [<c04efb78>] (kernel_init_freeable+0x174/0x1b8) from [<c03a24d4>] (kernel_init+0x8/0xe4)
    [<c03a24d4>] (kernel_init+0x8/0xe4) from [<c00094f0>] (ret_from_fork+0x14/0x24)
    

    I think problem is here :

    Because i got syntax error, I replaced :

    setenv bootcmd \'nboot.jffs2 ${loadaddr} 0 ${kernel_addr} && bootm ${loadaddr}\'

    by

    setenv bootcmd nboot.jffs2 ${loadaddr} 0 ${kernel_addr} && bootm ${loadaddr}

    How did I avoid the syntax error message on uBoot ?

    in reply to: NodeRED in http #11927
    Quentin DESBOIS
    Participant

    Ok thank you Jeff,

    I will try to set up firewall using the UI, but as you may see on my other post in this forum, I’m a little bit stuck with my multiconnect.

    However, as you write and advice me, I have added my rule line in init.d/firewall juste after the firewall –init line. But I didn’t have time to see if it works.

    Thank you 🙂

    in reply to: Stuck on boot #11926
    Quentin DESBOIS
    Participant

    Ok thank you for your help.

    But NOW, can you help me to fix my boot freeze ? Because I can’t use my multiconnect … 🙁

    in reply to: NodeRED in http #11916
    Quentin DESBOIS
    Participant

    I only use LAN interface. Each time I set up my firewall with HTTP interface, I’m getting blocked with SSH/HTTP. So I do not use firewall interface anymore.

    So, to open my port, I write command line :
    iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 1337 -j ACCEPT

    The main problem is I need to write it on each boot. Can you explain me how ‘firewall’ command-line program works ? I saw firewall –init command on startup.

    For the custom AEP version, Thank you, but finally I success to run my server on 1337 with NodeJS, and I redirect my request HTTP:1337 -> HTTPS:1880.
    I will be patient to get the next stable firmware with NPM.

    in reply to: NodeRED in http #11899
    Quentin DESBOIS
    Participant

    Jeff,

    I try to set 8080 instead of 1880 and leave other parameters 1881 and 1882, but it seems it doesn’t work.

    Do I need to set up my firewall ? Each time I change a parameters of firewall port, I can’t connect to SSH after it . So I have to hard reset my Multiconnect.
    What is the best solution ?

    Yestderay, I try to bypass my issue using NodeJS to run a server on 1337 but I can’t request it from other computer in my local network … problem of firewall ?
    (PS: I success to read/download my web page from my multitech (through SSH) with : wget http://localhost:1337/)

    Concerning NPM on AEP 1.1.2, I don’t understand … (sorry I’m french ^^). You offered me to get a custom version of the firmware including NPM package ?

    Thank you 🙂

    in reply to: NodeRED in http #11888
    Quentin DESBOIS
    Participant

    Ok thanks for response.

    I modified :

    • /opt/node-red/settings.js : uiPort : 8080
    • /etc/stunnel.conf : accept: 8080, connect:127.0.0.1:8081, connect :127.0.0.1:8082
    • /var/config/app/install/development/settings.js : uiPort : 8081

    But as you said, when i reboot, the last file ‘/var/config/app/install/development/settings.js’ go back to the default parameters with uiPort : 1881 …

    Nothing seems to work …

    I’m going to try to run a NodeJS service on port 1337 or 3000 instead of using NodeRED. I saw that NPM is not functional in the last firmware version … I hope the upcomming release will be available soon.

    in reply to: NodeRED in http #11880
    Quentin DESBOIS
    Participant

    Thank you Jeff ! 🙂

    So can you tell me what I have to do ?
    Which files I need to edit ? stunnel config file ? lighttpd file ? node-red setting.js ?

    I’m lost 🙁

Viewing 9 posts - 1 through 9 (of 9 total)