Help: Mandriva drops DHCP IP address nor can't ping to local host

This is a discussion on Help: Mandriva drops DHCP IP address nor can't ping to local host within the Linux Networking forums, part of the Linux Forums category; Hi, My dual boot (Mandriva LE 2005 LE - fully updated/Win2000) at work worked fine (both OS) till this weekend. ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-17-2005
Michael Badt
 
Posts: n/a
Default Help: Mandriva drops DHCP IP address nor can't ping to local host

Hi,
My dual boot (Mandriva LE 2005 LE - fully updated/Win2000) at work worked
fine (both OS) till this weekend.
The laptop is connected to a physical LAN with a DHCP server.
This week, I couldn't browse in Linux, although I was able to download
emails from the local exchange server (but not my other, "external"
account). Trying to analyze the problem (details below) I noticed that,
among others:
a. The laptop couldn't ping to 127.0.0.1
b. The system log showed that eth0 has been allocated an IP address, yet,
less than a minute afterwards dhclient notified that there weren't free
leases (see below). Manually initiating dhclient resulted the same.

Trying to compare, I switched to Win 2000 only to find that I COULD browse
using MS Explorer (Yak) but could NOT browse using (Win) Firefox. Weird!
I've checked the Win networking parameters and found these were identical to
those as Linux. The Win parameters were:
IP 10.4.4.3
Net Mask 255.255.0.0
GW 10.4.253.253
DNS Suffix rf.local

Needless to mention that my Sys Administrator isn't concerned neither about
Linux nor Firefox...

Please advise.

TIA
Michael Badt


-----------following are the relevant Linux commands and responses---------
Commands ran as root in updated Mandriva 2005 LE
-----------------
[root@Atlantis miki]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:A5:BA:EF:CC
inet addr:10.4.4.13 Bcast:10.4.255.255 Mask:255.255.0.0
inet6 addr: fe80::202:a5ff:feba:efcc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:289 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28768 (28.0 Kb) TX bytes:7662 (7.4 Kb)

lo Link encap:Local Loopback
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4171 (4.0 Kb) TX bytes:4171 (4.0 Kb)

sit0 Link encap:IPv6-in-IPv4
inet6 addr: ::127.0.0.1/96 Scope:Unknown
UP RUNNING NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:10 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
--------------------------
[root@Atlantis miki]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.

--- 127.0.0.1 ping statistics ---
87 packets transmitted, 0 received, 100% packet loss, time 85986ms

[root@Atlantis miki]# ping 10.4.4.13
PING 10.4.4.13 (10.4.4.13) 56(84) bytes of data.
64 bytes from 10.4.4.13: icmp_seq=1 ttl=64 time=0.122 ms
64 bytes from 10.4.4.13: icmp_seq=2 ttl=64 time=0.086 ms
64 bytes from 10.4.4.13: icmp_seq=3 ttl=64 time=0.074 ms

--- 10.4.4.13 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.074/0.094/0.122/0.020 ms

------------------

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.4.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.4.253.253 0.0.0.0 UG 0 0 0 eth0
------------------
cat /etc/resolv.conf
search rf.local
nameserver 10.2.34.1
nameserver 10.2.34.2
---------------
cat /etc/hosts
127.0.0.1 Atlantis localhost
-----------------
relevant part of /var/log/syslog
Jul 17 13:54:01 Atlantis dhclient: DHCPACK from 194.90.39.108
Jul 17 13:54:01 Atlantis dhclient: bound to 10.4.4.13 -- renewal in 297597
seconds.
Jul 17 13:54:05 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 15
Jul 17 13:54:07 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 11
Jul 17 13:54:18 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 7
Jul 17 13:54:20 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 9
Jul 17 13:54:25 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 7
Jul 17 13:54:29 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 21
Jul 17 13:54:32 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 12
Jul 17 13:54:43 Atlantis ntpd[7123]: synchronized to LOCAL(0), stratum=10
Jul 17 13:54:43 Atlantis ntpd[7123]: kernel time sync disabled 0041
Jul 17 13:54:44 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
port 67 interval 10
Jul 17 13:54:50 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
port 67 interval 5
Jul 17 13:54:54 Atlantis dhclient: No DHCPOFFERS received.
Jul 17 13:54:54 Atlantis dhclient: No working leases in persistent database
- sleeping.


Reply With Quote
  #2 (permalink)  
Old 07-17-2005
Jack Masters
 
Posts: n/a
Default Re: Help: Mandriva drops DHCP IP address nor can't ping to localhost

Michael Badt wrote:
> Hi,
> My dual boot (Mandriva LE 2005 LE - fully updated/Win2000) at work worked
> fine (both OS) till this weekend.
> The laptop is connected to a physical LAN with a DHCP server.
> This week, I couldn't browse in Linux, although I was able to download
> emails from the local exchange server (but not my other, "external"
> account). Trying to analyze the problem (details below) I noticed that,
> among others:
> a. The laptop couldn't ping to 127.0.0.1


From your logs it looks like lo is set up for DHCP (and using a V6
address) ???? If you are using IPV4, it should be hard configured to
127.0.0.1 (don't personally use MDK, but that is supposed to be
somewhere in the network startup scripts)

> b. The system log showed that eth0 has been allocated an IP address, yet,
> less than a minute afterwards dhclient notified that there weren't free
> leases (see below). Manually initiating dhclient resulted the same.


Probably dhclient whinging about lo, eth0 seems OK.

First step: can you ping the default gateway (10.4.253.253) ?

Next step: does DNS resolution and ping to outside addresses work? What
does 'ping www.example.com' tell you?

>
> Trying to compare, I switched to Win 2000 only to find that I COULD browse
> using MS Explorer (Yak) but could NOT browse using (Win) Firefox. Weird!


Most likely scenario: network admin has blocked outbound traffic on port
80, and installed a login script on the windoze domain server that sets
up IE to use a proxy. Check the proxy server configuration in IE, and if
it has a proxy configured copy that setting into Firefox.

> I've checked the Win networking parameters and found these were identical to
> those as Linux. The Win parameters were:
> IP 10.4.4.3
> Net Mask 255.255.0.0
> GW 10.4.253.253
> DNS Suffix rf.local
>
> Needless to mention that my Sys Administrator isn't concerned neither about
> Linux nor Firefox...
>
> Please advise.
>
> TIA
> Michael Badt
>
>
> -----------following are the relevant Linux commands and responses---------
> Commands ran as root in updated Mandriva 2005 LE
> -----------------
> [root@Atlantis miki]# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:02:A5:BA:EF:CC
> inet addr:10.4.4.13 Bcast:10.4.255.255 Mask:255.255.0.0
> inet6 addr: fe80::202:a5ff:feba:efcc/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:289 errors:0 dropped:0 overruns:0 frame:0
> TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:28768 (28.0 Kb) TX bytes:7662 (7.4 Kb)
>
> lo Link encap:Local Loopback
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:25 errors:0 dropped:0 overruns:0 frame:0
> TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:4171 (4.0 Kb) TX bytes:4171 (4.0 Kb)
>
> sit0 Link encap:IPv6-in-IPv4
> inet6 addr: ::127.0.0.1/96 Scope:Unknown
> UP RUNNING NOARP MTU:1480 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:10 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> --------------------------
> [root@Atlantis miki]# ping 127.0.0.1
> PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
>
> --- 127.0.0.1 ping statistics ---
> 87 packets transmitted, 0 received, 100% packet loss, time 85986ms
>
> [root@Atlantis miki]# ping 10.4.4.13
> PING 10.4.4.13 (10.4.4.13) 56(84) bytes of data.
> 64 bytes from 10.4.4.13: icmp_seq=1 ttl=64 time=0.122 ms
> 64 bytes from 10.4.4.13: icmp_seq=2 ttl=64 time=0.086 ms
> 64 bytes from 10.4.4.13: icmp_seq=3 ttl=64 time=0.074 ms
>
> --- 10.4.4.13 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
> rtt min/avg/max/mdev = 0.074/0.094/0.122/0.020 ms
>
> ------------------
>
> route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 10.4.0.0 * 255.255.0.0 U 0 0 0 eth0
> default 10.4.253.253 0.0.0.0 UG 0 0 0 eth0
> ------------------
> cat /etc/resolv.conf
> search rf.local
> nameserver 10.2.34.1
> nameserver 10.2.34.2
> ---------------
> cat /etc/hosts
> 127.0.0.1 Atlantis localhost
> -----------------
> relevant part of /var/log/syslog
> Jul 17 13:54:01 Atlantis dhclient: DHCPACK from 194.90.39.108
> Jul 17 13:54:01 Atlantis dhclient: bound to 10.4.4.13 -- renewal in 297597
> seconds.
> Jul 17 13:54:05 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
> port 67 interval 15
> Jul 17 13:54:07 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
> port 67 interval 11
> Jul 17 13:54:18 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
> port 67 interval 7
> Jul 17 13:54:20 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
> port 67 interval 9
> Jul 17 13:54:25 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
> port 67 interval 7
> Jul 17 13:54:29 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
> port 67 interval 21
> Jul 17 13:54:32 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
> port 67 interval 12
> Jul 17 13:54:43 Atlantis ntpd[7123]: synchronized to LOCAL(0), stratum=10
> Jul 17 13:54:43 Atlantis ntpd[7123]: kernel time sync disabled 0041
> Jul 17 13:54:44 Atlantis dhclient: DHCPDISCOVER on sit0 to 255.255.255.255
> port 67 interval 10
> Jul 17 13:54:50 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
> port 67 interval 5
> Jul 17 13:54:54 Atlantis dhclient: No DHCPOFFERS received.
> Jul 17 13:54:54 Atlantis dhclient: No working leases in persistent database
> - sleeping.
>
>

Reply With Quote
  #3 (permalink)  
Old 07-17-2005
Bit Twister
 
Posts: n/a
Default Re: Help: Mandriva drops DHCP IP address nor can't ping to local host

On Sun, 17 Jul 2005 19:58:13 +0300, Michael Badt wrote:
> Hi,
> My dual boot (Mandriva LE 2005 LE - fully updated/Win2000) at work worked
> fine (both OS) till this weekend.
> [root@Atlantis miki]# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:02:A5:BA:EF:CC
> inet addr:10.4.4.13 Bcast:10.4.255.255 Mask:255.255.0.0
> inet6 addr: fe80::202:a5ff:feba:efcc/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:289 errors:0 dropped:0 overruns:0 frame:0
> TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:28768 (28.0 Kb) TX bytes:7662 (7.4 Kb)
>
> lo Link encap:Local Loopback
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:25 errors:0 dropped:0 overruns:0 frame:0
> TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:4171 (4.0 Kb) TX bytes:4171 (4.0 Kb)
>
> sit0 Link encap:IPv6-in-IPv4
> inet6 addr: ::127.0.0.1/96 Scope:Unknown
> UP RUNNING NOARP MTU:1480 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:10 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)



Hmmm, inet6. If me I would turn of ipv6.

click up a terminal and do the following:
su -l root
service network stop # shuts down the network
export DISPLAY=:0 # allows use of gui tools
kwrite /etc/sysconfig/network # start a gui editor to add one line
and add the following line followed by a carriage return.
NETWORKING_IPV6=no
save and exit.

service network start # starts up the network
exit # exits root login
exit # exits user terminal
Reply With Quote
  #4 (permalink)  
Old 07-18-2005
Michael Badt
 
Posts: n/a
Default Re: Help: Mandriva drops DHCP IP address nor can't ping to local host

Thanks all,
I'll try to turn off IPV6.
DNS works for me.
I'll test other options and let you know.


Michael Badt


Jack Masters wrote:

> Michael Badt wrote:
>> Hi,
>> My dual boot (Mandriva LE 2005 LE - fully updated/Win2000) at work worked
>> fine (both OS) till this weekend.
>> The laptop is connected to a physical LAN with a DHCP server.
>> This week, I couldn't browse in Linux, although I was able to download
>> emails from the local exchange server (but not my other, "external"
>> account). Trying to analyze the problem (details below) I noticed that,
>> among others:
>> a. The laptop couldn't ping to 127.0.0.1

>
> From your logs it looks like lo is set up for DHCP (and using a V6
> address) ???? If you are using IPV4, it should be hard configured to
> 127.0.0.1 (don't personally use MDK, but that is supposed to be
> somewhere in the network startup scripts)
>
>> b. The system log showed that eth0 has been allocated an IP address, yet,
>> less than a minute afterwards dhclient notified that there weren't free
>> leases (see below). Manually initiating dhclient resulted the same.

>
> Probably dhclient whinging about lo, eth0 seems OK.
>
> First step: can you ping the default gateway (10.4.253.253) ?
>
> Next step: does DNS resolution and ping to outside addresses work? What
> does 'ping www.example.com' tell you?
>
>>
>> Trying to compare, I switched to Win 2000 only to find that I COULD
>> browse using MS Explorer (Yak) but could NOT browse using (Win) Firefox.
>> Weird!

>
> Most likely scenario: network admin has blocked outbound traffic on port
> 80, and installed a login script on the windoze domain server that sets
> up IE to use a proxy. Check the proxy server configuration in IE, and if
> it has a proxy configured copy that setting into Firefox.
>
>> I've checked the Win networking parameters and found these were identical
>> to those as Linux. The Win parameters were:
>> IP 10.4.4.3
>> Net Mask 255.255.0.0
>> GW 10.4.253.253
>> DNS Suffix rf.local
>>
>> Needless to mention that my Sys Administrator isn't concerned neither
>> about Linux nor Firefox...
>>
>> Please advise.
>>
>> TIA
>> Michael Badt
>>
>>
>> -----------following are the relevant Linux commands and
>> responses--------- Commands ran as root in updated Mandriva 2005 LE
>> -----------------
>> [root@Atlantis miki]# ifconfig
>> eth0 Link encap:Ethernet HWaddr 00:02:A5:BA:EF:CC
>> inet addr:10.4.4.13 Bcast:10.4.255.255 Mask:255.255.0.0
>> inet6 addr: fe80::202:a5ff:feba:efcc/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:289 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:28768 (28.0 Kb) TX bytes:7662 (7.4 Kb)
>>
>> lo Link encap:Local Loopback
>> inet6 addr: ::1/128 Scope:Host
>> UP LOOPBACK RUNNING MTU:16436 Metric:1
>> RX packets:25 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:4171 (4.0 Kb) TX bytes:4171 (4.0 Kb)
>>
>> sit0 Link encap:IPv6-in-IPv4
>> inet6 addr: ::127.0.0.1/96 Scope:Unknown
>> UP RUNNING NOARP MTU:1480 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:10 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>> --------------------------
>> [root@Atlantis miki]# ping 127.0.0.1
>> PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
>>
>> --- 127.0.0.1 ping statistics ---
>> 87 packets transmitted, 0 received, 100% packet loss, time 85986ms
>>
>> [root@Atlantis miki]# ping 10.4.4.13
>> PING 10.4.4.13 (10.4.4.13) 56(84) bytes of data.
>> 64 bytes from 10.4.4.13: icmp_seq=1 ttl=64 time=0.122 ms
>> 64 bytes from 10.4.4.13: icmp_seq=2 ttl=64 time=0.086 ms
>> 64 bytes from 10.4.4.13: icmp_seq=3 ttl=64 time=0.074 ms
>>
>> --- 10.4.4.13 ping statistics ---
>> 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
>> rtt min/avg/max/mdev = 0.074/0.094/0.122/0.020 ms
>>
>> ------------------
>>
>> route
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> 10.4.0.0 * 255.255.0.0 U 0 0 0
>> eth0
>> default 10.4.253.253 0.0.0.0 UG 0 0 0
>> eth0 ------------------
>> cat /etc/resolv.conf
>> search rf.local
>> nameserver 10.2.34.1
>> nameserver 10.2.34.2
>> ---------------
>> cat /etc/hosts
>> 127.0.0.1 Atlantis localhost
>> -----------------
>> relevant part of /var/log/syslog
>> Jul 17 13:54:01 Atlantis dhclient: DHCPACK from 194.90.39.108
>> Jul 17 13:54:01 Atlantis dhclient: bound to 10.4.4.13 -- renewal in
>> 297597 seconds.
>> Jul 17 13:54:05 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 15
>> Jul 17 13:54:07 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 11
>> Jul 17 13:54:18 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 7
>> Jul 17 13:54:20 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 9
>> Jul 17 13:54:25 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 7
>> Jul 17 13:54:29 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 21
>> Jul 17 13:54:32 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 12
>> Jul 17 13:54:43 Atlantis ntpd[7123]: synchronized to LOCAL(0), stratum=10
>> Jul 17 13:54:43 Atlantis ntpd[7123]: kernel time sync disabled 0041
>> Jul 17 13:54:44 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 10
>> Jul 17 13:54:50 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 5
>> Jul 17 13:54:54 Atlantis dhclient: No DHCPOFFERS received.
>> Jul 17 13:54:54 Atlantis dhclient: No working leases in persistent
>> database - sleeping.
>>
>>


Reply With Quote
  #5 (permalink)  
Old 07-18-2005
Michael Badt
 
Posts: n/a
Default Re: Help: Mandriva drops DHCP IP address nor can't ping to local host

Thanks Jack !
You were correct. My Sys Admin has added a proxy. Once I configured Firefox
to automatically find and use the proxy, I could browse again in BOTH OSs.
I even managed to get the proxy IP address.
The sole problem remaining, is downloading my "external" pop email using
kmail. Any Idea?

TIA


Jack Masters wrote:

> Michael Badt wrote:
>> Hi,
>> My dual boot (Mandriva LE 2005 LE - fully updated/Win2000) at work worked
>> fine (both OS) till this weekend.
>> The laptop is connected to a physical LAN with a DHCP server.
>> This week, I couldn't browse in Linux, although I was able to download
>> emails from the local exchange server (but not my other, "external"
>> account). Trying to analyze the problem (details below) I noticed that,
>> among others:
>> a. The laptop couldn't ping to 127.0.0.1

>
> From your logs it looks like lo is set up for DHCP (and using a V6
> address) ???? If you are using IPV4, it should be hard configured to
> 127.0.0.1 (don't personally use MDK, but that is supposed to be
> somewhere in the network startup scripts)
>
>> b. The system log showed that eth0 has been allocated an IP address, yet,
>> less than a minute afterwards dhclient notified that there weren't free
>> leases (see below). Manually initiating dhclient resulted the same.

>
> Probably dhclient whinging about lo, eth0 seems OK.
>
> First step: can you ping the default gateway (10.4.253.253) ?
>
> Next step: does DNS resolution and ping to outside addresses work? What
> does 'ping www.example.com' tell you?
>
>>
>> Trying to compare, I switched to Win 2000 only to find that I COULD
>> browse using MS Explorer (Yak) but could NOT browse using (Win) Firefox.
>> Weird!

>
> Most likely scenario: network admin has blocked outbound traffic on port
> 80, and installed a login script on the windoze domain server that sets
> up IE to use a proxy. Check the proxy server configuration in IE, and if
> it has a proxy configured copy that setting into Firefox.
>
>> I've checked the Win networking parameters and found these were identical
>> to those as Linux. The Win parameters were:
>> IP 10.4.4.3
>> Net Mask 255.255.0.0
>> GW 10.4.253.253
>> DNS Suffix rf.local
>>
>> Needless to mention that my Sys Administrator isn't concerned neither
>> about Linux nor Firefox...
>>
>> Please advise.
>>
>> TIA
>> Michael Badt
>>
>>
>> -----------following are the relevant Linux commands and
>> responses--------- Commands ran as root in updated Mandriva 2005 LE
>> -----------------
>> [root@Atlantis miki]# ifconfig
>> eth0 Link encap:Ethernet HWaddr 00:02:A5:BA:EF:CC
>> inet addr:10.4.4.13 Bcast:10.4.255.255 Mask:255.255.0.0
>> inet6 addr: fe80::202:a5ff:feba:efcc/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:289 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:28768 (28.0 Kb) TX bytes:7662 (7.4 Kb)
>>
>> lo Link encap:Local Loopback
>> inet6 addr: ::1/128 Scope:Host
>> UP LOOPBACK RUNNING MTU:16436 Metric:1
>> RX packets:25 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:4171 (4.0 Kb) TX bytes:4171 (4.0 Kb)
>>
>> sit0 Link encap:IPv6-in-IPv4
>> inet6 addr: ::127.0.0.1/96 Scope:Unknown
>> UP RUNNING NOARP MTU:1480 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:10 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>> --------------------------
>> [root@Atlantis miki]# ping 127.0.0.1
>> PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
>>
>> --- 127.0.0.1 ping statistics ---
>> 87 packets transmitted, 0 received, 100% packet loss, time 85986ms
>>
>> [root@Atlantis miki]# ping 10.4.4.13
>> PING 10.4.4.13 (10.4.4.13) 56(84) bytes of data.
>> 64 bytes from 10.4.4.13: icmp_seq=1 ttl=64 time=0.122 ms
>> 64 bytes from 10.4.4.13: icmp_seq=2 ttl=64 time=0.086 ms
>> 64 bytes from 10.4.4.13: icmp_seq=3 ttl=64 time=0.074 ms
>>
>> --- 10.4.4.13 ping statistics ---
>> 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
>> rtt min/avg/max/mdev = 0.074/0.094/0.122/0.020 ms
>>
>> ------------------
>>
>> route
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> 10.4.0.0 * 255.255.0.0 U 0 0 0
>> eth0
>> default 10.4.253.253 0.0.0.0 UG 0 0 0
>> eth0 ------------------
>> cat /etc/resolv.conf
>> search rf.local
>> nameserver 10.2.34.1
>> nameserver 10.2.34.2
>> ---------------
>> cat /etc/hosts
>> 127.0.0.1 Atlantis localhost
>> -----------------
>> relevant part of /var/log/syslog
>> Jul 17 13:54:01 Atlantis dhclient: DHCPACK from 194.90.39.108
>> Jul 17 13:54:01 Atlantis dhclient: bound to 10.4.4.13 -- renewal in
>> 297597 seconds.
>> Jul 17 13:54:05 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 15
>> Jul 17 13:54:07 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 11
>> Jul 17 13:54:18 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 7
>> Jul 17 13:54:20 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 9
>> Jul 17 13:54:25 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 7
>> Jul 17 13:54:29 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 21
>> Jul 17 13:54:32 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 12
>> Jul 17 13:54:43 Atlantis ntpd[7123]: synchronized to LOCAL(0), stratum=10
>> Jul 17 13:54:43 Atlantis ntpd[7123]: kernel time sync disabled 0041
>> Jul 17 13:54:44 Atlantis dhclient: DHCPDISCOVER on sit0 to
>> 255.255.255.255 port 67 interval 10
>> Jul 17 13:54:50 Atlantis dhclient: DHCPDISCOVER on lo to 255.255.255.255
>> port 67 interval 5
>> Jul 17 13:54:54 Atlantis dhclient: No DHCPOFFERS received.
>> Jul 17 13:54:54 Atlantis dhclient: No working leases in persistent
>> database - sleeping.
>>
>>


Reply With Quote
  #6 (permalink)  
Old 07-18-2005
Jack Masters
 
Posts: n/a
Default Re: Help: Mandriva drops DHCP IP address nor can't ping to localhost

Michael Badt wrote:
> Thanks Jack !
> You were correct. My Sys Admin has added a proxy. Once I configured Firefox
> to automatically find and use the proxy, I could browse again in BOTH OSs.
> I even managed to get the proxy IP address.
> The sole problem remaining, is downloading my "external" pop email using
> kmail. Any Idea?
>
> TIA
>
>

Sorry, no easy solution for that one. Either talk to sysadmin to open
connections to port 110 (the chances of that happening are very slim
though, as the whole object of the exercise is to pass all incoming data
through a virus-scanner and allowing direct POP access would poke a hole
the size of a large meteorite in that), or if your email provider has
some form of web-mail use that to access it.

If you have access to another machine somewhere (e.g. at home) with
always-on internet connection and a fixed IP address, you could set up a
web-mail server there (or even a port forwarder from port 80 to 110 for
specific incoming IP addresses). <unruh>Oops, forget I said that last
bit, you might be violating company policy right up to the level of
dismissable offense.</unruh> Joking aside, there is a good reason for
limiting outside accesss from within a company network; If you ever have
seen the mess a windoze virus can make of a corporate network you will know.

J.
Reply With Quote
  #7 (permalink)  
Old 07-19-2005
Michael Badt
 
Posts: n/a
Default Re: Help: Mandriva drops DHCP IP address nor can't ping to local host

Jack Masters wrote:

> Michael Badt wrote:
>> Thanks Jack !
>> You were correct. My Sys Admin has added a proxy. Once I configured
>> Firefox to automatically find and use the proxy, I could browse again in
>> BOTH OSs. I even managed to get the proxy IP address.
>> The sole problem remaining, is downloading my "external" pop email using
>> kmail. Any Idea?
>>
>> TIA
>>
>>

> Sorry, no easy solution for that one. Either talk to sysadmin to open
> connections to port 110 (the chances of that happening are very slim
> though, as the whole object of the exercise is to pass all incoming data
> through a virus-scanner and allowing direct POP access would poke a hole
> the size of a large meteorite in that), or if your email provider has
> some form of web-mail use that to access it.
>
> If you have access to another machine somewhere (e.g. at home) with
> always-on internet connection and a fixed IP address, you could set up a
> web-mail server there (or even a port forwarder from port 80 to 110 for
> specific incoming IP addresses). <unruh>Oops, forget I said that last
> bit, you might be violating company policy right up to the level of
> dismissable offense.</unruh> Joking aside, there is a good reason for
> limiting outside accesss from within a company network; If you ever have
> seen the mess a windoze virus can make of a corporate network you will
> know.
>
> J.



Thanks again Jack for your time and insight !
Michael
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0