Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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've been using WindowsME to share my cable connection with my wifes comp, also WindowsME (mine being the dual NIC card machine hooked to the Cable Modem and HUB) and all's been well.
I installed Linux (RH 7.2) and although I can look around the net just fine, if I try to tinker with eth1 (The card going to the HUB and then to her comp) neither of them work any more, not even in start up. I get a red FAILED and no longer can get on the internet.
eth0 is DHCP and that's about it, eth1 is another storie. I have tried to put in the IP address stuff from her winipcfg information instead of DHCP and still nothing.
ALSO, using KDE all is well, but when I fire up Gnome it tells me the domaine address or something can't connect. Somehow RH gave this computer the name JUSTINS, which is what it is in Windows but I didn't specify that in setting up RH. Can I change this? It may be the problem.
I really suck with line commands, but REALLY wanna learn Linux so I can CHUCK windows out the friggin' window.
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617
Rep:
hmmm
firstly, if i were you i would head over to this website. this will help you understand linux better and also give you some simple command line commands to get you started and moving round your system. you;ll need them sooner or later.
secondly, how have you set up your system? how did you set up dhcp and with what tool? what isp are you using?
have you set red hat to do ip masquerading (the thing that will allow your wife's computer to share your connection)? you won't be able to share a connection till this is set up (which can be a bit difficult). what are the type of cards that you have?
try typing
Code:
ifconfig -a
at a command prompt and post the results here.
Alex
P.S. you may want to look at the how-tos on linuxdoc.org .
I am using network configuration to set up my ethernet cards (both RTL8139) the one connecting to the net is set up for automatic DHCP and automatic DNS. I use Road Runner cable internet (A Time Warner company).
The other card is just sitting there right now, every time I have it load on bootup or turn any of it on everything stops working.
is setting my computer up as a server something I should try? I'd LOVE to set it up as a Router. Is that the same thing as IP Masquerading?
I also ran ifconfig -a and this is what it gave me:
if you want to change your hostname (JUSTINS) just type:
hostname whatyouwantyourhostnametobe
here is what I am grasping...
you replaced your WinME box with rh72. the WinME box was running ICS. if this is correct you get to do what you would love to do. ICS is a router of sorts, actually a proxy service.
so you can do one of two things...
1) set up your rh72 box as a router running NAT (network address translation)
2) set up your rh72 box as a proxy server
this site should get you going in the right direction, as i will be doing the same thing shortly. right now i use a cisco router, but am going to start working on my rh router/firewall...might use a BSD flavor though...
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617
Rep:
that stuff you posted says that the kernel has detected both your cards and they are all chirpy (you don;'t have to start fiddling with modules and settings for them etc.).
the one you are connecting to the internet through seems to be eth0 since it says that traffic is passing through.
im afraid im not to knowledgable on setting up a network but yes ipmasquerading is what is needed to set linux up as a router (to the internet). you'll need all the other firewall things in the kernel set up as well which is a bit beyond my grasp. you will have to look at the HOW-TO guides on the website b0b0 gave you. that should help you on your way to networking
Yes, eth0 is my internet card (via cable modem). When I boot to WinME the network kicks butt. I just can't seem to understand what I've got to do to do it in Linux.
What do I have to set up to use Linux as I do WinME? That's what I'm hunting down right now. I really don't care how I use it, so long as my wifes WinME comp can get on the net with out me having to be using WinME.
I've been trying to read up on it all and there are just TOO many ways to do it, and I don't know which one I need to use first, last or even at all.
Do I need to fire up SMB to use the files on her computer and visa versa once the intranet is up and running? Or do I need to do that before? Or do I need that at all?
Security isn't much of a concern since neither of us really do anything that's not replacable, so the simpler the better.
When I set eth1 to DHCP both stop working .. failing at start up, and dissconecting both from communication. (Knocking me off the internet, and nothing to or from her machine).
I think I need to use something to act as the proxy server/router/firewall what ever ..
Yep, gotta set up that box as either a proxy server (fetches web pages, etc for the other boxes on the LAN) or as a router. You are only given one live IP address from your ISP, so it has to be give to your WinME/rh box. Either proxy or routing will accomplish your goal. Which one you pick is all dependent on what you want to do/learn.
Setting up the proxy will definitly be the easiest for now and you can play with the other cool stuff later. I am not sure about a proxy server for Linux, but I am positive that there is one out there...do a google search.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.