linux network card setup

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default linux network card setup

    Hi everyone!

    i was running a redhat server for about a year, and decided to switch
    to try out Slackware but i'm having a major problem.


    I use the linux machine as a router, and it seems to me by default
    slackware only autodetects the first network card during install.

    I was wondering if anyone knows a way i can auto detect my second
    network card.

    I tried to type:
    ifconfig eth1 192.168.1.1 broadcast 192.168.1.255 netmask 255.
    255.255.0


    but i get the error:
    SIOCSIFADDR: No such device
    eth1: unknown interface: No such device
    SIOCSIFBRDADDR: No such device
    eth1: unknown interface: No such device
    SIOCSIFNETMASK: No such device


    i don't know what brand the network card is, and redhat 8 and 7 both
    autodetected it. I am running slackware 9(its newer then the redhats)
    so i assume there must be a way.


    Thanks for all your help, in advance.


    p.s. i looked into modprob but to use it you need to know what brand
    your network card is. so its possing to be a problem.
    Mark Guest

  2. Similar Questions and Discussions

    1. How to add new PCI Network card
      Hi, We just installed two new PCI Ethernet cards to our Motorola E-Series AIX Box but they do not show up in devices. What do I need to do before...
    2. network card
      device manager says its insrtance 2 of my network card yet there is no instance 1 and there is only 1 card installled every few days the card...
    3. No network card
      "adrian916" <aphutchinson@yahoo.co.uk> wrote in message news:007301c347b9$df2b13d0$a101280a@phx.gbl... You can connect to 127.0.0.1 without even...
    4. where's my network card???
      I have a compaq pc with a built in network card (not PCI). Although the l.e.d on the back is showing, device manager (in XP) indicates that no NIC...
    5. network card solaris 9
      I am kind of new to solaris. I installed it successfully but I have a network card on pci 1 but when Ido netstat -i it only sees localhost and yet...
  3. #2

    Default Re: linux network card setup

    Mark <tha_don_ak47@hotmail.com> ha scritto:
    > I tried to type:
    > ifconfig eth1 192.168.1.1 broadcast 192.168.1.255 netmask 255.
    > 255.255.0
    >
    >
    > but i get the error:
    > SIOCSIFADDR: No such device
    > eth1: unknown interface: No such device
    > SIOCSIFBRDADDR: No such device
    > eth1: unknown interface: No such device
    > SIOCSIFNETMASK: No such device
    This is right, there is no driver module loaded right now.

    > i don't know what brand the network card is, and redhat 8 and 7 both
    > autodetected it. I am running slackware 9(its newer then the redhats)
    > so i assume there must be a way.
    Yes, you'll need to manually load the driver with modprobe. The lspci
    command will help you discover what chipset your card uses. After that,
    you can add an alias in /etc/modules.conf and a permanent configuration
    for the card.

    --
    Registered user at [url]http://counter.li.org[/url] # 170453
    Jabber JID: [email]silvio@jabber.linux.it[/email]
    GnuPG Key fingerprint = 10E0 2B05 0B0A 3525 8760 788B 59B6 C74A 250E 65B6

    Silvio Bacchetta Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139