LinuxQuestions.org
Visit Jeremy's Blog.
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 06-15-2006, 09:07 AM   #1
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Rep: Reputation: 15
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....
 
Old 06-15-2006, 09:48 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
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.
 
Old 06-17-2006, 05:04 PM   #3
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Original Poster
Rep: Reputation: 15
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!
 
Old 06-17-2006, 05:07 PM   #4
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Original Poster
Rep: Reputation: 15
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
 
Old 06-19-2006, 04:19 AM   #5
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
Old 06-19-2006, 07:01 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
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.
 
Old 06-20-2006, 09:13 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,923

Rep: Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593Reputation: 6593
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
 
  


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
Ndiswrapper 1.16 compiling issue johnb423 Linux - Software 2 06-07-2006 06:42 PM
problem in compiling ndiswrapper stragatto Slackware 1 03-04-2006 05:26 PM
compiling Ndiswrapper kernel joshknape Linux - Wireless Networking 1 07-17-2005 02:18 AM
error compiling ndiswrapper jkfff Linux - Wireless Networking 2 04-04-2005 08:32 PM
compiling a module (ndiswrapper) r.stiltskin Debian 4 10-23-2004 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration