LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-17-2006, 03:07 AM   #1
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Rep: Reputation: 15
Wierd internet problem


I have really strange problem. I type: # pppoe-start and it echoes: # .Connected!, so it means I am connected to internet, but when I try to ping google it wont work, or open page in firefox, dont work. It don't says unknown host, but nothing. I can't find the problem...
 
Old 05-17-2006, 07:04 PM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
Look at "ifconfig -a" and check the output of ppp0 (or whichever ppp you use).

Try pinging the nameserver address for your ISP, eg for me I use Wanadoo, onr of their nameservers is 192.95.192.94, it's the computer one connects to to transform names, eg "yahoo.com", into numbers ("216.109.112.135" for yahoo.com for me) so you can transfer data between your computer and one on the net.

HTH

pbhj
 
Old 05-17-2006, 10:26 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
If you can ping name server IP, make sure the DNS server IP is in your '/etc/resolv.conf'.

regards,
...drkstr

Last edited by drkstr; 05-17-2006 at 10:27 PM.
 
Old 05-19-2006, 06:07 PM   #4
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
I can't ping it, it says Destination host unreachable. What next?
 
Old 05-19-2006, 09:53 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Are you getting an ip address? Please post the output of 'ifconfig'.

regards,
...drkstr
 
Old 06-02-2006, 02:20 PM   #6
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Sorry, I was away for some time.

Here:
Code:
root@scompalp:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:C2:DD:88:E2
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:352 errors:0 dropped:0 overruns:0 frame:0
          TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:43564 (42.5 Kb)  TX bytes:6158 (6.0 Kb)
          Interrupt:11

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:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1736 (1.6 Kb)  TX bytes:1736 (1.6 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:83.131.72.246  P-t-P:172.29.252.6  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:270 (270.0 b)  TX bytes:61 (61.0 b)


root@scompalp:~# lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Co ntroller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1  (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2  (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3  (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4  (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI C ontroller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family ) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controll er (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controll er (rev 03)
02:04.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controlle r (rev 03)
02:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
02:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
02:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
I am getting IP and only what I can ping is 172.29.252.6. I can't ping google.com or google's IP address. I don't know ISP's DNS address. Acctualy, I know, but I am not sure is that correct address. I can't ping it. Home network is working properly.
 
Old 06-02-2006, 02:49 PM   #7
T1ckT0ck
Member
 
Registered: Feb 2005
Location: Nebraska
Distribution: RHEL 5.4/Fedora 12
Posts: 39

Rep: Reputation: 15
Enter your nameserver into your config, you can do this by typing:

echo nameserver x.x.x.x >> /etc/resolv.conf

or you can manually edit /etc/resolv.conf using VI, Emacs or Gedit.

Then try pinging this:

72.14.203.104 (Google)

Basically if your config is correct you should be able to ping that by IP, if your nameserver is correct you should be able to ping www.google.com. Since you say you can't ping the IP I'm curious to what else is wrong. Can you ping your eth0 int, the 192.168.0.10? You're using PPPoE, DSL? What ISP are you going through?
 
Old 06-02-2006, 03:16 PM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Well you are connecting OK to your ISP, and you can not ping the DNS server's IP, so it is most likely a routing problem. Run the command 'route -n' and see if you get an output something like this:

Quote:
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
172.29.252.6 * 255.255.255.255 UH 1500 0 1 ppp0
...
default 172.29.252.6 * UG 1500 0 5 ppp0
If you didn't get something like this, then your system is probably assigning the default route incorrectly.

If this is the case, open the /etc/rc.d/rc.inet1.conf, find the line GATEWAY="" and change it to this:
Code:
GATEWAY="172.29.252.6"
You can then restart the service by:
Code:
sh /etc/rc.d/rc.inet1 restart
Once your gateway is configured correctly your /etc/resolv.conf file should be poulated by your ISP's DNS server automaticly. If it did not, you will need to add the line
Code:
nameserver <DNS server IP>
If it still does not work, please post what you got for 'route -n'

regards,
...drkstr

Last edited by drkstr; 06-02-2006 at 03:18 PM.
 
Old 06-03-2006, 07:41 AM   #9
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
Even if it does work ... don't forget to post how you resolved it to help those searching in the future.
 
Old 06-03-2006, 12:16 PM   #10
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Drkstr, thank you very much, route was problem. T1ckT0ck, than you too for nameserver. I am trying to reslve this problem for few days but nothing helped. I just added gateway, restarted rc.inet1 and it worked!

I still have one more problem. On computer I have installed Windows XP too. When my network card is working, the small (LED) light is on, and when it's not working it's off. When my computer is shutted down light is sometimes on, and when I turn on my computer and boot Slackware, network in Slack work only if light was on before booting it (Slack).
Problem is that Slack won't recongise my card if light is turn off while booting. Stupid XP turns that light off on shutdown so my card won't work on Slack. I have to manualy shutdown XP (press 'turn on' button on comp) so my card continue on to work and light glow. So, why Slack won't turn on my card as XP would. I don't wan't to shut down XP by force. Light turns off too if I disconnect my laptop from AC power while it's shutted down.
 
Old 06-03-2006, 01:53 PM   #11
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
HMM, maybe there are some bios settings that relate to it? I'm not sure what exactly to look for, but go though all the options and see if you have anything about "wake up LAN" or something like that. Maybe someone else can provide some better feedback on how to get SLackware to wake up your ethernet card so you don't have to change the BIOS settings.

regards,
...drkstr
 
Old 06-03-2006, 03:25 PM   #12
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Nothing... There is nothing in BIOS about LAN. BIOS on my laptop is very limited. But I think there is an optin "wake up LAN" in Windows. I try that in few minutes.
 
Old 06-03-2006, 03:55 PM   #13
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 79
It also might have do with sleep states of the device. Try to put power management in your kernel.
 
Old 06-03-2006, 08:42 PM   #14
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
And how do I do that? I am a newbie in Linux...
 
Old 09-02-2006, 03:54 AM   #15
hunterfighter
Member
 
Registered: Oct 2004
Location: Malaysia, Kuala Lumpur
Distribution: FreeBSD
Posts: 65

Rep: Reputation: 15
Haha I face the same problem with you. After i alter the rc.inet1.conf and route add default ge <ISP GATEWAY> it still the same problem to me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
really wierd problem mrchin Linux - Newbie 6 09-01-2004 05:33 PM
wierd internet problems mct543 Slackware 3 05-03-2004 06:23 PM
wierd internet connection problem vvuiverine Linux - Networking 2 01-15-2004 10:05 PM
wierd problem! jt1020 Linux - General 1 05-07-2003 12:29 PM
Wierd Internet problem Paul_assheton Linux - Networking 3 05-13-2002 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration