[nc 10] Wlan issues

Discussions about Linux installation and configuration on Samsung laptops
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

The names of the patches don't make any difference.
Let's change approach :)

You can take the sources already patched from the package on my repository (link).

Replace the 'updates/compat-wireless-2.6' directory in the sources of 'linux-backports-modules.2.6.28-9' package with the one taken from the sources of my custom package. Then build the new package with the 'dpkg-buildpackage' command.
Last edited by voria on 16 Mar 2009, 17:11, edited 1 time in total.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
redu
Newbie
Newbie
Posts: 29
Joined: 17 Feb 2009, 10:11

RE: [nc 10] Wlan issues

Post by redu »

'voRia' pid='389' dateline='1237201616' wrote: The names of the patches don't make any difference.
Let's change approach :)

You can take the sources already patched from the package on my repository (link).

Replace the 'updates/compat-wireless-2.6' directory in the sources of 'linux-backports-modules.2.6.28-9' package with the one taken from the sources of my custom package. Then build the new package with the 'dpkg-buildpackage' command.
Thanx,
but no .deb file appeared:

redu@redu-laptop:~/Sources/ubuntu-jaunty-lbm$ dpkg-buildpackage -d
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package linux-backports-modules-2.6.28
dpkg-buildpackage: source version 2.6.28-9.9
dpkg-buildpackage: source changed by Tim Gardner
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh_testdir
/bin/bash: dh_testdir: command not found
make: *** [clean] Error 127
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2

redu
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

You need to install various tools to build .deb packages.

Use this command:

Code: Select all

sudo apt-get install devscripts debhelper
Then try again with 'dpkg-buildpackage' :)
Last edited by voria on 16 Mar 2009, 18:24, edited 1 time in total.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
redu
Newbie
Newbie
Posts: 29
Joined: 17 Feb 2009, 10:11

RE: [nc 10] Wlan issues

Post by redu »

'voRia' pid='393' dateline='1237224181' wrote: You need to install various tools to build .deb packages.

Use this command:

Code: Select all

sudo apt-get install devscripts debhelper
Then try again with 'dpkg-buildpackage' :)
No luck!
Maybe packet repository i broken in jaunty alpha6?

sudo apt-get install devscripts debhelper

Failed to fetch http://fi.archive.ubuntu.com/ubuntu/poo ... 4_i386.deb 404 Not Found

Failed to fetch http://fi.archive.ubuntu.com/ubuntu/poo ... u1_all.deb 404 Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


redu
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

Jaunty is evolving very fast, so some packages get old in short times...

try to update the package list first, with

Code: Select all

sudo apt-get update
then retry with the above commands.

If it does not work yet, then wait some hours then retry.
Good luck! ;)
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
redu
Newbie
Newbie
Posts: 29
Joined: 17 Feb 2009, 10:11

RE: [nc 10] Wlan issues

Post by redu »

'voRia' pid='395' dateline='1237234467' wrote: Jaunty is evolving very fast, so some packages get old in short times...

try to update the package list first, with

Code: Select all

sudo apt-get update
then retry with the above commands.

If it does not work yet, then wait some hours then retry.
Good luck! ;)
Thank you voRia,
this apt-get update made dpkg-buildpackage work. But still at the end of build, errors were generated:

Building server...

cd /home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6 && make -j4 KLIB=/lib/modules/2.6.28-9-server MADWIFI=

make[1]: Entering directory `/home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6'

./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h

make -C /lib/modules/2.6.28-9-server/build M=/home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6 modules

make: Entering an unknown directory

make: *** /lib/modules/2.6.28-9-server/build: No such file or directory. Stop.

make: Leaving an unknown directory

make[1]: *** [modules] Error 2

make[1]: Leaving directory `/home/redu/Sources/ubuntu-jaunty-lbm/debian/build/build-server/compat-wireless-2.6'

make: *** [/home/redu/Sources/ubuntu-jaunty-lbm/debian/stamps/stamp-build-server] Error 2

dpkg-buildpackage: failure: debian/rules build gave error exit status 2

NEW KERNEL:
Now, a new "backports" and kernel 28.10 appeared in the repository. Installed it, but no change in ath5k wlan was found.
Now all the tx show using 28.10 should be performed? Why they do not include these patches to new backports?

NOTE:
There is one remarkable improvement in wlan-operation since going Jaunty: Wlan communication to my home router opens instantly, without any hanshaking delay. This is nice!


redu
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

'redu' pid='398' dateline='1237272584' wrote: Thank you voRia,
this apt-get update made dpkg-buildpackage work. But still at the end of build, errors were generated...
Well, I just installed jaunty on a second partition to test it... atm even the official 'linux-backports-modules' package does not work (tested the 2.6.28-10 version). I got lot of errors in my dmesg when I try to load the ath5k module.
The best thing to do now is to wait for it to be fixed, then we can focus on building a custom one with all the patches in. :)
'redu' pid='398' dateline='1237272584' wrote: NEW KERNEL:
Now, a new "backports" and kernel 28.10 appeared in the repository. Installed it, but no change in ath5k wlan was found.
Now all the tx show using 28.10 should be performed? Why they do not include these patches to new backports?
Yes, we have to apply the patches for every new version that comes out (this is the reason for my repository :P). These patches are to be considered experimental, it will take some time before we can see them in the official backports packages.
'redu' pid='398' dateline='1237272584' wrote: NOTE:
There is one remarkable improvement in wlan-operation since going Jaunty: Wlan communication to my home router opens instantly, without any hanshaking delay. This is nice!
Atm the wireless work better on intrepid (using the package from my repository with the patches applied) than on jaunty for me :P
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
redu
Newbie
Newbie
Posts: 29
Joined: 17 Feb 2009, 10:11

RE: [nc 10] Wlan issues

Post by redu »

'voRia' pid='433' dateline='1237312392' wrote: Atm the wireless work better on intrepid (using the package from my repository with the patches applied) than on jaunty for me :P
Strange. For me Jaunty alpha6 home router wlan (not patched) works a little faster than Intrepid wlan! Speed 1M +-300k.
However, I tested this Jaunty wlan again in local library, and it worked, but was really slow (500B/s...5kB/s). Network manager said eg. 24M. Must be that tx trouble, that should be patched? But how come:

But the dpkg-buildpackage stops in this error message:

make: Entering an unknown directory
make: *** /lib/modules/2.6.28-9-server/build: No such file or directory. Stop.

What is this unknown directory message?

redu
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

'redu' pid='445' dateline='1237330184' wrote: Strange. For me Jaunty alpha6 home router wlan (not patched) works a little faster than Intrepid wlan! Speed 1M +-300k.
As i said I'm using a newer and patched driver on intrepid, i think this is the reason for the better results. In my local LAN I get a speed of 2.5MB/s while transfering files over FTP from my desktop pc. :)
'redu' pid='445' dateline='1237330184' wrote: However, I tested this Jaunty wlan again in local library, and it worked, but was really slow (500B/s...5kB/s). Network manager said eg. 24M. Must be that tx trouble, that should be patched?
Are you sure it's not a problem of the local library wlan, and not yours? It's strange that there is such a difference between your home and local library wlans. Anyway, I think the the tx patches would help, in any case.
'redu' pid='445' dateline='1237330184' wrote: What is this unknown directory message?
Maybe you missed up some file/directory while preparing the sources for building the new package? I tried to build a my own package, I got no errors while building and package was created, but it did not work (like the official one from ubuntu). I think there is some mistake in the way the Makefile are generated, but today I had no time to investigate the problem. We'll see what happens tomorrow. :P
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
redu
Newbie
Newbie
Posts: 29
Joined: 17 Feb 2009, 10:11

RE: [nc 10] Wlan issues

Post by redu »

'voRia' pid='446' dateline='1237333246' wrote:
Are you sure it's not a problem of the local library wlan, and not yours? It's strange that there is such a difference between your home and local library wlans. Anyway, I think the the tx patches would help, in any case.

Maybe you missed up some file/directory while preparing the sources for building the new package? I tried to build a my own package, I got no errors while building and package was created, but it did not work (like the official one from ubuntu). I think there is some mistake in the way the Makefile are generated, but today I had no time to investigate the problem. We'll see what happens tomorrow. :P
In fact, I tested the library Wlan using 2 different laptops and using WinXP and Ubuntu 8.10 and 9.04 alpha6:
1.
In Win XP wlan works fine, 54M
2.
With HP550 cheap laptop with Broadcom wlan chip and using 8.10: There was a trouble starting the wlan connection (several tries), but when connected, wlan worked fine with a speed of 480k.
3.
With Samsung nc10 and 8.10: Wlan started well, but it was really slow.
4.
With Samsung nc10 and 9.04 alpha6: There was that starting problem now with this laptop too, and speed was really slow.
OK,
Seems to be that this library wlan does not like Linux users? Maybe they tested it using Bill Gates Windows only?
There are no security systems used in the wlan. Instead Internet Explorer opens a login screen asking for user id and password. There are issues if using Firefox. But there is a workaround to login using Firefox. Linux-unfriendly system this too.

Would be interested to test voRia patched Jaunty backports modules. Could not make my own ones.

redu
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

Well, if you can't wait for a proper 'linux-backports-modules' package, then you can try these sources. ;)
They are already patched by me, you only have to build and install them.

Extract, then build and install using these commands:

Code: Select all

make
sudo make install
then unload old ath5k module and load the new one:

Code: Select all

sudo modprobe -r ath5k
sudo modprobe ath5k
NOTE:
You will need to uninstall these drivers using the command

Code: Select all

sudo make uninstall
in order to go back to official 'linux-backports-modules' ubuntu package, or else it will not work.
These manually-installed drivers override any ubuntu installed drivers, even newer ones. So, dont forget that. ;)
Last edited by voria on 18 Mar 2009, 13:08, edited 1 time in total.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

A new 'linux-backports-modules' is going to be released on jaunty (as well as a new kernel, 2.6.28-11), and it has all the patches for tx power calibration already in! Never thought they would be inserted so fast :P
As soon as possible I will build a custom package with the rfkill patches in too
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
redu
Newbie
Newbie
Posts: 29
Joined: 17 Feb 2009, 10:11

RE: [nc 10] Wlan issues

Post by redu »

'voRia' pid='460' dateline='1237394754' wrote: A new 'linux-backports-modules' is going to be released on jaunty (as well as a new kernel, 2.6.28-11), and it has all the patches for tx power calibration already in! Never thought they would be inserted so fast :P
As soon as possible I will build a custom package with the rfkill patches in too
Thanks,
this is GOOD NEWS!

FYI:
Tried that compat-wireless-2009-03-16_patched.tar.bz2, make and install succeeded, but the the new ath5k driver did not work. Uninstalled.

redu
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

Sorry, I forgot to say that you have to unload all previous modules (not only the ath5k but its 'dependencies' too) before to load the new one :P
I don't remeber all of them, but you can use the command

Code: Select all

sudo make unload
then reload the ath5k module :)

(or restart the pc :P)
Last edited by voria on 18 Mar 2009, 19:57, edited 1 time in total.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
User avatar
voria
Administrator
Administrator
Posts: 1383
Joined: 12 Feb 2009, 18:08
Location: Italy
Contact:

RE: [nc 10] Wlan issues

Post by voria »

I'm starting to mantain the repository for jaunty too, I just uploaded the custom 'linux-backports-modules' package (rfkill patch applied) and the fixed 'xserver-xorg-input-synaptics' package (fix for vertical touchpad sensitivity). You can use it the same way as the intrepid one, the only difference is that you have to use these lines:

Code: Select all

deb http://ppa.launchpad.net/voria/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/voria/ppa/ubuntu jaunty main
Last edited by voria on 19 Mar 2009, 03:38, edited 1 time in total.
Image
Please consider a little donation to keep the 'Linux On My Samsung' project up and running. Thank you!
Post Reply