LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ifup ifdown bad configuration (https://www.linuxquestions.org/questions/linux-newbie-8/ifup-ifdown-bad-configuration-394923/)

pingvina 12-20-2005 11:56 AM

ifup ifdown bad configuration
 
Hi, i use Mandrake 10.0 Community distro - after
installation of a program - don't remember what and
removing it i see message at boot :

'Checking internet connections to start at boot failed'

and at shutdown

'Checking internet ... to stop ... failes

so i run commands 'service network/internet restart and check /var/log/messages:

service internet restart:

net_cnx_down: usage: ifdown <device name>
internet: Stopping internet connection if needed: failed

net_cnx_up: usage: ifup <device name>
internet: Checking internet connections to start at boot failed

service network restart:

ifdown: RTNETLINK answers: No such device or address
ifdown: RTNETLINK answers: No such device or address
network: Shutting down interface eth0: succeeded
ifdown: RTNETLINK answers: No such device or address
network: Shutting down loopback interface: succeeded
network: Disabling IPv4 packet forwarding: succeeded
network: Setting network parameters: succeeded
kernel: Disabled Privacy Extensions on device c035fa20(lo)

network: Bringing up loopback interface: succeeded
ifup: Determining IP information for eth0...
ifup: done.
network: Bringing up interface eth0: succeeded

tkedwards 12-20-2005 05:07 PM

Post your /etc/sysconfig/network-scripts/ifcfg-ethX files (where ethX is eth0, eth1, eth2 etc. whatever you've got)

pingvina 12-21-2005 06:55 PM

ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=yes

10x

tkedwards 12-22-2005 04:03 AM

Does the connection work? Does it get an IP address through DHCP?

pingvina 12-22-2005 11:53 AM

yes, the net is working and it gets the IP, nad i was wondering what these messages are, want to fix it...
easyurpmi is update for mandrake ?

tkedwards 12-22-2005 04:13 PM

What are rest of the files in /etc/sysconfig/network-scripts?

Quote:

easyurpmi is update for mandrake ?
The Mandrake Update program is what you use to update Mandrake (see menu->System->Configuration->Packaging). The first time its run it'll ask you to choose a mirror to get updates from.

The easyurpmi site lists the mirrors for all the repositories for Mandrake/Mandriva (including the updates). You should setup the repositories using that site as the 3 install CDs you download don't have the full set of software on them.

pingvina 12-23-2005 07:35 AM

ifcfg-eth0
ifcfg-lo -> ../networking/ifcfg-lo
ifdown -> ../../../sbin/ifdown
ifdown-aliases
ifdown.d/
ifdown-ipv6
ifdown-post
ifdown-ppp
ifdown-sit
ifdown-sl
ifup -> ../../../sbin/ifup
ifup-aliases
ifup.d/
ifup-ipv6
ifup-ipx
ifup-plip
ifup-plusb
ifup-post
ifup-ppp
ifup-routes
ifup-sit
ifup-sl
ifup-wireless
init.ipv6-global
net_cnx_down
net_cnx_pg
net_cnx_up
network-functions
network-functions-ipv6

pingvina 12-26-2005 04:12 PM

i try easy.urpmi site and it said that my processor is not supported ..
333 MHz

tkedwards 12-27-2005 05:04 AM

Your processor is covered by i586 which is the default so you shouldn't have any problems.

http://en.wikipedia.org/wiki/I586


All times are GMT -5. The time now is 08:30 PM.