LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-04-2005, 02:59 AM   #1
djynen
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
Unhappy Unable to establish internet connection using Linksys Router on Mandrake 10 - SOLVED


This is the second time I've installed Mandrake on my PC, and the way things are going it'll probably be the last. The PC is connected to a WRT54G Router with a lan cable. The details are below:

Router IP: 192.168.1.1
Internet Connection Type: PPoE (in Router Setup)
Router Name: WRT54G
Primary DNS: 203.0.178.191 (provided by ISP)
PC connected to Router via LAN PORT
Alcatel ADSL Modem connected to Router via Internet Port

/etc/sysconfig/network
HOSTNAME=mandrakepc
NETWORKING=yes
GATEWAY=192.168.1.1


/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=no
WIRELESS_ENC_KEY=""
DHCP_HOSTNAME=mandrakepc
NEEDHOSTNAME=yes


/etc/resolv.conf
search 168.1.1
# search 168.1.1 local
nameserver 203.0.178.191
# nameserver 127.0.0.1
# ppp temp entry

/etc/nsswitch.conf
passwd: files nisplus nis
shadow: files nisplus nis
group: files nisplus nis

#hosts: db files nisplus nis dns
hosts: files nisplus nis dns

# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus


And here are some pings I tried -

[i][root@mandrakepc root]# ping 192.168.1.1
connect: Network is unreachable

I really want to migrate to Linux, but if I can't establish a proper internet connection, I'll be forced to trudge back into the waiting arms of Micro$oft.

Last edited by djynen; 01-04-2005 at 10:29 PM.
 
Old 01-04-2005, 06:31 PM   #2
djynen
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Solved it! Apparently it was a configuration problem between the Router (PPoE) and the PC (DHCP). Oddly enough, two commands were enough to get the internet connection working -

ifconfig eth0 192.168.1.10
route add default gw 192.168.1.1

Now I'm off to install Firefox and Thunderbird.
 
Old 11-25-2006, 10:48 AM   #3
hellfire
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Can you help me?

can you post here how you make your WRT54G V5 Router work? mine is not working well... i follow all the manuals and connected both PC-Router-Modem and yet i cant still connect to the internet... could you help me about this?
 
Old 11-25-2006, 11:01 AM   #4
maal
LQ Newbie
 
Registered: Apr 2006
Location: Lisbon (PT)
Distribution: Fedora Core 6 - Fedora 8
Posts: 23

Rep: Reputation: 15
config route WRT54G

Quote:
Originally Posted by hellfire
can you post here how you make your WRT54G V5 Router work? mine is not working well... i follow all the manuals and connected both PC-Router-Modem and yet i cant still connect to the internet... could you help me about this?
go to site www.linksys.com, it looks and dowload a utility to configure yours router.
with me it functioned fully.
 
  


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
Setting up router (Linksys WRT54G v5) to connect to internet (SUSE 9.3) Jongi Linux - Networking 2 11-15-2005 02:33 PM
unable to establish connection neerajchaudhari Linux - Software 2 09-14-2005 11:22 PM
Non-DHCP connect on a Linksys WRT54G router Zyk Linux - Wireless Networking 1 07-11-2005 06:13 PM
WRT54G linksys router reefa Linux - Networking 2 03-16-2005 04:56 PM
Linksys wireless-g router (WRT54G V2) help R4ndy Linux - Wireless Networking 2 10-28-2004 09:54 PM


All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
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