LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   ADSL Connection connected but can't ping any site? (https://www.linuxquestions.org/questions/debian-26/adsl-connection-connected-but-cant-ping-any-site-263162/)

subaruwrx 12-06-2004 05:32 AM

ADSL Connection connected but can't ping any site?
 
Hi I tried installing debian sarge.

I pop in the cd and boot from it, then the first few screen it detect my network card and try to configure DHCP for it. It fail then I configure the network manually giving my pc a static 10.0.0.3 IP, Gateway is my Efficient 5660 bridge 10.0.0.1 and the ISP DNS server.

After installing and booting from the base system, I execute a shell to configure my adsl using pppoeconf. It was successfully connected and I could see the IP given by my ISP. However, I could not ping any site, even my ISP DNS server. It said "Destination host unreachable, and beside it was the IP of my Gateway 10.0.0.1.

What seems to be the problem? :confused:

TigerOC 12-06-2004 10:01 AM

Have you specified the DNS addresses of your isp in /etc/resolv.conf

subaruwrx 12-06-2004 10:49 AM

Quote:

Originally posted by TigerOC
Have you specified the DNS addresses of your isp in /etc/resolv.conf
Yes I have checked. Its correct.

Even if its not specified, I suppose I can ping IP Address right? I can't!

TigerOC 12-06-2004 11:09 AM

Can you ping 10.0.0.1? What response do you get from ifconfig?

subaruwrx 12-06-2004 07:52 PM

Quote:

Originally posted by TigerOC
Can you ping 10.0.0.1? What response do you get from ifconfig?
Yes I can ping 10.0.0.1. I did a ifconfig ppp0 and I see I got an Internet IP Add from my ISP.

TigerOC 12-07-2004 01:20 AM

do just ifconfig and tell us what you get.

subaruwrx 12-07-2004 02:13 AM

Quote:

Originally posted by TigerOC
do just ifconfig and tell us what you get.
eth0 Link encap:Ethernet HWaddr 00:50:DA:C8:A6:BD
inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:daff:fec8:a6bd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2658 (2.5 KiB) TX bytes:3111 (3.0 KiB)
Interrupt:209 Base address:0xd000

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: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)

ppp0 Link encap:Point-to-Point Protocol
inet addr:203.123.26.234 P-t-P:203.123.26.129 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 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:54 (54.0 b) TX bytes:54 (54.0 b)

TigerOC 12-07-2004 02:32 AM

All looks normal and I have no ideas. The only the other problem I have seen recently in regard to pppoe is a problem running ipv6. Check to see if the module is installed and perhaps remove it and see if that does not resolve the problem. Is your router configured via a browser and if so are you able to do configuration via the browser? Also have you installed a firewall?

subaruwrx 12-07-2004 02:35 AM

Quote:

Originally posted by TigerOC
All looks normal and I have no ideas. The only the other problem I have seen recently in regard to pppoe is a problem running ipv6. Check to see if the module is installed and perhaps remove it and see if that does not resolve the problem. Is your router configured via a browser and if so are you able to do configuration via the browser? Also have you installed a firewall?
Can I know how do I check and remove ipv6 module? lsmod?

Yes my router is configured via browser but currently I only have the base system installed, I can't access my router config. But given that my router is working fine in windows, the configuration doesn't really matters in linux right?

I don't think firewall is installed cause I have yet to download any packages.

TigerOC 12-07-2004 03:30 AM

As root do lsmod which will list the modules installed. I use the root command modconf for inserting and removing modules. This command should bring up a menu and then go down the list to kernel/net/ipv6 and select and then select ipv6 and it should have a + next to it. By selecting it, it should go through the removal process.
Technically the hardware of the router should handle the connection to the isp and you really only have to configure the pc network to connect to the router network so providing you have connectivity and can ping it nothing further needs to be done.

subaruwrx 12-07-2004 03:49 AM

Here is my lsmod.

Quote:

Module Size Used by
pppoe 13632 2
pppox 3848 1 pppoe
ipv6 229764 8
af_packet 20872 2
ppp_generic 27540 6 pppoe,pppox
slhc 7040 1 ppp_generic
emu10k1_gp 3840 0
gameport 4736 1 emu10k1_gp
snd_emu10k1 80776 0
snd_rawmidi 23204 1 snd_emu10k1
snd_pcm 85384 1 snd_emu10k1
snd_timer 23172 1 snd_pcm
snd_seq_device 7944 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 59268 1 snd_emu10k1
snd_page_alloc 11144 2 snd_emu10k1,snd_pcm
snd_util_mem 4608 1 snd_emu10k1
snd_hwdep 9092 1 snd_emu10k1
snd 50660 8 snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
shpchp 87148 0
pciehp 83948 0
pci_hotplug 30640 2 shpchp,pciehp
tsdev 7168 0
mousedev 9996 0
joydev 9536 0
usbhid 28864 0
ohci_hcd 19460 0
nvidia_agp 7580 1
agpgart 31784 1 nvidia_agp
parport_pc 31936 0
parport 37320 1 parport_pc
floppy 54992 0
pcspkr 3816 0
evdev 9088 0
ehci_hcd 27908 0
usbcore 104164 5 usbhid,ohci_hcd,ehci_hcd
emu10k1 71812 0
sound 75308 1 emu10k1
soundcore 9824 3 snd,emu10k1,sound
ac97_codec 16908 1 emu10k1
3c59x 36776 0
capability 4872 0
commoncap 7168 1 capability
ide_cd 38176 0
cdrom 35740 1 ide_cd
rtc 12088 0
ext3 109544 1
jbd 54552 1 ext3
ide_generic 1664 0
ide_disk 16768 3
amd74xx 13340 1
ide_core 125156 4 ide_cd,ide_generic,ide_disk,amd74xx
unix 25908 6
font 8576 0
vesafb 6688 0
cfbcopyarea 3840 1 vesafb
cfbimgblt 3200 1 vesafb
cfbfillrect 3712 1 vesafb
I do not have the command modconf. I tried modprobe -r ipv6 but it said it is in used and I can't remove.

btw, I'm surprised that theres so many modules loaded, is it normal?

TigerOC 12-07-2004 04:25 AM

Try stopping the network /etc/init.d/networking stop and then try removing the module or you will have to go into single user mode using init1

subaruwrx 12-08-2004 08:10 AM

Quote:

Originally posted by TigerOC
Try stopping the network /etc/init.d/networking stop and then try removing the module or you will have to go into single user mode using init1
Strange problem. After executing the shell, I entered init 1 and then back to init 2, it works. So I continue my network installation. Ok, booted into Gnome, my nightmare is back. Couldn't ping any site. Tried downloading roaring penguin and adsl-setup, adsl-start. Same problem! :confused:

TigerOC 12-08-2004 09:35 AM

Did you remove ipv6?

subaruwrx 12-08-2004 08:22 PM

Quote:

Originally posted by TigerOC
Did you remove ipv6?
I could not remove it even when entered runlevel 1.


All times are GMT -5. The time now is 03:44 AM.