Find the answer to your Linux question:
Results 1 to 4 of 4
ok so i have some questions that i cannot figure out? first is the there a better way to find all the computers that are "alive" on the LAN than ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    12

    2 basic quetions


    ok so i have some questions that i cannot figure out?

    first is the there a better way to find all the computers that are "alive" on the LAN than with pinging the broadcast and seeing who responds.

    second is there a way to make a link between the output of lspci and ifconfig so that I can figure out which card is eth0 and which is eth1 without physical
    ly removing them and looking at the MAC.

    thanks
    kyle

  2. #2
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Location
    Republic Banana
    Posts
    562
    Are the nics using the same driver or are they different ? Are you asking this for ArchLinux ?

    nmap -sP 192.168.1.0/24

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    12
    ya the NIC's have different drivers. this is on a debian box running shorewall. I got it to work but just moving the network cable between the to cards until it worked. I was just wondering if there was a better (non-physical) way of doing it.

  4. #4
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Location
    Republic Banana
    Posts
    562
    If you use different modules for your cards, the order in which you load those modules will be the order the cards are called. So the first one is eth0, the second one eth1. So if you can load the modules somewhere in your config manually then you should not have any trouble.

Posting Permissions

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