Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

When 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

Closed by  Jan de Groot (JGC)
Sunday, 21 November 2004, 13:05 GMT
Reason for closing:  Won't fix
Comment by Judd Vinet (judd) - Thursday, 11 November 2004, 19:32 GMT
These commands are built-in to the rc.d/network script.

[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.

Comment by Jan de Groot (JGC) - Friday, 12 November 2004, 07:43 GMT
Ah, didn't know archlinux had that option. I think I'll patch it into pcmcia-cs and submit it as a feature request for the next version.
Comment by Jan de Groot (JGC) - Sunday, 21 November 2004, 13:04 GMT
Submitted a patch for hotplug in task 1818.

Loading...