Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

wifi problem and debugging process :)

Need help with peripherals or devices?
Post Reply
Message
Author
micka
Posts: 9
Joined: 2016-11-03 12:50

wifi problem and debugging process :)

#1 Post by micka »

Hi :)

I'm new on linux and would like to improve my skills by learning how to solve my own problems ;)

This post is intended for 2 goals :
1. Validate the process of debugging/searching for problems (where to find logs/trace ?)
2. Help to solve this problem ;)


Here we are !

After installing Kali 2.0 os (Debian like) on a mac book pro mid 2011, my wifi connection is unstable (just disconnecting after few minutes of use).

0. uname -a :

Code: Select all

Linux centre 4.7.0-kali1-amd64 #1 SMP Debian 4.7.8-1kali1 (2016-10-24) x86_64 GNU/Linux

1. Check wifi material :

Code: Select all

lspci | grep Netw :
		03:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02)
2. Check firmware :

Code: Select all

lsmod | grep 802 :
		cfg80211              569344  2 b43,rndis_wlan
		rfkill                 24576  4 cfg80211,bluetooth
3. Check iwconfig :

Code: Select all

eth0      no wireless extensions.
	wlan0     IEEE 802.11  ESSID:off/any  
		  Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
		  Retry short limit:7   RTS thr:off   Fragment thr:off
		  Encryption key:off
		  Power Management:off
		  
	lo        no wireless extensions.
4. Check rfkill - rfkill list all :

Code: Select all

0: hci0: Bluetooth
		Soft blocked: no
		Hard blocked: no
	1: phy0: Wireless LAN
		Soft blocked: no
		Hard blocked: no

By googling around "Broadcom Corporation BCM4331", I removed b43 driver for wl one by following https://wiki.debian.org/fr/wl.
Now :

Code: Select all

lsmod | grep 802 :
		cfg80211              569344  2 wl,rndis_wlan
		rfkill                     24576  4 cfg80211,bluetooth

Code: Select all

lspci -v -nn:
		03:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)
			Subsystem: Apple Inc. AirPort Extreme [106b:00d6]
			Flags: bus master, fast devsel, latency 0, IRQ 17
			Memory at a0600000 (64-bit, non-prefetchable) [size=16K]
			Capabilities: [40] Power Management version 3
			Capabilities: [58] Vendor Specific Information: Len=78 <?>
			Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
			Capabilities: [d0] Express Endpoint, MSI 00
			Capabilities: [100] Advanced Error Reporting
			Capabilities: [13c] Virtual Channel
			Capabilities: [160] Device Serial Number 47-14-da-ff-ff-ef-28-cf
			Capabilities: [16c] Power Budgeting <?>
			Kernel driver in use: wl
			Kernel modules: bcma, wl

But wifi connection still unstable.

Last track, checking dmesg shows :

Code: Select all

[  269.944983] ERROR @wl_notify_scan_status : wlan0 Scan_results error (-22)
[  303.503971] ------------[ cut here ]------------
[  303.504058] WARNING: CPU: 2 PID: 475 at /build/linux-hIes2R/linux-4.7.8/net/wireless/sme.c:878 wl_notify_roaming_status+0xb6/0x130 [wl]
[  303.504061] Modules linked in: fuse nfnetlink_queue nfnetlink_log nfnetlink binfmt_misc intel_rapl snd_hda_codec_hdmi wl(PO) snd_hda_codec_cirrus snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass uvcvideo applesmc videobuf2_vmalloc videobuf2_memops iTCO_wdt videobuf2_v4l2 iTCO_vendor_support videobuf2_core joydev videodev input_polldev btusb evdev btrtl btbcm btintel bluetooth bcm5974 media cfg80211 rfkill pcspkr acpi_als i2c_i801 snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer kfifo_buf thunderbolt sg snd i915 ac sbs sbshc industrialio apple_gmux apple_bl video drm_kms_helper shpchp battery mei_me mei soundcore drm button i2c_algo_bit lpc_ich mfd_core tpm_tis tpm ip_tables x_tables autofs4 ext4 ecb crc16 jbd2 crc32c_generic mbcache
[  303.504134]  sr_mod cdrom sd_mod ata_generic hid_generic hid_apple hid_appleir usbhid hid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel jitterentropy_rng sha256_ssse3 sha256_generic hmac drbg ansi_cprng aesni_intel ata_piix libata aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd tg3 firewire_ohci scsi_mod uhci_hcd ehci_pci ptp pps_core ehci_hcd libphy sdhci_pci sdhci firewire_core crc_itu_t mmc_core usbcore usb_common fjes
[  303.504178] CPU: 2 PID: 475 Comm: wl_event_handle Tainted: P           O    4.7.0-kali1-amd64 #1 Debian 4.7.8-1kali1
[  303.504181] Hardware name: Apple Inc. MacBookPro8,1/Mac-94245B3640C91C81, BIOS    MBP81.88Z.0047.B2C.1510261540 10/26/15
[  303.504184]  0000000000000286 00000000065efa72 ffffffffacb10025 0000000000000000
[  303.504189]  0000000000000000 ffffffffac878b5e ffff8800361dd720 ffff880168da8894
[  303.504194]  ffff8800361ddf3a ffff880168e64000 ffff8800361ddb18 ffff88016fa16d80
[  303.504198] Call Trace:
[  303.504208]  [<ffffffffacb10025>] ? dump_stack+0x5c/0x77
[  303.504215]  [<ffffffffac878b5e>] ? __warn+0xbe/0xe0
[  303.504272]  [<ffffffffc0dc99d6>] ? wl_notify_roaming_status+0xb6/0x130 [wl]
[  303.504326]  [<ffffffffc0dc90a8>] ? wl_event_handler+0x58/0x1a0 [wl]
[  303.504379]  [<ffffffffc0dc9050>] ? wl_notify_scan_status+0x310/0x310 [wl]
[  303.504383]  [<ffffffffac89753d>] ? kthread+0xcd/0xf0
[  303.504389]  [<ffffffffacdcd4ef>] ? ret_from_fork+0x1f/0x40
[  303.504393]  [<ffffffffac897470>] ? kthread_create_on_node+0x190/0x190
[  303.504396] ---[ end trace 60704ef01da55d41 ]---
[  305.989415] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  305.989572] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  311.993095] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  311.993112] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  317.992850] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  317.992896] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  323.993357] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  323.993390] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  329.646161] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  329.646247] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5e:14   profile =40:18:b1:d9:39:14
[  372.556497] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:39:28   profile =40:18:b1:d9:5c:d4
[  372.556546] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:39:28   profile =40:18:b1:d9:5c:d4
[  377.990912] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:39:28   profile =40:18:b1:d9:5c:d4
[  377.990993] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:39:28   profile =40:18:b1:d9:5c:d4
[  621.587423] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:39:28   profile =40:18:b1:da:f6:d4
[  621.587549] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:39:28   profile =40:18:b1:da:f6:d4
[ 1221.743947] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5c:d4   profile =40:18:b1:d9:39:28
[ 1221.744022] ERROR @wl_cfg80211_get_station : Wrong Mac address, mac = 40:18:b1:d9:5c:d4   profile =40:18:b1:d9:39:28
[ 2443.402950] ERROR @wl_notify_scan_status : wlan0 Scan_results error (-22)
[ 2468.551105] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2469.604226] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2470.687037] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2471.688310] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2472.780833] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2473.782301] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2474.783627] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2475.892460] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2476.902798] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2477.904105] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2479.219841] ERROR @wl_notify_scan_status : wlan0 Scan_results error (-22)
[ 2484.300373] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2485.301588] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2486.302749] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2487.396088] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2488.402449] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2489.403534] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2493.934298] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2494.088266] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2495.089445] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2496.090597] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2497.183294] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2498.194646] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2499.195876] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2500.300470] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2501.301847] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2518.934229] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2521.988286] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2525.724866] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2526.784021] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2527.901427] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2528.910466] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2550.972215] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2554.018913] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2556.035832] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2557.130612] ERROR @wl_notify_scan_status : wlan0 Scan_results error (-22)
[ 2562.132768] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2563.141264] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2564.142946] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2565.218074] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2566.219807] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2567.221523] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2589.329137] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2590.385305] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2591.465289] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2614.255702] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 2616.952987] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 3475.908684] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)
[ 4032.638862] perf: interrupt took too long (2525 > 2500), lowering kernel.perf_event_max_sample_rate to 79000

We can see 2 kinds of error :

Code: Select all

1. [  303.504198] Call Trace:
	   [  303.504208]  [<ffffffffacb10025>] ? dump_stack+0x5c/0x77
		...
	
	2. ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)

What does it means ?
Is there other trace/log files where I can get interesting information to help debugging ?



Thanks you all for your help :)

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: wifi problem and debugging process :)

#2 Post by kedaha »

micka wrote:Hi :)
After installing Kali 2.0 os (Debian like)...
hi,
I think you've got the wrong forum. Why not forums.kali.org?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

micka
Posts: 9
Joined: 2016-11-03 12:50

Re: wifi problem and debugging process :)

#3 Post by micka »

kedaha wrote:
micka wrote:Hi :)
After installing Kali 2.0 os (Debian like)...
hi,
I think you've got the wrong forum. Why not forums.kali.org?
I thought Kali was a Debian...

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: wifi problem and debugging process :)

#4 Post by GarryRicketson »

This is what I do, when I do not understand what error message means:

Code: Select all

[ 2556.035832] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22) 
Note, I do not copy/paste the entire line, just the "WLC_SCAN error (-22)".

WLC_SCAN error (-22)

The same, copy pasted : "dump_stack+0x5c/0x77"
into the search engine,...below is one, of many results,...

https://bugs.debian.org/cgi-bin/bugrepo ... bug=818089

I did not really look at the results, just to give a example,
most of the time pasting the error message or part of it into
a good search engine does get lots of information, the work
is in going through all of that and finding what is most relevent
to my situation,...or in this case your situation.
by micka » I'm new on linux and would like to improve my skills by learning how to solve my own problems
The key to that is learning how to use the search engines effectively.

Also it often is better to look for a forum specific to the distro.
by micka »After installing Kali 2.0 os (Debian like)
Kali might be "debian like", but it is not Debian, it is a entirely
different distro, and used for different purposes, not to say you can
not ask here, just saying you are more likely to find more people
that use "kali" and have interest in it , on the kali forums, ......

For example :
2. Check firmware :

Code: Select all

lsmod | grep 802 :
      cfg80211              569344  2 b43,rndis_wlan
      rfkill                 24576  4 cfg80211,bluetooth 
http://docs.kali.org/introduction/shoul ... kali-linux
2. Network services disabled by default: Kali Linux contains sysvinit hooks which disable network services by default. These hooks allow us to install various services on Kali Linux, while ensuring that our distribution remains secure by default, no matter what packages are installed. Additional services such as Bluetooth are also blacklisted by default.
So really, you are going to have problems using your "kali" and "bluetooth" like
a normal linux system,...
https://forums.kali.org/

I don't have any interest in "kali", so I guess that is about all from me.
Posted at the same time :
+100
by kedaha » 2016-11-03 08:36

micka wrote:
Hi :)
After installing Kali 2.0 os (Debian like)...


hi,
I think you've got the wrong forum. Why not forums.kali.org?
This is why it is best to ask on the appropriate forum.

micka
Posts: 9
Joined: 2016-11-03 12:50

Re: wifi problem and debugging process :)

#5 Post by micka »

@GarryRicketson
Thanks you for your answer and your hints on efficiency searching .

I always use google as search engine, is there others engine "better" than this one (specific to debug - computer problem solving) ?


@GarryRicketson @kedaha
I'm gonna follow your advice to be forum specific :)

Thanks you all for taking time to put me on the good path.

Have a nice day.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: wifi problem and debugging process :)

#6 Post by GarryRicketson »

Your welcome ,
I always use google as search engine, is there others engine "better" than this one (specific to debug - computer problem solving) ?
I like startpage.com better, it seems like I get less adverisements,
but it depends also on what you are searching for,....I find google is
better when it comes to tracking personal histories, and spammers.
If your into nuclear physics : https://search.cern.ch/Pages/default.aspx

Best search engines for liunx information
There is some interesting results in the above.
https://en.wikipedia.org/wiki/List_of_search_engines

In relation to this question:
1. Validate the process of debugging/searching for problems (where to find logs/trace ?)
where to find logs/trace on a linux system ?

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: wifi problem and debugging process :)

#7 Post by dasein »

micka wrote:I thought Kali was a Debian...
No. "Based on" is not the same as "is." This forum is for actual Debian, not for the 100+ respins and derivatives "based on" Debian.

Be aware that reports from others strongly indicate that the folks over at the Kali forums expect you to be using Kali as it's intended to be used (stand-alone pentest on Live medium), and not a desktop OS.

micka
Posts: 9
Joined: 2016-11-03 12:50

Re: wifi problem and debugging process :)

#8 Post by micka »

Ok, so I tried to understand what is Debian and what does it means to be "based on".
First thing is that all distributions are called Linux but it seems that is a "langage/communication" problem ;)

Here what I understand, please feel free to correct, add or draw ;) any information that can help to understand all that.

Image


Here we are (Numbers correspond to the numbers on the picture) :
1. It seems that we can "install" firefox (and any "user application") on Debian/"other distribution"
2. It seems that we can get gnome, kde, etc... on Debian/"other distribution"
3. It seems that all distribution get Xserver ?
4. It seems that we can get all shells on Debian/"other distribution" (bash ? zsh ? etc ... ?)
5. It seems that all distribution are based on a version of LINUX KERNEL
6. Hardware depend on the machine installing "Linux" ;)

So, what's Debian ? what's the difference with let's say ubuntu (or other distribution) ?
I really try to understand all that, but I don't find an "easy drawing" representing what Debian (or other distrib) is :)


@Dasein : Thanks you for your warning about Kali as a non desktop OS.
@GarryRicketson : Maybe I have to improve my search engine skills ;)

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: wifi problem and debugging process :)

#9 Post by kedaha »

micka wrote:Ok, so I tried to understand what is Debian and what does it means to be "based on".
First thing is that all distributions are called Linux but it seems that is a "langage/communication" problem ;)
In a nutshell, Debian is an operating system which distributes software packages —including the linux kernel—in accordance with Debian Policy and the Debian Free Software Guidelines, which distinguishes it, among other things, from other distributions. Debian, which is widely used for servers, focuses on its stable core distribution with its twin objectives of security and stability whereas other distributions have other priorities, especially making more recent software available. It should also be mentioned that the Debian Project also includes work on other kernels, namely kfreebsd-gnu and the Hurd.
Other distributions, for instance Siduction is based on Debian's unstable branch or SolydXK on its stable branch etc but have different objectives —like, for example a focus on Desktop environments— and may be quite incompatible with Debian. See also the Derivatives/Census where you'll find a brief description of Kali and what it is for. But these questions should perhaps be better addressed in Beginners' questions.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: wifi problem and debugging process :)

#10 Post by GarryRicketson »

GarryRicketson : Maybe I have to improve my search engine skills
That mostly comes with practice, the more you use them, the more you start catching on to what key words and phrases work best,..


The topic has kind of drifted into something else,...but any way,
Ok, so I tried to understand what is Debian and what does it means to be "based on".
First thing is that all distributions are called Linux but it seems that is a "langage/communication" problem ;)
It is kind of hard to explain, some people use a car, buses, and trucks analogy,
Cars are all the same , ? In my mind they are, we drive them, to me they all
pretty much look the same, 4 wheels, etc,... in fact , when I have been asked,
Well, what kind of car was it, ? I don't know, it was a red car,...No, but what kind ?
Was it a Ford, Cheverlet, etc,...? I don't know they all look the same to me.
Volks wagons used to be pretty distinctly different, but any way.
So what makes them different, they all have a motor, transmission , etc,...
How ever what happens if my "red car" breaks down, I determine that the transmission is what is broken,...... So I go to a junk yard, and look for another
"red car", one that looks like mine , I mean it is about the same size, etc. ...
Ok, so I take the transmission out, and pay for it, take it home, but to my surprise, when I try to put it in my "red car", it does not fit, the mounting bolts
are not in the same place, and it is not even the same shape as the one in
my "red car",..How could this be ? The other car was a "red car" , and it looked
the same as mine,... so I take the transmission back, and want to exchange it for
one that will fit in my "red car",... the mechanics ask me, "What model, ?"
What do you mean ? It is a red car, what difference can the model make ?
They explain, so I go back, and check, I find where it says it is a Ford, and a model number,... When I go back to the junk yard, and tell them it is a Ford
and this model number,.... they laugh,....ha ha ,...the transmission you got
is for a Chevrolet,........ I had never thought it matters much what kind of car
it is, as long as it works,...to me they all look the same,...to a mechanic, and people with more interest and knowledge about cars, they are all very different.
But they are all the same, they are just cars. Linux is a car, what is added to the
linux kernel, starts determining , what distro, what verison, etc,...
One can take a "frame" with wheels, and a steering wheel, then add a Ford motor, if that is what they choose, if they decide to use the "ford" motor, then
they need to use a ford transmission, the body or chassis I guess, could be
made to look like anything you want too, but it would not change the fact that
the engine, and transmission require ford parts,......
So probably the biggest difference in the distros, besides performance, is
the packaging, when the packages are compiled and put together, this is
usually done specifically for that distro,
In fact , if you write your own programs, to use on your computer, after writing and compiling the program, you have sort of a "package", and install it to the system , so you have a working program, maybe it even is added to the menu
and has a icon, you just click and it runs,.... great, But if you try to install
the same package, on a different computer, and it is even still the same distro,
odds are the program will not work, it might but that depends a lot on the
kind of program, or "script", and the skill of the author,...
Some simple scripts and programs , or "packages" can be easily made to be
"portable", or "universal",... similar, for example, If you want a new steering wheel cover for your red car, it does not matter if it is a Ford or Chevrolet,
or maybe even a gauge of some sort, like a "RPM" gauge, it can be installed
to any kind of car, ...
If you have Debian, as a base, you can add to it, there are even the same
"tools", that "kali" uses, available in the Debian repos, but that is not to say,
the packages in the Debian repos are the same, as the packages in the "kali"
repos, you need to use the packages for that distro, that were compiled and
packaged for it, like wise, you need to use the packages that are compiled
for Debian, and in the Debian repos, for Debian.
Since they are all "opensource", and the source code is available,
IF you are
experienced enough , it is very possible and in some cases easy to re-compile
and re-package, so that they can work on another distro,
So, what's Debian ? what's the difference with let's say ubuntu
If you really want to see what the exact differences are, take the source code,
open it up in a editor, and compare the 2 , bit by bit, .........Have fun :D
To be honest, I am not sure "Ubuntu" even makes the source code available
anymore,... it has been so many years now since I used it.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: wifi problem and debugging process :)

#11 Post by stevepusser »

You run as root in Kali, which should warn off anyone from anyone using it as a normal desktop and using the Net. The developers specifically say it's only for penetration testing, but that doesn't seem to ward off the hordes that see it in Mr. Robot and just want to be leet.

It is related to Debian, so the fix might be the same as in Debian. Often your kind of dropouts with the b43 drivers can be resolved by disabling the automatic power control for the chipset, which is done by creating a configuration file.

But it could be Kali-specific, caused by something in their custom kernel. The only way is to see what happens in true Debian.
MX Linux packager and developer

micka
Posts: 9
Joined: 2016-11-03 12:50

Re: wifi problem and debugging process :)

#12 Post by micka »

Thx you all for your comment, happy to "see" people helping/caring others... "sharing is caring" :)

Well,
Linux is a car, what is added to the
linux kernel, starts determining , what distro, what verison, etc,...
and
But it could be Kali-specific, caused by something in their custom kernel.
If I understand well, all "functionnal componnent" in my drawing can be modified. Concepts are the same, but facts/codes/bits are different for each "Linux" distribution ? That's why each Linux distribution is, in reality, a diffirent product/OS ?

Moreover,
the packages in the Debian repos are the same, as the packages in the "kali"
repos, you need to use the packages for that distro, that were compiled and
packaged for it...
So packages have the exact same name, but are "in reality" different. Just like... we call a "wheel" a wheel, but a Ford wheel isn't the same as a chevrolet wheel... But, lets say all firefox package (in a same version) have the same source code, which will give the different "distribution" package ?

If you really want to see what the exact differences are, take the source code,
open it up in a editor, and compare the 2 , bit by bit, .........Have fun :D
This idea crossed my mind, but I don't know where to start...
And fortunate as I am, I'm sure I'll open the only files that are similar between them :D :D
(I began to read some kernel source code from Linus github)


To finish on that, each distribution target some specific needs... and just saying "I'm going Linux" doesn't say nothing. Desktop ? server ? routers ? cars ? phones ? and then choose a distribution in this fields... I'm I right ?


@stevepusser : I'll install Debian and play arround with that... Just tried with Ubuntu and no more problem ;) - But the fact here is that Kali "LINUX" is not a good distribution for my desktop needs ;)
@kedaha : nutshell ? what this "word" stand for ? what's the concept and reality behind this word ? google send me to a 950 pages O'reilly book that reference all command ;)

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: wifi problem and debugging process :)

#13 Post by kedaha »

micka wrote:@kedaha : nutshell ? what this "word" stand for ? what's the concept and reality behind this word ? google send me to a 950 pages O'reilly book that reference all command ;)
I used the expression in its idiomatic sense as defined, for example, here:
in a nutshell = "in a few words; concisely."
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply