LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems loading etho upon boot (https://www.linuxquestions.org/questions/linux-newbie-8/problems-loading-etho-upon-boot-283966/)

wardialer 01-30-2005 02:03 AM

Problems loading etho upon boot
 
Recently, I switched to DSL. And during boot, the "Bringing up Interface eth0" hangs about 2 minutes.

I sure I cant disable the eth0 because its used for the DSL newtwork card. Is there an easy soltuion to this?

fancypiper 01-30-2005 04:18 AM

Please post /etc/resolv.conf , /etc/hosts and the output of the command (as root) of lspci. Mine, for your reference:
Code:

; Duron 950 tinwhistle /etc/resolv.conf file
; generated by /sbin/dhclient-script
nameserver 205.244.112.20
nameserver 206.74.254.2
nameserver 205.244.200.3
nameserver 204.116.57.2

Code:

# Duron tinwhistle /etc/hosts file
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1      tinwhistle      localhost      localhost.localdomain
192.168.0.2    bones
192.168.0.3    tinwhistle
192.168.0.4    uilleann

Code:

<snip>
00:03.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Et
hernet (rev 90)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139
C+ (rev 10)
<snip>


wardialer 01-30-2005 10:27 AM

This is not the first time this is happened. It also happened when I had dial-up modem. I fixed the problem by the following actions:

/etc/modules.config
#eth0=to disable eth0 upon boot

I just removed the # where said eth0. And that resolved the issue.

Also one thing to note here. I am on a dynamic IP servic and not Static. My IP changes on DSL.

So, please help me on this please. I am on my Windows box most of the time to post these questions and replies so I hat to go back and forth and so. So I cant give you the output. Just explain on how we could resolve this issue please.

wardialer 01-30-2005 10:46 AM

Im not able to get the putput of the following /etc/resolv.cong and /etc/hosts One says permission denied and other No such directory. But got the output for lspci:

Code:

00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (rev a3)
02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
02:09.0 Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 01)

But like I said, this happened to me when I had dial-up. I resolved by: removing the # under where it says something about eth0 under /etc/modules.config.

I went there now, and I see this under /etc/modules.config: What should I do in here to resolve this issue???

probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci
#alias eth0 eepro100
alias sound-slot-0 i810_audio
#alias eth0 eepro100

#alias eth0 eepro100
alias eth0 eepro100

fancypiper 01-30-2005 11:01 AM

A vfat (fat32) partition is real handy for passing info to Windows as Linux can safely write to that particular Windows file system. Then you could write a text file to that partition, then command unix2dos /path/to/<filename> to convert to the Microsoft format (it uses an extra carriage return with the linefeed), then you could pass info back and forth between the uncooperative OS and Linux. :)

OK, this identifies your ethernet card:
Code:

<snip>
02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
<snip>

In order to administer your box, you must be root, so use this command for full root access:

su -

(note the dash)

I am on DSL as well, so It still sounds as if your /etc/hosts file (or whever Mandrake may put it) isn't correct for the loopback device.

Can you read these?:

man hosts

or

info hosts

Make sure the loopback is identified correctly, i.e. this part:
Code:

# Duron tinwhistle /etc/hosts file
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1      tinwhistle      localhost      localhost.localdomain
<snip>

If not, try creating the file, changing to fit your box.

Also, make sure that the module (linux google should give some hints for your particular kernel module) for your eth0 is loaded:
Code:

Sun Jan 30 11:54 AM root@tinwhistle ~ # lsmod
<snip>
8139too                16392  1
mii                    3992  0  [8139too]
sis900                15372  1
<snip>

Any error messages using these commands as root?

ifdown eth0
ifup eth0

Basic system administration
To change to the full root account (system administrator), if you are running X, open an x terminal and use these commands from your user account. Note the change in the prompt. You can do the same from a virtual terminal as well, but you can't open an x terminal to do so.
Code:

[fancy@tinwhistle fancy]$ su -
Password: <give root password and press enter>
[root@tinwhistle root]#

Remember, now whatever you command in root (it's the "god" mode. You can bless or destroy at your whim) usually gets done if enough system is left to carry out the command. :D Sit on your hands and read the commands you type at least 3 times before pressing the enter key when in root.

wardialer 01-30-2005 11:14 AM

I cant get to the /etc/hosts. Permission denied. I did an 'su-' and then my password. But no luck. Like I said, this also happened when I was using a dial-up and I did some small setting by removing or adding (I forgot) the '#' next to where it says about eth0 under /etc/modules.config.

fancypiper 01-30-2005 11:19 AM

Quote:

Originally posted by wardialer


But like I said, this happened to me when I had dial-up. I resolved by: removing the # under where it says something about eth0 under /etc/modules.config.

I went there now, and I see this under /etc/modules.config: What should I do in here to resolve this issue???

probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci
#alias eth0 eepro100
alias sound-slot-0 i810_audio
#alias eth0 eepro100

#alias eth0 eepro100
alias eth0 eepro100

I would remove all references except for only one to the eepro100 module, if that is the correct one for your ethernet card.

As it stands, you are attempting to bring it up more than once. Mandrake may use some kind of script to undo your manual changes (one reason I don't use Mandrake, plus their wanting payment to use the user's page.

# Mandrake links
Mandrake home page
Mandrake Users website (needs money to access now)
Software management configuration: Easy urpmi config for Mandrake
Software management: urpmi mini-HOWTO
Software management: All You Ever Wanted to Know About Urpmi But Never Dared Asking Before
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page

fancypiper 01-30-2005 11:25 AM

Quote:

Originally posted by wardialer
I cant get to the /etc/hosts. Permission denied. I did an 'su-' and then my password. But no luck. Like I said, this also happened when I was using a dial-up and I did some small setting by removing or adding (I forgot) the '#' next to where it says about eth0 under /etc/modules.config.
Like I said, it looks as if Mandrake has a script that adds it back to your /etc/modules.conf file.

# For finding or locating files
find
locate
which
whereis

See man pages for flags needed for the find command, especially. If you have run (usually in a cron job for around 4 AM in most distros) the command updatedb, locate will find it quickly.

It can be a long list, so pipe to less:

locate hosts | less

infantpenguin 01-30-2005 11:44 AM

Hey wardialer, I feel your pain. I have Mandrake and it is hanging on the same thing.
Fancypiper: where should one start to fix this problem if one intends to have the possibility to use ethernet, modem and internal wireless?
/linux still hangs a good 3 minutes less than windows xp

wardialer 01-30-2005 02:19 PM

Ok, Please explain step by step on what to do. Im still confused. I appologize.

What do you want me to comment out under the /etc/module.config???

I want this problem to be solved ASAP. It hangs for like 3 minutes. But like I said, I still cant access the /etc/hosts directory. So, theres something in /etc/modules.config that I need to do below? What should be removed as it says eepro100 many times and I do not really know which one do you want me to keep.
The network card (eepro) is the correct one. I checked under Windows its a Intel Pro/100E


probeall scsi_hostadapter ide-scsi
probeall usb-interface usb-uhci
#alias eth0 eepro100
alias sound-slot-0 i810_audio
#alias eth0 eepro100

#alias eth0 eepro100
alias eth0 eepro100

wardialer 01-30-2005 05:04 PM

I guess know one knows how to solve this issue. Please, I need this resolved as soon as possible.

fancypiper 01-30-2005 06:02 PM

If the info at the Mandrake site can't help, then all I can add is to point you to the howtos. Sorry.

LDP's HOWTOs
Linux Ethernet-Howto
Wireless Howto
Browse through all the modems howtos at the Single list of HOWTOs

# Modem and connection troubleshooting
WinModems and Linux
Modem HOWTO
Modem NHFs
Linmodems.org
Conexant/Rockwell modem HOWTO
The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work
PcTel PCT789 Compilation in Fedora Core 1
Linux driver for Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets
Lucent AMR modem listed as an Intel AC'97 - Smart Link Modems
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems


All times are GMT -5. The time now is 08:52 AM.