LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2015, 01:18 PM   #1
badbackcom1
LQ Newbie
 
Registered: Jul 2015
Posts: 14

Rep: Reputation: Disabled
Smile I'm new to Linux and I have a question about WiFi


So, I use Kali Linux. I tried this command to connect to WiFi:

Code:
root@kali-#: iw dev
nl80211 not found
So does this mean I can't install what I need to connect to WiFi? How do I do this?
 
Old 07-13-2015, 01:32 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I don't know where to start. Why are you usong Kali? Why haven't you asked who ever told you to use Kali for help?
I suggest starting again with a distribution like Linux Mint (I have no idea whixh network drivers you need but non-free are available in Mint) if you want to start using Linux.
 
Old 07-13-2015, 02:21 PM   #3
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
As 273 intimates, Kali is for expert users only.

Apart from the technical considerations, it runs a GUI desktop for root as the default user.

This is *not* something a n00b should be doing.

I second the Mint recommendation.
http://www.linuxmint.com/
 
Old 07-13-2015, 02:26 PM   #4
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by badbackcom1 View Post
So does this mean I can't install what I need to connect to WiFi?
Not necessarily. The first thing to ascertain here is the wireless adapter you're using. Please open a terminal and post the output of...

Code:
lspci -nnk | grep -i net -A2
If this is a USB adapter, then...

Code:
lsusb
Welcome to the forum

Regards...
 
Old 07-13-2015, 07:41 PM   #5
badbackcom1
LQ Newbie
 
Registered: Jul 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
I'm using Kali because I needed a version of Linux for the computer security club. Linux Mint you recommend? They said any version of Linux would work.

Last edited by badbackcom1; 07-13-2015 at 07:45 PM.
 
Old 07-13-2015, 07:42 PM   #6
badbackcom1
LQ Newbie
 
Registered: Jul 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
I tried what you put:

Code:
root@kali:~# lspci -nnk | grep -i net -A2
I got this as output:

Code:
grep: Z: invalid context length argument

Last edited by badbackcom1; 07-13-2015 at 07:45 PM. Reason: explaining better
 
Old 07-13-2015, 08:07 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That's a numeric 2, not a capital Z at the end of the command.
Messages are for reading.

When you need to understand a command use "man <command>" - it's the *nix "help". Use "q" to quit back to the terminal (no quote in those commands).
As for kali, if it's for a security club, why not ?
 
Old 07-14-2015, 02:26 AM   #8
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by badbackcom1 View Post
I'm using Kali because I needed a version of Linux for the computer security club
Kali themselves recommend running it live from a USB stick.

As I say, it is not suited for general day-to-day usage.
 
Old 07-14-2015, 01:19 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by badbackcom1 View Post
I'm using Kali because I needed a version of Linux for the computer security club. Linux Mint you recommend? They said any version of Linux would work.
If any version will work then, yes, initially at least you might find Linux Mint easier to install and use (more likely to install wireless drivers etc.). Kali is a security and penetration testing distribution which:
Quote:
Originally Posted by Kali Website
... is NOT a recommended distribution if you’re unfamiliar with Linux...
http://docs.kali.org/introduction/sh...use-kali-linux
That isn't to say you should not use Kail, especially if you are using it for security testing, just that it can be harder work to get going than other distributions and isn't really suited to any other purpose than security testing.
 
Old 07-14-2015, 03:15 PM   #10
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Quote:
Apart from the technical considerations, it runs a GUI desktop for root as the default user.

This is *not* something a n00b should be doing.
Actually,... This is not something ANYONE should be doing.
 
1 members found this post helpful.
Old 07-14-2015, 03:19 PM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by JaseP View Post
Actually,... This is not something ANYONE should be doing.
There's nothing wrong with running a GUI desktop as root on a live penetration testing distribution when you're carrying out penetration testing...
 
Old 07-15-2015, 08:21 AM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by 273 View Post
There's nothing wrong with running a GUI desktop as root on a live penetration testing distribution when you're carrying out penetration testing...
Nothing wrong if you can restore it in short order to a "known" state, and don't plan on running it unattended for years on end.

As far as wifi as with any distro you need networking tools and drivers. NetworkManager is decent if you have blessed hardware (driver + firmware that works and is installed by default). Otherwise wpa_suppicant, ip, iw, ifconfig, iwconfig, and many other means to an end depending on distro and distro age.
 
Old 07-24-2015, 05:55 PM   #13
badbackcom1
LQ Newbie
 
Registered: Jul 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
network manager will also let me detect wifi networks?

network manager will also let me detect wifi networks in terminal?
 
Old 07-24-2015, 06:13 PM   #14
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by badbackcom1 View Post
network manager will also let me detect wifi networks in terminal?
I really don't recall whether network manager has any command line tools -- I would search for wireless networks on the command line with the following.
Code:
iwlist wlan0 scan
What is it you are trying to do here? Connect to a wireless network or scan for networks to penetration test a network you own?
 
Old 07-24-2015, 07:43 PM   #15
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
network manager does have comand line tools, in some distros. For instance, in Mageia, there is cnetworkmanager, in debian there is nm-cli. Never used them personally, but definitely exist.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] wifi problems. after updating to the latest linux-kernel wifi doesn't work. jhp8940 Linux - Newbie 7 09-11-2014 12:17 PM
Sharing a wifi connection via a wifi router on a linux machine (see pic) linuxquestionsofandrew Linux - Networking 0 07-21-2013 06:45 AM
Linux mint 12 will not connect to wifi internet or android wifi tethers wilspeak Linux - General 4 06-06-2012 12:40 AM
Wifi question on Linux DSL sam_nyc Linux - Laptop and Netbook 4 08-26-2009 10:02 PM
General Question: What is the best way to do wifi in linux? Opinions wanted! JazzLad Linux - Wireless Networking 15 05-13-2006 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration