[HOWTO] No more \x00\x00\x00... in draknetcenter

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

[HOWTO] No more \x00\x00\x00... in draknetcenter

Postby linuxero » Feb 23rd, '14, 06:23

Hi everybody;

I guess many of us have been trying to live with the nightmare of \x00\x00\x00x00\x00... network ESSID whether in Mageia 3 or 4. Well, this weekend I have had it, and had a kind of a sleepless night. so here we go..

I sure still do not know how are Drake tools fit together but I managed to solve the problem.

1. ALT+F2 and kdesu kate
2. Open /usr/lib/libDrakX/network/monitor.pm
3. Look for sub list_wireless. (It should be on line 18)
4. Keep going down to line 37. (It shows: my ($ap, $frequency, $signal_strength, $flags, $essid) = ($1, $2, $3, $4, $5);)
5. Go to the end of line 37 and after the semicolon hit ENTER
6. Insert the following lines exactly as are:
Code: Select all
$_ = $essid;
s/\\x00//g;
$essid = $_;

7. Now move on to line 94 which reads: if ((/^\s*$/ || /Cell/) && exists $net->{ap}) {
8. Go to the end of the line and hit ENTER
9. Key in the exact following lines:
Code: Select all
$_ = $net->{essid};
s/\\x00//g;
$net->{essid} = $_;

10. Save the file and close the Kate text editor.

Now; no more strange zeros for hidden networks :P . Instead; the MAC address of the AP should show up ;) .

Hope Mageia team applies this patch unless they have a better solution since they understand the functionality of these scripts better :roll: .

Have a nice weekend everybody.. :P
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: [HOWTO] No more \x00\x00\x00... in draknetcenter

Postby doktor5000 » Feb 23rd, '14, 13:12

linuxero wrote:I guess many of us have been trying to live with the nightmare of \x00\x00\x00x00\x00... network ESSID whether in Mageia 3 or 4.

Nope. What are you talking about?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [HOWTO] No more \x00\x00\x00... in draknetcenter

Postby bittwister » Feb 23rd, '14, 13:56

doktor5000 wrote:
linuxero wrote:I guess many of us have been trying to live with the nightmare of \x00\x00\x00x00\x00... network ESSID whether in Mageia 3 or 4.

Nope. What are you talking about?


Guessing the display of a wireless router with Closed Network: Enabled.
Which is how I configured my router.
Attachments
nulls.png
nulls on a Closed Network router.
nulls.png (34.92 KiB) Viewed 2867 times
bittwister
 
Posts: 47
Joined: Oct 5th, '13, 21:48

Re: [HOWTO] No more \x00\x00\x00... in draknetcenter

Postby filip » Feb 23rd, '14, 15:19

linuxero wrote:Hope Mageia team applies this patch unless they have a better solution since they understand the functionality of these scripts better :roll: .

First response on dev ML.
filip
 
Posts: 474
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: [HOWTO] No more \x00\x00\x00... in draknetcenter

Postby linuxero » Feb 23rd, '14, 17:23

@bittwister;
Exactly! Thanks for the screenshot.

@doktor5000;
These zeros make configuring the hidden network a nightmare especially for a normal user, who does not even care to know about the MCC configuration tool.

@filip;
Thanks for the reference.
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: [HOWTO] No more \x00\x00\x00... in draknetcenter

Postby borlom » Mar 25th, '14, 12:18

Fantastic solution. It's run perfectly, easy and fast.
Thank you very much!
borlom
 
Posts: 1
Joined: Mar 25th, '14, 12:16

Re: [HOWTO] No more \x00\x00\x00... in draknetcenter

Postby filip » Apr 23rd, '15, 12:56

filip
 
Posts: 474
Joined: May 4th, '11, 22:10
Location: Kranj, Slovenia

Re: [HOWTO] No more \x00\x00\x00... in draknetcenter

Postby marja » Apr 25th, '15, 18:42

filip wrote:And a bug report (# 13685).


For cauldron (or 5beta3, 5RC) users, 4 drakx-net packages containing linuxero's fix can be downloaded here:
http://waesvanm.home.xs4all.nl/Packaging/Bug13685/

Please report in the bug report filip linked to, whether they fix the issue.
User avatar
marja
 
Posts: 541
Joined: Aug 22nd, '11, 20:50


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron