LinuxQuestions.org
Review your favorite Linux distribution.
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 08-01-2005, 10:17 PM   #1
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
Wireless Network won't detect IP **UPDATED**


I just installed Slack 10.1 from CDs and I saved most of the files I had from my previous installation. Unfortunately, my reinstallation wasn't flawless. My pcmcia driver is working. I have my rc.wireless.conf configured with the exact same as it was. When the system boots I get something like this...


/etc/rc.d/rc.M "HomeNetwork"
dchcp MAC Address: **some numbers**


Now, usually the next line would normally be the assignment of an IP address 192.168.something). Instead, there is no IP address assignment. When I run "iwconfig" the settings look good. The ESSID is correct and my wep key is correct, but there is something wrong.

Any ideas??

Last edited by tubatodd; 08-04-2005 at 09:40 PM.
 
Old 08-01-2005, 10:25 PM   #2
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 32
If your card requires firmware the location changed between 10 and 10. In 10.1 it is now in /lib/firmware.

If your card required a module to be compiled it will have to be recompile and loaded into kernel modules

Check the output of dmesg if the above two suggestions do not help and post it back here.

Edit: I also recall in the current changelog that the wireless init scripts were changed within the last few days.


Sat Jul 30 13:01:25 PDT 2005
a/smartmontools-5.33-i486-1.tgz: Upgraded to smartmontools-5.33.
a/udev-064-i486-2.tgz: Commented out the new lines in udev.rules. It seems
like these aren't really needed now that the symlink in
/etc/hotplug.d/default/ was restored, and having them there causes a race
race condition that can cause things like wireless adaptors that need to
load firmware to fail to initialize.

n/wireless-tools-27-i486-1.tgz: Upgraded to wireless_tools.27.
Thanks to Eric Hameleers for the improved rc.wireless scripts.
rootdisks/install.*, rootdisks/network.dsk, rootdisks/pcmcia.dsk:
Fix /dev/urandom device (thanks to Daniel de Kok).
Bumped version number to 10.2.
+--------------------------+
Fri Jul 22 13:54:50 PDT 2005


Last edited by shepper; 08-01-2005 at 10:30 PM.
 
Old 08-01-2005, 10:29 PM   #3
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
well, I don't think that is it. I had 10 installed previously. I updated it to Slack current on a regular basis. I need help! It's driving me crazy. I don't know what else to do
 
Old 08-01-2005, 10:36 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
When you said with iwconfig the setting looks good, do you mean it has the IP address assigned and the problem is just on boot?
 
Old 08-01-2005, 10:43 PM   #5
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by gbonvehi
When you said with iwconfig the setting looks good, do you mean it has the IP address assigned and the problem is just on boot?
No....I take that back. The IP address does NOT appear with iwconfig. It says

IEEE 802.11-DS ESSID: "myessid" Nickname: Todd Mode: Managed Frequency: 2.43GHz Access Point: some numbers Bit Rate: 11MB/s and stuff about signal strength.

There is no reference to IP Address. By the way the card is a wpc11 version 3.
 
Old 08-02-2005, 06:22 AM   #6
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Any ideas?

The KDE Wifi tool shows that I have signal strength (although it is eratic even when I am 10 feet from the router. It will be strong and then drop out at random. I had the same issue with my previous installation. Perhaps we can fix that while we're at it.) but there is no IP address. I did a netconfig and it should be setup for the the dchcp to just assign an IP address.
 
Old 08-02-2005, 06:39 AM   #7
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
1. iwconfing never shows IP address, but just WiFI settings

2. usually it is enough when you run as root:

# dhcpcd eth0

or better

# dhcpcd -N -t 10 eth0


if you are connected to access point, you'll get IP. if not, try to connect to AP by running:

# iwconfig eth0 ap <mac address of your access point>
# iwconfig eth0 essid <your essid here>

you can see all the access points with mac adresses by running:

# iwlist eth0 scan
! replace eth0 with your device

M.
 
Old 08-02-2005, 07:07 AM   #8
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by malo_umoran
1. iwconfing never shows IP address, but just WiFI settings

2. usually it is enough when you run as root:

# dhcpcd eth0

or better

# dhcpcd -N -t 10 eth0


I ran both commands and they finished, BUT my NIC is still flashing "not ready"

Quote:

if you are connected to access point, you'll get IP. if not, try to connect to AP by running:

# iwconfig eth0 ap <mac address of your access point>
# iwconfig eth0 essid <your essid here>

you can see all the access points with mac adresses by running:

# iwlist eth0 scan
! replace eth0 with your device

M.
None of those commands worked
 
Old 08-02-2005, 07:10 AM   #9
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
which wireless card do you have?
what does "ifconfig -a" shows about your device?

M.
 
Old 08-02-2005, 10:26 AM   #10
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
How do I set a WEP ou WPA key ?

when connecting using wireless card my computer will have an ip address provided by the wifi card or I will have to do any alias wifh my eth0 card or something? I have two WiFi cards (to bem honest I will get the second this afternoon) One is a Broadcom with ndiswrapper and the other is a DWL 610 pcmcia. Both of them are working perfect. So I can configure my broadcom I have to do what? This is what I suppose:

#ifconfig wlan0 up
#iwlist scan
#iwconfig wlan0 ap [mac address]
#iwconfig wlan0 essid [name gatered on iwlist scan]
#dhcpcd wlan0

This is right ?? Im going to connect today for the first time using linux but the AP doesnt have any encryptation key so I suppose I dont need configure anything more, right? But if I have a WEP encryptation key or a WPA what file I must edit to put this to information ( /etc/rc.d/rc.wireless?) ??

thanks.

Last edited by maginotjr; 08-02-2005 at 10:34 AM.
 
Old 08-02-2005, 07:55 PM   #11
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by maginotjr
How do I set a WEP ou WPA key ? ....................But if I have a WEP encryptation key or a WPA what file I must edit to put this to information ( /etc/rc.d/rc.wireless?) ??

thanks.
This one I can answer. You edit the rc.wireless.conf file. That is where I have my info, ESSID, Key (wep), and Rate.
 
Old 08-02-2005, 07:59 PM   #12
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Here is some information that might help you troubleshoot my issue

root@todd:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:06:25:2B:52:06
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:644 (644.0 b)
Interrupt:3 Base address:0x100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:72 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5832 (5.6 Kb) TX bytes:5832 (5.6 Kb)

[What is lo (loopback) and is it supposed to be installed?]

root@todd:~# iwconfig
lo no wireless extensions.

eth0 IEEE 802.11-DS ESSID:"myESSID" Nickname:"todd"
Mode:Managed Frequency:2.427GHz Access Point: 01:00:09:00:01:00
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:6/3
Retry min limit:1 RTS thr: off Fragment thr=1536 B
Encryption key:2056-3127-17 Security mode: open
Power Management period:0us mode:All packets received
Link Quality:0/92 Signal level:107/153 Noise level:67/153
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



Sample from rc.wireless.conf

## NOTE : Comment out the following five lines to activate the samples below ...
## --------- START SECTION TO REMOVE -----------
## Pick up any Access Point, should work on most 802.11 cards
*)
INFO="HomeNetwork"
ESSID="r011t1d3"
KEY="xxxxxxxxxx"
#Rate="11M"
;;

KwifiManager says

Connected to "my SSID"
AccessPoint: "some long number"
Local IP: Unavailable
Frequency: 2.4GHz
Encryption: active

Signal Strength:71 (the level will change constantly even with the laptop 5 feet from the router)

Last edited by tubatodd; 10-25-2008 at 01:33 AM.
 
Old 08-03-2005, 04:31 AM   #13
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
Im starting to think that the problem isnt on your configurations, maybe on your AP ... maybe your ap is not running a dhcp server? I dont know. But its strange that it dont work.
Have you tryed #iwlist scan to see if your networks are being show and if your ESSID its realy the one you are using?

Lo or Loopback or 127.0.0.1 is the IP address of your on machine, this is why its call loopback, everytime you enter localhost or 127.0.0.1 you´re fetching your on computer, its a way for your computer find itself... and yes, it must be configurated and installed.
 
Old 08-03-2005, 06:20 AM   #14
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 446

Rep: Reputation: 51
Maybe you have some odd driver, but it looks like your wifi card is not fully connected to AP.

Quote:
eth0 IEEE 802.11-DS ESSID:"myESSID" Nickname:"todd"
Mode:Managed Frequency:2.427GHz Access Point: 01:00:09:00:01:00
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:6/3
Retry min limit:1 RTS thr: off Fragment thr=1536 B
Encryption key:2056-3127-17 Security mode: open
Power Management period:0us mode:All packets received
Link Quality:0/92 Signal level:107/153 Noise level:67/153
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
So double check if your essid, encryption key, index of encryption key, security mode [open/restricted] are correct.
In your post essid in rc.wireless.conf and iwconfig output differs.

What did you meant by "flashing not ready" in
Quote:
I ran both commands and they finished, BUT my NIC is still flashing "not ready"
sentence ?
 
Old 08-03-2005, 03:54 PM   #15
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by dunric
What did you meant by "flashing not ready" in sentence ?
My wireless PCMCIA card has 2 lights on it. One light is simply as a power indicator. The other has to do with wireless connection. If the connection is established it is a solid green. If the connection is NOT established, the light flashes.

I have a feeling I forgot to install something when I installed Slack 10.1. I am going to reinstall Slack....this time I will use a Slack-Current ISO from 8/1 and install EVERYTHING....like I used to do.
 
  


Reply


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
detect mac address spoofing bensky Linux - Security 1 03-13-2005 12:23 AM
How to detect IP address via NAT server jerrytw Linux - Networking 7 11-08-2004 04:42 AM
How to detect the address bit from a protocol. vedion Linux - Software 0 04-30-2004 05:35 AM
Wireless Network card DHCP wont get address debugging and troubleshooting help uuplunkeruu Linux - Wireless Networking 2 03-27-2004 04:08 PM
wireless finds ip address but cant see the network markhod Linux - Hardware 1 11-11-2003 08:32 PM


All times are GMT -5. The time now is 08:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration