Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

ethX configuration and settings/installing new drivers/slackware

  • 31-10-2004 2:11am
    #1
    Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭


    Hey all,

    Just installed slackware yesterday, but I can't connect to the internet through my wireless broadband modem using ethernet cable from computer to switch to modem. It works fine in both windows and mandrake, in fact its how I'm talking to you all now. Now I want to know 2 things.

    1. In mandrake you go into system configuration (or something very similar) choose networking, choose network card, and then click activate and this brings up the connection although sometimes it just works from boot. I would like to know if there is a similar program or utility like that in slackware, or how is it possible to do something like that on the command line. I would like to try this out first before I change everything to find it was working perfectly all along.

    2. Here is the part that scares me. It could be the ethernet driver that is being used and so the card is not properly recognised. If it is the driver how is it possible to install the correct driver? Do you have to compile it into the kernel and then replace your old kernel? *shudder*.

    3. How do I tell which it is? (I know thats three, but I need to know!)

    Anyway I pretty much am just looking for a kick in the right direction so I won't bore ye with anymore bs.

    ta
    Baz_


Comments

  • Closed Accounts Posts: 6,718 ✭✭✭SkepticOne


    Baz_ wrote:
    Anyway I pretty much am just looking for a kick in the right direction so I won't bore ye with anymore bs.

    ta
    Baz_
    Can you open up a terminal window, log in as root and run 'ifconfig' and post the results here? It could be a few things, but first we need to see if basic networking is running properly.


  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    * Baz_ wombles off in the right direction

    cheers skepticone, will do it a bit later :)


  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    # ifconfig

    eth1 Link encap:Ethernet HWaddr 00:0C:6E:CD:9E:29
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:285 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:54426 (53.1 Kb) TX bytes:0 (0.0 b)
    Interrupt:5 Base address:0x9000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:624 (624.0 b) TX bytes:624 (624.0 b)
    __________________________________________________________________

    Thats what I get from that, the inet addr should start with something like 62.231.x.x when working properly, but obvioously its not. It could be that dhcp is not configured properly on this device, but alas with my poor n00b4r skills I dont know how to check that either :/

    It could be the driver issue as I did have to install the network card driver in mandrake to get it working, and when I went to install it in slackware it came back with an error (forget what, I'm gonna have to get that for you later). Its an asus a7n8x deluxe motherboard with an nforce2 chipset. Asus only appear to have the drivers in rpm format for linux, but nvidia have a good driver installation binary that should work for all linux flavours (when properly configured I suppose) and thats the one I installed on mandrake.

    Anyway hopefully that extra bit of info is helpful (to me :).

    ta Baz_


  • Registered Users, Registered Users 2 Posts: 1,067 ✭✭✭tomk


    Something slightly odd there - how many network cards are in the machine? eth1 above refers to the second NIC, eth0 should be the first. The fact that eth1 is showing up means that the driver has loaded correctly, but there seems to be more going on here.

    A few more things to run and post:

    lspci -v
    lspci -n
    lsmod

    That should get us to the next stage.


  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    there are two networks cards, I use the eth1 card in both mandrake and windows, so I thought why change a winning formula?

    I will run them commands later to see how i do.

    How do I check whether dhcp is configured correctly, I just have a funny feeling in me waters that that is it, but since i'm not a woman I shouldn't really trust my intuition (its usually wrong).

    Anyway thanks for the helpful replies, keep em coming.

    Baz_

    P.S will post up them results later


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,067 ✭✭✭tomk


    Do you know which dhcp client is installed? I don't use Slack myself, so I don't know where the netwrk config would be.

    As I said, the interface is up - it just doesn't have an IP address assigned. Before you get into fixing dhcp, you could try assigning it a fixed IP address in the range available:

    ifconfig eth1 address 62.231.x.x

    However, as this is presumably your ISP's address range, they might not take kindly to that kind of carry-on.


  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    how would I assign that ip address, i wouldnt mind trying it anyway, I just can't even take a stab at the right command to use, mandrake did far too much for me and i feel like a complete nub4r, but I guess I am a bit.


  • Registered Users, Registered Users 2 Posts: 1,067 ✭✭✭tomk


    OK, maybe I didn't make that clear enough.

    Log in as root, and enter the command given above i.e.

    ifconfig eth1 address 62.231.x.x

    Actually, it might be an idea to boot up Mandrake, take a note of the IP address it gets, reboot to Slack and assign the same address.


  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    its different each time, so Im just gonna assign one at the upper end of the range and hope theres nobody else home :/

    but I'll give it a shot, do I need to get the gateway etc... details too?

    Baz_


  • Registered Users, Registered Users 2 Posts: 1,067 ✭✭✭tomk


    Yeah, stick in the same gateway, broadcast, and netmask that you get in Mandrake.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    that doesn't seem to have worked :/

    as for them commands you asked me to run, here are the results, unedited so you might have to trawl (I did think of removing the inconsequential, but then I thought, i'd better let ye decide what that was)

    # lspci -n
    00:00.0 Class 0600: 10de:01e0 (rev c1)
    00:00.1 Class 0500: 10de:01eb (rev c1)
    00:00.2 Class 0500: 10de:01ee (rev c1)
    00:00.3 Class 0500: 10de:01ed (rev c1)
    00:00.4 Class 0500: 10de:01ec (rev c1)
    00:00.5 Class 0500: 10de:01ef (rev c1)
    00:01.0 Class 0601: 10de:0060 (rev a4)
    00:01.1 Class 0c05: 10de:0064 (rev a2)
    00:02.0 Class 0c03: 10de:0067 (rev a4)
    00:02.1 Class 0c03: 10de:0067 (rev a4)
    00:02.2 Class 0c03: 10de:0068 (rev a4)
    00:04.0 Class 0200: 10de:0066 (rev a1)
    00:05.0 Class 0401: 10de:006b (rev a2)
    00:06.0 Class 0401: 10de:006a (rev a1)
    00:08.0 Class 0604: 10de:006c (rev a3)
    00:09.0 Class 0101: 10de:0065 (rev a2)
    00:0c.0 Class 0604: 10de:006d (rev a3)
    00:0d.0 Class 0c00: 10de:006e (rev a3)
    00:1e.0 Class 0604: 10de:01e8 (rev c1)
    01:0b.0 Class 0104: 1095:3112 (rev 02)
    02:01.0 Class 0200: 10b7:9201 (rev 40)
    03:00.0 Class 0300: 10de:0312 (rev a1)

    # lspci -v
    00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
    Subsystem: Asustek Computer, Inc.: Unknown device 80ac
    Flags: bus master, 66Mhz, fast devsel, latency 0
    Memory at e0000000 (32-bit, prefetchable) [size=64M]
    Capabilities: [40] AGP version 3.0
    Capabilities: [60] #08 [2001]

    00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
    Subsystem: nVidia Corporation: Unknown device 0c17
    Flags: 66Mhz, fast devsel

    00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
    Subsystem: nVidia Corporation: Unknown device 0c17
    Flags: 66Mhz, fast devsel

    00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
    Subsystem: nVidia Corporation: Unknown device 0c17
    Flags: 66Mhz, fast devsel

    00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
    Subsystem: nVidia Corporation: Unknown device 0c17
    Flags: 66Mhz, fast devsel

    00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
    Subsystem: nVidia Corporation: Unknown device 0c17
    Flags: 66Mhz, fast devsel

    00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
    Subsystem: Asustek Computer, Inc. A7N8X Mainboard
    Flags: bus master, 66Mhz, fast devsel, latency 0
    Capabilities: [48] #08 [01e1]

    00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
    Subsystem: Asustek Computer, Inc.: Unknown device 0c11
    Flags: 66Mhz, fast devsel, IRQ 11
    I/O ports at e000
    Capabilities: [44] Power Management version 2

    00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 10 [OHCI])
    Subsystem: Asustek Computer, Inc. A7N8X Mainboard
    Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 12
    Memory at ea087000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [44] Power Management version 2

    00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 10 [OHCI])
    Subsystem: Asustek Computer, Inc. A7N8X Mainboard
    Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 5
    Memory at ea082000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [44] Power Management version 2

    00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4) (prog-if 20 [EHCI])
    Subsystem: Asustek Computer, Inc. A7N8X Mainboard
    Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 12
    Memory at ea083000 (32-bit, non-prefetchable)
    Capabilities: [44] #0a [2080]
    Capabilities: [80] Power Management version 2

    00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
    Subsystem: Asustek Computer, Inc.: Unknown device 80a7
    Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 5
    Memory at ea086000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at e400
    Capabilities: [44] Power Management version 2

    00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a2)
    Subsystem: Asustek Computer, Inc.: Unknown device 0c11
    Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 5
    Memory at ea000000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: [44] Power Management version 2

    00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
    Subsystem: Asustek Computer, Inc.: Unknown device 8095
    Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 12
    I/O ports at d000
    I/O ports at d400
    Memory at ea080000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [44] Power Management version 2

    00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3) (prog-if 00 [Normal decode])
    Flags: bus master, 66Mhz, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
    I/O behind bridge: 0000a000-0000bfff
    Memory behind bridge: e8000000-e9ffffff

    00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if 8a [Master SecP PriP])
    Subsystem: Asustek Computer, Inc.: Unknown device 0c11
    Flags: bus master, 66Mhz, fast devsel, latency 0
    I/O ports at f000
    Capabilities: [44] Power Management version 2

    00:0c.0 PCI bridge: nVidia Corporation nForce2 PCI Bridge (rev a3) (prog-if 00 [Normal decode])
    Flags: bus master, 66Mhz, fast devsel, latency 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
    I/O behind bridge: 0000c000-0000cfff
    Memory behind bridge: e4000000-e5ffffff

    00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3) (prog-if 10 [OHCI])
    Subsystem: Asustek Computer, Inc.: Unknown device 809a
    Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 11
    Memory at ea084000 (32-bit, non-prefetchable) [size=2K]
    Memory at ea085000 (32-bit, non-prefetchable)
    Capabilities: [44] Power Management version 2

    00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) (prog-if 00 [Normal decode])
    Flags: bus master, 66Mhz, medium devsel, latency 32
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
    Memory behind bridge: e6000000-e7ffffff
    Prefetchable memory behind bridge: d0000000-dfffffff

    01:0b.0 RAID bus controller: CMD Technology Inc Silicon Image SiI 3112 SATARaid Controller (rev 02)
    Subsystem: CMD Technology Inc: Unknown device 6112
    Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
    I/O ports at a000
    I/O ports at a400
    I/O ports at a800
    I/O ports at ac00
    I/O ports at b000
    Memory at e9000000 (32-bit, non-prefetchable)
    Expansion ROM at <unassigned> [disabled] [size=512K]
    Capabilities: [60] Power Management version 2

    02:01.0 Ethernet controller: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller (rev 40)
    Subsystem: Asustek Computer, Inc.: Unknown device 80ab
    Flags: bus master, medium devsel, latency 32, IRQ 12
    I/O ports at c000
    Memory at e5000000 (32-bit, non-prefetchable)
    Expansion ROM at <unassigned> [disabled] [size=128K]
    Capabilities: [dc] Power Management version 2

    03:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1) (prog-if 00 [VGA])
    Subsystem: ABIT Computer Corp.: Unknown device 8f19
    Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
    Memory at e6000000 (32-bit, non-prefetchable) [size=16M]
    Memory at d0000000 (32-bit, prefetchable) [size=256M]
    Expansion ROM at <unassigned> [disabled] [size=128K]
    Capabilities: [60] Power Management version 2
    Capabilities: [44] AGP version 3.0

    # lsmod
    Module Size Used by Tainted: P
    snd-pcm-oss 37736 0 (unused)
    snd-mixer-oss 12504 0 [snd-pcm-oss]
    keybdev 2052 0 (unused)
    mousedev 4212 1
    hid 21220 0 (unused)
    usbmouse 2040 0 (unused)
    input 3200 0 [keybdev mousedev hid usbmouse]
    usb-ohci 19240 0 (unused)
    ehci-hcd 17580 0 (unused)
    usbcore 59308 1 [hid usbmouse usb-ohci ehci-hcd]
    forcedeth 9164 1
    snd-intel8x0 18924 0
    snd-ac97-codec 49500 0 [snd-intel8x0]
    gameport 1420 0 [snd-intel8x0]
    snd-pcm 56072 0 [snd-pcm-oss snd-intel8x0]
    snd-timer 13604 0 [snd-pcm]
    snd-page-alloc 6328 0 [snd-intel8x0 snd-pcm]
    snd-mpu401-uart 3200 0 [snd-intel8x0]
    snd-rawmidi 12740 0 [snd-mpu401-uart]
    snd-seq-device 3888 0 [snd-rawmidi]
    snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
    soundcore 3396 4 [snd]
    ohci1394 24112 0 (unused)
    ieee1394 42276 0 [ohci1394]
    3c59x 25648 0
    nvidia 4585676 6
    pcmcia_core 39972 0
    ntfs 51424 1 (autoclean)
    ide-scsi 9328 0
    agpgart 43940 3

    Sorry about the length (about the only time I'll get to say that to anyone), but its what you asked for. I only hope it helps now :(

    Baz_


Advertisement