LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-06-2014, 10:11 AM   #1
Quicken2k
Member
 
Registered: Mar 2009
Posts: 48

Rep: Reputation: 3
Wireless ralink on fresh install


I can't seem to setup my wireless network I'm in console only (fresh install). I selected NetworkManger during the setup program, I have a router. wpa_supplicant just connects and disconnects. Any ideas?


My wpa_supplicant output when manually run

Code:
wlan0: Associated with 20:aa:4b:ff:6f:a7
wlan0: CTRL-EVENT-DISCONNECTED bssid=20:aa:4b:ff:6f:a7 reason=0
wlan0: Trying to associate with 20:aa:4b:ff:6f:a7 (SSID='dasilvam' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 20:aa:4b:ff:6f:a7
wlan0: CTRL-EVENT-DISCONNECTED bssid=20:aa:4b:ff:6f:a7 reason=0
wlan0: Trying to associate with 20:aa:4b:ff:6f:a7 (SSID='dasilvam' freq=2437 MHz)
wpa_supplicant.conf

Code:
# wpa_supplicant.conf


ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
        ssid="dasilvam"
        key_mgmt=WPA-PSK
        pairwise=CCMP
        group=CCMP
        psk=5378156f5e124f4b120aa7d5b4fffa355f41383db7f49e9acde2775eab1d4c0d
}
pairwise and group and key_mgmt were added manually by me.


DHCPCD output

Code:
root@dasilvam:~# ping www.google.ca
ping: unknown host www.google.ca
root@dasilvam:~# dhcpcd wlan0
dhcpcd[967]: version 6.0.5 starting
dhcpcd[967]: wlan0: waiting for carrier
dhcpcd[967]: timed out
dhcpcd[967]: allowing 8 seconds for IPv4LL timeout
dhcpcd[967]: timed out
dhcpcd[967]: exited
Quicken2k
Mark
 
Old 06-07-2014, 04:33 AM   #2
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,642

Rep: Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371
wheel GROUP, isn't used in slackware.
 
Old 06-07-2014, 04:55 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
If you enabled networkmanager, then /etc/wpa_supplicant.conf is not used. Instead you need to configure your wireless parameters in a GUI. Either the network-manager-applet in XFCE (a Gnome application) or the networkmanager of KDE is available for that.

Quote:
Originally Posted by gmgf View Post
wheel GROUP, isn't used in slackware.
I depend on it all the time. Does that count as "used in Slackware"?

Eric
 
Old 06-07-2014, 08:24 AM   #4
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,642

Rep: Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371
wheel GROUP, is present, on slackware, but it's no really used like in BSD, i think.
 
Old 06-07-2014, 11:07 AM   #5
Quicken2k
Member
 
Registered: Mar 2009
Posts: 48

Original Poster
Rep: Reputation: 3
Ok I Switch it use dhcpcd instead of NetworkManager as I don't want a GUI right now added wpa_supplicant command to rc.local.


Now I get this output when dhcpcd is run, but still no internet connection.

Code:
Successfully initialized wpa_supplicant
Polling for DHCP server on interface wlan0:
dhcpcd[691]: version 6.0.5 starting
dhcpcd[691]: wlan0: soliciting a DHCP lease
dhcpcd[691]: wlan0: offered 192.168.1.119 from 192.168.1.1 `ecosystem.home.cisco.com'
dhcpcd[691]: wlan0: leased 192.168.1.119 for 86400 seconds
dhcpcd[691]: wlan0: adding host route to 192.168.1.119 via 127.0.0.1
dhcpcd[691]: wlan0: adding route to 192.168.1.0/24
dhcpcd[691]: wlan0: adding default route via 192.168.1.1
dhcpcd[691]: forked to background, child pid 730
Quicken2k
Mark
 
Old 06-07-2014, 12:56 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
Quote:
Originally Posted by Quicken2k View Post
Ok I Switch it use dhcpcd instead of NetworkManager as I don't want a GUI right now added wpa_supplicant command to rc.local.


Now I get this output when dhcpcd is run, but still no internet connection.

Code:
Successfully initialized wpa_supplicant
Polling for DHCP server on interface wlan0:
dhcpcd[691]: version 6.0.5 starting
dhcpcd[691]: wlan0: soliciting a DHCP lease
dhcpcd[691]: wlan0: offered 192.168.1.119 from 192.168.1.1 `ecosystem.home.cisco.com'
dhcpcd[691]: wlan0: leased 192.168.1.119 for 86400 seconds
dhcpcd[691]: wlan0: adding host route to 192.168.1.119 via 127.0.0.1
dhcpcd[691]: wlan0: adding route to 192.168.1.0/24
dhcpcd[691]: wlan0: adding default route via 192.168.1.1
dhcpcd[691]: forked to background, child pid 730
Quicken2k
Mark
Looks like the WPA association works. Otherwise dhcpcd would not be able to get an IP address.
If you can not resolve hostnames, then dhcpcd has not configured /etc/resolv.conf for you. Usually the DHCP server informs the DHCP client which IP addresses to use for hostname resolving - those IP addresses will be written to /etc/resolv.conf .

You can still test whether you have internet connectivity, using ping.

First, ping your local gateway, 192.168.1.1. That should answer for sure.
Then if you got replies, ping one of Google's public DNS servers, 8.8.8.8 .

If that works you can add these lines to /etc/resolv.conf manually:
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
This should get your Internet access working.

Eric
 
  


Reply

Tags
ralink, slackware, 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
Slackware 13.37 fresh install - wireless troubles. lkz Linux - Newbie 1 08-25-2012 10:04 AM
[SOLVED] wireless: from a fresh install? pottzie Slackware - Installation 18 10-04-2010 10:35 AM
Help me install Ralink RT2870STA USB wireless driver ks8 Debian 14 04-29-2010 03:51 AM
USB and Wireless problem in Kubuntu fresh install jiml8 Ubuntu 1 11-25-2007 08:52 PM
Ralink 2400 Cnet Wireless 311 pci card -driver install hnash53 Linux - Wireless Networking 2 07-26-2005 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:07 AM.

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
Open Source Consulting | Domain Registration