LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant go online eth0 FAILED!!!! (https://www.linuxquestions.org/questions/linux-newbie-8/cant-go-online-eth0-failed-512725/)

n00b_101 12-21-2006 08:25 PM

Cant go online eth0 FAILED!!!!
 
Help i cant seem to go online i just intalled fedora core 6 on my computer, i keep on getting eth0 failed on boot also i cant access network even if i put in the root password i dont know what to do please help!

TIA!

Simon Bridge 12-21-2006 08:34 PM

enter "lspci" and report the line which tells you about your nic.

enter "ifconfig" and tell us the output.

have you tried adding and configuring your card?

n00b_101 12-21-2006 08:39 PM

Quote:

Originally Posted by Simon Bridge
enter "lspci" and report the line which tells you about your nic.

enter "ifconfig" and tell us the output.

have you tried adding and configuring your card?

sorry im so noob to linux but i got to applications->accesories->terminal put in su then my pw that went fine i put in lspci got bash: lspci: command not found.

if i go to system ->administration->network it wants the root pw from me i put that in nothing happens.

ifconfig gives me
bash: ifconfig: command not found.

am i putting this in the wrong place?????

thanks for your help!

Ynot Irucrem 12-21-2006 09:03 PM

Either do "su -" (get the root environment) instead of "su", or do "/sbin/ifconfig" instead of "ifconfig". This is because only the root user has /sbin/ in their $PATH, which is where the shell looks for programs to execute.

n00b_101 12-21-2006 09:17 PM

Quote:

Originally Posted by Ynot Irucrem
Either do "su -" (get the root environment) instead of "su", or do "/sbin/ifconfig" instead of "ifconfig". This is because only the root user has /sbin/ in their $PATH, which is where the shell looks for programs to execute.

thanks man appreciate that!,
for LSPCI i got
i got Ethernet Controller : 3Com Corporation 3c905B 100BaseTX [Cyclone ] Rev 30

for ifconfig
eth0: Link Encap : Ethernet HWaddr 00:50:Da:B6:16:01
inet6 addr : fe80::250::daff::feb6::1601/64 Scope: Link
UP BROADCAST MULTICAST MTU:1500 METRIC :1
RX PACKETS:445963 errors: 0 : dropped :0 overruns: 0 frames: 0
TX PACKETS:80 errors : 0 dropped: 0 overruns : 0 carrier : 0
collisions : 0 txqueuelen:1000
Rx bytes :2706094 (25.8 MIB) tx bytes :17030 (16.6kb)
Inturrupt :10

lo: Link encap:Local Loopback
inet addr :127.0.0.1 mask 255.0.0.0
inet6 addr: :: 1/128 Scope : host
UP LOOPBACK RUNNING MTU : 16346 Metric :1
RX PACKETS:4635 errors: 0 : dropped :0 overruns: 0 frames: 0
TX PACKETS:4635 errors: 0 : dropped :0 overruns: 0 carrier: 0
collisions : 0 txqueuelen:0
RX bytes :5175764 (4.19 MIB) TX bytes :517564 ( 4.9 MIB)

btmiller 12-21-2006 10:12 PM

Your Ethernet card appears to be a well supported model. Looking at you ifconfig output you only have an inet6 (IPv6) address assigned. Most networks do not yet use IPv6 so this is likely the problem. Are you running DHCP on your network (i.e. can you use "get an address automatically" in Windows and have it work?). If so try just typing "dhclient eth0" and see if you get an IP address. If so you are probably OK.

To make that fix permanently type "nano -w /etc/sysconfig/network-scripts/ifcfg-eth0" (nano is a text editor). When you have the file opened, edit out the IPv6 stuff and add a line saying

BOOTPROTO=dhcp

(delete any other BOOTPROTO lines).

n00b_101 12-21-2006 10:36 PM

Quote:

Originally Posted by btmiller
Your Ethernet card appears to be a well supported model. Looking at you ifconfig output you only have an inet6 (IPv6) address assigned. Most networks do not yet use IPv6 so this is likely the problem. Are you running DHCP on your network (i.e. can you use "get an address automatically" in Windows and have it work?). If so try just typing "dhclient eth0" and see if you get an IP address. If so you are probably OK.

To make that fix permanently type "nano -w /etc/sysconfig/network-scripts/ifcfg-eth0" (nano is a text editor). When you have the file opened, edit out the IPv6 stuff and add a line saying

BOOTPROTO=dhcp

(delete any other BOOTPROTO lines).

didnt work my file was already set to dhcp :( any other fixes for this ?????

n00b_101 12-21-2006 10:44 PM

also i tried system-config-network and then i get locale.Error :Unsupported locate setting

btmiller 12-21-2006 10:50 PM

Maybe you don't have a DHCP server on your network? Do you have to statically assign your IP? Maybe you could try setting your IP address statically if you're on your own network. It would really help if you gave us some details of your network setup (e.g. are you behind a router or connecting directly, etc.).

n00b_101 12-21-2006 10:52 PM

Quote:

Originally Posted by btmiller
Maybe you don't have a DHCP server on your network? Do you have to statically assign your IP? Maybe you could try setting your IP address statically if you're on your own network. It would really help if you gave us some details of your network setup (e.g. are you behind a router or connecting directly, etc.).

no it is by dhcp the cable modem is supposed to make it automatically thats how i do it in windows. just plug in the wire/ repair dns/dchp automatically. so im directly connected to the modem hope that helps ya.

raskin 12-22-2006 12:51 AM

Please run the following as root:
Code:

export LC_ALL=C;
export LANG=C;

/sbin/dhclient ;

and post output.

Ynot Irucrem 12-22-2006 01:03 AM

Just to eliminate one possibility, are you using the ethernet cable or usb cable to connect from your PC to modem? It's recommended to use ethernet, as it doesn't require a driver.

Simon Bridge 12-22-2006 01:19 AM

Quote:

no it is by dhcp the cable modem is supposed to make it automatically
... if it's anything like mine, then your modem also does nat routing and dhcp ... you can configure it through http (via a web browser).

Now with mine, there is a section where I can decide on the range of IPs that can be assigned by dhcp. If you are lucky, you can get it to assign ipv4 addresses. Give it a go.

n00b_101 12-23-2006 12:34 AM

Quote:

Originally Posted by raskin
Please run the following as root:
Code:

export LC_ALL=C;
export LANG=C;

/sbin/dhclient ;

and post output.

i put this in text editor pasted and hit enter and nothing happened.... am i doing this wrong ??????

n00b_101 12-23-2006 12:35 AM

Quote:

Originally Posted by Ynot Irucrem
Just to eliminate one possibility, are you using the ethernet cable or usb cable to connect from your PC to modem? It's recommended to use ethernet, as it doesn't require a driver.

i already use ethernet works on my windows laptop works fine trying the same cable.


All times are GMT -5. The time now is 06:28 PM.