You are not logged in.
Pages: 1
Alright, so I just installed Arch after "accidentally" wiping my Windows partition, and I'll just cut to the chase.
I can't get on to the internet. Every time I type pacman -S netcfg (to configure Wireless) or pacman -Sy, it says something along the lines of can't find the requested file. I believe the problem is that there isn't a connection to the Internet, even though I have an ethernet cable plugged in.
Please help! Even if it's just a pointer to some other page! I <em>have</em> to download additional packages!!! (and also, I'm not a noob to Linux, but yes, I'm a noob to Arch)
EDIT: Trying changing the Router. Mine is 192.168.2.1 instead of .0.1
Last edited by takisan (2011-06-22 14:41:41)
I suppose I could put something of use here, but that's no fun.
Offline
Output of pacman -Sy:
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from mirrors.kernel.org : Transient resolver failure
error: failed retrieving file 'extra.db.tar.gz' from mirrors.kernel.org : Transient resolver failure
error: failed retrieving file 'community.db.tar.gz' from mirrors.kernel.org : Transient resolver failure
error: failed retrieving file 'community.db.tar.gz' from disk : No such file or directoryOutput of ifconfig:
eth0 Link encap:Ethernet HWaddr 20:CF:30:36:86:11
inet addr:192.168.2.61 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING 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:32
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING 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)I suppose I could put something of use here, but that's no fun.
Offline
Lets have a chat about how you are configuring your Ethernet connection. It appears that you are using a wired connection with a router.
How did you set your Ethernet address. I see the card has an address in the class C private address space (That would be the 192.168.*.*) In class C address space, the third number (The subnet) needs to be the same for your router and computer. This is only an issue if you use a static address -- which is what I think you must be using since you have "changed" it to be on two different subnets (so far)
So, first: What happens if you try sudo dhcpcd eth0 ?? Does report an error, or does it set a new IP address? If so, can you talk to the Ethernet?
If you are determined to use a static address, I need the output of ip route (or, if your system is not up to date, the output of route)
Can you ping your router? It is usually at address 1 on your subnet (Example: 192.168.1.1). To use static addresses, you must know the first three numbers in the IP address, and they must match yours (for the 192.x.x.x space)
Last edited by ewaller (2011-06-22 02:35:39)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Lets have a chat about how you are configuring your Ethernet connection. It appears that you are using a wired connection with a router.
How did you set your Ethernet address.
in rc.conf:
eth0="eth0 192.168.2.61 netmask 255.255.255.0 broadcast 192.168.2.255"I see the card has an address in the class C private address space (That would be the 192.168.*.*) In class C address space, the third number (The subnet) needs to be the same for your router and computer.
192.168.2.1 on Router, and 192.168.0.1 for Modem
This is only an issue if you use a static address -- which is what I think you must be using since you have "changed" it to be on two different subnets (so far)
So, first: What happens if you try sudo dhcpcd eth0 ??
I have not just yet.
Does report an error, or does it set a new IP address? If so, can you talk to the Ethernet?
If you are determined to use a static address, I need the output of ip route (or, if your system is not up to date, the output of route)
I guess I could live without Static IPs just to keep everything organized.
Can you ping your router? It is usually at address 1 on your subnet (Example: 192.168.1.1).
Haven't tried pinging yet
I'm posting this from Knoppix, so I'm restarting a lot and going back and forth between upstairs and the basement.
I suppose I could put something of use here, but that's no fun.
Offline
192.168.2.1 on Router, and 192.168.0.1 for Modem
I'm not clear on what that means.
Is the router downstream port plugged into the modem?
Is the router obtaining an address from the modem, or does the router use the modem in bridge mode to get an address from your ISP?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
192.168.2.1 on Router, and 192.168.0.1 for Modem
I'm not clear on what that means.
Is the router downstream port plugged into the modem?
Is the router obtaining an address from the modem, or does the router use the modem in bridge mode to get an address from your ISP?
He means that his router (which he's more than likly connecting to) is at *.2.1 while his internet modem is at *.0.1 most likly. Anyways he would be connecting to his router so the modem IP is fairly irrelevent.
EDIT: I guess that also does imply that his modem / Router is setup corretly
I'm assmuing it worked with windows.....
Last edited by jmad980 (2011-06-22 02:59:32)
Someone call a doctor, my awesome configuration broke again! || To err is human -- to blame it on a computer is even more so.
Offline
He means that his router (which he's more than likly connecting to) is at *.2.1 while his internet modem is at *.0.1 most likly. Anyways he would be connecting to his router so the modem IP is fairly irrelevent.
That is what I would expect, except I've encountered users who have different concepts -- I like to avoid assumptions until I get to know people's experience level. ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Well, I can ping my modem, but nothing out beyond that (my guess is a DNS problem, so here's my /etc/hosts)
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost scotty
8.8.8.8
8.8.4.4
# End of file<hr>
I like to avoid assumptions until I get to know people's experience level.
If it's an official rank, I consider myself a half-noob.
I suppose I could put something of use here, but that's no fun.
Offline
Well, I can ping my modem, but nothing out beyond that (my guess is a DNS problem, so here's my /etc/hosts)
...
Could be. It could also be a problem with a lack of a default gateway.
I'll bet you can ping other things on the 192.168.2.xx subnet.
You are having problems updating, so I've a feeling you are using the older network tools.
Can you look at (or post) the output of route and see if there is a default gateway. If not, try:
sudo route add default gw 192.168.2.1
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Output of Route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0I suppose I could put something of use here, but that's no fun.
Offline
I'm back. Stepped away for dinner with my wife ![]()
Well, the route looks reasonable. Can you ping 66.211.214.131 ?? (That is an archlinux.org server)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Ping Successful. Now what?
I suppose I could put something of use here, but that's no fun.
Offline
I would say your diagnosis of it being a dns problem is spot-on. DNS problems are not my forté, so I cannot accurately answer them off the top of my head. I'll use this opportunity to polish up on them and I'll get back shortly.
Maybe someone who is more well versed will pop up first...
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
By the way, take a look at your /etc/resolv.conf conf.
If you are using your router as a dns server, it should have a line like:
nameserver 192.168.2.1If you want to use another server, use the address of the one provided by your ISP, or use 8.8.8.8 or 8.8.4.4 to use Google's
Then try host archlinux.org and see what happens
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
By the way, take a look at your /etc/resolv.conf conf.
If you are using your router as a dns server, it should have a line like:
nameserver 192.168.2.1If you want to use another server, use the address of the one provided by your ISP, or use 8.8.8.8 or 8.8.4.4 to use Google's
Then try host archlinux.org and see what happens
I think that might fix it. I just reverse IP lookup-d lug.mtu.edu in case it doesn't work, but yeah. I've been moving stuff around in /etc/hosts, and I can just get to places via IPs.
EDIT: It worked. ... ... now to configure netcfg to connect to my Wi-Fi
Last edited by takisan (2011-06-22 04:39:05)
I suppose I could put something of use here, but that's no fun.
Offline
By the way, take a look at your /etc/resolv.conf conf.
If you are using your router as a dns server, it should have a line like:
nameserver 192.168.2.1If you want to use another server, use the address of the one provided by your ISP, or use 8.8.8.8 or 8.8.4.4 to use Google's
Then try host archlinux.org and see what happens
You can also use OpenDNS servers to resolve the names. You can use either of the 2 lines below in your /etc/resolv.conf:
nameserver 208.67.222.222
nameserver 208.67.220.220Maybe you would like to ping the OpenDNS servers to see if you can reach them. If yes, add one of the above lines (or both) to your /etc/resolv.conf and you should be set.
Offline
Figured out netcfg, but when I netcfg home, it outputs
:: home up ... [busy]
Unsupported Driver 'nl80211,wext'Now what?
I suppose I could put something of use here, but that's no fun.
Offline
I'm out. Sorry.
I use NetworkManager myself, and have never used at netcfg.
Going full circle here, you should be able to pacman -Syu your system now.
If that works, I suggest you mark this thread closed (edit your first post and add [SOLVED] to the topic)
and start a new thread on netcfg.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I've already pacman -S insert various software here, so I guess that counts. Thanks!
I suppose I could put something of use here, but that's no fun.
Offline
Pages: 1