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

Configuration wizards, scanners, remote desktop, etc.
Post Reply
Message
Author
s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

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

#1 Post 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.
Attachments
rc.network.zip
(8.23 KiB) Downloaded 305 times
Last edited by s243a on Thu 20 Oct 2016, 06:30, edited 1 time in total.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#2 Post 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.
Last edited by s243a on Thu 20 Oct 2016, 07:04, edited 1 time in total.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

What version of Tahrpup?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#4 Post 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.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#5 Post 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.

Post Reply