LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-12-2003, 11:07 AM   #1
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
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!
 
Old 09-12-2003, 03:39 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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
 
Old 09-12-2003, 04:47 PM   #3
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
DEVICE=etho
BOOTPROTO=dhcp
ONBOOT=yes
 
Old 09-12-2003, 04:47 PM   #4
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
oh, and its cable
 
Old 09-12-2003, 06:00 PM   #5
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
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
 
Old 09-12-2003, 06:55 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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
You have two network cards, so make sure that eth0 is the one with the internet connection.
To get information concerning your network cards (ethX), type:
Code:
dmesg | grep eth[0-9]
Since you have RedHat, did you try using RedHat's Network Configuration GUI tool.
In the menu, System Settings -> Network.
Or type: redhat-config-network
 
Old 09-12-2003, 07:00 PM   #7
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
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?
 
Old 09-13-2003, 12:40 PM   #8
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
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?
 
Old 09-13-2003, 03:09 PM   #9
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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
The output should say that eth0 is configured and currently active. If not, try restarting the network:
Code:
service network restart
Hopefully, you should now have an IP for eth0. Type:
Code:
ifconfig
If ifconfig does not show an IP for eth0, post the output of all the commands (dmesg |..., service...) and files in this thread.
 
Old 09-15-2003, 02:31 PM   #10
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
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
 
Old 09-15-2003, 05:28 PM   #11
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Rep: Reputation: 31
r u logged in as root?
 
Old 09-15-2003, 05:54 PM   #12
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
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
 
Old 09-15-2003, 06:11 PM   #13
ricdave
Member
 
Registered: Jan 2002
Posts: 222

Rep: Reputation: 31
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]#
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet not working suckerr70 Linux - Networking 3 04-18-2005 09:34 PM
Internet not working! WWMPCDD Linux - Wireless Networking 2 10-27-2004 02:43 PM
Internet Not Working! rubbercash Linux - Networking 4 07-20-2004 01:27 PM
Internet is not working NEED HELP!! Vectrox Slackware 8 04-20-2004 08:43 AM
Internet working, network not working... phoenix07 Fedora 1 04-11-2004 03:30 AM


All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration