WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WiFi - Not connecting to access point  (Read 23990 times)

Offline lmart

  • Jr. Member
  • **
  • Posts: 65
WiFi - Not connecting to access point
« on: July 16, 2012, 07:06:31 PM »
Downloaded CorePlus 4.5.6. Installed USB-HDD from LiveCD for use on my laptop.
WiFi does not connect to my router. Here's what happened after clicking the WiFi icon.
  scan networks
  send credential to access point
  udhcpc
  failed to connect

What can I do to help you help me resolve this issue?
 

Offline lmart

  • Jr. Member
  • **
  • Posts: 65
Re: WiFi - Not connecting to access point
« Reply #1 on: July 16, 2012, 07:09:35 PM »
PS USB setup with (1) WiFi support, (2) ndiswrapper and, (3) Wireless Firmware.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: WiFi - Not connecting to access point
« Reply #2 on: July 16, 2012, 07:14:03 PM »
If you are going to use the ndiswrapper, you'll also need the WinXP driver  follow the instructions in the Wrapper info file.  You'll not need the firmware extension either.

If the wifi app is scanning then you must already have the correct firmware and driver.  Or Ndiswrapper + WinXP Driver,  But in this case why the firmware.?  It's either one or the other.

Also it's hard to help without a list of equipment, at least the wifi device in this case

« Last Edit: July 16, 2012, 07:56:38 PM by coreplayer2 »

Offline lmart

  • Jr. Member
  • **
  • Posts: 65
Re: WiFi - Not connecting to access point
« Reply #3 on: July 16, 2012, 09:57:30 PM »
thanks for your reply

just downloaded everything, have no idea what hdiswrapper is or how to use it
how do i know if i have the correct firmware and driver?
what command(s) would you like me to run to provide you with the list of equipment?
is there a tutorial on this stuff?

What can I do to help you help me resolve this issue?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: WiFi - Not connecting to access point
« Reply #4 on: July 16, 2012, 11:19:46 PM »
have no idea what hdiswrapper is or how to use it

As said above, follow the instructions in the info file - you can also use google to navigate to the ndiswrapper wiki.

If you use lspci or lsusb to give details of your hardware and paste the output here, it would the forum to help you.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: WiFi - Not connecting to access point
« Reply #5 on: July 17, 2012, 01:56:28 AM »
IMHO ndiswrapper is not ideal, and a last resort or temporay fix only when no linux driver would work at some given moment.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline lmart

  • Jr. Member
  • **
  • Posts: 65
Re: WiFi - Not connecting to access point
« Reply #6 on: July 17, 2012, 08:31:19 AM »
Juanito; thanks for your reply. Output of the 2 commands you requested follow. "As said above, follow the instructions in the info file" - I'm lost, what instructions?
tinypoodle; thanks for your reply.

output-lspci

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce Go 6200] (rev a1)
06:05.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
06:05.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
06:05.3 Mass storage controller: Texas Instruments PCI7420/7620 Combo CardBus, 1394a-2000 OHCI and SD/MS-Pro Controller
06:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 03)
06:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)

output-lsusb
not found

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: WiFi - Not connecting to access point
« Reply #7 on: July 17, 2012, 09:07:45 AM »
Output of the 2 commands you requested follow. "As said above, follow the instructions in the info file" - I'm lost, what instructions?

From the ndiswrapper info file (info tab in the apps gui):
Code: [Select]
                example howto:
                enter bootcodes blacklist=ssb blacklist=b43 blacklist=bcma
                $ sudo ndiswrapper -i /mnt/sda1/drivers/ndiswrapper/bcmwl5.inf
                $ sudo ndiswrapper -l
                $ sudo ndiswrapper -m
                $ sudo modprobe ndiswrapper
                ----------
                Note: you can now make an extension out of everything in
                .. /etc/ndiswrapper and use it with the ndiswrapper extension
                ..to avoid having to use the perl5 extension
                ----------
Of course you would need to substitute the windows driver for your hardware for bcmwl5.inf/bcmwl5.sys

Quote
06:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
This is your wifi hardware - I seem to recall some posts in the forum about how to get this working with linux drivers rather than ndiswrapper.

Edit: It might even work right out of the box with the wifi extension
« Last Edit: July 17, 2012, 09:24:38 AM by Juanito »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: WiFi - Not connecting to access point
« Reply #8 on: July 17, 2012, 11:05:03 AM »
For an Intel Corporation PRO/Wireless 2200BG device, the Linux " ipw2200 " firmware and driver is recommended.

Honestly, I'd start over by removing any and all wifi associated extensions including the ndiswrapper which is not required.

Then using the APPS Utility download and install with "OnBoot" selected only the following, which will install the required applications and dependencies.

firmware-ipw2200.tcz
wireless-3.0.21-tinycore.tcz
wifi.tcz


Note that wireless-3.0.21-tinycore.tcz is a dependency of wifi.tcz  so will be installed automatically when installing wifi.tcz, installing it separately is ok too. 

« Last Edit: July 17, 2012, 11:06:53 AM by coreplayer2 »

Offline lmart

  • Jr. Member
  • **
  • Posts: 65
Re: WiFi - Not connecting to access point
« Reply #9 on: July 17, 2012, 01:02:33 PM »
coreplayer2

thanks, start over makes sense; want to make sure we're on the same page
#1 - will reinstall tc+ from LiveCD to usb
#2 - do not check any of the following boxes when installing; (1) WiFi support, (2) ndiswrapper and, (3) Wireless Firmware
#3 - then follow your instructions;
  "Then using the APPS Utility download and install with "OnBoot" selected only the following, which will install the required applications and dependencies.

  firmware-ipw2200.tcz
  wireless-3.0.21-tinycore.tcz
  wifi.tcz"

Are the 3 steps correct - Yes|No?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: WiFi - Not connecting to access point
« Reply #10 on: July 17, 2012, 02:15:21 PM »
This is the classic chicken before the egg syndrome. 

I see now your method.  so in this case NO

select only Wifi support and firmware



No need to use Apps in this scenario as all the required extensions are included in the live cd


First, can you connect using the wifi icon whilst booted to the CorePlus live cd ?
« Last Edit: July 18, 2012, 11:39:30 AM by coreplayer2 »

Offline lmart

  • Jr. Member
  • **
  • Posts: 65
Re: WiFi - Not connecting to access point
« Reply #11 on: July 17, 2012, 04:37:16 PM »
coreplayer2

#1 - Bootled to LiveCD on desktop and launched TC_Install
#2 - Created tc+ usb-hdd accepting only defaults, no boot options
#3 - On Core+ extensions, selected (a) WiFi support and, (b) Wireless Firmware
#4 - Booted tc+ usb on laptop and launched WiFi
#5 - Same Results - No connection to access point
       scan networks
       send credential to access point
       udhcpc
       failed to connect

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: WiFi - Not connecting to access point
« Reply #12 on: July 17, 2012, 11:17:13 PM »
What do the last few lines of dmesg say after you fail to connect:
Code: [Select]
$ dmesg | tail -20

Offline lmart

  • Jr. Member
  • **
  • Posts: 65
Re: WiFi - Not connecting to access point
« Reply #13 on: July 18, 2012, 05:58:29 AM »
Juanito
dmesg | tail -20, as requested

intel_rng: FWH not detected
intel_rng: FWH not detected
intel_rng: FWH not detected
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
lib80211_crypt: registered algorithm 'WEP'
usb 1-1: new high speed USB device number 3 using ehci_hcd
scsi7 : usb-storage 1-1:1.0
scsi 7:0:0:0: Direct-Access     USB 2.0  Flash Disk       8.07 PQ: 0 ANSI: 2
sd 7:0:0:0: Attached scsi generic sg3 type 0
sd 7:0:0:0: [sdc] 511998 512-byte logical blocks: (262 MB/249 MiB)
sd 7:0:0:0: [sdc] Write Protect is off
sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 7:0:0:0: [sdc] No Caching mode page present
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sd 7:0:0:0: [sdc] No Caching mode page present
sd 7:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1
sd 7:0:0:0: [sdc] No Caching mode page present
sd 7:0:0:0: [sdc] Assuming drive cache: write through
sd 7:0:0:0: [sdc] Attached SCSI removable disk

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: WiFi - Not connecting to access point
« Reply #14 on: July 18, 2012, 06:49:31 AM »
That looks like what you'd see if the drivers were loaded "onboot" and you have not run the wifi extension script (double-click on wifi icon or "wifi.sh").

I'd expect you would see something like:
Code: [Select]
$ dmesg
...
Broadcom 43xx driver loaded [ Features: PLR, Firmware-ID: FW13 ]
firmware: requesting b43/ucode5.fw
firmware: requesting b43/pcm5.fw
firmware: requesting b43/b0g0initvals5.fw
firmware: requesting b43/b0g0bsinitvals5.fw
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
..with Intel in place of Broadcom

and:
Code: [Select]
$ dmesg
...
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
wl 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
wl 0000:02:00.0: setting latency timer to 64
lib80211_crypt: registered algorithm 'TKIP'
eth1: Broadcom BCM4359 802.11 Hybrid Wireless Controller 5.100.82.112
lib80211_crypt: registered algorithm 'WEP'
lib80211_crypt: registered algorithm 'CCMP'
..with possibly wlan0 or eth0 in place of eth1