Fedora This forum is for the discussion of the Fedora Project. |
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.
|
|
07-18-2005, 07:43 AM
|
#1
|
Member
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134
Rep:
|
unable to connect to internet
Hi,
I have recently upgraded to FC4. I lost my internet connection ever since. Maybe it was just coincidence, that a problem was about to happen and i upgraded to FC4 ...I am able to connect from windows side of the same machine. I am using a ADSL connection with Huawei's SmartAX MT800 modem. The connection is like this:
A telephone line goes to a ADSL Splitter & a telephone line from adsl side goes to modem & another line goes to the telephone. A cat5 cable from modem goes to ethernet port of computer. During boot up the line says
Bringing up ppp0 [ok]
but there is also a another message which says (which i don't think is usefull but i include it anyway):
Bringing up eth0 [failed] Check cabel?
but this is the message i used to get even during FC3. I was able to connect then. The system-config-network says ppp0 as active.
But when i enter
I heard SELinux is causing lots of problem, so i ran dmesg. The result is
Code:
$ dmesg
.....
SELinux:Initialising
SELinux:Sarting in permissive mode
selinux_register_securrity:Registering secondary module
...
SELinux: Registering net filter hooks
...
SELinux: Disable at runtime
SELinux:Unregistering netfiler hooks
...
i checked if audit contains any usefull message (b'cos of message from FC4 Release notes)
Code:
#ls -l /var/log/audit/
total 0
#
I tried disabling seliinux from affeccting dhcp by:
Code:
#setsebool dhcp_disable_trans=1
setsebool:SELinux is disabled
I got this command through google search. I haven't configured my system to use its own dhcp.
How do i connect to the internet.
thank you,
with regards
ashwin
|
|
|
07-18-2005, 10:13 AM
|
#2
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
Can you ping an IP address? For example does this work:
(The IP address is an address of www.yahoo.com which does respond to ping)
If so, then it's probably a DNS problem, in which case you should check to see what servers you have set up in /etc/resolv.conf.
|
|
|
07-18-2005, 08:33 PM
|
#3
|
Member
Registered: May 2003
Location: Mexico
Distribution: FC 4
Posts: 36
Rep:
|
Hi there!
ashwin_cse, do you have one or two ethernet cards in your machine?
|
|
|
07-19-2005, 01:49 PM
|
#4
|
Member
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134
Original Poster
Rep:
|
Hi,
I am not able to ping 68.142.226.37 . It says destination host unreachable.
This the following of my /etc/resolve.conf
Code:
;genereated by NetworkManager, do not edit!
;use a local caching name server controlled by Network Manager
nameserver 127.0.0.1
Quote:
Hi there!
ashwin_cse, do you have one or two ethernet cards in your machine?
|
I hav one ethernet card in my machine.
What should i do to connect to the internet?
Thank you,
with regards,
ashwin
|
|
|
07-20-2005, 02:27 AM
|
#5
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
Can you post the results of the commands (run as root):
|
|
|
07-21-2005, 02:34 AM
|
#6
|
Member
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134
Original Poster
Rep:
|
HI,
This is the o/p of config
Code:
eth0:Link encap:Ethernet HW addr:00:40:95:89:06:4F
UP BROADCAST NOTRAILER RUNNING
MULTICAST MTU:1500 Metric:1
RX packets:51 error:0 dropped:0 overruns:0 frame:0
TX packets:59 error:0 dropped:0 overruns:0 frame:0
Collision:0 txqueuelen:1000
RX bytes:4700 TX bytes:7621(7.4Kib)
Interrupt:10 Base address:0xd000
lo: (I don't think this would be usefull)
ppp0:Link encap:Point-to-point Protocol
inet addr:59.92.37 p-t-p:59.92.37 Mask:255.255.255.255
UP POINT-TO-POINT RUNNING NOARP MULTICAST MTU:1492
RX packets:31 error:0 Metric:1 dropped:0 overruns:0 frame:0
TX packets:17 error:0 dropped:5 overruns:0 frame:0
Collision:0 txqueuelen:3
RX bytes:2758(2.6KiB) TX bytes:1245(1.2Kib)
o/p of route:
Code:
# route
Kernel IP routing table
Destination Gateway Genmask Flag Metric Ref Use Iface
59.92.32.1 * 255.255.255.255 UTT 0 0 0 ppp0
169.92.32.1 * 255.255.0.0 U 0 0 0 lo
default * 0.0.0.0 V 0 0 0 eht0
Any suggestions,
thank you,
with regards,
ashwin
|
|
|
07-21-2005, 04:32 AM
|
#7
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
ifconfig shows that the ppp0 connection is established, so it's not that that's causing the problem. However, route shows that the default gateway of the machine is on the eth0 - so pretty much everything is being sent out through the eth0 interface, which explains why you can't get to anything on the internet.
The solution to this is to tell pppd to use the defaultroute option, and you can do this in three ways:
[list=1][*]Specify defaultroute on the commandline to pppd[*]Add the defaultroute option to /etc/ppp/options[*]Add the defaultroute option to ~/.ppprc[/list=1]
When you've done that, re-establish the ppp connection, run route again and you should see something like this:
Code:
# route
Kernel IP routing table
Destination Gateway Genmask Flag Metric Ref Use Iface
59.92.32.1 * 255.255.255.255 UTT 0 0 0 ppp0
169.92.32.1 * 255.255.0.0 U 0 0 0 lo
default 59.92.32.1 0.0.0.0 V 0 0 0 ppp0
|
|
|
07-21-2005, 07:54 AM
|
#8
|
Member
Registered: Jul 2004
Distribution: arch, rhel, ubuntu, debian, gentoo
Posts: 134
Original Poster
Rep:
|
Hi,
i logged in as root and issued the following commands:
Code:
#pppd defaultroute
#
#route
Kernel IP routing table
Destination Gateway Genmask Flag Metric Ref Use Iface
59.92.32.1 * 255.255.255.255 UTT 0 0 0 ppp0
169.92.32.1 * 255.255.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 eth0
Then i tried
Code:
#cat /etc/ppp/option
lock
#
should i add defualtroute to this file.
Then there wasn't a file in ~/.ppprc
I think it will be usefull to know that its using pppoe interface.
I am not able to ping 68.142.226.37
Any suggestions,
with regards,
ashwin
|
|
|
07-21-2005, 09:04 AM
|
#9
|
Member
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513
Rep:
|
Yeah, add it to /ppp/option and see if that helps.
|
|
|
07-30-2007, 10:39 AM
|
#10
|
Member
Registered: Oct 2006
Location: India
Distribution: Fedora Core 6, Archlinux Duke
Posts: 52
Rep:
|
Hi LQ,
I,ve recently installed FC6 on my Compaq Presario 1720IL, and was facing the same problems as posted above. I twaked all those said config files but to no avail.
Then, i reinstalled the system, and after a few reconfigs and restarts, my pppoe is up and running. Though not very clear as to what had happened then and what went right now.
Can anyone help???
|
|
|
All times are GMT -5. The time now is 02:30 PM.
|
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
|
|