Professional Web Applications Themes

linux network card setup - Linux Setup, Configuration & Administration

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

  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. #2

    Default Re: linux network card setup

    Mark <tha_don_ak47hotmail.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]silviojabber.linux.it[/email]
    GnuPG Key fingerprint = 10E0 2B05 0B0A 3525 8760 788B 59B6 C74A 250E 65B6

    Silvio Bacchetta Guest

Similar Threads

  1. How to add new PCI Network card
    By Oh Chakravu in forum AIX
    Replies: 2
    Last Post: September 17th, 01:54 PM
  2. network card
    By s mcdonald in forum Windows Networking
    Replies: 3
    Last Post: July 29th, 06:24 AM
  3. No network card
    By Bob Day in forum Windows Networking
    Replies: 4
    Last Post: July 21st, 11:38 AM
  4. where's my network card???
    By adrian in forum Windows Networking
    Replies: 1
    Last Post: July 10th, 01:41 PM
  5. XP and ME P2P network setup
    By sandbager in forum Windows Networking
    Replies: 1
    Last Post: July 3rd, 10:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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