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.
$@##% #%#^#*#& I had to shut down the computer to replace the floppy. Well I'm back on and decided to ping them again.
Second computer to main "Network unreachable"
Main to second computer:root@localhost mlg]# ping -c4 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
From 66.225.244.154 icmp_seq=1 Time to live exceeded
From 66.225.244.154 icmp_seq=2 Time to live exceeded
From 66.225.244.154 icmp_seq=3 Time to live exceeded
From 66.225.244.154 icmp_seq=4 Time to live exceeded
Well I ran ifconfig again and everything is back to where it started??????????????? I know that everything is not suppose to reset every time you reboot. What did I do wrong??????
When I went to shutdown to replace the floppy I shut down second computer before I realized that it was the wrong one, no wise cracks please so they were both basically rebooted and they are both right back to where we started. Should I redo the IP addys and mask's now, I'll wait until I get a reply.
Like peace dog said PEACEDOG, just edit /etc/sysconfig/network-scripts/ifcfg-eth0 should be self explantory, than we the sysboots up it will read that file and set the IP correctly.
Good thing you got them pinging... Follow that link and do what it says and youll be on your way, just post again if you need anything!
Man I hate being a dumb a##
I've pasted and typed in the above edit command a dozen different ways. The only way I've found to get into anything is with the VI text editer. Below is what it shows the mask is right, do I need to insert the IP address, again if you could give me some help on this. I certainly don't want to have to start over every time I reboot.
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
WIRELESS_ENC_KEY=""
I've got them pinging again but I need to get the setup saved before I go any farther. I can't find anything in my book right nowsurprise Part of it is because I'm tired, so I'm off to bed. See you all tomorrow, I hope
Well I got the shared internet connection working but it wasn't my doing. I went to the link peacedog gave me to get the firwall configured once I had the computers pinging and I got totally lost. Got the Linux book out, read a bunch of that read in the link again and the more I read the more confused I got. This is going to be slow going for me it looks like. Well anyway I let Mandrake set up the shared connection, took five minutes. I didn't want to do it that way, that's how I networked windose and I never learned anything, not much anyway. Ahh but there's plenty of days ahead and plenty of time to crash plenty of computers.
Thankyou gentleman for your time and patience.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
i believe mandrake uses squid proxy for it's internet sharing, if that's correct you could start your reading on squid, i suggested a link earlier that has a ton of good info. you could also read up here
I saved that earlier link peacedog along with the one you just posted. I haven't given up, just need a break. I want it to stay fun.
I'll get it andrew, I'm stubborn, can't seem to let anything whip me. Boy the trouble that has caused in my life
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.