Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > I can see the network but can't get an IP from it

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-10-2007   #1 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 7
I can see the network but can't get an IP from it

I have had the computer hooked up to a different wireless network. I have moved to a new location and have gotten a new wireless router. Everything is up and running on the centos5 box, I can see the network but when I try to connect to it I get no IP number and can't connect to the Internet. Here is the info I got:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)
02:01.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
02:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
[root@centos ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

ra0 RT2500 Wireless ESSID:"default" Nickname:"centos.********.net"
Mode:Managed Frequency=2.437 GHz Access Point: 00:14:A5:812:E6
Bit Rate=11 Mb/s Tx-Power:2 dBm
RTS thr:off Fragment thr:off
Encryption key:3938-3531-3037-4336-3144-4543-39 Security mode:open
Link Quality=57/100 Signal level=-79 dBm Noise level:-196 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.


Thanks for any help on this!
marcusa007 is offline  


Reply With Quote
Old 10-10-2007   #2 (permalink)
Just Joined!
 
Join Date: Sep 2007
Posts: 17
hi,
looks like the new router may have security on by default, make sure its off and you dont have access controll on, also make sure dhcp is on, on your router and machine.
barks is offline   Reply With Quote
Old 10-10-2007   #3 (permalink)
Linux Engineer
 
valemon's Avatar
 
Join Date: Oct 2006
Location: Volos
Posts: 914
Send a message via MSN to valemon Send a message via Skype™ to valemon
try using
Quote:
dhclient ra0
or
Quote:
dhcpcd ra0
run as root
__________________
Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
Arch/Moblin
Linux user #442041
valemon is offline   Reply With Quote
Old 10-11-2007   #4 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 7
Quote:
Originally Posted by barks View Post
hi,
looks like the new router may have security on by default, make sure its off and you dont have access controll on, also make sure dhcp is on, on your router and machine.
I checked all is their, I have some Windows boxes running just fine so I think DHCP is working fine. I also see that the centos box is trying to get an IP address.
marcusa007 is offline   Reply With Quote
Old 10-11-2007   #5 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 7
Quote:
Originally Posted by valemon View Post
try using or run as root
i tried those commands under root and it came back as command not found.
marcusa007 is offline   Reply With Quote
Old 10-14-2007   #6 (permalink)
Linux User
 
Oxygen's Avatar
 
Join Date: Jul 2004
Location: Hartlepool, England
Posts: 390
Send a message via Skype™ to Oxygen
I'm assuming you have some other DHCP tool... but to be sure, could you install dhclient and then run it?
__________________
Graham - You'd better Use Linux!

I'm registerd Linux user #397030. What about you?
Oxygen is offline   Reply With Quote
Old 10-15-2007   #7 (permalink)
Just Joined!
 
Join Date: Oct 2007
Posts: 7
dhclient ra0 worked and it gave me back no DHCP offers received. No working leases in persistent database - sleeping.
marcusa007 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:35 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2