Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Fatherhood.Org

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Recommend Us
Surveys

Features
HOWTOs
News
News Archive
NukeSentinel
Reviews
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 153 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  
Linux Knowledge Base and Tutorial: Forums



Linux Tutorial :: View topic - cant ping my router/or access the internet
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cant ping my router/or access the internet

 
Post new topic   Reply to topic    Linux Tutorial Forum Index -> Networking
View previous topic :: View next topic  
Author Message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Sun May 21, 2006 6:35 pm    Post subject: cant ping my router/or access the internet Reply with quote

HI there, i am very new to linux. I have just installed SuSe10 open on my machine(an AMD 64) which is running a ASUS A8V-E delux. It has a wireless card installed, which works fine on the windows partition, and also an ethernet card, which also works fine on the windos OS. The ethernet card is called Marvell Yukon 88EE8053 PCI-E Gigabit Ethernet Controller and the wireless is ASUS 802.11b/g Wireless LAN card.

I am connecting to the internet with a Wanadoo wireless router. Because i couldnt configure the wireless to work on the linux, i though that i would have more success with just the straightforward cable. But that doesnt work either...

Now i may have changed settings etc...which have disrupteed the defaults of susie...can anyone help me sort this mess out and get me up and running on the net?

In bash, when i run the command

ifconfig -a

the suse box sees the eth0 controller but when i try to ping the router on 192.168.1.1 it said that the network is unreachable.

Other things i have tried are the following:
/etc/init.d/network restart nothing happens
I have done a lot of reading, but for a newbie like myself, i guess i need a more guidance...any takers?
Back to top
View user's profile Send private message
rijelkentaurus
Beginner


Joined: Aug 23, 2005
Posts: 391
Location: Greensboro, NC, USA

PostPosted: Sun May 21, 2006 7:41 pm    Post subject: Reply with quote

Post the entire output of ifconfig -a.

Does the router give out DHCP or are you using static IP addresses? Doesn't really sound like DHCP, SUSE should pick up an address if that's the case.

Also, make certain the router has the wired LAN turned on, sometimes it's possible to use wireless or wired, and turn the other one off. There's the chance that your router is not operating on the wired ports.

Does the wired NIC work under WIndows, or have you only used wireless there? There may be a chance that the NIC is bad...I've seen new NICs that were crap out of the box.

You can try to take eth0 down and then bring it back up. As root:

ifdown eth0
ifup eth0

That will reset things and clear out any cache.

Hang in there! We're always ready to help out our neighbors! Smile
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Sun May 21, 2006 7:57 pm    Post subject: Reply with quote

ok i try, the NIC is ok, works fine with wireless and wired on windows....

i will take a print out of all the relevant things ok....bear with me as i will need to reboot etc...

thanks for offering to help ok, it is really appreciated...hopefully i will learn something, and maybe to help others in the future too Smile
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Sun May 21, 2006 9:49 pm    Post subject: Reply with quote

ok i am back, it was very difficult to get the info to my windows machine as the linux didnt initially see the usb key.

ok i will print the following now for you:

Code:


eth0      Link encap:Ethernet  HWaddr
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Memory:d9000000-0

lo        Link encap:Local Loopback
          LOOPBACK  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



and this too:

Code:

ifdown eth0
    eth0      device: Marvell Technology Group Ltd. 88E8053 Gigabit Ethernet Controller (rev 15)
    eth0      configuration: eth-id-
SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: Warning: no interface active
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules successfully set
linux:/etc #         

ifup eth0
    eth0      device: Marvell Technology Group Ltd. 88E8053 Gigabit Ethernet Controller (rev 15)
    eth0      configuration: eth-id-
    eth0      warning: using NO encryption
ifup-wireless: command 'iwconfig eth0 mode Managed' returned
ifup-wireless:  Error for wireless request "Set Mode" (8B06) :
ifup-wireless:     SET failed on device eth0 ; Bad address.
ifup-wireless: command 'iwconfig eth0 nick linux' returned
ifup-wireless:  Error for wireless request "Set Nickname" (8B1C) :
ifup-wireless:     SET failed on device eth0 ; Operation not supported.
ifup-wireless: command 'iwconfig eth0 key off' returned
ifup-wireless:  Error for wireless request "Set Encode" (8B2A) :
ifup-wireless:     SET failed on device eth0 ; Bad address.
ifup-wireless: command 'iwconfig eth0 essid any' returned
ifup-wireless:  Error for wireless request "Set ESSID" (8B1A) :
ifup-wireless:     SET failed on device eth0 ; Operation not supported.
linux:/etc #




Also

in the network setup screen in yast:

setup method: Automatic address setup via DHCP

Host name: linux (is this correct, or is it just an arbitary name i can set myself?)

Domain name....what do i put here, is ity the SSID?

the setting Change host name via DHCP is ticked

The name servers and domain search list is greyed out, do i use this section? although the option 'update name servers and search list via dhcp is ticked


in the firewall setting under interface the ASUS marvell device is listed as interface eth-bus-etc...
but the device custom string is listed as eth0,,,,is this important?


In know it is a lot of input, but any ideas where i am going wrong?
Back to top
View user's profile Send private message
koen
Beginner


Joined: Sep 12, 2005
Posts: 224
Location: Belgium

PostPosted: Sun May 21, 2006 10:13 pm    Post subject: Reply with quote

your NIC (eth0) isn't getting an IP address by dhcp, and you need an IP address to ping your router or get on the internet.

This could be caused by the fact that you're switching between 2 machines.
the cure is, with your linix machine connected to the router,
Quote:
shut down your router and your Linux computer and then start up your router and then your Linux computer, in that order

(ffreeloader, http://www.linux-tutorial.info/ftopict-804-.html)
you may find some additional info in that thread as well.

Meanwhile :
setup method: Automatic address setup via DHCP -- OK
Host name: linux (is this correct, or is it just an arbitary name i can set myself?) -- can be anything you want

Domain name -- can probably be anything you want.

the setting Change host name via DHCP is ticked -- I'd untick it.
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Sun May 21, 2006 10:16 pm    Post subject: Reply with quote

ok i will try that ok,

i will report back for you ok,

also i will check out the link to the thread too, thanks
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Sun May 21, 2006 11:21 pm    Post subject: Reply with quote

i just cannot to get it working Sad

i restarted the router first then the pc, didnt work

i tried setting the ip address manually with :
ifconfig eth0 192.168.0.1

the ping 192.168.1.1

still said network unreachable

the dchp option in network services wont let me start it...

help please i am lost
Back to top
View user's profile Send private message
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 572

PostPosted: Mon May 22, 2006 5:33 am    Post subject: Reply with quote

Quote:
just cannot to get it working Sad

i restarted the router first then the pc, didnt work

i tried setting the ip address manually with :
ifconfig eth0 192.168.0.1

the ping 192.168.1.1

still said network unreachable

the dchp option in network services wont let me start it...

help please i am lost


I don't know what the IP address of your router is, but if it is 192.168.1.1 you put your SuSe machine on another subnet by giving it the 192.168.0.1 IP address. It can't possibly reach the subnet you say your router is on because it has no gateway to it.

You need to give your computer an address on the same subnet as your router. To do that, if your router has the IP address 192.168.1.1, you need to give your computer an address in the 192.168.1.2 to 192.168.1.254 range, such as 192.168.1.5 for example.

Counting from the left of a network address the third octet is the network address in a Class C address. The fourth octet is the host address in a Class C address.

Doesn't SuSe have a gui or wizard for configuring the network address? People say Debian is very difficult and it has a gui for configuring network settings.
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Mon May 22, 2006 12:46 pm    Post subject: Reply with quote

Ok thanks will try that, just the interesting thing is that on my windows box the gateway ip is 192.169.1.1 and the ip address is 192.168.0.1 can you explain that to me please

Sorry if these are silly questions, but i wanted to get it sorted out in my own mind. I will doubkle check as it may be human error(probably) on my side

thanks for all the usefull help it is appreciated.

I am also going to try to turn off the firewall completely too
Back to top
View user's profile Send private message
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 572

PostPosted: Mon May 22, 2006 1:27 pm    Post subject: Reply with quote

pengu wrote:
Ok thanks will try that, just the interesting thing is that on my windows box the gateway ip is 192.169.1.1 and the ip address is 192.168.0.1 can you explain that to me please

Sorry if these are silly questions, but i wanted to get it sorted out in my own mind. I will doubkle check as it may be human error(probably) on my side

thanks for all the usefull help it is appreciated.

I am also going to try to turn off the firewall completely too


It appears you are from Hawaii as the IP addres 192.169.1.1 is owned/leased by RGNETI-1. Are they you're ISP?

Any address in the 192.168.0.0 - 192.168.255.255 range is in a special set of networking addresses that are called private addresses. No router on the internet will route them. They are set aside for usage on internal networks so that companies and individuals may use them internally and not have to purchase IP addresses from ICANN, or whoever is selling them now.

I wouldn't try turning off your firewall at this point. No sense in allowing anyone into your network. I don't think, at this point, that your firewall has anything to do with your networking problems. You just don't have your network configured correctly.
Back to top
View user's profile Send private message
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 572

PostPosted: Mon May 22, 2006 1:30 pm    Post subject: Reply with quote

On second thought.

Are you behind a home router? Or, are you connected directly to the internet? I should have asked that first as your Windows machine is not picking up a private IP address as it's gateway.

Your problem could be, if you're not behind a home router such as a linksys or d-link, that SuSe doesn't have the correct drivers for your NIC and that's why you're not getting an IP address from dhcp.
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Mon May 22, 2006 4:30 pm    Post subject: Reply with quote

Sorry ffreeloader, i accidently typed 192.169.1.1
It should be 192.168.1.1

Sorry not in Hawaii, though i really wish that i was!

The router that I am using is on from my ISP it is not a branded router such as netgear unfortunately.

I will try your earlier suggestion, but i will try the firewall thing too.

Hopefully I will get this issue resolved!

thanks for the help
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Mon May 22, 2006 6:28 pm    Post subject: Reply with quote

Hi there,

I tried disabling my firewall....didnt work

i tried setting with ifconfig eth0 192.168.1.15 my ip address
it came up with broadcasting on 192.168.1.255

when i ping at least it tries to ping now, but noting happens and all packets are lost or timed out

I really not sure what to do at this stage? Sad
Back to top
View user's profile Send private message
pengu
Newbie


Joined: May 21, 2006
Posts: 9

PostPosted: Mon May 22, 2006 9:19 pm    Post subject: Reply with quote

I finally managed to get the problem sorted out.

not quite sure how i resolved it actually. Maybe the network card ip was set up wrongly on the nic. I had to assign an ip address using

ifconfig eth0 192.168.1.10

then set up the gateway manually too using

route add default gw 192.168.1.1

and it seemed to work....just frightened that as soon as i log off all these setting will be lost

thanks for your patience folks
Back to top
View user's profile Send private message
koen
Beginner


Joined: Sep 12, 2005
Posts: 224
Location: Belgium

PostPosted: Tue May 23, 2006 9:07 pm    Post subject: Reply with quote

Quote:
not quite sure how i resolved it actually

you resolved it by getting the network configuration right Smile
your router is 192.168.1.1,
your PC is 192.168.1.10 and uses 192.168.1.1 -your router- as gateway (to the internet). As ffreeloader explained, 192.168.1.1 and 192.168.1.10 are in the same subnet (when mask=255.255.255.0) so they can see each other.

According to a previous post, you tried 192.168.0.1 as address. This is not the same subnet as the router, so it won't work.
If this is Chinese to you (and you're not from China), you might want to read a few things about tcp/ip subnettin and addressing : here's a good start: http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=226

Quote:
just frightened that as soon as i log off all these setting will be lost

They probably will be, but have no fear, just type those commands again (ifconfig ... , route add .... ). maybe also remember: ifconfig eth0 up
This 'brings up' the NIC.

There is a way to set this permanently, either by editing some config files, but I don't remember were SuSE keeps them, or by using YAST or so.
I'm sure you'll be able to find them, and if things get screwed again in the process, you know how to fix it from a command line (ifconfig ... , route add .... ).

And then, maybe, you can have an other go at using dhcp to do all of this for you.
So, there's still lots of fun to be had Smile
Back to top
View user's profile Send private message
brynnax
Newbie


Joined: Jun 23, 2009
Posts: 1

PostPosted: Wed Jun 24, 2009 11:22 am    Post subject: Reply with quote

How to connect a wireless router to a cable modem?
I have a desktop for the house. My daughter has purchased a Dell Ispiron 1501 laptop. We bought a Netgear Wireless-G Router (WGR614) which came w/ no instructions. My question is this: the router came w/ an instillation cd & i need to know do i load the cd to my desktop or to the laptop OR to both of them?
______________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com


Last edited by brynnax on Fri Jun 26, 2009 11:33 am; edited 1 time in total
Back to top
View user's profile Send private message
tripwire45
Wizard


Joined: Jul 7, 2003
Posts: 1267
Location: Boise, ID, USA

PostPosted: Wed Jun 24, 2009 2:45 pm    Post subject: Reply with quote

Greetings. Smile

Not sure if this applies to a Linux-oriented forum or not, but I did find a video tutorial on YouTube that might help:

http://www.youtube.com/watch?v=kawBR2YtjmA

You don't say how you connect to the Internet, but I assume you have a DSL or cable modem and then have your PC hooked into it. You'll probably need to take the cable that comes out of your modem and plug it into the WAN or Input port of the Linksys device. Then you can connect your PC to one of the LAN ports on the Linksys device so you'll be connected to both the Internet and the LAN/WLAN your creating.

You can put the installation CD in your PC once connected and then set up the wireless side of the network so the laptop can also connect. You might also want to consult the product documentation at Netgear:

http://www.netgear.com/Products/RoutersandGateways/WirelessGRouters/WGR614.aspx

Hope this helps. Smile

-Trip
_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Linux Tutorial Forum Index -> Networking All times are GMT
Page 1 of 1

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001-2007 phpBB Group
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content © 1994-2010 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressedly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.14 Seconds