Jump to content
Compatible Support Forums
Sign in to follow this  
BTierens

Mandrake 9.2 lan

Recommended Posts

Hi,

 

I have two computers. One with Mandrake Linux 9.2 and Windows XP and another with Windows ME. I use a router to connect both computers to the internet. The internet works fine with Windows XP but it doesn't work on Linux (Linux is installed on the same computer). The IP of the Linux/Windows XP-computer is 192.168.1.2.

 

Someone already helped me but doesn't know a solution for this problem.

To set up the internet connection, I do:

Quote:
ifconfig eth0 up 192.168.1.2

Then I do route to set the gateway:

Quote:
route add default gw 192.168.1.1 metric 1

 

This is the text of the /etc/resolv.conf file:

Quote:

search adsl.scarlet.be

nameserver 192.168.1.1

 

The ifconfig and route commands work fine but when I try to ping I get this errors:

Quote:

[root@localhost root]# ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

From 192.168.1.2 icmp_seq=1 Destination Host Unreachable

From 192.168.1.2 icmp_seq=2 Destination Host Unreachable

From 192.168.1.2 icmp_seq=3 Destination Host Unreachable

 

--- 192.168.1.1 ping statistics ---

4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3022ms

, pipe 3

I have no problems with ping on Windows XP.

 

When I reboot Linux I always get this:

Quote:

Bringing up interface

eth0

zcip[786] retrieved addres 127.255.255.255 for eth0:9

zcip[786] sending probe 2 for 127.255.255.255

zcip[786] sending probe 4 for 127.255.255.255

[OK]

I think this is the problem. But I don't know how to solve it.

 

I'm using a Broadcom 440x 10/100 Integrated Controller.

I already tried the Mandrake Control Center but this didn't work.

Share this post


Link to post

The "resolv.conf" file is used ton specify the DNS adresses !

Here I don't think that your Gateway is also your DNS ...

To Fix this Network Problem , try to log you in a Text Session and use 'netconf' or something like this , I don't remember exactly the name of this Program. It's a Text utility which works fine to setup the Network's Params ...

Share this post


Link to post

please reboot and attempt to configure your network interface (set addr 192.168.1.2 etc..)

(you may leave your resolv.conf file "as is" for the time being)

 

having done what you think is right, then please provide the output of the

following commands:

 

"netstat -r"

"ifconfig -a"

 

samyscoub: thanks for trying to help, but BTierens has more basic problems

to get fixed before working out any DNS configuration issues.

 

 

Share this post


Link to post

This is what I get:

 

netstat -r

Quote:

[root@localhost root]# netstat -r

Kernel IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface

192.168.1.0 * 255.255.255.0 U 0 0 0 eth0

127.0.0.0 * 255.0.0.0 U 0 0 0 lo

default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

ifconfig -a

Quote:

[root@localhost root]# ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:0B:DB:B2:0B:41

inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:85 errors:0 dropped:0 overruns:0 frame:0

TX packets:18 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:27466 (26.8 Kb) TX bytes:1152 (1.1 Kb)

Interrupt:3 Base address:0xe000 Memory:fe9fe000-fe9ff080

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:20 errors:0 dropped:0 overruns:0 frame:0

TX packets:20 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1544 (1.5 Kb) TX bytes:1544 (1.5 Kb)

 

[root@localhost root]#

Share this post


Link to post

interesting. and without rebooting or changing the network configuration

of the system whose conditions you have documented in your previous post:

 

"arp -a"

and

"ping 192.168.1.1"

 

??

 

you see, I notice there's no interface 'eth0:9' reported by ifconfig..

in fact, it looks entirely correct and normal..

 

 

Share this post


Link to post

I ran all the commands I ran in my previous posts and then arp -a and ping 192.168.1.1.

 

Quote:

[root@localhost root]# arp -a

? (192.168.1.1) at <incomplete> on eth0

[root@localhost root]# ping 192.168.1.1

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

From 192.168.1.2 icmp_seq=1 Destination Host Unreachable

From 192.168.1.2 icmp_seq=2 Destination Host Unreachable

From 192.168.1.2 icmp_seq=3 Destination Host Unreachable

From 192.168.1.2 icmp_seq=4 Destination Host Unreachable

From 192.168.1.2 icmp_seq=5 Destination Host Unreachable

From 192.168.1.2 icmp_seq=6 Destination Host Unreachable

 

--- 192.168.1.1 ping statistics ---

7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6025ms

, pipe 3

Share this post


Link to post

hmm. interesting. (words you never want to hear from a Doctor)

 

just humor me and run through your setup again, but this time:

 

[size:4][tt]ifconfig eth0 192.168.1.12 netmask 255.255.0.0[/tt][/color]

 

(oh, and you can skip the 'metric' when you add the default route,

but you might want to add '-net' before 'default')

[ see 'route --help --inet' ]

 

if you get the same arp and ping results, then:

 

are you sure you haven't plugged your cable into a 'straight-through' port

instead of a crossover ('X') port?

 

are you sure you haven't grabbed a crossover cable when you meant

to grab a straight-through cable?

 

 

Share this post


Link to post

I still get the same results.

I think that everything is plugged in the right port because my internet connection works correct under Windows XP (installed on the same computer). If I run ping under Windows, I don't get errors.

Share this post


Link to post

Why not use the networking section of Mandrake Control Center to configure the networking? It has always worked well for me.

 

If you've installed mandrake then use mandrake!

 

Also doing this will install all of the networking components. They may not be installed until required by the mandrake configuration tools.

 

 

Syd

Share this post


Link to post

Originally posted by sydhancock:

Quote:
Why not use the networking section of Mandrake Control Center to configure the networking? It has always worked well for me.

 

Apologies - just noticed that you already said that you tried MCC.

 

But here's another suggestion - did you set the security level higher than the default when you were installing?

 

Good luck anyway

Syd

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×