Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The lsmod you show and iwconfig show there is no driver loaded, and can not be configured without the driver.
The new card, is it the same card as your original card? If you want to forge forward with it, would you post the model of card and 'lspci -vv' We need to know you are trying to load the correct driver.
I really appreciate any help yo can give here. This where Im at, using Puppy 2.14 and Netgear WG511T PCMCIA wirelless card. In Puppy I go to menue>setup>network wizzard, which brings up a scerrn to select my drivers. I select ndiswrapper and install the drivers off a floppy. I get a message saying "device 168:c0013 present", click ok and go toa screen that says ndiswrapper loaded sucessfully and in the bottom box under Interfaces it says : 1 active network interface" and there is a wlan0 buttom, click on that brings up another box with 4 buttons: Wireless,test wlan0,auto dhcp, static ip. Hitting the wireless give a no networks found message, test says unable to connect, I dont use auto so I skip that, static ip - I fill the setting out here and get a configeration sucessful. But cant get on the internet - if Im skipping somethting I cant figure out what it is. Im using a 2wire wireless router and have turned off all security features(for now). If it matters I have two 32 bit slots, top one is type II, bottom(where mycard is) is type II/II aka type IV and is zoom video enabled. My manual says thats slot Zero.
Thanks fo any and all help
John
I have done some googling. First of all, the NetGear card you have appears to have an Antheros chip set. If that is the case, the code that detects devices, may be loading a driver for that card. This would explain why trying to use Ndiswrapper is failing. You can not load two drivers for the same device.
If at all possible you want to use the native driver, not a windows driver and ndiswrapper.
So far this is a theory on my part. There is a driver called MadWiFi that is available for any Antheros chip set cards you may have.
What I'm going to try and find out, is this card got an Antheros chip set. If yes, ditch ndiswrapper, modeprobe the driver, ( may have to install it first ) and get on with configuring it.
I really apprecieate all the help you have given so far.I know its asking alot. If I cant get this nework card working, then I'll guess I'll have to give up on Linux, which Im really starting to like. My Netgear card does have the Athoes(?) chip and I did see the Madwifi site last night, however Im an Linux idiot and even after reading the dummy pages I still cant figure out how to install it. Im having enough trouble just getting it on the computer in the first place. I'll see what else I can come up with.
Just so you guys know, Im not just asking and letting it go. I have been reading every piece of info I can find, to the point of my wife screaming at me for not helping around the house that past few days. There is just so much info out there and most of it is conflicting so Im dumbfounded.
Thanks
JOhn
I unloaded the ndiswrapper odule and found an antheros module and selected that. the configeratiion said sucessful and the lights o the pcmcia card are flashing green, additionally there are two small computer symbols in my "taskbar" and one is flashing green - this is the first time this has happened. I using the network setup everything went fine and said everything was sucessful, howeven Rutitl still shows me as disconnected - and doing a scan still shows no networks detected. There are at least 4 unsecure ones in my area so its still not working right. Am I missing some configureation setting? One thing I did note, at boot up I got a message about disabling IRQ 10 and about the network loading sucessfully.
Thanks
John
At this point I'm a little confused. I re-read the thread from the beginning. If I understand where things are at, you now are using the Netgear card, with the Antheros chip set, and you are using Knoppix 5.1 live CD.
If this is the correct at this point, getting the NetGear card to work should be too difficult.
I have a D-link card with this chip set. To get it going after booting up 5.1.1 here is what I do.
1. Run Wavelan Configuration tool. This is where you can input things like ESSID, channel to use ( there 16 of them ) mode of operation, I use managed and I set a wep key, since I have security set up on my router.
After you run the tool, open a konsole and run 'iwconfig' to see the settings that are set. I have seen some problems where some settings are rejected. These settings have to match up with the WAP you are trying to connect to.
2. On the konsole, enter 'su' to get root privlidges. Enter the command 'pump -i ath0' ( without quotes ) and note the name of the interface in my case is ath0. This brings up the interface, and causes a DHCP request.
Re-run iwconfig and run ifconfig. The if this is working, you should see an IP address in the output of ifconfig. If you have an IP address, another command to see the available WAPs is 'iwlist scan' It will return some information about the WAPs your system can 'see'.
What I can't tell you, you need to find out, are the WAPs your are trying to connect to using DHCP? If not, you need to assign an IP addres to the card with ifconfig command, and it needs to be in the sub-net of the WAP you want to connect to.
I connect to my own router, so I have control over everything.
Give this a try and let me know how far you can get.
Ok,
Followed your instructions and this is what happened:
1. Run Wavelan Configuration tool. This is where you can input things like ESSID, channel to use ( there 16 of them ) mode of operation, I use managed and I set a wep key, since I have security set up on my router.
Filled out the info for ESID, channel, mode and key, left the rest blank.
After you run the tool, open a konsole and run 'iwconfig' to see the settings that are set.
This is what iwconfig returned:
lo no wireless extensions
wifi0 no wireless extensions
IEEEE 802.11g ESSID: 2WIRE320 Nickname""
Mode: Managed Frequency 2.462 AccessPoint Not associated
Bit Rate 0 tx Power 18 sensitivity 0/3
retry off tts thrff Fragment thrff
powermanagement 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
2. On the konsole, enter 'su' to get root privlidges. Enter the command 'pump -i ath0' ( without quotes ) and note the name of the interface in my case is ath0. This brings up the interface, and causes a DHCP request.
su worked fine. pump -i ath0 returned : Operation failed. ( I dont use DHCP if that matters, my Routers setup page will not enable it, Ive tried)
Re-run iwconfig and run ifconfig. The if this is working, you should see an IP address in the output of ifconfig. If you have an IP address, another command to see the available WAPs is 'iwlist scan' It will return some information about the WAPs your system can 'see'.
Re ran iwconfig -same results as before. if config returned:
Link encap local loopback
inet addr 127.0.0.1 net mask 255.255.255.0 (***THISIS NOT MY INTERNET ADDRESS)
inet6 addr: : : :1/128 scope : host
up loopback running mtu 16436 metric 1
rx packets 14 errors 0 dropped 0 overruns 0 frames
tx pavkets 14 errors 0 dropped 0 overruns 0 frames
collisions a; 0 txqeue 0
rx bytes 700 (700.0.b) tx bytes 700 (700.0.b)
iwlist returned
lo interface doesn support scanning
wifi0 interface doesnt support scanning
ath0 interface doesnt support scanning: Network is down
Could not do anything with the ifconfig command.
So thats where Im at.
What I can't tell you, you need to find out, are the WAPs your are trying to connect to using DHCP? If not, you need to assign an IP addres to the card with ifconfig command, and it needs to be in the sub-net of the WAP you want to connect to.
I connect to my own router, so I have control over everything.
Give this a try and let me know how far you can get.[/QUOTE]
Just thinking, even if Im not connected to my network should I be picking up the list of networks around me? I really think it has something to do with IRQ10 being disabled at start up, thats where the card is in XP.
Thanks
John
I now understand you are not using DHCP on your router. That explains a lot, pump can not work unless the router is a DHCP server. The interface is not coming active. This is where ifconfig comes in. You will need to do two things with this command. Assign an IP address with mask to the interface, and activate the interface.
If you look at the man page for ifconfig, there are many other things it can do.
I also understand the concern you have over an IRQ. From what I can see in your postings, the card is using IRQ 10. This is from your posting -
Code:
05:00.0 Class 0200: 168c:0013 (rev 01)
Subsystem: 1385:4b00
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+
Stepping- SERR+ FastB2B+
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 128 (2500ns min, 7000ns max), cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: Memory at 26000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
Note the line "Interrupt: pin A routed to IRQ 10". If your card did not have any assigned interupt, I don't believe iwconfig would work at all. So, for now my assumption is, this is not an issue.
Now for 'ifconfig' command. You need to know what the sub-net is for your router's wireless connection. Most of these things are a class C private address, for example 192.168.0.x and a mask of 255.255.255.0. This is set up in your router. You can check this out by connecting a system, open a browser, and entering the IP address of the router. That can be determined from the documentation that came with it. It may be a PDF file on a CD. The other source I have used a lot is to download the install manual from the manufacturers web site.
The 'x' in the above example will be a value between 1 and 245. Most routers are shipped with a 1 for the routers IP address, so connecting systems can use 2 to 254. 255 is reserver as a broadcast address.
The 0 is the part you can change, it can be between 0 to 254, by far most systems come with a 0 or a 1 in this part of the IP address.
It is possible to use private class A or private class B addresses. I won't go there, unless that is what you find on your router.
So, if your routers IP address ( this is on the side you connect to ) is 192.168.0.1 and a mask of 255.255.255.0, then you could assign a value oe 192.168.0.2 to your system. That will work just fine.
The command should look like this:
Quote:
ifconfig interface [aftype] options | address ...
'ifconfig eth0 up address 192.168.0.2'
You can activate the interface, or deactivate, set IP addr and mask. 'ifconfig' by it self will show the status of the interfaces. BTW, 127.0.0.1 is a standard loop back interface. It is there so you can talk to your own machine.
If you can activate the interface, then you can try pinging your router. If that works, then try browsing.
Ok,
Im an idiot. I looked at my settings but they didnt seem to take. Heres what I have on my 2Wire router page: On the left it says Private Network 192.168.0.1 /255.255.255.0 (default) On the right is a box saying Current Settings: Private Network. Router address 192.168.1.254. Subnet 255.255.255.0 DHCP Rance 192.168.1.64 -192.168.1.253. The on a completely different page it says View Broadband details:
Internet Connection Details
Connection Type: PPPoE
Username: jrv331@ameritech.net
Internet Address: 75.33.64.41
Subnet Mask: 255.255.255.255
Default Gateway: 75.33.79.254
Primary Domain Name Server: 68.94.156.1
Secondary Domain Name Server: 68.94.157.1
Domain:
Maximum Transmission Unit (MTU): 1492
Gateway Ping: Successful
DNS Communication: Successful
Configuration Server Post: Successful
Sorry, one more question - what do I need to set just to be able to scan for networks and connect to an open one(wifi location) I think if I can just get that going for now would be great. Also I read somewhere about getting rid of cardmgr and getting pcmciautils. Any thoughts on that?
Thanks
John
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.