Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1775 - archlinux should provide ifup/ifdown scripts
Attached to Project:
Arch Linux
Opened by Jan de Groot (JGC) - Thursday, 11 November 2004, 12:12 GMT
Last edited by Judd Vinet (judd) - Thursday, 11 November 2004, 19:32 GMT
Opened by Jan de Groot (JGC) - Thursday, 11 November 2004, 12:12 GMT
Last edited by Judd Vinet (judd) - Thursday, 11 November 2004, 19:32 GMT
|
DetailsWhen I was running gentoo, sticking in my PCMCIA LAN card caused pcmcia-cs to autoload the 8139too driver and throw the eth0 device or whatever got assigned to it up.
Archlinux does not support this. I looked in the pcmcia-cs code, and it seems to support two things: - /sbin/{ifup,ifdown} commands, this is the default in distros like debian, redhat, etc - gentoo style /etc/init.d/net.$devname scripts I think we should have ifup and ifdown in archlinux that reads out /etc/rc.conf and throws up the requested interface like the way that is done on bootup. |
This task depends upon
[jvinet@mars ~]$ /etc/rc.d/network
usage: /etc/rc.d/network {start|stop|restart}
/etc/rc.d/network {ifup|ifdown|iflist|rtup|rtdown|rtlist}
You can use 'alias' or create a /sbin/if{up,down} wrapper scripts if you like, or you could modify the pcmcia-cs config to call "/etc/rc.d/network ifup" instead.