LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mandrake 9.1 network problem (https://www.linuxquestions.org/questions/linux-networking-3/mandrake-9-1-network-problem-120195/)

janecek 11-26-2003 01:22 PM

mandrake 9.1 network problem
 
this is my configuration:
amd 1300MHz
motherboard: Shuttle MK35V/N with network card onboard (iva 8235 bridge)

problem i can't ping anyone on ethernet

two computers linked with cross-linked cable (UTP)
and can't ping my second computer in network
my is on linux 9.2 madrake
second is on win98

configuration on linux Mandrake 9.2:

file hosts:
169.254.21.222 Juraj.sk Juraj
127.0.0.1 localhost
169.254.21.221 ENFORCER

file ifcfg-efh0:
DEVICE=eth0
BOOTPROTO=static
IPADDR=169.254.21.221
NETMASK=255.255.0.0
NETWORK=169.254.1.0 (i'm not sure about this)
BROADCAST=169.254.1.255 (i'm not sure about this)
ONBOOT=yes

output of ifcfg:

eth0 Link encap:Ethernet HWaddr 00:30:1B:38:06:77
inet addr:169.254.21.222 Bcast:169.254.21.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:39 overruns:0 frame:0
TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xe400

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:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6890 (6.7 Kb) TX bytes:6890 (6.7 Kb)

file lan in /etc/sysconfig:
HOSTNAME=Juraj
NETWORKING=yes
GATEWAY=169.254.21.221

this is ping:
PING 169.254.21.221 (169.254.21.221) 56(84) bytes of data.
From 169.254.21.222 icmp_seq=1 Destination Host Unreachable
From 169.254.21.222 icmp_seq=2 Destination Host Unreachable
From 169.254.21.222 icmp_seq=3 Destination Host Unreachable
From 169.254.21.222 icmp_seq=4 Destination Host Unreachable
From 169.254.21.222 icmp_seq=5 Destination Host Unreachable

--- 169.254.21.221 ping statistics ---
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4023ms
, pipe 3

if i put:
ifcfg add eth0 169.254.21.221
system with win98 get a message:
system find a problem ip adress IP 169.254.21.221 with system with mac 00:30:1B:38:06:77

so can you help me?

THANX

david_ross 11-26-2003 01:30 PM

Welcome to LQ.

Can you post the output of this on linux:
route -n

And this on Win98:
ipconfig /all
route print

kilgoretrout 11-26-2003 01:43 PM

I was never able to get a crossover cable network to work either in linux and that's with two linux boxes. And I tried damn near everything. So if someone knows the secret, I'd be interested as well. I finally broke down and bought a linksys router firewall for $40, primarily for sharing my cable internet connection. Added bonus, networking with dhcp through the router was simplicity itself. Your trying to network a windows and linux box so you'll need samba. I don't think that's possible with a crossover cable. But hey, I couldn't get two linux boxes to work with a crossover cable. :D

janecek 11-26-2003 01:52 PM

config of ip in Windows 98



host: . . . . . . ENFORCER

Servers DNS: . . . . . . . . 195.146.128.60

195.146.134.59

Typ uzla: . . . . . . . . . . Broadcast

Rozsah ID rozhrania NetBIOS:. . . . . . . .

Smerovanie protokolu IP zapnuté: . . . . . Nie

WINS Proxy zapnuté: . . . . . . . . . . . . Nie

Rozlišovanie rozhrania NetBIOS používa DNS: Nie



2 Sie? typu Ethernet - adaptér :

Popis: . . . . . . . . Realtek RTL8139/810x Family Fast Ethernet NIC

MAC: . . . . 00-0A-CD-01-9D-D6

DHCP on: . . . . . NO

Adress IP: . . . . . . 169.254.21.221

Maska subnet: . . . . 255.255.0.0

default getaway: . . .

Primárny server WINS: .

Sekundárny server WINS:

Prenájom získaný: . . .

?as prenájmu uplynie: .


Akt?vne smerovania:

Net Adress Subnet Mask Getaway adress Rozhranie Metrik
0.0.0.0 0.0.0.0 213.81.129.133 213.81.129.133 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
169.254.0.0 255.255.0.0 169.254.21.221 169.254.21.221 2
169.254.21.221 255.255.255.255 127.0.0.1 127.0.0.1 1
169.254.255.255 255.255.255.255 169.254.21.221 169.254.21.221 1
213.81.129.0 255.255.255.0 213.81.129.133 213.81.129.133 1
213.81.129.133 255.255.255.255 127.0.0.1 127.0.0.1 1
213.81.129.255 255.255.255.255 213.81.129.133 213.81.129.133 1
224.0.0.0 224.0.0.0 213.81.129.133 213.81.129.133 1
224.0.0.0 224.0.0.0 169.254.21.221 169.254.21.221 1
255.255.255.255 255.255.255.255 213.81.129.133 213.81.129.133 1

linux:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 169.254.162.104 0.0.0.0 UG 0 0 0 eth0

david_ross 11-26-2003 02:23 PM

It will work with a crossover.

I dont; kno why I missed it before but you wwill need to use private IP addresses on the crossover. Try:
Win98: 192.168.1.5
Linux: 192.168.1.6
Subnet mask: 255.255.255.0

janecek 11-26-2003 02:54 PM

i will try but, i don't mentioned that i have that before (win98 was: 192.168.1.1 and linux 192.168.1.2) or must be 5 and 6? i'll try thanx

david_ross 11-26-2003 03:00 PM

doesn't need to be 5 or 6 but most people use .1 for routers etc so I tend to start machine IPs a bit higher.

janecek 11-26-2003 03:07 PM

no need to configure broadcast and other things? where can be the problem? is it with my network card? can be problem there? thnx

janecek 11-26-2003 03:08 PM

and can i have second computer in my linux as a default gateway for internet sharing? thnx

david_ross 11-26-2003 03:24 PM

Yes set the gateway as your second computer if you want to share the net connection.

Broadcast will be: 192.168.1.255

janecek 11-27-2003 11:06 AM

ok the problem was in bios ACPI has to be disabled and everything is ok


All times are GMT -5. The time now is 06:21 PM.