How to disable network scanning?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

How to disable network scanning?

Post by taersh »

Hi.

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

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
Flash
Moderator
Posts: 976
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 51 times
Been thanked: 125 times

Re: How to disable network scanning?

Post by Flash »

Do you mean at boot?

Chaos coordinator :?
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How to disable network scanning?

Post by taersh »

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

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to disable network scanning?

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

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How to disable network scanning?

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

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: How to disable network scanning?

Post 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?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How to disable network scanning?

Post 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 655 times

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to disable network scanning?

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

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How to disable network scanning?

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

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: How to disable network scanning?

Post 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 ?

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: How to disable network scanning?

Post 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 483 times


Perhaps disabling virtualization of CPUs will have any effect?

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

Post Reply

Return to “Users”