LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   getting wireless to work on suse linux 10 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/getting-wireless-to-work-on-suse-linux-10-a-406717/)

rgistered 01-22-2006 08:35 PM

getting wireless to work on suse linux 10
 
hey all, i need help am a fresh one in lunux world and i just installed suse linux 10 on my HP pavillion zv5210 laptop. i can connect to the internet thorugh cable but unable to connect through wireless network,
i know my card is not detected by suse linux,it is broadcom 54g wirelss network card, and i tried to install "ndiswrapper-1.8" and was unable to install it, error by ndiswrapper :
Code:

root:~/ndiswrapper-1.8 # make install
make -C driver install
make[1]: Entering directory `/root/ndiswrapper-1.8/driver'
Can't find kernel sources in /lib/modules/2.6.13-15.7-default/build;
  give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/root/ndiswrapper-1.8/driver'
make: *** [install] Error 2

now i dunno wut to do with this...any suggestions...

wireless router : dlink DI-624
network card : broadcom 54g 802.11g wireless network card(if i am right)

plz plz helppp
thx

card-suse 01-22-2006 09:21 PM

First, check out this step-by-step procedure located here:

http://nextgen.no-ip.org/~andrew/lin...pperinfo10.php

Second, your missing the kernel source files. You need to start YaST and go to "Software Management". Type kernel in the search field. You'll see that you didn't install the "kernel-source" files. Check the "kernel-source" box and hit accept in the lower right corner. You'll be prompted to insert the appropriate distro CD. YaST will then install the kernel source files. Try compiling then. If you have a problem, get back in touch. Good luck.

rgistered 01-23-2006 08:42 AM

greetings,
i installed the "kernel source" which is round bout 207 MB but the error is still there.
also the only one file in the build folder is "Module.symvers"
plz help. thx

card-suse 01-24-2006 07:32 AM

Rgistered,

We'll get this to work. Just hang on.

Did you read Andrew's article from the link I posted and are you getting the exact same error? Go to the /lib/modules directory and see if there is a 2.6.13-15.7-default directory.

Post the compile error again if it is in anyway different from your original post please. Also, I looked back at your original thread. Don't untar stuff and compile in your /root. You may want to move things you compile into /opt. That's a more appropriate place. Let me know....

baldy3105 01-24-2006 08:48 AM

You don't need to compile NDISWRAPPER onto Suse 10, it comes as an RPM on the install media and works a treat. Just install it using YAST.

card-suse 01-24-2006 07:53 PM

baldy3105,

Does that version of ndiswrapper on the distro support WPA-PSK or any secure wireless encryption? I'm not so sure that it does because I believe it's an older version. Just asking. Thanks....

rgistered 01-24-2006 10:31 PM

i installed it using yast (much better than compiling manually), but dosen't seems to work, then restarted the pc still dosen't worked, then i opened the terminal window and this the work done there as well as result :


Code:

Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile        Install driver described by 'inffile'
-d devid driver  Use installed 'driver' for 'devid'
-e driver        Remove 'driver'
-l                List installed drivers
-m                Write configuration for modprobe
-hotplug          (Re)Generate hotplug information


where 'devid' is either PCIID or USBID of the form XXXX:XXXX
hroot:~ # ndiswrapper -l
No drivers installed
hroot:~ # ndiswrapper -i
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile        Install driver described by 'inffile'
-d devid driver  Use installed 'driver' for 'devid'
-e driver        Remove 'driver'
-l                List installed drivers
-m                Write configuration for modprobe
-hotplug          (Re)Generate hotplug information


where 'devid' is either PCIID or USBID of the form XXXX:XXXX
hroot:~ # ndiswrapper -d
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile        Install driver described by 'inffile'
-d devid driver  Use installed 'driver' for 'devid'
-e driver        Remove 'driver'
-l                List installed drivers
-m                Write configuration for modprobe
-hotplug          (Re)Generate hotplug information


where 'devid' is either PCIID or USBID of the form XXXX:XXXX
hroot:~ #


so what should be done next?

and ya that version included in the installation media is "ndiswrapper-1.2.2" but i think we can update it later can we?
thx

baldy3105 01-25-2006 05:49 AM

I don't know about which version supports WPA but lets get the basics going first eh?

Ndiswrapper is a wrapper for the Windows NDIS drivers for your card. you need to do
ndiswrapper -i <path to windows inf file>.

There may be more than 1 inf file in your windows driver directory so you may need to try them one by one.

rgistered 01-25-2006 06:14 AM

inf ? u mean my wireless card name.inf which in case will be : BCMWL5.inf ....

if so then there is no file like this "BCMWL5.inf" but there is .SYS file (BCMWL5.SYS) ...

plzz tell me which .inf are we looking for ?

thx

baldy3105 01-25-2006 06:17 AM

All windows drivers come with an .inf file. They must because the inf file is the instructions windows uses to know where the rest of the files go and what registry entries are required. If you don't have it then you have done something wrong in extracting your driver.

rgistered 01-25-2006 06:26 AM

ok i have searched the computer its not on the computer, but i searched the windows driver recovery CD and ya it is there, but not on my computer, so what should be done now? should i place that inf file in the same directory in which the .SYS file is and then give the link to it, or something else ?
also i made a dual boot pc and how can i mention windows file path through linux ? plz help. thx

baldy3105 01-25-2006 06:43 AM

OK I see the misunderstanding, you need not just the actual driver file .sys or .vxd or whatever, you need the windows driver install package, as you would download it from the manufacturer. Suse mounts your windows partitions as readable so you should be able to download the driver then boot to linux and read it. Probably easiest to copy the driver to your home directory and use it from there.

rgistered 01-25-2006 07:03 AM

done ! copied the driver folder from installation cd to /home/WLAN1 folder and ran this command :
"ndiswrapper -i /home/WLAN1/bcmwl5.inf" and got the following :
Code:

hroot:~ # ndiswrapper -i /home/WLAN1/bcmwl5.inf
Installing bcmwl5
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
hroot:~ #

Code:

hroot:~ # ndiswrapper -l
Installed ndis drivers:
bcmwl5  driver present, hardware present

what next ?
plz sorry for all this but blive me am completely new to linux and moreover wireless networking..
thx

card-suse 01-25-2006 07:24 AM

Please click on the link I gave you in my first post and read it all the way through. It really is a step-by-step explanation of everything you need. And it saves us all the time of typing everything that is so well documented by Andrew on that link....

rgistered 01-25-2006 07:39 AM

got it card suse, am on step 2/3 according to that site now, thx for mentioning it and accept my apologies not for reading it,,,thxx veryy muchhh, u guys rockk, if the problemm persists, i'll hit here bakkk...
thx alot


All times are GMT -5. The time now is 06:53 AM.