LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-19-2004, 12:54 PM   #1
summerfish
LQ Newbie
 
Registered: Jul 2004
Posts: 4

Rep: Reputation: 0
can not bring up eth0


I use Fredora core 2 and LAN. But eth0 can not be activated by all means.
When I use ' ifconfig eth0 up ' nothing happens.
The ifconfig command gives me

eth0 Link encap:Ethernet HWaddr 00:07:E9:C7:71:A4
inet6 addr: fe80::207:e9ff:fec7:71a4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:650 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:15 txqueuelen:1000
RX bytes:73915 (72.1 Kb) TX bytes:4374 (4.2 Kb)


I think there is one line missing
inet addr:35.9.XX.XX Bcast:35.9.XX.XXX5 Mask:255.255.255.0
I saw people who has internet bring up this line with ifconfig command.

Anyone has idea what problem it is? A hardware or software one?

Thanks
 
Old 07-19-2004, 12:57 PM   #2
nafsnipe685
LQ Newbie
 
Registered: Jan 2004
Location: Texas, USA
Distribution: Slackware 9
Posts: 19

Rep: Reputation: 0
if you are using dhcp
ifdown eth0
and
ifup eth0
are the commands
if you are using static addressing
ifconfig eth0 inet (*ip address)
*your ip address
and you dont have to enter the subnet mask
 
Old 07-19-2004, 11:09 PM   #3
lucastic
Member
 
Registered: Aug 2003
Location: Oz
Distribution: Gentoo - Debian
Posts: 202

Rep: Reputation: 30
get rid of the ipv6 stuff (unless of course you use it), and put ipv4 ip address gateway bcast mask etc...

I am not sure what distro you are using but in gentoo this is done in the /etc/conf.d/net file...

you can also set it up from command, as mentioned above

by doing

ifconfig eth0 ${IP_ADDR} broadcast ${BROADCAST} netmask ${NETMASK} up

the you can set gateway with

route add default gw ${GATEWAY}


Hope this helps
 
  


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
Cannot bring up eth0 zhex900 Linux - Distributions 5 04-24-2005 04:33 PM
Cannot bring up Eth0 jamespetts Linux - Networking 7 08-03-2004 06:42 AM
failed to bring eth0 up k_brother Linux - Newbie 2 10-17-2003 11:30 AM
couldn't bring up interface eth0 mikez Linux - Networking 9 02-28-2002 01:02 PM
Can't bring up eth0 cyrano Linux - Networking 4 08-21-2001 11:21 AM


All times are GMT -5. The time now is 09:23 PM.

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