LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-23-2010, 10:15 PM   #1
skullkid2424
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Setting up wireless with DSL


Hey, I'm very very new to linux, and I'm booting DSL off of a USB key on a used laptop I just got. I need help figuring out wireless, starting with what the wireless card is, then which driver is needed, and then I think I can use ndiswrapper to install the driver and go from there. I was told to do 'lspci -knn' to figure out what I'm looking for, and ill post (some) of the results here and hopefully someone can help me out (not all because I'm retyping the output on my computer that has internet working)

Code:
00:00.0 Host bridge [0600]: Intel Corporation mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller hub [8086:27a0] (rev 03)
00:01.0 PCI bridge [0604]: Intel Corporation mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port [8086:27a1] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporatoin 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.2 PCI bridge [0604]: Intel Corporatoin 82801G (ICH7 Family) PCI Express Port 1 [8086:27d4] (rev 02)
04:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG Network Connection  [8086:4222] (rev 02)
05:05.0 Ethernet controller [0200]: Realtek Semiconducto Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)
              Kernel modules: r8169
If anyone could guide me through figuring this out, it would be much appreciated. (I left out a lot, let me know if the results of any of these might help: Audio Device, USB Controller, ISA bridge, IDE interface, SMBus, VGA compatible controller, Firewire)

Thanks!
 
Old 05-24-2010, 07:12 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,742
Blog Entries: 27

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Hi,

Welcome to LQ!

Since you are aware of the 'cli'. You should now be able to look at the logs to aid in diagnosis. The logs are a means to show potential errors or details to allow one to find useful information that may trail to potential solutions. Look within '/var/log' with the use of 'ls /var/log' to see the various logs. The 'dmesg' is one log you should look at since it is your communication from the kernel;

Quote:
excerpt 'man dmesg';
NAME
dmesg - print or control the kernel ring buffer

SYNOPSIS
dmesg [ -c ] [ -n level ] [ -s bufsize ]

DESCRIPTION
dmesg is used to examine or control the kernel ring buffer.

The program helps users to print out their bootup messages. Instead of copying the messages by
hand, the user need only:
dmesg > boot.messages
and mail the boot.messages file to whoever can debug their problem.
Instead of typing everything you can do redirection: 'dmesg >my_dmesg' from the 'cli' would output to the file 'my_dmesg' which could be placed within the content of your post via the vbcode tags # or quote. When using extremely long lists the # will place a scroll bar on the text window thus making your post cleaner & easier to read. Long quotes just make things harder to read within the thread.

You can also use 'lspci -vv| grep -i wireless' to;
Code:
~# lspci -vv |grep -i wireless
        Subsystem: Dell Wireless 1490 Dual Band WLAN Mini-Card
Please note that '|' is the pipe which on most keyboards will be a 'shift \' which if you are going to be on the 'cli' then a very valuable tool.

'How to Ask Questions the Smart Way' would be one link you should look at to help us to help you in the future. This will also help you to understand formulation & thought in diagnosis.

The links below should be useful throughout your GNU/Linux experience;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 05-24-2010, 05:18 PM   #3
skullkid2424
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
step in the right direction...but...

Alright - I now know which wireless card I have, and (I think...) I have the right driver. I've been attempting to use ndiswrapper to install the driver (link to guide: ndiswrapper guide). I am under the section "Using Ndiswrapper to Install the Driver", and having trouble. After using 'sudo ndiswrapper -i filename.txt' to install the driver, it appears to have installed. However the next instructions are where I am stuck.

I believe I am supposed to edit the module configuration (located at /etc/modules) and add "ndiswrapper" to the last line and save it. Then I should reboot my computer and I should be able to use wireless. I copied the modules file to home, edited it there, then used sudo to remove the modules in /etc and replaced it with my edited version. I am using backup for persistence in DSL , although it appears that the /etc/modules doesn't back up and is an invalid option to add to the filetool.

Without rebooting, 'wlcardconfig' still claims there is no wireless card detected, and if i reboot, modules will lose the line containing 'ndiswrapper'. Also after rebooting ndiswrapper -l shows no drivers installed...

Anyone see a way to get thie working? Or know an easier way altogether?

random relevant information
wireless card: Intel Corporation PRO/Wireless 3945ABG Network Connection
dsl (i believe 4.4) booting from USB
kernal 2.4.31
driver file contains : NETw5x32.INF and NETw5x32.sys
 
Old 05-25-2010, 09:11 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,742
Blog Entries: 27

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Hi,

Quote:
excerpt http://www.damnsmalllinux.org/f/topic-3-7-18938-0.html
NETw4x32.INF
NETw4x32.CAT
NETw4x32.sys

Use ndiswrapper as follows:

ndiswrapper -i NETw4x32.INF
modprobe ndiswrapper
iwconfig wlan0 essid <sid name> key <hexadecimal wep key>

I couldn't get dhcp to work, so I had to edit /etc/resolv.conf and set up the route by hand. But I now have internet access!!
 
  


Reply

Tags
dsl, wireless


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
Connect acer nb wireless 2200bg centOS 5.4 to D-link DSL-2640T wireless router LinpusKelvin Linux - Networking 2 05-10-2010 10:32 AM
Setting up a DSL with Linux LinuxNewbrah Linux - Networking 3 06-08-2005 08:52 PM
setting up dsl for a user paul62 Slackware 2 10-17-2004 08:05 PM
Setting up DSL(winmodem) webwolf70 DamnSmallLinux 3 09-26-2004 03:04 PM
Setting up DSL on Mandrake 9.1 Guiltyspark Linux - Networking 4 01-20-2004 09:38 PM


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