LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2011, 10:17 AM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

Quote:
Originally Posted by sangeeta_lal View Post
Hi
what you are not getting??
Thanks
What do you mean?
Do you have dhclient installed, and is it running?

Kind regards
 
Old 04-14-2011, 11:22 AM   #17
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi

Yes I have dhclient installed.

One thing which I should mention is when I ping to my own system(192.168.1.219), it gives one of the two outputs. It give 1st output for sometime(nearly 30 sec to 2 minute) and then starts giving the other after sometime.

ping 192.168.1.219
PING 192.168.1.219 (192.168.1.219) 56(84) bytes of data.
64 bytes from 192.168.1.219: icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from 192.168.1.219: icmp_seq=2 ttl=64 time=0.040 ms

or

ping 192.168.1.219
connect: Network is unreachable


Following is the output of the other command asked:


sudo dhclient -r
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/pan0/56:ba:53:21:a4:e3
Sending on LPF/pan0/56:ba:53:21:a4:e3
Listening on LPF/wlan0/00:22:fa:4c:8e:f6
Sending on LPF/wlan0/00:22:fa:4c:8e:f6
Listening on LPF/eth0/00:24:81:65:bf:68
Sending on LPF/eth0/00:24:81:65:bf:68
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.7 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
DHCPRELEASE on eth0 to 192.168.1.7 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.



sudo dhclient
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/pan0/56:ba:53:21:a4:e3
Sending on LPF/pan0/56:ba:53:21:a4:e3
Listening on LPF/wlan0/00:22:fa:4c:8e:f6
Sending on LPF/wlan0/00:22:fa:4c:8e:f6
Listening on LPF/eth0/00:24:81:65:bf:68
Sending on LPF/eth0/00:24:81:65:bf:68
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on pan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Thanks
 
Old 04-14-2011, 11:40 AM   #18
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Are you using wep for authentication?
It's possible the key isn't transmitted correctly.
Try to add the key in
Code:
/etc/networking/interfaces
Code:
# The primary network interface
auto wlan0
iface wlan0 inet static
wireless-essid XXXXXXXXXXX
wireless-key XXXXXXXXXXX
address 192.168.1.219
netmask 255.255.255.0
gateway 192.168.1.1
Kind regards
 
Old 04-14-2011, 11:47 AM   #19
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
--
From your Windows ipconfig and Linux ifconfig output, we see those two machines have identical MAC addresses. How could this happen?

----
sibe
 
Old 04-14-2011, 11:48 AM   #20
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
From your Windows ipconfig and Linux ifconfig output, we see those two machines have identical MAC addresses. How could this happen?
Dualboot.

Kind regards
 
Old 04-14-2011, 11:57 AM   #21
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
--
Quote:
Originally Posted by repo View Post
Dualboot.
Ah. I see.
Is it possible to flush arp table on the router and re-discover the dhcp service? *just a thought*

----
sibe
 
Old 04-14-2011, 12:00 PM   #22
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi

Do I need to write key in hexadecimal form and do I need to include quotes("") for both essid and key.
I will try to flush arp table of router tomorrow morning, but do you think its a problem if my internet is working in windows.


Thanks
 
Old 04-14-2011, 12:07 PM   #23
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
There are many threads stating the connection works in windows, and not in linux, using wep
However, if they disable wep, the connection works.
Mostly, if they do it manually in interfaces it works.
Don't know if you can disable wep on the router though, since the router is managed by IT.
You can find info/errors
using
Code:
dmesg | grep wlan0
Kind regards
 
Old 04-14-2011, 12:13 PM   #24
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
--
Quote:
Originally Posted by sangeeta_lal View Post
but do you think its a problem if my internet is working in windows
Well, I just try to narrow down the possible suspects, based on the fact that your ping to .219 results in an inconsistent state.

Quote:
... It give 1st output for sometime(nearly 30 sec to 2 minute) and then starts giving the other after sometime.
Though I might be wrong, I must admit.

----
sibe

Last edited by sibe; 04-14-2011 at 12:15 PM.
 
Old 04-14-2011, 01:01 PM   #25
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
HI


Its not working even after changing settings in /etc/network/interfaces file.

Thanks
 
Old 04-22-2011, 03:20 AM   #26
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Smile

Hi

Today My wireless starts working without doing anything
 
  


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
Get IP Address System call oulevon Programming 11 04-09-2010 05:32 PM
Address Space Randomization on 2.6.28-15-generic ubuntu 9.04. Finding base address nullprocess Linux - Security 1 09-15-2009 12:56 AM
Address Space Randomization on 2.6.28-15-generic ubuntu 9.04. Finding base address nullprocess Linux - Kernel 1 09-14-2009 08:31 PM
Address Space Randomization on 2.6.28-15-generic ubuntu 9.04. Finding base address nullprocess Linux - Kernel 0 09-14-2009 10:45 AM
How can I get the ip address of my host system dwijesh Linux - Newbie 3 04-27-2009 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration