Jump to content

eth0 fails on boot (no internet)


samer1275
 Share

Recommended Posts

Hello, let me first refer you to an older thread:

 

 

Thread

 

where a kind person was able to help me get dhcp working with Mandrake 9.2. I just upgraded to 10.0 community and eth0 fails once again. But I cannot fix it the same way as before.

 

I have a 3com card, once again:

 

modules.conf says:

 

alias eth0 3c59x

 

ifup eth0 says:

 

Determining Info for eth0...failed, no link present. Check cable?

 

modprobe eth0 says nothing.

 

The contents of my ifcfg-eth0 are:

 

DEVICE=eth0

BOOTPROTO=dhcp

NETMASK=255.255.255.0

ONBOOT=yes

NEEDHOSTNAME=no

 

The contents of my ifcfg-lo are:

 

DEVICE=lo

IPADDR=127.0.0.1

NETMASK=255.255.255.0

NETWORK=255.255.255.0

# If you're having problems with gated making 127.0.0.0/8 a martian,

# you can change this to something else (255.255.255.255, for example)

BROADCAST=127.255.255.255

ONBOOT=yes

NAME=loopback

 

I changed the numbers of NETWORK or NETMASK to 255... I can't remember, but that didn't change anything

 

finally, the output of ifconfig is:

 

eth0 Link encap:Ethernet HWaddr 00:60:97:B7:5A:11

inet6 addr: fe80::260:97ff:feb7:5a11/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:824 errors:0 dropped:0 overruns:0 frame:0

TX packets:10 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:277693 (271.1 Kb) TX bytes:756 (756.0 B)

Interrupt:10 Base address:0xef00

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.255.255.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:74 errors:0 dropped:0 overruns:0 frame:0

TX packets:74 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:4896 (4.7 Kb) TX bytes:4896 (4.7 Kb)

 

Thanks so much in advance!

 

 

 

Edit: moved from Software by spinynorman

Link to comment
Share on other sites

I did that and it gave no errors, now ifconfig eth0 says:

 

eth0 Link encap:Ethernet HWaddr 00:60:97:B7:5A:11

inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::260:97ff:feb7:5a11/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:8631 errors:0 dropped:0 overruns:0 frame:0

TX packets:15 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:2904058 (2.7 Mb) TX bytes:1134 (1.1 Kb)

Interrupt:10 Base address:0xef00

Link to comment
Share on other sites

OK,

lets say it gives you an IP 68.21.21.1

by booting in windows or something else....

 

then we can type

ifconfig eth0 68.21.21.9 (for instance) and you should then be able to ping the router...

 

If you cant its another problem than DHCP but if you can its a prob with the DHCP somewhere.

Link to comment
Share on other sites

huh?

 

Sorry, I don't have a clue what you mean.

 

What I can say is that I am certain that my hardware is working properly and that this is a software problem only.

 

The reason I know is that I can get Linux to connect to the internet with that computer, but I cannot get Mandrake Linux 10.0 to work.

Link to comment
Share on other sites

which linx ???

 

can you do the same in the 'other' linux (lsmod and stuff) and well can compare it.

 

The link error might be true of false... Im trying to determine this by setting it manually and then we 'know' its the DHCP part, not the driver settings.

Link to comment
Share on other sites

with Knoppix 3.2, the internet works fine, previously, I had RedHat 8.0, worked fine...

 

for some reason, I had trouble with Mandrake 9.2, and now 10.0

 

anyway, in Knoppix (which works), there aren't any scripts but ipconfig gives the following output:

 

 

eth0 Link encap:Ethernet HWaddr 00:60:97:B7:5A:11

inet6 addr: fe80::260:97ff:feb7:5a11/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:824 errors:0 dropped:0 overruns:0 frame:0

TX packets:10 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:277693 (271.1 Kb) TX bytes:756 (756.0 B)

Interrupt:10 Base address:0xef00

 

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.255.255.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:74 errors:0 dropped:0 overruns:0 frame:0

TX packets:74 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:4896 (4.7 Kb) TX bytes:4896 (4.7 Kb)

Link to comment
Share on other sites

knoppix uses pppoe-conf and scans for the concentrator (at least for ADSL) it then uses this to create a ppp0

 

I think that MDK 10 is now doing a similar thing if you use drakconf and dont woory about getting a dhcp address allocated .... (i.e you dont actually need one)

Ill post from ghome later when I can check./

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...