LinHES Forums
http://forum.linhes.org/

Ndiswrapper error R5D1
http://forum.linhes.org/viewtopic.php?f=2&t=11461
Page 1 of 1

Author:  jbman [ Tue Sep 05, 2006 10:31 pm ]
Post subject:  Ndiswrapper error R5D1

This week I have been trying to update my system to R5D1

for my wifi card I use ndiswrapper so i can access WPA on my router.

previous versions of knoppmyth it has worked fine, R5C7 just worked after installing the driver (Ndiswrapper 1.13 included in R5C7).

On an upgrade to R5D1 i get the following error no matter what version of ndiswrapper I use.

if i type ndiswrapper -l (with or without any drivers installed) I get the following errors

unknown line at line xxxx (xxxx being 5000 and something )

his repeats for about 6 lines.

now i think this is where the problem is since its causing the ndiswrapper not to load properly. it will work fine with wep but if i try wpa with wpasupplicant i cant get it to work since there is a problem with the driver.

can someone else please run this command as root and see what they get

ndiswrapper -l (on version R5D1) and see if they get the errors. it won't load any drivers and make any changes it should just come back saying no drivers loaded.

thanks for your help

Author:  tkoster [ Thu Sep 07, 2006 6:23 am ]
Post subject: 

For what its worth, I get 11 lines of the same message before the no cards listed. Lines 5942-5953.

Author:  jbman [ Thu Sep 07, 2006 6:34 am ]
Post subject: 

thanks for that, thats the error i am talking about.

i have no idea what those lines are, since no matter what version i try of ndiswrapper i get that error.

Author:  psicard [ Sun Sep 17, 2006 4:26 pm ]
Post subject: 

I had the same problems/errors. So, I downloaded the latest ndiswrapper (1.23) on another machine, sneaker-netted it over to my myth box, installed it and things are working fine.

Paul

EDIT: Oops - I spoke too soon. I'm getting those same errors, but ndiswrapper 1.23 is working properly other than that (so far) and I was able to modprobe it.

Author:  Kamy [ Fri Sep 29, 2006 6:32 am ]
Post subject: 

psicard wrote:
I had the same problems/errors. So, I downloaded the latest ndiswrapper (1.23) on another machine, sneaker-netted it over to my myth box, installed it and things are working fine.

Paul

EDIT: Oops - I spoke too soon. I'm getting those same errors, but ndiswrapper 1.23 is working properly other than that (so far) and I was able to modprobe it.


I've downloaded ndiswrapper 1.23 and burned it to a cd to give this a try. Can anybody help walk me through installing this tarball?

I'm still a linux noob :? and am not real comfortable with extracting and compiling this.

Thanks!

Author:  jbman [ Fri Sep 29, 2006 8:59 am ]
Post subject: 

ok what are you trying to do reinstall ndiswrapper? You shouldn't need to but if you do following this post

http://mysettopbox.tv/phpBB2/viewtopic.php?t=9513

just use your version instead.

Author:  Kamy [ Fri Sep 29, 2006 10:50 am ]
Post subject: 

jbman wrote:
ok what are you trying to do reinstall ndiswrapper? You shouldn't need to but if you do following this post

http://mysettopbox.tv/phpBB2/viewtopic.php?t=9513

just use your version instead.


Thanks much, that did the trick (eventually, it was still a struggle, I'm such a noob).

I updated it because ndiswrapper under R5D1 wouldn't modprobe, so I couldn't connect to my network.

Under nidswrapper 1.23, I still get those line errors when doing ndiswrapper -l but at least I can modprobe and connect to my network now.

Thanks!
Kamy

Author:  Kamy [ Fri Sep 29, 2006 9:46 pm ]
Post subject: 

Hi again,

Okay, with a fresh install of R5D1, I tried to install my wireless NIC driver using ndiswrapper.

ndiswrapper -l returns this after installing the driver. (it returns the same "Unknown line at line xxxx" even without the bcmwl5 driver being installed)

Code:
root@mythtv:~# ndiswrapper -l
Unknown line at line 5942
Unknown line at line 5943
Unknown line at line 5944
Unknown line at line 5945
Unknown line at line 5946
Unknown line at line 5947
Unknown line at line 5948
Unknown line at line 5949
Unknown line at line 5950
Unknown line at line 5951
Unknown line at line 5952
Unknown line at line 5953
Installed drivers:
bcmwl5          driver installed, hardware present
root@mythtv:~#



So the driver seemed to install correctly despite the above errors, however, when attempting to modprobe a whole host of errors came up (I wasn't puttied in then so couldn't copy the errors unfortunately), the end result being no network connection.

Based on psicard's post I went and uninstalled ndiswrapper and installed the latest stable version (1.23) with help from this post.

http://mysettopbox.tv/phpBB2/viewtopic.php?t=9513


Now I've got a network connection (ndiswrapper -l still shows the above error) I'm able to modprobe but on every reboot I have to

Code:
ndiswrapper -m
modprobe ndiswrapper
netcardconfig


in order to get my network connection back up.

iwconfig returns this, the warning probably being related to the new ndiswrapper?
Code:
root@mythtv:~# iwconfig
lo        no wireless extensions.

sit0      no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

wlan0     IEEE 802.11g  ESSID:"kamysek"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:16:B6:38:37:12
          Bit Rate:48 Mb/s   Tx-Power:13 dBm
          RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-52 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@mythtv:~#


How can I get knoppmyth to save the settings for my network configuration, so I don't have to modprobe and run netcardconfig on every boot?

Thanks!
Kamy

Author:  jbman [ Sat Sep 30, 2006 4:22 am ]
Post subject: 

edit your /etc/modules file and add ndiswrapper to it. run update-modules after that so it runs on next boot.

Edit you /etc/network/interfaces file with the settings you want for your network card

Author:  Kamy [ Sat Sep 30, 2006 8:33 am ]
Post subject: 

jbman wrote:
edit your /etc/modules file and add ndiswrapper to it. run update-modules after that so it runs on next boot.

Edit you /etc/network/interfaces file with the settings you want for your network card


That did it! :D

I only had to edit /etc/modules and run update-modules as my /etc/network/interfaces file already specified
Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo wlan0
iface lo inet loopback




iface wlan0 inet dhcp

I don't need to enable wep or have a static ip right now so that's fine. Now I know where to enter that information if I need it in the future.

Thanks much jbman!

Author:  jbman [ Sun Oct 01, 2006 3:35 am ]
Post subject: 

no worries, i have done a bit of work with wifi so i am more than happy to share what i know :)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/