LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-12-2011, 10:45 AM   #1
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Rep: Reputation: 0
Ubuntu 10.04 system not getting ip-address


Hi

My HP system suddenly stopped taking ip-address for wifi. I tried to give it static ip-address, it took it. But still I am unable to connect to internet. I tried this both with wicd and network manager.

My system is perfectly working on wired network. Anybody knows what can be the problem?

Thanks
 
Old 04-12-2011, 10:58 AM   #2
nicolasjengler
Member
 
Registered: Apr 2011
Location: /dev/null
Distribution: Debian, Ubuntu, Arch, OpenSUSE, Puppy, Feather, DSL, DeLi, SliTaz, Bodhi, PCLinuxOS, Crunchbang,etc.
Posts: 74

Rep: Reputation: 9
Hi ¿can you post a ping of 192.168.1.1? In case you havent assigned that IP, ping the one that you assigned.

Also run:

Code:
cat /etc/resolv.conf
and post the results, I think I have the solution to your problem but I'm not sure yet.

Last edited by nicolasjengler; 04-21-2011 at 12:27 PM.
 
Old 04-13-2011, 04:53 AM   #3
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi Nicolas

I have assigned ip 192.168.1.219. I have used network manager to do this. Following are the result:

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.045 ms
64 bytes from 192.168.1.219: icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from 192.168.1.219: icmp_seq=4 ttl=64 time=0.040 ms
64 bytes from 192.168.1.219: icmp_seq=5 ttl=64 time=0.047 ms

cat /etc/resolv.conf
# Generated by NetworkManager

Thanks
 
Old 04-13-2011, 09:17 AM   #4
nicolasjengler
Member
 
Registered: Apr 2011
Location: /dev/null
Distribution: Debian, Ubuntu, Arch, OpenSUSE, Puppy, Feather, DSL, DeLi, SliTaz, Bodhi, PCLinuxOS, Crunchbang,etc.
Posts: 74

Rep: Reputation: 9
Hmm, I don't see anything wrong with that. What happens if you ping Google or any other site?

Code:
ping -c 5 google.com

Last edited by nicolasjengler; 04-21-2011 at 12:27 PM.
 
Old 04-13-2011, 10:37 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You are pinging yourself (192.168.1.219)
You need to ping the default GW (the IP from the wireless access point/router)
If you set a static IP, you also need to add the default GW and the DNS.

For the DHCP, are you sure the wireless access point/router is set to give out ip addresses?


Kind regards
 
Old 04-13-2011, 03:50 PM   #6
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi


following are the output of the commands suggested:

ping -c 5 google.com
ping: unknown host google.com

ping 192.168.1.1(default gateway)
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.219 icmp_seq=1 Destination Host Unreachable
From 192.168.1.219 icmp_seq=2 Destination Host Unreachable
From 192.168.1.219 icmp_seq=3 Destination Host Unreachable
From 192.168.1.219 icmp_seq=4 Destination Host Unreachable


I had set my default gateway and DNS, also internet is working fine in windows Vista of my system. So I think its not the problem from router sides.

Thanks
 
Old 04-13-2011, 04:14 PM   #7
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
HI

One thing I noticed when I am connected to wired network and I ping my default gateway(192.168.1.1). It gave following strange output:


ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 169.254.11.1 icmp_seq=1 Destination Host Unreachable
From 169.254.11.1 icmp_seq=2 Destination Host Unreachable
From 169.254.11.1 icmp_seq=3 Destination Host Unreachable
From 169.254.11.1 icmp_seq=4 Destination Host Unreachable
From 169.254.11.1 icmp_seq=5 Destination Host Unreachable
From 169.254.11.1 icmp_seq=6 Destination Host Unreachable
 
Old 04-14-2011, 12:50 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did the wireless work before?
Did you make any changes, updates, upgrades?
Please post the output from
Code:
ifconfig
rout -n
When you are connected via wireless
Code:
ifconfig
iwconfig
route -n
When you are connected via wired network.
 
Old 04-14-2011, 02:26 AM   #9
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi

I did not upgraded, but one day DHCP server of our institute was shutdown. After that my linux system stopped getting ip-address.

Following are the details as you asked in the last mail, one thing to note here is my system will have different ip when it is connected to wired(192.168.1.220 because of our institute policy).

When my sysstem is connected to wireless netwrok:
(ip: 192.168.1.219, netmaak:255.255.255.0, gateway:192.168.1.1, DNS server: 192.168.1.7)

ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:81:65:bf:68
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:17

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:260 errors:0 dropped:0 overruns:0 frame:0
TX packets:260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22536 (22.5 KB) TX bytes:22536 (22.5 KB)

wlan0 Link encap:Ethernet HWaddr 00:22:fa:4c:8e:f6
inet addr:192.168.1.219 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::222:faff:fe4c:8ef6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:13154 (13.1 KB)



route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0


When my system is connected to wired netwrok:


ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:81:65:bf:68
inet addr:192.168.1.220 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:81ff:fe65:bf68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4775 errors:0 dropped:0 overruns:0 frame:0
TX packets:2675 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1777691 (1.7 MB) TX bytes:607286 (607.2 KB)
Interrupt:17

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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1008 (1.0 KB) TX bytes:1008 (1.0 KB)

wlan0 Link encap:Ethernet HWaddr 00:22:fa:4c:8e:f6
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)


iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

pan0 no wireless extensions.

wlan0 IEEE 802.11abgn ESSIDff/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry long limit:7 RTS thrff Fragment thrff
Power Managementff


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
 
Old 04-14-2011, 05:32 AM   #10
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
one thing to note here is my system will have different ip when it is connected to wired(192.168.1.220 because of our institute policy).
Since you don't have access to the router/DHCP server,
I would suggest to talk to the IT people.
Perhaps they made some changes.
Adding a fixed IP yourself can give problems.
IP all ready in use, IP not in the pool from DNS server, IP is related to your MAC address,
firewall.....

Kind regards

Last edited by repo; 04-14-2011 at 05:34 AM.
 
Old 04-14-2011, 06:09 AM   #11
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
Quote:
Originally Posted by sangeeta_lal View Post
...also internet is working fine in windows Vista of my system. So I think its not the problem from router sides.Thanks
To get a clear shot, we might need some comparison; could you put in here your vista's network setting from its cmd ipconfig /all output when it's connected via cable and wireless?


----
sibe
 
Old 04-14-2011, 08:17 AM   #12
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi

Network administrator of my institute have tried but he have no idea, why my system is not getting ip. Following are the details of my system when it is running on windows.

==================================================================================================== ======================
(Wireless connection)
========================
C:\Users\student>ipconfig/all

Windows IP Configuration

Host Name . . . . . . . . . . . . : Sangeeta
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : iiitd.edu.in

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . : iiitd.edu.in
Description . . . . . . . . . . . : Intel(R) Wireless WiFi Link 5100
Physical Address. . . . . . . . . : 00-22-FA-4C-8E-F6
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fcb7:1525:45d9:bbf9%53(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.219(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, April 14, 2011 5:59:43 PM
Lease Expires . . . . . . . . . . : Friday, April 22, 2011 5:59:42 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.7
DNS Servers . . . . . . . . . . . : 192.168.1.5
192.168.1.11
8.8.8.8
208.67.222.222
164.100.17.3
202.41.97.134
4.2.2.2
4.4.4.4
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 08-00-27-00-A8-5A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b07b:d928:711:3458%29(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.52.88(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Bluetooth Network Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 00-24-7E-41-2A-A5
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 7:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 12:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 13:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{AEE390E2-397D-4CEF-ACCE-EF511F1F3
4D6}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 19:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 20:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{AEE390E2-397D-4CEF-ACCE-EF511F1F3
4D6}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 21:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 22:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 25:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 6TO4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 28:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 31:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{EFDB615B-E833-423D-AD82-C527AC023
E9E}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 32:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{3A1A0106-C732-49C1-860A-7162C94D7
B03}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 33:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 35:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 39:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 41:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 46:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{AEE390E2-397D-4CEF-ACCE-EF511F1F3
4D6}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 48:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{AEE390E2-397D-4CEF-ACCE-EF511F1F3
4D6}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 50:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : iiitd.edu.in
Description . . . . . . . . . . . : isatap.iiitd.edu.in
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 52:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes


==================================================================================================== ======================
(Wired Connection)
=======================

C:\Users\student>ipconfig/all

Windows IP Configuration

Host Name . . . . . . . . . . . . : Sangeeta
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : iiitd.edu.in

Wireless LAN adapter Wireless Network Connection:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : iiitd.edu.in
Description . . . . . . . . . . . : Intel(R) Wireless WiFi Link 5100
Physical Address. . . . . . . . . : 00-22-FA-4C-8E-F6
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 08-00-27-00-A8-5A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b07b:d928:711:3458%29(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.52.88(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : iiitd.edu.in
Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
Physical Address. . . . . . . . . : 00-24-81-65-BF-68
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::3509:70ce:afbb:314f%12(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.220(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, April 14, 2011 6:34:22 PM
Lease Expires . . . . . . . . . . : Friday, April 22, 2011 6:34:22 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.7
DNS Servers . . . . . . . . . . . : 192.168.1.5
192.168.1.11
8.8.8.8
208.67.222.222
164.100.17.3
202.41.97.134
4.2.2.2
4.4.4.4
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Local Area Connection* 7:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 12:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 13:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{AEE390E2-397D-4CEF-ACCE-EF511F1F3
4D6}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 19:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 20:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{AEE390E2-397D-4CEF-ACCE-EF511F1F3
4D6}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 21:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 22:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 25:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 6TO4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 28:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 31:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{EFDB615B-E833-423D-AD82-C527AC023
E9E}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 32:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{3A1A0106-C732-49C1-860A-7162C94D7
B03}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 33:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 35:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 39:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 41:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{A350698F-06D7-4CFA-AEE9-98F3EE797
587}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 46:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : isatap.{AEE390E2-397D-4CEF-ACCE-EF511F1F3
4D6}
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 50:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : iiitd.edu.in
Description . . . . . . . . . . . : isatap.iiitd.edu.in
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 52:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 02-00-54-55-4E-01
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
 
Old 04-14-2011, 09:13 AM   #13
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
So this is your vista setting :

Quote:
Originally Posted by sangeeta_lal View Post
(Wireless connection)
========================

Wireless LAN adapter Wireless Network Connection:

Connection-specific DNS Suffix . : iiitd.edu.in
Description . . . . . . . . . . . : Intel(R) Wireless WiFi Link 5100
Physical Address. . . . . . . . . : 00-22-FA-4C-8E-F6
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::fcb7:1525:45d9:bbf9%53(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.219(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, April 14, 2011 5:59:43 PM
Lease Expires . . . . . . . . . . : Friday, April 22, 2011 5:59:42 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.7
DNS Servers . . . . . . . . . . . : 192.168.1.5
192.168.1.11
--cut--


(Wired Connection)
=======================

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : iiitd.edu.in
Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
Physical Address. . . . . . . . . : 00-24-81-65-BF-68
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::3509:70ce:afbb:314f%12(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.220(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, April 14, 2011 6:34:22 PM
Lease Expires . . . . . . . . . . : Friday, April 22, 2011 6:34:22 PM
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.7
DNS Servers . . . . . . . . . . . : 192.168.1.5
192.168.1.11
--cut--
And this is your Linux setting :

Quote:
wlan0 Link encap:Ethernet HWaddr 00:22:fa:4c:8e:f6
inet addr:192.168.1.219 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::222:faff:fe4c:8ef6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
--cut--
Quote:
eth0 Link encap:Ethernet HWaddr 00:24:81:65:bf:68
inet addr:192.168.1.220 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:81ff:fe65:bf68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
--cut--
So it's the same NIC, same IP, different OS.
Sorry, but I don't understand, how could that be possible?

----
sibe
 
Old 04-14-2011, 09:56 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Network administrator of my institute have tried but he have no idea, why my system is not getting ip
They should be able to see if you are trying to obtain an IP via DHCP
Do you have dhcp client installed?
try
Code:
sudo dhclient -r
sudo dhclient
You should be able to see if it connects in /var/log/messages
Code:
Apr 14 16:56:54 cannabis dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Apr 14 16:56:54 cannabis dhclient: DHCPOFFER from 10.0.0.1
Apr 14 16:56:54 cannabis dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
Apr 14 16:56:55 cannabis dhclient: DHCPACK from 10.0.0.1
Apr 14 16:56:55 cannabis dhclient: bound to 10.0.0.2 -- renewal in 844690632 seconds.
Kind regards

Last edited by repo; 04-14-2011 at 09:58 AM.
 
Old 04-14-2011, 10:03 AM   #15
sangeeta_lal
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Hi

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

Last edited by sangeeta_lal; 04-14-2011 at 10:34 AM.
 
  


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
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 08:47 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
Open Source Consulting | Domain Registration