Find the answer to your Linux question:
Results 1 to 9 of 9
Okay, make gconfig let's me go in and check what options compile, modules and drivers. Two questions. If I set a network driver to yes (instead of module) where does ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2005
    Location
    Lebanon, PA
    Posts
    110

    Better way to set up drivers.


    Okay, make gconfig let's me go in and check what options compile, modules and drivers. Two questions.

    If I set a network driver to yes (instead of module) where does it end up?

    Second, is there an easy way to see what drivers I have compiled, which ones are being used, and what devices I have on my system?

    Reason is, I am having trouble getting my network working. When I try ping I get Network Unreachable. The network card is lit, I have a good cable connection. Any ideas?
    'Linux is like a swiss army knife. Yet it never gets that "I'm bloated and need suspenders" feeling.' - www.arkaoss.com

  2. #2
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391

    Re: Better way to set up drivers.

    Quote Originally Posted by qwert231
    is there an easy way to see what drivers I have compiled, which ones are being used, and what devices I have on my system?
    to see your drivers(modules)

    Code:
    /sbin/lsmod
    to see pci cards in your system

    Code:
    /sbin/lspci
    to see devices, connected via usb

    Code:
    /sbin/lsusb
    Russian UNIX Forums
    http://eugrus.pp.ru

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    9
    To see what device you have,
    you can use the dmesg command..alternatively you can view your /proc directory..to see all your system config information.

    if you choose as driver option when compile kernel, it will be "in-built" into kernel, you can type cat /proc/devices...to view.

    maybe you did not set your ip address and gateway.

  4. #4
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391

    Re: Better way to set up drivers.

    Quote Originally Posted by qwert231
    Reason is, I am having trouble getting my network working. When I try ping I get Network Unreachable. The network card is lit, I have a good cable connection. Any ideas?
    Are you using NAT, DHCP or anything else?

    In RedHat-clones NAT could be configured using /etc/sysconfig/network-scripts/ifcfg-eth* which syntax could be instinctively understood.

    In Debian-clones /etc/network/interfaces is used instead.

    Usually there are also some wizards such as system-config-network (Fedora), drakconf (Mandrake), etc

    What distro are you using?
    Russian UNIX Forums
    http://eugrus.pp.ru

  5. #5
    Linux Newbie
    Join Date
    Feb 2005
    Location
    Lebanon, PA
    Posts
    110
    My distro is listed to the left w/ my info. (Slack 10.1)

    I did set my network, DHCP. I'm using a little router that assigns IP addresses. This was working before compile, so I'm figuring I missed the right driver.

    I'm using a PC-Chips M599LMR with a network 'riser' card. SIS chipset 530.
    'Linux is like a swiss army knife. Yet it never gets that "I'm bloated and need suspenders" feeling.' - www.arkaoss.com

  6. #6
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391
    Quote Originally Posted by qwert231
    This was working before compile, so I'm figuring I missed the right driver.
    Before compile of what? New kernel?

    Is there your card in
    Code:
    /sbin/lspci |grep Ethernet
    out?

    Is the eth0 interface up?
    Code:
    /sbin/ifconfig eth0 up
    Russian UNIX Forums
    http://eugrus.pp.ru

  7. #7
    Linux Newbie
    Join Date
    Feb 2005
    Location
    Lebanon, PA
    Posts
    110
    I see it listed when I do lspci. But when I do ifconfig for eth0 it says unknown interface: no such device.
    'Linux is like a swiss army knife. Yet it never gets that "I'm bloated and need suspenders" feeling.' - www.arkaoss.com

  8. #8
    Linux Newbie
    Join Date
    Feb 2005
    Location
    Lebanon, PA
    Posts
    110
    So, what am I missing?

    (I know, I'm missing a lot. Please help anyways?!)
    'Linux is like a swiss army knife. Yet it never gets that "I'm bloated and need suspenders" feeling.' - www.arkaoss.com

  9. #9
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391
    Are there eth*.ko files in /lib/modules/`uname -r`/kernel/drivers/net ?
    Russian UNIX Forums
    http://eugrus.pp.ru

Posting Permissions

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