Home Forums Assembly/Setup Setting up without Internet through USB

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #936
    john.dowe
    Participant

    Hi,

    In the computers of my university, they removed the network sharing altogether. It is making it very problematic to run the setup script. I tried to connect via ethernet, but the local IT people say it requires DHCP to be enabled. It means I can’t use many of the solutions that require me to make the IP a static one. Do you have any suggestion or alternative way of setting everything up?

    #937
    harrison
    Keymaster

    To be honest the easiest is probably to either a) connect through a different computer (i.e. a personal laptop) without the restrictions or b) connect through a different internet connection (i.e. phone hotspot, cafe wifi) if the network itself is limiting. You dont need the “network sharing” to be active when you are actually using the device, it is only required for initial setup. I know other people have simply taken the control computer home and done the installation in a different PC when their network in the lab has been troubling…

    #941
    john.dowe
    Participant

    I was able to update it, but it fails when trying to disconnect the reactor. I have already reflashed to the latest version. Do you have a version that should almost certainly work so I could try with that one?:

    Failed to recover multiplexer on device M0
    2020-03-16 09:56:11.202802 Failed Multiplexer Comms 15 times
    Failed to recover multiplexer on device M0
    2020-03-16 09:56:13.238603 Failed Multiplexer Comms 16 times
    ^CTraceback (most recent call last):
    File “app.py”, line 1354, in I2CCom
    sysItems[‘Multiplexer’][‘device’].write8(int(0x00),int(sysItems[‘Multiplexer’][M],2)) #We have established connection to correct device.
    File “/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO/I2C.py”, line 114, in write8
    self._bus.write_byte_data(self._address, register, value)
    File “/usr/local/lib/python3.7/dist-packages/Adafruit_PureIO/smbus.py”, line 268, in write_byte_data
    self._device.write(data)
    OSError: [Errno 16] Device or resource busy

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File “app.py”, line 1368, in I2CCom
    sysItems[‘Multiplexer’][‘device’].write8(int(0x00),int(0x00)) #Disconnect multiplexer.
    File “/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO/I2C.py”, line 114, in write8
    self._bus.write_byte_data(self._address, register, value)
    File “/usr/local/lib/python3.7/dist-packages/Adafruit_PureIO/smbus.py”, line 268, in write_byte_data
    self._device.write(data)
    OSError: [Errno 16] Device or resource busy

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File “app.py”, line 2193, in <module>
    initialiseAll()
    File “app.py”, line 386, in initialiseAll
    initialise(M)
    File “app.py”, line 370, in initialise
    scanDevices(M)
    File “app.py”, line 478, in scanDevices
    I2CCom(which,’ThermometerInternal’,1,16,0×05,0,0)
    File “app.py”, line 1368, in I2CCom
    sysItems[‘Multiplexer’][‘device’].write8(int(0x00),int(0x00)) #Disconnect multiplexer.

    —————–
    Thanks heaps!

    #943
    john.dowe
    Participant

    Update on this: After tracing the problem the people from labmaker sent us another multiplexer and it worked like a charm.

    #946
    harrison
    Keymaster

    Excellent, great to hear this!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log in/Register
Scroll to top