A little wireless/ndiswrapper help

James Pifer jep at obrien-pifer.com
Mon Jul 18 17:26:31 UTC 2005


> Here is as simple as it gets. It's a list of commands that I use with
> Ndiswrapper:
> *****************************
> 
> Commands
> 
> make install
> 
> ndiswrapper -i filename.inf
> 
> (Installing my wifi drivers with each new kernel. Make sure you are
> in the directory where the drivers are located as root and you use
> the entire path to them.) 
> ndiswrapper -i /root/usr11gv40q/usr11g.inf
> 
> ndiswrapper -l
> 
> modprobe ndiswrapper
> 
> iwconfig
> 
> iwlist wlan0 scan
> 
> (If you have a landline adapter, this will become eth1.)
> iwlist eth1 scan
> 
> iwconfig wlan0 essid "TA"
> 
> (Configuring my service at each loaction. In my case, it is usually
> TA or flyingj. I'm a truckdriver. If I go from a TA to another TA, I
> do not have to re-confiure it.) 
> iwconfig eth1 essid "TA"
> 
> (Editing my eth1 file.) 
> gedit /etc/sysconfig/network-scripts/ifcfg-eth1
> 
> dhclient wlan0 (Or eth1)
> 
> rpm -qa | grep kernal
> 
> ndiswrapper -e 
> 
> (With each new kernel) 
> make uninstal
> 
> (With each new kernel) 
> make distclean
> 
> (With each new kernel) 
> make
> 
> (With each new kernel) 
> make install
> 
> (List the installed drivers.) 
> ndiswrapper -l
> 
> (Uninstalling my drivers with each new kernel.) 
> ndiswrapper -e usr11g
> ------------------------------------------
> 
> Everything you need for Ndiswrapper is right there.
> 
> Lloyd Hayes
> 
> 
> Lloyd Hayes
> 

modprobe ndiswrapper
iwconfig wlan0 mode Managed
iwconfig wlan0 key my_128bit_key  #Tried key w/quotes too
iwconfig wlan0 essid "my_essid"
ifconfig wlan0 up

I can do:
iwlist wlan0 scan

I can see six cells, this one is mine:

          Cell 02 - Address: 00:0D:88:8D:CD:01
                    ESSID:"my_essid"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:0/100  Signal level:-67 dBm  Noise
level:-256 dBm
                    Encryption key:on
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Bit Rate:6 Mb/s
                    Bit Rate:12 Mb/s
                    Bit Rate:24 Mb/s
                    Bit Rate:36 Mb/s
                    Bit Rate:9 Mb/s
                    Bit Rate:18 Mb/s
                    Bit Rate:48 Mb/s
                    Bit Rate:54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0

I do have a 10/100 eth0, but I never get an eth1, just wlan0. I do not
have anything for eth1 in /etc/sysconfig/network-scripts. Should I
expect to see eth1?

ifconfig gives me:
eth0      Link encap:Ethernet  HWaddr 00:0F:B0:0C:B8:FB
          inet addr:192.168.1.24  Bcast:192.168.1.255 
Mask:255.255.255.0
          inet6 addr: fe80::20f:b0ff:fe0c:b8fb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36584905 errors:2 dropped:12 overruns:2 frame:0
          TX packets:21809282 errors:0 dropped:0 overruns:3 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1748449071 (1.6 GiB)  TX bytes:1781615622 (1.6 GiB)
          Interrupt:185 Base address:0xa000

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:1736 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1736 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1670743 (1.5 MiB)  TX bytes:1670743 (1.5 MiB)

wlan0     Link encap:Ethernet  HWaddr 00:90:4B:5F:BE:D2
          inet6 addr: fe80::290:4bff:fe5f:bed2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Memory:d0204000-d0205fff

Thanks,
James




More information about the fedora-list mailing list