Page 1 of 1

How to disable network scanning?

Posted: Thu May 20, 2021 11:02 pm
by taersh

Hi.

Does anyone know how I can find out if network scanning is active and if so, how to disable network scanning?


Re: How to disable network scanning?

Posted: Thu May 20, 2021 11:39 pm
by Flash

Do you mean at boot?


Re: How to disable network scanning?

Posted: Fri May 21, 2021 1:32 am
by taersh

Whatever works. At boot, after X appears, whatever options are there.


Re: How to disable network scanning?

Posted: Fri May 21, 2021 1:56 pm
by Jafadmin
taersh wrote: Thu May 20, 2021 11:02 pm

Hi.

Does anyone know how I can find out if network scanning is active and if so, how to disable network scanning?

I think we are confused by the question. Do you think puppy is scanning your LAN, or something else on your LAN scanning puppy? Do you think puppy has a LAN scanner running?

The only automatic network process that should be running is dhcpd.

One of the first things I do when personalizing a puppy distro is disabling all network automation. I do that by going to /etc/rc.d and making a 'backups' directory and moving all 'rc.network_whatevers' into the backup directory, then making sure 'rc.network_basic' is the only network init file '/etc/rc.d'.

The reason I do that is that puppy makes assumptions that are wrong for my purposes. I need an OS to boot up 'quiet'. From there on, after boot, I either connect manually, or have a '/root/Startup' script that configures it.


Re: How to disable network scanning?

Posted: Fri May 21, 2021 4:21 pm
by taersh

@Jafadmin
Hi.

I'm using my own WoofCE built of Puppy especially for composing/recording music. But I have weird Xruns from time to time. These Xruns sometimes make the audio output unusable and it hurts my ears and speakers as well. So, someone mentioned I should disable network scanning, as this avoids Xruns on the person's OS. But he didn't tell me how. He even didn't reply to my "how" question. That's why I was asking here...

Thanks for the hints. I will try this next and report.


Re: How to disable network scanning?

Posted: Fri May 21, 2021 5:02 pm
by bigpup

We will wait to see your results report.

You should have given us the actual problem in the first post and named the topic for the actual problem.

But I have weird Xruns from time to time

Exactly what?
A little detail?


Re: How to disable network scanning?

Posted: Sat May 22, 2021 12:49 pm
by taersh

Ok,

trying @Jafadmin suggestions didn't change anything. I tried also to blacklist some modules in /etc/modprobe.d:

Code: Select all

# Uncomment these entries in order to blacklist unwanted bluetooth drivers
blacklist bluetooth
blacklist btrtl
blacklist btintel
blacklist btbcm
blacklist btusb
#
#blacklist uvcvideo
#
blacklist ath9k
blacklist r8169
blacklist iwlwifi

But this doesn't have any effect also.
Xruns still appear (the red numbers)

Screenshot.jpg
Screenshot.jpg (6.22 KiB) Viewed 650 times

Re: How to disable network scanning?

Posted: Sat May 22, 2021 6:54 pm
by Jafadmin

If you are physically disconnected from all networks, there is no network scanning. Turn off your wifi device and unplug your ethernet cable and try again.

When mine boot up, if you run 'ifconfig' in the console you will only see the 'lo' loopback configured.

It sounds to me like your friend's advice may have been wrong. I'd guess something else entirely is causing your 'Xruns'. I'd start by increasing buffer sizes.


Re: How to disable network scanning?

Posted: Sat May 22, 2021 8:33 pm
by taersh

For audio sample rate, frames and buffers my settings are: 44100 / 1024 / 2.

I don't have any network cables connected to my computer.
Also there's no wifi device connected to the computer.
I'm connecting to the web via PGPRS and 3G USB flash modem.
Dosn't make a difference if I'm online via 3g USB modem or being offline.

This is my ifconfig output:

root# ifconfig
lo Link encap:Local Loopback
inet addr:xx.x.x.x Mask:yyy.y.y.y
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ppp0 Link encap:Point-to-Point Protocol
inet addr:xx.xxx.xxx.xxx x-x-x:xx.x.x.x Mask:yyy.yyy.yyy.yyy
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:11502 errors:0 dropped:0 overruns:0 frame:0
TX packets:10653 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:9609918 (9.1 MiB) TX bytes:3412790 (3.2 MiB)

root#

Some of those guys meant it would be caused by running as root and using squashfs files. But that's not the case on Puppy Studio. I can't recall having Xruns in older Puppy Studio versions even on much weaker machines.


Re: How to disable network scanning?

Posted: Sat May 22, 2021 9:55 pm
by williams2

I can't recall having Xruns in older Puppy Studio versions even on much weaker machines.

What is different?

Do you have a different window manager?

Is cpu scaling set to performance ?

Code: Select all

# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ondemand
ondemand
#

I always set the niceness of Xorg to 0.

Have you read this: https://wiki.linuxaudio.org/wiki/system_configuration ?


Re: How to disable network scanning?

Posted: Sat May 22, 2021 10:29 pm
by taersh

All those real time configuration is setup properly.
Running a real time kernel also.
The main difference between Puppy Studio and my own ArtStudio64 would be JWM instead of Openbox.
But even with XFCE there's no difference on the Xruns - at least I couldn't notice any.
The CPU is an AMD Ryzen 2600X Six Core Processor running almost constant at 3599.xxx MHz. There is nothing like CPU scaling / governor / performance settings to make.
Within the BIOS I disabled all that stuff like quiet mode etc.pp.

Screenshot.jpg
Screenshot.jpg (25.07 KiB) Viewed 478 times


Perhaps disabling virtualization of CPUs will have any effect?