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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-01-2009, 03:16 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Rep:
|
Unable to load any home page
Hi Slackers,
I am unable to load any home page in my browser, nor ping any site. Althoug apparently I managed to setup the pppoe service properly because after pppoe-start, it connects.
What should be the problem?
(I have ADSL modem and an active Realtek ethernet PCI card. I also have a built-in ethernet card on the motherboad but I don't use it.)
Now I am writing from PuppyLinux because net works in Puppy.
Any help is welcome!
|
|
|
|
01-01-2009, 03:46 PM
|
#2
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
Please send the output of following commands, typed as root, when you suppose the connected is active:
then:
|
|
|
|
01-01-2009, 04:30 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
Answers and some more
# ifconfig -a
Quote:
eth0 Link encap:Ethernet HWaddr 00:0e:2e:f0:d1:8f
inet6 addr: fe80::20e:2eff:fef0:d18f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4406 (4.3 KiB) TX bytes:7165 (6.9 KiB)
Interrupt:17 Base address:0xc800
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:672 (672.0 B) TX bytes:672 (672.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:213.181.216.107 P-t-P:213.181.206.9 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1198 (1.1 KiB) TX bytes:1213 (1.1 KiB)
|
# route
Quote:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
213.181.206.9 * 255.255.255.255 UH 0 0 0 ppp0
loopback * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 ppp0
|
# lspci
Quote:
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: 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.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #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 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter (rev a0)
|
# dmesg | grep eth
Quote:
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
eth0: RealTek RTL8139 at 0xc800, 00:0e:2e:f0:d1:8f, IRQ 17
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
|
I am suspicious with this last line about IPv6 routers.
Any help is appricated!
|
|
|
|
01-02-2009, 05:36 AM
|
#4
|
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Try pinging your gateway first:
If it works, resolving DNS addresses is broken.
There is a problem with your eth0 interface. It has only IPv6 address (inet6 addr) and therefore is missing traditional IPv4 one (inet addr). As well, no routing for this interface was specified in kernel routing table. I am not sure which card eth0 was bound to. It might be bound to the card you're not using.
However, ppp0 should work as it is labeled as default. So I suggest to solve this problem first and later concentrate on fixing ethernet.
|
|
|
|
01-02-2009, 03:14 PM
|
#5
|
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
Resolving DNS has been fixed but ethernet is zet an issue
Thanks, Alien for your help!
Meanwhile I managed to fix the DNS resolving problem. The solution was to edit /etc/resolv.conf and /etc/ppp/resolv.conf with the proper IP values. Therefore right now I am writing this reply from Slackware!
Although the IPv6 issue has remained.
Code:
bash-3.1# dmesg | grep eth
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
eth0: RealTek RTL8139 at 0xc800, 00:0e:2e:f0:d1:8f, IRQ 17
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
Remark: RealTek is my active ethernet card. I put the driver of the other eth card to the blacklist.
Any help is welcome concerning
Quote:
|
eth0: no IPv6 routers present
|
.
|
|
|
|
01-02-2009, 03:30 PM
|
#6
|
|
Member
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.0, 13.1, 13.37, 64-14
Posts: 679
Rep: 
|
Disable IPV6
The easy way to disable IPV6, edit /etc/modprobe.d/modprobe.conf and add the lines...
Code:
#Disable ipv6 the old way...
alias net-pf-10 off
...and edit /etc/modprobe.d/blacklist and add...
You also need to modprobe -r ipv6 and restart your network daemons. Easy way is of course reboot (cringe).
|
|
|
|
01-05-2009, 03:44 PM
|
#7
|
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
I managed to disable ipv6 but...
Thanks, Astrogeek! With your codes I managed to disable ipv6 however I don't have ipv4 address for my eth0 yet. Anyhow my net connection is OK.
Code:
bash-3.1# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0e:2e:f0:d1:8f
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:491 errors:0 dropped:0 overruns:0 frame:0
TX packets:516 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:160503 (156.7 KiB) TX bytes:110007 (107.4 KiB)
Interrupt:17 Base address:0xc800
|
|
|
|
01-05-2009, 04:25 PM
|
#8
|
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Do you mean that you can connect with your eth0 card only (not using ppp)?
|
|
|
|
01-06-2009, 01:41 AM
|
#9
|
|
LQ Newbie
Registered: Jan 2009
Posts: 5
Original Poster
Rep:
|
Connect internet by ppp only
No, Alien. I need ppp, unfortunately. Any suggestion?
|
|
|
|
01-06-2009, 10:39 AM
|
#10
|
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Code:
ifconfig eth0 your_ip_address netmask 255.255.255.0
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:58 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
|
|