|
Home > Archive > Linux Debian support > October 2005 > Thanks & another question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Thanks & another question
|
|
| Robert Kaplan 2005-10-04, 2:46 am |
|
Thanks for the help, Bill. I managed to produce a boot floppy which
booted 2.4 ok, and the printer, which didn't work under 2.2, seems to
work ok. However, my network interface vanished; I had to go back to
2.2 to writre this!
Under 2.2 I have a simple line in the /etc/network/interfaces file:
iface eth0 inet dhcp
and then
ifup eth0
from the shell would bring up the internet.
Under 2.4, the ifup responded with an error
eth0: no such device.
I found some complex looking stuff about configuring pppoe connections,
but that also seemed to depend on the eth0 interface, and also looked
more complicated than I wanted to get into. Is there something simple
like under 2.2?
TIA, Bob.
| |
| Shannon Lloyd 2005-10-04, 2:46 am |
| Robert Kaplan wrote:
>
> Thanks for the help, Bill. I managed to produce a boot floppy which
> booted 2.4 ok, and the printer, which didn't work under 2.2, seems to
> work ok. However, my network interface vanished; I had to go back to
> 2.2 to writre this!
>
> Under 2.2 I have a simple line in the /etc/network/interfaces file:
>
> iface eth0 inet dhcp
>
> and then
>
> ifup eth0
>
> from the shell would bring up the internet.
>
> Under 2.4, the ifup responded with an error
>
> eth0: no such device.
>
> I found some complex looking stuff about configuring pppoe connections,
> but that also seemed to depend on the eth0 interface, and also looked
> more complicated than I wanted to get into. Is there something simple
> like under 2.2?
>
> TIA, Bob.
ifup is simply telling you that it cannot find a network interface at
eth0. It may have been given a different name (eg eth1). What does
ifconfig (as root) tell you? It should list whatever network interfaces
you have on your system.
Shannon
| |
|
| Robert Kaplan <belovedbobNo@Spamgreennet.net> writes:
>Thanks for the help, Bill. I managed to produce a boot floppy which
>booted 2.4 ok, and the printer, which didn't work under 2.2, seems to
>work ok. However, my network interface vanished; I had to go back to
>2.2 to writre this!
>Under 2.2 I have a simple line in the /etc/network/interfaces file:
>iface eth0 inet dhcp
>and then
>ifup eth0
>from the shell would bring up the internet.
>Under 2.4, the ifup responded with an error
>eth0: no such device.
Well, if there is no interface then doing ifup is not too useful
Do
ifconfig -a
to see if any interface is listed. If not then the module for our
etehrnetcard/or whatever it is you have/ had not been loaded. What does the
computer have for a network card?
>I found some complex looking stuff about configuring pppoe connections,
>but that also seemed to depend on the eth0 interface, and also looked
>more complicated than I wanted to get into. Is there something simple
>like under 2.2?
Sure, but we need to know what it is you actually have on your system.
Also do
dmesg|grep eth0
to see if there was some problem on boot loading the driver for the eth0
Look in /etc/modprobe.conf ( or in /etc/modules.conf) to see if there is
there is something about loading the ethernet modules.
| |
| Robert Kaplan 2005-10-04, 5:48 pm |
| Unruh wrote:
> Robert Kaplan <belovedbobNo@Spamgreennet.net> writes:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Well, if there is no interface then doing ifup is not too useful
> Do
> ifconfig -a
> to see if any interface is listed. If not then the module for our
> etehrnetcard/or whatever it is you have/ had not been loaded. What does the
> computer have for a network card?
>
>
>
>
>
>
> Sure, but we need to know what it is you actually have on your system.
>
> Also do
> dmesg|grep eth0
> to see if there was some problem on boot loading the driver for the eth0
> Look in /etc/modprobe.conf ( or in /etc/modules.conf) to see if there is
> there is something about loading the ethernet modules.
>
>
>
Hello,
ifconfig reported only a lo device.
dmesg | grep eth0 produced no output
There is no /etc/modprobe.conf on my system
I don't know what kind of ethernet card, it's a Dell computer and the
card is the card that came with it.
Contents of /etc/modules.conf:
> ### This file is automatically generated by update-modules"
> #
> # Please do not edit this file directly. If you want to change or add
> # anything please take a look at the files in /etc/modutils and read
> # the manpage for update-modules.
> #
> ### update-modules: start processing /etc/modutils/0keep
> # DO NOT MODIFY THIS FILE!
> # This file is not marked as conffile to make sure if you upgrade modutils
> # it will be restored in case some modifications have been made.
> #
> # The keep command is necessary to prevent insmod and friends from ignoring
> # the builtin defaults of a path-statement is encountered. Until all other
> # packages use the new `add path'-statement this keep-statement is essential
> # to keep your system working
> keep
>
> ### update-modules: end processing /etc/modutils/0keep
>
> ### update-modules: start processing /etc/modutils/actions
> # Special actions that are needed for some modules
>
> # The BTTV module does not load the tuner module automatically,
> # so do that in here
> post-install bttv insmod tuner
> post-remove bttv rmmod tuner
>
>
> ### update-modules: end processing /etc/modutils/actions
>
> ### update-modules: start processing /etc/modutils/aliases
> # Aliases to tell insmod/modprobe which modules to use
>
> # Uncomment the network protocols you don't want loaded:
> # alias net-pf-1 off # Unix
> # alias net-pf-2 off # IPv4
> # alias net-pf-3 off # Amateur Radio AX.25
> # alias net-pf-4 off # IPX
> # alias net-pf-5 off # DDP / appletalk
> # alias net-pf-6 off # Amateur Radio NET/ROM
> # alias net-pf-9 off # X.25
> # alias net-pf-10 off # IPv6
> # alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
> # alias net-pf-19 off # Acorn Econet
> alias net-pf-24 pppoe
>
> alias char-major-10-175 agpgart
> alias char-major-10-200 tun
> alias char-major-81 bttv
> alias char-major-108 ppp_generic
> alias /dev/ppp ppp_generic
> alias tty-ldisc-3 ppp_async
> alias tty-ldisc-14 ppp_synctty
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
>
> # Crypto modules (see http://www.kerneli.org/)
> alias loop-xfer-gen-0 loop_gen
> alias loop-xfer-3 loop_fish2
> alias loop-xfer-gen-10 loop_gen
> alias cipher-2 des
> alias cipher-3 fish2
> alias cipher-4 blowfish
> alias cipher-6 idea
> alias cipher-7 serp6f
> alias cipher-8 mars6
> alias cipher-11 rc62
> alias cipher-15 dfc2
> alias cipher-16 rijndael
> alias cipher-17 rc5
>
>
> ### update-modules: end processing /etc/modutils/aliases
>
> ### update-modules: start processing /etc/modutils/apm
> alias char-major-10-134 apm
> alias /dev/apm_bios /dev/misc/apm_bios
> alias /dev/misc/apm_bios apm
>
> ### update-modules: end processing /etc/modutils/apm
>
> ### update-modules: start processing /etc/modutils/paths
> # This file contains a list of paths that modprobe should scan,
> # beside the ones that are compiled into the modutils tools
> # themselves.
>
>
> ### update-modules: end processing /etc/modutils/paths
>
> ### update-modules: start processing /etc/modutils/ppp
> alias /dev/ppp ppp_generic
> alias char-major-108 ppp_generic
> alias tty-ldisc-3 ppp_async
> alias tty-ldisc-14 ppp_synctty
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
>
> ### update-modules: end processing /etc/modutils/ppp
>
> ### update-modules: start processing /etc/modutils/setserial
> #
> # This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
> # when the module is first loaded into the kernel at boot time!
> #
> #post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
> #pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
> #
> alias /dev/tts serial
> alias /dev/tts/0 serial
> alias /dev/tts/1 serial
> alias /dev/tts/2 serial
> alias /dev/tts/3 serial
> post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
> pre-remove serial /etc/init.d/setserial modsave > /dev/null 2> /dev/null
>
> ### update-modules: end processing /etc/modutils/setserial
>
> ### update-modules: start processing /etc/modutils/arch/i386
> alias parport_lowlevel parport_pc
> alias char-major-10-144 nvram
> alias binfmt-0064 binfmt_aout
> alias char-major-10-135 rtc
>
> ### update-modules: end processing /etc/modutils/arch/i386
Output of lsmod:
> Module Size Used by Not tainted
> soundcore 3940 0 (autoclean)
> input 3648 0 (autoclean)
> r128 84884 1
> ipt_REJECT 3832 2 (autoclean)
> iptable_filter 1772 1 (autoclean)
> ip_tables 12192 2 [ipt_REJECT iptable_filter]
> uhci 25724 0 (unused)
> usbcore 62924 1 [uhci]
> dm-mod 46808 0 (unused)
> ntfs 54304 0 (unused)
> af_packet 13000 0
> rtc 6440 0 (autoclean)
> ext2 49516 1 (autoclean)
> ext3 81068 0 (autoclean)
> jbd 42468 0 (autoclean) [ext3]
> ide-detect 288 0 (autoclean) (unused)
> piix 9096 1 (autoclean)
> ide-disk 16800 2 (autoclean)
> ide-core 108568 2 (autoclean) [ide-detect piix ide-disk]
> unix 14960 184 (autoclean)
Thanks again, Bob.
| |
| Robert Kaplan 2005-10-04, 5:48 pm |
| More info,
I ran dmesg | grep eth on the working 2.2 system, and got this output:
eth0: Intel PCI EtherExpress Pro100 82562EM, 00:03:47:A2:D5:CB, IRQ 3.
Bob
| |
| Robert Kaplan 2005-10-05, 8:56 pm |
| I solved it! The tip about using dmesg and modprobe was very helpful.
Thanks!
Bob
|
|
|
|
|