A working machine comprising: at least three of electronic devices each configured to be connected to an in-vehicle network of the working machine and to perform an operation for the working machine, each of the electronic devices including: a termination resistor capable of being connected between a first communication line and a second communication line of the in-vehicle network; a switch part configured to be switched between a connection state where the termination resistor is connected between a first communication line and a second communication line of the in-vehicle network and a non-connection state where the termination resistor is not connected between a first communication line and a second communication line of the in-vehicle network; a control part configured to control an switching operation of the switch part; and a storage part to store identification information for identifying the corresponding electronic device, wherein each of the control parts includes a position calculation part and a connection setting part, wherein when an electric power is supplied to the electronic devices, each of the position calculation parts obtains a first identification information for the own control device and a second identification information for a plurality of the other control devices from the storage parts thereof and determines an order of the first identification information among the second identification information, wherein the identification information is indicative for the position of the electronic device on the in-vehicle network, and wherein each of the connection setting parts outputs a connection command to the control part to hold the switch part in the connection state when the order of the first identification information is highest or lowest, and outputs a non-connection command to the control part to hold the switch part in the non-connection state when the order of the first identification information is neither highest nor lowest. a termination resistor capable of being connected between a first communication line and a second communication line of the in-vehicle network; a switch part configured to be switched between a connection state where the termination resistor is connected between a first communication line and a second communication line of the in-vehicle network and a non-connection state where the termination resistor is not connected between a first communication line and a second communication line of the in-vehicle network; a control part configured to control an switching operation of the switch part; and a storage part to store identification information for identifying the corresponding electronic device, wherein each of the control parts includes a position calculation part and a connection setting part, wherein when an electric power is supplied to the electronic devices, each of the position calculation parts obtains a first identification information for the own control device and a second identification information for a plurality of the other control devices from the storage parts thereof and determines an order of the first identification information among the second identification information, wherein the identification information is indicative for the position of the electronic device on the in-vehicle network, and wherein each of the connection setting parts outputs a connection command to the control part to hold the switch part in the connection state when the order of the first identification information is highest or lowest, and outputs a non-connection command to the control part to hold the switch part in the non-connection state when the order of the first identification information is neither highest nor lowest.