Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1319 - pcmcia net interfaces not shutdown correctly
Summary: pcmcia net interfaces not shutdown correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 1318
Blocks:
  Show dependency tree
 
Reported: 2002-03-23 10:52 UTC by Jim Nutt
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/pcmcia/network (network,169 bytes, text/plain)
2002-03-23 10:56 UTC, Jim Nutt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Nutt 2002-03-23 10:52:38 UTC
PCMCIA network interfaces are not shutdown correctly. This is particularly true
in the case of dhcp controlled interfaces. See bug #1318 for problems with dhcp.
I have fixes that I will attach shortly
Comment 1 Jim Nutt 2002-03-23 10:56:38 UTC
Created attachment 435 [details]
/etc/pcmcia/network

This version /etc/pcmcia/network, combined with the net.eth0 attached to bug
#1318 fixes the dhcp release problem as well as properly shutting down pcmcia
interfaces.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-03-23 12:23:14 UTC
The possible fix for bug 1318 is included in baselayout-1.7.5, fyi.
Comment 3 Chad Huneycutt (RETIRED) gentoo-dev 2002-03-24 22:37:47 UTC
Yeah.  This was my bug in the init script.  Just a brain-fart.  I think I have
already corrected it and committed to CVS.
Comment 4 Preston A. Elder 2002-03-27 11:03:16 UTC
There is still a problem with PCMCIA, at least, 3.1.33.

The network script does not call net.eth0 stop, it just does an ifconfig eth0
down.  This means that if you try to use pcmcia to start the network interface
again, you get an 'net.eth0 is already started' error, and it wont start it.

Theres no reason to just ifconfig eth0 down instead of net.eth0 stop, so, we
should probably change the behavior of what happens when /etc/pcmcia/network
stop eth0 is recieved to be properly reciprocal with /etc/pcmcia/network start eth0.
Comment 5 Chad Huneycutt (RETIRED) gentoo-dev 2002-04-01 12:46:05 UTC
I will assume that Preston's comments are based on the broken
/etc/pcmcia/network script, which has been fixed.  Closing