[nc 10] Wlan issues
RE: [nc 10] Wlan issues
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.
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.
RE: [nc 10] Wlan issues
Thanx,'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.
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
RE: [nc 10] Wlan issues
You need to install various tools to build .deb packages.
Use this command:
Then try again with 'dpkg-buildpackage'
Use this command:
Code: Select all
sudo apt-get install devscripts debhelper
Last edited by voria on 16 Mar 2009, 18:24, edited 1 time in total.
RE: [nc 10] Wlan issues
No luck!'voRia' pid='393' dateline='1237224181' wrote: You need to install various tools to build .deb packages.
Use this command:Then try again with 'dpkg-buildpackage'Code: Select all
sudo apt-get install devscripts debhelper
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
RE: [nc 10] Wlan issues
Jaunty is evolving very fast, so some packages get old in short times...
try to update the package list first, with
then retry with the above commands.
If it does not work yet, then wait some hours then retry.
Good luck!
try to update the package list first, with
Code: Select all
sudo apt-get update
If it does not work yet, then wait some hours then retry.
Good luck!
RE: [nc 10] Wlan issues
Thank you voRia,'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, withthen retry with the above commands.Code: Select all
sudo apt-get update
If it does not work yet, then wait some hours then retry.
Good luck!
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
RE: [nc 10] Wlan issues
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.'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...
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.
Yes, we have to apply the patches for every new version that comes out (this is the reason for my repository ). 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: 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?
Atm the wireless work better on intrepid (using the package from my repository with the patches applied) than on jaunty for me'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!
RE: [nc 10] Wlan issues
Strange. For me Jaunty alpha6 home router wlan (not patched) works a little faster than Intrepid wlan! Speed 1M +-300k.'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
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
RE: [nc 10] Wlan issues
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: Strange. For me Jaunty alpha6 home router wlan (not patched) works a little faster than Intrepid wlan! Speed 1M +-300k.
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: 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?
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.'redu' pid='445' dateline='1237330184' wrote: What is this unknown directory message?
RE: [nc 10] Wlan issues
In fact, I tested the library Wlan using 2 different laptops and using WinXP and Ubuntu 8.10 and 9.04 alpha6:'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.
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
RE: [nc 10] Wlan issues
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:
then unload old ath5k module and load the new one:
NOTE:
You will need to uninstall these drivers using the command
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.
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
Code: Select all
sudo modprobe -r ath5k
sudo modprobe ath5k
You will need to uninstall these drivers using the command
Code: Select all
sudo make uninstall
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.
RE: [nc 10] Wlan issues
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
As soon as possible I will build a custom package with the rfkill patches in too
As soon as possible I will build a custom package with the rfkill patches in too
RE: [nc 10] Wlan issues
Thanks,'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
As soon as possible I will build a custom package with the rfkill patches in too
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
RE: [nc 10] Wlan issues
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
I don't remeber all of them, but you can use the command
then reload the ath5k module
(or restart the pc )
I don't remeber all of them, but you can use the command
Code: Select all
sudo make unload
(or restart the pc )
Last edited by voria on 18 Mar 2009, 19:57, edited 1 time in total.
RE: [nc 10] Wlan issues
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.