LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-31-2011, 01:59 AM   #1
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Rep: Reputation: Disabled
failed to obtain ip address.


Code:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)

ifconfig:
Code:
eth0      Link encap:Ethernet  HWaddr e8:9a:8f:0a:e7:a9  
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::ea9a:8fff:fe0a:e7a9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3098 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3593 errors:0 dropped:0 overruns:0 carrier:3
          collisions:0 txqueuelen:1000 
          RX bytes:2514108 (2.3 MiB)  TX bytes:668272 (652.6 KiB)
          Interrupt:27 

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:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:900 (900.0 B)  TX bytes:900 (900.0 B)

wlan0     Link encap:Ethernet  HWaddr 68:a3:c4:02:97:ae  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 Memory:ffffc90002f78000-ffffc90002f78100 
iwconfig:
Code:
wlan0     802.11bgn  Nickname:"rtl8192CE"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:65 Mb/s   
          Retry:on   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=10/100  Signal level=0 dBm  Noise level=-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

i am running kernel 2.6.32-5-amd64

is it possible the wireless switch is off even though it still scans with wicd?

not sure what's necessary information so please tell me what you need to know to help if i have not provided..

Last edited by dabir; 08-31-2011 at 02:03 AM.
 
Old 08-31-2011, 08:32 PM   #2
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Though I don't want to admit it, the reason the wireless isn't working could perhaps be that I need a newer kernel for my wireless card.. or just that a newer kernel would fix the problem.

Would it be okay to patch my distro to the latest stable version? (3.0.4.)
and if possible, can someone please walk me through how I would do this?

Also, if upgrading is what it comes down to, do I have to uninstall my realtek wireless drivers that are for 2.6.34 and before before installing the drivers for 2.6.35 and later? (i don't know how to do this, either)

http://www.realtek.com.tw/downloads/...true#RTL8188CE

Last edited by dabir; 08-31-2011 at 09:09 PM. Reason: last paragraph
 
Old 08-31-2011, 11:06 PM   #3
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
I feel as if I'm really close to establishing a wireless connection.. I've been at this for weeks.

PLEASE HELP
 
Old 08-31-2011, 11:21 PM   #4
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
A google search lead me to this link:

http://www.mrmollman.com/blog/?p=43


And after doing that, that should be all there is to be able to connect.. what am I missing something??
 
Old 08-31-2011, 11:25 PM   #5
hi2arun
Member
 
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
Hi -

Did you try setting correct ESSID and wpa-supplicant conf?

What happens if you scanned with 'iwlist'? Do you see your SSID in broadcast?
 
Old 08-31-2011, 11:27 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
On wicd, my setup. My chip though is different on this net-book from yours

http://www.linuxquestions.org/questi...0/#post4440437

Code:
$ inxi -F
System:    Host: Biker Kernel: 2.6.36-1-mepis-smp i686 (32 bit) 
           Desktop IceWM 1.3.7 Distro: antiX-M11-686 Jayaben Desai 01 May 2011
Machine:   System: ASUSTeK product: 900 version: 0405
           Mobo: ASUSTeK model: 900 version: x.xx Bios: American Megatrends version: 0601 date: 05/26/2008
CPU:       Single core Intel Celeron M (-UP-) cache: 512 KB flags: (nx sse sse2) clocked at 899.915 MHz 
Graphics:  Card: Intel Mobile 915GM/GMS/910GML Express Graphics Controller 
           X.Org: 1.10.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1024x600@59.5hz 
           GLX Renderer: Mesa DRI Intel 915GM x86/MMX/SSE2 GLX Version: 1.4 Mesa 7.10.2
Audio:     Card: Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller driver: HDA Intel
           Sound: Advanced Linux Sound Architecture ver: 1.0.23
Network:   Card-1: Atheros L2 Fast Ethernet driver: atl2 
           IF: eth0 state: down speed: 65535 Mbps duplex: full mac:<filtered>
           Card-2: Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) driver: ath5k 
           IF: wlan0 state: up mac:<filtered>
Drives:    HDD Total Size: 20.2GB (11.3% used) 1: /dev/sda ASUS 4.0GB 
           2: /dev/sdb ASUS 16.1GB 
Partition: ID: / size: 3.7G used: 1.7G (48%) fs: auto 
Sensors:   System Temperatures: cpu: 55.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: 1590 
Info:      Processes: 101 Uptime: 4:45 Memory: 261.8/2016.4MB Client: Shell inxi: 1.7.23 
$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
If wanting inxi script to run in Debian

http://smxi.org/site/about.htm#inxi

For inxi in Fedora

Code:
cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi && inxi
Another site I use for hardware check (to see what is working with my kernel) in Debian (works for any other Liux distro also. I have used this site for Puppy linux also)

http://kmuto.jp/debian/hcl/

Last edited by rokytnji; 08-31-2011 at 11:32 PM. Reason: double link
 
Old 08-31-2011, 11:40 PM   #7
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hi2arun View Post
Hi -

Did you try setting correct ESSID and wpa-supplicant conf?

What happens if you scanned with 'iwlist'? Do you see your SSID in broadcast?
yes, in wicd network manager the settings are correct and I use wext as the wpa-supplicant

scanning works, but it doesn't seem to get an internet connection after that (secured or unsecured)...
doesn't seem to establish any kind of connection
 
Old 08-31-2011, 11:43 PM   #8
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
On wicd, my setup. My chip though is different on this net-book from yours

http://www.linuxquestions.org/questi...0/#post4440437

Code:
$ inxi -F
System:    Host: Biker Kernel: 2.6.36-1-mepis-smp i686 (32 bit) 
           Desktop IceWM 1.3.7 Distro: antiX-M11-686 Jayaben Desai 01 May 2011
Machine:   System: ASUSTeK product: 900 version: 0405
           Mobo: ASUSTeK model: 900 version: x.xx Bios: American Megatrends version: 0601 date: 05/26/2008
CPU:       Single core Intel Celeron M (-UP-) cache: 512 KB flags: (nx sse sse2) clocked at 899.915 MHz 
Graphics:  Card: Intel Mobile 915GM/GMS/910GML Express Graphics Controller 
           X.Org: 1.10.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 1024x600@59.5hz 
           GLX Renderer: Mesa DRI Intel 915GM x86/MMX/SSE2 GLX Version: 1.4 Mesa 7.10.2
Audio:     Card: Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller driver: HDA Intel
           Sound: Advanced Linux Sound Architecture ver: 1.0.23
Network:   Card-1: Atheros L2 Fast Ethernet driver: atl2 
           IF: eth0 state: down speed: 65535 Mbps duplex: full mac:<filtered>
           Card-2: Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) driver: ath5k 
           IF: wlan0 state: up mac:<filtered>
Drives:    HDD Total Size: 20.2GB (11.3% used) 1: /dev/sda ASUS 4.0GB 
           2: /dev/sdb ASUS 16.1GB 
Partition: ID: / size: 3.7G used: 1.7G (48%) fs: auto 
Sensors:   System Temperatures: cpu: 55.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: 1590 
Info:      Processes: 101 Uptime: 4:45 Memory: 261.8/2016.4MB Client: Shell inxi: 1.7.23 
$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
If wanting inxi script to run in Debian

http://smxi.org/site/about.htm#inxi

For inxi in Fedora

Code:
cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi && inxi
Another site I use for hardware check (to see what is working with my kernel) in Debian (works for any other Liux distro also. I have used this site for Puppy linux also)

http://kmuto.jp/debian/hcl/
here are the results from copy/pasting 'lspci -n' at that link:
Code:
PCI ID	Works?	Vendor	Device	Driver	Kernel
10229601		Advanced Micro Devices [AMD]	RS880 Host Bridge		
11799602					
10229604		Advanced Micro Devices [AMD]	RS780 PCI to PCI bridge (PCIE port 0)		
10229606		Advanced Micro Devices [AMD]	RS780 PCI to PCI bridge (PCIE port 2)		
10024391	Yes	ATI Technologies Inc	SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]	ahci	v2.6.25-
10024397		ATI Technologies Inc	SB7x0/SB8x0/SB9x0 USB OHCI0 Controller		
10024396		ATI Technologies Inc	SB7x0/SB8x0/SB9x0 USB EHCI Controller		
10024397		ATI Technologies Inc	SB7x0/SB8x0/SB9x0 USB OHCI0 Controller		
10024396		ATI Technologies Inc	SB7x0/SB8x0/SB9x0 USB EHCI Controller		
10024385	Yes	ATI Technologies Inc	SBx00 SMBus Controller	i2c-piix4,sp5100_tco	v2.6.25-
10024383	Yes	ATI Technologies Inc	SBx00 Azalia (Intel HDA)	snd-hda-intel	v2.6.25-
1002439d		ATI Technologies Inc	SB7x0/SB8x0/SB9x0 LPC host controller		
10024384		ATI Technologies Inc	SBx00 PCI to PCI Bridge		
100243a0		ATI Technologies Inc	SB700/SB800 PCI to PCI bridge (PCIE port 0)		
10024397		ATI Technologies Inc	SB7x0/SB8x0/SB9x0 USB OHCI0 Controller		
10024396		ATI Technologies Inc	SB7x0/SB8x0/SB9x0 USB EHCI Controller		
10221200		Advanced Micro Devices [AMD]	Family 10h Processor HyperTransport Configuration		
10221201		Advanced Micro Devices [AMD]	Family 10h Processor Address Map		
10221202		Advanced Micro Devices [AMD]	Family 10h Processor DRAM Controller		
10221203	Yes	Advanced Micro Devices [AMD]	Family 10h Processor Miscellaneous Control	k10temp	v2.6.33-
10221204		Advanced Micro Devices [AMD]	Family 10h Processor Link Control		
10029712	Yes	ATI Technologies Inc	M880G [Mobility Radeon HD 4200]	radeon	v2.6.35-
1002970f	Yes	ATI Technologies Inc	RS880 Audio Device [Radeon HD 4200]	snd-hda-intel	v2.6.27-
10ec8176	Yes	Realtek Semiconductor Co., Ltd.	RTL8188CE 802.11b/g/n WiFi Adapter	rtl8192ce	v2.6.38-
19692060	Yes	Atheros Communications	AR8152 v1.1 Fast Ethernet	atl1c	v2.6.34-
 
Old 08-31-2011, 11:58 PM   #9
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
I installed wpa_gui and this is what it shows: (and scanning does not show anything, either)
http://img59.imageshack.us/img59/3199/screenshotnhs.png

But here is my WICD.. successful in scanning
http://img854.imageshack.us/img854/9...eenshot1qx.png

does this mean anything??

Last edited by dabir; 09-01-2011 at 12:02 AM.
 
Old 09-01-2011, 12:25 AM   #10
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
I got the realtek drivers from that link above.. is there more drivers that I am missing?
 
Old 09-01-2011, 05:54 AM   #11
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
10ec8176 Yes Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter rtl8192ce v2.6.38-
Hardware checker says that chip in your wireless is working .

Wicd snapshot shows that Wicd is showing wireless Networks to connect to so your driver is loaded and working. All that is left is putting in your wep or wpa key to connect.
 
Old 09-01-2011, 04:39 PM   #12
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
it still doesn't connect?

with the password on, it says "validating authentication..." for about a minute then says "failed: bad password"

with the password off, it says "obtaining ip address..." for about a minute, then says "failed: unable to get IP address"

I'm connected through the same wireless with another computer, so I know it's not that router itself.

Last edited by dabir; 09-01-2011 at 05:06 PM.
 
Old 09-01-2011, 06:29 PM   #13
Removed44
LQ Newbie
 
Registered: Jul 2009
Posts: 11

Rep: Reputation: 0
I haven't been on these forums in so long, but I noticed you found one of my first blog posts (yay!). I'll see if I can help you.

Do you know which encryption method your wireless router is using? I don't know if you've tried this already, but try clicking on "Properties" for the wireless network, then make sure "Use Encryption" is checked. Then choose your wireless encryption method for your router from the drop-down, then enter your password and hit OK. Then try to connect again.

I chose WPA 1/2 (Passphrase) from the drop-down, entered my password, and my netbook connects just fine. I don't know if you've tried that method already, but it's worth a shot. Tell me how that goes.

Last edited by Removed44; 09-01-2011 at 06:31 PM.
 
Old 09-01-2011, 08:33 PM   #14
dabir
LQ Newbie
 
Registered: Aug 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jwmollman View Post
I haven't been on these forums in so long, but I noticed you found one of my first blog posts (yay!). I'll see if I can help you.

Do you know which encryption method your wireless router is using? I don't know if you've tried this already, but try clicking on "Properties" for the wireless network, then make sure "Use Encryption" is checked. Then choose your wireless encryption method for your router from the drop-down, then enter your password and hit OK. Then try to connect again.

I chose WPA 1/2 (Passphrase) from the drop-down, entered my password, and my netbook connects just fine. I don't know if you've tried that method already, but it's worth a shot. Tell me how that goes.
That was your blog? Awesome

I've done that-- with correct settings. (and gone in to the router settings just to be sure)

But even when I remove the password, it STILL does not connect.. so I don't think it's a authentication error, it just says that.

No connection seems to establish in the first place.... :/

Last edited by dabir; 09-01-2011 at 08:38 PM.
 
Old 09-02-2011, 05:03 PM   #15
Removed44
LQ Newbie
 
Registered: Jul 2009
Posts: 11

Rep: Reputation: 0
Hmm, this is very odd. Well your wireless chipset is obviously working because it can detect wireless networks, so we've made it that far. Can you possibly try connecting to a friend's router to see if it can connect that way?

Sometimes I notice it takes a while to connect to our home router, but I don't know if that's just our router, or my wireless chipset, or what. It could be a number of things.
 
  


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
wcid cant obtain IP ADDRESS 512ckw4r3 Linux - Wireless Networking 1 05-14-2011 09:25 AM
Cannot obtain IP address under my profile ieatbunnies Linux - Networking 3 05-20-2010 03:05 AM
automatic obtain an ip address rhce_naresh Linux - Networking 7 08-13-2009 08:14 PM
How to obtain another IP address from DHCP server ICO Linux - Networking 4 05-10-2006 01:03 PM
how to obtain someone's ip address through netstat dr_zayus69 Linux - Networking 5 08-13-2005 11:06 PM

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

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