Configuring RedHat

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Configuring RedHat

Post by Nay »

I now have a dual boot of RedHat 9 and Windows XP Professional. Sure I lost all my files during the process lol. Anyhow, I can't seem to use the internet from my RedHat - now that's a serious problem. I'm posting from my sister's computer right now. I have a router, I know how to configure it in windows but not in RedHat. I installed Gnome - if that helps.

Here's how I do it Windows, maybe this might help you to guide along the steps in RedHat.

Start -> Settings -> Control Panel -> Network Connections.
Right Click on the Connection (Ethernet port 1, cable connecting router to computer).
Select "Internet Protocol (TCP/IP)" and click Properties
Check "Use the following IP address"
Set:

IP Address: 192.168.0.1
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.100

Check "Use the following DNS server adderesses"
Set:

Preferred DNS Server: 202.188.0.133
Alternate DNS Server: 202.188.1.5

Then WaLaH, on Windows it's working. Can anyone please direct me on a way on RedHat 9. I really need this A.S.A.P. I mean you know most of us can't survive without an internet connection lol.

Thanks,

-Nay
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

can't tell exactly how it's done for redhat, but usually there are startup scripts for the network.
And unless you're using a dhcp-client there usually are two basic settings you should take care of.
  • parameters that are passed to the ifconfig command for the adapter, e.g.

    Code: Select all

    iface_eth0="192.168.101.21 broadcast 192.168.101.255 netmask 255.255.255.0"
  • parameters that are passed to the route command, e.g.

    Code: Select all

    gateway="eth0/192.168.101.1"
both settings are in /etc/conf.d/net on my gentoo-system

probably there's also the file /etc/resolv.conf that controls the way net-names are resolved, e.g.

Code: Select all

nameserver 145.253.2.81
search
you might also want to take a look at http://www.europe.redhat.com/documentat ... onfig.php3
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

woah, I am confused with what you said but I tried out the manual version. When I try to activate my connection, with the "Profile" checkbox checked:
3c501 device eth0 does not seem to be present, delaying initialization
Without the "Profile" checkbox checked:
/sbin/ifup: configuration for eth0 no found. Usage: ifup <device name>
-Nay
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Note
The installation program usually detects supported Ethernet devices and prompts you to configure them.
did this happen or did you have to add the card manually?
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Nope, all hardware was working when I was on XP. I didn't touch any of the hardware when I was installing RedHat.

-Nay
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

that's not what I meant. Did redhat's Network Administration Tool automagically detect the ethernet card and prompted you to configure it or did you manually selected the hardware device, setting it to 3c501?
The question points to: Is there actually a driver installed and running for the ethernet card?
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Oh Yeah, firs time, I had to select "Other Ethernet". So Yeah, it wasn't installed. Then I turned off the Plug and Play from my BIOS screen and RedHat detected both my network cards. They're both active now. So my network cards are okay, I guess. My light is also there (not blinking as it should be, just there) on the router.

But I still can't use the internet though I've configured the gateway and other things.

-Nay
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Wow, it looks much clearer with RedHat. Well, thanks for the help Volka. I was playing around then I restarted and apparently my internet is working now.

Man, I need to learn how to do stuff not-accidentally.

-Nay
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Hey, I want to use gAIM so. You know, that program from SourceForge that's something like Trillian. Anyhow, I downloaded the .rpm for RH9 but everytime I run it, afte processing headers, it just disappears.

Help,

-Nay
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Okay, so don't take me as spamming :P, but I go gAIM working now - well, kinda. Now I get this error when I try to log into MSN.

http://chaosdreamers.com/external/images/msn_error.jpg

-Nay
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

msn changed the login procedure and locked out all "old" clients.
on the same day microsoft closed the msn chat completely for users from europe, asia and latin america.

http://messenger.msn.com/Help/Upgrades.aspx
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Oh great, so I can't use MSN on RedHat? Any way around it? On the other hand, I can't seem to install Mozilla 1.5. I have 1.2 by default. It says I don't have permission to create usr/local/mozilla folder, or something like that. The MSN Messenger add-on for Mozilla seemed to work for me when I was on Windows, I want to try it that way.

I tried installing on 1.2, it said installation complete but when I press the Window menu, I can't find MSN Messenger.

-Nay
Cruzado_Mainfrm
Forum Contributor
Posts: 346
Joined: Sun Jun 15, 2003 11:22 pm
Location: Miami, FL

Post by Cruzado_Mainfrm »

hey if u manage to put this to work, will you help me do the same too :D?
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Yeah sure, I'll help as much as I could. Just hope I can have MSNmsgr able to run by then lol.

On the other hand, I feel that my configuration is screwed up and think I should reinstall. mMm...........

-Nay
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Okay, I'm screwed. I did something and now I can't start up niether Windows nor RedHat O_o.

But I just reinstalled Windows like 3 days ago :(. Oh well,

-Nay

Edit, Can anyone point me to that program that takes the .iso from the RedHat Installation Disk 1 and turns it into a boot disk?

-Nay

Another Edit:

I have fixed the problem of grub. I ran the Windows 98 SE boot disk and did:
A: C:\
C:\ fdisk /MDR
Though I'm not sure about the MDR part. I saw it on some forum I searched on. :lol:. Anyhow, I also got the bootdisk part done I did:
format a:
rawrite -f bootdisk.img
No more problems to more - I hope. But then there's never no errors in an installation of something for me :(.

-Nay
Post Reply