LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-29-2004, 12:04 AM   #1
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
help connecting to the net


below is my rc.conf

lo="lo 127.0.0.1"
eth0="eth0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(lo eth0)

gateway="default gw 192.168.1.1"
ROUTES=(gateway)

when i type ifconfig all i get is info for lo, but nothing for eth0
for my nameserver i have copied what is on this computer. anyone have any idea why i can't connect
 
Old 05-29-2004, 12:16 AM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Original Poster
Rep: Reputation: 47
i can't hit the router either. it says "network is unreachable"
 
Old 05-29-2004, 12:51 AM   #3
dretay
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1- 2.6
Posts: 31

Rep: Reputation: 15
You need to bring the device up

I think what you have forgotten to do is to bring the network interface up. As root, type in something like "ifconfig eth0 up". This should activate the network interface. At this point you may need to re-establish the gateway through the following command: "route add default gw 192.168.1.1". Once those two commands are issued you should be good to go.

Last edited by dretay; 05-29-2004 at 12:52 AM.
 
Old 05-29-2004, 01:02 AM   #4
bipul4b
LQ Newbie
 
Registered: May 2004
Location: India
Distribution: redhat
Posts: 21

Rep: Reputation: 15
Hi,

as you post your file rc.conf

lo="lo 127.0.0.1"
eth0="eth0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(lo eth0)

gateway="default gw 192.168.1.1"
ROUTES=(gateway)


please change broadcast address
192.168.0.255

new address 192.168.1.255

and restart network or computer


bye

 
Old 05-29-2004, 01:09 AM   #5
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Original Poster
Rep: Reputation: 47
actually what it was i needed to "modprobe tulip" and "alias eth0 tulip" in my modules.conf .....i am feeling pretty stupid right now
 
  


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
Connecting to the Net LinuxNewBeeSwrm Linux - Networking 5 03-06-2005 12:53 PM
Connecting to the net... Fasn8n Mandriva 17 12-31-2004 05:18 AM
files used while connecting on net ankscorek Linux - Networking 0 09-12-2004 01:08 PM
Connecting to net THROUGH xp Dill Linux - Networking 1 03-04-2004 01:13 PM
connecting to the net bmxermark Linux - Newbie 5 05-05-2003 08:46 AM


All times are GMT -5. The time now is 11:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration