Page 1 of 1

Easy Network Setup Distro for Dreampi I Made

Posted: Sun May 21, 2017 9:33 am
by semi-analogue
Hey Guys! First post! I was told to come here after telling someone about this on PSO since I initially posted it on reddit. Basically, I have modified the Dreampi image by adding a script that lets you set up the network much easier using a text-based menu system. I donated to Kazade's Paypal as a sign of good gesture since I wasn't able to get in contact with him about setting up this distro. Basically, it's a python script that walks you through setting up the network interfaces if you have wifi or ethernet. I just really did this for myself at first, but realized this might help some other people too. I want to make sure that anybody who wants to get their dreamcast online, can, and without too much hassle. Come download it and tell me what you think!

https://sourceforge.net/projects/netset ... rce=navbar

Edit: New version Just Released!!!! Thanks to Livingonwheels for the modified script!

Re: Easy Network Setup Distro for Dreampi I Made

Posted: Sun May 21, 2017 11:06 am
by Xiden
Nice work! And welcome to the community!

Re: Easy Network Setup Distro for Dreampi I Made

Posted: Fri May 26, 2017 12:44 pm
by livingonwheels
Hi, I tried your script but it wasn't working for me with option 3 (WPA). I took a look at your code and wpa_supplicant.conf and I noticed that the config file didn't match the format that I found on https://www.raspberrypi.org/documentati ... ess-cli.md. According to that it should look like:

Code: Select all

network={
  ssid="testing"
  #psk="testingPassword"
  psk=131e1e221f6e06e3911a2d11ff2fac9182665c004de85300f9cac208a6a80531
}
But yours looked like:

Code: Select all

network={
  ssid="testing"
  wpa="testingPassword"
}
But it's really easy to fix it. All you have to do is type

Code: Select all

sudo -i
wpa_passphrase [ssid] [password] >> /etc/wpa_supplicant/wpa_supplicant.conf
and you'll be good to go. You can probably call the first half or the second line directly in your script, and it would save you some writes to the file.

Also, you should really consider changing the "username" prompt to say "SSID", because it was confusing before I looked at the script.

But otherwise, good work on the script :) If you want, I can make the changes for you and tidy it up a little bit.

Re: Easy Network Setup Distro for Dreampi I Made

Posted: Sat May 27, 2017 10:51 am
by semi-analogue
livingonwheels wrote:
But otherwise, good work on the script :) If you want, I can make the changes for you and tidy it up a little bit.
If you could modify it, that would be great! If you can, message me the script, so I can put it up on sourceforge as well as update the distro. I really appreciate it. If you message me today, I'll be able to put it up tonight. Tell you the truth, I'm not a good coder and an even worse network and linux guy. So thanks for helping out. I realize my code is spaghetti code, so this really helps. I just hope kazede doesn't mind me modifying his distro. I feel kinda bad, but at least I donated!

Re: Easy Network Setup Distro for Dreampi I Made

Posted: Sun May 28, 2017 9:25 pm
by livingonwheels
I'm working on it now. I'll have it ready sometime tomorrow.

Re: Easy Network Setup Distro for Dreampi I Made

Posted: Tue May 30, 2017 1:39 pm
by The-Amazing-Mr_V
Nice work!

Re: Easy Network Setup Distro for Dreampi I Made

Posted: Sun Jun 04, 2017 2:53 pm
by semi-analogue
livingonwheels wrote:I'm working on it now. I'll have it ready sometime tomorrow.
Okay, uploading the new distro now.Thanks for the work Livingonwheels!