2007-11-13

Virtualbox Host Interface Networking and bridging on Linux


[root@ns ~]# yum install bridge-utils.i386
[root@ns ~]# vi /etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.36
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

[root@ns ~]# echo "BRIDGE=br0" >> /etc/sysconfig/network-scripts/ifcfg-eth0
[root@ns ~]# /etc/init.d/network restart
[root@ns ~]# VBoxAddIF vbox0 tony br0

2007-11-05

Start ssh server in EeePC

After installing ssh server, I create a file /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh,
below is the content:

#!/bin/sh
/etc/init.d/ssh restart

So it will start the ssh server after booting up.
Dotn't forget sudo chmod +x /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh.