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




Topic Options
#143506 - 08/13/04 10:36 AM Mandrake 9.2 lan
BTierens Offline
stranger

Registered: 08/13/04
Posts: 4
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.

Top
Advertisement
#143508 - 08/13/04 11:08 AM Re: Mandrake 9.2 lan
samyscoub Offline
stranger

Registered: 06/30/04
Posts: 2
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 ...

Top
#143528 - 08/13/04 07:29 PM Re: Mandrake 9.2 lan
martouf Offline
enthusiast

Registered: 07/09/04
Posts: 338
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.


Top
#143535 - 08/13/04 09:34 PM Re: Mandrake 9.2 lan
BTierens Offline
stranger

Registered: 08/13/04
Posts: 4
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]#

Top
#143562 - 08/14/04 07:54 PM Re: Mandrake 9.2 lan
martouf Offline
enthusiast

Registered: 07/09/04
Posts: 338
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..


Top
#143648 - 08/16/04 03:14 PM Re: Mandrake 9.2 lan
BTierens Offline
stranger

Registered: 08/13/04
Posts: 4
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

Top
#143656 - 08/16/04 05:54 PM Re: Mandrake 9.2 lan
martouf Offline
enthusiast

Registered: 07/09/04
Posts: 338
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?


Top
#143667 - 08/16/04 07:23 PM Re: Mandrake 9.2 lan
BTierens Offline
stranger

Registered: 08/13/04
Posts: 4
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.

Top
#143678 - 08/16/04 09:32 PM Re: Mandrake 9.2 lan
sydhancock Offline
stranger

Registered: 08/16/04
Posts: 2
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

Top
#143679 - 08/16/04 09:40 PM Re: Mandrake 9.2 lan
sydhancock Offline
stranger

Registered: 08/16/04
Posts: 2
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

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
x86 OS, RAM, & Virtual Machines
by Myke
12/22/09 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Who's Online
0 Registered (), 242 Guests and 40 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91397 Members
24 Forums
59262 Topics
189787 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22