"eth0" starts ok, but only manually

This is a discussion on "eth0" starts ok, but only manually within the Linux Networking forums, part of the Linux Forums category; Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to configure my net adapter ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-23-2003
knocte
 
Posts: n/a
Default "eth0" starts ok, but only manually

Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to
configure my net adapter with the assistants.

So, when system starts, it can't mount the eth0 (says "FAIL"), but if I
login as root and I write these lines, it works:

ifconfig eth0 inet 192.168.0.99 netmask 255.255.255.0
route add default gw 192.168.0.1

So, can anyone tell me how to configure my Linux to start automatically
with these parameters? My ifcfg-eth0 contains:

DEVICE=eth0
BOOTPROTO=none
IPADDR=192.168.0.99
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

Which I suppose it is correct.

Thanks in advance.

knocte

Reply With Quote
  #2 (permalink)  
Old 09-23-2003
Alex Yung
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually

knocte (knocte@NO-SPAM-PLEASE-hotmail.com) wrote:
: Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to
: configure my net adapter with the assistants.

: So, when system starts, it can't mount the eth0 (says "FAIL"), but if I
: login as root and I write these lines, it works:

: ifconfig eth0 inet 192.168.0.99 netmask 255.255.255.0
: route add default gw 192.168.0.1

: So, can anyone tell me how to configure my Linux to start automatically
: with these parameters? My ifcfg-eth0 contains:

: DEVICE=eth0
: BOOTPROTO=none
: IPADDR=192.168.0.99
: NETMASK=255.255.255.0
: NETWORK=192.168.0.0
: ONBOOT=yes

: Which I suppose it is correct.

: Thanks in advance.

: knocte

Change BOOTPROTO=static
Reply With Quote
  #3 (permalink)  
Old 09-23-2003
knocte
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually

> Change BOOTPROTO=static

Still doesn't work :(

Regards,
knocte

Reply With Quote
  #4 (permalink)  
Old 09-23-2003
Bit Twister
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually

On Tue, 23 Sep 2003 14:06:49 +0200, knocte wrote:
> Hello. I have just installed Mandrake 9.2 RC2 and I haven't been able to
> configure my net adapter with the assistants.
>
> So, when system starts, it can't mount the eth0 (says "FAIL"), but if I
> login as root and I write these lines, it works:
>
> ifconfig eth0 inet 192.168.0.99 netmask 255.255.255.0
> route add default gw 192.168.0.1


cat /etc/sysconfig/network
HOSTNAME=wb.home
NETWORKING=yes
GATEWAY=192.168.0.1 <========
GATEWAYDEV=eth0

>
> So, can anyone tell me how to configure my Linux to start automatically
> with these parameters? My ifcfg-eth0 contains:
>
> DEVICE=eth0
> BOOTPROTO=none
> IPADDR=192.168.0.99
> NETMASK=255.255.255.0
> NETWORK=192.168.0.0
> ONBOOT=yes
>
> Which I suppose it is correct.


Nope, here is mine, cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.10
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes

After changing files, do a
service network restart

Reply With Quote
  #5 (permalink)  
Old 09-23-2003
knocte
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually

Bit Twister wrote:
> cat /etc/sysconfig/network
> HOSTNAME=wb.home
> NETWORKING=yes
> GATEWAY=192.168.0.1 <========
> GATEWAYDEV=eth0
>
>
> Nope, here is mine, cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=static
> IPADDR=192.168.1.10
> NETMASK=255.255.255.0
> NETWORK=192.168.1.0
> BROADCAST=192.168.1.255
> ONBOOT=yes
>
> After changing files, do a
> service network restart
>


I have just made the changes and restarted the service, but eth0
interface still fails! This are my new config files:

# cat /etc/sysconfig/network
HOSTNAME=maestro
NETWORKING=yes
GATEWAY=192.168.0.1
GATEWAYDEV=eth0

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.99
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes

# service network restart
Desactivando interfaz eth0: [ OK ]
Desactivando interfaz loopback: [ OK ]
Configurando parámetros de red: [ OK ]
Activando interfaz loopback: [ OK ]
Activando interfaz eth0: [FALLO ]


I hope this is not too strange... :(

Regards,

knocte

Reply With Quote
  #6 (permalink)  
Old 09-23-2003
Bit Twister
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually

On Tue, 23 Sep 2003 17:33:53 +0200, knocte wrote:

> # service network restart
> Activando interfaz eth0: [FALLO ]


That is odd. Changes you made should not cause a failure.

You may want to look in /var/log/messages for failure messages.

tail -30 /var/log/messages

Reply With Quote
  #7 (permalink)  
Old 09-23-2003
knocte
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually

> That is odd. Changes you made should not cause a failure.
>
> You may want to look in /var/log/messages for failure messages.
>
> tail -30 /var/log/messages
>


#service network restart
Desactivando interfaz eth0: [ OK ]
Desactivando interfaz loopback: [ OK ]
Configurando parámetros de red: [ OK ]
Activando interfaz loopback: [ OK ]
Activando interfaz eth0: [FALLO ]

#tail -15 /var/log/messages
sep 23 20:21:38 maestro su(pam_unix)[5273]: session opened for user root
by (uid=501 euid=0 tty= ruser=knocte rhost= user=root
Sep 23 20:22:01 maestro CROND[5321]: (root) CMD (
/usr/share/msec/promisc_check.sh)
Sep 23 20:23:00 maestro CROND[5345]: (root) CMD (
/usr/share/msec/promisc_check.sh)
Sep 23 20:24:00 maestro CROND[5355]: (root) CMD (
/usr/share/msec/promisc_check.sh)
Sep 23 20:25:00 maestro CROND[5367]: (root) CMD (
/usr/share/msec/promisc_check.sh)
sep 23 20:25:12 maestro ifdown: RTNETLINK answers: Network is unreachable
sep 23 20:25:12 maestro network: Desactivando interfaz eth0: succeeded
Sep 23 20:25:13 maestro ifplugd(eth0)[3610]: Exiting.
sep 23 20:25:14 maestro network: Desactivando interfaz loopback: succeeded
sep 23 20:25:14 maestro network: Configurando parámetros de red: succeeded
sep 23 20:25:16 maestro network: Activando interfaz loopback: succeeded
Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: Using interface
eth0/00:60:08:5D:B9:DB with driver <3c59x> (version: LK1.1.18-ac)
Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: Using detection mode:
SIOCGMIIPHY
Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: ifplugd 0.15 successfully
initialized, link beat not detected.
sep 23 20:25:16 maestro network: Activando interfaz eth0: failed


Any idea of what is the problem? Thanks in advance.

Regards,
knocte

Reply With Quote
  #8 (permalink)  
Old 09-23-2003
Bit Twister
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually

On Tue, 23 Sep 2003 20:35:04 +0200, knocte wrote:
> Sep 23 20:25:16 maestro ifplugd(eth0)[5945]: ifplugd 0.15 successfully
> initialized, link beat not detected.


Hmmm, I am confused, I thought you had everthing working with
the only problem was you had to set the gateway?

Now if that is true, maybe rebooting the computer will make it work.

If not, someone else will have to help. You could try a search engine

http://groups.google.com/advanced_group_search
link beat not detected in the exact phrae box
*linux* in the Newsgroup, pick English

If you have to do something else, please post your solution.
Reply With Quote
  #9 (permalink)  
Old 09-23-2003
knocte
 
Posts: n/a
Default Re: "eth0" starts ok, but only manually (Found a solution!)

Bit Twister wrote:
> If not, someone else will have to help. You could try a search engine
>
> http://groups.google.com/advanced_group_search
> link beat not detected in the exact phrae box
> *linux* in the Newsgroup, pick English
>
> If you have to do something else, please post your solution.


Well, I couldn't use Google Groups because the proxy-cache that is using
my ISP is banned! (FORBIDDEN). I can't beleive it!

However, I have tried on google.com to search that phrase, and one of
the results was:

http://qa.mandrakesoft.com/show_bug.cgi?id=3452

Yes, a bug, that's what I was supposing. The thing is that there is a
workaround, if I add this line to ifcfg-eth0:

MII_NOT_SUPPORTED=yes

Then the service will be working ok when I restart it. I will post my
case on that bug, so as they will have more material to work with.

Thank you very much for the help, Bit Twister and Alex Yung.

Best regards,

knocte

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0