LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless USB adapter working with Mndrv 2007 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-usb-adapter-working-with-mndrv-2007-a-502754/)

linuxgnube 11-18-2006 07:45 AM

Wireless USB adapter working with Mndrv 2007
 
For what is worth - I managed to get my wireless usb adapter (wusb54g
version 1) working consistently. I know there is probaby something more I
should do but since it is working for me I am not going to mess with it.
When I boot Mandriva 2007 free with the adapter connected I see "Null"
under "Other" in the Configure your Computer > Hardware > Look at and
configure your computer. I look under "Other" at the bottom of the list on
the right side and I see Null and my modem. End of story, can't get
wireless to connect.
However, if I disconnect the wireless adapter, boot up and then connect
it I now see a new entry in Configure your computer > hardware > look at and
configure your computer. There is a new entry for "Ethernetcard" with Null
in the list on the right side. Null is my wireless adapter.
I can then go back to "Network and Internet" and "Set up a new network
interface" using "Null" and installing it with ndiswrapper (that came with
2007 free) and driver wusb54g.
Here are notes and examples. Hope this helps someone who is having the
same prob.

1. Unplug wireless USB adapter

2. Boot up into Mandriva

3. Plug in wireless USB adapter

4. Open "Configure Your Computer" and select "Network and Internet"

5. Select "Set-up a new network interface"'

6. Select "Wireless"

7. Select "Null" and follow the prompts

8. Close after it tells you that you have been successful

9. Open a Konsole window and log-in as root

10. *Issue the command iwconfig and see what it tells you - should
show wireless USB adapter

11. Issue command ifup wlan0 and see what it sez

12. Issue command iwconfig wlan0 essid myrouter (replace myrouter
w/name of your router)

13. Give it a few minutes and you should be able to ping yahoo.com.



Here is some related info that might be helpful.



[root@localhost wesun]# ndiswrapper -l

Installed drivers:

wusb54g driver installed, hardware present

[root@localhost wesun]#



* [root@localhost ~]# iwconfig

lo no wireless extensions.



sit0 no wireless extensions.



wlan0 IEEE 802.11g ESSID:off/any Nickname:"localhost"

Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated

Bit Rate=2 Mb/s

RTS thr=2347 B Fragment thr=2346 B

Encryption key:--------------- Security mode:open

Power Management:off

Link Quality:0 Signal level:0 Noise level:0

Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

Tx excessive retries:0 Invalid misc:0 Missed beacon:0



Started the computer without the dongle plugged in; after booted up plugged
in wireless usb adapter

Looked at ndiswrapper -l and saw that it was present w/driver

Went to Configure Your Computer

Selected Wireless

Selected "Null" (saw this when I was looking at Hardware in Configure Your
Computer)

Selected use ndiswrapper with wusb54g driver

Wireless networks came up - selected my router

The program went through and told me wireless was setup.

Went to a konsole window and logged into su -

Issued commands as follows



Password:

[root@localhost ~]# ping yahoo.com

ping: unknown host yahoo.com



[root@localhost ~]# ifconfig

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:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)



wlan0 Link encap:Ethernet HWaddr 00:0F:66:70:FF:C0

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:2 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:168 (168.0 b)



[root@localhost ~]# ifup wlan0

Wireless device wlan0 is configured with a roaming daemon but isn't
associated



Determining IP information for wlan0... failed; no link present. Check
cable?



[root@localhost ~]# ifconfig wlan0 up

[root@localhost ~]# ifup wlan0

Wireless device wlan0 is configured with a roaming daemon but isn't
associated



[root@localhost ~]# iwconfig wlan0 essid myrouter



[root@localhost ~]# ping yahoo.com

PING yahoo.com (216.109.112.135) 56(84) bytes of data.

64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=1 ttl=52
time=12.3 ms

64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=2 ttl=52
time=11.1 ms

64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=3 ttl=52
time=12.8 ms

64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=4 ttl=52
time=10.6 ms

64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=5 ttl=52
time=10.4 ms



--- yahoo.com ping statistics ---

5 packets transmitted, 5 received, 0% packet loss, time 4018ms

rtt min/avg/max/mdev = 10.482/11.509/12.896/0.966 ms

[root@localhost ~]#





[root@localhost wesun]# iwconfig wlan0 essid myrouter

[root@localhost wesun]# iwconfig

lo no wireless extensions.



sit0 no wireless extensions.



wlan0 IEEE 802.11g ESSID:"canonball" Nickname:"localhost"

Mode:Managed Frequency:2.452 GHz Access Point: 00:0F:66:0B:BB:7D

Bit Rate=54 Mb/s

RTS thr=2347 B Fragment thr=2346 B

Encryption key:----------- Security mode:open

Power Management:off

Link Quality:0 Signal level:0 Noise level:0

Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

Tx excessive retries:0 Invalid misc:0 Missed beacon:0


[root@localhost wesun]#

good luck !

numa 11-25-2006 01:16 PM

Hi linuxgnube,

Thank you for this post and the other one but I cant reproduce the step 7 because I dont have the option NULL, the only option is to choose a new windows driver. Then I get the message that there is no device for this driver.

I am a bit stuck but I will carry on trying things.

Cheers.

Numa


All times are GMT -5. The time now is 08:07 PM.