请教上网问题
大家帮帮忙。我在root用户下配置好了adsl。在普通用户下pppoe拨号,拨号软件面板右边的两个灰色长方条也变成绿色的了。这应该是连上网络了吧。我是个菜鸟,第一次用magiclinux,网络从硬件到软件配置,都没有提示有问题。可是,可是,我就是无法上网,网页无法看,qq无法上,msn无法用,555555555555,大家赶紧帮帮忙。 ifconfig 可以看是否连上
route可以查看默认网关
cat /etc/resolv.conf 可以查看 dns 设置 多谢版主的回答,可是——非常不好意思,我是菜菜鸟,按照你所说的,我得到如下提示,可惜我不懂,依旧无法上网,请帮我看看
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
61.149.48.1 * 255.255.255.255 UH 0 0 0 ppp1
10.112.112.113* 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
# ifconfig
eth0 Link encap:EthernetHWaddr 00:11:2F:D6:47:7B
inet addr:192.168.1.2Bcast:192.168.1.255Mask:255.255.255.0
UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
RX packets:280 errors:0 dropped:0 overruns:0 frame:0
TX packets:292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24699 (24.1 KiB)TX bytes:23516 (22.9 KiB)
Interrupt:177 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1Mask:255.0.0.0
UP LOOPBACK RUNNINGMTU:16436Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1200 (1.1 KiB)TX bytes:1200 (1.1 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.112.112.112P-t-P:10.112.112.113Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICASTMTU:1492Metric: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:3
RX bytes:0 (0.0 b)TX bytes:0 (0.0 b)
ppp1 Link encap:Point-to-Point Protocol
inet addr:221.219.48.218P-t-P:61.149.48.1Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICASTMTU:1492Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:144 (144.0 b)TX bytes:54 (54.0 b)
# cat /etc/resolv.conf
nameserver 202.106.0.20
nameserver 202.106.46.151
页:
[1]