LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 02-19-2007, 12:56 PM   #1
Confusedguy
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Wireless ethernet card problem: Ndiswrapper installs driver OK, but no internet


Please advise what might be the problem with my setup. My distro is DamnSmallLinux (DSL). I have an SMC2835W-V3 wireless card. This card does not support PRISM so I'm using the WinXP driver, under Ndiswrapper. It's definitely the right driver for this card.

Ndiswrapper reports that the driver is installed and the hardware is present, and Ndiswrapper is enabled with modprobe. However, there is no connection to my home LAN ethernet router, which should assign an IP address automatically by DHCP. Using the DSLpanel (a control/config utility under DSL), all attempts to obtain an IP address by DHCP fail. IWconfig also fails.

Naturally, I can't ping anything at all ("ping: sendto: Network is unreachable"). I can't login to my router either ("route: SIOC[ADD|DEL]RT: Network is unreachable").

Here's another odd thing. When I type "ifconfig" I only get the "lo" local loopback entry. However, if I type "ifconfig eth0" I get:

eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx: (numbers I replaced by 'x')
BROADCAST 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)
Interrupt:11

And if I type: ifup eth0, I get "ifup: ignoring unknown interface eth0"

If I type: iwconfig eth0, I get:

eth0 NOT READY! ESSID : off/any
Mode:Managed Channel:6 Access point:00:00:00:00:00:00
Tx-power=31 dBm Sensitivity=0/200
Retry min limit:0 RTS thr=0 B Fragment thr=0 B
Encryption key : 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

I believe something is seriously wrong, because this should be working. Thanks for any advice.

Last edited by Confusedguy; 02-19-2007 at 01:04 PM.
 
Old 02-20-2007, 08:14 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Welcome to LQ!

Your iwconfig output suggests that you haven't configured the card. You need to enter the SSID and any encryption key. Have you entered that information anywhere else? If not, try this experiment. Turn off any encryption that the access point is using (this is just temporary until we figure out how your card is functioning). Also turn on SSID broadcast if it is turned off. Then on your computer set the SSID:

iwconfig eth0 essid YourSSID

You should see that set in the output of iwconfig and the Access Point field should then have a MAC address displayed. Once that is set, then run ifup eth0 and see what happens.
 
Old 02-21-2007, 10:40 AM   #3
Confusedguy
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, but unfortunately it didn't work. I did exactly as you suggested, but still there seems to be no association between AP and my wireless card. When I tried the iwconfig line you suggested, giving the name of my SSID, it failed again. The router and my laptop are barely 2 feet away from each other. Iwconfig still shouts that the card is "NOT READY!".
 
Old 02-21-2007, 11:09 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Try these steps, in order:

Bring the interface up: ifconfig eth0 up
Configure the wireless parameters: iwconfig eth0 essid xxx, etc.
Obtain an IP address: dhcpcd eth0 or dhclient eth0

Sometimes, especially with Prism cards, I've had to goose the interface first, then configure it.
 
Old 02-21-2007, 11:23 AM   #5
Confusedguy
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks 2GNU but as I explained I have already taken these steps. The responses to your steps are as below:

Quote:
Originally Posted by 2Gnu
ifconfig eth0 up
"SIOCSIFFLAGS: No such file or directory"

Quote:
iwconfig eth0 essid xxx
Seems to work, but then checking with "iwconfig" gives me the same "NOT READY" blurb.

Quote:
dhcpcd eth0 or dhclient eth0
"Netcardconfig" under DSLinux, gives the response:

"Sending DHCP broadcast from device eth0
Operation failed.
Failed."
 
Old 02-21-2007, 11:31 AM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
OK, I didn't see "ifconfig eth0 up" explicitly mentioned in your post.

The errors indicate no module - something went wrong in the process of compiling, installing or loading ndiswrapper or the driver isn't correct.

I'd retry the install, verifying the driver against the ndiswrapper wiki. Alternatively, the native Prism54 might be an option: http://www.linuxquestions.org/questi...d.php?t=334259
 
Old 02-24-2007, 07:50 PM   #7
Confusedguy
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
OK, I finally figured it out and fixed it.

I thought it was necessary to recompile the kernel and enable wireless extensions, but this turned out not to be necessary (luckily for me).

The problem is with this specific card. Apparently there are 3 versions of the card floating around, and Linux can detect it wrongly and when it does it tries to load it with isl3890. The solution is to rmmod the prism54 and firmware_class, and then ndiswrapper the XP driver for the card, and then modprobe the ndiswrapper. Then wireless config is very straightforward.

Thanks for your time to those who replied.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5...1.2174 installs the bcm43xx driver, replacing ndiswrapper PTrenholme Fedora 2 08-14-2006 05:49 PM
Help Installing Ndiswrapper for Wireless card Driver justvarshney Fedora 3 01-26-2006 01:41 AM
Problem w/connecting to internet through ethernet or wireless starchild321 Linux - Wireless Networking 2 09-27-2005 06:36 PM
Routing between a wired ethernet (internet connection) and a wireless card (home net) ner0 Linux - Wireless Networking 8 11-29-2004 02:12 AM
ndiswrapper problem for wireless card citrus Linux - Wireless Networking 3 04-20-2004 05:42 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration