No Option for wireless connection

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

No Option for wireless connection

Postby JayDub on Thu Jan 17, 2008 8:50 pm

So I am trying to figure out how to use wireless with linux mint.

When I right click on the network manager the only options that I have are "Enable Networking" (checked), "Connection Information" and "About". I am able to connect to the internet via a wired connection but I have not been able to find out how to connect wirelessly.

Currently my /etc/network/interface file has the following in it:

auto lo
iface lo inet loopback


And I tried following the steps suggested in viewtopic.php?f=90&t=2577 but it did not help.

Running mintWifi.py gives me this output:

-------------------------
* I. scanning WIFI PCI devices...
-- Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
==> PCI ID = 8086:4222 (rev 02)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

eth0 no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:15:C5:38:97:66
inet addr:65.110.31.195 Bcast:65.110.31.255 Mask:255.255.254.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7801231 errors:0 dropped:0 overruns:0 frame:0
TX packets:979228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1803255667 (1.6 GB) TX bytes:116182929 (110.8 MB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4340 (4.2 KB) TX bytes:4340 (4.2 KB)

-------------------------
* V. querying DHCP...
There is already a pid file /var/run/dhclient.pid with pid 19825
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:15:c5:38:97:66
Sending on LPF/eth0/00:15:c5:38:97:66
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 65.110.30.2
bound to 65.110.31.195 -- renewal in 300 seconds.
-------------------------
* VI. querying nslookup google.com...
Server: 208.67.222.222
Address: 208.67.222.222#53

Non-authoritative answer:
Name: google.com
Address: 72.14.207.99
Name: google.com
Address: 64.233.187.99
Name: google.com
Address: 64.233.167.99
JayDub
Level 1
Level 1
 
Posts: 6
Joined: Thu Jan 03, 2008 4:13 am

Linux Mint is funded by ads and donations.
 

Re: No Option for wireless connection

Postby Husse on Fri Jan 18, 2008 7:39 am

Undoubtedly you had the wired connection connected when you ran mintWifi...
Follow the wiki
http://www.linuxmint.com/wiki/index.php/MintWifi
If you read french a solution here (I think you can make something of it even without understanding french)
http://www.bivouak.fr/post/2007/12/02/H ... fi-3945ABG
(Lots of hits in Google that are not in english)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: No Option for wireless connection

Postby JayDub on Fri Jan 18, 2008 12:42 pm

The first place I tried was the mintWiki but it didn't help me problem.

When running miniWifi.py without being plugged into the internet it returned these results:

-------------------------
* I. scanning WIFI PCI devices...
-- Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
==> PCI ID = 8086:4222 (rev 02)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

eth0 no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:15:C5:38:97:66
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

-------------------------
* V. querying DHCP...
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:15:c5:38:97:66
Sending on LPF/eth0/00:15:c5:38:97:66
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached
JayDub
Level 1
Level 1
 
Posts: 6
Joined: Thu Jan 03, 2008 4:13 am

Re: No Option for wireless connection

Postby MagnusB on Fri Jan 18, 2008 3:37 pm

Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway

Re: No Option for wireless connection

Postby Husse on Sat Jan 19, 2008 7:45 pm

Of course - how could I forget http://www.intellinuxwireless.org/
Thanks MagnusB
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: No Option for wireless connection

Postby MagnusB on Sat Jan 19, 2008 8:15 pm

Well, Husse, I have had some troubles with the iwl module, so I will not forget it :) You are very much forgiven, we do not expect you to remember every solution to every problem :)
As for for the trouble at hand, iwl module is included in the kernel, so it should work at boot, so somehow Mint screwed that up, it could happen for no appear ant reason.
The module is called ipw3945 (I use iwl4965, that is why I screwed that up).
First, it depends on two modules, iwlwifi and mac80211. First you need to see if the microcode is present:
Code: Select all
% sudo updatedb
% locate iwlwifi-3945.ucode

It should be located at /lib/firmware/2.6.22-14-generic (in Daryna without an updated kernel), if it isn't:
Code: Select all
% wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-3945-ucode-2.14.4.tgz
% tar xvf iwlwifi-3945-ucode-2.14.4.tgz
% sudo cp  iwlwifi-3945-ucode-2.14.4/iwlwifi-3945.ucode /lib/firmware/2.6.22-14-generic

Then see if iwlwifi is loaded:
Code: Select all
lsmod | grep iwl

if that returns squilch, try:
Code: Select all
sudo modprobe iwlwifi

Then check for mac80211:
Code: Select all
lsmod | grep mac

Again, if that returns zero:
Code: Select all
sudo modprobe mac80211

If everything went successful, reboot and you should have wifi :) If not, and you have some troubles compiling the modules, please feel free to ask :)
Image
You're not drunk if you can lie on the floor without holding on.
--Dean Martin
MagnusB
Level 6
Level 6
 
Posts: 1255
Joined: Sun Nov 18, 2007 12:39 pm
Location: Norway


Return to Newbie Questions

Who is online

Users browsing this forum: Apyle, PaulW, tdockery97 and 36 guests