how do i get my internet working?
okay, on my journey with linux i have run into yet another problem. ive got linux on my machine and have it running well. on my goals to make this a proxy server i have run into an obstacle in just the first step. ive got redhat installed, mandrake was having issues with the setup, but i have redhat installed now and im trying to get the internet working. i have good old road runner(every time i make a change they piss me off), but during bootup it is saying that eth0 is not recognizing an ip, and i know that there is a connection coming to the linuxbox, but how do i get it to recognize it? help!
|
What type of internet connection do you have ? (Cable modem or DSL)
Can you post the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 (eth0 configuration file). The ifconfig command will display info concerning eth0. Check the status of eth0 by typing: Code:
service network status |
DEVICE=etho
BOOTPROTO=dhcp ONBOOT=yes |
oh, and its cable
|
heres the config, its an old compaq i got for free and upgraded a bit, it has 2 10 baset100 cards in it so that i can network my room, but i just first want it to be online.....HELP THE UBER NEWBEEEE
|
In /etc/sysconfig/network-scripts/ifcfg-eth0, the device is eth0 (zero) not the letter "o". (Unless you made a type when copying).
Code:
DEVICE=eth0 To get information concerning your network cards (ethX), type: Code:
dmesg | grep eth[0-9] In the menu, System Settings -> Network. Or type: redhat-config-network |
yeah, i know it was a 0 not an o, just a typo. ill try that very soon. i have to go hook up my grandmothers printer. if i get that up and running how do i then get the two computers i have that are running xp pro and home to work on it as a proxy?
|
okay, i ran the nework configuration, the card Was disabled
so i enabled it. the internet still doesent work but the sys-config file for eth0 has changed it now says DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes USERCTL=no PEERDNS=no TYPE=ethernet i know the card works becuase i used it in my other computer before. in my first bt of learning to network, i used it. it worked just fine. it is registering in linux, but the other one is not. its a dud, or just the fact its an older one and is using one of the odler type of slots, the one before pci. i can get another pci network card, but first, this one has to be on the internet. lol. joyous. so, got any ideas with the new information provided? |
Your ifcfg-eth0 is configured correctly.
Take a look at /etc/modules.conf and make sure the module is assigned to the correct device. Check the status of eth0 by typing: Code:
service network status Code:
service network restart Code:
ifconfig |
where do i put the code? ive tried it in console and it goes on this whole bash error doesent recognize ramble. where do i do that? should i just go to the regular console by doing the ctrl alt f1 switch? im also just taking the older network card out and re-installing redhat with just the server settings ect.. im gonna use gnome or just x. hey, i actually sound like i know what im doing. yaya. alright, thanks a bunch, leave me where i should type that in so i can get better
|
r u logged in as root?
|
i log in my user profile but then i just set the root pswd when i need to. it will prompt me when i need it
|
logon root:
[david@david david]$ su Password: [root@david david]# service network status Configured devices: lo eth0 Currently active devices: lo eth0 [root@david david]# |
All times are GMT -5. The time now is 02:53 AM. |