Go to previous topic
Go to next topic
Last Post 13 Nov 2013 04:26 PM by  steven.eckhoff
Issues in network configuration
 2 Replies
Author Messages
jduran.gm
New Member
New Member
Posts:79


--
13 Nov 2013 08:15 AM
    Dear all,

    I would like to report two troubles that I've found in BSP 2.4, all related to configuration:

    1 - The file name of the configuration file defined in /etc/rc.d/init.d/network script is invalid. The problem appears when the network script is executed from a terminal, that the script is not able to read the configuration and aborts its execution:

    DM-37x# /etc/rc.d/init.d/network start
    /etc/rc.d/init.d/network: line 13: /etc/rc.d/init.d/rc.conf: No such file or directory

    2 - In station mode, the wpa_supplicant runs just before the network script. The wpa_supplicant script loads the driver of the wlan interface, configures wpa-supplicant daemon and starts it. Moreover, wpa_supplicat script activates the wlan0 interface using ifup command, which starts a dhcp client to configure wlan0 interface. This action is a problem because the network script finds the wlan0 interace up and it is not able to configure the wlan0 interface, for example set a fixed IP address.

    My suggestion is wpa_supplicat script should configure the wifi related stuff of the wifi interface and the network script configure the IP related stuff of the wifi interface. So, wpa_supplicant should not configure the wlan interface.

    Thanks and best Regards
    Joaquim Duran

    jduran.gm
    New Member
    New Member
    Posts:79


    --
    13 Nov 2013 10:38 AM
    So, wpa_supplicant should not configure the wlan interface. ==> IP configuration of the WLAN0 interface.
    steven.eckhoff
    Basic Member
    Basic Member
    Posts:192


    --
    13 Nov 2013 04:26 PM
    jduran,

    Thanks,

    I will look into this.


    ---