WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installation: Internet problems  (Read 5160 times)

Offline Manello

  • Newbie
  • *
  • Posts: 1
Installation: Internet problems
« on: March 07, 2019, 01:39:16 PM »
Hello,

so I wanted to use Core as the operating System for one of my vServers, as I have no acces to a CD or USB drive I am limited
to install it over a KVM terminal and planting an ISO onto the harddrive.

For now I simply put the Core ISO onto the harddisk and it is starting up, but it seems like it doesn't has internet access.

Therefor I am not able to load tc-install from the repository, I am receiving the error:
wget: bad address 'repo.tinycorelinux.net'

Has anyone an idear how I could make the Internet work here?

Best Regards,
Manuel

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: Installation: Internet problems
« Reply #1 on: March 07, 2019, 02:59:57 PM »
Hi Manello
Quote
... I am limited to install it over a KVM terminal and planting an ISO onto the harddrive. ...
That sounds like one of those virtualization thingamajigs. Do you first need to create a virtual network device? After that you
should be able to set up the network device using the  ifconfig  command. Here's an example of a script that brings up a
network card using a static IP address:
Code: [Select]
#!/bin/sh
pkill udhcpc
ifconfig eth0 192.168.1.30 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.1
echo nameserver 68.237.161.12 > /etc/resolv.conf
echo nameserver 71.243.0.12 >> /etc/resolv.conf

Or maybe you have to use some kind of  KVM  command to bring it up.
« Last Edit: March 07, 2019, 03:04:32 PM by Rich »