Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

getting PCMCIA to start before networking

  • 13-07-2007 06:51PM
    #1
    Registered Users, Registered Users 2 Posts: 865 ✭✭✭


    So I have an embedded debian system on a Nagasaki MS-2100 (also known as the Hacom Openbrick) booting from a compact flash card and everything is fine, except that when the system boots, I can see the networking stuff take place (and failing), and then after that, the PCMCIA subsystem (which presumably includes cardmgr). The machine is working as a router so I need wireless to work at first.

    I'm not too familiar with the linux startup sequence, but I understand what's happening is that /etc/init.d/networking is running before /etc/init.d/pcmcia

    I have added

    pcmcia_core
    i82365

    to /etc/modules, because these modules must be loaded (they don't load automatically for some reason), but I have to run cardmgr before the pcmcia card will work.

    the problem with all this is all the stuff I put in /etc/interfaces doesn't work because /etc/init.d/networking isn't finding eth2 (since the pcmcia services haven't started yet), so I have to run ifconfig, iwconfig etc, manually (actually I added a line in /etc/rc.local but that's hardly a solution

    so does anyone know how I can get pcmcia to run before networking? I don't know much about init.d


Comments

  • Registered Users, Registered Users 2 Posts: 1,569 ✭✭✭maxheadroom


    So I have an embedded debian system on a Nagasaki MS-2100 (also known as the Hacom Openbrick) booting from a compact flash card and everything is fine, except that when the system boots, I can see the networking stuff take place (and failing), and then after that, the PCMCIA subsystem (which presumably includes cardmgr). The machine is working as a router so I need wireless to work at first.

    I'm not too familiar with the linux startup sequence, but I understand what's happening is that /etc/init.d/networking is running before /etc/init.d/pcmcia

    I have added

    pcmcia_core
    i82365

    to /etc/modules, because these modules must be loaded (they don't load automatically for some reason), but I have to run cardmgr before the pcmcia card will work.

    the problem with all this is all the stuff I put in /etc/interfaces doesn't work because /etc/init.d/networking isn't finding eth2 (since the pcmcia services haven't started yet), so I have to run ifconfig, iwconfig etc, manually (actually I added a line in /etc/rc.local but that's hardly a solution

    so does anyone know how I can get pcmcia to run before networking? I don't know much about init.d

    The solution should be here: http://wiki.debianhelp.org/pmwiki.php/DebianHelpPages/DebianInitScripts


  • Registered Users, Registered Users 2 Posts: 865 ✭✭✭generalmiaow


    I'll have a look at that, thanks for the link!


Advertisement