Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
05-18-2008, 12:24 PM
|
#1
|
|
Member
Registered: Oct 2006
Location: HELLAS
Distribution: Slackware 12.1
Posts: 47
Rep:
|
Wireless autoconnect (error for wireless request "set Nickname" (8B1C))
Hello.i am trying to configure my wireless.It works but if i try to configure for autoconnect at startup using static ip it faild.
wirelees card=linksys wmp54g
slackware=12.1
router=linksys
driver=ndiswrapper
Quote:
error for wireless request "set Nickname" (8B1C)
set faild on device wlan0 ; operation not supported
|
My configurations
wpa_supplicant.conf
Code:
# WPA protected network, supply your own ESSID and
WPAPSK here:
network={
scan_ssid=0
ssid="linksys"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="mykey"
}
rc.wireless.conf
Quote:
## Pick up any Access Point, should work on most 802.11 cards
*)
INFO="linksys"
ESSID="linksys"
;;
## ---------- END SECTION TO REMOVE ------------
|
rc.inet1.conf
Quote:
IFNAME[4]="wlan0"
#IPADDR[4]="192.168.1.5"
NETMASK[4]="255.255.255.0"
#SE_DHCP[4]="no"
DHCP_HOSTNAME[4]=""
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]="linksys"
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=96389dc66eaf7e6efd5b5523ae43c7925ff4$
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="ndiswrapper"
|
messages log
Quote:
May 17 17:59:15 server logger:/etc/rc.d/rc.inet1:
/sbin/route add default gw 192.168.1.1 metric 1
May 17 17:59:15 server logger: SIOCADDRT: No such process
May 17 17:59:19 server logger: /etc/rc.d/rc.inet1: /sbin/iwconfig wlan0 mode Managed
May 17 17:59:19 server logger: /etc/rc.d/rc.inet1: /sbin/iwconfig wlan0 nick server
May 17 17:59:19 server logger: /etc/rc.d/rc.inet1: /sbin/iwconfig wlan0 essid "linksys"
May 17 17:59:19 server logger: /etc/rc.d/rc.inet1: wpa_supplicant -Bw -c/etc/wpa_supplicant.conf -Dndiswrapp$
May 17 18:00:20 server logger: WPA authentication did not complete, try running '/etc/rc.d/rc.inet1 wlan0_sta$
May 17 18:00:23 server logger: /etc/rc.d/rc.inet1: /sbin/route add default gw 192.168.1.1 metric 1
May 17 18:00:23 server logger: SIOCADDRT: No such process
May 17 18:00:23 server logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
May 17 18:00:23 server logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
May 17 18:00:26 server logger: /etc/rc.d/rc.M: /sbin/iwconfig wlan0 mode Managed
May 17 18:00:26 server logger: /etc/rc.d/rc.M: /sbin/iwconfig wlan0 nick server
May 17 18:00:26 server logger: /etc/rc.d/rc.M: /sbin/iwconfig wlan0 essid "linksys"
May 17 18:00:26 server logger: /etc/rc.d/rc.M: wpa_supplicant found running already
May 17 18:01:27 server logger: WPA authentication did not complete, try running '/etc/rc.d/rc.inet1 wlan0_sta$
May 17 18:01:30 server logger: /etc/rc.d/rc.inet1: /sbin/route add default gw 192.168.1.1 metric 1
May 17 18:01:30 server logger: SIOCADDRT: No such process
May 17 18:01:31 server kernel: NET: Registered protocol family 10
May 17 18:01:31 server kernel: lo: Disabled Privacy Extensions
May 17 18:01:31 server kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
|
Last edited by hellasyoda; 05-18-2008 at 12:59 PM.
|
|
|
|
05-18-2008, 05:11 PM
|
#2
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
I think you need to concentrate on getting the ndiswrapper module loaded earlier in the boot process. I don't run slackware, but I think there is a file in /etc/ of the drivers to load first. (It might be called preload) Another option is to include ndiswrapper in your initrd file.
Here is a Ubuntu link using ndiswrapper on the Acer. Some translation to slackware may be necessary. Note the acpi stuff, which may be Acer specific, however you could have a similar issue on your computer. This poster created a startup/shutdown script in /etc/init.d/ that modprobes ndiswrapper.
http://ubuntuforums.org/showthread.php?t=145701
|
|
|
|
05-18-2008, 05:46 PM
|
#3
|
|
Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 13.37, Pardus 2011.2
Posts: 884
Rep:
|
That warning about nickname isn't that important, I have it too with my Broadcom chip but the connection is working.
|
|
|
|
05-19-2008, 05:39 AM
|
#4
|
|
Member
Registered: Oct 2006
Location: HELLAS
Distribution: Slackware 12.1
Posts: 47
Original Poster
Rep:
|
Quote:
Originally Posted by jschiwal
I think you need to concentrate on getting the ndiswrapper module loaded earlier in the boot process. I don't run slackware, but I think there is a file in /etc/ of the drivers to load first. (It might be called preload) Another option is to include ndiswrapper in your initrd file.
|
i installed the package from linuxpackage.I remove it and install it from source.Now the module is load at startup but the same error.
if i restore the old rc.inet1.conf without changes and run these commands
the wireless working.
Quote:
iwconfig wlan0 essid linksys
ifconfig wlan0 192.168.1.5 netmask 255.255.255.0
route add -net default gw 192.168.1.1
route add -net default gw 192.168.1.1
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf &
|
|
|
|
|
05-19-2008, 06:30 AM
|
#5
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,683
Rep: 
|
I see several things wrong in your configuration.
First off, the ndiswrapper no longer requires the use of the "ndiswrapper" driver of wpa_supplicant, instead with modern releases of the kernel and ndiswrapper you should use the "wext" driver. Read my info at http://alien.slackbook.org/dokuwiki/...reless_network
Second, the line
Code:
#IPADDR[4]="192.168.1.5"
will prevent the card from getting an IP address even if you would get the WPA configuration to work.
What I would do: - Delete /etc/rc.d/rc.wireless.conf (it is not needed and you can keep all your settings in /etc/rc.d/rc.inet1.conf)
- Have this in your /etc/wpa_supplicant.conf file:
Code:
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0
ssid="linksys"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=your_psk_here
}
- Have this as your network configuration for card number [4] in /etc/rc.d/rc.inet1.conf:
Code:
IFNAME[4]="wlan0"
IPADDR[4]="192.168.1.5"
NETMASK[4]="255.255.255.0"
USE_DHCP[4]=""
DHCP_HOSTNAME[4]=""
WLAN_ESSID[4]="linksys"
WLAN_MODE[4]=Managed
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
- And don't forget to set the default gateway in /etc/rc.d/rc.inet1.conf:
Code:
# Default gateway IP address:
GATEWAY="192.168.1.1"
Eric
|
|
|
1 members found this post helpful.
|
05-19-2008, 07:35 AM
|
#6
|
|
Member
Registered: Oct 2006
Location: HELLAS
Distribution: Slackware 12.1
Posts: 47
Original Poster
Rep:
|
ok thanks for replys.I will try but before that i have create another problem.When i try to access to my router through browser (192.168.1.1) i see it works! from my localhost apache server and if i try
Quote:
|
route add -net default gw 192.168.1.1
|
it return no such process
|
|
|
|
05-19-2008, 12:26 PM
|
#7
|
|
Member
Registered: Oct 2006
Location: HELLAS
Distribution: Slackware 12.1
Posts: 47
Original Poster
Rep:
|
ok thanks it works!!Also for my last problem, it solved after restart 
|
|
|
|
05-19-2008, 01:12 PM
|
#8
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,683
Rep: 
|
Good to see that it all works using only the Slackware configuration scripts ;-)
Eric
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:49 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|