Summary: | annoying wait on eth0 when using pcmcia wireless... init script problem | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Spundun Bhatt <spundun> |
Component: | [OLD] Core system | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | chadh, pvdabeel |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 68964 |
Description
Spundun Bhatt
2003-04-17 01:22:11 UTC
This is part of a larger problem in Gentoo right now (and other distributions). Integrating multiple profiles with the OS is tricky business, and pcmcia-cs doesn't make it very easy. There are a couple things you can do for now. The first is to grab /usr/portage/sys-apps/pcmcis-cs/files/network.orig and replace /etc/pcmcia/network with it. Then you can use regular pcmcia-cs schemes (see the pcmcia-cs howto). Another option is to use quickswitch. I use this personally, and it works pretty well. You can configure it to use a kernel parameter to determine which connection to start at bootup. when I'm away, I usually have the iface_eth0 commented out in /etc/conf.d/net. I believe since Redhat 8, startup doesn't wait for more than 2 secs giving an error "Timed out, check link"... You can lower the dhcpcd timeout by setting dhcpcd_eth0="-t 10" The best solution is to add a check for link in the preup() function of /etc/conf.d/net. Example: ebegin "Checking link on ${IFACE}" mii-tool ${IFACE} 2> /dev/null | grep -q 'link ok' eend $? |