Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-17-2006, 03:07 AM
|
#1
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Rep:
|
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...
|
|
|
05-17-2006, 07:04 PM
|
#2
|
Member
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358
Rep:
|
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
|
|
|
05-17-2006, 10:26 PM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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.
|
|
|
05-19-2006, 06:07 PM
|
#4
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
I can't ping it, it says Destination host unreachable. What next?
|
|
|
05-19-2006, 09:53 PM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Are you getting an ip address? Please post the output of 'ifconfig'.
regards,
...drkstr
|
|
|
06-02-2006, 02:20 PM
|
#6
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
06-02-2006, 02:49 PM
|
#7
|
Member
Registered: Feb 2005
Location: Nebraska
Distribution: RHEL 5.4/Fedora 12
Posts: 39
Rep:
|
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?
|
|
|
06-02-2006, 03:16 PM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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.
|
|
|
06-03-2006, 07:41 AM
|
#9
|
Member
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358
Rep:
|
Even if it does work ... don't forget to post how you resolved it to help those searching in the future.
|
|
|
06-03-2006, 12:16 PM
|
#10
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
06-03-2006, 01:53 PM
|
#11
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
06-03-2006, 03:25 PM
|
#12
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
06-03-2006, 03:55 PM
|
#13
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
It also might have do with sleep states of the device. Try to put power management in your kernel.
|
|
|
06-03-2006, 08:42 PM
|
#14
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
And how do I do that? I am a newbie in Linux...
|
|
|
09-02-2006, 03:54 AM
|
#15
|
Member
Registered: Oct 2004
Location: Malaysia, Kuala Lumpur
Distribution: FreeBSD
Posts: 65
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|