Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Ok...so i got RH9 up and running flawlessly.....pretty simple install to be honest...but now it seems this is were the "Fun" starts...
I am majorly confused on the following items:
1. Shell prompt.....I understand how to get to a DOS prompt in Windows.....have no idea here.
2. I cant get my system to surf the web. DHCP is running on a Win2K Server...but the system is not pulling any info! I tried setting it up on a static address but still nothing.
Well i guess we can start with these.....I have tons of questions...but if I can get on the internet, I can view all the docs on the ne RH9 system, and not have to go between my XP machine and my linux box!!!
A couple of suggestions. One post, one question, and a subject that is specific to that question. I have to spend my time seeing that someone asked more than one question, and I spend more time editing than giving answers (slow dialup).
Quote:
1. Shell prompt.....I understand how to get to a DOS prompt in Windows.....have no idea here
Open an x terminal or press ctrl-alt-F3 (can be F1 through F6, F7 is the X session)
Using a Windows box to serve Linux. Something sounds backwards here. Does your nose run and your feet smell?
Gotta get you working then, so you can make a server to protect those vulnerable networked OS which was never designed for secure networking. You may be about to lose it all at any moment. I see your problem now.
Try taking it down and bringing it back up
ifdown eth0
ifup eth0
(I think)
Last edited by fancypiper; 06-10-2003 at 05:35 PM.
I think when I installed Redhat 9.0 (I reverted back to 7.3 as I found it buggy and didn't want to take the time to fix it) I saw nautilus start up with a "start here" that had some sort of networking wizard that may be easier to use, but I am used to my hand configuring. I don't have your version installed and your network, so I can's give specific settings, etc. Redhat changed it too much and removed lots of command line tools in 9.0 that I like to use with 7.3.
Browse through that "start here" and see if you may find the settings easier to configure that way.
Last edited by fancypiper; 06-10-2003 at 05:42 PM.
Tried all of this...still nothing....WOW...this linux box is really Fun! NOT!
Here are the configs taken from a Machine (win2kpro) that is on a static ip scheme, that surfs just fine on my network:
IP: 192.168.1.73
Subn: 255.255.255.0
Gate: 192.168.1.1
DNS: 207.155.183.72 and 207.155.183.73
That is it!!!!
I am running DNS inside my office for the DHCP clients to use...when a machine is on DHCP, the DNS reads 192.168.1.111 (server ip address)
This is getting very discouraging...i cant even get the simple things done in this software.
I have tried setting it up to be a DHCP client....and it is not pulling and ip info....does it matter that the DHCP server is a Windows 2k Server?
Is it normal to have the log in screen to say "Welcome to LocalHost"? When i go to log in...it says it could not lookup internet address for localhost.... What is all this?
Patience, young padawan.
Things are different in Linux when you're used to Windows machines. But, once you get the hang of it, you'll be addicted.
First, you HAVE to get to the command prompt. Click on the 'redhat' logo (where the start menu is in Windows) and go up until you get to 'System Tools', there should be a blue icon in there towards the bottom called 'Terminal'. That's the one you want. I don't know why they just didn't put it as an icon on the taskbar, but they didn't. Open up a couple of them.
Next, it sounds like you haven't set your hostname yet, since it is saying 'Welcome to Localhost'.
The easiest way to configure all of this stuff is by running 'redhat-config-network' (as root). (You can also get ther by clicking Redhat->System-Settings->Network). Click the DNS tab and enter the hostname of your machine, if you haven't already. If you haven't put in your DNS servers and the DNS search path, put those in there too. Next, click the 'Hosts' tab. You should have an entry that says '127.0.0.1 localhost.localdomain localhost'. DON'T REMOVE IT!!! That has to be there for good reasons. Go back to the 'Devices' tab and select the 'eth0' device and click on 'Edit'. I believe the settings to select DHCP are in there. Make sure that is selected. Once you've done all of that, 'Apply/OK' it all.
Now see if your computer is talking to the network at all. As root, type in 'ifconfig'. It will list all of your network adapter settings (including the loopback interface). Does eth0 have an ip address that would have been assigned from the DHCP server? If so, then things are good. Try pinging another computer ip on your network. If not, then something is messed up in your settings and we'll go from there.
You might want to check out Redhat's docs while you're doing this all as it walks you through it pretty well.
Let's start there. Let me know what things look like and I'll try to help you figure it out.
Thank for all the tips. I went to verify the host tab under network configs, and there was no 127.xxxx entry...I might have messed with it last night....trying to learn!
Anyway, I decided to reload the system with the software...and on the walkthrough...i did see the Hostname box...I just used LINUX9.....and enabled DHCP in the startup.
its almost done...i will verify all the setting in a few...and reply back!
Ok....reloaded and reconfigured the network......and....NO LUCK. BUT!
I can ping my windows machine.....and the nic card on the linux box (eth0) was assigned an ip address that is in the DHCP server. Now...when i open mozilla, after i type in http://www.ibm.com, is says (on the bottom of the screen) is starts saying "Resolving host www.ibm.com". It then displays and error that it can not find the host www.ibm.com
I guess i got a step further...but still....very frustrating!
HELP!!!
UPDATE!!!!
I have a feeling it is something to do with my DNS. I run Windows 2000k DNS on a server (192.168.1.111). I changed the first line of the DNS Entries on the network config screen, and the REsolving name @ the bottom of Mozilla went away...then it read connecting to IBM.com. Then it just times out.
The machine that i am on (typing these posts) is a Win2kPro machine....The host file has:
"127.0.0.1 localhost"
that is it.
all ip info are the exact same in the two boxes....but the linux does not surf. Here is the details in the /etc/host file:
Now it sounds like a DNS issue. Try pinging the actual ip of www.ibm.com 129.42.19.99. If you can ping it, then we know for sure. Did you fill out the DNS tab in the network dialog? Maybe post your /etc/resolve.conf file...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.