[SATLUG] Wireless Driver Installation

Andrew Pickens wg5o at sbcglobal.net
Fri Jul 18 17:26:48 CDT 2008


"Skip down, as we are going to focus on the ndiswrapper config, as the
`ndiswrapper -l` output looks promising."

Good.  This matches the current WiFi card.

"Ok.  Looking back at previous correspondence, it looks like ndiswrapper is
correctly enabled with the appropriate driver.  So let's do this (as root):

`ndiswrapper -l`
`depmod -a` to save the module dependancies
`modprobe -r ndiswrapper` unload the driver, just to be sure that we are
loading right
`modprobe ndiswrapper` seems that all the documentation indicates that this
command is required after verifying the driver with `ndiswrapper -l`
`tail -n20 /var/log/messages` to get the messages related to the
loading/unloading of the driver
`iwconfig;ifconfig`"

Here it is, but no wlan0, yet:

andy at izzy:~$ sudo ndiswrapper -l
[sudo] password for andy: 
mrv8335 : driver installed
	device (11AB:1FAA) present
net8185 : driver installed
andy at izzy:~$ depmod -a
FATAL: Could not open /lib/modules/2.6.24-19-generic/modules.dep.temp for writing: Permission denied
andy at izzy:~$ sudo depmod -a
andy at izzy:~$ sudo modprobe -r ndiswrapper
andy at izzy:~$ sudo modprobe ndiswrapper
andy at izzy:~$ sudo tail -n20 /var/log/messages
Jul 18 16:09:51 izzy dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.nis_servers
Jul 18 16:09:51 izzy dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.interface_mtu
Jul 18 16:09:51 izzy kernel: [  208.462486] hda-intel: Invalid position buffer, using LPIB read method instead.
Jul 18 16:09:53 izzy kernel: [  209.832673] NET: Registered protocol family 10
Jul 18 16:09:53 izzy kernel: [  209.832885] lo: Disabled Privacy Extensions
Jul 18 16:09:53 izzy kernel: [  209.833401] ADDRCONF(NETDEV_UP): eth1: link is not ready
Jul 18 16:11:55 izzy pulseaudio[7480]: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
Jul 18 16:11:55 izzy pulseaudio[7480]: alsa-util.c: Unable to load mixer: No such file or directory
Jul 18 16:11:55 izzy pulseaudio[7480]: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
Jul 18 16:11:55 izzy pulseaudio[7480]: alsa-util.c: Unable to load mixer: No such file or directory
Jul 18 16:15:03 izzy kernel: [  520.116499] usblp0: removed
Jul 18 16:15:03 izzy kernel: [  520.411711] audit(1216415703.961:3): type=1503 operation="inode_permission" requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=7678 profile="/usr/sbin/cupsd" namespace="default"
Jul 18 16:29:43 izzy -- MARK --
Jul 18 16:49:43 izzy -- MARK --
Jul 18 17:05:20 izzy kernel: [ 3532.803474] audit(1216418720.121:4): type=1503 operation="inode_permission" requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=14194 profile="/usr/sbin/cupsd" namespace="default"
Jul 18 17:14:07 izzy kernel: [ 4059.466396] usbcore: deregistering interface driver ndiswrapper
Jul 18 17:14:07 izzy kernel: [ 4059.468389] ndiswrapper (ntoskernel_exit:2708): object ffff810039c65230(2) was not freed, freeing it now
Jul 18 17:15:27 izzy kernel: [ 4139.773084] ndiswrapper version 1.52 loaded (smp=yes, preempt=no)
Jul 18 17:15:27 izzy loadndisdriver: loadndisdriver: load_driver(358): couldn't load driver mrv8335 
Jul 18 17:15:27 izzy kernel: [ 4139.874982] usbcore: registered new interface driver ndiswrapper
andy at izzy:~$ sudo iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

andy at izzy:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1a:92:19:70:1a  
          inet addr:172.16.1.35  Bcast:172.16.255.255  Mask:255.255.0.0
          inet6 addr: fe80::21a:92ff:fe19:701a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2246 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1836 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1883124 (1.7 MB)  TX bytes:280700 (274.1 KB)
          Interrupt:23 Base address:0xc800 

eth1      Link encap:Ethernet  HWaddr 00:60:6e:75:c5:2b  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 Base address:0xe800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1312 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1312 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:86555 (84.5 KB)  TX bytes:86555 (84.5 KB)

andy at izzy:~$

Thanks, Andy Pickens



John Pappas wrote:
> On Fri, Jul 18, 2008 at 11:15, Andrew Pickens <wg5o at sbcglobal.net> wrote:
>
>   
>> "I don't have an ubuntu box running, but I think that if you install via
>> Synaptic the following packages (You may have to search for keywords as
>> well):
>> "kernel-devel & module-assistant"
>>
>> Done.  No problem; same names.
>>
>>     
>
> IIRC m-a (run as root - `sudo -s`) has an option to "prepare" or something
> like that.  Let's focus on the ndiswrapper config for now.  I will assume
> that you will be working as root from here on, just to be sure that things
> that I want to do have proper permission.
>
> "You should probably not be working in /etc/network, but rather in a proper
>   
>> working directory (ie /home/andy/rtl8185_linux_26.1010.0531.2006/)  Anyway,
>> installing kernel-devel and module-assistant will get us closer to proper
>> compilation."
>>
>> I tried again.  Here is the whole thing, as requested:
>>
>>     
>
> My research indicates that you should run the compilation as root, not sure
> why.  See <
> http://forums.opensuse.org/archives/sf-archives/network-internet/wireless-networking/325671-realtek-8185-wireless.html>
>
>
> Skip down, as we are going to focus on the ndiswrapper config, as the
> `ndiswrapper -l` output looks promising.
>
> <<SNIP>>
>
> Re 'lspci -knn':
>   
>> Here it is:
>>
>> andy at izzy:/home$ lspci -nn
>> 00:00.6 Host bridge [0600]: VIA Technologies, Inc. Unknown device
>> [1106:6290]
>> 00:12.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6102
>> [Rhine-II] [1106:3065] (rev 7c)
>> 05:06.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88w8335
>> [Libertas] 802.11b/g Wireless [11ab:1faa] (rev 03)
>>  05:07.0 Ethernet controller [0200]: Davicom Semiconductor, Inc. 21x4x
>> DEC-Tulip compatible 10/100 Ethernet [1282:9102] (rev 40)
>>
>>     
>
> Ok.  Looking back at previous correspondence, it looks like ndiswrapper is
> correctly enabled with the appropriate driver.  So let's do this (as root):
>
> `ndiswrapper -l`
> `depmod -a` to save the module dependancies
> `modprobe -r ndiswrapper` unload the driver, just to be sure that we are
> loading right
> `modprobe ndiswrapper` seems that all the documentation indicates that this
> command is required after verifying the driver with `ndiswrapper -l`
> `tail -n20 /var/log/messages` to get the messages related to the
> loading/unloading of the driver
> `iwconfig;ifconfig`
>
> Assuming that we can see wlan0, we need to run `ndiswrapper -m` to save the
> configuration to modprobe.d
>
> Let's see where that gets us.
>
>
>   
>> We never had a working configuration (except in Windows).  What I had was a
>> recognized wireless interface that couldn't send and receive ... or maybe it
>> just couldn't receive.
>>     
>
>
> Understand.  We'll get'er done.
>
> Sorry for this mess.
>
>
> Not your fault.  Reference previous rants. ;)
>
> jp
>   


More information about the SATLUG mailing list