Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Arch Linux Help > No Internet on ArchLinux VM Install

Forgot Password?
 Arch Linux Help   Help an discussion related to Arch

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-28-2008   #1 (permalink)
Linux User
 
SkittleLinux18's Avatar
 
Join Date: Dec 2007
Location: Mesa, AZ
Posts: 262
Send a message via AIM to SkittleLinux18 Send a message via MSN to SkittleLinux18 Send a message via Yahoo to SkittleLinux18 Send a message via Skype™ to SkittleLinux18
No Internet on ArchLinux VM Install

So, I tried to install ArchLinux 2008.6 on a VM on my laptop. I managed a successful install my second time around, but now I have no internet. In poking around the Arch forums, I discovered that it is impossible to set up an internet connection in Arch if using a VM because it is already connected via the host machine. When I was configuring my system during the install process, I skipped the internet connection config files for that very reason (maybe a mistake?).

Well, why don't I have internet then?
__________________
Using Linux since June 2007
Distros: (k)ubuntu 8.04 KDE 3 Edition
SPECS: AMD Athlon 64 X2 5200+, 2 GB DDR2, GeForce 6100
When your whole life is on one computer, servers and all, choose stability over anything else.
SkittleLinux18 is offline  


Reply With Quote
Old 11-28-2008   #2 (permalink)
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 675
Can you post the contents of your /etc/rc.conf file? Do you have a static or dynamic connection? However, if they say in the forums it can't be done, that probably means it can't be done! Let's look at the file all the same - it's a good exercise!
__________________
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
Manchunian is offline   Reply With Quote
Old 11-28-2008   #3 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
I have an Arch VM running in virtualbox running on an Arch host system ... don't ask why . Anyway looking at rc.conf in the vm I am running network deamon & connection is dhcp.

On the host system I have network deamon but also have vboxnet deamon running as well to allow vm's to get net access. Do you need to do the equivalent on your host system ?
Jonathan183 is offline   Reply With Quote
Old 11-28-2008   #4 (permalink)
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 675
Quote:
I have an Arch VM running in virtualbox running on an Arch host system ... don't ask why
Why?...Sorry, had to do it!
__________________
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
Manchunian is offline   Reply With Quote
Old 11-28-2008   #5 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
Quote:
Why?...Sorry, had to do it!
well I guess I would have asked as well

I wanted to try using virtualbox and tried vms with Mint and Windows 2000. Both worked but rather slow ... so I thought I'd try Arch which works a bit faster - at least with Fluxbox it does. I wanted to try moto4lin and thought I would give it a try on a vm and that works as well . I also thought I could use it to check updates before I run pacman -Syu on my main system ... so far no breaks pacman has not let me down yet ...

Ed: I can also try things out like gmail account through thunderbird which works but I'm not entirely sure how secure it is ... Basically I can try things out in the vm and just blow the vm away if I encounter issues rather than data backup and fresh install.
Jonathan183 is offline   Reply With Quote
Old 11-28-2008   #6 (permalink)
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 675
pacman is the best software manager I've yet to use - including portage and apt-get. I tried using Shaman, but it's nowhere near as fast and seems to be not so reliable. It failed to install a dependancy last time I used it (I only wanted SuperTux for the kids) and then uninstalled the entire kde desktop when all I wanted it to do was uninstall SuperTux so that I could re-install it with pacman. Anyway, I love pacman. It's never let me down either.
__________________
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
Manchunian is offline   Reply With Quote
Old 12-01-2008   #7 (permalink)
Linux User
 
SkittleLinux18's Avatar
 
Join Date: Dec 2007
Location: Mesa, AZ
Posts: 262
Send a message via AIM to SkittleLinux18 Send a message via MSN to SkittleLinux18 Send a message via Yahoo to SkittleLinux18 Send a message via Skype™ to SkittleLinux18
Quote:
Originally Posted by Jonathan183 View Post
I have an Arch VM running in virtualbox running on an Arch host system ... don't ask why . Anyway looking at rc.conf in the vm I am running network deamon & connection is dhcp.

On the host system I have network deamon but also have vboxnet deamon running as well to allow vm's to get net access. Do you need to do the equivalent on your host system ?
That very well could be. I am definitely going to have to check the out. I won't really know what I am looking at, so I'll probably just post its contents right here. I just got home from my holiday trip. So I haven't had a chance to look at it yet. I will soon, though. Thanks, Jonathan183.

Quote:
Originally Posted by Jonathan183 View Post
Ed: I can also try things out like gmail account through thunderbird which works but I'm not entirely sure how secure it is ... Basically I can try things out in the vm and just blow the vm away if I encounter issues rather than data backup and fresh install.
That's exactly why I use VM's, too. I like to test full system updates on VM's, and different setups and configs... so that if I break something, I just wipe the VM and start over... no loss. I actually use them on my Laptop more than anywhere because I have windows on there. I travel a lot, so I never know when I am going to need windows and won't have time for a linux workaround. Plus, I need my video games when I'm on the go like. They help to make long plane rides and car trips go by faster. Plus, this was I don't have to have an anti-vrius because I can browse the web on the VM, which takes up way less resources than anit-virus and anti-spyware programs... which I can't stand! Personally, I think the best VM to have on a windows computer, at least for my purposes, is Xubuntu. It's light-weight, yet still comes with plenty of programs and good stability.

Quote:
Originally Posted by Manchunian View Post
pacman is the best software manager I've yet to use - including portage and apt-get. I tried using Shaman, but it's nowhere near as fast and seems to be not so reliable. It failed to install a dependancy last time I used it (I only wanted SuperTux for the kids) and then uninstalled the entire kde desktop when all I wanted it to do was uninstall SuperTux so that I could re-install it with pacman. Anyway, I love pacman. It's never let me down either.
Wow, you are getting me excited about Arch. As soon as I catch up from being out of town and have got some more rest from travelling, I'll dive back into that VM and get to work. Thanks for the help, you two! I'll be getting back, soon.
__________________
Using Linux since June 2007
Distros: (k)ubuntu 8.04 KDE 3 Edition
SPECS: AMD Athlon 64 X2 5200+, 2 GB DDR2, GeForce 6100
When your whole life is on one computer, servers and all, choose stability over anything else.
SkittleLinux18 is offline   Reply With Quote
Old 12-01-2008   #8 (permalink)
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 675
Yeah, you'll like Pacman. It's all command-line, but it's so fast 'n' sweet:

pacman -S something (To install a program)

pacman -Ss something (To look for something)

pacman -R something (To remove a program)

pacman -Syu (to do a complete system upgrade, a command I run everyday).

Just had the latest and greatest Gnome installed today. Swish!
__________________
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
Manchunian is offline   Reply With Quote
Old 12-01-2008   #9 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,366
Quote:
Originally Posted by SkittleLinux18 View Post
In poking around the Arch forums, I discovered that it is impossible to set up an internet connection in Arch if using a VM because it is already connected via the host machine.
I don't think that's true. Before I moved to Arch, I tried it out in a VM and got an Internet connection just fine. Which virtualization software are you using?

I don't know if they've fixed it in any of the more recent install CDs but one of the things that Arch didn't do for you during installation, if you were behind a router (wireless or otherwise), was configure a default gateway for you. That was one of the main Internet problems I had during my first install.
Quote:
Originally Posted by Manchunian
pacman is the best software manager I've yet to use - including portage and apt-get. I tried using Shaman, but it's nowhere near as fast and seems to be not so reliable. It failed to install a dependancy last time I used it (I only wanted SuperTux for the kids) and then uninstalled the entire kde desktop when all I wanted it to do was uninstall SuperTux so that I could re-install it with pacman. Anyway, I love pacman. It's never let me down either.
Shaman is still a release candidate as far as I know but Arch will likely never have an officially supported front end to pacman. It has been discussed on the forums before but every time, the consensus is that it just doesn't fit in with the KISS philosophy. Besides, pacman is powerful enough to use from the command line; you just have to learn what each option does.
Thrillhouse is offline   Reply With Quote
Old 12-01-2008   #10 (permalink)
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 675
Quote:
Shaman is still a release candidate as far as I know but Arch will likely never have an officially supported front end to pacman.
And long may it stay that way!
__________________
Distribution: Archlinux
Processor: 3 x Amd 64 bit
Ram: 4 GB
Graphics card: Nvidia GeForce 9800 GT
Manchunian is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:09 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2