Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Wireless in Debian

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-12-2007   #1 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 13
Exclamation Wireless in Debian

Ok so i just install Debian on my old laptop, i have both a pcmcia and usb Wifi adapter, they dont show up when i plug them in, apparently i have to type in shed load of code to even think about installing programs or drivers?

So i go on Terminal, but when i type things like:

apt-get install wireless-tools
it says:
E: could not open lock file /var/lib/dpkg/lock - open (13 permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

I dont have a clue what im doing, so in REALLY simple terms, how do i get either my usb or pcmcia card to connect to my Wifi network!

What do i have to type, and tell me were to type it. Give me detail...
P.S i cant move anything into / because i dont have permission apprently
WirelessMonkey is offline  


Reply With Quote
Old 10-13-2007   #2 (permalink)
Super Moderator
 
ozar's Avatar
 
Join Date: May 2004
Posts: 12,056
I've never run wireless before so I can't offer any specific help, but maybe this HowTo will help you to get up and running:

http://www.linuxforums.org/forum/lin...lan-linux.html
__________________
oz

New Members: * README *
ozar is offline   Reply With Quote
Old 10-13-2007   #3 (permalink)
Just Joined!
 
LlNUX's Avatar
 
Join Date: Oct 2007
Posts: 47
you need to be root in order to install new packages.
LlNUX is offline   Reply With Quote
Old 10-13-2007   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
First, you will enter commands not code. You do this in a terminal, in windows it is called a command line.

Device drivers are loaded as modules to the Linux kernel, so they are referred to simply as modules.

To know which modules your wireless cards need, we need to know the chipset that is used on the circuit board. The name of the card is not as important as the name of the chipset.

To find out which chipsets you have, first you need to be root. I'm not sure how Debian does it, so I will give two examples. The first method will log you in for as long as you have the terminal open. (The # is a prompt, don't enter it)
Code:
# su
# password <enter your root password here>
The next way will enable you to do only one command, after you enter the password.
Code:
# sudo <enter command here>
# password <enter your root password here>
Now enter this for a card that is inside the laptop (on-board).
Code:
# lspci
It will print out all PCI devices on your system. Copy and post the output.

For USB devices enter this.
Code:
# lsusb
You can copy and post that too, but I think it will be easier to configure the on-board device, so let's do that one first.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-13-2007   #5 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 13
I only have the USB adapter now, but ill copy and paste what it said:

Code:
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 050d:7051 Belkin Components
Bus 001 Device 001: ID 0000:0000
WirelessMonkey is offline   Reply With Quote
Old 10-13-2007   #6 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Unfortunately this isn't giving us the information that we need.

Let's try something else. Is there an installation CD that came with this card? It should have the WinXP drivers on it. Copy it to a folder in your /home directory, and post the name of it. Then I'll tell you how to unpack it in Linux.

If you don't have a CD, can you download the WinXP driver?
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-13-2007   #7 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 13
I have a cd somewere around with WinXP drivers yes, but if not they are downloadable from the belkin website.

Oh btw i cant copy anything into any / directories (maybe home not sure) because im not authorised apparently?

EDIT: Drivers (.exe) are in the home folder under my name, so continue...
WirelessMonkey is offline   Reply With Quote
Old 10-13-2007   #8 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
OK, What you do next may vary, according to the type of .exe file it is. There are three ways to extract the needed files, I'll give you all three in order that you should try them.

First you need to direct the terminal to the folder that the file is in. To do this use the cd command, followed by the folder location.
Code:
> cd /home/WirelessMonkey/WinXP_driver
This is just an example, as I don't know the exact name of the user folder or the driver folder.

Then extract the files with one of these commands. Change "drivername" to the exact name of the file. Caps are important, if any of the letters are capitalized.
Code:
> cabextract drivername.exe
or
> unzip -a drivername.exe
or
> wine drivername.exe
When using the wine method, it will actually try to run the windows installer. Make sure you direct it to install to the directory/folder that the .exe file is in, or another folder that you created in your /home directory.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 10-13-2007   #9 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 13
ok so its all unzipped, now?
WirelessMonkey is offline   Reply With Quote
Old 10-13-2007   #10 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
I need you to look for your WinXP driver, or any documentation that will tell us more about the card's chipset

If it is a Broadcom chipset, the driver may be this: bcmwl5.sys. If you have this you can use NDISwrapper. Dig around and see what you can find.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:03 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2