Mandrake 9.2 lan

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).

Linux Networking 361 This topic was started by ,


data/avatar/default/avatar05.webp

4 Posts
Location -
Joined 2004-08-13
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.2Then 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.

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar22.webp

2 Posts
Location -
Joined 2004-06-30
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 ...

data/avatar/default/avatar39.webp

336 Posts
Location -
Joined 2004-07-09
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.
 
 

data/avatar/default/avatar05.webp

4 Posts
Location -
Joined 2004-08-13
OP
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]#


data/avatar/default/avatar39.webp

336 Posts
Location -
Joined 2004-07-09
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..
 
 

data/avatar/default/avatar05.webp

4 Posts
Location -
Joined 2004-08-13
OP
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


data/avatar/default/avatar39.webp

336 Posts
Location -
Joined 2004-07-09
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]
 
(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?
 
 

data/avatar/default/avatar05.webp

4 Posts
Location -
Joined 2004-08-13
OP
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.

data/avatar/default/avatar17.webp

2 Posts
Location -
Joined 2004-08-16
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

data/avatar/default/avatar17.webp

2 Posts
Location -
Joined 2004-08-16
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