LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No internet (https://www.linuxquestions.org/questions/slackware-14/no-internet-662641/)

andrw123 08-13-2008 10:02 PM

No internet
 
newbie here,


rc.inet1.conf:

Code:

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Default gateway IP address:
GATEWAY=""

I went through netconfig twice, but still no connection. When I go into KDE and open a browser its not connected.

any advice?

indeliblestamp 08-14-2008 12:43 AM

Can you add a gateway and retry? That worked for someone awhile back with the same problem. Depending on how your router is configured, it should be something like 192.168.0.1 or 192.168.1.1.

Bruce Hill 08-14-2008 01:05 AM

Tell us about your setup.

Can you ping your router? Google?

What is the output of:
Code:

cat /etc/resolv.conf
route -n


Romanus81 08-14-2008 01:16 AM

I'd try wicd. Really, I dunno if it is just me but I've had terrible luck trying to get internet on my laptop.
http://rlworkman.net/pkgs/
it's down there somewhere. It's just a simple program, works well.

Alien Bob 08-14-2008 03:30 AM

For a wired network connection, wicd is terrible overkill. Wicd stands for "WIreless Connection Daemon" - it is great if you have wireless and move around a lot. But it robs you of the ability to change your network setup in a console. You need to run X and start the graphical wicd-client to manage your network connections. Which sucks IMO. Even though the developers are now writing a console client for wicd, I experienced that the use of Python for the tool requires you to have a reasonable beefy computer or else wicd will be slow as mud.

Eric

andrw123 08-14-2008 03:41 PM

How do I set a gateway? I don't know what address to put. I have a Intel Classic motherboard with on board Ethernet. When I run: cat /etc/resolv.conf, It just says "search" and my domain.
When I run "route -n" it says:

Code:

Destination  Gateway  Genmask    Flags Metric Ref  Use Iface
127.0.0.0    0.0.0.0  255.0.0.0  U    0      0      0 lo

also my router is secured I usually have to put in a security key for the first time I use the internet on that computer

Alien Bob 08-14-2008 03:56 PM

Looks like no driver was loaded for your network interface at all... I see no "eth0" in the 'route' output.
You may want to post the results of these commands (save the text to a USB stick if it is too much to type and transfer it to a computer with Internet connection):
Code:

ifconfig -a
Code:

lspci -v
Code:

lsmod
So that we can determine what network card you have in there.
Eric

andrw123 08-14-2008 05:13 PM

ifconfig -a:

Code:

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lspci -v:

Code:

00:00.0 Host bridge: Intel Corporation 82G35 Express DRAM Controller (rev 03)
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information <?>

00:02.0 VGA compatible controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at 90200000 (32-bit, non-prefetchable) [size=1M]
        Memory at 80000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 2440 [size=8]
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [d0] Power Management version 2

00:02.1 Display controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, fast devsel, latency 0
        Memory at 90100000 (32-bit, non-prefetchable) [size=1M]
        Capabilities: [d0] Power Management version 2

00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02)
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, fast devsel, latency 0, IRQ 9
        Memory at 90300000 (32-bit, non-prefetchable) [size=128K]
        Memory at 90324000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 20c0 [size=32]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 20a0 [size=32]
        Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0, IRQ 22
        I/O ports at 2080 [size=32]
        Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0, IRQ 18
        Memory at 90325400 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, fast devsel, latency 0, IRQ 9
        Memory at 90320000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00

00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [90] Subsystem: Gammagraphx, Inc. Unknown device 0000
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport-driver

00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [90] Subsystem: Gammagraphx, Inc. Unknown device 0000
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport-driver

00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Prefetchable memory behind bridge: 0000000090400000-00000000904fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Capabilities: [90] Subsystem: Gammagraphx, Inc. Unknown device 0000
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport-driver

00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 2060 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 2040 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 2020 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0, IRQ 21
        Memory at 90325000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
        Memory behind bridge: 90000000-900fffff
        Capabilities: [50] Subsystem: Intel Corporation Unknown device d701

00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02)
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information <?>

00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
        I/O ports at 2438 [size=8]
        I/O ports at 2454 [size=4]
        I/O ports at 2430 [size=8]
        I/O ports at 2450 [size=4]
        I/O ports at 2410 [size=16]
        I/O ports at 2400 [size=16]
        Capabilities: [70] Power Management version 3
        Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
        Subsystem: Intel Corporation Unknown device d701
        Flags: medium devsel, IRQ 10
        Memory at 90325800 (32-bit, non-prefetchable) [size=256]
        I/O ports at 2000 [size=32]

00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) (prog-if 85 [Master SecO PriO])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
        I/O ports at 2428 [size=8]
        I/O ports at 244c [size=4]
        I/O ports at 2420 [size=8]
        I/O ports at 2448 [size=4]
        I/O ports at 20f0 [size=16]
        I/O ports at 20e0 [size=16]
        Capabilities: [70] Power Management version 3
        Kernel driver in use: ata_piix

03:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller (prog-if 85 [Master SecO PriO])
        Subsystem: JMicron Technologies, Inc. JMB368 IDE controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 1018 [size=8]
        I/O ports at 1024 [size=4]
        I/O ports at 1010 [size=8]
        I/O ports at 1020 [size=4]
        I/O ports at 1000 [size=16]
        Expansion ROM at 90400000 [disabled] [size=64K]
        Capabilities: [68] Power Management version 2
        Capabilities: [50] Express Legacy Endpoint, MSI 01
        Capabilities: [70] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
        Kernel driver in use: JMicron IDE

04:05.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70) (prog-if 10 [OHCI])
        Subsystem: Intel Corporation Unknown device d701
        Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ 20
        Memory at 90000000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ohci1394


lsmod:
Code:

Module                  Size  Used by

fotoguy 08-14-2008 08:58 PM

Quote:

Originally Posted by andrw123 (Post 3247899)
ifconfig -a:



lsmod:
Code:

Module                  Size  Used by

This doesn't look right at all, there should be at least some modules loaded, maybe you need to update the module list, maybe try as root

Code:

depmod -a
Then restart the machine and see if it reloads and the modules properly, hopefully then you will load the module for the network card

andrw123 08-14-2008 09:34 PM

Quote:

Originally Posted by fotoguy (Post 3248057)
This doesn't look right at all, there should be at least some modules loaded, maybe you need to update the module list, maybe try as root

Code:

depmod -a
Then restart the machine and see if it reloads and the modules properly, hopefully then you will load the module for the network card

nope, didn't do anything. lsmod still looks the same

Bruce Hill 08-15-2008 12:36 AM

What version of Slackware and which kernel are you running?

Give the output of "cat /etc/slackware-version" and "uname -a"
and "cat /etc/lilo.conf" and "ls -l /boot/"

In Linux a module is what Windows calls a driver -- same thing.

Alien Bob 08-15-2008 01:42 AM

I think you forgot to install the kernel-modules package... look for that on the /slackware/a directory of your Slackware DVD. Pick the one whose version matches the version of the kernel you are running.

Eric

andrw123 08-15-2008 03:33 PM

Got it! the file for the modules on the dvd were corrupt. So I downloaded them from a slackware repository, put them on a usb drive, and installed them.

Thanks everyone.

fotoguy 08-15-2008 07:18 PM

Good to hear it's all working now


All times are GMT -5. The time now is 09:07 AM.