LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 11:54 AM   #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, 11:57 AM   #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, 10: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:36 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
Open Source Consulting | Domain Registration