Find the answer to your Linux question:
Results 1 to 3 of 3
So I'm running Debian with kernel version 2.4.24-1-686, and I can get my D-Link Ethernet card up and running by typing the following commands as root: $ modprobe 8139too $ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2004
    Location
    Boston, MA
    Posts
    246

    Network card configuration in Debian


    So I'm running Debian with kernel version 2.4.24-1-686, and I can get my D-Link Ethernet card up and running by typing the following commands as root:

    $ modprobe 8139too
    $ ifup eth0


    But whenever I restart my machine, the device disappears, including all its settings in iptables, and I have to type those commands again. Anyone familiar with this behavior and know how to fix it?

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    You can add that module to /etc/modules.autoload.d to get it loaded every boot. Then add the Debian eth0 script to the boot runlevel...hopefully a Debian guru will be able to help you there.

    You can make a shell script with your iptables statements and have that run at boot, too. Hope that helps.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Linux Newbie
    Join Date
    May 2004
    Location
    Boston, MA
    Posts
    246
    Thanks; I basically know how to do that, but which runlevel should I put the script in? My default runlevel is 2. I assume it should be an S99 script to make sure everything it needs is already loaded, correct?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •