Home › Forums › Assembly/Setup › Setting up without Internet through USB
Tagged: connection, dhcp, internet, network sharing
- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by harrison.
-
AuthorPosts
-
March 2, 2020 at 9:27 pm #936john.doweParticipant
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?
March 2, 2020 at 10:08 pm #937harrisonKeymasterTo 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…
March 16, 2020 at 10:06 am #941john.doweParticipantI 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 busyDuring 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 busyDuring 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!April 10, 2020 at 11:02 pm #943john.doweParticipantUpdate on this: After tracing the problem the people from labmaker sent us another multiplexer and it worked like a charm.
April 29, 2020 at 2:22 pm #946harrisonKeymasterExcellent, great to hear this!
-
AuthorPosts
- You must be logged in to reply to this topic.