Fwd: Re: Network configuration problems with laptop
This is from a thread on the Libranet users list (Libranet is a Debian-based
distribution).
The problem is getting a PCMICA network card to work. Upon installation of
Debian/Libranet, the option to include PCMCIA is given. If this is accepted,
the installation crashes (on a Toshiba Satellite 2545 XCDT) and you cannot
install Debian. However, if you perform a non-PCMCIA install, the Debian loads
normally, you just aren't able to use the PCMCIA cards.
Well, I've loaded Debian, and I'm trying to get the PCMCIA card among the
living. I've loaded the pcmcia_cs module manually (and it loads fine) but the
network setup won't recognize the kernel module.
I've tried a couple of things (see below) but to no avail. Does anyone know
what the fundamental problem is? I would happily settle for a work-around that
is functional.
Thanks in advance,
Ron
Forwarded Message:
> To: libranet-users@libranet.com
> From: "Ronald L. Chichester" <complaw @ hal-pc.org> (Remove Blanks)
> Subject: Re: Network configuration problems with laptop
> Date: Thu, 12 Sep 2002 06:02:23 -0500
> -----
> I checked /proc/modules. There were entries for the module in question
> (see proc.modules attached). I edited /etc/network/interfaces as
> indicated below. When I invoked ifup eth0, an error message appears
> stating: "eth0: ERROR while getting inteface flags: No such device"
>
> Any other ideas?
>
> Ron
>
> rod wrote:
>
> > Try 'cat /proc/modules' to see if the module is actually loaded. If
> > not then try modprobe to manually load the module. At least this may
> > give some indication of any problems.
> >
> > If modprobe loads the module then you can hand edit
> > /etc/network/interfaces and set up the card. The format is as follows:
> >
> > auto lo
> > iface lo inet loopback
> > auto eth0
> > iface eth0 inet static
> > address x.x.x.x
> > network x.x.x.0
> > netmask 255.255.255.0
> > broadcast x.x.x.255
> >
> > then ifup eth0 to enable the card and ifconfig to see if everything
> > shows up.
> >
> > Rod
> >
> >
> > complaw@hal-pc.org wrote:
> >
> >> I'm still having trouble configuring a PCMCIA network card on a
> >> laptop. I've
> >> tried the /etc/default/pcmcia solution that was kindly posted by
> >> Tamjoe7, but it
> >> didn't work. This is the problem...
> >>
> >> Libranet loads fine on the laptop if I DON'T ask for PCMCIA on
> >> startup. Well,
> >> obviously the PCMCIA card won't work. However, in Adminmenu (for the
> >> Network),
> >> it duly says that I don't have a driver loaded for eth0 and to load
> >> one. I load
> >> the adapter module manually (detect doesn't work). I chose the
> >> pcnet_cs module,
> >> which loads correctly. It says "Finished saving modules" However,
> >> when I go to
> >> Edit Network Configuration (for LAN, etc.) it says that "No ethernet
> >> device has
> >> been configured yet. Press ENTER to configure network card drivers."
> >> which puts
> >> me right back to loading the driver. If I reload the driver, I get
> >> the same
> >> error message when I go back to configure the network.
> >> Is there anyway out of this infinite loop?
> >>
> >> TIA,
> >>
> >> Ron
> >>
> >
> >
>
I checked /proc/modules. There were entries for the module in question
(see proc.modules attached). I edited /etc/network/interfaces as
indicated below. When I invoked ifup eth0, an error message appears
stating: "eth0: ERROR while getting inteface flags: No such device"
Any other ideas?
Ron
rod wrote:
Try 'cat /proc/modules' to see if the module is actually loaded. If
not then try modprobe to manually load the module. At least this may
give some indication of any problems.
If modprobe loads the module then you can hand edit
/etc/network/interfaces and set up the card. The format is as follows:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address x.x.x.x
network x.x.x.0
netmask 255.255.255.0
broadcast x.x.x.255
then ifup eth0 to enable the card and ifconfig to see if everything
shows up.
Rod
complaw@hal-pc.org wrote:
I'm still having trouble configuring a PCMCIA network card on a
laptop. I've
tried the /etc/default/pcmcia solution that was kindly posted by
Tamjoe7, but it
didn't work. This is the problem...
Libranet loads fine on the laptop if I DON'T ask for PCMCIA on
startup. Well,
obviously the PCMCIA card won't work. However, in Adminmenu (for the
Network),
it duly says that I don't have a driver loaded for eth0 and to load
one. I load
the adapter module manually (detect doesn't work). I chose the
pcnet_cs module,
which loads correctly. It says "Finished saving modules" However,
when I go to
Edit Network Configuration (for LAN, etc.) it says that "No ethernet
device has
been configured yet. Press ENTER to configure network card drivers."
which puts
me right back to loading the driver. If I reload the driver, I get
the same
error message when I go back to configure the network.
Is there anyway out of this infinite loop?
TIA,
Ron
sb 7360 0 (autoclean)
sb_lib 32288 0 (autoclean) [sb]
uart401 6048 0 (autoclean) [sb_lib]
nls_iso8859-1 2848 1 (autoclean)
nls_cp437 4384 1 (autoclean)
pcnet_cs 10084 0 (unused)
8390 5824 0 [pcnet_cs]
opl3sa2 7904 0 (unused)
mpu401 18400 0 [opl3sa2]
ad1848 20640 0 [opl3sa2]
sound 52588 0 [sb_lib uart401 opl3sa2 mpu401 ad1848]
soundcore 3460 5 [sb_lib sound]
isa-pnp 27676 0 [sb opl3sa2 ad1848]
parport_pc 13860 1 (autoclean)
lp 5888 0 (unused)
parport 22784 1 [parport_pc lp]
ide-scsi 7424 0
ide-cd 26496 0
ide-floppy 11584 0
sr_mod 12856 0 (unused)
cdrom 26848 0 [ide-cd sr_mod]
scsi_mod 50028 2 [ide-scsi sr_mod]
rtc 5756 0 (autoclean)
Reply to: