LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-23-2008, 08:18 PM   #1
Knocker
LQ Newbie
 
Registered: May 2008
Location: Planet Earth
Distribution: Ubuntu, Slackware
Posts: 8

Rep: Reputation: 0
Wireless connection issue...


Hello, I'm having an issue getting my wireless to work on Slack 12.1. This is my setup...

ifconfig shows...

Code:
eth0      Link encap:Ethernet  HWaddr 00:1b:38:6f:7d:94  
          inet addr:192.168.0.103  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:38ff:fe6f:7d94/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2310 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1949 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2725418 (2.5 MiB)  TX bytes:289998 (283.2 KiB)
          Interrupt:17 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1190 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1190 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:60084 (58.6 KiB)  TX bytes:60084 (58.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:1b:77:8e:a0:24  
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-1B-77-8E-A0-24-65-74-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)
My rc.wireless config shows...

Code:
## Pick up any Access Point, should work on most 802.11 cards
00:1b:77:8e:a0:24)
    INFO="Wlan0"
    ESSID="SlackRouter"    
    MODE="Managed"
    CHANNEL="6"
    RATE="auto"
#    KEY="0123-4567-89AB-CDEF-0123-4567-89"
     KEY="******************"
;;
My /etc/wpa_supplicant.conf is...

Code:
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
  scan_ssid=0
  ssid="SlackRouter"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk=******************
}
When I reboot or run /etc/rc.d/rc.inet1.conf restart I get nothing.
Any ideas on how I can fix this issue?
 
Old 05-23-2008, 08:29 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

What does your '/etc/rc.d/rc.inet1.conf' show? By chance have you run 'netconfig'?
 
Old 05-23-2008, 08:32 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

BTW, it is '/etc/rc.d/rc.inet1 restart'.
 
Old 05-23-2008, 08:59 PM   #4
Knocker
LQ Newbie
 
Registered: May 2008
Location: Planet Earth
Distribution: Ubuntu, Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Yeah, I meant to type /etc/rc.d/rc.inet1 restart

I've tried multiple configurations in my rc.inet1.conf file, but nothing good comes out of it. At most I think all I would need is USE_DHCP[4]="yes", but please correct me if I'm wrong. Right now my config looks like this...

Code:
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="LapBox"
DHCP_KEEPRESOLV[4]="yes"
DHCP_KEEPNTP[4]="yes"
DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=
#WLAN_MODE[4]=Managed
#WLAN_RATE[4]="54M auto"
#WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=*****"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
 
Old 05-23-2008, 09:05 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

You should add your gateway to the 'etc/rc.d/rc.inet1.conf';

Code:
GATEWAY="192.168.1.1"     #change to your gw
 
Old 05-23-2008, 10:34 PM   #6
Knocker
LQ Newbie
 
Registered: May 2008
Location: Planet Earth
Distribution: Ubuntu, Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I altered a few lines in my config files and are getting errors. My new config files read...

rc.wireless.conf

Code:
00:1B:77:8E:A0:24)
    INFO="wlan0"
    ESSID="SlackRouter"
    MODE="Managed"
    CHANNEL="6"
    RATE="auto"
    WPA="wpa_supplicant"
    WPADRIVER="wext"
    WLAN_WPACONF="/etc/wpa_supplicant.conf"
rc.inet1.conf

Code:
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]=""
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=SlackRouter
#WLAN_MODE[4]=Managed
#WLAN_RATE[4]="54M auto"
#WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5
b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
My errors are...

Code:
root@LapBox/etc/rc.d$/etc/rc.d/rc.inet1 wlan0_restart
/etc/rc.d/rc.inet1:  wlan0 information: 'wlan0'
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
Polling for DHCP server on interface wlan0:
dhcpcd: MAC address = 00:1b:77:8e:a0:24
root@LapBox/etc/rc.d$
I've been troubleshooting this gripe for a good 3+ hrs now. Any help is greatly appreciated.
 
Old 05-23-2008, 10:58 PM   #7
Knocker
LQ Newbie
 
Registered: May 2008
Location: Planet Earth
Distribution: Ubuntu, Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Well a simple reboot with the last configs I posted seemed to have fixed my issue. Thanks for all your help.
 
Old 05-24-2008, 07:08 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

When you start, restart or stop the inet use '/etc/rc.d/rc.inet1 [start,restart or stop]'. Just select the keyword for the desired action without quotes or brackets.
 
Old 05-24-2008, 12:09 PM   #9
Knocker
LQ Newbie
 
Registered: May 2008
Location: Planet Earth
Distribution: Ubuntu, Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Yeah, I was using those commands the whole time but kept getting an error about Set Nickname" (8B1C). Oh well.. it works now
 
  


Reply



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
[SOLVED] DSL connection slow on Linux wired connection but fast on Windows wireless Pandarsson Linux - Wireless Networking 9 12-17-2010 05:55 PM
Dell Latitude D600 wireless connection issue Risatar22 Linux - Laptop and Netbook 12 01-09-2008 06:25 PM
Wireless card..Wireless router.. Slackware 10.2 ..Problems with Internet Connection. Storm Bringer Linux - Wireless Networking 4 03-23-2006 06:25 AM
wireless connection ok with knoppix dvd , no connection with installed fedora 4 docharmony Linux - Wireless Networking 2 11-27-2005 04:33 PM
Wireless connection issue with Suse 9.1 and Dell TrueMobile 1300 berbsd Linux - Laptop and Netbook 3 05-19-2004 10:07 AM

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

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