You are not logged in.
Hey there. Have left slackware after a few months to try Arch. Just installed using the 100meg iso, assuming I could get the packages I needed off the net.
So I am just at the basic command prompt after booting for the first time. When I try to sync pacman it can't connect to any ftps
pacman -Sy
lists a load of failed connections to ftps, as does
pacman --sync --refresh
I read somewhere to try
pacman -S iputils
but that says "not found in sync db"
internet is working because I can ping google and various other places
Iv'e read the documentation loads of times but I think i'm missing something obvious. And I think iv'e searched the forum pretty well.
Thanks if you can help
Offline
Hi
just check you rc.conf file......did you update pacman after install ?
Mr Green..
pacman -S pacman
Mr Green
Offline
pacman -S pacman
tells me that it's already up to date. I think it tried to access ftps the first time but now it just says up to date.
pacman-2.5.1-3 is up to date
:-s
Offline
Errrr no!
pacman 2.7.3-3
Mr Green
Offline
Well yeah, but i'm guessing it's not gonna know the up to date pacman if it can't access the ftps to get the latest package tree.
When it tries to access the ftps it says
Connect: connection refused
Offline
Hi
post your /etc/rc.conf........are you dial or broadband ?
Mr Green
doing his best to help 8)
Mr Green
Offline
It seem that your connection is not working.
Did you try to ping something like google.com??
If it give you some errors can be also a dns problem
Try to ping: 216.239.39.99 (google.com IP address)
If this fail too is a connection problem, if this work is a DNS problem.
As Mr. Green said it is very important that you first upgrade pacman
pacman -Sy
pacman -S pacman
The first command retrive the updated package database
The second upgrade pacman
If you procede to an upgrade without the latest pacman version you can encounter serious troble
Another suggestion is to read carefully all the post install messages.
Especially the one says that some file has been saved as .pacnew, this mean that there were some changes in the file so you better compare it with the one in the system, and any other warning like after lilo upgare that tell you to run lilo.
Offline
Hi Bobonov,
I was going to say that its not going to update or even upgrade if connection does not work...
Get that running first then upgrade should be no problem
Mr G
Mr Green
Offline
Well i'm on broadband working through DHCP across a network
pinging 216.239.39.99 works
first command I ran was pacman -Sy and it couldn't reach any of the 20 or so ftps it listed
not sure how i'd post my rc.conf as i'm working from a different computer now.
Maybe I should try reinstalling?
I thought if I could get Gentoo working I could do anything hehe
Thanks for helping
Offline
Hey man don't give on us yet
going back to Gentoo that ain't gonna happen
# Declare each interface then list in INTERFACES
# (prefix an interface in INTERFACES with a ! to disable it)
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.7.2 netmask 255.255.255.0 broadcast 192.168.7.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# (prefix a route in ROUTES with a ! to disable it)
#
gateway="default gw 192.168.7.1"
ROUTES=(gateway)
This is what my rc.conf looks like make a note of yours then post it...on the forum...
If you are LAN then post output of lsmod please...
Mr Green
Mr Green
Offline
lsmod gives me
8139too
mii
rtc
dunno what that mii is...
rc.conf
# Declare each interface then list in INTERFACES
# (prefix an interface in INTERFACES with a ! to disable it)
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# (prefix a route in ROUTES with a ! to disable it)
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
seems ok to me. I tried commenting out the gateway stuff and rebooting but that didn't help
And I have no intention of giving up
Offline
What about resolv.conf......?
I am thinking about if your LAN is set ....what does route give you
Mr Green
Take a look here tooo........
Mr Green
Offline
resolv.conf is empty
Can't understand why I can ping sites on internet but can't access the ftps. Don't get the logic behind that :-s doesn't makes sense really.
Offline
Mr Green has hit the nail on the head. You need to enter your DNS server(s) in resolv.conf: see section 3.1.7 of the installation guide.
That's why you can ping by IP number but not contact sites by name: DNS provides the means of translating between the two. Actually it makes perfect sense...
Offline
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
I am using a router, so your setup may differ. This is my /etc/rc.conf
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo)
This is how I connect, if doing it manually:
# modprobe 8139too
# modprobe dummy
# dhcpcd eth0
This does the configure in /etc/ resolv.conf automatically.
Markku
Offline
Ahh ok
Right unfortunately my monitor is crap and had hid the top of resolv.conf and there actually is something there
nameserver 192.168.0.1
search mshome.net
iv'e read 3.1.7 and am not sure what the default domain is
I sort of understand what is going on now. Might boot Knoppix and see what that has in resolv.conf
Thanks for helping
Offline
The only crucial thing to have in there is the address of the DNS server. If there is not a router or other device on your network already configured to do the DNS lookups (and I guess there is not, otherwise you would not be having this problem) you will probably want to enter the ip address of the DNS server provided by your ISP.
Offline
Sorry I'm lost now, not really sure what the DNS of my isp is.
I'm quite dissapointed with myself, usually I can figure this stuff out.
I don't have a clue what to put in the resolv.conf, both Morphix and Slackware live have the same contents for resolv.conf. So maybe it's something else.
So i'm back in Windows and am gonna start searching the net for help. Hmmm maybe it could be a Kernel problem?
Thanks And any suggestions are good. Want to get this working as it seems like just what I need.
*hmm just found something...dns1.btinternet.com. Will go try that
Offline
Have you tried removing the ! in rc.conf.....the one before ROUTES=(!gateway)
I had to remove it before my LAN would work........
Its worth a shot...
Mr Green
Mr Green
Offline
Have you tried removing the ! in rc.conf.....the one before ROUTES=(!gateway)
I had to remove it before my LAN would work........
Its worth a shot...
Mr Green
hmmm didn't work. Thanks though
Maybe I should try a reinstall. And if I do that should the FIRST command I run when it's finished be
pacman -S pacman
?
Thanks
Offline
pacman -Sy pacman. That y is important.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
If you are using BT Broadband, I believe the nameserver address is 213.120.62.97. Try it, it might get you started anyway.
Offline
Hmmm. just noticed something. When booting it says Network busy
Doesn't sound right
Offline
Ok right. I tried typing
/etc/rc.d/network start
and got this
Starting network BUSY
SIOCADDRT:file exist FAILURE
so i looked at this post http://bbs.archlinux.org/viewtopic.php? … =siocaddrt but it didn't really help
Feel like i'm getting closer now.
Maybe
*Ok, I put a ! back in front of gateway in my rc.conf and now the SIOCADDRT error has gone but still says network is busy, but is started.
going round in circles now
Offline
If your resolve.conf is empty that's the problem.
It seem that your dhcp does not provide a dns.
Try to set your resolve.conf as follow:
nameserver 213.156.54.80
nameserver 213.156.54.81
These should be public dns but they are in italy, once your connection work properly fidn one server more near to you, better the one from your provider.
If you already have a working linuxbox with a working dns type
dig anydomain.com
at the end of the result there should be something like
;; Query time: 83 msec
;; SERVER: 213.156.54.80#53(213.156.54.80)
This is your dns server
Offline