Results 1 to 6 of 6
Thread: help! can't access internet!
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
02-02-2006 #1
- Join Date
- Feb 2006
- Posts
- 7
help! can't access internet!
After I install Red hat linux in dell machine. I couldn't access the internet.
Here is some information:
---
$ ./ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2036 errors:0 dropped:0 overruns:0 frame:0
TX packets:2036 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1987374 (1.8 MiB) TX bytes:1987374 (1.8 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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)
---
$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
--
$ cat /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
---
$cat /etc/resolv.conf
No response after this command.
-
02-02-2006 #2
welcome! what about (the results from these):
route -n
lspci
in ifconfig i'm missing the part with eth0
I'm not sure what could be wrong though, maybe you can start your connexion with:
ifup eth0
(if you're on dialup) ifup ppp
please also give some more info on your network, is there a router? modem? dailup? more computers on a lan?
-
02-02-2006 #3
Mabye your NIC dosen't get recognized by your kernel if it dosen't show up in dmesg's output. If it is the case, you should try recompiling your kernel with your appropriate network interface drivers.
If you manage to get your eth up (and your connection isn't a pppoe one) you should only run setup (being logged as root) and set your ip address, netmask, gateway and dns server's.
Before trying to do something you should restart the internet daemon (service xinetd restart) and test you internet connection. Now it should work as expected if nothing went wrong.
-
02-03-2006 #4
- Join Date
- Feb 2006
- Posts
- 7
[QUOTE=hwcore]Mabye your NIC dosen't get recognized by your kernel if it dosen't show up in dmesg's output. If it is the case, you should try recompiling your kernel with your appropriate network interface drivers.
QUOTE]
Yes, when I type dmesg, there is no NIC information. But How could I recompiling my kernel? Thank you!
BTW, I connect to the campus network by cable. The machine is Dell XPS400.
-
02-03-2006 #5
- Join Date
- Feb 2006
- Posts
- 7
Originally Posted by muha
Machine: Dell XPS 400
Network Interface
Integrated 10/100/10002 Ethernet.
Operating System: Redhat Enterprise Linux 4 WS
$ ./route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
Here is the information of lspci
00:00.0 Host bridge: Intel Corporation 945G/P Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation 945G/P PCI Express Graphics Port
00:1b.0 Class 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (r ev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express P ort 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express P ort 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Control ler (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GH (ICH7DH) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (re v 01)
00:1f.2 Class 0106: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA Storag e Controllers cc=AHCI (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV41.1 [GeForce 6800] (rev a2)
04:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controlle r (rev 01)
05:05.0 Modem: Intel Corporation FA82537EP 56K V.92 Data/Fax Modem PCI (rev 04)
[root@localhost sbin]# ./lspci
00:00.0 Host bridge: Intel Corporation 945G/P Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation 945G/P PCI Express Graphics Port
00:1b.0 Class 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GH (ICH7DH) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 Class 0106: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV41.1 [GeForce 6800] (rev a2)
04:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller (rev 01)
05:05.0 Modem: Intel Corporation FA82537EP 56K V.92 Data/Fax Modem PCI (rev 04)
-
02-03-2006 #6
Yes, when I type dmesg, there is no NIC information. But How could I recompiling my kernel? Thank you!
BTW, I connect to the campus network by cable. The machine is Dell XPS400. [/QUOTE]
You should read http://www.linuxsa.org.au/meetings/1...el/kernel.html for further instructions.