Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
im a total newbie to linux, and i just installed mandrake 10 on my pc.
i used to have wxp on it, and connect to my other pc with w98 through a crossover tp cable. this works fine, and i use this for both local filesharing and internetsharing.
internet is connected to my second nic (eth1) through pppoe on the wxp/mandrake pc, and works fine both in xp and linux.
the problem is that i cannot for my life get any connection with the w98 pc in linux, even though the hw is working correct since it works fine when i boot in wxp. i try ping'ing, but just get some errormessages saying 'destination host unreachable' or something like that. the same thing happens when i try to ping the linux pc from w98.
the settings on the linux pc is ip 192.168.0.1 mask 255.255.255.0 and the w98 pc is set to obtain ip automatically (the internet connection sharing tool in windows did that); currently it has ip 192.168.0.93 mask 255.255.255.0 and default gw 192.168.0.1.
so...basically i need help with two things, 1. get the pings up and running so that i have something to work on, and 2. share the internet connection on the mandrake pc to the w98 pc.
i've searched on the internet for days about this, but havent gotten anywhere so any help would be very much appreciated!
maybe u could try manually entering the ip addresses in win98 in network tcp/ip properties and doing the same in linux . If u have the winxp/linux as ur internet connection and have run ics(on xp) then leave the default gateway address as 192.168.0.1
Also another thing u could check out is if u have a firewall installed on your win machine if so then this could be stopping u from pinging but it sounds like there is more of a prob with the addresses if u r connecting to linux and win98 and not using xp then ics is not really needed. Personally I would set ur addresses manually and then u will know what is what :-)
Originally posted by binidiot XP/Mandrake dual boot. 98 networking is set up with XP but not Mandrake. How about 98 in Mandrake hosts file, resolv.conf??
# right, i have 98 on the second pc and xp/mandrake in dualboot so i don't really want to mess with the settings on the 98 pc since it is set up to work (and works) with the xp configuration i have.
# what do you mean by 98 in mandrake hosts file, resolv.conf?
Sorry, I meant in Mandrake is there not hosts, host.conf, host.equiv....somewhere to identify the Win98 machine's address so it can find the ping. I think when you turn XP off to boot Linux that Linux may not know that local IP.
Originally posted by binidiot Sorry, I meant in Mandrake is there not hosts, host.conf, host.equiv....somewhere to identify the Win98 machine's address so it can find the ping. I think when you turn XP off to boot Linux that Linux may not know that local IP.
# yes there is an /etc/hosts that contain lines which maps ip addresses to hostnames, but that really isn't a problem i think as long as i try to ping the ip address directly....
# i think there must be something else wrong here, but i just can't figure out what it is...i always thought that if i set the ip to 192.168.0.x and 192.168.0.y and the netmask to 255.255.255.0, then they should be able to ping each other not matter what....apparently this is not so for mandrake linux
# i hope you guys can help me out on this, i really need it!
Hmm, let's see now...with the XP DHCP, ICS out of the picture, eth0/192.168.0.1 in Mandrake, cabled to Win98 NIC with a 192.168.0 IP, same netmask ... where does that ping go ... can you ping Mandrake 192.168.0.1 from the Win98 machine?? How about a default gateway set in Mandrake for eth0. If you set eth0 default gateway to Win 98 IP what would happen? In the end you'll need to set up Mandrake as a gateway to share the internet.
Just trying to understand. Right now, I have opposite setup.....98/Linux and 98/FreeBSD dual boots and XP connected to internet. Have no trouble sharing internet or locally no matter which OS is booted am on the verge of slicing that 120gig XP disk to put Linux on the front line.
# i have made some progress here now. i disabled the firewall in mandrake linux, an d set the w98 pc to receive automatic ip. when it restarted i could ping both ways, and i can ping the internet from the linux pc.
# i can still not ping or access the internet from the w98 pc, so if anyone knows how i can fix that, it'd be great!
# the linux pc is now like this:
[root@christian root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:E2:54:69:67
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:e2ff:fe54:6967/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1216 errors:0 dropped:0 overruns:0 frame:1
TX packets:1068 errors:0 dropped:0 overruns:11 carrier:0
collisions:0 txqueuelen:1000
RX bytes:664609 (649.0 Kb) TX bytes:92539 (90.3 Kb)
Interrupt:10 Base address:0x2000
Hello, I think mermxxx above had it right. Since Win98 NIC is set up for DHCP with XP, it depends on XP DHCP for routing. You're gonna have to manually set IPs in Mandrake and Win98. I am typing on Win98 (tri-boot w/FreeBSD, DragonFlyBSD) machine right now. It is also netted by XP DHCP machine and it's Win98 IP is 192.168.0.94.
I have:
Control Panel->Network->Configuration tab->click "TCP/IP nic card" in the installed components list->click Properties->IP Address tab->choose Specify an IP Address and add 192.168.0.94 with 255.255.255.0 in space provided->Gateway tab add 192.168.0.1->OK->OK
and now must reboot see if anything has changed. Cheers.
Geez, you're gonna fix Mandrake before I get done troubleshooting Windows 98/XP .... Anyways in last post I forgot to add my XP host name and mshome.net domain and 192.168.0.1 in DNS Configuration tab. Now I am cool. Windows simplicity, heh ... that's a lot of clickin and clacking and rebootin to do such a simple thing......
OK. So next step is how to get 98 out to internet via Mandrake. Off to Debian with me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.