|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Wireless Questions about wireless networking setup, use, and wireless specific applications |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||||
|
I have installed openSUSE 11.0 on my desktop computer, but I'm struggling with my wireless configuration. I'm relatively new to Linux and I would appreciate some expert help.
My hardware description: Quote:
The following packages are installed on my system: Quote:
By the way, ndiswrapper-kmp-pae and ndiswrapper-kmp-xen packages are not installed. I suppose it is not required since Quote:
Quote:
Quote:
I have installed my Windows XP wireless driver that came with my hardware. (I'm using this driver in Windows XP with this very same hardware and it works fine.) These are my Linux installation procedure steps: Quote:
I have removed the driver using ndiswrapper -r wlagsxp and repeated the procedure (several times). Each time the result is same, frozen terminal. However, after executing modprobe ndiswrapper the green led on the wireless adapter lights up. I don't know what to do next. Can someone give me a push in the right direction? Thanks in advance, Boris
__________________
openSUSE 11.0, GNOME HP Compaq NC6000, Intel Pentium M Processor 725, ATI Mobility Radeon 9600, Intel PRO 2200BG HP Compaq DC7100, Intel Pentium 4 Processor 521, Intel 915G Express, D-Link DWL-510 AirPlus G |
|
|||
|
blnl wrote:
> I do not understand what went wrong! After applying -modprobe > ndiswrapper- nothing happens and the terminal freezes. From now on > -ndiswrapper -l- also results in a frozen terminal, until the system is > rebooted. Any out-of-kernel driver can crash the system. You are getting the equivalent of a "Blue-Screen-of-Death", likely due to bugs in the Windows driver. See if you can find a later version for your hardware. Yes, it is possible for a buggy Windows driver to work perfectly well with Windows and crash miserably with ndiswrapper due to different memory layout, etc. For this reason, kernel developers refuse to work on bug reports as long as any module that "taints" the kernel has been loaded. Ndiswrapper is one such module. Larry |
|
|||
|
blnl wrote:
> Before I buy another wireless adapter, I would like to try something > else. I have found a utility called -driverloader- from Linuxant. It is > a compatibility-wrapper for standard Windows NDIS drivers. Maybe this > one works better than -ndiswrapper-. It may work, but I wouldn't hold out much promise. IIRC, Linuxants wrapper is mostly for modems. Certainly don't spend any money on that driver. You would be better off buying a compatible USB wireless device. Larry |
|
||||
|
Thanks for the advice!
In the meantime I have solved the problem, and I'm not using any windows drivers at all. To close this thread, I'll give some directions to other Linux users that are searching for such driver. The driver that worked for me is called orinoco_usb. It can be downloaded here: http://orinoco.svn.sourceforge.net/v...ar.gz?view=tar Detailed description of the installation steps can be found here: Lucid Tips » Wireless using W200 on openSUSE 11.0 Other useful links: The Linux ORiNOCO Driver Problem installing orinoco-0.15 driver. Help please!!! - Linux Forums
__________________
openSUSE 11.0, GNOME HP Compaq NC6000, Intel Pentium M Processor 725, ATI Mobility Radeon 9600, Intel PRO 2200BG HP Compaq DC7100, Intel Pentium 4 Processor 521, Intel 915G Express, D-Link DWL-510 AirPlus G |
|
||||
|
Unfortunately, I was not so lucky this time.
The wireless indeed works, but the system freezes after a few minutes. I believe this is related to the kernel configuration steps: Code:
$ cd /lib/modules/$(uname -r)/build/ $ su (root password) $ cp /boot/config-$(uname -r) .config $ make oldconfig $ make prepare Code:
$ cd /lib/modules/$(uname -r)/ $ rm build $ ln -s source build $ cd build/ $ su (root password) $ make mrproper $ make cloneconfig $ make prepare-all Important: You must change make prepare-all to make prepare scripts Or at least what is "make mrproper", "make cloneconfig", "make oldconfig" and "make prepare" doing? By the way, I have posted a detailed question about this problem also at www.linuxforums.org/forum/wireless-internet
__________________
openSUSE 11.0, GNOME HP Compaq NC6000, Intel Pentium M Processor 725, ATI Mobility Radeon 9600, Intel PRO 2200BG HP Compaq DC7100, Intel Pentium 4 Processor 521, Intel 915G Express, D-Link DWL-510 AirPlus G |
|
|||
|
blnl wrote:
> Unfortunately, I was not so lucky this time. > > The wireless indeed works, but the system freezes after a few minutes. > I believe this is related to the kernel configuration steps: > > Code: > -------------------- > $ cd /lib/modules/$(uname -r)/build/ > $ su > (root password) > $ cp /boot/config-$(uname -r) .config > $ make oldconfig > $ make prepare > -------------------- > > > There is also another procedure suggested at: 'Linux driver for > Lucent/Agere ORiNOCO USB devices' > (http://folk.uio.no/oeysteio/orinoco-usb/building.html) > > Code: > -------------------- > $ cd /lib/modules/$(uname -r)/ > $ rm build > $ ln -s source build > $ cd build/ > $ su > (root password) > $ make mrproper > $ make cloneconfig > $ make prepare-all > > Important: You must change > > make prepare-all > > to > > make prepare scripts > -------------------- > > > *Does anyone know what is the essential difference between these two > procedures? > *Or at least what is -"make mrproper", "make cloneconfig", > "make oldconfig"- and -"make prepare"- doing? The actions are as follows: make mrproper - clean up the source directories and delete all generated files including .config make cloneconfig - prepare the configuration file (.config) to match the running kernel. This does not work on all configurations. make oldconfig - Starting with the current version of .config, update for any new or missing options found in the kernel source tree. make prepare- This prepares all the "global" files. Nore: just running "make" will do the "make prepare" and "make oldconfig" steps before starting the build. What driver did you build? Did you install the new module? If not, then any cofigure and/or make steps are irrelevant and have nothing to do with your freezes. Larry |
|
||||
|
Hi Larry,
Thank you for the explanation. I'm trying to build the orinoco_usb driver. The tarball with the source code is downloaded at http://orinoco.svn.sourceforge.net/viewvc/orinoco.tar.gz and I found the instructions how to build the driver here: Lucid Tips » Wireless using W200 on openSUSE 11.0 but also here: Linux driver for Lucent/Agere ORiNOCO USB devices I'm surprised to see that these procedures are different. So, probably I have to find out what is the correct procedure for my system. I'm sure that the system freeze is related to the wireless driver installation, because I always start from fresh openSUSE installation. Also I do not install any other software or drivers, only the orinoco_usb driver. I feel that I'm almost there, because the wireless works (I browsed once for almost 5 minutes on the web). When I prevent wireless from connecting (for example by not entering the keyring password) system does not freeze. There must be a solution here. Only I have to find out which module/action triggers the freeze. Where should I look to diagnose the problem? Is there some kind of log for system crashes?
__________________
openSUSE 11.0, GNOME HP Compaq NC6000, Intel Pentium M Processor 725, ATI Mobility Radeon 9600, Intel PRO 2200BG HP Compaq DC7100, Intel Pentium 4 Processor 521, Intel 915G Express, D-Link DWL-510 AirPlus G |
|
|||
|
blnl wrote:
> > Where should I look to diagnose the problem? > Is there some kind of log for system crashes? There are two logs available. The first is a running log for the current boot that you see with the 'dmesg' command. A second log is stored in the file /var/log/messages. You examine the latter one with 'sudo less /var/log/messages'. One problem with a system freeze is that the log may not get updated; however, if you are lucky, the freeze may be associated with an error that is secondary and the primary one may be logged. Larry |
|
||||
|
In dmesg I don't see anything strange. dmesg_output.log
However, in /var/log/messages there is something logged log_messages.log (please don't mind the dates, it is not set correctly) I notice the following pattern Code:
Jun 12 11:58:35 linux-396d avahi-daemon[2305]: Registering new address record for 10.0.0.252 on eth1.IPv4. Jun 12 11:58:35 linux-396d dhclient: bound to 10.0.0.252 -- renewal in 1584 seconds. Jun 12 11:58:36 linux-396d nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/autofs' exited with error status 1. Jun 12 11:58:36 linux-396d if-up.d/21-dhcpcd-hook-samba: No dhcpcd info nor dhclient leases file found for eth1. Jun 12 11:58:37 linux-396d kernel: eth1: no IPv6 routers present Jun 12 11:58:37 linux-396d SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... Jun 12 11:58:37 linux-396d SuSEfirewall2: using default zone 'ext' for interface eth0 Jun 12 11:58:37 linux-396d SuSEfirewall2: batch committing... Jun 12 11:58:37 linux-396d SuSEfirewall2: Firewall rules successfully set Jun 12 11:58:37 linux-396d nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/nfs' exited with error status 2. Jun 12 11:58:38 linux-396d nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/smbfs' exited with error status 6. Code:
Jun 12 12:03:34 linux-396d syslog-ng[1713]: syslog-ng version 1.6.12 starting I believe that nm-dispatcher.action's are probably causing the problem (or somehow related to the problem). Do you know what's the meaning of these nm-dispatcher.action errors?
__________________
openSUSE 11.0, GNOME HP Compaq NC6000, Intel Pentium M Processor 725, ATI Mobility Radeon 9600, Intel PRO 2200BG HP Compaq DC7100, Intel Pentium 4 Processor 521, Intel 915G Express, D-Link DWL-510 AirPlus G |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|