Author Topic: Re: Wireless card sees the router but won't connect. <SOLVED>  (Read 2680 times)

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Wireless card sees the router but won't connect.
« Reply #15 on: January 07, 2011, 10:53:58 PM »

Your network name and your encryption keys are displayed, you should edit your post and remove them

This is the static address you used, 192.168.1.040. change it to this "192.168.1.40"
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect.
« Reply #16 on: January 07, 2011, 10:59:47 PM »
[root@localhost galloway]# cat /etc/sysconfig/network-scripts/ifcfg-wlan0
DEVICE=wlan0
BOOTPROTO=static
IPADDR=192.168.1.40
NETMASK=255.255.255.0
ONBOOT=yes
METRIC=35
MII_NOT_SUPPORTED=no
USERCTL=no
RESOLV_MODS=no
WIRELESS_MODE=Managed
WIRELESS_ESSID=RudgeTech
WIRELESS_ENC_KEY=s:something stupid
WIRELESS_ENC_MODE=open
WIRELESS_WPA_DRIVER=wext
WIRELESS_WPA_REASSOCIATE=yes
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=yes


[root@localhost galloway]# cat /var/log/syslog | tail -n 20
Jan  8 05:58:21 localhost drakconnect[18720]: writing host information to /etc/hosts
Jan  8 05:58:21 localhost drakconnect[18720]: created file /etc/hosts
Jan  8 05:58:21 localhost drakconnect[18720]: writing host information to /etc/hosts
Jan  8 05:58:21 localhost drakconnect[18720]: created file /etc/hosts
Jan  8 05:58:21 localhost drakconnect[18720]: set sethostname to localhost.localdomain
Jan  8 05:58:21 localhost drakconnect[18720]: running: /usr/bin/run-parts --arg localhost.localdomain /etc/sysconfig/network-scripts/hostname.d
Jan  8 05:58:21 localhost drakconnect[18720]: modified file /etc/sysconfig/network
Jan  8 05:58:21 localhost drakconnect[18720]: running: /sbin/ifdown wlan0 daemon
Jan  8 05:58:22 localhost ifplugd(wlan0)[18117]: Exiting.
Jan  8 05:58:22 localhost drakconnect[18720]: running: /sbin/ifup wlan0 daemon
Jan  8 05:58:25 localhost ifplugd(wlan0)[18950]: ifplugd 0.28 initializing.
Jan  8 05:58:25 localhost ifplugd(wlan0)[18950]: Using interface wlan0/00:1F:1F:38:95:35 with driver <rt61pci> (version: 2.6.33.7-pclos6.bfs)
Jan  8 05:58:25 localhost ifplugd(wlan0)[18950]: Using detection mode: SIOCETHTOOL
Jan  8 05:58:25 localhost ifplugd(wlan0)[18950]: Initialization complete, link beat not detected.
Jan  8 05:58:25 localhost drakconnect[18720]: running: /usr/sbin/wpa_cli select_network 0
Jan  8 05:58:25 localhost drakconnect[18720]: running: /etc/rc.d/init.d/network-up start
Jan  8 05:58:33 localhost drakconnect[18720]: modified file /etc/modprobe.conf
Jan  8 05:58:33 localhost drakconnect[18720]: to put in /etc/modprobe.preload
Jan  8 05:58:33 localhost drakconnect[18720]: modified file /etc/modprobe.preload
Jan  8 05:58:33 localhost drakconnect[18720]: ### Program is exiting ###
[root@localhost galloway]#
« Last Edit: January 07, 2011, 11:01:57 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Wireless card sees the router but won't connect.
« Reply #17 on: January 07, 2011, 11:21:59 PM »

Those logs shows you did not try to connect, did you? Try to connect and you should get those entries about connecting to access point, there should be something like this from your earlier logs

Quote
Jan  8 04:00:04 localhost klogd: wlan0: direct probe to AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 04:00:04 localhost klogd: wlan0: direct probe to AP 00:1d:7e:0b:70:fd (try 2)
Jan  8 04:00:04 localhost klogd: wlan0: direct probe responded
Jan  8 04:00:04 localhost klogd: wlan0: authenticate with AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 04:00:04 localhost klogd: wlan0: authenticated
Jan  8 04:00:04 localhost klogd: wlan0: associate with AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 04:00:04 localhost klogd: wlan0: RX AssocResp from 00:1d:7e:0b:70:fd (capab=0x411 status=12 aid=5)
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect.
« Reply #18 on: January 07, 2011, 11:24:52 PM »
Only after I removed the hard coded IP do I get this..

[root@localhost galloway]# cat /var/log/syslog | tail -n 20
Jan  8 06:19:00 localhost klogd: martian source 255.255.255.255 from 192.168.1.1, on dev eth0
Jan  8 06:19:00 localhost klogd: ll header: ff:ff:ff:ff:ff:ff:00:1d:7e:0b:70:fd:08:00
Jan  8 06:19:00 localhost NET[21454]: /sbin/dhclient-script : updated /etc/resolv.conf
Jan  8 06:19:00 localhost dhclient: bound to 192.168.1.103 -- renewal in 34695 seconds.
Jan  8 06:19:00 localhost ifplugd(eth0)[15909]: client: Determining IP information for eth0... done.
Jan  8 06:19:01 localhost ifplugd(eth0)[15909]: Program executed successfully.
Jan  8 06:19:05 localhost drakconnect[20692]: modified file /etc/modprobe.conf
Jan  8 06:19:05 localhost drakconnect[20692]: to put in /etc/modprobe.preload
Jan  8 06:19:05 localhost drakconnect[20692]: modified file /etc/modprobe.preload
Jan  8 06:19:05 localhost drakconnect[20692]: ### Program is exiting ###
Jan  8 06:22:41 localhost net_applet[2229]: launched command: /usr/sbin/usernetctl wlan0 report
Jan  8 06:22:41 localhost net_applet[2229]: running: consolehelper wlan0
Jan  8 06:22:57 localhost klogd: wlan0: direct probe to AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 06:22:57 localhost klogd: wlan0: direct probe responded
Jan  8 06:22:57 localhost klogd: wlan0: authenticate with AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 06:22:57 localhost klogd: wlan0: authenticated
Jan  8 06:22:57 localhost klogd: wlan0: associate with AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 06:22:57 localhost klogd: wlan0: RX AssocResp from 00:1d:7e:0b:70:fd (capab=0x411 status=12 aid=4)
Jan  8 06:22:57 localhost klogd: wlan0: AP denied association (code=12)
Jan  8 06:22:57 localhost klogd: wlan0: deauthenticating from 00:1d:7e:0b:70:fd by local choice (reason=3)
[root@localhost galloway]#


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect.
« Reply #19 on: January 07, 2011, 11:28:32 PM »
The file seems to have retained the address however.

[root@localhost galloway]# cat /etc/sysconfig/network-scripts/ifcfg-wlan0
DEVICE=wlan0
BOOTPROTO=dhcp
IPADDR=192.168.1.40
NETMASK=255.255.255.0
ONBOOT=yes
METRIC=35
MII_NOT_SUPPORTED=no
USERCTL=no
RESOLV_MODS=no
WIRELESS_MODE=Managed
WIRELESS_ESSID=RudgeTech
WIRELESS_ENC_KEY=s:Something Stupid
WIRELESS_WPA_DRIVER=wext
WIRELESS_WPA_REASSOCIATE=yes
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=yes
DHCP_CLIENT=dhclient
NEEDHOSTNAME=no
PEERDNS=yes
PEERYP=yes
PEERNTPD=no
[root@localhost galloway]#


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect.
« Reply #20 on: January 07, 2011, 11:42:34 PM »
Thanks muungwana . You have been more than helpful and patient with such an ignorant fool. I have learned a lot from you.


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Wireless card sees the router but won't connect.
« Reply #21 on: January 07, 2011, 11:52:16 PM »
The file seems to have retained the address however.

[root@localhost galloway]# cat /etc/sysconfig/network-scripts/ifcfg-wlan0
DEVICE=wlan0
BOOTPROTO=dhcp
IPADDR=192.168.1.40
NETMASK=255.255.255.0
ONBOOT=yes
METRIC=35
MII_NOT_SUPPORTED=no
USERCTL=no
RESOLV_MODS=no
WIRELESS_MODE=Managed
WIRELESS_ESSID=RudgeTech
WIRELESS_ENC_KEY=s:Something Stupid
WIRELESS_WPA_DRIVER=wext
WIRELESS_WPA_REASSOCIATE=yes
IPV6INIT=no
IPV6TO4INIT=no
ACCOUNTING=yes
DHCP_CLIENT=dhclient
NEEDHOSTNAME=no
PEERDNS=yes
PEERYP=yes
PEERNTPD=no
[root@localhost galloway]#

your previous post before the quoted above says you are getting the same error msg, this output says the interface is set to use dhcp, not a static ip address like i asked you to try and now i am confused. You first set a static address but didnt try the connection, now you tried it but you set the connection back to dhcp.

Can you do it in a systematic way?

First set the connection to use a static address, by making sure you have "BOOTPROTO=static" in that text file and then try to connect and then report the output of the connection trial.

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect.
« Reply #22 on: January 08, 2011, 12:19:45 AM »


This screen shot shows me with BOOTPROTO=static and then trying the connection.



-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Wireless card sees the router but won't connect.
« Reply #23 on: January 08, 2011, 12:30:40 AM »

what happen when you try to connect to "erichope" network? can you?, i hope he wont mind you doing it for a few seconds for troubleshooting purpose  :D

so, the log file does not contain something like this below when you set a static ip address and try to connect?

Quote
Jan  8 06:22:57 localhost klogd: wlan0: direct probe to AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 06:22:57 localhost klogd: wlan0: direct probe responded
Jan  8 06:22:57 localhost klogd: wlan0: authenticate with AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 06:22:57 localhost klogd: wlan0: authenticated
Jan  8 06:22:57 localhost klogd: wlan0: associate with AP 00:1d:7e:0b:70:fd (try 1)
Jan  8 06:22:57 localhost klogd: wlan0: RX AssocResp from 00:1d:7e:0b:70:fd (capab=0x411 status=12 aid=4)
Jan  8 06:22:57 localhost klogd: wlan0: AP denied association (code=12)
Jan  8 06:22:57 localhost klogd: wlan0: deauthenticating from 00:1d:7e:0b:70:fd by local choice (reason=3)
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect.
« Reply #24 on: January 08, 2011, 12:38:43 AM »
The log file in the background is the log file "AFTER" the failure. I set my router up for "NO encryption" just like my friend (wide open) and I still cannot connect.
I am starting to suspect a bad wifi card.?


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect.
« Reply #25 on: January 08, 2011, 12:49:39 AM »
Trying to connect to "erichope" results are the same.


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: Wireless card sees the router but won't connect.
« Reply #26 on: January 08, 2011, 01:03:48 AM »

It could be something wrong with the network applet. You can try another one like "networkmanager" and its associated "nm_applet", a tray application to control wireless connections. It depends on gnome and may pull quite a few gnome libraries with it.

You can also try connection to the access from the command line using "ifconfig" from the command line

This website will get you started: http://www.ghacks.net/2009/04/14/connect-to-a-wireless-network-via-command-line/
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect. (Sorta Solved)
« Reply #27 on: January 08, 2011, 11:57:09 PM »
Soved my problem by installing a Realtek card and downloading the only Realtek driver in the repo. It works but the signal is very weak. At least it connects. It will have to do.
Thanks for all the help muungwana.  ;)


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Xero

  • Sr. Member
  • ****
  • Posts: 468
Re: Wireless card sees the router but won't connect. (Sorta Solved)
« Reply #28 on: January 09, 2011, 12:54:48 PM »
I've had this happen on some machines. Usually restarting the router seems to fix it, and connects fine after that, no idea why.
There is no shame in saying "I don't know".

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9690
  • I'm Just A Dog.
Re: Wireless card sees the router but won't connect. <SOLVED>
« Reply #29 on: January 10, 2011, 03:44:37 PM »
Update.  I am an idiot.  

Once I removed the "Realtek" driver that I was trying to use, and installed the "RaLink" driver that the card needed, it works like a charm. Sorry for the wasted time and effort.

I guess from now on, the first question to me should be "Are you an idiot" to which my reply will be, "Yes".
« Last Edit: January 10, 2011, 03:46:38 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan