It's UWAweek 17 (1st semester, week 8)

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message. How do I ask a good question?

Displaying the 4 articles in this topic
Showing 4 of 275 articles.
Currently 1 other person reading this forum.


 UWA week 12 (1st semester, week 4) ↓
SVG not supported

Login to reply

👍?
helpful
1:39pm Sun 24th Mar, ANONYMOUS

I'm getting a segmentation fault when trying to run cnet on WSL2 ([1] 8874 segmentation fault /usr/local/bin/cnet). I've followed all the instructions with updating WSL and installing cnet, so unsure where the issue resides. Has anyone managed to resolve this error?


 UWA week 13 (1st semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
5:21am Mon 25th Mar, Christopher M.

ANONYMOUS wrote:
> I'm getting a segmentation fault when trying to run cnet on WSL2 ([1] 8874 segmentation fault /usr/local/bin/cnet). I've followed all the instructions with updating WSL and installing cnet, so unsure where the issue resides. Has anyone managed to resolve this error?
A few other students have reported the same problem: [help3002] but it's proving very difficult to pin-down. There's been no reported problems on a native-Linux installation, only when running the (same) binary within WSL-2. T appears to be a problem with individual students' laptop installations. I've sat with a few students and their laptops - some 'just magically' got it to work by reviewing the installation instructions, but others had no success (and started working with another student in the lab session). I've built a new binary which just annotates where it's up to in its execution. Download and make executable the modified binary: [CITS3002] Now (hopefully) if you just run d1-cnet-Linux-x86_64 STOPANDWAIT it should just crash as it was before. Now enable some additional debugging compiled into this binary with: D1=y d1-cnet-Linux-x86_64 STOPANDWAIT and it should list many of the functions that it calls to initialise itself and parse your topology file. Please post a copy of this output.


SVG not supported

Login to reply

👍?
helpful
12:56pm Mon 25th Mar, ANONYMOUS

Thanks for the reply Chris. I managed to get it working by doing a clean reinstall of Ubuntu/WSL following https://gist.github.com/4wk-/889b26043f519259ab60386ca13ba91b. Not quite sure what caused the issue but happy its working now.


SVG not supported

Login to reply

👍?
helpful
2:19pm Tue 26th Mar, Christopher M.

ANONYMOUS wrote:
> Thanks for the reply Chris. I managed to get it working by doing a clean reinstall of Ubuntu/WSL following https://gist.github.com/4wk-/889b26043f519259ab60386ca13ba91b. Not quite sure what caused the issue but happy its working now.
Glad that you solved it, though a shame that you had to re-install so many things to address what was probably a smaller problem too difficult to track down! But you've chosen to stay with Windows-10, and not upgrade to 11? I find it annoying when things are fixed, but we don't know why! Still, now you can move on to learning the Networks content. Good luck,

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy