Migrate Windows' hosts file

Hi,

I have some settings within hosts file of my Windows Vista. It helps me to bypass some limitation and get online better. I would like to migrate some settings to openSUSE 11.4.

Is there anyone who knows how can I tune my openSUSE?

FYI, setting of hosts file is lines of <IP Address> <Spaces OR Tabs> <URL OR Alias>

Regards,
Toan Le

You can edit “/etc/hosts” to add entries.

I recommend that you keep the number of entries small. I have added a couple of entries for systems on the home LAN.

You need to be root (use “sudo” or similar) to edit “/etc/hosts”).

toanle wrote:
> Hi,
>
> I have some settings within hosts file of my Windows Vista. It helps me
> to bypass some limitation and get online better. I would like to migrate
> some settings to openSUSE 11.4.
>
> Is there anyone who knows how can I tune my openSUSE?
>
> FYI, setting of hosts file is lines of <IP Address> <Spaces OR Tabs>
> <URL OR Alias>

You probably want to put the same entries in /etc/hosts

man hosts for more details.

You need to be root (use “sudo” or similar) to edit “/etc/hosts”).

Tip: For editing root-owned text files like /etc/hosts, two good calls are “kdesu kwrite /path_to/filename” or “gnomesu gedit /path_to/filename”

And there is of course also the possibility to edit /etc/hosts with YaST > Network Services > Hostnames.