Page 1 of 1

"Network Wizard Mods" - fix scan for usb dongle,

Posted: Thu 20 Oct 2016, 06:09
by s243a
two small mods noted to "Network Wizard" in tahrpup

- Download the attachment
- Extract it
- copy rc.network to /etc/rc.d

Some background is given in the the thread:
rc.network::run_iw_scan sleep time too short ]rc.network::run_iw_scan sleep time too short


My mods are noted in the comments at lines 58 to 60

Code: Select all

# 19oct16#1 s243a: Comment out 25feb10 update (ln#659 http://murga-linux.com/puppy/viewtopic.php?p=928022#928022)
# 19oct16#2 s243a: Increase delay between iwscans
and referenced again (e.g. 19oct16#1) where the change is made.

The modifications make it so:
1, my D-link N600 USB dongle connects on boot and also
2. allows me to connect to multiple interfaces at once.

My impression is that this is legacy maintenance because iwlist seems unreliable to me. Also I think that it can be replaced by WPA_suplicant but at this point I'm only guessing as I am far from a linux networking expert.

Posted: Thu 20 Oct 2016, 06:23
by s243a
So I just checked how it worked on start-up.

(post section deleted)

Edit: after fixing an unrelated problem "see below" it works.

Posted: Thu 20 Oct 2016, 06:41
by bigpup
What version of Tahrpup?

Posted: Thu 20 Oct 2016, 06:48
by s243a
bigpup wrote:What version of Tahrpup?
Ether 6.0.2 or 6.0.5. I don't think it matters because I don't think this file was changed between these two versions.

edit: I was previously having an unrelated problem of the hard-wired interface getting set to the wrong subnet. This was completely unrelated to my above modifications to rc.network and was instead due to me previously setting the ip address it in a start-up script for shareinternet.pet.

I commented out the lines of this startup script for now as I am currently not using the shareinternet.pet on this computer.

Posted: Sun 28 Jan 2018, 23:22
by s243a
As I noted above, while the problem may be fixed in tharpup 6.0.6 if the original poster is making start-up scripts to patch this problem in their system, then they might want to have a look at my thread:

Turn net-setup.sh into a function library

which will give some incite on how networkwizard works and how to hack it.

I'm 99.9999% sure that the orginal poster will find that their network settings are correctly being save. However, that doesn't mean that the start-up scripts are correctly utilizing them in older versions of tahrpup, especially if the original poster is using unusual hardware or hardware that may have not existed when tahrpup 6.0.5 was made.