Click to See Complete Forum and Search --> : Networking Netgear
Hydr0x
09-11-2002, 09:25 PM
Hello everyone. I am fairly new to Linux and have some questions that I have not seen answered. First of all I am running a dual boot with Windows NT 4.0 Server SP6 MBR and Slackware Linux 8.1 Kernel 2.4.18 on a i686 P400 Box. I sucessfully installed the dual boot and bought some books and figured out what to do to solve some issues. Now for my problem that I couldn't find out how to fix. The Windows partition is able to access my network and internet from my MA301/MA401 Netgear Cards. However I cant set these cards up to work in Linux. The router is a Netgear MR314. How would I do this? All Netgear said to me was that they dont have the expertise to help me out!! They told me that it is a PRISM 3 chipset too. Is there any way that I can set this up to work? I really need this to work. Also please don't tell me to contact my administrator-It is a home networrk (with no PDC or BDC and server). Well I think that is all the details needed...so it'd be nice if I can set this up and use linux to connect-very nice. Thank you very much.
tonimontanna
09-11-2002, 09:56 PM
I have never had to deal with the netgear 401 series in terms of nic cards! The only netgear cards that I have dealt with were the 310/311 series. Those cards worked great with Redhat! You might want to a a search on this site to solve your problem
or try
www.google.com/linux
jumpedintothefire
09-11-2002, 10:02 PM
Is that a wireless card??
www.google.com/linux
searched on: netgear wireless linux
turned up this:
http://www.ndpgroup.com.au/wireless/linux.html
---quote---
The linux-wlan-ng-0.1.13-pre1 version has direct support for the MA401 card and it works perfectly! Make sure you have the latest pcmcia card services installed first.
-------
Looks like you need to treat it as an pcmcia card....
Hydr0x
09-11-2002, 10:36 PM
yeah it is a wireless pcmsia card with a PCI adapter- knew i forgot to mention something. ill check linux-wlan out tho-will return succes/failure news
Hydr0x
09-12-2002, 01:16 AM
failure but for a strange reason...
make all doesnt work because gcc seems to be broken
it cant find stdlib and stdio
this will be hard...any ideas?
jumpedintothefire
09-12-2002, 01:35 AM
Can you give me a step by step of what you did?
Try the rpm
http://prism2.unixguru.raleigh.nc.us/
Hydr0x
09-12-2002, 07:56 PM
i actually need 0.1.19 since i want all the neewest dirvers.
here is what i did:
made a folder for the wlan
tar zxvf linux-wlan-ng-X.Y.Z.tar.gz
make config
make all
now i get errors saying that stdlib and stdio cannot be found...now that i think about it i skipped gcc during installation...
Hydr0x
09-12-2002, 08:44 PM
no wait i did a full development install...why do i get the errors
since i can't copy paste from linux(no internet) here is an example error :
/bin/sh: ngcc command not found
argh...i really must set this network up
jumpedintothefire
09-12-2002, 10:30 PM
Your doing that as root?
I tried 0.1.14 on RH 7.3 no issues...
Now I just nne the card...
Hydr0x
09-12-2002, 10:45 PM
ok now it has becime apparent that the gcc 2.9.5 is messed despite being installed newly. I have tried compiling the simple source code below with cc or gcc:
#include <stdio.h>
main()
{
printf("Hello, world\n");
}
lol
the error is cannot find stdio.h or stdlib.h or anything
so obviously something is wrong there. am i right?
yeah root...i do EVERYTHING as root
oh and without gcc i cant upgrade to a new gcc because that requires compiling
Hydr0x
09-14-2002, 03:03 AM
ok ok
now every compiler works-fixed it :)
Hydr0x
09-17-2002, 08:10 PM
hmmm....ok i compiled th pcmcia scripts and am now compiling the wlan thing
what does it mean when it says:
"/usr/src/linux/include/linux/malloc.h is deprecated use slab. instead"
i cant see what there is to do
the pcmcia scripts were missing efore but now they work and i compiled them correctly.
jumpedintothefire
09-17-2002, 09:06 PM
Got me.....:confused:
Hydr0x
09-17-2002, 09:28 PM
thats '...use slab.h instead"
actually i did this:
#pico "/usr/src/linux/include/linux/malloc.h
i found that that woarining is actually part of the file
actually the script netdev.h causes error 1's and 2's
Hydr0x
09-21-2002, 12:12 AM
ok guys....
i tried the rpm above and it worked...
now i have both the pcmcia and the wlan scripts built and installed!!
however i still cannot go on the internet....
i modified the files (excepty init.d) and i can't see what's wrong...
please help me out----I'm so damn close!
jumpedintothefire
09-21-2002, 06:32 PM
what does ifconfig and route show??
Hydr0x
09-22-2002, 06:39 PM
#ifconfig
lo Link encap: Local loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU: 16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 fropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes: (0.0 b)
#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
Loopback * 255.0.0.0 U 0 0 0 lo
anyone is smart enough to know that this is not very good. how can i expect to be on a network with only loopback
is setting up a linux comnputer to be on a network supposed to be SO DAMN DIFFICULT---for everyone else it seems to be a breeze. These cards were purchased because I have a wireless network and they were listed as COMPLETELY linux compatible...
any ideas? i have a feeling that a billion different problems could come into play with this...
jumpedintothefire
09-22-2002, 10:44 PM
With out having a wireless card, I'm not to sure which way to start debugging this.....
Dug this up.... searchable archives under 'check it out', hope it helps....
http://www.goonda.org/wireless/prism2/
Someone got it running, see what they did:
http://linuxnewbie.org/forum/showthread.php?s=&threadid=64664
Hydr0x
09-23-2002, 08:39 PM
but i can't install those modules-they are for RH not Slackware. Sp modprobe prism2_pci or whatever wont work.
jumpedintothefire
09-23-2002, 09:03 PM
----quote----
i tried the rpm above and it worked...
now i have both the pcmcia and the wlan scripts built and installed!!
--------------
Thought you have that worked out....
Does lsmod show the module loaded??
Sorry not a slack guy.... would insmod install the module then?
----quote----
any ideas? i have a feeling that a billion different problems could come into play with this...
--------------
This is what caught my eye:
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=YOURSSID authtype=opensystem
ifconfig wlan0 LANIP netmask NETMASK(aka subnet)IP broadcast WANIP
Thought this might be the missing piece of info...
Hydr0x
09-23-2002, 09:14 PM
i used a seperate pcmcia script....
i also used the the wlan from the link you gave me (never said anything about redaht)----that is the first of the required packages(i don't need the documentation which is the second) if you scroll down there is another section that says "Kernel Modules" i did not install any of those becaus e thay are for redhat. lsmod shows the "pcmcia_core" modules loaded. should i try and install a RH 7.3 module or no?
whoops--mistake
i did install the doc, the first required pakage, adn the src---just not the module.
jumpedintothefire
09-23-2002, 10:17 PM
http://prism2.unixguru.raleigh.nc.us/README
Has the step by step to compile the src rpm...
change:
--define='linvers rh73.5'
to:
--define='linvers sl8.1'
Then just install the module one for your box, as the rest you've already installed...