Debian Configuration :: Wlan Really Slow Under Lenny
Jan 10, 2010
i use a telekom s100 set-top-box, which originally had a prism54 wlan-card. but wlan was very slow. but the driver was working well and it did not seem to be a configuration issue, so i assumed that its that card which is so slow. following i purchased a atheros based wlan-card which is working perfectly well with the ath5k driver of my linux kernel (2.6.26-1-686). but the connection is pretty bad anyway. i get max 300kb/s from pc to pc. as its the same with 3 different cards i tested in the s100 i assume it is a configuration issue? or might there be chipset or mini-pci-slot limitation?
when i check the connection with iwconfig the bitrate is somewhere between 1-54mb/s, rising to 54mb/s and then falls back to 1mb/s, rising to 54mb/s again, falling down, its an infinite loop. im using wpa_supplicant for the connection, but i don't think thats the malefactor. well, you never know .. i tried to set the bitrate with iwconfig wlan0 rate 54M but that ended in a disconnection ...
i'm trying to get my WLan working, i do have a Broadcom BCM4312 lpphy WLan-Adapter (pci-id according to lspci -vnn is 14e4:4315) in my Lenove ideapad S12. My System is Debian Lenny, but in order for the WLan-Adapter to work I installed the 2.6.32-3-686 Kernel from debian squeeze (using apt-pinning). I than installed the b43-firmware as described in the debian wiki [URL]. I updated the init-ramfs, everything is working as expected, except for WLan.
It shows up using iwconfig, i can get it up and down using ifconfig (or ifup, ifdown). I can't do a scan using iwlist - it says: % iwlist wlan0 scan > Failed to read scan data : Resource temporarily unavailable
It always fails, but not with the same error message. Sometimes it also comes up with > device or resource busy
Using dmesg I see reports about a fatal DMA error, resulting in a controller RESET. It says it's loading firmware 478.104 .
I've tried out many Debian distros and noticed the ones that I try based on Ubuntu, my USB WiFi adapter works fine and I don't really have any issues. When I try one that is based on current Jessie, I have sporadic WiFi issues and just overall instability with regards to connectivity and audio playback. I have tried two distros based on Jessie and had very similar results on both. Is there anything in particular I can try? I've done everything short of installing Debian stable and just pointing to Jessie. I've done that in a VM so I know I can handle it, but wanted to se if there was anything I should be trying first. I just didn't think a distro based directly on Jessie and Jessie backports would be any different from installing base Jessie as far as compatibility is concerned.
Code: Select allCard-2: Realtek RTL8191SU 802.11n WLAN Adapter       driver: r8712u usb-ID: 008-004       IF: wlan0 state: up
I´ve set up a Squeeze System on an old Ibook G4 and, besides wlan, everything works fine.i guess i need some firmware, i have tried several things and couldnt resolve the problem. I am unsure which firmware i actually need, or of something else has to be done.i´ll post the outputs of ifconfig, iwconfig and lspci and hope someone who could guess the problem or find the solution with it.
I have one headless squeeze and two notebooks (one squeeze, one lenny).
When I have X (on headless squeeze) on lenny notebook, it is unacceptably slow. Something like it takes 3-10 seconds to redraw window (acroread, iceweasel, possibly xterm.)
It is not so slow when I use squeeze notebook. Yesterday, I upgraded lenny one to squeeze. Then, it is not slow any more!
Since a recent update on Stretch, I have been unable to use the network-manager to connect to my home wireless network on my laptop. It was working fine before. I did not change any settings on the WLAN router. I can still connect to other wireless networks at work and university, just not this particular one at home. All other non-Debian devices in my household are still able to connect just fine.While figuring this out, I have tried connecting manualy with ifup but I don't really know how that works. Right now there is only the loopback entry in /etc/network/interfaces.
Below is the output of syslog, when gnomes network-manager is trying to connect, but fails. Code: Select allJul 19 20:01:57 debian NetworkManager[6705]: <info>Â (wlan0): Activation: starting connection 'Affenbande' Jul 19 20:01:57 debian NetworkManager[6705]: <info>Â (wlan0): Activation: Stage 1 of 5 (Device Prepare) scheduled... Jul 19 20:01:57 debian NetworkManager[6705]: <info>Â (wlan0): Activation: Stage 1 of 5 (Device Prepare) started...
My version of Squeeze was about half a year old when I updated/upgraded it just now. As part of the (longish) process I was advised to run apt-get autoremove, which removed what looked like a stunning amount of material. As another part I noticed a huge number of error messages about nonexistent locale files (I think) whizzing by.
Well, the result has various cosmetic changes and no doubt fewer bugs, but it doesn't have WLAN. I used to see an icon at the top right like two tadpoles chasing each other, turning into a set of green (if I was lucky) or grey (if not) bars. No longer. No tadpoles, no bars, no error message, nothing.
This very recent thread ("Just isntall debian 6.0, wired networking ok but no wireless") looks helpful. However, I don't know what WLAN hardware I've got or how to get a text dump of this kind of thing. 4D696B65 kindly points the person who asked to wiki.debian.org/ipw2200. I don't know whether I have any of these "Intel PRO/Wireless 2100, 2200 and 2915 devices" but I'm encouraged to read there that [the file] is now also available in the nonfree-firmware tarball which we build regularly on cdimage.debian.org. Supply this blob on a CD/floppy/USB drive etc. and d-i will do the right thing. I don't know what either "blob" or "d-i" means, but I was rather hoping that some software or other would look at the hardware, look at the available firmware, and install accordingly (as happened months ago). So got the (small) file; I opened it up; I copied the contents to a CD (even though it's not an ISO). But apt-cdrom add is not interested.
My net-book is working properly with Debian squeeze 2-6-32-5-686, only the wlan does not work. After typing lsusb I have got the message: lsusb : Bus 002 Device 002 : ID 160a:3184 VIA Technologies, Inc. VIA VNT-6656 [WiFi 802.11b/g USB Dongle]
So I obtained the driver package : VT6656_Linux_src_v1.19_12_x86. I followed the instructions ( make install... ) - but the result is only a lot of error messages. Mayby I am using the wrong driver package for the squeeze kernel - I don't know.
I installed squeeze and followed the instructions concerning b43-fwcutter and obtained firmware for my broadcom wlan interface. So my wlan worked for a while, but it just ceased functioning, for no obvious reason.
i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi
apt has enabled php automatically, so /etc/apache2/mods-enabled/php5.conf does have inside: <ifmodule mod_php5.c> AddType application/x-httpd-php .php .phtml .php3 AddType application/x-httpd-php-source .phps </ifmodule>
I have added a 10 Mbps network card to my SGI O2 MIPS workstation running Debian Lenny running the 26-2 kernel. The workstation already has an onboard NIC which is working fine.(eth0).
lspci -v shows ths card as:-00:03.0 Ethernet controller: Compex ReadyLink 2000 (rev 0a) Flags: medium devsel, IRQ 18 I/O ports at 1800 [disabled] [size=32] Upon googling I found out that this card is an NE2000 clone. I downloaded the latest 2.6.36 kernel sources and did the following:-
1. Make Menuconfig 2. Loaded an alternate kernel config file (my working kernel config file) 3. In DeviceDrivers->Network device support->Ethernet (10 or 100 Mbit)
I selected ASIX AX88796 as the help associated with this showed it as an NE 2000 clone. configured it to be a module and did make, make_modules and make_install. Edited /etc/Modules to load ax88796 and added an alias eth1 ax88796 to this file. copied the new kernel to the /boot and did a reboot, the machine booted up fine and udev -r showed the 2.6.36 kernel and lsmod showed ax88796 loaded. But, Iam not able to bring up eth1 using:-
ifup eth1 The error messages given are:- SIOCSIFADDR: No such device eth1: ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device
i am trying to get a pxe server working on a debian so other clients can boot off it. the problem has two parts.
1. getting the pxe working. so far the tftp part doesnt work. the client says tftp error. so i guess the dhcp portion is working, but theres something wrong with the /var/lib/tftpboot or the deamon config itself. 2. the other issue is that in the shop many system's have non-working disk drives. also many of them do not have a usb boot option in the bios. all i need to do is get the "bare" kernel file or grub(?) to boot over pxe and give me the ability to boot from a usb flash drive and load the rest of the linux files from there. my primary intention is NOT netinstall. although it wouldnt hurt. my intention is running a linux live usb on systems without bios usb boot support. ive read somewhere that a full pxe live boot requires nfs setup. i am asking for that, just so i can boot from a flash drive.
Linux ulet 2.6.26-2-686-bigmem #1 SMP Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux
In order to get a newer kernel that would recognize a linksys usb wifi adapter I got the advice to upgrade to a newer kernel - 2.6.30 or newer. Which I am able to get from backports.
But when I try with .30 or .32 my machine will not boot. I do have a raid, but it is only used for data files - I do not boot from it or have any system files on it.
First I get this error:
I have not resumed the machine so I have no idea what is going on. So I press ENTER:
I managed to break my video4linux module rendering all my video devices useless, can anyone tell me how to reinstall it as per the the one on Lenny. I'm looking for the original one and not v4l2.
2.6.26-2-686 I have a presentation to do tonight and need it working for that.
Can Debian act as a Windows Domain Controller? I'm just curious because my boss recently tossed out some old servers and I grabbed them. They're good machines but I can't afford to pay $1000 for Server 2003 R2 just to setup a domain at my place and run Endpoint Protection and such. I've never used a domain setup in Linux before so I thought I'd ask and possibly try to, if Debian/Linux is capable of such a thing.
I have problem with installing Deluge. I did not find any manual how to install Deluge. And I wanna install deluge newest version, and that is on Debian testing packages. So how can I install Deluge from debian testing packages. I read a little bit Deluge forum and there I see, there is lot of problems with Deluge on Debian Lenny. And all I need is use Deluge from web interfaces, thats all. How could I set it up?
I've been trying to configure Postgresql in Debian for some time now, in order to install a ERP program in my computer, but when trying to follow the tutorial for the program configuration I end up stalled. Basically its says this:
1) under su, start by finding the postgresql.conf file (it points the location of the file in /var/lib/postgres/data, but it isn't there) and find the line saying 'tcpip_socket' and changing it to "true"
After a little search and help, I found this file in /etc/postgresql/<version>/main/ but the mentioned line is absent, locate it or tell me where to add it in the file? I've read the file front to back and I'm pretty sure the line isn't there.This is, according to the tutorial, to enable the server to connect to a Java program through the JDBC.
2) after editing postgresql.conf, edit pg_hba.conf and add the following line to the end of the file: host all all 127.0.0.1 255.255.255.255 trust
I get stuck after this, because I'm now supposed to restart the server by using '/etc/init.d/postgresql restart', but bash replies that the path is invalid. The program I'm trying to install is hosted here: [URL]. It's a portuguese ERP program.
Why is my Xen server (An up-to-date Lenny box) making Xen DomUs as Etch boxes? I run a command such as:
[Code]...
This is 100% replicable. I certainly never asked it to create an Etch VM! I cannot find anything in the docs to change this. And for the record, I did let it finish creating it, and it most definitely made an Etch box.
I've got Lenny installed with the desktop environment included. Remote desktop has been activated and I can see Lenny's desktop on a second computer using VNC. When I disconnect the monitor from the first PC which is running on Lenny and start that one up it won't boot all the way and I cannot connect through VNC (connection refused).
Etch has no problem with that. When I connect a monitor to the stalling Lenny I read: Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?
What can I do to establish a full boot on Lenny so I can use VNC the way Etch (and other distros) allows me to? This has something to do with the autodetect system, I suppose. Could I tell X Server to ignore the fact no monitor is connected or could I fool X Server into believing there is a monitor?
I am using Lenny kernel version 2.6.26-2-686.I am trying to install some drivers and they need kernel source. I installed kernel source through Synaptic, but the driver installer doesn't find it at the place it expects.
1) Where does Lenny keep the kernel source? 2) Are the kernel sources from Debian and www.kernel.org the same? 3) If I want to download the kernel source manually, where do I get it from?
however I am not looking to dist-upgrade, I merely want one package from Sid on my Lenny server. Namely, mantis (version 1.1.8 is in sid, 1.1.6 in main/stable)
I tried recompiling a new kernel yesterday (2.6.34) on my debian sarge box, but I ran into multiple difficulties. These difficulties forced me to do a double dist-upgrade to lenny. The new kernel was (seemingly) compiled without any hiccups, and I ran dpkg -i on both the image and the header debs. They didn't install properly into grub, but I think I managed to fix that manually.Next thing I did was rebooting the server. It refused to come back up. Luckily my ISP has recovery tools, so I managed to switch back to the old kernel. It boots just fine with that kernel, but the problem is that there is no ssh daemon running! I can access it through ftp and do limited jobs through php, but nothing big, as I have no root access.Now, enough backstory. My question is: How can I install openssh-server onto the server remotely? I cannot access the server personally, as the server is in a completely different country.
I'm using Debian Lenny, the only problem that I have is that the sound card isn't recognize by the system, I have installed ALSA 1.0.20 and I followed several tutorials trying to enable my sound card (ATI tech Azalia (Intel HDA)but all tries fail.
So, after install another distro -debian based- in the same pc I figured out that the sound card is enable and running by default, the ALSA version is the same -1.0.20- but the kernel is different -2.6.31.xx- so my questions are:
1. do you recommend me to upgrade my lenny's kernel to fix the problem?
2. is there a way to upgrade specific packages -for example samba, alsa, kernel- using unstable or testing versions instead of upgrade the entire distro? actually I'm confortable with lenny
3. what configuration should I check in the "other" distro to use that parameters in lenny?
I just did a regular install of debian lenny on a stand-alone machine. Now I want to add some new mp3-software. Debian doesn't like it if I install as root. A regular gets other negative results:
wlff@debian:~/My_Apps/mpg321-0.2.12-1$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... no checking for gawk... (cached) mawk checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. wlff@debian:~/My_Apps/mpg321-0.2.12-1$
I did find the GNU-compiler in /usr/lib/gcc. So what could be wrong with gcc, and what about gawk, cc and cl?
I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases
# These are the standard aliases for devices and kernel drivers. # This file does not need to be modified. # # Please file a bug against module-init-tools if a package needs a entry # in this file.
[Code]....
alias ipv6 offbut howto check after restart if ipv6 was loaded or not?
Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?
Basically, I have no trouble booting off a really old kernel like 2.6.18-6. If I try to boot off the newest one installed with Lenny, I get errors such as "mounting /dev/ on /root/dev failed...ditto for /sys on /root/sys" almost as if it's failing to find the drive. This finishes up with "target filesystem doesn't have /sbin/init" and I'm dropped into a busybox shell.It's an ordinary SATA drive, which is being used as an OS drive only. It seems as if something has changed with the newer kernel, but I have no idea where to start or what to look for.