jo-say-yan

Entries tagged as ‘Ubuntu’

Default Gateway on Ubuntu

September 11, 2008 · Leave a Comment


josh@wombat:/etc/network$ more interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

## Network interface(s)
## You should (un)comment and edit according to your needs.

# The primary network interface (dhcp)
#auto eth0
#iface eth0 inet dhcp

# The primary network interface (static IP)
auto eth0
iface eth0 inet static
address 192.168.1.45
netmask 255.255.255.0
#gateway 192.168.1.1
gateway 192.168.1.254
broadcast 192.168.1.255

Categories: System
Tagged: ,

using apt-get in Ubuntu …

January 30, 2007 · Leave a Comment

I downloaded a vm appliance – ubuntu edgy server – by Joao InacioI (Thanks mate!) and it was quick and easy. But it did not come with openssh-server (sshd) where I can ssh into… *sigh* so here what i had to go through to get it.

sudo apt-get install openssh-server

But it didn’t work : “Package not available… But referred to by another package” … after googling around, I realised it was becasue the had to include the universe repository which apt-get depends on.

sudo vi /etc/apt/source.list

follow the comments in that file, I basically uncommented the last 2 lines.

sudo apt-get update

this will do and update

sudo apt-get install openssh-server

this thime it works !!

Categories: System
Tagged: ,