LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 04-25-2016, 05:40 AM   #1
kiebitz
LQ Newbie
 
Registered: Apr 2016
Posts: 24

Rep: Reputation: Disabled
Question can not connect laptop to Fritzbox wlan


Hello
I have installed 4mLinux on an older laptop, now trying to connect to WLAN/internet.
Sorry about the long post, I tried to cramp all possible info inside

I tried to follow this guide:
http://4mlinux.blogspot.de/2013/01/w...n-4mlinux.html

I start WiFiScan, it opens a scan.log
Listed is also the WLAN that I wish to connect to - nice.

At this step of using NetConfig:

appeared the first problem.

The name of my wlan is "FRITZ!Box 7362 SL"
(same as the modelname of the physical router thing)
Entering FRITZ!Box 7362 SL results in:
Code:
ash: 7362: unknown operand
sed: unmatched '/'
That does not look good?

After that it gets a bit fuzzy in memory:

After trying that guide a few times, I selected "y" on advanced options.
wifi.conf opend and I entered the wlan details there.
Code:
ESSID="FRITZ!Box 7362 SL"
KEY="20xxxxxxxxxxx29"
I tried with and without "" quotes.
The network name and KEY I am 99.99% sure to have entered correctly. (tried many times, and my windows machine connects with same details)

Then I tried to click around in the WPA GUI and "Network Preferences."
At one point I also had in "Scan results" listed all the WLAN's in area, with signal-strength, frequency etc.
I tried to doubleclick my WLAN and entered KEY there.
The closest that I get to working wlan, was in WPA GUI under 'current status' tab it would show some informations. But only for one seconde, then it went empty again. (??)
I could see the MAC of my wlan-router and something about "handshake failed" and "auth failed."
(At this point I had not yet noticed the 'event log' button, so can not post that)

Situation now:
In WPA GUI it reads:
Status: "Could not get status from wpa_supplicant"
[Scan] of WPA GUI does nothing. (no reaction when clicked)

wifiscan command in terminal still opens a scan.log, with my WLAN in it, too.
I have no idea what to do now?

The laptop is:
Terra M 8400 (dualcore, originally windows xp)

The 4mlinux version displayed on desktop is:
4MLinux (Linux v.4.1.13-smp on i686)

The WLAN in scan.log:
Code:
wlan0     Scan completed :
          Cell 01 - Address: 34:MACMACMAC
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=31/70  Signal level=-79 dBm  
                    Encryption key:on
                    ESSID:"FRITZ!Box 7362 SL"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000015677a884e
                    Extra: Last beacon: 84ms ago
                    IE: Unknown: 0011465249545A21426F78203733363220534C
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 0706444520010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AEF111BFFFFFF00000000000000000001000000000406E6470D00
                    IE: Unknown: 3D1601001700000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080100000000000040
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0C00040E010102010000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD6F0050F204104A0001101044000102103B00010310470010989B9F6602F444CDB09D3481C429A4F81021000341564D1023000446426F78102400043030303010420004303030301054000800060050F20400011011000446426F78100800022388103C0001011049000600372A000120
 
Old 04-25-2016, 12:41 PM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Is it possible to connect directly to your FRITZ!Box via your Ethernet card ?
 
Old 04-25-2016, 01:07 PM   #3
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by zk1234 View Post
Is it possible to connect directly to your FRITZ!Box via your Ethernet card ?
I did not notice that you had the latest stable 4MLinux (Linux v.4.1.13-smp on i686), so I "cancel" the question above.
Have you tried the Network Configurator? This is the most user-friendly tool recommended by me in the blog post (guide) mentioned by you.

Last edited by zk1234; 04-25-2016 at 01:09 PM.
 
Old 04-25-2016, 05:11 PM   #4
kiebitz
LQ Newbie
 
Registered: Apr 2016
Posts: 24

Original Poster
Rep: Reputation: Disabled
thanks for efforts.
I could not attempt yet to connect via cable (but will try that eventually too)

I tried the Network Configurator too:
As in the guide, it shows wlans in area.
I click my wlan, enter key. But then the "disconnected"-icon does not change, and my wlan is not written in bold (as in screenshot at guide)
On the Conky-info-area it sometimes says:
Code:
Netowkring (wlan0)
Up: 140B - Down 140B
(for one seconde, then it is 0B again)

Afterwards when I type "connect" into console it says:
Code:
connecting via the wlan0 interface:
udhcpc (v1.24.1) started
Sending discover...
Sending discover...
Sending discover...
(...)
No lease, failing
On mouse-over on the Network Configurator's icon it says:
wlan0: Not associated

I am confused about the various methodes to configure wlan:
1) Network Configurator 2) NetConfig 3) WPA GUI
Are those basically only different GUI for the same thing? Or can trying to use one methode mess up the rest?
 
Old 04-26-2016, 03:08 AM   #5
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
I am not sure what is going on, but, in my opinion, the most important sentence is:
Quote:
I could see the MAC of my wlan-router and something about "handshake failed" and "auth failed."
The message may mean: I cannot log in ("auth failed") because security certificate cannot be verified ("handshake failed"). Perhaps your router is setup to use EAP (enterprise authentication) where additional certificates are needed.

4MLinux:
You can play with WPA GUI trying various settings.

Router:
Consider replacing enterprise settings with personal ones (unless your router works in The Pentagon :-)

Good luck !

.
 
Old 05-03-2016, 04:49 PM   #6
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Hi again,

I made some experiments with my own router. I think you need additional kernel modules:
https://sourceforge.net/projects/lin.../16.0/drivers/

I guess that you need at least these two modules:
kernel/crypto/ccm.ko
kernel/crypto/ctr.ko

After installing the modules, you should execute (4MLinux specific) command "modules_depmod" in your terminal. Now you should be able to connect.

PS.
These two modules will be available out of the box in 4MLinux 18.0.

.
 
1 members found this post helpful.
Old 05-04-2016, 07:49 AM   #7
kiebitz
LQ Newbie
 
Registered: Apr 2016
Posts: 24

Original Poster
Rep: Reputation: Disabled
hello
I am now online for first time with 4mlinux, however with cable connection In past days I tried with a different wlan router (vodafone easybox) which had the same problem.

Thanks for the links to the kernel modules, I will try if I can figure out how to install that
 
Old 05-04-2016, 09:01 AM   #8
kiebitz
LQ Newbie
 
Registered: Apr 2016
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
Hi again,

I made some experiments with my own router. I think you need additional kernel modules:
https://sourceforge.net/projects/lin.../16.0/drivers/

I guess that you need at least these two modules:
kernel/crypto/ccm.ko
kernel/crypto/ctr.ko

After installing the modules, you should execute (4MLinux specific) command "modules_depmod" in your terminal. Now you should be able to connect.

PS.
These two modules will be available out of the box in 4MLinux 18.0.

.
It worked! At least on the easybox router, will have to see about fritzbox router later. Thanks for the helpful replies

I downloaded this:
http://tenet.dl.sourceforge.net/proj....13-smp.tar.xz
since I could not figure out how to "install modules" just copied the whole "crypto" folder of the zip archive to computer, into folder /lib/modules/4.1.13-smp/kernel
Then did the modules_depmod in terminal and suddendly wlan worked when entering password.
 
1 members found this post helpful.
Old 05-04-2016, 09:13 AM   #9
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Thanks for helping me to improve 4MLinux :-)

 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop wlan cannot connect to some smartphones wifi hotspots ondoho Linux - General 1 08-23-2014 02:23 PM
[SOLVED] how to connect to wlan xeveri Slackware 14 06-01-2014 06:54 PM
Can connect or see my WLAN Yoda3114 Linux - Wireless Networking 0 04-10-2007 10:18 PM
LXer: Unified Home Networks with the Fritzbox LXer Syndicated Linux News 0 01-12-2007 05:03 AM
can connect to wlan when WEP is off, but when WEP is off cannot join wlan teknoratti Fedora 1 09-01-2006 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

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