LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 08-28-2008, 03:10 AM   #1
CompiMan
Member
 
Registered: Dec 2004
Location: Sweden
Distribution: Debian 5
Posts: 31

Rep: Reputation: 15
Configure wireless net on slackware 12.1


Hi!

I tried for almost 3 h to configure my wireless on my laptop and I am to this point. It recognize that I have a wireless net but I cant use it.

the iwconfig output:

eth1
IEEE 802.11b/g ESSID:"SpeedTouchFA888B" Nickname:"zd1211"
Mode:Managed Frequency:2.437 GHz Access Point:
00 : 90 : D0 : FF : B1 : D4
Bit Rate=24 Mb/s
Encryption key:41E8-5CF9-32 Security mode:restricted
Link Quality=100/100 Signal level=42/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

some information of my hardware and soft:
I am running Slackware Linux 2.6.24.5-smp on laptop EASYNOTE MV51-B-018.
My computer home site is:
http://support.packardbell.com/se/it...&pn=PB60M01268
My router is Thomson st585 v6.

Please guys tell me what configuration file to edit for my wireless net to come to life. I red from Slackware book and did what is there but still wireless don't work.

When I use KWIFIManager it detect my network and the signal is strength 90-100 but I cant use my wireless.
I have a usual net on eth0 and this is running just fine...and the second card eth1 I used to configure wireless on it...but doesn't work.
When I unplug my network cable and want to use wireless I can't navigate on internet, no net detected.
Can somebody explain me what to do...please

My ifconfig output is:


eth0
Link encap:Ethernet HWaddr 00:40:d0:a2:fe:51
inet addr:192.168.0.66 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:d0ff:fea2:fe51/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1729 errors:0 dropped:0 overruns:0 frame:0
TX packets:4453 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:255005 (249.0 KiB) TX bytes:601814 (587.7 KiB)
Interrupt:18 Base address:0xa000

eth1
Link encap:Ethernet HWaddr 00:60:b3:62:6e:f0
inet6 addr: fe80::260:b3ff:fe62:6ef0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6046 errors:165 dropped:82 overruns:0 frame:165
TX packets:375 errors:12 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5380153 (5.1 MiB) TX bytes:15390 (15.0 KiB)

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:3615 errors:0 dropped:0 overruns:0 frame:0
TX packets:3615 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:495281 (483.6 KiB) TX bytes:495281 (483.6 KiB)

Thanks a lot if somebody help me.
 
Old 08-28-2008, 04:56 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
It would help if you told us what you actually did so far.

Basically, you edit /etc/rc.d/rc.inet1.conf for any wired and wireless settings for your interfaces and additionally edit /etc/wpa_supplicant.conf if your Access Point uses WPA encryption.
No other files need editing.

Looking at your "iwconfig" output (and next time please use the CODE tags to make it readable) your card is already associated to the Access Point and I guess it uses WEP for that.
This would mean that your only task left is to tell Slackware that it should run a DHCP client.

Code:
USE_DHCP[1]="yes"
Here is the original rc.inet1.conf in case you want to examine the examples contained in the file... it will all get overwritten by the "netconfig" command and probably by Kwifimanager too (don't use that tool, it will not work with Slackware).
 
Old 08-28-2008, 06:41 AM   #3
CompiMan
Member
 
Registered: Dec 2004
Location: Sweden
Distribution: Debian 5
Posts: 31

Original Poster
Rep: Reputation: 15
Hi!

Thanks for your help.

I did those editing and my files look like this:

the file in /etc/rc.d/rc.inet1.conf looks like (without those standard comment lines):

Code:
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""

#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]="255.255.255.0"
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]=SpeedTouchFA888B
WLAN_MODE[4]=Managed
WLAN_RATE[4]="54M auto"
#WLAN_CHANNEL[4]="auto"
WLAN_KEY[4]="mycode"
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
WLAN_WPA[4]="mycode"
#WLAN_WPADRIVER[4]="ndiswrapper"

My other file from /etc/wpa_supplicant.conf is:
Code:
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
  scan_ssid=0
  ssid="SpeedTouchFA888B"
  proto=WPA
  key_mgmt=mycode
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk=mycode
}

# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
  key_mgmt=NONE
  priority=0
}

my output to command "./rc.inet1"

Code:
./rc.inet1:  eth1 information: 'Generic'
Error for wireless request "Set Nickname" (8B1C):
	SET failed on device eth1; Operation not supported.
Polling for DHCP server on interface eth1:
No carrier detected on eth1.  Reducing DHCP timeout to 10 seconds.
dhcpcd: MAC address = 00:60:b3:62:6e:f0

Should I not edit anything in file /etc/rc.d/rc.wireless.conf.
And one question more.
How can I say to my system to use eth1 and not eth0, or how can I activate one card and deactivate the other?

Thanks
 
Old 08-28-2008, 08:57 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
The file /etc/rc.d/rc.wireless.conf is not required, every wireless setting can be configured in /etc/rc.d/rc.inet1.conf as well. I prefer to keep all my network settings in one file.

Now, I see that you mixed up some things in rc.inet1.conf.
For your eth1, you should use the array elements xxxx[1] and not xxxx[4]. And your current wpa_supplicant.conf file will always give priority to a non-encrypted network.

Your rc.inet1.conf file should have this:
Code:
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""
WLAN_ESSID[1]=SpeedTouchFA888B
WLAN_MODE[1]=Managed
WLAN_RATE[1]="54M auto"
WLAN_KEY[1]="mycode"
WLAN_WPA[1]="mycode"
And wpa_supplicant.conf if you use it, should read:
Code:
# This line enables the use of wpa_cli which is used by rc.wireless
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
  scan_ssid=0
  ssid="SpeedTouchFA888B"
  proto=WPA
  key_mgmt=mycode
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk=mycode
}
Eric
 
Old 09-01-2008, 07:09 AM   #5
CompiMan
Member
 
Registered: Dec 2004
Location: Sweden
Distribution: Debian 5
Posts: 31

Original Poster
Rep: Reputation: 15
finally my wireless work

Hi to all Slackware users...

My wireless connection come to live under Slackware 12.1.

Thanks to all who wrote to me for helping me.

What I did? Simple, I red what other have did and I did some practice myself...

I show in some easy steps what I did for my network to work:
1. First I installed "wicd".
2. I installed the required package needed for "wicd" to work under GUI: dbus-python and pyGTK.
3. and this is the most important think, I forgot it and I lost a lot of time for it. If you work on laptop has a button which deactivate wireless, please turn it on before losing a precious time like me ...

Read also this http://slackbuilds.org/repository/12.1/network/wicd/.



I have also a question. A program (wicd) start each time when I log into GUI and ask for root password, for this program can't run in user mode.
Which file should I edit for that program not to start each time I log into GUI... I think is a file who run auto script each time I login into GUI.
Can somebody help me?

Thanks,
and best regards.
 
Old 10-01-2008, 04:53 PM   #6
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
I have a similiar problem. I used USB wifi
Code:
2:3 0b05:171b USB Vendor Specific Class: USB2.0 WLAN (zd1211rw)
successfuly on Asus A9RP laptop with zd1211rw driver on Slackware clones such as Vector, Zenwalk and Ultima. I installed Slackware (prepared from current) and wifi works no more. Strange because
Code:
iwlist scan
shows my network

also setting acces point and WEP password seems to work
Code:
iwconfig eth1 essid "network"
iwconfig eth1 key "s:key"
However I failed to obtain IP via dhcpcd. I downgraded kernel and modules from 2.6.24.7 (current) to 2.6.24.5 (12.1). No results. In logs I can read:
Code:
Sep 29 15:42:30 darkstar kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
As I said the same method works on slackware clones with older kernel/software.

No idea what is wrong, firmware is loaded to /lib/firmware/zd1211.

Maybe there is something missing in the kernel?

When I use Ultima Linux (which is Slackware clone) with kernel 2.6.24.3 wifi works great. I see in messages:
Code:
Sep 29 15:45:05 men4 kernel: zd1211rw 2-6:1.0: eth1
Sep 29 15:45:05 men4 kernel: usbcore: registered new interface driver zd1211rw
Sep 29 15:45:05 men4 kernel: zd1211rw 2-6:1.0: firmware version 4725
Sep 29 15:45:05 men4 kernel: zd1211rw 2-6:1.0: zd1211b chip 0b05:171b v4802 high 00-1a-92 AL2230_RF pa0 g----
and no errors.

Code:
Sep 29 15:35:50 darkstar kernel: zd1211rw 1-6:1.0: eth1
Sep 29 15:35:50 darkstar kernel: usbcore: registered new interface driver zd1211rw
Sep 29 15:35:51 darkstar kernel: zd1211rw 1-6:1.0: firmware version 4725
Sep 29 15:35:51 darkstar kernel: zd1211rw 1-6:1.0: zd1211b chip 0b05:171b v4802 high 00-1a-92 AL2230_RF pa0 g----
The difference is: zd1211rw 2-6 and zd1211rw 1-6. However I have no idea if this is responsible.
 
Old 11-14-2008, 04:06 PM   #7
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
Quote:
Originally Posted by witek View Post
I have a similiar problem.
The problem is over with kernel 2.6.27.5 from current on Nov 11th, 2008 :-)
 
  


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
Slackware Wireless Configure instructions randy963 Linux - Wireless Networking 0 01-22-2007 09:26 AM
slackware net configure padmakar Linux - Newbie 1 11-21-2006 02:49 AM
HP Officjet software install slackware - "configure: error: cannot find net-snmp" Old_Fogie Linux - Hardware 1 05-03-2006 01:01 PM
How to configure Net in Slackware? kornerr Slackware 23 01-14-2005 05:45 PM
Accesing wireless net connection in Slackware 10 NeoMetal Linux - Wireless Networking 5 08-31-2004 03:41 PM

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

All times are GMT -5. The time now is 09:15 PM.

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