LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-17-2007, 07:39 PM   #1
zmanods
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Rep: Reputation: 0
ipw3945 help!


Im running Fedora 6 (2.6.19-1.2911.fc6) KDE and i can not for the life of me get my wireless working.

I have a ipw3945 wireless.
I think i installed ipw3945d and ieee80211 correctly from using freshrpms or ATrpms (cant remember).

When i reboot my computer i see that ipw3945 is indeed running but i still can not configure my wireless in Control Center->Internet and Network->Wireless Network. Everything is grayed out and can not be configured.

I added the following 3 lines to modprobe.conf:
alias eth1 ipw3945
install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.5 ; /sbin/ipw3945d --quiet
remove ipw3945 /sbin/ipw3945d --kill ; /sbin/modprobe -r --ignore-remove ipw3945

I create a new file /etc/sysconfig/network-scripts/ifcfg-eth1 as follows:
ONBOOT=no
USERCTL=yes
PEERDNS=no
TYPE=Wireless
DEVICE=eth1
#HWADDR=xx:xx:xx:xx:xx:xx
BOOTPROTO=dhcp
#ESSID=xxxxxxx
#KEY='xxxxxxxxxxxxxxxxxxxxxxxxxx restricted'
MODE=Managed
RATE=Auto
PEERNTP=no

Question #1
I need to know how to find out the values for HWADDR, ESSID, KEY. Explain like you would to a kid please

Question #2
What do i do after i have this configured.

Question #3
Is there any real easy yum install for all of this?

Question #4
Why is this so damn annoying!
 
Old 02-18-2007, 06:41 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Did you perhaps forget ipw3945 firmware package????

http://zod.freshrpms.net/rpm.html?id=180

And this one???

http://zod.freshrpms.net/rpm.html?id=903
 
Old 02-18-2007, 11:18 AM   #3
zmanods
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Original Poster
Rep: Reputation: 0
It says both of those rpms are already installed. Can you tell me how to (step by step) figure out those missing values. HWADDR, ESSID, KEY. Any examples?

After i correct those values how do i actually start the wireless network?

Also can you tell me ways to check if everything is running ok?

I think i got the hardest part done and thats actually installing it. I just need help now configuring it and actually getting it running.

Thanks in advance.
 
Old 02-18-2007, 02:03 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The HWADDR is the MAC address of the wireless device. The ESSID is the wireless routers broadcast name and the KEY is the password for the wireless router. Both the ESSID and KEY are found on the routers configuration setup. The HWADDR is found by reviewing your /var/log/messages file look for your device eth1. As root type something like;

cat /var/log/messages | grep eth1
Sample results:
Code:
Feb 18 09:53:38 Aspire5000 kernel: wlan0: ethernet device 00:14:a4:36:13:09 using NDIS d
The six digit XX:XX:XX:XX:XX:XX is the MAC address or HWADDR

What does the typed command below show???

iwlist eth1 scan

For example;

Code:
$ iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:0A:E9:09:EC:60
                    ESSID:"MyRouter"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:78/100  Signal level:-46 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=1000
                    Extra:atim=0
FYI: your key belongs in a separate file named keys-eth1 and goes in the same location as your ifcfg-eth1 file (/etc/sysconfig/network-scripts). The format is;

KEY=XXXXXXXXXXXXXXXXXXXXXX
or
KEY=s:some_password_here_in_plain_text

Since the device is not active on boot (ONBOOT=no) you need to active the device yourself, try typing;

ifup eth1

None of the three setting are required in the ifcfg-eth1 file, the only one that might be needed is the KEY which as I explained goes into the keys-eth1 file. If your not using a WEP key then the file is not needed.
 
Old 02-18-2007, 11:27 PM   #5
zmanods
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the response but im still having severe problems.

#1)
sudo cat /var/log/messages | grep eth1
(No results)

#2)
$ ./iwlist eth1 scan
eth1 Interface doesn't support scanning.

#3)
$ ./ifup eth1
ipw3945 device eth1 does not seem to be present, delaying initialization.

Ok so it seems i dont have a eth1 set up. How do i do this? Thanks once again!
 
Old 02-19-2007, 01:04 AM   #6
zmanods
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Something else that may be a problem.

[root@localhost ipw3945-1.2.0]# ./load debug
Killing ipw3945d...done.
No modules unloaded.
insmod: error inserting './ipw3945.ko': -1 Invalid parameters
Load failed.
ipw3945d - regulatory daemon
Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
version: 1.7.22
2007-02-18 23:00:50: ERROR: Could not find Intel PRO/Wireless 3945ABG Network Connection
..done.
 
Old 02-19-2007, 02:39 AM   #7
zmanods
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Original Poster
Rep: Reputation: 0
First of all thank you for help and your patience with me.

So after fucking around with it for awhile i finally got those commands working. I had to rebuild all the drivers and crap. I see my wifi light on my computer is actually on (but blinking like crazy?)

Anyway..
Code:
sudo cat /var/log/messages | grep eth1
Feb 18 23:07:56 localhost system-config-network[5758]: ln //etc/sysconfig/network-scripts//ifcfg-eth1 //etc/sysconfig/networking/devices//ifcfg-eth1
Feb 18 23:07:56 localhost system-config-network[5758]: Linking eth1 to devices and putting it in profile default.
Feb 18 23:07:56 localhost system-config-network[5758]: ln //etc/sysconfig/networking/devices//ifcfg-eth1 //etc/sysconfig/networking/profiles//default/ifcfg-eth1
Feb 18 23:07:59 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:08:05 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:08:05 localhost NetworkManager: <information> eth1: Device is fully-supported using driver 'ipw3945'.
Feb 18 23:08:05 localhost NetworkManager: <information> Now managing wireless (802.11) device 'eth1'.
Feb 18 23:08:05 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:08:25 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:10:02 localhost system-config-network[5758]: -+ //etc/modprobe.conf   eth1 alias ipw3945
Feb 18 23:10:02 localhost system-config-network[5758]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:10:02 localhost system-config-network[5758]: ln //etc/sysconfig/networking/devices/keys-eth1 //etc/sysconfig/networking/profiles//default/keys-eth1
Feb 18 23:10:02 localhost system-config-network[5758]: ln //etc/sysconfig/networking/devices//keys-eth1 //etc/sysconfig/network-scripts//keys-eth1
Feb 18 23:10:04 localhost kernel: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Feb 18 23:10:04 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
Feb 18 23:10:06 localhost avahi-daemon[2884]: New relevant interface eth1.IPv6 for mDNS.
Feb 18 23:10:06 localhost avahi-daemon[2884]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::218:deff:fe82:bea3.
Feb 18 23:10:06 localhost avahi-daemon[2884]: Registering new address record for fe80::218:deff:fe82:bea3 on eth1.
Feb 18 23:10:07 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Feb 18 23:10:11 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
Feb 18 23:10:16 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
Feb 18 23:10:27 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
Feb 18 23:10:41 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
Feb 18 23:10:49 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
Feb 18 23:10:59 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
Feb 18 23:11:40 localhost system-config-network[5758]: -+ //etc/modprobe.conf   eth1 alias ipw3945
Feb 18 23:11:40 localhost system-config-network[5758]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:11:41 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
Feb 18 23:11:48 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
Feb 18 23:12:00 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
Feb 18 23:12:14 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
Feb 18 23:12:26 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
Feb 18 23:12:38 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Feb 18 23:13:26 localhost avahi-daemon[2884]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::218:deff:fe82:bea3.
Feb 18 23:13:26 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:17:31 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
Feb 18 23:17:34 localhost avahi-daemon[2919]: New relevant interface eth1.IPv6 for mDNS.
Feb 18 23:17:34 localhost avahi-daemon[2919]: Joining mDNS multicast group on interface eth1.IPv6 with address fe80::218:deff:fe82:bea3.
Feb 18 23:17:34 localhost avahi-daemon[2919]: Registering new address record for fe80::218:deff:fe82:bea3 on eth1.
Feb 18 23:17:35 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
Feb 18 23:17:38 localhost NetworkManager: <information> eth1: Device is fully-supported using driver 'ipw3945'.
Feb 18 23:17:38 localhost NetworkManager: <information> Now managing wireless (802.11) device 'eth1'.
Feb 18 23:17:38 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:17:38 localhost avahi-daemon[2919]: Withdrawing address record for fe80::218:deff:fe82:bea3 on eth1.
Feb 18 23:17:38 localhost avahi-daemon[2919]: Leaving mDNS multicast group on interface eth1.IPv6 with address fe80::218:deff:fe82:bea3.
Feb 18 23:17:38 localhost avahi-daemon[2919]: Interface eth1.IPv6 no longer relevant for mDNS.
Feb 18 23:17:46 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
Feb 18 23:18:05 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 20
Feb 18 23:18:25 localhost dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
Feb 18 23:19:48 localhost system-config-network[3542]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:19:59 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:21:40 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:21:58 localhost system-config-network[3542]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:22:24 localhost system-config-network[3542]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:22:25 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:22:47 localhost system-config-network[3542]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:22:51 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:23:27 localhost system-config-network[3542]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:23:40 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:24:01 localhost system-config-network[3542]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:41:34 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:43:00 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:43:00 localhost NetworkManager: <information> eth1: Device is fully-supported using driver 'ipw3945'.
Feb 18 23:43:00 localhost NetworkManager: <information> Now managing wireless (802.11) device 'eth1'.
Feb 18 23:43:00 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:45:39 localhost system-config-network[3636]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:46:06 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:47:09 localhost system-config-network[3636]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:49:31 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:50:52 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:51:03 localhost NetworkManager: <WARNING>      nm_system_device_get_system_config (): Network configuration for device 'eth1' was invalid (non-DHCP configuration, but no IP address specified.  Will use DHCP instead.
Feb 18 23:51:03 localhost NetworkManager: <information> eth1: Device is fully-supported using driver 'ipw3945'.
Feb 18 23:51:03 localhost NetworkManager: <information> Now managing wireless (802.11) device 'eth1'.
Feb 18 23:51:03 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:52:21 localhost system-config-network[3516]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:52:44 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:53:28 localhost system-config-network[3516]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 18 23:55:04 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:57:09 localhost NetworkManager: <information> Deactivating device eth1.
Feb 18 23:58:50 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 18 23:58:50 localhost NetworkManager: <information> eth1: Device is fully-supported using driver 'ipw3945'.
Feb 18 23:58:50 localhost NetworkManager: <information> Now managing wireless (802.11) device 'eth1'.
Feb 18 23:58:50 localhost NetworkManager: <information> Deactivating device eth1.
Feb 19 00:00:32 localhost system-config-network[3414]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 19 00:00:32 localhost system-config-network[3414]: ln //etc/sysconfig/networking/devices//ifcfg-eth1 //etc/sysconfig/network-scripts//ifcfg-eth1
Feb 19 00:00:52 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:01:21 localhost system-config-network[3414]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 19 00:01:47 localhost system-config-network[3414]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 19 00:02:00 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:02:52 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:16:11 localhost system-config-network[4162]: rm //etc/sysconfig/networking/devices/keys-eth1
Feb 19 00:16:11 localhost system-config-network[4162]: rm //etc/sysconfig/network-scripts//keys-eth1
Feb 19 00:16:11 localhost system-config-network[4162]: rm //etc/sysconfig/networking/profiles/default/ifcfg-eth1
Feb 19 00:16:11 localhost system-config-network[4162]: rm //etc/sysconfig/networking/profiles/default/keys-eth1
Feb 19 00:18:30 localhost NetworkManager: <information> Deactivating device eth1.
Feb 19 00:19:56 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:20:06 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:20:06 localhost NetworkManager: <information> eth1: Device is fully-supported using driver 'ipw3945'.
Feb 19 00:20:06 localhost NetworkManager: <information> Now managing wireless (802.11) device 'eth1'.
Feb 19 00:20:06 localhost NetworkManager: <information> Deactivating device eth1.
Feb 19 00:20:58 localhost system-config-network[3612]: rm //etc/sysconfig/networking/devices//ifcfg-eth1
Feb 19 00:20:58 localhost system-config-network[3612]: ln //etc/sysconfig/network-scripts//ifcfg-eth1 //etc/sysconfig/networking/devices//ifcfg-eth1
Feb 19 00:20:58 localhost system-config-network[3612]: Linking eth1 to devices and putting it in profile default.
Feb 19 00:20:58 localhost system-config-network[3612]: ln //etc/sysconfig/networking/devices//ifcfg-eth1 //etc/sysconfig/networking/profiles//default/ifcfg-eth1
Feb 19 00:22:11 localhost system-config-network[3612]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 19 00:22:11 localhost system-config-network[3612]: ln //etc/sysconfig/networking/devices/keys-eth1 //etc/sysconfig/networking/profiles//default/keys-eth1
Feb 19 00:22:11 localhost system-config-network[3612]: ln //etc/sysconfig/networking/devices//keys-eth1 //etc/sysconfig/network-scripts//keys-eth1
Feb 19 00:22:12 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:22:43 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:23:20 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:30:27 localhost system-config-network[5009]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 19 00:30:29 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
Feb 19 00:30:50 localhost system-config-network[5009]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-eth1
Feb 19 00:30:52 localhost kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready
And

Code:
$ sudo /sbin/iwlist eth1 scan
eth1      Scan completed :
          Cell 01 - Address: 00:12:88:B0:10:29
                    ESSID:"2WIRE465"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=99/100  Signal level=-22 dBm  Noise level=-22 dBm
                    Extra: Last beacon: 704ms ago
So it looks like my card is working no? It is picking up my wireless network.

But when i try ifup..

Code:
# /sbin/ifup eth1

Determining IP information for eth1... failed; no link present.  Check cable?

So is my card almost working? What do you think about the fact its blinking like crazy? Usually (with my dual boot XP, the light is constantly on)

Thanks once again.


Also, Should i be using the rpms from repositories or should i be manually building the drivers?

Last edited by zmanods; 02-19-2007 at 02:45 AM.
 
Old 02-19-2007, 06:29 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
It is trying to find an AccessPoint, try adding a line in your ifcfg-eth1 file;

GATEWAY=The_router's_internal_IP_address_here
Example:
GATEWAY=192.168.1.1

Also add a line line: CHANNEL=6

It is advisable to turn off WEP on the router until you get this working.
 
  


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
ipw3945 Crooksey Debian 2 02-02-2007 06:54 AM
IPW3945 Troubles haxxorboi Linux - Laptop and Netbook 5 01-04-2007 04:18 PM
IPW3945 Troubles haxxorboi Linux - Hardware 2 01-04-2007 01:00 AM
ipw3945 under etch h3xis Debian 2 12-19-2006 05:13 PM
Another ipw3945 problem securitybreach Slackware 0 11-24-2006 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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