PDA

View Full Version : debian sarge 3.1r1


qiu
7th April 2006, 20:02
I am about to install debian 3.1r1 (as per your howto)


and because as soon as it is installed I will then

install Xen3.0 as per yourhowto what should I be aware of during the install of sarge that will save time after when I come to apply the xen3.0 howto.

many thanks

qiu:D

falko
7th April 2006, 20:35
Install Debian as per the first two pages of the Debian "Perfect Setup", and then follow the Xen tutorial.

qiu
9th April 2006, 14:59
by mistake I have setup exim mail server as the page where it says
Continue installing libc-client without Maildir support did not appear
so when I telnet port 25 i see exim has been set up how to remove as i want to go ahead and follow your page to install xen.

thanks

qiu

falko
9th April 2006, 19:06
Don't worry about Exim, it is the default MTA on Debian. You can go on. If you want to replace it with Postfix later on, you can do the steps described here: http://www.howtoforge.com/perfect_setup_debian_sarge_p4

qiu
10th April 2006, 12:48
I connect by dhcp but my ip in my ethernet router is 192.168.1.64 this then connects me to a static ip from my ISP.

What my question is should my network/interfaces
look like this

starting wih
address 192.168.1.64(this is the ip IN MY ROUTER)
or

address 88.96.109.71 (my actual static ip address FROM isp)

and the rest of the lines as per the status page IN my router

address 88.96.109.71 (my actual static ip address)?
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.1.255
gateway 62.3.83.5



THANKS

qiu;)

falko
10th April 2006, 18:53
Your virtual machines are in a local network behind a router, right? Then you should give them IP addresses from your local network that differ from your router's local IP adress, i.e. do not use 192.168.1.64 as it is already taken by your router. You could use 192.168.1.65 instead if it is free.

qiu
10th April 2006, 19:09
ce eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168. 1.255
gateway 192.168.1.1 (LOCAL IP ADDRESS)

dhcp RANGE 1.64 to 1.254

but the address in the router stays at 192.168.1.64


qiu

falko
10th April 2006, 19:21
Try this:

auto eth0
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.64

qiu
10th April 2006, 22:42
Many thanks for your post.

I tried what you said and in worked ok
etc/init.d/networking was a success.

in reslove.conf

the wording I changed to
search server

the original nameservers were
212.23.6.100
212.23.3.100
192.168.1.1

i changedthat to
212.23.6.100
212.23.3.100

when doing apt-get update could not resolve
so
changed to
212.23.6.100
212.23.3.100
192.168.1.64

no joy could not resolve

212.23.6.100
212.23.3.100
192.168.1.50

no joy then

212.23.6.100
212.23.3.100
192.168.1.1

113 no route to host

i noticed that the IPV6 over IPV4 tunneling driver loaded.

I was able to do apt-get remove
exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs
pppoe pppoeconf ppp pppconfig

any ideas about resolv

qiu

ps also i did echo xstation.4096.net > /etc/hostname
/bin/hostname -F /etc/hostname

falko
11th April 2006, 16:08
Try this in /etc/resolv.conf:

nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60

qiu
11th April 2006, 19:01
well I found a error on my part that was I gave xstation.4096.net
to hostname it should be xstation.

However this name no diffrence apt-get will not resolve or says temporaty cannot resolve.

eth0 is fine
link-up 100Mbs full-duplex lpa 0x45E1

my source list is like so:
#deb file:///cdrom/ sarge main

deb http://ftp.uk.debian.org/debian/ stable main
deb-src http://ftp.uk.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main

seems strange.

qiu;)

falko
11th April 2006, 19:20
Did you change /etc/resolv.conf as suggested?
What's the output of

ping -c4 www.google.com
and

ping -c4 216.239.59.99?

qiu
11th April 2006, 20:48
unkonwn host www.google.com

yes i put the nameservers you gave me in


216.239.59.99 56(84) bytes of data

from 192.168.1.50 icmp-seq=1 destination hosunreachable
this happens 4 times

4 pk transmitted 0 received

+4 errors 100% loss

qiu:rolleyes:

falko
12th April 2006, 12:41
Ok, it's not a problem with domain name resolution; you simply don't have a network connection.
What's the output of ifconfig on vm01?
Did you install the Xen binary or from the sources?
What does the configuration file for the virtual machine look like?

qiu
12th April 2006, 13:59
here is ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:B0:5C:AF:1F
intel addr: 192.168.1.50 Broadcast 192.168.1.255 Mask 255:255:255:0
inet6 addr: fe80::20f:b0ff:fe5c:af1f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:378 (378.0b)
Interrupt:177 Base address:0xa000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


no xen has not been installed yet
I have chaged the men.lst to


title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

title Xen 3.0.1 / XenLinux 2.6.12-xen0
root (hd0,1)
kernel /boot/xen.gz dom0_mem=65536
module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0


I have changed the nameservers at your reuest
and interfaces looks like this

# 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

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.64


I have
echo xstation > /etc/hostname
/bin/hostname -F /etc/hostname

and

was able to do apt-get remove
exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs
pppoe pppoeconf ppp pppconfig



thats as far AS i have got.


qiu

falko
13th April 2006, 00:40
And your router is 192.168.1.64?
What's the output of ping -c4 192.168.1.64?
What's the output of route -nee?

qiu
13th April 2006, 01:10
192.168.1.64 yes router

ping -c4 192.168.1.64

from 192.168.1. 50 icm sq 9 destination host unreachable

route -nee

destinastion gateway genmask flags metric ref us Iface window
192.168.1.0 0. 0.0.0.0 255.255.255.0 u 0 0 0 eth0 0
00 0 0 192.168.1.64 0.0. 0.0.0 ug 0 0 0 etho


192.168.1.0 =destination
192.168.1.64= gateway

genmask=255.255.255.0

fCHANGED GATEWAY TO 192.168.1.1 works fine (as amentioned in post 7)

falko
13th April 2006, 15:34
fCHANGED GATEWAY TO 192.168.1.1 works fine (as amentioned in post 7)
Then 192.168.1.1 seems to be your gateway. Try

auto eth0
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

in /etc/network/interfaces and restart the network:
/etc/init.d/networking restart