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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Wireless Internet
Reload this Page Wireless in Debian
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

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

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-12-2007   #2 (permalink)
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 9,220
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 Users: * FAQ *

ozar is offline   Reply With Quote
Old 10-12-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.
__________________
LINUX REGISTERED USER: 455838
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: 1,489
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
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: 1,489
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
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: 1,489
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
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: 1,489
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
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
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update error showgun Debian Linux Help 6 05-21-2007 05:49 PM
debian wireless ipw2200 vtr Debian Linux Help 4 05-09-2007 11:13 PM
All Wireless Internet Vulnerable To Malicious Attack xxqq Linux Networking 2 08-04-2006 01:09 PM
wireless internet Davidisms SuSE Linux Help 1 10-27-2004 12:48 AM
wireless USB network adapter in debian SCX Debian Linux Help 0 08-30-2004 02:20 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 07:51 PM.




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

Content Relevant URLs by vBSEO 3.2.0