LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-27-2005, 11:09 AM   #1
jtosbo00
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
Question Unable to Access Linksys Router and Internet


OK, I used to be on Linux OS for awhile (Fedora FC2) and had to go back to WinXP for work. Now I am back to Fedora FC4. After installation, I got Internet connection right away after first reboot (using automatic DHCP) but after I rebooted, the network connection failed. I noticed I couldn't connect to the router (192.168.0.1 - connection refused error) and I tried setting to static IP and default router gateway, etc. and the eth0 port activates with no errors but still no access to router or Internet (can't ping sites either!!). I've tried re-installing the OS just in case something got screwed up on the 2nd reboot but still same symptoms.

I am starting to wonder if my Linksys WCG200 (cable modem/router/wireless router all built-in) is keeping my Linux desktop from connecting. Any ideas??
 
Old 12-27-2005, 11:58 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Is your router maybe blocking access based on the MAC address of your ethernet port?

Linux; ifconfig eth0
Windows; ipconfig /all
 
Old 12-27-2005, 12:04 PM   #3
jtosbo00
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Negative...

Quote:
Originally Posted by Lenard
Is your router maybe blocking access based on the MAC address of your ethernet port?

Linux; ifconfig eth0
Windows; ipconfig /all
It only blocks MAC addresses if they connect wirelessly and my home laptop which is connecting via ethernet is working fine (running WinXP).
 
Old 12-27-2005, 01:21 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Try editing your /etc/sysconfig/networking/devices/ifcfg-eth0 file to be like;

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
HWADDR=
NETMASK=255.255.255.0
IPADDR=
GATEWAY=192.168.0.1

Notice I removed the HWADDR value and added the GATEWAY value. When done with the editing and saving do;

service network restart
 
Old 12-27-2005, 01:58 PM   #5
jtosbo00
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Still nothing...

Tried modifying the config file as you suggested but to no avail. I also tinkered around a little by adding the HWADDR info and/or IPADDR info. In each case, they failed with BOOTPROTO=dhcp.

However, if I set this value to none and set IPADDR=192.168.0.14,HWADDR:[mac address] it would activate but I could not access the router nor ping it let alone access the Internet.

The HWADDR field left empty always produced failed connection attempts. This left me wondering if the Linksys router 'remembers' the machine and will not allow it back on??
 
Old 12-27-2005, 02:38 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Don't know....

You could always try rebooting the router and checking for a firmware upgrade for the router. The Linksys division of Cisco is becoming somewhat 'famous' for releasing products that are not safe for use IMHO (long boring story).

I leave my HDWADDR blank and my router (Gigafast) allows me to restrict access to both the wired and wireless devices.
 
Old 12-27-2005, 06:20 PM   #7
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Don't most (all?) Linksys products use 192.168.1.1? My WAG54G does, and so does the product another user in this forum has.
 
Old 12-27-2005, 07:31 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
That is the default for most Linksys (and other) routers, it is a good idea to change it and the default password as soon as possible. You have the entire 192.168.xxx.xxx range to choose from and nothing says your router has to end in .1 address.
 
Old 12-27-2005, 07:33 PM   #9
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Quote:
Originally Posted by Lenard
That is the default for most Linksys (and other) routers, it is a good idea to change it and the default password as soon as possible. You have the entire 192.168.xxx.xxx range to choose from and nothing says your router has to end in .1 address.
I realise that. I was just informing the original poster that they may be entering the wrong IP address.
 
Old 12-28-2005, 10:03 AM   #10
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
I realized that you were informing the OP that they may be entering the wrong IP adress also. I was just suggesting, in addition, that keeping the default IP address and password (to everyone following this thread) is not a good idea.
 
  


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
Unable to establish internet connection using Linksys WRT54G Router on Mandrake 10 djynen Linux - Networking 3 11-25-2006 10:01 AM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 10:28 AM
Cannot access Linux server through Linksys WRT54GS router William1955 Linux - Hardware 5 11-04-2005 05:33 PM
Unable to get hostname by linksys BEFW11S4 router akhil1 Linux - Networking 3 04-08-2004 12:57 AM
Linksys router outside access problems again jrw3179 Linux - Networking 0 03-21-2003 10:33 PM


All times are GMT -5. The time now is 03:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration