Network Setup Kali Linux 2020.1b (offline)

If it doesn't relate to Debian, but you still want to share it, please do it here

Network Setup Kali Linux 2020.1b (offline)

Postby M4573RN04H » 2020-04-05 01:00

I am having some trouble setting up WiFi on my dell xps13 after installing the latest version of Kali Linux 2020.1b.

After typing the following command:
Code: Select all
lspci -nn -d 14e4:

I have determined that my WiFi card is the Broadcom BCM4352.
output of above command:

02:00.0 Network controller [0280]: Broadcom Inc. and subsuduarues BCM4352 8 02.11ac Wireless Network Adapter [14e4:43b1] (rev 03)


A query at the Debian package repo for Broadcom lead me to believe that I required some packages.

I have copied the following files onto a folder on my desktop directory using a flash drive.

"broadcom-sta-dkms_6.30.223.248-3_all.deb" (dependent)
"dkms_2.2.0.3-2_all.deb" (dependent)
"wireless-tools_30~pre9-9_amd64.deb" (recomended)


I then opened a terminal at the file location and typed the following commands:

Code: Select all
sudo dpkg -i *.deb
< this command produced no errors.
output of above command:

Selecting previously unselected package broadcom-sta-dkms.
(Reading database ... 233588 files and directories currently installed.)
Preparing to unpack broadcom-sta-dkms_6.30.223.248-3_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.248-3) ...
Preparing to unpack dkms_2.2.0.3-2_all.deb ...
Unpacking dkms (2.2.0.3-2) over (2.2.0.3-2) ...
Preparing to unpack wireless-tools_30~pre9-8_amd64.deb ...
Unpacking wireless-tools (30~pre9-8) over (30~pre9-8) ...
Setting up dkms (2.2.0.3-2) ...
Setting up wireless-tools (30~pre9-8) ...
Setting up broadcom-sta-dkms (6.30.223.248-3) ...
Loading new broadcom-sta-6.30.223.248 DKMS files...
First Installation: checking all kernels...
Building only for 5.4.0-kali2-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Processing triggers for man-db (2.9.0-2) ...
Processing triggers for kali-menu (2020.1.7) ...



Code: Select all
sudo modprobe -r b44 b43 b43legacy ssb brcsmac bcma
< this command gave no errors and produced no output.

Code: Select all
sudo modprobe wl
< this command produced an error.
output of above command:


modprobe: FATAL: Module wl not found in directory /lib/modules/5.4.0-kali2-amd64



If there is someone who could provide me with guidance or instruction to resolve this error it would be greatly appreciated.

If I am too deep into this issue with the procedure that I followed, I would not mind starting a fresh install and following someones instruction on setting up this nic.

Thank you.
M4573RN04H
 
Posts: 3
Joined: 2020-04-05 00:36

Re: Network Setup Kali Linux 2020.1b (offline)

Postby Bulkley » 2020-04-05 01:46

Sorry but for help with Kali Linux you need to visit Kali forums. They do things differently over there.
Bulkley
 
Posts: 5942
Joined: 2006-02-11 18:35

Re: Network Setup Kali Linux 2020.1b (offline)

Postby Deb-fan » 2020-04-05 02:16

What ... did the Kali forum put up a sign w an arrow pointing to debian.net ? :D

Believe you'll need the headers PKG for the kernel you're using ... for dkms to do it's magic. Should've gotten an error from it reporting a problem with the module. Think dkms also automagically blacklists conficting modules, would find indication of such at /etc/modprobe.d one of them a list of modules dkms has blacklisted. My old laptop wireless also needs the wl.ko (module) to work, recently custom compiled a 5.4.19 kernel, really just for the sake of doing it on this antique.

Had to snag latest versions of dkms and broadcom-sta-dkms from unstable to get the module to build and be installed successfully on Buster. Try updating those, (dkms logically installed 1st)when you go to install the other, should run through the build/install and report whether it came out w/o errors. Of course checking the working status of the wireless interface would/will 100% confirm it's state.
Deb-fan
 
Posts: 709
Joined: 2012-08-14 12:27

Re: Network Setup Kali Linux 2020.1b (offline)

Postby cuckooflew » 2020-04-05 02:36

Bulkley wrote:Sorry but for help with Kali Linux you need to visit Kali forums. They do things differently over there.

Kali does approach the networking configs differntly then Debian and other Linus distros:
https://www.kali.org/docs/policy/kali-linux-network-service-policies/
ali Linux Network Service Policies

Kali Linux is a penetration testing toolkit, and may potentially be used in “hostile” environments. Accordingly, Kali Linux deals with network services in a very different way than typical Linux distributions. Specifically, Kali does not enable any externally-listening services by default with the goal of minimizing exposure when in a default state.
Default Disallow Policy

Kali Linux, as a standard policy, will disallow network services from persisting across reboots by default. The following example can be seen when attempting to install a tool which would by default would start a network proxy service on TCP port 3142:---snip, more in the kali documentation==


M4573RN04H » If I am too deep into this issue with the procedure that I followed, I would not mind starting a fresh install and following someones instruction on setting up this nic.

Thank you.

Sounds like you are, and if you want instructions for Debian, from Debian users, then do a fresh install and install Debian stable,...you can also get full instruction reading the Debian documentation as well.
Who should not use Kali Linux
Should I Use Kali Linux?
What’s Different About Kali Linux?

Kali Linux is specifically geared to meet the requirements of professional penetration testing and security auditing. To achieve this, several core changes have been implemented in Kali Linux which reflect these needs:

Network services disabled by default: Kali Linux contains systemd hooks that 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.---- snip ---

If you want to use Kali, and wanna be hacker, then logically you shoudl read the kali documentation, and ask Kali users / developers about any specific problems,..obviously you have not read much documenation,
https://www.kali.org/docs/introduction/should-i-use-kali-linux/ |> Is Kali Linux Right For You?

As the distribution’s developers, you might expect us to recommend that everyone should be using Kali Linux. The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc.

Even for experienced Linux users, Kali can pose some challenges. Although Kali is an open source project, it’s not a wide-open source project, for reasons of security. The development team is small and trusted, packages in the repositories are signed both by the individual committer and the team, and — importantly — the set of upstream repositories from which updates and new packages are drawn is very small. Adding repositories to your software sources which have not been tested by the Kali Linux development team is a good way to cause problems on your system.

While Kali Linux is architected to be highly customizable, don’t expect to be able to add random unrelated packages and repositories that are “out of band” of the regular Kali software sources and have it Just Work. In particular, there is absolutely no support whatsoever for the apt-add-repository command, LaunchPad, or PPAs. Trying to install Steam on your Kali Linux desktop is an experiment that will not end well. Even getting a package as mainstream as NodeJS onto a Kali Linux installation can take a little extra effort and tinkering.

If you are unfamiliar with Linux generally, if you do not have at least a basic level of competence in administering a system, if you are looking for a Linux distribution to use as a learning tool to get to know your way around Linux, or if you want a distro that you can use as a general purpose desktop installation, Kali Linux is probably not what you are looking for.

In addition, misuse of security and penetration testing tools within a network, particularly without specific authorization, may cause irreparable damage and result in significant consequences, personal and/or legal. “Not understanding what you were doing” is not going to work as an excuse.

However, if you’re a professional penetration tester or are studying penetration testing with a goal of becoming a certified professional, there’s no better toolkit — at any price — than Kali Linux.
Please Read.. What we expect you have already Done.
Does any one know about this ?
Users browsing this forum: Google Knows, and
My grand father knows all about everything:
…one flew east, one flew west,
One flew over the cuckoo’s nest.
cuckooflew
 
Posts: 388
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Network Setup Kali Linux 2020.1b (offline)

Postby trinidad » 2020-04-05 14:12

https://wiki.debian.org/wl

good luck with this card and Kali

TC
You can't believe your eyes if your imagination is out of focus.
trinidad
 
Posts: 129
Joined: 2016-08-04 14:58

Re: Network Setup Kali Linux 2020.1b (offline)

Postby M4573RN04H » 2020-04-05 16:06

Deb-fan wrote:What ... did the Kali forum put up a sign w an arrow pointing to debian.net ? :D

Believe you'll need the headers PKG for the kernel you're using ... for dkms to do it's magic. Should've gotten an error from it reporting a problem with the module. Think dkms also automagically blacklists conficting modules, would find indication of such at /etc/modprobe.d one of them a list of modules dkms has blacklisted. My old laptop wireless also needs the wl.ko (module) to work, recently custom compiled a 5.4.19 kernel, really just for the sake of doing it on this antique.

Had to snag latest versions of dkms and broadcom-sta-dkms from unstable to get the module to build and be installed successfully on Buster. Try updating those, (dkms logically installed 1st)when you go to install the other, should run through the build/install and report whether it came out w/o errors. Of course checking the working status of the wireless interface would/will 100% confirm it's state.



Actually, Yes haha! I got to the Debian package repository off an admin posted link from kali.org. So strange. I knew it felt weird. Thanks!
M4573RN04H
 
Posts: 3
Joined: 2020-04-05 00:36

Re: Network Setup Kali Linux 2020.1b (offline)

Postby M4573RN04H » 2020-04-05 16:12

cuckooflew wrote:
Bulkley wrote:Sorry but for help with Kali Linux you need to visit Kali forums. They do things differently over there.

Kali does approach the networking configs differntly then Debian and other Linus distros:
https://www.kali.org/docs/policy/kali-linux-network-service-policies/
ali Linux Network Service Policies

Kali Linux is a penetration testing toolkit, and may potentially be used in “hostile” environments. Accordingly, Kali Linux deals with network services in a very different way than typical Linux distributions. Specifically, Kali does not enable any externally-listening services by default with the goal of minimizing exposure when in a default state.
Default Disallow Policy

Kali Linux, as a standard policy, will disallow network services from persisting across reboots by default. The following example can be seen when attempting to install a tool which would by default would start a network proxy service on TCP port 3142:---snip, more in the kali documentation==


M4573RN04H » If I am too deep into this issue with the procedure that I followed, I would not mind starting a fresh install and following someones instruction on setting up this nic.

Thank you.

Sounds like you are, and if you want instructions for Debian, from Debian users, then do a fresh install and install Debian stable,...you can also get full instruction reading the Debian documentation as well.
Who should not use Kali Linux
Should I Use Kali Linux?
What’s Different About Kali Linux?

Kali Linux is specifically geared to meet the requirements of professional penetration testing and security auditing. To achieve this, several core changes have been implemented in Kali Linux which reflect these needs:

Network services disabled by default: Kali Linux contains systemd hooks that 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.---- snip ---

If you want to use Kali, and wanna be hacker, then logically you shoudl read the kali documentation, and ask Kali users / developers about any specific problems,..obviously you have not read much documenation,
https://www.kali.org/docs/introduction/should-i-use-kali-linux/ |> Is Kali Linux Right For You?

As the distribution’s developers, you might expect us to recommend that everyone should be using Kali Linux. The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc.

Even for experienced Linux users, Kali can pose some challenges. Although Kali is an open source project, it’s not a wide-open source project, for reasons of security. The development team is small and trusted, packages in the repositories are signed both by the individual committer and the team, and — importantly — the set of upstream repositories from which updates and new packages are drawn is very small. Adding repositories to your software sources which have not been tested by the Kali Linux development team is a good way to cause problems on your system.

While Kali Linux is architected to be highly customizable, don’t expect to be able to add random unrelated packages and repositories that are “out of band” of the regular Kali software sources and have it Just Work. In particular, there is absolutely no support whatsoever for the apt-add-repository command, LaunchPad, or PPAs. Trying to install Steam on your Kali Linux desktop is an experiment that will not end well. Even getting a package as mainstream as NodeJS onto a Kali Linux installation can take a little extra effort and tinkering.

If you are unfamiliar with Linux generally, if you do not have at least a basic level of competence in administering a system, if you are looking for a Linux distribution to use as a learning tool to get to know your way around Linux, or if you want a distro that you can use as a general purpose desktop installation, Kali Linux is probably not what you are looking for.

In addition, misuse of security and penetration testing tools within a network, particularly without specific authorization, may cause irreparable damage and result in significant consequences, personal and/or legal. “Not understanding what you were doing” is not going to work as an excuse.

However, if you’re a professional penetration tester or are studying penetration testing with a goal of becoming a certified professional, there’s no better toolkit — at any price — than Kali Linux.




Kali.org sent me here but I knew it felt weird.

I've been using Kali for about 2 years for school/work. Never had an issue with nic. The problem started because our university switched to online course because of the corona virus. The testing software they use require a webcam and their programs only run on windows. Of course my laptop was running Kali in a single partition and obviously I cannot unmount the active partition to take space from it and make a new one. So I had to wipe it. Install windows on partition. Then reinstall Kali (figured i'd upgrade it too) then boom. Just did not work out of the box. But thanks for the info.
M4573RN04H
 
Posts: 3
Joined: 2020-04-05 00:36

Re: Network Setup Kali Linux 2020.1b (offline)

Postby Deb-fan » 2020-04-05 17:01

You got the wl module and wireless setup or? Didn't think you'd repost after the reception, ah that above is what worked for me using dkms for it. It's a 5.4+ version kernel so not seeing any reason it wouldn't for you. Hope things worked out, from what I'd gathered in really brief research Kali is just based on Debian testing and Debian is Debian. So the referral for anything Debian-based is wholly appropriate in a wide range of things. Though you Kali nixer's might want to sneak in and fudge a bit on any questions you want to ask, lol. Next time say I'm running Debian testing w xyz issue. :D
Deb-fan
 
Posts: 709
Joined: 2012-08-14 12:27

Re: Network Setup Kali Linux 2020.1b (offline)

Postby arochester » 2020-04-05 18:26

@ Deb-fan

I'd gathered in really brief research Kali is just based on Debian testing and Debian is Debian. So the referral for anything Debian-based is wholly appropriate in a wide range of things. Though you Kali nixer's might want to sneak in and fudge a bit on any questions you want to ask, lol. Next time say I'm running Debian testing w xyz issue. :D


No.

Only Kali Linux is Kali Linux. Only Debian is Debian.

A question about Kali Linux is not wholly appropriate to Debian. A problem can be distro specific. A problem can be limited
to Kali Linux and not apply at all to Debian.

Please do not encourage people to lie about their problems. We try to help people but our task can be made impossible if they do not tell the truth.
arochester
 
Posts: 1678
Joined: 2010-12-07 19:55


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable