PDA

View Full Version : Linksys ADSL2 Issues


Wormherder
2005-07-19, 11:09 PM CDT
Hi Dudes,
I wondered if a kindly ghuru could help I have a dual boot with Fedora core 4 and window xp on seperate hard drives.
I am using a Linksys ADSL2 router/modem to connect to the internet -this works well on xp but FC 4 has issues.
I have the ethernat connected and can ping the router I see keep alive traffic on the ethernet only.When I start up firefox the connection times out.

I have conifgured the eth 0 using the network configuration wizard and had a bash at the xDSL bit .
When I try to activate xDSL I get the following:
/sbin/adsl-start:Line 215:3300Terminated $ connect "$@>/dev/null 2>&1.

Any Ideas?

Also the ifconfig output is :

eth0
Link encap:Ethernet HWaddr 00:0A:E6:D9:52:19
inet addr :192.168.1.2 Bcast:192.168.1.255 Mask:255:255.255.0
inet6 addr:fe80:: 2oa:e6ff:fed9:5219/64 Scope: Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:100 Metric 1
Rx Packets :41 errors:0 dropped:0 overruns:0 frmae:0
Tx Packets :63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
Rxbytes:5505 (5.3Kbs) Txbytes:6264(6.1Kbs)

10
Linkencap: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:20 errors:0 dropped:0 frame:0
Tx Packets:20 errors:0 dropped:0 overruns:0 frame:0
collisions:0 txqueuelen:0
Rx bytes: 1368 (1.3Kib)
Tx bytes: 1368 (1.3 Kib)

This is the output any Ideas guys as to what may be wrong?
I appreciate any help as I am at a loss,
cheers,
WormHerder

kg4cbk
2005-07-20, 08:16 AM CDT
Standard issues probably apply.

Check that you have the default route set correctly.

netstat -rn

check /etc/resolv.conf to make sure your name servers are setup correctly.

cat /etc/resolv.conf

Most likely one of these are not setup correctly.

Wormherder
2005-07-20, 03:21 PM CDT
Hey kg4cbk,
(snappy handle)
thanks for the help-
heres where I got (and not unpredictably for a noob I still need help):
Inputting the netstat -rn seemed to show the correct ip address for the eth0 port- and my router/modem that seemed ok.
when from su I inputted etc/resolv.conf I got 'permission denied' this was while logged in as superuser?!?
With cat/etc/resolv.conf I got 'no such file in directory'
Any Ideas ?

I was able to ping the ethernet port with 100% success and also I could ping the primary dns server address given to me by my ISP with no packet loss-so it seems I can get out there.
Howver I cannot get Mozilla to bringup a web page I get 'please check and try again' pop up :(
Appolgies for being as green as pea soup but I am determined to get connectivity and to learn this OS if it kills me!
I appreciate all and any help,
thanks,
Wormherder

kg4cbk
2005-07-20, 03:44 PM CDT
From your test it sounds like you have network connectivity. The problem is that your DNS settings are not correct.

The command you should using is:

cat /etc/resolv.conf

That is the cat command which will dump the contents of the specified file to the terminal.

In /etc/resolv.conf you should have one or more nameserver entries that point to your ISPs DNS servers.

The fact that you can ping the DNS servers means your default gateway and networking are setup correctly. You just need to be able to resolve names to IP addresses.

Once you get /etc/resolv.conf setup correctly everything should work.

Wormherder
2005-07-23, 05:35 PM CDT
Hello kg4cbk,
thanks for help..it looks like it is a DNS issue, as I have been able to ping a number of ip addresses successfully.
When booting up I noticed the following message :
determining ip information for eth0.....cp:cannot remove '/etc/resolv.conf pred/client':permission denied
Any ideas?
Also as per your update above I get the following when I input cat/etc/resolv.conf I get the following:
No such file or directory exists
As im a certified noob how do I add the dns ip addresses given to me by my ISP?
I appreciate any help you guys can give me ,
thanks,
Wormherder

kg4cbk
2005-07-23, 06:04 PM CDT
Check the permssions on /etc/resolv.conf.

ls -al /etc/resolv.conf

Also the command from the previous messages is:

cat /etc/resolv.conf

note the space between the command cat and the file /etc/resolv.conf.

Edit the /etc/resolv.conf file and add your ISPs DNS servers to that file.

You can use vi or gedit to edit the file.

This miight be an selinux issue. Possibly relabeling your file system may fix this.

Wormherder
2005-07-23, 07:23 PM CDT
Hey Kg4cbk,
thanks for your update...you were right the space between the cat and the /etc is crucial!
Heres the out put from the 2 commands :
cat /etc/resolv.conf
Use a local caching nameserver
Controlled by network manager
nameserver 127.0.0.1

the permission command gave:

-rw-r--r-- 1 root root 131

Not to sure what that lot means?

The nameserver ip address above is not either of my isp dns server ips?

If I have to alter the permission in vi or gedit -is that a simple matter -or will I need a walkthrough?
Sorry for being so uninformed Im ghetting there slowly.
Once again thanks for your help I appreciate it,
Cheers Wormherder

kg4cbk
2005-07-23, 07:36 PM CDT
The permissions appear to be correct.

You need to remove the nameserver 127.0.0.1 line from the file and add nameserver entries with your ISPs nameservers.

You use vi or gedit to edit the file.

Before editing the file try the following.


I think the problem may be selinux related. Are you running selinux?

You can try:

setenforce 0

Then try to stop and start your network connection.

/sbin/ifdown eth0

/sbin/ifup eth0

Wormherder
2005-07-24, 03:01 PM CDT
Hi Kg4cbk,
so I have closed selinux and brought down eth0 interface and tried to bring it back up again.
When I do a /sbin/ifup eth0 I get a 'determining IP information for eth0....failed.
The strange thing is that after a while I managed to connect to the net and view web pages... although the connection was very very slow and some timed out.
Currently after trying to recycle the eth0 interface it remains down.
So using gedit how do I go about changing the nameserver to my primary dsn server ?
Appreciate your help,
thanks,
Wormherder

kg4cbk
2005-07-24, 03:32 PM CDT
In the /etc/resolv.conf file you need to replace the nameserver entry there with entries that list your ISPs nameservers.

Check the contents of /etc/resolv.conf again.

Wormherder
2005-07-25, 07:11 AM CDT
Once again Kg4cbk,
thanks for your help-heres whats new-First of all im posting this from my Fedora core 4 os!?!
But on booting up I still see the eth0 and xdsl interfaces fail-so ive no idea how im connecting.
I have tried to change the nameserver name but I cannot edit it, as nothing changes in the panel-heres a direct screen shot:
generated by NetworkManager, do not edit!

; Use a local caching nameserver controlled by NetworkManager



nameserver 127.0.0.1


Any Ideas?
In the gedit panel the cut & paste options are greyed out.
The connection is still very slow and there are timeouts.
Aprreciate any help you can offer,
Thanks again Wormherder

Wormherder
2005-07-25, 07:15 AM CDT
heres some direct cut & pastes from this os (previouslyI copied them out):
[mike@192 ~]$ netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[mike@192 ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:E6:D9:52:19
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20a:e6ff:fed9:5219/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2228 errors:0 dropped:0 overruns:0 frame:0
TX packets:2295 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1409031 (1.3 MiB) TX bytes:326750 (319.0 KiB)
Interrupt:11 Base address:0x8000

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:390 errors:0 dropped:0 overruns:0 frame:0
TX packets:390 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34825 (34.0 KiB) TX bytes:34825 (34.0 KiB)

Wormherder
2005-07-25, 10:38 AM CDT
I have managed to changed the nameserver to the ip address of my primary dns server (using super userin gedit).
However it appears not to connect to anything now!!!
aaarrgghh!

Wormherder
2005-07-28, 02:38 PM CDT
Hello Kg4cbk,
thanks for all your help -I am able to connect to the web now-although its not quiet right there are some messages I get on boot up I wondered if you could help me on:
1..everytime I bootup I get these messages /sbin/adsl-start:line 215: 2056 Terminated
2.Predhclient Failed
Also Once logged in I have to activate Eth0 -is this as it should be?
I have tried removing the nameserver 127.0.0.1 but when I have added the serversfrommy ISP via gedit the connection goes down ?

[mike@192 ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:E6:D9:52:19
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2621 errors:0 dropped:0 overruns:0 frame:0
TX packets:2844 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1518707 (1.4 MiB) TX bytes:439672 (429.3 KiB)
Interrupt:11 Base address:0x8000

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:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2040 (1.9 KiB) TX bytes:2040 (1.9 KiB)

I appreciate any help sorryto be a class one pain,
Cheers Wormherder