LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2003, 01:22 PM   #1
janecek
LQ Newbie
 
Registered: Nov 2003
Location: Slovakia
Distribution: Mandrake 9.2
Posts: 6

Rep: Reputation: 0
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
 
Old 11-26-2003, 01:30 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

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

And this on Win98:
ipconfig /all
route print
 
Old 11-26-2003, 01:43 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,986

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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.
 
Old 11-26-2003, 01:52 PM   #4
janecek
LQ Newbie
 
Registered: Nov 2003
Location: Slovakia
Distribution: Mandrake 9.2
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 11-26-2003, 02:23 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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
 
Old 11-26-2003, 02:54 PM   #6
janecek
LQ Newbie
 
Registered: Nov 2003
Location: Slovakia
Distribution: Mandrake 9.2
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 11-26-2003, 03:00 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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.
 
Old 11-26-2003, 03:07 PM   #8
janecek
LQ Newbie
 
Registered: Nov 2003
Location: Slovakia
Distribution: Mandrake 9.2
Posts: 6

Original Poster
Rep: Reputation: 0
no need to configure broadcast and other things? where can be the problem? is it with my network card? can be problem there? thnx
 
Old 11-26-2003, 03:08 PM   #9
janecek
LQ Newbie
 
Registered: Nov 2003
Location: Slovakia
Distribution: Mandrake 9.2
Posts: 6

Original Poster
Rep: Reputation: 0
and can i have second computer in my linux as a default gateway for internet sharing? thnx
 
Old 11-26-2003, 03:24 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

Broadcast will be: 192.168.1.255
 
Old 11-27-2003, 11:06 AM   #11
janecek
LQ Newbie
 
Registered: Nov 2003
Location: Slovakia
Distribution: Mandrake 9.2
Posts: 6

Original Poster
Rep: Reputation: 0
ok the problem was in bios ACPI has to be disabled and everything is ok
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network problem in mandrake 10.0, can't do anything. OmniXBro Mandriva 12 10-11-2004 10:52 AM
Mandrake 10.0 multiple network connection problem neranjana Mandriva 0 09-27-2004 01:36 AM
problem connecting to network with mandrake 9.1 Donchima Linux - Networking 0 10-19-2003 11:45 AM
Mandrake 9.1 Network adapter problem pnesbitt Linux - Networking 17 09-23-2003 06:17 AM
Mandrake 9.0 network problem bazaloy Linux - Networking 7 12-01-2002 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration