LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Ndiswrapper compiling in Slackware 10.1 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-compiling-in-slackware-10-1-a-455037/)

apinta10 06-15-2006 09:07 AM

Ndiswrapper compiling in Slackware 10.1
 
I downloaded 2 sources of ndiswrapper.

1.17
1.16

i can't compile them because i get error messages in one header file and c file. Gcc is 3.3.4. Do i need to download 3.4 or?

I am setting up a Wireless adapter. Siemens Gigaset 108.

And i am trying to compile drivers for my pcmcia rt61.
i think its rt2500 model.. cardbus....

Hangdog42 06-15-2006 09:48 AM

Its better to drop back to an older version of ndiswrapper than mess with trying to upgrade gcc. I think 1.15 will still work.

By the way, if that is actually an rt2500 chipset, there is a native linux driver here.

apinta10 06-17-2006 05:04 PM

Slackware 10.1 NDISwrapper
 
OS: Slackware 10.1
Kernel 2.6.12.2
Source included with kernel.
When kernel is compiled Wifi has to be checked so that we dont get
unknown wireless_send_event.

Ndiswrapper 1.15 tested (i used).

Wifi adapter: Siemens Gigaset 108 (check the list on wifi for drivers and USBID-IMPORTANT) I tryed the Originals and Netgear.
Only ORIGINAL Drivers worked. Tryed to install better ones.

lsusb (129b:160c) - WiFI adapter on USB

ndiswrapper->

extract, make, make install, depmod -a

dont run the module before installing drivers. wont work.

ndiswrapper -i driver.inf (i had 2 files, both were needed, but i think that net5523.inf is enough).

nhdiswrapper -l

net5523 driver installed, hardware present -> (if this is missing that means the wrong driver is installed)

modprobe ndiswrapper

dmesg

search for ndiswrapper: what it says
and dmesg again if you still dont see wlan0

iwconfig wlan0 essid name_of_essid

or try

./rc.wireless wlan0

iwconfig to see what did you get

scanning:

iwlist wlan0 scan (cell sites are listed)

once this is set i used

ifconfig wlan0 up

ifconfig

its listed all right.

NO I AM STUCK. NO IP ADDRESS LISTED WHEN I SET THE INTERFACE UP!

HELP ME SOLVE THIS PART!

apinta10 06-17-2006 05:07 PM

Crash BUG!
 
Once we do

rmmod ndiswrapper

and

modprobe ndiswrapper

it craches... errors on dmesg

so its better to restart linux

restarting driver:

iwpriv wlan0 ndis_restart

apinta10 06-19-2006 04:19 AM

i also installed wpa_supplicant.

now i get that authorization cannot be made. Now the issue seems to be that the card is only Rx data not Tx . Now i really dont know what im gonna do with it.

Hangdog42 06-19-2006 07:01 AM

Lets take this one step at a time.....

Is your card recognized by the system? Post the outputs of ifconfig and iwconfig and we'll start there. We will worry about wpa_supplicant once we've established that the card is working correctly.

Alien Bob 06-20-2006 09:13 AM

Quote:

Originally Posted by apinta10
... all stuff that works deleted ...

once this is set i used

ifconfig wlan0 up

ifconfig

its listed all right.

NO I AM STUCK. NO IP ADDRESS LISTED WHEN I SET THE INTERFACE UP!

HELP ME SOLVE THIS PART!

If you want the quick'n'dirty try:

Quote:

dhcpcd -d -t 30 wlan0
ifconfig -a
If you want to do it El Neato, get my enhanced (since Slackware 10.1 can not configure an interface if it is not called ethX) Slackware rc scripts at http://www.slackware.com/~alien/rc_scripts/
Copy the new rc.inet1 and rc.wireless over your old ones (make backup copies first!)
Then, add this to your /etc/rc.d/rc.inet1.conf file:
Code:

# Config information for wlan0:
IFNAME[1]="wlan0"
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""

Eric


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