LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2006, 02:02 AM   #1
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Rep: Reputation: 0
Exclamation I have a problem with the Konsole(Terminal Program).I dont get all those commands


I installed Linux SUSE 10.1 recently and it recognized most of my Windows XP settings, but not my Wi-Fi. Than i looked it up in google.com and it said i needed to use NDISwrapper. However it said i needed to use the Konsole(Terminal Program) to install it( tell me if there is another way please!!!) , but im absolutely new to Linux so im completely lost. Here's a sample of what I ran into...


# ndiswrapper -i filename.INF

This causes ndiswrapper to create a configuration directory in /etc to hold the driver file and configuration pertaining to the driver and install the driver to it. Now if you issue the command:
# ndiswrapper -l

you should see something like the following:
dessa@holly:~> /usr/sbin/ndiswrapper -l
net8180 driver present, hardware present

To load the module, type modprobe ndiswrapper as the root user. To set up the ndiswrapper module to be loaded on boot, type:
# ndiswrapper -m...

...and so no...

Can someone please help me in some way, becomes my wireless is driving me mad?
 
Old 08-07-2006, 02:39 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have you actually downloaded NDISWrapper? You haven't actually said what you've done.
 
Old 08-07-2006, 02:42 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well do as it says. If you're having # in console (rather than $) as the last letter, you're already "as root". If you're not (i.e. you get $ as the last letter on the command line), do
Code:
su
and give root password. Now load the module:
Code:
modprobe ndiswrapper
as your guide says. If you want that module loaded at boot so you don't have to load it manually every time, use
Code:
modprobe -m ndiswrapper
I think..well of the last I'm not 100% sure since you only posted "..." but I could guess so.

I would prefer a native driver over ndiswrapper. Ndiswrapper doesn't use native drivers, and...well, why the heck would people even use Linux then - they could just emulate it. But if it's your only choice, go ahead..
 
Old 08-07-2006, 09:25 PM   #4
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Original Poster
Rep: Reputation: 0
Ok so i downloaded the NDISwrapper, and my wireless device is a Netgear WG111 v2, and i have the drivers on the cd, but dont actually know what to do from that point on. Do i just copy and paste the .sys and .inf files. Even when i do use the guidelines and instruction given by different websites it still doesnt seem to work!
Please help!
 
Old 08-07-2006, 11:43 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Firstly, you're not meant to use the drivers from the CD, you're supposed to look at the list on the NDISWrapper wiki and choose the driver for your card based on what running "lspci" tells you. Secondly, you need to tell us exactly what isn't working - error messages and anything else. We can't see what's on your monitor! The instatllation instructions aren't that hard to follow.
 
Old 08-10-2006, 10:15 PM   #6
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Original Poster
Rep: Reputation: 0
The system im running on right now is SUSE 10.1.
I went to the wiki, like you told me to and followed the instructions under installation prerequisites.
The first step i had to do was what the wiki said ,"Make sure there is a link to the kernel source from the modules directory. /lib/modules/VERSION/build should be a link to the kernel source, where VERSION is the version of the kernel you are running. If there is no link, you'll get an error at the make install step. To create a link, assuming the kernel sources are present, use the command
ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build ".Well i used the command /lib/modules/VERSION/build, but the Konsole said the following "bash: /lib/modules/VERSION/build: No such file or directory" So i tried the next command which was " ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build ". but the Konsole said the following " bash: kernel-version: No such file or directory ". So if i am stuck on the Prerequisites, which is the first step the wiki asked me to do, what chance do i have of completing the rest of the installation, and yes it is hard to follow. Im starting to hate Linux because of that NDISwrapper. Can you please provide me with easy to follow steps for installing the NDISwrapper because i cant seem to understand the instructions offered or it just doesnt work on WG111 v2. I hope you can help.

Thanks a lot!
Oh yeah forgot to tell you I am such a
 
Old 08-11-2006, 12:57 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You know you're supposed to replace kernel-version and VERSION with the version of the kernel you're running, right? You can get that with "uname -r".
 
Old 08-11-2006, 09:54 PM   #8
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Original Poster
Rep: Reputation: 0
I used the command uname -r .It gave me the following 2.6.16.13-4-default .What does this mean? And can you tell em what kerenel means?
 
Old 08-12-2006, 12:53 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Again, that tells you the version of the kernel you're running. The kernel is essentially the core of the operating system.
 
Old 08-12-2006, 03:05 PM   #10
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Original Poster
Rep: Reputation: 0
So i figured out my kernel version. Now that is pretty clear but im stuck on, after i downloaded it from sourceforge and saved it on the desktop. And now the wiki is asking me to extract it with the following command " tar zxvf ndiswrapper-version.tar.gz ". Am i supposed to write the version of the NDISwrapper where it says "version" in the command. Is it supposed to look like this the following " Major:/home/martini # tar zxvf ndiswrapper-1.23.tar.gz ". I typed it in the Konsole, but it gave me the following response " tar: ndiswrapper-1.23.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors "
So im stuck again and just cant seem to get how to do it, but if you colud walk me through step by step it would be much easier.
 
Old 08-12-2006, 03:47 PM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yes, you need to put the version there, obviously. Did you save the file in that directory (i.e /home/martini), or did you save it somewhere else? If so, change to whatever directory you saved to using cd. For example, I usually save stuff I download in a directory called "Downloads" in my home directory, so I'd just do "cd Downloads" (without quotes of course). Be aware that you don't need to be root to untar things. You only need to be root from the "make install" step onwards.
 
Old 08-13-2006, 10:19 PM   #12
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Original Poster
Rep: Reputation: 0
Ok so i did everything but how do you install the drivers. Do you just copy and paste them or is there a specific command.
 
Old 09-07-2006, 11:25 AM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you read the NDISWrapper installation instructions, you'll see that the drivers are installed with "ndiswrapper -i filename.inf", replacing filename.inf with the Windows driver file.
 
  


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
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Display commands for terminal konsole Uh-Oh...Problems Linux - Newbie 2 07-18-2006 03:16 PM
konsole problem: "Unable to open a suitable terminal device" Mistreated Linux - Software 2 11-15-2004 03:24 PM
Alternative terminal to konsole & gnome-terminal Adony Linux - Software 3 10-08-2004 03:59 AM
big problem! konsole commands not working!!! rahmed Mandriva 1 03-03-2004 07:11 PM


All times are GMT -5. The time now is 06:57 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