View Single Post
Posts: 891 | Thanked: 499 times | Joined on Nov 2009 @ UK
#39
Originally Posted by bret hart View Post
I am trying to get the internet working but at what stage do I do this in terminal? When i type this in it just says "must be setuid root". I have enabled in VMware in windows.
Ok, I happened to find the resolv.conf in scratchbox to be different to the machine. You will need to make sure it's the same.

Please follow this guide, credits horus
I followed his steps and was able to get the Internet working.

2. Fixing your /etc/resolv.conf

This one is an easy fix for most. We are changing your resolv.conf so that it matches the ones on your computer.

Make sure you are Logged Out of Scratchbox or haven't started it yet.

Type into your terminal ~
Code:
sudo cp /etc/resolv.conf /scratchbox/etc/resolv.conf
This will prompt you for your password. Enter it!

Now try updating again. If that didn't work lets delve deeper into your resolv.conf dilemma.

This part we are Checking to make sure your resolv.conf Actually Matches!

Outside of scratchbox, do the follow
Code:
nano /etc/resolv.conf
Take note of the following details whether you save them to a notepad or write them down. Then exit (Ctrl + X).

Now, do the follow;
Code:
/scratchbox/login
sb-conf se FREMANTLE_ARMEL
nano /etc/resolv.conf
Check that they match your other settings.

Do the same for X86.
Code:
/scratchbox/login
sb-conf se FREMANTLE_X86
nano /etc/resolv.conf

In short, your resolv.conf should look something like this for all resolv.conf files:

Code:
domain localdomain
search localdomain
nameserver [YOUR_DNS_ADDRESS]
__________________
Follow me on Twitter

Last edited by Venomrush; 2009-11-16 at 03:46.
 

The Following User Says Thank You to Venomrush For This Useful Post: