LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-17-2016, 06:55 AM   #1
Bartveurink
LQ Newbie
 
Registered: Jun 2016
Posts: 14

Rep: Reputation: Disabled
No wireless connection! Where is the problem?


What is the standard procedure when there is no wireless connection?
How can i test the following items?
- Driver
- Firmware
- Wireless Extensions
- Wireless Tools
- After this, does it see a wireless network?

- wpa2
- connection with: ping 192.168.0.1
 
Old 06-17-2016, 07:13 AM   #2
Bartveurink
LQ Newbie
 
Registered: Jun 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
I need the following kernel configuration:

Code:
Networking[*] Networking support[*]   Generic IEEE 802.11 Networking Stack[*]     IEEE 802.11 WEP encryption (802.1x)
    [M]     IEEE 802.11i CCMP support
    [M]     IEEE 802.11i TKIP encryption
    [M]     Software MAC add-on to the IEEE 802.11 networking stack
The last four are not on the menu. So, these are not installed. How do i get these in my configuration?
 
Old 06-17-2016, 07:32 AM   #3
tnut
NuTyX Founder
 
Registered: May 2016
Location: Switzerland
Distribution: NuTyX
Posts: 136

Rep: Reputation: Disabled
They can be a lot of different reasons:

1. You should knows the exact name of your wireless cards
Code:
lspci
2. You should knows if it required a firmware
Code:
dmesg
check if they are any error message when loading a firmware
3. If needed install firmware
http://www.linuxfromscratch.org/blfs.../firmware.html

4. Check if the kernel see your wireless cards
Code:
ls /sys/class/net
5. Install wpa_supplicant (and it's dependency)
http://www.linuxfromscratch.org/blfs...upplicant.html

6. Give a try to the configuration explain at the end of the page

Good luck
 
Old 06-17-2016, 09:37 AM   #4
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
Quote:
Originally Posted by Bartveurink View Post
What is the standard procedure when there is no wireless connection?
How can i test the following items?
- Driver
- Firmware
- Wireless Extensions
- Wireless Tools
- After this, does it see a wireless network?

- wpa2
- connection with: ping 192.168.0.1
- Driver: Check your kernel config to see if your driver is loaded. If you made it as a module, you should be able to see when you "lsmod"
- Firmware: Do you have the latest firmware? Get it from here: http://git.kernel.org/cgit/linux/ker...x-firmware.git
- Wireless Tools and WPA_Supplicant: Follow the direction in BLFS. You should see an entry for your wireless in 'iwconfig' even if it's not configured yet
- You also need dhcpcd if you are not using static IP.

By the way, what version of LFS are you using (Syvinit for Systemd)? The networking setup differs somewhat between the two versions
 
Old 06-17-2016, 10:37 AM   #5
Bartveurink
LQ Newbie
 
Registered: Jun 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
I use LFS version 7.9. I thought it is with sysvinit


lsmod gives that 8192cu is loaded. dmesg did not.

I did try a few things:
Code:
iwlist wlp0s29f7u4 scanning
iwconfig wlp0s29f7u4 essid SSID key K
iwconfig wlp0s29f7u4 mode Managed
All 3 things says that operation is not supported.
The same dongle in ubuntu has the following configuration with iwconfig:
Code:
wlxac220b96cdcd  IEEE 802.11bgn  ESSID:"Sitecom1F2068"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.412 GHz  Access Point: xx  
          Bit Rate:300 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=100/100  Signal level=89/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
In de kernelconfiguration did i select:
Networking support->
Wireless ->
- cfg80211
- enable powersafe
- cfg80211 wireless extensions compability
- M Generic IEEE 802.11 Networking Stack (mac80211)
- Enable mac80211 mesh networking
- Enable LED triggers
- Export mac80211 internals in DebugFS
- Trace all mac80211 debug messages

driver did i compile by myself and firmware downloaded.
Its look like the wireless extensions are missing. which extensions are that?
 
Old 06-17-2016, 10:55 AM   #6
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
Quick Google brought this up: https://archlinuxarm.org/forum/viewt...hp?f=59&t=8323

It says: "the 8192cu needs the deprecated "wext" device for wpa-supplicant instead of nl80211". Can you check through your kernel configuration to see if that option exists?
 
  


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
Wireless connection problem lamaface Linux - Wireless Networking 0 09-06-2012 01:25 PM
Problem with Wireless connection to AP frenchboy Linux - Wireless Networking 7 10-28-2009 06:17 PM
wireless connection problem jelgavchik Linux - Wireless Networking 4 11-15-2006 01:19 PM
Wireless Connection Problem thescreensavers Linux - Laptop and Netbook 2 11-06-2006 08:24 AM
Problem With Wireless Connection mrsmiley Linux - Wireless Networking 2 12-30-2004 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:22 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