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 01-10-2004, 02:04 AM   #1
lnxusr
LQ Newbie
 
Registered: Nov 2003
Location: california
Distribution: SUSE 9.0, slackware 9.1, knoppix
Posts: 22

Rep: Reputation: 15
ndiswapper commandline mistype problem


Hey people im using suse 9.0 with kernal version 2.4. I have a linksys wireless g card and im setting up ndiswrapper but im having trouble typing in the proper command line to load the windows drivers. i copied the drivers to the ndiswrapper directory just like the readme suggested but i keep getting the file or directory not found when trying to load the drivers in the terminal. Here is what i type in the command prompt

# utils/loaddriver 1039 7002 /usr/2.4/bin/modules/drivers/ndiswrapper/bcmi5.sys/usr/2.4/bin/modules/drivers/ndiswrapper/ bcmi5.inf

then i hit enter just like the instructions say but i keep getting the file or directory not found warning am i spacing it wrong ore not using the proper characters? Help me out and show me how it's really supposed to be typed out thank you.

P.S. i know the path to the files look wrong but i cant remember the exact nams of the directories cause im not on the suse machine but i do lead them through the proper directory paths when trying this.

P.S.2

I apologize once more for misplacing this thread in the wrong forum at first i placed it in software and got many views and no replies i hope i have placed it in the right spot this time.
 
Old 01-11-2004, 08:42 PM   #2
lightsail
Member
 
Registered: Nov 2003
Location: Pennsylvania
Distribution: Mandrake 9.1
Posts: 49

Rep: Reputation: 15
Try some changes:

# utils/loadndisdriver 1039 7002 /usr/2.4/bin/modules/drivers/ndiswrapper/bcmi5.sys <space> /usr/2.4/bin/modules/drivers/ndiswrapper/ bcmi5.inf
 
Old 01-11-2004, 11:46 PM   #3
lnxusr
LQ Newbie
 
Registered: Nov 2003
Location: california
Distribution: SUSE 9.0, slackware 9.1, knoppix
Posts: 22

Original Poster
Rep: Reputation: 15
Actually i just solved this problem through much trial and error but my problem is no longer with ndiswrapper its with configuring my network parameters so that itll be eth2 while having 128 bit encryption. Im using a linksys router and pci card. My current problem is that after i input the essid and encryption key in iwconfig it resets when i try to load eth2 in kwifimanager it detects it but when i save it i see in iwconfig that the values are reset. Im trying to figure out how to configure the network parameters in suse 9.0 but am having a hard time finding the proper man pages. If you guys can offer any advice as to how to fix this problem id welcome it.
 
Old 01-12-2004, 01:55 PM   #4
washe
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Suse 9.0
Posts: 22

Rep: Reputation: 15
what version of nidswrapper are you using, i get the following error when trying to get the driver compiled..

make -C driver install
make[1]: Entering directory `/home/max/ndiswrapper/driver'
cc -DTEST_PM -DEXPORT_SYMTAB -DMODVERSIONS -include
/lib/modules/2.4.21-99-athlon/build/include/linux/modversions.h -DLINUX
-D__KERNEL__ -DMODULE -I/lib/modules/2.4.21-99-athlon/build/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
wrapper.c:1126: error: variable `ndis_ethtool_ops' has initializer but
incomplete type
wrapper.c:1127: error: unknown field `get_link' specified in initializer
wrapper.c:1127: warning: excess elements in struct initializer
wrapper.c:1127: warning: (near initialization for `ndis_ethtool_ops')
wrapper.c: In function `setup_dev':
wrapper.c:1613: error: structure has no member named `ethtool_ops'
/lib/modules/2.4.21-99-athlon/build/include/asm/string.h: At top level:
wrapper.c:1126: error: storage size of `ndis_ethtool_ops' isn't known
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/home/max/ndiswrapper/driver'
make: *** [install] Error 2

im using version 0.4?
 
Old 01-12-2004, 02:37 PM   #5
lnxusr
LQ Newbie
 
Registered: Nov 2003
Location: california
Distribution: SUSE 9.0, slackware 9.1, knoppix
Posts: 22

Original Poster
Rep: Reputation: 15
Well im using 0.3 and my distro is suse 9.0 with kernal version 2.4. youd have to tell us what distro you are using alongside with what kind of wireless card.
 
Old 01-12-2004, 04:07 PM   #6
washe
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Suse 9.0
Posts: 22

Rep: Reputation: 15
Suse 9.0, with the 2.4.21-99 Athlon kernel (not 100% its the correct name, not at home yet)..

I will download 0.3 and try out tonight?
 
Old 01-12-2004, 05:06 PM   #7
lnxusr
LQ Newbie
 
Registered: Nov 2003
Location: california
Distribution: SUSE 9.0, slackware 9.1, knoppix
Posts: 22

Original Poster
Rep: Reputation: 15
do that cause if you read in the install guide ndiswrapper .4 only works with the 2.4.23 kernal and above.
 
Old 01-12-2004, 06:25 PM   #8
washe
LQ Newbie
 
Registered: Nov 2003
Location: Mexico
Distribution: Suse 9.0
Posts: 22

Rep: Reputation: 15
well...... I used the steps of 0.2 didnt read the new readme file... until I got this error..... I will update the kernel to 2.6.1.. altought I havent ever changed the whole kernel before, just minor updates.

 
Old 01-12-2004, 07:19 PM   #9
lightsail
Member
 
Registered: Nov 2003
Location: Pennsylvania
Distribution: Mandrake 9.1
Posts: 49

Rep: Reputation: 15
You can use this option to name adapter:

modprobe ndiswrapper if_name="eth2"

after running loadndisdriver, then

try: iwconfig eth2 essid YourEssid

You set encryption with iwconfig eth2 key XXXXXXX


man iwconfig - to see all options that you can set from command line.



Once you have a working configuration, try scripting it.
 
Old 01-12-2004, 10:02 PM   #10
lnxusr
LQ Newbie
 
Registered: Nov 2003
Location: california
Distribution: SUSE 9.0, slackware 9.1, knoppix
Posts: 22

Original Poster
Rep: Reputation: 15
I tried all that but to no avail. I have it where once i start up i go into terminal window and iwconfig to see if its there and it shows me this

eth1 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.462GHz Bit Rate=54Mb/s Tx-Power:16 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:0 Signal level:246 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

so im assuming eth1 is where ndiswrapper loaded the drivers for my wireless card but i cant configure it. Anyone with advice is welcome to tell me how they solved this thank you.
 
Old 03-04-2004, 05:25 AM   #11
VenimK
Member
 
Registered: Mar 2002
Posts: 42

Rep: Reputation: 15
iwconfig eth1 mode Managed
iwconfig eth1 essid youressidnamehere

also add this in /etc/init.d/boot;local

then reboot, and see what ya get
 
Old 03-04-2004, 03:20 PM   #12
lnxusr
LQ Newbie
 
Registered: Nov 2003
Location: california
Distribution: SUSE 9.0, slackware 9.1, knoppix
Posts: 22

Original Poster
Rep: Reputation: 15
Well i found that everything i did to make it autostart was wrong all that info i posted was just info made by the network config file and the drivers never loaded when i rebooted i think the only way im going to get wirless on this machine is to hook it up to a wired network update it and then use the ndiswrapper 0.4 to configure the wireless connection seeing as how iwconfig wont change any values i want it to and seeing how the instructions to make it start automatically at startup dont work either in 0.3.
 
  


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
ndiswapper and Netgear MA111v1 slakr007 Linux - Wireless Networking 12 03-20-2006 11:13 AM
Commandline legth problem linking a shared library DavePrince Linux - Software 0 07-20-2005 09:19 AM
Ndiswapper Issue with Suse 9.2 Delusions Linux - Wireless Networking 2 04-07-2005 01:56 PM
Problem starting programs from commandline Error1312 Slackware 10 06-20-2004 10:16 AM
ndiswrapper commandline problem lnxusr Linux - Software 2 01-10-2004 09:47 PM

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

All times are GMT -5. The time now is 02:21 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
Open Source Consulting | Domain Registration