You are not logged in.
I just installed arch from the offline disk (05/1/2012)
when i ping my default gate way i get a 100% packet loss. i feel this has something to do with my network switch, any ideas?
Offline
Wired, or wireless?
What is the output of ip addr ??
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Wired
ip addr
returns:
http://i44.tinypic.com/23s88sh.jpg
http://i43.tinypic.com/15eh5rt.jpg
Moderator edit: Redacted large images, converted them to links. ewaller
Last edited by ewaller (2012-01-09 06:02:31)
Offline
Text is cut off, pictures are too big (some people reading this may be on very slow connections). Choose one of the following pastebin clients, they're much better for the task at hand (posting terminal output):
https://wiki.archlinux.org/index.php/Pastebin_Clients
Once you have your text uploaded to a corresponding online site then you can provide a link to it here. Also you can post the text here too but just make sure you know about the BB Code used here to put the text inside "code" tags.
Edit, wait a minute. I think I'm an idiot. You're having a network problem. Sorry.
Last edited by headkase (2012-01-09 05:51:52)
Offline
Okay...
That is one way to do it Headkase is correct, the text would be a bit easier to deal with, but the pictures do tell the story. I am going to go ahead and change the inline images to URL links.
Well, it appears that you have an interface, the cable is connected, you have a carrier and it has an IP address. All good.
How did you obtain an IP address? Is it a static address, or did you get an address from the router using dhcpcd or dhclient?
Can you ping 192.168.0.1 ?
what is the output of ip route ?? Perhaps you can redirect that output to a file on a USB stick so you can post it here? If not, the pictures work
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
LOL thanks anyway, i posted 2 pictures to show the text that was cut off
Offline
Okay...
That is one way to do it Headkase is correct, the text would be a bit easier to deal with, but the pictures do tell the story. I am going to go ahead and change the inline images to URL links.
Well, it appears that you have an interface, the cable is connected, you have a carrier and it has an IP address. All good.
How did you obtain an IP address? Is it a static address, or did you get an address from the router using dhcpcd or dhclient?
Can you ping 192.168.0.1 ?
what is the output of ip route ?? Perhaps you can redirect that output to a file on a USB stick so you can post it here? If not, the pictures work
i can use DHCP but i prefer static so i set up static (correctly)
i can ping 192.168.0.1 but 1 all packets are lost
brb to get iproute output
Offline
http://i42.tinypic.com/hs1cie.jpg
ok looks like this is incorrect should be 192.168.0.1, how do i fix it?
Offline
Just for a sanity check, give DHCP a try. If you get an address, let us know what it is. (It should be a non-routeable address, so there is no risk in sharing it)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
i already try DHCP but it didnt work so i just went static, it seem that i cant connect to my router which i would recieve the DHCP from. if you still think its a good idea ill try it again
Offline
i get all the same stuff with DHCP, with the exception of my computers ip.
did you want a copy?
Offline
Very well. Are you certain the router is using the 192.168.0.* subnet? Are there other systems on the local network? Their addresses are of the form 192.168.0.xx too?
You do not have a default route. Here is my system:
ewaller@odin:~ 1034 %ip route
default via 192.168.1.1 dev wlan0 proto static
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.8 metric 2
ewaller@odin:~ 1035 %
I don't think this will work if you cannot ping your router, but you will need to add a default route (eventually). Try
route add default 192.168.0.1
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
i get all the same stuff with DHCP, with the exception of my computers ip.
did you want a copy?
what is the IP?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Very well. Are you certain the router is using the 192.168.0.* subnet? Are there other systems on the local network? Their addresses are of the form 192.168.0.xx too?
You do not have a default route. Here is my system:
ewaller@odin:~ 1034 %ip route default via 192.168.1.1 dev wlan0 proto static 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.8 metric 2 ewaller@odin:~ 1035 %
I don't think this will work if you cannot ping your router, but you will need to add a default route (eventually). Try
route add default 192.168.0.1
i am certain the router is 192.168.0.1 all other comps are of the form 192.168.0.X and can range from 198.168.0.2 to 192.168.0.100
typing
route add default 192.168.0.1
returns no such device
Offline
Reduced_Oxygen wrote:i get all the same stuff with DHCP, with the exception of my computers ip.
did you want a copy?what is the IP?
it changes it from 192.168.0.69 (which i set it) to 192.168.0.17
Offline
ewaller wrote:Reduced_Oxygen wrote:i get all the same stuff with DHCP, with the exception of my computers ip.
did you want a copy?what is the IP?
it changes it from 192.168.0.69 (which i set it) to 192.168.0.17
That all seems reasonable, but no access?
I guess my invocation should have been:
route add default gw 192.168.0.1
Sorry about that. See if there is a default gateway with the DHCP configuration. If not, try that (corrected) command again.
The odd part is that you seem to be able to obtain an address on the 192.168.0.* subnet. I'm sorry to have put you through the sanity checks -- I had no way of evaluating your experience.
If this does not do it, I am running out of ideas. What type of interface is it -- look at the output of lspci -nn (That is two n's) and report the vendor and product IDs
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
My Realtek is Vendor 10ec and the product is 8136.
Edit: Signing off for the night.
Last edited by ewaller (2012-01-09 07:08:04)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
out put of lspci -nn:
http://i43.tinypic.com/2usg85g.jpg
where my internet comes from:
http://i40.tinypic.com/207uqkh.jpg
Offline
Bump
Offline
dang
Offline
OK i rebooted and am now able to connect to the router, (0% packet loss) but pinging www.google.com still returns unknown host, can any1 help with this?
Offline
I don't really know how to help, but, try putting this into your browser:
That's one of Google's IP address'. If you get google then that means your issue isn't connectivity (you now have 0% loss to your router) but would instead be with resolving DNS entries.
If that what it is then that information might help someone else help you.
Offline
I forgot, you're at a terminal. Try to ping that address instead. If you get 0% packet loss then you know that you can contact a site outside of your local network and then, again, that would indicate DNS resolving being the issue.
ping 74.125.224.72
And if it's DNS then see: Here. In /etc/resolv.conf put:
nameserver 8.8.8.8
nameserver 8.8.4.4
Those are Google's Public DNS servers.
Then, execute:
chattr +i /etc/resolv.conf
The CHange ATTRibute +i makes the file immutable so that it won't be overwritten on next boot.
So, if all that works then you should be set up - if that was it - to start downloading stuff and getting yourself a graphical environment going if that's what you want from there.
Last edited by headkase (2012-01-10 07:26:49)
Offline
Also, in /etc/rc.conf:
HOSTNAME="hostname"
and in /etc/hosts:
127.0.0.1 localhost.localdomain localhost hostname
The hostname must be identical or your network may function poorly or not at all.
Last edited by headkase (2012-01-10 07:45:20)
Offline
I don't really know how to help, but, try putting this into your browser:
That's one of Google's IP address'. If you get google then that means your issue isn't connectivity (you now have 0% loss to your router) but would instead be with resolving DNS entries.
If that what it is then that information might help someone else help you.
I'm getting 100% packet loss on that ip
Offline
Do you have a default gateway set? What does ip route show?
default via 10.20.1.1 dev eth0
10.20.1.0/24 dev eth0 proto kernel scope link src 10.20.1.4
Note: the first line is the default GW
Offline