LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-22-2005, 12:20 PM   #1
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Rep: Reputation: 15
ETH0 can't boot - Mandrake 10.1 official


Hello all,

I just intalled MDK and can't get online. Here's my config, you will see that the Ethernet card is recognized:

[magali@ home]$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0a.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
00:0d.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01)
01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01)
[magali@ home]$

But ifconfig doesn't find it, it just shows lo. ETH0 shows only when requesting -a:

[root@ magali]# ipconfig -a
bash: ipconfig: command not found
[root@ magali]# ifconfig -a
eth0 Lien encap:Ethernet HWaddr 00:0D:87:93:B7:FE
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:19

lo Lien encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:309 errors:0 dropped:0 overruns:0 frame:0
TX packets:309 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:22720 (22.1 Kb) TX bytes:22720 (22.1 Kb)

Before I bombard this page with screen outputs, bottom line is: I'm lost. I've been to every DHCPD, **.conf file I could find, no success. How do I get ETH0 to boot?

Thanks for any help, I'd apreciate.

Jo
P.S. Before I forget: I'm trying to connect to my LAN at 192.168.0.1. I have another PC linked to it and the PC I just linux-ed connects fine when under Windoze so it's not a hardware/cable issue.

Last edited by hotburner2001; 05-22-2005 at 01:19 PM.
 
Old 05-22-2005, 01:29 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
ifconfig eth0 192.168.0.1
if you use static IPs in your network. Use DHCP only if you have a running DHCP server (if there are only two machines, you probably don't have/need it)
 
Old 05-22-2005, 01:38 PM   #3
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Original Poster
Rep: Reputation: 15
Hi,

thanks for replying. Here's what I get:

[root@ init.d]# ifconfig eth0 192.168.0.1
SIOCSIFFLAGS: Function not implemented

there I'm lost :- ) Any idea?

My router has DHCP enabled. So I don't want to input one, although if there's no way around it I will.

Thanks,
Jo

Last edited by hotburner2001; 05-22-2005 at 01:49 PM.
 
Old 05-23-2005, 01:12 PM   #4
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Original Poster
Rep: Reputation: 15
Hi there,

I haven't gotten any closer to getting my network to start today so I thought I'd enquire again...Any ideas?

Thanks,
Jo
 
Old 05-23-2005, 01:18 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what do u ahve in this file

/etc/sysconfig/network-scripts/ifcfg-eth0

regards
 
Old 05-23-2005, 02:12 PM   #6
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Original Poster
Rep: Reputation: 15
Hi,

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=00:0d:87:93:b7:fe
METRIC=10
MII_NOT_SUPPORTED=no
DHCP_HOSTNAME=192.168.0.1
NEEDHOSTNAME=yes

I added most of it in the hope of making it work...SO far not good!

thanks,
Jo
 
Old 05-23-2005, 02:14 PM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what settings of the ethernet card so u want to get???

ip adress network etc etc


regards
 
Old 05-23-2005, 02:18 PM   #8
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Original Poster
Rep: Reputation: 15
Hope I understand U right: I have a router, a D-Link 604, with 192.168.0.1 as IP. DHCP is enabled. So I guess I don't need to specify a fix IP right?

Thanks,
Jo
 
Old 05-23-2005, 02:24 PM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
u can specify a Static ip with a gateway and a dns server and that will work fine for u


regards
 
Old 05-23-2005, 02:35 PM   #10
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Original Poster
Rep: Reputation: 15
All of this goes into my ifcfg-eth0 file? I'm not too sure why the DNS since my router is suposed to be linking to my provider's DNS.

Care to show me what it would look like in my file?

Thanks for your time, it is apreciated.

Jo
 
Old 05-23-2005, 10:00 PM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
well as i have experinced that if u do not use DHCP then u need to specify the DNS also

DEVICE=eth0
BOOTPROTO=STATIC
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
IPADDR=XX.XX.XXX.XX
SUBNET=
GATEWAY=XX.XZX.XX.XX

and then u can specify the DNS as

nameserver XX.XX.XX.XX

in the /etc/resolv.conf
 
Old 05-24-2005, 06:25 AM   #12
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
How about trying a manual dhclient eth0 as root? Tried that, yet?
 
Old 05-24-2005, 09:10 AM   #13
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Original Poster
Rep: Reputation: 15
Hi all,

I'm at work so I won't be able to try before a couple of hours. Adz, do you mean go in as root and entering dhclient eth0 ? Going into a file? I'm not sure...

Thanks,
Jo
 
Old 05-24-2005, 10:07 AM   #14
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Just execute that command (just type it into an xterm or the console). If you get a "command not found" then try /sbin/dhclient eth0 or even a /usr/sbin/dhclient eth0. Post any results. This will determine if Mandrake is at all capable of getting an IP dynamically and will probably give useful error messages if it can't.

Last edited by adz; 05-24-2005 at 10:18 AM.
 
Old 05-24-2005, 10:16 AM   #15
hotburner2001
Member
 
Registered: May 2005
Location: France
Posts: 33

Original Poster
Rep: Reputation: 15
Will do. An hour to go at work :- )

Thanks. If networking doesn't work tonight I will feel drawn to the dark side (XP)...Just kidding.

Jo
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can'r bring up eth0 in Mandrake 10.1 Official nonlintech Mandriva 4 09-11-2005 11:07 PM
Mandrake 10 Official drops eth0 configuration cabinetcrafter Mandriva 10 10-11-2004 08:32 AM
99 before boot mandrake 10 official ashrat2002 Mandriva 1 09-21-2004 03:41 PM
Boot Problem..Mandrake 10 Official mikeCanada Linux - Newbie 1 07-10-2004 11:52 AM
Mandrake 10 Official won't boot kainhart Mandriva 0 06-04-2004 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration