Networking Forums

Networking Forums > Computer Networking > Linux Networking > "eth0" starts ok, but only manually

Reply
Thread Tools Display Modes

"eth0" starts ok, but only manually

 
 
knocte
Guest
Posts: n/a

 
      09-23-2003, 12:06 PM
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
 
 
 
 
Alex Yung
Guest
Posts: n/a

 
      09-23-2003, 01:18 PM
knocte ((E-Mail Removed)) 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
 
knocte
Guest
Posts: n/a

 
      09-23-2003, 01:59 PM
> Change BOOTPROTO=static

Still doesn't work

Regards,
knocte

 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      09-23-2003, 02:51 PM
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
 
knocte
Guest
Posts: n/a

 
      09-23-2003, 03:33 PM
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
 
Bit Twister
Guest
Posts: n/a

 
      09-23-2003, 04:57 PM
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
 
knocte
Guest
Posts: n/a

 
      09-23-2003, 06:35 PM
> 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:B9B 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
 
Bit Twister
Guest
Posts: n/a

 
      09-23-2003, 06:54 PM
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
 
knocte
Guest
Posts: n/a

 
      09-23-2003, 07:27 PM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Reserved" IP vs. manually-assigned? SparkyGuy Wireless Internet 20 07-31-2007 07:38 PM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
Netgear WGR614 v5 -- Have to manually "connect" to internet. jt21k Wireless Internet 4 08-03-2005 02:16 PM



1 2 3 4 5 6 7 8 9 10 11