You are not logged in.

#1 2006-01-16 20:28:01

Joffer
Member
Registered: 2006-01-12
Posts: 69

[Solved] Arch (0.7.1) and vmware - pacman network trouble?

I've installed Arch 0.7.1 using VMware on Windows XP to test it (only the base system so far, mostly due to my problem: I can ping hosts, even arch mirrors, but when I do an 'pacman -Sy' it just stalls at 0% downloading/syncing 'current' package database.

Any suggestions?

Offline

#2 2006-01-16 21:28:54

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

Do you have a firewall that is disallowing ftp traffic (active or passive ftp)?
Do you have winderz firewall running?
Are you using a vmware 'bridged' network connection, or a vmware 'nat' network connection?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2006-01-16 21:57:14

Joffer
Member
Registered: 2006-01-12
Posts: 69

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

cactus wrote:

Do you have a firewall that is disallowing ftp traffic (active or passive ftp)?
Do you have winderz firewall running?
Are you using a vmware 'bridged' network connection, or a vmware 'nat' network connection?

- No Windows Firewall, but my router is also a firewall, but it allows "all" outbound.
- I'm using bridged network. I can ping the vmware host (windows xp) from arch inside vmware (and internet sites such as ftp.heanet.ie (one of the mirrors) and www.vg.no etc.

I've commented out every repo in /etc/pacman.d/current except for ftp.heanet.ie (which I can ping from arch), but it just stalls. I'm on a 2Mbit SDSL connection btw.

If I just let it stall (if that's what it does) for a while, it restarts or something. At least the

 current      [               ] 0%   0K  0.0K/s  00:00:00

line repeats, at 0%.

I also disabled extra (community and testing was already disabled) in pacman.conf and tried a 'pacman -S lftp'. It stalls just like with sync-refresh, trying to download expat package (which was a dependency for lftp).

I had no problem downloading the file from the same location from windows (ftp://ftp.heanet.ie/mirrors/ftp.archlin … pkg.tar.gz).

Offline

#4 2006-01-16 22:04:52

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,965

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

try enabling wget in /etc/pacman.conf


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2006-01-16 22:32:57

Joffer
Member
Registered: 2006-01-12
Posts: 69

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

Lone_Wolf wrote:

try enabling wget in /etc/pacman.conf

Done.
It looks like it works, making the connection and all:

==> SYST ... OK  ==> PWD ... OK
==> TYPE ... OK
==> PASV ... OK   ==> RETR current.db.tar.gz

 0% [                  ] 0     --.-- K/s

The output has been truncated a bit. It stalls like it does in my posts above.

I'll ditch this vmware installation and reinstall.. doesn't take that much time. Will report back if it helped.

Offline

#6 2006-01-17 00:32:19

Joffer
Member
Registered: 2006-01-12
Posts: 69

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

A reinstall in vmware did not help sad

Offline

#7 2006-01-17 01:39:20

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

just for shits and giggles, try using 'nat' mode instead of bridged mode.
I have no idea why it is not working for you, as I have many virtual machines running under a vmware install (but on linux instead of windows for the host machine).

I have even set up internal 'switches' between various vm's, and have a virtual test network and so forth..

I realize this information doesn't help you, other than to show that arch can indeed run inside of vmware.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#8 2006-01-17 04:38:41

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

You could try putting ftp.archlinux.org at the top of your mirror lists, maybe your mirror is screwy..


I am a gated community.

Offline

#9 2006-01-17 07:58:44

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

I run archlinux inside a vmware environment without glitches, using wget as pacman's slave.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#10 2006-01-17 15:45:44

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

something that helped me when i was not able to get into the net out of my vmware-machine was adding "dns" to the line beginning with networks: in the /etc/nsswitch.conf...

but as you are able to ping hosts this probably won't solve it.

in my days i was able to ping ips but no hosts, adding the above mentioned solved my probem...

Offline

#11 2006-01-19 01:12:46

Joffer
Member
Registered: 2006-01-12
Posts: 69

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

Will try with NAT mode. I have no problem at work with vmware and arch sad

Perhaps my WinXP installation is just foobar  roll

Offline

#12 2006-01-20 19:00:42

Joffer
Member
Registered: 2006-01-12
Posts: 69

Re: [Solved] Arch (0.7.1) and vmware - pacman network trouble?

Amazing! NAT mode worked!!! Nice! Strange though. Bridge worked fine at work..

Marking this post as [solved]

Offline

Board footer

Powered by FluxBB